Commit Graph
100 Commits
Author SHA1 Message Date
imperosol 75406f7b58 Tabs jinja component 2024-11-26 16:17:44 +01:00
imperosol 70f5ae4f9c Move subscription forms to subscription/forms.py 2024-11-26 16:17:44 +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
imperosol ee9f36d883 implement the dump_accounts command 2024-11-19 00:48:35 +01:00
imperosol e712f9fdb8 improve counter dump admin 2024-11-19 00:43:17 +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
imperosolandBartuccio Antoine c7a8a1a91c refactor CI 2024-11-11 13:28:44 +01:00
imperosolandBartuccio Antoine a97dba18c2 Reduce width of non-multiple ajax selects 2024-11-11 00:26:16 +01:00
imperosolandBartuccio Antoine 26770de40e Make selected option more visible 2024-11-11 00:26:16 +01:00
imperosolandBartuccio Antoine 583d4ddfb8 Use less requests in GetUserForm.clean 2024-11-11 00:26:16 +01:00
imperosolandBartuccio Antoine 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
imperosol b65ec6463b fix picture display in profile page 2024-11-10 16:18:56 +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
imperosol 662b4b5c53 precise that dumped users can still subscribe 2024-10-20 12:45:37 +02:00
imperosol 9675b6372c add flags to the dump warning mail command 2024-10-20 12:32:28 +02:00
imperosol 03afd49115 make the mail text only 2024-10-20 12:32:28 +02:00
imperosol db6a871854 optimize product pages again 2024-10-20 00:27:25 +02:00
imperosol 5d16ba135a fix: xss on select2 results 2024-10-17 08:15:34 +02:00
imperosol 19cd51043a feat: display moderation requests to moderators 2024-10-14 00:47:07 +02:00
imperosol 5348a451e9 feat: picture moderation requests 2024-10-14 00:45:52 +02:00
imperosol 83ae21140d move SAS forms to their own file 2024-10-14 00:45:52 +02:00
imperosol 15ae24f0bd optimize: product list views 2024-10-13 12:32:50 +02:00
imperosol e4845b580b fix: invoices month grouping 2024-10-13 11:47:22 +02:00
imperosol 564d95f701 fix: InvoiceQuerySet.annotate_total() (but for real this time) 2024-10-13 10:37:48 +02:00
imperosol 7312580a8d fix: InvoiceQuerySet.annotate_total() 2024-10-12 15:52:40 +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
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