2928 Commits

Author SHA1 Message Date
imperosol
3eee06becd Migrate albums and pictures to their own tables 2025-02-25 09:29:49 +01:00
imperosol
b2056064e1 ajaxify album loading in the SAS 2025-02-25 09:29:49 +01:00
imperosol
cfefd9bd5b api to fetch albums 2025-02-25 09:16:24 +01:00
imperosol
feeff5970d typescriptify album-index.js 2025-02-25 09:16:21 +01:00
thomas girod
c272cad2ea
Merge pull request #1030 from ae-utbm/subscription-student-status
Give the student role when creating a new user subscription
2025-02-25 08:36:23 +01:00
Bartuccio Antoine
8705fbe4b2
Merge pull request #1025 from ae-utbm/dl_pictures
download button for user pictures and albums
2025-02-24 07:39:00 +01:00
Bartuccio Antoine
aa60462653
Merge pull request #1028 from ae-utbm/counters
Allow transactions on counter when an user has recorded too many products
2025-02-24 07:38:34 +01:00
imperosol
9c0d89de83 Give the student role when creating a new user subscription 2025-02-24 07:13:19 +01:00
Sli
f4ff247862 Remove call from removed loadCounter function 2025-02-23 18:05:37 +01:00
Sli
1978658b9c Allow transactions on counter when an user has recorded too many products as long as he doesn't record more 2025-02-21 14:50:07 +01:00
Sli
219700f0bc Add redirect for user picture url 2025-02-20 18:54:50 +01:00
Sli
2918048b16 Improve download user album button 2025-02-20 18:51:08 +01:00
Sli
a87016a23f Apply some review comments 2025-02-20 18:13:40 +01:00
Sli
f7ff77b88f Use real images with lazy loading in sas albums and user pictures 2025-02-19 00:12:30 +01:00
Sli
e8db68b960 Add missing translations 2025-02-18 20:10:54 +01:00
Sli
93a5c3a02a Separate album downloading logic from user display. Allow downloading individual user albums. 2025-02-18 20:10:54 +01:00
Sli
e46cba7a06 Move all user picture logic to sas 2025-02-18 20:10:51 +01:00
Kenneth SOARES
ba21738bd9 biome reformat 2025-02-18 14:56:08 +01:00
Kenneth SOARES
b1db52d2b6 clean typescript 2025-02-18 14:56:08 +01:00
Kenneth SOARES
2bed89aaba typescriptification de picture-index et bonne instantiation alpine-data 2025-02-18 14:56:08 +01:00
Kenneth SOARES
86c68eeb32 fix indenting 2025-02-18 14:56:08 +01:00
Kenneth SOARES
8cb53ceba2 download button for user pictures and albums 2025-02-18 14:56:08 +01:00
Bartuccio Antoine
a96b374ad7
Merge pull request #971 from ae-utbm/environ
Use .env for project configuration
2025-02-17 13:37:01 +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
thomas girod
88b3f7c322
Merge pull request #1009 from ae-utbm/news-list
News list improvements
2025-02-15 18:29:16 +01:00
thomas girod
b31445fefb
Merge pull request #1010 from ae-utbm/populate-all-uvs
Management command to populate all uvs
2025-02-15 18:28:42 +01:00
thomas girod
2dc32f8b20
Merge pull request #1021 from ae-utbm/master
merge back
2025-02-15 18:13:19 +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
thomas girod
fa02f4b5f0
Merge pull request #1020 from ae-utbm/taiste
RSS feed, subscription creation permisssion, pedagogy permissions and bugfixes
2025-02-15 13:00:21 +01:00
thomas girod
3df33261ce
Merge pull request #1017 from ae-utbm/subscription-perms
Subscription perms
2025-02-15 12:18:40 +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
Bartuccio Antoine
169e9ea55a
Merge pull request #1019 from ae-utbm/calendar-fix
Fix wrong overflow on chrome for calendar
2025-02-14 13:20:04 +01:00
Sli
9b916f6204 Fix wrong overflow on chrome for calendar 2025-02-14 13:09:05 +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