Commit Graph
100 Commits
Author SHA1 Message Date
imperosol 14ed43aaa5 fix office counter click access 2025-01-23 13:32:13 +01:00
imperosol 20a535429c pedagogy api permissions 2025-01-17 17:31:22 +01:00
imperosol 5ff7bb3259 Add has_perm api permission 2025-01-17 17:31:08 +01:00
imperosol 0d95c3b9c9 Improve pedagogy permissions 2025-01-17 09:42:16 +01:00
imperosol 71b096f9ef Apply review comment 2025-01-14 17:17:31 +01:00
imperosol 9272f53bea fix doc display 2025-01-14 17:14:59 +01:00
imperosol 9b5f08e13c Improve permission documentation 2025-01-13 18:20:29 +01:00
imperosol d0b1a49300 deprecate CanCreateMixin
Les motifs de cette déprécation sont indiqués dans la documentation.
Le mixin a été remplacé par `PermissionRequiredMixin` dans les endroits où ce remplacement était aisé.
2025-01-13 18:20:29 +01:00
imperosol e500cf92ee Remove SubscriberMixin 2025-01-13 15:57:01 +01:00
imperosol 551091f650 add PermissionOrAuthorRequiredMixin 2025-01-13 15:45:58 +01:00
imperosol 0c01ad1770 Move core auth mixins to their own file 2025-01-13 15:45:55 +01:00
imperosol cba915c34d Move core views mixins to their own file 2025-01-13 15:45:27 +01:00
imperosol 7ac41ac5cb remove UserIsRootMixin 2025-01-13 15:45:23 +01:00
imperosol c6bb509fc3 remove call to deprecated imghdr module 2025-01-12 15:00:17 +01:00
imperosol 9f35f5356b fix NewsQuerySet.viewable_by 2025-01-10 22:08:28 +01:00
imperosol 8d73ec797b remove unwanted translation
Django ne traduit pas ses permissions. Si on traduit les nôtres, ça devient inconsistant
2025-01-10 22:08:28 +01:00
imperosol c3fc8538cc rework news form 2025-01-10 22:08:24 +01:00
imperosol 600657b1a8 get_end_of_semester util function 2025-01-10 22:08:10 +01:00
imperosol d3f21c8f16 remove news event type 2025-01-10 22:08:10 +01:00
imperosol 895d51586e put com forms in their own file 2025-01-10 22:08:10 +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 8b8a295e16 fix ban page access 2025-01-10 01:29:24 +01:00
imperosol e7215be00e translations 2025-01-05 15:49:30 +01:00
imperosol 4f35cc00bc Add UserBan management views 2025-01-05 15:49:08 +01:00
imperosol af47587116 Split groups and ban groups 2025-01-05 15:49:08 +01:00
imperosol 348ab19ac6 small form fixes
le `display:block` avait disparu des helptext, ce qui rendait leur affichage bizarre. Et il manquait quelques détails sur le `ProductForm`
2025-01-05 15:40:41 +01:00
imperosol 785ac9bdab pin poetry version 2025-01-05 14:48:40 +01:00
imperosol f0be4b270b remove line numbers from locale files 2025-01-04 22:03:37 +01:00
imperosol 849fac490d fix get_or_create in club group migration 2025-01-04 18:49:00 +01:00
imperosol 6eb860579a split migrations 2025-01-04 18:05:02 +01:00
imperosol bb210f8d47 change club group names when the club name changes 2025-01-04 16:43:38 +01:00
imperosol efca10e252 remove Club.view_groups, Club.edit_groups and Club.owner_group 2025-01-03 17:30:24 +01:00
imperosol b8f851b009 translations 2025-01-03 01:18:28 +01:00
imperosol 1e29ae4171 fixes on club group attribution 2025-01-03 01:18:28 +01:00
imperosol 0ae1e850f4 improve admin 2025-01-03 01:18:28 +01:00
imperosol d380668c0f Move users to the club groups in the migration 2025-01-03 01:18:28 +01:00
imperosol 9a72c5eb72 fix galaxy tests 2025-01-03 01:18:28 +01:00
imperosol 407cfbe02b update docs 2025-01-03 01:18:28 +01:00
imperosol 6400b2c2c2 replace MetaGroups by proper group management 2025-01-03 01:18:28 +01:00
imperosol 0d3fd954a3 make ajax select appearance consistant with other inputs 2024-12-29 18:16:52 +01:00
imperosol d200c1e381 fix 500 error when accessing history of non-existing page 2024-12-28 13:25:42 +01:00
imperosol 761e37ade6 fix product fetch 2024-12-26 17:26:06 +01:00
imperosol 72c2981d66 rework form style 2024-12-23 15:11:15 +01:00
imperosol da400155eb fix SithModelBackend._get_group_permissions 2024-12-22 15:01:58 +01:00
imperosol fa66851889 fix n+1 queries on birthdays 2024-12-21 21:09:08 +01:00
imperosol ab81f11199 Manage subscribers group permissions 2024-12-21 18:52:16 +01:00
imperosol bea7741d35 populate group permissions 2024-12-21 18:48:30 +01:00
imperosol 81e163812e custom auth backend 2024-12-21 17:34:20 +01:00
imperosol accf1befce Make products filterable by product type 2024-12-21 02:15:51 +01:00
imperosol 6953eaa9d0 fix sanitization of the csv content 2024-12-21 02:14:38 +01:00
imperosol 180bae59c8 Add translations 2024-12-21 02:14:38 +01:00
imperosol 9cafc163e8 fix frontend archived products filter 2024-12-21 02:14:38 +01:00
imperosol 8f8eef4107 display products as cards 2024-12-21 02:14:38 +01:00
imperosol 7af745087e create a card css component 2024-12-21 02:14:38 +01:00
imperosol aab093200b slightly improve style 2024-12-21 02:14:38 +01:00
imperosol 1a9556f811 add a button to download products as csv 2024-12-21 02:14:38 +01:00
imperosol 39b36aa509 ajaxify the product admin page 2024-12-21 02:14:38 +01:00
imperosol 3fc260a12c add csv converter 2024-12-21 02:14:38 +01:00
imperosol 1696a2f579 Add NestedKeyOf Type 2024-12-21 02:14:38 +01:00
imperosol 9f3a10ca71 fix user groups form 2024-12-20 11:00:57 +01:00
imperosol a7b1406e06 post-rebase fix 2024-12-19 10:53:11 +01:00
imperosol 871ef60cf6 remove obsolete RunPython operations 2024-12-19 10:39:07 +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 6ca641ab7f fix: N+1 queries on page version list page 2024-12-19 10:32:02 +01:00
imperosol 17e4c63737 refactor news model and creation form 2024-12-18 15:54:10 +01:00
imperosol 5da27bb266 rename producttype to product_type 2024-12-18 14:48:59 +01:00
imperosol be6a077c8e fix access to the subscription page 2024-12-18 14:13:39 +01:00
imperosol 8d643fc6b4 Apply review comments 2024-12-17 17:23:13 +01:00
imperosol 47876e3971 Make product types dynamically orderable. 2024-12-17 13:35:29 +01:00
imperosol c79c251ba7 Add ProductTypeController 2024-12-17 13:35:29 +01:00
imperosol 483670e798 Make ProductType an OrderedModel 2024-12-17 13:35:29 +01:00
imperosol 6c8a6008d5 api route to search products with detailed infos. 2024-12-17 12:38:59 +01:00
imperosol e680124d7b fix makemessages command in docs 2024-12-17 12:38:59 +01:00
imperosol b06a06f50c feat: add restore on backspace plugin for tom select 2024-12-17 12:38:59 +01:00
imperosolandklmp200 466fe58763 feat: make student card unique per user 2024-12-15 16:49:24 +01:00
imperosolandklmp200 3b7e338808 fix 500 when accessing preferences
Quand on tente d'accéder aux préférences d'un utilisateur relié à un trombi, sans être soi-même dans un trombi, on a une erreur.
2024-12-15 16:49:24 +01:00
imperosol c51e5eb6cb remove parent_product column in the Product table 2024-12-09 12:59:33 +01:00
imperosol f0bc502ec9 fix translation in subscription creation success fragment 2024-12-09 12:31:58 +01:00
imperosol e2a34c75ea deps: update dependencies 2024-12-08 11:54:58 +01:00
imperosol 9acb421b2e deps: update ruff 2024-12-08 11:17:27 +01:00
imperosol 10dde3f002 fix imports 2024-12-07 00:18:17 +01:00
imperosol c2d6af12ab Merge branches 'split-home' and 'split-studentcard' into split-counter 2024-12-07 00:13:50 +01:00
imperosol 6e48f88c06 extract counter auth views 2024-12-07 00:12:10 +01:00
imperosol 7a91a71565 extract counter auth views 2024-12-07 00:11:18 +01:00
imperosol c4764110d8 extract counter home views 2024-12-07 00:10:46 +01:00
imperosol ff68e65250 extract counter home views 2024-12-07 00:07:37 +01:00
imperosol c9d83e5916 extract student card views 2024-12-07 00:06:33 +01:00
imperosol 5dc99dbfcb extract student card views 2024-12-07 00:05:45 +01:00
imperosol 84d7e40e66 feat: client-side cache for ajax-select inputs 2024-12-06 18:38:30 +01:00
imperosol 0b509f2200 fix N+1 queries on user search 2024-12-06 18:38:30 +01:00
imperosol 007e17fd8b Fix the account dump command.
- a missing `fail_silently` flag made the whole command fail if an invalid recipient is used (like closed utbm mail address)
- Not specifying the seller make the account detail pages crash.
2024-12-05 12:50:40 +01:00
imperosol 9667c79162 remove htmx-ext-response-targets 2024-12-03 19:41:10 +01:00
imperosol 1c79c25262 better tab style 2024-12-03 19:41:09 +01:00
imperosol 04b4b34bfe add back user profiles on subscription form 2024-12-03 19:41:09 +01:00
imperosol fc0e689d4e add initial values to forms 2024-12-03 19:41:09 +01:00
imperosol 83bb4b3b12 add translation 2024-12-03 19:41:09 +01:00
imperosol 8dcfc604a0 write tests 2024-12-03 19:41:09 +01:00
imperosol d2d639e5f6 Split SubscriptionForm into SubscriptionNewUserForm and SubscriptionExistingUserForm 2024-12-03 19:41:09 +01:00