Commit Graph
13 Commits
Author SHA1 Message Date
RhenCloud 320e825bf8 chore(quality): provider fixtures, formatter snapshots, platform contract tests, CI, CodeQL, dependabot 2026-08-15 17:30:51 +08:00
RhenCloud db49e1f01c docs: fix factual errors, fill coverage gaps and align zh mirror 2026-08-14 06:17:13 +08:00
RhenCloud 41ad1a036b chore: migrate package manager from npm to bun 2026-08-13 20:34:52 +08:00
RhenCloud b139712a91 feat: migrate to Nuxt 4 (Nitro) and Tailwind CSS v3 2026-08-13 17:43:33 +08:00
RhenCloud aec0d1a257 feat: add gitea/forgejo support 2026-08-11 22:01:04 +08:00
RhenCloud e1b1daac98 chore: remove dead code and unused dependencies
Cleans up stale implementation artifacts:
- Delete legacy `src/webhook.ts` (dead code per AGENTS.md)
- Delete admin composables `useMe.ts` and `useRoutes.ts`
- Remove unused dependencies `jose` and `yaml`
- Remove stale `Me` interface, `FILTER_LABELS`, `invalidateConfigCache`, and formatter re-exports
2026-08-11 16:31:13 +08:00
wyf9 afe19795b1 docs: sync documentation with current codebase
- Update event formatter count 23 -> 28 (add ping, workflow_job, status, deployment, check_suite)
- Document Telegram support end-to-end (routes, /gh commands, richheader, secrets)
- Fix route schema to use targets array and group fields (owners, emoji)
- Correct KV/D1 storage layout (msg:*, i18n:*, D1 links/send_logs)
- Note GITHUB_APP_ID/GITHUB_PRIVATE_KEY are unused; drop legacy DISCORD_CHANNEL_ID/PORT/CONFIG_PATH
- Remove stale Docker deployment section
- Update color table, branch filter compatibility, admin API endpoints
- AGENTS.md: add Documentation section requiring doc updates after functional changes
2026-08-05 17:22:15 +08:00
RhenCloud bd7a8f2632 feat: add Telegram push support with multi-target routes
Add a platform-aware route target system so a single route can forward
to several destinations at once (e.g. a Discord channel and a Telegram
group). Route.target becomes Route.targets[] with per-entry platform,
channelId/threadId for Discord and chatId/topicId for Telegram; the
legacy single-target format is normalized on load and accepted by the
admin API.

Implement the Telegram driver with HTML rendering and Bot API
sendMessage (chat_id + message_thread_id for topics, retry on 429/5xx),
plus /gh commands served over POST /telegram/webhook: login, logout,
comment, merge and close. The comment/merge/close commands resolve the
issue or PR from the replied-to notification message. OAuth binding now
stores a D1 telegram_links mapping and replies with a confirmation.

Sync the Telegram webhook from the scheduled trigger via setWebhook.
2026-08-03 05:19:05 +08:00
RhenCloud 3a6a2cbbc5 feat: migrate send logs and discord links to D1 2026-08-03 05:18:58 +08:00
RhenCloud 0af6b9a4b8 refactor: modularize into core/events/formatters/drivers 2026-08-03 03:36:36 +08:00
RhenCloud d540d465d1 refactor: replace Discord Gateway DO with Interaction Endpoint 2026-08-03 03:02:42 +08:00
RhenCloud 8c9720b1b3 docs: document admin groups, OAuth redirect, and API renames 2026-08-03 00:33:18 +08:00
RhenCloud 512d4b01d5 initial commit 2026-07-24 21:48:50 +08:00