Commit Graph
100 Commits
Author SHA1 Message Date
imperosol ff1f1040b6 simplify User.cached_groups 2025-05-22 10:43:49 +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
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