Commit Graph

4871 Commits

Author SHA1 Message Date
Son NK 37455f09c2 fix "authentication with proton" button in mobile view 2024-09-08 21:52:44 +02:00
Son NK 8151d0e425 Merge branch 'master' into fix-mailbox-verification 2024-09-03 15:49:00 +02:00
Son NK 0b5ed8d50b show the error message instead of crashing 2024-09-03 15:48:29 +02:00
Adrià Casajús 1fb2e8f01c Fix newrelic test v4.49.7 2024-09-02 17:23:51 +02:00
Adrià Casajús 5b0fd3cee4 Email search improvements 2024-09-02 17:00:56 +02:00
Adrià Casajús 728f9bf1f8 Add metrics and logs for the event sending 2024-09-02 16:59:20 +02:00
Son Nguyen Kim d49f6b88a9 Upgrade djlint and reformat all fiels (#2197)
* update djlint

* reformat all files

* update precommit version

---------

Co-authored-by: Son NK <son@simplelogin.io>
2024-08-28 13:07:34 +02:00
Son NK b7d3c67d06 Merge branch 'master' into upgrade-djlint
# Conflicts:
#	CONTRIBUTING.md
2024-08-28 13:06:02 +02:00
Son Nguyen Kim c1625a8002 Fix user can't choose "not selected" for default alias domain (#2196)
* update contributing guide: replace rye by poetry and add a section for mac

* fix the bug where user can't choose "not selected" for the default alias domain

* ruff format

* remove trailing space

---------

Co-authored-by: Son NK <son@simplelogin.io>
v4.49.6
2024-08-27 23:26:12 +02:00
Son NK 28f2661efd update precommit version 2024-08-27 23:24:20 +02:00
Son NK ee2e667959 reformat all files 2024-08-27 23:08:35 +02:00
Son NK 90c3a83a72 update djlint 2024-08-27 23:02:41 +02:00
Son Nguyen Kim 4b82dff070 Replace forum.simplelogin.io by github one (#2193)
Co-authored-by: Son NK <son@simplelogin.io>
v4.49.5
2024-08-25 22:22:39 +02:00
Carlos Quintana 35a950da04 fix: add missing commits on event sending (#2192) v4.49.4 2024-08-23 13:32:32 +02:00
Carlos Quintana 737c561227 fix: specify default dispatcher in job runner (#2191) v4.49.3 2024-08-23 09:11:47 +02:00
Carlos Quintana 57991f4d6b feat: add command to debug sync events (#2190) 2024-08-21 10:35:08 +00:00
Carlos Quintana 33c418d7c6 chore: allow to define a different DB_URI for event listener (#2189) v4.49.2 2024-08-20 14:01:48 +00:00
Carlos Quintana a72b7bde92 chore: add config for enabling sync for specific users (#2184)
* chore: add config for enabling sync for users

* chore: error handling
v4.49.1 v4.49.0
2024-08-19 06:35:39 +00:00
Adrià Casajús d5869b849c Add show domain alias and deleted alias v4.48.2 2024-08-08 15:50:57 +02:00
Adrià Casajús a8988cb8f6 Limit email search to only 10 aliases to avoid timing out (#2183) v4.48.1 2024-08-08 10:49:00 +00:00
Adrià Casajús 80d1369bf9 Update tests v4.48.0 2024-08-05 11:54:44 +02:00
Adrià Casajús 8dfa886024 Admin panel improvements (#2179) 2024-08-02 16:15:18 +00:00
Adrià Casajús ab26dd3cb4 Fix missing test 2024-08-02 17:57:54 +02:00
Adrià Casajús 4c035ca340 Return mailbox activation on mailbox creation 2024-08-02 14:53:46 +02:00
Adrià Casajús ea138070fd Added test to create mailbox without sending an email 2024-08-02 14:32:30 +02:00
Adrià Casajús b0849bff6d Allow to skip sending the mailbox verification email when creating a mailbox 2024-08-02 14:28:18 +02:00
Adrià Casajús 9b2e8c2e44 Use different errors when handling mailboxes (#2178)
* Use different errors when handling mailboxes

* Update test
2024-08-02 07:19:27 +00:00
Carlos Quintana b823f4359a fix: do not log health requests (#2177) 2024-08-02 07:18:16 +00:00
Adrià Casajús 2478def834 Allow to create pre-verified mailboxes 2024-08-01 17:19:03 +02:00
ccb78 5b784e8989 remove “shady” words (#2176) 2024-08-01 13:35:48 +00:00
Carlos Quintana 429ebf57cf chore: add health endpoint (#2175) 2024-08-01 07:12:12 +00:00
Adrià Casajús 7b44226317 Fix invalid import 2024-07-30 18:11:57 +02:00
Adrià Casajús b80e56a988 Move set default mailbox to settings (#2173) 2024-07-30 18:00:24 +02:00
Adrià Casajús 6faec9ba4d Enforce user match on mailbox verification and improve logging (#2172) 2024-07-30 15:43:32 +02:00
Adrià Casajús d11c2686b9 Move mailbox management to a module (#2164) 2024-07-30 13:36:48 +02:00
Adrià Casajús 10cfc21fe9 Revert back to poetry (#2171) v4.47.2 2024-07-30 10:38:19 +02:00
Adrià Casajús 09d955e6ea Update redis dependency v4.47.1 2024-07-30 09:52:24 +02:00
LamTrinh.Dev daad62b6eb Update README.md (#2167)
Enhance Markdown for highlight DISABLE_REGISTRATION and DISABLE_ONBOARDING param in simplelogin.env .
2024-07-29 19:44:01 +00:00
Adrià Casajús 02a0f7bf98 Fix hatchling packaging (#2169) 2024-07-29 14:49:06 +00:00
Adrià Casajús 08a64f0fa6 Force contraints location v4.47.0 2024-07-29 13:41:43 +02:00
Adrià Casajús 02b506ba0f Fix positional args 2024-07-25 17:03:55 +02:00
Adrià Casajús 32488284ec Update yacron 2024-07-25 16:46:20 +02:00
Adrià Casajús 127bb5b98c Replace poetry with rye (#2163) 2024-07-25 16:18:49 +02:00
Adrià Casajús 574a916cff Remove requred from positional args 2024-07-25 10:08:15 +02:00
Adrià Casajús 8262390bf0 Close sessions between loops to make sure we leave no lock (#2162)
* Close sessions between loops to make sure we leave no lock

* Close at the end

* Close before sleeps

* Use python generic empty list in case the events is an iterator
2024-07-24 14:49:55 +00:00
Adrià Casajús 666bf86441 Rename method to account for domain being a string and not an int (#2161) 2024-07-23 15:58:52 +00:00
Adrià Casajús 1407c969d2 Only allow latest activation code to be used (#2160)
(cherry picked from commit dd09297bead4ea27731ac3bd60fcf2a3e7001268)
2024-07-23 14:23:37 +00:00
Adrià Casajús a7aec0c37a Move set default domain for alias to an external function (#2158)
* Move set default alias to a separate method to reuse it

* Add tests

* Find domains by domain not by id

* Revert models and setting changes

* Remove non required function
2024-07-23 14:17:23 +00:00
Carlos Quintana 71ce0f6253 chore: add retry counter to event (#2159) 2024-07-23 14:11:16 +00:00
Adrià Casajús 25022b4ad8 Several fixes (#2157)
* Ensure uploaded pictures are images and delete the previous ones

* Add CSRF protection to admin routes

* Only allow https urls in the client envs

* Close connection to try to get a new one

* Missing parameter

* start_time can be non existant. Set a default value
2024-07-18 12:48:18 +00:00