Commit Graph

2721 Commits

Author SHA1 Message Date
Sli
b8d43a629b Increase selling label size and add more counter click tests 2024-12-23 00:00:40 +01:00
Sli
f6693e12cf Basic counter click tests 2024-12-22 19:24:07 +01:00
Sli
38f491cf57 Properly test annotations in counter click 2024-12-22 16:43:07 +01:00
Sli
3464d5d860 Add proper tests for refilling view 2024-12-22 16:16:28 +01:00
Sli
5079938a5b Fix get_operator on non bar counters and better display of counter with no products 2024-12-22 13:36:50 +01:00
Sli
b8430adc50 Split counter-click-index.ts 2024-12-22 13:01:37 +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
372470b44b Improve empty basket and tray price management 2024-12-22 12:06:15 +01:00
Sli
7071553c3b Optimize product id validation on counter click 2024-12-22 12:06:15 +01:00
Sli
eea237b813 Pre-filter allowed products in backend for counter click 2024-12-22 12:06:15 +01:00
Sli
c37288c285 Display nice product cards on counter click interface 2024-12-22 12:06:15 +01:00
Sli
ccf5767a01 Fix customerBalance not init and submit/cancel buttons visuals 2024-12-22 12:06:15 +01:00
Sli
ffe6fc8c2a Redirect when cancelling instead of submitting a form 2024-12-22 12:06:15 +01:00
Sli
5f0b4d2050 Properly display form errors in counter 2024-12-22 12:06:15 +01:00
Sli
f9d7dc7d3a Restore form when form submit fails due to error 2024-12-22 12:06:15 +01:00
Sli
8ebea00896 Fix crash during validation 2024-12-22 12:06:15 +01:00
Sli
a548f4744e Fix counter main
* Fix crash when submitting nothing
* Fix code field not being autofocus
2024-12-22 12:06:15 +01:00
Sli
a383f3e717 Don't use codes as a primary key in counter click 2024-12-22 12:06:15 +01:00
Sli
60f18669c8 Make counter click client side first 2024-12-22 12:06:14 +01:00
thomas girod
eaac0c728f
Merge pull request #961 from ae-utbm/auth-backend
Custom auth backend
2024-12-22 06:38:34 +01:00
thomas girod
9ca95774a3
Merge pull request #962 from ae-utbm/query-news
Fix N+1 queries on birthdays
2024-12-22 06:32:58 +01:00
imperosol
fa66851889 fix n+1 queries on birthdays 2024-12-21 21:09:08 +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
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