[repo] Licence: merge chore/cpal-network-use — CPAL-1.0 section 15, the source on the invite page (review in PR #25)
ci / check (push) Has been cancelled

This commit is contained in:
2026-11-23 00:37:49 +01:00
3 changed files with 16 additions and 2 deletions
+8
View File
@@ -31,6 +31,14 @@ this where CPAL section 14 asks (when the user interface opens, or on an *About*
The relay's invite page (`GET /join`) shows it as text. The relay's invite page (`GET /join`) shows it as text.
**Network use (CPAL-1.0 section 15).** Running a relay for other people counts as distributing it: whoever runs a
modified relay must offer its source to the people who use it, under CPAL-1.0. This relay's source is
https://gitea.marek-novak.cz/mnovak/Amicitia-Tabellarius, and the invite page names it.
**Other people's code.** The dependencies keep their own licences and are not relicensed: for example OpenMLS
(MIT) and its HPKE, `hpke-rs` (MPL-2.0). `Cargo.lock` lists them all. No third-party file is copied into this
repository.
## Building ## Building
```bash ```bash
nix build # reproducible build (Linux); `nix build --rebuild` checks it nix build # reproducible build (Linux); `nix build --rebuild` checks it
+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="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> <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. --> <!-- 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> </main>
<script> <script>
(function () { (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("\"amicitia://invite?relay=\" + location.origin + \"#\" + invite"));
assert!(body.contains("location.hash")); assert!(body.contains("location.hash"));
// The CPAL-1.0 Exhibit B credit (LICENSE, section 14), as text. // 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:?}"); assert!(body.contains(credit), "the page lacks the credit {credit:?}");
} }
} }