[repo] Licence: CPAL-1.0 section 15 (network use) with the source on the invite page; dependencies keep their own licences
ci / check (pull_request) Has been cancelled

This commit is contained in:
2026-11-23 00:37:13 +01:00
parent cd30b01fad
commit 3f2f174519
3 changed files with 16 additions and 2 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ p { margin: 0 0 20px; color: #cfc4bf; }
<p id="missing" class="small">Don't have Amicitia yet? Ask the person who invited you how to get it, then tap their message again.</p>
<p id="bad" class="small" hidden>This invite link is incomplete. Ask for a new one.</p>
<!-- The CPAL-1.0 Exhibit B credit (LICENSE, section 14). Text only: this page loads and links nothing. -->
<p id="credit" class="small">Built on Domi · aula.marek-novak.cz<br>Copyright (c) 2026 Marek Novák</p>
<p id="credit" class="small">Built on Domi · aula.marek-novak.cz<br>Copyright (c) 2026 Marek Novák<br>Source (CPAL-1.0): gitea.marek-novak.cz/mnovak/Amicitia-Tabellarius</p>
</main>
<script>
(function () {
+7 -1
View File
@@ -854,7 +854,13 @@ async fn the_join_page_is_static_and_loads_nothing_from_elsewhere() {
assert!(body.contains("\"amicitia://invite?relay=\" + location.origin + \"#\" + invite"));
assert!(body.contains("location.hash"));
// The CPAL-1.0 Exhibit B credit (LICENSE, section 14), as text.
for credit in ["Built on Domi", "aula.marek-novak.cz", "Copyright (c) 2026 Marek Novák"] {
// And where its source is (section 15: running the relay for others counts as distributing it).
for credit in [
"Built on Domi",
"aula.marek-novak.cz",
"Copyright (c) 2026 Marek Novák",
"Source (CPAL-1.0): gitea.marek-novak.cz/mnovak/Amicitia-Tabellarius",
] {
assert!(body.contains(credit), "the page lacks the credit {credit:?}");
}
}