WebHooker/tests
RhenCloud 3f6f7f17b5
feat(groups): host-based forge sources with optional display name
- forgeSources entries are now { host, type, name? }: the repository URL's
  hostname is matched case-insensitively against host (github.com for GitHub,
  distinct hosts for multiple Gitea instances); the footer label is the
  optional name, falling back to the host
- GroupEditor renders one row per source: host input + type select + optional
  display name (grid layout); hostname validation mirrors the server
- fix: apiFetch sends Content-Type: application/json — h3's readBody only
  parses JSON bodies with that header, so every PUT/POST from the refactored
  console arrived as a raw string and failed with 'groups must be an array'
- hardening: readJsonBody (admin + actions) JSON-parses string bodies so curl
  and older clients without the content-type header still work
- regression test: groups PUT without content-type + forgeSources round-trip
- docs: groups.md/message-format.md (en/zh), AGENTS.md, config.example.yaml
2026-08-14 08:49:48 +08:00
..
admin-api.test.ts feat(groups): host-based forge sources with optional display name 2026-08-14 08:49:48 +08:00
admin.test.ts feat: migrate to Nuxt 4 (Nitro) and Tailwind CSS v3 2026-08-13 17:43:33 +08:00
audit.test.ts feat: migrate to Nuxt 4 (Nitro) and Tailwind CSS v3 2026-08-13 17:43:33 +08:00
discord.test.ts feat(groups): host-based forge sources with optional display name 2026-08-14 08:49:48 +08:00
formatter.test.ts feat(groups): host-based forge sources with optional display name 2026-08-14 08:49:48 +08:00
groups.test.ts feat: migrate to Nuxt 4 (Nitro) and Tailwind CSS v3 2026-08-13 17:43:33 +08:00
helpers.ts feat: migrate to Nuxt 4 (Nitro) and Tailwind CSS v3 2026-08-13 17:43:33 +08:00
install.test.ts chore: auto-fix lint & formatting [skip ci] 2026-08-13 12:37:09 +00:00
invites.test.ts chore: auto-fix lint & formatting [skip ci] 2026-08-13 12:37:09 +00:00
providers.test.ts feat: migrate to Nuxt 4 (Nitro) and Tailwind CSS v3 2026-08-13 17:43:33 +08:00
send-log.test.ts feat: migrate to Nuxt 4 (Nitro) and Tailwind CSS v3 2026-08-13 17:43:33 +08:00
telegram-commands.test.ts feat: migrate to Nuxt 4 (Nitro) and Tailwind CSS v3 2026-08-13 17:43:33 +08:00
telegram.test.ts chore: auto-fix lint & formatting [skip ci] 2026-08-14 00:10:56 +00:00
token-store.test.ts feat: migrate to Nuxt 4 (Nitro) and Tailwind CSS v3 2026-08-13 17:43:33 +08:00
webhook-tenant.test.ts fix: link only the repo head in message titles, keep the subject plain 2026-08-13 19:18:55 +08:00
webhook.test.ts chore: auto-fix lint & formatting [skip ci] 2026-08-13 12:37:09 +00:00