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
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
ca8c1c9d92
Mirror -index.css generation with their import location in -index.js/ts files
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
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
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
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
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
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
8e7c09332f
Remove ajax_select from core/views/group.py
2024-10-20 22:58:39 +02:00
7f8a2c1eaf
Remove ajax_select from counters
2024-10-20 20:55:05 +02:00
45441c351d
Improve ajax-select style
2024-10-20 17:37:51 +02:00
bb3f277ba5
Extract js and css from select widgets to editable class attributes
2024-10-20 13:40:59 +02:00
8bbebfdb13
Add AutoCompleteSelectGroup
2024-10-20 13:33:44 +02:00
f78b968075
Move markdown input and select widgets to a widget folder
2024-10-20 01:05:34 +02:00
ce4f57bd8f
Add ajax user widget and remove ajax_select from elections
2024-10-19 22:06:34 +02:00
8be8328830
Create select widget based on tomselect on django backend
...
Replace make_ajax in elections by the new widget
2024-10-19 21:32:58 +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
dee54c3b41
Use manifest storage and correct webpack conversion on easymde form
2024-10-15 00:28:43 +02:00
imperosol
e4845b580b
fix: invoices month grouping
2024-10-13 11:47:22 +02:00
a98c924b24
Use auto generated api for markdown input
2024-10-09 16:56:53 +02:00
thomas girod
2111a2c67e
Merge pull request #859 from ae-utbm/account-pages
...
Optimize user account pages
2024-10-08 19:55:45 +02:00
imperosol
b0884c6b04
return 404 when accessing not existing account
2024-10-08 15:30:35 +02:00
e5aa7aa866
Move easymde widget to easymde-index.js
2024-10-07 00:04:05 +02:00
imperosol
58d3a7ee2c
Optimize user account pages
2024-10-04 13:41:39 +02:00
thomas girod
a4fe4996aa
Merge pull request #834 from ae-utbm/real-name
...
Restore real name
2024-10-03 10:12:23 +02:00
655d72a2b1
Completely integrate wepack in django
...
* Migrate alpine
* Migrate jquery and jquery-ui
* Migrate shorten
* Add babel for javascript
* Introduce staticfiles django app
* Only bundle -index.js files in static/webpack
* Unify scss and webpack generated files
* Convert scss calls to static
* Add --clear-generated option to collectstatic
* Fix docs warnings
2024-10-02 16:11:02 +02:00
thomas girod
c5f5ad3f75
fix 500 when searching users
2024-09-29 23:01:55 +02:00
thomas girod
f182de5929
restore user ordering
2024-09-24 12:52:40 +02:00
thomas girod
c6657bffd2
fix: profile picture deletion by board members
2024-09-23 23:35:14 +02:00
9c93162741
Add missing files
2024-09-23 10:25:27 +02:00
6068c6048a
Use real name of the website once again
2024-09-23 01:37:25 +02:00
Bartuccio Antoine
f624b7c66d
Graph de famille en frontend ( #820 )
...
* Remove graphviz and use cytoscape.js instead
* Frontend generated graphs
* Make installation easier and faster
* Better user experience
* Family api and improved interface
* Fix url history when using 0, improve button selection and reset reverse with reset button
* Use klay layout
* Add js translations and apply review comments
2024-09-17 12:10:06 +02:00
thomas girod
55ad1f99fd
fix undeletable SAS pictures
2024-09-10 21:38:13 +02:00
thomas girod
dd07c374d7
convert uploaded images to webp
2024-09-01 19:05:54 +02:00
thomas girod
b3e59b3829
remove unused view GET user/<user_id>/profile_upload
2024-09-01 18:49:50 +02:00
thomas girod
a4d801bed4
Merge pull request #798 from ae-utbm/fix-content-disposition
...
repair name of protected files
2024-08-30 10:44:49 +02:00
thomas girod
fbff38c5c3
repair name of protected files
...
Depuis l'implémentation de l'envoi des fichiers par le reverse-proxy, le nom des fichiers n'était plus envoyé.
2024-08-30 10:27:03 +02:00
cc5df9b171
Better form for user submiting images, fix potential attack vector on bad file being resized and treated as an image
2024-08-27 17:05:37 +02:00
thomas girod
d295cc5223
move vendored files into their own folder
2024-08-26 22:34:32 +02:00
thomas girod
4036bfd703
Merge pull request #775 from ae-utbm/user-pictures-ajax
...
Render user picture page with ajax to improve performances
2024-08-18 12:40:07 +02:00