imperosol
19f0f23a05
use DatetimeField to store cgu approval
...
Au lieu de dire si l'utilisateur a approuvé les CGUs ou non, on dit quand est-ce qu'il les a approuvées. Si la date de la dernière approbation est antérieure à la date de la dernière révision des CGUs, alors on demande à nouveau de les approuver.
2026-09-25 15:43:36 +02:00
imperosol
b607c86ab7
make CGU a Page instead of a File
2026-09-25 12:11:04 +02:00
imperosol
4e3ed3212e
force CGU/EULA approval on account creation
2026-09-24 23:10:40 +02:00
imperosol
060dde78e7
add update date to SithFile model
2026-05-01 19:18:38 +02:00
imperosol
d36d672d0b
actually fix bug where you can't select /SAS as a parent album
2026-04-22 00:07:39 +02:00
klmp200
8b18999514
Fix hidden user can't search itself
2026-04-20 20:17:39 +02:00
imperosol
2a8e810ad0
always show the show_my_stats input
2026-03-23 23:03:53 +01:00
imperosol
3d7f57b8da
feat: whitelist for user visibility
2026-03-23 23:03:53 +01:00
imperosol
30663d87a4
directly work on group ids
2026-03-09 19:36:15 +01:00
imperosol
52759764a1
feat: User.all_groups
2026-03-09 16:04:19 +01:00
imperosol
00acdcd1a5
refactor: remove useless Group methods
2025-11-24 18:15:28 +01:00
imperosol
3f4a41ba42
refactor detection of the need to merge PageRev
2025-11-19 13:51:38 +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
04702335e2
rename User.is_subscriber_viewable => User.is_viewable
2025-11-11 14:31:20 +01:00
thomas girod
2984e14746
Merge pull request #1237 from ae-utbm/remove-repair-fs
...
remove `SithFile._check_fs` and `SithFile.repair_fs`
2025-11-09 21:40:32 +01:00
imperosol
61d51a08d2
simplify User.is_in_group
2025-11-09 21:27:18 +01:00
imperosol
282c4b8f26
remove SithFile._check_fs and SithFile.repair_fs
2025-11-09 17:00:44 +01:00
imperosol
f027464d0e
apply new ruff rules
2025-11-07 16:24:28 +01:00
imperosol
d3444f6bea
timetable base
2025-09-26 22:32:35 +02:00
imperosol
acb6c6ce9c
fix: N+1 query on PageListView
2025-09-22 18:14:14 +02:00
imperosol
ce2ef78a6d
fix: 500 on page properties edit
2025-09-21 16:01:17 +02:00
imperosol
b97a1a2e56
improve User.can_view and User.can_edit
2025-09-04 17:38:58 +02:00
imperosol
e864e82573
replace deprecated CheckConstraint.check by CheckConstraint.condition
2025-08-28 16:31:54 +02:00
imperosol
6fec250658
display album name on picture identification notif
2025-06-16 18:36:08 +02:00
imperosol
52e53da9ef
adapt CanAccessLookup to api key auth
2025-06-16 13:44:43 +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
Thomas Girod
54be8addeb
remove laundry
2025-05-26 09:10:35 +02:00
imperosol
ff1f1040b6
simplify User.cached_groups
2025-05-22 10:43:49 +02:00
klmp200
6128b6564c
Ensure quickupload image field uniqueness
2025-04-10 11:38:33 +02:00
klmp200
0f961c71e0
Auto delete image files when object has been deleted
2025-04-10 11:22:47 +02:00
klmp200
3e61560875
Use group permissions
2025-04-10 01:01:40 +02:00
klmp200
744223b76f
Auto rescale quick upload image sizes
2025-04-09 22:50:51 +02:00
klmp200
67bc49fb21
Serve upload files directly from nginx
2025-04-09 20:55:24 +02:00
klmp200
c236092c4f
Create dedicated image upload model
2025-04-09 20:53:23 +02:00
imperosol
805b146f17
change Club.unix_name to Club.slug_name and remove it from forms
2025-03-28 17:42:53 +01:00
imperosol
e1eb634c62
Make SAS pictures visible for their owner
2025-03-24 15:38:00 +01:00
imperosol
bba5339407
apply ruff rule DJ012
2025-03-09 15:05:10 +01:00
imperosol
294b59b4d6
use django auth for subscription creation page
2025-02-13 13:36:46 +01:00
imperosol
c6bb509fc3
remove call to deprecated imghdr module
2025-01-12 15:00:17 +01:00
imperosol
a8810816f0
Give the public group to newly created users
2025-01-10 02:23:07 +01:00
imperosol
b7bf3fd375
Give the old_subscribers group when subscribing
2025-01-10 02:12:17 +01:00
imperosol
af47587116
Split groups and ban groups
2025-01-05 15:49:08 +01:00
imperosol
6400b2c2c2
replace MetaGroups by proper group management
2025-01-03 01:18:28 +01:00
klmp200
eed434aeb2
Improve age management for getting products and make get_product a part of counter model
2024-12-22 12:27:58 +01:00
imperosol
7e9071a533
optimize User.is_subscribed and User.was_subscribed
2024-12-19 10:39:07 +01:00
imperosol
8c660e9856
Make core.User inherit from AbstractUser instead of AbstractBaseUser
2024-12-19 10:39:04 +01:00
imperosol
be6a077c8e
fix access to the subscription page
2024-12-18 14:13:39 +01:00
imperosol
d2d639e5f6
Split SubscriptionForm into SubscriptionNewUserForm and SubscriptionExistingUserForm
2024-12-03 19:41:09 +01:00