app-MAIL-temp/app/handler
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
..
__init__.py Moved spamd check to a custom file and cached the result 2022-04-07 19:17:37 +02:00
dmarc.py Dmarc fix (#2079) 2024-03-26 11:43:33 +01:00
provider_complaint.py Replace black and flake8 with ruff (#1943) 2023-11-21 16:42:18 +01:00
spamd_result.py do not quarantine an email if fails DMARC but has a small rspamd score (#1337) 2022-10-10 10:13:07 +02:00
unsubscribe_encoder.py Replace black and flake8 with ruff (#1943) 2023-11-21 16:42:18 +01:00
unsubscribe_generator.py Do not replace unsubs that go to UNSUBSCRIBER (#2051) 2024-03-06 16:26:10 +01:00
unsubscribe_handler.py Add sync events (#2113) 2024-05-23 10:27:08 +02:00