184 Commits

Author SHA1 Message Date
Kenneth SOARES
df0e4a9b6c custom django command for promo logos
added path vailidity verification and IOError handling

added option to overwrite existing logo and force flag

improved uppon suggestions

mistake correction

fixed string conversion bugs and logical error

corrected path conversion

f

better error handling and corrections

ajout d'une section de documentation pour la feature

copié coller

fixed documentation bullet points

added resampling clean up error handling

removed useless IOError
2025-05-23 14:31:00 +02:00
Thomas Girod
05756520a3 remove remaining accounting code 2025-04-13 14:14:26 +02:00
Sli
3e61560875 Use group permissions 2025-04-10 01:01:40 +02:00
Sli
c236092c4f Create dedicated image upload model 2025-04-09 20:53:23 +02:00
Sli
10367d21ab Add API endpoint to upload images 2025-04-09 20:52:38 +02:00
imperosol
13f417ba30 Use Alpine and the API for SAS picture upload 2025-04-08 15:59:30 +02:00
imperosol
a6ac10e60c clean populate.py 2025-04-04 10:35:17 +02:00
imperosol
e7bb08448c feat: generic returnable products 2025-04-04 09:29:54 +02: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
d16237d015 make PageCreateView a PermissionRequiredMixin 2025-03-13 18:49:42 +01:00
imperosol
7c3186da79 apply ruff rule A005 2025-03-10 10:33:05 +01:00
Sli
4890fcf0e1 Rename news moderate to publish 2025-02-25 18:09:08 +01:00
imperosol
0e88260c31 fix news dates timestamp in populate.py 2025-02-25 08:55:35 +01:00
imperosol
294b59b4d6 use django auth for subscription creation page 2025-02-13 13:36:46 +01:00
Sli
5db9819560 Address review comments 2025-01-21 00:28:35 +01:00
Sli
dd2cd0a18d Add atom/rss news feed 2025-01-19 18:22:02 +01:00
imperosol
0d95c3b9c9 Improve pedagogy permissions 2025-01-17 09:42:16 +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
thomas girod
4d0d7adce1
Merge pull request #998 from ae-utbm/simpler-com
Rework news creation form
2025-01-11 20:47:21 +01:00
thomas girod
6bcc420af1
Merge pull request #969 from ae-utbm/default-groups
Give default groups to users
2025-01-11 20:44:39 +01:00
imperosol
c3fc8538cc rework news form 2025-01-10 22:08:24 +01:00
imperosol
d3f21c8f16 remove news event type 2025-01-10 22:08:10 +01:00
Sli
a4c6439981 Fix selling ordering bug that created "not enough money" errors
* Add tests
* Add tests for cons/dcons
2025-01-10 16:35:42 +01:00
imperosol
a8810816f0 Give the public group to newly created users 2025-01-10 02:23:07 +01:00
imperosol
b7bf3fd375 Give the old_subscribers group when subscribing 2025-01-10 02:12:17 +01:00
imperosol
af47587116 Split groups and ban groups 2025-01-05 15:49:08 +01:00
Sli
1887a2790f Move IcsCalendar to it's own file 2025-01-04 23:08:09 +01:00
Sli
65df55a635 Use signals to update internal ics 2025-01-04 23:08:09 +01:00
Sli
0d1629495b Refactor com scss and add basic unified event calendar 2025-01-04 22:51:44 +01:00
imperosol
1e29ae4171 fixes on club group attribution 2025-01-03 01:18:28 +01:00
imperosol
6400b2c2c2 replace MetaGroups by proper group management 2025-01-03 01:18:28 +01:00
imperosol
bea7741d35 populate group permissions 2024-12-21 18:48:30 +01:00
imperosol
8c660e9856 Make core.User inherit from AbstractUser instead of AbstractBaseUser 2024-12-19 10:39:04 +01:00
imperosol
466fe58763 feat: make student card unique per user 2024-12-15 16:49:24 +01:00
imperosol
ee9f36d883 implement the dump_accounts command 2024-11-19 00:48:35 +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
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
thomas girod
a4fe4996aa
Merge pull request #834 from ae-utbm/real-name
Restore real name
2024-10-03 10:12:23 +02:00
thomas girod
0eaa20e09d fix localdate issues 2024-10-03 00:25:22 +02:00
thomas girod
3e5d4c5fbb add fixtures for the forum 2024-09-27 11:21:33 +02:00
Sli
9c93162741 Add missing files 2024-09-23 10:25:27 +02:00
Sli
6068c6048a Use real name of the website once again 2024-09-23 01:37:25 +02:00
thomas girod
acad74528d fix: sale creation in populate_more 2024-09-17 16:05:42 +02:00
Skia
d1c88a5cef core: commands: make 'install_xapian' way faster 2024-09-09 15:17:09 +02:00
thomas girod
dd07c374d7 convert uploaded images to webp 2024-09-01 19:05:54 +02:00
thomas girod
b7261ec629 custom manifest static files storage that also minify scss and js files 2024-08-26 22:34:32 +02:00
thomas girod
62bb15317c T2 ruff rule 2024-08-06 11:42:10 +02:00
thomas girod
63b6b262c6 repair BASE_DIR 2024-07-26 18:21:57 +02:00