[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
+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:?}");
}
}