imperosol
3d5cf98fb6
merge ClubEditView
and ClubEditPropView
2025-03-01 12:47:08 +01:00
imperosol
fa5ddfaeda
change Club.unix_name
to Club.slug_name
and remove it from forms
2025-03-01 11:48:27 +01:00
imperosol
87559a384a
remove ClubStatView
2025-02-28 13:10:54 +01:00
imperosol
86c2ea7fd9
API route to fetch news dates
2025-02-25 08:55:35 +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
imperosol
0c01ad1770
Move core auth mixins to their own file
2025-01-13 15:45:55 +01:00
imperosol
cba915c34d
Move core views mixins to their own file
2025-01-13 15:45:27 +01:00
imperosol
7ac41ac5cb
remove UserIsRootMixin
2025-01-13 15:45:23 +01:00
imperosol
a8810816f0
Give the public group to newly created users
2025-01-10 02:23:07 +01:00
imperosol
849fac490d
fix get_or_create in club group migration
2025-01-04 18:49:00 +01:00
imperosol
6eb860579a
split migrations
2025-01-04 18:05:02 +01:00
imperosol
bb210f8d47
change club group names when the club name changes
2025-01-04 16:43:38 +01:00
imperosol
efca10e252
remove Club.view_groups
, Club.edit_groups
and Club.owner_group
2025-01-03 17:30:24 +01:00
imperosol
1e29ae4171
fixes on club group attribution
2025-01-03 01:18:28 +01:00
imperosol
0ae1e850f4
improve admin
2025-01-03 01:18:28 +01:00
imperosol
d380668c0f
Move users to the club groups in the migration
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
871ef60cf6
remove obsolete RunPython operations
2024-12-19 10:39:07 +01:00
imperosol
8c660e9856
Make core.User
inherit from AbstractUser
instead of AbstractBaseUser
2024-12-19 10:39:04 +01:00
7b41051d0d
Go for a more generic js bundling architecture
...
* Don't tie the output name to webpack itself
* Don't call js bundling webpack in python code
* Make the doc more generic about js bundling
2024-11-19 21:22:14 +01:00
a6b32fcad1
Fix readability and avoid instantiating too many TypeAdapter
2024-10-28 18:08:13 +01:00
3eb3feea49
Fix deprecated usage of schema json method and avoid multiple inheritance on select widgets
2024-10-21 16:14:00 +02:00
84ee6dd2f5
Remove ajax_select from clubs
2024-10-20 21:28:25 +02:00
7f8a2c1eaf
Remove ajax_select from counters
2024-10-20 20:55:05 +02:00
e3dcad62cc
Migrates lookups
...
* products
* files
* Groups
* Clubs
* Accounting
2024-10-20 00:47:31 +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
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
f71518ed6f
Move deprecated paginate
macro to a lower scope
2024-09-27 11:21:33 +02:00
thomas girod
1800785b80
generalize usage of the paginate_jinja macro
2024-09-27 11:21:33 +02:00
9c93162741
Add missing files
2024-09-23 10:25:27 +02:00
6068c6048a
Use real name of the website once again
2024-09-23 01:37:25 +02:00
thomas girod
f1afa3b436
fix memberships ending today
2024-09-04 16:21:42 +02:00
thomas girod
6962b39fc9
use typing.Self for custom queryset methods
2024-09-02 01:03:46 +02:00
thomas girod
eef15e05f4
use autocomplete_fields in admin
2024-08-01 11:27:54 +02:00
thomas girod
b25805e0a1
introduce djhtml as jinja+scss formater
2024-07-25 16:46:45 +02:00
thomas girod
04e7f65e8e
Merge pull request #725 from ae-utbm/drop-jquery-calendar
...
Remove jquery datetimepicker
2024-07-25 01:20:41 +02:00
fee7ade1a5
Harmonize test names
2024-07-24 00:50:48 +02:00
thomas girod
9295325d21
remove jquery datetime picker
2024-07-23 23:26:48 +02:00
thomas girod
3046438cb1
replace drf by django-ninja
2024-07-23 19:57:33 +02:00
thomas girod
8c69a94488
use google convention for docstrings
2024-07-21 00:57:04 +02:00
thomas girod
2ac578c3ad
ruff rule DJ
...
Co-authored-by: Bartuccio Antoine <klmp200@users.noreply.github.com>
2024-07-08 15:37:10 +02:00
thomas girod
f941435232
ruff rule C4
2024-07-08 15:37:10 +02:00
thomas girod
cfc19434d0
ruff rules UP008 and UP009
2024-07-08 15:37:09 +02:00
thomas girod
cd58d5a357
resolve warnings
2024-07-04 11:31:35 +02:00
thomas girod
75bb3f992c
fix: wrong logic in Club.delete()
2024-07-04 11:31:35 +02:00
thomas girod
d97602e60b
Use pytest for tests ( #681 )
...
* use pytest for tests
Eh ouais, il y a que la config qui change. Pytest est implémentable par étapes. Et ça c'est beau.
* rework tests with pytest
* remove unittest custom TestRunner
* Edit doc and CI
2024-06-26 19:10:24 +02:00
thomas girod
3143d3d91a
reorganize imports with ruff
2024-06-26 12:35:38 +02:00
thomas girod
9bdf3fc4ac
use ruff for formating
...
Co-authored-by: Bartuccio Antoine <klmp200@users.noreply.github.com>
2024-06-26 12:35:14 +02:00