Commit Graph

363 Commits

Author SHA1 Message Date
imperosol
ff68e65250 extract counter home views 2024-12-07 00:07:37 +01:00
imperosol
10f42b1522 fix imports 2024-11-27 19:03:34 +01:00
imperosol
76e9f3b1dc Merge branches 'split-cash', 'split-click', 'split-main', 'split-admin', 'split-mixins', 'split-eticket' and 'split-invoices' into split-clean 2024-11-27 18:49:40 +01:00
imperosol
d0ff9bc16c extract mixins views 2024-11-27 18:48:06 +01:00
imperosol
5e4ebd16f9 extract mixins views 2024-11-27 18:47:55 +01:00
imperosol
d2b19424ff extract eticket views 2024-11-27 18:47:18 +01:00
imperosol
08286254cd extract eticket views 2024-11-27 18:47:03 +01:00
imperosol
4805c39b45 extract cash views 2024-11-27 18:46:24 +01:00
imperosol
f845bbf20a extract cash views 2024-11-27 18:45:27 +01:00
imperosol
71c7158124 extract invoice views 2024-11-27 18:43:26 +01:00
imperosol
c4643ee52c extract invoice views 2024-11-27 18:42:50 +01:00
imperosol
b46b0882f3 extract admin views 2024-11-27 18:42:26 +01:00
imperosol
1c4efc9431 extract admin views 2024-11-27 18:41:47 +01:00
imperosol
4133e0ccdd extract click views 2024-11-27 18:41:12 +01:00
imperosol
de415e7e75 split click views 2024-11-27 18:40:38 +01:00
imperosol
9d17524f45 extract main views 2024-11-27 18:00:48 +01:00
imperosol
68ad9650af extract main views 2024-11-27 17:56:44 +01:00
imperosol
8d4d8a3abc create views package 2024-11-27 17:07:08 +01:00
thomas girod
33b9ff78bb
Merge pull request #913 from ae-utbm/dump-accounts
Dump accounts
2024-11-21 18:39:49 +01:00
Sli
7b41051d0d Go for a more generic js bundling architecture
* Don't tie the output name to webpack itself
* Don't call js bundling webpack in python code
* Make the doc more generic about js bundling
2024-11-19 21:22:14 +01:00
thomas girod
37d1669a72 typo in docstrings
Co-authored-by: NaNoMelo <56289688+NaNoMelo@users.noreply.github.com>
2024-11-19 00:48:35 +01:00
imperosol
ee9f36d883 implement the dump_accounts command 2024-11-19 00:48:35 +01:00
imperosol
e712f9fdb8 improve counter dump admin 2024-11-19 00:43:17 +01:00
thomas girod
37c4621e9e
Merge pull request #912 from ae-utbm/refactor_populate
Refactor populate
2024-11-13 15:43:18 +01:00
imperosol
583d4ddfb8 Use less requests in GetUserForm.clean 2024-11-11 00:26:16 +01:00
thomas girod
7cc13ea669
Merge pull request #899 from ae-utbm/ajax-select
Improve ajax select
2024-11-10 13:37:57 +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
Sli
a6b32fcad1 Fix readability and avoid instantiating too many TypeAdapter 2024-10-28 18:08:13 +01:00
Sli
3eb3feea49 Fix deprecated usage of schema json method and avoid multiple inheritance on select widgets 2024-10-21 16:14:00 +02:00
Sli
7f8a2c1eaf Remove ajax_select from counters 2024-10-20 20:55:05 +02:00
imperosol
662b4b5c53 precise that dumped users can still subscribe 2024-10-20 12:45:37 +02:00
imperosol
9675b6372c add flags to the dump warning mail command 2024-10-20 12:32:28 +02:00
imperosol
03afd49115 make the mail text only 2024-10-20 12:32:28 +02:00
Sli
e3dcad62cc Migrates lookups
* products
* files
* Groups
* Clubs
* Accounting
2024-10-20 00:47:31 +02:00
imperosol
db6a871854 optimize product pages again 2024-10-20 00:27:25 +02: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
imperosol
15ae24f0bd optimize: product list views 2024-10-13 12:32:50 +02:00
imperosol
29b32f6cbf Tell the customer balance in the warning mail 2024-10-11 09:59:03 +02:00
imperosol
465e0f31d9 write command test 2024-10-11 09:57:46 +02:00
imperosol
5a8052ae47 send mail to inactive users 2024-10-11 09:57:41 +02:00
imperosol
6a64e05247 select inactive users 2024-10-11 09:45:54 +02:00
imperosol
c0a6f5eb30 Optimize barmen timeout and counter state fetch
Le timeout se fait en une seule requête et la récupération de l'état des comptoirs en une seule requête aussi. Grâce à ça, on peut en grande partie retirer le cache pour l'affichage de l'état des comptoirs, ce qui a des implications excellentes en termes d'UX (comme le fait que la redirection vers la page de comptoir ou d'activité aura plus une apparence de truc aléatoire)
2024-10-10 19:38:49 +02:00
imperosol
4bc4d266c2 Remove the question mark from the counter state
En raison de la manière dont le timeout marche et de l'activité des comptoirs, la notion de "comptoir inactif" n'est pas intuitive. Un comptoir est ouvert ou fermé. Point.
2024-10-10 19:37:00 +02:00
thomas girod
12bb7e9294 remove stock application 2024-10-09 14:50:41 +02:00
thomas girod
b969513d94
Merge pull request #858 from ae-utbm/jsstandard
Add biome to format js files
2024-10-08 23:45:20 +02:00
Sli
7405241b82 Apply all biomejs fixes 2024-10-08 17:14:22 +02:00
imperosol
20bea62542 use spaces for indentation 2024-10-08 13:54:44 +02:00
Sli
d0c18d4538 Format with biome instead of standard 2024-10-08 01:49:15 +02:00
Sli
c57d2ece9c Apply standard formater and linter on js files 2024-10-07 00:04:48 +02:00