imperosol
2fa3597722
fix display of non field errors
2025-12-18 00:39:08 +01:00
imperosol
a68f16ba9d
add tests
2025-11-30 19:12:37 +01:00
imperosol
1a99f4096e
make matmatronch form more readable
2025-11-30 19:12:37 +01:00
imperosol
559a904e0d
refactor: Matmatronch
2025-11-30 19:11:51 +01:00
imperosol
fca6a58c5e
feat: querystring jinja macro
2025-11-30 16:55:44 +01:00
imperosol
39c3e11d88
extract matmat forms into their own file
2025-11-29 14:48:30 +01:00
imperosol
00acdcd1a5
refactor: remove useless Group methods
2025-11-24 18:15:28 +01:00
imperosol
0d4b77ba1c
take all purchases for global purchase sum
2025-11-24 17:00:28 +01:00
imperosol
5271783e88
refactor: user stats view
2025-11-24 16:49:22 +01:00
imperosol
4ff4d179a1
refactor: format_timedelta template filter
2025-11-24 16:49:15 +01:00
imperosol
f55627a292
refactor: core/views/index.py
2025-11-24 09:25:38 +01:00
imperosol
6709befb1f
fix timezone issues
2025-11-23 01:30:44 +01:00
imperosol
ddfb88ca2a
remove settings.FORM_RENDERER
2025-11-23 01:22:15 +01:00
imperosol
acdb9660f6
deps: bump django-ninja to 1.5.0
2025-11-23 00:48:32 +01:00
imperosol
b60bd3a42b
fix: product scheduled action on product creation
...
cf. issue #1257
2025-11-21 11:13:06 +01:00
imperosol
0c046b6164
translations
2025-11-19 21:03:55 +01:00
imperosol
c588e5117d
make Refilling.payment_method a SmallIntegerField
2025-11-19 21:03:55 +01:00
imperosol
ad87617018
remove Refilling.bank
2025-11-19 21:03:55 +01:00
imperosol
56c2c2b70e
remove Refilling.is_validated
2025-11-19 21:03:55 +01:00
imperosol
78fe4e52ca
make Selling.payment_method a SmallIntegerField
2025-11-19 21:03:55 +01:00
imperosol
2a5893aa79
remove Selling.is_validated
2025-11-19 21:03:55 +01:00
imperosol
3f4a41ba42
refactor detection of the need to merge PageRev
2025-11-19 13:51:38 +01:00
imperosol
32e1f09d46
prevent csrf on MembershipSetOldView
2025-11-16 15:05:10 +01:00
imperosol
f359fab6b4
style: class for <a>-like form submit buttons
2025-11-16 15:04:30 +01:00
imperosol
0b53db7a95
fix: user search for anonymous sessions with logged barmen
...
Quand une session n'était pas connectée en tant qu'utilisateur, mais avait des utilisateurs connectés en tant que barman, la route de recherche des utilisateurs était 401
2025-11-16 13:31:48 +01:00
imperosol
d325b19383
typo in Sha512ApiKeyHasher docstring
2025-11-16 13:30:17 +01:00
imperosol
33cc9588b0
remove unused Mock
2025-11-16 13:12:58 +01:00
imperosol
17421e5cc9
test ClubSellingCSVView
2025-11-12 22:00:18 +01:00
imperosol
e00a64252e
use FilterSchema for club sales.
2025-11-12 22:00:18 +01:00
imperosol
a27d8d0755
Revert "Custom style for Gala 2025"
...
This reverts commit 8cbf42d714 .
2025-11-11 15:16:45 +01:00
imperosol
c0ed5bd393
add diff ratio to the heuristic
2025-11-11 15:13:45 +01:00
imperosol
ede15623df
translations
2025-11-11 15:13:45 +01:00
imperosol
b9aa07646a
reuse last PageRev if same author and short time diff
2025-11-11 15:13:45 +01:00
imperosol
3c79bd4d01
test PageListView
2025-11-11 15:13:44 +01:00
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