tag-lifecycle: owner close (status closed, gating + page) + move (copy details to new tag, close source) + legacy ?productid= redirect — verified with real tags 6 & 17

This commit is contained in:
2026-08-10 11:36:11 +10:00
parent 77a9f803f2
commit 97cf0974a3
8 changed files with 123 additions and 10 deletions

View File

@@ -85,6 +85,8 @@ func main() {
mux.Handle("GET /account/tags/{id}/edit/inline", app.RequireAuth(app.EditInlinePage))
mux.Handle("POST /account/tags/{id}/edit", app.RequireAuth(app.EditTag))
mux.Handle("POST /account/tags/{id}/delete", app.RequireAuth(app.DeleteTag))
mux.Handle("POST /account/tags/{id}/close", app.RequireAuth(app.CloseTag))
mux.Handle("POST /account/tags/{id}/move", app.RequireAuth(app.MoveTag))
mux.Handle("POST /account/tags/{id}/photo", app.RequireAuth(app.UploadPhoto))
mux.HandleFunc("GET /photos/{key...}", app.ServePhoto)