Adrià Casajús
3c8b5c8f5b
Add test to use backup server
2025-07-31 11:48:08 +02:00
Adrià Casajús
3c9b7582da
Allow to have several postfix hosts
2025-07-31 11:48:08 +02:00
Adrià Casajús
4e9b2f5995
Allow to define more than one smtp server
2025-07-31 11:48:08 +02:00
Adrià Casajús
6f391511b0
Add migration
2025-07-28 15:33:20 +02:00
Adrià Casajús
3bef25b764
Added ForbiddenMXIp model
2025-07-28 15:33:20 +02:00
Adrià Casajús
e8575f5853
Add tests
2025-07-28 15:33:20 +02:00
Adrià Casajús
3302a84118
Add invalid MX ip check when adding mailboxes
2025-07-28 15:33:20 +02:00
Adrià Casajús
7a69458aab
Fixed count
2025-07-28 14:01:21 +02:00
Adrià Casajús
be787fa2dd
Added find abuser by email
2025-07-28 12:56:52 +02:00
Adrià Casajús
d9e902f0bc
Invalid field
2025-07-23 13:04:28 +02:00
Adrià Casajús
52fa6cb548
Revert "Skip sending event for now"
...
This reverts commit 3ea7c6a760
.
2025-07-23 11:01:18 +02:00
Adrià Casajús
8600b2cbba
Another race cond
2025-07-23 10:57:51 +02:00
Adrià Casajús
48134b5724
Catch Integrity errors on partner update
2025-07-23 10:57:51 +02:00
Adrià Casajús
2946ff6707
Moved custom domains check to its own module and close session after every loop
2025-07-23 08:19:24 +02:00
Adrià Casajús
2aac58f792
Rollback session
2025-07-23 08:19:24 +02:00
Adrià Casajús
794bb28990
Added missing eager loading
2025-07-23 08:19:24 +02:00
Adrià Casajús
8be7ef3aa8
Catch TypeError and ValueError also
2025-07-23 08:19:24 +02:00
Adrià Casajús
979c50bda7
Added comment
2025-06-19 10:19:29 +02:00
Adrià Casajús
3ea7c6a760
Skip sending event for now
2025-06-19 10:19:29 +02:00
Adrià Casajús
95f5c2721a
Add tracing to sending
2025-06-18 12:46:34 +02:00
Adrià Casajús
fc12e5204d
Add main sentry trace to email handler
2025-06-18 12:46:34 +02:00
Adrià Casajús
76f72a0b17
Update config
2025-06-18 12:46:34 +02:00
Adrià Casajús
2afb58d079
Set sentry trace configuration
2025-06-18 12:46:34 +02:00
Adrià Casajús
c6a075c004
If the login failed, redirect to auth again
2025-06-17 10:07:11 +02:00
Adrià Casajús
68fd7bd7cc
Do not send custom domain errors to disabled users
2025-06-17 10:07:11 +02:00
Adrià Casajús
2871cf2a94
Update event dimensions
2025-06-16 19:15:39 +02:00
Adrià Casajús
90dd2bd1db
Add proper hash
2025-06-16 16:17:39 +02:00
Adrià Casajús
3b2f0eb44e
Add method to check if alias is created from partner
2025-06-16 14:54:10 +02:00
Adrià Casajús
8c2ca506ff
Added metrics for alias creation and contact creation
2025-06-16 14:54:10 +02:00
Adrià Casajús
71330c7703
Move unmark to abuser file
2025-06-16 13:16:29 +02:00
Adrià Casajús
0211e044bf
Update uv in Dockerfile ( #2496 )
...
* Update uv in Dockerfile
* Update workflow
* Update last entry of workflow
* Set the uv version as an env var
* Update variable use
2025-06-16 12:38:29 +02:00
Bohdan Shtepan
cda2a107f8
feat: Integrate SL alias note in event system. ( #2495 )
...
* feat: Integrate SL alias note in event system.
* fix: fixes protobuf Gencode/Runtime version mismatch.
* fix: remove redundant emit_alias_audit_log call.
2025-06-11 09:33:49 +00:00
Bohdan Shtepan
4975c89066
SL abuser system improvements ( #2494 )
...
* IDTEAM-4828: Allow to search abuser by user id not just by email.
* IDTEAM-4827: Add abuser admin logs to abuser page.
* IDTEAM-4826: Run the abuser bundle generation in a job with low prio.
2025-06-11 10:53:34 +02:00
Carlos Quintana
74baba5a99
chore: add logs on alias creation ( #2487 )
2025-06-10 15:25:04 +02:00
Carlos Quintana
fa88c935d3
fix: raise Exception instead of calling unimplemented method
2025-06-02 13:19:20 +02:00
Carlos Quintana
93d270baf4
chore: change log messages for email_handler
2025-06-02 13:18:58 +02:00
Adrià Casajús
a6f389470c
Rotate the session just after login ( #2483 )
...
* Rotate the session just after login
* Add pending deletion of user to admin panel
* reforemat
2025-05-28 13:24:04 +00:00
Adrià Casajús
ee04839572
Use partner domains always in the validation ( #2482 )
2025-05-27 12:18:14 +02:00
Bohdan Shtepan
720b4a0608
feat: adds abuser lookup admin view. ( #2472 )
...
* feat: adds abuser lookup admin view.
* fix: restore test.env
* feat: update the ui for the abuser lookup view.
* feat: update the one-shot job to do the thing in batches.
2025-05-20 14:13:28 +00:00
Adrià Casajús
5de4ec3ea6
Revamp the unlink from partner flow ( #2475 )
...
* Update unlink from proton flow
* Update pre-commit
2025-05-20 09:38:04 +00:00
Bohdan Shtepan
deafb529fa
feat: added abuser utils for main abuser (un)archiving flows. ( #2468 )
...
* feat: added abuser utils for main abuser (un)archiving flows.
* feat: update the abuser utils to use external secrets in conjuction with HMAC; add abuser audit log.
* fix: revert the DB_URI part.
* feat: address feedback.
* feat: address feedback.
* feat: address feedback.
* feat: address feedback.
* feat: address feedback.
2025-05-19 14:59:50 +02:00
Carlos Quintana
b13a07bd6b
fix: commit alias deletion on API + add filter on trashed aliases in api ( #2470 )
2025-05-15 08:34:21 +00:00
Adrià Casajús
f7882e971e
fix: use the domain part of the domain to check if it is a proton addrss
2025-05-14 11:02:47 +02:00
Adrià Casajús
45db4a43ef
Take also into account smtp sending time when there is an error ( #2466 )
...
* Take also into account smtp sending time when there is an error
* Add event with the error type
2025-05-12 10:47:08 +00:00
Bohdan Shtepan
4aa126fe0f
IDTEAM-4740: use parallel_limiter to prevent auth_mfa abusing. ( #2464 )
...
* IDTEAM-4740: use parallel_limiter to prevent auth_mfa abusing.
* IDTEAM-4740: put back the regular rate limiter.
2025-05-12 10:23:19 +02:00
Carlos Quintana
300500c0c6
fix: flash message content in alias moved to trash ( #2461 )
2025-05-08 08:56:07 +00:00
Carlos Quintana
1bc0c98834
chore: add missing postgresql_concurrently to migration ( #2460 )
2025-05-08 08:07:09 +00:00
Carlos Quintana
5a778eb8d6
fix: flash message content in alias moved to trash ( #2458 )
2025-05-07 17:06:13 +02:00
Emmanuel Ferdman
abc981fa08
fix: migrate to logger.warning
usage ( #2456 )
...
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2025-05-07 14:44:02 +00:00
Carlos Quintana
a3d7732ed8
test: skip apple payment test ( #2457 )
2025-05-07 16:39:09 +02:00