Commit Graph

891 Commits

Author SHA1 Message Date
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
renovate[bot]
3ccd013e81
chore(deps): update npm dependencies to v10.7.0 (#2154) 2023-12-05 18:45:11 +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]
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]
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
Weblate
2c67d611ad chore(i18n): translate terms
Co-authored-by: Simon-Pierre Corriveau <spccorriveau@gmail.com>
Co-authored-by: hoanghuy309 <hoanghuy309@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/fr/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/vi/
Translation: Jellyfin Vue/Jellyfin Vue
2023-11-16 23:25:54 -05:00
Fernando Fernández
7d52df8a56 chore: remove redundant information from workspace's package.json
The same information is already in the top level package.json,
so it's unnecessary to have it repeated.

Signed-off-by: GitHub <noreply@github.com>
2023-11-15 19:34:03 +01:00
Fernando Fernández
551892dc85 chore: minor cleanup of unneeded eslint plugins
* eslint-plugin-no-extend-native doesn't look like it's maintained and upstream
features should be good enough for our use case

* eslint-plugin-eslint-comments is in a similar situation: eslint now
reports unused eslint comments and the rest of useful rules
are already integrated in eslint-plugin-unicorn:
https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-abusive-eslint-disable.md

Signed-off-by: GitHub <noreply@github.com>
2023-11-15 19:34:03 +01:00
renovate[bot]
24683e77a9
chore(deps): update npm development dependencies (#2124) 2023-11-10 13:25:54 +01:00
renovate[bot]
a2f7e6fc06
chore(deps): update npm dependencies (#2119) 2023-11-10 13:22:54 +01:00
Fernando Fernández
a95962fbfd refactor: layout system
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-11-09 16:46:19 +01:00
Fernando Fernández
1f642b45d6 refactor: remove vite-plugin-vue-layouts
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-11-09 16:46:19 +01:00
Fernando Fernández
7ab0d26e3f
chore: remove old include from tsconfig.json
Signed-off-by: GitHub <noreply@github.com>
2023-11-09 15:01:10 +00:00