Commit Graph

4374 Commits

Author SHA1 Message Date
Fernando Fernández
27ddf30fb5
fix: genre/tags saving in metadata editor 2023-04-28 11:39:19 +02:00
Fernando Fernández
d30d56cc0a
fix: type errors, add recommended TS extension 2023-04-28 11:39:19 +02:00
Fernando Fernández
e0495d97cc
refactor: don't expose axios 2023-04-28 11:39:19 +02:00
Fernando Fernández
08b8d157c3
fix: music incorrectly playing and set state to undefined before setting mediaSource 2023-04-28 11:39:19 +02:00
Fernando Fernández
d930b852a4
feat: only a single item menu, minor improvements 2023-04-28 11:39:19 +02:00
Fernando Fernández
9eee4f9cfb
refactor: virtualgrid, snackbar, setup declaration
* Fix comments in VirtualGrid
* Use const in Snackbar
* Unformize script setup declaration

squash with snackbar
2023-04-28 11:39:19 +02:00
Fernando Fernández
11b7a90b09
refactor: remove complexity in playbackManager 2023-04-28 11:39:19 +02:00
Aiman
b6edcfd25f
fix: scanning task does not finish running (#1980)
Co-authored-by: Fernando Fernández <ferferga@hotmail.com>
2023-04-28 11:39:13 +02:00
Aiman
1fc6c0fe50
feat: add Refresh Metadata context menu to anything other than library (#1963)
Co-authored-by: Fernando Fernández <ferferga@hotmail.com>
2023-04-28 03:57:33 +02:00
Listum
dc5a6b62d7 chore(i18n): translate terms (Russian)
Currently translated at 100.0% (414 of 414 strings)

Translation: Jellyfin Vue/Jellyfin Vue
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ru/
2023-04-27 19:39:41 -04:00
Jan
a3c89ee108 chore(i18n): translate terms (German)
Currently translated at 99.7% (413 of 414 strings)

Translation: Jellyfin Vue/Jellyfin Vue
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
2023-04-27 19:39:41 -04:00
renovate[bot]
4d0a0ddc4c chore(deps): update dependencies 2023-04-27 20:46:51 +02:00
Fernando Fernández
854da788a1 chore: update vscode settings
vue-tsc 1.6.0 changed the used setting keys
2023-04-27 20:40:06 +02:00
renovate[bot]
68d1377f9b chore(deps): update development dependencies 2023-04-27 20:40:06 +02:00
Fernando Fernández
8d82f17d57 refactor(item-menu): move actions outside of functions 2023-04-27 20:05:28 +02:00
Fernando Fernández
61fd5b8457 refactor: simplify useConfirmDialog usage 2023-04-27 20:05:28 +02:00
noaione
283b47184b refactor: apply suggestion to use composables 2023-04-27 20:05:28 +02:00
noaione
95b1fe0701 feat: add Delete button to context menu
* Split from: https://github.com/jellyfin/jellyfin-vue/pull/1951
* Also add CanDelete to API requests
2023-04-27 20:05:28 +02:00
Aiman
6fdc59f597
feat: add Instant Mix to context menu (#1965)
Co-authored-by: Fernando Fernández <ferferga@hotmail.com>
2023-04-22 17:22:53 +02:00
renovate[bot]
2621d989da chore(deps): update development dependencies 2023-04-22 17:09:13 +02:00
renovate[bot]
c870d8e623 chore(deps): update dependencies 2023-04-22 17:06:27 +02:00
cd16b
d79adf73f2 chore(i18n): translate terms (Italian)
Currently translated at 100.0% (414 of 414 strings)

Translation: Jellyfin Vue/Jellyfin Vue
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/it/
2023-04-20 22:39:36 -04:00
stanol
0313f103c7 chore(i18n): translate terms (Ukrainian)
Currently translated at 100.0% (414 of 414 strings)

Translation: Jellyfin Vue/Jellyfin Vue
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/uk/
2023-04-20 22:39:36 -04:00
stanol
e75890d125 chore(i18n): translate terms (Ukrainian)
Currently translated at 100.0% (414 of 414 strings)

Translation: Jellyfin Vue/Jellyfin Vue
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/uk/
2023-04-19 22:39:38 -04:00
renovate[bot]
0b5513a278 chore(deps): update dependency eslint-plugin-jsdoc to v43 2023-04-19 23:53:18 +02:00
Weblate
d4476b1e32 chore(i18n): update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Jellyfin Vue/Jellyfin Vue
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/
2023-04-19 11:39:39 -04:00
kimpig
4d92a2f47b chore(i18n): translate terms (Korean)
Currently translated at 96.8% (401 of 414 strings)

Translation: Jellyfin Vue/Jellyfin Vue
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ko/
2023-04-19 11:39:39 -04:00
noaione
0875896582 fix: unable to submit metadata editor 2023-04-19 01:26:03 +02:00
Alehaaaa
a07bfaacfe chore(i18n): translate terms (Spanish)
Currently translated at 100.0% (414 of 414 strings)

Translation: Jellyfin Vue/Jellyfin Vue
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/es/
2023-04-18 11:39:36 -04:00
Oskari Lavinto
d87f74e54a chore(i18n): translate terms (Finnish)
Currently translated at 100.0% (414 of 414 strings)

Translation: Jellyfin Vue/Jellyfin Vue
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/fi/
2023-04-18 11:39:36 -04:00
Lukáš Kucharczyk
ab51d92cda chore(i18n): translate terms (Czech)
Currently translated at 100.0% (414 of 414 strings)

Translation: Jellyfin Vue/Jellyfin Vue
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/cs/
2023-04-18 11:39:36 -04:00
小造xu_zh
6631ad89fb chore(i18n): translate terms (Chinese (Simplified))
Currently translated at 100.0% (414 of 414 strings)

Translation: Jellyfin Vue/Jellyfin Vue
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/zh_Hans/
2023-04-18 11:39:36 -04:00
Thibault
4ba40c6a78 chore(i18n): translate terms (French)
Currently translated at 99.2% (411 of 414 strings)

Translation: Jellyfin Vue/Jellyfin Vue
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/fr/
2023-04-18 11:39:35 -04:00
Marc Schuler
63ddea0242 chore(i18n): translate terms (German)
Currently translated at 97.3% (403 of 414 strings)

Translation: Jellyfin Vue/Jellyfin Vue
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
2023-04-17 10:39:35 -04:00
Alerego
7a443adeac chore(i18n): translate terms (Italian)
Currently translated at 99.5% (411 of 413 strings)

Translation: Jellyfin Vue/Jellyfin Vue
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/it/
2023-04-16 23:39:37 -04:00
renovate[bot]
5ae89283da chore(deps): update development dependencies 2023-04-15 21:30:04 +02:00
Thibault Nocchi
1d73e48d2f fix(hls): export compatibility issue 2023-04-15 21:28:46 +02:00
renovate[bot]
323e62f822 chore(deps): update dependencies 2023-04-15 21:28:46 +02:00
Fernando Fernández
febb1b415b fix: replace startCase with upperFirst, locale change
lodash's startCase completely mangles outputs for languages with
non-common characters, like ñ.

We are using this function on single words, not sentences,
so this shouldn't be a problem at all.
2023-04-15 21:26:46 +02:00
Fernando Fernández
364ac10ed6 refactor: browser Intl API, resolve langs at build
Beforehand, we used https://github.com/ihmpavel/all-iso-language-codes
to get translations of the languages we need. That module generated the locale
names using Node.JS Intl API, as seen here: 5a2cdb56d2/scripts/generate.ts (L66)

The Intl.DisplayNames API is widely supported according to MDN docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames
Thus, it made sense to get the info we need at runtime. Also, all the language code translation
is probably going to be miles better and up-to-date to Unicode standards than whatever library we use,
which will always rely on updates. This movement also reduces bundle size by a lot!

Additionally, to reduce the burden the locale mismatch between our locales and date-fns pose,
I added some build-time logic to get into the bundle the date-fns locales that match our own locales **ONLY**.
This way, we avoid the huge import that `import * as datefnslocales from 'date-fns/locale'` posed
and we replace it with `import * as datefnslocales from 'virtual:date-fns/locales'` which is
guaranteed to:
- Only include the locales we have
- Be always up to date with our source code

All of this reduced bundle size from 4,626.04 kB to 2,737.94 kB according to Vite's stats
2023-04-15 21:26:46 +02:00
renovate[bot]
e0751a1bb3 chore(deps): update dependencies to v10 2023-04-14 15:41:02 +02:00
Aiman
3ad3426a01
fix: load attached fonts properly (#1953)
Co-authored-by: Fernando Fernández <ferferga@hotmail.com>
2023-04-14 15:09:21 +02:00
renovate[bot]
4a8e8e05f6
chore(deps): update CI dependencies 2023-04-14 11:35:55 +02:00
Fernando Fernández
16955dd870 chore: remove unnecessary TODO
We're already pinned on ES2022, so we don't need the TODO comment
2023-04-13 07:50:20 +02:00
Fernando Fernández
531449278e fix: unplugin-vue-router type generation for route names
unplugin-vue-router uses a different name generation for its routes, so the names didn't overlap beforehand
2023-04-13 07:50:20 +02:00
Fernando Fernández
8e620a5a28 fix: remaining type errors
Locales are fully typed now. Keep track of https://github.com/intlify/vue-i18n-next/issues/1116 for better TS support for them

- The rest of them are waiting for PRs at Vuetify's side, an SDK upgrade and a further investigation of our typed routes setup.
- Deep type instantiation is also fixed.
2023-04-13 07:50:20 +02:00
Eryk Michalak
6f533b5fca chore(i18n): translate terms (Polish)
Currently translated at 100.0% (413 of 413 strings)

Translation: Jellyfin Vue/Jellyfin Vue
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pl/
2023-04-12 17:39:35 -04:00
renovate[bot]
503c4f7049 chore(deps): update actions/checkout action to v3.5.1 2023-04-12 18:51:14 +02:00
renovate[bot]
aaefb01411 chore(deps): update dependency eslint-plugin-jsdoc to v41 2023-04-11 19:20:17 +02:00
Thibault Nocchi
a4e43b85c6 feat: working video version picker 2023-04-11 09:34:32 +02:00