Commit Graph

2680 Commits

Author SHA1 Message Date
imperosol
e2a34c75ea deps: update dependencies 2024-12-08 11:54:58 +01:00
Sli
de7aa6f6a6 Create a generic form fragment renderer 2024-12-08 11:45:16 +01:00
imperosol
9acb421b2e deps: update ruff 2024-12-08 11:17:27 +01:00
Sli
66d2dc74e7 Pre-fetch forms for student card 2024-12-08 00:32:28 +01:00
Sli
2f613607af Update number of queries in test_num_queries 2024-12-07 23:35:35 +01:00
Sli
d4b9c3afb1 Make StudentCardFormView fragment only 2024-12-07 22:36:15 +01:00
Sli
b81cf49d0a Remove student card creation from CounterClick view and use fragment instead
Intercept htmx on submit requests, this allows auto submit from nfc fields

Fix super call with parameters

Add loading wheel on student card form for counter_click.jinja
2024-12-07 12:57:10 +01:00
thomas girod
1da45fdffc
Merge pull request #934 from ae-utbm/split-counter
Split counter views into multiple files
2024-12-07 11:53:14 +01:00
imperosol
10dde3f002 fix imports 2024-12-07 00:18:17 +01:00
imperosol
c2d6af12ab Merge branches 'split-home' and 'split-studentcard' into split-counter 2024-12-07 00:13:50 +01:00
imperosol
6e48f88c06 extract counter auth views 2024-12-07 00:12:10 +01:00
imperosol
7a91a71565 extract counter auth views 2024-12-07 00:11:18 +01:00
imperosol
c4764110d8 extract counter home views 2024-12-07 00:10:46 +01:00
imperosol
ff68e65250 extract counter home views 2024-12-07 00:07:37 +01:00
imperosol
c9d83e5916 extract student card views 2024-12-07 00:06:33 +01:00
imperosol
5dc99dbfcb extract student card views 2024-12-07 00:05:45 +01:00
thomas girod
8dbec85c8e
Merge pull request #941 from ae-utbm/optimize-search
Optimize search
2024-12-06 21:00:06 +01:00
imperosol
84d7e40e66 feat: client-side cache for ajax-select inputs 2024-12-06 18:38:30 +01:00
imperosol
0b509f2200 fix N+1 queries on user search 2024-12-06 18:38:30 +01:00
thomas girod
9591162cc9
Merge pull request #940 from ae-utbm/fix-dump
Fix the account dump command.
2024-12-05 19:52:07 +01:00
imperosol
007e17fd8b Fix the account dump command.
- a missing `fail_silently` flag made the whole command fail if an invalid recipient is used (like closed utbm mail address)
- Not specifying the seller make the account detail pages crash.
2024-12-05 12:50:40 +01:00
thomas girod
95f8e7517c
Merge pull request #932 from ae-utbm/fix-subscriptions
Rework the subscription page
2024-12-03 19:45:26 +01:00
imperosol
9667c79162 remove htmx-ext-response-targets 2024-12-03 19:41:10 +01:00
imperosol
1c79c25262 better tab style 2024-12-03 19:41:09 +01:00
imperosol
04b4b34bfe add back user profiles on subscription form 2024-12-03 19:41:09 +01:00
imperosol
fc0e689d4e add initial values to forms 2024-12-03 19:41:09 +01:00
imperosol
83bb4b3b12 add translation 2024-12-03 19:41:09 +01:00
imperosol
8dcfc604a0 write tests 2024-12-03 19:41:09 +01:00
imperosol
d2d639e5f6 Split SubscriptionForm into SubscriptionNewUserForm and SubscriptionExistingUserForm 2024-12-03 19:41:09 +01:00
thomas girod
b3eb7693e3
Merge pull request #933 from ae-utbm/remove-stock
delete stock application
2024-11-28 23:20:35 +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
imperosol
9617e29ed5 delete stock application 2024-11-26 17:35:10 +01:00
imperosol
75406f7b58 Tabs jinja component 2024-11-26 16:17:44 +01:00
imperosol
70f5ae4f9c Move subscription forms to subscription/forms.py 2024-11-26 16:17:44 +01:00