summaryrefslogtreecommitdiffstats
path: root/docs/superpowers/specs
Commit message (Collapse)AuthorAgeFilesLines
* .ivar11 days1-198/+0
|
* docs: add image block upload and serving design specivar11 days1-0/+114
| | | | Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* docs: add spec and implementation plan for draft access and slug editingivar11 days1-0/+112
| | | | Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* refactor: convert admin handlers to Gin context-based signaturesivar12 days1-0/+198
- Remove old ServeHTTP method (no longer needed with Gin routing) - Update all 6 handler methods to use *gin.Context instead of http.ResponseWriter, *http.Request - Convert handler signatures: handleList, handleNew, handleNewPost, handleEdit, handleDelete - Remove render() helper (use c.HTML() directly) - Update renderError() to accept gin.Context instead of http.ResponseWriter - Update postFromForm() to extract form data from gin.Context using c.PostForm() - Update main.go to use adminSrv.NewServer() and adminSrv.Engine() - All handlers now use Gin methods: c.HTML(), c.PostForm(), c.Param(), c.Redirect() - Path parameters now extracted via c.Param("slug") instead of function arguments - HTTP status codes and error handling fully migrated to Gin patterns Build verified: go build ./cmd/nebbet succeeds Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>