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
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
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
thomas girod
459edc1b6e
Merge pull request #1212 from ae-utbm/fix-notification-invoice
...
fix: notification on invoice call update
2025-10-18 15:05:38 +02:00
a760a0b75d
Merge pull request #1191 from ae-utbm/notifications
...
Add macro to refresh messages from htmx swap
2025-10-18 14:39:30 +02:00
imperosol
fc615e90b2
fix: notification on invoice call update
2025-10-18 14:35:19 +02:00
76eebaf54e
Rename notification plugin import on alpine-index
2025-10-18 14:35:08 +02:00
thomas girod
9407f4b341
Merge pull request #1104 from ae-utbm/invoice_calls_validation
...
Invoice calls validation checkbox
2025-10-18 14:21:46 +02:00
imperosol
8bd82c9d7c
Complete invoice call validation feature
2025-10-17 13:44:03 +02:00
Kenneth SOARES
957441ceb1
fix checkbox width
2025-10-17 13:40:06 +02:00
Kenneth SOARES
3bcd417ad0
Basic implementation of invoice call validation
2025-10-17 13:40:05 +02:00
thomas girod
453e13d54b
Merge pull request #1174 from ae-utbm/auto-archive
...
Automatic product actions
2025-10-16 09:16:50 +02:00
thomas girod
dbd86b66cc
Merge pull request #1178 from ae-utbm/cache-photos
...
Cache user photos
2025-10-12 14:04:30 +02:00
thomas girod
dcf799b352
Merge pull request #1197 from ae-utbm/fix-permission
...
fix: permission in ClubAddMemberForm
2025-10-12 14:04:03 +02:00
imperosol
d815f7da97
fix: permission in ClubAddMemberForm
2025-10-10 21:20:04 +02:00
imperosol
dac52db434
forbid past dates for product actions
2025-10-10 20:50:50 +02:00
imperosol
f398c9901c
fix: 500 on product create view
2025-10-10 20:42:36 +02:00
imperosol
5b91fe2145
use ModelFormSet instead of FormSet for scheduled actions
2025-10-10 20:40:44 +02:00
imperosol
abd905c24d
write tests
2025-10-10 20:40:44 +02:00
imperosol
42b53a39f3
feat: automatic product counters edition
2025-10-10 20:40:44 +02:00
imperosol
5306001f6f
ScheduledProductAction model to store tasks related to products
2025-10-10 20:40:44 +02:00
imperosol
83a4ac2a7e
feat: automatic product archiving
2025-10-10 20:40:44 +02:00
thomas girod
30fd4f6926
Merge pull request #1054 from ae-utbm/edt
...
Embed the timetable generator in the sith
2025-10-10 20:39:43 +02:00