Craig Lawson
46eb0b4063
Replace the egress recovery timer with a scheduled job ( #3937 )
...
A failed check still calls assessAfterFailure, which now shares one
in-flight assessment between concurrent failures (same cache shape as
ProxyResolver). When egress degrades it upserts a global "egress" job;
DBQueueWorker runs checkRecovery for that type at the configured
interval, and the job deletes its own row once any target answers.
The unref'd timer, startRecoveryPolling, stop and init are gone: a
degraded episode survives a restart through the jobs collection.
deleteByIdAndType accepts a null refId for global rows.
🔧
2026-09-14 20:41:58 +01:00
Craig Lawson
ec01a5dfe4
Add egress state and probe service ( #3937 )
...
Adds the EgressService that probes a configurable set of reliability targets
(ping, TCP or HTTP) when asked, persists a single instance-wide egress state
document, and runs a recovery poll loop while egress is degraded. Adds the four
egress settings fields with validation. The worker constructs and initialises
the service but nothing calls assessAfterFailure yet, so behaviour is unchanged.
🔧
2026-09-14 10:34:12 +01:00
Alexander Holliday
f41e0f0619
Merge pull request #3949 from kah-ja/fix/register-invite-token-validation
...
validate invite token type on registration
2026-09-12 15:02:48 -07:00
Alex Holliday
9ad20daa51
bump minor version, fix unused import
2026-09-12 14:56:07 -07:00
Jan Kahmen
406518e0a5
validate invite token type on registration
2026-09-12 12:08:33 +00:00
Alex Holliday
ba0d685c6d
commetns
2026-09-11 12:07:45 -07:00
Alex Holliday
912f1f960d
add missing timeout
2026-09-11 11:50:26 -07:00
Alex Holliday
2260b4a4d2
add validation for docker TLS fields, encrypt TLS key on create/edit monitor
2026-09-11 11:10:37 -07:00
Alex Holliday
b14b2142e3
add secrets rotation service and tests
2026-09-11 10:09:30 -07:00
Alex Holliday
c64c4cc5ff
update tests
2026-09-10 12:26:25 -07:00
Alex Holliday
7071de294f
add docker TLS fields to toEntity
2026-09-10 12:26:12 -07:00
Alex Holliday
5eb16fdbdb
add validation, helpers, tests
2026-09-10 12:23:20 -07:00
Alex Holliday
131fd1a6b0
update tests
2026-09-10 11:58:26 -07:00
Alex Holliday
f9bc02ed1c
update msgs
2026-09-10 11:58:12 -07:00
Alex Holliday
1035e397e0
inject encryptionService into DockerProvider
2026-09-10 11:57:43 -07:00
Alex Holliday
9c788561a7
update docker provider to add a TLS path
2026-09-10 11:49:53 -07:00
Alex Holliday
449e96d842
add dockerTlsKey to context for docker type monitors
2026-09-10 11:30:26 -07:00
Alex Holliday
c7626c669a
Add docker tls key to check context
2026-09-10 11:29:41 -07:00
Alex Holliday
ede5bc4ecd
add docker TLS fields to type, model, access methods to repo
2026-09-10 11:15:20 -07:00
Alex Holliday
f009aa17d9
Add encryption service and tests. Update README
2026-09-10 10:31:41 -07:00
Alex Holliday
a8dc867e78
add admin gate to API route
2026-09-08 15:52:43 -07:00
Alex Holliday
8609e4bca0
add admin guard to test all button, fix tests
2026-09-08 10:46:36 -07:00
Alexander Holliday
2661d7a384
Merge pull request #3922 from alishanahmad907/fix/rbac-auth
...
fix(api): enforce RBAC role checks on maintenance windows, notifications, and check deletion
2026-09-08 10:43:01 -07:00
Alexander Holliday
75d29124b6
Merge pull request #3909 from signalgridco/feat/signalgrid-notifications
...
feat: add Signalgrid notification provider
2026-09-08 10:14:19 -07:00
egeoztass and Claude Fable 5.1
67806c94b1
fix: return the created monitor from createMonitor
...
The controller writes the service's return value into the response, but
createMonitor was typed Promise<void> and returned nothing, so every
successful POST /monitors answered data: null and callers had no way to
read the new monitor's id.
Fixes #3917
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01D7eViZ2Np5ZpWUYNoRhmAt
2026-09-07 12:31:07 +02:00
Ali Shan Ahmad
2eeb088b61
[FIX]: rbac by adding the missing isAllowed(["admin", "superadmin"]) authorization middleware to mutating API endpoints for maintenance windows, notifications, and monitor check history.
2026-09-06 08:35:43 +00:00
Alex Holliday
9a541dac21
mock missing dependency
2026-09-04 14:33:13 -07:00
Alex Holliday
71fed33ecd
purge ssh
2026-09-04 14:33:13 -07:00
Alex Holliday
431cada08e
add opt in docker logs flag
2026-09-04 14:06:46 -07:00
Alex Holliday
6e0afe223e
add after to docker logs query
2026-09-04 12:06:17 -07:00
Alex Holliday
37e1005479
add comment
2026-09-04 11:54:29 -07:00
Alex Holliday
f7e1793bac
update tests
2026-09-03 12:56:44 -07:00
Alex Holliday
6587ddf389
wire up services/repositories
2026-09-03 11:32:48 -07:00
Alex Holliday
6ea4ca1aa9
new docker-log domain,service, repo
2026-09-02 11:56:18 -07:00
Alex Holliday
3e06cd39b1
add docker logs to provider
2026-09-02 11:09:38 -07:00
Alex Holliday
efcc7829d4
move docker types to docker domain
2026-09-02 10:08:48 -07:00
Alex Holliday
77974682fb
add docker log/payload types
2026-09-02 10:00:37 -07:00
Alex Holliday
786c803847
add port/mount display
2026-09-02 09:45:28 -07:00
signalgridco
c13f26a4c3
feat: add Signalgrid notification provider
2026-09-01 23:17:11 +02:00
Alex Holliday
f85ed902e4
openapi docs, tests
2026-09-01 10:09:37 -07:00
Alex Holliday
8ccc7cbe9a
new container endpoint,service, repo methods
2026-09-01 10:05:34 -07:00
Alex Holliday
ca896fa22f
implement docker host details page
2026-08-31 12:02:40 -07:00
Alex Holliday
e964234f54
add tests and migration
2026-08-28 14:42:46 -07:00
Alex Holliday
e60bfd18ff
add route
2026-08-28 14:03:27 -07:00
Alex Holliday
560d64a482
add controller method for docker monitors
2026-08-28 14:00:34 -07:00
Alex Holliday
c8826d90d5
update openapi
2026-08-28 13:59:54 -07:00
Alex Holliday
cacedfd7d8
add validation
2026-08-28 13:59:24 -07:00
Alex Holliday
4ec03dfd04
fix return type, copy paste bug
2026-08-28 13:49:44 -07:00
Alex Holliday
78d3b23e93
handle docker checks
2026-08-28 13:48:37 -07:00
Alex Holliday
1a1dc7d807
add docker check aggregation
2026-08-28 13:30:32 -07:00