uptime-kuma/server/model
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
..
api_key.js Added JSDoc to ESLint (#3529) 2023-08-11 15:46:41 +08:00
docker_host.js Added JSDoc to ESLint (#3529) 2023-08-11 15:46:41 +08:00
domain_expiry.js fix: Proper processing of date fields (Domain Expiry) with cleanup of unnecessary Date comparison functions (#6638) 2026-01-09 04:18:17 +01:00
group.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
heartbeat.js feat: Add configurable response data storage for notifications 2026-01-12 14:45:02 +03:00
incident.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
maintenance.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
monitor.js feat: Add configurable response data storage for notifications 2026-01-12 14:45:02 +03:00
proxy.js Added JSDoc to ESLint (#3529) 2023-08-11 15:46:41 +08:00
remote_browser.js Feature: remote browser support (#3904) 2023-12-01 15:29:10 +08:00
status_page.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
tag.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
user.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00