app-MAIL-temp/app
Son Nguyen Kim b5b167479f
Fix admin loop (#2103)
* mailbox page requires sudo

* fix the loop when non-admin user visits an admin URL

https://github.com/simple-login/app/issues/2101

---------

Co-authored-by: Son NK <son@simplelogin.io>
2024-05-10 18:52:12 +02:00
..
api Require sudo for account changes (#2041) 2024-02-29 11:20:29 +01:00
auth feat: use oidc well-known url (#2077) 2024-05-02 16:17:10 +02:00
dashboard mailbox page requires sudo (#2094) 2024-04-23 22:25:37 +02:00
developer Replace black and flake8 with ruff (#1943) 2023-11-21 16:42:18 +01:00
discover Replace black and flake8 with ruff (#1943) 2023-11-21 16:42:18 +01:00
email Preserve X-SL-Queue-Id (#2076) 2024-03-22 11:00:06 +01:00
events Schedule deletion of users (#1872) 2023-09-10 22:11:50 +02:00
handler Dmarc fix (#2079) 2024-03-26 11:43:33 +01:00
internal Replace black and flake8 with ruff (#1943) 2023-11-21 16:42:18 +01:00
jobs Replace black and flake8 with ruff (#1943) 2023-11-21 16:42:18 +01:00
monitor Replace black and flake8 with ruff (#1943) 2023-11-21 16:42:18 +01:00
oauth Allow to soft-delete users (#2034) 2024-02-22 17:38:34 +01:00
onboarding Replace black and flake8 with ruff (#1943) 2023-11-21 16:42:18 +01:00
phone Replace black and flake8 with ruff (#1943) 2023-11-21 16:42:18 +01:00
proton fix: handle Proton account not validated case (#1842) 2023-08-18 15:59:46 +02:00
__init__.py bootstrap: db models, login, logout, dashboard pages 2019-07-01 18:18:12 +03:00
account_linking.py Allow to soft-delete users (#2034) 2024-02-22 17:38:34 +01:00
admin_model.py Fix admin loop (#2103) 2024-05-10 18:52:12 +02:00
alias_suffix.py Replace black and flake8 with ruff (#1943) 2023-11-21 16:42:18 +01:00
alias_utils.py Small improvements (#2082) 2024-04-08 15:05:51 +02:00
build_info.py Use python version file 2022-05-12 16:21:36 +02:00
config.py Make hibp rate configurable (#2105) 2024-05-10 18:51:16 +02:00
custom_domain_validation.py Have custom domains set up multiple dkim records to be able to rotate keys (#1334) 2022-10-11 07:17:37 +02:00
db.py Feature: Add app name to each db connection (#1393) 2022-11-02 15:41:48 +01:00
dns_utils.py disable the PGP section if the mailbox is proton and not has PGP enabled (#1841) 2023-08-09 09:56:53 +02:00
email_utils.py Cleanup also messsage-id headers from linebreaks (#2067) 2024-03-18 14:27:38 +01:00
email_validation.py Sanitize alias, contacts, mailboxes and users before creating them (#1829) 2023-08-03 10:20:25 +02:00
errors.py fix: handle Proton account not validated case (#1842) 2023-08-18 15:59:46 +02:00
extensions.py Improve test: disable rate limit during test and avoid conflicts between tests (#1349) 2022-10-14 16:37:49 +02:00
fake_data.py Revert "Keep the dirty email after registering (#1459)" (#1460) 2022-12-01 09:19:15 +01:00
image_validation.py Do not allow SVG image uploads (#1198) 2022-07-29 08:52:51 +02:00
import_utils.py Dmarc fix (#2079) 2024-03-26 11:43:33 +01:00
jose_utils.py reformat 2021-09-08 11:29:55 +02:00
log.py black 2021-11-01 17:58:20 +01:00
mail_sender.py Replace black and flake8 with ruff (#1943) 2023-11-21 16:42:18 +01:00
message_utils.py Reformat base64 encoded messages to shorter lines (#1575) 2023-02-21 15:28:06 +01:00
models.py Do not double count AlilasMailboxes with Aliases (#2095) 2024-04-30 16:41:47 +02:00
newsletter_utils.py Set the proper link for unsub newsletter (#1503) 2023-01-17 11:56:00 +01:00
oauth_models.py Replace black and flake8 with ruff (#1943) 2023-11-21 16:42:18 +01:00
paddle_callback.py Handle failed payments subscriptions in paddle (#1327) 2022-09-30 17:51:06 +02:00
paddle_utils.py black 2021-09-10 17:42:07 +02:00
parallel_limiter.py Replace black and flake8 with ruff (#1943) 2023-11-21 16:42:18 +01:00
pgp_utils.py Revert changes to pgp_utils 2022-04-11 10:20:02 +02:00
pw_models.py do not use flask-sqlalchemy 2021-10-12 14:36:47 +02:00
rate_limiter.py Small improvements (#2082) 2024-04-08 15:05:51 +02:00
redis_services.py Rate limit alias creation to prevent abuse (#2021) 2024-01-30 18:29:59 +01:00
regex_utils.py refactor: move regex_match() to its own file 2021-12-14 15:00:32 +01:00
s3.py Cleanup old data (#2066) 2024-03-18 16:00:21 +01:00
session.py Replace black and flake8 with ruff (#1943) 2023-11-21 16:42:18 +01:00
spamassassin_utils.py Add flake8-bugbear 2022-02-06 20:37:43 +00:00
subscription_webhook.py Add timeout to any outbound connection (#1756) 2023-05-31 14:19:43 +02:00
utils.py Fix: limit the id sizes we generate and remove spaces after unidecode 2024-01-22 17:42:58 +01:00