Commit Graph

2697 Commits

Author SHA1 Message Date
imperosol
81e163812e custom auth backend 2024-12-21 17:34:20 +01:00
Bartuccio Antoine
4f233538e0
Merge pull request #955 from ae-utbm/counter-click-step-3
Use TomSelect for product selection on counter
2024-12-21 16:00:06 +01:00
Sli
4ac09ac08b Use tomselect instead of jquery autoselect for counter clicks 2024-12-21 15:56:18 +01:00
thomas girod
6d02970676
Merge pull request #946 from ae-utbm/product-csv
Rework the product admin page
2024-12-21 15:50:34 +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
180bae59c8 Add translations 2024-12-21 02:14:38 +01:00
imperosol
9cafc163e8 fix frontend archived products filter 2024-12-21 02:14:38 +01:00
imperosol
8f8eef4107 display products as cards 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
1a9556f811 add a button to download products as csv 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
thomas girod
baebc0b690
Merge pull request #958 from ae-utbm/fix-group-form
fix user groups form
2024-12-20 11:07:13 +01:00
imperosol
9f3a10ca71 fix user groups form 2024-12-20 11:00:57 +01:00
thomas girod
38ceaf3106
Merge pull request #957 from ae-utbm/user-model
Fix groups displayed on user profile group edition
2024-12-19 20:32:39 +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
Bartuccio Antoine
ddeb12f08c
Merge pull request #929 from ae-utbm/user-model
Migrate User parent class from AbstractBaseUser to AbstractUser
2024-12-19 14:27:16 +01:00
imperosol
a7b1406e06 post-rebase fix 2024-12-19 10:53:11 +01:00
imperosol
871ef60cf6 remove obsolete RunPython operations 2024-12-19 10:39:07 +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
thomas girod
8d6609566f
Merge pull request #951 from ae-utbm/refactor-news
refactor news model and creation form
2024-12-18 16:09:41 +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
thomas girod
c5646b1e59
Merge pull request #954 from ae-utbm/fix-subscription
fix access to the subscription page
2024-12-18 15:45:17 +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
8d643fc6b4 Apply review comments 2024-12-17 17:23:13 +01:00
imperosol
47876e3971 Make product types dynamically orderable. 2024-12-17 13:35:29 +01:00
imperosol
c79c251ba7 Add ProductTypeController 2024-12-17 13:35:29 +01:00
imperosol
483670e798 Make ProductType an OrderedModel 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
e680124d7b fix makemessages command in docs 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
Bartuccio Antoine
6416de237f
Merge pull request #923 from ae-utbm/counter-click-step-2
Casser counter click step 2 : separate refilling from counter clicks with fragments
2024-12-17 10:58:34 +01:00
Sli
ad44fd52a4 Apply review comments 2024-12-17 10:54:41 +01:00
Sli
03c27b10e5 Fix refill permissions
* Remove ability to refill from counters
* Fix bug where you could refill without any board member on a BAR
* Add a warning message explaining why refilling are disabled
2024-12-17 02:42:07 +01:00
Sli
fc0ef29738 Remove GetCustomer API endpoint 2024-12-17 01:42:10 +01:00
Sli
a0eb53a607 Apply review comments 2024-12-17 01:41:45 +01:00
Sli
66e5ef64fd Don't use API to update amount after a refilling query 2024-12-17 00:47:43 +01:00
thomas girod
f5d5cc18a8
Merge pull request #949 from ae-utbm/trombi
Fix crash when admin gets to preferences of an user subscribed to a trombinoscope
2024-12-16 10:06:17 +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
379527cd58 Add a nice animation on successful refilling 2024-12-16 00:58:23 +01:00
Sli
f63fb59cbf Allow filtering of refilling options
* Move settings.SITH_COUNTER_PAYMENT_METHOD to counter.apps.PAYMENT_METHOD
* Move student cards to an accordion on counter click
* Make cash default refilling option
* Disable bank selection option in refilling if CHECK are not allowed
* Disable refilling with CHECK from the frontend
2024-12-16 00:15:21 +01:00
Sli
cde864fdc7 Apply review comments 2024-12-15 22:47:59 +01:00