Commit Graph

5311 Commits

Author SHA1 Message Date
Fernando Fernández
356aacc6be feat(lint): uniformize ESLint commands
We override the CLI arguments passed at runtime to simplify our setup in a way
that all the extra config (cache, max warnings) also come from a single point,
without needing to update the run command of a lot of packages
2024-11-04 09:09:05 +01:00
Fernando Fernández
05a26faa65 feat(build): add size report 2024-11-04 09:09:05 +01:00
Fernando Fernández
c2b174dd77 chore(node): update to node 22 LTS 2024-11-04 09:09:05 +01:00
Weblate
81731e2237 chore(i18n): translate terms
Some checks are pending
Push & Release 🌍 / Automation 🎛️ (push) Waiting to run
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Waiting to run
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Waiting to run
Push & Release 🌍 / Deploy 🚀 (push) Blocked by required conditions
Co-authored-by: Kityn <kitynska@gmail.com>
Co-authored-by: stanol <stanol777@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/uk/
Translation: Jellyfin Vue/Jellyfin Vue
2024-11-02 20:45:18 -04:00
Weblate
6c4628fff7 chore(i18n): translate terms
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Has been cancelled
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Has been cancelled
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Has been cancelled
Push & Release 🌍 / Deploy 🚀 (push) Has been cancelled
Scheduled tasks 🕒 / GitHub CodeQL 🔬 (push) Has been cancelled
Co-authored-by: Brecht <itzbrecht@gmail.com>
Co-authored-by: Kirill <Kirill.veshtort@gmail.com>
Co-authored-by: Lantium <lantium69@gmail.com>
Co-authored-by: Rafael Morine <z8s5A3Ca3@users.noreply.translate.jellyfin.org>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: alison2033 <a23030485@gmail.com>
Co-authored-by: serj kazakov <walovari@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/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/ru/
Translation: Jellyfin Vue/Jellyfin Vue
2024-10-29 08:40:26 -04:00
Fernando Fernández
dba7c34649
perf&fix: some arrays to sets, defaulting state 2024-10-29 12:22:12 +00:00
Fernando Fernández
54f0f5b11f
feat(socket): subscribe to all events (#2482)
Some checks are pending
Push & Release 🌍 / Automation 🎛️ (push) Waiting to run
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Waiting to run
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Waiting to run
Push & Release 🌍 / Deploy 🚀 (push) Blocked by required conditions
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-10-28 16:06:02 +00:00
Fernando Fernández
75f83228ed
perf: use factory functions instead of structuredClone
Some checks are pending
Push & Release 🌍 / Automation 🎛️ (push) Waiting to run
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Waiting to run
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Waiting to run
Push & Release 🌍 / Deploy 🚀 (push) Blocked by required conditions
The usage of structuredClone in some key places was an unnecessary overhead, using factory functions is much more performant

Benchmark: https://jsbenchmark.com/#eyJjYXNlcyI6W3siaWQiOiJTYWtCNjk1VnZJdVMtR3dEc1JtYUUiLCJjb2RlIjoic3RydWN0dXJlZENsb25lKERBVEEudGVzdCk7IiwibmFtZSI6InN0cnVjdHVyZWRDbG9uZSIsImFzeW5jIjpudWxsLCJkZXBlbmRlbmNpZXMiOltdfSx7ImlkIjoidm5nODNBM0hLZTlUMlZFQkY4UEVIIiwiY29kZSI6IkRBVEEuZmFjdG9yeSgpOyIsIm5hbWUiOiJGYWN0b3J5IGZ1bmN0aW9uIiwiYXN5bmMiOm51bGwsImRlcGVuZGVuY2llcyI6W119XSwiY29uZmlnIjp7Im5hbWUiOiJGYWN0b3J5IGZ1bmN0aW9ucyB2cyBzdHJ1Y3R1cmVkQ2xvbmUiLCJwYXJhbGxlbCI6ZmFsc2UsImdsb2JhbFRlc3RDb25maWciOnsiZGVwZW5kZW5jaWVzIjpbXX0sImRhdGFDb2RlIjoiY29uc3QgdGVzdCA9IHtcbiAgbGF5b3V0OiB7XG4gICAgdHJhbnNpdGlvbjoge31cbiAgfVxufTtcblxuY29uc3QgZmFjdG9yeSA9ICgpID0-ICh7XG4gIGxheW91dDoge1xuICAgIHRyYW5zaXRpb246IHt9XG4gIH1cbn0pO1xuXG5yZXR1cm4geyB0ZXN0LCBmYWN0b3J5IH07In19
2024-10-28 12:57:36 +00:00
Fernando Fernández
410358c939
perf: reduce iterations and allocations (#2481)
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Has been cancelled
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Has been cancelled
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Has been cancelled
Push & Release 🌍 / Deploy 🚀 (push) Has been cancelled
* Object.keys and Object.values were used in some for loops,
which increased allocations and memory pressure unnecessarily.
2024-10-26 16:23:42 +00:00
Fernando Fernández
c992cbc667
ci: update comment even if build doesn't succeed 2024-10-26 13:41:21 +00:00
Fernando Fernández
3b796b8410
refactor(routing): simplify and improve robustness (#2479)
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Has been cancelled
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Has been cancelled
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Has been cancelled
Push & Release 🌍 / Deploy 🚀 (push) Has been cancelled
Scheduled tasks 🕒 / GitHub CodeQL 🔬 (push) Has been cancelled
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-10-24 22:17:11 +00:00
Fernando Fernández
f15bcdeb07
fix(router): endless recursion in HMR, server selection not available (#2478)
Some checks are pending
Push & Release 🌍 / Automation 🎛️ (push) Waiting to run
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Waiting to run
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Waiting to run
Push & Release 🌍 / Deploy 🚀 (push) Blocked by required conditions
2024-10-24 16:44:57 +00:00
Fernando Fernández
91324c5164
ci: add deployment alias to deployment message 2024-10-24 13:41:27 +00:00
renovate[bot]
0c52dd9447
chore(deps): update github/codeql-action action to v3.27.0 (#2475)
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Has been cancelled
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Has been cancelled
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Has been cancelled
Push & Release 🌍 / Deploy 🚀 (push) Has been cancelled
2024-10-23 08:08:52 +00:00
renovate[bot]
8a9c4d84a5
chore(deps): update npm (runtime) (#2472) 2024-10-23 08:00:40 +00:00
Fernando Fernández
66364dae7a
refactor: pause an effectScope instead of using watchPausable
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-10-23 09:38:48 +02:00
Weblate
2ab0a8e975 chore(i18n): translate terms
Some checks are pending
Push & Release 🌍 / Automation 🎛️ (push) Waiting to run
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Waiting to run
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Waiting to run
Push & Release 🌍 / Deploy 🚀 (push) Blocked by required conditions
Co-authored-by: Blackspirits <blackspirits@gmail.com>
Co-authored-by: Justin <derjustin05@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pt/
Translation: Jellyfin Vue/Jellyfin Vue
2024-10-22 16:58:24 -04:00
Fernando Fernández
12d6bc5376 perf: pause patching while navigating
This also fixes some data changes that happened hile navigating like:

* When using search and clicking on an item, the "No results available" message would appear
* When navigating to a liibrary, the transparency effects of the navdrawer or appbar would match those of the entering route.

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-10-22 22:46:16 +02:00
Fernando Fernández
67d03099c0 style: automatic eslint fix
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-10-22 22:46:16 +02:00
Fernando Fernández
97d6aa5a40 refactor: use useId from vue instead of uuid
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-10-22 22:46:16 +02:00
renovate[bot]
648705e137
chore(deps): update ci (#2469)
Some checks are pending
Push & Release 🌍 / Automation 🎛️ (push) Waiting to run
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Waiting to run
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Waiting to run
Push & Release 🌍 / Deploy 🚀 (push) Blocked by required conditions
2024-10-22 08:24:31 +02:00
renovate[bot]
f9ce95c42e
chore(deps): update tauri (#2471)
Some checks are pending
Push & Release 🌍 / Automation 🎛️ (push) Waiting to run
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Waiting to run
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Waiting to run
Push & Release 🌍 / Deploy 🚀 (push) Blocked by required conditions
2024-10-21 22:27:17 +02:00
Weblate
7198fcb9b7 chore(i18n): translate terms
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Has been cancelled
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Has been cancelled
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Has been cancelled
Push & Release 🌍 / Deploy 🚀 (push) Has been cancelled
Co-authored-by: AfmanS <andres.c.fernandes@gmail.com>
Co-authored-by: Roi Gabay <roigby@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/he/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pt/
Translation: Jellyfin Vue/Jellyfin Vue
2024-10-19 13:03:51 -04:00
Weblate
c746c20bbd chore(i18n): translate terms
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Has been cancelled
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Has been cancelled
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Has been cancelled
Push & Release 🌍 / Deploy 🚀 (push) Has been cancelled
Scheduled tasks 🕒 / GitHub CodeQL 🔬 (push) Has been cancelled
Co-authored-by: Gábor Pikó <pikogabor008@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/hu/
Translation: Jellyfin Vue/Jellyfin Vue
2024-10-16 05:03:58 -04:00
Fernando Fernández
6c4edb8461
ci: fix warning
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Has been cancelled
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Has been cancelled
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Has been cancelled
Push & Release 🌍 / Deploy 🚀 (push) Has been cancelled
2024-10-14 14:02:39 +00:00
renovate[bot]
a47a7d589b
chore(deps): update npm (development) (#2458) 2024-10-14 11:33:38 +00:00
renovate[bot]
a20caa6673
chore(deps): update npm (runtime) (#2467) 2024-10-14 13:24:45 +02:00
renovate[bot]
f5c68ffba5
chore(deps): update ci (#2462) 2024-10-14 11:05:07 +00:00
renovate[bot]
915123f2a7
chore(deps): update tauri (#2445) 2024-10-14 12:53:20 +02:00
Fernando Fernández
cb89d94228
chore: finish monorepo setup
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-10-14 12:34:51 +02:00
Fernando Fernández
4c4cdbc9db refactor: extract configs into its own package
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-10-14 12:24:01 +02:00
Fernando Fernández
4fa0a56ce2 refactor: extract vite plugins into its own package
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-10-14 12:24:01 +02:00
Fernando Fernández
e954d2ec3f fix: small lint fixes
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-10-14 12:24:01 +02:00
Fernando Fernández
aa2a2df346
ci: fix incorrect commit input in forks
Some checks are pending
Push & Release 🌍 / Automation 🎛️ (push) Waiting to run
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Waiting to run
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Waiting to run
Push & Release 🌍 / Deploy 🚀 (push) Blocked by required conditions
2024-10-13 18:25:27 +02:00
Weblate
472adcbd80 chore(i18n): translate terms
Some checks are pending
Push & Release 🌍 / Automation 🎛️ (push) Waiting to run
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Waiting to run
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Waiting to run
Push & Release 🌍 / Deploy 🚀 (push) Blocked by required conditions
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-10-12 19:43:08 -04:00
Fernando Fernández
6da3ba71dd
ci: cache rust, simplify artifact env vars
Some checks are pending
Push & Release 🌍 / Automation 🎛️ (push) Waiting to run
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Waiting to run
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Waiting to run
Push & Release 🌍 / Deploy 🚀 (push) Blocked by required conditions
2024-10-12 15:21:37 +00:00
Fernando Fernández
13a1846c8d
fix: tauri v2.0.0 build
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Has been cancelled
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Has been cancelled
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Has been cancelled
Push & Release 🌍 / Deploy 🚀 (push) Has been cancelled
Scheduled tasks 🕒 / GitHub CodeQL 🔬 (push) Has been cancelled
2024-10-04 09:43:34 +00:00
Fernando Fernández
3fbf550a15
ci(devcontainer): use official debian base image
Some checks are pending
Push & Release 🌍 / Automation 🎛️ (push) Waiting to run
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Waiting to run
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Waiting to run
Push & Release 🌍 / Deploy 🚀 (push) Blocked by required conditions
2024-10-03 23:53:00 +00:00
Fernando Fernández
e0a7569db7
ci: extract cloudflare's project name into a top level env var 2024-10-03 07:21:43 +00:00
Fernando Fernández
57607f1adc
ci: extract cf pages deployment url to top level env var 2024-10-03 07:11:40 +00:00
Weblate
d0be419ec8 chore(i18n): translate terms
Co-authored-by: BromTeque <weblate@bromteque.com>
Co-authored-by: Cavon Lee <cavonxx@gmail.com>
Co-authored-by: Sh_Cby <cby@live.cn>
Co-authored-by: 皇甫朝云 <hfzy2014@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/nb_NO/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/zh_Hans/
Translation: Jellyfin Vue/Jellyfin Vue
2024-10-02 15:49:30 -04:00
Weblate
7d76b12e68 chore(i18n): translate terms
Co-authored-by: BromTeque <weblate@bromteque.com>
Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/nb_NO/
Translation: Jellyfin Vue/Jellyfin Vue
2024-09-30 00:41:34 -04:00
Weblate
28d1163800 chore(i18n): translate terms
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Failing after 35s
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Failing after 34s
Push & Release 🌍 / Deploy 🚀 (push) Has been skipped
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Failing after 33s
Scheduled tasks 🕒 / GitHub CodeQL 🔬 (push) Failing after 0s
Co-authored-by: Lukáš Kucharczyk <lukas@kucharczyk.xyz>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/cs/
Translation: Jellyfin Vue/Jellyfin Vue
2024-09-20 08:04:29 -04:00
Fernando Fernández
70f092c28a
ci: use caches
This might be reverted later if the workflow execution time doesn't improve a little
2024-09-20 10:51:01 +00:00
Fernando Fernández
d6d55141bf
docs(rearme): point Fider to Vue tag 2024-09-20 09:48:18 +02:00
Fernando Fernández
02c624a617
ci: add pull request title linting
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Failing after 33s
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Failing after 33s
Push & Release 🌍 / Deploy 🚀 (push) Has been skipped
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Failing after 33s
2024-09-19 17:13:57 +00:00
ToastKiste21
ccb0754ae0
fix(router): don't use replace on every route when going back (#2464)
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Failing after 35s
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Failing after 33s
Push & Release 🌍 / Deploy 🚀 (push) Has been skipped
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Failing after 33s
Co-authored-by: Fernando Fernández <ferferga@hotmail.com>
2024-09-18 12:45:15 +00:00
renovate[bot]
43c3d5d1b9
chore(deps): update npm (runtime) (#2463) 2024-09-18 09:41:42 +00:00
renovate[bot]
33544d9d5b
chore(deps): update dependency vite to v5.4.6 [security] (#2465) 2024-09-18 11:29:35 +02:00
Weblate
2343dd8b6a chore(i18n): translate terms
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Failing after 43s
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Failing after 39s
Push & Release 🌍 / Deploy 🚀 (push) Has been skipped
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Failing after 41s
Co-authored-by: Kityn <kitynska@gmail.com>
Co-authored-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Co-authored-by: stanol <stanol777@gmail.com>
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/uk/
Translation: Jellyfin Vue/Jellyfin Vue
2024-09-18 00:12:11 -04:00