Commit Graph

2573 Commits

Author SHA1 Message Date
Sli
b9733afe7b Fix super call with parameters 2024-11-19 21:30:29 +01:00
Sli
a8ceb8a200 Intercept htmx on submit requests, this allows auto submit from nfc fields 2024-11-19 21:26:22 +01:00
Sli
7110891aeb Remove student card creation from CounterClick view and use fragment instead 2024-11-19 21:26:22 +01:00
Sli
ca8c1c9d92 Mirror -index.css generation with their import location in -index.js/ts files 2024-11-19 21:22:14 +01:00
Sli
0485ab1120 Remove defer from script where type=module is used 2024-11-19 21:22:14 +01:00
Sli
8a8851847c Passage de webpack à vite.dev 2024-11-19 21:22:14 +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
3db1f592e2
Merge pull request #927 from ae-utbm/password-and-username
Improve password and username generation
2024-11-19 17:39:54 +01:00
imperosol
6853ec0b69 make random password generation safe 2024-11-19 13:21:08 +01:00
imperosol
3b39049c20 Make User.generate_username less stupid 2024-11-19 13:07:59 +01:00
Sli
9991f5dc64 Create nice animation when scanning nfc cards 2024-11-15 14:51:45 +01:00
Sli
fce6c3d29c Convert nfc input to a web component 2024-11-15 14:51:45 +01:00
Bartuccio Antoine
346439076e
Merge pull request #922 from ae-utbm/ci
Fix CI
2024-11-15 14:46:05 +01:00
Sli
5e8d8b8d5d Revert back curl install of poetry in pipelines 2024-11-15 14:41:25 +01:00
thomas girod
db9f86c41e
Merge pull request #919 from ae-utbm/ts-eboutic
Migrate eboutic to Typescript
2024-11-14 11:07:37 +01:00
imperosol
c7adde62eb reset poetry cache in github CI 2024-11-13 23:50:43 +01:00
imperosol
34559dda08 migrate eboutic to typescript 2024-11-13 23:26:05 +01:00
thomas girod
37c4621e9e
Merge pull request #912 from ae-utbm/refactor_populate
Refactor populate
2024-11-13 15:43:18 +01:00
Bartuccio Antoine
dd7ed290f5
Merge pull request #883 from ae-utbm/htmx
Introduce htmx in sith files
2024-11-13 15:35:24 +01:00
Sli
dc1e1fc897 Fix typos 2024-11-12 21:38:38 +01:00
Sli
37abde04d7 Improve fragment doc 2024-11-11 13:56:34 +01:00
Sli
40f2f7033e Add test for AllowFragment mixin 2024-11-11 13:49:38 +01:00
Sli
aebf909dc6 Apply review comments 2024-11-11 13:49:38 +01:00
Sli
ec7d45fd91 Add documentation for htmx 2024-11-11 13:49:38 +01:00
Sli
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
c7a8a1a91c refactor CI 2024-11-11 13:28:44 +01:00
thomas girod
2dd434d987
Merge pull request #917 from ae-utbm/doc
Fix some doc typos
2024-11-11 12:47:51 +01:00
Sli
5e954bae6a Fix some doc typos 2024-11-11 00:32:04 +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
583d4ddfb8 Use less requests in GetUserForm.clean 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
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
thomas girod
97ea1763f1
Merge pull request #910 from ae-utbm/logo-25
Add promo 25 logo
2024-11-07 15:25:06 +01:00
NaNoMelo
b9f51596e9 Add promo 25 logo 2024-11-07 13:39:24 +01:00
Sli
0610794dbe Fix ajax-select visual 2024-10-28 18:18:56 +01:00
Sli
a6b32fcad1 Fix readability and avoid instantiating too many TypeAdapter 2024-10-28 18:08:13 +01:00
Sli
e583e78a4e Convert the whole request to json at once on select widget 2024-10-21 17:11:07 +02: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
935914428b Remove ajax_select completely 2024-10-21 13:30:12 +02:00
Sli
ab63ba1c54 Remove ajax_select from accounting 2024-10-21 13:26:11 +02:00
Sli
afdc6b69df Remove ajax_select from sas 2024-10-21 10:30:35 +02:00
Sli
8b419dcee6 Remove ajax_select from core 2024-10-20 23:25:56 +02:00
Sli
e7181257e3 Remove ajax_select from core/views/forms.py 2024-10-20 23:04:54 +02:00
Sli
8e7c09332f Remove ajax_select from core/views/group.py 2024-10-20 22:58:39 +02:00
Sli
d9ea5e5538 Remove ajax_select from trombi 2024-10-20 22:41:35 +02:00
Sli
a21460a1b8 Remove ajax_select from subscriptions 2024-10-20 22:36:55 +02:00
Sli
b6a480ff61 Remove ajax_select from forum 2024-10-20 22:29:07 +02:00