Commit Graph
100 Commits
Author SHA1 Message Date
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
imperosol 10f42b1522 fix imports 2024-11-27 19:03:34 +01:00
imperosol 76e9f3b1dc Merge branches 'split-cash', 'split-click', 'split-main', 'split-admin', 'split-mixins', 'split-eticket' and 'split-invoices' into split-clean 2024-11-27 18:49:40 +01:00
imperosol d0ff9bc16c extract mixins views 2024-11-27 18:48:06 +01:00
imperosol 5e4ebd16f9 extract mixins views 2024-11-27 18:47:55 +01:00
imperosol d2b19424ff extract eticket views 2024-11-27 18:47:18 +01:00
imperosol 08286254cd extract eticket views 2024-11-27 18:47:03 +01:00
imperosol 4805c39b45 extract cash views 2024-11-27 18:46:24 +01:00
imperosol f845bbf20a extract cash views 2024-11-27 18:45:27 +01:00
imperosol 71c7158124 extract invoice views 2024-11-27 18:43:26 +01:00
imperosol c4643ee52c extract invoice views 2024-11-27 18:42:50 +01:00
imperosol b46b0882f3 extract admin views 2024-11-27 18:42:26 +01:00
imperosol 1c4efc9431 extract admin views 2024-11-27 18:41:47 +01:00
imperosol 4133e0ccdd extract click views 2024-11-27 18:41:12 +01:00
imperosol de415e7e75 split click views 2024-11-27 18:40:38 +01:00
imperosol 9d17524f45 extract main views 2024-11-27 18:00:48 +01:00
imperosol 68ad9650af extract main views 2024-11-27 17:56:44 +01:00
imperosol 8d4d8a3abc create views package 2024-11-27 17:07:08 +01:00
imperosol 9617e29ed5 delete stock application 2024-11-26 17:35:10 +01:00
imperosol 75406f7b58 Tabs jinja component 2024-11-26 16:17:44 +01:00
imperosol 70f5ae4f9c Move subscription forms to subscription/forms.py 2024-11-26 16:17:44 +01:00
imperosol 6853ec0b69 make random password generation safe 2024-11-19 13:21:08 +01:00
imperosol 3b39049c20 Make User.generate_username less stupid 2024-11-19 13:07:59 +01:00
imperosol ee9f36d883 implement the dump_accounts command 2024-11-19 00:48:35 +01:00
imperosol e712f9fdb8 improve counter dump admin 2024-11-19 00:43:17 +01:00
imperosol c7adde62eb reset poetry cache in github CI 2024-11-13 23:50:43 +01:00
imperosol 34559dda08 migrate eboutic to typescript 2024-11-13 23:26:05 +01:00
imperosolandBartuccio Antoine c7a8a1a91c refactor CI 2024-11-11 13:28:44 +01:00
imperosolandBartuccio Antoine a97dba18c2 Reduce width of non-multiple ajax selects 2024-11-11 00:26:16 +01:00
imperosolandBartuccio Antoine 26770de40e Make selected option more visible 2024-11-11 00:26:16 +01:00
imperosolandBartuccio Antoine 583d4ddfb8 Use less requests in GetUserForm.clean 2024-11-11 00:26:16 +01:00
imperosolandBartuccio Antoine 486047b929 remove the honeypot from the login page
Des utilisateurs humains se font régulièrement "éclairer" par le honeypot. Les mesures anti-bot ne devraient pas bloquer des humains.
2024-11-11 00:22:07 +01:00
imperosol b65ec6463b fix picture display in profile page 2024-11-10 16:18:56 +01:00
imperosol c2efc969d0 refactor populate.py 2024-11-10 02:59:43 +01:00
imperosol b091fee035 custom queryset method to bulk update customer balance 2024-11-10 02:59:43 +01:00
imperosol 662b4b5c53 precise that dumped users can still subscribe 2024-10-20 12:45:37 +02:00
imperosol 9675b6372c add flags to the dump warning mail command 2024-10-20 12:32:28 +02:00
imperosol 03afd49115 make the mail text only 2024-10-20 12:32:28 +02:00
imperosol db6a871854 optimize product pages again 2024-10-20 00:27:25 +02:00
imperosol 5d16ba135a fix: xss on select2 results 2024-10-17 08:15:34 +02:00
imperosol 19cd51043a feat: display moderation requests to moderators 2024-10-14 00:47:07 +02:00
imperosol 5348a451e9 feat: picture moderation requests 2024-10-14 00:45:52 +02:00
imperosol 83ae21140d move SAS forms to their own file 2024-10-14 00:45:52 +02:00
imperosol 15ae24f0bd optimize: product list views 2024-10-13 12:32:50 +02:00
imperosol e4845b580b fix: invoices month grouping 2024-10-13 11:47:22 +02:00