openvibers/openvibe.live Commits
Add visit history metadata (#764)
Changes
@@@ -71,7 +71,7 @@user: user || null, token: (function () { try { return localStorage.getItem('token'); } catch (e) { return null; } })(),// The menu's other accounts and "Add another account" go through the Network's chooser and come back through// this sign-in (Shared 4.13.0), which returns to the page they were on.-- loginUrl: '/api/auth/sso/login?next={path}', networkLinks: 0, history: false, silentLogin: false, fedcm: false, recent: false,++ loginUrl: '/api/auth/sso/login?next={path}', networkLinks: 0, history: typeof location !== 'undefined' && /^\/@[^/]+/.test(location.pathname) ? { type: 'stream', title: document.title, image_url: document.querySelector('meta[property="og:image"]')?.content || null } : false, silentLogin: false, fedcm: false, recent: false,notificationsRealtime: true, // the bell hears new notifications over OpenVibe.Events (Shared 1.22.0)links: links(user), menu: menu(user), appBar: appBar(), adminLink: false, // Admin Panel is in the account menu// The magnifier (Shared 4.21): Live's streams, recordings and clips first, Live's own search page, then OpenVibe.
@@ -71,7 +71,7 @@
@@ -71,7 +71,7 @@
user: user || null, token: (function () { try { return localStorage.getItem('token'); } catch (e) { return null; } })(),
user: user || null, token: (function () { try { return localStorage.getItem('token'); } catch (e) { return null; } })(),
// The menu's other accounts and "Add another account" go through the Network's chooser and come back through
// The menu's other accounts and "Add another account" go through the Network's chooser and come back through
// this sign-in (Shared 4.13.0), which returns to the page they were on.
// this sign-in (Shared 4.13.0), which returns to the page they were on.
- loginUrl: '/api/auth/sso/login?next={path}', networkLinks: 0, history: false, silentLogin: false, fedcm: false, recent: false,
+ loginUrl: '/api/auth/sso/login?next={path}', networkLinks: 0, history: typeof location !== 'undefined' && /^\/@[^/]+/.test(location.pathname) ? { type: 'stream', title: document.title, image_url: document.querySelector('meta[property="og:image"]')?.content || null } : false, silentLogin: false, fedcm: false, recent: false,
notificationsRealtime: true, // the bell hears new notifications over OpenVibe.Events (Shared 1.22.0)
notificationsRealtime: true, // the bell hears new notifications over OpenVibe.Events (Shared 1.22.0)
links: links(user), menu: menu(user), appBar: appBar(), adminLink: false, // Admin Panel is in the account menu
links: links(user), menu: menu(user), appBar: appBar(), adminLink: false, // Admin Panel is in the account menu
// The magnifier (Shared 4.21): Live's streams, recordings and clips first, Live's own search page, then OpenVibe.
// The magnifier (Shared 4.21): Live's streams, recordings and clips first, Live's own search page, then OpenVibe.