Alex Holliday
a8dc867e78
add admin gate to API route
2026-09-08 15:52:43 -07: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
6587ddf389
wire up services/repositories
2026-09-03 11:32:48 -07:00
Alex Holliday
8ccc7cbe9a
new container endpoint,service, repo methods
2026-09-01 10:05:34 -07:00
Alex Holliday
e60bfd18ff
add route
2026-08-28 14:03:27 -07:00
Alex Holliday
b2dca7b62f
add getAllProxies route
2026-08-25 11:02:37 -07:00
Alex Holliday
4443a53a23
strip password
2026-08-20 13:52:14 -07:00
Alex Holliday
1b2d2887af
add proxy routes/controller
2026-08-20 13:35:11 -07:00
colinjtsen2010
e5959ca91d
feat: add domain registration expiry monitoring
...
Adds a GET /monitors/domain/:monitorId endpoint that looks up the
registrable domain's WHOIS expiry date (walking up from subdomains),
and displays it next to the certificate expiry on the uptime details
page.
Fixes #2094
2026-08-11 00:34:21 +08:00
Alex Holliday
36434c1160
convert router classes to exported functions
2026-07-20 11:25:39 -07:00
Alex Holliday
4d9e5821a8
purge unused groups route, update tests
2026-07-20 10:21:43 -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
Buco7854
69e142f711
fix: restrict status page mutations to admins and superadmins
...
Creating, updating and deleting status pages was only guarded by
verifyJWT, so any authenticated team member could set fields including
the new customCSS via a direct API call. The admin gating existed only
in the client UI (hidden buttons), and the create/configure routes had
no guard, so the form was reachable by URL. Enforce the role at the API
with isAllowed, matching the monitor routes.
2026-06-12 15:43:58 +00: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
a43363ebfc
apply middleware
2026-06-11 10:42:05 -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
d022f7d849
reorg to domain and api
2026-06-09 12:34:15 -07:00