forgejo-mcp/operation
Christoph Görn 6c7e0fe53d
feat: ✨ label CRUD tools and resource-templates (closes #190)
- Repo-label CRUD: create_repo_label, edit_repo_label, delete_repo_label,
  get_repo_label via forgejo-sdk/v3
- Org-label CRUD: create_org_label, edit_org_label, delete_org_label,
  get_org_label via pkg/forgejo DoJSON
- Safe delete: delete_mode=safe (default) refuses in-use labels with count;
  delete_mode=force overrides; org count best-effort over visible repos
- Color normalization: accepts rrggbb or #rrggbb, 6-digit only, rejects
  invalid with error (3-digit shorthand intentionally excluded)
- Resource templates: forgejo://repo/{o}/{r}/label/{id} (single),
  forgejo://repo/{o}/{r}/labels (bounded list, EmbeddedListCap ceiling),
  forgejo://org/{org}/labels (bounded list); all use operation/resource helpers
- URI parsers: ParseLabel, ParseLabels, ParseOrgLabels added to resource/parse.go
- Unit tests covering happy paths, color normalization, partial PATCH,
  empty-edit reject, delete in-use/force/404, resource over-cap truncation
2026-06-10 08:27:33 +02:00
..
actions feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
attachment feat: add issue & comment attachment tools (#109) 2026-05-02 12:06:54 +02:00
branchprotection feat: ✨ branch protection edit — push/merge/approvals whitelists 2026-06-02 19:11:29 +02:00
issue feat: ✨ label CRUD tools and resource-templates (closes #190) 2026-06-10 08:27:33 +02:00
org feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
params feat: ✨ branch protection edit — push/merge/approvals whitelists 2026-06-02 19:11:29 +02:00
pull fix: 🐛 request EmbeddedListCap+1 PR reviews to detect truncation 2026-05-28 16:18:20 +02:00
release feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
repo fix: 🐛 request EmbeddedListCap+1 statuses to detect truncation 2026-05-28 16:13:45 +02:00
resource feat: ✨ label CRUD tools and resource-templates (closes #190) 2026-06-10 08:27:33 +02:00
search feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
tracking feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
user fix: 🐛 owner resource: surface orgErr on transport failure, explicit -32003 on both-404 2026-05-28 16:11:26 +02:00
version fix: add /v2 suffix to module path for go install compatibility 2025-12-29 15:51:03 +01:00
wiki feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
extracttoken_test.go fix: 🔒️ reject bare tokens in stateless HTTP auth 2026-06-01 23:41:10 +02:00
operation.go feat: ✨ label CRUD tools and resource-templates (closes #190) 2026-06-10 08:27:33 +02:00