Commit Graph

4679 Commits

Author SHA1 Message Date
Fernando Fernández
722e475791
chore(vscode): update settings.json
Due to an update to the ESLint extension, the settings schema has changed.
ESLint attempts to change them to the new options as soon as it detects the old ones. We set our desired behaviour
(by default to do all the heavy lifting for us), so nobody else commits incorrect settings by accident or
uses the incorrect behaviour

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-11 08:53:24 +01:00
Weblate
63507f2e36 chore(i18n): translate terms
Co-authored-by: Kityn <kitynska@gmail.com>
Co-authored-by: Lukáš Kucharczyk <lukas@kucharczyk.xyz>
Co-authored-by: alwe2710 <alwe2710@gmail.com>
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/pl/
Translation: Jellyfin Vue/Jellyfin Vue
2023-12-08 14:00:28 -05:00
Weblate
3fa05b9d3c chore(i18n): translate terms
Co-authored-by: lldsolitude <lldsolitude@outlook.com>
Co-authored-by: stanol <stanol777@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/uk/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/zh_Hans/
Translation: Jellyfin Vue/Jellyfin Vue
2023-12-07 16:19:22 -05:00
Fernando Fernández
37736c4d82
style: automatic eslint fix
Signed-off-by: GitHub <noreply@github.com>
2023-12-07 10:58:23 +00:00
Fernando Fernández
f54b5c02d7
refactor(typescript): switch to moduleResolution bundler
Vuetify was updated to support it and we no longer use vite-plugin-pages
and vite-plugin-vue-layouts
which previously were our blockers

Signed-off-by: GitHub <noreply@github.com>
2023-12-07 10:55:55 +00:00
renovate[bot]
aad5d692c8
chore(deps): update npm dependencies (#2161)
Because of the Vuetify's changelong on this update, this might improve or fix #2028
2023-12-07 11:46:49 +01:00
Fernando Fernández
4e3b9dc5af
fix: object promise in item descriptions
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-06 18:07:26 +01:00
Brian Charles Arnold
b7c05b3a8c
feat(seasons): add links back to a series and season from an episode (#2135)
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
Co-authored-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-06 17:26:42 +01:00
Fernando Fernández
75194af082 fix: show error message when the password doesn't match
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-06 17:18:31 +01:00
Fernando Fernández
ee5a6c0456 refactor: minor readability improvements
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-06 17:18:31 +01:00
Fernando Fernández
9959dc5af4 feat(types): strict layout type checking
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-06 17:18:31 +01:00
Fernando Fernández
cdea1beafe refactor: update locations to match unplugin-vue-router structure
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-06 17:18:31 +01:00
Radmacher
0eca22dd49 refactor: move all translations to root level, fix typo 2023-12-06 17:18:31 +01:00
Radmacher
887ff70a5b feat(settings): users list page 2023-12-06 17:18:31 +01:00
Marc Radmacher
17829a6f6f refactor: address review comments 2023-12-06 17:18:31 +01:00
Radmacher
fbfc352e66 refactor: blocked categories checkboxes 2023-12-06 17:18:31 +01:00
Radmacher
74cdd08be1 style: refactor styles of user settings pages 2023-12-06 17:18:31 +01:00
Radmacher
353fbd45d3 feat(settings): user 2023-12-06 17:18:31 +01:00
renovate[bot]
76e7ec3d74
chore(deps): update npm development dependencies (#2158) 2023-12-06 14:22:42 +01:00
renovate[bot]
cfb8825185
chore(deps): update npm dependencies (#2159) 2023-12-06 14:20:05 +01:00
Fernando Fernández
3031b29021
ci!: drop linux/arm support
armhf/armv7+ architecture is being dropped these days by a multitude
of other applications in favor of arm64
We kept it because, back at the time, Raspberry Pi OS 64 was really new
and there wasn't a widespread support of the architecture in that specific SBC
family. This is no longer the case, so the importance
to keep it just for the sake of backwards compatibility is really low.

It's not the first time since arm has posed some challenges after the introduction
of lightningcss. We could always deprecate it (being it's Vite support experimental)
but the possibility to automatically have the best CSS compatibility just by using browserslists
is a really huge advantage over the old PostCSS/esbuild setup.
Plus the resulting CSS it's smaller in size.

Upstream doesn't want to really support the platform either (and they're somewhat right): https://github.com/parcel-bundler/lightningcss/issues/563

Signed-off-by: GitHub <noreply@github.com>
2023-12-06 13:17:34 +00:00
Fernando Fernández
ca75e3a5d2
chore(docker): remove unnecessary commands from setup.sh (#2157)
* There's already an nginx user in the container
* Join chowns into a single statement
* Remove ``--ignore-scripts``, in an attempt to fix arm (unsuccessfully)

The chances of exploting ignore scripts (initially proposed by SonarCloud) is really low:

* It runs into a container
* The container is 99% of the times built in GiHub Actions environment.

It also introduces a mismatch between lint and typecheck commands and most dev environments (not everyone runs npm with that flag enabled).
2023-12-05 19:40:33 +01:00
renovate[bot]
9faa72a102
chore(deps): lock file maintenance (#2153) 2023-12-05 18:58:05 +01:00
renovate[bot]
3ccd013e81
chore(deps): update npm dependencies to v10.7.0 (#2154) 2023-12-05 18:45:11 +01:00
renovate[bot]
7f976affe8
chore(deps): update rust crate tauri to v1.5.3 (#2151) 2023-12-05 18:43:16 +01:00
Fernando Fernández
96a6833dd3
revert: f68f807
In Vite 4, a simple regex was used to replace the variable,
which would lead to undefined at runtime.

That commit was a temporary fix until Vite 5 landed in stable, since supposedly it would
improved upon this: https://vitejs.dev/guide/migration.html#rework-define-and-import-meta-env-replacement-strategy

However, Vite's 5 behaviour it's still pure AST replacement (but consistent between dev and prod this time!)

In order to avoid having the same constant repeated multiple times and increasing our bundle size,
we are using the virtual modules to achieve the same behaviour. This way, we also have:

* Proper TypeScript support
* No need to configure the global in multiple places (like eslint config),
* No need for an environment.d.ts file anymore.
* The commit hash is a pure JavaScript const, we don't need to think about it differently
and workaround the mismatches from Vite that lead us to refactor the commit hash stamping
multiple times already.

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-05 18:36:17 +01:00
Fernando Fernández
3aaf8066a1
refactor: await unawaited marked, type improvements
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-05 17:13:12 +01:00
Fernando Fernández
6fde8d50d8 feat(router): implement native-like scrolling behaviour
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-05 16:38:09 +01:00
Fernando Fernández
9822a3ccbd refactor(router): type fixes
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-05 16:38:09 +01:00
Fernando Fernández
9c01b21a4b refactor: fix route names
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-05 16:38:09 +01:00
Fernando Fernández
325d4aac58 refactor: update page folder tree
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-05 16:38:09 +01:00
Fernando Fernández
2b6149e3ea refactor: plug unplugin-vue-router
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-05 16:38:09 +01:00
Fernando Fernández
a8a46d5c8e chore: update vue-router imports
To vue-router/auto imports, as per unplugin-vue-router docs

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-05 16:38:09 +01:00
Fernando Fernández
6b563bc321 refactor: remove vite-plugin-pages
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-05 16:38:09 +01:00
Fernando Fernández
33f0522ea1
style: eslint automatic fix
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-05 14:01:20 +01:00
Fernando Fernández
8f0df9f97c
feat(eslint): add @stylistic/eslint new rules
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-05 14:00:34 +01:00
renovate[bot]
54ac75f4be
chore(deps): update npm development dependencies (#2147) 2023-12-05 13:51:07 +01:00
renovate[bot]
2eeef1912b
chore(deps): update npm development dependencies (major) (#2125) 2023-12-05 13:48:42 +01:00
Fernando Fernández
1716da7d96 style: automatic eslint fix
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-05 13:39:30 +01:00
Fernando Fernández
4896ad319c refactor(eslint): migrate config to @stylistic/eslint-plugin
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-05 13:39:30 +01:00
Fernando Fernández
16614a7fc8 refactor(eslint): install @stylistic/eslint-plugin
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-05 13:39:30 +01:00
Weblate
32e3addbb2 chore(i18n): translate terms
Co-authored-by: Oatavandi <oatavandi@gmail.com>
Co-authored-by: queeup <queeup@zoho.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ta/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/tr/
Translation: Jellyfin Vue/Jellyfin Vue
2023-12-04 17:11:37 -05:00
renovate[bot]
555635c9ee
chore(deps): update actions/labeler action to v5 (#2152) 2023-12-04 16:43:12 +01:00
renovate[bot]
27c5c5705d
chore(deps): update npm dependencies (#2149) 2023-12-04 16:30:16 +01:00
Weblate
5ff058d820 chore(i18n): translate terms
Co-authored-by: Ben <1thri5hv@anonaddy.me>
Co-authored-by: Dr. Mücke <simon.mueck@outlook.com>
Co-authored-by: queeup <queeup@zoho.com>
Co-authored-by: zsxeee <im@zsxe.ee>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/fr/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/tr/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/zh_Hans/
Translation: Jellyfin Vue/Jellyfin Vue
2023-11-30 09:57:57 -05:00
renovate[bot]
fb7284a1fc
chore(deps): update dependency marked to v11 (#2150) 2023-11-30 00:52:02 +01:00
renovate[bot]
6ad0acfc35
chore(deps): update ci dependencies (#2146) 2023-11-30 00:48:29 +01:00
renovate[bot]
e347a56ecf
chore(deps): update npm dependencies (#2141) 2023-11-25 11:22:37 +01:00
renovate[bot]
5b1bab1027
chore(deps): update npm development dependencies (#2140) 2023-11-25 11:11:37 +01:00
renovate[bot]
9a64359dfa
chore(deps): update dependency marked to v10 (#2138) 2023-11-25 10:52:48 +01:00