imperosol
627f0ae08d
doc: third-party auth
2025-11-09 15:33:00 +01:00
imperosol
c826f227ef
translation: third-party authentication
2025-11-09 15:32:58 +01:00
imperosol
4ce307074c
write tests
2025-11-09 15:32:48 +01:00
imperosol
246fb74cee
third-party authentication views
2025-11-09 15:32:48 +01:00
imperosol
1194f383a7
add CGU/EULA to populate command
2025-11-09 15:32:48 +01:00
imperosol
6cab1f506e
test populate_more command
2025-11-09 15:32:48 +01:00
imperosol
a46cf2e592
hmac_hexdigest util function
2025-11-09 15:32:48 +01:00
imperosol
5f02319156
compact notifications jinja
...
C'est pas la branche la plus appropriée, mais ça gène mon debug de devoir scroller plus longtemps dans l'html des réponses à cause de la place que prennent les notifs.
2025-11-09 15:32:47 +01:00
imperosol
114f6e4386
add hmac_key to ApiClient
2025-11-09 15:32:47 +01:00
imperosol
da67ef5fec
move ResultConverter to core app
2025-11-09 15:32:47 +01:00
imperosol
2a79bf4978
feat: api route to get api client infos
2025-11-09 15:32:47 +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
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