app-MAIL-temp/app/api/views
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 create /api/alias/new using api-key as authentication 2019-12-15 18:55:16 +02:00
alias.py Add sync events (#2113) 2024-05-23 10:27:08 +02:00
alias_options.py Refactor alias suffix (#1194) 2022-07-27 17:40:22 +02:00
apple.py support product IDs for the new Mac app (#2028) 2024-02-06 11:54:02 +01:00
auth.py Require sudo for account changes (#2041) 2024-02-29 11:20:29 +01:00
auth_mfa.py Extend validity of totp tokens for up to a minute. (#1494) 2022-12-16 17:54:46 +01:00
custom_domain.py return custom domain json in patch 2022-01-16 17:26:11 +01:00
export.py Simpler csv export (#1383) 2022-11-23 13:51:08 +01:00
mailbox.py Replace black and flake8 with ruff (#1943) 2023-11-21 16:42:18 +01:00
new_custom_alias.py Replace black and flake8 with ruff (#1943) 2023-11-21 16:42:18 +01:00
new_random_alias.py Feat: Added parallel limiter to prevent sqlalchemy transaction issues (#1360) 2022-10-27 10:07:02 +02:00
notification.py Enforce int params in routes (#1159) 2022-07-15 17:10:00 +02:00
phone.py Enforce int params in routes (#1159) 2022-07-15 17:10:00 +02:00
setting.py Fixes for connect with proton on mobile (#1230) 2022-08-12 13:17:21 +02:00
sudo.py Update docs and error message for sudo route (#1117) 2022-06-28 14:40:06 +02:00
user.py Generate a web session from an api key (#1224) 2022-08-10 18:48:32 +02:00
user_info.py Do not allow free users to create reverse alias to reduce abuse (#2013) 2024-01-16 14:51:01 +01:00