2 Commits
Author SHA1 Message Date
Worph b508bd267b Admin page: the publisher key is created when IPCR starts (ipcr 1.6.0)
image / vet (push) Successful in 1m43s
image / image (push) Failing after 35s
2026-10-05 17:43:04 +00:00
Worph 3652c322f4 Forge page: link to the admin pages (card and addresses table)
image / vet (push) Successful in 2m7s
image / image (push) Failing after 31s
2026-10-05 17:16:21 +00:00
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -332,7 +332,7 @@
st8.textContent = "";
publisher = s.key.id || "";
$("key-name").textContent = s.key.name || "—";
$("key-id").textContent = publisher || "not created yet (the first import creates it)";
$("key-id").textContent = publisher || "not created yet (IPCR creates it when it starts: reload in a minute)";
$("ens-value").textContent = "ipns://" + (publisher || "k51…");
$("dns-value").textContent = "dnslink=/ipns/" + (publisher || "k51…");
pubName = s.name && s.name.ok ? s.name.name : "";
+3
View File
@@ -91,6 +91,7 @@ mirrored to the Radicle peer-to-peer network.</p>
<a class="card" id="link-gitea" href="#"><b>Gitea</b><span>Your repositories, pull requests, issues and builds. Sign in as <code>gitea_admin</code>.</span></a>
<a class="card" href="#images"><b>Published images</b><span>What this forge serves from IPFS, with the line to put in a compose file.</span></a>
<a class="card" href="#repos" data-radicle><b>On Radicle</b><span>The public repositories mirrored to the Radicle network. Public.</span></a>
<a class="card" href="admin"><b>Admin</b><span>Your ENS or DNS name, which repositories publish, unpublishing, the publisher key backup. Gitea site admins only.</span></a>
</div>
<h2 id="how">How it works</h2>
@@ -242,6 +243,7 @@ for IPFS peers. Details: <a href="https://github.com/Yundera/ipcr" target="_blan
<tr><th>Address</th><th>What</th></tr>
<tr><td><a id="t-gitea" href="#"></a></td><td>Gitea: repositories, Actions, users (<code>gitea_admin</code>)</td></tr>
<tr><td><a id="t-forge" href="#"></a></td><td>This page (public)</td></tr>
<tr><td><a id="t-admin" href="admin"></a></td><td>Admin pages: signed in with Gitea, site administrators only</td></tr>
<tr data-radicle><td><a id="t-radicle" href="#"></a></td><td>Radicle explorer (public)</td></tr>
<tr data-radicle><td><a id="t-radicle-api" href="#"></a></td><td>Radicle API and read-only git over HTTPS (public)</td></tr>
<tr><td><code>ipcr.localhost:4767</code></td><td>IPCR registry, for this server's Docker only</td></tr>
@@ -276,6 +278,7 @@ for IPFS peers. Details: <a href="https://github.com/Yundera/ipcr" target="_blan
}
setLink("t-gitea", "gitea", true);
setLink("t-forge", "ipcr-forge", true);
document.getElementById("t-admin").textContent = (base ? "ipcr-forge-" + base : "ipcr-forge-<domain>") + "/admin";
setLink("t-radicle", "radicle", true);
setLink("t-radicle-api", "radicle-api", true);
setLink("t-ipcr", "ipcr", true);