imperosol
702524d77d
feat: forbid self-refill on counters
2026-12-03 14:04:42 +01:00
imperosol
01112a89aa
forbid minors from selling alcohol
2026-11-12 15:49:31 +01:00
imperosol
74d17e6a96
test is_logged_in_counter
2026-10-31 12:54:59 +01:00
imperosol
7bc980113a
allow is_logged_in_counter to target a specific counter
2026-10-30 14:38:00 +01:00
imperosol
46318be572
add tests
2026-09-17 12:51:16 +02:00
imperosol
7bd79d1d55
re-apply ruff TCH rules
2026-09-07 13:32:13 +02:00
imperosol
a75d5e06b6
fix: session not properly updated on counter login
...
Fixes #1440
2026-06-24 22:22:34 +02:00
thomas girod
0ba001ccda
Merge pull request #1428 from ae-utbm/fix-session-barmen
...
CounterLogin: manage case where barman is already logged in another device
2026-06-15 12:54:34 +02:00
imperosol
519a7758c5
manage case where barman is already logged in another device
2026-06-12 10:32:16 +02:00
imperosol
caa2bf66be
apply review comments
2026-06-11 18:18:12 +02:00
imperosol
998efc7c6b
add tests
2026-06-11 14:22:38 +02:00
imperosol
29cacf8efc
add tests
2026-06-03 23:51:40 +02:00
imperosol
222b0d16a7
feat: request.barmen
2026-06-03 23:43:19 +02:00
imperosol
074ebcb011
use fragment for counter login
2026-06-03 23:43:19 +02:00
imperosol
dd4887ead4
exclude products over clic limit from eboutic
2026-06-01 10:46:28 +02:00
imperosol
898ce48cc8
adapt tests to new club roles framework
2026-05-12 09:44:28 +02:00
imperosol
ef611ce1a7
unify eboutic and regular counter price selection
2026-04-29 12:59:01 +02:00
imperosol
16ca6c3ead
fix existing tests
2026-04-29 12:53:20 +02:00
imperosol
c588e5117d
make Refilling.payment_method a SmallIntegerField
2025-11-19 21:03:55 +01:00
imperosol
ad87617018
remove Refilling.bank
2025-11-19 21:03:55 +01:00
imperosol
56c2c2b70e
remove Refilling.is_validated
2025-11-19 21:03:55 +01:00
imperosol
f027464d0e
apply new ruff rules
2025-11-07 16:24:28 +01:00
Noa Fouich
262281adda
Add test case
2025-09-18 14:40:20 +02:00
imperosol
67884017f8
fix old permanences having end replaced by activity
2025-06-25 01:22:13 +02:00
klmp200
8af6af1303
Test basket creation
2025-04-22 23:03:06 +02:00
Thomas Girod
ff220e67c1
use new django.url.reverse query kwarg
2025-04-11 14:54:06 +02:00
Thomas Girod
9e0cb7647b
fix counter stats page access
2025-04-06 14:18:20 +02:00
imperosol
e7bb08448c
feat: generic returnable products
2025-04-04 09:29:54 +02:00
imperosol
805b146f17
change Club.unix_name to Club.slug_name and remove it from forms
2025-03-28 17:42:53 +01:00
klmp200
1978658b9c
Allow transactions on counter when an user has recorded too many products as long as he doesn't record more
2025-02-21 14:50:07 +01:00
imperosol
14ed43aaa5
fix office counter click access
2025-01-23 13:32:13 +01:00
klmp200
a4c6439981
Fix selling ordering bug that created "not enough money" errors
...
* Add tests
* Add tests for cons/dcons
2025-01-10 16:35:42 +01:00
klmp200
0c4d72e17a
Switch from poetry to uv
2025-01-06 16:17:54 +01:00
imperosol
af47587116
Split groups and ban groups
2025-01-05 15:49:08 +01:00
klmp200
139221dd22
Apply review comments
2024-12-23 15:15:24 +01:00
klmp200
7f6fd7dc47
Fix wrong tests/permissions
2024-12-23 02:37:41 +01:00
klmp200
ccf5118c9d
Add invalid form tests
2024-12-23 02:26:39 +01:00
klmp200
022c19c020
Fix counter permissions issues
2024-12-23 02:17:28 +01:00
klmp200
2e5e217842
Disable eboutic in counter click/main
2024-12-23 01:35:44 +01:00
klmp200
9c93c004ec
Add more counter click tests
2024-12-23 01:18:01 +01:00
klmp200
b8d43a629b
Increase selling label size and add more counter click tests
2024-12-23 00:00:40 +01:00
klmp200
f6693e12cf
Basic counter click tests
2024-12-22 19:24:07 +01:00
klmp200
38f491cf57
Properly test annotations in counter click
2024-12-22 16:43:07 +01:00
klmp200
3464d5d860
Add proper tests for refilling view
2024-12-22 16:16:28 +01:00
klmp200
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
klmp200
fc0ef29738
Remove GetCustomer API endpoint
2024-12-17 01:42:10 +01:00
klmp200
e9361697f7
Convert customer refill to a fragment view
2024-12-15 21:33:19 +01:00
imperosol
c2efc969d0
refactor populate.py
2024-11-10 02:59:43 +01:00
imperosol
b091fee035
custom queryset method to bulk update customer balance
2024-11-10 02:59:43 +01:00
thomas girod
d16a207a83
Add more Ruff rules ( #891 )
...
* ruff: apply rule F
* ruff: apply rule E
* ruff: apply rule SIM
* ruff: apply rule TCH
* ruff: apply rule ERA
* ruff: apply rule PLW
* ruff: apply rule FLY
* ruff: apply rule PERF
* ruff: apply rules FURB & RUF
2024-10-15 11:36:26 +02:00