Commit Graph
100 Commits
Author SHA1 Message Date
klmp200andBartuccio Antoine cdf9519a9f Port galaxy to webpack 2024-10-13 20:09:55 +02:00
klmp200andBartuccio Antoine 9609a7615b Don't apply js minification to webpack generated files 2024-10-13 17:14:21 +02:00
klmp200andBartuccio Antoine 361a06e5b3 Migrate sentry to webpack 2024-10-13 17:14:21 +02:00
klmp200andBartuccio Antoine 1720307c21 Add biome for typescript in vscode config 2024-10-13 17:00:09 +02:00
klmp200andBartuccio Antoine 40c623b202 Optimize select2 import 2024-10-13 10:55:15 +02:00
klmp200andBartuccio Antoine 092ace8432 Add commands to easily analyze webpack outputs 2024-10-13 10:55:15 +02:00
klmp200andBartuccio Antoine 00cf619c68 Remove hand crafted urls on viewer-index.ts 2024-10-13 10:55:15 +02:00
klmp200andBartuccio Antoine b6e1c3bc88 Add helper function to export ts functions to html 2024-10-13 10:55:15 +02:00
klmp200andBartuccio Antoine 3b1d06a71d Update select2 documentation 2024-10-13 10:55:15 +02:00
klmp200andBartuccio Antoine a5d8c96bab Remove select2 from vendored
* Make core/utils/select2.ts
* Convert viewer-index.js to typescript
2024-10-13 10:55:15 +02:00
klmp200andBartuccio Antoine 768e2867b5 Fix wrong formatter doc on vscode 2024-10-12 19:43:07 +02:00
klmp200andBartuccio Antoine f07a855e7e Remove history management from script.js and migrate sas albums to webpack 2024-10-12 19:19:23 +02:00
klmp200 579d077b35 Fix docstring 2024-10-10 15:45:43 +02:00
klmp200 32444fac90 Apply review comments 2024-10-10 15:42:11 +02:00
klmp200 849177562d Add a way to get the base url of an endpoint 2024-10-10 02:57:54 +02:00
klmp200 86bbc4cf6e Migrate uv guide to webpack 2024-10-10 02:04:49 +02:00
klmp200 46e58bb49e Remove fetchPaginated and migrate viewer.js to viewer-index.js in webpack 2024-10-09 21:46:56 +02:00
klmp200 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
klmp200 9247696c1c Don't collect .ts files in statics 2024-10-09 17:30:44 +02:00
klmp200 37f62e15cf Use new typescript api for user graphs 2024-10-09 17:21:05 +02:00
klmp200 a98c924b24 Use auto generated api for markdown input 2024-10-09 16:56:53 +02:00
klmp200 a71ca60270 Add typescript support and automatic openapi client generation from ninja 2024-10-09 16:28:54 +02:00
klmp200andBartuccio Antoine 6f4e93bb76 Use configuration object for load builders 2024-10-09 12:14:10 +02:00
klmp200andBartuccio Antoine 93eb09887e Fix translations 2024-10-09 12:14:10 +02:00
klmp200andBartuccio Antoine 09081b03b6 Move family_graph.js to webpack
* Remove cytoscape dependencies
2024-10-09 12:14:10 +02:00
klmp200andBartuccio Antoine 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
klmp200 7405241b82 Apply all biomejs fixes 2024-10-08 17:14:22 +02:00
klmp200 24925f7726 Add Biome to documentation 2024-10-08 01:49:29 +02:00
klmp200 d0c18d4538 Format with biome instead of standard 2024-10-08 01:49:15 +02:00
klmp200 37eaa4b912 Add Standard to documentation 2024-10-07 01:36:13 +02:00
klmp200 a3cca056ae Apply standard to easymde 2024-10-07 00:10:24 +02:00
klmp200 ee965008d1 Properly fix no-unused-vars warning 2024-10-07 00:04:48 +02:00
klmp200 c57d2ece9c Apply standard formater and linter on js files 2024-10-07 00:04:48 +02:00
klmp200andBartuccio Antoine e5aa7aa866 Move easymde widget to easymde-index.js 2024-10-07 00:04:05 +02:00
klmp200andBartuccio Antoine 0f657b934d Fix makemessage doc 2024-10-03 18:32:27 +02:00
klmp200 fbcacb24f8 Fix broken screen slideshow 2024-10-03 01:05:56 +02:00
klmp200andBartuccio Antoine 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
klmp200andBartuccio Antoine 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
klmp200 a00a85a56a Fix recursive link history updates for picture viewer 2024-09-30 15:02:11 +02:00
klmp200 9c93162741 Add missing files 2024-09-23 10:25:27 +02:00
klmp200 6068c6048a Use real name of the website once again 2024-09-23 01:37:25 +02:00
klmp200andthomas girod 727e5cb199 Dummy data on default current_picture to avoid javascript errors 2024-09-17 12:23:13 +02:00
klmp200andthomas girod 71602b43bd implement back feature on sas ajax view 2024-09-17 12:23:13 +02:00
klmp200 cc5df9b171 Better form for user submiting images, fix potential attack vector on bad file being resized and treated as an image 2024-08-27 17:05:37 +02:00
klmp200 d95d4901d2 Use reduce instead of groupBy for user picture sorting to support more browsers 2024-08-27 10:35:38 +02:00
klmp200andBartuccio Antoine a422e8d39a Improve rendering of file input 2024-08-26 22:21:16 +02:00
klmp200andBartuccio Antoine ef80c1be61 Make camera error gray to be less aggressive on the eyes 2024-08-26 22:21:16 +02:00
klmp200andBartuccio Antoine 85d9816aaa Improve delete button behavior 2024-08-26 22:21:16 +02:00
klmp200andBartuccio Antoine 93b66d980d Directly display selected img of form on screen and convert to webp 2024-08-26 22:21:16 +02:00
klmp200andBartuccio Antoine 07d617da91 Get video resolution from the camera settings for a better image quality 2024-08-26 22:21:16 +02:00
klmp200andBartuccio Antoine 34aac40e65 Add translations 2024-08-26 22:21:16 +02:00
klmp200andBartuccio Antoine f54bf2b8af Adjust css 2024-08-26 22:21:16 +02:00
klmp200andBartuccio Antoine e7d04d9817 Unify user profile display with a nice macro and handle camera errors 2024-08-26 22:21:16 +02:00
klmp200andBartuccio Antoine ef1537ac2c Basic webcam setup with modern web api 2024-08-26 22:21:16 +02:00
klmp200 d13b79552b Remove to_markdown.jinja forgotten during bbcode convertion removal 2024-08-21 15:35:43 +02:00
klmp200 759e360a1d Don't use unnecessary promises 2024-08-17 10:15:13 +02:00
klmp200 8865529b39 Use native alpine debounce 2024-08-17 02:58:53 +02:00
klmp200 cdb73ee49c Don't rely on waiting for pedagogy history 2024-08-17 02:57:00 +02:00
klmp200 9188c28ee7 Remove intersect 2024-08-16 22:52:20 +02:00
klmp200 2a6c1f050d Create a paginate_alpine macro 2024-08-11 15:11:51 +02:00
klmp200 2ec1f8cdc0 Fix back action in uv guide 2024-08-11 14:58:05 +02:00
klmp200 589119c9ee Improve update_query_string with enum action 2024-08-10 23:32:50 +02:00
klmp200 b35e1a476e Fix back function in album pagination 2024-08-10 18:38:04 +02:00
klmp200 a75730d91f Fix unbalanced html 2024-08-10 15:16:37 +02:00
klmp200 a2b5f929dd Apply review comments
* Add alpine intersect
* Move alpine and it's plugins to a folder
* Fix spinning wheel position
* Improve album title position
2024-08-10 14:49:02 +02:00
klmp200 bf5f72fd9d Fix user search displaying results that shouldn't be viewed 2024-08-10 00:43:03 +02:00
klmp200 0eeaf1ce21 Render user picture page with ajax to improve performances 2024-08-09 18:09:58 +02:00
klmp200 20e8854467 Fix operation logs 2024-08-09 17:35:26 +02:00
klmp200 181e74b1d1 Add antispam app
* update_spam_database command to update suspicious domains from an
   external provider
* Add a AntiSpamEmailField that deny emails from suspicious domains
* Update documentation
2024-08-04 22:34:40 +02:00
klmp200andBartuccio Antoine f265346a10 Sort pictures by album in zip file 2024-07-31 12:01:08 +02:00
klmp200 ffa3936878 Improve zip download
* Remove jszip for zip.js which is better maintained
* Pictures keep their creation date
2024-07-30 11:11:31 +02:00
klmp200 1bd887567e Use full text search in pedagogy uv search api 2024-07-29 13:01:20 +02:00
klmp200 3304f32ef0 Add image download progress bar and fix output name of pictures 2024-07-28 23:53:18 +02:00
klmp200 15f51fb03f Create an NFC button for browser supporting NFC API 2024-07-25 07:18:39 +02:00
klmp200 41b9318028 Download user pictures as a zip 2024-07-24 23:51:15 +02:00
klmp200 fee7ade1a5 Harmonize test names 2024-07-24 00:50:48 +02:00
klmp200 0c566cfbde Add picture size in sas api 2024-07-24 00:44:09 +02:00
klmp200andthomas girod b9d19be183 Fix markdown api and add test for user picture page 2024-07-23 20:36:46 +02:00
klmp200andthomas girod 293369f165 Pagination on UV guide 2024-07-23 19:58:11 +02:00
klmp200 2c8f18d7fc Add honeypot on forum 2024-07-22 11:40:11 +02:00
klmp200 c7f8cdd098 Support field_name argument in honeypot jinja extension 2024-07-22 11:34:22 +02:00
klmp200 58ff5b934a add get_client_ip util function 2024-07-22 09:49:08 +02:00
klmp200andthomas girod c7b5c77395 Improve perms doc 2024-07-21 01:01:49 +02:00
klmp200andthomas girod 223aa37161 move old pdf to the repo github wiki 2024-07-21 01:00:37 +02:00
klmp200andthomas girod 54af894b82 Improve documentation 2024-07-21 00:57:12 +02:00
klmp200andthomas girod e1ac75f394 Rework readme and remove readthedocs config 2024-07-21 00:57:06 +02:00
klmp200 bad67a8b65 Add promo 24 logo 2024-07-16 00:25:50 +02:00
klmp200andBartuccio Antoine 7e98e184a0 Improve tests 2024-07-11 13:23:24 +02:00
klmp200andBartuccio Antoine 6240eff160 Apply review suggestions 2024-07-11 13:23:24 +02:00
klmp200andBartuccio Antoine a8918ebe86 Fix forum topic creation 2024-07-11 13:23:24 +02:00
klmp200 0fb61938ce Reorganize honeypot settings 2024-07-11 10:49:08 +02:00
klmp200 d6b27f2f21 Make honeypot errors less suspicious 2024-07-10 19:30:01 +02:00
klmp200 72cf5a3d5e Introduce honeypot for login/registering/password changing 2024-07-10 14:51:39 +02:00
klmp200 e1cf1c786d Fix missing xapian install step in deploy workflows 2024-07-04 19:44:22 +02:00
klmp200 99605b98d4 Two steps pre-commit and better workflow output 2024-07-02 20:16:02 +02:00
klmp200 c7135875b8 Use pre-commits hooks instead of ruff directly 2024-07-01 17:36:19 +02:00
klmp200 ca27b89a8b Apply shellcheck on install_xapian.sh 2024-06-26 11:31:39 +02:00
klmp200 e1bf7caa9a Fix CVE-2023-31047 2024-06-24 13:27:22 +02:00
klmp200 e681c17a0f Adapt CI to new xapian install process 2024-06-24 13:26:58 +02:00
klmp200 5416d88c97 Upgrade dependencies and install xapian from sources 2024-06-24 13:26:58 +02:00