Commit Graph

1317 Commits

Author SHA1 Message Date
Fernando Fernández
b609bfabae refactor: non working watchers in all branches
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-09-06 16:08:19 +02:00
Fernando Fernández
f3260d9225
chore(typecheck): prepare for fallthrough attributes type-checking
vue-tsc add supports for fallthrough attributes type-checking,
but we need to enable it.

See release notes: https://github.com/vuejs/language-tools/releases/tag/v2.1.0

Signed-off-by: GitHub <noreply@github.com>
2024-09-06 15:57:33 +02:00
Fernando Fernández
a60a0c1259
refactor: remove dpdm, npm commands, bundle analysis (#2447)
* The dpdm dependency was used just for checking circular dependencies in the bundle. However, it was not perfect, not analyzing the real bundle, but the source files. We were just leveraging Rollup's (Vite internal bundler) warnings for that already when analyzing the bundle, which always gave us the real information. Now, `analyze` consists in 2 different commands (analyze:bundle for the bundle and analyze:cycles for finding cycles)

* The npm commands have been grouped by scope

* Extracted analyze Vite commands to a plugin, so the main config is cleaner.

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-09-06 12:47:56 +02:00
renovate[bot]
bec180e18d
chore(deps): update dependency vue to v3.5.3 (#2444) 2024-09-06 10:24:47 +00:00
renovate[bot]
46c25be1b6
chore(deps): update npm development dependencies (#2422) 2024-09-06 10:14:40 +00:00
Fernando Fernández
a498375f5a
chore(deps): update dependency eslint-plugin-import-x to v4.2.1
This dependency is updated independently from #2434 for
avoiding the duplicate `node_modules` directory that `eslint-plugin-sonarjs` creates
in the `frontend` directory.

That issue will be solved until `eslint-plugin-sonarjs` updates to typescript-eslint v8

This commit also allows us to unblock other dependency updates, like #2422, which was blocked because it contained the old `eslint-plugin-import-x` that still relied on `typescript-eslint` v7,
causing the same issue as `eslint-plugin-sonarjs` is causing now.

Signed-off-by: GitHub <noreply@github.com>
2024-09-06 10:03:45 +00:00
Fernando Fernández
5f9e35533f
refactor(JImg): provide default fallbacks
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-09-04 17:33:57 +02:00
Fernando Fernández
29eb74250f
style: automatic eslint fix
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-09-04 17:19:16 +02:00
renovate[bot]
859cbfeae3
chore(deps): update npm dependencies (#2439) 2024-09-04 14:55:54 +00:00
Fernando Fernández
3f51a3aab9 feat: upgrade to ESNext
We should pin to an specific version but, in the meantime, this is needed for type-checking `Object.groupBy`

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-09-04 14:06:17 +02:00
Fernando Fernández
6ee554d150 refactor: remove lodash
Signed-off-by: GitHub <noreply@github.com>
2024-09-04 14:06:17 +02:00
renovate[bot]
37690891f8
chore(deps): update npm dependencies (including vue@3.5.0) (#2427) 2024-09-04 00:36:16 +02:00
Weblate
383e6db80a chore(i18n): translate terms
Co-authored-by: Fernando <ferferga.fer@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ca/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/cs/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/el/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/es/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/fr/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/it/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/nb_NO/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/nl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pl/
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/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/sl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/sv/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/tr/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/uk/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/vi/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/zh_Hans/
Translation: Jellyfin Vue/Jellyfin Vue
2024-09-02 03:25:41 -04:00
Weblate
74d5cd3570 chore(i18n): translate terms
Co-authored-by: 176665930 <176665930+0xviolation1@users.noreply.github.com>
Co-authored-by: Fernando <ferferga.fer@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/da/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/el/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/fil/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/it/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/kk/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ml/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/nl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pt_BR/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ro/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ru/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/sk/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/tr/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/vi/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/zh_Hant/
Translation: Jellyfin Vue/Jellyfin Vue
2024-09-02 03:22:17 -04:00
Fernando Fernández
c6783ac97f
fix(locale/en): replace 3-dots with ellipsis
This is needed to pass Weblate checks

Signed-off-by: GitHub <noreply@github.com>
2024-09-02 07:15:14 +00:00
Fernando Fernández
c887f1799e
fix(locales/ru): unnecessary (and wrong) translation of dimensions
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-09-01 17:07:14 +02:00
Weblate
317f7d6370 chore(i18n): translate terms
Co-authored-by: Fedor M <k930bx@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ru/
Translation: Jellyfin Vue/Jellyfin Vue
2024-08-31 09:12:53 -04:00
Fernando Fernández
39d812ef9f
fix(JSafeHtml): reactivity
Signed-off-by: GitHub <noreply@github.com>
2024-08-29 07:21:04 +00:00
Fernando Fernández
83a1e84606
perf: use async decoding and eager loading in images (#2437)
Signed-off-by: GitHub <noreply@github.com>
2024-08-29 09:19:04 +02:00
Fernando Fernández
2b8f533b86
fix(app): startup due to lacking FontFace implementation in Firefox
Source: https://github.com/jellyfin/jellyfin-vue/issues/2432
Closes #2432
2024-08-21 14:06:44 +02:00
renovate[bot]
5849830aca
chore(deps): update vueuse to v11 (major) (#2428) 2024-08-19 12:58:51 +02:00
Weblate
5aac985951
chore(i18n): translate terms
Co-authored-by: Freespirit297 <freespirit2907@gmail.com>
Co-authored-by: serj kazakov <walovari@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/nl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ru/
Translation: Jellyfin Vue/Jellyfin Vue
2024-08-18 13:18:14 -04:00
Fernando Fernández
316a692233
refactor: simplify page titles in setting pages (#2431)
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-08-18 14:22:51 +02:00
Fernando Fernández
dd774057e9
feat: ensure all resources are loaded before mount (#2430)
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-08-17 20:16:49 +02:00
renovate[bot]
13c5cdaa64
chore(deps): update dependency axios to v1.7.4 [security] (#2425) 2024-08-14 00:27:15 +02:00
Weblate
841c1a4141 chore(i18n): translate terms
Co-authored-by: Freespirit297 <freespirit2907@gmail.com>
Co-authored-by: Sepp Jeremiah Morris <Seppdroidgaming@gmx.us>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/nl/
Translation: Jellyfin Vue/Jellyfin Vue
2024-08-13 08:09:32 -04:00
Weblate
bf9fd1a963 chore(i18n): translate terms
Co-authored-by: Freespirit297 <freespirit2907@gmail.com>
Co-authored-by: Sepp Jeremiah Morris <Seppdroidgaming@gmx.us>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/nl/
Translation: Jellyfin Vue/Jellyfin Vue
2024-08-13 07:51:42 -04:00
Weblate
3f47fb75a4 chore(i18n): translate terms
Co-authored-by: Araz <alhamdani.araz@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ar/
Translation: Jellyfin Vue/Jellyfin Vue
2024-08-13 07:32:21 -04:00
David Schulte
bc69685d3a
feat: add support for native PGS subtitle rendering without transcoding (#2404)
Co-authored-by: Fernando Fernández <ferferga@hotmail.com>
2024-08-11 08:41:32 +02:00
Fernando Fernández
5f4249bb27 refactor: simplify loginGuard logic 2024-08-09 19:15:35 +02:00
Beat YT
961f242ab8 fix(serverAdd): block server addition and selection when disallowed b… 2024-08-09 19:15:35 +02:00
Fernando Fernández
0de6181d50
style: automatic eslint fix
Signed-off-by: GitHub <noreply@github.com>
2024-08-09 16:25:53 +00:00
renovate[bot]
705893d09b
chore(deps): update npm dependencies (#2413) 2024-08-09 14:09:57 +02:00
Fernando Fernández
d8fd5b7aba chore: remove unnecessary type casting in html.ts
After the update of marked to v14, the returned type corresponds to the passed ``async`` option, so the casting is no longer necessary.
2024-08-09 14:07:05 +02:00
renovate[bot]
baa84db331 chore(deps): update dependency marked to v14 2024-08-09 14:07:05 +02:00
renovate[bot]
29c4b32241
chore(deps): update npm development dependencies (major) (#2412) 2024-08-09 11:41:03 +00:00
Fernando Fernández
48709875b6 chore(deps): fixup eslint
Signed-off-by: GitHub <noreply@github.com>
2024-08-09 13:25:29 +02:00
renovate[bot]
f62b877b24 chore(deps): update npm development dependencies 2024-08-09 13:25:29 +02:00
Weblate
6bc441cf63 chore(i18n): translate terms
Co-authored-by: Robin <robin@rslot.nl>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/nl/
Translation: Jellyfin Vue/Jellyfin Vue
2024-08-07 02:29:23 -04:00
Weblate
c7a581d924 chore(i18n): translate terms
Co-authored-by: A1exMinatoooo <alex.liu.199911@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ja/
Translation: Jellyfin Vue/Jellyfin Vue
2024-08-02 06:59:09 -04:00
Weblate
a87e1d6b75 chore(i18n): translate terms
Co-authored-by: Justin <derjustin05@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
Translation: Jellyfin Vue/Jellyfin Vue
2024-07-24 11:04:18 -04:00
Weblate
76fc8a9342 chore(i18n): translate terms
Co-authored-by: Achim Walz <achim@aalso-walz.de>
Co-authored-by: BotBlake <B0TBlake@protonmail.com>
Co-authored-by: Justin <derjustin05@gmail.com>
Co-authored-by: Pascal Riemer <pascal01riemer@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
Translation: Jellyfin Vue/Jellyfin Vue
2024-07-24 10:51:17 -04:00
Weblate
ea2f7a4f36 chore(i18n): translate terms
Co-authored-by: Bananenaffe <wegwerf-wolter@protonmail.ch>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
Translation: Jellyfin Vue/Jellyfin Vue
2024-07-23 08:41:33 -04:00
Weblate
a6acc2eb83 chore(i18n): translate terms
Co-authored-by: Manoj <nehasahani645@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/el/
Translation: Jellyfin Vue/Jellyfin Vue
2024-07-12 22:31:05 -04:00
Fernando Fernández
97c2c18704 refactor(SettingsPage): remove dynamic key
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-12 18:31:21 +02:00
Fernando Fernández
6ab53522b7 style: automatic eslint fix
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-12 18:31:21 +02:00
Fernando Fernández
0001c5a11e chore(eslint): fix some (not all) SFC recognition problems, refactors
* Simplify config
* Add depend and unocss
* Re-introduce @stylistic/padding-lines-between-statements
* Delete .eslintrc.bak since ESLint v9 config is mostly
stable and there's no much useful info there that couldn't be
checked by simply going back in git history (it was left here
for keeping it a hand when migrating rules while
plugins were still migrating to v9).

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-12 18:31:21 +02:00
renovate[bot]
3b7c46d89f
chore(deps): update npm development dependencies (#2408) 2024-07-12 18:18:58 +02:00
Fernando Fernández
924701e84a
fix(JVirtual): loss of scroll link
A race condition between the worker and the scroll events might happen where the computed property doesn't have
access to the cached data before the last scroll event

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-12 00:36:50 +02:00
Fernando Fernández
02e55af04a
perf(validation): exchange nullish checks
Across our codebase it's more probable to deal with undefined than with null so it makes sense to check it first
and return the result as soon as possible

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-12 00:32:16 +02:00