Commit Graph

2503 Commits

Author SHA1 Message Date
thomas girod
23049a8ae2
Merge pull request #901 from ae-utbm/improve-warning-dump
Improve warning dump
2024-10-20 13:35:08 +02:00
imperosol
662b4b5c53 precise that dumped users can still subscribe 2024-10-20 12:45:37 +02:00
imperosol
9675b6372c add flags to the dump warning mail command 2024-10-20 12:32:28 +02:00
imperosol
03afd49115 make the mail text only 2024-10-20 12:32:28 +02:00
thomas girod
7d40316044
Merge pull request #900 from ae-utbm/optimize-again
optimize product pages again
2024-10-20 00:55:27 +02:00
imperosol
db6a871854 optimize product pages again 2024-10-20 00:27:25 +02:00
Bartuccio Antoine
b9cbba2309
Merge pull request #896 from ae-utbm/relpace-select2
Replace selec2 with tom-select
2024-10-18 00:24:09 +02:00
Sli
4165f8d4af Add register decorator for web components and a better inheriting system for html elements 2024-10-17 23:14:54 +02:00
Sli
cac185634d Avoid keeping text after selecting item 2024-10-17 18:21:51 +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
677ff51ea5 Create web component util 2024-10-17 18:15:55 +02:00
Sli
645b8a543e Make easymde compatible with 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
67ebb90ffa
Merge pull request #897 from ae-utbm/fix-xss
Fix xss on select2 results
2024-10-17 12:10:08 +02:00
imperosol
5d16ba135a fix: xss on select2 results 2024-10-17 08:15:34 +02:00
thomas girod
150d08dc45
Merge pull request #894 from ae-utbm/sentry
Test sentry-debug endpoint
2024-10-15 20:48:01 +02:00
Sli
c1a85486cc Add test for sentry-debug endpoint 2024-10-15 14:09:51 +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
Sli
d114b01bcc Make sure Alpine is always loaded when using markdown-input component 2024-10-15 00:28:43 +02:00
Sli
dee54c3b41 Use manifest storage and correct webpack conversion on easymde form 2024-10-15 00:28:43 +02:00
Sli
670d2fa12e Use a web component for easymde
* Bump tsconfig output to es6
* Fix wrong import behavior on typescript according to webpack's doc
* Create an easymde component
2024-10-15 00:28:43 +02:00
thomas girod
a68e47ce8c
Merge pull request #890 from ae-utbm/update-python-deps
Upgrade python dependencies
2024-10-14 15:45:18 +02:00
Sli
0314aa6733 Upgrade python dependencies
* Upgrade pre-commit
* Upgrade model-bakery
* Uprgade mkdocstrings
* Upgrade mkdocstrings-python
* Upgrade mkdocs-material
2024-10-14 15:16:07 +02:00
thomas girod
496ad7ce9b
Merge pull request #868 from ae-utbm/delete-picture-confirm-button
Delete picture confirm button
2024-10-14 14:12:50 +02:00
NaNoMelo
efdd4a6b16 fix ruff breakpoint 2024-10-14 01:59:24 +02:00
Sli
0b31b215f6 Remove check_front command 2024-10-14 00:55:48 +02:00
Sli
7e1734aed5 Migrate chartjs to npm 2024-10-14 00:55:48 +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
cdf9519a9f Port galaxy to webpack 2024-10-13 20:09:55 +02:00
thomas girod
d77358eaac
Merge pull request #879 from ae-utbm/optimize-products-page
optimize: product list views
2024-10-13 19:20:01 +02:00
Sli
9609a7615b Don't apply js minification to webpack generated files 2024-10-13 17:14:21 +02:00
Sli
361a06e5b3 Migrate sentry to webpack 2024-10-13 17:14:21 +02:00
Sli
1720307c21 Add biome for typescript in vscode config 2024-10-13 17:00:09 +02:00
imperosol
15ae24f0bd optimize: product list views 2024-10-13 12:32:50 +02:00
thomas girod
143713fac1
Merge pull request #878 from ae-utbm/fix-invoices
fix: InvoiceQuerySet.annotate_total() (but this time good)
2024-10-13 11:57:59 +02:00
imperosol
e4845b580b fix: invoices month grouping 2024-10-13 11:47:22 +02:00
Sli
40c623b202 Optimize select2 import 2024-10-13 10:55:15 +02:00
Sli
092ace8432 Add commands to easily analyze webpack outputs 2024-10-13 10:55:15 +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
3b1d06a71d Update select2 documentation 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
imperosol
564d95f701 fix: InvoiceQuerySet.annotate_total() (but for real this time) 2024-10-13 10:37:48 +02:00
Sli
768e2867b5 Fix wrong formatter doc on vscode 2024-10-12 19:43:07 +02:00
Sli
f07a855e7e Remove history management from script.js and migrate sas albums to webpack 2024-10-12 19:19:23 +02:00
thomas girod
2fa9daf627
Merge pull request #872 from ae-utbm/invoices-bug
fix: InvoiceQuerySet.annotate_total()
2024-10-12 19:18:37 +02:00
NaNoMelo
a1bae7ced3 fix empty options in paginated with typescript 2024-10-12 18:59:06 +02:00