imperosol
8819abe27c
Custom 404 for Page
2025-11-11 15:13:44 +01:00
imperosol
30e76a5e39
move page templates to their own folder
2025-11-11 15:13:44 +01:00
imperosol
d50bb0d9b1
remove dead code
2025-11-11 15:13:44 +01:00
imperosol
d0340603a2
add more default user infos on first subscription
2025-11-11 15:07:06 +01:00
imperosol
80dbe7f742
exclude hidden users from ajax search
2025-11-11 14:31:20 +01:00
imperosol
a571bda766
Show groups of Permission in admin
2025-11-11 14:31:20 +01:00
imperosol
04702335e2
rename User.is_subscriber_viewable => User.is_viewable
2025-11-11 14:31:20 +01:00
imperosol
c942ff6aec
don't show hidden users in picture identifications
2025-11-11 14:31:20 +01:00
imperosol
7042cc41f0
remove unused SelectUser
2025-11-11 13:49:33 +01:00
imperosol
53f7bf08d3
remove remaining CanCreateMixin
2025-11-10 00:19:16 +01:00
imperosol
0a3e0fa755
fix: url in news_detail og:image
2025-11-09 23:06:32 +01:00
imperosol
075c6f16ec
make ApiKeyAuth work on non-safe routes
2025-11-09 21:34:26 +01:00
imperosol
2e9e1b6a78
remove deprecated api csrf argument
2025-11-09 21:34:26 +01:00
imperosol
0ba84c4750
docs: update doc
2025-11-09 21:31:45 +01:00
imperosol
530e851bd1
add missing open graph tags
2025-11-09 21:28:16 +01:00
imperosol
61d51a08d2
simplify User.is_in_group
2025-11-09 21:27:18 +01:00
imperosol
ec9bfd3b7e
fix: duplicated message on PermissionGroupsUpdateView
2025-11-09 21:25:44 +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
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
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
imperosol
f0b1e8af4a
improve tests
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
imperosol
9c22e061f5
fix: missing sales csv header row
...
fix #1205
2025-11-07 14:56:34 +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
imperosol
118a08372f
simplify poster moderation
2025-10-31 17:16:52 +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
imperosol
fc615e90b2
fix: notification on invoice call update
2025-10-18 14:35:19 +02:00
imperosol
8bd82c9d7c
Complete invoice call validation feature
2025-10-17 13:44: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
imperosol
40c3276c3c
remove spaces from autocomplete selects
2025-09-29 17:43:50 +02:00
imperosol
543a424258
fix: N+1 on news list for admins
2025-09-29 16:10:50 +02:00
imperosol
8ff25e6034
optimize main page notifications
2025-09-29 08:45:56 +02:00
imperosol
56f09fd739
fix: wrong text on member form submit button
2025-09-27 17:40:18 +02:00
imperosol
24e1ad6dc8
apply review comments
2025-09-27 17:06:43 +02:00
imperosol
2a30f30a31
feat: cache user pictures
2025-09-26 22:44:26 +02:00
imperosol
80545e682b
add hour indicator
2025-09-26 22:32:51 +02:00
imperosol
a7adb4bba3
add translations
2025-09-26 22:32:49 +02:00
imperosol
e75e7e697a
display course type on top left of slots
2025-09-26 22:32:35 +02:00
imperosol
9d99976bee
add timetable to common links
2025-09-26 22:32:35 +02:00
imperosol
4103dce1bb
simplify timetable generator url
2025-09-26 22:32:35 +02:00
imperosol
e82f3649e5
allow export to Png
2025-09-26 22:32:35 +02:00
imperosol
d3444f6bea
timetable base
2025-09-26 22:32:35 +02:00
imperosol
eadf74604c
Split ClubMemberForm into JoinClubForm and ClubAddMemberForm
2025-09-26 18:23:49 +02:00
imperosol
cc58479a19
use new notifications system
2025-09-26 16:00:31 +02:00
imperosol
c03b6e5d9d
add tests
2025-09-26 15:49:36 +02:00
imperosol
66cf2bd957
Better management of roles in ClubMemberForm
2025-09-26 15:49:33 +02:00
imperosol
3e8f3b9275
feat: success message on membership creation
2025-09-26 15:49:24 +02:00
imperosol
c7363de44f
improve new member form style
2025-09-26 15:49:24 +02:00
imperosol
966fe0ec0e
fix: N+1 queries on old club members view
2025-09-26 15:49:24 +02:00
imperosol
fd0af3a804
HTMXify club members page
2025-09-26 15:49:24 +02:00
imperosol
7db66bb8f6
feat: MembershipQuerySet.editable_by method
2025-09-26 15:49:24 +02:00
imperosol
ec80b72a25
clear tom select text when identifying users in SAS
2025-09-25 07:38:44 +02:00
imperosol
acb6c6ce9c
fix: N+1 query on PageListView
2025-09-22 18:14:14 +02:00
imperosol
854dd2d9e7
add disclaimer for subscription purchase with AE account
2025-09-22 13:28:42 +02:00
imperosol
a7c96425c8
fix: ClubSellingView N+1 queries
2025-09-22 13:28:42 +02:00
imperosol
ce2ef78a6d
fix: 500 on page properties edit
2025-09-21 16:01:17 +02:00
imperosol
08b16d6e74
feat: make poster views available to club board members
2025-09-19 17:22:44 +02:00
imperosol
b58da0ea30
fix: dependabot.yml
2025-09-15 12:04:18 +02:00
imperosol
25cd877160
fix: Counter.edit_groups
2025-09-13 11:39:53 +02:00
imperosol
37961e437b
fix: N+1 queries on PageListView
2025-09-04 17:39:17 +02:00
imperosol
b97a1a2e56
improve User.can_view and User.can_edit
2025-09-04 17:38:58 +02:00
imperosol
3ad40b7383
change birthdate only if user didn't have it previously
2025-09-04 11:03:02 +02:00
imperosol
3709b5c221
require birthday when creating subscriptions for users that didn't give it previously
2025-09-04 11:02:59 +02:00
imperosol
171a3f4d92
make some users not having birthday in populate_more.py
2025-09-04 11:02:48 +02:00
imperosol
84e2f1b45a
fix: subscription form alignment
2025-09-04 11:02:48 +02:00
imperosol
cb454935ad
fix: N+1 queries on ICS generation
2025-09-03 14:00:09 +02:00
imperosol
17c50934bb
fix: news notifications
...
Résout trois problèmes :
- la création des notifications faisait un N+1 queries
- le décompte du nombre de nouvelles à modérer était mauvais
- modérer une nouvelle ne modifiait pas les notifications des autres admins
2025-09-03 13:55:07 +02:00
imperosol
5646f22968
feat: add sitemap
2025-09-02 16:00:03 +02:00
imperosol
03759fd83e
fix translations
2025-09-01 18:21:55 +02:00
imperosol
83c96884d8
add missing meta description tags
2025-09-01 18:20:27 +02:00
imperosol
8524996f06
simplify Subscription.save()
2025-09-01 15:30:39 +02:00
imperosol
2086d23b50
fix old subscribers group attribution
...
Si un utilisateur faisait sa première cotisation alors qu'il avait déjà un compte AE (par exemple, en effectuant un achat sur l'eboutic avant sa cotisation), alors il pouvait se retrouver hors du groupe Anciens cotisants.
2025-08-31 20:49:56 +02:00
imperosol
d8f907fc70
Optimize galaxy generation
...
En réorganisant les requêtes à la db, on diminue par 100 le temps d'exécution de la commande `rule_galaxy` (~6h => ~2min)
2025-08-30 19:05:41 +02:00
imperosol
e864e82573
replace deprecated CheckConstraint.check by CheckConstraint.condition
2025-08-28 16:31:54 +02:00
imperosol
a3ac04fc9e
fix TS types
2025-06-30 18:35:53 +02:00
imperosol
6e724a9c74
extract AlertMessage to its own file
2025-06-30 18:17:29 +02:00
imperosol
6cf8910626
fix: xapian compilation flags
2025-06-30 13:09:24 +02:00
imperosol
abf7bf6bfa
rename location_admin to campus_admin
2025-06-25 17:13:24 +02:00