Alexander Holliday
16036f421b
Merge pull request #3734 from bluewave-labs/fix/maintenance-window-exit
...
fix: change status on exit maintenance window
2026-06-19 09:54:05 -07:00
Alex Holliday
7fe7b79103
update server tests
2026-06-19 09:51:25 -07:00
Alexander Holliday
b28c84436e
Merge pull request #3718 from harsh-aghara/feat/accept-status-codes-frontend
...
Add customUpCodes support for HTTP monitors (Frontend)
2026-06-18 10:51:03 -07:00
harsh-aghara
9082cf0826
test(server): add comprehensive edge-case tests for customUpCodes validation
2026-06-18 22:51:21 +05:30
Alex Holliday
a54fdd89ab
rearm jobs on maintenance window pause/delete
2026-06-18 10:17:33 -07:00
Alex Holliday
398e5d7314
add tests
2026-06-18 09:57:05 -07:00
Alex Holliday
5e0d8f0550
update tests
2026-06-17 11:01:56 -07:00
Alexander Holliday
8277c4ed13
Merge pull request #3728 from bluewave-labs/feat/db-queue
...
feat: db queue
2026-06-17 09:48:40 -07:00
Alex Holliday
f65238da6c
reformat
2026-06-17 09:45:59 -07:00
Alex Holliday
64b8aab4d6
repair tests
2026-06-17 09:40:51 -07:00
Alex Holliday
7244b35091
add upsertCleanup to schedule immediate cleanup jobs, cleanup orphaned jobs
2026-06-17 09:38:21 -07:00
Alex Holliday
699883e0b1
add jitter and tests
2026-06-16 11:34:58 -07:00
Alex Holliday
f7211711ce
add db queue worker tests
2026-06-16 10:59:56 -07:00
Alex Holliday
d1b6d08c73
add tests
2026-06-16 10:50:39 -07:00
Alex Holliday
306f2a60a2
update tests
2026-06-15 12:22:55 -07:00
Alex Holliday
a7d9bb822e
add tests, fix failing tests
2026-06-15 12:05:31 -07:00
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
Alex Holliday
bca902471d
update tests
2026-06-11 15:19:53 -07:00
Alex Holliday
be12991997
add tests
2026-06-11 14:19:21 -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
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