mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
57d96ea95d
commit
dafaa94d70
4 changed files with 10 additions and 49 deletions
|
@ -16,12 +16,12 @@
|
|||
},
|
||||
"devDependencies": {},
|
||||
"ignore": [],
|
||||
"version": "1.1.54",
|
||||
"_release": "1.1.54",
|
||||
"version": "1.1.55",
|
||||
"_release": "1.1.55",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "1.1.54",
|
||||
"commit": "29eafd218a8ea6f0b6bb28c67abf78cc772dd6d9"
|
||||
"tag": "1.1.55",
|
||||
"commit": "7f6cfae7cd55d4270933f5747a7939006d890c33"
|
||||
},
|
||||
"_source": "git://github.com/MediaBrowser/emby-webcomponents.git",
|
||||
"_target": "~1.1.5",
|
||||
|
|
|
@ -2,45 +2,6 @@ define(['loading', 'viewManager', 'skinManager', 'pluginManager', 'backdrop', 'b
|
|||
|
||||
var connectionManager;
|
||||
|
||||
function isStartup(ctx) {
|
||||
var path = ctx.pathname;
|
||||
|
||||
if (path.indexOf('welcome') != -1) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (path.indexOf('connectlogin') != -1) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (path.indexOf('login') != -1) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (path.indexOf('manuallogin') != -1) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (path.indexOf('manualserver') != -1) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (path.indexOf('selectserver') != -1) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (path.indexOf('localpin') != -1) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function allowAnonymous(ctx) {
|
||||
|
||||
return isStartup(ctx);
|
||||
}
|
||||
|
||||
function redirectToLogin() {
|
||||
|
||||
backdrop.clear();
|
||||
|
@ -283,7 +244,7 @@ define(['loading', 'viewManager', 'skinManager', 'pluginManager', 'backdrop', 'b
|
|||
|
||||
console.log('Emby.Page - user is not authenticated');
|
||||
|
||||
if (!allowAnonymous(ctx)) {
|
||||
if (!route.anonymous) {
|
||||
|
||||
console.log('Emby.Page - route does not allow anonymous access, redirecting to login');
|
||||
redirectToLogin();
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
"tag": "v1.0.11",
|
||||
"commit": "e3c1ab0c72905b58fb4d9adc2921ea73b5c085a5"
|
||||
},
|
||||
"_source": "git://github.com/PolymerElements/paper-behaviors.git",
|
||||
"_source": "git://github.com/polymerelements/paper-behaviors.git",
|
||||
"_target": "^1.0.0",
|
||||
"_originalSource": "PolymerElements/paper-behaviors"
|
||||
"_originalSource": "polymerelements/paper-behaviors"
|
||||
}
|
|
@ -32,14 +32,14 @@
|
|||
"iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0"
|
||||
},
|
||||
"ignore": [],
|
||||
"homepage": "https://github.com/PolymerElements/paper-ripple",
|
||||
"homepage": "https://github.com/polymerelements/paper-ripple",
|
||||
"_release": "1.0.5",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.0.5",
|
||||
"commit": "d72e7a9a8ab518b901ed18dde492df3b87a93be5"
|
||||
},
|
||||
"_source": "git://github.com/PolymerElements/paper-ripple.git",
|
||||
"_source": "git://github.com/polymerelements/paper-ripple.git",
|
||||
"_target": "^1.0.0",
|
||||
"_originalSource": "PolymerElements/paper-ripple"
|
||||
"_originalSource": "polymerelements/paper-ripple"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue