app-MAIL-temp/app/api
Carlos Quintana 3e0b7bb369
Add sync events (#2113)
* feat: add protocol buffers for events

* chore: add EventDispatcher

* chore: add WebhookEvent class

* chore: emit events

* feat: initial version of event listener

* chore: emit user plan change with new timestamp

* feat: emit metrics + add alias status to create event

* chore: add newrelic decorator to functions

* fix: event emitter fixes

* fix: take null end_time into account

* fix: avoid double-commits

* chore: move UserDeleted event to User.delete method

* db: add index to sync_event created_at and taken_time columns

* chore: add index to model
2024-05-23 10:27:08 +02:00
..
views Add sync events (#2113) 2024-05-23 10:27:08 +02:00
__init__.py Replace black and flake8 with ruff (#1943) 2023-11-21 16:42:18 +01:00
base.py Allow to soft-delete users (#2034) 2024-02-22 17:38:34 +01:00
serializer.py Store the latest email_log id in the alias to simplify dashboard query (#2022) 2024-02-15 15:48:02 +01:00