thomas girod
6a31f38ceb
Merge pull request #870 from ae-utbm/taiste
...
Counter state improvement, Stock app removal, lot of work on Webpack and more
2024-10-11 15:18:12 +02:00
imperosol
29b32f6cbf
Tell the customer balance in the warning mail
2024-10-11 09:59:03 +02:00
imperosol
465e0f31d9
write command test
2024-10-11 09:57:46 +02:00
imperosol
5a8052ae47
send mail to inactive users
2024-10-11 09:57:41 +02:00
imperosol
6a64e05247
select inactive users
2024-10-11 09:45:54 +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
thomas girod
8f0ee4df6d
Merge pull request #828 from ae-utbm/remove-stocks
...
remove stock application
2024-10-10 19:00:38 +02:00
579d077b35
Fix docstring
2024-10-10 15:45:43 +02:00
32444fac90
Apply review comments
2024-10-10 15:42:11 +02:00
849177562d
Add a way to get the base url of an endpoint
2024-10-10 02:57:54 +02:00
86bbc4cf6e
Migrate uv guide to webpack
2024-10-10 02:04:49 +02:00
46e58bb49e
Remove fetchPaginated and migrate viewer.js to viewer-index.js in webpack
2024-10-09 21:46:56 +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
9247696c1c
Don't collect .ts files in statics
2024-10-09 17:30:44 +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
76cc730d8f
Merge pull request #865 from ae-utbm/deps
...
Update Deps
2024-10-09 15:54:09 +02:00
thomas girod
12bb7e9294
remove stock application
2024-10-09 14:50:41 +02:00
imperosol
1dca0ea003
update ruff
2024-10-09 14:28:13 +02:00
imperosol
b340a6568f
update dependencies
2024-10-09 14:26:39 +02:00
6f4e93bb76
Use configuration object for load builders
2024-10-09 12:14:10 +02:00
93eb09887e
Fix translations
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
imperosol
b0884c6b04
return 404 when accessing not existing account
2024-10-08 15:30:35 +02:00
imperosol
20bea62542
use spaces for indentation
2024-10-08 13:54:44 +02:00
24925f7726
Add Biome to documentation
2024-10-08 01:49:29 +02:00
d0c18d4538
Format with biome instead of standard
2024-10-08 01:49:15 +02:00
37eaa4b912
Add Standard to documentation
2024-10-07 01:36:13 +02:00
a3cca056ae
Apply standard to easymde
2024-10-07 00:10:24 +02:00
ee965008d1
Properly fix no-unused-vars warning
2024-10-07 00:04:48 +02:00
c57d2ece9c
Apply standard formater and linter on js files
2024-10-07 00:04:48 +02:00
e5aa7aa866
Move easymde widget to easymde-index.js
2024-10-07 00:04:05 +02:00
thomas girod
cacdf600f4
Merge pull request #860 from ae-utbm/fix-sas-owner
...
Fix sas owner
2024-10-05 21:44:21 +02:00
NaNoMelo
5ee0ee8efb
tests for picture ownership
2024-10-05 21:02:19 +02:00
NaNoMelo
08f20796a7
access rights fix
2024-10-05 20:53:52 +02:00
imperosol
58d3a7ee2c
Optimize user account pages
2024-10-04 13:41:39 +02:00
thomas girod
f6be360eab
Merge pull request #857 from ae-utbm/fix-slideshow
...
Fix slideshow
2024-10-03 22:51:25 +02:00
thomas girod
543a48b4ab
reminder to use wsl when cloning the project
2024-10-03 18:32:27 +02:00
0f657b934d
Fix makemessage doc
2024-10-03 18:32:27 +02:00
thomas girod
c4e42212aa
Better install doc
2024-10-03 18:32:27 +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