Skip to content

feat: audit system and JS/Python script notifications - #2990

Merged
whyour merged 7 commits into
developfrom
copilot/add-notification-audit-log
Oct 14, 2026
Merged

whyour merged 7 commits into
developfrom
copilot/add-notification-audit-log

Conversation

Copilot AI commented Apr 25, 2026 •

Copy link
Copy Markdown
Contributor

Record notification results from the unified backend sender, configuration tests, and the built-in JS/Python helpers used by scripts and QLAPI.notify. Display system/script source, script filename and task ID in the administrator notification log tab.

Each configured channel reports its actual success/failure through the existing mTLS gRPC service. A bounded shared database sink keeps the newest 200 entries; missing certificates, older/offline panels and write failures do not change delivery results. Custom scripts calling third-party HTTP/SMTP directly need to adopt the built-in helpers to report logs.

Validation: backend/frontend builds; database retention and failure tests; JS SMTP/HTTP/multi-channel/multi-recipient tests; actual JS and Python mTLS RPC with SMTP success/failure and offline reporting; full regression suite with resource-sensitive cases rechecked serially. Coverage and limits are documented in docs/development/notification-audit.md.

Copilot AI linked an issue Apr 25, 2026 that may be closed by this pull request
@vercel

vercel Bot commented Apr 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
qinglong Ready Ready Preview Oct 14, 2026 2:29am UTC
qinglong-back Ready Ready Preview Oct 14, 2026 2:29am UTC

Agent-Logs-Url: https://github.com/whyour/qinglong/sessions/4c9f0ab1-8b0e-4b94-b295-39c90ed942c2

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
Copilot AI changed the title [WIP] Add notification audit log feature to settings page feat: add notification audit log tab to settings Apr 25, 2026
Copilot AI requested a review from whyour April 25, 2026 06:51
@whyour
whyour force-pushed the develop branch 7 times, most recently from 7539d75 to e8ac195 Compare June 1, 2026 10:20
@whyour
whyour force-pushed the develop branch 5 times, most recently from f43efe3 to 7933fe0 Compare June 18, 2026 14:55
@whyour
whyour force-pushed the develop branch 4 times, most recently from 2f7b6e3 to 06fc588 Compare June 26, 2026 07:31
@whyour
whyour force-pushed the develop branch 8 times, most recently from 152a9aa to 92e4f26 Compare July 24, 2026 14:34
@whyour
whyour force-pushed the develop branch 3 times, most recently from 9b37f06 to 0bb41eb Compare July 25, 2026 05:29
@whyour
whyour force-pushed the develop branch 2 times, most recently from de65d7f to 5f6049d Compare August 29, 2026 11:10
@whyour
whyour force-pushed the develop branch 2 times, most recently from 30294b8 to 9d5f58e Compare October 7, 2026 17:17
@whyour whyour changed the title feat: add notification audit log tab to settings feat: audit system and JS/Python script notifications Oct 12, 2026
@whyour
whyour marked this pull request as ready for review October 12, 2026 18:29
@whyour
whyour merged commit 63d9e37 into develop Oct 14, 2026
10 of 11 checks passed

This branch was successfully deployed

2 active deployments
Preview – qinglong — 26d8a721 Deployed Oct 14, 2026 by vercel[bot]
Preview – qinglong-back — 26d8a721 Deployed Oct 14, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

功能建议:增加通知审计日志功能

2 participants