Commit graph

5097 commits

Author SHA1 Message Date
Adrià Casajús
7347fc75d4 Add connect timeout 2025-09-03 17:10:05 +02:00
Adrià Casajús
0dedb6ae9c Set the timeout after connect 2025-09-03 13:00:13 +02:00
Adrià Casajús
b03d8c5798 Fast connect timeout to quickly switch servers 2025-09-03 13:00:13 +02:00
Carlos Quintana
95f3224e64 feat(admin): allow for lookups based on external_user_id 2025-09-01 10:01:04 +02:00
Carlos Quintana
10f2fa3671 feat(admin): allow to update subdomain quota 2025-09-01 10:01:04 +02:00
Carlos Quintana
08d3706b18 feat(admin): allow to stop user deletion 2025-09-01 10:01:04 +02:00
Carlos Quintana
ee2dce370a chore: add log when deleting alias 2025-09-01 09:50:11 +02:00
Carlos Quintana
532d69844d fix: mailbox deletion respects alias setting 2025-08-12 12:40:58 +02:00
Adrià Casajús
c776a05ca4 Centralize disabling contacts to ensure the logs are consistent 2025-08-06 09:29:41 +02:00
Adrià Casajús
b827d3448a Rename config var 2025-07-31 11:48:08 +02:00
Adrià Casajús
6dc6264d5d Fix test 2025-07-31 11:48:08 +02:00
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