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.

Let the browser edit issue and change details

a4e7a99a9ecf697586abdb884351a722fc25a864 · Keenan Nemetz · 5d ago · parent de84c32b

Let the browser edit issue and change details

An issue's title and description could only be corrected with the CLI, and a
change request's prose could not be corrected at all after it was opened. Add an
edit page for each, offered to the author and to a maintainer. A change edit writes
through a new metadata writer so the record is still validated, and neither edit
touches the discussion, labels, or review state.

server/web/templates/issues.html +4−1

@@ -153,13 +153,16 @@
153 153 · opened by {{template "userlink" (user .Issue.Author)}} {{since .Issue.Created.Unix}}
154 154 </p>
155 155 </div>
156 {{if .CanClose}}
156 {{if or .CanEdit .CanClose}}
157 157 <div class="page-head-actions">
158 {{if .CanEdit}}<a class="button secondary" href="/r/{{.Name}}/issues/{{.Issue.ID}}/edit">{{icon "pencil"}}Edit</a>{{end}}
159 {{if .CanClose}}
158 160 <form method="post" action="/r/{{.Name}}/issues/{{.Issue.ID}}/state">
159 161 <input type="hidden" name="csrf" value="{{.CSRF}}">
160 162 <input type="hidden" name="state" value="{{if eq .Issue.State "open"}}closed{{else}}open{{end}}">
161 163 <button class="{{if eq .Issue.State "open"}}danger{{else}}secondary{{end}}" type="submit">{{if eq .Issue.State "open"}}{{icon "circle-x"}}Close{{else}}{{icon "rotate-ccw"}}Reopen{{end}}</button>
162 164 </form>
165 {{end}}
163 166 </div>
164 167 {{end}}
165 168 </div>