Commit graph

218 commits

Author SHA1 Message Date
Martin Pépin
26455ae5c6
Monkey-patch authens to make it look like GestioCOF 2020-09-22 21:40:34 +02:00
Ludovic Stephan
82d58d23c9 Remove all traces of custommail 2020-09-15 11:49:32 +02:00
Martin Pépin
e401303a08
User-friendly redirect : / → /gestion 2020-09-02 20:25:46 +02:00
Martin Pépin
2b72f3b40b
All pages go under /gestion except wagtail & k-fet 2020-09-02 20:23:11 +02:00
Ludovic Stephan
e868e6eb18
No bds prefix for prod 2020-09-02 20:06:28 +02:00
Ludovic Stephan
fc988e3fad
Fix isort 2020-09-02 20:06:28 +02:00
Ludovic Stephan
205b5c206b
Fix tests 2020-09-02 20:06:28 +02:00
Ludovic Stephan
5f8b8661bf
Better URL management 2020-09-02 20:06:28 +02:00
Ludovic Stephan
858a0c61e2
Rend à gestiocof ce qui est à gestiocof 2020-09-02 20:06:27 +02:00
Ludovic Stephan
d3384dc5fc
Remove context processor 2020-08-28 18:23:20 +02:00
Ludovic Stephan
e7cc705350
Add member count to home 2020-08-28 18:23:20 +02:00
Martin Pépin
62d26560d9
Fix BDS {MEDIA,STATIC}_{URL,ROOT} 2020-08-24 14:56:26 +02:00
Martin Pépin
df9639715b
Move COF-specific settings (channels) to common.py 2020-08-24 14:55:27 +02:00
Martin Pépin
3d830884b1
Use authens in GestioBDS 2020-07-30 12:04:04 +02:00
Martin Pépin
7caee5665b
Make isort happy… 2020-07-18 16:07:12 +02:00
Martin Pépin
f2b1962e1c
Autocompletion: more idiomatic permission handling 2020-07-05 16:38:59 +02:00
Martin Pépin
9a90f19502
Separate the autocompletion logic form the views 2020-07-05 11:15:50 +02:00
Martin Pépin
e9f00b4f06
Update the isort config for version 5.* 2020-07-04 13:40:32 +02:00
Martin Pépin
f6458074b2
Better documentation for show_toobar 2020-06-29 20:45:52 +02:00
Martin Pépin
f26d330973
Fix settings.local.ALLOWED_HOSTS 2020-06-29 20:45:52 +02:00
Martin Pépin
9a3914ece6
Add wsgi file 2020-06-29 20:45:52 +02:00
Martin Pépin
6a32a72c15
One url file to rule them all,
one url file to find them
One url file to bring them all,
and in the darkness bind them.
2020-06-29 20:45:52 +02:00
Martin Pépin
d464b69b2e
Split settings between COF / BDS / Local 2020-06-29 20:45:52 +02:00
Martin Pépin
d16bf5e6b0
Merge local and dev settings 2020-06-29 20:45:52 +02:00
Antonin Reitz
83ce873e25 Remove unnecessary caching 2019-12-11 22:36:40 +01:00
Ludovic Stephan
4e15ab8041 Install django-js-reverse 2019-11-29 14:50:44 +01:00
Ludovic Stephan
be5218f7e1 Remove pesky middleware 2019-11-21 01:21:26 +01:00
Ludovic Stephan
4a4dae9951 Merge branch 'kerl/clubs' into 'master'
Nouvelle app: clubs

See merge request klub-dev-ens/gestioCOF!372
2019-11-06 19:22:58 +01:00
Ludovic Stephan
898abd15c6 Ignore /src directories 2019-10-16 20:51:10 +02:00
Ludovic Stephan
64b4c2c08a Revert "Ignore src/ directories"
On ignorera ça proprement en Django 2.2...
2019-10-16 20:27:57 +02:00
Ludovic Stephan
8a6a3d0994 Ignore src/ directories 2019-10-16 20:27:57 +02:00
Martin Pépin
380e38519b
New app: clubs
- Clubs will be used both by the cof and the bds app.
- For now, they are only visible in development.
2019-10-16 19:58:12 +02:00
Ludovic Stephan
7892f42e3e Merge branch 'kerl/event_subscriptions' into 'master'
[Événements] Export des inscrits en csv

See merge request klub-dev-ens/gestioCOF!374
2019-10-16 19:48:36 +02:00
Martin Pépin
f9aee86a1c
Only enable the bds app in development 2019-10-15 21:54:52 +02:00
Ludovic Stephan
b3e7b59903
Migrations
Une migration pour les modèles, et une pour créer le groupe du Burô du
BDS
2019-10-15 21:51:40 +02:00
Martin Pépin
33bc3c5882
Events: simple csv participants export 2019-10-08 22:26:30 +02:00
Martin Pépin
8119591c62
enable the "events" app in CI 2019-10-06 19:24:32 +02:00
Martin Pépin
34e552f760
New 'events' app, first model
The objective is to move (at some point) all the management logic in
this app. Before that time: as long as the events app does not have all
the features necessary to be used in production it is only available in
dev mode and coexists with the old event system. When it's ready we'll
move the old events in the new app (data migration) and remove the old
system.
2019-10-06 19:24:32 +02:00
Martin Pépin
d1c9d27a65
Rewrite home as a class-based view 2019-10-06 00:28:32 +02:00
Ludovic Stephan
019acb90ac Global urlconf file 2019-04-12 17:06:43 +02:00
Ludovic Stephan
759b6d9489 Update settings ; remove debug_panel 2019-04-12 17:04:33 +02:00
Ludovic Stephan
a1ead1bfc8 Préparation Django2 : vues de login/logout
À partir de Django 2.1, les vues de login et logout sont class-based
uniquement. On passe donc à django-cas-ng 2.6 pour harmoniser.
On cleanup un peu le processus de login avec une classe un peu propre +
un vrai formulaire/des vrais templates.
2019-03-25 23:05:47 +01:00
Ludovic Stephan
fd0f387dbc Merge branch 'Kerl/DJANGO_NO_DDT' into 'master'
Une variable d'environement pour désactiver la django debug toolbar

See merge request klub-dev-ens/gestioCOF!353
2019-03-19 17:59:39 +01:00
Martin Pépin
fabb30cec2 add a DJANGO_NO_DDT env variable to disable ddt 2019-02-12 17:55:23 +01:00
Evarin
641bdd9464 Plus besoin de ça 2019-02-11 21:26:16 +01:00
Evarin
0f1e05acdd Migration vers Wagtail 2.3 et Wagtail-modeltranslation 0.9
Toutes les pages Wagtail doivent désormais être traduites
Suppression du modèle COFUtilPage devenu inutile
Réinitialisation des migrations de Wagtail à cause des changements de ModelTranslation
2019-02-04 22:56:48 +01:00
Martin Pepin
512868ee14 Merge branch 'evarin/site-cof' into 'master'
Nouveau site du COF

See merge request klub-dev-ens/gestioCOF!247
2019-01-14 21:23:10 +01:00
Ludovic Stephan
bb23c45fad Remove Django-debug-toolbar in admin interface
La présence de DJDT sur l'interface admin multiplie par 100 environ
(sans exagération) les temps de chargement des pages, cause des 503, et
a une utilité au plus limitée. Cette MR vire donc l'addon de l'interface
admin.
2019-01-07 17:38:55 +01:00
Aurélien Delobelle
84c88dfd5e Merge branch 'master' into aureplop/site-cof 2019-01-06 00:56:21 +01:00
Aurélien Delobelle
39eaf4b109 style -- black + isort 2019-01-06 00:37:08 +01:00