Commit graph

2247 commits

Author SHA1 Message Date
Ludovic Stephan 8a6a3d0994 Ignore src/ directories 2019-10-16 20:27:57 +02:00
Ludovic Stephan 8ea0cb84d1 Move source files (not minified) to src/ directory 2019-10-16 20:27:57 +02:00
Ludovic Stephan 099857e226 Supprime une police inutilisée 2019-10-16 20:27:57 +02:00
Ludovic Stephan f8e954ff79 Range les fichiers statiques K-Fêt
Les fichiers JS et CSS externes sont dans `static/kfet/vendor`, minifiés ; on bump la version de `reconnecting-websocket`.
2019-10-16 20:27:57 +02:00
Ludovic Stephan 435bb392ea Déplace une fonction js 2019-10-16 20:27:57 +02:00
Ludovic Stephan de10392a7f Supprime des dossiers inutiles
Pas besoin de 12 sous-dossiers pour `autocomplete-light`.
2019-10-16 20:27:57 +02:00
Ludovic Stephan e421792906 Déplace les fichiers statiques de gestioncof
On met tous les fichiers de `gestioncof/static` dans `gestioncof/static/gestioncof`, comme pour les templates. On en profite pour virer pas mal de fichiers inutiles de `font-awesome`.
2019-10-16 20:27:57 +02:00
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
Martin Pépin 2a06cc5806
Update changelog 2019-10-16 19:58:12 +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 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