[repo] Licence: CPAL-1.0 for the whole repository (Mark, 2026-11-23), the Exhibit B credit on the invite page
ci / check (pull_request) Has been cancelled

This commit is contained in:
2026-11-23 00:25:41 +01:00
parent 7f46bc5156
commit c4cfad2990
11 changed files with 190 additions and 890 deletions
+4
View File
@@ -853,6 +853,10 @@ async fn the_join_page_is_static_and_loads_nothing_from_elsewhere() {
assert_eq!(body.matches("<style>").count(), 1);
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"] {
assert!(body.contains(credit), "the page lacks the credit {credit:?}");
}
}
#[test]