4c65939bbe
Fix crash when admin gets to preferences of an user subscribed to a trombinoscope
2024-12-16 09:31:43 +01:00
0631c77a1c
Apply review comments
2024-12-15 17:02:44 +01:00
2cc4308a58
Fix tooltip shadow and position and improve unittests
2024-12-15 16:49:24 +01:00
4975475e85
Add tooltip on current registered card, allow barmen to delete cards and make card deletion a fragment
2024-12-15 16:49:24 +01:00
imperosol
466fe58763
feat: make student card unique per user
2024-12-15 16:49:24 +01:00
imperosol
3b7e338808
fix 500 when accessing preferences
...
Quand on tente d'accéder aux préférences d'un utilisateur relié à un trombi, sans être soi-même dans un trombi, on a une erreur.
2024-12-15 16:49:24 +01:00
29a5425259
Add spinner to student card form
2024-12-08 13:17:56 +01:00
de7aa6f6a6
Create a generic form fragment renderer
2024-12-08 11:45:16 +01:00
66d2dc74e7
Pre-fetch forms for student card
2024-12-08 00:32:28 +01:00
d4b9c3afb1
Make StudentCardFormView fragment only
2024-12-07 22:36:15 +01:00
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
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
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
d2d639e5f6
Split SubscriptionForm
into SubscriptionNewUserForm
and SubscriptionExistingUserForm
2024-12-03 19:41:09 +01:00
imperosol
75406f7b58
Tabs jinja component
2024-11-26 16:17:44 +01:00
Bartuccio Antoine
d7ae601c52
Merge pull request #911 from ae-utbm/skia/fix_user_profile_picture
...
core: fix user profile picture size
2024-11-21 19:13:36 +01:00
thomas girod
33b9ff78bb
Merge pull request #913 from ae-utbm/dump-accounts
...
Dump accounts
2024-11-21 18:39:49 +01:00
ca8c1c9d92
Mirror -index.css generation with their import location in -index.js/ts files
2024-11-19 21:22:14 +01:00
0485ab1120
Remove defer from script where type=module is used
2024-11-19 21:22:14 +01:00
8a8851847c
Passage de webpack à vite.dev
2024-11-19 21:22:14 +01:00
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
imperosol
3b39049c20
Make User.generate_username
less stupid
2024-11-19 13:07:59 +01:00
imperosol
ee9f36d883
implement the dump_accounts
command
2024-11-19 00:48:35 +01:00
9991f5dc64
Create nice animation when scanning nfc cards
2024-11-15 14:51:45 +01:00
fce6c3d29c
Convert nfc input to a web component
2024-11-15 14:51:45 +01:00
thomas girod
37c4621e9e
Merge pull request #912 from ae-utbm/refactor_populate
...
Refactor populate
2024-11-13 15:43:18 +01:00
dc1e1fc897
Fix typos
2024-11-12 21:38:38 +01:00
40f2f7033e
Add test for AllowFragment mixin
2024-11-11 13:49:38 +01:00
aebf909dc6
Apply review comments
2024-11-11 13:49:38 +01:00
ec7d45fd91
Add documentation for htmx
2024-11-11 13:49:38 +01:00
3af5d96bf5
Introduce htmx in sith files
...
* Convert FileModerationView into ListView and add pagination with htmx
* Don't allow sas moderation in file moderation view
* Split up base.jinja and introduce base_fragment.jinja
* Improve FileModerationView performances and make it root only
* Add permissions tests for file modération
2024-11-11 13:49:38 +01:00
imperosol
a97dba18c2
Reduce width of non-multiple ajax selects
2024-11-11 00:26:16 +01:00
imperosol
26770de40e
Make selected option more visible
2024-11-11 00:26:16 +01:00
imperosol
486047b929
remove the honeypot from the login page
...
Des utilisateurs humains se font régulièrement "éclairer" par le honeypot. Les mesures anti-bot ne devraient pas bloquer des humains.
2024-11-11 00:22:07 +01:00
imperosol
b65ec6463b
fix picture display in profile page
2024-11-10 16:18:56 +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
Skia
2a0f2454f4
core: fix user profile picture size
...
Since 28f397574f
and the removal of the
`flex-basis: 50px` property from `user_profile_pictures_thumbnails`,
the main picture was always displayed small-ish, at least on Firefox.
Setting back a flex-basis helps getting more consistent behavior once
again.
2024-11-07 15:51:43 +01:00
NaNoMelo
b9f51596e9
Add promo 25 logo
2024-11-07 13:39:24 +01:00
0610794dbe
Fix ajax-select visual
2024-10-28 18:18:56 +01:00
a6b32fcad1
Fix readability and avoid instantiating too many TypeAdapter
2024-10-28 18:08:13 +01:00
e583e78a4e
Convert the whole request to json at once on select widget
2024-10-21 17:11:07 +02:00
3eb3feea49
Fix deprecated usage of schema json method and avoid multiple inheritance on select widgets
2024-10-21 16:14:00 +02:00
935914428b
Remove ajax_select completely
2024-10-21 13:30:12 +02:00
8b419dcee6
Remove ajax_select from core
2024-10-20 23:25:56 +02:00
e7181257e3
Remove ajax_select from core/views/forms.py
2024-10-20 23:04:54 +02:00