Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Clone

Read only, no credentials:

https://rodent.software/git/vole.git

Write over SSH with a registered key:

git clone ssh://git@0.0.0.0:2222/vole.git

A free and open-source forge that lives in your Git repo.

Identify accounts by their registered name

62576fa8157d431dcf2d360f3ebe481de77bda03 · Keenan Nemetz · 14d ago · parent 642e5994

Identify accounts by their registered name

Drop the internal account id and display name. Users, keys, passkeys,
invites, sessions, ACL entries, approvals, locks and CI records now all
use the registered name as the single identity.

The roster migrates in place: old id-keyed tables are rebuilt around the
name, and access-rule/lock references are rewritten through the same
mapping. Display-name editing and whoami --id are removed.

server/web/templates/account.html +1−15

@@ -1,21 +1,7 @@
1 1 {{define "account"}}
2 2 {{template "header" .}}
3 3 <h1>Account</h1>
4 <p><strong>{{.Account.Label}}</strong> <span class="muted">{{.Account.Name}} · {{.Account.ID}}</span></p>
5
6 <h2>Display name</h2>
7 <p class="muted">Shown next to your account on requests, issues and approvals. Your account
8 name <strong>{{.Account.Name}}</strong> is permanent: your branches live under
9 <code>refs/heads/contrib/{{.Account.Name}}/</code>.</p>
10 <form method="post" action="/account/display" class="form-block">
11 <input type="hidden" name="csrf" value="{{.CSRF}}">
12 <div class="card form-card">
13 <label>Display name
14 <input type="text" name="display" maxlength="64" value="{{.Account.Display}}" placeholder="{{.Account.Name}}">
15 </label>
16 </div>
17 <div class="form-actions"><button type="submit">{{icon "check"}}Save display name</button></div>
18 </form>
4 <p><strong>{{.Account.Name}}</strong> <span class="muted">your account name is permanent</span></p>
19 5
20 6 <h2>SSH keys</h2>
21 7 {{if .Account.Keys}}