Commit Graph

118 Commits

Author SHA1 Message Date
wbtiger ed8000d7ae Merge PR #270: feat(message-settings): 增加消息通知设置快捷命令
# Conflicts:
#	shortcuts/register.go
#	shortcuts/register_test.go
2026-07-14 22:49:54 +08:00
wbtiger 4c058caf47 Merge PR #308: 新增项目邀请管理模块 2026-07-14 22:49:54 +08:00
wbtiger 63f3b0d0a2 Merge PR #312: feat(pr): 增加行级审查评论快捷命令
# Conflicts:
#	shortcuts/pr/pr.go
2026-07-14 22:49:54 +08:00
wbtiger 572cec4f54 Merge PR #313: feat(release): 增加发布资产查看与下载能力
# Conflicts:
#	internal/client/client_test.go
#	shortcuts/release/release_test.go
2026-07-14 22:49:53 +08:00
wbtiger 33200f03b5 Merge PR #373: feat(repo): add repo +edit to update repository settings
# Conflicts:
#	shortcuts/repo/repo_test.go
2026-07-14 22:49:53 +08:00
wbtiger f36fbd13f3 Merge PR #414: feat(workflow): add release notes command
# Conflicts:
#	shortcuts/workflow/workflow.go
2026-07-14 22:49:52 +08:00
wbtiger de060f0480 Merge pull request 'feat(compare): 增加 compare 汇总与提交筛选命令' (#311) from Mengz/gitlink-cli:mengz/compare-summary-pr into master 2026-07-14 22:31:51 +08:00
wbtiger cdf41dff07 Merge pull request 'feat(workflow): replace raw api calls with shortcut-backed fetches' (#324) from ohanabi/gitlink-cli:feat/workflow-shortcut-backed-fetches into master 2026-07-14 22:29:15 +08:00
wbtiger 9ca5027d7c Merge pull request 'fix(issue): 修复详情缺失并保护更新元数据' (#205) from Mengz/gitlink-cli:mengz/issue-detail-update-safeguards into master 2026-07-14 22:28:57 +08:00
wbtiger 70dbdde1fc Merge pull request 'feat(user): add statistics shortcuts' (#238) from wangyue111/gitlink-cli:feat/user-statistics-shortcuts into master 2026-07-14 22:27:00 +08:00
wbtiger 7ae27f76a5 Merge pull request 'feat(ci): add repository CI control shortcuts' (#317) from ohanabi/gitlink-cli:feat/ci-control-shortcuts into master 2026-07-14 22:26:08 +08:00
wbtiger d40deaaf23 Merge pull request '新增仓库转移快捷命令' (#119) from Mengz/gitlink-cli:mengz/repo-transfer-shortcuts into master 2026-07-14 22:25:42 +08:00
wbtiger 5bea480990 Merge pull request 'feat(repo): 增加 repo +file 读取仓库任意文件能力' (#302) from Mengz/gitlink-cli:mengz/repo-file-shortcut into master 2026-07-14 22:25:35 +08:00
wbtiger eec754a9b8 Merge pull request 'feat(org): add organization team shortcuts' (#322) from ohanabi/gitlink-cli:feat/org-team-shortcuts into master 2026-07-14 22:25:27 +08:00
wbtiger afc3b5773a Merge pull request 'feat(output): 全局 --query/-q 点分路径输出字段提取(零依赖,对标 gh --jq)' (#342) from Taoyouce/gitlink-cli:feat/output-query into master 2026-07-14 22:24:53 +08:00
wbtiger ccac57046a Merge pull request '完善仓库 README 快捷命令' (#122) from Mengz/gitlink-cli:mengz/repo-readme-file-support into master 2026-07-14 22:24:27 +08:00
wbtiger 4431d90e8b Merge pull request 'feat(search): 新增 search +recommend 推荐项目快捷命令' (#250) from luwanzhou/gitlink-cli:feat/search-recommend into master 2026-07-14 22:24:20 +08:00
wbtiger 7ef01a97c1 Merge pull request '新增 shell 自动补全命令' (#134) from Mengz/gitlink-cli:mengz/shell-completion into master 2026-07-14 22:23:07 +08:00
wbtiger c5f0a02192 Merge pull request 'feat(issue): add +comments, +comment-edit, +comment-delete' (#384) from Taoyouce/gitlink-cli:feat/issue-comment-crud into master 2026-07-14 22:22:48 +08:00
wbtiger 16a14b5571 Merge pull request 'feat(pr): add +comments, +comment-edit, +comment-delete' (#385) from Taoyouce/gitlink-cli:feat/pr-comment-crud into master 2026-07-14 22:22:45 +08:00
wbtiger a2f8e1a01a Merge pull request #283: feat(pr): 在列表输出中显示 PR 编号
# Conflicts:
#	shortcuts/pr/pr.go
#	shortcuts/pr/pr_test.go
2026-07-14 21:57:59 +08:00
wbtiger 1e7b646587 Merge pull request #386: feat(branch): add +all and +set-default
# Conflicts:
#	shortcuts/branch/branch_test.go
2026-07-14 21:57:59 +08:00
wbtiger a019141a8c Merge pull request #355: feat(repo): 新增 repo +clone
# Conflicts:
#	internal/i18n/locales/en-US.json
#	internal/i18n/locales/zh-CN.json
#	shortcuts/repo/repo_test.go
2026-07-14 21:57:50 +08:00
1os21ka23r9navae6mrro f0e72d8a6c feat(branch): add +all and +set-default
- branch +all: full branch-name list via GET /branches/all
  (AllListService), no paging — handy for scripting and completion.
- branch +set-default: switch the repository default branch via
  PATCH /branches/update_default_branch (manager permission),
  which the CLI previously had no way to do.

Production-verified on gitlink.org.cn (full name list returned;
default branch update status 0). 2 unit tests, README examples,
bilingual i18n keys.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-07-08 14:45:30 +00:00
1os21ka23r9navae6mrro cf42b86f65 feat(pr): add +comments, +comment-edit, +comment-delete
Completes the pull-journal comment lifecycle. The CLI could only
create PR comments (via the linked issue's journals); the dedicated
v1 pull journals endpoints also support list/update/destroy:

- pr +comments -i <num>: list a PR's journals
- pr +comment-edit -i <num> -c <journal-id> -b <text> [-s state]
- pr +comment-delete -i <num> -c <journal-id>

The server's UpdateService hard-requires state in
opened|resolved|disabled (omitting it fails with
'State不包含于列表中'), so +comment-edit always sends state,
defaulting to opened, with client-side validation of the enum.
--comment-id is integer-validated.

Production-verified full lifecycle on gitlink.org.cn:
create -> list -> edit (note updated) -> delete. 3 unit tests,
README examples, bilingual i18n keys.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-07-08 14:43:26 +00:00
1os21ka23r9navae6mrro 443b135f47 feat(issue): add +comments, +comment-edit, +comment-delete
Completes the journal (comment) lifecycle for issues. The CLI could
only create comments; the v1 journals endpoints also support listing,
updating, and deleting:

- issue +comments -n <num>: list journals with the server's filters
  (--keyword, --category comment|operate, paging)
- issue +comment-edit -n <num> -c <journal-id> -b <text>
- issue +comment-delete -n <num> -c <journal-id>

--comment-id is integer-validated before any API call.

Production-verified full lifecycle on gitlink.org.cn: create ->
list (count reflects it) -> edit -> delete. 3 unit tests, README
examples, bilingual i18n keys.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-07-08 14:39:25 +00:00
1os21ka23r9navae6mrro b19d45fc6f feat(repo): add +forks and +top-counts
- repo +forks: list users who forked the repository (GET /forks,
  same community time-range flags as +watchers/+stargazers)
- repo +top-counts: repository top-line counts (tags, branches,
  commits, releases, size) via GET /top_counts

Production-verified on gitlink.org.cn (77 forks on a large repo;
counts payload matches web overview). 2 unit tests, README examples,
and bilingual i18n keys.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-07-08 14:24:59 +00:00
1os21ka23r9navae6mrro 1eb3b7c485 feat(repo): add repo +edit to update repository settings
Adds a repo +edit shortcut that updates repository metadata via
PATCH /:owner/:repo.json: --description, --website, --private,
--default-branch, --category-id, --language-id.

The server dispatches on which key is present (website, default_branch,
or general metadata) and the metadata path validates name/identifier,
so the command resolves them from the repository detail first and sends
each field group as its own request. Requires at least one field and
validates --private and integer IDs before any API call.

Production-verified against gitlink.org.cn (description/website update
and default-branch round-trip). Includes 6 unit tests and bilingual
README examples plus en-US/zh-CN i18n keys.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-07-08 13:38:54 +00:00
Taoyouce 794210ec03 feat(wiki): auto-resolve --project-id from repository detail when omitted 2026-07-08 12:27:26 +00:00
yanchaomei 7b60431ac6 feat(workflow): add release notes command 2026-07-08 17:23:00 +08:00
Taoyouce b9cc72d81a feat(repo): 新增 +clone 使用 git 克隆仓库(对标 gh repo clone) 2026-07-07 16:10:19 +00:00
Mengz 5c16a4a70e feat: 新增 shell 自动补全命令 2026-07-07 14:52:28 +08:00
laurencewannamaker 16c0528427 docs: 全局参数表补 --lang 与 --jq(中英)
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-07-05 23:27:13 +00:00
NeeNe 80f56e8d71 feat(workflow): replace raw api calls with shortcut-backed fetches 2026-07-03 11:28:52 +08:00
NeeNe 906bdb9d6d feat(org): add organization team shortcuts 2026-07-03 10:17:42 +08:00
NeeNe 0806f3096c feat(ci): add repository CI control shortcuts 2026-07-02 13:30:28 +08:00
Mengz c3dc86511d feat(pr): 增加行级审查评论快捷命令 2026-07-01 11:44:03 +08:00
Mengz 898af8cd80 feat: 新增 Release 资产下载命令 2026-07-01 11:44:03 +08:00
Mengz 6cebb6fbf9 feat(compare): 新增 compare 汇总与提交筛选命令 2026-07-01 11:44:03 +08:00
weidongde 805c7eba5e feat(invite): 添加项目邀请管理模块
- 新增 invite shortcuts: generate, show, accept, join, quit
- 添加中英文 i18n 翻译
- 添加单元测试
- 添加 gitlink-invite SKILL.md 文档
- 更新 README.md 和 README.zh-CN.md
- 更新 skills/README.md
2026-06-29 15:11:17 +08:00
Mengz d408443c84 feat(repo): 增加读取仓库任意文件的 +file 命令 2026-06-26 15:37:21 +08:00
Mengz c9aea1d983 feat(pr): 在列表中显示 PR 编号 2026-06-25 18:13:39 +08:00
wangyue789 58982c2bb0 feat(user): add statistics shortcuts 2026-06-22 12:32:58 +08:00
Mengz 9bf0258b43 feat(repo): 增强仓库转移快捷命令安全保护 2026-06-22 12:27:37 +08:00
Mengz e9936734ee feat: 新增仓库转移快捷命令 2026-06-22 12:27:37 +08:00
Mengz 1cb9a6e6ef feat(message-settings): 增强消息通知设置快捷命令交付质量 2026-06-22 11:23:18 +08:00
Mengz cf7dab27af feat(message-settings): 增加消息通知设置快捷命令 2026-06-22 11:17:07 +08:00
co63oc 2c9a8b6192 feat(shortcut): add shortcuts/wiki 2026-06-16 10:24:15 +08:00
wangyue789 0703d3eba9 feat(issue): add batch maintenance shortcuts 2026-06-15 08:21:10 +08:00
luwanzhou e5cb868442 feat(search): add recommended projects shortcut
Add `search +recommend`, listing the platform's recommended/featured
projects via GET /api/projects/recommend — a discovery endpoint that had
no shortcut coverage. The endpoint returns a bare JSON array; the command
normalizes it into structured data for clean output.

Includes unit tests, bilingual (en-US/zh-CN) help text, README updates,
and a change note. Verified against production gitlink.org.cn.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-15 01:42:15 +08:00