Merge branch 'prayag17:main' into nightly-releases

This commit is contained in:
vikingnope authored and GitHub committed 2025-05-12 12:01:24 +02:00
commit d7f3317913
13 files changed
+3182 -2369

No files matched your search

+1 -3
View File
@@ -64,7 +64,7 @@
## 📷 Screenshots ## 📷 Screenshots
- Home - Home
![home](https://github.com/prayag17/Blink/assets/55829513/ffda4dc5-c147-4278-a232-bb58b1051501) ![home](https://github.com/user-attachments/assets/6d892160-4513-4496-a220-4c3ce6af20a4)
- Title Page - Movie - Title Page - Movie
![title-movie](https://github.com/prayag17/Blink/assets/55829513/1086f51b-a743-46e4-a761-c9f70a0d21bd) ![title-movie](https://github.com/prayag17/Blink/assets/55829513/1086f51b-a743-46e4-a761-c9f70a0d21bd)
- Title Page - Show - Title Page - Show
@@ -73,8 +73,6 @@
![show-episodes](https://github.com/prayag17/Blink/assets/55829513/9fe69ddd-ffa3-4a6b-a2a7-c2e639b6b2e4) ![show-episodes](https://github.com/prayag17/Blink/assets/55829513/9fe69ddd-ffa3-4a6b-a2a7-c2e639b6b2e4)
- Video Player - Video Player
![playback-video](https://github.com/prayag17/Blink/assets/55829513/a84850e6-3be7-41c5-8cf7-e14c3cd0df29) ![playback-video](https://github.com/prayag17/Blink/assets/55829513/a84850e6-3be7-41c5-8cf7-e14c3cd0df29)
- About Dialog
![about](https://github.com/prayag17/Blink/assets/55829513/fc3adf83-87fd-4901-8abd-39b148418f8d)
## 📃 Roadmap ## 📃 Roadmap
+29 -29
View File
@@ -25,66 +25,66 @@
"@fontsource-variable/space-grotesk": "^5.2.6", "@fontsource-variable/space-grotesk": "^5.2.6",
"@jellyfin/sdk": "0.11.0", "@jellyfin/sdk": "0.11.0",
"@million/lint": "^1.0.14", "@million/lint": "^1.0.14",
"@mui/lab": "6.0.0-beta.30", "@mui/lab": "7.0.0-beta.11",
"@mui/material": "6.4.7", "@mui/material": "7.0.2",
"@popperjs/core": "^2.11.8", "@popperjs/core": "^2.11.8",
"@react-spring/web": "^9.7.5", "@react-spring/web": "^9.7.5",
"@tanem/react-nprogress": "^5.0.55", "@tanem/react-nprogress": "^5.0.55",
"@tanstack/react-query": "^5.68.0", "@tanstack/react-query": "^5.74.4",
"@tanstack/react-query-devtools": "^5.68.0", "@tanstack/react-query-devtools": "^5.74.6",
"@tanstack/react-router": "^1.114.23", "@tanstack/react-router": "^1.117.1",
"@tanstack/react-virtual": "^3.13.4", "@tanstack/react-virtual": "^3.13.6",
"@tauri-apps/api": "2.3.0", "@tauri-apps/api": "2.5.0",
"@tauri-apps/plugin-clipboard-manager": "2.2.2", "@tauri-apps/plugin-clipboard-manager": "2.2.2",
"@tauri-apps/plugin-dialog": "2.2.0", "@tauri-apps/plugin-dialog": "2.2.1",
"@tauri-apps/plugin-notification": "2.2.2", "@tauri-apps/plugin-notification": "2.2.2",
"@tauri-apps/plugin-process": "2.2.0", "@tauri-apps/plugin-process": "2.2.1",
"@tauri-apps/plugin-store": "github:tauri-apps/tauri-plugin-store#v2", "@tauri-apps/plugin-store": "github:tauri-apps/tauri-plugin-store#v2",
"@tauri-apps/plugin-updater": "2.6.1", "@tauri-apps/plugin-updater": "2.7.1",
"@tauri-apps/plugin-upload": "2.2.1", "@tauri-apps/plugin-upload": "2.2.1",
"@tauri-apps/plugin-window-state": "~2", "@tauri-apps/plugin-window-state": "~2.2.2",
"@types/node": "^22.13.10", "@types/node": "^22.15.2",
"@types/react": "^19.0.10", "@types/react": "^19.1.2",
"@types/react-dom": "^19.0.4", "@types/react-dom": "^19.1.2",
"axios": "^1.8.3", "axios": "^1.9.0",
"axios-tauri-api-adapter": "^2.0.6", "axios-tauri-api-adapter": "^2.0.6",
"blurhash": "^2.0.5", "blurhash": "^2.0.5",
"framer-motion": "^12.5.0", "framer-motion": "^12.9.2",
"immer": "^10.1.1", "immer": "^10.1.1",
"jassub": "^1.7.18", "jassub": "^1.7.18",
"libpgs": "^0.8.1", "libpgs": "^0.8.1",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"material-symbols": "^0.29.1", "material-symbols": "^0.31.2",
"million": "^3.1.11", "million": "^3.1.11",
"notistack": "^3.0.2", "notistack": "^3.0.2",
"react": "19.0.0", "react": "^19.1.0",
"react-blurhash": "^0.3.0", "react-blurhash": "^0.3.0",
"react-dnd": "^16.0.1", "react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1", "react-dnd-html5-backend": "^16.0.1",
"react-dom": "19.0.0", "react-dom": "^19.1.0",
"react-error-boundary": "^5.0.0", "react-error-boundary": "^5.0.0",
"react-intersection-observer": "^9.16.0", "react-intersection-observer": "^9.16.0",
"react-markdown": "^10.1.0", "react-markdown": "^10.1.0",
"react-multi-carousel": "^2.8.5", "react-multi-carousel": "^2.8.6",
"react-player": "^2.16.0", "react-player": "^2.16.0",
"remark-gfm": "^4.0.1", "remark-gfm": "^4.0.1",
"typescript": "^5.8.2", "typescript": "^5.8.3",
"vite-plugin-svgr": "^4.3.0", "vite-plugin-svgr": "^4.3.0",
"wavesurfer.js": "^7.9.1", "wavesurfer.js": "^7.9.4",
"zustand": "5.0.3" "zustand": "5.0.3"
}, },
"devDependencies": { "devDependencies": {
"@babel/plugin-proposal-optional-chaining-assign": "^7.25.9", "@babel/plugin-proposal-optional-chaining-assign": "^7.25.9",
"@biomejs/biome": "^1.9.4", "@biomejs/biome": "^1.9.4",
"@tanstack/router-cli": "^1.114.23", "@tanstack/router-cli": "^1.117.1",
"@tanstack/router-devtools": "^1.114.23", "@tanstack/router-devtools": "^1.117.1",
"@tanstack/router-vite-plugin": "^1.114.23", "@tanstack/router-vite-plugin": "^1.117.2",
"@tauri-apps/cli": "2.3.1", "@tauri-apps/cli": "2.5.0",
"@types/lodash": "^4.17.16", "@types/lodash": "^4.17.16",
"@vitejs/plugin-react": "^4.3.4", "@vitejs/plugin-react": "^4.4.1",
"prop-types": "^15.8.1", "prop-types": "^15.8.1",
"sass": "^1.85.1", "sass": "^1.87.0",
"vite": "^6.2.2" "vite": "^6.3.3"
}, },
"license": "GPL-3.0-only" "license": "GPL-3.0-only"
} }
+986 -907
View File
File diff suppressed because it is too large. Load diff
+296 -522
View File
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -1 +1 @@
{"clipboard-manager":{"default_permission":{"identifier":"default","description":"No features are enabled by default, as we believe\nthe clipboard can be inherently dangerous and it is \napplication specific if read and/or write access is needed.\n\nClipboard interaction needs to be explicitly enabled.\n","permissions":[]},"permissions":{"allow-clear":{"identifier":"allow-clear","description":"Enables the clear command without any pre-configured scope.","commands":{"allow":["clear"],"deny":[]}},"allow-read-image":{"identifier":"allow-read-image","description":"Enables the read_image command without any pre-configured scope.","commands":{"allow":["read_image"],"deny":[]}},"allow-read-text":{"identifier":"allow-read-text","description":"Enables the read_text command without any pre-configured scope.","commands":{"allow":["read_text"],"deny":[]}},"allow-write-html":{"identifier":"allow-write-html","description":"Enables the write_html command without any pre-configured scope.","commands":{"allow":["write_html"],"deny":[]}},"allow-write-image":{"identifier":"allow-write-image","description":"Enables the write_image command without any pre-configured scope.","commands":{"allow":["write_image"],"deny":[]}},"allow-write-text":{"identifier":"allow-write-text","description":"Enables the write_text command without any pre-configured scope.","commands":{"allow":["write_text"],"deny":[]}},"deny-clear":{"identifier":"deny-clear","description":"Denies the clear command without any pre-configured scope.","commands":{"allow":[],"deny":["clear"]}},"deny-read-image":{"identifier":"deny-read-image","description":"Denies the read_image command without any pre-configured scope.","commands":{"allow":[],"deny":["read_image"]}},"deny-read-text":{"identifier":"deny-read-text","description":"Denies the read_text command without any pre-configured scope.","commands":{"allow":[],"deny":["read_text"]}},"deny-write-html":{"identifier":"deny-write-html","description":"Denies the write_html command without any pre-configured scope.","commands":{"allow":[],"deny":["write_html"]}},"deny-write-image":{"identifier":"deny-write-image","description":"Denies the write_image command without any pre-configured scope.","commands":{"allow":[],"deny":["write_image"]}},"deny-write-text":{"identifier":"deny-write-text","description":"Denies the write_text command without any pre-configured scope.","commands":{"allow":[],"deny":["write_text"]}}},"permission_sets":{},"global_scope_schema":null},"core":{"default_permission":{"identifier":"default","description":"Default core plugins set which includes:\n- 'core:path:default'\n- 'core:event:default'\n- 'core:window:default'\n- 'core:webview:default'\n- 'core:app:default'\n- 'core:image:default'\n- 'core:resources:default'\n- 'core:menu:default'\n- 'core:tray:default'\n","permissions":["core:path:default","core:event:default","core:window:default","core:webview:default","core:app:default","core:image:default","core:resources:default","core:menu:default","core:tray:default"]},"permissions":{},"permission_sets":{},"global_scope_schema":null},"core:app":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-version","allow-name","allow-tauri-version"]},"permissions":{"allow-app-hide":{"identifier":"allow-app-hide","description":"Enables the app_hide command without any pre-configured scope.","commands":{"allow":["app_hide"],"deny":[]}},"allow-app-show":{"identifier":"allow-app-show","description":"Enables the app_show command without any pre-configured scope.","commands":{"allow":["app_show"],"deny":[]}},"allow-default-window-icon":{"identifier":"allow-default-window-icon","description":"Enables the default_window_icon command without any pre-configured scope.","commands":{"allow":["default_window_icon"],"deny":[]}},"allow-name":{"identifier":"allow-name","description":"Enables the name command without any pre-configured scope.","commands":{"allow":["name"],"deny":[]}},"allow-set-app-theme":{"identifier":"allow-set-app-theme","description":"Enables the set_app_theme command without any pre-configured scope.","commands":{"allow":["set_app_theme"],"deny":[]}},"allow-tauri-version":{"identifier":"allow-tauri-version","description":"Enables the tauri_version command without any pre-configured scope.","commands":{"allow":["tauri_version"],"deny":[]}},"allow-version":{"identifier":"allow-version","description":"Enables the version command without any pre-configured scope.","commands":{"allow":["version"],"deny":[]}},"deny-app-hide":{"identifier":"deny-app-hide","description":"Denies the app_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["app_hide"]}},"deny-app-show":{"identifier":"deny-app-show","description":"Denies the app_show command without any pre-configured scope.","commands":{"allow":[],"deny":["app_show"]}},"deny-default-window-icon":{"identifier":"deny-default-window-icon","description":"Denies the default_winLine truncated {"clipboard-manager":{"default_permission":{"identifier":"default","description":"No features are enabled by default, as we believe\nthe clipboard can be inherently dangerous and it is \napplication specific if read and/or write access is needed.\n\nClipboard interaction needs to be explicitly enabled.\n","permissions":[]},"permissions":{"allow-clear":{"identifier":"allow-clear","description":"Enables the clear command without any pre-configured scope.","commands":{"allow":["clear"],"deny":[]}},"allow-read-image":{"identifier":"allow-read-image","description":"Enables the read_image command without any pre-configured scope.","commands":{"allow":["read_image"],"deny":[]}},"allow-read-text":{"identifier":"allow-read-text","description":"Enables the read_text command without any pre-configured scope.","commands":{"allow":["read_text"],"deny":[]}},"allow-write-html":{"identifier":"allow-write-html","description":"Enables the write_html command without any pre-configured scope.","commands":{"allow":["write_html"],"deny":[]}},"allow-write-image":{"identifier":"allow-write-image","description":"Enables the write_image command without any pre-configured scope.","commands":{"allow":["write_image"],"deny":[]}},"allow-write-text":{"identifier":"allow-write-text","description":"Enables the write_text command without any pre-configured scope.","commands":{"allow":["write_text"],"deny":[]}},"deny-clear":{"identifier":"deny-clear","description":"Denies the clear command without any pre-configured scope.","commands":{"allow":[],"deny":["clear"]}},"deny-read-image":{"identifier":"deny-read-image","description":"Denies the read_image command without any pre-configured scope.","commands":{"allow":[],"deny":["read_image"]}},"deny-read-text":{"identifier":"deny-read-text","description":"Denies the read_text command without any pre-configured scope.","commands":{"allow":[],"deny":["read_text"]}},"deny-write-html":{"identifier":"deny-write-html","description":"Denies the write_html command without any pre-configured scope.","commands":{"allow":[],"deny":["write_html"]}},"deny-write-image":{"identifier":"deny-write-image","description":"Denies the write_image command without any pre-configured scope.","commands":{"allow":[],"deny":["write_image"]}},"deny-write-text":{"identifier":"deny-write-text","description":"Denies the write_text command without any pre-configured scope.","commands":{"allow":[],"deny":["write_text"]}}},"permission_sets":{},"global_scope_schema":null},"core":{"default_permission":{"identifier":"default","description":"Default core plugins set.","permissions":["core:path:default","core:event:default","core:window:default","core:webview:default","core:app:default","core:image:default","core:resources:default","core:menu:default","core:tray:default"]},"permissions":{},"permission_sets":{},"global_scope_schema":null},"core:app":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-version","allow-name","allow-tauri-version","allow-identifier"]},"permissions":{"allow-app-hide":{"identifier":"allow-app-hide","description":"Enables the app_hide command without any pre-configured scope.","commands":{"allow":["app_hide"],"deny":[]}},"allow-app-show":{"identifier":"allow-app-show","description":"Enables the app_show command without any pre-configured scope.","commands":{"allow":["app_show"],"deny":[]}},"allow-default-window-icon":{"identifier":"allow-default-window-icon","description":"Enables the default_window_icon command without any pre-configured scope.","commands":{"allow":["default_window_icon"],"deny":[]}},"allow-fetch-data-store-identifiers":{"identifier":"allow-fetch-data-store-identifiers","description":"Enables the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":["fetch_data_store_identifiers"],"deny":[]}},"allow-identifier":{"identifier":"allow-identifier","description":"Enables the identifier command without any pre-configured scope.","commands":{"allow":["identifier"],"deny":[]}},"allow-name":{"identifier":"allow-name","description":"Enables the name command without any pre-configured scope.","commands":{"allow":["name"],"deny":[]}},"allow-remove-data-store":{"identifier":"allow-remove-data-store","description":"Enables the remove_data_store command without any pre-configured scope.","commands":{"allow":["remove_data_store"],"deny":[]}},"allow-set-app-theme":{"identifier":"allow-set-app-theme","description":"Enables the set_app_theme command without any pre-configured scope.","commands":{"allow":["set_app_theme"],"deny":[]}},"allow-set-dock-visibility":{"identifier":"allow-set-dock-visibility","description":"Enables the set_dock_visibility command without any pre-configured scope.","commands":{"allow":["set_dock_visibility"],"deny":[]}},"allow-tauri-version":{"identifier":"allow-tauri-version","description":"Enables the tauri_version command without any pre-configured scope.","commands":{"allow":[Line truncated
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+2 -3
View File
@@ -21,7 +21,7 @@ export default function NProgress() {
isAnimating, isAnimating,
}); });
return createPortal( return (
<div <div
style={{ style={{
pointerEvents: "none", pointerEvents: "none",
@@ -44,8 +44,7 @@ export default function NProgress() {
variant="determinate" variant="determinate"
/> />
)} )}
</div>, </div>
document.body,
); );
}; };
+1 -1
View File
@@ -1,5 +1,5 @@
import Divider from "@mui/material/Divider"; import Divider from "@mui/material/Divider";
import Grid2 from "@mui/material/Grid2"; import Grid2 from "@mui/material/Grid";
import Skeleton from "@mui/material/Skeleton"; import Skeleton from "@mui/material/Skeleton";
import Typography from "@mui/material/Typography"; import Typography from "@mui/material/Typography";
import React from "react"; import React from "react";
+1 -1
View File
@@ -44,7 +44,7 @@ export const Route = createRootRouteWithContext<ApiContext>()({
<CssBaseline /> <CssBaseline />
<Settings /> <Settings />
{/* <EasterEgg /> */} {/* <EasterEgg /> */}
<NProgress /> {/* <NProgress /> */}
<RouterLoading /> <RouterLoading />
+15 -14
View File
@@ -6,6 +6,7 @@ import { createFileRoute, redirect } from "@tanstack/react-router";
export const Route = createFileRoute("/_api")({ export const Route = createFileRoute("/_api")({
beforeLoad: async ({ context, location }) => { beforeLoad: async ({ context, location }) => {
console.log("RUNNING API CHECK");
if (!context.api) { if (!context.api) {
const currentServerId = await getDefaultServer(); const currentServerId = await getDefaultServer();
if (currentServerId) { if (currentServerId) {
@@ -55,20 +56,20 @@ export const Route = createFileRoute("/_api")({
} }
} }
} else if (context.api) { } else if (context.api) {
if (context.api.accessToken && location.pathname !== "/login/manual") { // if (context.api.accessToken && location.pathname !== "/login/manual") {
try { // try {
console.info("AccessToken", context.api.accessToken); // console.info("AccessToken", context.api.accessToken);
await getUserApi(context.api).getCurrentUser(); // Verify user is able to authenticate // await getUserApi(context.api).getCurrentUser(); // Verify user is able to authenticate
} catch (error) { // } catch (error) {
console.error(error); // console.error(error);
throw redirect({ // throw redirect({
to: "/login/manual", // to: "/login/manual",
search: { // search: {
redirect: location.href, // redirect: location.href,
}, // },
}); // });
} // }
} // }
} }
}, },
}); });
+2 -2
View File
@@ -155,12 +155,12 @@ function LoginUser() {
width: "100%", width: "100%",
}} }}
> >
<InputLabel htmlFor="user-password">Password:</InputLabel> <InputLabel htmlFor="user-password">Password</InputLabel>
<OutlinedInput <OutlinedInput
id="user-password" id="user-password"
type={password.showpass ? "text" : "password"} type={password.showpass ? "text" : "password"}
onChange={handlePassword("password")} onChange={handlePassword("password")}
label="Password:" label="Password"
endAdornment={ endAdornment={
<InputAdornment position="end"> <InputAdornment position="end">
<IconButton <IconButton
+2 -2
View File
@@ -144,13 +144,13 @@ function UserLoginManual() {
onChange={(e) => setUsername(e.currentTarget.value)} onChange={(e) => setUsername(e.currentTarget.value)}
/> />
<FormControl sx={{ width: "100%" }} variant="outlined"> <FormControl sx={{ width: "100%" }} variant="outlined">
<InputLabel htmlFor="user-password">Password:</InputLabel> <InputLabel htmlFor="user-password">Password</InputLabel>
<OutlinedInput <OutlinedInput
fullWidth fullWidth
id="user-password" id="user-password"
type={password.showpass ? "text" : "password"} type={password.showpass ? "text" : "password"}
onChange={handlePassword("password")} onChange={handlePassword("password")}
label="Password:" label="Password"
endAdornment={ endAdornment={
<InputAdornment position="end"> <InputAdornment position="end">
<IconButton <IconButton