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

335 commits

Author SHA1 Message Date
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
c71c41fea8 Notify users of suspension when they failed to confirm their email 2021-01-24 16:33:31 +01:00
0c1cf9ac94 Improve various templates related to email confirmation 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
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
b190549618 Improve template for resending a confirmation email 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
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
6a14f72a16 Fix permission allowing user to change groups 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
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
Gabriel Detraz
55b2ff076a NEVER user _ for var; conflicts with _( from trad + remove return True 2019-09-17 02:09:19 +02:00
Hugo Levy-Falk
5e21a0c494 Fix check_selfpasswd 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
32aa2780ed Context is deprecated for rendering in Django1.11 2019-09-04 22:01:02 +02:00
Hugo Levy-Falk
20de9a45d9 fix buggy import which triggers AUTH_USER_MODEL refers to model 'users.User' that has not been installed 2019-09-04 22:00:08 +02:00
klafyvel
f69c88d8fe Fix LDAP deletion on single user full archiving. 2019-03-17 19:36:44 +01:00
klafyvel
2e2c72a9c3 Delete LDAPUser when full archiving a single user. 2019-03-17 19:30:30 +01:00
detraz
986cdcd90a Mass delete machine intelligent function 2019-03-17 17:56:46 +01:00
detraz
6e569566ed Avoid lazy eval problems with django queryset 2019-03-17 17:20:11 +01:00
Gabriel Detraz
e0194ba4e3 Fonctions mass_achivage pour objects multiples 2019-03-17 05:45:34 +01:00
Gabriel Detraz
706903f8c9 Add new full_archive state for user 2019-03-17 03:24:20 +01:00
Laouen Fernet
1c28c2d1bc add translations for users/ 2019-01-12 16:56:18 +01:00
Gabriel Detraz
84889388c9 Avoid crash when 'email' field is not here 2019-01-05 23:13:28 +01:00
Gabriel Detraz
0b1c35900f Ajoute un reglage pour set tous les comptes actifs à l'initialisation 2019-01-05 18:33:26 +01:00
detraz
58ede00696 Hotfix autocreate 2018-12-31 00:13:01 +01:00
Gabriel Detraz
97593920e5 Fix #150 : l'utilisateur asso et ses machines ont toujours accès à internet 2018-12-29 20:36:08 +01:00
Gabriel Detraz
e076c1da33 Re match direct 2018-12-28 23:23:22 +01:00
Gabriel Detraz
bfd79d44eb Fix #192 : Gpgfp validation et formatage 2018-12-28 20:59:29 +01:00
Gabriel Detraz
e2845c4690 No more pseudo with uppercase 2018-12-27 21:43:46 +01:00
Grizzly
c5b3f50955 Suppression de la ligne inutile 2018-12-08 23:56:59 +01:00
Grizzly
ae5ef6a3c5 Utilise l'acl pour la vérification de la possibilité de création 2018-12-08 23:56:59 +01:00
Grizzly
d17e71c53c machines prise en compte pour l'ajout automatique 2018-12-08 23:56:59 +01:00
Gabriel Detraz
4317c39e0c Archive users have no longer services access and ldap sync 2018-11-15 17:15:45 +01:00
Gabriel Detraz
caedb09d8f Fonction de check de l'alias via smtp 2018-11-15 17:15:19 +01:00
Gabriel Detraz
d2f80bb39e Reparation ip search + formatage exact des macs 2018-11-03 19:27:54 +01:00
Maxime Bombar
94a30cd234 [Users] Archive an account disables email account and redirection 2018-10-31 16:30:56 +01:00
Gabriel Detraz
42d718ae8c Fix display facture + room + machine_name 2018-10-15 19:57:56 +02:00
detraz
ae82289f6d Fix room display, possibilité de desactiver le champ room sur register 2018-10-15 19:20:23 +02:00
detraz
63734d4923 Fix bug dans le model mac, renvoie une liste de mac uniques 2018-10-14 22:52:48 +02:00
detraz
40eb6f146c Commande manage pour supprimer les users pas encore actifs 2018-10-11 15:15:00 +02:00
edpibu
783c724f94 Fix affichage du solde 2018-09-26 15:29:56 +02:00
detraz
9fdadaf478 Le home est une methode + règle les problèmes de la casse sur le pseudo 2018-09-08 21:17:08 +02:00
chirac
ea78da87e0 Que en anglais docstring models.py 2018-08-31 13:37:08 +02:00
Gabriel Detraz
48773668d1 No harcoded var 2018-08-31 13:35:33 +02:00
Gabriel Detraz
0ffdde5a6a Cree une fonction pour set active les utilisateurs cotisant 2018-08-31 13:29:01 +02:00
grisel-davy
5ab8bb4f0e Empeche la syncronisation ldap pour les users_not_yet_member 2018-08-31 12:06:32 +02:00
grisel-davy
fa3aca906f Les nouveau users ne sont pas adhérents et n'ont pas de home 2018-08-31 12:06:32 +02:00
Hugo LEVY-FALK
6f1ccaf306 Pas de redondance dans les droits hérités sur Club et Adherent 2018-08-19 17:26:11 +02:00
Laouen Fernet
af40e3ea4e Translation of users/ (front) 2018-08-18 13:38:15 +02:00
grisel-davy
ded0aadb9d Ajout du gid au sérialiser Adherent 2018-08-16 19:51:56 +02:00
Hugo LEVY-FALK
1e47fa16a0 Rend can_change_shell de User cast-proof 2018-08-15 23:14:30 +02:00
Gabriel Detraz
ba31a94c20 users can change their shell 2018-08-15 22:11:18 +02:00
Hugo LEVY-FALK
49585cade1 Ajoute la possibilité d'utiliser uniquement le compte mail local. 2018-08-14 13:28:39 +02:00
Hugo LEVY-FALK
680b8a7ec7 Rend l'affichage des mails locaux plus intuitif 2018-08-14 13:28:39 +02:00
Charlie Jacomme
ff2a6c2722 many fix mail 2018-08-14 13:28:39 +02:00
Charlie Jacomme
e70b063a3d fix mail problems: check pseudo taken and lower) 2018-08-14 13:28:39 +02:00
Benjamin Graillot
787ceab520 [Adherent] Ajout gpg_fingerprint 2018-08-14 10:13:09 +02:00
Charlie Jacomme
df5861424e radius, make python compatible, and add traceback 2018-08-12 18:24:48 +02:00
Gabriel Detraz
50265a5c4b Fix bug evaluation des emailaddress + func get_mail sur user 2018-08-09 00:23:29 +02:00
chirac
6ddf9d48d1 Merge branch 'hotfix-mail-field-in-user-forms' into 'dev'
Mail->email, hotfix

See merge request federez/re2o!225
2018-08-05 23:05:14 +02:00
detraz
28b78965f6 Mail->email, hotfix 2018-08-05 23:01:42 +02:00
chirac
ee615ae1e1 Merge branch 'firewall_export' into 'dev'
Firewall export

See merge request federez/re2o!224
2018-08-05 21:07:12 +02:00
Arthur Grisel-Davy
27d18e034b serialization des finfos pour créer les home 2018-08-05 17:24:26 +02:00
Charlie
89bd17a477 fix export ldap for old hash 2018-08-05 12:11:16 +02:00
Gabriel Detraz
a4007b985f L'autocreation renvoie l'interface crée 2018-08-04 01:15:34 +02:00
Gabriel Detraz
bc0abb2c0a Renomme le modèle des addresses mails 2018-08-01 13:06:25 +02:00
Maël Kervella
43fb83ec12 Cleanup for local email accounts 2018-07-30 20:23:14 +00:00
chirac
da87579f81 Les champs mails sont dans users 2018-07-30 15:03:50 +00:00
root
04de9db6d4 serialisation des alias mail des users ayant activé l'adresse interne 2018-07-30 15:03:50 +00:00
grisel-davy
5c433acd79 bug fix historique alias 2018-07-30 15:03:50 +00:00
grisel-davy
cc2dcefa8f ajout du nombre d'alias max 2018-07-30 15:03:50 +00:00
Gabriel Detraz
ec9471391d Augmente la valeur de l'alias 2018-07-30 15:03:50 +00:00
Gabriel Detraz
1a7c6edc4d Sync du pseudo et mailalias à la creation de l'user 2018-07-30 15:03:50 +00:00
chirac
7bb62daf42 Fix compte mail , get_mail si redirection 2018-07-30 15:03:50 +00:00
chirac
bf189f4c4f Affichage des champs supp de mail que si compte mails actifs 2018-07-30 15:03:50 +00:00
chirac
283cdcace3 Fix erreurs, création alias mails 2018-07-30 15:03:50 +00:00
grisel-davy
ec3cb33a69 Affichage et modification du compte mail et des alias mail 2018-07-30 15:03:50 +00:00
grisel-davy
099e7ff875 Ajout de l'extension mail dans preference et debut de frontend 2018-07-30 15:03:50 +00:00
Charlie Jacomme
7c1a674491 fix mailalias model 2018-07-30 15:03:50 +00:00
Grizzly
27464ffa6f Crée des comptes mail et des alias mail 2018-07-30 15:03:50 +00:00
klafyvel
f6a152f033 Merge branch 'fix_126' into 'master'
Fix #126

Closes #126

See merge request federez/re2o!188
2018-07-22 13:16:55 +02:00
chirac
0bec40de58 Update models.py 2018-07-20 12:57:54 +02:00
Gabriel Detraz
fe378e7909 Function for shadow expire 2018-07-19 20:47:56 +02:00