1515 Commits

Author SHA1 Message Date
Fernando Fernández
50fa0080c5
fix(PlayerElement): wait for next tick so element is mounted before setting source (#2549)
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-12-29 12:33:31 +00:00
Fernando Fernández
d07b69e46d
refactor: use parallel fetching when possible (#2547)
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-12-29 12:33:30 +00:00
Fernando Fernández
7a1d35c92f refactor(auth): create onBeforeLogout and onAfterLogout callbacks
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
This greatly simplifies the timing of the cleanups performed when the current user logs out of the application

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-12-29 03:29:01 +01:00
Fernando Fernández
ad8cc2cb90 refactor(tsconfig): enable noUncheckedIndexedAccess
Also took some tips from https://www.totaltypescript.com/tsconfig-cheat-sheet
Not implemented any of the options mentioned, but also
it's worth looking to https://www.totaltypescript.com/typescript-is-coming-to-node-23
to prepare for future Node native TypeScript support.

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-12-29 03:29:01 +01:00
Fernando Fernández
56c8393f57 refactor: use computed in stores, simplifications
Initially, when we were migrating to Vue 3, `value` was really annoying
to work with. However, as time has passed by, using `value` provided
a clear advantage over reactive: It was clear when a value was reactive,
when without it, it was not. Also, using TypeScript getters
meant we had to do some dirty workarounds (like verify in watchers
if the id of the item currently playing was the same after the current one
after shuffling). With computed, we can use the `previous` argument
of the callback and everything should be more performant (since everything
is cached and recalculated only on dependency changes, instead of on every access)

We could also refactor some properties to use VueUse's computedAsync (
like `currentPlaybackInfo` in `playbackManager`) and keep everything
consistent (so we don't end up with a mixed usage of computed and getters)
2024-12-29 03:29:01 +01:00
Fernando Fernández
165b2eccb8 refactor: use generator function for generic worker
This spawns the worker only when needed, avoiding the extra memory usage of keeping it running all the time

Also properly release the worker in JVirtual

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-12-29 03:29:01 +01:00
Fernando Fernández
ac972e347a
fix: sonda on codespaces (#2544)
Make Vite serve the report itself using the preview server
2024-12-27 10:31:49 +00:00
renovate[bot]
a531ed9793
chore(deps): update npm (development) (#2541) 2024-12-26 08:49:36 +01:00
renovate[bot]
9a5dd811f1
chore(deps): update npm (development) (#2451)
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-12-26 07:37:53 +00:00
Fernando Fernández
283ba5d13d
refactor(socket): simplify autoReconnect 2024-12-26 07:18:13 +00:00
renovate[bot]
1735dfa672
chore(deps): update npm (runtime) to v12.2.0 (#2542) 2024-12-26 08:14:59 +01:00
Weblate
4a4f3e874a 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: TidosDK <git@msnn.dev>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/da/
Translation: Jellyfin Vue/Jellyfin Vue
2024-12-24 01:07:22 -05:00
Weblate
db5d4a74de 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: Jhe-An Lee <jheanlee2008@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/zh_Hant/
Translation: Jellyfin Vue/Jellyfin Vue
2024-12-21 16:19:07 -05:00
renovate[bot]
9a97138f93
chore(deps): update npm (development) (#2533) 2024-12-19 16:06:44 +00:00
renovate[bot]
5f6393bbe4
chore(deps): update npm (runtime) (#2534) 2024-12-19 15:56:41 +00:00
Weblate
a52ac871e4 chore(i18n): translate terms
Co-authored-by: stanol <stanol777@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/uk/
Translation: Jellyfin Vue/Jellyfin Vue
2024-12-19 10:30:39 -05:00
Fernando Fernández
30ec240ea0
fix(GenericItemCard): overlay background alpha (#2537)
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-12-18 22:47:42 +00:00
Fernando Fernández
ea266d84f7
style: automatic eslint fix 2024-12-18 22:20:38 +00:00
Fernando Fernández
82858809b2
refactor(JImg): minor cleanup (#2535)
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-12-17 20:02:57 +00:00
Weblate
b716419f52 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: luizfern12 <luizfernandovidalprogramador@hotmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pt_BR/
Translation: Jellyfin Vue/Jellyfin Vue
2024-12-13 04:50:16 -05:00
renovate[bot]
9fda254386
chore(deps): update npm (development) (#2527)
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-12-10 07:06:27 +00:00
renovate[bot]
4dd9967789
chore(deps): update npm (runtime) (#2528) 2024-12-10 07:48:41 +01:00
EffakT
297b4fe6eb
refactor: Update subtitle streams to use TextTrack indexes (#2529)
* refactor: Update subtitle streams to use TextTrack indexes, instead of MediaStream indexes

* Add comment referring to bug in jellyfin server regarding subtitles
2024-12-10 07:39:40 +01:00
Weblate
88cec72fb3 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: Minegamer06 <moritzhempfling76@gmail.com>
Co-authored-by: queeup <queeup@zoho.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/tr/
Translation: Jellyfin Vue/Jellyfin Vue
2024-12-08 17:44:16 -05:00
Fernando Fernández
d956503242
chore: minor monorepo cleanup
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-12-06 10:48:36 +01:00
Fernando Fernández
b832d5de17
chore(deps): update major dev dependencies
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-12-03 14:17:09 +01:00
renovate[bot]
b0e25f3c00
chore(deps): update npm (development) (#2518) 2024-12-03 12:51:26 +00:00
Fernando Fernández
d064e980b2
feat(types): add types for v-hide directive (#2523)
Minor type fix for ASSUB as well

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-12-03 12:39:32 +00:00
Fernando Fernández
7ac729462d
fix(BlurhashCanvas): canvas disappear after the page has been minimized for a long time (#2522)
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-12-03 12:30:00 +00:00
Fernando Fernández
0992b2d4ff
refactor: use type-fest types (#2520)
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-12-03 10:49:12 +00:00
renovate[bot]
6ed3f68acc
chore(deps): update npm (development) (#2512)
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-11-29 12:45:52 +00:00
renovate[bot]
c309a2a56e
chore(deps): update npm (runtime) (#2513) 2024-11-29 13:35:15 +01:00
Fernando Fernández
9c4beafb2a
feat(JTransition): safeguard for fragment nodes (#2516)
Inspired by @brys0 on [Matrix](https://matrix.to/#/!kPTHLknOmRaexLxUwT:matrix.org/$-2SSyUrRxqdYH-5C5-37bGE2XzlEZCCVUH5WY3AxlrM?via=bonifacelabs.ca&via=t2bot.io&via=matrix.org)
2024-11-29 12:34:59 +00:00
sean
944506ad2a
refactor(subtitles): remove custom ssa parsing (#2514)
With the recent switch to ass.js there's no reason for maintaining custom ass parsing anymore as it handles most cases. The removal will also speed up the loading of ass subtitles as they wont need to be parsed and loaded twice before rendering.
2024-11-29 11:59:31 +00:00
hawken
19aa23aa58
fix: navigation out of video player - VOverlay was hijacking navigation (#2515) 2024-11-29 12:50:47 +01:00
hawken
0607bf34a7
fix: /server/login with disabled server selection (#2504)
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: Fernando Fernández <ferferga@hotmail.com>
2024-11-28 22:24:38 +01:00
renovate[bot]
52c005bd34
chore(deps): update npm (runtime) (#2511) 2024-11-28 09:45:10 +01:00
Fernando Fernández
756a218edf
chore(deps): update major versions of vueuse, marked
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-11-28 08:39:54 +00:00
renovate[bot]
bc9bb8278a
chore(deps): update npm (development) (#2510) 2024-11-28 09:34:13 +01:00
Fernando Fernández
3292ebd1ab
chore(deps): update to vite 6 2024-11-27 08:50:46 +00:00
Brys
b7a2952917
feat(subtitles): switch to assjs subtitle renderer (#2500)
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
Advanced SSA or ASS subs should now be rendered in DOM using assjs. This should greatly improve the performance of subtitle rendering.
Still have to "figure out" the "Precise Rendering" option to enable transcoding of subtitles on the server.

Co-authored-by: Fernando Fernández <ferferga@hotmail.com>
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-11-26 13:10:48 +01:00
renovate[bot]
6c46e7e9c0
chore(deps): update npm (runtime) (#2507) 2024-11-26 09:08:43 +01:00
renovate[bot]
1bc5a5cae7
chore(deps): update npm (runtime) (#2502)
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-11-25 12:23:49 +00:00
renovate[bot]
ec5713aa4f
chore(deps): update npm (development) (#2501) 2024-11-25 12:14:39 +00:00
Fernando Fernández
fdc6c414be
style: automatic eslint fix 2024-11-25 11:57:52 +00:00
renovate[bot]
2dc321e9fe
chore(deps): update npm (development) (#2497)
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-11-20 13:55:07 +00:00
renovate[bot]
769c578a1c
chore(deps): update npm (runtime) (#2499) 2024-11-20 14:43:34 +01:00
Weblate
7b632a36cc chore(i18n): translate terms
Co-authored-by: Ace <ahmadalhebel69@gmail.com>
Co-authored-by: Simon-Pierre Corriveau <spccorriveau@gmail.com>
Co-authored-by: yorah <yoram.harmelin@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/sv/
Translation: Jellyfin Vue/Jellyfin Vue
2024-11-20 02:00:08 -05:00
renovate[bot]
53b1b52a11
chore(deps): update dependency vue to v3.5.13 (#2498)
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
This update fixes a memory leak with Vue's Transition and also reduces it's memory usage making it easily garbage collectable.
2024-11-15 21:17:16 +00:00
Weblate
04972b9b6b 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: Lantium <lantium69@gmail.com>
Co-authored-by: Martin <martinbotko97@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/fr/
Translation: Jellyfin Vue/Jellyfin Vue
2024-11-13 01:08:41 -05:00