app-MAIL-temp/app/api/views
Adrià Casajús 25fde11a86
Refactor alias suffix (#1194)
* Extract suffix generation and validation to a module

* Updated tests

* Make custom alias use signed suffixes

* Added the signature check to the module

* Fix invalid route

* Move more suffix related stuff

* Fix tests

Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-07-27 17:40:22 +02:00
..
__init__.py create /api/alias/new using api-key as authentication 2019-12-15 18:55:16 +02:00
alias.py Prevent free users from creating reverse-alias 2022-05-12 13:20:05 +02:00
alias_options.py Refactor alias suffix (#1194) 2022-07-27 17:40:22 +02:00
apple.py handle case empty latest_receipt_info (#1081) 2022-06-13 12:42:56 +02:00
auth.py Also track login and register events from the api routes 2022-04-11 16:11:01 +02:00
auth_mfa.py add rate limiting for /auth/mfa 2022-03-21 14:23:35 +01:00
custom_domain.py return custom domain json in patch 2022-01-16 17:26:11 +01:00
export.py remove Client.published 2021-04-06 19:46:21 +02:00
mailbox.py Enforce int params in routes (#1159) 2022-07-15 17:10:00 +02:00
new_custom_alias.py Refactor alias suffix (#1194) 2022-07-27 17:40:22 +02:00
new_random_alias.py Refactor alias suffix (#1194) 2022-07-27 17:40:22 +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 return the default sender format (AT) in case user uses a non-supported sender format 2022-01-12 10:19:25 +01:00
sudo.py Update docs and error message for sudo route (#1117) 2022-06-28 14:40:06 +02:00
user.py Feature: Add delete account route for the api (#1132) 2022-07-02 16:45:58 +02:00
user_info.py Restrict the number of free alias for new free users (#1155) 2022-07-20 11:09:22 +02:00