imperosol
d2d639e5f6
Split SubscriptionForm
into SubscriptionNewUserForm
and SubscriptionExistingUserForm
2024-12-03 19:41:09 +01:00
ca8c1c9d92
Mirror -index.css generation with their import location in -index.js/ts files
2024-11-19 21:22:14 +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
imperosol
a97dba18c2
Reduce width of non-multiple ajax selects
2024-11-11 00:26:16 +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
afdc6b69df
Remove ajax_select from sas
2024-10-21 10:30:35 +02:00
0af3505c2a
Make a generic AjaxSelect abstract class
2024-10-20 02:26:32 +02:00
6b3012d21c
Fix broken sas ui in webkit based browsers
2024-10-18 23:50:04 +02:00
56cc4776a6
Create base class for ajax-select
2024-10-18 23:26:04 +02:00
66dceefcf0
Fix bad constructor when adding attrs that are not part of the parent and fix tom-select on safari
2024-10-17 18:15:55 +02:00
74a506c48b
Add missing features
...
* Fix display
* Add internationalization
* Avoid querying under a certain amount of characters
* Update docs for translations with typescript
* Add interpolate to typescript globals
2024-10-17 18:15:55 +02:00
deda2b4055
Replace selec2 with tom-select
2024-10-17 18:15:55 +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
imperosol
19cd51043a
feat: display moderation requests to moderators
2024-10-14 00:47:07 +02:00
imperosol
5348a451e9
feat: picture moderation requests
2024-10-14 00:45:52 +02:00
imperosol
83ae21140d
move SAS forms to their own file
2024-10-14 00:45:52 +02:00
00cf619c68
Remove hand crafted urls on viewer-index.ts
2024-10-13 10:55:15 +02:00
b6e1c3bc88
Add helper function to export ts functions to html
2024-10-13 10:55:15 +02:00
a5d8c96bab
Remove select2 from vendored
...
* Make core/utils/select2.ts
* Convert viewer-index.js to typescript
2024-10-13 10:55:15 +02:00
f07a855e7e
Remove history management from script.js and migrate sas albums to webpack
2024-10-12 19:19:23 +02:00
579d077b35
Fix docstring
2024-10-10 15:45:43 +02:00
32444fac90
Apply review comments
2024-10-10 15:42:11 +02:00
46e58bb49e
Remove fetchPaginated and migrate viewer.js to viewer-index.js in webpack
2024-10-09 21:46:56 +02:00
7405241b82
Apply all biomejs fixes
2024-10-08 17:14:22 +02:00
imperosol
20bea62542
use spaces for indentation
2024-10-08 13:54:44 +02:00
d0c18d4538
Format with biome instead of standard
2024-10-08 01:49:15 +02:00
c57d2ece9c
Apply standard formater and linter on js files
2024-10-07 00:04: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
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
thomas girod
d0f17bd41a
faster image resizing and smaller results
2024-10-02 23:16:47 +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
a00a85a56a
Fix recursive link history updates for picture viewer
2024-09-30 15:02:11 +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
27443bcd21
fix image deletion. again.
2024-09-19 20:35:08 +02:00
thomas girod
813bbbb94a
preload images and identifications
2024-09-17 12:23:13 +02:00
thomas girod
a2a858262a
apply review comments
2024-09-17 12:23:13 +02:00
727e5cb199
Dummy data on default current_picture to avoid javascript errors
2024-09-17 12:23:13 +02:00
71602b43bd
implement back feature on sas ajax view
2024-09-17 12:23:13 +02:00
thomas girod
bc40b92744
completely ajaxify the picture page
2024-09-17 12:23:13 +02:00
thomas girod
d545becf24
add spinner during loading
2024-09-17 12:17:21 +02:00
thomas girod
48f605dbe0
Use select2 for user picture identification
2024-09-17 12:17:17 +02:00
thomas girod
ed4c65600c
fix image extension
2024-09-14 18:45:12 +02:00
thomas girod
e2b42145e1
Merge pull request #819 from ae-utbm/fix-delete-picture
...
fix undeletable SAS pictures
2024-09-10 23:12:59 +02:00
thomas girod
55ad1f99fd
fix undeletable SAS pictures
2024-09-10 21:38:13 +02:00
thomas girod
d148d6b3a5
unify album name length
2024-09-08 13:30:23 +02:00