8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-05 09:26:27 +00:00
Commit graph

725 commits

Author SHA1 Message Date
def91bff7a Call user.confirm_mail in UserManager._create_user 2021-01-24 16:33:31 +01:00
a7b989b7de Fix error in profil of users with an unverified email 2021-01-24 16:33:31 +01:00
216d14bb25 Ensure confirmation email tokens are deleted if no longer valid 2021-01-24 16:33:31 +01:00
Gabriel Detraz
b88fea3b4b Test sur le mot primaire au lieu du mot de pass radius 2021-01-24 16:33:31 +01:00
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
9f1c6a57e2 Correctly send a confirmation email 2021-01-24 16:33:31 +01:00
8e8d035439 Save before checking if confirmation email should be sent 2021-01-24 16:33:31 +01:00
1a997f81ee Add missing __original_email init 2021-01-24 16:33:31 +01:00
db620e9c90 Always send confirmation email, except for fully-archived users 2021-01-24 16:33:31 +01:00
8b75900103 Make AdherentCreationForm code clearer 2021-01-24 16:33:31 +01:00
9fe4313540 Move some code away from the forms 2021-01-24 16:33:31 +01:00
b43bbf9d98 Confirm email after resetting password 2021-01-24 16:33:31 +01:00
8b4e203783 Reset clean_notyetactive command to its correct state 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
ac7ea6cd23 Move should_send_confirmation_email in EmailSettingsForm for consistency 2021-01-24 16:33:31 +01:00
cdc25ad5ec Send confirmation email if necessary after editing EmailSettingsForm 2021-01-24 16:33:31 +01:00
fcd2f9d16d Also update email state in EmailSettingsForm 2021-01-24 16:33:31 +01:00
8e543a04b1 Fix marking email as verified 2021-01-24 16:33:31 +01:00
d8cfb2e3d5 Set email_change_date on user creation 2021-01-24 16:33:31 +01:00
73b11a3e93 Make check of pending email confirmation cleaner in profile.html 2021-01-24 16:33:31 +01:00
ba7fe6e035 Automatically validate superuer's email address 2021-01-24 16:33:31 +01:00
2a068a7e0a Fix error preventing migration 2021-01-24 16:33:31 +01:00
Gabriel Detraz
19b463bc1e Allow revert migrations 2021-01-24 16:33:31 +01:00
377f584628 Delete old migration 2021-01-24 16:33:31 +01:00
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
47772f1464 Revert "Allow suspended users to login"
This reverts commit 91c51c50df.
2021-01-24 16:33:31 +01:00
bcb22f1382 Allow suspended users to login 2021-01-24 16:33:31 +01:00
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
chirac
3cc2a768dc Update resend_confirmation_email.html 2021-01-24 16:33:31 +01:00
811e527232 Allow users in the STATE_EMAIL_NOT_YET_CONFIRMED to reset their password 2021-01-24 16:33:31 +01:00
14fe70c762 Add missing translations 2021-01-24 16:33:31 +01:00
263d5cfb4c Use get_full_name to generate confirm_email.html 2021-01-24 16:33:31 +01:00
c71c41fea8 Notify users of suspension when they failed to confirm their email 2021-01-24 16:33:31 +01:00
0a8ed0bb40 Fix disable_emailnotyetconfirmed task 2021-01-24 16:33:31 +01:00
0c1cf9ac94 Improve various templates related to email confirmation 2021-01-24 16:33:31 +01:00
e0609d27dd Fix wrong email showing up when editing user 2021-01-24 16:33:31 +01:00
65a91c1110 Show warning with delay before account suspension for users 2021-01-24 16:33:31 +01:00
02040bfae9 Delete disabled users who never created an invoice 2021-01-24 16:33:31 +01:00
e574284936 Require login on confirmation email resend 2021-01-24 16:33:31 +01:00
32c1f8d50a Require user_edit permission to resend confirmation email 2021-01-24 16:33:31 +01:00
2793e207c0 Always sync email_change_date on manual state change 2021-01-24 16:33:31 +01:00
80124695ad Move user email_change_date update on manual state change to seperate method 2021-01-24 16:33:31 +01:00
e0de606221 Fix overlapping conditions in User.state_sync 2021-01-24 16:33:31 +01:00
b7021f32cb Automatically consider email valid when user is set to STATE_ACTIVE 2021-01-24 16:33:31 +01:00
d4f13f8832 Handle manually switching user state to/from STATE_EMAIL_NOT_YET_CONFIRMED 2021-01-24 16:33:31 +01:00
bf69f71b9e Fix string formatting error during email confirmation 2021-01-24 16:33:31 +01:00
1124801b7d Fix confirm email template 2021-01-24 16:33:31 +01:00
7b4ec26d94 Replace ConfirmMailForm with an html template 2021-01-24 16:33:31 +01:00
3bee334062 Improve template of email confirmation view 2021-01-24 16:33:31 +01:00
e5b8cc48fa Fix user referenced before assignment 2021-01-24 16:33:31 +01:00
c4acc0f6f2 Fix template shown when confirming send an email 2021-01-24 16:33:31 +01:00
b190549618 Improve template for resending a confirmation email 2021-01-24 16:33:31 +01:00
0ac4d81177 Add missing migrations 2021-01-24 16:33:31 +01:00
ac318ba20f Fix handling of confirmation email for front facing elements 2021-01-24 16:33:31 +01:00
73d3d6b480 Start implementing user-facing confirmation email mechanics 2021-01-24 16:33:31 +01:00
b991a3f45f Add option to select number of days before disabling users 2021-01-24 16:33:31 +01:00
4a733aaf77 Create disable_emailnotyetconfirmed.py 2021-01-24 16:33:31 +01:00
64626335d2 Create EMAIL_NOT_YET_CONFIRMED state 2021-01-24 16:33:31 +01:00
19261400d1 Add help text for password checkbox in user creation 2021-01-24 16:33:31 +01:00
b947573d8f Add translations for initial password related strings 2021-01-24 16:33:31 +01:00
86d9db350a Add option to enable the password field during account creation 2021-01-24 16:33:31 +01:00
07acce2e90 Add optional fields to select password during user creation 2021-01-24 16:33:31 +01:00
6a14f72a16 Fix permission allowing user to change groups 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier
8c2df1d989 Remove duplicate translation 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier
c110abb17f Fix some translations 2021-01-24 16:33:31 +01:00
Gabriel Detraz
f91f284ed1 Fix js calculation of price - NaN bug 2019-12-27 17:00:41 +01:00
Laouen Fernet
c8ed48145c Add migrations for improved translations 2019-11-24 23:27:57 +01:00
Laouen Fernet
e26d21064e Improve internationalisation for email templates, scripts, commands and error messages 2019-11-24 23:27:57 +01:00
Laouen Fernet
7894e3267a Edit translations in users 2019-11-24 23:27:57 +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
Hugo Levy-Falk
ce862a3bde What Is Dead May Never Die 🧟 2019-11-04 17:49:17 +01:00
Hugo Levy-Falk
034b50bc58 Fix #189 2019-11-04 00:25:29 +01:00
Gabriel Detraz
d51f1e126d Fix réponses multiples, ne crash pas 2019-10-14 23:44:35 +02:00
Gabriel Detraz
745a30280c Display connection state for luser 2019-10-01 22:47:30 +02:00
Gabriel Detraz
051ec84f6e Multi_opp app optional start 2019-10-01 22:47:30 +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
693c2b5676 Fix #218 2019-10-01 13:35:06 +02:00
Hugo Levy-Falk
3be0b48c1b Fix #223 2019-09-30 15:21:17 +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
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
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
Gabriel Detraz
55b2ff076a NEVER user _ for var; conflicts with _( from trad + remove return True 2019-09-17 02:09:19 +02:00
Maxime Bombar
07071c7cf9 Fixes Issue 221 2019-09-10 17:09:26 +02:00
Hugo Levy-Falk
5e21a0c494 Fix check_selfpasswd 2019-09-08 15:17:17 +02:00
Hugo Levy-Falk
9b3bc1d053 ACL for applications. 2019-09-08 15:17:17 +02:00
Hugo Levy-Falk
90defb5fcc helpful acl messages for users.models 2019-09-08 15:17:17 +02:00
Hugo Levy-Falk
8ceb9ccc0c Fix migrations for MySQL 2019-09-08 14:59:00 +02:00
Hugo Levy-Falk
61ac9c558c Fix SQL commands for Postgres 2019-09-08 14:37:05 +02:00
Hugo Levy-Falk
cc6e1729dc Use django-ldapdb 1.3.0 2019-09-08 13:41:00 +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
Hugo Levy-Falk
32aa2780ed Context is deprecated for rendering in Django1.11 2019-09-04 22:01:02 +02:00