app-MAIL-temp/tests/api
Adrià Casajús 50c130a3a3
Store the latest email_log id in the alias to simplify dashboard query (#2022)
* Store the latest email_log id in the alias to simplify dashboard query

* Fix test

* Add script to migrate users last email_log_id to alias

* Always update the alias last_email_log_id automatically

* Only set the alias_id if it is set

* Fix test with randomization

* Fix notification test

* Also remove explicit set on tests

* Rate limit alias creation to prevent abuse (#2021)

* Rate limit alias creation to prevent abuse

* Limit in secs

* Calculate bucket time

* fix exception

* Tune limits

* Move rate limit config to configuration (#2023)

* Fix dropdown item in header (#2024)

* Add option for admin to stop trial (#2026)

* Fix: if redis is not configured do not enable rate limit (#2027)

* support product IDs for the new Mac app (#2028)

Co-authored-by: Son NK <son@simplelogin.io>

* Add metrics to rate limit (#2029)

* Order domains alphabetically when retrieving them (#2030)

* Removed unused import

* Remove debug info

---------

Co-authored-by: D-Bao <49440133+D-Bao@users.noreply.github.com>
Co-authored-by: Son Nguyen Kim <son.nguyen@proton.ch>
Co-authored-by: Son NK <son@simplelogin.io>
2024-02-15 15:48:02 +01:00
..
__init__.py add /api/alias/options 2019-12-15 18:55:16 +02:00
test_alias_options.py Replace black and flake8 with ruff (#1943) 2023-11-21 16:42:18 +01:00
test_alias.py fix proton partner error when self host (#1255) 2022-09-01 14:59:16 +02:00
test_apple.py refactor test: no hardcode a@b.c, make sure each test has a different user 2022-04-15 16:59:44 +02:00
test_auth_mfa.py refactor test: no hardcode a@b.c, make sure each test has a different user 2022-04-15 16:59:44 +02:00
test_auth.py Canonicalize emails from google and proton before registering users (#1493) 2022-12-14 11:50:36 +01:00
test_custom_domain.py return custom domain json in patch 2022-01-16 17:26:11 +01:00
test_import_export.py Simpler csv export (#1383) 2022-11-23 13:51:08 +01:00
test_mailbox.py Revert "Add code verification for creating mailboxes (#1725)" (#1727) 2023-05-09 18:04:04 +02:00
test_new_custom_alias.py Improve test: disable rate limit during test and avoid conflicts between tests (#1349) 2022-10-14 16:37:49 +02:00
test_new_random_alias.py Improve test: disable rate limit during test and avoid conflicts between tests (#1349) 2022-10-14 16:37:49 +02:00
test_notification.py Store the latest email_log id in the alias to simplify dashboard query (#2022) 2024-02-15 15:48:02 +01:00
test_phone.py GET /api/phone/reservations/:reservation_id 2022-01-04 16:22:41 +01:00
test_serializer.py Store the latest email_log id in the alias to simplify dashboard query (#2022) 2024-02-15 15:48:02 +01:00
test_setting.py set default alias suffix to word (#1765) 2023-06-27 11:07:02 +02:00
test_sudo.py Allow to set sudo mode for api requests (#1108) 2022-06-23 14:26:36 +02:00
test_user_info.py Do not allow free users to create reverse alias to reduce abuse (#2013) 2024-01-16 14:51:01 +01:00
test_user.py Generate a web session from an api key (#1224) 2022-08-10 18:48:32 +02:00
utils.py refactor test: no hardcode a@b.c, make sure each test has a different user 2022-04-15 16:59:44 +02:00