Commit Graph

369 Commits

Author SHA1 Message Date
imperosol 42b53a39f3 feat: automatic product counters edition 2025-10-10 20:40:44 +02:00
klmp200 7eaf25a64f Remove QuikNotifMixin 2025-09-25 16:02:56 +02:00
imperosol acb6c6ce9c fix: N+1 query on PageListView 2025-09-22 18:14:14 +02:00
imperosol ce2ef78a6d fix: 500 on page properties edit 2025-09-21 16:01:17 +02:00
imperosol 37961e437b fix: N+1 queries on PageListView 2025-09-04 17:39:17 +02:00
imperosol 02ef8fdb88 fix: enumeration attack vector on login form 2025-06-25 17:03:53 +02:00
klmp200 17129af1bb Remove unused popup system and jquery-ui 2025-06-16 09:05:19 +02:00
thomas girod 95b4b0ba03 Merge pull request #1087 from ae-utbm/remove-laundry
remove laundry
2025-05-26 13:01:01 +02:00
Thomas Girod 54be8addeb remove laundry 2025-05-26 09:10:35 +02:00
imperosol 9256aff944 redirect /user/me/* 2025-05-26 08:48:18 +02:00
klmp200 d2fe0f1fab Fix cyclic import error on core/views/user.py 2025-04-10 11:49:59 +02:00
klmp200 67bc49fb21 Serve upload files directly from nginx 2025-04-09 20:55:24 +02:00
klmp200 c236092c4f Create dedicated image upload model 2025-04-09 20:53:23 +02:00
thomas girod 811c83552f Merge pull request #1051 from ae-utbm/fragment-mixin
Fragment mixins
2025-04-07 11:31:50 +02:00
imperosol 6a5da0302d add FragmentMixin and UseFragmentsMixin classes 2025-04-06 14:34:22 +02:00
Thomas Girod fe5c685204 fix displayed user tabs 2025-04-06 14:17:12 +02:00
imperosol 26d4c4b811 move accound refound view to counter 2025-04-04 10:35:17 +02:00
imperosol eee78008b1 add pages to manage returnable products 2025-04-04 09:33:02 +02:00
thomas girod 7515e739b6 Merge pull request #1037 from ae-utbm/unix-name
Refactor Club
2025-04-04 09:27:33 +02:00
imperosol 812e0f5f4c remove galaxy from production 2025-03-28 18:34:16 +01:00
imperosol 805b146f17 change Club.unix_name to Club.slug_name and remove it from forms 2025-03-28 17:42:53 +01:00
imperosol d16237d015 make PageCreateView a PermissionRequiredMixin 2025-03-13 18:49:42 +01:00
imperosol 4b0cd04355 add missing ordering 2025-03-13 18:49:42 +01:00
imperosol 7c3186da79 apply ruff rule A005 2025-03-10 10:33:05 +01:00
klmp200 e46cba7a06 Move all user picture logic to sas 2025-02-18 20:10:51 +01:00
imperosol ee1bcf2011 add forgotten input field label 2025-02-15 12:05:54 +01:00
imperosol 6bf02cecd9 Allow some customisation in core/edit.jinja 2025-02-15 12:05:54 +01:00
imperosol 05d4a09f8c Add a page to manage the groups that can create permissions 2025-02-15 12:05:54 +01:00
imperosol 36076aefcc fix user groups update view
Le formulaire remplaçait la totalité des groupes de l'utilisateur, c'est-à-dire également les groupes pas affichés dans le formulaire. Ça fait que la soumission du formulaire retirait l'utilisateur de tous ses groupes de groupes et des autres groupes non-gérables manuellement (comme Publique et Anciens Cotisants).

Jusqu'ici, les groupes non-manuels étaient gérés bizarrement, en regardant dynamiquement à chaque fois si l'utilisateur est dans le groupe, donc le bug ne se voyait pas. Maintenant que tous les groupes sont gérés presque de la même manière, ça se voit.
2025-02-07 13:28:47 +01:00
imperosol 0d95c3b9c9 Improve pedagogy permissions 2025-01-17 09:42:16 +01:00
imperosol d0b1a49300 deprecate CanCreateMixin
Les motifs de cette déprécation sont indiqués dans la documentation.
Le mixin a été remplacé par `PermissionRequiredMixin` dans les endroits où ce remplacement était aisé.
2025-01-13 18:20:29 +01:00
imperosol 0c01ad1770 Move core auth mixins to their own file 2025-01-13 15:45:55 +01:00
imperosol cba915c34d Move core views mixins to their own file 2025-01-13 15:45:27 +01:00
imperosol 7ac41ac5cb remove UserIsRootMixin 2025-01-13 15:45:23 +01:00
imperosol 4f35cc00bc Add UserBan management views 2025-01-05 15:49:08 +01:00
klmp200 007080ee48 Extract send_file response creation logic to a dedicated function 2025-01-04 23:08:09 +01:00
imperosol 6400b2c2c2 replace MetaGroups by proper group management 2025-01-03 01:18:28 +01:00
imperosol d200c1e381 fix 500 error when accessing history of non-existing page 2024-12-28 13:25:42 +01:00
thomas girod 2f9e5bfee1 Merge pull request #965 from ae-utbm/form-style
rework form style
2024-12-27 22:24:09 +01:00
imperosol 72c2981d66 rework form style 2024-12-23 15:11:15 +01:00
klmp200 a36946529b Fix error when submitting group form without any group checked 2024-12-22 12:04:51 +01:00
imperosol 9f3a10ca71 fix user groups form 2024-12-20 11:00:57 +01:00
klmp200 87b619794d Fix groups displayed on user profile group edition 2024-12-19 18:57:50 +01:00
imperosol 8c660e9856 Make core.User inherit from AbstractUser instead of AbstractBaseUser 2024-12-19 10:39:04 +01:00
imperosol 466fe58763 feat: make student card unique per user 2024-12-15 16:49:24 +01:00
imperosol 3b7e338808 fix 500 when accessing preferences
Quand on tente d'accéder aux préférences d'un utilisateur relié à un trombi, sans être soi-même dans un trombi, on a une erreur.
2024-12-15 16:49:24 +01:00
klmp200 de7aa6f6a6 Create a generic form fragment renderer 2024-12-08 11:45:16 +01:00
klmp200 66d2dc74e7 Pre-fetch forms for student card 2024-12-08 00:32:28 +01:00
klmp200 d4b9c3afb1 Make StudentCardFormView fragment only 2024-12-07 22:36:15 +01:00
klmp200 ca8c1c9d92 Mirror -index.css generation with their import location in -index.js/ts files 2024-11-19 21:22:14 +01:00