Commit Graph

3549 Commits

Author SHA1 Message Date
imperosol 530e851bd1 add missing open graph tags 2025-11-09 21:28:16 +01:00
thomas girod 1d2a90a751 Merge pull request #1232 from ae-utbm/group-simplify
simplify `User.is_in_group`
2025-11-09 21:27:51 +01:00
imperosol 61d51a08d2 simplify User.is_in_group 2025-11-09 21:27:18 +01:00
thomas girod 99b86fb27d Merge pull request #1233 from ae-utbm/fix-duplicated-message
fix: duplicated message on `PermissionGroupsUpdateView`
2025-11-09 21:26:32 +01:00
imperosol ec9bfd3b7e fix: duplicated message on PermissionGroupsUpdateView 2025-11-09 21:25:44 +01:00
thomas girod 7ef16f027a Merge pull request #1230 from ae-utbm/gala-2025
Custom style for Gala 2025
2025-11-09 21:24:50 +01:00
imperosol 282c4b8f26 remove SithFile._check_fs and SithFile.repair_fs 2025-11-09 17:00:44 +01:00
imperosol 8cbf42d714 Custom style for Gala 2025 2025-11-09 15:33:29 +01:00
thomas girod 1f3a483b1b Merge pull request #1046 from ae-utbm/refactor-election
Refactor election
2025-11-08 22:44:16 +01:00
imperosol 2e288368f0 apply review comments 2025-11-07 19:18:24 +01:00
imperosol 8b98e10ba3 remove CanCreateMixin usage from election 2025-11-07 19:18:24 +01:00
imperosol 59655e0414 refactor election result computing 2025-11-07 19:18:24 +01:00
imperosol 0d6856e925 refactor election detail view 2025-11-07 19:18:24 +01:00
imperosol e754b48371 feat: add x-limited-choices directive 2025-11-07 19:18:22 +01:00
imperosol a56b1c244e refactor CandidatureForm 2025-11-07 19:18:00 +01:00
imperosol 0d9d048ea3 move forms to their own file 2025-11-07 19:18:00 +01:00
thomas girod c42aea26d7 Merge pull request #1229 from ae-utbm/update-deps
Update dependencies
2025-11-07 19:15:44 +01:00
thomas girod 570836190c Merge pull request #1206 from ae-utbm/club_api_filters
Add club search api filters
2025-11-07 19:00:09 +01:00
thomas girod 163ef21ace Merge pull request #1170 from ae-utbm/trim-galaxy
Include only subscribed users and their direct relations in the galaxy
2025-11-07 18:51:33 +01:00
thomas girod a8f7a8865c Merge pull request #1194 from ae-utbm/update_subscription_price
Update subscription price
2025-11-07 18:51:12 +01:00
imperosol 8cd28fda9c include only subscribed users and their direct relations in the galaxy 2025-11-07 18:47:13 +01:00
imperosol 7665d7efb4 update subscription price 2025-11-07 18:46:41 +01:00
imperosol 722ef67450 deps: update JS dependencies 2025-11-07 16:32:42 +01:00
imperosol f027464d0e apply new ruff rules 2025-11-07 16:24:28 +01:00
imperosol d940e32dac deps: update python dependencies 2025-11-07 16:22:07 +01:00
thomas girod a0015eb65f Merge pull request #1214 from ae-utbm/pinktober
Pinktober
2025-11-07 15:58:49 +01:00
thomas girod 812a761690 Merge pull request #1228 from ae-utbm/news-autoscroll
feat: scroll to news moderation section when clicking notification
2025-11-07 15:58:27 +01:00
imperosol f0b1e8af4a improve tests 2025-11-07 15:58:06 +01:00
Kenneth SOARES 5697b4e9c8 move club api test to test_controller_club.py 2025-11-07 15:58:06 +01:00
Kenneth SOARES 7f504d9ee2 add test cases 2025-11-07 15:58:06 +01:00
Kenneth SOARES 49b0a13dbd fixed imports 2025-11-07 15:58:06 +01:00
Kenneth SOARES edd31d5d56 used 3.10 types 2025-11-07 15:58:06 +01:00
Torrent 3ea2d2aaf2 filter using schema 2025-11-07 15:58:06 +01:00
Torrent 6b27542210 add club search api filters 2025-11-07 15:58:06 +01:00
imperosol e26851beb3 feat: scroll to news moderation section when clicking notification
closes #1202
2025-11-07 15:39:58 +01:00
thomas girod 285bd71371 Merge pull request #1227 from ae-utbm/sales-csv-header
fix: missing sales csv header row
2025-11-07 15:39:42 +01:00
imperosol 9c22e061f5 fix: missing sales csv header row
fix #1205
2025-11-07 14:56:34 +01:00
thomas girod 4fdc13fb1c Merge pull request #1226 from ae-utbm/fix-picture-download-btn
fix: picture download btn
2025-11-07 14:55:47 +01:00
thomas girod 415193972c Merge pull request #1223 from ae-utbm/sale-date-index
Add index on `Selling.date`
2025-11-07 14:55:32 +01:00
thomas girod bf45b95d88 Merge pull request #1224 from ae-utbm/fix-product-picture
fix: product image not saved
2025-11-07 14:55:22 +01:00
imperosol 9a311d8cee fix: pictures download button
fix #1225
2025-11-07 14:30:11 +01:00
imperosol 7209801511 fix: product image not saved
fix #1219
2025-11-07 13:14:13 +01:00
imperosol 742ac504dc optimize db requests on club sales view 2025-11-07 13:08:01 +01:00
imperosol 3b56d2c22b add index on Selling.date
L'index prend ~20% de la taille de la table (la table fait un peu plus de 100%Mo, et l'index un peu plus de 20Mo), mais permet de diviser par 10 les requêtes qui filtrent sur la date des ventes.

Ca concerne notamment les requêtes db faites sur les pages suivantes :

- les appels à facture (~75ms → ~3ms)
- les ventes d'un club (entre 300ms et 450ms → entre 10ms et 15ms)
- le top conso des comptoirs (sur le Foyer, ~90ms → ~9ms)
- les dernières opérations d'un comptoir (sur le Foyer, ~130ms → ~1.5ms

J'aurais bien aimé mettre également un index sur la troncature au mois de la date, mais c'est compliqué à mettre en place étant donné que postgres ne prend des index que sur des expressions immuables et que, comme elle dépend de la timezone (qui peut changer), la fonction date_trunc n'est pas immuable.
2025-11-07 13:08:01 +01:00
thomas girod 9c64dae7fe Merge pull request #1221 from ae-utbm/fix-posters
posters: fix broken moderation view
2025-11-04 12:29:40 +01:00
klmp200 917a2b50cc Fix naming, fix tooltip and cosmetic changes 2025-10-31 21:51:12 +01:00
imperosol 118a08372f simplify poster moderation 2025-10-31 17:16:52 +01:00
klmp200 b8429a510f posters: fix broken moderation view 2025-10-31 12:15:44 +01:00
imperosol 49a9149a90 Revert "pinktober 2025"
This reverts commit 35443c9721cf84a94a89bd082029523dad354824.
2025-10-19 11:31:15 +02:00
imperosol ed12da222f pinktober 2025 2025-10-18 20:57:13 +02:00