Commit Graph
100 Commits
Author SHA1 Message Date
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
imperosol f764ce1585 remove ClubStatView 2025-03-28 17:40:52 +01:00
imperosol e1eb634c62 Make SAS pictures visible for their owner 2025-03-24 15:38:00 +01:00
imperosol 93d11bb439 refactor RefoundAccountView permission checking 2025-03-13 18:50:19 +01:00
imperosol 99e1318071 increase max pagination size from 199 to 200 2025-03-13 18:50:16 +01:00
imperosol d16237d015 make PageCreateView a PermissionRequiredMixin 2025-03-13 18:49:42 +01:00
imperosol 8a38ebb09d skip useless checks when creating a subscription for a new member 2025-03-13 18:49:42 +01:00
imperosol 7f2ee24cb9 deps: add BeautifulSoup as test dependency 2025-03-13 18:49:42 +01:00
imperosol 9ac8728d30 fix deprecated ninja_extra context import 2025-03-13 18:49:42 +01:00
imperosol 4b0cd04355 add missing ordering 2025-03-13 18:49:42 +01:00
imperosol 5c5755d4a6 make logout a POST operation 2025-03-13 18:49:42 +01:00
imperosol 04c7df8ac8 fix typescript types 2025-03-12 17:37:37 +01:00
imperosol 0f6cda377c Fix paginated TS interfaces 2025-03-12 17:35:22 +01:00
imperosol 60db7e2516 ajaxify album loading in the SAS 2025-03-12 17:35:22 +01:00
imperosol 218aab1af3 api to fetch albums 2025-03-12 17:35:22 +01:00
imperosol 650227b6e2 typescriptify album-index.js 2025-03-12 17:35:22 +01:00
imperosol 7c3186da79 apply ruff rule A005 2025-03-10 10:33:05 +01:00
imperosol bba5339407 apply ruff rule DJ012 2025-03-09 15:05:10 +01:00
imperosol d10393ea37 update dependencies 2025-03-09 15:04:53 +01:00
imperosolandklmp200 87f790a044 Don't minify statics in debug mode 2025-03-04 12:00:00 +01:00
imperosol 6af03240a1 fix Selling.__str__ 2025-02-25 12:59:49 +01:00
imperosol 01c92feb40 fix warning message display on subsequently loaded news 2025-02-25 11:53:02 +01:00
imperosol 94d2c5660a move hybrid translation to full front translation 2025-02-25 11:10:05 +01:00
imperosol 71b3588577 Add a "see more" button on news dates list 2025-02-25 08:56:45 +01:00
imperosol 2def57d82c Close alerts related to a moderated event 2025-02-25 08:55:35 +01:00
imperosol 0e88260c31 fix news dates timestamp in populate.py 2025-02-25 08:55:35 +01:00
imperosol 86c2ea7fd9 API route to fetch news dates 2025-02-25 08:55:35 +01:00
imperosol fc3b82c35c Make upcoming nws scrollable on y-overflow 2025-02-25 08:55:35 +01:00
imperosol 1d177412c3 change upcoming news selection on main page 2025-02-25 08:55:35 +01:00
imperosol 9c0d89de83 Give the student role when creating a new user subscription 2025-02-24 07:13:19 +01:00
imperosol 809febc353 add club and counter filters on product list page 2025-02-24 06:34:38 +01:00
imperosol 9945993f0b simplify .env.example
La plupart des variables du `.env.example` n'ont pas besoin d'être modifiées régulièrement et ont déjà des valeurs par défaut dans le `settings.py` qui sont adaptées à un environnement local.
En gardant uniquement les variables qui seront régulièrement modifiées, on rend le fichier plus compréhensible et plus simple à maintenir.
2025-02-17 11:33:15 +01:00
imperosol 59e90ec754 add CSRF_TRUSTED_ORIGINS to settings 2025-02-16 12:47:46 +01:00
imperosol 41bff53853 use .env for project configuration 2025-02-16 12:47:38 +01:00
imperosol b43b531c3b Add a disclaimer when moderating weekly news 2025-02-15 14:06:01 +01:00
imperosol bf388e68f0 remove Alpine import in moderation-alert-index.ts 2025-02-15 14:04:57 +01:00
imperosol 5252d450a9 remove alpine instructions for moderated news 2025-02-15 14:04:57 +01:00
imperosol 8f17c3d830 Set the moderator when moderating news 2025-02-15 14:04:57 +01:00
imperosol 6627ea417c News moderation buttons directly on the home page 2025-02-15 14:04:43 +01:00
imperosol 92b2befd55 Improve news list display 2025-02-15 14:04:32 +01:00
imperosol 43207455b8 API to moderate and delete news 2025-02-15 14:04:32 +01:00
imperosol 5fa431e29b Visually differentiate closed UVs from the others 2025-02-15 13:51:51 +01:00
imperosol 78f3caa455 management command to update the whole uv guide 2025-02-15 13:51:39 +01:00
imperosol 6d519e3a07 Custom client for UTBM UV API calls 2025-02-15 13:51:39 +01:00
imperosol 85c8b7d11c Use requests for external requests
L'API de requests est beaucoup plus claire que celle d'urllib et urllib3.
2025-02-15 13:51:39 +01:00
imperosol ee1bcf2011 add forgotten input field label 2025-02-15 12:05:54 +01:00
imperosol 571b3a4e02 fix perms in user_tools.jinja 2025-02-15 12:05:54 +01:00
imperosol 6bf02cecd9 Allow some customisation in core/edit.jinja 2025-02-15 12:05:54 +01:00
imperosol 05d4a09f8c Add a page to manage the groups that can create permissions 2025-02-15 12:05:54 +01:00
imperosol 2123e83010 fix user_tools.jinja indentation 2025-02-13 13:36:46 +01:00
imperosol 294b59b4d6 use django auth for subscription creation page 2025-02-13 13:36:46 +01:00
imperosol 73ce681307 fix upload artifact step of CI 2025-02-13 13:30:34 +01:00
imperosol 36076aefcc fix user groups update view
Le formulaire remplaçait la totalité des groupes de l'utilisateur, c'est-à-dire également les groupes pas affichés dans le formulaire. Ça fait que la soumission du formulaire retirait l'utilisateur de tous ses groupes de groupes et des autres groupes non-gérables manuellement (comme Publique et Anciens Cotisants).

Jusqu'ici, les groupes non-manuels étaient gérés bizarrement, en regardant dynamiquement à chaque fois si l'utilisateur est dans le groupe, donc le bug ne se voyait pas. Maintenant que tous les groupes sont gérés presque de la même manière, ça se voit.
2025-02-07 13:28:47 +01:00
imperosol 428fe68cdb fix CustomerQuerySet.update_amount 2025-01-23 14:55:10 +01:00
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