8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-25 12:53:11 +00:00
Commit graph

308 commits

Author SHA1 Message Date
561315541e Move mail util function to seperate file 2020-04-19 20:15:23 +02:00
28c64c4eab Fix circular import of utils 2020-04-19 20:11:38 +02:00
7cb869809e Make emails throw timeout errors, and gracefully handle them 2020-04-19 20:06:34 +02:00
Gabriel Detraz
41fb5e5c04 Simplify preferences, add all_room acl for users 2020-04-19 03:29:46 +02:00
Gabriel Detraz
288ca861b0 Fix #247 2020-04-18 01:55:45 +02:00
227511504e Fix translations 2020-04-17 22:52:30 +00:00
45637c8e26 Make email translations more consistent 2020-04-18 00:39:06 +02:00
Gabriel Detraz
9173f158a8 Don't forget to save 2020-04-18 00:16:27 +02:00
Gabriel Detraz
c2f180896f Allow admin to modify email state 2020-04-18 00:12:22 +02:00
93dcc79cad Provide default value for email_change_date and don't allow it to be null 2020-04-17 21:13:16 +00:00
6620d14fc5 Make send_confirm_email_if_necessary clearer 2020-04-17 23:07:40 +02:00
1e2d8d44d1 Fix wrong state check in send_confirm_email_if_necessary 2020-04-17 22:57:41 +02:00
7eca43a0c5 Don't set User.email_change_date to None 2020-04-17 22:54:27 +02:00
1eeab86c84 Call user.confirm_mail in UserManager._create_user 2020-04-17 22:49:50 +02:00
cb99843c2b Ensure confirmation email tokens are deleted if no longer valid 2020-04-17 20:12:30 +00:00
00b62e1fdc Correctly send a confirmation email 2020-04-17 19:11:24 +00:00
be5226fcdd Add missing __original_email init 2020-04-17 20:50:47 +02:00
e169b51759 Always send confirmation email, except for fully-archived users 2020-04-17 20:50:26 +02:00
f790dca202 Move some code away from the forms 2020-04-17 20:23:28 +02:00
a940f4f078 Fix marking email as verified 2020-04-17 18:32:38 +02:00
1e994cc1cc Automatically validate superuer's email address 2020-04-17 18:16:21 +02:00
43eadaa712 Replace STATE_EMAIL_NOT_YET_CONFIRMED with an email_state 2020-04-17 17:35:24 +02:00
Jean-Romain Garnier
60186071db Revert "Create STATE_SUSPENDED"
This reverts commit 2aef2ae3fa.
2020-04-17 17:03:54 +02:00
Jean-Romain Garnier
be7ffbcb90 Revert "Allow suspended users to login"
This reverts commit 91c51c50df.
2020-04-17 17:03:51 +02:00
91c51c50df Allow suspended users to login 2020-04-17 16:57:29 +02:00
2aef2ae3fa Create STATE_SUSPENDED 2020-04-17 16:53:46 +02:00
Gabriel Detraz
accd946edf Update headers 2020-04-17 16:48:27 +02:00
d01fe8c163 Notify users of suspension when they failed to confirm their email 2020-04-17 15:16:26 +02:00
289f6caa88 Improve various templates related to email confirmation 2020-04-17 12:54:28 +00:00
1d21364515 Show warning with delay before account suspension for users 2020-04-17 14:08:54 +02:00
b171ac64bb Move user email_change_date update on manual state change to seperate method 2020-04-17 13:01:10 +02:00
97ce17792b Fix overlapping conditions in User.state_sync 2020-04-17 12:53:03 +02:00
bd153d53b2 Automatically consider email valid when user is set to STATE_ACTIVE 2020-04-17 12:50:22 +02:00
32a7c80133 Handle manually switching user state to/from STATE_EMAIL_NOT_YET_CONFIRMED 2020-04-17 12:41:33 +02:00
c76d5c7102 Improve template for resending a confirmation email 2020-04-17 11:22:29 +02:00
5e2e609474 Fix handling of confirmation email for front facing elements 2020-04-17 00:16:56 +00:00
b91efa3d29 Start implementing user-facing confirmation email mechanics 2020-04-17 00:24:35 +02:00
91edc7ed31 Create disable_emailnotyetconfirmed.py 2020-04-16 22:24:34 +02:00
8728bc69f5 Create EMAIL_NOT_YET_CONFIRMED state 2020-04-16 22:07:25 +02:00
97151cd656 Fix permission allowing user to change groups 2020-02-20 09:30:41 +01:00
Gabriel Detraz
f91f284ed1 Fix js calculation of price - NaN bug 2019-12-27 17:00:41 +01:00
Laouen Fernet
679e81ac7d Mark strings for translation in users 2019-11-24 23:27:56 +01:00
Hugo Levy-Falk
c4a104b3b6 I like my black.
Just ran black on the whoe repository. Fix #210.
2019-11-04 22:47:24 +01:00
Gabriel Detraz
d51f1e126d Fix réponses multiples, ne crash pas 2019-10-14 23:44:35 +02:00
Hugo Levy-Falk
a9194b405a Hello Lara :D
Just ran `find /var/www/re2o \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/Goulven/Lara/g'`.
2019-10-01 13:37:56 +02:00
Hugo Levy-Falk
e404fa36ec Fix typo in User.can_view_all 2019-09-20 15:09:57 +02:00
Hugo Levy-Falk
b8d8c11cb0 Fix #151 2019-09-20 14:48:37 +02:00
Hugo Levy-Falk
8df5a05d89 Do not display unnecessary warnings. 2019-09-19 22:55:16 +02:00
Hugo Levy-Falk
a9ebe331dd Fix #54 2019-09-19 22:55:16 +02:00
Hugo Levy-Falk
3f9d613c3d Fix #217 2019-09-19 22:55:16 +02:00