Commit graph

2038 commits

Author SHA1 Message Date
Ludovic Stephan
abb3823a8b Interaction Moment.js + Chart.js
On avait pas besoin de servir `Chart.bundle.js` puisqu'on avait déjà `moment.js` servi à part. Aussi, on déplace tout et on sert les fichiers minifiés.
2019-10-16 20:27:57 +02:00
Ludovic Stephan
b343c6c6e0 Déplace (et modifie) jquery-ui
On déplace les deux versions de `jquery-ui` dans `shared/static/vendor/`, et on en récupère une version avec seulement les fonctionnalités requises.
2019-10-16 20:27:57 +02:00
Ludovic Stephan
22cfaf9b44 Idem pour jquery
On met `jquery` dans `shared/static/vendor/`, et on bump un chouïa la version.
2019-10-16 20:27:57 +02:00
Ludovic Stephan
a9dce881bd Supprime le CDN Bootstrap
On sert les fichiers nécessaires à `bootstrap` en local, dans `shared/static/vendor`.
2019-10-16 20:27:57 +02:00
Ludovic Stephan
0100a9a62e Move stupidtable import to base.html
Aussi, on déplace les fichiers JS associés dans `static/gestioncof/vendor/`
2019-10-16 20:27:57 +02:00
Martin Pépin
6fba63846a
Version 0.3 2019-10-16 20:12:07 +02:00
Ludovic Stephan
8ccaf8beaf Merge branch 'kerl/ci_missing_migrations' into 'master'
La CI regarde s'il manque des migrations

Closes #214

See merge request klub-dev-ens/gestioCOF!373
2019-10-16 19:55:29 +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
2964d3a4aa
K-FêT: new year = new promo = new migration 2019-10-16 19:43:20 +02:00
Martin Pépin
46da197507
CI: track missing migrations 2019-10-16 19:43:20 +02:00
Ludovic Stephan
b005e772ea Merge branch 'kerl/bds' into 'master'
Début de l'app BDS (2)

See merge request klub-dev-ens/gestioCOF!371
2019-10-16 19:19:52 +02:00
Ludovic Stephan
f83eeb7a5f Merge branch 'kerl/noncof_profile_and_passwd_change' into 'master'
Les utilisateurs non-COF peuvent changer leur mot de passe et éditer leur profil

Closes #178 and #177

See merge request klub-dev-ens/gestioCOF!368
2019-10-16 19:17:56 +02:00
Martin Pépin
e94015a142
Update changelog 2019-10-15 21:56:48 +02:00
Martin Pépin
98fe68d0be
Translation fixes in bds.models
- the 'u' in ugettext_lazy in a legacy of python2, we can drop it now
- translate all verbose names
- start field verbose names with a lowercase letter
2019-10-15 21:54:52 +02:00
Martin Pépin
f9aee86a1c
Only enable the bds app in development 2019-10-15 21:54:52 +02:00
Martin Pépin
e2a7e1f6de
BDSProfile: enable the default admin 2019-10-15 21:53:04 +02:00
Martin Pépin
53efb4b542
Enable bds checks in CI 2019-10-15 21:53:04 +02:00
Ludovic Stephan
53ea6f24ee
Isort setup 2019-10-15 21:52:19 +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
Ludovic Stephan
bc7c30e2ee
Init app + models
Le modèle de profil BDS est le seul utile pour l'instant ; c'est un mix
entre `CofProfile` et les modèles de Sport@Ulm.
2019-10-15 21:51:40 +02:00
Ludovic Stephan
4da5add25a
Move choices_length to shared folder 2019-10-15 21:51:23 +02:00
Martin Pépin
f5766e9207
events: make isort happy 2019-10-08 23:33:46 +02:00
Martin Pépin
a8fd04e4c0
test events.views.participants_csv 2019-10-08 22:26:31 +02:00
Martin Pépin
33bc3c5882
Events: simple csv participants export 2019-10-08 22:26:30 +02:00
Martin Pépin
41a3c4c161
add event subscriptions (models only) 2019-10-08 22:21:37 +02:00
Martin Pépin
83c83d791b
Update changelog 2019-10-07 18:45:02 +02:00
Martin Pépin
d5f0060e2e
Fix profile test: non-cof users can access /profile 2019-10-07 18:45:02 +02:00
Martin Pépin
41256154ad
Make profile editable for non-COF user
Non-COF users can now edit their own profile
Contrary to COF users they cannot change their mailing list settings
2019-10-07 18:45:02 +02:00
Martin Pépin
0814cfe1ef
home templates: add links for non-COF users
Add links to
- change password page
- profile page
2019-10-07 18:45:02 +02:00
Martin Pépin
730611039b
isort events.admin 2019-10-07 18:44:36 +02:00
Martin Pépin
9b355d5b56
linter config: add events to known_first_party 2019-10-07 18:32:51 +02:00
Martin Pépin
6781122fc1
Add the events app to the CI checks 2019-10-07 18:32:06 +02:00
Ludovic Stephan
e9ca8eb8dd Merge branch 'kerl/refactor_events' into 'master'
Nouvelle app pour gérer les événements

See merge request klub-dev-ens/gestioCOF!365
2019-10-07 14:39:51 +02:00
Martin Pépin
97f682dfcd
Update changelog 2019-10-06 19:25:26 +02:00
Martin Pépin
9f2004bb54
Add events in the coverage report 2019-10-06 19:24:32 +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
Ludovic Stephan
ef97afd86c Merge branch 'kerl/pub-kde' into 'master'
Un peu de pub pour KDEns

See merge request klub-dev-ens/gestioCOF!367
2019-10-06 19:18:38 +02:00
Martin Pépin
9a7a447246
Update changelog 2019-10-06 17:54:12 +02:00
Martin Pépin
f85f014bc9
Un peu de pub pour KDEns 2019-10-06 17:53:30 +02:00
Ludovic Stephan
fb1519cece Merge branch 'kerl/unused-deps' into 'master'
Remove useless / unused dependencies

See merge request klub-dev-ens/gestioCOF!366
2019-10-06 13:50:43 +02:00
Ludovic Stephan
51e8058f97 Merge branch 'kerl/home_template_view' into 'master'
Rewrite home as a class-based view

See merge request klub-dev-ens/gestioCOF!369
2019-10-06 13:47:07 +02:00
Ludovic Stephan
fba6b592f5 Merge branch 'kerl/fix_revente_crash' into 'master'
Fix crash on /bda/revente/<id>/manage

Closes #228

See merge request klub-dev-ens/gestioCOF!370
2019-10-06 12:01:53 +02:00
Martin Pépin
db158ad312
Update changelog 2019-10-06 11:52:32 +02:00
Martin Pépin
8c9de4303b
Add a testcase for issue #228 2019-10-06 10:57:15 +02:00
Martin Pépin
9661751df2
Fix crash on /bda/revente/<id>/manage
`annotate_paid` method is a method of the Participant object manager,
not the Participant class itself
2019-10-06 10:32:18 +02:00
Martin Pépin
d1c9d27a65
Rewrite home as a class-based view 2019-10-06 00:28:32 +02:00
Martin Pépin
838bf325ba Remove useless / unused dependencies
- unicodecsv is useless in py3
- autoslug is not used anywhere
- wheels comes with any correctly configured virtualenv
2019-10-05 17:38:31 +02:00
Ludovic Stephan
b99fd03df2 Merge branch 'kerl/403_vs_404' into 'master'
Replace some 403 by 404 to avoid trigramme leaking

Closes #224

See merge request klub-dev-ens/gestioCOF!364
2019-10-05 16:01:46 +02:00
Martin Pépin
d37c41e99f kfet/test_views: more eloquent test names 2019-10-05 13:48:29 +02:00