279 Commits
Author SHA1 Message Date
OpenWaygate eac8f89d54 ♻️ Remove unused bool converters 2026-09-12 18:23:17 +08:00
OpenWaygate 70aa122710 🐛 Preserve omitted non-video metadata 2026-09-12 18:23:17 +08:00
OpenWaygate 49e092ea2e 🐛 Preserve omitted video metadata 2026-09-12 18:23:06 +08:00
OpenWaygate afdb8c8305 ♻️ Generalize omitted flag reset 2026-09-12 16:47:13 +08:00
OpenWaygate 73884cc3dd ♻️ Extract ServiceProvider interface 2026-09-07 00:25:08 +08:00
OpenWaygate 1326df816b :chore: Refactor codes and upgrade golangci-lint in ci 2026-08-29 19:01:26 +08:00
OpenWaygate a1ad5bafde ♻️ Use omitzero for *bool, int64, and uint64 2026-08-29 19:01:26 +08:00
OpenWaygate 2d3ed8e0ba ♻️ Migrate encoding/json to encoding/json/v2 and jsontext 2026-08-29 19:01:26 +08:00
OpenWaygate 2d27a90036 ✨ Add WithContext option to auth service 2026-08-29 19:01:25 +08:00
OpenWaygate 05b6cb8699 ♻️ Use slices.SortFunc and t.Context() for modern Go idioms 2026-08-29 19:01:25 +08:00
OpenWaygate 102413b19b ⬆️ Bump Go to 1.27.0 and use promoted field literals 2026-08-29 19:01:19 +08:00
OpenWaygate 7b929301b9 ♻️ Use ServerOptions and HTTPOptions 2026-08-23 22:34:00 +08:00
OpenWaygate e363da2735 ♻️ Cleanup unused code 2026-08-20 22:18:48 +08:00
OpenWaygate 8bf6457508 🔒 Add confirmation gate to MCP destructive tools
* ♻️ Refactor IsInteractive to accept any

* ♻️ Simplify Confirm to return bool

* ♻️ Use simplified Confirm in mutation commands

* 🔧 Update MODULE.bazel for go tool

* ✨ Add ConfirmPreRun utility

* ♻️ Migrate mutation commands to ConfirmPreRun

* 🎨 Fix alignment and trailing newlines
2026-08-20 21:55:27 +08:00
Jouy 15c01c9534 ✨ Add publishAt to video update (#238)
* Add publishAt support to video update

video insert already scheduled uploads. update did not, so MCP and CLI
could not set a publish time on an existing video.

* Do not force public videos private when scheduling

publishAt on update now errors unless the video is already private or
privacy private is set explicitly, so a live video cannot go offline
by accident.
2026-08-20 21:19:52 +08:00
OpenWaygate de676675e8 🚨 Fix golangci-lint 2026-08-01 23:49:59 +08:00
OpenWaygate 96eae8501d ✨ Print compact JSON in non-interactive mode 2026-08-01 23:07:33 +08:00
OpenWaygate f00eb17747 📝 Update AGENTS.md files for liveBroadcast and liveChatMessage 2026-07-14 19:07:35 +08:00
OpenWaygate a3a627d13f ✨ Add liveBroadcast resource package 2026-07-13 23:53:47 +08:00
OpenWaygate 9e8edebdf4 ✨ Add liveChatMessage resource package 2026-07-10 00:06:06 +08:00
OpenWaygate 521314945c 🔧 Fix golangci-lint issues (errcheck, staticcheck, unused)
- Check fmt.Fprintln return value in cmd/flags.go
- Remove unused confirmationToolNames, computeConfirmationToolNames, requireConfirmation
- Convert if/else-if chains to tagged switches (QF1003)
- Remove empty if branches (SA9003)
- Simplify embedded field selectors (QF1008)
- Use fmt.Fprintf instead of Write([]byte(fmt.Sprintf(...))) (QF1012)
2026-07-09 00:03:19 +08:00
OpenWaygate 7b86d2be8a 📝 Sync implemented resources in docs 2026-07-08 23:25:49 +08:00
OpenWaygate 1bdd1a409c ✨ Add abuseReport resource package and CLI subcommand 2026-07-08 23:10:53 +08:00
OpenWaygate a87a19f6f9 ✨ Add liveStream resource package 2026-07-08 22:39:45 +08:00
OpenWaygate 33cddef312 ✨ Add liveChatModerator resource package 2026-07-08 19:25:40 +08:00
OpenWaygate 2ecc6a9856 📝 Update docs for liveChatBan 2026-07-06 23:58:37 +08:00
OpenWaygate 4b407d70b4 ✨ Add liveChatBan resource package 2026-07-06 23:36:49 +08:00
OpenWaygate 11bf559fe7 🐛 Replace mutually exclusive bool flags with single --for enum in activity
related issue #215
2026-06-27 18:36:26 +08:00
OpenWaygate 8ea872ed84 🐛 Replace mutually exclusive bool flags with single --for enum in channel
related issue #215
2026-06-27 18:36:26 +08:00
OpenWaygate 9cf757851c 🐛 Replace mutually exclusive bool flags with single --for enum in subscription
related issue #215
2026-06-27 18:36:10 +08:00
OpenWaygate 1dc1537711 🐛 Replace mutually exclusive bool flags with single --for enum in search
Fixes #215
2026-06-27 17:55:32 +08:00
OpenWaygate 6588fe5d7e ✏️ Capitalize Base64 and JSON in descriptions 2026-06-21 01:49:46 +08:00
OpenWaygate d897e3c159 ♻️ Replace *common.Fields with value embedding 2026-06-21 00:35:08 +08:00
OpenWaygate fb214aa671 ✨ Support thirdPartyLink service 2026-06-21 00:33:49 +08:00
OpenWaygate 85ce5706ab ♻️ Replace RedirectURL global with context-based injection 2026-06-16 23:27:33 +08:00
OpenWaygate 87026c4eee 🔒 Fix arbitrary file write in caption download
Use pkg.Root.OpenFile instead of os.Create to prevent path traversal
attacks in the MCP caption-download tool (GHSA-2c7f-fxww-6w6c).
2026-05-28 22:14:43 +08:00
OpenWaygate b55029cb27 💥 Add --dry-run and --yes to mutating subcommands 2026-04-21 21:48:22 +08:00
OpenWaygate c14c60d977 ✅ Improve video tests 2026-04-21 19:44:43 +08:00
OpenWaygate c0d4300871 ✅ Resolve bazel tests 2026-04-21 00:36:40 +08:00
OpenWaygate 8721fff8b7 💥 Support OAuth in MCP 2026-04-21 00:27:32 +08:00
OpenWaygate 8bb22e2b1f ✨ New fields in video insert/update
issue #182
2026-04-18 20:43:57 +08:00
OpenWaygate 511c97341c 🐛 Set MaxResults and skip readonly fields
resolve issue #181
2026-04-12 12:13:31 +08:00
OpenWaygate 13d7445a36 🐛 Fix OAuth callback handler blocking forever 2026-04-12 11:28:10 +08:00
OpenWaygate 54734409c7 ♻️ Extract test helpers 2026-04-07 21:18:53 +08:00
OpenWaygate a0c03f986a ✅ Add tests for common 2026-04-07 20:54:06 +08:00
OpenWaygate 6cba52bb9b 🎨 Format codes 2026-04-06 23:55:05 +08:00
OpenWaygate 5c4ff9d8a3 ♻️ Extract terminal print 2026-04-06 23:51:08 +08:00
OpenWaygate 80470ef69d ♻️ Extract pagenate function 2026-04-06 23:32:52 +08:00
OpenWaygate 7302eca9d9 ♻️ Extract common fields 2026-04-06 22:42:01 +08:00
OpenWaygate 10cbf87428 🚸 EnsureService with error instead of panic 2026-04-06 22:04:05 +08:00