Commit graph

82 commits

Author SHA1 Message Date
Ludovic Stephan
c236044ac2 Fix login switch css 2020-06-30 12:55:10 +02:00
Ludovic Stephan
e7b0d71416 Integrate changes 2020-06-30 12:55:10 +02:00
Ludovic Stephan
5c39b91157 Templates 2020-06-30 12:55:10 +02:00
Ludovic Stephan
5f5edb4935 Backend for pwd reset views 2020-06-30 12:55:10 +02:00
Ludovic Stephan
fb06e2005c Message support 2020-06-30 12:55:10 +02:00
Martin Pepin
da363f0df0 Merge branch 'Aufinal/form_display' into 'master'
Tweaks pour les templates

See merge request klub-dev-ens/authens!14
2020-06-28 23:05:17 +02:00
Ludovic Stephan
43ef283005 Fix error display 2020-06-28 22:02:49 +02:00
Ludovic Stephan
ba53b924c6 Découple le fond de la form (huhu) 2020-06-26 16:18:01 +02:00
Ludovic Stephan
1fa3bdf25b Include errors in form snippet 2020-06-26 16:06:12 +02:00
Ludovic Stephan
ac37431b74 Blocks for container title 2020-06-25 16:41:04 +02:00
Ludovic Stephan
3a46a003d5 Styling for non-field errors 2020-06-25 16:35:05 +02:00
Ludovic Stephan
b41bbb4188 Factor out forms + small changes 2020-06-25 16:25:10 +02:00
Ludovic Stephan
bf99e93cf1 Merge branch 'kerl/ldap' into 'master'
Helper pour lier un compte Django existant à un compte CAS

See merge request klub-dev-ens/authens!13
2020-06-22 10:10:54 +02:00
Martin Pépin
73cf73157c
More relevant tests for register_cas_account 2020-06-20 17:45:39 +02:00
Martin Pépin
a71688bbd5
Update erroneous docstring 2020-06-20 17:29:13 +02:00
Martin Pépin
351b084419
Handle non-existing users in register_cas_account 2020-06-20 17:25:57 +02:00
Martin Pépin
1fc2a04040
More informative error message when LDAP messes up 2020-06-20 17:22:50 +02:00
Martin Pépin
744f12dccf
More idiomatic default settings 2020-06-20 17:19:42 +02:00
Martin Pepin
ab49a6479f Merge branch 'Aufinal/old_cas_view' into 'master'
Vues pour l'authentification vieilleux

See merge request klub-dev-ens/authens!12
2020-06-20 17:06:31 +02:00
Ludovic Stephan
00458553ad Promotion cohérente avec les tests 2020-06-19 16:30:53 +02:00
Martin Pépin
1cdc4a12d6
Tests for authens.shortcuts.register_cas_account 2020-06-15 19:06:24 +02:00
Martin Pépin
cf4d80da13
+ helper to create CASAccounts for existing users 2020-06-15 19:06:04 +02:00
Ludovic Stephan
75e7acb233 Flake8 râle 2020-06-13 21:03:52 +02:00
Ludovic Stephan
189159f9e5 Tests ! 2020-06-13 20:42:04 +02:00
Ludovic Stephan
6cd64dd441 Fix formatter config 2020-06-13 20:41:45 +02:00
Ludovic Stephan
1d1a2bee39 Test doc 2020-06-13 19:48:27 +02:00
Ludovic Stephan
b1e079da74 Update example site 2020-06-13 19:47:39 +02:00
Ludovic Stephan
6bf4b54ea5 Frontend stuff 2020-06-13 19:47:03 +02:00
Ludovic Stephan
b656bc3b76 Authentication form and view 2020-06-13 19:46:31 +02:00
Ludovic Stephan
1c9ecb5eb9 Fix backend 2020-06-13 19:45:22 +02:00
Ludovic Stephan
99e84f04ad Fix model __str__ method 2020-06-13 18:50:00 +02:00
Ludovic Stephan
8e9770a26b Styling config 2020-06-13 18:27:23 +02:00
Ludovic Stephan
6e51e555f6 Merge branch 'kerl/templates' into 'master'
Première tentative de templates

See merge request klub-dev-ens/authens!9
2020-06-13 18:20:28 +02:00
Martin Pepin
e01ddbbcf5 Merge branch 'Aufinal/old_cas' into 'master'
Backend pour authentification des vieilleux

See merge request klub-dev-ens/authens!11
2020-06-13 18:18:59 +02:00
Martin Pépin
5047ee14de
Black 2020-06-13 18:17:51 +02:00
Martin Pépin
6042a50214
Fancier submit button 2020-06-13 18:12:12 +02:00
Ludovic Stephan
0d4f848fe5 Better doc 2020-06-13 18:04:12 +02:00
Martin Pépin
bc1632dd1b
Errors deserve CSS too! 2020-06-13 17:14:51 +02:00
Ludovic Stephan
bb3aac63b9 typo 2020-06-12 20:40:20 +02:00
Ludovic Stephan
35eb6f9833 Tests for backend 2020-06-12 20:39:09 +02:00
Ludovic Stephan
6a84639afe Auth backend 2020-06-12 19:37:20 +02:00
Ludovic Stephan
27184df690 OldCASAccount model and migration 2020-06-12 19:37:06 +02:00
Martin Pépin
fa82ee251e
Put the site's name in every h2 2020-06-12 18:13:45 +02:00
Martin Pépin
b0a0c4884a
A little bit styling for form inputs 2020-06-12 18:06:30 +02:00
Martin Pépin
a6f4bfcb16
Better html title 2020-06-12 17:55:15 +02:00
Martin Pépin
73e79d6509
Apply some of Aufinal's design remarks 2020-06-12 17:53:10 +02:00
Martin Pépin
7d56fe15a9
Templates: first draft 2020-06-12 17:53:07 +02:00
Ludovic Stephan
4e9e2f62e8 Merge branch 'kerl/login_tests' into 'master'
Quelques tests pour les vues de login

See merge request klub-dev-ens/authens!6
2020-06-12 16:15:27 +02:00
Ludovic Stephan
15cba2ec70 Merge branch 'kerl/email' into 'master'
Use the CAS email address at user creation

See merge request klub-dev-ens/authens!10
2020-06-12 12:29:43 +02:00
Martin Pépin
ff000463b1
Use the CAS email address at user creation 2020-06-12 12:21:18 +02:00