Commit graph

21 commits

Author SHA1 Message Date
Basile Clement
a26a77b508 Future-proof for django 4.0
Minor changes to make the code compatible with django 4.0

Note that we can't actually upgrade to django 4.0 because that requires
python 3.8, and www.eleves only has python 3.7, so we need to upgrade
www.eleves first.
2022-12-05 14:37:55 +01:00
d98d8d013c Update to Django 3.2 2022-01-07 16:47:09 +01:00
Basile Clement
20d0f1fba9 Define HOST to "" to use unix domain socket connection 2021-04-10 20:04:01 +02:00
Martin Pépin
6af61b4c65
WikiGroups: graphviz visualisation 2020-01-06 19:36:29 +01:00
Martin Pépin
0e963a5cc4
black WikiENS/settings/ 2019-12-24 17:07:10 +01:00
Martin Pépin
253444d345
Re-add the lost wiki_group installed app 2019-12-24 17:06:04 +01:00
Martin Pépin
964652b385
Settings: add missing __init__.py 2019-12-24 17:04:07 +01:00
Martin Pépin
b91910d362
SERVER_EMAIL is not a secret 2019-12-24 17:01:48 +01:00
Martin Pépin
da4a440c3b
Remove test-specific settings 2019-12-24 17:01:48 +01:00
Martin Pépin
33fc1564bb
Settings: switch to Django2 2019-12-24 17:01:47 +01:00
Martin Pépin
8271c3a1c6
configure django-allauth 2019-12-24 17:00:49 +01:00
Martin Pépin
ae082bc9fb
Split production / development settings 2019-12-24 17:00:49 +01:00
Théophile Bastian
d3f80f2339 Implement the structured groups backend
This implements a structured user group model, propagating its changes
to vanilla Django groups. It features cycle detection at save-time,
although this cycle detection can only be seen as a fallback and forms
should check the acyclicity of their changes before committing using the
provided class method.
2019-12-20 17:02:29 +01:00
Théophile Bastian
b9f1c2ecff Move settings.py -> settings.default.py
This allows us to have a production settings.py that doesn't get
overwritten at every git pull
2019-12-15 23:11:35 +01:00
Théophile Bastian
36f3d8d6ef Bump Django version to 2.2 2019-12-15 23:10:08 +01:00
Martin Pépin
6666bd8134 set settings.LOGOUT_URL (used in the base template) 2019-01-14 14:35:04 +01:00
Qwann
40367d5fe9 fix login url, bump django 2018-03-29 19:26:45 +02:00
Qwann
504a1e4704 only clipper can autosign-up 2018-03-19 18:22:09 +01:00
Qwann
c2590fb639 no logged user can't see the wiki 2018-03-19 13:51:43 +01:00
Aurélien Delobelle
13343c6d4d Install django-allauth-ens
- Allows login via clipper.
- Default login method (django one) is still available.
- allauth allows user to change and reset his/her password, mails, social
accounts (clipper).
- Signup is managed through allauth.
2017-10-18 17:08:13 +02:00
Qwann
a307fd259b initial commit 2017-10-06 14:17:13 +02:00