315 Commits

Author SHA1 Message Date
imperosol
1748652b4d rename apikey to api 2025-06-05 18:36:37 +02:00
imperosol
2223086bb6 Add GET /api/club/{club_id} to fetch details about a club 2025-06-05 18:29:02 +02:00
imperosol
a11897cd10 feat: basic api key management 2025-06-05 18:28:59 +02:00
imperosol
b0d9063153 remove remaining laundry code 2025-06-04 12:53:22 +02:00
thomas girod
350a92bc44
Merge pull request #1102 from ae-utbm/update-deps
Update dependencies
2025-06-02 18:26:51 +02:00
imperosol
6d16e35624 update dependencies 2025-05-26 12:35:24 +02:00
Thomas Girod
54be8addeb remove laundry 2025-05-26 09:10:35 +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
Thomas Girod
05756520a3 remove remaining accounting code 2025-04-13 14:14:26 +02:00
Sli
b09d5e5ffd Remote calendar link for external sync 2025-04-07 13:58:08 +02:00
imperosol
26d4c4b811 move accound refound view to counter 2025-04-04 10:35:17 +02:00
thomas girod
7515e739b6
Merge pull request #1037 from ae-utbm/unix-name
Refactor Club
2025-04-04 09:27:33 +02:00
imperosol
812e0f5f4c remove galaxy from production 2025-03-28 18:34:16 +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
Sli
6b27a97e7b Launch multiple honcho files depending on the context 2025-03-04 14:48:44 +01:00
Sli
75c4c55a32 Only run full procfile on runserver 2025-03-04 11:59:35 +01:00
Sli
728ad157e9 Apply review comments 2025-03-04 10:30:36 +01:00
Sli
e542fe11b9 Add a pid file to avoid running honcho multiple times 2025-03-04 10:30:36 +01:00
Sli
aa66fc61ab Apply review comments 2025-03-04 10:30:36 +01:00
Sli
3b80b36ed6 Update doc 2025-03-04 10:30:36 +01:00
Sli
ba6e2a6402 Integrate automatic redis startup with the project 2025-03-04 10:30:36 +01:00
Sli
fe417b0c29 Enable csrf tokens on API routes
* Upgrade openapi-ts
* Migrate openapi-ts settings to new version
* Add csrf token to headers of all API calls
* Force csrf token authentication on API routes
2025-03-03 13:33:58 +01:00
imperosol
71b3588577 Add a "see more" button on news dates list 2025-02-25 08:56:45 +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
294b59b4d6 use django auth for subscription creation page 2025-02-13 13:36:46 +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
0c01ad1770 Move core auth mixins to their own file 2025-01-13 15:45:55 +01:00
imperosol
c3fc8538cc rework news form 2025-01-10 22:08:24 +01:00
imperosol
af47587116 Split groups and ban groups 2025-01-05 15:49:08 +01:00
Sli
0d1629495b Refactor com scss and add basic unified event calendar 2025-01-04 22:51:44 +01:00
imperosol
81e163812e custom auth backend 2024-12-21 17:34:20 +01:00
Sli
03c27b10e5 Fix refill permissions
* Remove ability to refill from counters
* Fix bug where you could refill without any board member on a BAR
* Add a warning message explaining why refilling are disabled
2024-12-17 02:42:07 +01:00
Sli
f63fb59cbf Allow filtering of refilling options
* Move settings.SITH_COUNTER_PAYMENT_METHOD to counter.apps.PAYMENT_METHOD
* Move student cards to an accordion on counter click
* Make cash default refilling option
* Disable bank selection option in refilling if CHECK are not allowed
* Disable refilling with CHECK from the frontend
2024-12-16 00:15:21 +01:00
imperosol
9acb421b2e deps: update ruff 2024-12-08 11:17:27 +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
9617e29ed5 delete stock application 2024-11-26 17:35:10 +01:00
imperosol
ee9f36d883 implement the dump_accounts command 2024-11-19 00:48:35 +01:00
Sli
935914428b Remove ajax_select completely 2024-10-21 13:30:12 +02:00
Sli
c1a85486cc Add test for sentry-debug endpoint 2024-10-15 14:09:51 +02:00
thomas girod
d16a207a83
Add more Ruff rules (#891)
* ruff: apply rule F

* ruff: apply rule E

* ruff: apply rule SIM

* ruff: apply rule TCH

* ruff: apply rule ERA

* ruff: apply rule PLW

* ruff: apply rule FLY

* ruff: apply rule PERF

* ruff: apply rules FURB & RUF
2024-10-15 11:36:26 +02:00
Sli
0b31b215f6 Remove check_front command 2024-10-14 00:55:48 +02:00
Sli
7e1734aed5 Migrate chartjs to npm 2024-10-14 00:55:48 +02:00
Sli
cdf9519a9f Port galaxy to webpack 2024-10-13 20:09:55 +02:00
Sli
361a06e5b3 Migrate sentry to webpack 2024-10-13 17:14:21 +02:00
Sli
a5d8c96bab Remove select2 from vendored
* Make core/utils/select2.ts
* Convert viewer-index.js to typescript
2024-10-13 10:55:15 +02:00
imperosol
5a8052ae47 send mail to inactive users 2024-10-11 09:57:41 +02:00
imperosol
6a64e05247 select inactive users 2024-10-11 09:45:54 +02:00