app-MAIL-temp/tests
Son Nguyen Kim d5df91aab6
Premium user can enable data breach monitoring (#2084)
* add User.enable_data_breach_check column

* user can turn on/off the data breach check

* only run data breach check for user who enables it

* add tips to run tests using a local DB (without docker)

* refactor True check

* trim trailing space

* fix test

* Apply suggestions from code review

Co-authored-by: Adrià Casajús <acasajus@users.noreply.github.com>

* format

---------

Co-authored-by: Son NK <son@simplelogin.io>
Co-authored-by: Adrià Casajús <acasajus@users.noreply.github.com>
2024-04-12 10:39:23 +02:00
..
api Store the latest email_log id in the alias to simplify dashboard query (#2022) 2024-02-15 15:48:02 +01:00
auth feat: add generic OIDC connect (#2046) 2024-03-13 14:30:00 +01:00
cron Premium user can enable data breach monitoring (#2084) 2024-04-12 10:39:23 +02:00
dashboard Require sudo for account changes (#2041) 2024-02-29 11:20:29 +01:00
data Validate user uploaded image (#1123) 2022-06-29 15:04:55 +02:00
email_tests Send email to users with a subscription and a partner plan upgrade (#1101) 2022-06-20 14:34:20 +02:00
example_emls Fix: Use MIMEText for text contents (#1801) 2023-07-11 16:48:01 +02:00
handler Do not replace unsubs that go to UNSUBSCRIBER (#2051) 2024-03-06 16:26:10 +01:00
jobs Replace black and flake8 with ruff (#1943) 2023-11-21 16:42:18 +01:00
models Fix: Dedup the list of mailboxes for an alias (#2010) 2024-01-16 14:50:39 +01:00
monitor chore: add upcloud monitoring (#1835) 2023-08-04 12:19:00 +02:00
oauth Mitigate open redirect with OAuth (#1176) 2022-07-21 14:23:08 +02:00
proton fix: handle Proton account not validated case (#1842) 2023-08-18 15:59:46 +02:00
tasks Cleanup old data (#2066) 2024-03-18 16:00:21 +01:00
__init__.py create BaseForm to enable CSRF 2019-07-02 10:20:12 +03:00
conftest.py Improve test: disable rate limit during test and avoid conflicts between tests (#1349) 2022-10-14 16:37:49 +02:00
test.env feat: add generic OIDC connect (#2046) 2024-03-13 14:30:00 +01:00
test_account_linking.py Creating account via partner also canonicalizes email (#1939) 2023-11-08 09:58:01 +01:00
test_alias_suffixes.py Do not show the default domain twice (#1772) 2023-06-21 18:56:03 +02:00
test_alias_utils.py Check if the domain has a deleted alias (#1764) 2023-06-01 17:33:58 +02:00
test_config.py do not use flask-sqlalchemy 2021-10-12 14:36:47 +02:00
test_dns_utils.py Format 2022-02-24 17:30:07 +01:00
test_domains.py Allow to get premium partner domains without premium sl domains (#1880) 2023-09-13 18:12:47 +02:00
test_email_handler.py Preserve X-SL-Queue-Id (#2076) 2024-03-22 11:00:06 +01:00
test_email_utils.py Store the latest email_log id in the alias to simplify dashboard query (#2022) 2024-02-15 15:48:02 +01:00
test_extensions.py Improve test: disable rate limit during test and avoid conflicts between tests (#1349) 2022-10-14 16:37:49 +02:00
test_image_validation.py Do not allow SVG image uploads (#1198) 2022-07-29 08:52:51 +02:00
test_jose_utils.py Replace black and flake8 with ruff (#1943) 2023-11-21 16:42:18 +01:00
test_mail_sender.py Fix: When re-sending emails if they trigger exceptions move out of failed dir (#1411) 2022-11-10 13:24:46 +01:00
test_message_utils.py Reformat base64 encoded messages to shorter lines (#1575) 2023-02-21 15:28:06 +01:00
test_models.py Schedule deletion of users (#1872) 2023-09-10 22:11:50 +02:00
test_monitoring.py Fix: Track processes that start with the same chars independently (smtp vs stmpd) (#974) 2022-05-12 12:37:19 +02:00
test_oauth_models.py add get_response_types_from_str, response_types_to_str 2019-12-15 18:55:11 +02:00
test_onboarding.py Add extension_redirect endpoint (#1093) 2022-06-16 09:56:00 +02:00
test_paddle_callback.py Handle failed payments subscriptions in paddle (#1327) 2022-09-30 17:51:06 +02:00
test_paddle_utils.py add paddle_utils.verify_incoming_request 2019-12-15 18:55:18 +02:00
test_pgp_utils.py Replace black and flake8 with ruff (#1943) 2023-11-21 16:42:18 +01:00
test_prarallel_limiter.py Added too many exceptions test (#1378) 2022-10-27 14:04:03 +02:00
test_regex_utils.py refactor: move regex_match() to its own file 2021-12-14 15:00:32 +01:00
test_server.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_subscription_webhook.py Show the default domain for creating aliases even if it's not requested by a partner (#1754) 2023-05-29 16:40:04 +02:00
test_utils.py use {word1}_{word2}{digits} as random alias address instead of {word1}{word2}{digits} (#1673) 2023-04-04 08:46:29 +02:00
utils.py Fix: Handle email headers as strings if the are Header type (#1850) 2023-08-29 12:37:26 +02:00
utils_test_alias.py Simpler csv export (#1383) 2022-11-23 13:51:08 +01:00