Commit Graph

5119 Commits

Author SHA1 Message Date
Fernando Fernández
1c8f465a41
ci: continue on attestation errors
Signed-off-by: GitHub <noreply@github.com>
2024-07-11 15:52:39 +00:00
renovate[bot]
7f47ef06cb
chore(deps): update ci dependencies (#2396) 2024-07-05 17:54:27 +00:00
renovate[bot]
88cb844630
chore(deps): update npm dependencies (#2397) 2024-07-05 18:51:17 +02:00
Weblate
a8fa177b95 chore(i18n): translate terms
Co-authored-by: Mirronth <mirronth@outlook.com>
Co-authored-by: wolong gl <wolong98@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/hu/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/zh_Hans/
Translation: Jellyfin Vue/Jellyfin Vue
2024-07-04 17:04:27 -04:00
Fernando Fernández
ccb68a90c4
ci(docker): don't upload build record artifacts (#2395)
Follow-up of https://github.com/docker/build-push-action/issues/1151

Signed-off-by: GitHub <noreply@github.com>
2024-07-03 08:37:32 +00:00
renovate[bot]
67a9e553f9
chore(deps): update docker/build-push-action action to v6.3.0 (#2394) 2024-07-03 10:23:45 +02:00
Fernando Fernández
5f50e440cc
style: automatic fix
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-02 23:56:43 +02:00
Fernando Fernández
6752a3fc74
chore(eslint): migrate promise plugin to flat config
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-02 23:56:35 +02:00
renovate[bot]
d4be50a16d
chore(deps): lock file maintenance (#2362) 2024-07-02 21:31:28 +00:00
renovate[bot]
59ca218913
chore(deps): update dependency eslint to v9 (#2390) 2024-07-02 21:19:14 +00:00
renovate[bot]
da1011dc84
chore(deps): update npm development dependencies (#2364) 2024-07-02 21:02:53 +00:00
renovate[bot]
b58a561363
chore(deps): update cargo dependencies (#2392) 2024-07-02 20:54:21 +00:00
Fernando Fernández
329c3a95be
fix(eslint): incorrectly passed tseslint parser, upgrade to rc-v8
Signed-off-by: GitHub <noreply@github.com>
2024-07-02 20:41:57 +00:00
Fernando Fernández
e5e988e01b
fix: use pre watchers with vueuse until
By default, Vue watchers use pre flush timing. However, by default, VueUse uses sync for it's until composable

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-02 01:47:06 +02:00
Fernando Fernández
f7f93ec581
refactor: parallel latest data fetching, revert ff701d0
Passing isPlayed true does not show played + unplayed items together, but only played items.
It makes more sense to display both, but only played is probably the worst decision, so leaving the old defaults

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-01 21:56:55 +02:00
renovate[bot]
bcd82f90e1
chore(deps): update npm dependencies (#2388) 2024-07-01 19:36:35 +00:00
renovate[bot]
552448bf3a
chore(deps): update ci dependencies (#2389) 2024-07-01 19:26:56 +00:00
Fernando Fernández
cdfee6cc27 refactor: remove unnecessary conditional, default to enableUserData
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-01 21:16:51 +02:00
Fernando Fernández
ff701d0cb9 refactor: display played items in all latest media queries
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-01 21:16:51 +02:00
Fernando Fernández
6ce94388e7 fix: re-rendering at home page
* This caused swiper progress bar to not be shown correctly
* The issue was that latestFromLibrary was called inside the array, not passed as a promise.

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-01 21:16:51 +02:00
Fernando Fernández
5c1c86e69a refactor: use until composable from VueUse to simplify instead of effectScopes
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-01 21:16:51 +02:00
Weblate
b5da26fa19 chore(i18n): translate terms
Co-authored-by: Blackspirits <blackspirits@gmail.com>
Co-authored-by: Larvitar <chrycm1995@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pt/
Translation: Jellyfin Vue/Jellyfin Vue
2024-06-25 03:41:32 -04:00
Fernando Fernández
23dd83ad0c
chore(tsconfig): don't truncate errors
This has been one of my major pain points when working with TypeScript and TIL how to fix it!

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-06-23 22:59:35 +02:00
Fernando Fernández
a29d55d77b
style: automatic eslint fix
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-06-23 11:35:38 +02:00
Fernando Fernández
940915af9f
chore(eslint): migrate more plugins to flat config
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-06-23 11:35:28 +02:00
Fernando Fernández
60160e2b66
refactor(JSafeHtml): use createVNode
This allows us to directly insert the HTML without adding any extra DOM element

Sources:
* https://discord.com/channels/325477692906536972/568037134968160256/1254047268441690182
* https://discord.com/channels/325477692906536972/568037134968160256/1254210953415753738

createVnode is internally used by createStaticVNode:
edf263847e/packages/runtime-core/src/vnode.ts (L742)

However, it requires a 2nd parameter, which is the number of nodes we want to insert,
which is unknown/not trivial to calculate at runtime.
According to the comment in the function, that's only needed for hydration (SSR),
so it should be safe for us as we're SPA only.

Here's a playground:
https://play.vuejs.org/#__PROD__eNp9UsFu2zAM/RVBGFAH9Zxs3S6eHaAbCqw9dEUz7GRgVW06divLgkRnGQL/eym5dhyg6E0i3yMfyXfgl1pHuw54zBObm1ojs4CdXmeqbnRrkB2YrYSU7b97KEOWt43uEArWs9K0DTsj7tmEvdmIEn5iI1+T0XKKuCYEzFTeKotUp1MIhqWz6sFqkSnqfu0yOyGDYMHS9QiNKNLB+XnIPq1Wq8W3sVLl2qWTsFfSQ/K4/nA4ofbJ8nH9QC2S5TApzUgfhEZLgUA/xpLjBLEvvKRwspxheMjRUuey3kZPtlW0uINjZtwpqCWYXxprUpbxmPmMy/kRb3wMTQfhGM8ryJ/fiD/ZvYtl/M6ApWVAxqccCrMFHNJXm1vY03tKNm3RSUK/k7wH28rOaRxg3ztVkOwZzqu99iet1fa3vdojKDsO5YQ6ZO/xGafD/nhn9KPci+iL52Wqpy2eOGNmPynUNiUaVZmbcIMC65wMaIAO8ee2LSBk1YkNyRJEcAcvRQ7szrTaDjrcKWNm0dA4hCIFo3uO905ZoB0jHojeRVUwaxeMEmhfUNYKipB5RuTKL0IS+Qz/41mM9c6mmTqOWqsKTI2XiMZSx1JICx4Cez8nFRadnMmi5MyutLa/OzDuFLSxi+hrtPoopK5E9Jn3L3UsSes=

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-06-23 01:25:35 +02:00
Fernando Fernández
6cf9bbd4ec
fix(LoginForm): don't show change user button when no public users exist (#2387)
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-06-22 21:47:13 +00:00
renovate[bot]
dc99ab4acb
chore(deps): update npm development dependencies (major) (#2375) 2024-06-22 23:36:40 +02:00
renovate[bot]
7fd7a2b290
chore(deps): pin dependencies (#2386) 2024-06-22 21:25:00 +00:00
renovate[bot]
af4444f6e2
chore(deps): update docker/build-push-action action to v6.1.0 (#2380) 2024-06-22 21:14:28 +00:00
renovate[bot]
2fe6f99408
chore(deps): update dependency vue to v3.4.30 (#2379) 2024-06-22 21:03:47 +00:00
Fernando Fernández
4455859c53
refactor(docker): remove unnecessary files contained in nginx base image
Signed-off-by: GitHub <noreply@github.com>
2024-06-22 20:53:29 +00:00
Fernando Fernández
f3f60fb7e2
chore(deps): upgrade to Tauri v2 beta
It's a beta, but given Tauri support is currently given in a
best-effort basis, it's worth upgrading.

* It allows us to use SVG icons
* Faster to build in CI

It will also help us play with mobile builds in the future.

Signed-off-by: GitHub <noreply@github.com>
2024-06-22 20:53:29 +00:00
Fernando Fernández
f99680f873 ci(package): extract repeated artifact paths into env var
Signed-off-by: GitHub <noreply@github.com>
2024-06-22 22:34:03 +02:00
Fernando Fernández
70a406dc15 refactor(icon): replace with SVG
Use the icon from jellyfin-ux repository (https://github.com/jellyfin/jellyfin-ux/blob/master/branding/SVG/icon-transparent-vue.svg)

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-06-22 22:34:03 +02:00
Fernando Fernández
70ce3e64de
fix(time): ends at not taking current time into account (#2384)
Removed all the computed effects because all the time functions were (and will probably be) always used inside templates.

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-06-22 01:13:25 +00:00
Fernando Fernández
909886227f perf: skip transition on low FPS, improve input device detection
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-06-21 18:31:48 +02:00
Fernando Fernández
8166599310 fix(logout): delay api store cleanup
This also fixes crashes during logout

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-06-21 18:31:48 +02:00
Fernando Fernández
c6f8d7a62e perf(blurhash): draw canvas offscreen
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-06-21 18:31:48 +02:00
Fernando Fernández
16a8b88d60 refactor(vue-router): remove vue-router/auto usage
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-06-21 18:18:49 +02:00
Fernando Fernández
2158d2654d chore(deps): remove radix-vue, upgrade vue-router
We added Radix-Vue to use their Slot component, but we have our own which is functional and more performant. I'm also still not convinced they must be our way forward for replacing Vuetify.

Also upgrade vue-router dependencies given our lockfile is currently broken due to eslint v9 and we still need manual changes to remove all the `vue-router/auto` imports (they're in another commit)

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-06-21 18:18:49 +02:00
Fernando Fernández
c46af59856
fix(JSafeHtml): not correctly passing innerHTML
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-06-21 13:09:10 +02:00
renovate[bot]
60f24c4143
chore(deps): update ci dependencies (#2377) 2024-06-18 22:38:33 +02:00
Weblate
f331747733 chore(i18n): translate terms
Co-authored-by: AfmanS <andres.c.fernandes@gmail.com>
Co-authored-by: Blackspirits <blackspirits@gmail.com>
Co-authored-by: Emanuel Santos <emaeva4@gmail.com>
Co-authored-by: Jean Franz <franzjean37@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pt/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pt_BR/
Translation: Jellyfin Vue/Jellyfin Vue
2024-06-18 02:36:47 -04:00
renovate[bot]
e2cf10b3ec
chore(deps): update docker/build-push-action action to v6 (#2376) 2024-06-17 14:01:08 +02:00
renovate[bot]
9f25a92bc5
chore(deps): update dependency eslint-plugin-unicorn to v54 (#2373) 2024-06-14 18:54:29 +02:00
renovate[bot]
9c9b56a96f
chore(deps): update dependency vue to v3.4.29 (#2374) 2024-06-14 18:51:03 +02:00
Fernando Fernández
9998e645cc
chore(tsc): increase type checking speed by reusing type graph between checks
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-06-14 18:23:17 +02:00
renovate[bot]
39104c88f6
chore(deps): update dependency vue to v3.4.28 (#2372) 2024-06-14 10:07:49 +00:00
Fernando Fernández
ea94171be1
chore(eslint): name anonymous configs, migrate i18n to flat config
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-06-14 00:55:33 +02:00