Commit Graph

4692 Commits

Author SHA1 Message Date
renovate[bot]
6f98c304ae
chore(deps): update actions/setup-node action to v4.0.1 (#2169) 2023-12-30 16:31:27 +01:00
renovate[bot]
cebdb24cf1 chore(deps): update npm dependencies 2023-12-20 09:58:18 +00:00
Weblate
3c32968b9d chore(i18n): translate terms
Co-authored-by: Lukáš Kucharczyk <lukas@kucharczyk.xyz>
Co-authored-by: Sepp Jeremiah Morris <Seppdroidgaming@gmx.us>
Co-authored-by: queeup <queeup@zoho.com>
Co-authored-by: stanol <stanol777@gmail.com>
Co-authored-by: 皇甫朝云 <hfzy2014@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/nl/
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/zh_Hans/
Translation: Jellyfin Vue/Jellyfin Vue
2023-12-16 14:02:33 -05:00
Fernando Fernández
ad19e26d46
ci: use javascript-typescript instead of javascript in CodeQL
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-16 16:47:37 +01:00
renovate[bot]
c94638ed95
chore(deps): update npm development dependencies 2023-12-16 16:47:37 +01:00
Fernando Fernández
dd6ba99bee
ci: update to artifacts v4
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-16 16:47:32 +01:00
renovate[bot]
71f504c990
chore(deps): update ci dependencies 2023-12-16 14:54:18 +01:00
Fernando Fernández
d4705522d5
ci: add merge queue support (#2167)
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-16 14:54:13 +01:00
Fernando Fernández
6416e7a76c fix: remove old and complete todo comments
* Vue 3.3.12 fixed the v-bind issue
* The pattern matching proposal was there from pre-Vue 3 era.
It will mark devices as deprecated for no sensible improvement, a switch
clause it's more than fine.

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-16 13:47:31 +01:00
renovate[bot]
4bb4bb7e06 chore(deps): update npm dependencies 2023-12-16 13:47:31 +01:00
Fernando Fernández
52676faee8 chore: move some vue-router imports to vue-router/auto
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-16 13:33:34 +01:00
Fernando Fernández
deacdccd93 style: disable import/order to use VSCode's ordering instead
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-16 13:33:34 +01:00
Fernando Fernández
b7f2714d97
perf(devcontainer): simplify initialization
Signed-off-by: GitHub <noreply@github.com>
2023-12-13 00:51:45 +00:00
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