Commit Graph

78 Commits

Author SHA1 Message Date
赵昌 3ee71a1ffc fix: update _Sidebar.md on wiki page create/delete
CI / test (push) Failing after 2m6s Details
When creating a wiki page, add [[PageName]] to _Sidebar.md.
When deleting a wiki page, remove [[PageName]] from _Sidebar.md.
This ensures the web UI properly reflects page changes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-04 08:11:08 +08:00
赵昌 87277cbf4f feat: add code snippet management shortcut (snippet +list/+view/+create/+delete)
CI / test (push) Failing after 11m14s Details
Store snippets as files in the snippets/ directory of the repository
using the repo file API. Supports language tagging in content format
and branch selection for commits.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 21:19:11 +08:00
wqer fef44dc5e3 Add hello snippet via CLI
CI / test (push) Has been cancelled Details
2026-06-03 21:06:13 +08:00
赵昌 d1e44867c3 feat: add project board shortcut (board +view/+columns/+move)
CI / test (push) Failing after 2m2s Details
Implement a kanban-style project board shortcut group that groups
issues by status. Supports filtering by state and milestone, moving
issues between columns with English or Chinese status names.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 20:55:21 +08:00
刘焱 8d3d6cc5ce ci: add PR testing workflow and auto-update package manager configs on release
CI / test (push) Failing after 10m48s Details
2026-06-02 08:57:53 +08:00
刘焱 9598142c2f infra: add Homebrew, Scoop, Chocolatey package manager configs 2026-06-02 08:57:52 +08:00
刘焱 52dc8a9967 improve: npm install checksum verification, error messages, and version check 2026-06-02 08:57:52 +08:00
刘焱 2ddad05646 feat: add color detection and CJK width support for cross-platform terminals 2026-06-02 08:57:52 +08:00
刘焱 44b184723e feat: add user account settings shortcuts and OAuth2 authentication 2026-06-02 08:57:52 +08:00
刘焱 c7d374ab32 feat: add CI pipeline shortcuts, wiki import/export, repo join/quit/migrate/topics 2026-06-02 08:57:51 +08:00
刘焱 aebb24d51c feat: add util, dataset, template, attachment shortcut groups 2026-06-02 08:56:34 +08:00
刘焱 9f99247422 feat(user): add 22 shortcuts for messages, stats, transfers, settings, feedback 2026-06-02 08:56:34 +08:00
刘焱 637be3cb4b feat(repo): add 22 new shortcuts for settings, stats, social, transfer, invite 2026-06-02 08:56:34 +08:00
刘焱 4121524100 feat: add branch all/default/restore, release edit/update, org team-projects, file batch/entries/replace 2026-06-02 08:56:33 +08:00
刘焱 c2e0b0da18 feat(pr): add comments CRUD, commits, reopen, update shortcuts 2026-06-02 08:56:33 +08:00
刘焱 a94088e4ee feat(issue): add comments CRUD, delete, batch-update, batch-destroy shortcuts 2026-06-02 08:56:33 +08:00
刘焱 94661010ac docs: add implementation plan for full API coverage and cross-platform improvements 2026-06-02 08:56:33 +08:00
刘焱 ca7f5aacce docs: add design spec for full API coverage and cross-platform improvements 2026-06-02 08:56:32 +08:00
赵昌 667f28a618 refactor: reimplement wiki commands using Git operations
Replace REST API-based wiki implementation with direct Git operations
on the wiki repository (https://gitlink.org.cn/{owner}/{repo}.wiki.git).
This fixes wiki management which was broken due to REST API limitations.

List and view work without authentication (public repo).
Create, update, delete require a Personal Access Token for Git push.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-01 11:53:32 +08:00
赵昌 8df76dcb7a feat: add wiki shortcut commands (list/view/create/update/delete)
Implement wiki management shortcuts with full CRUD operations.
Includes comprehensive unit tests covering success paths, error
handling, partial updates, project ID auto-resolution, and
parameter validation.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-01 11:08:58 +08:00
刘焱 b64a5104a8 feat: improve cross-platform compatibility and expand API shortcut coverage
Cross-platform improvements:
- Config/credential paths now use platform-aware directories:
  Windows (%APPDATA%), macOS (~/Library/Application Support),
  Linux (XDG_CONFIG_HOME) instead of hardcoded ~/.config
- npm install script: add retry (3x), HTTP proxy support (HTTP_PROXY/HTTPS_PROXY),
  download progress indicator, Windows tar fallback extraction
- Makefile: add cross-build (6 platforms), checksums (SHA256), lint targets
- Release workflow: auto-detect Go version from go.mod, upload SHA256 checksums

New API shortcut groups (36 sub-commands across 7 domains):
- collaborator: +list, +add, +remove, +change-role
- tag: +list, +view, +delete
- milestone: +list, +create, +view, +update, +delete, +close
- file: +get, +readme, +create, +update, +delete, +tree, +blob
- commit: +list, +view, +diff, +blame, +compare
- label: +list, +create, +update, +delete, +priorities, +statuses, +authors, +assigners
- sshkey: +list, +create, +delete

Total shortcut commands increased from ~50 to ~86 (+72% coverage).
2026-05-28 15:11:25 +08:00
wbtiger a46e06b78a Merge pull request 'fix: normalize issue +list output to use project-level issue numbers' (#31) from fix/issue-list-normalize-ids into master 2026-05-24 01:04:31 +08:00
Tiger 64c0ff3cb5 Normalize issue +list output to use project-level issue numbers
The API returns both "id" (global database PK) and "project_issues_index"
(per-project sequential number). The +list JSON output was a raw API
pass-through, making the database ID the most prominent identifier.

This change normalizes each issue in the list:
- Add "number" field from project_issues_index (matches the web URL)
- Rename "id" to "database_id" to prevent confusion

The "number" field now matches the --number flag used by +view, +close,
+update, and +comment commands.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 01:00:31 +08:00
Tiger cbe9186c5c Style contributors avatars in horizontal row with gap
Use flex layout with 20px gap (half avatar width) and rounded avatars.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 23:34:26 +08:00
Tiger 2fb99ee0cc Add contributors section to READMEs
List all 9 contributors by PR count (desc), showing avatars and
GitLink IDs, placed before "Why gitlink-cli" section.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 23:31:47 +08:00
Tiger 4bfbfc6e8f Replace PR #20 webhook with PR #22 improved implementation
- Use v1 API paths for all webhook endpoints (fixes view/test returning HTML/404)
- Add +tasks command for listing webhook delivery tasks
- Add webhook event validation (10-event whitelist)
- Add webhook type validation (10-type whitelist)
- Add content-type and http-method validation
- Fix update to preserve unspecified fields via fetch-and-merge
- Add event deduplication in parseWebhookEvents
- Add 9 comprehensive unit tests (up from 3)
- Use --http-method flag (maintains backward compatibility with PR #20)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 22:45:34 +08:00
Tiger 49cd590227 Merge PR #26: feat(pr): add review shortcuts
Resolved conflicts between PR #24 (+versions, +version-diff) and PR #26
(+reviews, +review). Unified prReviewsPath() to use existing prV1Path() helper.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 22:12:01 +08:00
wbtiger 2b64b8efa7 Merge pull request 'feat(pr): add patchset version shortcuts' (#24) from wangyue111/gitlink-cli:feat/pr-patchset-versions into master 2026-05-23 21:45:41 +08:00
wbtiger 9b6268cc47 Merge pull request 'feat: add webhook shortcut group' (#20) from Mengz/gitlink-cli:codex/webhook-shortcut into master 2026-05-23 21:44:22 +08:00
wbtiger 255410181f Merge pull request 'feat(skills): add gitlink-code-review, gitlink-insight, gitlink-compliance Skills' (#28) from Leo77/gitlink-cli:master into master 2026-05-23 21:27:42 +08:00
wbtiger d0a817c5a8 Merge pull request 'feat(skills): 新增检查提交信息是否规范的的skill : gitlink-commit-quality' (#27) from yangsai/gitlink-cli:feat/commit-quality into master 2026-05-23 21:26:21 +08:00
wbtiger ba78cb75b2 Merge pull request 'feat(skills): 新增自动发版的skill : gitlink-release-auto' (#25) from yangsai/gitlink-cli:feat/gitlink-release-auto into master 2026-05-23 21:24:33 +08:00
wangyue789 fbea42ecce feat(pr): add review shortcuts 2026-05-21 17:20:15 +08:00
yangsai01 67059ec1b2 feat(skills): add skills gitlink-release-auto 2026-05-21 17:00:55 +08:00
yangsai01 c57bd280c5 feat(skills): add skills gitlink-commit-quality 2026-05-21 15:43:35 +08:00
wangyue789 e85dd367d8 feat(pr): add patchset version shortcuts 2026-05-21 11:58:47 +08:00
2403_89190320 a302f2a530 docs(skills): add REFERENCE.md for all 3 Skills 2026-05-21 02:08:39 +08:00
2403_89190320 923e6af127 feat(skills): add gitlink-code-review, gitlink-insight, gitlink-compliance Skills 2026-05-21 01:58:41 +08:00
Leo77 7bd29fdf15 Delete gitlink-code-review 2026-05-21 01:49:29 +08:00
Leo77 478e7c8f88 Add gitlink-code-review 2026-05-21 01:40:30 +08:00
Mengz df1d6bb29e test: fix webhook endpoint expectations 2026-05-20 09:30:51 +08:00
wbtiger fde322669a Merge pull request 'fix(npm): improve missing binary diagnostics' (#18) from wangyue111/gitlink-cli:fix/npm-missing-binary-diagnostics into master 2026-05-19 22:29:30 +08:00
wangyue789 cdca68ff3e fix(npm): improve missing binary diagnostics 2026-05-19 16:56:50 +08:00
Mengz 2f84f3c62e docs: finalize webhook shortcut docs 2026-05-19 15:54:31 +08:00
Mengz 83a642a72d feat: add webhook shortcut group 2026-05-19 10:55:23 +08:00
wbtiger c4ec40ab8b docs: update README for v0.1.17 — branch skill, npm one-step install, 12 skills 2026-05-17 15:07:57 +08:00
wbtiger d5e15c6e71 ci: add GitHub Release workflow with npm publish 2026-05-17 14:49:16 +08:00
wbtiger 795d00302e Revert "Add TUI foundation (Phase 1: Harness Foundation)"
This reverts commit 0ae44e9a64.
2026-05-17 14:14:32 +08:00
wbtiger 0ae44e9a64 Add TUI foundation (Phase 1: Harness Foundation)
Core architecture:
- tui/app.go: Root Bubble Tea model with view routing, layout engine,
  global keybindings (Ctrl+A/Ctrl+Space/Ctrl+P/?), AI panel toggle
- tui/store/store.go: Central state store with auth detection and
  project context resolution (reuses gitlink-cli internal packages)
- tui/navigation/router.go: Stack-based view navigation for back support
- tui/ui/: Theme, keymap, styles, StatusBar, TabBar components
- tui/views/home.go: Dashboard view with onboarding wizard for first run
- main.go: TUI mode dispatch via "gitlink-cli tui"

Entry point: gitlink-cli tui

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-17 14:08:10 +08:00
wbtiger f8d9935b98 docs: remove Gitea reference from branch skill 2026-05-17 12:35:34 +08:00