imperosol
1748652b4d
rename apikey to api
2025-06-05 18:36:37 +02:00
imperosol
65d43caf15
adapt CanAccessLookup
to api key auth
2025-06-05 18:29:02 +02:00
imperosol
1ccd24b69a
adapt pedagogy api to api key auth
2025-06-05 18:29:02 +02:00
c10b488080
Remove jquery-ui accordions
2025-06-03 20:48:45 +02:00
Thomas Girod
ff220e67c1
use new django.url.reverse
query
kwarg
2025-04-11 14:54:06 +02: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
20a535429c
pedagogy api permissions
2025-01-17 17:31:22 +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
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
0485ab1120
Remove defer from script where type=module is used
2024-11-19 21:22:14 +01:00
8a8851847c
Passage de webpack à vite.dev
2024-11-19 21:22:14 +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
f78b968075
Move markdown input and select widgets to a widget folder
2024-10-20 01:05:34 +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
f07a855e7e
Remove history management from script.js and migrate sas albums to webpack
2024-10-12 19:19:23 +02:00
86bbc4cf6e
Migrate uv guide to webpack
2024-10-10 02:04:49 +02:00
7405241b82
Apply all biomejs fixes
2024-10-08 17:14:22 +02:00
271d57051e
Upgrade to fontawesome 6
...
* Adapt fontawesome usage when needed
* Fix uv guide not importing css
* Remove utf8 usage for fontawesome
2024-10-03 00:06:03 +02:00
655d72a2b1
Completely integrate wepack in django
...
* Migrate alpine
* Migrate jquery and jquery-ui
* Migrate shorten
* Add babel for javascript
* Introduce staticfiles django app
* Only bundle -index.js files in static/webpack
* Unify scss and webpack generated files
* Convert scss calls to static
* Add --clear-generated option to collectstatic
* Fix docs warnings
2024-10-02 16:11:02 +02:00
thomas girod
1800785b80
generalize usage of the paginate_jinja macro
2024-09-27 11:21:33 +02:00
759e360a1d
Don't use unnecessary promises
2024-08-17 10:15:13 +02:00
8865529b39
Use native alpine debounce
2024-08-17 02:58:53 +02:00
cdb73ee49c
Don't rely on waiting for pedagogy history
2024-08-17 02:57:00 +02:00
2a6c1f050d
Create a paginate_alpine macro
2024-08-11 15:11:51 +02:00
2ec1f8cdc0
Fix back action in uv guide
2024-08-11 14:58:05 +02:00
thomas girod
7ea9a5ca2d
improved feedback when loading ajax content
2024-08-09 11:58:26 +02:00
thomas girod
da6bd84cdf
restify album view
2024-08-08 11:50:45 +02:00
thomas girod
62bb15317c
T2 ruff rule
2024-08-06 11:42:10 +02:00
thomas girod
29bb0f6712
promote AlpineJS to global dependency
2024-08-05 17:08:30 +02:00
thomas girod
eef15e05f4
use autocomplete_fields in admin
2024-08-01 11:27:54 +02:00
1bd887567e
Use full text search in pedagogy uv search api
2024-07-29 13:01:20 +02:00
thomas girod
b022ebb80e
improve pagination
2024-07-27 10:46:57 +02:00
thomas girod
b25805e0a1
introduce djhtml as jinja+scss formater
2024-07-25 16:46:45 +02:00
fee7ade1a5
Harmonize test names
2024-07-24 00:50:48 +02:00
thomas girod
cb1aa8bef0
add tests
2024-07-23 20:36:57 +02:00
293369f165
Pagination on UV guide
2024-07-23 19:58:11 +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
171a1cb876
ruff rule FBT
2024-07-08 15:37:09 +02:00
thomas girod
cfc19434d0
ruff rules UP008 and UP009
2024-07-08 15:37:09 +02:00
thomas girod
bf18284450
apply forgotten migrations
2024-07-04 11:31:36 +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