openvibers/openvibe.space Commits

Space's Connect answer says one file and Link (#260)

OP OpenVibers committed 4 days ago · 05d6c2a3af · 2 files, +11 −1

The website FAQ still described OpenVibe Connect as "One file and Node, no router settings". It now names Link, and a guard test covers the old brand and phrase.

Changes

ddiff --git a/server/render/website.js b/server/render/website.js
iindex 50b8866..2dbe77f 100644
---- a/server/render/website.js
++++ b/server/render/website.js
@@@ -27,7 +27,7 @@ const FAQ = [
['When can I put it on my own address?', 'Publishing at yourname.openvibe.website or on your own domain opens with public hosting, once the automatic abuse checks, a designated DMCA agent and the domain\'s Public Suffix List entry are in place. Until then you build, edit and preview, and OpenVibe staff publish.'],
['Do I need an account?', 'Not to start. Pick a template or describe your site and you get a private link to edit it, good for a week. Sign in with OpenVibe on openvibe.space to keep it; openvibe.website itself keeps no cookies, so no site here can touch your sign-in.'],
['Can I take my site somewhere else?', 'Yes. A site is plain HTML, CSS and JavaScript; copy its files out of the editor whenever you like.'],
-- ['Can I put something running on my own computer here?', 'Yes, with OpenVibe Connect: one port on your computer at its own address, like agents--you.openvibe.website, opened only by the people you pick after they sign in with OpenVibe. One file and Node, no router settings. Start at connect.openvibe.website.'],
++ ['Can I put something running on my own computer here?', 'Yes, with OpenVibe Connect: one port on your computer at its own address, like agents--you.openvibe.website, opened only by the people you pick after they sign in with OpenVibe. One file and Link, no router settings. Start at connect.openvibe.website.'],
];
/** The room's motif: the prompt types, then the bakery template's page assembles in its browser, block by block. */
ddiff --git a/test/link-brand.test.js b/test/link-brand.test.js
nnew file mode 100644
iindex 0000000..f6427c1
---- /dev/null
++++ b/test/link-brand.test.js
@@@ -0,0 +1,10 @@
++'use strict';
++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', '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')}`);
++console.log(' ok old Link brand and principal IDs are absent');