openvibers/openvibe.connect Commits

Connect's home page says one file and Link (#93)

OP OpenVibers committed 4 days ago · a1db012c32 · 2 files, +2 −2

The lede still ended "one file and Node", the old name for the machine program. It now says Link, and the brand guard also rejects that phrase.

Changes

ddiff --git a/server/views/index.js b/server/views/index.js
iindex ef2a9da..9982c9f 100644
---- a/server/views/index.js
++++ b/server/views/index.js
@@@ -130,7 +130,7 @@ function home({ viewer, shares = [], connectedIds = new Set(), stats = {}, baseU
room: 'website',
hero: {
title: 'Your computer, on the web, privately',
-- lede: `Share one port on your computer at its own address, like agents--you.${esc(domain)}. Only the people you pick can open it, signed in with OpenVibe. No router settings, no open ports, no app to install: one file and Node.`,
++ lede: `Share one port on your computer at its own address, like agents--you.${esc(domain)}. Only the people you pick can open it, signed in with OpenVibe. No router settings, no open ports, no app to install: one file and Link.`,
start: signedIn ? { href: '#new', label: 'Make a share' } : { href: '/auth/login?next=%2F%23new', label: 'Sign in to make a share' },
motif: motif(domain),
},
ddiff --git a/test/link-brand.test.js b/test/link-brand.test.js
iindex eaa904f..f6427c1 100644
---- a/test/link-brand.test.js
++++ b/test/link-brand.test.js
@@@ -3,7 +3,7 @@ const assert = require('node:assert/strict');
const { spawnSync } = require('node:child_process');
const path = require('node:path');
const root = path.resolve(__dirname, '..');
--const oldName = ['OpenVibe[ .-]No' + 'de', 'openvibe-' + 'node', 'no' + 'd_', 'node[.]openvibe[.]network', 'node:lnk_', 'openvibe[.](bot|my|network)/mach' + 'ines'].join('|');
++const oldName = ['OpenVibe[ .-]No' + 'de', 'openvibe-' + 'node', 'no' + 'd_', 'node[.]openvibe[.]network', 'node:lnk_', 'openvibe[.](bot|my|network)/mach' + 'ines', 'one file and No' + 'de'].join('|');
const result = spawnSync('git', ['grep', '-n', '-I', '-i', '-E', oldName, '--', '.', ':!migrations/**', ':!test/link-brand.test.js'], { cwd: root, encoding: 'utf8' });
assert.ok(result.status === 0 || result.status === 1, result.stderr || 'git grep failed');
assert.equal(result.status, 1, `Old Link brand or principal returned:\n${(result.stdout || '').split('\n').slice(0, 10).join('\n')}`);