Commit graph

30 commits

Author SHA1 Message Date
Martin Pépin
ff000463b1
Use the CAS email address at user creation 2020-06-12 12:21:18 +02:00
Ludovic Stephan
6fdde55b0f Merge branch 'kerl/cas_logout' into 'master'
Redirection vers cas.eleves.ens.fr/logout à la déconnexion.

Closes #8

See merge request klub-dev-ens/authens!5
2020-06-11 00:50:14 +02:00
Martin Pépin
352fedb8b2
Logout next url can be local or absolute 2020-06-10 23:23:33 +02:00
Martin Pépin
8e95a01647
Redirect after a CAS logout 2020-06-10 22:34:51 +02:00
Ludovic Stephan
00515b8811 Merge branch 'kerl/backend_tests' into 'master'
Teste le comportement décrit dans le README

Closes #4

See merge request klub-dev-ens/authens!4
2020-06-09 17:48:47 +02:00
Martin Pépin
6a75f78541
Store the connexion method in a session variable 2020-05-29 16:29:16 +02:00
Martin Pépin
ead851893a
Test the logout view 2020-05-29 16:28:31 +02:00
Martin Pépin
09ad5b6657
redirect CAS-users to CAS_URL/logout at logout 2020-05-29 16:28:30 +02:00
Martin Pépin
bbd6a5bb82
Black 2020-05-27 22:38:05 +02:00
Martin Pépin
b8e165aca5
Test the behaviour described in the README 2020-05-27 22:37:25 +02:00
Ludovic Stephan
f43036d6c0 Merge branch 'kerl/username_generation' into 'master'
Génération de username plus intelligente

Closes #6 and #5

See merge request klub-dev-ens/authens!8
2020-05-24 22:52:38 +02:00
Ludovic Stephan
75fd8f4581 Merge branch 'kerl/clean_username' into 'master'
Normalise les logins CAS

Closes #10

See merge request klub-dev-ens/authens!7
2020-05-24 22:50:46 +02:00
Martin Pépin
2335e9da04 More clever username generation 2020-05-17 22:17:33 +02:00
Martin Pépin
81a6c9e5c5 Clean cas logins 2020-05-17 21:49:32 +02:00
Martin Pépin
e9e8fe8d56 Meilleurs noms de variables, meilleure doc 2020-05-17 14:02:33 +02:00
Ludovic Stephan
470bca4d1f Merge branch 'kerl/class_based_views' into 'master'
Réécrit les vues d'auth sous forme de class-based-views

Closes #3

See merge request klub-dev-ens/authens!3
2020-05-13 20:33:00 +02:00
Martin Pépin
d4e0f4bf0f rename next_page → next in templates 2020-05-13 18:47:14 +02:00
Martin Pépin
1f631ebae2 rename next_page_url → get_next_url 2020-05-13 18:46:41 +02:00
Ludovic Stephan
9880015561 Merge branch 'configurable_backend' into 'master'
Ajoute un hook pour choisir le username des users générés

See merge request klub-dev-ens/authens!2
2020-05-13 14:11:35 +02:00
Martin Pépin
62c2a742d4 rename find_available_username → get_free_username 2020-05-13 13:27:43 +02:00
Martin Pépin
4fa042079f First test! 2020-05-13 13:27:43 +02:00
Martin Pépin
8bf8700b36 Apply lstephan's suggestions 2020-05-13 13:25:47 +02:00
Martin Pépin
e3c3513a21 Use class-based views rather than functions 2020-05-12 22:35:20 +02:00
Martin Pépin
111bdfef7b Make username generation hackable 2020-05-12 20:53:08 +02:00
Martin Pepin
add3b56690 Merge branch 'Aufinal/gitignore' into 'master'
Better gitignore

See merge request klub-dev-ens/authens!1
2020-05-12 20:23:24 +02:00
Ludovic Stephan
021175503e Better gitignore 2020-05-12 17:17:14 +02:00
Martin Pépin
57a826524d First README 2020-05-11 02:12:10 +02:00
Martin Pépin
0b5a5578b6 Example site 2020-05-11 00:36:59 +02:00
Martin Pépin
591a61200b First login/logout implementation 2020-05-11 00:36:59 +02:00
Martin Pépin
1b1049a73f A minimal Clipper model for clipper metadata 2020-05-11 00:36:43 +02:00