Fernando Fernández
f87f1940fb
chore: enable VSCode project-wide problem reporting
...
Signed-off-by: GitHub <noreply@github.com>
2024-03-20 15:52:29 +00:00
Fernando Fernández
8082b77438
refactor: use pointer events instead of mouseup and mousedown ( #2268 )
...
Signed-off-by: GitHub <noreply@github.com>
2024-03-19 21:24:19 +01:00
Fernando Fernández
051d25765d
refactor: extract blurhash worker in an independent chunk, output paths
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 18:29:45 +01:00
renovate[bot]
52f2fd6780
chore(deps): update npm dependencies ( #2262 )
2024-03-17 16:35:23 +00:00
PixyTM
1572b1fb01
fix(JImg): stretched actor images ( #2256 )
2024-03-17 17:08:53 +01:00
Fernando Fernández
db2f23a06c
chore: remove unnecessary @unocss/reset package
...
The resets are already included in unocss package, so the extra package was unnecessary
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 17:01:02 +01:00
Fernando Fernández
5a963a88d6
refactor&fix: use watchImmediate (from VueUse) in immediate watchers, remove some sync watchers
...
The sync watcher removal fixes the login screen getting stuck in an endless loading state
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 17:01:02 +01:00
Fernando Fernández
8f8597bd95
feat(network): better connection loss management
...
* Distinguish between socket and server conection
* The distinction removes the need for the 'ensureWebSocket' guard.
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 17:01:02 +01:00
Fernando Fernández
44ce0cfaa0
fix(middlewares): redirect user out of login pages if it's already logged in
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 17:01:02 +01:00
Fernando Fernández
d5afd7d252
refactor: migrate some components to shallowref
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 17:01:02 +01:00
Fernando Fernández
77a64b9e63
perf&refactor(meta): improve default meta handling per-route
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 17:01:02 +01:00
Fernando Fernández
7866e5a658
refactor(stores): create SyncedStore and apply to clientSettings
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 17:01:02 +01:00
Fernando Fernández
5919993e95
refactor: Create abstract store classes
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 17:01:02 +01:00
Fernando Fernández
6f4ae41499
fix(types): vue router types
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 17:01:02 +01:00
Fernando Fernández
bda3e87c77
refactor(playback): create usePlayback composable
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
Co-authored-by: endrl <119058008+endrl@users.noreply.github.com>
2024-03-17 17:01:02 +01:00
Fernando Fernández
fd7fc92e3c
refactor(store): player-element uses now computed getters/setters
...
Although using .value might seem cumbersome at first, having computed getters/setters are clearer code-wise when using watchers and type-wise it's clear
that the variable is fully reactive (instead of having to guess)
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 17:01:02 +01:00
Fernando Fernández
225e5465b9
refactor&feat: add sealed decorator and uniformize filename casing
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 17:01:02 +01:00
Weblate
22615a1565
chore(i18n): translate terms
...
Co-authored-by: snowflakexuehui <xuehui1994@outlook.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/zh_Hans/
Translation: Jellyfin Vue/Jellyfin Vue
2024-03-14 16:20:25 -04:00
renovate[bot]
2ef5b841ec
chore(deps): update npm dependencies ( #2253 )
2024-03-13 17:50:19 +00:00
renovate[bot]
db5e0eea94
chore(deps): update npm development dependencies ( #2259 )
2024-03-13 18:29:49 +01:00
Weblate
9895d7a89f
chore(i18n): translate terms
...
Co-authored-by: Fynn Gutic <guticfynn@gmail.com>
Co-authored-by: iNc <huber.bene@icloud.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
Translation: Jellyfin Vue/Jellyfin Vue
2024-03-10 19:13:35 -04:00
renovate[bot]
04b23e26c3
chore(deps): update npm development dependencies ( #2251 )
2024-03-10 11:20:50 +01:00
PixyTM
5c9265fb9d
fix(video): height and width in player ( #2258 )
2024-03-09 21:59:50 +01:00
Fernando Fernández
4d25947286
fix(video): styles ( #2257 )
...
* The video was not centering nor stretching when necessary
* By default, stretch is disabled and the video keeps it's proportions
* This fix also simplifies the styles
Fix #2255
2024-03-09 15:46:18 +00:00
renovate[bot]
073eff192a
chore(deps): update dependency @intlify/unplugin-vue-i18n to v3 ( #2252 )
2024-03-07 18:55:59 +01:00
Fernando Fernández
bc986af1a3
refactor: remove codesmell and eslint ignore
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-07 17:11:26 +01:00
renovate[bot]
644cb93f43
chore(deps): update npm dependencies ( #2245 )
2024-03-07 09:34:23 +00:00
renovate[bot]
d13aa2b7a7
chore(deps): update npm development dependencies ( #2249 )
2024-03-07 09:22:52 +00:00
Fernando Fernández
a379e25b01
feat(ui): switch to Radix and Inter, cleanups ( #2250 )
...
* Inter is going to be one of the brand Jellyfin fonts, as discussed in Matrix's UI/UX channels. Check this: https://matrix.to/#/!xrSDQsdjElWFYUAMoG:matrix.org/$_ZCxjEgHmaYdFo6aiCfqdXSnhEvg8UAksk0NG5PUhZg?via=bonifacelabs.ca&via=t2bot.io&via=matrix.org (Previous messages are also relevant)
* Add radix-vue to use their components as base. There is only one modification I would like to have to their components (the ability to pass arbitrary props to Primitive) but it's something that's likely to be accepted upstream
* Minor cleanup in Carousel styles
* Use the client font as Jassub's font
* Install UnoCSS and it's resets (not enabled yet due to Vuetify inconsistencies)
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-07 10:12:44 +01:00
renovate[bot]
63981e1ca3
chore(deps): update npm development dependencies ( #2246 )
2024-03-05 13:37:47 +00:00
renovate[bot]
4c85040b0b
chore(deps): update npm dependencies ( #2243 )
2024-03-03 22:48:12 +00:00
renovate[bot]
b78090408c
chore(deps): update npm development dependencies ( #2238 )
2024-03-03 22:32:10 +00:00
renovate[bot]
e63594e150
chore(deps): update dependency vue-tsc to v2 ( #2244 )
2024-03-03 13:03:57 +01:00
Weblate
c096a24611
chore(i18n): translate terms
...
Co-authored-by: Kityn <kitynska@gmail.com>
Co-authored-by: Lukáš Kucharczyk <lukas@kucharczyk.xyz>
Co-authored-by: SAKURA <Yejia995@gmail.com>
Co-authored-by: stanol <stanol777@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/pl/
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
2024-03-02 16:20:05 -05:00
renovate[bot]
28f465adf1
chore(deps): update npm dependencies ( #2239 )
2024-02-29 14:06:03 +00:00
qwerzl
3ab8291ea7
fix: correctly trigger show password button ( #2242 )
2024-02-29 14:50:39 +01:00
Weblate
1280d49651
chore(i18n): translate terms
...
Co-authored-by: Artem Nizhenskyi <inqurity@proton.me>
Co-authored-by: DJSweder <djsweder@gmail.com>
Co-authored-by: Leonardo Lopes da Luz <thesimulador@gmail.com>
Co-authored-by: iNc <huber.bene@icloud.com>
Co-authored-by: queeup <queeup@zoho.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/pt/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ru/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/tr/
Translation: Jellyfin Vue/Jellyfin Vue
2024-02-29 04:09:25 -05:00
Fernando Fernández
44e803178c
refactor: playback reporting throttling ( #2232 )
...
- Throttles the function instead of using a variable
- Don't always throttle, so status changes are also propagated correctly.
2024-02-26 09:49:29 +00:00
Fernando Fernández
5f95962854
revert: "refactor(data-manipulation): use defu"
...
This reverts commit d158dc33e6
.
defuSchema does also apply to deep values, which we don't want.
2024-02-26 10:35:01 +01:00
Fernando Fernández
d158dc33e6
refactor(data-manipulation): use defu
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-26 10:00:01 +01:00
Fernando Fernández
75f194a82a
chore: automatic eslint fix
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-26 09:46:21 +01:00
Fernando Fernández
e84539a929
chore: disable eslint-plugin-no-unsanitized
...
It conflicts with @intlify/vue-i18n. Wait until the conflicts are fixed or the config is migrated to flat config to reenable.
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-26 09:46:21 +01:00
Fernando Fernández
29851e1e8a
chore(types): update unplugin-vue-router types
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-26 09:46:21 +01:00
Fernando Fernández
7ff8cae0ae
refactor: switch to useXStorage functions from vueuse
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-26 09:46:21 +01:00
renovate[bot]
88a8d08049
chore(deps): update npm development dependencies (major) ( #2223 )
2024-02-26 09:44:17 +01:00
renovate[bot]
868ffc12c2
chore(deps): update npm development dependencies ( #2209 )
2024-02-26 09:13:54 +01:00
Fernando Fernández
7f8bd1a0f6
fix(vuetify): remove defaultRtl handling
...
With [3.5.0](https://github.com/vuetifyjs/vuetify/releases/tag/v3.5.0 ),
the defaultRtl information is hardcoded in the package and can't be treeshaken with our method.
Signed-off-by: GitHub <noreply@github.com>
2024-02-26 09:09:05 +01:00
renovate[bot]
8305937f6f
chore(deps): update npm dependencies
2024-02-26 09:09:05 +01:00
Fernando Fernández
02b7cefcb0
fix: correct snackbar message
...
The snackbar message for 'playNext' was suitable for the context menu action, but not for the snackbar message to be displayed to confirm said action
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-24 14:13:09 +01:00
Weblate
45dbcbb478
chore(i18n): translate terms
...
Co-authored-by: grayair <grayair@proton.me>
Co-authored-by: hoanghuy309 <hoanghuy309@gmail.com>
Co-authored-by: queeup <queeup@zoho.com>
Co-authored-by: sleepycatcoding <veiko.isberg@gmail.com>
Co-authored-by: snowflakexuehui <xuehui1994@outlook.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/et/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pt_BR/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/tr/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/vi/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/zh_Hans/
Translation: Jellyfin Vue/Jellyfin Vue
2024-02-22 23:12:56 -05:00
Fernando Fernández
97e0a4dad6
feat(auth&config): add 'allowServerSelection', fix server wait on boot ( #2233 )
...
* Fix the users being redirected to the 'Add Server' screen (fixes #2117 ) on first start
* Allow to disable the server selection screen with a new key: 'allowServerSelection'
WARNING: When that screen it's disabled, the following situations will leave the client in an endless loading state if:
- No default servers have been provided
- The first default server provided can't be reached
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-23 00:31:31 +00:00
Fernando Fernández
0f19fbbfe5
refactor: wait for DOM for JImg preloader removal, readability
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 23:37:56 +01:00
Fernando Fernández
1356f5913a
fix(lint): some style-based lint errors
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 16:25:08 +01:00
Fernando Fernández
da85617e92
refactor(BlurhashImage): migrate to JImg
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 16:25:08 +01:00
Fernando Fernández
8c11462bc9
refactor(Identify): use GenericCard
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 16:25:08 +01:00
Fernando Fernández
ca503928bb
refactor: use more shallowRefs
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 16:25:08 +01:00
Fernando Fernández
ccd90bbf1c
refactor: match emit variable name
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 16:25:08 +01:00
Fernando Fernández
75f8c97f6e
fix(card): menu disappearing as soon as hover ends
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 16:25:08 +01:00
Fernando Fernández
30232dc714
refactor(types): stricter type checking at items utils
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 16:25:08 +01:00
Fernando Fernández
bdcbc1e362
refactor(Card): rename to ItemCard and GenericItemCard
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 16:25:08 +01:00
Fernando Fernández
597087a852
fix(types): types in settings page
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 16:25:08 +01:00
Fernando Fernández
86bd1ae295
refactor(SwiperSection): add reactive logic
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 16:25:08 +01:00
Fernando Fernández
9ec14829a3
refactor(Card): extract to GenericCard
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 16:25:08 +01:00
Fernando Fernández
2e3e002e4b
refactor(JHover): remove hoverProps
...
Signed-off-by: GitHub <noreply@github.com>
2024-02-22 01:59:04 +01:00
Fernando Fernández
4d2b2a7fa7
feat(JSlot): create JSlot component
...
Imported from radix-vue with some modifications to use it as SFC
Signed-off-by: GitHub <noreply@github.com>
2024-02-22 01:59:04 +01:00
Fernando Fernández
83bf3da1c9
perf(render): remove increased buffer in VirtualGrid
...
With Card rendering less components, we can render faster, so displaying less components equals to the same experience we had previously with increased buffers
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-20 23:23:30 +01:00
Fernando Fernández
b3ab55006b
perf(render): don't render overlayed components until hover on Card
...
The card component was rendering ItemMenu, PlayButton and LikeButton at once,
even when not being displayed on screen.
Now, they're just rendered when necessary.
Memory usage went from ~78 MB to ~35 MB consistently in one of my libraries' view.
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-20 23:23:30 +01:00
Fernando Fernández
785992f925
fix: jittery JHover ( #2228 )
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-20 20:48:48 +00:00
renovate[bot]
8fe669e97f
chore(deps): update dependency marked to v12 ( #2221 )
2024-02-14 14:46:42 +01:00
Weblate
fe71c6d7d7
chore(i18n): translate terms
...
Co-authored-by: 428_tm <55181masui@seiko.ac.jp>
Co-authored-by: Anssi <anssi_t.l@hotmail.com>
Co-authored-by: David Vitez <david_vitez@proton.me>
Co-authored-by: Gianluca Coviello <coviello.gl@gmail.com>
Co-authored-by: LesDomen <domen.les@student.um.si>
Co-authored-by: hoanghuy309 <hoanghuy309@gmail.com>
Co-authored-by: snowflakexuehui <xuehui1994@outlook.com>
Co-authored-by: 沢城アリス <suika-sakura@outlook.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/fi/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/it/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ja/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/sl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/vi/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/zh_Hans/
Translation: Jellyfin Vue/Jellyfin Vue
2024-02-02 03:55:59 -05:00
Weblate
2c59845675
chore(i18n): translate terms
...
Co-authored-by: Tine Šubic <tine.subic@solvesall.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/sl/
Translation: Jellyfin Vue/Jellyfin Vue
2024-01-29 05:34:50 -05:00
Weblate
ed2d5932a0
chore(i18n): translate terms
...
Co-authored-by: 428_tm <55181masui@seiko.ac.jp>
Co-authored-by: Kévin LEBLOND <team@flixod.net>
Co-authored-by: LesDomen <domen.les@student.um.si>
Co-authored-by: Tine Šubic <tine.subic@solvesall.com>
Co-authored-by: victories <hasan@hasangul.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/fr/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ja/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/sl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/tr/
Translation: Jellyfin Vue/Jellyfin Vue
2024-01-29 05:34:31 -05:00
Weblate
a0b1625727
chore(i18n): translate terms
...
Co-authored-by: Malang Jan <haron@rcm.se>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/sv/
Translation: Jellyfin Vue/Jellyfin Vue
2024-01-25 00:42:54 -05:00
Weblate
37c3aa12ee
chore(i18n): translate terms
...
Co-authored-by: Retrial <giwrgosmant@gmail.com>
Co-authored-by: queeup <queeup@zoho.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/el/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/tr/
Translation: Jellyfin Vue/Jellyfin Vue
2024-01-23 01:22:48 -05:00
renovate[bot]
b1d94dd437
chore(deps): update dependency vite to 5.0.12 [security] ( #2215 )
2024-01-21 16:49:53 +00:00
Fernando Fernández
b8df101c23
refactor: reduce calculations in VirtualGrid and extract computed
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-21 17:25:13 +01:00
Fernando Fernández
842207d5f4
feat: force previous track on previous button double click
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-21 17:24:43 +01:00
Fernando Fernández
e52d31444d
fix: lost socket reactivity ( #2214 )
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-19 10:10:04 +00:00
Fernando Fernández
5e8653fef4
refactor(api/composable): skip global loading on data refresh
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-18 16:39:48 +01:00
Fernando Fernández
5968590509
refactor: extract BetterOmit and Mutable types to global scope
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-18 16:39:48 +01:00
Fernando Fernández
8026f1c84f
refactor: fix import sorting discrepancies
...
(for real this time)
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-18 13:52:18 +01:00
Fernando Fernández
623affc143
refactor: add readonly to class methods, remove unnecessary continue from loop
...
Fix some SonarCloud's smells
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-17 21:20:57 +01:00
Fernando Fernández
e637caa170
refactor: create JHover and change vue-router component imports
...
* Switching some of the smallest pieces off Vuetify
* Import the typed RouterView and RouterLink versions of the components
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-17 21:20:57 +01:00
Fernando Fernández
caaacb24c6
perf: reduce items on-screen in ItemGrid
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-17 21:20:57 +01:00
Fernando Fernández
b71c532134
refactor: move all typeof statements to @/utils/validation
...
* Way less verbose than the full statement
* Lighter on bundle size
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-17 21:20:57 +01:00
Fernando Fernández
15dfc151ac
refactor: add isArray validation function
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-17 21:20:57 +01:00
Fernando Fernández
590cdd8235
perf: switch from lodash's isEqual to fast-equals
...
Way faster and maintained library: https://github.com/planttheidea/fast-equals
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-17 21:20:57 +01:00
Fernando Fernández
140e6f29c1
perf: replace lodash is-nil with native implementation
...
* It's faster: https://www.measurethat.net/Benchmarks/Show/8769/0/lodash-isnil-vs-native-isnil
* Lighter in bundle
* lodash has been unmaintained for a long time and it's a good idea to reduce our reliance on it
* There's no need to have a 3rd party dependency for such a trivial check
* No need to disable any of "eslint-plugin-you-dont-need-lodash-underscore" rules
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-17 21:20:57 +01:00
Fernando Fernández
902b348893
refactor: put everything into the singletons
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-17 21:20:57 +01:00
Weblate
45736449dc
chore(i18n): translate terms
...
Co-authored-by: Hans Cronau <JellyfinWeblate@hanscronau.anonaddy.com>
Co-authored-by: Kityn <kitynska@gmail.com>
Co-authored-by: Lukáš Kucharczyk <lukas@kucharczyk.xyz>
Co-authored-by: Ramazan Sancar <ramazansancar4545@gmail.com>
Co-authored-by: Sh_Cby <cby@live.cn>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: bene toffix <benetoffix@gmail.com>
Co-authored-by: hoanghuy309 <hoanghuy309@gmail.com>
Co-authored-by: stanol <stanol777@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ca/
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/pl/
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/vi/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/zh_Hans/
Translation: Jellyfin Vue/Jellyfin Vue
2024-01-17 11:27:46 -05:00
Fernando Fernández
a040d3324c
fix: previous playback button and repeatall mode
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-16 16:45:10 +01:00
Fernando Fernández
d6da6cdb2f
fix(playback): minor
...
* Queue menu was impossible to close
* Previous button was wrongfully disabled
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-16 15:46:23 +01:00
Fernando Fernández
693a2c3218
chore: downgrade to vue@3.4.8
...
There are patching issues with Suspense from 3.4.9-3.4.14
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-16 15:39:37 +01:00
Fernando Fernández
8da6ca0a91
refactor: remove redundant anonymous string
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-16 15:33:44 +01:00
Fernando Fernández
fd0c62af7d
feat: use hls.js worker
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-16 15:32:27 +01:00
renovate[bot]
c56c6b1609
chore(deps): update npm development dependencies ( #2206 )
2024-01-11 12:44:33 +01:00
renovate[bot]
02520f3712
chore(deps): update npm dependencies ( #2204 )
2024-01-11 11:32:11 +00:00
EffakT
94c8090340
fix: add immediate tag to MediaSources watcher ( #2205 )
...
Co-authored-by: Fernando <ferferga.fer@gmail.com>
2024-01-10 23:26:01 +01:00
Fernando Fernández
ff9f91ed68
fix: caching conditions in library view
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 12:27:03 +01:00
Weblate
cefe3f7140
chore(i18n): translate terms
...
Co-authored-by: Achim Walz <achim@aalso-walz.de>
Co-authored-by: Fernando <ferferga.fer@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: hoanghuy309 <hoanghuy309@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/vi/
Translation: Jellyfin Vue/Jellyfin Vue
2024-01-10 05:01:14 -05:00
Fernando Fernández
61f4e701bf
chore: remove unnecessary option & automatic fix
...
* Since Vue's defineModel has been promoted to stable, vue-eslint-parser included support for it in 9.4.0, so there's
no need for us to specify the macro manually
* Automatic eslint fix for @stylistic new fixes
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:30:38 +01:00
renovate[bot]
189336d25a
chore(deps): update npm development dependencies ( #2185 )
2024-01-10 09:26:42 +00:00
renovate[bot]
8332e28e8b
chore(deps): update dependency eslint-plugin-jsdoc to v48 ( #2193 )
2024-01-10 09:16:03 +00:00
Fernando Fernández
5371a67e9b
fix: login with incorrect credentials stuck in endless loop
...
* Also removed unnecessary setting from VSCode settings.json (reported by Volar)
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
75cfd7bab6
fix: appropiate callback flush timers for watchers
...
* Do a first pass on playback's manager watchers. The lack of sync was causing playback reporting to miss updates
* Set post as flush timer for stores cleanup
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
304131dbe8
feat: show wait cursor while loading
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
5836585a2c
perf: separate reactive items into different collections
...
This is probably better than having a giant collection with another level of nesting
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
96af2db953
refactor: simplify previous request handling and error state
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
94666c564d
fix(composables/api): offlineparams promise
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
3a9d94fa76
refactor: migrate playback related stuff and add lazy loading to library page
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
d6e5cff1b2
fix: properly block navigation when changing pages
...
We've never been using Suspense to blcok navigation properly (which wasn't so relevant, since we didn't have many long promises like we have now)
We were wrongly swapping the key prop in the div, which effectively killed the inner suspense, not taking into account the async dependency tree
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
3cd3abde09
refactor: migrate search and some settings pages to api composables
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
b92ebfeaef
feat(composables): always return previous data when there is a request in progress
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
134b3a9811
perf: optimize baseitem adding performance
...
Do a single loop instead of 2
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
5877c6ce5c
refactor: use useBaseItem composable in library pages
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
88904dc64c
refactor: improve splashscreen
...
* Remove the animation, showing only the Vuetify's background colors for each color scheme.
* Move all the splashscreen logic to App.vue, so we can hide the splashscreen only when suspense has finished resolving everything
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
13639d745c
chore: disable vite chunk warnings
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
20fad93d21
fix: correct type signature for *QueryResult responses
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
9a98d7455f
feat: handle loading state in api composables instead of axios
...
Allows for fine-grained control over the loading state. Merge skipCache with it.
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
8a0d2ecb65
feat: handle offline state in apis composable
...
When there's no connection, the request will be saved so it gets executed as soon as the connection to the server is recovered
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
39af077b3a
refactor: remove router import from auth plugin
...
This was the main thing that lead to ReferenceErrors and circular dependencies.
Wasn't refactored before to at least get the client working in production (although with quite a lot of reference errors)
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
f34a07167e
refactor: extract sortBy into defaultSortOrder
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
a252615f56
perf: remove useless structuredClone
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
2f3fbad706
fix: markplayedbutton and likebutton in endless loading and loops
...
* Endless loading was fixed by initializing the loading ref to false. resolveAndAdd has full control now.
* Requests loops were happening because the watcher could fire. Given the passed objects are getters,
it was difficult for it to determine if the args really changed.
Now, we map toValue and check for equality
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
c20d89147f
refactor: add userId automatically in composables, improve typing
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
951b4b3b18
refactor: migrate markplayedbutton and relateditems to new composable
...
* Ensure reactivity by not destructuring itemId in most places
* Removed placeholder for Vuetify skeletons, we're not going to use them anymore with the refactors
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
d37647e033
feat: allow undefined for api, methodName on composable, skipCache
...
Use the new composable in LikeButton
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
dc6476d4a3
feat: handle item deletion on apistore
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
86886a620d
fix: reference errors
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
d8d1b35821
refactor: remove suspenseview
...
Rely only on axios interceptor to report the loading state
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
8d31fab9d8
refactor: finish deprecation of itemStore and start migrating components to api composables
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
956bb404c4
refactor: deprecate the itemStore
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
cd55ecea0a
refactor: deprecate userLibraries store
...
With the new composables the store is indeed obsolete
Also remove audios from the resume section
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
18d4e84816
feat: finish api composables and create apistore
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
7d2656454b
feat: add useApi composable
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
f80a1084c1
feat: create initial impl of useBaseItem composable
...
This composable reactively runs requests and returns reactive BaseItemDto copies
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 10:07:12 +01:00
Fernando Fernández
06f9ff0d2d
refactor: fix some of the remaining lint issues caused by hls.js
...
The update to 1.5.0 of hls.js helped us get the import/no-named-as-default-member rule fixed
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-10 01:12:23 +01:00
renovate[bot]
0247f268f9
chore(deps): update npm dependencies
2024-01-10 01:12:23 +01:00
Weblate
88607bc1f2
chore(i18n): translate terms
...
Co-authored-by: Achim Walz <achim@aalso-walz.de>
Co-authored-by: Lukáš Kucharczyk <lukas@kucharczyk.xyz>
Co-authored-by: Pascal Riemer <pascal01riemer@gmail.com>
Co-authored-by: Ryan Faiz Sanie <ryanfaiz2005@gmail.com>
Co-authored-by: cd16b <davidecavagnola@gmail.com>
Co-authored-by: hoanghuy309 <hoanghuy309@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/id/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/it/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/vi/
Translation: Jellyfin Vue/Jellyfin Vue
2024-01-09 12:53:33 -05:00
renovate[bot]
1547a34e51
chore(deps): update npm dependencies ( #2202 )
2024-01-09 10:47:44 +00:00
renovate[bot]
d3b0aeeb8a
chore(deps): update npm dependencies ( #2198 )
2024-01-08 16:32:52 +01:00
renovate[bot]
34f0a15555
chore(deps): update npm dependencies ( #2197 )
2024-01-05 03:42:21 +01:00
renovate[bot]
4aee88f95e
chore(deps): update npm dependencies ( #2195 )
2024-01-04 10:05:31 +01:00
Fernando Fernández
952ac69d8a
refactor(i18n): allow irregular whitespace for french localisation files
...
See the following:
- https://en.wikipedia.org/wiki/History_of_sentence_spacing#French_and_English_spacing
- https://docs.weblate.org/en/weblate-4.14.1/user/checks.html#check-punctuation-spacing
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-02 14:34:11 +01:00
Fernando Fernández
cc6b6eb4b4
refactor(i18n): remove variants from en-US and fr-FR
...
We don't have other variants for those languages, so it makes sense to not make assumptions and use them generically
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-02 14:34:11 +01:00
Weblate
7cde0c85c8
chore(i18n): translate terms
...
Co-authored-by: cd16b <davidecavagnola@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/it/
Translation: Jellyfin Vue/Jellyfin Vue
2024-01-02 14:34:11 +01:00
Weblate
03ebd81c8b
chore(i18n): translate terms
...
Co-authored-by: Dr. Mücke <simon.mueck@outlook.com>
Co-authored-by: Romain Eggermont <rom.eggermont@gmail.com>
Co-authored-by: Thomas Schwery <thomas@inf3.ch>
Co-authored-by: Fernando <ferferga.fer@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: cd16b <davidecavagnola@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/fr/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/it/
Translation: Jellyfin Vue/Jellyfin Vue
2024-01-02 14:33:52 +01:00
Llewllyn
c5919d27fe
feat: add web app meta tags ( #2191 )
2024-01-02 11:08:08 +01:00
Weblate
9db6d0d169
chore(i18n): translate terms
...
Co-authored-by: Romain Eggermont <rom.eggermont@gmail.com>
Co-authored-by: SaddFox <filip.rutar@gmail.com>
Co-authored-by: Thomas Schwery <thomas@inf3.ch>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/fr/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/sl/
Translation: Jellyfin Vue/Jellyfin Vue
2024-01-02 04:47:41 -05:00
Fernando Fernández
3085220c83
chore: manual lint fixes
...
- Remove strange whitespace in french translation
- Add ignore comment for the type import in BlurhashCanvas
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-02 02:23:46 +01:00
Fernando Fernández
2b67af3506
chore: automatic eslint fix
...
For annotating type imports
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-02 02:23:46 +01:00
Fernando Fernández
fb2d132a53
refactor: enforce type only imports for types
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-02 02:23:46 +01:00
Weblate
cbf28f4503
chore(i18n): translate terms
...
Co-authored-by: Fernando <ferferga.fer@gmail.com>
Co-authored-by: Romain Eggermont <rom.eggermont@gmail.com>
Co-authored-by: SaddFox <filip.rutar@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/sl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ur/
Translation: Jellyfin Vue/Jellyfin Vue
2024-01-01 17:47:14 -05:00
Weblate
a399de0554
chore(i18n): translate terms
...
Co-authored-by: ByKripsy <bykripsy@gmail.com>
Co-authored-by: ChokunPlayZ <chokun.swc555@gmail.com>
Co-authored-by: Elias Sjögreen <eliassjogreen1@gmail.com>
Co-authored-by: Elias Wennerlund <elias06wennerlund@gmail.com>
Co-authored-by: Fernando <ferferga.fer@gmail.com>
Co-authored-by: Fredrik Lindqvist <landrash@gmail.com>
Co-authored-by: Kirill <Kirill.veshtort@gmail.com>
Co-authored-by: Kityn <kitynska@gmail.com>
Co-authored-by: Meem Khan <meem.khaan@gmail.com>
Co-authored-by: Retrial <giwrgosmant@gmail.com>
Co-authored-by: Romain Eggermont <rom.eggermont@gmail.com>
Co-authored-by: Ryan Faiz Sanie <ryanfaiz2005@gmail.com>
Co-authored-by: SaddFox <filip.rutar@gmail.com>
Co-authored-by: Thomas Schwery <thomas@inf3.ch>
Co-authored-by: Tor Smedberg <tor.smedberg@gmail.com>
Co-authored-by: Tycho Brouwer <tychobrouwer33@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Co-authored-by: lyaschuchenko <lyaschuchenko@gmail.com>
Co-authored-by: salvatore rizzu <rizzusalvatore95@gmail.com>
Co-authored-by: stanol <stanol777@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/el/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/es/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/fr/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/he/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/id/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/it/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/nl/
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/ru/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/sl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/sv/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/th/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/uk/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ur/
Translation: Jellyfin Vue/Jellyfin Vue
2024-01-01 17:29:54 -05:00
Fernando Fernández
e49d32908b
fix: untranslated date strings and reword string
...
The "ago" part doesn't match perfectly in all languages, so we should let date-fns handle it for us
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-01 13:53:06 +01:00
Fernando Fernández
fe9b6be5dd
perf: better compose computed properties in time
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-01 13:53:06 +01:00
Fernando Fernández
054d354bff
perf: allow usedatefns to be garbage collected
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-01 13:53:06 +01:00
Weblate
14e5b527f3
chore(i18n): translate terms
...
Co-authored-by: Alehaaaa <alehamartinva@gmail.com>
Co-authored-by: Fredrik Lindqvist <landrash@gmail.com>
Co-authored-by: Larvitar <chrycm1995@gmail.com>
Co-authored-by: Ryan Faiz Sanie <ryanfaiz2005@gmail.com>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Co-authored-by: gebohh <gebohh@gmail.com>
Co-authored-by: stanol <stanol777@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/es/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/he/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/id/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/sv/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/uk/
Translation: Jellyfin Vue/Jellyfin Vue
2023-12-31 20:01:05 -05:00
Fernando Fernández
826c367442
fix: windows builds ( #2182 )
...
Workaround sourced from https://github.com/vitejs/vite/issues/15153
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-01 01:39:30 +01:00
renovate[bot]
2210d8e6f6
chore(deps): update dependency eslint-plugin-jsdoc to v47 ( #2180 )
2023-12-31 20:06:17 +00:00
renovate[bot]
03e8f4a691
chore(deps): update dependency marked to v11.1.1 ( #2179 )
2023-12-31 20:53:56 +01:00
Fernando Fernández
5cd0af7a93
refactor(splashscreen): emit splashcreen code with rollup instead of embedding in index.html ( #2181 )
...
This will ease the maintenance burden of that code by allowing us to use the same tooling we use for the rest of the code (type-checking, eslint, etc) while also allowing us to use npm dependencies (like destr in this case), which could be
helpful in the future.
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 20:34:37 +01:00
Fernando Fernández
00c2c754a1
refactor: disable manualchunks
...
It seems to not be stable. See commented issues for reference
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 19:39:36 +01:00
Fernando Fernández
757e357ad6
refactor: minor tunes
...
* Added suggested options to tsconfig.json by Vite docs:
https://vitejs.dev/guide/features.html#typescript-compiler-options
* Ignore inline comments capitalization
* Add jsonc/auto rule to automatically inherit eslint rules for JSON files
* Improve dpdm run parameters
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 19:38:49 +01:00
Fernando Fernández
dcf18dc729
fix: circular dependencies in router middleware
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 19:38:49 +01:00
Fernando Fernández
6069c4a114
refactor: use uuid's validate function for testing uuids
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 19:38:49 +01:00
Fernando Fernández
dc0b7be006
refactor: remove circular dependencies in composables
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 19:38:49 +01:00
Fernando Fernández
d9a57c1f22
refactor: store imports to avoid circular deps
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 19:38:49 +01:00
Fernando Fernández
3339cdf07f
chore: add dpdm
...
Useful dependency for showcasing circular dependencies and other kinds of dependency graphs
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 19:38:49 +01:00
Fernando Fernández
84842a472b
chore(i18n): remove unused translation resources
...
Weblate will take care automatically of the future unused resources
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 19:38:43 +01:00
Fernando Fernández
60e385bea3
refactor(i18n): finish eslint i18n config
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 18:15:54 +01:00
Fernando Fernández
05d800396f
refactor(i18n): use flattened keys in source code
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 18:15:54 +01:00
Fernando Fernández
2426a4c547
refactor(i18n): strict type checking for SettingsPage component
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 18:15:54 +01:00
Fernando Fernández
f4db8b86f7
refactor(i18n): sort keys and initial pass of missing keys
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 18:15:54 +01:00
Fernando Fernández
dae1fdfdc2
fix(i18n): upgrade @intlify/eslint-plugin-vue-i18n to next tag
...
There are incompatibilities with eslint due to an old eslint dependency
in this plugin. Upgrading allow us to use the no-unused-keys rule properly
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 18:15:54 +01:00
Fernando Fernández
172991b8f4
refactor(i18n): flat locale resources
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 18:15:54 +01:00
Fernando Fernández
170c001053
refactor(i18n): remove raw text in source code
...
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 18:15:54 +01:00
Fernando Fernández
eb27cc9107
refactor: dynamic usage of t for vue-i18n-extract to work better
2023-12-31 18:15:54 +01:00
Weblate
3b1bdf7e41
chore(i18n): translate terms
...
Co-authored-by: Daniel Öster <dalathegreat@gmail.com>
Co-authored-by: Oskari Lavinto <olavinto@protonmail.com>
Co-authored-by: ToastKiste21 <evIcOnId@protonmail.com>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Co-authored-by: hoanghuy309 <hoanghuy309@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/fi/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/he/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/sv/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/tr/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/vi/
Translation: Jellyfin Vue/Jellyfin Vue
2023-12-30 18:55:32 -05:00
Fernando Fernández
0c02199959
refactor: swiper ( #2178 )
...
Minor cleanup of all the swiper's code
There is an issue in swiper (https://github.com/nolimits4web/swiper/issues/7151 ) that affects the index calculation and the display of progress bars. Waiting for upstream fix.
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-30 19:43:16 +00:00
Fernando Fernández
a7f7f3e178
perf: remove throttling from virtual grid ( #2177 )
...
Unnecessary due to the performance improvements introduced in Vue 3.4
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-30 19:08:35 +01:00
Fernando Fernández
be808a3a26
chore(types): fix datefns imports
...
After the update to datefns v3.0, these paths had to be updated
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-30 18:34:16 +01:00
Fernando Fernández
e6f9ce3001
chore: remove deprecated defineModel config
...
In Vue 3.4, defineModel is promoted to stable, so the option was deprecated and it's supported by default
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-30 18:01:39 +01:00
renovate[bot]
3d52c67ea2
chore(deps): update npm development dependencies ( #2168 )
2023-12-30 17:26:30 +01:00
renovate[bot]
51ce2c1df7
chore(deps): update npm development dependencies (major) ( #2172 )
2023-12-30 17:18:30 +01:00
renovate[bot]
f3c7804f61
chore(deps): update npm dependencies ( #2175 )
2023-12-30 17:13:55 +01:00
renovate[bot]
e8b0967bb7
chore(deps): update dependency date-fns to v3 ( #2170 )
2023-12-30 16:07:31 +00: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
renovate[bot]
c94638ed95
chore(deps): update npm development dependencies
2023-12-16 16:47:37 +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
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