Alex Holliday
142ecaaf8b
handle renewing locks for long running jobs
2026-06-15 12:05:15 -07:00
Alex Holliday
51b6ec1751
add check producer and evaluator
2026-06-12 12:36:50 -07:00
Buco7854
6165ae60e6
Merge branch 'develop' of https://github.com/bluewave-labs/checkmate into feat/customcss-status-page
...
# Conflicts:
# server/src/api/routes/statusPageRoute.ts
2026-06-12 16:01:03 +00:00
Alex Holliday
bca902471d
update tests
2026-06-11 15:19:53 -07:00
Ian Troisi
517139cbf4
fix: cache negative custom domain CORS lookups
...
Use a shorter TTL for rejected origins so unknown domains do not hit
the database on every cross-origin request.
2026-06-11 14:48:31 -04:00
Ian Troisi
ef049b6521
fix: resolve CORS TypeScript error and format server files
...
Type defaultCorsOptions as CorsOptions so allowedHeaders is compatible
with the cors middleware. Format files from develop merge for CI.
2026-06-11 13:55:10 -04:00
Ian Troisi
33f8641f3a
Merge branch 'develop' into feat/status-page-custom-domain
2026-06-11 13:54:27 -04:00
Alex Holliday
ac77216f07
add middleware tests
2026-06-11 10:42:15 -07:00
Ian Troisi
120708ed47
perf: cache custom domain CORS origin lookups
...
Avoid hitting the database on every cross-origin request by caching
published custom domain checks for five minutes.
2026-06-11 13:15:02 -04:00
Ian Troisi
6a1ab622b3
fix: scope custom domain CORS to public status page routes
...
Only allow registered custom domain origins on public GET/OPTIONS status
page API routes instead of the entire application API surface.
2026-06-11 13:15:02 -04:00
Ian Troisi
0aef8b652f
fix: use partial index for status page customDomain
...
Replace the sparse unique index with a partial index so multiple status
pages without a custom domain no longer collide on null values.
2026-06-11 13:14:52 -04:00
Alex Holliday
fa7eaa4788
update tests
2026-06-10 13:13:01 -07:00
Alex Holliday
c5f57eda62
update tests
2026-06-10 09:30:24 -07:00
Buco7854
0f4240d3db
feat: cap custom CSS length and add validation tests
...
Bound customCSS to 100000 characters on both the client schema and the
server body validation (the server is the enforcement boundary; multer's
1MB field cap was the only limit), regenerate the OpenAPI spec, and add
a validation test suite covering acceptance, clearing, the length cap,
and type rejection.
2026-06-10 17:02:17 +02:00
Ian Troisi
a37bc63f31
Merge branch 'develop' into feat/status-page-custom-domain
...
Resolve conflicts from server reorganization while preserving custom
domain support for published status pages.
2026-06-10 10:55:59 -04:00
Alex Holliday
abec4e6c70
update tests
2026-06-09 12:34:30 -07:00
Alexander Holliday
0fb210e9e1
Merge pull request #3713 from Rabson/fix/diagnostics-totalsize-undefined
...
fix: (diagnostics) derive Mongo totalSize when dbStats omits it (Atlas shared tier)
2026-06-09 09:09:47 -07:00
Alexander Holliday
ce4cb63035
Merge pull request #3690 from harsh-aghara/feat/accept-status-codes-backend
...
Add customUpCodes support for HTTP monitors (Backend)
2026-06-08 12:04:42 -07:00
Ian Troisi
30e8cfc9ec
Add custom domain support for published status pages.
...
Fixes #3647
2026-06-07 22:37:24 -04:00
Alex Holliday
9a85389b8c
update tests
2026-06-07 10:16:31 -07:00
Rabson
6a566c3693
fix(diagnostics): derive Mongo totalSize when dbStats omits it
...
MongoDB Atlas shared/free tiers return a legacy dbStats shape that omits
`totalSize` (while still returning storageSize/indexSize). diagnosticService
passed that undefined straight through, so the Diagnostics UI crashed with
"Expected a finite number, got undefined".
Derive totalSize (storageSize + indexSize) at the DB and per-collection level
so it always satisfies the non-optional `totalSize: number` type. Confirmed it
is not a version removal (stock mongo:8 returns totalSize) nor a permissions
issue (missing even with atlasAdmin). Adds unit tests for the derivation.
2026-06-07 08:58:09 +08:00
Alexander Holliday
8dbe42288b
Merge pull request #3684 from jhcpeixoto/feat/ntfy-notifications
...
feat: add ntfy notification support
2026-06-05 09:35:04 -07:00
harsh-aghara
d2c13fac5a
Merge remote-tracking branch 'upstream/develop' into feat/accept-status-codes-backend
...
# Conflicts:
# server/src/service/infrastructure/network/HttpProvider.ts
2026-06-05 00:58:35 +05:30
harsh-aghara
dd16ac060a
fix: run advanced matcher on HTTP errors with custom up codes
...
When customUpCodes mark an HTTPError as up, parse the response body, apply advancedMatcher.validate, and set status to statusUp && matchResult.ok. Return parsed payload and extracted values to match the success path.
2026-06-05 00:35:30 +05:30
harsh-aghara
5628c202f7
refactor: extract isStatusUp utility to decouple from got's response.ok and modified utils test accordingly
2026-06-04 22:43:43 +05:30
Alex Holliday
4729863826
add tests
2026-06-03 13:29:03 -07:00
Alex Holliday
5e225f9173
update tests
2026-06-03 11:51:42 -07:00
harsh-aghara
372fc9869b
refactor(monitor): address PR feedback for customUpCodes
...
Add HttpStatusCode types and simplify provider logic
2026-06-03 23:39:26 +05:30
Alex Holliday
b8a44f09fc
update tests
2026-06-03 11:04:13 -07:00
Alex Holliday
b4970d321d
update tests
2026-06-02 11:31:22 -07:00
Alex Holliday
2b6734bb78
update tests
2026-06-02 11:25:21 -07:00
Alex Holliday
599c599588
add tests
2026-06-02 09:47:13 -07:00
Alex Holliday
89c4f4005e
add lessSimpleQueue tests
2026-06-01 11:21:49 -07:00
harsh-aghara
87a6640c1d
fix(backend): validate customUpCodes against standard HTTP status codes
...
Addresses reviewer feedback by enforcing strict validation on the array. Previously, the Zod schema accepted any arbitrary number, which could allow invalid or self-defined HTTP codes (e.g., 5000) to be saved to the database.
Refs #3657
2026-06-01 13:21:30 +05:30
harsh-aghara
4e31499f78
feat(backend): add customUpCodes support for HTTP monitors
...
Adds a customUpCodes field to the monitor schema to allow users to specify which HTTP status codes should be treated as UP instead of DOWN. Includes core logic in HttpProvider and unit tests.
Refs #3657
2026-06-01 00:10:55 +05:30
Alex Holliday
da92b9d067
update tests
2026-05-29 11:33:31 -07:00
joaquimpeixoto
8a83bc99e9
feat: add ntfy notification support
2026-05-27 16:57:11 +01:00
Alex Holliday
e834402672
tighten server types
2026-05-26 14:53:33 -07:00
Alex Holliday
a415c75eb4
add tests for mw and monitor services
2026-05-25 09:57:34 -07:00
Alex Holliday
3abacb046b
handle paused status
2026-05-21 11:02:59 -07:00
Alex Holliday
fbfb861447
flip status on create
2026-05-21 10:50:53 -07:00
Alex Holliday
0470eab782
extract flipping monitor status, flip status on delete
2026-05-21 10:27:46 -07:00
Alex Holliday
abf66eed95
add logic for entering/leaving maintenance windows, add tests
2026-05-21 10:23:27 -07:00
Alex Holliday
9b84b98391
add tests
2026-05-19 11:16:25 -07:00
Alex Holliday
704f25b987
extract password validation, add regression test
2026-05-15 11:14:39 -07:00
Alex Holliday
b925434078
tighten validation, add tests
2026-05-12 11:18:51 -07:00
Alex Holliday
f86ceae0c6
update tests
2026-05-12 10:41:30 -07:00
Alex
6b63091d89
tighten validation, add tests
2026-05-11 11:28:39 -07:00
Alex
766d847561
tighten validation, replace negative type checks with allowed list
2026-05-11 10:27:41 -07:00
Alex
08043a5ea0
tighten validation, add tests
2026-05-11 10:12:27 -07:00