Commit Graph

2746 Commits

Author SHA1 Message Date
dependabot[bot]
6e29d07555
[UPDATE] Bump django-ninja-extra from 0.21.8 to 0.22.0
Bumps [django-ninja-extra](https://github.com/eadwinCode/django-ninja-extra) from 0.21.8 to 0.22.0.
- [Release notes](https://github.com/eadwinCode/django-ninja-extra/releases)
- [Commits](https://github.com/eadwinCode/django-ninja-extra/compare/0.21.8...0.22.0)

---
updated-dependencies:
- dependency-name: django-ninja-extra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-30 08:35:33 +00:00
thomas girod
cce7ecbe73
Merge pull request #974 from ae-utbm/fix-page
fix 500 error when accessing history of non-existing page
2024-12-29 15:47:38 +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
Sli
43f47e2087 Improve product card display on counter click 2024-12-27 01:59:54 +01:00
thomas girod
4b881903f0
Merge pull request #972 from ae-utbm/fix-product-fetch
Fix product fetch
2024-12-26 23:43:41 +01:00
imperosol
761e37ade6 fix product fetch 2024-12-26 17:26:06 +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
Sli
139221dd22 Apply review comments 2024-12-23 15:15:24 +01:00
imperosol
72c2981d66 rework form style 2024-12-23 15:11:15 +01:00
Sli
6f003ffa53 Add translations 2024-12-23 02:41:41 +01:00
Sli
7f6fd7dc47 Fix wrong tests/permissions 2024-12-23 02:37:41 +01:00
Sli
ccf5118c9d Add invalid form tests 2024-12-23 02:26:39 +01:00
Sli
022c19c020 Fix counter permissions issues 2024-12-23 02:17:28 +01:00
Sli
2e5e217842 Disable eboutic in counter click/main 2024-12-23 01:35:44 +01:00
Sli
9c93c004ec Add more counter click tests 2024-12-23 01:18:01 +01:00
Sli
472800eff6 Add nice snackbar message on counter interface and fix not enough money protection on frontend 2024-12-23 00:56:57 +01:00
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
thomas girod
81773dc800
Merge pull request #964 from ae-utbm/fix-backend
Fix custom auth backend
2024-12-22 15:07:46 +01:00
imperosol
da400155eb fix SithModelBackend._get_group_permissions 2024-12-22 15:01:58 +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
Sli
a36946529b Fix error when submitting group form without any group checked 2024-12-22 12:04:51 +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