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
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
imperosol
02ef8fdb88
fix: enumeration attack vector on login form
2025-06-25 17:03:53 +02:00
imperosol
f38926c4a3
fix: user pictures ordering
2025-06-25 16:25:51 +02:00
imperosol
67884017f8
fix old permanences having end replaced by activity
2025-06-25 01:22:13 +02:00
imperosol
9049d8779c
improve counter admin pages
2025-06-21 15:06:08 +02:00
imperosol
cdfa76ad57
add missing "Respo site" group
2025-06-18 18:01:37 +02:00
imperosol
88b70bf51f
rename main groups to their real production version
2025-06-18 18:01:37 +02:00
imperosol
8cc0b01e9c
fix: api title typo (again)
2025-06-17 21:01:51 +02:00
imperosol
88755358a6
fix: add missing sas permission
2025-06-17 21:00:38 +02:00
imperosol
0c442a8f03
fix: select only active club members on GET /club/{club_id}
2025-06-17 15:35:49 +02:00
imperosol
f1b69dd47d
fix: typo in API name
2025-06-17 15:35:49 +02:00
imperosol
a87460fa3e
fix: documentation CI/CD
2025-06-17 14:45:51 +02:00
imperosol
6fec250658
display album name on picture identification notif
2025-06-16 18:36:08 +02:00
imperosol
75b37cd6e3
fix album grouping on user pictures page
2025-06-16 18:36:08 +02:00
imperosol
efbbfcda76
update js deps
2025-06-16 15:51:11 +02:00
imperosol
9e1fe7a296
update python deps
2025-06-16 15:51:04 +02:00
imperosol
50d7b7e731
Move api urls to api app
2025-06-16 15:00:30 +02:00
imperosol
ae7784a973
rename apikey to api
2025-06-16 14:54:42 +02:00
imperosol
a23604383b
doc: incompatibility between api keys and csrf
2025-06-16 13:44:43 +02:00
imperosol
80866086a8
Forbid authentication with revoked keys
2025-06-16 13:44:43 +02:00
imperosol
2c7eb99f31
use 54 bytes keys and sha512 hashing
2025-06-16 13:44:43 +02:00
imperosol
189081f5a8
api key doc for developers
2025-06-16 13:44:43 +02:00
imperosol
52e53da9ef
adapt CanAccessLookup to api key auth
2025-06-16 13:44:43 +02:00
imperosol
b5d65133f3
add doc for external API consumers
2025-06-16 13:44:43 +02:00
imperosol
44e1902693
Add GET /api/club/{club_id} to fetch details about a club
2025-06-16 13:44:43 +02:00
imperosol
1d55a5c2da
Make HasPerm work with ApiKeyAuth
2025-06-16 13:44:43 +02:00
imperosol
853aa34c18
adapt pedagogy api to api key auth
2025-06-16 13:44:43 +02:00
imperosol
dc72789c14
feat: basic api key management
2025-06-16 13:44:41 +02:00
imperosol
c7e4de7df2
fix: datetime format in main page news list
2025-06-14 11:54:58 +02:00
imperosol
dcc84894e5
fix: bad role title alignment in election.scss
2025-06-14 10:43:02 +02:00
imperosol
c62c09f603
fix: counter selection queryset performance on SellingForm
2025-06-12 14:35:39 +02:00
imperosol
c07f0c33cb
fix permanent notification callback
2025-06-11 17:38:21 +02:00
imperosol
ee3646594b
fix promo logo older than promo 10
2025-06-05 16:31:36 +02:00
imperosol
b0d9063153
remove remaining laundry code
2025-06-04 12:53:22 +02:00
imperosol
3b90bd54fc
Revert "bump python to 3.13"
...
This reverts commit f0fa27a8b5 .
2025-06-03 10:37:04 +02:00
imperosol
f0fa27a8b5
bump python to 3.13
2025-05-26 12:56:35 +02:00
imperosol
6d16e35624
update dependencies
2025-05-26 12:35:24 +02:00
Thomas Girod
54be8addeb
remove laundry
2025-05-26 09:10:35 +02:00
imperosol
9256aff944
redirect /user/me/*
2025-05-26 08:48:18 +02:00
imperosol
7c989cd749
filter selectable counters in ClubSellingView
2025-05-24 10:25:55 +02:00
imperosol
ff1f1040b6
simplify User.cached_groups
2025-05-22 10:43:49 +02:00
imperosol
fa90477de5
hide cash register views to barmen
2025-05-22 10:06:22 +02:00
imperosol
1a81911cd6
adapt celery to honcho setup
2025-05-07 11:49:38 +02:00
imperosol
934d17d9d2
celery
2025-04-28 12:15:38 +02:00
imperosol
f647feb8c8
use .env for project configuration
2025-04-28 12:15:38 +02:00
imperosol
e9c956e08c
fix sas album creation rights
2025-04-19 17:05:15 +02:00
imperosol
ccd4275b02
fix 500 on SAS main page for anonymous users
2025-04-17 09:00:22 +02:00
Thomas Girod
6b55b981ca
new promo 24 logo
2025-04-14 11:02:41 +02:00
Thomas Girod
05756520a3
remove remaining accounting code
2025-04-13 14:14:26 +02:00
Thomas Girod
2658244671
fix album ordering on SAS
2025-04-12 18:09:39 +02:00
Thomas Girod
ff220e67c1
use new django.url.reverse query kwarg
2025-04-11 14:54:06 +02:00
Thomas Girod
805ffc498f
response.content.decode() => response.text
2025-04-11 14:54:06 +02:00
Thomas Girod
ad4afce67f
fix club members tests
2025-04-11 14:54:06 +02:00
Thomas Girod
f4276d6be5
fix account creation view tests
2025-04-11 14:54:06 +02:00
Thomas Girod
64085ac2a4
bump django to 5.2
2025-04-11 14:54:06 +02:00
Thomas Girod
f301365ebb
update dependencies
2025-04-11 14:54:06 +02:00
Thomas Girod
2c7b94547c
improve upload error display
2025-04-09 12:33:40 +02:00
Thomas Girod
376af35bfb
Check that uploaded images are actually images
2025-04-08 17:21:30 +02:00
imperosol
13f417ba30
Use Alpine and the API for SAS picture upload
2025-04-08 15:59:30 +02:00
imperosol
b83fbf91e1
extract album creation form into its own fragment
2025-04-08 15:59:30 +02:00
imperosol
156305a16a
add api endpoint to upload a sas picture
2025-04-08 15:59:30 +02:00
Thomas Girod
d98718f7ba
fix makecommand jinja indentation
2025-04-06 22:29:43 +02:00
Thomas Girod
d03c425a17
refactor eboutic command page
2025-04-06 22:29:39 +02:00
Thomas Girod
e35c1d1928
move eboutic/makecommand.js to bundled directory
2025-04-06 22:29:26 +02:00
Thomas Girod
77537a84c2
remove external calendar
2025-04-06 17:14:39 +02:00
Thomas Girod
65c06dda8b
partnership eurockéennes 2025
2025-04-06 17:01:00 +02:00
Thomas Girod
7623474124
add fragments documentation
2025-04-06 14:36:00 +02:00
imperosol
6a5da0302d
add FragmentMixin and UseFragmentsMixin classes
2025-04-06 14:34:22 +02:00
Thomas Girod
9e0cb7647b
fix counter stats page access
2025-04-06 14:18:20 +02:00
Thomas Girod
fe5c685204
fix displayed user tabs
2025-04-06 14:17:12 +02:00
Thomas Girod
b0e24350e2
fix com admin pages
2025-04-06 14:17:12 +02:00
Thomas Girod
a6e23b0b4c
fix doc deployment (v2)
2025-04-04 15:05:08 +02:00
Thomas Girod
e4264d400a
fix doc deployment
2025-04-04 14:46:38 +02:00
Thomas Girod
89efda6e26
fix club detail on ClubView
2025-04-04 14:27:07 +02:00
Thomas Girod
056b3a1702
split club/tests.py
2025-04-04 14:27:07 +02:00
Thomas Girod
b8a40027b8
remove data migration in migration 0030 of counter
2025-04-04 11:00:31 +02:00
Thomas Girod
c527e87fd1
fix club edition page
2025-04-04 11:00:31 +02:00
imperosol
24f6a2b1cc
remove unused translations
2025-04-04 10:35:47 +02:00
imperosol
cdd32c9a82
remove accounting models
2025-04-04 10:35:17 +02:00
imperosol
a6ac10e60c
clean populate.py
2025-04-04 10:35:17 +02:00
imperosol
26d4c4b811
move accound refound view to counter
2025-04-04 10:35:17 +02:00
imperosol
002554b802
move CurrencyField to counter
2025-04-04 10:35:17 +02:00
imperosol
6dfd4e16e2
remove accounting views
2025-04-04 10:27:51 +02:00
imperosol
eee78008b1
add pages to manage returnable products
2025-04-04 09:33:02 +02:00
imperosol
e7bb08448c
feat: generic returnable products
2025-04-04 09:29:54 +02:00
imperosol
9a691b5b0a
Revert "April fool day"
...
This reverts commit 6e0e633660 .
2025-04-01 12:01:20 +02:00
imperosol
6e0e633660
April fool day
...
Définitivement une des blagues de tous les temps
2025-04-01 12:01:17 +02:00
imperosol
812e0f5f4c
remove galaxy from production
2025-03-28 18:34:16 +01:00
imperosol
3d3c6adfa5
test club edit view
2025-03-28 17:42:56 +01:00
imperosol
b14b498eb1
fix generate_galaxy_test_data
2025-03-28 17:42:56 +01:00
imperosol
fb4909fc36
merge ClubEditView and ClubEditPropView
2025-03-28 17:42:56 +01:00
imperosol
805b146f17
change Club.unix_name to Club.slug_name and remove it from forms
2025-03-28 17:42:53 +01:00