[web] Licence: the Built on Domi credit (CPAL Exhibit B) on every screen and in About
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Part of Ianitor, under the Common Public Attribution
|
||||
// License 1.0: see LICENSE (its Exhibit A is this file's notice).
|
||||
|
||||
// The release's screenshots (docs/release.md): every shot's screen is drawn from the demo control
|
||||
// plane alone (each click and wait selector found, no call unanswered), and nothing the demo
|
||||
@@ -54,6 +54,12 @@ describe("realLooking", () => {
|
||||
expect(realLooking("gitea.example.cz and Mark's phone")).toEqual(["gitea.example.cz", "mark"]);
|
||||
expect(realLooking("flowers.stage")).toEqual(["flowers.stage", "flowers"]);
|
||||
});
|
||||
|
||||
it("leaves out only the licence's credit, exactly as written", () => {
|
||||
expect(realLooking("Built on Domi · Copyright (c) 2026 Marek Novák https://aula.marek-novak.cz")).toEqual([]);
|
||||
expect(realLooking("Marek's server at https://aula.marek-novak.cz/hosts")).toContain("marek");
|
||||
expect(realLooking("files.marek-novak.cz")).toEqual(["files.marek-novak.cz", "marek", "novak"]);
|
||||
});
|
||||
});
|
||||
|
||||
describe("the release's screenshots from the demo control plane", () => {
|
||||
|
||||
Reference in New Issue
Block a user