Commit Graph

1205 Commits

Author SHA1 Message Date
imperosol
ea39a1bd49 Give the public group to newly created users 2025-01-04 19:26:31 +01:00
imperosol
2dc729a997 Give the old_subscribers group when subscribing 2025-01-04 19:26:31 +01:00
imperosol
6eb860579a split migrations 2025-01-04 18:05:02 +01:00
imperosol
1e29ae4171 fixes on club group attribution 2025-01-03 01:18:28 +01:00
imperosol
0ae1e850f4 improve admin 2025-01-03 01:18:28 +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
Bartuccio Antoine
11702d3d7c
Merge pull request #959 from ae-utbm/counter-click-step-4
Make counter click client side first
2024-12-27 22:06:35 +01:00
thomas girod
10ed2f7404
Merge pull request #963 from ae-utbm/fix-group-edit
Fix error when submitting group form without any group checked
2024-12-26 17:02:02 +01:00
Sli
43768f1691 Refactor counter-click css 2024-12-26 11:52:30 +01:00
Sli
280d27343d Put error popup inside the basket 2024-12-25 20:44:52 +01:00
Sli
138e1662c7 Add popup css class and display basket error messages with it on counter click 2024-12-24 00:29:23 +01:00
Sli
c80fe094a2 Remove useless form elements in counters and improve alignment 2024-12-23 20:44:49 +01:00
imperosol
72c2981d66 rework form style 2024-12-23 15:11:15 +01:00
imperosol
da400155eb fix SithModelBackend._get_group_permissions 2024-12-22 15:01:58 +01:00
Sli
eed434aeb2 Improve age management for getting products and make get_product a part of counter model 2024-12-22 12:27:58 +01:00
Sli
c37288c285 Display nice product cards on counter click interface 2024-12-22 12:06:15 +01:00
Sli
a36946529b Fix error when submitting group form without any group checked 2024-12-22 12:04:51 +01:00
imperosol
ab81f11199 Manage subscribers group permissions 2024-12-21 18:52:16 +01:00
imperosol
bea7741d35 populate group permissions 2024-12-21 18:48:30 +01:00
imperosol
81e163812e custom auth backend 2024-12-21 17:34:20 +01:00
imperosol
accf1befce Make products filterable by product type 2024-12-21 02:15:51 +01:00
imperosol
6953eaa9d0 fix sanitization of the csv content 2024-12-21 02:14:38 +01:00
imperosol
7af745087e create a card css component 2024-12-21 02:14:38 +01:00
imperosol
aab093200b slightly improve style 2024-12-21 02:14:38 +01:00
imperosol
39b36aa509 ajaxify the product admin page 2024-12-21 02:14:38 +01:00
imperosol
3fc260a12c add csv converter 2024-12-21 02:14:38 +01:00
imperosol
1696a2f579 Add NestedKeyOf Type 2024-12-21 02:14:38 +01:00
imperosol
9f3a10ca71 fix user groups form 2024-12-20 11:00:57 +01:00
Sli
87b619794d Fix groups displayed on user profile group edition 2024-12-19 18:57:50 +01:00
thomas girod
29c4a36479
Merge pull request #956 from ae-utbm/query-page-hist
Fix N+1 queries on page history
2024-12-19 15:09:11 +01:00
imperosol
7e9071a533 optimize User.is_subscribed and User.was_subscribed 2024-12-19 10:39:07 +01:00
imperosol
8c660e9856 Make core.User inherit from AbstractUser instead of AbstractBaseUser 2024-12-19 10:39:04 +01:00
imperosol
6ca641ab7f fix: N+1 queries on page version list page 2024-12-19 10:32:02 +01:00
imperosol
17e4c63737 refactor news model and creation form 2024-12-18 15:54:10 +01:00
thomas girod
fad470b670
Merge pull request #952 from ae-utbm/sort-producttypes
Sort product types
2024-12-18 15:45:50 +01:00
imperosol
5da27bb266 rename producttype to product_type 2024-12-18 14:48:59 +01:00
imperosol
be6a077c8e fix access to the subscription page 2024-12-18 14:13:39 +01:00
imperosol
47876e3971 Make product types dynamically orderable. 2024-12-17 13:35:29 +01:00
imperosol
6c8a6008d5 api route to search products with detailed infos. 2024-12-17 12:38:59 +01:00
imperosol
b06a06f50c feat: add restore on backspace plugin for tom select 2024-12-17 12:38:59 +01:00
Sli
4c65939bbe Fix crash when admin gets to preferences of an user subscribed to a trombinoscope 2024-12-16 09:31:43 +01:00
Sli
0631c77a1c Apply review comments 2024-12-15 17:02:44 +01:00
Sli
2cc4308a58 Fix tooltip shadow and position and improve unittests 2024-12-15 16:49:24 +01:00
Sli
4975475e85 Add tooltip on current registered card, allow barmen to delete cards and make card deletion a fragment 2024-12-15 16:49:24 +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
Sli
29a5425259 Add spinner to student card form 2024-12-08 13:17:56 +01:00
Sli
de7aa6f6a6 Create a generic form fragment renderer 2024-12-08 11:45:16 +01:00