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
0a0092e189
Add link-once and script-once web components
2024-10-19 18:55:32 +02:00
645b8a543e
Make easymde compatible with safari
2024-10-17 18:15:55 +02:00
deda2b4055
Replace selec2 with tom-select
2024-10-17 18:15:55 +02:00
670d2fa12e
Use a web component for easymde
...
* Bump tsconfig output to es6
* Fix wrong import behavior on typescript according to webpack's doc
* Create an easymde component
2024-10-15 00:28:43 +02:00
361a06e5b3
Migrate sentry to webpack
2024-10-13 17:14:21 +02:00
a5d8c96bab
Remove select2 from vendored
...
* Make core/utils/select2.ts
* Convert viewer-index.js to typescript
2024-10-13 10:55:15 +02:00
thomas girod
81a64eed08
Merge pull request #867 from ae-utbm/barmen-link
...
Better UX and performance for counter state display
2024-10-11 09:31:12 +02:00
Bartuccio Antoine
29b27dc626
Merge pull request #866 from ae-utbm/openapi
...
Typescript support and auto generated typescript client API
2024-10-11 09:30:35 +02:00
imperosol
ca25a12be0
Increase the barmen timeout limit
...
La limite actuelle est trop faible. En soirée, on s'en fout. Mais en journée, c'est terriblement chiant. Certains barmens passent leur temps à rafraichir la la page, certains mettent un rechargement auto à intervalles réguliers (ce qui tue le concept du timeout), et d'autres encore ont juste arrêté d'y prêter attention (mais le comptoir apparait alors comme fermé, et des étudiants qui auraient pu venir au Foyer ne viennent finalement pas)
2024-10-10 19:38:49 +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
9199f91151
Use typescript api for user pictures and allow imports across js files
...
* Add imports paths for js files in node
* Add a ts version of fetchPaginated
* Update documentation
2024-10-09 20:59:12 +02:00
37f62e15cf
Use new typescript api for user graphs
2024-10-09 17:21:05 +02:00
a98c924b24
Use auto generated api for markdown input
2024-10-09 16:56:53 +02:00
a71ca60270
Add typescript support and automatic openapi client generation from ninja
2024-10-09 16:28:54 +02:00
thomas girod
12bb7e9294
remove stock application
2024-10-09 14:50:41 +02:00
6f4e93bb76
Use configuration object for load builders
2024-10-09 12:14:10 +02:00
09081b03b6
Move family_graph.js to webpack
...
* Remove cytoscape dependencies
2024-10-09 12:14:10 +02:00
ceee393bd8
Move user_picture.js to webpack
...
* Fix relative path generation in webpack
* remove vendored/native-file-system-adapter
* remove vendored/zip.js
2024-10-09 12:14:10 +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
thomas girod
2111a2c67e
Merge pull request #859 from ae-utbm/account-pages
...
Optimize user account pages
2024-10-08 19:55:45 +02:00
7405241b82
Apply all biomejs fixes
2024-10-08 17:14:22 +02:00
a3cca056ae
Apply standard to easymde
2024-10-07 00:10:24 +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
fbcacb24f8
Fix broken screen slideshow
2024-10-03 01:05:56 +02:00
271d57051e
Upgrade to fontawesome 6
...
* Adapt fontawesome usage when needed
* Fix uv guide not importing css
* Remove utf8 usage for fontawesome
2024-10-03 00:06:03 +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
a00a85a56a
Fix recursive link history updates for picture viewer
2024-09-30 15:02:11 +02:00
thomas girod
f71518ed6f
Move deprecated paginate
macro to a lower scope
2024-09-27 11:21:33 +02:00
thomas girod
1800785b80
generalize usage of the paginate_jinja macro
2024-09-27 11:21:33 +02:00
thomas girod
6449724ed5
fix pagination macro and add ellision
2024-09-27 11:21:33 +02:00
thomas girod
6179c3e7d4
Better style for forum messages
2024-09-27 11:21:33 +02:00
thomas girod
c6657bffd2
fix: profile picture deletion by board members
2024-09-23 23:35:14 +02:00
thomas girod
3d138d404f
move webcam JS to its own file
2024-09-23 23:35:14 +02:00
thomas girod
a2a858262a
apply review comments
2024-09-17 12:23:13 +02:00
thomas girod
bc40b92744
completely ajaxify the picture page
2024-09-17 12:23:13 +02:00
thomas girod
48f605dbe0
Use select2 for user picture identification
2024-09-17 12:17:17 +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
cf46c3800f
remove sith version from the footer
2024-09-01 23:47:25 +02:00
thomas girod
dd07c374d7
convert uploaded images to webp
2024-09-01 19:05:54 +02:00
thomas girod
85a99fc8fa
fix promo img on clicks
2024-09-01 12:33:49 +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
e564c6604c
Merge pull request #788 from ae-utbm/manifest-static-files
...
Manifest static files
2024-08-27 11:08:49 +02:00
d95d4901d2
Use reduce instead of groupBy for user picture sorting to support more browsers
2024-08-27 10:35:38 +02:00
thomas girod
b7261ec629
custom manifest static files storage that also minify scss and js files
2024-08-26 22:34:32 +02:00
thomas girod
d295cc5223
move vendored files into their own folder
2024-08-26 22:34:32 +02:00
thomas girod
ff088009d9
move static files in their respective application
2024-08-26 22:34:31 +02:00