Commit Graph

305 Commits

Author SHA1 Message Date
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
NaNoMelo
a1bae7ced3 fix empty options in paginated with typescript 2024-10-12 18:59:06 +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
849177562d Add a way to get the base url of an endpoint 2024-10-10 02:57:54 +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
9199f91151 Use typescript api for user pictures and allow imports across js files
* Add imports paths for js files in node
* Add a ts version of fetchPaginated
* Update documentation
2024-10-09 20:59:12 +02:00
Sli
37f62e15cf Use new typescript api for user graphs 2024-10-09 17:21:05 +02:00
Sli
a98c924b24 Use auto generated api for markdown input 2024-10-09 16:56:53 +02:00
Sli
6f4e93bb76 Use configuration object for load builders 2024-10-09 12:14:10 +02:00
Sli
93eb09887e Fix translations 2024-10-09 12:14:10 +02:00
Sli
09081b03b6 Move family_graph.js to webpack
* Remove cytoscape dependencies
2024-10-09 12:14:10 +02:00
Sli
ceee393bd8 Move user_picture.js to webpack
* Fix relative path generation in webpack
* remove vendored/native-file-system-adapter
* remove vendored/zip.js
2024-10-09 12:14:10 +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
a3cca056ae Apply standard to easymde 2024-10-07 00:10:24 +02:00
Sli
ee965008d1 Properly fix no-unused-vars warning 2024-10-07 00:04:48 +02:00
Sli
c57d2ece9c Apply standard formater and linter on js files 2024-10-07 00:04:48 +02:00
Sli
e5aa7aa866 Move easymde widget to easymde-index.js 2024-10-07 00:04:05 +02:00
Sli
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
Sli
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
bb953a6139
Merge pull request #831 from ae-utbm/forum-css-rework
Forum css rework
2024-09-30 12:13:52 +02:00
thomas girod
c10e1e8cbf fix profile pictures layout in Select2 results 2024-09-29 23:31:33 +02:00
thomas girod
3f2b63aaa5 move forum style into its own file 2024-09-27 11:21:33 +02:00
thomas girod
d29a5cdb44 Add the new 3DSv2 fields 2024-09-27 11:10:38 +02:00
thomas girod
3d138d404f move webcam JS to its own file 2024-09-23 23:35:14 +02:00
thomas girod
d47461ba40
Merge pull request #830 from ae-utbm/repair-pagination
fix: `fetch_paginated`
2024-09-20 00:03:34 +02:00
thomas girod
d3cada4c95 fix family graph image exension 2024-09-19 20:52:10 +02:00
thomas girod
b246e171b7 fix: fetch_paginated 2024-09-18 22:03:39 +02:00
thomas girod
a2a858262a apply review comments 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
b0d7bbbb79 select 2 builder 2024-09-17 12:14:20 +02:00
Bartuccio Antoine
f624b7c66d
Graph de famille en frontend (#820)
* Remove graphviz and use cytoscape.js instead

* Frontend generated graphs
* Make installation easier and faster
* Better user experience
* Family api and improved interface
* Fix url history when using 0, improve button selection and reset reverse with reset button
* Use klay layout
* Add js translations and apply review comments
2024-09-17 12:10:06 +02:00
thomas girod
2e1f16fa04 slim jquery-ui 2024-08-26 22:34:32 +02:00
thomas girod
d295cc5223 move vendored files into their own folder 2024-08-26 22:34:32 +02:00
thomas girod
ff088009d9 move static files in their respective application 2024-08-26 22:34:31 +02:00
thomas girod
68d0a16d1c
Merge pull request #782 from ae-utbm/ajax-navigation-history
Ajax navigation history in uv guide
2024-08-26 22:29:19 +02:00
Sli
a422e8d39a Improve rendering of file input 2024-08-26 22:21:16 +02:00
Sli
ef80c1be61 Make camera error gray to be less aggressive on the eyes 2024-08-26 22:21:16 +02:00
Sli
85d9816aaa Improve delete button behavior 2024-08-26 22:21:16 +02:00
Sli
f54bf2b8af Adjust css 2024-08-26 22:21:16 +02:00
Sli
e7d04d9817 Unify user profile display with a nice macro and handle camera errors 2024-08-26 22:21:16 +02:00
Sli
ef1537ac2c Basic webcam setup with modern web api 2024-08-26 22:21:16 +02:00
Sli
cdb73ee49c Don't rely on waiting for pedagogy history 2024-08-17 02:57:00 +02:00
Sli
589119c9ee Improve update_query_string with enum action 2024-08-10 23:32:50 +02:00
Sli
b35e1a476e Fix back function in album pagination 2024-08-10 18:38:04 +02:00