8
0
Fork 0
mirror of https://gitlab.federez.net/re2o/re2o synced 2024-07-04 05:04:06 +00:00
Commit graph

154 commits

Author SHA1 Message Date
Yoann Pétri d1d4ea6af3
Ça se dit Rézo Metz 'tain 2020-11-23 17:06:37 +01:00
Yoann Pétri 0f40663fac
Add custom themes 2020-11-17 13:54:33 +01:00
grisel-davy 98a5c01430 Remove profile_image 2020-10-22 15:39:30 +02:00
Gabriel Detraz 4003856b47 Supprime l'avatar à la création (inutile/buggé) 2020-10-08 21:15:30 +02:00
Gabriel Detraz 982200dc49 The reset_passw function should not set as not yet active users that have already been flaged active 2020-08-28 12:49:52 +02:00
Gabriel Detraz c709a7e8b2 Final translation of users app 2020-06-01 18:21:22 +02:00
Gabriel Detraz e1f8254115 Translation of docstrings in user admin and forms 2020-06-01 18:21:21 +02:00
Gabriel Detraz ee0fe7b24e Refactor serviceuser admin 2020-05-28 22:27:37 +02:00
Gabriel Detraz eb5becb0db Fix user adherent/club creation form 2020-05-28 22:08:44 +02:00
Leila d94f7b44a3 Add thumbnail to user model 2020-05-17 12:51:05 +02:00
Gabriel Detraz e47b555343 Check email in user clean (factorise code) 2020-04-21 19:27:12 +02:00
Jean-Romain Garnier 24abff4106 Fix some email checks being bypassed for legacy users 2020-04-21 19:22:14 +02:00
Jean-Romain Garnier eb4dd7ebe3 Make email check more pythonic 2020-04-21 19:22:14 +02:00
Jean-Romain Garnier 99cd24cec0 Add required for email field when necessary 2020-04-21 19:21:43 +02:00
Jean-Romain Garnier 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
Jean-Romain Garnier d1365e2c9e Make call to remove_user_room cleaner 2020-04-19 01:13:35 +02:00
Jean-Romain Garnier 86813b1a47 Forbid user from forcing out another user with a free access 2020-04-19 01:13:35 +02:00
Jean-Romain Garnier ae7f1aaf38 Add option enabling regular users to take a disabled user's room 2020-04-19 01:13:35 +02:00
Jean-Romain Garnier 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
Jean-Romain Garnier 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
Jean-Romain Garnier 1ee4d91721 Make AdherentCreationForm code clearer 2020-04-17 20:41:02 +02:00
Jean-Romain Garnier 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
Jean-Romain Garnier 2a4bd6bd79 Move should_send_confirmation_email in EmailSettingsForm for consistency 2020-04-17 17:04:00 +00:00
Jean-Romain Garnier 2532f8a142 Send confirmation email if necessary after editing EmailSettingsForm 2020-04-17 18:59:21 +02:00
Jean-Romain Garnier 5feef8ae17 Also update email state in EmailSettingsForm 2020-04-17 18:53:49 +02:00
Jean-Romain Garnier 30667eb259 Set email_change_date on user creation 2020-04-17 18:29:22 +02:00
Jean-Romain Garnier 3c5e538218 Fix error preventing migration 2020-04-17 18:01:35 +02:00
Jean-Romain Garnier 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 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
Jean-Romain Garnier f8dfb072eb Allow users in the STATE_EMAIL_NOT_YET_CONFIRMED to reset their password 2020-04-17 16:32:37 +02:00
Jean-Romain Garnier 52e1a77044 Add missing translations 2020-04-17 16:03:37 +02:00
Jean-Romain Garnier 148fa3ec98 Fix wrong email showing up when editing user 2020-04-17 12:53:51 +00:00
Jean-Romain Garnier a91866e741 Require login on confirmation email resend 2020-04-17 11:39:11 +00:00
Jean-Romain Garnier 67b03827df Always sync email_change_date on manual state change 2020-04-17 11:13:56 +00:00
Jean-Romain Garnier b171ac64bb Move user email_change_date update on manual state change to seperate method 2020-04-17 13:01:10 +02:00
Jean-Romain Garnier c41c723b0c Replace ConfirmMailForm with an html template 2020-04-17 12:25:42 +02:00
Jean-Romain Garnier c76d5c7102 Improve template for resending a confirmation email 2020-04-17 11:22:29 +02:00
Jean-Romain Garnier 5e2e609474 Fix handling of confirmation email for front facing elements 2020-04-17 00:16:56 +00:00
Jean-Romain Garnier b91efa3d29 Start implementing user-facing confirmation email mechanics 2020-04-17 00:24:35 +02:00
Jean-Romain Garnier 8728bc69f5 Create EMAIL_NOT_YET_CONFIRMED state 2020-04-16 22:07:25 +02:00
Jean-Romain Garnier e57ec2ccd1 Add help text for password checkbox in user creation 2020-04-16 17:59:53 +00:00
Jean-Romain Garnier 8c827cc845 Add option to enable the password field during account creation 2020-04-16 17:41:33 +00:00