197 Commits

Author SHA1 Message Date
imperosol
d4628c49bd fix some tests 2025-02-25 09:29:49 +01:00
imperosol
3eee06becd Migrate albums and pictures to their own tables 2025-02-25 09:29:49 +01:00
imperosol
b2056064e1 ajaxify album loading in the SAS 2025-02-25 09:29:49 +01:00
imperosol
cfefd9bd5b api to fetch albums 2025-02-25 09:16:24 +01:00
imperosol
feeff5970d typescriptify album-index.js 2025-02-25 09:16:21 +01:00
Sli
2918048b16 Improve download user album button 2025-02-20 18:51:08 +01:00
Sli
a87016a23f Apply some review comments 2025-02-20 18:13:40 +01:00
Sli
f7ff77b88f Use real images with lazy loading in sas albums and user pictures 2025-02-19 00:12:30 +01:00
Sli
e8db68b960 Add missing translations 2025-02-18 20:10:54 +01:00
Sli
93a5c3a02a Separate album downloading logic from user display. Allow downloading individual user albums. 2025-02-18 20:10:54 +01:00
Sli
e46cba7a06 Move all user picture logic to sas 2025-02-18 20:10:51 +01:00
Kenneth SOARES
b1db52d2b6 clean typescript 2025-02-18 14:56:08 +01:00
Kenneth SOARES
2bed89aaba typescriptification de picture-index et bonne instantiation alpine-data 2025-02-18 14:56:08 +01:00
Kenneth SOARES
86c68eeb32 fix indenting 2025-02-18 14:56:08 +01:00
Kenneth SOARES
8cb53ceba2 download button for user pictures and albums 2025-02-18 14:56:08 +01:00
imperosol
0c01ad1770 Move core auth mixins to their own file 2025-01-13 15:45:55 +01:00
imperosol
7af745087e create a card css component 2024-12-21 02:14:38 +01:00
imperosol
8c660e9856 Make core.User inherit from AbstractUser instead of AbstractBaseUser 2024-12-19 10:39:04 +01:00
Sli
2f613607af Update number of queries in test_num_queries 2024-12-07 23:35:35 +01:00
imperosol
d2d639e5f6 Split SubscriptionForm into SubscriptionNewUserForm and SubscriptionExistingUserForm 2024-12-03 19:41:09 +01:00
Sli
ca8c1c9d92 Mirror -index.css generation with their import location in -index.js/ts files 2024-11-19 21:22:14 +01:00
Sli
0485ab1120 Remove defer from script where type=module is used 2024-11-19 21:22:14 +01:00
Sli
8a8851847c Passage de webpack à vite.dev 2024-11-19 21:22:14 +01:00
Sli
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
Sli
a6b32fcad1 Fix readability and avoid instantiating too many TypeAdapter 2024-10-28 18:08:13 +01:00
Sli
3eb3feea49 Fix deprecated usage of schema json method and avoid multiple inheritance on select widgets 2024-10-21 16:14:00 +02:00
Sli
afdc6b69df Remove ajax_select from sas 2024-10-21 10:30:35 +02:00
Sli
0af3505c2a Make a generic AjaxSelect abstract class 2024-10-20 02:26:32 +02:00
Sli
6b3012d21c Fix broken sas ui in webkit based browsers 2024-10-18 23:50:04 +02:00
Sli
56cc4776a6 Create base class for ajax-select 2024-10-18 23:26:04 +02:00
Sli
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
Sli
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
Sli
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
Sli
00cf619c68 Remove hand crafted urls on viewer-index.ts 2024-10-13 10:55:15 +02:00
Sli
b6e1c3bc88 Add helper function to export ts functions to html 2024-10-13 10:55:15 +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
Sli
f07a855e7e Remove history management from script.js and migrate sas albums to webpack 2024-10-12 19:19:23 +02:00
Sli
579d077b35 Fix docstring 2024-10-10 15:45:43 +02:00
Sli
32444fac90 Apply review comments 2024-10-10 15:42:11 +02:00
Sli
46e58bb49e Remove fetchPaginated and migrate viewer.js to viewer-index.js in webpack 2024-10-09 21:46:56 +02:00
Sli
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
Sli
d0c18d4538 Format with biome instead of standard 2024-10-08 01:49:15 +02:00
Sli
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