8
0
Fork 0
mirror of https://gitlab.federez.net/re2o/re2o synced 2024-05-10 03:26:26 +00:00
Commit graph

153 commits

Author SHA1 Message Date
Yoann Pétri 682d824121 Add custom themes 2021-01-24 16:37:09 +01:00
grisel-davy 50086cb346 Remove profile_image 2021-01-24 16:37:09 +01:00
Gabriel Detraz 8338790eae Supprime l'avatar à la création (inutile/buggé) 2021-01-24 16:36:16 +01:00
Gabriel Detraz d5831c5f1f The reset_passw function should not set as not yet active users that have already been flaged active 2021-01-24 16:36:16 +01:00
Gabriel Detraz 564851feda Final translation of users app 2021-01-24 16:36:16 +01:00
Gabriel Detraz 55bf1a9077 Translation of docstrings in user admin and forms 2021-01-24 16:36:16 +01:00
Gabriel Detraz 32aa0572f1 Refactor serviceuser admin 2021-01-24 16:36:16 +01:00
Gabriel Detraz 93e6c96493 Fix user adherent/club creation form 2021-01-24 16:36:16 +01:00
Leila b2607ab232 Add thumbnail to user model 2021-01-24 16:36:16 +01:00
Gabriel Detraz dc67ed5298 Check email in user clean (factorise code) 2021-01-24 16:33:32 +01:00
Jean-Romain Garnier 6235909a9a Fix some email checks being bypassed for legacy users 2021-01-24 16:33:32 +01:00
Jean-Romain Garnier 4a7c5c1bdb Make email check more pythonic 2021-01-24 16:33:32 +01:00
Jean-Romain Garnier 77a1b39dbf Add required for email field when necessary 2021-01-24 16:33:32 +01:00
Jean-Romain Garnier 9e1cd17a1b Handle empty emails 2021-01-24 16:33:32 +01:00
Gabriel Detraz 0d7ca44edd Add help_text for password 2021-01-24 16:33:31 +01:00
Gabriel Detraz 2cf3c3ce19 Validate password using django settings password validator 2021-01-24 16:33:31 +01:00
Gabriel Detraz 4490f75dd4 Simplify preferences, add all_room acl for users 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier bf6f3fdec2 Make call to remove_user_room cleaner 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier c14f172764 Forbid user from forcing out another user with a free access 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier e417de379e Add option enabling regular users to take a disabled user's room 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier 6c7833ebb1 Add missing translations 2021-01-24 16:33:31 +01:00
Gabriel Detraz fb5c215f47 Allow admin to modify email state 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier aad7110fd2 Improve check did_set_initial_passwd in new_user 2021-01-24 16:33:31 +01:00
Gabriel Detraz c00bb2573b Remove code mort 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier 8b75900103 Make AdherentCreationForm code clearer 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier 9fe4313540 Move some code away from the forms 2021-01-24 16:33:31 +01:00
Gabriel Detraz 6d0c53d667 Remove state_sync : est appellé en post-save de user 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier ac7ea6cd23 Move should_send_confirmation_email in EmailSettingsForm for consistency 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier cdc25ad5ec Send confirmation email if necessary after editing EmailSettingsForm 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier fcd2f9d16d Also update email state in EmailSettingsForm 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier d8cfb2e3d5 Set email_change_date on user creation 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier 2a068a7e0a Fix error preventing migration 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier 4803417bca Replace STATE_EMAIL_NOT_YET_CONFIRMED with an email_state 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier 81b6b999be Revert "Create STATE_SUSPENDED"
This reverts commit 2aef2ae3fa.
2021-01-24 16:33:31 +01:00
Jean-Romain Garnier 0dcd8b79e2 Create STATE_SUSPENDED 2021-01-24 16:33:31 +01:00
Gabriel Detraz ffdb32df90 Update headers 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier 811e527232 Allow users in the STATE_EMAIL_NOT_YET_CONFIRMED to reset their password 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier 14fe70c762 Add missing translations 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier e0609d27dd Fix wrong email showing up when editing user 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier e574284936 Require login on confirmation email resend 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier 2793e207c0 Always sync email_change_date on manual state change 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier 80124695ad Move user email_change_date update on manual state change to seperate method 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier 7b4ec26d94 Replace ConfirmMailForm with an html template 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier b190549618 Improve template for resending a confirmation email 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier ac318ba20f Fix handling of confirmation email for front facing elements 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier 73d3d6b480 Start implementing user-facing confirmation email mechanics 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier 64626335d2 Create EMAIL_NOT_YET_CONFIRMED state 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier 19261400d1 Add help text for password checkbox in user creation 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier 86d9db350a Add option to enable the password field during account creation 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier 07acce2e90 Add optional fields to select password during user creation 2021-01-24 16:33:31 +01:00