openvibers/openvibe.today Commits
openvibe-shared v4.159.0 (was v4.157.0) (#130)
Changes
@@@ -266,5 +266,5 @@ AGPL-3.0-only. See [LICENSE](LICENSE).<!-- versions:start -->- openvibe-contracts: v0.338.0- openvibe-sdk: v0.94.0--- openvibe-shared: v4.157.0++- openvibe-shared: v4.159.0<!-- versions:end -->@@@ -10,11 +10,11 @@"domain": "openvibe.today","contracts": "openvibe-contracts v0.338.0","sdk": "openvibe-sdk v0.94.0",-- "shared": "openvibe-shared v4.157.0",++ "shared": "openvibe-shared v4.159.0","packages": ["openvibe-contracts v0.338.0","openvibe-sdk v0.94.0",-- "openvibe-shared v4.157.0"++ "openvibe-shared v4.159.0"],"summary": "OpenVibe.Today is the network's time bus and calendar authority. A person schedules a stream (on their Live channel) or a plain event; the public schedule and a channel's ICS feed are readable without an account, a private token feed is one URL per person and rotation invalidates the old one, and reminders arrive through OpenVibe.Network. Events move from scheduled to live and done as OpenVibe.Live says so over OpenVibe.Events, while the daily brief is built from the agenda, today's reminders and OpenVibe.Live's public Rundown.","works": [@@@ -17,7 +17,7 @@"iovalkey": "^0.4.0","openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.338.0","openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.94.0",-- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.157.0",++ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.159.0","pg": "^8.23.0"},"devDependencies": {@@@ -1194,9 +1194,9 @@}},"node_modules/openvibe-shared": {-- "version": "4.157.0",-- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.157.0",-- "integrity": "sha512-B7hKc8/bmscXoDmh41GbdAmb3KZb3BtrUHQPgqGPa0JRewtFn85wxMuLYZBA/OCKwWtTzo/9Wcc6OEaxXUV/ZA==",++ "version": "4.159.0",++ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.159.0",++ "integrity": "sha512-dXIQtIqyMRotrZXp82lVBQjWqV07cSiepebKU7kzHU8mb+TQXFkY/EPMHRJwusl5Ujat0dYSdY3PuJtQ7r5bUQ==","license": "MIT","dependencies": {"jsonwebtoken": "^9.0.0",@@@ -25,7 +25,7 @@"iovalkey": "^0.4.0","openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.338.0","openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.94.0",-- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.157.0",++ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.159.0","pg": "^8.23.0"},"engines": {@@@ -64,9 +64,10 @@ const week = require('../server/week');assert.match(page.text, /href="\/me\/week\?start=\d{4}-\d{2}-\d{2}" rel="prev"/);const paris = await t.get('/me/week', { as: ana, headers: { cookie: 'td_tz=Europe%2FParis' } });assert.match(paris.text, /data-tz="Europe\/Paris"/, 'the browser\'s zone, from its cookie');-- const asked = await t.get('/me/week?tz=America%2FChicago&start=2026-11-11', { as: ana });++ // A week that is never this one again (the test asked for Nov 9 – 15 until that week came: 2026-11-09).++ const asked = await t.get('/me/week?tz=America%2FChicago&start=2026-10-14', { as: ana });assert.match(asked.text, /data-tz="America\/Chicago"/);-- assert.match(asked.text, /<h1>Nov 9 – 15, 2026<\/h1>/);++ assert.match(asked.text, /<h1>Oct 12 – 18, 2026<\/h1>/);assert.match(asked.text, /<a class="ovk-btn ovk-btn--quiet ovk-btn--small" href="\/me\/week">This week<\/a>/, 'another week offers the way back');const quick = await t.get('/me/reminders', { as: ana, form: { text: 'water the plants every Sunday at 10am', tz: 'Asia/Tokyo', back: 'week' } });assert.strictEqual(quick.headers.get('location'), '/me/week', 'added from the week: back to the week');
@@ -266,5 +266,5 @@ AGPL-3.0-only. See [LICENSE](LICENSE).
@@ -266,5 +266,5 @@ AGPL-3.0-only. See [LICENSE](LICENSE).
<!-- versions:start -->
<!-- versions:start -->
- openvibe-contracts: v0.338.0
- openvibe-contracts: v0.338.0
- openvibe-sdk: v0.94.0
- openvibe-sdk: v0.94.0
-- openvibe-shared: v4.157.0
+- openvibe-shared: v4.159.0
<!-- versions:end -->
<!-- versions:end -->
@@ -10,11 +10,11 @@
@@ -10,11 +10,11 @@
"domain": "openvibe.today",
"domain": "openvibe.today",
"contracts": "openvibe-contracts v0.338.0",
"contracts": "openvibe-contracts v0.338.0",
"sdk": "openvibe-sdk v0.94.0",
"sdk": "openvibe-sdk v0.94.0",
- "shared": "openvibe-shared v4.157.0",
+ "shared": "openvibe-shared v4.159.0",
"packages": [
"packages": [
"openvibe-contracts v0.338.0",
"openvibe-contracts v0.338.0",
"openvibe-sdk v0.94.0",
"openvibe-sdk v0.94.0",
- "openvibe-shared v4.157.0"
+ "openvibe-shared v4.159.0"
],
],
"summary": "OpenVibe.Today is the network's time bus and calendar authority. A person schedules a stream (on their Live channel) or a plain event; the public schedule and a channel's ICS feed are readable without an account, a private token feed is one URL per person and rotation invalidates the old one, and reminders arrive through OpenVibe.Network. Events move from scheduled to live and done as OpenVibe.Live says so over OpenVibe.Events, while the daily brief is built from the agenda, today's reminders and OpenVibe.Live's public Rundown.",
"summary": "OpenVibe.Today is the network's time bus and calendar authority. A person schedules a stream (on their Live channel) or a plain event; the public schedule and a channel's ICS feed are readable without an account, a private token feed is one URL per person and rotation invalidates the old one, and reminders arrive through OpenVibe.Network. Events move from scheduled to live and done as OpenVibe.Live says so over OpenVibe.Events, while the daily brief is built from the agenda, today's reminders and OpenVibe.Live's public Rundown.",
"works": [
"works": [
@@ -17,7 +17,7 @@
@@ -17,7 +17,7 @@
"iovalkey": "^0.4.0",
"iovalkey": "^0.4.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.338.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.338.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.94.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.94.0",
- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.157.0",
+ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.159.0",
"pg": "^8.23.0"
"pg": "^8.23.0"
},
},
"devDependencies": {
"devDependencies": {
@@ -1194,9 +1194,9 @@
@@ -1194,9 +1194,9 @@
}
}
},
},
"node_modules/openvibe-shared": {
"node_modules/openvibe-shared": {
- "version": "4.157.0",
- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.157.0",
- "integrity": "sha512-B7hKc8/bmscXoDmh41GbdAmb3KZb3BtrUHQPgqGPa0JRewtFn85wxMuLYZBA/OCKwWtTzo/9Wcc6OEaxXUV/ZA==",
+ "version": "4.159.0",
+ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.159.0",
+ "integrity": "sha512-dXIQtIqyMRotrZXp82lVBQjWqV07cSiepebKU7kzHU8mb+TQXFkY/EPMHRJwusl5Ujat0dYSdY3PuJtQ7r5bUQ==",
"license": "MIT",
"license": "MIT",
"dependencies": {
"dependencies": {
"jsonwebtoken": "^9.0.0",
"jsonwebtoken": "^9.0.0",
@@ -25,7 +25,7 @@
@@ -25,7 +25,7 @@
"iovalkey": "^0.4.0",
"iovalkey": "^0.4.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.338.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.338.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.94.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.94.0",
- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.157.0",
+ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.159.0",
"pg": "^8.23.0"
"pg": "^8.23.0"
},
},
"engines": {
"engines": {
@@ -64,9 +64,10 @@ const week = require('../server/week');
@@ -64,9 +64,10 @@ const week = require('../server/week');
assert.match(page.text, /href="\/me\/week\?start=\d{4}-\d{2}-\d{2}" rel="prev"/);
assert.match(page.text, /href="\/me\/week\?start=\d{4}-\d{2}-\d{2}" rel="prev"/);
const paris = await t.get('/me/week', { as: ana, headers: { cookie: 'td_tz=Europe%2FParis' } });
const paris = await t.get('/me/week', { as: ana, headers: { cookie: 'td_tz=Europe%2FParis' } });
assert.match(paris.text, /data-tz="Europe\/Paris"/, 'the browser\'s zone, from its cookie');
assert.match(paris.text, /data-tz="Europe\/Paris"/, 'the browser\'s zone, from its cookie');
- const asked = await t.get('/me/week?tz=America%2FChicago&start=2026-11-11', { as: ana });
+ // A week that is never this one again (the test asked for Nov 9 – 15 until that week came: 2026-11-09).
+ const asked = await t.get('/me/week?tz=America%2FChicago&start=2026-10-14', { as: ana });
assert.match(asked.text, /data-tz="America\/Chicago"/);
assert.match(asked.text, /data-tz="America\/Chicago"/);
- assert.match(asked.text, /<h1>Nov 9 – 15, 2026<\/h1>/);
+ assert.match(asked.text, /<h1>Oct 12 – 18, 2026<\/h1>/);
assert.match(asked.text, /<a class="ovk-btn ovk-btn--quiet ovk-btn--small" href="\/me\/week">This week<\/a>/, 'another week offers the way back');
assert.match(asked.text, /<a class="ovk-btn ovk-btn--quiet ovk-btn--small" href="\/me\/week">This week<\/a>/, 'another week offers the way back');
const quick = await t.get('/me/reminders', { as: ana, form: { text: 'water the plants every Sunday at 10am', tz: 'Asia/Tokyo', back: 'week' } });
const quick = await t.get('/me/reminders', { as: ana, form: { text: 'water the plants every Sunday at 10am', tz: 'Asia/Tokyo', back: 'week' } });
assert.strictEqual(quick.headers.get('location'), '/me/week', 'added from the week: back to the week');
assert.strictEqual(quick.headers.get('location'), '/me/week', 'added from the week: back to the week');