Commit Graph
23 Commits
Author SHA1 Message Date
bot-hermes b772f5dad9 fix(ui): support bare scp and IPv6 host forms in git provider detection
Extract a single shared parseGitHost (packages/ui/src/lib/gitHost.ts) used
by both the custom-domain registry (normalizeProviderDomain) and remote
detection (gitProvider). Previously both parsers required a user@ prefix,
rejecting valid bare scp remotes like codeberg.org:owner/repo.git, and
mangled IPv6 hosts. Now scp forms with or without a user, ssh:// URLs with
ports, git+ssh scheme, and bracketed/unbracketed IPv6 all normalize to a
bare hostname; Windows-path-like input is rejected.
2026-08-16 16:27:50 +00:00
bot-hermes ca91fd7e2d feat(gitea): add Gitea/Forgejo as a git provider
Full parity with the existing GitLab provider:
- Server module packages/web/server/lib/gitea (auth/client/repo/routes + docs + tests)
  with Gitea REST v1 API, PAT + base URL auth, multi-account storage
- Shared GiteaAPI types and web API client
- Provider detection generalized with user-configurable custom domains
  per provider (github/gitlab/gitea), additive with built-in defaults
  (github.com, gitlab.com) and connected-account hosts; precedence
  github -> gitlab -> gitea
- Gitea PR view, issues section, pickers, integration dialog, branch
  PR status helper, settings UI (PAT + base URL + custom domains)
- Magic prompts (gitea.pr.review, gitea.issue.review) and full 11-locale
  i18n parity
2026-08-16 16:27:49 +00:00
bot-hermes be13272eb1 feat(ui): issues tabs in GitLab MR and GitHub PR views
Add an Issues tab alongside the merge-request / pull-request content in the
context panel's PR surface for both providers. The tab lists open issues
lazily and expands a selected issue into an inline detail view (body, labels,
assignees, comments) with a back action. Read-only: no issue create, update,
or close actions. Adds 15 i18n keys across all 11 locales.
2026-08-16 16:27:49 +00:00
bot-hermes 7c8c2bba3f feat(ui): head branch selector in the GitHub pull request create form 2026-08-16 16:27:49 +00:00
bot-hermes d5dea0c004 feat(ui): branch selectors in the GitLab merge request create form 2026-08-16 16:27:48 +00:00
bot-hermes c25e16d093 feat(ui): GitLab brand icons in GitLab surfaces 2026-08-16 16:27:48 +00:00
bot-hermes 51ffe54788 fix(ui): provider-aware context tab icon 2026-08-16 16:26:02 +00:00
bot-hermes 7bf07f0dd9 fix(ui): provider-aware context rail branding for GitLab 2026-08-16 16:24:40 +00:00
bot-hermes 06a5dd63bb fix(ui): label GitLab merge requests as MR in the composer 2026-08-16 16:23:40 +00:00
bot-hermes 324dca9057 feat(ui): create, update and merge GitLab merge requests from the MR view 2026-08-16 16:23:39 +00:00
bot-hermes 28d992ac78 feat(web): create, update and merge GitLab merge requests 2026-08-16 16:23:39 +00:00
bot-hermes b8a0aa0242 feat(web): resolve walkthrough diffs for GitLab merge requests 2026-08-16 16:23:38 +00:00
bot-hermes 89db325168 feat(ui): show GitLab merge request status in walkthrough, git view and work status 2026-08-16 16:23:38 +00:00
bot-hermes 2c4ba78ae5 feat(ui): GitLab merge request view in the context panel 2026-08-16 16:23:37 +00:00
bot-hermes 454b3591e5 feat(ui): attach GitLab issues and merge requests to sessions 2026-08-16 16:23:36 +00:00
bot-hermes 267db3fb9d feat(web): filter GitLab merge requests by source branch 2026-08-16 16:23:36 +00:00
bot-hermes 6868a58359 fix(ui): hide GitHub surfaces in non-GitHub repositories 2026-08-16 16:23:36 +00:00
bot-hermes e83bd2bc08 fix(ui): refresh GitLab auth status on worktree dialog mount 2026-08-16 15:42:26 +00:00
bot-hermes a05056a871 feat(ui): start worktree sessions from GitLab issues and merge requests 2026-08-16 15:42:26 +00:00
bot-hermes a42eec5c9c feat(ui): add GitLab connect settings 2026-08-16 15:42:26 +00:00
bot-hermes d798b3f479 feat(web): add GitLab issues/MRs server module
Add a server-side GitLab integration mirroring the GitHub module:
- auth.js: PAT auth storage with multi-account support and configurable
  base URL (gitlab.com default, self-hosted instances supported)
- client.js: raw-fetch GitLab REST v4 client with per-request timeout,
  ETag conditional-GET cache, own rate-limit cooldown, pagination, and
  single-follow redirect handling
- repo.js: GitLab remote URL parser + directory resolution
- routes.js: read-only /api/gitlab/* routes (auth, issues, MRs, branches)
- index.js + DOCUMENTATION.md + unit tests for auth, client, repo, routes
- Wire registerGitLabRoutes into feature-routes-runtime
2026-08-16 15:42:26 +00:00
bot-hermes b5ddb6f3a1 feat(web): add GitLab API client wrapper and types 2026-08-16 15:42:26 +00:00
bot-hermes f16a5bab6b docs: add GitLab issues/MRs page 2026-08-16 15:42:26 +00:00