Commit graph

24 commits

Author SHA1 Message Date
Virgil
00a30817f2 fix(forge): make client accessors nil-safe
All checks were successful
Security Scan / security (push) Successful in 14s
Test / test (push) Successful in 1m54s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 09:00:15 +00:00
Virgil
d331c64fa6 refactor(forge): expose config path helper
Some checks failed
Test / test (push) Waiting to run
Security Scan / security (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:54:24 +00:00
Virgil
0e8bc8918e fix(forge): clarify top-level client summary
All checks were successful
Security Scan / security (push) Successful in 16s
Test / test (push) Successful in 1m55s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:26:07 +00:00
Virgil
edbf3f7088 fix(forge): make stringers nil-safe
Some checks failed
Security Scan / security (push) Successful in 15s
Test / test (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:54:28 +00:00
Virgil
40934c2e43 feat(forge): add safe Go stringers
All checks were successful
Security Scan / security (push) Successful in 16s
Test / test (push) Successful in 1m40s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:48:37 +00:00
Virgil
a5bc1a3ed8 feat(forge): add safe client stringers
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:46:05 +00:00
Virgil
09ae6e6623 feat(forge): expose HTTP client metadata
Some checks failed
Security Scan / security (push) Successful in 14s
Test / test (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:35:37 +00:00
Virgil
0d03174b49 feat(forge): expose auth metadata
Some checks failed
Security Scan / security (push) Successful in 13s
Test / test (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:31:56 +00:00
Virgil
933dc982f7 feat(forge): expose user agent metadata
Some checks failed
Security Scan / security (push) Successful in 15s
Test / test (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:29:00 +00:00
Virgil
84d7c6a796 feat(forge): expose top-level client metadata
All checks were successful
Security Scan / security (push) Successful in 14s
Test / test (push) Successful in 1m49s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:26:13 +00:00
Virgil
f8224ed05d docs(forge): improve top-level usage examples
Some checks failed
Test / test (push) Waiting to run
Security Scan / security (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:22:52 +00:00
Virgil
8473c5676f docs(forge): add AX usage examples to core API
Some checks failed
Security Scan / security (push) Successful in 14s
Test / test (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:19:20 +00:00
Virgil
d1c690ef3c feat(activitypub): add ActivityPub actor service
Some checks failed
Security Scan / security (push) Successful in 13s
Test / test (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 02:04:26 +00:00
Virgil
551a964fdb refactor(ax): enforce v0.8.0 polish rules
All checks were successful
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 1m36s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-29 23:39:24 +00:00
Snider
ecad738da9 feat(forge): add MilestoneService, fix comment creation
- Add MilestoneService with ListAll, Get, Create
- Fix CreateIssueCommentOption Updated field to *time.Time (was serialising zero value)
- Register Milestones in Forge client

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-23 12:53:10 +00:00
Snider
33319590d4 feat: WikiService, MiscService, CommitService
Add three new services completing the final service layer:

- WikiService: CRUD operations for repository wiki pages
- MiscService: markdown rendering, licence/gitignore templates, nodeinfo, version
- CommitService: commit statuses (list, create, combined) and git notes
- PostRaw method on Client for endpoints returning raw text (e.g. /markdown)
- Remove services_stub.go (all stubs now replaced with real implementations)
- Wire Commits field into Forge struct

Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 17:14:01 +00:00
Snider
9e3d15da68 feat: ActionsService, NotificationService, PackageService
Add three new services for the Forgejo API client:

- ActionsService: repo/org secrets, variables, workflow dispatch
- NotificationService: list, mark read, thread operations
- PackageService: list, get, delete packages and files

Wire up real constructors in forge.go and remove stubs from
services_stub.go. All 21 new tests pass.

Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 17:14:01 +00:00
Snider
de76399608 feat: LabelService, WebhookService, ContentService
Add three new services covering labels, webhooks, and file content
operations. LabelService handles repo and org labels without Resource
embedding due to heterogeneous paths. WebhookService embeds Resource
for standard CRUD on repo hooks plus action methods for test delivery
and org hooks. ContentService provides file CRUD and raw file retrieval.
Adds GetRaw method to Client for non-JSON responses.

Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 17:14:01 +00:00
Snider
fd0343e47e feat: BranchService and ReleaseService with protections and assets
Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 17:14:01 +00:00
Snider
c6e9d83b08 feat: AdminService with user, org, cron, runner operations
Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 17:14:01 +00:00
Snider
df75d3281d feat: OrgService, TeamService, UserService
Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 17:14:01 +00:00
Snider
f8c6090227 feat: IssueService and PullService with actions
Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 17:14:01 +00:00
Snider
abc8840fa4 feat: Forge client + RepoService with CRUD and actions
Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 17:14:01 +00:00
Snider
b1862445a0 feat: config resolution from env vars and flags
Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 17:14:01 +00:00