Repository navigation
fix: Suppress site-down during maintenance and enable downloading audit events - #719
Merged
Merged
Conversation
AyshaHakeem
enabled auto-merge (squash)
October 30, 2026 09:53
AyshaHakeem
force-pushed
the
pilot-improvements
branch
from
October 30, 2026 09:55
bdb1476 to
a1d985d
Compare
AyshaHakeem
disabled auto-merge
October 30, 2026 09:59
AyshaHakeem
force-pushed
the
pilot-improvements
branch
from
October 30, 2026 09:59
a1d985d to
5167adc
Compare
- Updates and app installs put sites in maintenance mode, so frappe serves a 503 that the uptime monitor reported as downtime - Tag pings of sites in maintenance with `maintenance: true` in the uptime log - Exclude those sites from sustained-down tracking, so no alert or notification fires and the window restarts after maintenance ends Closes frappe#665
- Add `AuditLog.get_csv()` with fixed main columns and the remaining fields as JSON in a `details` column - Add `GET /audit-events/export` honoring the `type`, `site` and `status` filters - Export the full matching history, including the backup trail (completed, failed, downloaded, deleted)
- Add a Download button next to Refresh on the activity page and site activity tab - Download applies the current type and site filters Closes frappe#578
- Add date/time filters - Apply filters while downloading
- Read audit filters with `request.args.get` in each route so the API reference generator picks them up - Regenerate docs/admin-api-reference.md with the export route and the `since`/`until` filters
AyshaHakeem
force-pushed
the
pilot-improvements
branch
from
October 30, 2026 10:00
5167adc to
dddf58d
Compare
AyshaHakeem
enabled auto-merge
October 30, 2026 10:09
AyshaHakeem
disabled auto-merge
October 30, 2026 10:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Suppress site-down alerts during maintenance
Add CSV export for audit events
Closes #578 #665