Commit Graph

12 Commits

Author SHA1 Message Date
null 1c1bade3ca full upgrade pass for the Git Project settings page. 2026-05-24 22:12:14 -05:00
null 5a1caa8264 dded a "Mass Import" button in the header actions that opens a dialog with three states 2026-05-24 20:57:58 -05:00
null 922a386871 New POST /{repository_id}/sync/recent?days=7 endpoint. 2026-05-24 19:42:07 -05:00
null ff545bff34 feat(assign-issue): implement linked boards fetching for repository in AssignIssueAgentDialog 2026-05-22 03:57:13 -05:00
null 3fb0216d9b bug: repository edits 2026-05-20 03:04:12 -05:00
null 0d5d6573ed bug : git error 2026-05-20 01:22:16 -05:00
null 87802db0f4 feat: new git imports (desc, open, is_archived) 2026-05-19 21:49:45 -05:00
null 017ab4951a feat: git label import 2026-05-19 21:34:11 -05:00
null 8e012a2197 feat(forgejo): batch 3 UI + Georgia numbers font (#28) 2026-05-19 20:14:16 -05:00
null ab73770d16 feat: webhooks 2026-05-19 04:16:32 -05:00
null 4c540b1c9a feat(forgejo): add validation, cached issues, sync service, and human issue APIs (Issues 5-8); add connection and repository admin UI (Issues 3-4); fix migration graph and client bugs
Backend Issues 5-8:
- POST /forgejo/connections/{id}/validate and /repositories/{id}/validate
- ForgejoIssue model with unique constraint (repo_id, issue_number)
- IssueSyncService with pagination and upsert
- GET /forgejo/issues with filtering, search, pagination
- GET /forgejo/issues/{id} with org-scoped access
- Fixed ForgejoAPIClient /api/v1 path prefix
- Fixed get_forgejo_client async context (was async def, now regular def)
- Fixed Forgejo API response parsing (list, not dict with items)
- Fixed None-safe handling for labels/assignees

Frontend Issues 3-4:
- Connections list, new, edit pages with token masking
- Repositories list, new, edit pages with connection selector
- ForgejoConnectionForm, ForgejoConnectionsTable components
- ForgejoRepositoryForm, ForgejoRepositoriesTable components
- api-forgejo.ts client library

Migration cleanup:
- Consolidated forgejo_issues table into f5a2b3c4d5e6 migration
- Removed orphan branch migrations for already-existing tables
- Fixed migration graph to single head (f5a2b3c4d5e6)
- Stamped DB to correct revision
2026-05-19 03:10:32 -05:00
null 83241a304f feat(forgejo): add DB models, CRUD APIs, client service, and Git Projects nav (Issues 1-4, FI2)
Backend:
- ForgejoConnection + ForgejoRepository SQLModel models with migration
- Admin CRUD API for connections (GET/POST/PATCH/DELETE)
- Admin CRUD API for repositories (GET/POST/PATCH/DELETE)
- Token redaction, URL normalization, duplicate prevention
- ForgejoAPIClient service (httpx async, list_issues, close_issue, get_repository)
- Removed stale feast import that crashed startup

Frontend:
- Git Projects sidebar nav item (FolderGit icon)
- /git-projects shell page with empty/loading/error states

Verified: all endpoints live, CRUD tested, migration applied.
2026-05-19 02:46:27 -05:00