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

144 commits

Author SHA1 Message Date
Gabriel Detraz
e47b555343 Check email in user clean (factorise code) 2020-04-21 19:27:12 +02:00
24abff4106 Fix some email checks being bypassed for legacy users 2020-04-21 19:22:14 +02:00
eb4dd7ebe3 Make email check more pythonic 2020-04-21 19:22:14 +02:00
99cd24cec0 Add required for email field when necessary 2020-04-21 19:21:43 +02:00
f875e317ef Handle empty emails 2020-04-21 19:21:43 +02:00
Gabriel Detraz
a1d1d04a23 Add help_text for password 2020-04-19 23:07:32 +02:00
Gabriel Detraz
6e7b2d75ed Validate password using django settings password validator 2020-04-19 23:07:32 +02:00
Gabriel Detraz
41fb5e5c04 Simplify preferences, add all_room acl for users 2020-04-19 03:29:46 +02:00
d1365e2c9e Make call to remove_user_room cleaner 2020-04-19 01:13:35 +02:00
86813b1a47 Forbid user from forcing out another user with a free access 2020-04-19 01:13:35 +02:00
ae7f1aaf38 Add option enabling regular users to take a disabled user's room 2020-04-19 01:13:35 +02:00
91b418e64f Add missing translations 2020-04-18 00:30:05 +02:00
Gabriel Detraz
c2f180896f Allow admin to modify email state 2020-04-18 00:12:22 +02:00
f7259ae69b Improve check did_set_initial_passwd in new_user 2020-04-17 21:18:13 +02:00
Gabriel Detraz
e6680e0717 Remove code mort 2020-04-17 21:15:27 +02:00
1ee4d91721 Make AdherentCreationForm code clearer 2020-04-17 20:41:02 +02:00
f790dca202 Move some code away from the forms 2020-04-17 20:23:28 +02:00
Gabriel Detraz
bef496b3e2 Remove state_sync : est appellé en post-save de user 2020-04-17 19:18:35 +02:00
2a4bd6bd79 Move should_send_confirmation_email in EmailSettingsForm for consistency 2020-04-17 17:04:00 +00:00
2532f8a142 Send confirmation email if necessary after editing EmailSettingsForm 2020-04-17 18:59:21 +02:00
5feef8ae17 Also update email state in EmailSettingsForm 2020-04-17 18:53:49 +02:00
30667eb259 Set email_change_date on user creation 2020-04-17 18:29:22 +02:00
3c5e538218 Fix error preventing migration 2020-04-17 18:01:35 +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
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
f8dfb072eb Allow users in the STATE_EMAIL_NOT_YET_CONFIRMED to reset their password 2020-04-17 16:32:37 +02:00
52e1a77044 Add missing translations 2020-04-17 16:03:37 +02:00
148fa3ec98 Fix wrong email showing up when editing user 2020-04-17 12:53:51 +00:00
a91866e741 Require login on confirmation email resend 2020-04-17 11:39:11 +00:00
67b03827df Always sync email_change_date on manual state change 2020-04-17 11:13:56 +00:00
b171ac64bb Move user email_change_date update on manual state change to seperate method 2020-04-17 13:01:10 +02:00
c41c723b0c Replace ConfirmMailForm with an html template 2020-04-17 12:25:42 +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
8728bc69f5 Create EMAIL_NOT_YET_CONFIRMED state 2020-04-16 22:07:25 +02:00
e57ec2ccd1 Add help text for password checkbox in user creation 2020-04-16 17:59:53 +00:00
8c827cc845 Add option to enable the password field during account creation 2020-04-16 17:41:33 +00:00
653a059725 Add optional fields to select password during user creation 2020-04-16 17:41:18 +00: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
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
b8d8c11cb0 Fix #151 2019-09-20 14:48:37 +02:00
Hugo Levy-Falk
d9f5514b58 Llamas are being oppressed. 2019-09-20 14:20:42 +02:00
Hugo Levy-Falk
b674025259 Fix #220 2019-09-20 14:13:35 +02:00
Maxime Bombar
07071c7cf9 Fixes Issue 221 2019-09-10 17:09:26 +02:00
Hugo Levy-Falk
8f5b302cbf Translation for GTU check. 2019-09-05 22:03:45 +02:00
Hugo Levy-Falk
d2d39f77de Fix #216 2019-09-05 22:03:45 +02:00