[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
ci / check (pull_request) Has been cancelled
This commit is contained in:
@@ -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.
|
||||
|
||||
**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
|
||||
```bash
|
||||
nix build # reproducible build (Linux); `nix build --rebuild` checks it
|
||||
|
||||
@@ -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 () {
|
||||
|
||||
@@ -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:?}");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user