uptime-kuma/server
codercms dc1319882e feat: Add configurable response data storage for notifications
This is actualized version of this PR - https://github.com/louislam/uptime-kuma/pull/6192
But with tests and an additional change that allows to only store responses **for failed HTTP requests**.

Add response column to heartbeat table to store HTTP response data
* Add monitor configuration options: saveResponse (default: false), saveErrorResponse (default: false) and responseMaxLength (default: 10240 bytes)
* Response max length of 0 allows unlimited storage without truncation
* Response data accessible in notification templates via heartbeatJSON.response
* Add UI controls in monitor edit page with translations (EN)
* Only saves response data when explicitly enabled to minimize database impact

chore: Tests added

fix: Missing response field
2026-01-12 14:45:02 +03:00
..
analytics chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
jobs chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
model feat: Add configurable response data storage for notifications 2026-01-12 14:45:02 +03:00
modules chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
monitor-conditions chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
monitor-types chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
notification-providers feat(nostr): switch to gift-wrapped events (#6677) 2026-01-12 04:23:52 +01:00
routers fix: Ensure ping can handle pings larger than 24 days by changing INT to BIGINT and FLOAT(8,2) to FLOAT(20,2) (#6668) 2026-01-11 12:48:00 +00:00
socket-handlers chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
utils chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
2fa.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
auth.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
check-version.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
client.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
config.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
database.js feat(setup-database): Add SSL authentication method for database setup (#6671) 2026-01-11 07:03:53 +00:00
docker.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
embedded-mariadb.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
image-data-uri.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
jobs.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
notification.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
password-hash.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
prometheus.js feat: add monitor_uptime_ratio and monitor_response_time_seconds prometheus metric (#5506) 2026-01-09 06:30:23 +00:00
proxy.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
radius-client.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
rate-limiter.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
remote-browser.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
server.js feat: Add configurable response data storage for notifications 2026-01-12 14:45:02 +03:00
settings.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
setup-database.js feat(setup-database): Add SSL authentication method for database setup (#6671) 2026-01-11 07:03:53 +00:00
translatable-error.js fix: noisy domain expiry checks in monitor editor and missing debuggability (#6637) 2026-01-08 05:22:08 +00:00
uptime-calculator.js feat: add monitor_uptime_ratio and monitor_response_time_seconds prometheus metric (#5506) 2026-01-09 06:30:23 +00:00
uptime-kuma-server.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
util-server.js fix: idn ping errors (#6662) 2026-01-11 19:28:07 +08:00