Add runtime site config editing #46
Labels
No labels
activitypub
admin
api
articles
auth
bug
cleanup
cli
comments
compatibility
config
contacts
database
deployment
design
dev-env
docs
documentation
email
enhancement
feature
federation
feed
homepage
implementation
integration
media
openapi
priority:high
priority:low
priority:medium
proof
public-routes
public-ui
release
safety
social
sources
status:active
status:canceled
status:done
status:inprogress
status:waiting
syndication
tailwind
template
test
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/slugkit#46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Allow site owners to update supported site configuration values at runtime through the Slugkit API and CLI. The OpenAPI document and CLI are the product path; an admin UI is only an example a site owner might build later and is out of scope for this slice.
Requirements
task-6278792d.slugCLI commands that use the API rather than editing local files or the database directly.Acceptance criteria
slugCLI.Dependencies
Synced from todu comment by @todu on 2026-05-22T22:54:46.618Z
PR Review: Approved
PR: #63
Summary
Reviewed PR #63 at commit
9cc7461. The PR delivers runtime site config editing through the Slugkit product path: authenticated API routes, OpenAPI contract, CLI commands using the API, tests, and docs.Acceptance Criteria
slugCLI.make check,./scripts/pre-pr.sh, and Forgejo CI passed.Blocking Issues
None.
Warnings
None.
Verdict
Approved for merge after explicit human approval.
Synced from todu comment by @todu on 2026-05-23T00:17:52.319Z
Closing Summary
PR #63 merged: #63
Acceptance criteria evidence:
GET /api/v1/site-configis implemented and tested.PATCH /api/v1/site-configvalidates and persists supported fields throughupdateSiteConfig; API tests cover updates./site-configGET/PATCH, operation IDs, and schemas are defined intemplate/site/src/api/openapi.tsand asserted in route tests.slugCLI: met —slug site config showandslug site config set <field> <value>call the API and are covered by CLI tests./and/api/v1/meta; manual smoke verified CLI update and metadata reflection.make check,./scripts/pre-pr.sh, PR review, and Forgejo CI passed.Readiness: READY