Commit Graph
100 Commits
Author SHA1 Message Date
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
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 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
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
imperosol 58d3a7ee2c Optimize user account pages 2024-10-04 13:41:39 +02:00
thomas girodandBartuccio Antoine 543a48b4ab reminder to use wsl when cloning the project 2024-10-03 18:32:27 +02:00
thomas girodandBartuccio Antoine c4e42212aa Better install doc 2024-10-03 18:32:27 +02:00
thomas girodandBartuccio Antoine 0eaa20e09d fix localdate issues 2024-10-03 00:25:22 +02:00
thomas girod d0f17bd41a faster image resizing and smaller results 2024-10-02 23:16:47 +02:00
thomas girod c10e1e8cbf fix profile pictures layout in Select2 results 2024-09-29 23:31:33 +02:00
thomas girod c5f5ad3f75 fix 500 when searching users 2024-09-29 23:01:55 +02:00
thomas girod 1b1284d3d0 Better validation for phone number in billing info 2024-09-28 17:25:34 +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 3e5d4c5fbb add fixtures for the forum 2024-09-27 11:21:33 +02:00
thomas girod 3f2b63aaa5 move forum style into its own file 2024-09-27 11:21:33 +02:00
thomas girod d29a5cdb44 Add the new 3DSv2 fields 2024-09-27 11:10:38 +02:00
thomas girod 93f4dede3e Put users that never logged in at the end 2024-09-25 14:36:22 +02:00
thomas girod 43917317b4 optimize file recursive rights 2024-09-25 12:31:51 +02:00
thomas girod f182de5929 restore user ordering 2024-09-24 12:52:40 +02:00
thomas girodandBartuccio Antoine c6657bffd2 fix: profile picture deletion by board members 2024-09-23 23:35:14 +02:00
thomas girodandBartuccio Antoine 3d138d404f move webcam JS to its own file 2024-09-23 23:35:14 +02:00
thomas girod d3cada4c95 fix family graph image exension 2024-09-19 20:52:10 +02:00
thomas girod 27443bcd21 fix image deletion. again. 2024-09-19 20:35:08 +02:00
thomas girod b246e171b7 fix: fetch_paginated 2024-09-18 22:03:39 +02:00
thomas girod ab72e01707 lower the number of characters to trigger a fulltext search 2024-09-17 17:52:39 +02:00
thomas girodandBartuccio Antoine acad74528d fix: sale creation in populate_more 2024-09-17 16:05:42 +02:00
thomas girod 813bbbb94a preload images and identifications 2024-09-17 12:23:13 +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 d545becf24 add spinner during loading 2024-09-17 12:17:21 +02:00
thomas girod 48f605dbe0 Use select2 for user picture identification 2024-09-17 12:17:17 +02:00
thomas girod b0d7bbbb79 select 2 builder 2024-09-17 12:14:20 +02:00
thomas girod e8b496cfdc test: Product and ProductType icon resizing 2024-09-15 16:38:58 +02:00
thomas girod 79ef151ad3 auto compress product icons 2024-09-15 14:12:41 +02:00
thomas girod ed4c65600c fix image extension 2024-09-14 18:45:12 +02:00
thomas girod 55ad1f99fd fix undeletable SAS pictures 2024-09-10 21:38:13 +02:00
thomas girod d148d6b3a5 unify album name length 2024-09-08 13:30:23 +02:00
thomas girod f1afa3b436 fix memberships ending today 2024-09-04 16:21:42 +02:00
thomas girod 341ffc9a55 update CI 2024-09-02 12:49:11 +02:00
thomas girod 6962b39fc9 use typing.Self for custom queryset methods 2024-09-02 01:03:46 +02:00
thomas girod d04b4c77c6 update dependencies 2024-09-02 01:03:46 +02:00
thomas girod 453b7df0be bump Python to 3.12 2024-09-02 01:03:46 +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 b3e59b3829 remove unused view GET user/<user_id>/profile_upload 2024-09-01 18:49:50 +02:00
thomas girod 352b09d9cd fix subscription form translation 2024-09-01 15:20:07 +02:00
thomas girod 85a99fc8fa fix promo img on clicks 2024-09-01 12:33: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
thomas girod cc1d700f7d add forgotten migration 2024-08-29 11:57:09 +02:00
thomas girod e82acdabb0 remove sentry deployment CI (until Sentry is repaired) 2024-08-29 11:48:26 +02:00
thomas girod 9373654306 use rjsmin for js minification
Ca minifie moins bien le JS que Uglify, mais c'est intégrable directement dans les dépendances du projet
2024-08-26 23:16:13 +02:00
thomas girod 4a9d9f03a8 fix test workflow 2024-08-26 22:59:40 +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 2e1f16fa04 slim jquery-ui 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
thomas girod 52c19e9962 simplify scss management 2024-08-26 22:34:31 +02:00
thomas girod 7a0fa9f1a0 remove doku/bbcode to markdown 2024-08-10 14:23:01 +02:00
thomas girod 72ea6b6fdd fix crash on album fetch & test 2024-08-10 00:46:40 +02:00
thomas girod 9163e4dee6 fix SAS album display 2024-08-09 18:08:36 +02:00
thomas girod c56d6e3f6b fix wrong page size when fetching pictures. 2024-08-09 17:35:33 +02:00
thomas girod 3ef38fabdb fix picture navigation 2024-08-09 17:34:35 +02:00
thomas girod 7ea9a5ca2d improved feedback when loading ajax content 2024-08-09 11:58:26 +02:00
thomas girod 20c015c312 improved UX 2024-08-09 11:58:26 +02:00
thomas girod ecb48ce663 fix error when uploading image with an alpha channel 2024-08-09 11:58:26 +02:00
thomas girod 00dc03a235 fix rights on albums and next/previous pictures 2024-08-08 13:35:48 +02:00
thomas girod d3b203a4a1 change cache on picture download 2024-08-08 11:50:45 +02:00
thomas girod 4506440a62 add PictureQuerySet.viewable_by(user) method 2024-08-08 11:50:45 +02:00
thomas girod da6bd84cdf restify album view 2024-08-08 11:50:45 +02:00
thomas girod 0b9ccf6a57 paginate GET /api/sas/picture 2024-08-08 11:50:45 +02:00
thomas girod 5cce4269bb remove fuzzy from translations 2024-08-07 20:33:26 +02:00
thomas girod 0a2ed6dd94 fix crash when basket contains not existing product 2024-08-07 20:15:46 +02:00
thomas girod 417f328206 fix billing infos not sending 2024-08-07 14:29:51 +02:00
thomas girod cca9732925 eboutic big refactor 2024-08-06 16:49:20 +02:00
thomas girod 62bb15317c T2 ruff rule 2024-08-06 11:42:10 +02:00
thomas girod 996dadf6f5 update alpineJS to 3.14 2024-08-05 17:16:24 +02:00
thomas girod 29bb0f6712 promote AlpineJS to global dependency 2024-08-05 17:08:30 +02:00
thomas girod f6fbad8403 fix missing HTTP_REFERER 2024-08-05 15:53:41 +02:00
thomas girod 1dfd871169 add doc for nginx configuration 2024-08-05 13:32:47 +02:00
thomas girod a637742bb0 apply review comment 2024-08-05 10:52:15 +02:00
thomas girod a5e4db99fb Use X-Accel-Redirect to send files in prod 2024-08-05 10:52:15 +02:00
thomas girod a9f66e2cd9 extract sent_from_logged_counter(request) 2024-08-05 10:52:15 +02:00
thomas girod 12d316ebe4 doc: advanced install 2024-08-04 23:12:24 +02:00
thomas girod cbd8932075 update psycopg v2 to psycopg v3 2024-08-04 23:12:24 +02:00
thomas girodandBartuccio Antoine 19fdaf4c89 fix club counter click 2024-08-01 17:50:43 +02:00
thomas girod c7b47bdd02 use redis for the cache 2024-08-01 12:26:23 +02:00
thomas girod eef15e05f4 use autocomplete_fields in admin 2024-08-01 11:27:54 +02:00
thomas girod 819e2b5f9f better download button style 2024-07-30 19:58:58 +02:00
thomas girod 91344741a5 add some alpine to picture download 2024-07-30 19:23:48 +02:00