Commit graph

4962 commits

Author SHA1 Message Date
Adrià Casajús
0ccbbd711f
Add custom domain admin page (#2348)
* Add custom domain admin page

* Add domain search
2024-12-20 10:02:35 +01:00
Adrià Casajús
5ff2c7ecc9
update cron schedule 2024-12-04 14:48:27 +01:00
Carlos Quintana
b52340c50c
fix: api crashes (#2338)
* fix: api crashes

* Update app/api/views/alias.py

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

---------

Co-authored-by: Adrià Casajús <acasajus@users.noreply.github.com>
2024-12-02 09:52:20 +01:00
Adrià Casajús
3b0b5f464e
Fix old name in plan decoding 2024-11-29 14:47:00 +01:00
Adrià Casajús
6b2127353f
Catch proper exception (#2337) 2024-11-29 12:12:22 +01:00
Son Nguyen Kim
29b3be30d6
Update plan name and URL (#2336)
* Update plan name and URL

* show lifetime deal on pricing page

* prettify

---------

Co-authored-by: Son NK <son@simplelogin.io>
2024-11-29 12:00:56 +01:00
Adrià Casajús
2387d30caa
Sanitize the mailbox email before creating it 2024-11-28 17:29:44 +01:00
Adrià Casajús
24987649a9
Add test 2024-11-28 12:32:42 +01:00
Adrià Casajús
062675207c
Allow to select wether we want to send the deletion email when deleting a mailbox (#2335) 2024-11-28 11:31:11 +00:00
Adrià Casajús
0f8408b99c
Add support for more Received header formats to extract the queue id (#2333) 2024-11-28 11:11:53 +00:00
Adrià Casajús
14137326e9
Allow to use header from if domain is aligned with envelope (#2332)
* Use the mail_from when receiving a mail to the reverse alias if the domain is aligned with the VERP email

* Extracted function to a different file
2024-11-27 15:43:45 +00:00
Adrià Casajús
665c01d710
Add lifetime in partner subscriptions (#2331)
* Add lifetime in partner subscriptions

* Add lifetime display

* Fixed change
2024-11-27 11:05:03 +00:00
aki0m
8ff2cbe16e
Remove potential offensive words (#2325)
* Remove potential offensive words

* remove more offencive

---------

Co-authored-by: Son Nguyen Kim <son.nguyen@proton.ch>
2024-11-22 16:19:44 +00:00
Adrià Casajús
53c09febf0
Upate crontab to make sure hibp and domain checks are running (#2327) 2024-11-18 12:21:23 +01:00
Carlos Quintana
f1b2edf822
fix: add missing ValueError handling (#2326) 2024-11-18 09:48:04 +01:00
Carlos Quintana
71723251ec
chore: add missing indices for fk constraints (#2324) 2024-11-15 14:56:15 +01:00
Carlos Quintana
2150db3af7
chore: remove ungodly word from prefixes (#2323) 2024-11-15 11:33:58 +01:00
Carlos Quintana
8320cc04da
fix: add more missing indices for mailbox delete (#2321) 2024-11-14 09:33:16 +00:00
Adrià Casajús
dd2cfaea8b
Try to catch the race condidion when creating the user with a partner (#2320) 2024-11-14 09:54:13 +01:00
Ikko Eltociear Ashimine
8dd3771057
docs: update README.md (#2311)
minor fix
2024-11-13 16:33:47 +00:00
Carlos Quintana
65fa1d17ae
chore: add missing indices for user and mailbox (#2319) 2024-11-13 15:02:19 +00:00
Carlos Quintana
ca3a0784b8
fix: missing null check for dict value (#2316) 2024-11-11 09:56:23 +01:00
Carlos Quintana
8ba75befa8
fix: handle invalid page numbers (#2313) 2024-11-08 14:16:09 +00:00
Adrià Casajús
813de9d40b
Fix: If the alias is created for a partner domain, mark it as partner created (#2312) 2024-11-08 12:04:28 +01:00
Son Nguyen Kim
f0012849dc
New price (#2307)
* update $30 to $36

* add mention about Pass

* djlint format

---------

Co-authored-by: Son NK <son@simplelogin.io>
2024-11-07 10:57:27 +01:00
Carlos Quintana
db4eb69843
revert: deleted alias user id model and migration (#2306) 2024-11-06 12:52:15 +01:00
Carlos Quintana
a8ca2d3d37
revert: userid storing on deleted alias (#2305) 2024-11-06 11:24:54 +00:00
Carlos Quintana
31c8a766be
feat: preserve user id on alias deleted (#2304) 2024-11-06 09:16:54 +00:00
Adrià Casajús
7f01dec491
Send plan change on account link (#2303) 2024-11-05 13:44:12 +00:00
Adrià Casajús
f7b7b6d222
Send limit for lifetime that fitx in u32 (#2302) 2024-11-05 14:16:57 +01:00
Adrià Casajús
0eca359012
Speedup the script to send lifetime to proton 2024-11-05 12:29:54 +01:00
Adrià Casajús
9920ed0538
FIX: use arrow timestamp not arrow directly (#2301) 2024-11-05 11:21:06 +00:00
Adrià Casajús
18a299f1d2
Add lifetime case to events 2024-11-05 11:53:46 +01:00
Adrià Casajús
17c0af33e4
Send lifetime status also to proton (#2300) 2024-11-05 11:42:20 +01:00
Adrià Casajús
0d7c946ba8
Replace random with secrets 2024-10-31 16:31:51 +01:00
Adrià Casajús
b516b8343b
Add missing eager load for apple 2024-10-31 14:43:07 +01:00
Adrià Casajús
dc8c44e581
Add missing eagerloads 2024-10-31 14:39:43 +01:00
Adrià Casajús
68ef8ac43d
Several cron fixes (#2296) 2024-10-31 13:20:06 +01:00
Adrià Casajús
2dc96a1d1e
Several fixes (#2291)
* Fix login timings and use secure secret for password recovery

* Run HIBP for all premium users not just paid
2024-10-30 09:58:00 +00:00
Carlos Quintana
8457a46cb3
Fix/none or object deleted crashes (#2295)
* fix: handle None-case when get_or_create contact

* chore: use already-calculated fields in order not to depend on the instance
2024-10-28 09:50:25 +01:00
Adrià Casajús
55669d57ec
Updated security.md 2024-10-25 15:36:31 +02:00
Adrià Casajús
7295a2052f
Mark if a verification code has been deleted (#2290) 2024-10-25 08:29:33 +00:00
Carlos Quintana
01d5f40580
fix: handle race condition on contact creation (#2289) 2024-10-24 08:04:54 +00:00
Carlos Quintana
d65994c3c6
fix: missing None check on alias contacts api (#2288) 2024-10-24 07:50:35 +00:00
Adrià Casajús
ccd687f091
Add job to send events to webhook (#2282)
* Add job to send events to webhook

* Apply comments

---------

Co-authored-by: Carlos Quintana <74399022+cquintana92@users.noreply.github.com>
2024-10-23 17:01:32 +02:00
Adrià Casajús
9646f84b79
Only send new alias events on user creation (#2285)
* Only send new alias events on user creation

(cherry picked from commit ab8f998dd40dc83c8f8a528a156ba50eae376aaf)

* Trigger a sync when a new partner user is created

* Improve tests

* Move it to the partner_utils

---------

Co-authored-by: Carlos Quintana <74399022+cquintana92@users.noreply.github.com>
2024-10-23 11:18:03 +02:00
Carlos Quintana
f55ab58d0c
fix: prevent mailbox disclosure (#2284) 2024-10-23 10:24:15 +02:00
Carlos Quintana
1afd392e5c
fix: crash on empty mailbox email (#2283) 2024-10-22 10:06:20 +02:00
Adrià Casajús
34575016fd
Fix error in event processing where the event is deleted before marking it as taken (#2280)
Co-authored-by: Carlos Quintana <74399022+cquintana92@users.noreply.github.com>
2024-10-21 16:13:15 +02:00
Carlos Quintana
a585a84302
chore: emit audit log for manual subscription (#2277)
* chore: emit audit log for manual subscription

* chore: emit event to event_dispatcher on manual subscription action
2024-10-21 10:21:32 +00:00