Compare commits

...
Author SHA1 Message Date
Alex Holliday 0c9334071f refactor monitor pages 2026-08-27 14:28:29 -07:00
Alex Holliday e444d5fbe6 decycle imports 2026-08-27 13:54:40 -07:00
Alex Holliday e9dca23664 add base monitor list page 2026-08-27 13:53:28 -07:00
Alex Holliday 7fb0e9dc70 new monitor list controller hook 2026-08-27 13:18:02 -07:00
Alex Holliday de148f9773 add pagespeed table to redux state 2026-08-27 12:32:10 -07:00
Alex Holliday 4bc71a3d18 interpoalte colors for severity of downtime 2026-08-26 11:48:33 -07:00
Alex Holliday f30085bae3 deal with empty strings for proxyId 2026-08-26 11:19:08 -07:00
Alexander Holliday c24440f8c9 Merge pull request #3883 from bluewave-labs/chore/swr-policy
chore: set keep previous data
2026-08-26 10:42:00 -07:00
Alex Holliday d8ce2dfdc8 set keep previous data 2026-08-26 10:40:02 -07:00
Alexander Holliday 28f8542bce Merge pull request #3882 from bluewave-labs/chore/dry-run-check
chore: add lockfile check
2026-08-26 10:06:53 -07:00
Gorkem Cetin 2e258fa39a Update README with installation options
Added 1-click installation options for Checkmate.
2026-08-26 12:51:40 +03:00
Gorkem Cetin 7dedcca41d Revise README for contributor stats and project description
Updated the README to reflect recent achievements and contributions.
2026-08-26 12:47:27 +03:00
Alex Holliday 97d6222297 add a lockfile check 2026-08-25 15:20:57 -07:00
Alexander Holliday 14ddfc97b0 Merge pull request #3876 from bluewave-labs/fix/node-version
Fix/node version
2026-08-25 15:17:41 -07:00
Alex Holliday b23dbfeae0 regen lockfile 2026-08-25 15:16:54 -07:00
Alex Holliday 68679bc0bf lockfile script 2026-08-25 15:16:12 -07:00
Alexander Holliday 959a434d21 Merge pull request #3875 from bluewave-labs/fix/package-lock-sync
fix package lock sync issue
2026-08-25 15:06:03 -07:00
Alex Holliday 4298397e3e fix package lock sync issue 2026-08-25 15:05:28 -07:00
Alexander Holliday fc3fab4905 Merge pull request #3873 from bluewave-labs/chore/version-bump
minor version bump
2026-08-25 14:52:58 -07:00
Alex Holliday 0b54b5c6cd minor version bump 2026-08-25 14:49:52 -07:00
Alexander Holliday 358b1deec7 Merge pull request #3872 from bluewave-labs/fix/csp
fix: logo image preview CSP
2026-08-25 14:48:00 -07:00
Alex Holliday 9839d48ca0 add img-src blob: to CSP, stop refetching blob 2026-08-25 14:44:01 -07:00
Alexander Holliday 83c2df4390 Merge pull request #3863 from eralpozcan/feat/status-page-monitor-tags
feat(status-page): show monitor tags in status page selector
2026-08-25 14:16:33 -07:00
Alexander Holliday 31f6727519 Merge pull request #3871 from bluewave-labs/fix/remove-dead-workflows
fix: remove dead workflows
2026-08-25 14:12:02 -07:00
Alex Holliday 96f8bf4a66 Merge branch 'develop' into fix/remove-dead-workflows 2026-08-25 14:10:18 -07:00
Alexander Holliday 06bf5e45f5 Merge pull request #3870 from bluewave-labs/fix/package-lock
fix: regen package lock
2026-08-25 14:09:34 -07:00
Alex Holliday d0fc402683 format 2026-08-25 14:08:11 -07:00
Alex Holliday b922654cfc remove poeditor workflows 2026-08-25 14:07:13 -07:00
Alex Holliday d7dce5d7a3 regen package lock 2026-08-25 14:03:35 -07:00
Alexander Holliday 5d2aa28570 Merge pull request #3869 from bluewave-labs/fix/proxy-scoping
fix: proxy scoping
2026-08-25 13:54:05 -07:00
Alex Holliday af3c72b055 add tests 2026-08-25 11:19:33 -07:00
Alex Holliday b3e98ac95d update openapi docs 2026-08-25 11:14:50 -07:00
Alex Holliday 3f62c8ec6a resolve scoping issue by fetching proxy summary 2026-08-25 11:13:12 -07:00
Alex Holliday b2dca7b62f add getAllProxies route 2026-08-25 11:02:37 -07:00
Alexander Holliday f731648007 Merge pull request #3868 from bluewave-labs/feat/proxy-frontend
add global proxy setting config and translation keys
2026-08-25 10:48:04 -07:00
Alexander Holliday a1199f957d Merge pull request #3867 from bluewave-labs/feat/proxy-frontend
feat: proxy frontend
2026-08-25 10:44:46 -07:00
Alex Holliday ea8ad88ae9 add global proxy setting config and translation keys 2026-08-25 10:29:19 -07:00
Alex Holliday 6e271f834c select -> radio, update descriptions 2026-08-25 09:55:34 -07:00
Alex Holliday 0c21dcdd2a add settings response type, destructure 2026-08-25 09:39:56 -07:00
eralpozcan 9bb95e1f0c feat: show monitor tags in status page selector 2026-08-22 14:05:44 +03:00
Alex Holliday ccfda938d5 Add proxies to create/edit monitors page 2026-08-21 15:13:34 -07:00
Alex Holliday cc137e1d06 add proxies CRUD pages 2026-08-21 15:13:17 -07:00
Alexander Holliday 41859f241a Merge pull request #3860 from bluewave-labs/feat/proxy-resolver
feat: proxy resolver
2026-08-21 12:34:22 -07:00
Alex Holliday 252067142e apply proxy agents to http monitors 2026-08-21 12:19:23 -07:00
Alex Holliday 1152a70afb wire up proxy resolver 2026-08-21 11:41:26 -07:00
Alex Holliday ffd7ea7517 add tests 2026-08-21 11:13:22 -07:00
Alex Holliday a56bff2305 add proxy resolver 2026-08-21 11:06:42 -07:00
Alexander Holliday db05db0c0c Merge pull request #3859 from bluewave-labs/feat/outbound-proxy-server-crud
feat: outbound proxy server crud
2026-08-21 10:54:42 -07:00
Alex Holliday cd520dacc5 add tests 2026-08-20 14:38:18 -07:00
Alex Holliday 637bb5cca9 add db migration for proxy mode inherit 2026-08-20 14:31:23 -07:00
Alex Holliday ede93add64 add clear username flag 2026-08-20 13:57:24 -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
Alex Holliday 54690fc73c add/update validations 2026-08-20 13:34:56 -07:00
Alex Holliday 6e3252aec8 wire repo and service 2026-08-20 11:31:51 -07:00
Alex Holliday edd9335e96 add gloabl proxy to app settings 2026-08-20 11:16:07 -07:00
Alex Holliday cf13bc329e add proxy service 2026-08-20 11:00:05 -07:00
Alex Holliday 80097afb71 update monitor model/repos 2026-08-20 10:59:40 -07:00
Alex Holliday 5435167e73 add proxy repository and interface 2026-08-20 10:49:12 -07:00
Alex Holliday 059dc2737b add proxy type and model 2026-08-20 10:28:50 -07:00
Alexander Holliday 158f2fffbe Merge pull request #3858 from bluewave-labs/feat/uptime-percentage-two-decimals
feat(client): show uptime percentages with two decimals
2026-08-20 09:39:56 -07:00
gorkem-bwl 68c1f2e281 feat(client): show uptime percentages with two decimals
Requested by a user who found xx.xx% more trustworthy than xx.x% on their
status page. The presentational argument holds, but the stronger reason is
that one decimal was actively misleading.

Intl rounds to the displayed precision, so every value above 99.95% rendered
as "100.0%" — a claim of zero downtime for a period that contained real
outages. On a public status page that is the opposite of reassuring: the
number reads as flawless during a month with a visible incident.

One decimal also collapsed the range operators care about most. 99.9%,
99.95% and 99.99% are three very different commitments (8.7 hours, 4.4 hours
and 52 minutes of annual downtime) and the first rendered as 99.9% while the
other two were indistinguishable at 100.0%.

Everything flows through the shared formatter in FormatUtils, so this covers
both surfaces at once: the monitor list and diagnostics gauges in the web
app, and the uptime figure, chart cells and hover tooltip on status pages.
Infrastructure gauges are untouched — they format separately at zero
decimals, where CPU at "43.00%" would only add noise.

Server-side precision was already sufficient; the aggregation divides
without rounding, so no API change is needed.

Adds tests pinning the regression: 7 of the 10 fail against the previous
one-decimal formatter.

Note: this restores the client Vitest setup. PR #3844 introduced it, but the
config, scripts and logger tests were dropped when that branch merged into
develop, leaving the client with no test runner again.
2026-08-20 09:38:07 -07:00
Alexander Holliday a719edb0fc Merge pull request #3856 from bluewave-labs/feat/theme-button
feat: add theme mode to auth footer menu
2026-08-19 12:05:25 -07:00
Alexander Holliday 53702ec04b Merge pull request #3855 from bluewave-labs/fix/keyboard-navigation
feat: improve keyboard navigation on create monitor page
2026-08-19 12:04:12 -07:00
Alex Holliday 84a73d9616 add theme mode to auth footer menu 2026-08-19 12:02:45 -07:00
Alex Holliday 7b2358bd48 improve keyboard navigation on create monitor page 2026-08-19 11:28:46 -07:00
Alexander Holliday 79957693fe Merge pull request #3854 from bluewave-labs/fix/infra-instant-gauge
fix: add recent checks for infra monitors
2026-08-19 10:29:44 -07:00
Alex Holliday 7fd368def3 update tests 2026-08-19 10:26:17 -07:00
Alex Holliday dd44e6c34f add recent checks for infra monitors 2026-08-19 10:20:21 -07:00
Alexander Holliday 092f890f7f Merge pull request #3851 from bluewave-labs/chore/dependency-bump
chore: bump server dependencies
2026-08-18 11:25:03 -07:00
Alex Holliday 2468d3e287 bump dependencies 2026-08-18 11:21:20 -07:00
Alexander Holliday bc25c15c34 Merge pull request #3844 from bluewave-labs/fix/redact-sensitive-fields-client-logs
fix(security): redact sensitive fields from client-side logs
2026-08-18 10:49:47 -07:00
Alex Holliday 1b6218ea56 remove tests and harness 2026-08-18 10:46:57 -07:00
Alexander Holliday 6eba53d716 Merge pull request #3837 from egeoztass/fix/email-error-propagation
fix: propagate SMTP transport errors from EmailService.sendEmail
2026-08-18 10:36:02 -07:00
Alexander Holliday 8bfb3a7de5 Merge pull request #3838 from egeoztass/fix/matrix-notifications
fix: resolve Matrix room aliases and encode room IDs in the send path
2026-08-18 10:32:45 -07:00
Alexander Holliday 5cca0fb2d3 Merge pull request #3839 from egeoztass/feat/ntfy-authentication
feat: add authentication support to ntfy notifications
2026-08-18 10:30:08 -07:00
Alexander Holliday 617ac3a9bb Merge pull request #3847 from bluewave-labs/fix/dns-monitors-status-page-picker
fix(status-page): allow DNS monitors to be added to status pages
2026-08-18 10:21:17 -07:00
Alexander Holliday e92fe39e3b Merge pull request #3849 from bluewave-labs/feat/status-page-ranges-client
feat: status page ranges client
2026-08-18 10:03:12 -07:00
Alex Holliday 248dad01d4 add retention hint 2026-08-18 10:01:05 -07:00
Alex Holliday 840c936501 remove unused vars 2026-08-18 09:38:34 -07:00
gorkem-bwl 7096afcdf2 fix(status-page): allow DNS monitors to be added to status pages
The monitor picker on the status page create/configure form fetched
candidates using a hardcoded list of monitor types that omitted "dns", so
DNS monitors were filtered out server-side and never appeared in the
dialog. Everything else was already in place: the DNS provider stores
checks like any other monitor type, and the status page renders them once
attached.

Rather than appending "dns" to the hardcoded list, derive the query from
the existing SelectableMonitorTypes tuple in @/Types/Monitor. The two lists
had silently drifted apart, and deriving prevents the next new monitor type
from hitting the same bug. "hardware" is appended explicitly because
infrastructure monitors are created on their own page and so are absent
from the selectable set.

Net effect on the requested types: gains "dns", loses none.

Fixes #3721
2026-08-18 02:37:54 -04:00
Alex Holliday c15d6e0851 wire client 2026-08-17 14:56:53 -07:00
Alex Holliday 506133af29 add daily tooltip 2026-08-17 13:55:01 -07:00
Alex Holliday 03f168fa84 add daily bucket type 2026-08-17 13:54:38 -07:00
Alex Holliday 4b02bbec37 add helper methods 2026-08-17 13:54:14 -07:00
Alex Holliday 42aae20fa3 add param to URL 2026-08-17 13:30:03 -07:00
Alex Holliday c71c833b77 add range to query 2026-08-17 13:20:36 -07:00
Alex Holliday cee7db64ee add range types 2026-08-17 13:16:55 -07:00
Alexander Holliday 40e06a2f2b Merge pull request #3845 from bluewave-labs/feat/status-page-ranges-server
feat: status page ranges server
2026-08-17 13:14:40 -07:00
Alex Holliday 7478bd7d17 remove duplicate validation 2026-08-17 13:08:43 -07:00
Alex Holliday 7b1d6c763f tighten types, remove duplicate calls 2026-08-17 13:05:03 -07:00
Alex Holliday ff2e1fd648 use reduce 2026-08-17 12:59:23 -07:00
Alex Holliday 9001a8d294 add tests 2026-08-17 12:58:56 -07:00
Alex Holliday ab7f2cd8f4 update openapi docs 2026-08-17 12:36:39 -07:00
Alex Holliday c1f0bf3dd4 wire controller 2026-08-17 12:31:01 -07:00
Alex Holliday 3fc7020a90 move methods to checks, wire up service 2026-08-17 12:26:49 -07:00
Alex Holliday 6f9642c298 tighten timezone validation 2026-08-17 11:48:56 -07:00
Alex Holliday 3a22d3e819 add range buckets for status pages 2026-08-17 11:48:44 -07:00
Alexander Holliday 697574a2a9 Merge pull request #3834 from colinjtsen2010/feat/domain-monitoring
feat: add domain registration expiry monitoring
2026-08-17 10:51:11 -07:00
Alex Holliday 0cbd9ab8a2 point lockfile at official npm registry 2026-08-17 10:49:39 -07:00
Alexander Holliday 9032fcd7f0 Merge pull request #3831 from mdiniz97/feat/rocket-chat-rich-notifications
feat: enrich Rocket.Chat notifications
2026-08-17 10:22:38 -07:00
gorkem-bwl ed268b3099 test(client): cover credential redaction in the logger
Adds a regression suite for #3843 so the leak cannot return silently. The
client had no test runner, so this introduces Vitest, which reuses the
existing Vite resolution and the `@/` alias rather than needing a separate
transform pipeline. jsdom is required because the logger reads
window.location and navigator.userAgent.

The tests drive the exported `logger` rather than the private redaction
helpers, so they cover the wiring as well as the logic. That distinction
matters here: the first attempt at this fix redacted the JSON branch but
left the debug branch printing raw objects, a gap that testing the helper
in isolation would not have caught. Each case runs at both error and debug
level for the same reason.

Covered: the reported login payload, credentials carried on an AxiosError
(config.data and the Authorization header), non-JSON request bodies,
passwords on class instances, key-matching variants, and circular payloads.
One asserts non-sensitive context survives, so redaction cannot regress
into blanket suppression.

Verified by reverting the fix: 16 of 23 tests fail against the original
behaviour, including a pre-existing crash on circular payloads.
2026-08-17 12:35:59 -04:00
gorkem-bwl e26825ef99 fix(security): close redaction gaps found in review
Follow-up to the initial redaction pass, addressing four defects:

Class instances bypassed redaction entirely. The prototype guard was meant
to skip FormData/Blob but caught every non-literal object, returning it by
reference — so a credential on a DTO or form-state instance was logged
verbatim, and the deep-copy contract was violated. The check is now an
explicit deny-list of opaque types; everything else is walked.

The raw Error was still logged by the debug branch. An AxiosError carries
config.data (the serialized request body) and config.headers.Authorization
(set for every request in ApiClient), so the password redacted from the
context was printed straight back out via the error object. Errors now go
through toSafeError(). Because Axios serializes the body to a string, which
key-based redaction cannot see into, it is parsed before redaction; a body
that is not JSON is replaced wholesale rather than logged raw.

The Blob guard was gated on `typeof FormData !== "undefined"`, so in an
environment with FormData but no Blob the instanceof check threw a
ReferenceError — from inside a catch block, turning a handled API error
into an unhandled crash. Each constructor is now resolved defensively.

Also widened the key list (cookie, jwt, privateKey, sessionId, csrf, pwd)
and dropped a redundant type annotation.

Verified with 18 assertions covering the reported payload, class instances,
cycles, shared siblings, axios error shapes, and a missing Blob global.
2026-08-17 12:31:40 -04:00
gorkem-bwl 741ee7a92a fix(security): redact sensitive fields from client-side logs
Failed requests logged the full request body to the browser console, so a
failing POST to /auth/login wrote the user's plaintext password where it
could be captured by error-reporting tools, screen shares, or support
sessions.

Redaction is applied centrally in the logger rather than at the call sites,
so every current and future caller is covered:

- createLogData() redacts context before it is serialized, covering the
  JSON branches of error() and warn().
- The debug-level branches of error() and warn() printed the raw context
  object directly, bypassing createLogData(); they now print the redacted
  copy.
- debug() and info() redact their free-form data argument.

Keys are matched case-insensitively on a substring after stripping dashes
and underscores, so password, newPassword, X-Api-Key and Authorization are
all caught. The walk copies rather than mutates the caller's object, cuts
genuine cycles without mislabelling repeated siblings, and renders
FormData/Blob as a type marker instead of walking them.

Affected paths were POST (/auth/login, /auth/register) and PATCH/PUT, which
carry monitor secrets. Error-level logging is on by default, so this was
not limited to debug builds.

Fixes #3843
2026-08-17 12:27:02 -04:00
egeoztass 099eaa38c3 fix: resolve Matrix room aliases and encode room IDs in the send path
Matrix notifications failed for anyone who entered a room alias. The send
endpoint only accepts a room ID, and an unresolved alias broke the request
outright: the leading "#" opens a URI fragment, so the PUT landed on
/_matrix/client/v3/rooms/ instead of the send endpoint. Element shows users
the alias, so this is the value most people paste in.

- Resolve "#alias:server" through GET /_matrix/client/v3/directory/room/{alias}
  before sending, per the client-server spec
- Percent-encode the room ID in the send path; ":" was previously sent raw
- Strip trailing slashes from the homeserver URL to avoid "//_matrix/..."

Alias resolution failures return false and log, matching how the provider
already handles send failures.

Closes #3478
2026-08-14 17:55:36 +03:00
egeoztass c35b22e1ac fix: propagate SMTP transport errors from EmailService.sendEmail
sendEmail caught transport failures internally and resolved to false or
undefined, so every caller's .catch() was dead code and send failures were
silently suppressed. Password recovery in particular reported "email sent
successfully" while the user received nothing.

sendEmail now throws an AppError carrying the underlying cause, and returns
Promise<string> instead of Promise<string | false | undefined>.

Call sites updated for the new contract:
- UserService.registerUser: the existing .catch() now actually fires
- UserService.requestRecovery: the failure reaches the client instead of a
  misleading success response
- InviteService and the test-email endpoint: keep their user-facing messages
  and attach the SMTP cause
- EmailProvider: catches and returns false, because NotificationsService fans
  providers out through Promise.all and a rejection there would abort the
  other channels' alerts

Closes #3757
2026-08-14 14:11:16 +03:00
egeoztass 1c9739d1da feat: add authentication support to ntfy notifications
ntfy servers that require auth rejected every Checkmate alert because the
provider posted without an Authorization header, so alerts to protected
topics failed silently.

Adds ntfyAuthType ("none" | "token" | "basic"):
- token: Authorization: Bearer <accessToken>
- basic: Authorization: Basic base64(ntfyUsername:accessToken)

Both types store their secret in the existing accessToken field rather than
introducing a new secret, so credential handling stays in one place.

Incomplete credentials fail the send instead of falling back to an anonymous
post, and validation rejects partial auth config up front so a channel can't
be saved looking authenticated while posting anonymously.

Backend only; frontend follows once this lands.

Closes #3717
2026-08-14 14:01:06 +03:00
Marcos Paulo Diniz d4eaad6170 fix(notifications): route Rocket.Chat links by monitor type
Build title_link from the monitor type (hardware -> infrastructure,
pagespeed -> pagespeed, uptime types -> uptime) and omit it when
clientHost is not configured, instead of always linking to the
infrastructure page.
2026-08-13 11:56:28 -03:00
colinjtsen2010 75516a220d fix: handle IPs, avoid wrong parent-domain lookups, cache whois results
- Bare IP addresses and non-domain hosts (localhost, IPv6) now return a
  null expiry instead of throwing, so they no longer spam error logs.
- Extract the registrable domain with tldts instead of walking up
  hostname labels, so a subdomain can never accidentally return its
  parent domain's expiry date.
- Cache WHOIS lookups per registrable domain (1h positive, 10min
  negative) so visiting details pages does not re-query the registry
  every time.

Addresses review feedback on #3834.
2026-08-13 12:02:49 +08:00
Alexander Holliday f97ca8565a Merge pull request #3829 from bluewave-labs/chore/form-refactor
chore: form refactor
2026-08-12 10:24:24 -07:00
Alex Holliday b5f8faf1e8 add missing rocket chat label 2026-08-12 10:22:56 -07:00
Alexander Holliday b088101160 Merge branch 'develop' into chore/form-refactor 2026-08-12 10:15:10 -07:00
Alex Holliday 521827e1d0 memoize options 2026-08-11 17:50:47 -07:00
Alex Holliday 7dd378f085 remove duplicates 2026-08-11 17:26:15 -07:00
Alex Holliday a7fb235c56 fix monitor types 2026-08-11 17:24:03 -07:00
Alex Holliday 7f68d23566 fix non sortable styling 2026-08-11 17:21:51 -07:00
Alex Holliday caebb93748 derive options from roles, wire error state 2026-08-11 17:15:15 -07:00
Alex Holliday 5640068907 fix placeholder 2026-08-11 17:10:48 -07:00
Alex Holliday 441ecddf92 fix unresolved IDs 2026-08-11 17:08:18 -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 2765ebfc3b bug fixes 2026-08-07 11:50:47 -07:00
Marcos Paulo Diniz 8d1fd61bb4 fix(notifications): omit empty incident links 2026-08-07 14:55:05 -03:00
Marcos Paulo Diniz 865fa7cce6 feat(notifications): add rich alert fields 2026-08-07 14:55:05 -03:00
Marcos Paulo Diniz 2c780b8101 feat(notifications): add Rocket.Chat attachments 2026-08-07 14:55:05 -03:00
Marcos Paulo Diniz ee25c6b479 feat(notifications): enrich Rocket.Chat tests 2026-08-07 14:55:05 -03:00
Alex Holliday d0c8da1653 remove dead default values 2026-08-07 10:41:16 -07:00
Alex Holliday 5916d0ca33 refactor recovery and set new password 2026-08-07 10:32:01 -07:00
Alex Holliday 69db716f0b refactor login page 2026-08-07 10:29:46 -07:00
Alex Holliday 350083d179 refactor Profile tab 2026-08-07 10:25:04 -07:00
Alex Holliday 11a6ee71e9 refacotr add team/invite team member 2026-08-07 10:22:43 -07:00
Alex Holliday eaf93668f5 refactor password tab 2026-08-07 10:13:56 -07:00
Alex Holliday 59267ef451 refactor edit user 2026-08-07 10:08:27 -07:00
Alex Holliday 35f9381573 refactor register page 2026-08-07 10:06:09 -07:00
Alex Holliday 3df85b7522 refacotr add team member dialog 2026-08-07 09:54:08 -07:00
Alex Holliday 012e09d30c refactor tags create page 2026-08-07 09:47:11 -07:00
Alexander Holliday 4b921f4986 Merge pull request #3826 from Glazzze/docs/clarify-mongodb-deployment-3823
docs(readme): clarify MongoDB requirement for single-image deployment
2026-08-07 09:27:11 -07:00
Alex Holliday 0eff052258 refactor maintenance create page 2026-08-06 15:05:16 -07:00
Alex Holliday 52c80b9a39 refactor status page create page 2026-08-06 14:40:21 -07:00
Alex Holliday 6ceb28d3a1 remove dead keys 2026-08-06 12:33:35 -07:00
Alex Holliday 08bd2d56f3 refactor settings page 2026-08-06 12:31:20 -07:00
Alex Holliday 05f265743b remove unsued 2026-08-06 11:55:19 -07:00
Alex Holliday bc2115f578 refacotr notification create page 2026-08-06 11:54:46 -07:00
Alex Holliday c1e9fd6079 refactor sliders 2026-08-06 11:00:37 -07:00
Alex Holliday 226864079c refactor sliders 2026-08-06 10:50:37 -07:00
Alex Holliday 7cab326ad3 refactor selects 2026-08-06 10:17:32 -07:00
Glazzze 94f1f7e576 docs(readme): clarify MongoDB requirement for single-image deployment 2026-08-06 11:41:01 +08:00
Alex Holliday 20d1d1407b remove dead key 2026-08-05 11:53:49 -07:00
Alex Holliday da7e8a1ae8 add missing remove button label 2026-08-05 11:52:47 -07:00
Alex Holliday c578387261 fix label and description regression 2026-08-05 11:51:20 -07:00
Alex Holliday c5ef61e64c refactor radio and multi select autocomplete 2026-08-05 11:44:47 -07:00
Alex Holliday 6e1e5dd1a5 create bound components for text input and radio input 2026-08-05 10:51:48 -07:00
Alexander Holliday 514ee0d30b Merge pull request #3822 from mdiniz97/feat/rocket-chat-notifications
feat: Rocket.Chat notifications
2026-08-05 09:33:42 -07:00
Alexander Holliday 623db938f5 Merge pull request #3825 from bluewave-labs/fix/check-snapshot
fix:  check snapshot
2026-08-05 09:20:57 -07:00
Marcos Paulo Diniz 1c291bb893 refactor(client): use raw channel types
Refs #3821
2026-08-05 08:35:56 -03:00
Marcos Paulo Diniz 466d356ad1 refactor(validation): use Zod URL protocols
Refs #3821
2026-08-05 08:34:12 -03:00
Marcos Paulo Diniz 0c184e6d0c fix(notifications): guard incident link
Refs #3821
2026-08-05 08:33:29 -03:00
Alex Holliday 303f47a117 add opt out flag for recent checks 2026-08-04 15:30:34 -07:00
Alex Holliday 5fa74bd883 replace findAll with findAllForScheduling 2026-08-04 15:16:03 -07:00
Alex Holliday 4c8342f379 fix pretty name bug, ordering bug 2026-08-04 14:46:52 -07:00
Alex Holliday dfcb3b4b21 slim check snapshot model/types 2026-08-04 11:27:32 -07:00
Marcos Paulo Diniz 2e19b85a2d docs(notifications): document Rocket.Chat
Refs #3821
2026-08-02 01:59:58 -03:00
Marcos Paulo Diniz 5774cb0e06 feat(client): expose Rocket.Chat channel
Refs #3821
2026-08-02 01:59:34 -03:00
Marcos Paulo Diniz 750fc9e238 feat(notifications): add Rocket.Chat provider
Refs #3821
2026-08-02 01:59:11 -03:00
Alexander Holliday 3646af9c04 Merge pull request #3820 from bluewave-labs/chore/ms-cleanup
chore: ms cleanup
2026-07-31 13:06:35 -07:00
Alex Holliday d4782a97a3 add missing verbose flag 2026-07-31 13:05:10 -07:00
Alex Holliday e0122d3761 hoist props 2026-07-31 13:04:10 -07:00
Alex Holliday e3b0b33b15 replace duration in monitorstatus, remove dead import 2026-07-31 13:00:58 -07:00
Alex Holliday 19b5976f85 extract formatting durations 2026-07-31 12:58:58 -07:00
Alex Holliday 336dbe4de2 use formatMs function to consistently format point times 2026-07-31 12:40:18 -07:00
Alex Holliday 65c6f567b5 add ms formatting util 2026-07-31 11:55:05 -07:00
Alexander Holliday 6e6ac5dbf6 Merge pull request #3819 from bluewave-labs/feat/client-side-presentation
feat: client side presentation
2026-07-31 11:52:54 -07:00
Alex Holliday e81fdb9810 remove unused hook 2026-07-31 11:50:02 -07:00
Alex Holliday 9712579c4d remove unused imports 2026-07-31 11:45:41 -07:00
Alex Holliday 98e0ffc983 update tooltips 2026-07-31 11:41:18 -07:00
Alex Holliday ac251c4d3f update tests 2026-07-31 11:36:20 -07:00
Alex Holliday 08f167c18e cap values at p95 on client 2026-07-31 11:36:10 -07:00
Alex Holliday 8a608961e6 remove server side normalization 2026-07-31 10:31:39 -07:00
Alexander Holliday 955c400731 Merge pull request #3808 from anjupathak03/fix/tag-filtering
test: cover monitor tag filtering
2026-07-31 10:06:59 -07:00
Alexander Holliday 093553f9ba Merge pull request #3818 from bluewave-labs/feat/chart-cleanup
feat: chart cleanup
2026-07-30 12:16:24 -07:00
Alex Holliday e5282b9099 opacity -> 0.2 2026-07-30 12:04:25 -07:00
Alex Holliday 6b4444038c add tests 2026-07-30 11:54:19 -07:00
Alex Holliday 89464e9be4 add legend 2026-07-30 11:54:12 -07:00
Alex Holliday 6856914d41 extract hardcoded strings 2026-07-30 10:56:24 -07:00
Alex Holliday c102cd8d26 openapi schemas 2026-07-30 10:35:01 -07:00
Alexander Holliday ff28e74aca Merge pull request #3797 from LvckyAPI/fix-incorrect-status
Fix monitoring status stuck
2026-07-30 09:44:15 -07:00
Alexander Holliday 23b420d072 Merge pull request #3815 from bluewave-labs/feat/stacked-timing-chart
feat: stacked timing chart
2026-07-29 12:42:50 -07:00
Alex Holliday 0172272dc3 update tests 2026-07-29 12:33:56 -07:00
Alex Holliday 3f088c70f8 universal ymax cap 2026-07-29 12:30:36 -07:00
Alex Holliday ed54fa4668 first byte to total repsonse 2026-07-29 12:30:18 -07:00
Alex Holliday 0e0cace676 merge charts 2026-07-29 11:45:49 -07:00
Alex Holliday 58f1ae7fe9 extract xtick 2026-07-29 11:04:11 -07:00
Alex Holliday e3075318b6 denormalize resposne times 2026-07-29 10:57:20 -07:00
Alex Holliday 81aab35961 conditionally render charts 2026-07-28 15:27:19 -07:00
Alex Holliday 4e495eed33 add chart colors to theme 2026-07-28 15:27:04 -07:00
Alex Holliday 061da5e7ef coerce values to 0 if null 2026-07-28 15:26:52 -07:00
Anju a29b7037cf test: cover monitor tag filtering 2026-07-29 03:40:11 +05:30
Alex Holliday c7662727e7 add area charts 2026-07-28 11:24:23 -07:00
Alex Holliday 13c921531c update types, add skeleton for stacked timing phase chart 2026-07-28 11:13:50 -07:00
Alex Holliday 0cf8cfa5dc add avg timing phases to details response 2026-07-28 11:13:35 -07:00
Alex Holliday 4182a964a6 minor version bump 2026-07-28 09:48:31 -07:00
Iven Schlenther 04f7ef252a Fix indentation in statusService.ts for isUnknownStatus assignment. 2026-07-27 15:07:00 +02:00
Iven Schlenther 3201653f19 Fix monitor status handling: replace isKnownStatus with isUnknownStatus for clarity and simplify initialization logic. 2026-07-27 15:03:43 +02:00
Iven Schlenther 0988a61c1d Resolve legacy monitor status issues: handle unknown statuses, fix stuck states from old boolean values, and add regression tests. Adjust BaseChart text color for theme compatibility. 2026-07-27 15:03:41 +02:00
Alexander Holliday 80ea09b864 Merge pull request #3801 from bluewave-labs/chore/cleanup
chore: cleanup
2026-07-24 12:30:08 -07:00
Alex Holliday e0228918fb fix tests 2026-07-24 12:28:45 -07:00
Alex Holliday 8369db5ca2 remove logger 2026-07-24 11:38:08 -07:00
Alex Holliday 49e8d26bfc remove legacy try/catch blocks 2026-07-24 11:34:54 -07:00
Alex Holliday c28be97fb0 update tests 2026-07-24 11:32:18 -07:00
Alex Holliday ed36db172a dedupe hardware stat definitions, fix tests, remove misleading null return types 2026-07-24 11:32:00 -07:00
Alex Holliday c021d04f53 extract swtich 2026-07-24 11:09:53 -07:00
Alex Holliday 86eeda3f0e replace error instances with AppError 2026-07-24 10:49:39 -07:00
Alex Holliday 25d81f4238 remove dead findByMonitorIdAndDateRange method 2026-07-24 10:43:56 -07:00
Alexander Holliday af8ee643e1 Merge pull request #3800 from bluewave-labs/chore/monitor-domain-refactor
extact monitor children deletion to helper
2026-07-23 11:25:12 -07:00
Alex Holliday 61e442493a extact monitor children deletion to helper 2026-07-23 10:49:59 -07:00
Alexander Holliday 9540084425 Merge pull request #3799 from bluewave-labs/chore/domain-refactoring
chore: domain refactoring
2026-07-23 10:30:33 -07:00
Alex Holliday f50ba1bf23 update tests 2026-07-23 10:26:01 -07:00
Alex Holliday b4e42bfd68 add type check script 2026-07-23 10:25:51 -07:00
Alex Holliday 3af00281c4 extract date range calculation for conisistency 2026-07-23 10:25:24 -07:00
Alex Holliday 4a90ab8e78 extract pagination 2026-07-23 09:36:06 -07:00
Alexander Holliday 7598cf3007 Merge pull request #3798 from bluewave-labs/chore/api-cleanup
chore: api cleanup
2026-07-22 11:03:07 -07:00
Alex Holliday e1c89cd093 dedupe normalization 2026-07-22 11:00:59 -07:00
Alex Holliday 80d4e818f1 remove unused static vars 2026-07-22 10:36:16 -07:00
Alex Holliday 4949acac1c remove unused email templates, remove duplicate constants 2026-07-22 10:26:00 -07:00
Alex Holliday 586e79efb2 remove unused getters 2026-07-22 10:13:37 -07:00
Alex Holliday c961f5292d fix signature, add tests 2026-07-22 10:05:36 -07:00
Alex Holliday d53785b768 remove unused utilities, fix delete profile image issue 2026-07-22 10:03:48 -07:00
Alexander Holliday b9cbf199e6 Merge pull request #3796 from LvckyAPI/develop
Fixes UI bug with German translations
2026-07-22 09:44:19 -07:00
Iven Schlenther ac6678a986 Update English and German translations for "temp" label to "CPU temperature" in locales files. 2026-07-22 11:33:06 +02:00
Iven Schlenther ed1ef56184 - Add sx={{ overflowWrap: "anywhere" }} to Typography in BaseChart for improved text wrapping.
- Adjust `alignItems` to `stretch` and add `maxWidth` (260) to Gauge components in Infrastructure Details page.
- Update German translations for memory titles, temperatures, and labels in locales file.
2026-07-22 11:27:38 +02:00
Alexander Holliday ac16126e2e Merge pull request #3795 from bluewave-labs/fix/enums
fix: remove inline enum definitions
2026-07-21 10:53:52 -07:00
Alex Holliday 8e600e9a87 remove inline enum definitions 2026-07-21 10:48:18 -07:00
Alexander Holliday 790d83b7ed Merge pull request #3794 from bluewave-labs/fix/positional-args
fix: positional args
2026-07-21 10:30:29 -07:00
Alex Holliday c567e4be5e Update tests 2026-07-21 10:26:10 -07:00
Alex Holliday 936d9cd9a0 update call site 2026-07-21 10:26:02 -07:00
Alex Holliday 6e047d2cdb convert positional args to config obj 2026-07-21 10:25:50 -07:00
Alex Holliday aad03b787f update tests 2026-07-21 10:07:18 -07:00
Alex Holliday bb374db463 remove stray import 2026-07-21 10:07:09 -07:00
Alex Holliday 57e008c7ba update services config 2026-07-21 10:05:17 -07:00
Alex Holliday 5d3dc03c89 add a provider registry to notificaiton service, replace positional args and switch statements 2026-07-21 10:02:20 -07:00
Alexander Holliday bf255a0178 Merge pull request #3793 from bluewave-labs/chore/refactor-routes
chore: convert router classes to exported functions
2026-07-20 11:30:41 -07:00
Alex Holliday 36434c1160 convert router classes to exported functions 2026-07-20 11:25:39 -07:00
Alexander Holliday 63cecf3447 Merge pull request #3792 from bluewave-labs/chore/purge-team/groups
purge unused groups route, update tests
2026-07-20 10:26:45 -07:00
Alex Holliday 4d9e5821a8 purge unused groups route, update tests 2026-07-20 10:21:43 -07:00
Alexander Holliday 5433a0cf5f Merge pull request #3791 from bluewave-labs/chore/fix-access-modifier
chore: protected -> private as no class inherits
2026-07-20 10:06:08 -07:00
Alex Holliday d485adbb54 narrow mapDocument types 2026-07-20 10:04:55 -07:00
Alex Holliday 3eadb99c5e protected -> private as no class inherits 2026-07-20 10:01:48 -07:00
Alexander Holliday 9c04061a04 Merge pull request #3787 from jpomykala/develop
Add Polish language
2026-07-20 09:34:54 -07:00
Alexander Holliday 897ffd5736 Merge pull request #3788 from Osamaali313/fix/response-time-poor-label
Fix missing "Poor" label on the average response-time gauge
2026-07-20 09:34:16 -07:00
Osamaali313 368595178d Fix missing "Poor" label on the average response-time gauge
`RadialAvgResponse` maps the response-time palette to a qualitative word:

    const palette = getResponseTimeColor(avg);
    const msg: Record<string, string> = {
        success: "Excellent",
        warning: "Average",
        danger: "Poor",
    };
    ...
    {msg[palette]}

But `getResponseTimeColor` only ever returns `"success" | "warning" | "error"`
(MonitorUtils.ts) — never `"danger"`. So for the slow case `palette` is
`"error"`, `msg["error"]` is `undefined`, and no label renders. The same
component uses `theme.palette[palette].main`, which works precisely because
`palette` is the real MUI key `"error"`; every other palette helper in
MonitorUtils.ts also uses `"error"`, and `"danger"` appears nowhere else in
the client. Any monitor whose average response time is >= 300 ms shows an
empty label exactly where the "Poor" signal matters most. Use the `error`
key.
2026-07-18 23:36:43 +03:00
Jakub Pomykała 924c862244 Format pl.json 2026-07-18 22:13:05 +02:00
Jakub Pomykała cf451416b1 Update polish translations after review 2026-07-18 21:33:10 +02:00
Jakub Pomykała 6e2a64fc9f Add Polish to language selector 2026-07-18 20:57:50 +02:00
Jakub Pomykała 0e52cb6231 Add polish 2026-07-18 20:22:00 +02:00
Alexander Holliday 507b96164f Merge pull request #3784 from bluewave-labs/chore/refactor-utils
chore: refactor utils
2026-07-15 10:24:51 -07:00
Alex Holliday 887521c376 Merge branch 'develop' into chore/refactor-utils 2026-07-15 10:24:23 -07:00
Alexander Holliday caee9510eb Merge pull request #3783 from bluewave-labs/chore/controller-refactor
chore: add catchAsync to handle errors, remove all try/catch blocks from con…
2026-07-15 10:23:48 -07:00
Alex Holliday 825a81d326 extract shared mongo mapper utils 2026-07-15 10:20:16 -07:00
Alex Holliday bd13e9d9c8 add catchAsync to handle errors, remove all try/catch blocks from contorllers 2026-07-15 10:02:36 -07:00
Alexander Holliday 92696d3685 Merge pull request #3782 from bluewave-labs/chore/hardware-aggregation-refactor
chore: hardware aggregation refactor
2026-07-15 09:59:03 -07:00
Alex Holliday 5120390923 aggregation->aggregations 2026-07-15 09:23:16 -07:00
Alex Holliday 0810fcbb88 refactor hardware aggregation pipeline 2026-07-15 09:18:35 -07:00
Alexander Holliday 15453c2d8d Merge pull request #3781 from bluewave-labs/chore/monitor-service-refactor
chore: remove duplicated code
2026-07-14 10:48:53 -07:00
Alex Holliday 70f10a73d8 remove duplicated code 2026-07-14 10:46:25 -07:00
Alexander Holliday 930c06f5ff Merge pull request #3780 from bluewave-labs/chore/dedupe
chore: remove toEntityWithChecks
2026-07-14 10:37:14 -07:00
Alex Holliday b088a8c878 remove toEntityWithChecks 2026-07-14 10:17:38 -07:00
Alexander Holliday 067a186765 Merge pull request #3779 from bluewave-labs/fix/cascade-incidents
fix: delete incidents on all monitors deleted
2026-07-14 09:26:13 -07:00
Alex Holliday 107b5cbd96 delete incidents on all monitors deleted 2026-07-14 09:24:14 -07:00
Alexander Holliday 7fdd51c072 Merge pull request #3778 from edobusy/fix/readme-k8s-install-link
fix(docs): correct K8s install link path in translated READMEs
2026-07-14 09:10:10 -07:00
Alexander Holliday 2331035da0 Merge pull request #3773 from bluewave-labs/fix/status-page-brand-color-not-applied
fix(status page): apply brand color via a dedicated brand token
2026-07-14 09:04:06 -07:00
edobusy fd4edb7227 fix(docs): correct K8s install link path in translated READMEs
The translated READMEs in docs/translations/ link to the Kubernetes
installation guide with a path copied from the root README
(./charts/helm/checkmate/INSTALLATION.md). Because these files live two
levels below the repo root, that path resolves to
docs/translations/charts/..., which does not exist, so the link is
broken in all 17 translations.

Fix the path to ../../charts/helm/checkmate/INSTALLATION.md so it
resolves to the repo-root charts/ directory. The root README.md is
correct as-is and is left unchanged.
2026-07-14 13:43:37 +10:00
Alexander Holliday 538b0df7e9 Merge pull request #3777 from bluewave-labs/fix/shield-csp
add img.shields.io to csp directive
2026-07-13 10:11:24 -07:00
Alex Holliday 9f79feec8e add img.shields.io to csp directive 2026-07-13 10:10:28 -07:00
Alexander Holliday fe703199f5 Merge pull request #3776 from bluewave-labs/chore/simplify-deployment
chore: simplify deployment
2026-07-13 09:57:13 -07:00
Alex Holliday 800080fd06 add log warnings about legacy env vars 2026-07-13 09:48:02 -07:00
Alex Holliday c1bcd9b206 add note to helm chart about migration 2026-07-13 09:47:45 -07:00
Alex Holliday 5d55750b7b update docs 2026-07-13 09:38:55 -07:00
Alexander Holliday 4f398e98d3 Merge pull request #3774 from bluewave-labs/feat/italian-translation-and-contrib-docs
feat(i18n): add Italian translation, document translation workflow
2026-07-13 09:05:01 -07:00
gorkem-bwl 242e853bf0 i18n(it): review pass — fix grammar, awkward phrasing, inconsistencies
91 leaves refined after a native-Italian style pass.

## Categories of fixes

- Grammar / gender agreement — e.g. `logs.table.headers.lastSeenAt`
  "Ultima visto il" → "Visto l'ultima volta"; heap gauge subject
  agreement in `logs.diagnostics.gauges.allocatedPercentage`.
- Awkward phrasing / calques — `notFound.subtitle` drops stilted
  "ad esso"; `incidents.fallback.title` "in salute" → "funzionano
  correttamente" (was reading as if for a person, not systems);
  `settings.form.removeMonitors.title` "Reset del sistema" →
  "Reimposta il sistema"; "con successo" → "correttamente" on
  status-page delete confirmations.
- Consistency — paused monitor status unified on "In pausa" across
  `common.labels.paused`, monitor status labels, status-bar keys, and
  the `bulkPause.*_one/other` copies. Button verbs
  "Sospendi"/"Riprendi" kept for brevity; status noun stays "In pausa".
- Mistranslations — `buttons.testNotifications` "Testa" → "Prova";
  `buttons.toggleTheme` "Cambia" → "Alterna"; Twilio "Auth token" now
  translated; Mongoose `readyState` clarified to "Stato di connessione".
- Register — trimmed "Ancora" from several empty-state titles so they
  read like natural Italian empty states.

## Verification

874 leaves in EN and IT, 0 missing / 0 extra, all placeholders and
inline tags preserved, no empty values.
2026-07-13 16:18:24 +03:00
gorkem-bwl 523bf2253c feat(i18n): add Italian translation, document translation workflow
## Changes

- Add `client/src/locales/it.json` — Italian translation of all 874 UI
  keys, structure mirrors `en.json` exactly. Placeholders (`{{value}}`,
  etc.) and inline tag tokens (`<settingsLink>`, `<highlight>`, ...)
  are preserved. Product/brand names, technical abbreviations, and
  placeholder-style examples (e.g. `you@example.com`) are kept in
  English. 116 leaves are intentionally kept verbatim in English
  (brand names, protocol names, sample values, port numbers, regex).
- Register `it: "Italiano"` in `LanguageSelector`'s `languageNames`
  map so the dropdown shows the localised name; the selector already
  picks up any locale present in the i18n resources.
- Fill in the two "How do I..." sections that CONTRIBUTING.md's table
  of contents already links to but did not have bodies:
  - "Improve the documentation?" — short guidance on doc PRs and
    keeping README translations in sync.
  - "Help with translations?" — describes the current per-language
    JSON workflow (source of truth: `en.json`; improve an existing
    language by editing its JSON; add a new one by adding a JSON file
    and registering the display name in `LanguageSelector`). Notes
    that the older PoEditor sync workflow is no longer authoritative.

## Benefits

- Italian speakers can now use Checkmate in Italian.
- Contributors who follow the "Help with translations?" link from
  the CONTRIBUTING TOC land on real, current guidance instead of a
  broken anchor.
- Translation quality can be improved incrementally by anyone
  editing `it.json` directly; no external tooling required.
2026-07-13 16:10:04 +03:00
gorkem-bwl f92dc835b7 fix(status page): apply brand color via a dedicated brand token
The status page appearance form saves a customer-picked brand color
(`statusPage.color`), but `StatusPageThemeProvider` never consumed it —
every rendered surface styled from `tokens.up`, so the picker had no
visible effect on the public page.

Rather than overriding `tokens.up` (the semantic OK/up status color,
which would let a red or orange brand color render the "all
operational" indicator in a red that reads as downtime), this
introduces a separate `brand` / `brandStrong` / `brandSoft` token
triple that is distinct from the up/OK color.

## Changes

- `themes/tokens.ts`: add optional `brand` / `brandStrong` / `brandSoft`
  fields on `StatusPageThemeTokens`. Themes leave them undefined; the
  provider falls back to the theme's `up*` values so nothing regresses
  before individual themes opt in.
- `themes/StatusPageThemeProvider.tsx`: add `brandColor` prop and a
  `resolveBrandTokens` helper. When a valid hex is provided it feeds
  `brand`, `brandStrong = darken(x, 0.2)`, `brandSoft = alpha(x, 0.15)`
  using MUI's shared `alpha`/`darken` (replaces the ad-hoc hex helpers).
  Invalid or empty values fall through cleanly.
- `Status/index.tsx`: pass `brandColor={statusPage.color}` only at the
  public route. The admin preview provider wraps an iframe whose
  document renders itself, so passing the prop there had no effect and
  is dropped.
- `themes/refined/styles.ts`: switch accent surfaces (hero logo, active
  chart-switch button, hardware pill, footer link) from `tokens.up` to
  `tokens.brand`. Uptime bars, status pills, and OK indicators stay on
  `tokens.up`. Other themes keep their current styling until a designer
  decides which surfaces should switch.

## Benefits

- Brand Color picker actually changes the rendered accent surfaces.
- The semantic "OK/up" status color is never repainted by the brand
  color, so operational-state indicators stay green regardless of the
  customer's brand.
- Reuses MUI's `alpha` / `darken` helpers already used across the
  client; no divergent color utilities.
- Small, incremental adoption: themes opt in at their own pace by
  reading `tokens.brand*` where they want the brand accent.
2026-07-13 15:52:12 +03:00
Alexander Holliday 0b0d412187 Merge pull request #3766 from bluewave-labs/fix/network-notice-loopback-detection
fix(infrastructure): trigger network 'no traffic' notice on interface name only
2026-07-10 19:50:02 -07:00
gorkem-bwl 77b817778b address review feedback: rename notice to match new trigger
The notice now triggers on interface names (loopback / container-bridge
only), not on zero traffic. Update the variable, i18n key, and English
copy to match:

- showNoTrafficNotice -> showLoopbackOnlyNotice
- pages.infrastructure.charts.labels.netNoTraffic ->
  pages.infrastructure.charts.labels.loopbackOnlyNotice
- English string rewritten to describe the loopback-only condition
  rather than "zero traffic on every interface"

Other locales still hold the old string under the old key and will fall
back to English until the translation pipeline picks up the new key.
Tracked separately.
2026-07-11 04:29:22 +03:00
Alexander Holliday eddb9a82a8 Merge pull request #3764 from bluewave-labs/fix/increase-json-body-limit
fix(server): raise express.json body limit to 10mb
2026-07-10 18:23:44 -07:00
gorkem-bwl 9459edce00 scope 10mb body limit to /monitors/import/json only
Address review feedback: keep the global express.json() at the default
100kb and mount a route-scoped 10mb parser in front of it for
/api/v1/monitors/import/json. Express matches middleware in registration
order, so the import route uses the larger parser and every other
endpoint keeps the tight default. No change in DoS surface for normal
traffic.
2026-07-11 04:22:42 +03:00
Alexander Holliday eaf1064413 Merge pull request #3763 from bluewave-labs/fix/status-page-custom-css-injection
fix(status-page): inject sanitized customCSS on the public page
2026-07-10 09:51:10 -07:00
Alexander Holliday dae6f9a570 Merge pull request #3769 from edobusy/docs/readme-italian
docs(readme): add Italian translation
2026-07-10 09:20:18 -07:00
edobusy 9fa45c5871 docs(readme): add Italian translation 2026-07-10 23:46:49 +10:00
gorkem-bwl 2810cd3562 fix(infrastructure): trigger network "no traffic" notice on interface name only
The notice at the top of the network charts was firing whenever the aggregated
per-second delta was zero across all interfaces. That is a false positive when
Capture is running on a real host but the polling interval is >= 1 minute and
the aggregation bucket is also 1 minute — first == last in the bucket, delta
is zero, but the interface has plenty of real traffic in its cumulative
counters.

Base the notice on interface names instead: only show it when the ONLY
interfaces Capture reports are loopback / container-bridge names (lo, lo0,
docker0). Real NICs (enp0s6, eth0, wlan0, tunN, vethN, brN, etc.) keep the
notice hidden even when the aggregation currently reports zero throughput.

The underlying zero-throughput bug (single-sample buckets producing zero
deltas) is tracked separately.
2026-07-10 03:16:42 +03:00
gorkem-bwl f4177baed5 fix(server): raise express.json body limit to 10mb
Express defaults to a 100kb JSON body, which is too small for realistic
imports through POST /api/v1/monitors/import/json (backups with many
monitors and their config easily exceed 100kb, returning
"request entity too large").

Raise the parser cap to 10mb. That covers real-world import payloads
while keeping the DoS surface bounded — a larger, streaming file-upload
route for imports remains desirable as a follow-up.
2026-07-10 00:06:31 +03:00
gorkem-bwl 5feb666bdb fix(status-page): inject sanitized customCSS on the public page
The customCSS field on status pages was persisted and validated
end-to-end but never rendered on the public page, so operator-supplied
styles had no effect.

Inject the string as a <style> tag on the public route (which the
admin preview iframe also renders), reusing the existing
cssReferencesExternalResource check so external-resource CSS
(@import, url(http…), //…) is dropped defensively on the client.

The admin preview iframe already points at the public URL, so this
one insertion covers both the live page and the in-app preview.
2026-07-09 21:55:25 +03:00
Alex Holliday ceacaa5499 scope workflows 2026-07-09 11:24:35 -07:00
Alex Holliday 91343f996b hosting docs 2026-07-09 10:55:04 -07:00
Alex Holliday 312961e8c9 use repo owner 2026-07-09 10:27:56 -07:00
Alex Holliday 0475f194e9 temporary branch 2026-07-09 10:24:06 -07:00
Alex Holliday bbb051406f udpate docs 2026-07-09 10:21:09 -07:00
Alex Holliday 40a7599388 update workflows 2026-07-09 10:20:24 -07:00
Alex Holliday dffce2709e clean up docker files 2026-07-09 10:19:38 -07:00
Alex Holliday 62031a0ab1 add a CLIENT_CONFIG to the client, serve from BE with env vars 2026-07-09 09:49:45 -07:00
Alex Holliday ef175950b2 add dockerfile and build-image workflow 2026-07-09 09:29:31 -07:00
Alex Holliday 6d91efecad default client to same-origin /api/v1 and window.location.origin, drop UPTIME_APP_* placeholders 2026-07-08 11:04:47 -07:00
Alex Holliday f7d3bcb696 add root docker-compose 2026-07-08 10:47:03 -07:00
Alex Holliday 4a093e2b97 start health server on primary process true 2026-07-08 10:46:34 -07:00
Alexander Holliday 8396f478c5 Merge pull request #3760 from bluewave-labs/fix/status-page-monitor-leak
node:20 => node:22
2026-07-07 10:17:31 -07:00
Alex Holliday bbfd963deb node:20 => node:22 2026-07-07 10:16:56 -07:00
Alexander Holliday fc0cda3da6 Merge pull request #3758 from bluewave-labs/fix/status-page-monitor-leak
fix: status page monitor leak
2026-07-07 09:59:28 -07:00
Alex Holliday 861d867a17 run formatter 2026-07-07 09:55:21 -07:00
Alex Holliday 8d7c322279 bump version and deps 2026-07-07 09:54:21 -07:00
Alex Holliday 68a9bece1e bump dependencies 2026-07-07 09:48:34 -07:00
Alex Holliday 4f82a11c66 update tests 2026-07-07 09:47:41 -07:00
Alex Holliday cc1814f507 whitelist monitor properties instead of blacklist for status pages 2026-07-07 09:47:29 -07:00
Alex Holliday 436c11bcba Merge branch 'develop' into fix/status-page-monitor-leak 2026-07-07 09:02:48 -07:00
Alexander Holliday d5ec2936ad Merge commit from fork
Advisory fix 1
2026-07-06 09:46:15 -07:00
Alex 937ffe4f3b add and update tests 2026-07-06 09:39:59 -07:00
Alex 0df71d6356 use re2 for regex 2026-07-06 09:39:43 -07:00
Alex adba25269c tighten regex validation 2026-07-06 09:39:28 -07:00
Alex 386a384ef6 add RE2 dependency 2026-07-06 09:39:11 -07:00
Alex Holliday 8bf5db0834 remove dead code and tests 2026-07-03 11:28:00 -07:00
Alexander Holliday 817d01c857 Merge pull request #3754 from bluewave-labs/fix/worker-crash-on-mongo-error
fix: worker crash on mongo error
2026-07-03 10:50:59 -07:00
Alex Holliday 3f30acdbdf add tests 2026-07-03 10:45:53 -07:00
Alex Holliday 80b604b9ff add global unhandled exception handler 2026-07-03 10:34:02 -07:00
Alex Holliday 9356b0d482 catch on recordFailure, add defenisve cathc to run job 2026-07-03 10:33:45 -07:00
Alexander Holliday 6699a83948 Merge pull request #3753 from bluewave-labs/chore/worker-deregistration-tests
add additional worker tests
2026-07-03 09:48:18 -07:00
Alex Holliday 900c039672 add additional worker tests 2026-07-03 09:41:18 -07:00
Alex a4ab7d662e bump version fix 2026-07-02 11:05:30 -07:00
Alex 807d7e10c3 type bulk op 2026-07-02 10:55:57 -07:00
Alex 39043f3945 migration fix 2026-07-02 10:43:22 -07:00
Alex 5a72e1e123 Merge branch 'develop' of github.com:bluewave-labs/Checkmate into develop 2026-07-02 10:30:05 -07:00
Alex 959b150ebf fix migratin 2026-07-02 10:29:15 -07:00
Alexander Holliday 552b7a037d Merge pull request #3743 from bluewave-labs/feat/helm
feat: Update helm charts
2026-07-02 10:13:28 -07:00
Alex 8671685cf9 bump version 2026-07-02 10:07:42 -07:00
Alex ff536f40a2 use version tag 2026-07-02 09:44:37 -07:00
Alex e3d63a1cb4 bump version 2026-07-02 09:11:26 -07:00
Alexander Holliday 105d7f0580 Merge pull request #3723 from Buco7854/feat/customcss-status-page
Feat/customcss status page
2026-07-02 09:11:02 -07:00
Alexander Holliday e2a1f02971 Merge pull request #3744 from Harshitbro-ctrlv/feat/status-page-minimal-theme
feat(status-page): add minimal theme
2026-07-02 08:59:55 -07:00
Alex b7f548ff15 bump version 2026-07-02 08:49:36 -07:00
Harshitbro-ctrlv 29d05c1e57 feat(status-page): add minimal theme 2026-07-02 12:08:17 +05:30
Alex Holliday 0ec77a5ab1 add alias for backward compat 2026-06-30 16:58:52 -07:00
Alexander Holliday 95eb75f416 Merge pull request #3741 from sanmaxdev/fix/maintenance-window-monitor-edits
test: cover maintenance window monitor edits
2026-06-30 16:46:40 -07:00
Alex Holliday 8f657dcd36 fix mongo namespace 2026-06-30 10:51:21 -07:00
Alex Holliday c0e33eb4fa skip general rate limiter on dev mode 2026-06-30 09:08:20 -07:00
Alex Holliday 754b0af3a3 update helm charts 2026-06-30 09:08:01 -07:00
Alex Holliday a39792cf0b add readiness and liveness checks to API 2026-06-29 14:14:42 -07:00
Alex Holliday 35c9618d59 server->api 2026-06-29 10:15:29 -07:00
Alex Holliday c6c41c2e3e bare sevice 2026-06-29 10:06:34 -07:00
Alex Holliday f58825d19f clean up env vars 2026-06-29 10:03:48 -07:00
Alex Holliday e4649f3d76 housekeeping 2026-06-29 09:43:37 -07:00
Alexander Holliday c7361666f5 Merge pull request #3742 from bluewave-labs/feat/worker-health
Feat/worker health
2026-06-29 09:20:07 -07:00
Alex Holliday 3f5707721f fix logging on server startup 2026-06-29 09:12:42 -07:00
sanmaxdev cc5f033d0d test: cover maintenance window monitor edits 2026-06-27 16:21:37 +00:00
Alex Holliday d2d0fb788e resolve shutdown race 2026-06-25 12:29:21 -07:00
Alex Holliday 9d969d67ca udpate tests 2026-06-25 11:55:40 -07:00
Alex Holliday 6e1c26b987 remove shadowing var 2026-06-25 11:55:28 -07:00
Alex Holliday ef353dcb36 bugfix, move reconcile to job scheduler 2026-06-25 11:47:22 -07:00
Alex Holliday b21ef60cda add a worker to the dev docker compose 2026-06-25 11:03:04 -07:00
Alex Holliday f43bf9ab3d add observability to worker and health server 2026-06-25 11:02:38 -07:00
Alex Holliday 48ca64ec6f add observability repo method 2026-06-25 11:02:18 -07:00
Alex Holliday e036c6077e add tests 2026-06-25 10:37:07 -07:00
Alex Holliday c9f0254aed start health server, update shutdown, update env config 2026-06-25 10:36:53 -07:00
Alex Holliday b3d9c5b94c add health server and metrics to db queue worker 2026-06-25 10:36:31 -07:00
Alex Holliday fd536541d7 add test for job scheduler drain 2026-06-25 09:16:07 -07:00
Alex Holliday 7a82c76d5c update tests 2026-06-24 12:20:21 -07:00
Alex Holliday 5fab2d0a30 inject buffer service, implement drain 2026-06-24 12:17:02 -07:00
Alex Holliday 860b2d6214 add a getHealth method to interface, stub out implementation 2026-06-24 12:16:37 -07:00
Alex Holliday 8579edd56e add a shutdown method to buffer service 2026-06-24 11:58:32 -07:00
Arnaud GRIMBERT 969d24e369 Merge branch 'develop' into feat/customcss-status-page 2026-06-24 20:27:57 +02:00
Buco7854 52b95ad121 fix: keep the admin status page preview iframe same-origin
The preview framed the page public URL, which for a custom domain is cross
origin and blocked by the admin document CSP frame-src. Point the iframe at the
same-origin public path while the frame chrome still shows the public URL.
2026-06-24 18:21:40 +00:00
Buco7854 ea23610b3a fix: mirror server custom CSS validation on the client
The form only enforced the length cap, so CSS with an external url() or @import
passed client validation and was rejected by the server. Add the same tokenizer
based check with the same error message so it is caught inline before submit.
2026-06-24 18:21:27 +00:00
Buco7854 a4cc322a55 feat: apply status page CSP to custom domains
Detect custom domains by comparing the request host to the app host and apply
the tightened CSP there too, not just on the public path. Run the middleware
before express.static so static-served root documents get the header, and keep
helmet after static so its default-src does not block custom domain API calls.
2026-06-24 18:21:16 +00:00
Alexander Holliday 2b9ff52f6b Merge pull request #3738 from bluewave-labs/feat/clean-worker-split
feat: clean worker split
2026-06-24 11:02:14 -07:00
Alex Holliday 0f230c4d70 update tests 2026-06-24 10:53:13 -07:00
Alex Holliday 74783fd738 clean up logger 2026-06-24 10:53:03 -07:00
Alex Holliday 71d3e789ff split services to api, worker, and shared 2026-06-24 10:30:21 -07:00
Alex Holliday f59a7c3113 extract shared services 2026-06-23 12:26:42 -07:00
Buco7854 ffbf223288 feat: tighten CSP on the public status page document
Layer a stricter Content-Security-Policy on the /status/public document so
custom CSS cannot load external images, fonts, or stylesheets. Browsers
enforce the intersection of all CSP headers, so this only narrows the public
status page and never loosens the global policy, while keeping the app's
Google Fonts. Browser-enforced backstop behind the validator.
2026-06-23 19:25:40 +00:00
Buco7854 96021b7479 refactor: detect external CSS references with the CSS Syntax tokenizer
Replace the regex/escape-normalizer with @csstools/css-tokenizer (already
present transitively). Tokenizing resolves comments, hex escapes, and line
continuations into the real value before scanning, so obfuscated forms (a
scheme split by a line continuation or hex escape) cannot slip past. Scan
url-tokens and string-tokens to cover url(), quoted @import, and string-form
image functions. Add regression tests for the bypasses.
2026-06-23 19:25:18 +00:00
Alex Holliday f0a5974eaf update tests 2026-06-23 11:31:35 -07:00
Alex Holliday c9b8f434cd split worker into a scheduler and worker 2026-06-23 11:22:37 -07:00
Buco7854 3685e0c476 feat: reject custom CSS that references external resources
Reject status page custom CSS containing @import or a url() / image-set()
/ image() / cross-fade() whose target is http(s) or protocol-relative,
while allowing data: and relative URLs. The check normalizes comments and
CSS escapes first so obfuscated forms cannot slip past. Enforced in the
create/update body validation.
2026-06-22 23:49:58 +00:00
Alexander Holliday d6f9fca907 Merge pull request #3737 from bluewave-labs/feat/head-request-fe
feat: head request front end
2026-06-22 11:36:02 -07:00
Alex Holliday ba943e90c2 add form UI 2026-06-22 11:24:35 -07:00
Alex Holliday dead97169f add default GET 2026-06-22 11:24:03 -07:00
Alexander Holliday eb1d307932 Merge pull request #3736 from bluewave-labs/feat/head-request-be
feat: head request back end
2026-06-22 11:19:34 -07:00
Alex Holliday a31dd2f19e update montior form hook to load method 2026-06-22 11:07:56 -07:00
Alex Holliday d84fc7e299 add method to validation 2026-06-22 10:48:39 -07:00
Alex Holliday 8afd67a06d add method to monitor type 2026-06-22 10:43:30 -07:00
Alex Holliday 71a4fddffd add tests 2026-06-22 10:38:15 -07:00
Alex Holliday 3489ee000d add super refine to reject method HEAD and advanced matching/json path 2026-06-22 10:31:13 -07:00
Alex Holliday 93b9c5033a add http metod option, add monitor.method guard to buildResponse 2026-06-22 10:26:10 -07:00
Alex Holliday 32ec909bf7 add default GET for imported monitors 2026-06-22 10:25:27 -07:00
Alex Holliday 8e5757beb1 add a method field to model, add enums and validation for http methods 2026-06-22 10:15:14 -07:00
Alexander Holliday 8e5a337f3e Merge pull request #3735 from bluewave-labs/fix/diagnostic-stats
fix: diagnostic stats
2026-06-22 10:01:25 -07:00
Alex Holliday 9db4e557b3 record last finished timestamp for failures 2026-06-22 09:58:11 -07:00
Alex Holliday 10174da4f0 update locales 2026-06-22 09:54:58 -07:00
Alex Holliday 99ded83bd5 remove dead fields from table, add correct fields 2026-06-22 09:54:49 -07:00
Alex Holliday dffa49ae9d remove dead fields 2026-06-22 09:54:17 -07:00
Alex Holliday 89c86a7628 remove dead fields from WorkerSummary 2026-06-22 09:53:50 -07:00
Alexander Holliday 09446c9fc1 Merge pull request #3733 from bluewave-labs/fix/excess-polling
Fix/excess polling
2026-06-22 09:26:36 -07:00
Alex Holliday 755134ee7f add poll backoff tests 2026-06-22 09:15:39 -07:00
Alex Holliday 3b919044e6 wake worker on job change 2026-06-19 10:25:59 -07:00
Alex Holliday 08e9c02a3a update tests 2026-06-19 10:02:06 -07:00
Alex Holliday 85f674ee08 resovle merge conflict 2026-06-19 09:55:52 -07:00
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
Alex Holliday a058c0518c change status on exit maintenance window 2026-06-19 09:37:24 -07:00
Alex Holliday 5ed9ab780a update tests, add check producer tests 2026-06-18 11:06:57 -07:00
Alex Holliday e32590425b remove unsed from constructor 2026-06-18 11:06:43 -07:00
Alex Holliday 190a3b47da add findByIdLean for workers 2026-06-18 11:06:19 -07:00
Alex Holliday f740eef0fa thread prefetched worker, remove dead code 2026-06-18 11:05:57 -07:00
Alex Holliday 5efd64d44d thread prefetched monitor trough status service 2026-06-18 11:05:17 -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 9d453bdb0b Merge branch 'develop' into fix/excess-polling 2026-06-18 10:19:57 -07:00
Alexander Holliday 39d92fb067 Merge pull request #3732 from bluewave-labs/fix/maintenance-rearm-jobs
rearm jobs on maintenance window pause/delete
2026-06-18 10:19:40 -07:00
Alex Holliday a54fdd89ab rearm jobs on maintenance window pause/delete 2026-06-18 10:17:33 -07:00
Alexander Holliday 6aa9360b98 Merge pull request #3731 from bluewave-labs/fix/evluation-order
fix: check evaluation order
2026-06-18 10:04:31 -07:00
Alex Holliday bb3f471d19 Merge branch 'fix/evluation-order' into fix/excess-polling 2026-06-18 09:58:47 -07:00
harsh-aghara 6d433fd0ac feat(client): polish customUpCodes ui 2026-06-18 22:27:38 +05:30
harsh-aghara d8dafa311a feat: sync custom http status codes between frontend and backend
- Add standard custom HTTP status codes (Cloudflare, AWS ELB, etc.) to both frontend and backend allowlists.
- Enforce strict validation of custom status codes using Zod sets on both sides, ensuring they match perfectly.
2026-06-18 22:27:38 +05:30
Alex Holliday 398e5d7314 add tests 2026-06-18 09:57:05 -07:00
Alex Holliday 53ee45172d remove evluation from worker 2026-06-18 09:56:56 -07:00
Alex Holliday 1ea6dafb1a evaluate checks on buffer flush 2026-06-18 09:56:38 -07:00
Alex Holliday 9785dc146e inject job repo into buffer service 2026-06-18 09:56:22 -07:00
harsh-aghara 1b1d8ea229 feat(client): implement accepted status codes UI in create monitor form 2026-06-18 21:37:14 +05:30
harsh-aghara 603bd1d814 feat(client): add customUpCodes to Monitor type and validation schema 2026-06-18 21:37:14 +05:30
harsh-aghara 158d976ccb feat(client): add HTTP status codes constants for monitor options 2026-06-18 21:37:14 +05:30
Alex Holliday 380fdf470f backoff excessive polling 2026-06-17 11:35:15 -07:00
Alexander Holliday 1e2a4b4a84 Merge pull request #3730 from bluewave-labs/feat/additional-mongo-stats
feat: additional mongo stats
2026-06-17 11:09:30 -07:00
Alex Holliday 5e0d8f0550 update tests 2026-06-17 11:01:56 -07:00
Alex Holliday bffc4ee813 add stats to fe 2026-06-17 10:55:49 -07:00
Alex Holliday ad9ff7f5df add mongo read/write per second stats 2026-06-17 10:55:39 -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 cb0dd878d6 update .env.example 2026-06-16 10:59:46 -07:00
Alex Holliday 8c5be9ef00 removed pulsecron and ioredis 2026-06-16 10:50:50 -07:00
Alex Holliday d1b6d08c73 add tests 2026-06-16 10:50:39 -07:00
Alex Holliday 2d68e96782 drop jobs in migration 2026-06-16 10:50:29 -07:00
Alex Holliday 306f2a60a2 update tests 2026-06-15 12:22:55 -07:00
Alex Holliday abf6dc2908 single worker ID 2026-06-15 12:21:36 -07:00
Alex Holliday 7ce6068757 fix migration 2026-06-15 12:12:14 -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 90bbc764fc readd queue-worker domain, add heartbewat to db-queue 2026-06-15 11:26:49 -07:00
Alex Holliday ae4c433246 add a feature flag to toggle primary worker processing jobs or not 2026-06-15 11:02:46 -07:00
Alex Holliday d2461ef118 remove old queues 2026-06-15 10:39:48 -07:00
Alex Holliday 47162f2064 add a batch claim method 2026-06-12 16:04:31 -07:00
Alex Holliday 8b9c41464a dbQueueWorker 2026-06-12 15:43:36 -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
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
Alex Holliday eff4f8ad69 fix method name 2026-06-11 15:20:13 -07:00
Alex Holliday bca902471d update tests 2026-06-11 15:19:53 -07:00
Alex Holliday 1b3f2f0365 add toStatusResponse to service, add findUnevaluated to repo 2026-06-11 15:19:45 -07:00
Alex Holliday be12991997 add tests 2026-06-11 14:19:21 -07:00
Alex Holliday 54596fe776 add mongodb-memory-server for testing 2026-06-11 14:19:14 -07:00
Alex Holliday 8d637dbcac update validation 2026-06-11 14:18:56 -07:00
Alex Holliday 771fd5b50f add migration for lastEvaluatedAt backfill 2026-06-11 14:18:44 -07:00
Alex Holliday 8dedf2a742 add last evaluated at field 2026-06-11 14:18:32 -07:00
Alex Holliday c882daf000 add job domain 2026-06-11 14:18:21 -07:00
Alexander Holliday 1aa7ae8f11 Merge pull request #3715 from Cincinnatus101010/feat/status-page-custom-domain
feat: custom domain support for published status pages
2026-06-11 12:31:20 -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
Alexander Holliday 2f22a52116 Merge commit from fork
Advisory fix 1
2026-06-11 10:44:42 -07:00
Ian Troisi 8af13b04ec fix: derive custom domain URL protocol from client host
Use the configured client host protocol instead of hardcoding https for
custom domain status page links.
2026-06-11 13:43:19 -04:00
Alex Holliday ac77216f07 add middleware tests 2026-06-11 10:42:15 -07:00
Alex Holliday a43363ebfc apply middleware 2026-06-11 10:42:05 -07:00
Alex Holliday 0ca738b080 add an upload type with size constraints and acceptable file types 2026-06-11 10:41:53 -07:00
Alex Holliday 091c36cbf3 create upload middleware 2026-06-11 10:40:59 -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
Alexander Holliday 20863fbce7 Merge pull request #3725 from bluewave-labs/feat/decouple-worker
feat: decouple worker
2026-06-10 13:24:11 -07:00
Alex Holliday fa7eaa4788 update tests 2026-06-10 13:13:01 -07:00
Alex Holliday ee9c08b1bb extract reactors and pipeline 2026-06-10 13:12:51 -07:00
Alexander Holliday 7ee30e12f5 Merge pull request #3724 from bluewave-labs/chore/worker-reorg
chore: worker reorg
2026-06-10 09:34:31 -07:00
Alex Holliday c5f57eda62 update tests 2026-06-10 09:30:24 -07:00
Alex Holliday 2bf3c08f3c reorg jobqueue to worker 2026-06-10 09:30:14 -07:00
Ian Troisi 187c8eaba1 chore: format openapi.json with prettier 2026-06-10 11:03:34 -04:00
Buco7854 25d8839441 feat: render admin status page preview in an iframe
The preview previously rendered the themed status page inline in the
admin document, so document-global concerns leaked in both directions:
custom CSS spilled into the admin UI and the theme body painting never
showed. Pointing the BrowserFrame at the real public URL in an iframe
isolates the CSS completely and makes the preview pixel-identical to
what visitors see. Auth for unpublished pages keeps working because the
same-origin iframe shares localStorage and the API client reads the
token from the rehydrated store.
2026-06-10 17:02:18 +02: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
Buco7854 73f95ac8e1 feat: complete custom CSS support for status pages
The customCSS field existed on the model, types, and form schema but was
never editable, sent to the API, or rendered. Wire it end to end:

- Accept customCSS in the create/update status page body validation and
  regenerate the OpenAPI spec
- Add a Custom CSS editor (multiline field) to the status page form and
  include the value in the submitted form data
- Support multiline mode in the shared TextInput component
- Inject the saved CSS via a style tag when rendering the status page
2026-06-10 14:16:27 +00:00
Alexander Holliday c8c4bac2c7 Merge pull request #3719 from bluewave-labs/chore/organization
chore: organization
2026-06-09 12:40:06 -07:00
Alex Holliday 9fecfa562f update claude.md 2026-06-09 12:36:38 -07:00
Alex Holliday 7991f3f6a1 ignore unknown on format on client 2026-06-09 12:36:16 -07:00
Alex Holliday 692d4d89d6 update configs 2026-06-09 12:35:57 -07:00
Alex Holliday f1b104b78d ignore unknown on format 2026-06-09 12:35:19 -07:00
Alex Holliday 3c2b571313 update openapi docs 2026-06-09 12:34:57 -07:00
Alex Holliday abec4e6c70 update tests 2026-06-09 12:34:30 -07:00
Alex Holliday d022f7d849 reorg to domain and api 2026-06-09 12:34:15 -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
harsh-aghara f637b01631 refactor: introduced helper method to remove redundant code 2026-06-08 17:30:26 +05:30
Ian Troisi e390bd764f Format openapi.json for CI format-check. 2026-06-07 22:42:58 -04:00
Ian Troisi 30e8cfc9ec Add custom domain support for published status pages.
Fixes #3647
2026-06-07 22:37:24 -04:00
Alexander Holliday 80d6868a1d Merge pull request #3714 from bluewave-labs/fix/status-page-styling
fix: status page styling
2026-06-07 15:23:06 -07:00
Alex Holliday 942d75afcd sm -> md 2026-06-07 15:21:53 -07:00
Alex Holliday c34fcc5cb3 fix responsiveness for status page themes 2026-06-07 15:18:22 -07:00
Alex Holliday 409f9f6dc6 fix status page styling 2026-06-07 10:54:58 -07:00
Alexander Holliday 525206c1c1 Merge pull request #3711 from bluewave-labs/feat/uptime-percentage
feat: uptime percentage resolves #3703
2026-06-07 10:18:56 -07:00
Alex Holliday 9a85389b8c update tests 2026-06-07 10:16:31 -07:00
Alex Holliday eeac784922 dispaly uptime percentage on status pages 2026-06-07 10:02:44 -07:00
Alex Holliday 19b873ca87 convert findByIds to aggregate pipeline to include uptime percentage 2026-06-07 10:02:25 -07:00
Alex Holliday 0f99c7004d remove unused import 2026-06-07 09:44:44 -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
Alex dfcf0309fe add uptime percentage label 2026-06-06 16:08:35 -07:00
Alex 395b7fbe2a add uptimetime stats method and aggregation 2026-06-06 16:08:00 -07:00
Alexander Holliday 73b74ffd80 Merge pull request #3705 from bluewave-labs/fix/migrations
bump version
2026-06-05 12:02:09 -07:00
Alex Holliday 2b393f9ebe bump version 2026-06-05 12:01:35 -07:00
Alexander Holliday 562a17707d Merge pull request #3704 from bluewave-labs/fix/migrations
fix/migrations
2026-06-05 12:00:51 -07:00
Alex Holliday 7d800b0f38 Merge branch 'develop' into fix/migrations 2026-06-05 11:58:11 -07:00
Alex Holliday a19479b578 fix migration race condition 2026-06-05 11:58:00 -07:00
Alexander Holliday 9b4a810e21 Merge pull request #3700 from bluewave-labs/chore/version-bump
bump version
2026-06-05 10:38:05 -07:00
Alex Holliday 1388d61b07 bump version 2026-06-05 10:37:43 -07: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
Alexander Holliday 45e31e7212 Merge pull request #3694 from bluewave-labs/feat/fe/progress-indicator-infra
Feat: Progress indicator infra & pagespeed
2026-06-04 00:25:19 -07:00
Br0wnHammer 7872b18108 refactor(client): inline isEditMode instead of shadowing it with isWizard 2026-06-04 11:09:09 +05:30
Alexander Holliday 15ac5fa84d Merge pull request #3697 from bluewave-labs/fix/jobs-pagination
fix: jobs pagination
2026-06-03 13:32:47 -07:00
Alex Holliday 3c85b36b1b add pagnation validation to queue query 2026-06-03 13:30:03 -07:00
Alex Holliday ee0bc5e500 add pagination components 2026-06-03 13:29:17 -07:00
Alex Holliday 4729863826 add tests 2026-06-03 13:29:03 -07:00
Alex Holliday 174fb048f7 implement pagination, update metrics to use scheduler's aggregation 2026-06-03 13:28:53 -07:00
Alex Holliday 63fd3f6afd bump scheduler 2026-06-03 13:28:25 -07:00
Alex Holliday c3944f2fe7 Add pagination to controller 2026-06-03 13:28:15 -07:00
Alexander Holliday ddd937d42f Merge pull request #3696 from bluewave-labs/fix/connection-reuse
fix: connection reuse
2026-06-03 11:54:33 -07:00
Alex Holliday 5e225f9173 update tests 2026-06-03 11:51:42 -07:00
Alex Holliday d2d110fcd5 reuse http agent, use firstByte instead of total 2026-06-03 11:48:59 -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
Alexander Holliday 724f30070d Merge pull request #3695 from ajhollid/fix/less-simple-queue-tweaks
fix: less simple queue tweaks
2026-06-03 11:07:24 -07:00
Alex Holliday b8a44f09fc update tests 2026-06-03 11:04:13 -07:00
Alex Holliday f85f1aa1d1 add processEVery 2026-06-03 11:02:56 -07:00
Alex Holliday 707b8f903b add bulk ops for inserting monitors, set primary concurrency to 0, handles scheduling only 2026-06-03 11:00:40 -07:00
Alex Holliday 9e4fd6d708 bump scheduler 2026-06-03 10:59:28 -07:00
Br0wnHammer 8572065ef7 fix(client): validate hardware alert thresholds on the wizard's second step 2026-06-03 20:16:10 +05:30
Br0wnHammer 01c3870b22 feat(client): enable step wizard on infrastructure and pagespeed create pages 2026-06-03 20:15:01 +05:30
Alexander Holliday 420c103f41 Merge pull request #3693 from bluewave-labs/feat/worker-stats
feat: worker stats
2026-06-02 11:33:44 -07:00
Alex Holliday b4970d321d update tests 2026-06-02 11:31:22 -07:00
Alex Holliday f5a4a03898 reorder stop 2026-06-02 11:31:11 -07:00
Alex Holliday dfae6c8abd type metrics for super simple queue 2026-06-02 11:26:10 -07:00
Alex Holliday 2b6734bb78 update tests 2026-06-02 11:25:21 -07:00
Alex Holliday b9fd29b906 add compliant worker ID to super simple queue 2026-06-02 11:11:24 -07:00
Alex Holliday caf8f22fec add worker table 2026-06-02 10:59:14 -07:00
Alex Holliday 599c599588 add tests 2026-06-02 09:47:13 -07:00
Alex Holliday cfed235d1f add worker stats 2026-06-02 09:47:00 -07:00
Alex Holliday c9eacff71f add queue worker type 2026-06-02 09:46:23 -07:00
Alex Holliday b2526a5be9 init queue worker repo 2026-06-02 09:45:56 -07:00
Alex Holliday cffe3f57fa add models 2026-06-02 09:45:37 -07:00
Alex Holliday 8b2506cc3d add queue worker repository 2026-06-02 09:44:49 -07:00
Alex Holliday 60356a95fe bump less-simple-scheduler 2026-06-02 09:44:23 -07:00
Alexander Holliday 1195567da8 Merge pull request #3692 from bluewave-labs/feat/fe/progress-indicator-status-page
Feat: Progress indicator status page
2026-06-02 09:19:32 -07:00
Br0wnHammer 7617929700 feat(status-page): add step-wizard progress indicator to create flow 2026-06-02 20:31:01 +05:30
Br0wnHammer 7df3ee6ecd feat(status-page): add wizard step metadata and helpers to validation schema 2026-06-02 20:27:12 +05:30
Alexander Holliday dc788dbf85 Merge pull request #3691 from bluewave-labs/feat/workers
feat: workers
2026-06-01 11:24:11 -07:00
Alex Holliday 89c4f4005e add lessSimpleQueue tests 2026-06-01 11:21:49 -07:00
Alex Holliday 53ed3b3465 remove unused imports 2026-06-01 11:17:50 -07:00
Alex Holliday e37fbf2a5c replace empty monitor check 2026-06-01 11:11:36 -07:00
Alex Holliday 4df08bfa79 add worker scripts 2026-06-01 10:45:20 -07:00
Alex Holliday f74231cf33 early return if worker mode 2026-06-01 10:45:09 -07:00
Alex Holliday e1558d35b0 use queue type on config 2026-06-01 10:44:53 -07:00
Alex Holliday 51672890df add queue type to less simple queue 2026-06-01 10:44:39 -07:00
Alex Holliday fc357fe3ae add queue mode to env validation 2026-06-01 10:44:18 -07:00
Alex Holliday 1a0e6d9404 add queue mode type 2026-06-01 10:44:05 -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
Alexander Holliday b9e8a6dbc8 Merge pull request #3689 from bluewave-labs/fix/listener-leak
fix: move listener registration to constructor
2026-05-29 11:51:27 -07:00
Alex Holliday c704f67e57 move listener registration to constructor 2026-05-29 11:45:17 -07:00
Alexander Holliday 4629a947a4 Merge pull request #3688 from bluewave-labs/feat/less-simple-scheduler
feat: Configurable Schedulers
2026-05-29 11:41:32 -07:00
Alex Holliday da92b9d067 update tests 2026-05-29 11:33:31 -07:00
Alex Holliday 458442f364 fix env sample, fix log queue, use dbType for enum 2026-05-29 11:31:11 -07:00
Alex Holliday 400b295dae Merge branch 'develop' into feat/less-simple-scheduler 2026-05-29 11:24:51 -07:00
Alex Holliday 6ddee6e85b fix imports 2026-05-29 11:23:31 -07:00
Alex Holliday 2db88ac192 add lastRunAt back 2026-05-29 11:20:19 -07:00
Alex Holliday 0342870bbd lastRunAt -> lastFinishedAT 2026-05-29 11:08:32 -07:00
Alex Holliday 4280a6c2c3 update env vars 2026-05-29 10:34:42 -07:00
Alex Holliday 0a3232419a update prettierrc 2026-05-29 10:33:15 -07:00
Alex Holliday 4dc3a756a8 add less-simple-scheduler, bump dependencies 2026-05-29 10:32:58 -07:00
Alex Holliday cd91e83817 Remove old queues 2026-05-29 10:28:59 -07:00
Alex Holliday f476710c29 add queue type to settings service 2026-05-29 10:28:49 -07:00
Alex Holliday 0d255c8962 update imports 2026-05-29 10:28:18 -07:00
Alex Holliday bf25a65d8e add configurable queue selection to service config, default to in memory 2026-05-29 10:28:01 -07:00
Alex Holliday f1e16b65ee Extract job queue interfaces, add less simple queue 2026-05-29 10:27:38 -07:00
Alex Holliday 201ad987ce Add validation for Queue type 2026-05-29 10:27:03 -07:00
Alex Holliday c12ce2fbcf add queue types 2026-05-29 10:26:46 -07:00
Alexander Holliday 6e77738ecf Merge pull request #3687 from bluewave-labs/fix/readme-translations
docs: add README translations for all supported locales
2026-05-29 09:17:42 -07:00
gorkem-bwl cbd1153189 docs(readme): polish German translation — informal 'du', tighter phrasing, fewer AI tells 2026-05-29 12:11:56 -04:00
gorkem-bwl 88042e7c50 docs(readme): add machine-translation disclaimer to 7 less-confident translations
For ar, ca, cs, fi, th, uk, vi the AI-generated translation quality
is hardest for me to vouch for. Added a clear "machine-translated
draft — native-speaker PRs welcome" notice at the top of each so
the community can fix them. The note appears below the language
selector for visibility.
2026-05-29 12:09:40 -04:00
gorkem-bwl ba44985763 docs(readme): fix TOC anchors and refresh Spanish translation
## Anchor fix
GitHub auto-generates anchor IDs from the rendered heading text, so
the English TOC links (#users-guide, #installation, etc.) in the
translated READMEs were broken — the matching anchor IDs only existed
in the English README. Added hidden <a id="..."></a> markers before
each section heading in all 17 READMEs (root + 16 translations) so
the TOC works in every language.

## Spanish refresh
The existing Spanish README was a human translation of an older
revision of the project README — it carried its own Traducciones and
Patrocinadores sections, an outdated demo URL, and a different
feature list. Rewrote it from the current English README structure
while keeping a fluent Spanish tone.
2026-05-29 11:49:24 -04:00
gorkem-bwl b164fa63bf docs(readme): add README translations for all supported locales
Mirrors the Graphify pattern: a centered flag + native-language link
bar at the top of every README points to the rest. All translated
files live in docs/translations/ so the repo root stays clean.

## Coverage
- Added 15 new translations: ar, ca, cs, de, fi, fr, ja, pt-BR, ru,
  th, tr, uk, vi, zh-CN, zh-TW
- Moved README.es.md from the repo root to docs/translations/
- Updated the root README to include the language selector

The 17 languages here match the locales the Checkmate UI already
ships translations for, so README parity is consistent with what a
user sees inside the app.

## Quality note
Translations were drafted as a starting point and may need
native-speaker review for tone and idiom — especially Arabic, Thai,
the two Chinese variants, Japanese, and Vietnamese. Technical terms
(Docker, MongoDB, Redis, Webhook, etc.), URLs, contributor names,
and badge URLs are intentionally left as-is.
2026-05-29 11:09:05 -04:00
Alexander Holliday 7630491ad4 Merge pull request #3673 from bluewave-labs/feat/fe/uptime-progress-indicator
Feat: Uptime Progress Indicator
2026-05-28 09:13:40 -07:00
Alex Holliday 09be4cdf9a fix import, move cast 2026-05-28 09:10:11 -07:00
Br0wnHammer 8360c05448 refactor(client): derive wizard step count from Zod field metadata 2026-05-28 14:20:02 +05:30
Br0wnHammer 3cce1aa842 feat(client): split uptime monitor creation into a 3-step wizard 2026-05-28 00:21:02 +05:30
joaquimpeixoto 8a83bc99e9 feat: add ntfy notification support 2026-05-27 16:57:11 +01:00
Br0wnHammer 37dfc67e33 feat(client): split uptime monitor creation into a 3-step wizard 2026-05-27 12:07:07 +05:30
Alexander Holliday 4a939ad2c4 Merge pull request #3677 from bluewave-labs/feat/bump-concurrency
feat: bump concurrency
2026-05-26 15:48:43 -07:00
Alex Holliday 56ee8ef5ea bump concurrency to 50 2026-05-26 15:45:49 -07:00
Alexander Holliday 8dd13c4b75 Merge pull request #3676 from bluewave-labs/feat/mongo-diagnostics
reset page index
2026-05-26 15:14:17 -07:00
Alex Holliday 6b5c3bba47 reset page index 2026-05-26 15:13:36 -07:00
Alexander Holliday 02998ed06e Merge pull request #3675 from bluewave-labs/feat/mongo-diagnostics
Feat/mongo diagnostics
2026-05-26 15:13:10 -07:00
Alex Holliday 397541a789 extract strings 2026-05-26 15:09:33 -07:00
Alex Holliday 949beff4f9 add mongo collection stats component, reorder layout 2026-05-26 14:55:22 -07:00
Alex Holliday 806c7764b1 add slotprops prop to tooltip 2026-05-26 14:54:54 -07:00
Alex Holliday d18a53eec2 add forward ref to gauage for tooltip 2026-05-26 14:54:30 -07:00
Alex Holliday f4b14e7df9 update clinet side diagnostics type 2026-05-26 14:53:56 -07:00
Alex Holliday e834402672 tighten server types 2026-05-26 14:53:33 -07:00
Alex Holliday 290adf024c add mongo stats 2026-05-26 13:32:48 -07:00
Alex Holliday 2c89086b68 add mongo stats component 2026-05-26 13:32:30 -07:00
Alex Holliday 20167d537b update diagnostics type 2026-05-26 13:32:05 -07:00
Alex Holliday bf43632482 add mongo types 2026-05-26 13:31:44 -07:00
Alex Holliday 2d432e0a3d add mongo stats to diagnostic service 2026-05-26 13:31:13 -07:00
Br0wnHammer 967e415b0a feat(client): split uptime monitor creation into a 3-step wizard 2026-05-27 01:07:48 +05:30
Alexander Holliday 2764468e90 Merge pull request #3674 from bluewave-labs/chore/dependency-bump
chore: bump dependencies
2026-05-26 09:58:22 -07:00
Alex Holliday 10d0835eb3 bump dependencies 2026-05-26 09:56:35 -07:00
Br0wnHammer 1702fd1c5a fix(ui): react button dom 2026-05-25 23:41:55 +05:30
Br0wnHammer c98ec7d047 feat(client): split uptime monitor creation into a 3-step wizard 2026-05-25 23:35:51 +05:30
Br0wnHammer 9ffe0caed9 feat(client): add StepProgress segmented progress bar component 2026-05-25 23:31:02 +05:30
Alexander Holliday ef8a8016df Merge pull request #3672 from bluewave-labs/fix/tag-apperance-column
fix: add centering box for Tag labels
2026-05-25 10:42:43 -07:00
Alex Holliday 3a1a9bde4d add centering box 2026-05-25 10:40:22 -07:00
Alexander Holliday 0e24bb7c94 Merge pull request #3671 from bluewave-labs/fix/tests
fix: add tests for mw and monitor services
2026-05-25 09:59:24 -07:00
Alex Holliday a415c75eb4 add tests for mw and monitor services 2026-05-25 09:57:34 -07:00
Alexander Holliday d1f46aba9e Merge pull request #3669 from harsh-aghara/fix/checkbox-indeterminate-size
Add indeterminate icon to Checkbox component for consistency
2026-05-25 09:12:39 -07:00
Alexander Holliday bb60d22dea Merge pull request #3670 from harsh-aghara/fix/bulk-pause-toast-partial-failure
Expose failedCount and surface partial failure warning in UI
2026-05-25 09:11:10 -07:00
harsh-aghara 0ff642cb24 fix(ui): surface partial failure warning toast for bulk actions 2026-05-23 18:47:55 +05:30
harsh-aghara a044d7b2c7 fix(monitors): expose failedCount in bulk pause API response 2026-05-23 17:53:49 +05:30
harsh-aghara 9cee2eebd0 fix(ui): add missing indeterminate icon to Checkbox component
The custom Checkbox used Lucide Square/SquareCheck for unchecked/checked
states but had no indeterminateIcon, so MUI fell back to its default 24px
Material icon. This caused a visible size mismatch and row height jitter
in the bulk-select header of monitor tables.

Add SquareMinus from lucide-react at the same size (16px) and strokeWidth
(1.5) as the existing icons, and extend the checked color rule to also
cover the indeterminate state.
2026-05-22 23:28:42 +05:30
Alexander Holliday bec5ef09cb Merge pull request #3668 from bluewave-labs/fix/update-monitors-on-maintenance-window-change
fix: update monitors on maintenance window change
2026-05-21 11:18:59 -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 4f571a258c update scheduler to use extacted method 2026-05-21 10:02:56 -07:00
Alex Holliday 85196852f4 extract active maintenance window check 2026-05-21 10:02:39 -07:00
Alex Holliday 46c80985ec add findByIds to MW repository 2026-05-21 09:59:42 -07:00
Alex Holliday 8c7b691fda add updatebyids to monitor repository 2026-05-21 09:59:23 -07:00
Alexander Holliday d5dac6b557 Merge pull request #3663 from bluewave-labs/feat/fe-tags
Feat/fe tags
2026-05-20 12:29:02 -07:00
Alexander Holliday f0129f257a Merge pull request #3664 from bluewave-labs/fix/monitor-summary-with-tags
fix: monitor summary with tags
2026-05-20 12:28:46 -07:00
Alex Holliday 4b9f1ba43b add tags to summary query 2026-05-20 12:25:36 -07:00
Alex Holliday 1322033d41 add tags to infra monitors 2026-05-20 12:18:17 -07:00
Alex Holliday 7c201d087c add tag filtering to pagespeed 2026-05-20 12:14:22 -07:00
Alex Holliday 27e34f3b95 make filters optional 2026-05-20 12:14:09 -07:00
Alex Holliday 130d825d66 add active filters list 2026-05-20 12:02:45 -07:00
Alex Holliday c6d82223f9 add tags to filters 2026-05-20 12:02:32 -07:00
Alex Holliday 3bcdd3c445 remove chip referecnes, update strings 2026-05-20 11:39:57 -07:00
Alex Holliday 3f290bc963 add tags to Uptime montitor table 2026-05-20 11:37:03 -07:00
Alex Holliday 7d7926fab9 add tags to validation 2026-05-20 11:36:46 -07:00
Alex Holliday a09a885786 add tags to monitor type 2026-05-20 11:36:40 -07:00
Alex Holliday 76953f9a5c add tags to monitor forms 2026-05-20 11:36:23 -07:00
Alex Holliday 67bba1479c remove chip, add coloredlabel, add render options to autocomplete 2026-05-20 11:36:03 -07:00
Alex Holliday b981427d8d mutate SWR on success 2026-05-20 10:49:16 -07:00
Alex Holliday f37ae8fddb add menu string 2026-05-20 10:45:55 -07:00
Alex Holliday dc80b3cafc add tag to table 2026-05-20 10:45:45 -07:00
Alex Holliday 896d1b784b add a colored label 2026-05-20 10:45:36 -07:00
Alex Holliday 02640c3155 add routes 2026-05-20 10:29:25 -07:00
Alex Holliday 5a187cd1c9 add new chip component 2026-05-20 10:29:13 -07:00
Alex Holliday e6a0f89c68 add strings 2026-05-20 10:29:06 -07:00
Alex Holliday e96de364c0 add form hook for tags 2026-05-20 10:28:55 -07:00
Alex Holliday 8aa55885e5 add tags validaiton 2026-05-20 10:28:39 -07:00
Alex Holliday 1f7344f2e6 add Tags pages 2026-05-20 10:28:26 -07:00
Alex Holliday fe74d4b465 add tag type 2026-05-20 10:28:07 -07:00
Alexander Holliday 9c62dc9c52 Merge pull request #3661 from bluewave-labs/feat/monitor-tags
feat: monitor tags
2026-05-20 09:20:18 -07:00
Alex Holliday 2a2f101d4b add tests and validation 2026-05-19 14:45:42 -07:00
Alex Holliday 76ce362eea add tags to monitor controller 2026-05-19 14:45:29 -07:00
Alex Holliday 029f732a86 add tags to monitor service 2026-05-19 14:44:56 -07:00
Alex Holliday a7abbd60bd add tags to monitors repo 2026-05-19 14:44:18 -07:00
Alex Holliday 9b84b98391 add tests 2026-05-19 11:16:25 -07:00
Alex Holliday 6c2e3b4fe1 init tags 2026-05-19 11:16:16 -07:00
Alex Holliday 57acbd3497 add validations 2026-05-19 11:16:03 -07:00
Alex Holliday 48735c7dc8 add tag service 2026-05-19 11:15:54 -07:00
Alex Holliday 451c752170 add tags controller and routes 2026-05-19 11:15:42 -07:00
Alex Holliday b1871b31a5 create tags repository, update related repositories 2026-05-19 11:15:16 -07:00
Alex Holliday a740a9e005 update DB models, create tag db model 2026-05-19 11:14:55 -07:00
Alex Holliday 43ff7ca4bd create new tag type, update related types 2026-05-19 11:14:31 -07:00
Alexander Holliday 01a53298c2 Merge pull request #3655 from bluewave-labs/fix/chart-size
fix: width for stats size, noWrap for stats
2026-05-15 11:30:08 -07:00
Alex Holliday 3de392c3c9 fix width for stats size, noWrap for stats 2026-05-15 11:27:48 -07:00
Alexander Holliday d1b5830c3d Merge pull request #3654 from bluewave-labs/fix/set-password
add password and newPassword to editUserValidation
2026-05-15 11:16:34 -07:00
Alex Holliday 704f25b987 extract password validation, add regression test 2026-05-15 11:14:39 -07:00
Alex Holliday f46c2edd1b add password and newPassword to editUserValidation 2026-05-15 10:58:38 -07:00
Alexander Holliday 9d7523c406 Merge pull request #3653 from bluewave-labs/fix/locale-gaps
fix(i18n): close translation gaps across 16 locales
2026-05-15 10:46:57 -07:00
gorkem-bwl bc7b3a5ffb fix(i18n): close translation gaps across 16 locales
## Changes
- Add 59 missing keys to every non-en locale (DNS monitor strings,
  status-page themes, monitor status labels, network error messages,
  email sender display name)
- Catalan: add 12 bulk-monitor selection keys that were introduced after
  ca.json was first added
- Fill 188 empty string values across ar, cs, fi, fr, ja, pt-BR, tr,
  uk and vi
- Remove 10 orphan keys from es.json that were not referenced anywhere
  in the client code

## Benefits
- All 16 locales now report 100% structural coverage against en.json
- Status page theme picker, DNS monitor type, and bulk monitor actions
  are fully translated
- No more empty strings rendered as blank labels in production UI
- es.json no longer carries dead keys diverging from the reference

## Notes
- Placeholders ({{count}}, {{value}}, {{name}}) verified intact in
  every locale
- Brand terms (DNS, A, AAAA, CNAME, MX, NS, TXT, 8.8.8.8) intentionally
  kept untranslated
- Build, prettier format-check and JSON validity all pass
2026-05-14 07:36:37 -04:00
Alexander Holliday 72f23ca025 Merge pull request #3547 from ZeinebMegaadi/fix/maintenance-recurring-edit-validation
Fix/maintenance recurring edit validation
2026-05-13 11:41:38 -07:00
Alexander Holliday ae9416641c Merge pull request #3652 from bluewave-labs/fix/findByIdsWithChecks
fix: update query
2026-05-13 11:29:02 -07:00
Alex Holliday b7844f8b10 update query 2026-05-13 11:26:25 -07:00
Alexander Holliday ffb563f36d Merge pull request #3650 from bluewave-labs/feat/fe/maintenance-window-groups
Feat/fe/maintenance window groups
2026-05-12 11:21:05 -07:00
Alexander Holliday ae5115a38f Merge pull request #3649 from bluewave-labs/feat/maintenance-window-groups
feat: maintenance window groups
2026-05-12 11:20:51 -07:00
Alex Holliday b925434078 tighten validation, add tests 2026-05-12 11:18:51 -07:00
Alex Holliday f713698572 update maintenacne window hook and form 2026-05-12 11:06:26 -07:00
Alex Holliday 47d2b62e92 update type 2026-05-12 10:58:03 -07:00
Alex Holliday 780189e4a1 add migrations 2026-05-12 10:53:40 -07:00
Alex Holliday f86ceae0c6 update tests 2026-05-12 10:41:30 -07:00
Alex Holliday e78524d1c9 udpate service to use monitorIds instead of monitorId 2026-05-12 10:39:05 -07:00
Alex Holliday 7a2dab6cc4 update repository toEntity method 2026-05-12 10:38:47 -07:00
Alex Holliday c90442b49f update maintenance window type to match DB model 2026-05-12 10:38:22 -07:00
Alex Holliday bdecc1a5e2 update maintenance window model to use array of IDs instead of ID 2026-05-12 10:37:59 -07:00
Alexander Holliday c1fc537479 Merge pull request #3648 from bluewave-labs/fix/histogram-response-time
fix: histogram-response-times
2026-05-12 09:52:49 -07:00
Alex Holliday 6f0540fb33 properly type payload, avgResponseTime -> originalAvgResponseTime 2026-05-12 09:41:58 -07:00
Alexander Holliday 3876aae484 Merge pull request #3645 from bluewave-labs/fix/husky-merge-guard
fix: husky guard pre-commit against merge/rebase state
2026-05-11 11:39:36 -07:00
AlexandClaude Opus 4.7 2f646ee154 fix(husky): guard pre-commit against merge/rebase state
lint-staged uses git stash internally to isolate staged files for
linting. During a merge/rebase/cherry-pick/revert, that stash machinery
interacts catastrophically with MERGE_HEAD and friends — on any lint
failure it resets, silently wiping MERGE_HEAD and your conflict
resolutions. The user ends up in a loop where every merge attempt
leaves a clean tree with no merge commit.

This adds an early-exit guard for the four mid-operation states, and
also anchors the script to the repo root + scopes each lint-staged run
in a subshell so a subdir commit or per-package failure can't poison
the cwd for the next step.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 11:37:23 -07:00
Alexander Holliday 01da5847f0 Merge pull request #3470 from bluewave-labs/feat/pagespeed-mobile-strat
feat: adding mobile/desktop pagespeed strategy
2026-05-11 11:34:11 -07:00
Alex 4b888c1ed1 bump dependencies 2026-05-11 11:30:58 -07:00
Alex 6b63091d89 tighten validation, add tests 2026-05-11 11:28:39 -07:00
Alex 78fdc548bb Merge remote-tracking branch 'origin/develop' into feat/pagespeed-mobile-strat 2026-05-11 11:11:13 -07:00
Alexander Holliday bbdbe75255 Merge pull request #3584 from Iriome-Santana/fix/non-root-container-support
fix: allow mono and arm containers to run as non-root user (UID 1000)
2026-05-11 10:38:42 -07:00
Alexander Holliday 74bc5accb6 Merge pull request #3644 from bluewave-labs/feat/fe/dns-monitors
feat: fe/dns monitors
2026-05-11 10:32:39 -07:00
Alex 60770a4544 udpate monitor path map 2026-05-11 10:29:59 -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
Alex 272e4b5014 update server services to support DNS type queries 2026-05-11 10:01:42 -07:00
Alex 98d2bbfbb9 add DNS monitor to create monitor form 2026-05-11 10:01:23 -07:00
Alex 427f8c632f update validation to include dnsServer and dnsRecordType 2026-05-11 10:01:04 -07:00
Alex 9a004ab1fb udpate monitor types to include DNS, add dnsRecordType 2026-05-11 09:59:53 -07:00
Alexander Holliday c9b9c4a53f Merge pull request #3643 from adosaiguas/develop
i18n: add Catalan language
2026-05-09 09:41:08 -07:00
Agustí Dosaiguas db746b0ff2 Merge branch 'bluewave-labs:develop' into develop 2026-05-09 18:15:31 +02:00
Agustí Dosaiguas 80fca45ce8 i18n: add Catalan language 2026-05-09 18:13:45 +02:00
Alexander Holliday 182ff390e9 Merge pull request #3642 from bluewave-labs/feat/dns-provider
feat: dns provider
2026-05-08 13:17:52 -07:00
Alex fc711e8e24 per call resolver 2026-05-08 13:15:45 -07:00
Alex 0f662e1a65 update tests 2026-05-08 13:04:18 -07:00
Alex 4b4fae91c2 use enums for validation 2026-05-08 12:56:56 -07:00
Alex 172d36ba1d use injected Resolver 2026-05-08 12:56:47 -07:00
Alex 0c36c8e625 tests 2026-05-08 12:44:58 -07:00
Alex 2a7bde9574 update toEntity methods to extract dnsServer and dnsRecord 2026-05-08 12:44:44 -07:00
Alex cb9cc101c0 add dnsServer and dnsRecordType to monitor model 2026-05-08 12:44:18 -07:00
Alex 06ef850577 update validation to allow for dnsServer and dnsRecord 2026-05-08 12:43:33 -07:00
Alex 0797008ac9 add dns record type 2026-05-08 12:43:02 -07:00
Alex Holliday fda9d9edfe add tests 2026-05-08 08:59:31 -07:00
Alex Holliday c6d86d78b8 Add DNS provider 2026-05-08 08:59:25 -07:00
Alex Holliday 0d72071019 add dns types 2026-05-08 08:59:11 -07:00
Alexander Holliday 84533119c9 Merge pull request #3640 from bluewave-labs/fix/maintenance-window-validation
fix(maintenance): reject past-dated one-time windows at creation
2026-05-07 11:44:13 -07:00
Alex 60cded78a6 validation tests 2026-05-07 11:43:00 -07:00
gorkem-bwl c45bcfaa2f revert(maintenance): keep one-time TTL cleanup, narrow PR to validator-only
Per review feedback: auto-deleting completed one-time maintenance windows is
intentional cleanup, not a bug. The actual bug is past-dated end values being
accepted at creation time, which the validator refines now reject up front.

Reverts:
- Restore expiry field + TTL index on MaintenanceWindow schema
- Restore repository's auto-set of expiry = end for repeat=0
- Drop migration 0007 (no longer needed)
- Restore expiry properties in openapi.json
- Restore expiry in create/edit validators (still optional)

Kept from this PR:
- .strict() on create/edit body schemas
- end > start refine on create/edit
- end > now refine on create when repeat=0 (the real fix)
- DurationUnits const tuple + reuse (rules 5/8/10)
- Client no longer sends redundant expiry (server still derives it)
2026-05-07 13:38:10 -04:00
Alexander Holliday 747f31477d Merge pull request #3638 from bluewave-labs/feat/status-code-down-label
feat(checks): render status code 5000 as "Down" with subtype tooltip
2026-05-07 09:58:26 -07:00
Alex 713c3ea34f add span for ref 2026-05-07 09:56:56 -07:00
Alex 1d90b8d8d9 refactor all call sites 2026-05-07 09:54:58 -07:00
Alex 0827d4f528 add new component to barrel export 2026-05-07 09:54:50 -07:00
Alex 7c14d81a24 refactor utils 2026-05-07 09:54:22 -07:00
Alex 7906f2f615 add stauts code label component 2026-05-07 09:54:03 -07:00
gorkem-bwl b462ba7562 refactor(maintenance): centralize DurationUnit + sync OpenAPI spec
Convention pass per docs/coding-conventions.md (rules 5/8/10/11):
- Promote DurationUnit from a raw union type to a const tuple + derived type.
- Mongoose schema enum imports DurationUnits instead of inlining the values.
- Both validators import DurationUnits instead of inlining z.enum twice.
- Drop stale 'expiry' entries from openapi.json (spec is now strict-mode-correct).
2026-05-07 12:38:54 -04:00
gorkem-bwl bd059da94a refactor(maintenance): tighten validator + migration per /simplify
- Collapse two refines into a single superRefine in createMaintenanceWindowBodyValidation; same on edit.
- Match peer migration convention: use mongoose.connection.db directly, not Model.collection.
- Tighten TTL index detection: require expireAfterSeconds + single-field key.
- Add Starting log at migration top to match peers 0003-0006.
2026-05-07 12:33:03 -04:00
gorkem-bwl 4db95cfa44 fix(maintenance): stop silent deletion of one-time maintenance windows
Maintenance windows could disappear seconds after creation when the API received
a payload with end dates already in the past. The repository auto-set
expiry = end for one-time windows (repeat = 0), and Mongo's TTL index on the
expiry field then deleted the row on its next sweep. This was particularly
visible with automation tools sending payloads in non-UTC timezones.

## Changes

### Validator hardening
- Add .strict() to create + edit body schemas so unknown keys return 400
  instead of being silently dropped.
- Refine end > start on create.
- Refine end > now for one-time create payloads (repeat = 0).
- Refine end > start on edit when both are provided.
- Remove the accepted expiry field from both schemas.

### Stop the auto-delete behaviour
- Repository.create no longer copies end into expiry.
- Schema's expiry field + TTL index removed.
- Migration 0007 drops the live TTL index and unsets stale expiry values on
  existing rows so legacy data is no longer at risk.

### Client
- Form submission no longer includes expiry.
2026-05-07 12:29:26 -04:00
gorkem-bwl 602769b3e7 feat(checks): render status code 5000 as "Down" with subtype tooltip
Status code 5000 is Checkmate's internal sentinel for "no HTTP response
received" (DNS failure, connection refused, timeout, TLS error, etc.).
Showing the raw number to admins is confusing — the value isn't a real
HTTP code and means nothing without context.

This change replaces "5000" with "Down" across all check/incident
surfaces, and adds a hover tooltip that explains the underlying cause
based on the stored error message. Real HTTP codes (2xx/3xx/4xx/5xx)
are unchanged.

## Changes
- Add client/src/Utils/statusCode.ts with formatStatusCode,
  getStatusCodeTooltip, getStatusCodeValueType, extractErrorCode, and a
  message-to-subtype parser (timeout / dns / refused / tls / reset).
- Wire into 6 render sites: Checks table, Uptime details Checks table,
  GeoChecks table + map popup, Incidents table, Incident details dialog.
- Add common.statusCode.* i18n keys in en.json with subtype-specific
  descriptions. Tooltip appends the raw error code (ECONNREFUSED,
  ETIMEDOUT, CERT_HAS_EXPIRED, etc.) when present in the message.

## Tooltip examples
- "queryA ECONNREFUSED www.example.com" →
  "The server refused the connection (port closed or service not listening). (ECONNREFUSED)"
- "connect ETIMEDOUT 1.2.3.4:443" →
  "The server didn't respond in time (request timed out). (ETIMEDOUT)"

## Notes
- No DB or server changes; statusCode field stays 5000 in storage.
- Other locales fall back to English keys until translated.
2026-05-07 01:13:09 -04:00
Gorkem Cetin a69f8a5ab5 Merge pull request #3637 from bluewave-labs/docs/coding-conventions
docs: rename frontend-conventions to coding-conventions, add backend rules
2026-05-06 14:06:53 -04:00
gorkem-bwl 940fc38056 docs: rename frontend-conventions to coding-conventions, add backend rules
The conventions doc grew up as an FE-only thing. After the DNS provider
PR series highlighted real backend patterns that get repeatedly missed
in code review (DI, AppError envelope, schema enum, test setup style,
centralized Zod enums, OpenAPI response schemas), it makes sense to
have a single doc that covers both halves of the codebase.

Changes:

- Rename docs/frontend-conventions.md → docs/coding-conventions.md.
- Add a new top-level rule 0: look at peer implementations and follow
  the established pattern. Applies to both FE and BE. Includes a
  4-step "how to apply" and a self-check for PR authors.
- Keep the 5 frontend rules unchanged (rules 1-5).
- Add 6 backend rules (rules 6-11):
  - Controller → Service → Repository → Mongoose layering.
  - Provider skeleton (DI, SERVICE_NAME / TIMEOUT_MS, timeRequest,
    inline setTimeout race, outer AppError catch).
  - Mongoose enum reusing types/* const tuples.
  - Provider test conventions (file location, @jest/globals, contract
    test, inline setup() per test).
  - Centralize Zod enums in types/* — don't duplicate.
  - New entity fields must land in *ResponseSchema for OpenAPI.
- Pre-PR checklist split into Universal / Frontend / Backend.
- CLAUDE.md updated to reference the new file and summarize all 11
  rules + rule 0.
2026-05-06 13:55:58 -04:00
Alexander Holliday bf369aa546 Merge pull request #3626 from harsh-aghara/feat/bulk-pause-resume
feat/bulk pause resume
2026-05-06 09:15:30 -07:00
harsh-aghara c72287cb21 fix(monitor): Resolve build fail.
Fixes #3602
2026-05-06 00:09:29 +05:30
harsh-aghara ba2d23fd82 refactor(monitors): optimize bulkTogglePause from 3 to 2 DB queries
Use find + updateMany with timestamps:false instead of find IDs +
updateMany + fetch updated. Manually set updatedAt and edit
in-memory documents to avoid a third DB round trip.

Fixes #3602
2026-05-05 23:43:06 +05:30
harsh-aghara e725128b10 feat(monitors): track and report bulk action queue failures
Addresses PR feedback:
- Upgrades bulk pausing from Promise.all to Promise.allSettled
- Logs individual job queue sync failures with monitor ID context
- Surfaces failedCount to the frontend via controller response
- Adds unit tests to verify partial failure handling

Fixes #3602
2026-05-05 17:08:25 +05:30
harsh-aghara baf7344e2d fix(ui): enforce strict type safety in bulk action error handling
Addresses PR feedback:
- Replaces forbidden any type in catch block with unknown
- Adds type discrimination using axios.isAxiosError and instanceof Error
- Narrows error type for logger.error compatibility

Fixes #3602
2026-05-05 17:07:13 +05:30
harsh-aghara 387cb35494 refactor(ui): simplify table selection and clarify mobile label rendering
Addresses PR feedback:
- Removes over-abstracted useTableSelection hook, inlines selection logic
- Replaces triple-condition with explicit hideMobileLabel bool flag
- Removes unsafe Record<string, never> casting

Fixes #3602
2026-05-05 17:06:48 +05:30
Alexander Holliday 6a8f97ae65 Merge pull request #3633 from bluewave-labs/fix/queue-table
fix: queue table
2026-05-04 12:19:39 -07:00
Alex Holliday 3365a8f7da extract colors to theme 2026-05-04 12:11:57 -07:00
Alex Holliday 2e9b87ba32 normalize tabqueue 2026-05-04 11:59:02 -07:00
Alex Holliday 1fd56610ea update tests 2026-05-04 11:55:39 -07:00
Alex Holliday 22230b8a08 UI fixes for job queue table 2026-05-04 11:53:12 -07:00
Alex Holliday f648ab1b24 add geoInterval, monitorActive, and repeat to jobs data 2026-05-04 11:52:45 -07:00
Alexander Holliday 281fc99136 Merge pull request #3632 from bluewave-labs/fix/pause-resume-geo-jobs
fix: pause resume geo jobs
2026-05-04 10:59:48 -07:00
Alex Holliday 6f0cc307dc log error on geo check pause/resume fail, update tests 2026-05-04 10:51:53 -07:00
Alex Holliday cb218a46a9 fix pause/resume logic 2026-05-04 10:21:28 -07:00
Alexander Holliday 39807c2de1 Merge pull request #3629 from bluewave-labs/feat/infrastructure-form-helper-text
feat(infrastructure): clarify capture endpoint and authorization secret on monitor form
2026-05-02 10:48:33 -07:00
Alexander Holliday 59d97f0d25 Merge pull request #3630 from bluewave-labs/fix/status-page-timezone-defaults
fix(status-page): use operator-configured timezone on public pages
2026-05-02 10:47:44 -07:00
harsh-aghara 657a35e948 feat(i18n): implement strict pluralization for bulk action notifications
Removes generic '(s)' syntax from backend responses. Adds proper _one and _other pluralization keys to all 16 locales with native grammar translations, resolving 0-count edge cases.

Fixes #3602
2026-05-02 14:28:15 +05:30
harsh-aghara 1b0b17b589 fix(ui): correct table header alignment glitch caused by checkbox injection
Adds explicit 'align' support to Table headers to override strict index-based alignment. Restores exact center-alignment spacer boxes to Uptime and Infrastructure tables to match develop branch styling.

Fixes #3602
2026-05-02 14:28:13 +05:30
harsh-aghara ff34c872c8 refactor(ui): convert BulkActionsBar to modular bottom pill using children pattern
Resolves maintainer feedback regarding UI/UX layout and prevents code collisions with other PRs by extracting action logic out of the bar component.

Fixes #3602
2026-05-02 14:28:12 +05:30
gorkem-bwl 1458cf4e4a fix(status-page): use operator-configured timezone on public pages
Anonymous visitors to a public status page have no persisted Redux
state, so ThemedHeatmap and ThemedHistogram tooltips always rendered
timestamps in the hardcoded "America/Toronto" default — regardless of
the timezone the operator configured. Even on the same domain,
ThemedHeatmap and ThemedHistogram had no code path to consume the
operator-configured statusPage.timezone returned by the API.

- Add SYSTEM_TIMEZONE module constant and a small resolveTimezone()
  helper to TimeUtils.ts. formatDateWithTz's timezone parameter is now
  optional and defaults to the system tz, so callers don't need to
  rebuild the prop -> browser -> UTC chain inline.
- Add a `timezone` field to StatusPageThemeContextValue so any themed
  component on the public page can read the page-wide tz without prop
  drilling (parallels how `theme` and `mode` are already exposed).
- Wire statusPage.timezone into StatusPageThemeProvider from
  Pages/StatusPage/Status/index.tsx (both the public route and the
  admin preview).
- ThemedHeatmap and ThemedHistogram now read tz from the context
  instead of useSelector(state.ui.timezone) — that selector was
  unreliable for anonymous visitors and removing it cuts a Redux
  subscription on the public page.
- Replace the inline `data?.timezone || Intl.DateTimeFormat()...`
  expression in useStatusPageForm.ts with resolveTimezone().

Closes #3628.
2026-05-01 22:28:12 -04:00
gorkem-bwl cb285bbb66 i18n: machine-translate new captureUrl key and hardware description
Translates captureUrl.label ("Capture endpoint") and the new long
description.hardware copy into all 15 non-English locales (ar, cs, de,
es, fi, fr, ja, pt-BR, ru, th, tr, uk, vi, zh-CN, zh-TW). The literal
URL example and the token name "Bearer" are kept untranslated.
2026-05-01 22:06:03 -04:00
gorkem-bwl 13b13b6818 i18n: stop clobbering translated hardware description
The previous commit overwrote description.hardware with English in 15
non-English locales. Restore each locale's existing translation; only
the en.json copy carries the new path/Bearer guidance. Translators will
pick up the English text on the next PoEditor sync.
2026-05-01 21:51:31 -04:00
gorkem-bwl 63c1a60b06 refactor(infrastructure): move capture-form guidance to ConfigBox subtitle
The previous commit added inline helperText under the URL and Secret
fields, but no other form in the codebase uses helperText for static
guidance — only for validation errors. The project's pattern for setup
guidance is the ConfigBox subtitle text on the left side of the form,
populated from pages.createMonitor.form.general.description.<type>.

Move the guidance there so this form follows the same convention as
every other monitor type.

- Remove urlHelperText / secretHelperText from GeneralSettingsConfig
- Remove the new helperText props on the URL and Secret TextFields
- Drop captureUrl.helperText and secret.helperText keys from all
  16 locales
- Beef up description.hardware to mention the /api/v1/metrics path
  requirement and the no-Bearer-prefix rule

The realistic captureUrl placeholder (added in the previous commit)
stays — it does most of the URL-disambiguation work on its own.
2026-05-01 18:01:44 -04:00
Iriome 53c58eb945 fix: make non-root support opt-in, keep root as default
Remove USER node directive so existing deployments are unaffected.
The chown ensures --user 1000 works without changing the default behaviour.
2026-05-01 21:56:40 +01:00
gorkem-bwl d5cd957bbd feat(infrastructure): add helper text to capture endpoint and secret fields
Two real users hit the same confusion: the Capture endpoint URL needs
the full path /api/v1/metrics, and the authorization secret should not
include a "Bearer" prefix. The form previously gave no guidance on
either — same generic placeholder as HTTP monitors and no helper text.

- Replace the URL field's generic label/placeholder with hardware-
  specific copy ("Capture endpoint", realistic 192.168.1.10:5001/...
  example) and add helper text under the field.
- Add helper text under the authorization secret field clarifying that
  only the raw token belongs there — Bearer is added automatically.
- Wire optional urlHelperText / secretHelperText through
  GeneralSettingsConfig so other monitor types are unaffected.
- Add three new i18n keys (captureUrl.label/placeholder/helperText)
  and one (secret.helperText) to all 16 locales. Non-English locales
  carry the English copy as a placeholder until translators pick the
  keys up via the existing PoEditor pipeline.
2026-05-01 16:46:46 -04:00
Alexander Holliday 5b25666054 Merge pull request #3627 from bluewave-labs/feat/generate-api-docs-from-schema
feat: Generate API docs from zod schema
2026-05-01 12:20:25 -07:00
Alex Holliday 34feb6d3fa replace inline objects with defined constants 2026-05-01 11:31:52 -07:00
Alex Holliday a57da284d7 remove unused import 2026-05-01 11:31:52 -07:00
Alex Hollidayandgorkem-bwl 3f9019f34c move openapi out of src dir
Adapted from #3579 by @gorkem-bwl. The openapi/registry, helpers, and
per-resource routes/* files are largely their work; this commit relocates
the directory out of src/ so the build-time generator code is not emitted
into dist/, and shifts spec generation from runtime to a build step.

Co-authored-by: gorkem-bwl <gorkem.cetin@bluewavelabs.ca>
2026-05-01 11:31:48 -07:00
Retr01-sudo 4e284c1468 feat(monitors): integrate bulk actions into uptime and infrastructure tables
- Mounts selection checkboxes in UptimeMonitorsTable and MonitorsTable
- Enhances global Table.tsx to cleanly render checkboxes on mobile cards via mobileLabel
- Injects BulkActionsBar into main list views

Fixes #3602
2026-05-01 19:44:07 +05:30
Retr01-sudo 6b9759e455 feat(monitors): create bulk actions ui components and selection hooks
- Extracts generic table selection logic into useTableSelection hook
- Creates BulkActionsBar component with Collapse animations
- Implements useBulkMonitorActions to handle API logic and toasts
- Adds i18n translation strings across all 16 locales

Fixes #3602
2026-05-01 19:43:27 +05:30
Retr01-sudo 094def117a feat(monitors): add bulk pause/resume api endpoints and service logic
- Validates bulk monitor IDs using zod
- Implements optimized Mongo $in/$ne queries for performance
- Orchestrates background job pausing/resuming via BullMQ
- Added comprehensive unit tests for monitor service logic

Fixes #3602
2026-05-01 19:42:51 +05:30
Gorkem Cetin 28baeaf218 Remove OpenSSF Best Practices badge
Removed OpenSSF Best Practices badge from README.
2026-04-30 20:14:25 -04:00
Alexander Holliday c535ba8c1a Merge pull request #3625 from bluewave-labs/fix/status-page-theme-refactor
fix: extract duplicate code, add slot components
2026-04-30 14:47:40 -07:00
Alex 4c04294f71 extract duplicate code, add slot components 2026-04-30 14:42:19 -07:00
Alexander Holliday 212c1fec52 Merge pull request #3623 from bluewave-labs/feat/raise-max-recent-checks
feat: raise max recent checks
2026-04-30 14:12:44 -07:00
Alex Holliday 05798914a8 Merge branch 'develop' into feat/raise-max-recent-checks 2026-04-30 11:01:27 -07:00
Alexander Holliday 6a4d8a3f6b Merge pull request #3624 from bluewave-labs/fix/status-page-mutate-on-save
fix: mutate status page on save
2026-04-30 11:01:01 -07:00
Alex Holliday e906b237a0 mutate status page on save 2026-04-30 10:57:01 -07:00
Alex Holliday bacbf8404e refactor tests 2026-04-30 10:36:46 -07:00
Alex Holliday d47cc65fed Increase max recent checks limit from 25 -> 50, extract constants 2026-04-30 10:30:54 -07:00
Alexander Holliday e077fe52e7 Merge commit from fork
Remove Docker-Compose Port mapping on dist-arm
2026-04-30 09:59:12 -07:00
Alexander Holliday f39029a37f Merge pull request #3622 from bluewave-labs/chore/bump-fast-xml-parser
chore(deps): bump fast-xml-parser (transitive)
2026-04-30 09:42:01 -07:00
Alexander Holliday c8c54ce49e Merge pull request #3621 from bluewave-labs/chore/bump-protocol-buffers-schema
chore(deps): bump protocol-buffers-schema (transitive)
2026-04-30 09:41:42 -07:00
Alexander Holliday 021eda098d Merge pull request #3620 from bluewave-labs/chore/bump-yaml
chore(deps): bump yaml (transitive)
2026-04-30 09:41:27 -07:00
Alexander Holliday 8993ecadce Merge pull request #3619 from bluewave-labs/chore/bump-postcss-server
chore(deps): bump postcss (transitive)
2026-04-30 09:41:13 -07:00
Alexander Holliday f92e0fae3a Merge pull request #3618 from bluewave-labs/chore/bump-postcss-client
chore(deps): bump postcss (transitive)
2026-04-30 09:40:55 -07:00
Alexander Holliday a4b73bc4ed Merge pull request #3617 from bluewave-labs/chore/bump-follow-redirects
chore(deps): bump follow-redirects (transitive)
2026-04-30 09:40:38 -07:00
Alexander Holliday 87b7ff7452 Merge pull request #3616 from bluewave-labs/chore/bump-vite
chore(deps): bump vite to ^6.4.2
2026-04-30 09:40:22 -07:00
Alexander Holliday 61de273a73 Merge pull request #3615 from bluewave-labs/chore/bump-flatted
chore(deps): bump flatted (transitive)
2026-04-30 09:40:00 -07:00
Alexander Holliday 04332c47d5 Merge pull request #3614 from bluewave-labs/chore/bump-picomatch
chore(deps): bump picomatch (transitive)
2026-04-30 09:39:45 -07:00
Alexander Holliday f263c78a4d Merge pull request #3613 from bluewave-labs/chore/bump-lodash
chore(deps): bump lodash to 4.18.1 (transitive)
2026-04-30 09:39:24 -07:00
Alexander Holliday de67ea9ee6 Merge pull request #3612 from bluewave-labs/chore/bump-multer-lts
chore(deps): bump multer to 1.4.5-lts.2
2026-04-30 09:39:04 -07:00
Alexander Holliday c9c6c42116 Merge pull request #3611 from bluewave-labs/chore/bump-axios
chore(deps): bump axios to 1.15.2
2026-04-30 09:38:41 -07:00
gorkem-bwl 79d2eb68fa chore(deps): bump vite to ^6.4.2
Patches CVE-2026-39365 (medium — path traversal in optimized deps .map handling).
Relaxes pinned version 6.4.1 to ^6.4.2 patch range; semver-compatible.
2026-04-30 01:48:16 -04:00
gorkem-bwl bc9441bcd0 chore(deps): bump fast-xml-parser (transitive)
Patches CVE-2026-41650 (medium — XML comment and CDATA injection via unescaped delimiters in XMLBuilder).

Transitive bump within existing semver range; no package.json change.
2026-04-30 01:47:42 -04:00
gorkem-bwl d868f6931d chore(deps): bump protocol-buffers-schema (transitive)
Patches CVE-2026-5758 (medium — prototype pollution in protocol-buffers-schema).

Transitive bump within existing semver range; no package.json change.
2026-04-30 01:47:34 -04:00
gorkem-bwl 29dbebd228 chore(deps): bump yaml (transitive)
Patches CVE-2026-33532 (medium — stack overflow via deeply nested YAML collections).

Transitive bump within existing semver range; no package.json change.
2026-04-30 01:47:08 -04:00
gorkem-bwl 906d306827 chore(deps): bump postcss (transitive)
Patches CVE-2026-41305 (medium — XSS via unescaped </style> in CSS stringify output).

Transitive bump within existing semver range; no package.json change.
2026-04-30 01:46:46 -04:00
gorkem-bwl aaf7d7e47d chore(deps): bump postcss (transitive)
Patches CVE-2026-41305 (medium — XSS via unescaped </style> in CSS stringify output).

Transitive bump within existing semver range; no package.json change.
2026-04-30 01:46:28 -04:00
gorkem-bwl c40f4e9f1c chore(deps): bump follow-redirects (transitive)
Patches GHSA-r4q5-vmmm-2653 (medium — leaks Custom-Authorization headers to cross-domain redirect targets).

Transitive bump within existing semver range; no package.json change.
2026-04-30 01:46:07 -04:00
gorkem-bwl 35daed605f chore(deps): bump flatted (transitive)
Patches CVE-2026-33228 (high — prototype pollution via parse() in flatted).

Transitive bump within existing semver range; no package.json change.
2026-04-30 01:45:33 -04:00
gorkem-bwl 6434afe2c9 chore(deps): bump picomatch (transitive)
Patches CVE-2026-33671 (high — ReDoS via extglob quantifiers) and CVE-2026-33672 (medium — method injection via POSIX character classes).

Transitive bump within existing semver range; no package.json change.
2026-04-30 01:44:39 -04:00
gorkem-bwl 788ca78234 chore(deps): bump lodash to 4.18.1 (transitive)
Patches CVE-2026-4800 (high — code injection via _.template) and
CVE-2026-2950 (medium — prototype pollution via array path bypass).

Transitive bump within existing semver range; no package.json change.
2026-04-30 01:44:00 -04:00
gorkem-bwl 3adadf0d07 chore(deps): bump multer to 1.4.5-lts.2 in server
## Changes
- Pin multer from ^1.4.5-lts.1 to ^1.4.5-lts.2

## Benefits
- Picks up the latest 1.x LTS patch (released 2025-03-20)
- Patch-level bump within existing semver range; no API changes
- Two routes use multer (authRoute, statusPageRoute) and both rely only on the stable basic API
2026-04-30 01:27:14 -04:00
gorkem-bwl 55b9702fc3 chore(deps): bump axios to 1.15.2 in client and server
## Changes
- Bump axios from ^1.7.x to ^1.15.2 in both client/ and server/

## Benefits
- Patches CVE-2025-62718 (NO_PROXY hostname normalization SSRF)
- Patches CVE-2026-40175 (cloud metadata exfiltration via header injection)
- Minor bump within existing ^1.x semver range; no API changes
2026-04-30 01:26:14 -04:00
Gorkem Cetin 7f4282ab1f Update README.md 2026-04-29 17:46:22 -04:00
Gorkem Cetin fcf2557a2f Update README to remove sponsorship and refine features
Removed sponsorship links and consolidated monitoring options.
2026-04-29 17:04:01 -04:00
Alexander Holliday bdf1e13ce8 Merge pull request #3607 from bluewave-labs/feat/smtp-from-name
feat(smtp): add optional sender display name to SMTP configuration
2026-04-29 13:01:08 -07:00
Alex Holliday 4de2ba4b25 add missing tests 2026-04-29 12:59:48 -07:00
Alex Holliday d5bf45e2a9 allow from 2026-04-29 12:57:37 -07:00
gorkem-bwl 6f988cc688 fix(settings): drop from field from transport JSON preview
The transport JSON preview is strictly for verifying what is handed to
nodemailer.createTransport. The From header is built per-message in
sendMail, so showing it inside the transport JSON was misleading. The
separate From: ... pre block below the JSON is the right place for
that preview.
2026-04-29 15:48:12 -04:00
gorkem-bwl 8fbbb1dd4b Revert "refactor(email): set From at transport level instead of per-message"
This reverts commit baa4d693ae.
2026-04-29 15:42:02 -04:00
gorkem-bwl baa4d693ae refactor(email): set From at transport level instead of per-message
The /settings transport preview shows `from` inside the createTransport
JSON, but the implementation was passing it per-message via sendMail.
Switch to passing it as part of the transport config so what the
preview shows matches what is actually built — no behavioural change
for outgoing emails since nodemailer treats transport-level `from` as
the default for every sendMail call.
2026-04-29 15:38:22 -04:00
gorkem-bwl e11553c218 feat(settings): restore From-header preview block under SMTP transport JSON
Brings back the second pre-block I dropped when consolidating the
preview. The transport JSON shows what's handed to nodemailer
createTransport; the From-header block shows the rendered envelope
recipients will see — they answer different questions and both belong.

Conditioned on systemEmailAddress so empty configs don't render an
empty pre.
2026-04-29 15:33:15 -04:00
gorkem-bwl e71892d0bc feat(smtp): add optional sender display name to SMTP configuration
Closes #3600. Previously the From header on test emails and notifications
showed only the raw email address. Adds an optional "Sender name" field
so emails appear from a friendly name like "Checkmate notifications"
<user@example.org>.

## Behaviour
- Field is optional. When empty/null/whitespace, the From header falls
  back to the raw email address — identical to current behaviour, no
  regression for existing installs.
- When set, the email service hands nodemailer { name, address } as the
  message from field. Nodemailer handles RFC-5322 encoding (quotes,
  commas, non-ASCII) so the display name is safe for any input.
- Unsetting works: clearing the input transforms the value to null in
  the Zod parse step, and the settings repository already turns null
  values into a $unset operation.
- Both client and server Zod schemas trim and empty-string-to-null,
  preventing whitespace-only display names from being stored.

## Surfaces
- AppSettings schema, Settings type, EmailTransportConfig pick, server
  Zod validation, client Zod validation, client form defaults, and the
  Settings page form all carry the new systemEmailDisplayName field.
- The transport preview pre-block on /settings now includes a `from`
  key showing exactly what the email service hands nodemailer — the
  string when no display name is set, or { name, address } when it is.
- en.json carries the new label and placeholder. Other locales fall
  back until translated (16 locales pending — separate follow-up).

## Conventions conformance (per docs/frontend-conventions.md)
- The pre-block I touched had three rule #1 violations (sx p,
  borderRadius, backgroundColor); hoisted those to native props using
  theme.shape.borderRadius. Other rule #1 violations elsewhere on this
  page are pre-existing and intentionally left alone.
- No new sx-with-native-equivalents introduced.
- No color="text.X" shorthand introduced.
- No theme module import introduced.
2026-04-29 15:30:16 -04:00
Alexander Holliday 100e569aa8 Merge pull request #3583 from ayshaL/fix/blank-screen-on-timezone
Fix: prevent blank screen crash when clearing timezone search field
2026-04-29 12:13:40 -07:00
Alexander Holliday 343167012e Merge pull request #3605 from bluewave-labs/fix/reveresed-status-page-checks
Fix/reveresed status page checks
2026-04-29 12:06:45 -07:00
Alex Holliday 5330fc3183 bump version 2026-04-29 12:04:44 -07:00
Alex Holliday df7e348366 Merge branch 'develop' into fix/reveresed-status-page-checks 2026-04-29 12:04:22 -07:00
Alex Holliday b2c3e08db3 fix reveresed checks 2026-04-29 12:03:23 -07:00
Alexander Holliday 8ca62db317 Merge pull request #3603 from bluewave-labs/chore/bump-version
bump version
2026-04-29 11:51:00 -07:00
Alex Holliday 3bb767b780 bump version 2026-04-29 11:50:28 -07:00
Alexander Holliday 20d27cb984 Merge pull request #3568 from bluewave-labs/feat/status-page-themes-backend
feat(status-page): add theme and themeMode fields (backend)
2026-04-29 11:45:50 -07:00
Alex Holliday 0322a96090 update settings service tests 2026-04-29 11:41:22 -07:00
Alex Holliday 3dbad1743a resolve conflicts 2026-04-29 11:39:08 -07:00
Alex Holliday f4c3ee16db Merge branch 'develop' into feat/status-page-themes-backend 2026-04-29 11:35:55 -07:00
Alexander Holliday a7d5a84206 Merge pull request #3569 from bluewave-labs/feat/status-page-themes-frontend
feat(status-page): four selectable themes for the public status page
2026-04-29 11:35:23 -07:00
Alex Holliday e86734cee9 resolve conflcits 2026-04-29 11:28:57 -07:00
Alex Holliday cc84c37a2d remove planning docs 2026-04-29 11:22:20 -07:00
Alex Holliday e85e9dc2d4 remove duplicated time util 2026-04-29 11:15:33 -07:00
Alex Holliday 1398ab6721 remove dead code 2026-04-29 11:12:35 -07:00
Alex Holliday d32ea7f8c3 remove dead code 2026-04-29 11:07:34 -07:00
Alex Holliday edeed00be6 fix unnecessary cast, remove dead keys 2026-04-29 10:56:57 -07:00
Gorkem Cetin 4c7e96122f Merge pull request #3599 from bluewave-labs/feat/frontend-conventions-eslint
docs(client): document frontend conventions and enforce via ESLint
2026-04-29 13:56:23 -04:00
Alex Holliday 45c02e0f7f unsafe lookup fix 2026-04-29 10:51:40 -07:00
gorkem-bwl aa7051095a docs(client): document frontend conventions and enforce via ESLint
Capture the five recurring code-review patterns from the recent PR series
(#3591–#3596) as enforceable rules so they don't have to be raised again
in review.

## Conventions
- Prefer MUI native props over `sx` (e.g. color={...}, mt={...}, width={...}).
- Use the full theme path for colors: theme.palette.text.secondary, never
  the "text.secondary" shorthand string. The shorthand is invisible to
  grep, which makes future audits and refactors miss callsites.
- No hardcoded numeric or string literals — use LAYOUT, typographyLevels,
  theme.shape.borderRadius, theme.palette tokens.
- Use useTheme() inside components; don't import { theme } from
  @/Utils/Theme/Theme (factory output, not a live mode-aware instance).
- Pair runtime tuples with derived types so they can't drift.

## Files
- docs/frontend-conventions.md — long-form doc with before/after examples
  drawn from the actual review fixes, plus a pre-PR checklist.
- CLAUDE.md — short summary in the Code Conventions section pointing to
  the doc, so it's loaded into agent context at session start.

## ESLint enforcement
- client/.eslintrc.cjs — four no-restricted-syntax selectors for each rule:
  - color="…" / bgcolor="…" / borderColor="…" with a dotted shorthand value
  - sx={{ key: ... }} where key has a native equivalent, only on hoistable
    components (Box, Stack, Typography, Grid, Container, Paper, Card*,
    Divider, Link, Chip) — Dialog/Drawer/Menu etc. only accept sx.
  - import { theme } from "@/Utils/Theme/Theme"
  - Typography fontSize={13} (the body default — drop the prop).
- TypeScript files are now actually parsed: added @typescript-eslint/parser
  and @typescript-eslint/eslint-plugin and a TS override that extends the
  React plugin configs. Several @typescript-eslint/recommended rules
  disabled to avoid noise on the existing codebase.
- client/package.json — lint script now covers .ts/.tsx; new lint-strict
  script for CI use once the codebase is conformant; --max-warnings 0
  removed from `lint` so existing-code warnings don't block the workflow.

## Surface
Running `npm run lint` after this change reports ~280 warnings against
the existing codebase, almost all from rule #1 (sx-vs-native). These are
intentionally warnings, not errors — they surface the work without
blocking. Each warning links to the rule number in the conventions doc
so the reasoning is one click away.
2026-04-29 13:49:58 -04:00
Alex Holliday fcb4fbf277 fix optional types 2026-04-29 10:35:35 -07:00
Alex Holliday 74a12754b6 fix controller architecture 2026-04-29 10:33:46 -07:00
Alexander Holliday fe8213f8bb Merge pull request #3596 from bluewave-labs/feat/settings-remove-monitors-modal
feat(settings): explanatory body in Remove monitors confirmation modal
2026-04-29 10:03:15 -07:00
Alex Holliday cf5691e250 fix build error 2026-04-29 10:01:43 -07:00
Alex Holliday f3b4b908fd Merge branch 'develop' into feat/settings-remove-monitors-modal 2026-04-29 10:00:01 -07:00
Alexander Holliday f58456961b Merge pull request #3595 from bluewave-labs/feat/infrastructure-network-empty-state
feat(infrastructure): show notice when network charts have zero traffic
2026-04-29 09:57:49 -07:00
Alex Holliday 91bdc662ca Merge branch 'develop' into feat/infrastructure-network-empty-state 2026-04-29 09:56:55 -07:00
Alexander Holliday 53e04e6af2 Merge pull request #3594 from bluewave-labs/feat/incidents-page-polish
feat(incidents): consistent typography, icons, and layout across the page
2026-04-29 09:56:27 -07:00
Alex Holliday 301942d0eb normalize 2026-04-29 09:56:01 -07:00
Alex Holliday 29bb1615f5 Merge branch 'develop' into feat/incidents-page-polish 2026-04-29 09:51:06 -07:00
Alexander Holliday afc3ad237f Merge pull request #3593 from bluewave-labs/feat/account-team-modals
feat(account): side-by-side name and password fields in Add Member modal
2026-04-29 09:50:34 -07:00
Alex Holliday e0ac040063 Merge branch 'develop' into feat/account-team-modals 2026-04-29 09:49:23 -07:00
Alexander Holliday f895125145 Merge pull request #3592 from bluewave-labs/refactor/button-input-styling
refactor(inputs): softer button hover, sx-forwarding TextInput, themed FieldLabel
2026-04-29 09:47:31 -07:00
Alex Holliday 63031e938e normalize 2026-04-29 09:47:11 -07:00
Alex Holliday 4b82129199 Merge branch 'develop' into refactor/button-input-styling 2026-04-29 09:46:54 -07:00
Alexander Holliday ccd176ba0b Merge pull request #3591 from bluewave-labs/refactor/dialog-component
refactor(dialog): standard modal layout, NoticeBanner design-element, softer Cancel
2026-04-29 09:43:12 -07:00
Alex Holliday 2dd9218910 normailze dialog and basepage 2026-04-29 09:42:49 -07:00
Alex Holliday 5792ca624e normalize NoticeBanner 2026-04-29 09:37:37 -07:00
gorkem-bwl 5716b5eea4 feat(settings): explanatory body in Remove monitors confirmation modal
The remove-all-monitors confirmation dialog only had a one-line title
and an empty body, which looked awkward and didn't communicate what was
actually about to be deleted alongside the monitors themselves.

- Adds a paragraph explaining that check history, incidents, scheduled
  maintenance windows, and dependent status pages will also be removed,
  with an inline tip to export monitors first to keep a backup.
- The Confirm button now uses confirmColor='error' to make the
  destructive action visually distinct, with a localized
  'Remove monitors' label.
- Translated to all 16 locales, with terminology aligned to each
  locale's existing usage (e.g. zh-CN/zh-TW use 监控/監控 to match the
  existing button label, vi uses 'trình giám sát', etc.).
2026-04-28 23:58:13 -04:00
gorkem-bwl c89dbebe98 feat(infrastructure): show notice when network charts have zero traffic
When Capture runs inside a container (typical for Docker Desktop), the
only visible interfaces are loopback, so every bytes_sent/bytes_recv
counter is zero and the charts render as flat lines without any
explanation. Users couldn't tell whether Capture was unreachable, the
monitor was broken, or there was just genuinely no traffic.

Detect the case where checks exist (chart configs were built) but every
interface across every check reports zero bytesSentPerSecond and
deltaBytesRecv, and render a NoticeBanner above the chart grid
explaining it and suggesting Capture be run on the host.

Adds pages.infrastructure.charts.labels.netNoTraffic to all 16 locales.
2026-04-28 23:57:14 -04:00
gorkem-bwl 5d5d1dbb23 feat(incidents): consistent typography, icons, and layout across the page
- All uppercase headers (Active Incidents, Latest Incidents, Incident
  Statistics, Resolved Incidents, summary card titles, details card
  sections) now use the existing 'eyebrow' typography variant. That's
  the same style used on the Logs page and lives in Theme.ts so future
  tweaks land in one place.
- Latest Incidents and Incident Statistics rows now share a minHeight
  so both cards line up vertically; Latest Incidents items dropped
  their extra dividers and Box wrappers.
- Body text in the summary cards (and the details dialog) uses
  variant=body1 (13px) consistently — previously a mix of body1/body2
  and unspecified Typography.
- All lucide icons in CardSummary go through the design-system <Icon>
  wrapper so they share the project's strokeWidth=1.5 default rather
  than lucide's default 2.
- ControlsIncidentFilter: replaced the missing
  pages.incidents.filters.clearFilters key (which was rendering as
  raw text) with the existing common.buttons.clearFilters.
- CardDetails: extracted local SectionHeading and Cell helpers; switched
  the cards' bare <Typography> cells to variant=body1 + variant=eyebrow
  for headings; dropped redundant title-dividers (eyebrow style already
  separates visually).
2026-04-28 23:56:10 -04:00
gorkem-bwl 93505f006c feat(account): side-by-side name and password fields in Add Member modal
- AddTeamMemberDialog: First name / Last name now share a row, and
  Password / Confirm password share a row. Each field uses sx={flex:1}
  so the row totals match the width of the email/role rows below.
- InviteTeamMemberDialog: drop the redundant mt={theme.spacing(...)}
  workaround on the form Stack (the new Dialog component provides this
  spacing).
- Constants conformance: spacing literals replaced with LAYOUT.XS.
2026-04-28 23:55:27 -04:00
gorkem-bwl a6204b7bf5 Merge branch 'refactor/button-input-styling' into feat/account-team-modals 2026-04-28 23:54:48 -04:00
gorkem-bwl 9c21d71c44 refactor(inputs): softer button hover, sx-forwarding TextInput, themed FieldLabel
- Button.tsx: contained variant's hover now uses HOVER.DARKEN=0.06
  instead of MUI's default 16%, which was visibly heavy on the green
  primary buttons across the app. Also fixes a subtle bug where the
  earlier hover sx merge order silently dropped the boxShadow:'none'
  reset. Added a HOVER token group to constants.ts so the darken value
  has a single source of truth.
- TextInput.tsx: forward the caller's sx to the wrapper Stack when a
  fieldLabel is present (previously it was applied to the inner
  TextField, so flex:1 etc. didn't propagate to the visible width).
  Inner sx now also explicitly width:100% so wrapped inputs don't
  collapse to content width when their parent is a flex row.
- FieldLabel.tsx: drop the hardcoded fontSize:'14px' and use
  variant=body1 (=13px from theme) to match the rest of the app's
  body typography.
2026-04-28 23:54:39 -04:00
gorkem-bwl fef3f2c294 refactor(dialog): standard modal layout, NoticeBanner design-element, softer Cancel
Dialog component:
- Title bar gets a subtle background tint + bottom border. Title is
  variant=h2 weight=600. Description tucks under the title with
  variant=body1 secondary color (replaces MUI's DialogContentText).
- Action bar gets a matching subtle tint + top border. Cancel is now
  outlined (was contained-error, which made every modal's Cancel button
  look destructive). Confirm keeps its color (primary by default,
  caller can pass error for destructive flows).
- Content area sits between with its own breathing room baked in, so
  callers no longer need mt={theme.spacing(...)} workarounds.
- The cancelColor prop is removed; sites that genuinely need a
  destructive Cancel can use confirmColor='error' on the Confirm button
  instead.

NoticeBanner design-element:
- Extracted from the inline alert pattern in PageSpeedKeyPriorityFallback
  into a reusable component with severity=info|warning|error.
- Refactored PageSpeedKeyPriorityFallback to use it.

DialogResolution.tsx: drop the now-removed cancelColor prop and the
mt-Box wrapper that's no longer needed (Dialog provides the spacing).
2026-04-28 23:53:59 -04:00
Gorkem Cetin a617bd340a Merge pull request #3590 from bluewave-labs/feat/game-monitor-helper-link
feat(create-monitor): explain server-side query setup for game monitors
2026-04-28 18:05:41 -04:00
gorkem-bwl 23061e31d1 i18n(create-monitor): translate game description for the remaining 9 locales
Fills in machine translations for ar, cs, fi, fr, ja, pt-BR, tr, uk, vi
so every locale now ships a native translation of the game-monitor
description (including the new server-query setup sentence and the
<gamedigLink> placeholder).
2026-04-28 18:02:57 -04:00
gorkem-bwl 34b1a9cdc2 feat(create-monitor): explain server-side query setup for game monitors
The game monitor type relies on each game's native query protocol — many
require a config file change on the game server (e.g. Minecraft Java
needs `enable-query=true` in `server.properties`). Without that, the
monitor silently fails to reach the server.

Append a sentence to the game-type general settings description that:

- tells the user some games need server-side queries enabled
- points them to the GameDig supported-games list for protocol details

Implementation:

- Use <Trans> with a `gamedigLink` slot so the link renders inline
- Loosen ConfigBox `subtitle` from `string` to `React.ReactNode` so the
  subtitle can host the <Trans> output
- Update all 16 locale files. Six (de, es, ru, th, zh-CN, zh-TW) get a
  full translation of the new sentence; nine empty ones (ar, cs, fi, fr,
  ja, pt-BR, tr, uk, vi) fall back to the English string per the locale
  gap policy
2026-04-28 17:55:24 -04:00
gorkem-bwl bab65770ce refactor(status-page): simplify renderer lookup, extract route prefix, memoize wrapper style
Four small follow-ups from a code review pass:

1. Drop the redundant `?? THEMED_RENDERERS[DEFAULT_STATUS_PAGE_THEME]`
   fallback in Status/index.tsx — the map is now a total Record, so the
   first lookup cannot return undefined.
2. Extract the literal "/status/public" into PUBLIC_STATUS_PAGE_PREFIX in
   Types/StatusPage.ts and reuse from the three runtime call sites
   (Status/index.tsx, HeaderStatusPageControls.tsx, StatusPagesTable.tsx).
   The Routes/index.tsx route definition keeps its string literal — the
   route table is otherwise all literals and the prefix only matters when
   it's interpolated.
3. Delete two narrating comments above the public/admin branches in
   Status/index.tsx — the JSX is self-describing.
4. Move the inline `style` object construction in StatusPageThemeProvider
   into the existing useMemo so the wrapper div receives a stable style
   reference. The previous spread defeated the surrounding memoization on
   every render.
2026-04-28 16:52:16 -04:00
gorkem-bwl ed3645c3d0 refactor(status-page): drop legacy single-design renderer and CSS overrides
The 4 themed renderers (refined, modern, bold, editorial) cover every
StatusPageTheme value and the model defaults to "refined", so the legacy
fallback path in Status/index.tsx was unreachable in practice.

Removing it lets us delete:

- theme-overrides.css (the only remaining CSS file in StatusPage)
- StatusBar / MonitorsList / InfrastructureMetrics (only the legacy
  fallback consumed them)
- The .sp-* className hooks that wired CSS rules into the components

Pure sx via the per-theme styles.ts recipes is now the single source of
truth for every status page surface. Net diff is -801 / +42.

Status/index.tsx now resolves a renderer from the theme map (falling back
to the default theme) and keeps the public-route and admin-preview
branches it already had.
2026-04-28 16:38:35 -04:00
Alexander Holliday 0654e4adfa Merge pull request #3589 from bluewave-labs/feat/alert-on-initial-down
feat: incident on initializing && down
2026-04-28 10:14:54 -07:00
Alex Holliday 54c0e089a8 incident on initializing && down 2026-04-28 10:09:42 -07:00
Gorkem Cetin aee81a03fa Merge pull request #3588 from bluewave-labs/docs/contributing-redis-formatcheck
docs: align CONTRIBUTING.md and CLAUDE.md with current toolchain
2026-04-28 00:00:25 -04:00
gorkem-bwl 40bcf7f6ac docs: align CONTRIBUTING.md and CLAUDE.md with current toolchain
CONTRIBUTING.md: surface format-check + build in code guidelines
and the PR checklist so contributors run the same verifications
the project enforces locally.

CLAUDE.md: correct stale test framework reference (Mocha+Chai+Sinon
-> Jest) and update the test file glob to server/test/**/*.test.ts.
2026-04-27 23:50:01 -04:00
Gorkem Cetin e908d34b3a Remove sponsors section from README
Removed sponsorship section from README.
2026-04-27 23:39:22 -04:00
Gorkem Cetin a706e68c6a Remove documentation and translation improvement sections
Removed sections about improving documentation and translations from the contributing guidelines.
2026-04-27 23:38:37 -04:00
gorkem-bwl a2786a77ec refactor(status-page): tighten the theme-fields backend after second review
Apply review feedback:
- Extract makeStatusPage from the two test files that duplicated it (test/unit/services/statusPageService.test.ts and test/unit/controllers/statusPageThemeFlag.test.ts) into test/helpers/makeStatusPage.ts. Both files now import the shared helper, matching the existing test/helpers/ convention used for repository fakes and provider contracts
- Add a blank line in statusPageController.getStatusPageByUrl between the normalizedMonitors map and the themesEnabled lookup so the response-shaping section breathes a bit
- Drop the obsolete localStorage references from the plan doc that survived from an earlier draft of the design — the public page never persisted a per-visitor mode choice in localStorage, so the test bullet under 2.11 and the risk row both pointed at functionality that does not exist
2026-04-27 19:33:03 -04:00
gorkem-bwl a5af4e48df Merge remote-tracking branch 'origin/develop' into feat/status-page-themes-backend 2026-04-27 19:29:44 -04:00
gorkem-bwl d80d939bd8 test(status-page): cover theme-flag helpers and document remaining caveats
Address review follow-ups on PR #3568:

- Extract the controller's withoutThemeFields and applyDefaultTheme helpers from a private class field into a standalone module (controllers/statusPageThemeFlag.ts) so they can be tested without a controller harness; the controller is now a one-line consumer
- Add 9 unit tests covering both helpers (test/unit/controllers/statusPageThemeFlag.test.ts): no-mutation guarantees, partial inputs, all-fields-preserved verbatim, override-with-defaults semantics, and "page has no theme set yet" — the flag-off path is now exercised in both directions
- Expand the comment over withoutThemeFields to spell out why the strip is silent rather than a 400: this is an ops kill switch, not API semantics; clients shouldn't need to know whether themes are disabled today

Two caveats called out in review that this commit does NOT change:
- Mongoose `default:` directives only inject during hydration, not on partial updates. Legacy documents updated with `findOneAndUpdate` still won't have `theme` / `themeMode` written to Mongo. They render as defaults on read because the schema injects them — functionally equivalent, but the DB will hold a mix of present and absent fields indefinitely. Acceptable per the original commit intent.
- docs/plans/status-page-themes.md (304 lines) covers both backend and frontend work for the themes feature. It lives in this PR as the design artefact that drove both branches; moving it for purity would break the "where did this come from?" trail. Leaving it in.
2026-04-27 19:26:16 -04:00
gorkem-bwl 5874efff3c refactor(status-page): apply review feedback on theme-fields backend
- StatusPage Mongoose model: import DEFAULT_STATUS_PAGE_THEME / DEFAULT_STATUS_PAGE_THEME_MODE from types/statusPage so the four sources of the default literal stay locked together
- openapi.json: add explicit "default" alongside the enum on StatusPageTheme and StatusPageThemeMode component schemas; documentation already mentioned the defaults but the JSON didn't carry them
- statusPageController: add JSDoc-style comments above withoutThemeFields and applyDefaultTheme spelling out the asymmetric strip-on-write / force-on-read semantics so the next reviewer doesn't have to re-derive the design
2026-04-27 19:02:44 -04:00
gorkem-bwl ab9e722caa refactor(status-page): consolidate font stacks and pill recipes
Second /simplify pass picked up:
- pillHardware in refined and modern hardcoded blue hex codes (#60a5fa, #1d4ed8, #2563eb) while bold and editorial already used the green token system. Switch refined and modern to tokens.up / tokens.upSoft so all four themes are consistent and the public status page no longer leaks blue
- pill and pillHardware in refined and modern duplicated the shared 6 typography fields (fontSize, textTransform, letterSpacing, padding, borderRadius, fontWeight). Extract a pillBase constant per theme and spread, leaving only the colour deltas on each
- The 4 themes each defined their own font-stack constants. Consolidate them in themes/shared/fontStacks.ts (SANS_STACK, BOLD_SANS_STACK, SERIF_STACK, EDITORIAL_SECONDARY_SANS_STACK, MONO_STACK) and import. Drops 6 duplicated literal stacks
- modern dark-mode card hover used the light-mode shadow as a fallback. Add darkShadowHover and pick it up via cardHoverShadow when isDark
- refined and editorial styles factories silence their unused isDark parameter with `void isDark` instead of an underscore prefix; bold and modern still use it actively
2026-04-27 18:52:53 -04:00
gorkem-bwl 4f8f2f1422 refactor(status-page): tighten the bold/modern/editorial conversion
Apply review feedback:
- Editorial chartSwitch: drop the per-button isFirst flag and put the divider on the parent via "& > button + button { borderLeft }"; chartSwitchButton(active) now matches bold/modern's signature
- Drop the empty company: {} entries in bold/modern and the wrapper span around the company name; the parent brand row already styles it
- Editorial styles factory: keep the (tokens, isDark) signature for cross-theme uniformity but acknowledge the unused isDark with a void-statement instead of an underscore prefix
2026-04-27 18:45:45 -04:00
gorkem-bwl c6c50063d8 refactor(status-page): convert bold, modern and editorial themes to MUI sx
Finishes the migration started for refined. Each theme now consumes the same pattern:

- A typed *Styles interface that names every entry the page consumes (no `as Function` casts at the call site)
- A *Styles factory that takes (tokens, isDark) and returns sx recipes derived from existing tokens.ts plus the shared toneColor/toneSoft helpers in shared/overallStatus
- A useMemo around the factory call so MUI's sx processor sees referential equality across renders that don't change tokens
- modern.css's keyframes (pulse + staggered fade-in + reduced-motion guard) ported via @mui/system keyframes inside the modern styles factory
- bold.css's hero glow + conic logo + pseudo-elements ported as inline sx via "&::before" / "& > *" selectors
- editorial.css's serif typography + hairline dividers + flat rectangular badges ported as plain sx with the serif/sans family stacks named at module scope

Drop the four .css files (~1789 lines) along with the className= attributes and the import "./*.css" lines in each StatusPage component.

The shared themed components (ThemedHeatmap, ThemedHistogram, ThemedInfrastructure) lose their legacy classPrefix branch entirely now that no theme uses it. The dual-API gate is gone; there is one path.

Verified: tsc --noEmit clean, prettier clean.

Note: theme-overrides.css remains for the legacy non-themed status page components (StatusBar, MonitorsList, HeaderStatusPageControls). That's separate scope from the four-theme work the reviewer flagged; can be migrated in a follow-up.
2026-04-27 18:39:42 -04:00
gorkem-bwl b95d8886b9 refactor(status-page): tighten the refined-theme conversion
Apply review feedback:
- Type the styles factory's return as a named RefinedStyles interface so the consumer no longer needs `as Function` / `as any` casts on factory entries
- Lift toneColor / toneSoft to shared/overallStatus alongside the existing OverallTone type — the next three themes will need the same mapping
- Reuse heatLevel() in the legacy classPrefix branch of ThemedInfrastructure so both API paths share one threshold table
- Memoize the styles map in RefinedStatusPage so MUI's sx processor sees referential equality across renders that don't actually change tokens
- Make the dual-API gate in ThemedHeatmap / ThemedHistogram require ALL relevant sx props together so a partial migration can't silently fall back to the legacy class path
2026-04-27 18:30:04 -04:00
gorkem-bwl 163f5ec1ec refactor(status-page): convert refined theme to MUI sx + theme tokens
The reviewer's feedback on this PR is that the themes ship hardcoded class names against per-theme CSS files instead of following the project's MUI sx + theme.spacing()/palette pattern. This commit handles the refined theme as a proof of concept; the other three follow.

What changed
- New src/Pages/StatusPage/Status/themes/refined/styles.ts: a single function (tokens, isDark) -> sx recipes that mirror every rule in the deleted refined.css. All values are derived from the tokens already declared in tokens.ts so the colour/spacing source of truth doesn't change.
- RefinedStatusPage.tsx: drops the className= attributes and the import "./refined.css" in favour of sx={styles.x} drawn from the recipe map. Hardcoded class strings gone.
- refined.css: deleted (was 420 lines).
- Shared themed components (ThemedHeatmap, ThemedHistogram, ThemedInfrastructure): grew an opt-in sx-based API alongside the existing classPrefix one. The new API is what refined uses; bold / modern / editorial keep working unchanged on the legacy classPrefix path until they are migrated, after which the legacy code path is removed.

Verified
- tsc --noEmit clean
- prettier clean
- Pre-existing vite build error on this branch (flag-icons resolve, unrelated) is untouched

Next
- Convert the bold, modern and editorial themes the same way and remove the legacy classPrefix branch from the shared components.
2026-04-27 18:21:31 -04:00
Gorkem Cetin 959e2ff7b8 Merge pull request #3585 from bluewave-labs/chore/locale-completeness
chore(i18n): close translation gaps across all 16 locales
2026-04-27 11:24:38 -04:00
gorkem-bwl 2f8765cf3e chore(i18n): close translation gaps across all 16 locales
- Seed the 29 keys that were missing in every non-English locale (Pushover/Twilio config, register setup notice, public status-page status-bar messages, "service is down")
- Fill core UI strings (sidebar menu, buttons, table headers, password rules, image upload, auth footer) where they were left as empty values in the original translations
- Bring Spanish to 100% net coverage with a hand pass over remaining empties and same-as-English entries

Coverage net of empty/missing keys:
- 6 locales now at 100% (de, es, ru, th, zh-CN, zh-TW)
- All locales above 94% (worst: ar/fi at 94.8%, was 85.1% / 87.9%)
- Zero missing keys in any locale (was 29 each)

Some keys are intentionally same-as-English (HTTP, gRPC, Pagespeed, Docker etc.). Long-form copy in createMonitor descriptions and a few infrastructure stat labels remain empty in the lower-coverage locales for native review.
2026-04-27 11:21:48 -04:00
Iriome 49fcab2ee3 fix: allow containers to run as non-root user (UID 1000)
- chown public/, dist/, and scripts/ to node:node after build
- add USER node directive before EXPOSE in dist-mono and dist-arm Dockerfiles
- update CMD to exec form in dist-mono for consistency

Fixes running the container with --user 1000 in environments that
don't allow containers to run as root. The sed -i in inject-vars.sh
requires write permission on ./public/assets/, which previously
failed with 'Permission denied' when running as non-root.

The node user (UID 1000) is built into the node:20-slim base image.
Existing root deployments are unaffected.
2026-04-27 14:40:51 +01:00
Aicha Lassoued 5a72a11ac2 (client): format code change 2026-04-26 18:40:04 +01:00
Aicha Lassoued 66418bf591 fix: prevent blank screen crash when clearing timezone search field 2026-04-26 18:25:53 +01:00
gorkem-bwl 7342385729 fix(client): unblock the auth page build
Drop unused HeaderAuthControls/SPACING imports and switch the form-side wrapper from Stack to Box so the polymorphic component prop type-checks.
2026-04-26 02:29:23 -04:00
gorkem-bwl 671911dc1d feat(client): elevate auth pages with a two-column brand layout
- BaseAuthPage now renders a left form column and a right brand panel with eyebrow / tagline / description copy and a chess-board pattern over the brand green gradient
- Move the language selector and theme toggle to the page's top-right inside the form column so they read clearly in light and dark
- Every auth page (login, register, recovery, set new password) inherits the new layout
- Add brandPanel translations across all 16 locales; phrase the tagline as "your servers" instead of "stack" so it translates cleanly
2026-04-26 02:26:29 -04:00
gorkem-bwl 2ec55c6469 fix(client): replace lingering hardcoded colours with theme tokens
- Default status-page colour now uses the brand green instead of a royal-blue hex
- PageSpeed API-key alert pulls from theme.palette.warning + alpha for both modes instead of hand-rolled amber values
- Settings JSON preview block uses action.hover instead of the hand-rolled #1e1e1e/#f5f5f5 pair
- Drop the redundant #E0E0E0 thumb override on SwitchComponent so the theme MuiSwitch override actually wins
2026-04-26 01:59:09 -04:00
gorkem-bwl d678b3a304 fix(client): lighten the upload icon in ImageUpload
Match the rest of the icon system: 20px, 1.5 stroke, currentColor with 0.7 opacity instead of the lucide default heavy 24/2 stroke.
2026-04-26 01:56:28 -04:00
gorkem-bwl bf3bd50624 feat(client): unify card titles to the eyebrow style across uptime details
- StatBox titles now use the eyebrow variant (matches /uptime summary cards)
- BaseChart drops its leading icon block and renders the title via eyebrow so all chart cards share one header style
- Inside the average-response gauge, the qualitative label uses eyebrow with the status colour and the metric uses h1; the gauge track is a neutral disabled-action background so the active arc reads in light and dark
2026-04-26 01:56:22 -04:00
gorkem-bwl a4f69daae7 fix: surface notification test failures cleanly instead of as 500s
Server-side, return 200 with success: false and a friendly message when sendTestNotification reports failure (the underlying call already swallows the error); reserve real 500s for unexpected exceptions.

Client-side, teach usePost to honour the response body's success flag so success:false flips the toast to error without throwing through axios. Also tidy the toast container: drop icons, no wrapping, single-line ellipsis with a sensible max-width that hugs short messages.
2026-04-26 01:56:13 -04:00
gorkem-bwl 127ee5508a fix(client): truncate long notification destinations with a middle ellipsis
The destination column wrapped onto two lines for long webhook URLs. Cap the cell at 320px and use rtl + plaintext bidi so the start and end of the URL stay visible with an ellipsis in between; full address is in the title attribute.
2026-04-26 01:56:05 -04:00
gorkem-bwl d71fbf8c06 fix(client): bump dark-mode selected toggle background so it stands out
The 6% primary tint that read fine in light mode disappeared against dark backgrounds. Use a 22% tint in dark mode (30% on hover) and keep the lighter 6/10% in light mode.
2026-04-26 01:55:58 -04:00
gorkem-bwl aa3e72ec6d fix(client): make confirmation modals dismiss on ESC
Wire the dialog's onClose to onCancel for keyboard escape but ignore backdrop clicks so users can't lose work by clicking outside the modal.
2026-04-26 01:55:49 -04:00
gorkem-bwl 9d7f4929ad fix(client): use native language names in the settings dropdown too
Export the languageNames map and reuse it in the Settings page so EN/DE/TR turn into English/Deutsch/Türkçe alongside the auth-page selector.
2026-04-26 01:55:42 -04:00
gorkem-bwl 319f667028 feat(client): unify section headers on /logs and group titles with their tables
- Apply the eyebrow variant to "Runtime stats" and "Memory & CPU" so /logs sections share the same uppercase header style as Job queue
- Pair each section's heading + explainer with its table in a tighter sub-stack so the big gap only sits between sections, not under the explainer
- Restore the missing useTheme() call inside TableFailedJobs and TableLogs so the monospace token resolves
2026-04-26 01:55:33 -04:00
gorkem-bwl bcab1a0a4d fix(client): swap the sidebar logs icon from Database to ScrollText
ScrollText reads as logs/journal; Database read more like a storage admin tool.
2026-04-26 01:55:25 -04:00
gorkem-bwl 11ea7dcb3b feat(client): add a sidebar-specific accent colour for dark mode
The sidebar selected-icon colour was sharing primary.main, which read too dark in dark mode. Introduce palette.sidebar.accent (brand green in light mode, a lighter green in dark mode) and route NavItem through it so primary stays brand-green for buttons and the rest of the UI.
2026-04-26 01:55:17 -04:00
gorkem-bwl 1bff81c6bb fix(client): tighten the toast appearance
- Drop the per-type icon
- Lower min-height to 40px and tighten padding
- Thin both the active progress bar and its track to 2px and pin them to the same baseline so they sit on top of each other
2026-04-26 01:32:05 -04:00
gorkem-bwl 2016a208f2 fix(client): keep Chrome autofill background within the rounded input
The autofill inset shadow was bleeding past the rounded corners. Clip it via overflow: hidden on the outlined input root and bump the override rules to !important so they beat Chrome's user-agent styles.
2026-04-26 01:32:00 -04:00
gorkem-bwl dfc1b65e4b fix(client): restyle the register page setup notice
Drop the default MUI info-blue alert in favour of a neutral panel: theme-driven action.hover background, divider border, secondary text colour and no icon. Reads as a quiet aside instead of a status message.
2026-04-26 01:31:54 -04:00
gorkem-bwl f7629eb1be refactor(client): show native language names instead of country flags
Replace the flag + 2-letter code in the language selector with each language's native name (English, Deutsch, 日本語, ...) and drop the unused flag-icons dependency.
2026-04-26 01:31:47 -04:00
gorkem-bwl 72fc28c1fa fix(client): give auth pages a stable form width
The login/register form used percentage widths that collapsed to ~15% on wide screens, wrapping the "Forgot password" / "Reset password" links onto two lines. Switch to a fixed 400px max-width that just shrinks below it on small screens.
2026-04-26 01:31:41 -04:00
gorkem-bwl da70d07051 chore(client): document MUI default fallbacks in getResponseColor
Annotate the hex literals used when callers omit theme colours so the intent (defensive MUI default match) is obvious instead of looking like arbitrary values.
2026-04-26 01:22:06 -04:00
gorkem-bwl c6db7e6479 refactor(client): centralise monospace font through the theme
Add a fontFamilyMonospace token to theme.typography (ui-monospace stack with sensible fallbacks) and route the four ad-hoc fontFamily="monospace" call sites through it so the project has one source of truth.
2026-04-26 01:22:01 -04:00
gorkem-bwl 82ad40ac82 fix(client): replace hardcoded blue accents in tooltip and toast
- Tooltip backgrounds now pull from the theme's grey palette instead of a hand-rolled blue gradient (visible bug in dark mode)
- Toast progress bars use theme.palette.primary.main so they match the rest of the brand
2026-04-26 01:21:54 -04:00
gorkem-bwl 4fd9b2ecf5 feat(client): add eyebrow typography variant and lighter page titles
- Introduce a reusable eyebrow Typography variant in the theme (13px, 500 weight, uppercase, 0.08em tracking) for section headings
- Apply it to ConfigBox titles in /settings and to "Job queue" / "Failed jobs" in /logs
- Drop the page header weight from 600 to 400 with tighter tracking so titles read lighter and more refined
2026-04-26 01:21:47 -04:00
gorkem-bwl 2dccf73050 fix(client): green-tone the empty state illustration
The foreground card was painted in blue (#EEF4FE/#7DA8E8 etc.); recoloured to the brand green family so the illustration matches the rest of the UI.
2026-04-26 01:21:11 -04:00
gorkem-bwl d6532c60a6 fix(client): brand primary colour is the brand green, not blue
Renames the primary palette token from blueBlueWave to brandGreen and points it at #13715B in both light and dark themes, so primary buttons, sidebar selection, slider rings, switch tracks etc. follow the brand instead of the old blue.
2026-04-26 01:21:04 -04:00
gorkem-bwl 99be8651aa feat(client): unify brand mark — green king across sidebar, page header and favicon
- Replace the blue chess-piece SVG with a green king silhouette adapted from Cburnett's chess set (Wikimedia Commons, CC BY-SA 3.0); applies to the page-header logo and the browser favicon
- Drop the placeholder green "C" square in the sidebar in favour of the same king SVG
- Add a NOTICE file documenting the asset attribution and license
2026-04-26 01:07:16 -04:00
gorkem-bwl 8ca53bd765 fix(client): smaller, lighter labels on uptime status cards
Up/down/paused/initializing labels now use the same uppercase 11px treatment as the table headers, with looser tracking, instead of the heavier h2 variant.
2026-04-26 01:07:10 -04:00
gorkem-bwl 26e49f6161 fix(client): drop card chrome around the settings save button
The sticky save bar no longer renders a paper background, top border or full-width margin extension — it just sticks to the bottom on its own.
2026-04-26 00:42:16 -04:00
gorkem-bwl cca027b5eb fix(client): subtle tinted selection on toggle button group
Selected segment uses a 6% primary alpha rather than the previous green tint, and the per-button border override is gone so adjacent segments share one clean divider line.
2026-04-26 00:42:11 -04:00
gorkem-bwl 51f9c09132 feat(client): unify switch, radio and slider styling via theme overrides
- Switch: 36x20 contained pill with 6px right padding so labels keep their distance even inside Stacks
- Radio: theme-level override, 20px ring with a fixed-size inner dot — checked state no longer animates a scale change that pushed labels around
- Slider: white thumb with primary-colour ring, 4px track, soft hover/active glow
- Drop the custom RadioInput icon overrides that bypassed the theme and caused the size jiggle
2026-04-26 00:32:18 -04:00
gorkem-bwl 897204ead3 refactor(client): extract useClientPagination hook and clean up Select prop
- Replace duplicated page/rowsPerPage state in Team, Notifications and Status Pages tables with a shared useClientPagination hook
- Drop unused placeholderColor prop from Select; placeholder always uses secondary text
- Restore LAYOUT.MD constant for the account menu item gap
2026-04-26 00:22:14 -04:00
gorkem-bwl 25735df0c6 fix(client): use theme divider for table header line so it shows in dark mode 2026-04-26 00:18:45 -04:00
gorkem-bwl e3b6183e00 fix(client): soften empty state typography and copy
Drop the heavy 600-weight title in favour of regular-weight secondary text, and reword "Nothing here" to "Nothing to show yet".
2026-04-26 00:18:41 -04:00
gorkem-bwl b2741ad567 fix(client): increase internal padding on status summary cards 2026-04-26 00:18:37 -04:00
gorkem-bwl 7905e97a84 fix(client): match account menu icon style with sidebar nav icons 2026-04-26 00:13:35 -04:00
gorkem-bwl b7d719132d fix(client): use secondary text color for empty select placeholders
Disabled-text was too pale for filter dropdowns like Type/Status/State, where the placeholder doubles as the field label.
2026-04-26 00:13:32 -04:00
gorkem-bwl 210e03cea0 fix(client): refine table header divider and typography
- replace heavier per-cell header borders with one lighter row divider
- shrink header text to 11px with looser tracking for a more refined feel
- tighten failed-jobs labels: "Fail count" -> "Count", "Last failed at" -> "Last failed"
2026-04-26 00:13:27 -04:00
gorkem-bwl 995fc59299 feat(client): add pagination to team, notifications and status page tables 2026-04-26 00:13:23 -04:00
gorkem-bwl cbd8236cb4 chore(i18n): seed jobQueueExplainer and failedJobsExplainer for non-English locales 2026-04-26 00:13:19 -04:00
gorkem-bwl 095086cdfd chore(i18n): seed translations for new UI surfaces
Across en + 15 locales:
- pages.<X>.fallback.title / .description for every page that has an
  EmptyState (uptime, infrastructure, pageSpeed, notifications,
  maintenance, statusPages, incidents, logs, logs.queueFallback,
  checks, account.team).
- pages.<X>.header.title / .description for every page that uses the
  new PageHeader (same list, plus settings).
- pages.logs.diagnostics.sections.runtimeStats / .memoryCpu titles
  and descriptions for the diagnostics section explainers.
- components.pageHeader.links.support / docs / changelog tooltip
  labels.

en.json also gains pages.logs.jobQueueExplainer and
.failedJobsExplainer (English only — non-English locales fall back
to English until a translator sweep).
2026-04-25 23:28:51 -04:00
gorkem-bwl 59846a041f fix(client): dark-mode text-field polish
- MuiOutlinedInput hover override: was inheriting MUI's default
  white outline in dark mode (too bright). Now uses an alpha-23%
  white in dark and text.primary in light.
- TextInput: -webkit-autofill now repaints the input bg with
  background.paper (instead of Chrome's harsh blue/yellow autofill
  highlight), text in text.primary, with the standard 5000s-transition
  trick to suppress the brief flash. Works in both modes.
2026-04-25 23:28:32 -04:00
gorkem-bwl 7d91d9e28b fix(client): job queue table layout + theme-aware running-row tint
TableJobs:
- Cut from 11 to 7 columns, dropping active / runCount / failCount /
  lastFinishedAt (covered by Failed jobs table or by lastRun + lastRunTook).
- All cells get whiteSpace:nowrap + textOverflow:ellipsis + maxWidth so
  long timestamps and IDs no longer wrap and inflate row height; full
  value visible via title tooltip.
- Running-row tint: was theme.palette.success.light (too saturated in
  light, drowns white text in dark). Now #ECF7F2 in light, an 18%-alpha
  green in dark — readable in both modes.

TabQueue:
- One-line explainer above the Job queue heading, with the words
  "Highlighted rows" wrapped in the same green tint so the meaning
  is immediately associated.
- One-line explainer above Failed jobs heading too.
2026-04-25 23:27:50 -04:00
gorkem-bwl 752f59b09b feat(client): diagnostics page polish
- Stats and StatGauges use CSS grid (5 + 4 columns) so cards in each
  row are equal width; widths overridden against the legacy 25%-flex
  GradientBox so they fill their grid cell.
- DetailGauge gains a maxWidth prop (default 225) so consumers in
  wide grids can opt out of the cap.
- Section explainers above each row: "Runtime stats" + description,
  "Memory & CPU" + description (i18n driven, propagated to all 16
  locales via pages.logs.diagnostics.sections).
- Both grids render immediately with placeholder "—" values, so the
  initial paint shows the layout and values fill in as data loads
  (eliminates the layout shake when switching to the tab).
2026-04-25 23:27:35 -04:00
gorkem-bwl 262c4eee93 feat(client): PageHeader on every page; remove sidebar bottom menu
- New PageHeader component (variant D — grouped icon-pill toolbar):
  big title + muted description on the left, Support / Docs /
  Changelog as a 3-icon segmented pill on the right with tooltips.
  External links open in a new tab.
- BasePage / BasePageWithStates / MonitorBasePageWithStates accept
  a headerKey prop; when set, render PageHeader pulling
  pages.<headerKey>.header.title and .description from i18n.
  When unset, falls back to the existing breadcrumb (no behavior
  change for not-yet-migrated pages).
- All top-level pages (uptime, infrastructure, pageSpeed,
  notifications, maintenance, statusPages, incidents, logs, checks,
  account, settings) now pass their headerKey.
- Sidebar: removed the bottom menu (Support / Discussions / Docs /
  Changelog) since those links now live in the page header.
2026-04-25 23:27:22 -04:00
gorkem-bwl 031a6fdf3c feat(client): unified EmptyState across all pages and table empties
- New EmptyState + EmptyStateIllustration components: stacked-cards SVG
  with grid background, theme-aware light/dark palette.
- Variants: default (centered with title + description), compact
  (horizontal, in-section), fullscreen (vertically centers in viewport).
- Wired into Checks, Incidents, Logs (Logs+Queue tabs), Notifications,
  Maintenance, Status pages, and Team tab — each with i18n title +
  description and a fullscreen layout when truly empty.
- Table.EmptyView now wraps the EmptyState in a divider-bordered card
  so short messages no longer look orphaned.
- Incidents Option-A short-circuit: when summary.total === 0, replace
  the whole page chrome with EmptyState; otherwise keep filters + cards.
- Fallback.tsx (BaseFallback / EmptyFallback / EmptyMonitorFallback /
  ErrorFallback) refactored to delegate to EmptyState.
2026-04-25 23:26:34 -04:00
gorkem-bwl ff208710d7 feat(client): unified EmptyState component for empty/error placeholders
Replaces the cards-with-halo SkeletonCard fallback (which produced a
washed-out, hard-to-read placeholder) with a single canonical empty
state used everywhere in the app.

What's new:

- EmptyStateIllustration.tsx — custom inline SVG: two stacked monitor
  cards (front blue, back gray, both with hairline strokes and a soft
  fade toward the bottom), set against a faint grid of solid + dashed
  background lines. Uses only lightened palette tokens (#7DA8E8 blue,
  #B6C2CF gray, #CBD5E1 grid).
- EmptyState.tsx — the layout: illustration + title + description +
  optional CTA + optional secondary link + optional inline alert slot.
  Supports a compact horizontal variant for in-panel use.

Migrations:

- Fallback.tsx: BaseFallback / EmptyFallback / EmptyMonitorFallback /
  ErrorFallback now delegate to EmptyState. Public APIs unchanged so
  every existing consumer (BasePageWithStates, MonitorBasePageWithStates,
  Pages/Uptime, Pages/Notifications, Pages/Infrastructure, etc.) keeps
  working without edits.
- BasePage.tsx: PageSpeedKeyPriorityFallback rebuilt on top of EmptyState
  with the warning slot. Fixes the previous reports of "white cloudy
  area" + half-faded text — message and link now render in consistent
  dark text with green Settings link.

No prop changes for any page-level consumer. The illustration is a
single SVG with no external assets.
2026-04-25 21:19:52 -04:00
Gorkem Cetin 29f1041cc3 Merge pull request #3578 from ZeinebMegaadi/fix/docs-link
fix:replaced the broken link with the working one everywhere
2026-04-25 19:40:31 -04:00
ZeinebMegaadi a613bfb45a fix:replaced the broken link with the working one everywhere 2026-04-25 15:33:42 +01:00
Gorkem Cetin ed49fd41db Merge pull request #3575 from ayshaL/fix/notification-channel-typo
Fixed typo in notification
2026-04-24 19:17:58 -04:00
Aicha Lassoued 625f9b588e Fix typo in heapAllocation string 2026-04-24 22:45:45 +01:00
Aicha Lassoued 6fa73dce49 fixed typo 2026-04-24 22:24:00 +01:00
Alexander Holliday e8892af8ba Merge pull request #3573 from bluewave-labs/fix/swagger-monitors-teams-args
docs(openapi): document all query params on /monitors/team/with-checks
2026-04-24 10:43:34 -07:00
Alexander Holliday e413991e63 Merge pull request #3571 from bluewave-labs/fix/check-schema-errors-warning
fix(server): suppress mongoose reserved-key warning on Check.errors
2026-04-24 10:19:03 -07:00
Alexander Holliday e909ddd78b Merge pull request #3572 from bluewave-labs/fix/version-from-package-json
fix(client): source app version from package.json
2026-04-24 10:12:20 -07:00
Alexander Holliday 2ed5015aee Merge pull request #3570 from bluewave-labs/fix/vite-allowed-hosts
fix(client): allow configurable Vite allowed hosts
2026-04-24 09:58:27 -07:00
Alexander Holliday 6e89be2ac5 Merge pull request #3574 from bluewave-labs/fix/open-site-action-internal-url
fix(client): hide Open site action when URL is not browser-openable
2026-04-24 09:51:01 -07:00
gorkem-bwl 50fb4f47fd fix(client): hide Open site action when URL is not browser-openable
The Open site action in monitor row menus called `window.open(monitor.url)`
unconditionally, which produced unresolvable navigation for monitors
targeting internal services:
- Hardware monitors always point at a Capture agent (e.g.
  http://capture:59232/api/v1/metrics) that the user's browser can't
  reach.
- Port, ping, docker, game, grpc, and websocket monitors store hostnames
  or non-HTTP endpoints, which browsers can't load anyway.

This change hides the action where it can't possibly work:
- Removed entirely from the Infrastructure (hardware) monitors table.
- In the Uptime monitors table, only shown for http and pagespeed
  monitor types whose URL starts with http:// or https://.

A more comprehensive fix that adds a separate user-facing siteUrl
field on the Monitor schema is left for a follow-up.

Closes #3434
2026-04-23 23:38:07 -04:00
gorkem-bwl 22f1d035b7 docs(openapi): document all query params on /monitors/team/with-checks
The OpenAPI spec only listed `limit` for GET /monitors/team/with-checks,
but the route's Zod schema (getMonitorsWithChecksQueryValidation) also
accepts page, rowsPerPage, filter, field, order, type, and explain.
Users hitting the endpoint via Swagger UI would either get rejected
with "page is not allowed" (when guessing param names) or miss
pagination entirely.

Adds the missing parameters with constraints mirrored from the
validation schema. Also bumps `limit` max from 50 to 100 to match
the schema (was 100 in code, 50 in spec).

Closes #3354
2026-04-23 23:35:52 -04:00
gorkem-bwl f654310c4d fix(client): source app version from package.json
The client version shown on the Settings page was hardcoded as a
literal in vite.config.ts, while client/package.json sat at the
placeholder "0.0.0". Bumping the displayed version required editing
two unrelated places, and stale Docker client images would keep
showing the old number after upgrades.

This change makes client/package.json the single source of truth
and reads it at build time. Bumps client/package.json from 0.0.0
to 3.6.1 to preserve current behaviour.

Closes #3271
2026-04-23 23:33:41 -04:00
gorkem-bwl d44f7497a5 fix(server): suppress mongoose reserved-key warning on Check.errors
Mongoose 8 logs a reserved-key warning at boot because the Check schema
defines an `errors` field, which collides with Mongoose's internal
document `errors` accessor. The field is intentional and safe to keep,
so opt out of the warning via `suppressReservedKeysWarning: true`.

Closes #1539
2026-04-23 23:32:33 -04:00
gorkem-bwl dbccce445b fix(client): allow configurable Vite allowed hosts
Vite >=4.3 rejects requests with a Host header not in the allowlist,
which broke status-page submissions and dev-server access for users
serving Checkmate behind a reverse proxy after upgrading.

Adds VITE_ALLOWED_HOSTS env var (comma-separated list). When unset,
falls back to allowing all hosts so existing self-hosted deployments
keep working without changes.

Closes #3397
Closes #2951
2026-04-23 23:31:05 -04:00
gorkem-bwl 944ee74a1d feat(status-page): four selectable themes for the public status page
Adds four fully-designed visual themes for the public status page
(refined | modern | bold | editorial) with a light/dark mode selector,
admin preview in a mock browser frame, and a shared theme provider
that keeps the component tree unified while letting each theme own
its visual identity.

## Selectable themes
- Refined — clean, flat cards, soft shadows, colored status dot.
- Modern — flat surfaces with a pulsing status dot and staggered
  fade-in cards.
- Bold — conic-gradient logo, 34px hero title with a check disc,
  subtle dual-radial glow on dark mode, accent-green hover border.
- Editorial — serif headings, narrow newspaper column, 'Service
  Report' eyebrow + title, flat rectangular badges and dateline.

## Architecture
- Single `StatusPageThemeProvider` hosts CSS custom-property tokens
  per theme and resolves light/dark based on admin-forced mode,
  falling back to `prefers-color-scheme` with a matchMedia listener.
- Each theme owns only its `*StatusPage.tsx` + scoped CSS file.
  The heatmap, histogram, and infrastructure renderers are shared
  across all four themes (parameterized by a `classPrefix`) to avoid
  the 12-file duplication the initial draft had.
- Renderer lookup table in `Status/index.tsx` replaces a 4-way
  ternary chain; unknown themes fall through to the legacy renderer.
- `resolveOverallStatus`, `statusBadgeKey`, `monoFirstChar`, and
  `monitorBadgeTone` are extracted to `themes/shared/overallStatus.tsx`.

## Admin UX
- `ThemePicker` uses the project's `RadioWithDescription` and
  `Select` components — one radio card per theme plus an Auto/
  Light-only/Dark-only mode dropdown.
- `BrowserFrame` wraps the preview in the admin panel with a mock
  chrome (traffic lights + URL bar) that adopts the status page's
  theme tokens. Edge-to-edge fill with no gray bleed.
- Public route renders the theme directly on the viewport with the
  document body painted to the theme background, reverted on unmount.

## Performance & polish
- Histogram's derived stats (padded array, max, avg, peak) are
  memoized on `checks`; `max` is reused for `peak` instead of
  computing twice.
- Editorial's dateline is wrapped in `useMemo` so the 10s poll
  doesn't rerender "April 23, 2026" as a changing string.
- Provider's `setSystemMode` reconciliation uses the updater form
  to avoid an extra render when the value is unchanged.
- `monoFirstChar` no longer uses a non-null assertion.

## Form plumbing
- `useStatusPageForm` defaults include `theme` + `themeMode`.
- `Validation/statusPage.ts` accepts both as optional zod enums.
- `Pages/StatusPage/Create/index.tsx` appends both to FormData on
  create and update.

## CLAUDE.md
- Dev port note: local client runs on 10001 (5173 is used by a
  different local project); server `CLIENT_HOST` is set to match.
2026-04-23 22:51:40 -04:00
gorkem-bwl ad964446de feat(status-page): add theme and themeMode fields (backend)
## Changes
- Add `theme` (refined | modern | bold | editorial, default "refined") and
  `themeMode` (auto | light | dark, default "auto") fields to the StatusPage
  Mongoose model and the shared `StatusPage` type.
- Extend the create/update Zod validator to accept both fields optionally.
- Map both fields in the repository's `toEntity` so GET responses include them.
- Document both fields in the create and update endpoints in `openapi.json`.
- Add `STATUS_PAGE_THEMES_ENABLED` env var (default `true`) wired through
  `SettingsService` for ops-level rollback. When disabled, the controller
  strips theme fields on write and forces defaults on read.

## Notes
- No migration needed; Mongoose applies defaults for legacy documents.
- Controller short-circuits to zero-cost when the feature flag is on.
- `DEFAULT_STATUS_PAGE_THEME` / `DEFAULT_STATUS_PAGE_THEME_MODE` constants
  exported so the frontend PR can consume the same values.
2026-04-23 22:45:50 -04:00
Alexander Holliday 6ed0818bad Merge pull request #3566 from bluewave-labs/fix/build
fix: build
2026-04-23 11:07:39 -07:00
Alex Holliday f2e3640e28 add helper function to extract strings 2026-04-23 11:07:01 -07:00
Alex Holliday 8bfffd540d remove esbuild 2026-04-23 11:06:51 -07:00
Alex Holliday 559288fceb bump version 2026-04-23 10:14:05 -07:00
Alexander Holliday 8886566a8f Merge pull request #3564 from bluewave-labs/fix/resolve-incident-comment
fix comment type
2026-04-23 10:13:17 -07:00
Alex Holliday 28cb2aeacd fix comment type 2026-04-23 10:01:46 -07:00
Alex Holliday cbd82e29af bump version 2026-04-23 09:49:34 -07:00
Alexander Holliday 50876e57b9 Merge pull request #3520 from ZeinebMegaadi/docs/monitor-lifecycle-explained
docs: added monitor lifecycle explanation to README
2026-04-23 09:45:32 -07:00
Alexander Holliday b70916de20 Merge pull request #3561 from bluewave-labs/fix/line-endings
normalize line endings
2026-04-23 09:40:56 -07:00
Alex Holliday 3202a4276d normalize line endings 2026-04-23 09:30:43 -07:00
Gorkem Cetin 7a8caec159 Change demo link for Checkmate
Updated the demo link for Checkmate in the README.
2026-04-22 22:53:25 -04:00
Alexander Holliday 7e7f1bb6ca Merge pull request #3557 from bluewave-labs/fix/hide-register-tip-on-login
fix: hide register tip on login and redirect to setup when no super admin
2026-04-20 11:50:16 -07:00
Alex Holliday 5f12459bfd explicit import 2026-04-20 11:48:48 -07:00
Alex Holliday 27e866ba08 use lazy get 2026-04-20 11:47:43 -07:00
Alex Holliday f7a2b2af54 Merge branch 'develop' into fix/hide-register-tip-on-login 2026-04-20 11:28:25 -07:00
Alexander Holliday 3f35176651 Merge pull request #3558 from bluewave-labs/chore/remove-timescale-db
chore: remove timescale db
2026-04-20 11:28:07 -07:00
Alex Holliday 62c7e20726 purge pg types 2026-04-20 11:06:56 -07:00
Alex Holliday ff08645087 remove pool references, update docs 2026-04-20 11:04:43 -07:00
Alex Holliday 3e947ca2df remove bullmq, pg, bump dependencies 2026-04-20 11:03:13 -07:00
Alex Holliday cc32206547 purge timescaledb 2026-04-20 11:00:49 -07:00
Alexander Holliday 984a611d19 Merge pull request #3534 from egeoztass/feat/twilio-sms-notification
feat: add Twilio SMS notification channel
2026-04-20 10:54:12 -07:00
gorkem-bwl 39011e2e33 style: apply prettier formatting 2026-04-20 13:53:50 -04:00
gorkem-bwl 4998fe4c94 fix: hide register tip on login and redirect to setup when no super admin (#3556)
## Changes
- Removed the "Register here" link from the login page — it misled users into thinking public registration was open.
- Added redirect from /login to /register when no super admin exists (initial setup).
- Added an info alert on the register page clarifying the page is only for initial setup; additional users are invited from team settings. Hidden for the invite-token flow.
- Extracted shared useSuperAdminRedirect hook to dedupe identical fetch/redirect logic across Login and Register.

## Benefits
- Clearer UX: login page no longer suggests self-registration is available post-setup.
- Correct routing on fresh installs: users land on the registration page instead of a login page they can't use.
2026-04-20 13:50:36 -04:00
Gorkem Cetin 247308b636 Clarify demo access information in README
Separated demo credentials from the main demo description for clarity.
2026-04-20 12:38:02 -04:00
Alexander Holliday 33110cf6c8 Merge pull request #3545 from ZeinebMegaadi/fix/node-version-docs
docs: update Node.js version requirement to >=20 in contributing guide
2026-04-20 09:35:04 -07:00
Alexander Holliday 15c3fcb9b9 Merge pull request #3549 from SkyKingPX/develop
Add build_images.bat for Docker image builds
2026-04-20 09:34:24 -07:00
Alexander Holliday d5295f4f6c Merge pull request #3552 from Smolcup/docs/fix-code-of-conduct-repo-name-v2
docs: update repo name bluewave-uptime to checkmate in CODE_OF_CONDUCT
2026-04-20 09:33:30 -07:00
Alexander Holliday 886e04710f Merge pull request #3553 from Smolcup/docs/add-i18n-contribution-guide-v2
docs: update i18n contribution guide
2026-04-20 09:33:07 -07:00
Alexander Holliday d0e79ea99c Merge pull request #3555 from ZeinebMegaadi/fix/docs-link
fix: correct docs link URL (404 issue)
2026-04-20 09:30:34 -07:00
ZeinebMegaadi a0568a44a6 fix: correct docs link URL (404 issue) 2026-04-20 10:05:12 +01:00
Smolcup 4435a66255 docs: add i18n contribution guide 2026-04-19 21:21:04 +02:00
Smolcup dbc592b86b docs: update repo name bluewave-uptime to checkmate in CODE_OF_CONDUCT
Updated the Code of Conduct to reflect the new project name and ensure a welcoming environment for contributors.
2026-04-19 20:28:53 +02:00
SkyKing_PX 47a78edba8 Update Dockerfile paths for services in build_images.bat 2026-04-19 14:12:41 +02:00
SkyKing_PX f4fd836137 Fix paths in docker/coolify/build_images.sh 2026-04-19 14:12:00 +02:00
SkyKing_PX 6c6823cf76 Add build_images.bat for docker/coolify 2026-04-19 14:10:23 +02:00
SkyKing_PX 59187cc114 Add build_images.bat for docker/dist-mono 2026-04-19 14:07:32 +02:00
SkyKing_PX 0ad9ef15af Add build_images.bat for docker/dist 2026-04-19 14:06:14 +02:00
SkyKing_PX e23a185eaf Fix paths in docker/unified/build_image.sh 2026-04-19 14:04:37 +02:00
SkyKing_PX 36cbe4096d Add build_images.bat for docker/unified 2026-04-19 14:03:35 +02:00
SkyKing_PX ab692f8033 Add windows buildscript in docker/staging 2026-04-19 14:01:44 +02:00
SkyKing_PX 15542154f4 Fix paths 2026-04-19 14:00:33 +02:00
SkyKing_PX 7eb7fa1629 Add build_images.bat for Docker image production builds 2026-04-19 13:50:33 +02:00
ZeinebMegaadi d41d9a3dab fix: skip future date validation when editing maintenance window 2026-04-18 12:55:10 +01:00
ZeinebMegaadi 1a54a24fd5 fix: skip future date validation when editing maintenance window 2026-04-18 12:54:13 +01:00
ZeinebMegaadi 7906fce77f docs: update Node.js version requirement to >=20 in contributing guide 2026-04-17 21:17:40 +01:00
egeoztassandClaude Opus 4.6 c57614e8df fix: add accountSid and twilioPhoneNumber to notification repositories
Updated both MongoDB and TimescaleDB repositories to map the new
Twilio-specific fields (accountSid, twilioPhoneNumber) in create,
update, and toEntity methods.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-17 23:14:16 +03:00
egeoztassandClaude Opus 4.6 d5d6797f91 fix: use dedicated Twilio fields and add service switch case tests
- Added `accountSid` and `twilioPhoneNumber` fields to Notification
  type, MongoDB model, and frontend type instead of reusing
  `address` and `homeserverUrl`
- Updated provider, validation, form hook, and form UI to use new fields
- Added Pushover and Twilio to notificationsService routing tests
  (both handleNotifications and sendTestNotification)
- All 59 tests passing

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-17 23:11:11 +03:00
Alexander Holliday 77545e9cf7 Merge pull request #3544 from bluewave-labs/fix/unified-docker-compose
fix/unified docker compose
2026-04-17 12:26:31 -07:00
Alex Holliday 29ea54419c add staging 2026-04-17 19:20:31 +00:00
Alexander Holliday 9042cb917a Merge pull request #3535 from Smolcup/docs/fix-discussions-link-readme-es
docs: fix discussions link in Spanish README
2026-04-17 12:12:38 -07:00
Alexander Holliday a65e1071a5 Merge pull request #3541 from Smolcup/docs/fix-typo-pullrequests
docs: fix typo 'big' to 'bug' in PULLREQUESTS.md
2026-04-17 11:28:32 -07:00
Alex Holliday 4493cca871 Merge branch 'fix/unified-docker-compose' of github.com:bluewave-labs/checkmate into fix/unified-docker-compose 2026-04-17 11:26:20 -07:00
Alex Holliday 999dfb13b9 update workflows 2026-04-17 11:25:53 -07:00
Alex Holliday 97f4008f4c remove explicit ports 2026-04-17 18:24:01 +00:00
Alex Holliday 6152144807 add staging, comment out for now 2026-04-17 11:18:03 -07:00
Alex Holliday b376fe9ab0 comment out staging 2026-04-17 11:07:25 -07:00
Alex Holliday aa3e097e16 initial commit 2026-04-17 10:54:39 -07:00
Alexander Holliday d77aeeb46c Merge pull request #3542 from bluewave-labs/fix/docker-compose
fix: update production docker compose/nginx conf
2026-04-17 10:37:58 -07:00
Alex Holliday 82b7ab83dd update production docker compose/nginx conf 2026-04-17 17:34:23 +00:00
Smolcup 88bc4e080d docs: fix typo 'big' to 'bug' in PULLREQUESTS.md 2026-04-17 19:27:57 +02:00
Alexander Holliday fa6aef1e86 Merge pull request #3518 from ZeinebMegaadi/fix/showing-down-for-down-monitors
Fix: added "down" display on down monitors instead of "Active for:..."
2026-04-17 10:17:34 -07:00
Gorkem Cetin 57ed0e1e7d Enhance README with PikaPods run button
Added a run button for PikaPods and improved project description.
2026-04-17 11:46:37 -04:00
ZeinebMegaadi 26077151ef fix: added maintenance state 2026-04-16 20:54:09 +01:00
Smolcup 55b05a2100 docs: fix discussions link in Spanish README 2026-04-16 21:43:03 +02:00
egeoztassandClaude Opus 4.6 9210259511 feat: add Twilio SMS notification channel
Adds Twilio SMS as a new notification channel, allowing users to
receive SMS alerts via the Twilio API.

Backend: provider using HTTP Basic Auth, type registration, validation,
service wiring. Uses existing fields: address (Account SID),
accessToken (Auth Token), homeserverUrl (From number), phone (To number).
Frontend: form UI with 4 fields, validation, i18n keys.
Tests: 18 provider tests + updated service test constructor.

Closes #3095

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 21:46:40 +03:00
Alexander Holliday e9a0914fad Merge pull request #3530 from egeoztass/feat/pushover-notification
feat: add Pushover notification channel
2026-04-16 11:21:43 -07:00
Alexander Holliday f392bee287 Merge pull request #3533 from bluewave-labs/fix/monitor-status-atomicity
fix: monitor status atomicity
2026-04-16 11:14:57 -07:00
egeoztassandClaude Opus 4.6 4281e87642 fix: add pushoverProvider to NotificationsService test constructor
The existing test was missing the new pushoverProvider argument,
causing settingsService to be passed in the wrong position.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 21:14:47 +03:00
Alex Holliday d40b766c83 timescaleDB implementation 2026-04-16 11:12:06 -07:00
Alexander Holliday d139db7697 Merge pull request #3512 from SkyKingPX/feat/improved-status-bar-messages
Improve status bar messages on public status pages
2026-04-16 11:02:07 -07:00
Alex Holliday 7547d1db2e update tests 2026-04-16 10:59:43 -07:00
Alex Holliday 24d7ead1d1 use a projected window instead of read/write 2026-04-16 10:59:30 -07:00
SkyKingPX e60dbb9f74 Add .gitattributes file so LF endings are preserved 2026-04-16 19:57:21 +02:00
Alexander Holliday f12a96ce58 Merge pull request #3532 from mayssagl/fix/email-templates-missing-from-dist
fix: copy email templates to dist during build
2026-04-16 10:56:55 -07:00
SkyKingPX 5920b92869 Run npm format 2026-04-16 19:55:17 +02:00
Alex Holliday 8f55d966f9 rename methods, remove unused helpers 2026-04-16 10:50:30 -07:00
Alex Holliday c7ef412d7a atomic update 2026-04-16 10:41:00 -07:00
mayssagl 14f76ec10b fix: copy email templates to dist during build 2026-04-16 18:35:17 +01:00
ZeinebMegaadi d532d13371 fix(lifecycle updated) 2026-04-16 18:33:44 +01:00
ZeinebMegaadi 58532d1ff6 fix(monitors): handle initializing and breached states in stat box 2026-04-16 18:09:05 +01:00
Alexander Holliday b5fe314dde Merge pull request #3531 from mayssagl/fix-claude.md
docs: improve CLAUDE.md with architecture flow and repository pattern…
2026-04-16 10:01:33 -07:00
SkyKingPX 0d163e7100 Change Breached to exceeded thresholds 2026-04-16 18:56:06 +02:00
mayssagl 5dda0b51c3 docs: improve CLAUDE.md with architecture flow and repository pattern explanation 2026-04-16 17:42:11 +01:00
Alexander Holliday 273aa7d01a Merge pull request #3529 from SkyKingPX/feat/docker-images-script-windows
Add windows batch script for creating docker images automatically
2026-04-16 09:41:15 -07:00
egeoztassandClaude Opus 4.6 cc1b6df8f2 style: run prettier on notification create page
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 16:55:30 +03:00
egeoztassandClaude Opus 4.6 97353bc7d2 feat: add Pushover notification channel
Adds Pushover as a new notification channel, allowing users to receive
push notifications on their devices via the Pushover API.

Backend: provider, type registration, validation, service wiring
Frontend: form UI with app token and user key fields, validation, i18n
Tests: full unit test suite (15 tests, 100% coverage on provider)

Closes #3445

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 16:25:24 +03:00
SkyKingPX 10a703d657 Update CONTRIBUTING.md 2026-04-16 13:49:58 +02:00
SkyKingPX b3077f6239 Merge branch 'feat/docker-images-script-windows' of https://github.com/SkyKingPX/Checkmate into feat/docker-images-script-windows 2026-04-16 13:46:33 +02:00
SkyKingPX 80ae5a1977 Add windows docker image build script 2026-04-16 13:46:16 +02:00
SkyKingPX 8579708f05 Add script 2026-04-16 13:41:30 +02:00
SkyKing_PX 675ec40836 Merge branch 'bluewave-labs:develop' into feat/improved-status-bar-messages 2026-04-16 13:40:10 +02:00
SkyKingPX 7b164e4df5 Make requested changes 2026-04-16 13:37:54 +02:00
Alexander Holliday 2be1b48995 Merge pull request #3527 from bluewave-labs/fix/demo-user
fix: demo user
2026-04-15 14:02:22 -07:00
Alex Holliday be3b7c2e86 add demo role to list of roles 2026-04-15 13:54:05 -07:00
Alex Holliday 69bec42a66 restrict editing user routes to regular users 2026-04-15 13:53:55 -07:00
Alexander Holliday 12b879ced5 Merge pull request #3526 from bluewave-labs/fix/notification-deletion
fix: remove notifications from monitors before deleting notifications
2026-04-15 13:31:42 -07:00
Alex Holliday 9e24cc655c remove notifications from monitors before deleting notifications 2026-04-15 13:21:14 -07:00
Alexander Holliday 95db80db5d Merge pull request #3525 from bluewave-labs/feat/initializaiton-tests
feat: initializaiton tests
2026-04-15 11:19:07 -07:00
Alexander Holliday ab7f2c42f5 Merge pull request #3524 from bluewave-labs/fix/streak-time
fix: tighten streak time coniditional
2026-04-15 11:09:33 -07:00
Alex Holliday be462811ac test initializing state 2026-04-15 11:08:40 -07:00
Alex Holliday 564b356115 tighten streak time coniditional 2026-04-15 11:06:30 -07:00
Alexander Holliday bcacd42162 Merge pull request #3523 from bluewave-labs/fix/initialization-state
fix: monitor init
2026-04-15 11:01:15 -07:00
Alex Holliday 6f7fba5ae5 fixes a bug where state was not correctly calcluated for monitors in initializing state 2026-04-15 10:54:43 -07:00
Alexander Holliday 61d753b119 Merge pull request #3522 from bluewave-labs/feat/additional-heartbeat-tests
feat: add additional heartbeat tests
2026-04-15 10:33:44 -07:00
ZeinebMegaadi b482e871a3 updated fix for same issue 2026-04-15 16:12:10 +01:00
ZeinebMegaadi bca602f4b0 docs: add monitor lifecycle explanation to README 2026-04-15 15:13:35 +01:00
ZeinebMegaadi f6222014b7 Fix: correct Active for display on down monitors 2026-04-15 14:51:12 +01:00
SkyKing_PX 360e8ad2a0 Merge branch 'bluewave-labs:develop' into feat/improved-status-bar-messages 2026-04-14 20:47:59 +02:00
Alex Holliday e8bcfdd21d add additional heartbeat tests 2026-04-14 11:31:09 -07:00
Alexander Holliday fd8dce8abe Merge pull request #3510 from bluewave-labs/feat/monitor-status-refactor
feat/monitor status refactor
2026-04-14 10:59:44 -07:00
Alex Holliday b9c14c76c9 add tests for new helper functions 2026-04-14 10:46:26 -07:00
Alex Holliday bf60c52692 simplify hardware changes 2026-04-14 10:41:55 -07:00
SkyKingPX a8339c0169 Improve status bar messages on public status pages 2026-04-14 19:32:05 +02:00
Alex Holliday d74f1bb6a8 add private helper methods to updateMonitorStats 2026-04-14 10:28:43 -07:00
Alexander Holliday 9bb7224fc4 Merge pull request #3505 from bluewave-labs/fix/notification-fix-down
fix: notification down not sent
2026-04-14 09:43:05 -07:00
Alex Holliday 403290db32 Merge branch 'develop' into fix/notification-fix-down 2026-04-14 09:41:16 -07:00
Alexander Holliday 98ae6b1105 Merge pull request #3508 from bluewave-labs/fix/monitor-status-tests
fix: additional status service tests
2026-04-14 09:40:58 -07:00
Alex Holliday 2014825618 additional tests 2026-04-14 09:40:14 -07:00
Alexander Holliday 4a61bc88d3 Merge pull request #3507 from bluewave-labs/fix/monitor-status-tests
fix: add test for monitor status
2026-04-14 09:37:27 -07:00
Alex Holliday fa4c0632ae add test for monitor status 2026-04-14 09:35:58 -07:00
mannilakash ece16158ef fix: notification down not sent 2026-04-14 12:07:51 -04:00
Alexander Holliday bd27721685 Merge pull request #3502 from bluewave-labs/feat/test-workflow
feat: add check-tests workflow
2026-04-13 13:11:23 -07:00
Alex Holliday 7c8549d092 fix messages 2026-04-13 13:08:33 -07:00
Alex Holliday 1e8c9d0187 stub out poeditor-sync 2026-04-13 13:07:21 -07:00
Alexander Holliday faa59ab694 Merge pull request #3501 from bluewave-labs/fix/notification-timeouts
fix: notification timeouts
2026-04-13 13:03:37 -07:00
Alex Holliday de4de0f5db add check-tests workflow 2026-04-13 13:03:22 -07:00
Alex Holliday 48c1e326c8 use relative paths for testing 2026-04-13 12:59:49 -07:00
Alex Holliday 22f54391d0 use abstract class 2026-04-13 12:55:20 -07:00
Alex Holliday 0bb3320010 add abstract class with default timeout and helper method 2026-04-13 12:54:51 -07:00
Alexander Holliday 7998bae87d Merge pull request #3500 from bluewave-labs/fix/invite-validation
fix: enforce correct role types
2026-04-13 12:37:33 -07:00
Alex Holliday ec929aef45 enforce correct role types 2026-04-13 12:26:14 -07:00
Alexander Holliday 77e72bc3bf Merge pull request #3499 from bluewave-labs/fix/update-running-stats
fix: remove in memory modification of monitor stats
2026-04-13 12:18:31 -07:00
Alex Holliday e1b00ce735 dedupe monitor stats, run migrations before index creation 2026-04-13 11:58:24 -07:00
Alex Holliday 0fcb38f7e6 Merge branch 'develop' into fix/update-running-stats 2026-04-13 11:48:18 -07:00
Alex Holliday b3930b31f2 remove in memory modification of monitor stats 2026-04-13 11:39:29 -07:00
Alexander Holliday 6222635eef Merge pull request #3498 from bluewave-labs/fix/stats-init
fix: initialize timeOfLastFailure
2026-04-13 11:01:59 -07:00
Alex Holliday dc7688bc13 initialize timeOfLastFailure 2026-04-13 10:58:58 -07:00
Gorkem Cetin c287cf16d1 Update pull_request_template.md 2026-04-13 13:38:48 -04:00
mannilakash ac51dfeab7 fix: removing default value for strategy - monitors 2026-04-13 13:17:24 -04:00
mannilakash 99a5aa1722 fix: badge and timescaleDB changes 2026-04-13 08:29:12 -04:00
Alexander Holliday ff114b3ab2 Merge pull request #3494 from bluewave-labs/feat/integration-tests
feat: integration tests
2026-04-11 15:03:22 -07:00
Alex Holliday 233966b73d add heartbeat tests 2026-04-11 14:45:36 -07:00
Alex Holliday 45d4779b45 fix race condition in heartbeat job 2026-04-11 13:57:57 -07:00
Alexander Holliday d608b5ea24 Merge pull request #3492 from bluewave-labs/feat/service-tests
feat/service tests
2026-04-10 12:43:54 -07:00
Alex Holliday 1ad750e2ef fix ternary condiiton 2026-04-10 12:41:46 -07:00
Alex Holliday 4d1af5e2b4 fix TS errors, add missing tests 2026-04-10 12:33:08 -07:00
Alex Holliday b515d688f4 add geo check service tests 2026-04-10 11:43:02 -07:00
Alex Holliday ff92b307bb add diagnosticService tests 2026-04-10 11:39:26 -07:00
Alex Holliday e4ffe0e267 inviteSerice tests 2026-04-10 11:30:31 -07:00
Alex Holliday 2b121355c8 status page service tests 2026-04-10 11:25:54 -07:00
Alex Holliday e7db938baa import monitors bug fix 2026-04-10 11:15:28 -07:00
Alex Holliday 1b746d0f0a remvoe dead code from monitor service 2026-04-10 11:13:12 -07:00
Alex Holliday 6886fc75de monitorService tests 2026-04-10 11:07:48 -07:00
Alex Holliday 5c5f84a5b2 user service tests 2026-04-10 10:59:48 -07:00
Alex Holliday a12154523f settingsService tests 2026-04-10 10:50:37 -07:00
Alex Holliday 6c8adf8594 add tests for maintenancewindowsercie 2026-04-10 10:39:04 -07:00
Alex Holliday a0f73e4e8d add notificaiton provider tests 2026-04-09 11:05:21 -07:00
Alex Holliday 63efef65c7 add provider tests 2026-04-09 10:36:59 -07:00
Alex Holliday dca09daf35 add tests for globalPingService 2026-04-09 10:03:23 -07:00
Alex Holliday db833b441a add tests for emailService 2026-04-09 09:49:12 -07:00
Alex Holliday bb55f3b3eb add tests for notificaitonMessageBuilder 2026-04-09 09:41:17 -07:00
Alex Holliday 88e0660762 add tests for buffer service 2026-04-09 09:36:51 -07:00
Alex Holliday a8c172c77f add tests for network service 2026-04-09 09:27:38 -07:00
Alex Holliday b355da4aed Merge branch 'develop' into feat/server-testing 2026-04-09 09:15:55 -07:00
Alexander Holliday 77a4bf9c36 Merge pull request #3479 from ad2ien/fix/matrix-notif
Fix matrix notifications
2026-04-09 09:15:15 -07:00
Adrien Touzouli 6a0f4372c6 fix(notifications): fix matrix notifications
Respect Matrix spec, factorize api call and improve error log
2026-04-09 06:08:05 +02:00
Alex Holliday db378120be add queue tests 2026-04-08 12:03:26 -07:00
Alex Holliday ba5368f942 add notificationsService tests 2026-04-08 11:32:08 -07:00
Alex Holliday 7329306ccf add incident serivce tests 2026-04-08 10:43:47 -07:00
Alex Holliday 365987c287 relocate tests, add statusService tests 2026-04-08 10:31:24 -07:00
Gorkem Cetin 09d6147f75 Remove Translations section from README
Removed the Translations section from the README.
2026-04-08 01:26:16 -04:00
Gorkem Cetin 86ab1f2146 Add Coolify and Cloudzy 2026-04-07 18:34:28 -04:00
Alexander Holliday 934f85f505 Merge pull request #3460 from bluewave-labs/fix/server-test-suite-failures
fix: align server test suite with current source implementations
2026-04-07 11:11:51 -07:00
Alex Holliday 96beda5c47 update mock logger and tests 2026-04-07 11:10:24 -07:00
Alexander Holliday 504d6157e5 Merge pull request #3473 from bluewave-labs/fix/actions
fix: disable poeditor workflow
2026-04-07 09:58:41 -07:00
Alex Holliday 628bca3e29 disable poeditor workflow 2026-04-07 09:56:11 -07:00
Alexander Holliday 2c76484bad Merge pull request #3471 from bluewave-labs/feat/zh-tw
feat: add remaining zh-tw strings
2026-04-07 09:53:58 -07:00
Alex Holliday 22498756cd add remaining zh-tw strings 2026-04-07 09:46:07 -07:00
mannilakash 5791bdd5e7 fix: adding timescaledb changes 2026-04-07 07:25:35 -04:00
mannilakash f7514bc938 fix: format errors 2026-04-07 07:14:17 -04:00
mannilakash 2bbaf7d1eb feat: adding mobile/desktop pagespeed strategy 2026-04-07 07:02:44 -04:00
Alexander Holliday 7c61ca490c Merge pull request #3461 from bluewave-labs/fix/i18n-locale-migration
fix: restructure and translate all i18n locale files
2026-04-03 20:46:13 -07:00
gorkem-bwl 96f9360280 style: format migration script with prettier 2026-04-03 23:43:34 -04:00
gorkem-bwl eb4a92c84f fix: restructure and translate all i18n locale files
All 15 non-English locale files had a structural mismatch with en.json:
- en.json used nested keys (common.buttons.cancel)
- Other locales used flat keys (cancel, DeleteAccountButton)
- Result: 0.3% effective translation coverage at runtime

## Changes

Migration script (client/scripts/migrate-locales.ts):
- Restructures all locale files to match en.json's nested key structure
- Recovers existing translations via safe key-matching strategies
- Backs up originals to locales/backup/

Translation of all 15 languages:
- ar (94.6%), cs (91.6%), de (89.4%), es (92.6%), fi (94.2%)
- fr (86.7%), ja (93.3%), pt-BR (91.0%), ru (93.0%), th (93.4%)
- tr (91.9%), uk (94.3%), vi (92.5%), zh-CN (94.0%), zh-TW (94.2%)

Keys intentionally left in English are technical terms (HTTP, CPU,
Docker, gRPC, etc.), placeholder examples, and brand names.

en.json was NOT modified.
2026-04-03 23:35:14 -04:00
gorkem-bwl c80720c8c9 fix: align server test suite with current source implementations
## Changes
- teamsProvider.test.ts: fix got mock wiring (use top-level mockPost
  with dynamic import so mock intercepts correctly), fix getTestMessage
  assertion, fix incident URL path
- superSimpleQueueHelper.test.ts: change default import to named import,
  update constructor from object to 16 positional params, rename
  getMonitorJob -> getHeartbeatJob, add all missing dependencies
- monitorService.test.ts: remove stale constructor params (db,
  stringService, papaparse, errorService), add missing params
  (geoChecksRepository, incidentsRepository), fix method names
  (findLatestChecksByMonitorIds -> findLatestByMonitorIds,
  findDateRangeChecksByMonitor -> findByDateRangeAndMonitorId),
  update assertions from checks -> recentChecks
- jest.config.ts: consolidate @/utils path mapping to resolve .ts files
- Extract shared createMockLogger to test/helpers/

Closes #3457
2026-04-03 21:56:14 -04:00
Alexander Holliday 42e82af9bb Merge pull request #3458 from bluewave-labs/feat/scheduler/1.9.1
feat: bump scheduler, consume scheduler events
2026-04-03 15:38:12 -07:00
Alex 7636d2d090 error -> warn on job fail, register listeners before starting scheduler 2026-04-03 15:36:37 -07:00
Alex Holliday 72728748f8 bump scheduler, consume scheduler events 2026-04-03 13:21:16 -07:00
Alexander Holliday 4222d39a8b Merge pull request #3456 from bluewave-labs/fix/job-queue
fix geocheck update logic
2026-04-01 11:04:50 -07:00
Alex Holliday fb69e29adf fix geocheck update logic 2026-04-01 11:00:17 -07:00
Alexander Holliday 0d90083e63 Merge pull request #3455 from mayssagl/develop
Fix outdated links and add Prerequisites section
2026-04-01 10:10:48 -07:00
Alexander Holliday 8ab049aa6c Merge pull request #3447 from bluewave-labs/feat/dlq
Feat(DLQ): Add DLQ data layer -> types, model, and repository
2026-03-27 12:35:31 -07:00
Alexander Holliday 69b6955ced Merge pull request #3439 from LeC-D/fix/telegram-notification-type
feat(notifications): add Telegram notification channel (#2753)
2026-03-27 12:04:01 -07:00
LeC-D 04dfff4ebd fix(notifications): remove redundant defaultValue prop and fix incident URL in telegram provider
- Remove redundant 'defaultValue' prop on Telegram chat ID Controller in create/index.tsx;
  the form already initialises via 'defaultValues: defaults' at the useForm level, making
  the per-Controller prop unnecessary and inconsistent with the reviewer's expectation.
- Fix 'View Incident' URL in telegram.ts: was pointing to the infrastructure details page
  (/infrastructure/:id) instead of the incidents page (/incidents/:id).
2026-03-27 14:19:27 -04:00
Aryaman Sharma 15b0deb0bd Merge branch 'develop' into feat/dlq 2026-03-27 23:24:45 +05:30
Br0wnHammer a895912b99 refactor(dlq): inline DLQItemDocumentBase into DLQItemDocument 2026-03-27 23:23:01 +05:30
Alexander Holliday 22d2626a93 Merge pull request #3441 from bluewave-labs/feat/timescaledb
feat: timescaledb
2026-03-27 10:40:17 -07:00
Br0wnHammer 214fc4899c feat(dlq): add MongoDLQRepository with retry polling and grouped count queries 2026-03-27 20:08:18 +05:30
Br0wnHammer e6088fe06f feat(dlq): add IDLQRepository interface for dead letter queue data access 2026-03-27 20:07:00 +05:30
Br0wnHammer 60b1d95b74 feat(dlq): add DLQItem Mongoose model with indexes for retry polling and cleanup 2026-03-27 20:06:12 +05:30
Br0wnHammer 94ca9896db feat(dlq): add DLQItem type definitions for dead letter queue 2026-03-27 20:05:03 +05:30
LeC-D 13a7ae82e3 fix(notifications): remove type casts with exhaustive type narrowing in useNotificationForm
Replace the loose NotificationDefaults intermediate type and 'as NotificationFormData'
cast with an exhaustive buildDefaults() helper that narrows each branch of the
discriminated union explicitly. TypeScript now infers the return type correctly from
the discriminated union without any casts, satisfying strong typing for all channels
(email, slack, discord, webhook, pager_duty, teams, matrix, telegram).
2026-03-26 14:07:50 -04:00
Alex Holliday de3af64254 migrations, gitignore 2026-03-26 10:57:20 -07:00
Alex Holliday 317d531775 remove comments 2026-03-26 10:44:59 -07:00
Alex Holliday 2b2db2df6f set default all for incident validation 2026-03-26 10:33:19 -07:00
Alex Holliday c558c4b635 use ca tables 2026-03-26 10:30:15 -07:00
Alex Holliday be29cce788 db types 2026-03-26 09:47:10 -07:00
Alex Holliday e87879970a fix TS errors 2026-03-26 09:30:20 -07:00
Leandre Chamberland-Dozois 4c94a7c21e fix: resolve TypeScript build errors in notification form types 2026-03-25 19:13:37 -04:00
LeC-D 40968c370b refactor(notifications): hoist default values, remove else block in useNotificationForm
Per @ajhollid review: define defaults up-front with a NotificationDefaults type
and eliminate the trailing else branch entirely. The if/else-if blocks only
override when the type is matrix or telegram.
2026-03-25 18:06:26 -04:00
LeC-DandClaude Opus 4.6 a864bc0c05 fix: run format and fix build errors
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-25 16:52:48 -04:00
Alex Holliday 62e86434c2 checks repo, barrel export 2026-03-25 13:52:18 -07:00
Alex Holliday 07957d3a1f geo-checks repo 2026-03-25 13:52:10 -07:00
Alex Holliday bc088c3589 add incidents repo, rename old repo 2026-03-25 13:51:57 -07:00
Alex Holliday 5ea86d8e71 add inivtes repo 2026-03-25 13:51:37 -07:00
Alex Holliday 0944dba386 add maintenance-windows repo 2026-03-25 13:51:23 -07:00
Alex Holliday 86acc0c30a add monitor-stats repo 2026-03-25 13:51:12 -07:00
Alex Holliday dcdde845db monitors rep 2026-03-25 13:51:03 -07:00
Alex Holliday 3039fb9b69 nottificaitons repo 2026-03-25 13:50:46 -07:00
Alex Holliday 729600a86f recovery tokens repo 2026-03-25 13:50:33 -07:00
Alex Holliday 51853cb360 add settings repo 2026-03-25 13:50:22 -07:00
Alex Holliday f7db732d67 add status-pages repo 2026-03-25 13:50:12 -07:00
Alex Holliday 9e686a2319 add user repo 2026-03-25 13:49:56 -07:00
Alex Holliday da6f03ba59 add teams repo 2026-03-25 13:49:46 -07:00
Alex Holliday 276b11603e throw error on missing continent 2026-03-25 13:49:13 -07:00
Alex Holliday f09f0630dc update error handler 2026-03-25 13:48:50 -07:00
Alex Holliday 1defa52ae8 update config 2026-03-25 13:48:36 -07:00
Alex Holliday f43b7584a6 add PG dependencies 2026-03-25 13:47:56 -07:00
Alex Holliday ee74584699 Add method to interface 2026-03-25 13:47:36 -07:00
Alex Holliday 2422fcc83b update gitignore 2026-03-25 13:47:14 -07:00
Alex Holliday 0ecc2e21e5 Implemement TimescaleDB class 2026-03-25 13:47:01 -07:00
LeC-D fe242b1977 fix: replace nested ternaries and remove type casts per review
- useNotificationForm: replace nested ternary with if/else if/else block
- TelegramProvider: type error as unknown and access properties safely
  via instanceof checks instead of casting to HTTPError
2026-03-25 14:03:49 -04:00
LeC-D d1f1d31ea2 fix(i18n): revert en.json to upstream format, keep only telegram keys
The previous commit reformatted the entire en.json (spaces → kept as-is
but accumulated unrelated upstream changes), creating a 1.3k line diff.

Restore the file to match upstream/develop exactly and add only the
Telegram-specific i18n keys required by this PR.
2026-03-24 17:22:34 -04:00
Léo eacbb227c3 feat(notifications): add Telegram notification channel (#2753)
Add Telegram as a new notification type, allowing users to receive
monitor alerts via a Telegram bot.

Configuration requires:
- Bot token (obtained from @BotFather)
- Chat ID (user, group, or channel)

Changes:
- TelegramProvider: sends HTML-formatted messages via Telegram Bot API
- NotificationsService: route telegram type to TelegramProvider
- Notification model/types: add 'telegram' to NotificationChannel enum
- Server validation: telegram schema (accessToken + address/chat_id)
- Client Types/Validation: telegram schema with accessToken + address
- useNotificationForm: handle telegram defaults
- Notifications create page: render Telegram config UI
- en.json: add telegram i18n keys
2026-03-24 10:15:46 -04:00
Alexander Holliday c24b41ecd9 Merge pull request #3437 from bluewave-labs/fix/notificaiton-upper-limit
fix: add upper limit to notificationValidation
2026-03-23 10:16:05 -07:00
Alex 94cf4f17d1 add upper limit to notificationValidation 2026-03-23 10:13:43 -07:00
Alexander Holliday 0a6d876f4f Merge pull request #3376 from ashu130698/feat/bulk-edit-notifications
feat: add bulk edit monitor notifications endpoint
2026-03-23 10:11:12 -07:00
Mayssaaa gloulou ec129e3604 Fix outdated links and add Prerequisites section 2026-03-23 13:49:08 +01:00
ashu130698 833e2b63ad fix: resolve duplicate identifiers and missing interface method from merge 2026-03-21 01:24:52 +05:30
Alexander Holliday bc2bab87ba Merge pull request #3436 from bluewave-labs/fix/remaining-lint-errors
fix: resolve remaining ESlint errors
2026-03-20 12:42:54 -07:00
Alex Holliday ee5f7427e7 resolve remaining ESlint errors 2026-03-20 12:40:27 -07:00
Alexander Holliday d5968b841e Merge branch 'develop' into feat/bulk-edit-notifications 2026-03-20 12:28:57 -07:00
Alexander Holliday 26bac6d35a Merge pull request #3435 from bluewave-labs/fix/migrations
fix: migration lint errors
2026-03-20 12:24:08 -07:00
ashu130698 3e010f1c0d style: run prettier to fix formatting issues after upstream merge 2026-03-21 00:52:36 +05:30
Alex Holliday 1a504a3cd9 fix migraiton lint errors 2026-03-20 12:22:22 -07:00
Alex Holliday 120c5cd472 repo lint errors 2026-03-20 12:16:23 -07:00
Alexander Holliday cdf17bf600 Merge pull request #3433 from bluewave-labs/fix/controllers
fix/controllers
2026-03-20 11:55:59 -07:00
Alex Holliday 7144c20c5b check,auth 2026-03-20 11:52:53 -07:00
Alex Holliday 7456609e35 diagnostic 2026-03-20 11:51:54 -07:00
Alex Holliday 05c293d689 geo 2026-03-20 11:51:17 -07:00
Alex Holliday 80f3168837 invite, inident 2026-03-20 11:50:47 -07:00
Alex Holliday 332300dde4 log controller 2026-03-20 11:48:58 -07:00
Alex Holliday d4a8023a76 monitors 2026-03-20 11:47:22 -07:00
Alex Holliday c7e449d18c notifications 2026-03-20 11:45:04 -07:00
Alex Holliday 0495bef469 queue 2026-03-20 11:43:37 -07:00
Alex Holliday 6fb7ad63f6 settings 2026-03-20 11:42:40 -07:00
Alex Holliday 8322adbb26 statusPageController interface 2026-03-20 11:39:19 -07:00
Alexander Holliday 4470c87d42 Merge pull request #3431 from bluewave-labs/fix/infra-services
fix: infra services
2026-03-20 11:37:19 -07:00
Alexander Holliday 95bda35ec6 Merge pull request #3430 from bluewave-labs/fix/services
fix/services
2026-03-20 11:33:48 -07:00
Alex Holliday 928ab7551e fixes 2026-03-20 11:33:40 -07:00
Alex Holliday 465cea21bc use interface 2026-03-20 11:29:44 -07:00
Alex Holliday 404bd5d06b add interface to AdvancedMathcer, fix type 2026-03-20 11:28:53 -07:00
ashu130698 05814854df Merge branch 'upstream/develop' into feat/bulk-edit-notifications and resolve conflicts 2026-03-20 23:54:33 +05:30
Alex Holliday a4a3249b5b maintenacne window 2026-03-20 11:20:22 -07:00
ashu130698 1e6cf858c4 fix: address PR review feedback and add Zod validation constraints 2026-03-20 23:39:38 +05:30
Alex Holliday 533a8911cd fix errors in inviteService 2026-03-20 11:03:45 -07:00
Alex Holliday 2fb7516ca1 fix return type 2026-03-20 11:00:30 -07:00
Alex Holliday 6d2008e8d3 geo checks service 2026-03-20 10:59:34 -07:00
Alex Holliday 7332b15242 fix diagnosticSerivce lint error 2026-03-20 10:51:06 -07:00
Alexander Holliday d618a861e3 Merge pull request #3429 from bluewave-labs/fix/monitor-service-lint
fix/monitor service lint
2026-03-20 10:43:32 -07:00
Alex Holliday f69752ccb4 remove casts 2026-03-20 10:37:29 -07:00
Alex Holliday 210881a375 remove unused import 2026-03-20 10:17:24 -07:00
Alex Holliday d8ec8d7775 fix validation 2026-03-20 10:09:29 -07:00
Alex Holliday bfd3eee94d monitorService types 2026-03-20 09:58:49 -07:00
Alex Holliday bfbb4c390a Add type for getGeoChecksByMonitorId 2026-03-20 09:47:02 -07:00
Alexander Holliday 1285a641e8 Merge pull request #3428 from bluewave-labs/fix/status-page-swr-config
fix: modifying refreshInterval=10s for statusPage api
2026-03-20 09:38:46 -07:00
mannilakash 78566c0226 fix: modifying refreshInterval=10s for statusPage api 2026-03-19 11:34:26 -04:00
Alexander Holliday f5ba387261 Merge pull request #3427 from bluewave-labs/fix/swagger-post-monitor-schema
fix: updating swagger for createMonitor and /monitor/teams
2026-03-18 14:40:58 -07:00
Alexander Holliday 48b415a67c Merge pull request #3426 from bluewave-labs/fix/swagger-put-monitor
fix: updating swagger - /PUT to /PATCH monitor/{monitorId}
2026-03-18 14:40:34 -07:00
Alexander Holliday b53f0e56ea Merge pull request #3425 from bluewave-labs/feat/status-page-infra-section-fe
feat: status-page infra section FE
2026-03-18 14:40:01 -07:00
Alexander Holliday 07f828a01a Merge pull request #3424 from bluewave-labs/feat/status-page-infra-section-be
feat: status-page infrastructure section BE
2026-03-18 14:38:57 -07:00
mannilakash b09203664d fix: updating swagger for createMonitor and /monitor/teams 2026-03-18 17:30:19 -04:00
mannilakash 5a12105c3d fix: statusPageMonitor removal of infrastructureMonitors[] 2026-03-18 17:02:17 -04:00
mannilakash 22f79144d8 fix: hardcoded statusPage value fix 2026-03-18 16:25:07 -04:00
mannilakash f749ed46a6 fix: updating swagger - schema changes monitor/{monitorId} 2026-03-18 16:11:36 -04:00
mannilakash 5c23ebe315 fix: updating swagger - /PUT to /PATCH monitor/{monitorId} 2026-03-18 15:36:11 -04:00
mannilakash 115fcc67f6 fix: fetching game/grpc/websocket as well for statusPage 2026-03-17 15:14:44 -04:00
mannilakash 622446c308 fix: refactoring monitorsList and minor fixes based on feedback 2026-03-17 15:01:30 -04:00
mannilakash 294a149fd1 fix: minor changes to statusPageValidation and other fixes 2026-03-17 13:43:36 -04:00
mannilakash d3d00353a1 fix: minor refactoring infrastructureMetrics 2026-03-17 06:04:42 -04:00
mannilakash 894b6a7a7d feat: status-page infra section FE 2026-03-16 17:46:13 -04:00
mannilakash 3a9f9f0ce5 feat: status-page infrastructure section BE 2026-03-16 17:14:28 -04:00
Alexander Holliday 45618a2ab0 Merge pull request #3416 from bluewave-labs/fix/heatmap-response-time-fix
fix: modify heatmap response time conditional text
2026-03-13 12:00:13 -07:00
Alexander Holliday d80e232a10 Merge pull request #3418 from bluewave-labs/fix/middleware-typing
fix: middleware typing
2026-03-13 11:41:50 -07:00
ashu130698 1706012e54 fix:format code 2026-03-13 21:40:28 +05:30
Alex Holliday db9d5cf5e4 verifyJWT types 2026-03-12 11:25:32 -07:00
Alex Holliday 52a6b4c9fa overload sanitizeInput 2026-03-12 11:17:39 -07:00
Alex Holliday 9646e7dbdc type handleErrors 2026-03-12 11:12:46 -07:00
mannilakash d6ceedc2dd fix: upstream changes for resolving invalid responseTime 2026-03-12 14:05:31 -04:00
Alexander Holliday 501664509b Merge pull request #3417 from bluewave-labs/fix/check-snapshot
fix: properly type snapshot
2026-03-12 10:51:38 -07:00
Alex Holliday 2ef184c58a properly type snapshot 2026-03-12 10:43:18 -07:00
Alexander Holliday 22f917034d Merge pull request #3415 from bluewave-labs/fix/unset-with-explicit-null
fix: unset with explicit null
2026-03-12 10:12:40 -07:00
Alex Holliday 81f623b632 properly type updates 2026-03-12 10:05:36 -07:00
Alex Holliday d3605b0149 update client validation/pages 2026-03-12 09:54:08 -07:00
Alex Holliday 48e71d4345 use null for unsetting instead of empty string 2026-03-12 09:53:31 -07:00
mannilakash 411270d256 fix: modify heatmap response time conditional text 2026-03-12 12:44:46 -04:00
Alexander Holliday 6404a06999 Merge pull request #3414 from bluewave-labs/fix/settings-controller-typing
fix: SettingsController correct types
2026-03-12 09:38:56 -07:00
Alex Holliday a2bc2d8442 Merge branch 'fix/settings-controller-typing' of github.com:ajhollid/bluewave-uptime into fix/settings-controller-typing 2026-03-12 09:37:37 -07:00
Alex Holliday e9cb302d6e remove dead unions 2026-03-12 09:37:25 -07:00
Alex Holliday fa8764fde2 remove dead union, remove unused undefined -> conversion 2026-03-12 09:37:25 -07:00
Alex Holliday 84ca5db0fa refactor settingsController 2026-03-12 09:37:08 -07:00
Alex Holliday 8ec285ed41 remove dead unions 2026-03-12 09:35:33 -07:00
Alex Holliday d070a33d7f remove dead union, remove unused undefined -> conversion 2026-03-12 09:32:34 -07:00
Alex Holliday aa61e0f321 refacotr settingsController 2026-03-12 09:13:35 -07:00
ashu130698 88a39fe502 Merge branch 'upstream/develop' into feat/bulk-edit-notifications and resolve conflicts 2026-03-12 13:17:40 +05:30
Alexander Holliday a6b92d3c51 Merge pull request #3412 from bluewave-labs/fix/queueController-types
fix: QueueController Types
2026-03-11 14:10:26 -07:00
Alex Holliday 1af609a569 remove unsued route/methods 2026-03-11 14:08:20 -07:00
Alex Holliday 61cc0c2bef remove unused route 2026-03-11 13:51:37 -07:00
Alexander Holliday e4a228e61e Merge pull request #3411 from bluewave-labs/fix/notification-controller-validation
fix: implement NotificationController missing validation
2026-03-11 13:46:51 -07:00
Alex Holliday 76f550843b remove dead check 2026-03-11 13:45:17 -07:00
Alex Holliday 15d8a8ba1f fix test alert type 2026-03-11 13:40:35 -07:00
Alexander Holliday 842fa92cec Merge pull request #3401 from bluewave-labs/fix/rename-breached-to-exceeded
fix: rename "breached" status to "threshold exceeded"
2026-03-11 13:36:53 -07:00
Alex Holliday e878f51887 use service name 2026-03-11 13:30:39 -07:00
gorkem-bwl 9466090332 fix: rename "breached" to "threshold exceeded" in user-facing strings
Only changes user-facing text — no enum, type, or backend status changes.

## Changes
- locales/en.json: "breached" → "threshold exceeded"
- notificationMessageBuilder.ts: notification title/summary/details
- email.ts: email subject line
2026-03-11 16:30:30 -04:00
Alex Holliday 16b267d3a5 implement missing validation 2026-03-11 13:28:48 -07:00
Alexander Holliday 01f2aa294e Merge pull request #3410 from bluewave-labs/fix/monitor-controller-validation
fix: validation in monitor controller
2026-03-11 13:15:41 -07:00
Alex Holliday c156a49cc0 remove dead check 2026-03-11 13:10:09 -07:00
Alex Holliday 20ff76df9d remove unsued route/validation 2026-03-11 13:07:56 -07:00
Alex Holliday ff90953f17 cleanup and tighten validation 2026-03-11 12:57:27 -07:00
Alex Holliday 545926cfcf fix validation in monitor controller 2026-03-11 12:41:27 -07:00
Alexander Holliday 365b6cc60a Merge pull request #3409 from bluewave-labs/fix/mw-controller-typing
fix: type MWController
2026-03-11 12:11:09 -07:00
Alex Holliday 42f6c42ae1 fix discarded validation, tighten types 2026-03-11 12:04:28 -07:00
Alex Holliday 456237ba4e tighten date typing 2026-03-11 12:00:19 -07:00
Alex Holliday e887c2308a type MWController 2026-03-11 11:51:01 -07:00
Alexander Holliday 24d571a8db Merge pull request #3408 from bluewave-labs/fix/logController
fix: log controller
2026-03-11 11:39:01 -07:00
Alexander Holliday d41c5e9ebf Merge pull request #3407 from bluewave-labs/fix/invite-controller-typing
fix: inviteController typing
2026-03-11 11:38:02 -07:00
Alex Holliday d07f259829 properly type logController 2026-03-11 11:37:17 -07:00
Alex Holliday 566011c4e9 fix inviteController typing 2026-03-11 11:35:36 -07:00
Alexander Holliday 3dd0e0a998 Merge pull request #3403 from bluewave-labs/fix/email-body-mjml
fix: empty email body due to TSC ignoring .mjml templates
2026-03-11 11:31:24 -07:00
Alexander Holliday cda0ec3a4c Merge pull request #3406 from bluewave-labs/fix/incident-controller-typing
fix: Incident Controller/Service typing
2026-03-11 11:18:05 -07:00
Alex Holliday d00889ff9b renamed variable 2026-03-11 11:14:44 -07:00
Alex Holliday eafd97b9ad controller, service, validation 2026-03-11 11:10:38 -07:00
Alexander Holliday 7a0e0bccf4 Merge pull request #3405 from bluewave-labs/fix/diagnostic-controller-types
fix: properly type diagnosticController
2026-03-11 10:51:42 -07:00
Alexander Holliday 01401d56b8 Merge pull request #3404 from bluewave-labs/fix/controller-utils-types
fix: controller utils types
2026-03-11 10:51:11 -07:00
Alex Holliday f69b7f6a35 properly type diagnosticController 2026-03-11 10:50:10 -07:00
Alex Holliday cb5316e6f5 fix ssl-checker type 2026-03-11 10:48:12 -07:00
Alexander Holliday 25baff3013 Merge pull request #3400 from bluewave-labs/fix/dns-cache-ttl
fix: set DNS cache TTL to prevent stale lookups
2026-03-11 10:36:08 -07:00
mannilakash bcff3e15a8 fix: updating build script to add .mjml templates 2026-03-11 13:34:25 -04:00
mannilakash 1ad39fcac6 fix: empty email body due to TSC ignoring .mjml templates 2026-03-11 12:42:57 -04:00
Gorkem Cetin 85d2d34a90 Fix links to Checkmate documentation and user guide
Updated links to documentation and user guides in README.
2026-03-11 02:35:54 -04:00
Gorkem Cetin f6d9b7566b Remove project references from README
Removed references to other BlueWave projects from the README.
2026-03-11 01:47:48 -04:00
gorkem-bwl 943ef92053 fix: rename "breached" status to "exceeded" for clarity
The word "breached" in infrastructure monitoring was confusing users
as it implied a security breach. Renamed to "exceeded" which better
describes threshold violations (e.g. "threshold exceeded").

## Changes
- Renamed monitor status value from "breached" to "exceeded" across
  server types, status service, queue helper, notification builder,
  email subject lines, and MongoDB aggregation queries
- Renamed client types, status box/label components, translation key,
  and infrastructure page props to match
- Added DB migration (0005) to update existing monitors with the old
  status value
2026-03-11 01:31:05 -04:00
gorkem-bwl 84cac870d5 fix: set DNS cache TTL to prevent stale lookups
CacheableLookup defaults to maxTtl=Infinity, meaning successful DNS
lookups are cached forever until process restart. This causes monitors
to fail permanently if DNS changes or if a resolver outage causes
ENOTFOUND errors to persist after recovery.

Set maxTtl=300s (5 min) for successful lookups and errorTtl=30s for
failed lookups so the cache recovers automatically.
2026-03-10 19:04:04 -04:00
Alex Holliday 2884ab524d type fetchMonitorCertificate 2026-03-10 11:35:05 -07:00
Alexander Holliday eac470cb68 Merge pull request #3399 from bluewave-labs/fix/auth-controller
fix: type authController correctly, update services accordingly
2026-03-10 11:31:57 -07:00
Alex Holliday a15b9837c6 fix getUserById 2026-03-10 11:29:40 -07:00
Alex Holliday 562d723fcf remove redundant checks, use validated body 2026-03-10 11:25:55 -07:00
Alex Holliday 2fdd5a72f0 type authController correctly, update services accordingly 2026-03-10 11:18:59 -07:00
ashu130698 f9a4659cb2 Merge branch 'develop' into feat/bulk-edit-notifications 2026-03-10 23:27:01 +05:30
Alexander Holliday 3e26387b9d Merge pull request #3398 from bluewave-labs/feat/retention
feat: retention
2026-03-10 10:45:24 -07:00
Alex Holliday dc7d442ace remove unnecessary check 2026-03-10 10:44:02 -07:00
Alex Holliday 839f1beb41 remove __v from client type 2026-03-10 10:37:44 -07:00
Alex Holliday bbdadb0bf5 remove expiry from repository and service 2026-03-10 10:34:09 -07:00
Alex Holliday cadf68740a remove old expiry field, remove vestigal checks 2026-03-10 10:33:18 -07:00
ashu130698 0fc338db2f refactor(backend): move notifications update endpoint to monitors route and handle security feedback 2026-03-10 22:57:55 +05:30
Alex Holliday 6ad0a6a29d validation fix, batch deleteOlderThan 2026-03-10 10:20:23 -07:00
Alex Holliday 77af9d2e93 FE UI, userService type fix 2026-03-09 11:32:01 -07:00
Alex Holliday b1147b8bf9 FE implementation 2026-03-09 11:28:46 -07:00
Alex Holliday 5ab230f77b remove any types 2026-03-09 11:15:50 -07:00
Alex Holliday d9cb81e71d backend implementation 2026-03-09 11:14:40 -07:00
Alexander Holliday 0058772f61 Merge commit from fork
Fixed the Mass Assignment Privilege Escalation in Checkmate
2026-03-09 10:27:39 -07:00
Alexander Holliday bbc2e4073b Merge pull request #3375 from tb102122/feature/teams-notification-channel
add teams
2026-03-09 09:39:56 -07:00
Alexander Holliday 7967b363c2 Merge pull request #3395 from bluewave-labs/fix/demo-monitors
fix: demo monitor import
2026-03-09 09:10:27 -07:00
Aman Rawat 27dffe9fa6 Fixed 2026-03-09 13:12:01 +05:30
tobias.bruckert@mcon-group.com 7213bace08 Merge branch 'feature/teams-notification-channel' of https://github.com/tb102122/Checkmate into feature/teams-notification-channel 2026-03-09 08:43:30 +11:00
tobias.bruckert@mcon-group.com 2cbc667f30 add type checks and remove unneeded vars 2026-03-09 08:43:14 +11:00
Tobias Bruckert 978dc4cda6 Merge branch 'develop' into feature/teams-notification-channel 2026-03-09 08:33:36 +11:00
ashu130698 5578fdf17f Revert "feat(ui): add bulk edit notifications modal and checkmark selection for uptime monitors"
This reverts commit 27dd565bc6.
2026-03-07 10:40:38 +05:30
Alex Holliday a960e3aba2 fix demo monitor import 2026-03-06 14:27:57 -08:00
Alexander Holliday ff1d473b81 Merge pull request #3392 from bluewave-labs/feat/version-bump
bump bersion
2026-03-06 12:48:48 -08:00
Alex Holliday bd384bde4a bump version 2026-03-06 12:47:00 -08:00
Alexander Holliday e7f052dfa0 Merge pull request #3386 from bluewave-labs/feat/remove-team-member
Add ability to remove team members
2026-03-06 12:37:55 -08:00
Alex Holliday 9903c72ff5 merge 2026-03-06 12:36:26 -08:00
Alex Holliday d7d237d37b move button strings to correct location, flex-end 2026-03-06 12:35:38 -08:00
Alexander Holliday 5d03f6f0f0 Merge pull request #3391 from ajhollid/fix/bump-zod
explicitly bump zod
2026-03-06 12:27:34 -08:00
Alex Holliday 38e2a64255 explicitly bump zod 2026-03-06 12:25:32 -08:00
Alexander Holliday 1f56338697 Merge pull request #3390 from bluewave-labs/fix/port-env-var
Fix: restore PORT env var
2026-03-06 12:20:02 -08:00
gorkem-bwl 172467c0a6 fix: address PR review feedback
- Use useIsAdmin and useIsSuperAdmin hooks instead of manual role checks
- Close delete dialog on failure, not just on success
2026-03-06 15:19:01 -05:00
Alexander Holliday ff2b6dff2b Merge pull request #3387 from bluewave-labs/feat/uptime-websockets
Feat: Uptime - Websockets
2026-03-06 12:12:11 -08:00
Br0wnHammer 9f600f87af Fix: Dev Dependencies in Server 2026-03-07 01:40:07 +05:30
Br0wnHammer 7eeff7a396 Fix: Dev Dependencies 2026-03-07 01:37:37 +05:30
Alex Holliday afd6a12e7d restore PORT env var 2026-03-06 12:07:18 -08:00
Br0wnHammer 125d70c4b1 Format Checks 2026-03-07 01:13:00 +05:30
Br0wnHammer 5ebe46a81c Feat: Websocket Implementation 2026-03-07 01:11:20 +05:30
Br0wnHammer 19174ab3e5 Feat: update filter controls and default types 2026-03-07 01:02:30 +05:30
gorkem-bwl 7c953978ed refactor: simplify EditUser imports and canDeleteUser logic
- Merge duplicate react-router-dom imports into one
- Replace useIsAdmin + useIsSuperAdmin + useSelector with single useSelector
- Remove redundant !includes("superadmin") check from canDeleteUser
2026-03-06 14:31:59 -05:00
Br0wnHammer db5441d0e2 Feat: Frontend - update form hook and create/edit page 2026-03-07 01:01:49 +05:30
Br0wnHammer 1d529e3be4 Feat: Frontend - Add websocket to client types and validations 2026-03-07 01:00:38 +05:30
Br0wnHammer 23247d4319 Feat: Update server validation 2026-03-07 00:59:39 +05:30
Br0wnHammer 216d9b2996 Feat: Backend - Config 2026-03-07 00:58:55 +05:30
Br0wnHammer 62f1e62a26 Feat: Backend service - Implement WebSocket check in NetworkService 2026-03-07 00:57:52 +05:30
Br0wnHammer 55bdae77f9 Feat: Backend types - Register websocket type and payload 2026-03-07 00:56:58 +05:30
gorkem-bwl 82998a7795 feat: add ability to remove team members
## Changes
- Add DELETE /api/v1/auth/users/:userId endpoint (admin + superadmin)
- Add deleteUserById service method with role hierarchy enforcement
- Superadmins can remove admins and regular users
- Admins can only remove regular users
- No one can remove superadmins, demo users, or themselves via this endpoint
- Add "Remove user" button with confirmation dialog on edit user page
- Allow admins to view user details and access the edit user page
- Add i18n strings for remove user button and confirmation dialog

## Access control
- superadmin -> can remove admin, user
- admin -> can remove user only
- admin cannot remove superadmin or other admins (enforced on both backend and frontend)
2026-03-06 14:18:27 -05:00
Alexander Holliday 9fe8b7572f Merge pull request #3374 from bluewave-labs/fix/dark-mode-background-color
Fix dark mode background to use neutral gray
2026-03-06 11:14:21 -08:00
Alex Holliday a424092fbd remove unused imports 2026-03-06 11:12:52 -08:00
Alexander Holliday ad427dc765 Merge pull request #3385 from bluewave-labs/feat/globalping-ping-type
feat: globalping ping type
2026-03-06 11:10:45 -08:00
Alex Holliday 116eb80fc9 format 2026-03-06 11:07:48 -08:00
Alex Holliday c094a5fd73 format 2026-03-06 11:02:20 -08:00
Alex Holliday 206e28d1b9 user helper 2026-03-06 11:01:38 -08:00
Alex Holliday 2f1a164c26 remove rtt 2026-03-06 10:46:00 -08:00
Alex Holliday 124a8c0b07 ping type globalping checks 2026-03-06 10:37:29 -08:00
Alexander Holliday 188445c57a Merge pull request #3384 from bluewave-labs/fix/prettier
fix prettier hook
2026-03-06 09:46:08 -08:00
Alex Holliday 35f018623f fix prettier hook 2026-03-06 09:45:33 -08:00
Alexander Holliday d64526fed2 Merge pull request #3383 from bluewave-labs/fix/providers
fix: providers
2026-03-06 09:39:14 -08:00
Alex Holliday 9a8a175f7c format 2026-03-06 09:37:45 -08:00
Alex Holliday 6ecb27d522 remove buildStatusResponse 2026-03-06 09:35:52 -08:00
Alex Holliday 24b9b64979 manually build response 2026-03-06 09:35:07 -08:00
Alexander Holliday a4e4e1313e Merge pull request #3382 from bluewave-labs/fix/ts-errors
fix: resolve ts errors
2026-03-06 09:19:02 -08:00
Alex Holliday 990dc7875a format 2026-03-06 09:16:22 -08:00
Alex Holliday 69e98a51ec resolve ts errors 2026-03-06 09:14:12 -08:00
ashu130698 2a1645baf2 Merge branch 'develop' from upstream into feat/bulk-edit-notifications 2026-03-06 21:42:39 +05:30
ashu130698 8483a7bc55 fix(validation): remove invalid 2026-03-06 21:10:57 +05:30
ashu130698 27dd565bc6 feat(ui): add bulk edit notifications modal and checkmark selection for uptime monitors 2026-03-06 21:07:29 +05:30
ashu130698 c5f0316990 fix(validation): remove invalid zod enum argument 2026-03-06 20:41:33 +05:30
tobias.bruckert@mcon-group.com 08fd09f59b fix build errors 2026-03-06 19:48:19 +11:00
ashu130698 a40a76fb3c fix: resolve Zod build error and run formatter 2026-03-06 13:22:32 +05:30
tobias.bruckert@mcon-group.com 6c421717f8 run formatting 2026-03-06 17:58:04 +11:00
tobias.bruckert@mcon-group.com 083db95151 Merge branch 'feature/teams-notification-channel' of https://github.com/tb102122/Checkmate into feature/teams-notification-channel 2026-03-06 17:49:08 +11:00
tobias.bruckert@mcon-group.com b11ba68ff8 adjust based on review 2026-03-06 17:47:35 +11:00
Tobias Bruckert 12a4112055 Merge branch 'develop' into feature/teams-notification-channel 2026-03-06 13:08:41 +11:00
Alexander Holliday 3063b9cf22 Merge pull request #3379 from bluewave-labs/fix/network-providers
fix: network providers
2026-03-05 14:52:33 -08:00
Alex Holliday bd32854c7a cleanup services 2026-03-05 14:46:28 -08:00
Alex Holliday 0718e63e2f cleanup network service 2026-03-05 14:11:11 -08:00
Alexander Holliday cdb70f9171 Merge pull request #3378 from bluewave-labs/fix/email
Fix/email
2026-03-05 14:01:03 -08:00
Alex Holliday 69e07975e3 bump dependencies 2026-03-05 13:57:45 -08:00
Alex Holliday c5c9a1a88b fix missing await 2026-03-05 13:57:39 -08:00
Alexander Holliday 31efa791bd Merge pull request #3377 from bluewave-labs/fix/providers
fix/providers
2026-03-05 13:23:27 -08:00
Alex Holliday f8c0b57d21 remove unused imports 2026-03-05 19:37:32 +00:00
Alex Holliday 605c969d2f merge commit 2026-03-05 19:37:03 +00:00
Alex Holliday ad7d4e54c3 cleanup 2026-03-05 19:34:57 +00:00
Alex Holliday c7689cc64a grpc 2026-03-05 19:18:29 +00:00
Alex Holliday 27c44a0fbd config 2026-03-05 18:48:19 +00:00
Alex Holliday 190d9dd2b1 gameProvider 2026-03-05 18:45:27 +00:00
Alex Holliday 49672db563 port provider 2026-03-05 18:35:19 +00:00
Alex Holliday 80603c9a42 port provider 2026-03-05 18:30:06 +00:00
Alex Holliday f3b156f2d0 docker provider 2026-03-05 18:19:03 +00:00
ashu130698 4d7de2d3a1 fix: resolve merge conflicts, migrate validation to zod 2026-03-05 23:40:49 +05:30
Alex Holliday ec82efebb4 pagespeed provider, hardware provider 2026-03-05 17:54:16 +00:00
ashu130698 9c17fbe79c refactor: add Joi validation, rename to updateNotifications, add default case 2026-03-05 23:06:41 +05:30
ashu130698 8eca81c8be fix: handle malformed IDs and allow empty set action 2026-03-05 18:02:55 +05:30
ashu130698 eb2d8b8d3b style: format notificationController with prettier 2026-03-05 13:58:53 +05:30
tobias.bruckert@mcon-group.com 33201096b7 add teams 2026-03-05 19:16:08 +11:00
ashu130698 4827f8faec refractor: simplify bulk edit route to PATCH /notifications 2026-03-05 13:06:36 +05:30
gorkem-bwl a1068f1d7e refactor: move dark background colors to colors object
Addresses review feedback — define gray900 and gray850 in the colors
object and reference them in the dark palette.
2026-03-04 19:56:54 -05:00
Alex Holliday 8dd846d6cd harden http provider 2026-03-04 23:36:36 +00:00
Alex Holliday 82175f166f pingProvider, httpProvider 2026-03-04 23:24:48 +00:00
Alex Holliday 3c99809e8e rix reveresed checks 2026-03-04 23:24:05 +00:00
Alexander Holliday 26db2b3a41 Merge pull request #3371 from bluewave-labs/fix/infrastructure-threshold-migration
Fix infrastructure threshold defaults via migration (#3327)
2026-03-04 14:28:49 -08:00
Alexander Holliday 232a71c502 Merge pull request #3369 from bluewave-labs/fix/swagger-dynamic-server-url
fix: dynamically set Swagger UI server URL from request
2026-03-04 14:28:06 -08:00
gorkem-bwl 8df263fd93 fix: also migrate threshold value of 0 to 100, fix formatting
Addresses review feedback — thresholds set to 0 also caused issues
and should be migrated to 100 (disabled) alongside the value of 5.
2026-03-04 16:44:20 -05:00
gorkem-bwl d2f3335b1a fix: add type annotations to Swagger middleware parameters
Fixes TypeScript build error TS7006 for implicit 'any' types on req, res, next.
2026-03-04 16:32:01 -05:00
gorkem-bwl 75eca743b4 fix: use neutral gray background for dark mode
## Changes
- Replace MUI default blue-tinted dark background with neutral grays
  (#151518 for default, #1c1c21 for paper/cards)
- Remove decorative blue/purple SVG blob overlay from dark mode background

## Benefits
- Dark mode now has a clean, neutral gray appearance instead of a blue tint
2026-03-04 16:30:19 -05:00
Alexander Holliday 7bfd68e374 Merge pull request #3372 from bluewave-labs/fix/ipv6-support
Fix IPv6 address handling in ping monitor (#3053)
2026-03-04 13:00:15 -08:00
gorkem-bwl b2e2b11ef2 fix: support IPv6 addresses in ping monitor
## Changes
- Fixed ping host sanitization regex that stripped everything after
  the first colon, which destroyed IPv6 addresses like 2001:db8::1
- New regex properly handles bracketed IPv6 ([::1]:port), bare IPv6,
  and IPv4/hostname:port formats separately

## Closes
Fixes #3053
2026-03-04 15:41:01 -05:00
gorkem-bwl 93b9abd508 fix: add migration to reset infrastructure thresholds from 5 to 100
## Changes
- Added migration 0004_fixInfrastructureThresholds that finds hardware
  monitors with threshold values of 5 (the old incorrect default) and
  updates them to 100 (effectively disabled)
- Runs automatically on server startup like other migrations

## Closes
Fixes #3327
2026-03-04 15:38:34 -05:00
gorkem-bwl 888b399a4f fix: dynamically set Swagger UI server URL from request
## Changes
- Swagger UI now prepends the current server URL (protocol + host) to
  the servers list, so it works correctly in remote/Docker environments
  instead of always pointing to localhost.

## Closes
Fixes #3339
2026-03-04 15:29:44 -05:00
Alexander Holliday 189293b04d Merge pull request #3366 from bluewave-labs/fix/eslint-warnings
fix: eslint warnings
2026-03-04 10:29:35 -08:00
Alex Holliday 13e9185011 bump version 2026-03-04 18:24:06 +00:00
Alex Holliday a7cf78cecc emailService 2026-03-04 18:16:31 +00:00
Alex Holliday 0b30e23783 globalPing 2026-03-04 17:50:27 +00:00
Alexander Holliday 1155619835 Merge pull request #3365 from bluewave-labs/fix/eslint
fix: eslint
2026-03-04 09:47:51 -08:00
Alex Holliday e0608ad3ed notificationMessageBuilder 2026-03-04 17:43:25 +00:00
Alex Holliday d665e95f02 discord 2026-03-04 17:39:31 +00:00
Alex Holliday afc27c804d email 2026-03-04 17:32:50 +00:00
Alex Holliday 1deb22bf63 pagerduty 2026-03-04 17:17:52 +00:00
Alex Holliday af8b128ac2 notificaiton providers 2026-03-03 23:27:48 +00:00
Alex Holliday 00150ba6f4 checkService, bufferService 2026-03-03 23:19:54 +00:00
Alex Holliday 7f04dd5d9a checksService 2026-03-03 23:09:10 +00:00
Alex Holliday ab5389190d stautsService and settingsService 2026-03-03 23:01:35 +00:00
Alexander Holliday cba9f43032 Merge pull request #3362 from bluewave-labs/fix/types
Fix/types
2026-03-03 13:41:05 -08:00
Alex Holliday 1cd6e723cc netowrk-service 2026-03-03 21:37:08 +00:00
Alex Holliday f79a87f98a resolve remaining TS errors 2026-03-03 19:34:28 +00:00
Alex Holliday a0ea50d745 correct return types 2026-03-03 18:50:10 +00:00
Alex Holliday bfa11216f0 correct payload type for monitor response 2026-03-03 18:29:17 +00:00
Alex Holliday 07a2f36dd7 app error 2026-03-03 18:27:42 +00:00
Alex Holliday 8e44718787 logger, imageProcessing 2026-03-03 18:26:42 +00:00
ashu130698 9e06758997 added a PATCH/notifications/bulk/monitor 2026-03-03 23:28:11 +05:30
Alex Holliday 83572aa12a eslint update 2026-03-03 17:43:57 +00:00
Alexander Holliday 332a21cd99 Merge pull request #3361 from bluewave-labs/fix/logs
replace log statement
2026-03-03 09:20:22 -08:00
Alex Holliday 128d1d12b0 replace log statement 2026-03-02 23:04:20 +00:00
Alexander Holliday f73b07cd3c Merge pull request #3353 from bluewave-labs/feat/swr-global
feat: add global swr config
2026-03-02 14:50:44 -08:00
Alex Holliday a7d14e0e43 add global swr config 2026-03-02 22:37:58 +00:00
Alexander Holliday 6622a990be Merge pull request #3352 from bluewave-labs/fix/env-var-validation
Fix/env var validation
2026-03-02 14:01:35 -08:00
Alex Holliday 3854931682 remove comment 2026-03-02 22:00:03 +00:00
Alex Holliday 09534757a2 validation 2026-03-02 21:52:22 +00:00
Alexander Holliday 7b2ce0e350 Merge pull request #3350 from bluewave-labs/fix/server-validation
fix: server validation
2026-03-02 13:40:56 -08:00
Alexander Holliday 19887332c6 Merge pull request #3349 from bluewave-labs/fix/remove-monitor-swagger-api
fix: removing GET /monitors from swagger docs
2026-03-02 13:35:57 -08:00
Alex Holliday a1858e8302 remove passthrough, remove redudnant refine 2026-03-02 21:35:08 +00:00
Alex Holliday 9fd006cfff remove joi 2026-03-02 19:42:47 +00:00
Alex Holliday 75a7e144cd remove comments 2026-03-02 19:26:20 +00:00
Alex Holliday 16cf23baf1 status page validation 2026-03-02 19:25:34 +00:00
Alex Holliday 8236b02034 remove comments 2026-03-02 19:06:32 +00:00
Alex Holliday 64242322a2 add try/catch block 2026-03-02 18:46:21 +00:00
Alex Holliday c1e03a45b0 settings 2026-03-02 18:03:10 +00:00
Alex Holliday f1466df56c update monitor validation 2026-03-02 17:54:52 +00:00
mannilakash 3654c58469 fix: removing GET /monitors from swagger docs 2026-03-02 12:48:04 -05:00
Alex Holliday b997c43bd5 check, monitor, maintenance 2026-03-02 17:46:33 +00:00
Alex Holliday a5d3c95145 validation refactoring 2026-03-02 17:29:48 +00:00
Gorkem Cetin 003106348a Change demo username in README
Updated demo username in README.
2026-03-02 02:22:46 -05:00
Alex Holliday c3a41272a3 validation refactoring 2026-03-01 17:35:00 +00:00
Alexander Holliday 0bff26fe47 Merge pull request #3346 from bluewave-labs/fix/hardcoded-dimensions
Fix/hardcoded dimensions
2026-03-01 07:19:44 -08:00
Alex Holliday 9169410c1a fallback and histogram 2026-02-28 22:03:30 +00:00
Alex Holliday 9174e66134 sidebar and starprompt 2026-02-28 21:48:42 +00:00
Alex Holliday 04c3c57a59 card-details 2026-02-28 21:27:33 +00:00
Alex Holliday f69b6bbf31 create status page 2026-02-28 21:04:46 +00:00
Alex Holliday 05aa1e7112 authfooter 2026-02-28 20:57:44 +00:00
Alexander Holliday 8aead0a00c Merge pull request #3332 from bluewave-labs/fix/pagespeed-sort
Pagespeed filter sorting fix
2026-02-28 12:51:49 -08:00
Alex Holliday db8ed2994a maintenance create 2026-02-28 20:42:10 +00:00
Alex Holliday 8571ccea78 settings page 2026-02-28 20:25:49 +00:00
Alex Holliday 4d273a6dce table and createMonitor 2026-02-28 16:30:04 +00:00
Alex Holliday 4aabc16096 theme constants 2026-02-28 16:16:14 +00:00
Alexander Holliday 94f9c3d118 Merge pull request #3326 from bluewave-labs/fix/uptime/row-ui
Fix: Uptime Table Body Placement
2026-02-28 08:04:50 -08:00
Alexander Holliday a719364e40 Merge pull request #3344 from bluewave-labs/fix/logging
fix/logging
2026-02-27 18:07:53 -08:00
Alex Holliday 308a439790 apply logger 2026-02-28 01:55:41 +00:00
Alex Holliday 42a001b24e logger 2026-02-28 01:04:35 +00:00
Alexander Holliday f48fc24b9e Merge pull request #3342 from bluewave-labs/fix/remove-on-row-click
remove on row click
2026-02-26 14:22:41 -08:00
Alex Holliday e3057ad039 remove unused import 2026-02-26 22:21:19 +00:00
Alex Holliday 32f41a3cc4 remove unused import 2026-02-26 22:11:32 +00:00
Alex Holliday 177d6f80d0 remove on row click 2026-02-26 22:08:14 +00:00
Alexander Holliday ecef55f1b3 Merge pull request #3341 from bluewave-labs/fix/global-thresholds
Fix/global thresholds
2026-02-26 11:36:21 -08:00
Alex Holliday dede689990 global threshold slider fix 2026-02-26 19:31:12 +00:00
Alex Holliday 85edea713a replace textfields with sliders 2026-02-26 19:07:43 +00:00
Alexander Holliday 7e3da7add7 Merge pull request #3304 from bluewave-labs/feat/grpc-monitoring
Feat: gRPC Monitoring
2026-02-26 09:34:04 -08:00
Alex Holliday dfeba1e4fb resolve conflicts 2026-02-26 17:32:11 +00:00
Alexander Holliday 0442c8dd0f Merge pull request #3336 from bluewave-labs/feat/globalping-map
Feat/globalping map
2026-02-25 14:00:03 -08:00
Alex Holliday 7960f1e82c popup close button 2026-02-25 21:58:48 +00:00
Alexander Holliday f7f1602423 Merge pull request #3335 from bluewave-labs/feat/globalping-map
feat: globalping map
2026-02-25 13:57:12 -08:00
Alex Holliday 78d1451621 hide attribution 2026-02-25 21:49:01 +00:00
Alex Holliday a9f005b2c4 move css styles 2026-02-25 21:44:09 +00:00
Alex Holliday b68214fc47 dark/light mode 2026-02-25 21:20:45 +00:00
Alex Holliday 64c0c93c3e chart 2026-02-25 21:14:17 +00:00
Alexander Holliday 40a1f0c6e0 Merge pull request #3334 from bluewave-labs/feat/global-ping-implementation
remove comment
2026-02-25 12:18:01 -08:00
Alex Holliday 1bb2dd323a remove comment 2026-02-25 20:17:34 +00:00
Alexander Holliday 17238c982e Merge pull request #3333 from bluewave-labs/feat/global-ping-implementation
feat: global ping implementation
2026-02-25 12:17:12 -08:00
Alex Holliday cc1d63f91a remove comment 2026-02-25 20:14:31 +00:00
Alex Holliday ba6e931c59 date range extraction, minor fixes 2026-02-25 20:13:07 +00:00
Alex Holliday 885acf6fe6 all continents in table 2026-02-25 19:34:24 +00:00
Alex Holliday 477c30286d show all checks 2026-02-25 18:43:12 +00:00
Alex Holliday 88e28b9819 cleanup on delete, cleanup orphans 2026-02-24 23:28:27 +00:00
Alex Holliday e7ba3cb5f9 checks route, checks table 2026-02-24 23:20:36 +00:00
Alex Holliday 651fbd7cbb add graph 2026-02-24 22:45:59 +00:00
Alex Holliday 64fdd04cc7 conitnent based query 2026-02-24 22:30:28 +00:00
Alex Holliday c3e4b5b95f ui initial commit 2026-02-24 22:16:02 +00:00
Alex Holliday 10313102ee use correct validation 2026-02-24 21:45:55 +00:00
Alexander Holliday 868cbae66f Merge pull request #3331 from bluewave-labs/fix/uptime-filter-status
Fix: Uptime Status Filter
2026-02-24 13:33:15 -08:00
Alex Holliday 2989968fa1 button string 2026-02-24 13:31:36 -08:00
Alex Holliday 89a7fdbe34 cleanup imports 2026-02-24 19:36:45 +00:00
Alex Holliday 432d1d8ccf remove circular dep 2026-02-24 19:19:32 +00:00
Alex Holliday 5a74411ea2 geo bufer 2026-02-24 18:44:47 +00:00
Alex Holliday 705ecf41c2 rename interface 2026-02-24 18:19:51 +00:00
Alex Holliday 1d4e9d6806 geochecks iniital commit 2026-02-24 18:10:20 +00:00
Alex Holliday 8e37ed7ba2 geo jobs scheduling 2026-02-24 17:55:06 +00:00
Alex Holliday b870f25d1a geo job template 2026-02-24 17:39:09 +00:00
Alex Holliday 7d3abb3f98 map fields 2026-02-24 17:18:22 +00:00
mannilakash 9baa6692dd fix: pagespeed filter sorting fix 2026-02-24 07:45:12 -05:00
Br0wnHammer dd7dfba1cf Fix: Uptime Status Filter 2026-02-24 15:05:27 +05:30
Alex Holliday 858aecce62 fe config box 2026-02-23 18:08:01 +00:00
Alex Holliday 42fdc47d86 initial commit 2026-02-23 17:48:53 +00:00
Br0wnHammer af8f913e62 Fix: Uptime Table Body Placement 2026-02-23 13:38:26 +05:30
Br0wnHammer ea086d6956 Fix: PR comments 2026-02-23 10:25:01 +05:30
Br0wnHammer 22b33d789c Fix: Add grpc in checkData 2026-02-23 10:25:00 +05:30
Br0wnHammer 42e7bc1dbf Feat: Add gRPC to filters 2026-02-23 10:25:00 +05:30
Br0wnHammer 13aa600852 Feat: Add gRPC to CreateMonitor UI 2026-02-23 10:25:00 +05:30
Br0wnHammer c06f81ef76 Feat: Add gRPC to client validation 2026-02-23 10:25:00 +05:30
Br0wnHammer c95db26437 Feat: Update backend Joi validation 2026-02-23 10:25:00 +05:30
Br0wnHammer 94a85f8bbb Feat: Impement requestGrpc in NetworkService 2026-02-23 10:25:00 +05:30
Br0wnHammer 05f8e6a07e Feat: Add GrpcStatus to network and Mongoose schema 2026-02-23 10:25:00 +05:30
Br0wnHammer dac78c7647 Feat: Add gRPC to monitortypes 2026-02-23 10:25:00 +05:30
Alexander Holliday 2d023de568 Merge pull request #3325 from bluewave-labs/feat/pagespeed-date-range
feat: pagespeed date range
2026-02-21 13:09:58 -08:00
Alex Holliday f2c88cfd23 fe 2026-02-21 21:05:51 +00:00
Alex Holliday 910c675a49 aggregate pagespeed 2026-02-21 20:52:47 +00:00
Alex Holliday 882e91f6a7 hook up header 2026-02-21 20:31:56 +00:00
Alexander Holliday 06be65ec52 Merge pull request #3324 from bluewave-labs/fix/import
fix: import
2026-02-21 08:20:57 -08:00
Alex Holliday ea54736a39 remove string 2026-02-21 16:19:43 +00:00
Alex Holliday da38f2ee76 createBulkMonitors -> CreateMonitors 2026-02-21 16:17:23 +00:00
Alex Holliday 83d56f1ff6 fe->be 2026-02-21 16:03:45 +00:00
Alex Holliday f94afb63c6 backend 2026-02-21 03:43:11 +00:00
Alex Holliday 673f47983a FE implementation 2026-02-21 03:14:11 +00:00
Alex Holliday b708e83cce add TODOs 2026-02-20 15:11:37 -08:00
Alexander Holliday 288b677781 Merge pull request #3322 from bluewave-labs/fix/ts-error
ts error
2026-02-20 12:37:57 -08:00
Alex Holliday efcf2567b8 ts error 2026-02-20 20:37:29 +00:00
Alexander Holliday 3763b668ed Merge pull request #3320 from bluewave-labs/fix/no-cache
no cache
2026-02-20 12:20:12 -08:00
Alex Holliday 39c6d05196 no cache 2026-02-20 20:19:42 +00:00
Alexander Holliday 7bf83c12af Merge pull request #3310 from bluewave-labs/fix/be/status-page-access
Fix: Authentication Middleware in StatusPage
2026-02-20 10:45:11 -08:00
Br0wnHammer e25669ac6a Fix: Client Redirect 2026-02-21 00:12:17 +05:30
Br0wnHammer f9653888b1 Fix: One Route 2026-02-21 00:10:39 +05:30
Alexander Holliday 921a1c5145 Merge pull request #3316 from bluewave-labs/fix/settings-refactor
fix/settings refactor
2026-02-20 10:29:46 -08:00
Alex Holliday d45e6ec97c remove v2 dir 2026-02-20 18:13:39 +00:00
Alex Holliday ef774b44f2 remove v1 theme and components 2026-02-20 18:10:43 +00:00
Alex Holliday 8d104ee30a remove v1 theme provider 2026-02-20 17:59:08 +00:00
Alex Holliday fc6300d057 remove old, add about and export 2026-02-20 17:36:04 +00:00
Alex Holliday 73f313e4d5 remove old settings strings 2026-02-20 17:22:43 +00:00
Alex Holliday 42fe6ade3e target blank 2026-02-20 17:22:20 +00:00
Alex Holliday b78b584844 add link text 2026-02-20 17:20:43 +00:00
Alex Holliday b64cf3f6b6 email 2026-02-19 19:23:40 +00:00
Br0wnHammer c27bb0e7f1 fix: build error 2026-02-20 00:52:36 +05:30
Br0wnHammer 1a52531faf feat: new middleware 2026-02-20 00:34:43 +05:30
Br0wnHammer 0974c84b8d feat: fe integration of new endpoint 2026-02-20 00:34:23 +05:30
Br0wnHammer 600c937062 feat: API Middleware 2026-02-20 00:31:42 +05:30
Br0wnHammer b87fd5438e feat: verifyStatusPage middleware 2026-02-20 00:30:06 +05:30
Alex Holliday 6a04ce5eee demo monitors, remove monitors 2026-02-19 18:26:40 +00:00
Br0wnHammer dae2709d31 Fix: Authentication Middleware in StatusPage 2026-02-19 23:55:43 +05:30
Alex Holliday 889bb07946 min values 2026-02-19 18:04:34 +00:00
Alex Holliday 9283890b5f 0 handling 2026-02-19 18:01:15 +00:00
Alex Holliday f2779160a1 port 2026-02-19 17:55:55 +00:00
Alex Holliday 216c7753b4 add global thresholds configbox 2026-02-19 17:33:28 +00:00
Alex Holliday a3a25b2add clear-stats 2026-02-19 17:28:00 +00:00
Alex Holliday b5f2a7b26c Fix pagespeed key issue 2026-02-18 21:06:29 +00:00
Alex Holliday d4e72ee8a6 url settigns 2026-02-18 21:02:08 +00:00
Alex Holliday a59f7fd830 pagespeed 2026-02-18 20:35:46 +00:00
Alex Holliday d8e7f9fc0f add pagespeed config 2026-02-18 20:20:45 +00:00
Alex Holliday cdbf5fd0c0 simplify form 2026-02-18 20:14:35 +00:00
Alex Holliday bbb2da3935 fix state type 2026-02-18 20:04:53 +00:00
Alex Holliday 248482a406 initial commit 2026-02-18 19:59:03 +00:00
Alexander Holliday 1c1474cd6f Merge pull request #3302 from bluewave-labs/fix/settings-form
fix: settings form
2026-02-18 11:25:34 -08:00
Alex Holliday db800e2259 simplify form 2026-02-18 19:23:03 +00:00
Alex Holliday b6765830a5 fix client/server validation 2026-02-18 19:13:52 +00:00
Alex Holliday 8cbde4a705 initial commit 2026-02-18 18:47:58 +00:00
Alexander Holliday 6fcaabbdb6 Merge pull request #3301 from bluewave-labs/fix/settings-form
fix logical errors in settings form
2026-02-18 10:12:44 -08:00
Alex Holliday 7cfbc85d9b fix logical errors in settings form 2026-02-18 18:06:00 +00:00
Alexander Holliday ab834d400e Merge pull request #3300 from bluewave-labs/fix/remove-constraint
fix: remove unique constraint
2026-02-18 09:45:15 -08:00
Alex Holliday 1fcf06a415 remove unique constraint 2026-02-18 17:43:32 +00:00
Alexander Holliday dab465b8c5 Merge pull request #3288 from bluewave-labs/settings-zod-schema
Settings zod schema
2026-02-18 09:32:28 -08:00
Alex Holliday 59d245b424 remove pre tag 2026-02-18 17:27:59 +00:00
karenvicent e921b20fe3 fix zod patterns 2026-02-17 22:21:56 -05:00
Gorkem Cetin 0e6680366d Remove Owaise from the contributing section 2026-02-17 19:53:24 -05:00
Alexander Holliday 7f7a9f40df Merge pull request #3298 from bluewave-labs/fix/monitor-stats-duplication
fix monitor stats bug
2026-02-17 16:08:44 -08:00
Alex Holliday 31698bd002 fix monitor stats bug 2026-02-18 00:06:02 +00:00
Alexander Holliday c7ccdafec2 Merge pull request #3297 from bluewave-labs/fix/avg-response-time-calc
fix: increment before calculate
2026-02-17 15:42:22 -08:00
Alex Holliday c920191984 increment before calculate 2026-02-17 23:40:14 +00:00
Alexander Holliday 374b6aa6ae Merge pull request #3296 from bluewave-labs/feat/max-response-time-rolling-stats
feat: max response time rolling stats
2026-02-17 15:34:35 -08:00
Alex Holliday 3d5c81fe2f Add maxResponseTime to client-side MonitorStats type 2026-02-17 22:50:44 +00:00
Alex Holliday 3bd6ec5d28 max response time 2026-02-17 22:47:37 +00:00
Alexander Holliday 7bb47ef432 Merge pull request #3295 from bluewave-labs/feat/cleanup-job
feat: cleanup job
2026-02-17 14:34:42 -08:00
Alex Holliday 7856317e8f remvoe space 2026-02-17 22:29:30 +00:00
Alex Holliday edbd8f2abb fix check bug 2026-02-17 22:27:52 +00:00
Alex Holliday cddf8b32e6 cleanup incidents 2026-02-17 19:39:24 +00:00
Alex Holliday 0032765bd1 remove orphaned checks 2026-02-17 19:20:08 +00:00
Alex Holliday 6bc9194e8f initial commit 2026-02-17 19:03:17 +00:00
Alexander Holliday ef15e5d6e0 Merge pull request #3294 from bluewave-labs/fix/remove-incidents-on-delete-monitor
fix: remove incidents on delete
2026-02-17 10:32:16 -08:00
Alex Holliday 97750da889 remove incidents on delete 2026-02-17 18:30:22 +00:00
Alexander Holliday af8083bdaa Merge pull request #3293 from bluewave-labs/fix/active-incidents
fix: add missing pluralization strings
2026-02-17 10:16:45 -08:00
Alexander Holliday 54b33ec835 Merge pull request #3292 from bluewave-labs/fix/incident-reason
fix/incident reason
2026-02-17 10:15:41 -08:00
Alex Holliday 847904a274 add missing pluralization strings 2026-02-17 18:15:30 +00:00
Alex Holliday 7bc03c976b remove comment 2026-02-17 17:53:00 +00:00
Alex Holliday 73f05ab78e refactor to remove duplication 2026-02-17 17:49:56 +00:00
Alex Holliday 584e4633d3 incident details 2026-02-17 17:42:11 +00:00
Alexander Holliday 433c57b42e Merge pull request #3291 from bluewave-labs/feat/notification-refactor
feat: notification refactor
2026-02-17 09:31:47 -08:00
Alexander Holliday a2cf2afc09 Merge pull request #3279 from bluewave-labs/enhancement/uptime-graph-avg-max-response
enhancement: add average and max response time to histogram
2026-02-17 09:31:25 -08:00
Alex Holliday 232be7a405 cleanup 2026-02-17 17:28:43 +00:00
mannilakash 7d66bb5668 fix: unnecessary custom styling and originalResponseTime usage 2026-02-17 10:27:22 -05:00
mannilakash 566fded55c Merge branch 'develop' of github.com:bluewave-labs/Checkmate into enhancement/uptime-graph-avg-max-response 2026-02-17 10:20:37 -05:00
Alex Holliday fbb0e940c6 emails 2026-02-17 01:47:57 +00:00
Alex Holliday f983863c72 new template 2026-02-17 01:25:30 +00:00
Alex Holliday e0a75c78db refactor discord 2026-02-17 01:16:00 +00:00
Alex Holliday 2cd2a6d917 pagerduty 2026-02-16 21:58:58 +00:00
Alex Holliday 6f55e4934f matrix 2026-02-16 21:49:42 +00:00
Alex Holliday 0e1dc3e3fe slack 2026-02-16 21:48:03 +00:00
Alex Holliday e18681606c add webhook 2026-02-16 20:55:00 +00:00
Alex Holliday d2d75cd035 initial commit 2026-02-16 20:18:25 +00:00
Alex Holliday a65515fc08 logger type 2026-02-16 19:42:10 +00:00
Alex Holliday 302ac6f4f1 update gitignore 2026-02-16 19:32:28 +00:00
Alexander Holliday b51d40fe77 Merge pull request #3290 from bluewave-labs/feat/incident-on-threshold-exception
Feat/incident on threshold exception
2026-02-16 10:47:24 -08:00
Alex Holliday 27f3def9bd correct logger type 2026-02-16 18:43:03 +00:00
Alex Holliday e7a7c0e603 remove grouping 2026-02-16 18:39:41 +00:00
Alex Holliday 55885ea007 remove global decision 2026-02-16 18:25:35 +00:00
Anton Mrosek 726e4de6ab Compose dist-arm: Removed mongodb port mapping 2026-02-16 12:31:44 +01:00
karenvicent 475801e91c fix traslation object 2026-02-16 00:47:23 -05:00
karenvicent cd501e46cd Merge branch 'develop' into settings-zod-schema 2026-02-16 00:12:08 -05:00
karenvicent 93c15588a4 implement schema zod and validation on settings 2026-02-16 00:09:08 -05:00
Alex Holliday a8ecd44abf inject settings service, extract client host 2026-02-16 00:39:34 +00:00
Alex Holliday 412a3b7cc9 remove redundant method 2026-02-16 00:17:51 +00:00
Alex Holliday be8580ee99 update providers 2026-02-15 18:35:54 +00:00
Alex Holliday 8020bfde21 refactor handleIncidents 2026-02-15 18:20:42 +00:00
Alex Holliday 7061eb8eb0 use decision object in incidentService 2026-02-15 18:09:21 +00:00
Alex Holliday 70ae15725e conditinally render breached stauts box 2026-02-14 23:09:27 +00:00
Alex Holliday 32a7bd6543 add breached status to summary header 2026-02-14 22:57:27 +00:00
Alex Holliday 68db4b8701 breached status 2026-02-14 22:52:14 +00:00
Alex Holliday b75c1a4fcb create incident on hardware breach 2026-02-14 22:29:06 +00:00
Alex Holliday e50240885d debug logging 2026-02-14 22:25:15 +00:00
Alex Holliday 22645d86f7 handle infra thresholds 2026-02-14 22:14:51 +00:00
Alex Holliday 62778886e1 use counters 2026-02-14 21:55:47 +00:00
Alex Holliday 9c467c763d add threshold counters 2026-02-14 21:49:32 +00:00
Alex Holliday 97ace1e058 remove unused checks 2026-02-14 21:38:00 +00:00
Alex Holliday 2fb6cb0b6f remove alertThreshold 2026-02-14 21:29:30 +00:00
Alex Holliday a7b0ce4d8f remove thresholds 2026-02-14 21:21:18 +00:00
Alex Holliday 4a73170583 initial commit 2026-02-14 21:05:31 +00:00
Alexander Holliday 41310cb552 Merge pull request #3286 from bluewave-labs/feat/infra-thresholds
feat: infra thresholds
2026-02-13 17:23:49 -08:00
Alex Holliday 111b68b8df revert slider size change 2026-02-14 01:21:02 +00:00
Alex Holliday 2430bbeebb remove slider hover 2026-02-14 01:15:12 +00:00
Alex Holliday f694917dd4 remove unused 2026-02-14 01:07:46 +00:00
Alex Holliday 47b18e1d9d use sliderwithlabels 2026-02-14 01:02:15 +00:00
Alexander Holliday 0d863aefe8 Merge pull request #3285 from bluewave-labs/fix/create-monitors-port
fix port input
2026-02-13 16:45:01 -08:00
Alex Holliday c319738048 add config box for thresholds 2026-02-14 00:40:59 +00:00
Alex Holliday 002a82bb9a fix port input 2026-02-14 00:19:01 +00:00
Alexander Holliday 8719efab5d Merge pull request #3284 from bluewave-labs/fix/routes
fix: routes
2026-02-13 16:17:57 -08:00
Alex Holliday 86fd535eaf routes to TS 2026-02-14 00:08:28 +00:00
Alex Holliday 2f6dbe9a3a update gitignore 2026-02-13 23:56:35 +00:00
Alexander Holliday 649eaae712 Merge pull request #3283 from bluewave-labs/fix/string-cleanup
clean up strings
2026-02-13 13:22:34 -08:00
Alex Holliday 1888ee0478 remove unused monitor import 2026-02-13 21:19:55 +00:00
Alex Holliday fd2c54d3d3 remove unused 2026-02-13 20:42:26 +00:00
Alex Holliday bd941db771 clean up strings 2026-02-13 20:41:27 +00:00
Alexander Holliday 88fceddbbf Merge pull request #3282 from bluewave-labs/fix/monitor-stats
fix: initializing stats
2026-02-13 11:18:54 -08:00
Alex Holliday 13251ca7c5 fix initializing stats 2026-02-13 19:04:19 +00:00
Alexander Holliday 6d6b597f99 Merge pull request #3281 from bluewave-labs/fix/cleanup
fix: cleanup
2026-02-13 11:01:43 -08:00
Alex Holliday dfc1733820 remove icons 2026-02-13 18:51:29 +00:00
mannilakash 39a449e594 fix: padding fix for stats text 2026-02-13 11:14:25 -05:00
mannilakash 974d33b3de enhancement: add average and max response time for histogram 2026-02-13 10:32:52 -05:00
Alex Holliday afe2b9d3bb remove unused images 2026-02-12 23:37:08 +00:00
Alex Holliday 5ab5cbe622 status box fix 2026-02-12 23:31:37 +00:00
Alex Holliday b6b1b8464c remove old DB references 2026-02-12 23:03:16 +00:00
Alex Holliday f337ca5ff0 initial commit 2026-02-12 22:37:40 +00:00
Alexander Holliday f5bc8e78e4 Merge pull request #3278 from bluewave-labs/fix/failed-check-warn
Fix/failed check warn
2026-02-12 11:44:48 -08:00
Alex Holliday 8089e71f96 warn instead of throw on failure to build check 2026-02-12 19:42:58 +00:00
karenvicent 6195650dc1 Merge branch 'develop' into settings-zod-schema 2026-02-12 14:25:05 -05:00
Alex Holliday f600647ff0 fix ts error 2026-02-12 19:16:16 +00:00
Alex Holliday cafea2bf5d remove unused utils, convert utils to TS 2026-02-12 19:13:53 +00:00
Alexander Holliday 4e3a82d25f Merge pull request #3276 from bluewave-labs/fix/monitor-status
fix: monitor status
2026-02-12 10:32:38 -08:00
Alexander Holliday 33e0136a2a Merge pull request #3275 from bluewave-labs/fix/ts
Fix/ts
2026-02-12 10:32:22 -08:00
Alex Holliday b0b7b6a435 fix status change issue 2026-02-12 18:30:44 +00:00
Alex Holliday 85dbe34e00 store to ts 2026-02-12 18:30:15 +00:00
Alex Holliday f38b305ba7 ui slice to TS 2026-02-12 18:07:48 +00:00
Alexander Holliday f9c32cb19b Merge pull request #3274 from bluewave-labs/fix/css-cleanup
fix: clean up index.css
2026-02-12 10:02:39 -08:00
Alex Holliday b540e48aab clean up index.css 2026-02-12 18:01:12 +00:00
Alexander Holliday a50c2578e9 Merge pull request #3273 from bluewave-labs/fix/settings
fix: put -> patch
2026-02-12 09:28:40 -08:00
Alex Holliday 2e30b622d3 put -> patch 2026-02-12 17:26:17 +00:00
karenvicent f59d8bf1bf Merge branch 'develop' into settings-zod-schema 2026-02-12 12:18:05 -05:00
karenvicent 0941f3ce1a zod schema and hook 2026-02-12 12:13:36 -05:00
Alexander Holliday 3838b18931 Merge pull request #3270 from bluewave-labs/feat/monitor-status
feat: monitor status
2026-02-11 12:30:59 -08:00
Alex Holliday 71cdd05b15 type errors 2026-02-11 20:29:50 +00:00
Alex Holliday 4b1c588f5a extract header 2026-02-11 20:11:22 +00:00
Alex Holliday cbd8b5db47 update monitor status on maintenance 2026-02-11 19:38:32 +00:00
Alex Holliday 94afe19b37 update services/repositories to reflect new monitorstatus type 2026-02-11 19:22:35 +00:00
Alex Holliday d622bce6c1 update summary type 2026-02-11 19:00:04 +00:00
Alex Holliday 7b658a9e52 initial commit 2026-02-11 18:58:12 +00:00
Alex Holliday d296aec02e add monitor statuses 2026-02-11 18:44:21 +00:00
Alexander Holliday 82c8122a5a Merge pull request #3269 from bluewave-labs/fix/cleanup
fix: cleanup
2026-02-11 10:38:27 -08:00
Alex Holliday 446c791f88 avatar text color 2026-02-11 18:36:20 +00:00
Alex Holliday e214d9a54c sidebar tweak 2026-02-11 18:34:55 +00:00
Alex Holliday 6f6920f3b2 migrate protected routes 2026-02-11 18:15:26 +00:00
Alex Holliday de447d7be2 move admin check to regsiter page 2026-02-11 17:52:26 +00:00
Alex Holliday ee3062fcb4 remove unused components 2026-02-11 17:37:50 +00:00
Alex Holliday 6443802024 cleanup imports 2026-02-11 17:21:32 +00:00
Alexander Holliday d88c73bb20 Merge pull request #3267 from bluewave-labs/feat/v2-layout
feat: v2 layout
2026-02-11 09:09:28 -08:00
Alex Holliday 10bfdc9da1 hook up offline banner 2026-02-10 23:53:06 +00:00
Alex Holliday 0503c25663 cleanup 2026-02-10 23:32:58 +00:00
Alex Holliday 442fc2ce22 account tab fix 2026-02-10 23:24:51 +00:00
Alex Holliday 71f3c90472 strings 2026-02-10 23:16:12 +00:00
Alex Holliday 4c5c2d2d5e auth footer 2026-02-10 23:12:33 +00:00
Alex Holliday a390ee5f21 auth footer 2026-02-10 22:54:23 +00:00
Alex Holliday 0d98353625 auth footer 2026-02-10 22:47:39 +00:00
Alex Holliday 0e1b074c6c styling 2026-02-10 22:28:47 +00:00
Alex Holliday a289a197a1 starprompt 2026-02-10 22:24:35 +00:00
Alex Holliday 0f6c273dad bottom menu 2026-02-10 22:17:13 +00:00
Alex Holliday 1db5f4b70f sidebar 2026-02-10 21:54:31 +00:00
Alex Holliday d1d96bd2ba sidebar 2026-02-10 19:21:57 +00:00
Alex Holliday 7ef10b4fcd initial commit 2026-02-10 17:53:00 +00:00
Alexander Holliday a2dfbd29c7 Merge pull request #3266 from bluewave-labs/fix/cleanup
fix; cleanup
2026-02-10 09:33:33 -08:00
Alex Holliday 14ba3016f6 Merge branch 'develop' into fix/cleanup 2026-02-10 17:06:29 +00:00
Alexander Holliday ac98f783e3 Merge pull request #3257 from bluewave-labs/fix/search-input-debounce
fix: changes for debounce search in uptime/infrastructure pages
2026-02-10 07:18:46 -08:00
mannilakash 98943ad461 fix: removing JSdoc for usedebounce and comments 2026-02-10 08:10:44 -05:00
Alex Holliday 28dc61e1a6 v1 cleanup 2026-02-10 00:01:27 +00:00
Alex Holliday a20fdb423a remove unused 2026-02-09 23:51:18 +00:00
Alex Holliday 1236b9191e fix email config 2026-02-09 23:41:21 +00:00
Alex Holliday 34762ef475 remove network servcie 2026-02-09 23:37:07 +00:00
Alex Holliday b817a16459 remove settings hooks 2026-02-09 23:28:46 +00:00
Alex Holliday 2091d8dcd7 remove monitorHooks 2026-02-09 23:16:14 +00:00
Alex Holliday 3d1bd94279 remove unused hooks 2026-02-09 23:02:26 +00:00
Alex Holliday 07aad0204e update slice 2026-02-09 22:56:56 +00:00
Alexander Holliday 7c0d45d287 Merge pull request #3265 from bluewave-labs/feat/v2-not-found
feat: v2 not found
2026-02-09 14:23:56 -08:00
Alex Holliday 06c571d89f img -> box 2026-02-09 22:22:01 +00:00
Alex Holliday 9b60e32125 initial commit 2026-02-09 22:19:10 +00:00
Alexander Holliday c681074bb2 Merge pull request #3264 from bluewave-labs/feat/v2-set-new-password
feat: v2 set new password
2026-02-09 14:09:39 -08:00
Alex Holliday b47e17fe91 cleanup 2026-02-09 22:07:02 +00:00
Alex Holliday 28affa1cd1 submit 2026-02-09 21:56:28 +00:00
Alex Holliday f5372b4d86 ui and strings 2026-02-09 21:29:55 +00:00
Alex Holliday 4db4947220 basic UI 2026-02-09 21:21:17 +00:00
Alex Holliday 48fb422e0f initial commit 2026-02-09 21:00:27 +00:00
Alexander Holliday 20d4f2c092 Merge pull request #3262 from bluewave-labs/feat/v2-edit-user
feat: v2 edit user
2026-02-09 12:50:17 -08:00
Alex Holliday 48081d85ee cleanup 2026-02-09 20:48:12 +00:00
Alex Holliday ece6970fa7 hook up role 2026-02-09 20:38:04 +00:00
Alex Holliday 4434189c72 remove breadcrumb 2026-02-09 20:09:08 +00:00
Alex Holliday 197e075ba1 strings 2026-02-09 20:07:45 +00:00
Alex Holliday c4ab56095e strings 2026-02-09 19:46:11 +00:00
Alex Holliday 550d5cc555 initial commit 2026-02-09 19:26:58 +00:00
Alexander Holliday b08e69764c Merge pull request #3261 from bluewave-labs/feat/v2-account
feat: v2 account
2026-02-09 11:17:25 -08:00
Alex Holliday 08e4b0c39e remove unused 2026-02-09 19:15:22 +00:00
Alex Holliday a46e282633 role column 2026-02-09 18:57:24 +00:00
Alex Holliday 8b7fd826b3 createUser endpoint 2026-02-09 18:49:31 +00:00
Alex Holliday 264e6f7d1f form submission 2026-02-09 18:29:36 +00:00
Alex Holliday fafd581f06 add team member initial commit 2026-02-09 18:14:06 +00:00
Alex Holliday d69cec9730 dialog 2026-02-09 17:52:14 +00:00
mannilakash c670653ab3 fix: format fix 2026-02-09 12:40:44 -05:00
mannilakash e75606aad3 refactor: debounce.jsx to typescript and moving it to Hooks 2026-02-09 12:38:39 -05:00
mannilakash 07b0483352 fix: changes for debounce search in uptime/infrastructure pages 2026-02-09 10:43:29 -05:00
Alex Holliday 1552018796 optional additionalButtons 2026-02-08 16:30:51 +00:00
Alex Holliday 3fc4160b88 add buttons 2026-02-08 16:23:24 +00:00
Alex Holliday 9ca79ea793 team initial commit 2026-02-08 16:14:35 +00:00
Alex Holliday 2e3b32462f remove mongo hash middleware 2026-02-07 21:15:58 +00:00
Alex Holliday 7e527b8eb2 submit 2026-02-07 21:05:45 +00:00
Alex Holliday 021b4e8ae5 controllers 2026-02-07 20:57:03 +00:00
Alex Holliday b6004241e7 validation 2026-02-07 20:54:17 +00:00
Alex Holliday af4c9d8f91 fix unset 2026-02-07 20:33:11 +00:00
Alex Holliday f2b740a8f9 put -> patch 2026-02-07 20:17:59 +00:00
Alex Holliday b26d135a4f submit 2026-02-07 20:11:30 +00:00
Alex Holliday 4f4203dbb3 remove delete 2026-02-07 19:59:28 +00:00
Alex Holliday 4945b29334 wire up form 2026-02-07 01:13:58 +00:00
Alex Holliday 1808db5cd7 form 2026-02-07 01:04:20 +00:00
Alex Holliday 31cc9cd294 fix strings 2026-02-07 00:51:04 +00:00
Alex Holliday 19b370d89b initial commit 2026-02-07 00:49:49 +00:00
Alexander Holliday 8555e7c122 Merge pull request #3254 from bluewave-labs/feat/v2-register
feat/v2 register
2026-02-06 15:39:17 -08:00
Alex Holliday 734ec41ca0 cleanup 2026-02-06 23:37:25 +00:00
Alex Holliday 5152336591 fix validation, derrive teamID and Roles from tokens 2026-02-06 23:31:07 +00:00
Alex Holliday 78b920aaf6 missing fields 2026-02-06 23:07:17 +00:00
Alex Holliday 2d84fae470 form 2026-02-06 22:53:41 +00:00
Alex Holliday 97e4b105a2 Merge branch 'develop' into feat/v2-register 2026-02-06 22:35:19 +00:00
Alex Holliday a053386f4a ui 2026-02-06 22:34:50 +00:00
Alexander Holliday e0991e28e5 Merge pull request #3253 from bluewave-labs/feat/v2/password-reset
feat: v2/password reset
2026-02-06 14:22:37 -08:00
Alex Holliday 0f26648855 remove old page 2026-02-06 22:18:44 +00:00
Alex Holliday 6a0f3426b3 recovery form, fix email service 2026-02-06 22:14:42 +00:00
Alex Holliday 16e8035299 ui 2026-02-06 21:50:45 +00:00
Alexander Holliday 31b09c316a Merge pull request #3251 from bluewave-labs/feat/v2-auth-login
feat: v2 auth login
2026-02-06 13:36:27 -08:00
Alex Holliday 8f2072e497 cleanup 2026-02-06 21:35:25 +00:00
Alex Holliday 514570da78 login page refactor 2026-02-06 21:11:46 +00:00
Alex Holliday ea68e660fc login UI 2026-02-06 20:53:48 +00:00
Alex Holliday 527543d79f base page, auth header, language and theme switches 2026-02-06 20:32:10 +00:00
Alexander Holliday 1c390a8baf Merge pull request #3250 from bluewave-labs/fix/unit-formatting
Fix/unit formatting
2026-02-06 11:43:48 -08:00
Alex Holliday 43ac5b57cf time formatting 2026-02-06 19:42:06 +00:00
Alex Holliday 1558b27497 bytes and percentage 2026-02-06 19:25:53 +00:00
Alexander Holliday 9caa6c830f Merge pull request #3249 from bluewave-labs/feat/v2-logs
Feat/v2 logs
2026-02-06 11:00:31 -08:00
Alex Holliday ea115ede53 cleanup 2026-02-06 18:56:10 +00:00
Alex Holliday 8470631162 diagnostics 2026-02-06 18:46:06 +00:00
Alex Holliday 597732e109 stats 2026-02-06 18:20:26 +00:00
Alex Holliday 9974fa4010 headers 2026-02-06 17:24:16 +00:00
Alex Holliday b0686c0576 queue tab 2026-02-05 21:40:36 +00:00
Alex Holliday a148f56b22 logs tab 2026-02-05 20:23:04 +00:00
Alexander Holliday 3b25b37c22 Merge pull request #3247 from bluewave-labs/fix/empty
Fix: empty state
2026-02-05 10:59:44 -08:00
Alexander Holliday 1e04345aa0 Merge pull request #3185 from llpingll/change-password
feat: Allow all users to change password (not just admins)
2026-02-05 10:59:20 -08:00
Alexander Holliday 174c3cd47a Merge pull request #3246 from bluewave-labs/fix/alignment
Fix/alignment
2026-02-05 10:56:59 -08:00
Alex Holliday 0e149fa477 fix empty state 2026-02-05 18:56:54 +00:00
Alex Holliday 5b4a99af3d fix select alignment 2026-02-05 18:53:51 +00:00
Alex Holliday 2ecdc2096e empty field label 2026-02-05 18:49:47 +00:00
Alexander Holliday 6e66a18535 Merge pull request #3245 from bluewave-labs/fix/pagination-delete
fix: pagination and empty state fix
2026-02-05 10:33:49 -08:00
Alex Holliday bd6aa0fa3a pagination and empty state fix 2026-02-05 18:30:43 +00:00
Alexander Holliday 4e678a4ce7 Merge pull request #3244 from bluewave-labs/feat/husky-lint
feat: add husky
2026-02-05 09:55:50 -08:00
Alex Holliday 5999315791 add gitignore 2026-02-05 17:54:06 +00:00
Alexander Holliday 0c8b8a9358 Merge pull request #3243 from bluewave-labs/feat/v2-create-maintenance
feat: v2 create maintenance
2026-02-05 09:45:20 -08:00
Alex Holliday dfe62bd301 remove old 2026-02-05 17:29:27 +00:00
Alex Holliday 747ff824cc format 2026-02-05 17:23:14 +00:00
Alex Holliday f12c544751 validation fixes 2026-02-05 17:22:24 +00:00
llpingll 278ced2a6c Removed additional lines to avoid en.json conflict 2026-02-04 23:56:16 +00:00
llpingll 88d539b2a4 Hard coded strings to avoid en.json conflicts 2026-02-04 23:32:14 +00:00
Alex Holliday f0b152fc8f duration 2026-02-04 22:55:54 +00:00
Alex Holliday dc0e198a8e monitors 2026-02-04 22:17:04 +00:00
Alex Holliday 0a5067ef46 grab monitors 2026-02-04 22:10:52 +00:00
Alex Holliday 4f0017c031 strings 2026-02-04 21:47:56 +00:00
Alex Holliday f0b2292f0a general 2026-02-04 21:45:39 +00:00
Alexander Holliday d74d79c332 Merge pull request #3242 from bluewave-labs/feat/v2-maintenance
feat: v2 maintenance
2026-02-04 12:06:22 -08:00
Alex Holliday 1a096b66f7 remove unused 2026-02-04 20:03:05 +00:00
Alex Holliday 7cb866ce4a legacy put -> patch 2026-02-04 19:57:36 +00:00
Alex Holliday c54582ca70 format 2026-02-04 19:54:01 +00:00
Alex Holliday 362034ba26 pretty-ms 2026-02-04 19:53:19 +00:00
Alex Holliday b536099d03 create header 2026-02-04 19:40:32 +00:00
Alex Holliday 04fef2ef75 put -> patch 2026-02-04 19:30:41 +00:00
Alex Holliday a89e5ed565 MaintenanceWindow table 2026-02-04 19:22:05 +00:00
Alexander Holliday ca153b65a9 Merge pull request #3241 from bluewave-labs/fix/incidents-selector
fix/incidents selector
2026-02-04 10:31:57 -08:00
Alex Holliday cc188b2ba3 Merge branch 'develop' into fix/incidents-selector 2026-02-04 18:29:49 +00:00
Alexander Holliday 18018ceef1 Merge pull request #3240 from bluewave-labs/fix/invite-permisisons
fix/invite permisisons
2026-02-04 10:13:25 -08:00
Alex Holliday 189f309631 format 2026-02-04 18:10:52 +00:00
Alex Holliday 97dd3ec9cb add permissin check to sendInviteEmail 2026-02-04 17:57:00 +00:00
Alex Holliday b4c929963f add permission check to invite service 2026-02-04 17:49:45 +00:00
Alex Holliday 4ecc737438 add helper method to extract user roles 2026-02-04 17:49:19 +00:00
Alex Holliday bc58f6e08e add user role hierearchy lookup and management function 2026-02-04 17:48:58 +00:00
Alex Holliday 4f3bcd4624 incident page fixed 2026-02-03 23:45:23 +00:00
Alex Holliday d469590ef3 filter fix 2026-02-03 23:37:16 +00:00
Alexander Holliday 35eba6897a Merge pull request #3238 from bluewave-labs/feat/v2-create-config-status-page
feat: v2 create config status page
2026-02-03 15:31:39 -08:00
Alex Holliday 667dc55fc8 types 2026-02-03 23:30:23 +00:00
Alex Holliday f2d2687d2a responsive 2026-02-03 22:58:09 +00:00
Alex Holliday 4e3e580179 align logo 2026-02-03 22:52:20 +00:00
Alex Holliday 4080ac8c2c format 2026-02-03 22:40:26 +00:00
Alex Holliday 0a408f8cfd sorting 2026-02-03 22:07:59 +00:00
Alex Holliday e3921beac4 hide unused features 2026-02-03 21:53:34 +00:00
Alex Holliday 4c284493ba actin menu 2026-02-03 21:40:17 +00:00
Alex Holliday 0fcceeb7a6 strings 2026-02-03 21:34:16 +00:00
Alex Holliday f799d46025 cleanup, style picler 2026-02-03 21:29:02 +00:00
Alex Holliday a80df60fc1 handle delete 2026-02-03 21:14:16 +00:00
Alexander Holliday cbec0fa065 Merge pull request #3213 from sukritraj02/#3164
#3164
2026-02-03 13:07:14 -08:00
Alex Holliday 40e5550e0f delete header 2026-02-03 20:18:51 +00:00
Alex Holliday 90fd9930db handle remove logo 2026-02-03 20:11:47 +00:00
Alex Holliday f10f7385b0 fix hook 2026-02-03 19:59:42 +00:00
Alex Holliday 2d85abf030 id 2026-02-03 19:50:36 +00:00
Alex Holliday 3c0c470ca3 features config box 2026-02-03 19:36:43 +00:00
Alex Holliday 4c5cae8722 missing key 2026-02-03 19:31:51 +00:00
Alex Holliday 8650f30d12 type 2026-02-03 19:28:55 +00:00
Alexander Holliday 09e37f4356 Merge pull request #3233 from bluewave-labs/fix/fe/account-page-password-ui
Fix: Send Email Invite
2026-02-03 11:25:52 -08:00
Alex Holliday 6bc8a521c9 logo 2026-02-03 19:24:50 +00:00
Alex Holliday a1e6eaa9d0 submit 2026-02-03 19:03:17 +00:00
Alex Holliday bbb61a6f88 format 2026-02-03 10:40:00 -08:00
Alex Holliday c1d2041482 Merge branch 'develop' into feat/v2-create-config-status-page 2026-02-03 18:34:17 +00:00
Alex Holliday 7aa05c7f85 strings 2026-02-03 18:34:15 +00:00
Alexander Holliday 539866e119 Merge pull request #3237 from bluewave-labs/fix/strings
Fix/strings
2026-02-03 10:26:02 -08:00
Alex Holliday 6f0ff1583e rebuild strings 2026-02-03 18:23:19 +00:00
Alex Holliday 12b61d17f2 initial commit 2026-02-03 18:09:51 +00:00
Alex Holliday 7426418629 fix uptime 2026-02-03 18:03:26 +00:00
Alex Holliday 3566da7515 uptime strings 2026-02-03 18:02:24 +00:00
Alex Holliday b451489bd8 Merge branch 'develop' into feat/v2-create-config-status-page 2026-02-03 18:02:13 +00:00
Alexander Holliday d4a0489275 Merge pull request #3236 from bluewave-labs/fix/strings
sort
2026-02-03 09:54:15 -08:00
Alex Holliday 080c91284d sort 2026-02-03 17:53:45 +00:00
Alexander Holliday dadc74373c Merge pull request #3235 from bluewave-labs/fix/strings
Revert "remove unused strings"
2026-02-03 09:53:16 -08:00
Alex Holliday 6fdea04416 Revert "remove unused strings"
This reverts commit a7c5b0c7fb.
2026-02-03 17:51:32 +00:00
Alex Holliday 67963823d9 Merge branch 'develop' into feat/v2-create-config-status-page 2026-02-03 17:43:19 +00:00
Alexander Holliday ab12a9bd3a Merge pull request #3234 from bluewave-labs/fix/validation
Fix validation
2026-02-03 09:42:32 -08:00
Alex Holliday 3b25c50247 Fix validation 2026-02-03 17:41:31 +00:00
Br0wnHammer 63e42b7276 Fix: Send Email Invite 2026-02-03 22:36:19 +05:30
llpingll 090d002578 Add comment to PasswordPanel to encourage additional error handling and remove helperText comments | Remove explicit special characters from en.json 2026-02-03 16:44:15 +00:00
Alex Holliday ae7524f507 monitors details 2026-02-02 23:57:14 +00:00
Alex Holliday 54d71bef61 monitors 2026-02-02 23:46:15 +00:00
Alexander Holliday a77c74b17c Merge pull request #3231 from bluewave-labs/feat/v2-status-page
feat: v2 status page
2026-02-02 15:01:41 -08:00
Alex Holliday f2363a7a09 form initial commit 2026-02-02 23:01:35 +00:00
llpingll 69f95723f1 Combine useNavigate and useLocation into one import 2026-02-02 22:23:48 +00:00
Alex Holliday 1fefb038f0 cleanup 2026-02-02 22:15:57 +00:00
Alex Holliday 85190992c7 format 2026-02-02 22:02:14 +00:00
Alex Holliday efe87b599f add missing / 2026-02-02 22:01:42 +00:00
Alex Holliday ed1bcf97da monitor name overflow 2026-02-02 21:57:07 +00:00
Alex Holliday 56ead03416 breadcrumbs 2026-02-02 21:51:06 +00:00
Alex Holliday a912a5ebb8 monitors lis tskeleton 2026-02-02 20:42:27 +00:00
Alex Holliday 0fd4173816 status bar 2026-02-02 20:39:16 +00:00
Alex Holliday 75d3644b36 remove unused 2026-02-02 19:25:30 +00:00
Alex Holliday 853e21623e new status pages 2026-02-02 19:20:59 +00:00
Alex Holliday 57c3bf3240 findBYIds only 2026-02-02 19:00:03 +00:00
Alexander Holliday 6be1eb0a3e Merge pull request #3230 from bluewave-labs/feat/v2-incidents
feat: v2 incidents
2026-02-02 10:51:29 -08:00
Alex Holliday 9d70623e0f bump mui color 2026-02-02 18:50:20 +00:00
Alex Holliday 43fe66022b format 2026-02-02 18:45:52 +00:00
Alex Holliday 294fb13005 remove unused 2026-02-02 18:45:29 +00:00
Alex Holliday 8028cab487 no active incidents msg 2026-02-02 18:31:21 +00:00
Alex Holliday 8160ab4a3c fix isFilterACtive logic 2026-02-02 17:56:11 +00:00
Alex Holliday 6063532c79 fitlers 2026-02-02 17:49:36 +00:00
Alex Holliday 83b628c8f9 divider 2026-02-02 17:36:42 +00:00
Alex Holliday 88a91022c3 summary, activ eincident table 2026-02-02 17:28:22 +00:00
Alex Holliday 5822a363a9 resolve strings 2026-02-02 17:16:34 +00:00
Lui Duarte 464b16ec9d Merge branch 'develop' into change-password 2026-02-02 15:49:30 +00:00
Alex Holliday d54c90d511 require team ID 2026-02-02 06:09:57 +00:00
Alex Holliday 3a5783fe91 email 2026-02-02 06:08:51 +00:00
Alex Holliday 479f22ac69 resolution details 2026-02-02 05:41:32 +00:00
Alex Holliday 30202b2249 grid 2026-02-01 01:54:18 +00:00
Alex Holliday 888910abb2 bump mui 2026-02-01 00:49:35 +00:00
Alex Holliday 874d1b277a incidnet details 2026-02-01 00:34:48 +00:00
Alex Holliday f34520cdbf dialog initial commit 2026-02-01 00:03:08 +00:00
Alex Holliday f420044b64 header 2026-01-31 01:32:33 +00:00
Alex Holliday 53d5ae2251 time header 2026-01-31 01:23:54 +00:00
Alex Holliday bcc57c7135 strings 2026-01-31 01:12:05 +00:00
Alex Holliday 6b67f4977f wire up incidents table 2026-01-31 00:41:03 +00:00
Alex Holliday 87255071f4 headers and actions 2026-01-31 00:18:33 +00:00
Alex Holliday cbf1f97591 initial table commit 2026-01-30 23:35:33 +00:00
Alex Holliday 7a881fda03 strings 2026-01-30 23:31:03 +00:00
Alex Holliday 50fd66ef56 center 2026-01-30 23:28:36 +00:00
Alex Holliday f9b677b1ad strings 2026-01-30 23:22:56 +00:00
Alex Holliday b7a6d50c73 cards 2026-01-30 23:16:35 +00:00
Alex Holliday 04bd7f0e2e initial comit 2026-01-30 21:45:14 +00:00
Alexander Holliday 2e7aba788d Merge pull request #3227 from bluewave-labs/fix/infra-link
hardware->infrastructure
2026-01-30 13:40:36 -08:00
Alex Holliday e1665b29af hardware->infrastructure 2026-01-30 21:40:10 +00:00
Alexander Holliday 17450e2537 Merge pull request #3226 from bluewave-labs/fix/strings
fix: remove unused strings
2026-01-30 13:37:22 -08:00
Alex Holliday 270293a2b5 format 2026-01-30 21:35:51 +00:00
Alex Holliday a7c5b0c7fb remove unused strings 2026-01-30 21:35:38 +00:00
Alex Holliday e804c35c3a remove commments 2026-01-30 21:30:10 +00:00
Alexander Holliday 5c4133097d Merge pull request #3225 from bluewave-labs/feat/v2-create-monitors
feat: V2 create monitors
2026-01-30 13:27:52 -08:00
Alex Holliday 85f93cd6d2 format 2026-01-30 21:26:56 +00:00
Alex Holliday d4db32e392 game 2026-01-30 21:26:27 +00:00
Alex Holliday 791b9fc7a2 game 2026-01-30 21:26:17 +00:00
Alex Holliday 206c5577a6 move header 2026-01-30 21:14:11 +00:00
Alex Holliday cbd0530d85 remove unused 2026-01-30 21:10:52 +00:00
Alex Holliday 45ef2438de format 2026-01-30 21:05:32 +00:00
Alex Holliday ec818eaacb delete 2026-01-30 21:04:14 +00:00
Alex Holliday 91bb60f2ff delte header 2026-01-30 20:55:24 +00:00
Alex Holliday 443ad46fa7 update strings 2026-01-30 20:38:05 +00:00
Alex Holliday f685c9cd5d useAdvncedMatching 2026-01-30 20:21:31 +00:00
Alex Holliday 0263c17618 advance dmatching section 2026-01-30 19:54:44 +00:00
Alex Holliday 5a12e36c7e put -> patch 2026-01-30 19:43:34 +00:00
Alex Holliday 67da6c61cf put/create 2026-01-30 19:41:41 +00:00
Alex Holliday f538f61464 slider update 2026-01-30 18:28:30 +00:00
Alex Holliday f6971ede69 slider w label 2026-01-30 00:00:12 +00:00
Alex Holliday e69283e3ed sliders 2026-01-29 23:52:21 +00:00
Alex Holliday 084eed85bf add incidents config box 2026-01-29 23:39:14 +00:00
Alex Holliday 9a42fb031f check frequency 2026-01-29 23:17:08 +00:00
Alex Holliday 943e88c54d TLS/SSL 2026-01-29 23:10:34 +00:00
Alex Holliday 24ce64b439 notifications 2026-01-29 23:04:40 +00:00
Alex Holliday 841d25ce3e general 2026-01-29 22:47:29 +00:00
Alex Holliday 84e4ea7b64 forward ref 2026-01-29 22:20:50 +00:00
Alex Holliday 4b92dbd19b initial commit 2026-01-29 22:17:56 +00:00
Alexander Holliday 5eb1d54d65 Merge pull request #3223 from bluewave-labs/feat/v2-notifications-create
Feat: v2 notifications create
2026-01-29 13:16:28 -08:00
Alex Holliday a0aee182de remove unused 2026-01-29 21:15:14 +00:00
Alex Holliday 2dca5ccb67 format 2026-01-29 21:09:00 +00:00
Alex Holliday 348eea5475 breadcrumb fix 2026-01-29 21:08:36 +00:00
Alex Holliday 2a3683c74a breadcurmbs 2026-01-29 21:08:26 +00:00
Alex Holliday 806d7ae456 test 2026-01-29 20:59:47 +00:00
Alex Holliday cac502573f put -> patch 2026-01-29 20:55:14 +00:00
Alex Holliday 830318edc3 put -> patch 2026-01-29 20:55:02 +00:00
Alex Holliday 86a55e3cfe submit 2026-01-29 20:47:47 +00:00
Alex Holliday 796960aeb2 matrix in one config 2026-01-29 20:26:28 +00:00
Alex Holliday a25ff03b71 remaining fields 2026-01-29 20:12:50 +00:00
Alex Holliday 22ae6b4be6 type 2026-01-29 19:34:49 +00:00
Alex Holliday 0b5e28c296 form 2026-01-29 19:29:36 +00:00
sukritraj02 c5c91e28f8 udated package-lock.json client 2026-01-30 00:23:02 +05:30
Alex Holliday 3ba3e4b865 initial commit 2026-01-29 18:41:46 +00:00
Alexander Holliday 77fa394004 Merge pull request #3222 from bluewave-labs/fix/missing-create-header
fix: missing create header
2026-01-29 10:37:02 -08:00
Alex Holliday c0ba278e47 loading state 2026-01-29 18:34:50 +00:00
sukritraj02 73f41906b0 initial changes , updated package-lock.json file 2026-01-30 00:00:35 +05:30
Alexander Holliday cb5af2741d Merge pull request #3216 from bluewave-labs/fix/latest-incident-overflow
fix: latest incidents panel overflow text on smaller devices
2026-01-29 10:28:32 -08:00
mannilakash af4ef87966 Merge branch 'develop' of github.com:bluewave-labs/Checkmate into fix/latest-incident-overflow 2026-01-29 13:22:20 -05:00
mannilakash a154ad11b5 fix: latest incident panel: Box -> Grid 2026-01-29 13:21:56 -05:00
Alexander Holliday 1bfd1c9119 Merge pull request #3221 from bluewave-labs/feat/v2-notifications
Feat/v2 notifications
2026-01-29 10:21:35 -08:00
Alex Holliday fc98192bcf format 2026-01-29 18:20:05 +00:00
Alex Holliday b1db74d96f remove unused 2026-01-29 18:19:55 +00:00
Alex Holliday c1258d3cdf v2 2026-01-29 18:18:52 +00:00
Alex Holliday 6ffa5ac648 v2-table 2026-01-29 18:14:23 +00:00
Alex Holliday 6395e8a10e iniital commit 2026-01-29 17:52:10 +00:00
Alexander Holliday 2852d2cdce Merge pull request #3220 from bluewave-labs/fix/infra-cleanup
fix: remove unused infra components
2026-01-29 09:45:14 -08:00
Alex Holliday 363baef7b1 remove unused 2026-01-29 17:43:33 +00:00
Alexander Holliday a1973a6d2b Merge pull request #3219 from bluewave-labs/feat/v2-infra-details
Feat/v2 infra details
2026-01-29 09:26:14 -08:00
Gorkem Cetin (BWL) 12f02d6eea Refine questions and ideas section in README
Updated communication options with preferred channels.
2026-01-28 19:47:48 -05:00
Alex Holliday a6c291c8ef build fix 2026-01-29 00:07:11 +00:00
Alex Holliday 227dc9e7e8 y axis formatting 2026-01-29 00:04:51 +00:00
Alex Holliday 38ef9ccad3 network charts 2026-01-29 00:01:22 +00:00
Alex Holliday 353b97e7d3 _id -> bucketDate 2026-01-28 23:34:18 +00:00
Alex Holliday 9b871ffb52 grid fix 2026-01-28 23:29:04 +00:00
Alex Holliday cb392eaaba gauges, charts 2026-01-28 23:26:00 +00:00
Alex Holliday dcf5a77923 stat boxes 2026-01-28 22:38:02 +00:00
Alex Holliday ec03addba6 headers 2026-01-28 22:00:33 +00:00
Alex Holliday eefdb8d253 initial commit 2026-01-28 21:39:38 +00:00
Alexander Holliday e539f40612 Merge pull request #3218 from bluewave-labs/feat/v2-infra
feat: v2 infra
2026-01-28 13:39:08 -08:00
Alex Holliday c18159afd3 v2 infra migration 2026-01-28 21:34:43 +00:00
Alex Holliday 5596e45ff3 initial commit 2026-01-28 20:48:02 +00:00
Alexander Holliday bde13f4fa7 Merge pull request #3217 from bluewave-labs/fix/check-cleanup
fix: cleanup
2026-01-28 12:23:55 -08:00
Alex Holliday 7f1c996632 format 2026-01-28 20:21:41 +00:00
Alex Holliday 396d5b369b remove unused 2026-01-28 20:20:18 +00:00
Alex Holliday bb8cc8b464 cleanup, check fix 2026-01-28 20:00:42 +00:00
mannilakash 66efa25e2b fix: latest incidents panel overflow text on smaller devices 2026-01-28 14:36:51 -05:00
Alexander Holliday 7bef6dc0e6 Merge pull request #3215 from bluewave-labs/feat/v2-checks
feat: v2 checks
2026-01-28 11:28:10 -08:00
Alexander Holliday 1c341a4e3d Merge pull request #3214 from bluewave-labs/fix/bump-mongo
bump mongo for ARM to 6.0
2026-01-28 11:26:39 -08:00
Alex Holliday f41f2322cf remove unused import 2026-01-28 19:26:15 +00:00
Alex Holliday b653f26c96 format 2026-01-28 19:24:17 +00:00
Alex Holliday ece1dadb78 correctly convert to entity 2026-01-28 19:20:16 +00:00
Alex Holliday 1f003c4d48 fix breakpoint 2026-01-28 19:06:21 +00:00
Alex Holliday 5a468d717a Responsive 2026-01-28 19:00:34 +00:00
Alex Holliday 975d134dd8 extract strings 2026-01-28 18:45:11 +00:00
Alex Holliday 7a66b5310b expose isValidating 2026-01-28 18:03:33 +00:00
Alex Holliday fcfad945a0 selects 2026-01-28 17:59:11 +00:00
Alex Holliday 6b4032ecfe bump mongo for ARM to 6.0 2026-01-28 17:08:36 +00:00
sukritraj02 41d6c092d4 eat: improve notification grouping email subject and monitor name formatting 2026-01-28 18:53:51 +05:30
sukritraj02 f9e366e181 fixed notificationsService.ts 2026-01-28 18:23:22 +05:30
Alex Holliday 07705e9823 fix recent 2026-01-27 23:21:04 +00:00
Alex Holliday c48049e0af checks table 2026-01-27 23:17:40 +00:00
Alex Holliday f3ba8c9815 monitor select 2026-01-27 23:05:00 +00:00
Alex Holliday f88e4ee6f4 refactor 2026-01-27 22:24:16 +00:00
Alexander Holliday 53f420cf56 Merge pull request #3211 from bluewave-labs/fix/string-cast
cast to string
2026-01-27 13:58:11 -08:00
Alex Holliday 589825c1c5 format 2026-01-27 21:57:55 +00:00
Alex Holliday 300b1b2238 initial commit 2026-01-27 21:57:09 +00:00
Alex Holliday 6efc05879a cast to string 2026-01-27 21:54:20 +00:00
Alexander Holliday 20dccb140e Merge pull request #3208 from bluewave-labs/fix/docker
docker fix
2026-01-27 13:39:44 -08:00
Alex Holliday 8dfedb8a52 docker fix 2026-01-27 21:26:27 +00:00
Alexander Holliday d48cdaca9c Merge pull request #3205 from bluewave-labs/fix/types
fix types
2026-01-27 13:19:13 -08:00
Alex Holliday 36a53ee80b fix types 2026-01-27 21:17:57 +00:00
Alexander Holliday 4400ca703d Merge pull request #3202 from bluewave-labs/fix/dockerfile
remove console.log, fix docker file
2026-01-27 13:01:52 -08:00
Alex Holliday c1d0cb568d remove console.log, fix docker file 2026-01-27 21:00:28 +00:00
Alexander Holliday 81e73e5adf Merge pull request #3200 from bluewave-labs/fix/checks
fix/checks
2026-01-27 12:52:20 -08:00
Alex Holliday 7a84d06a79 query tweak 2026-01-27 20:49:44 +00:00
Alex Holliday 63d2bb97ee add dateRange to checks query 2026-01-27 20:46:28 +00:00
Alex Holliday 0af7cfe714 generate checks 2026-01-27 20:04:47 +00:00
Alex Holliday d190f5ab02 types 2026-01-27 19:55:52 +00:00
Alexander Holliday 8cfe1d3c1a Merge pull request #3199 from bluewave-labs/feat/recent-checks
feat: recent checks
2026-01-27 11:54:39 -08:00
Alex Holliday 1bf4c75418 format 2026-01-27 19:52:44 +00:00
Alex Holliday 7771a0ce35 resolve errors 2026-01-27 19:50:32 +00:00
Alex Holliday fcd9e78367 infra migration 2026-01-27 19:39:17 +00:00
Alex Holliday 6f9fefddd2 recent checks 2026-01-27 19:24:02 +00:00
Alex Holliday 5731283c46 recent checks 2026-01-27 19:23:34 +00:00
Alex Holliday 420ff292d9 toEntity 2026-01-27 18:58:08 +00:00
Alex Holliday 290ee7d2df proper parsing 2026-01-27 18:50:08 +00:00
Alex Holliday 50c644231e initial commit 2026-01-27 18:26:31 +00:00
Alexander Holliday 5729b0a263 Merge pull request #3197 from bluewave-labs/fix/checks
date limit
2026-01-26 20:07:32 -08:00
Alex Holliday 4f3f5408ef date limit 2026-01-27 04:06:52 +00:00
Alexander Holliday de7038d6c3 Merge pull request #3195 from bluewave-labs/fix/checks
format
2026-01-26 19:40:26 -08:00
Alex Holliday 4119189c71 format 2026-01-27 03:39:55 +00:00
Alexander Holliday fd66affea8 Merge pull request #3193 from ajhollid/fix/dockerfile
fix: dist dir
2026-01-26 15:58:07 -08:00
Alex Holliday 839dc201df dist 2026-01-26 15:57:23 -08:00
Alexander Holliday bbb0716251 Merge pull request #3191 from bluewave-labs/fix/pagespeed-tooltip
fix tooltip styling
2026-01-26 15:46:50 -08:00
Alex Holliday bbdfc00eb9 format 2026-01-26 23:45:28 +00:00
Alexander Holliday ba498534e6 Merge pull request #3190 from bluewave-labs/fix/migration
fix: migration
2026-01-26 15:44:50 -08:00
Alex Holliday f51bf36ddd fix tooltip styling 2026-01-26 23:44:40 +00:00
Alex Holliday 716479c5bb format 2026-01-26 23:21:49 +00:00
Alex Holliday f9c85e2d76 indexes 2026-01-26 23:20:18 +00:00
Alex Holliday e26f3facf1 use creatdAt 2026-01-26 23:15:59 +00:00
Alex Holliday fd5f493345 improve migration 2026-01-26 23:02:30 +00:00
Alexander Holliday e5bb736530 Merge pull request #3189 from bluewave-labs/feat/pagespeed-details
feat: v2 pagespeed details
2026-01-26 14:34:56 -08:00
Alex Holliday d71d16ecd0 refresh interval 2026-01-26 22:32:08 +00:00
Alex Holliday 389716fa77 pretty-ms 2026-01-26 22:29:28 +00:00
Alex Holliday 1bcb2ddf91 pagespeed v2 refactor 2026-01-26 22:28:02 +00:00
Alex Holliday b61077bd3f remove unsued strings, initial commit 2026-01-26 21:14:04 +00:00
Alexander Holliday 1cffd51bd3 Merge pull request #3188 from bluewave-labs/feat/v2-pagespeed
feat/v2 pagespeed
2026-01-26 12:50:30 -08:00
Alex Holliday 451e352458 types 2026-01-26 20:47:29 +00:00
Alex Holliday a07e41d8f1 format 2026-01-26 20:47:24 +00:00
Alex Holliday 90e9b41973 pagespeed key alert 2026-01-26 20:47:10 +00:00
Alex Holliday 1819df5117 priority fallback 2026-01-26 20:27:11 +00:00
Alex Holliday 6380dcc6ba summary 2026-01-26 20:05:11 +00:00
Alex Holliday 6cb45ea6de delete pagepseed 2026-01-26 19:36:29 +00:00
Alex Holliday 67f74dd7de fix: prevent horizontal scrollbar in table by adding overflowX hidden and making histogram responsive 2026-01-26 18:28:55 +00:00
Alex Holliday 8f58ceafab fix: add overflowX hidden to table cells to prevent horizontal scrollbar 2026-01-26 18:27:12 +00:00
Alex Holliday c7aa45cd77 initial commit 2026-01-26 18:24:58 +00:00
Alexander Holliday d0727f91dd Merge pull request #3186 from bluewave-labs/feat/v2-uptime-details
feat/v2 uptime details
2026-01-26 09:16:12 -08:00
Alex Holliday 967b2b200b build errors 2026-01-26 17:15:08 +00:00
Alex Holliday d71c7c6ee1 format 2026-01-26 17:11:09 +00:00
Alexander Holliday 6daa79f0ed Merge pull request #3187 from bluewave-labs/maintenance-canlendar-dark-theme
fix maintenance datepicker theme color
2026-01-26 09:07:50 -08:00
karenvicent 93a5eff562 fix maintenance datepicker theme color 2026-01-26 11:40:44 -05:00
Alex Holliday 11c95f885d bucket date 2026-01-26 03:19:33 +00:00
Alex Holliday 174665e70a remove unused 2026-01-26 02:55:52 +00:00
Alex Holliday 64de01437e remove toast styling 2026-01-26 02:48:56 +00:00
Alex Holliday a64885e609 checks table 2026-01-26 02:37:59 +00:00
Alex Holliday e354fa7ebf response time chart 2026-01-26 02:06:37 +00:00
llpingll 04cf47544a Fix ForgotPassword format 2026-01-25 23:48:12 +00:00
Lui Duarte e1dfd98840 Merge branch 'develop' into change-password 2026-01-25 23:23:04 +00:00
llpingll 4ce4a124d6 Refactor PasswordPanel to pass navigation context via state to ForgotPassword using TextLink | Update ForgotPassword and CheckEmail to handle navigation context for Back links, ensuring users return to the correct page after password reset | Fix TextLink prop usage to avoid warnings by passing state and href correctly | Ensure error messages and navigation links use translation keys for localization 2026-01-25 22:57:36 +00:00
llpingll f564636cb4 Fix missingKey warning with helper text 2026-01-25 19:11:25 +00:00
Alex Holliday 3208cc9e2c strings and icons 2026-01-25 16:48:56 +00:00
Alex Holliday 79dfa886f1 upchart 2026-01-25 16:31:54 +00:00
Alex Holliday 8af8efbe3b toggle-button-group 2026-01-25 16:09:48 +00:00
Alex Holliday 71bd1fa28f time range header 2026-01-25 15:56:15 +00:00
llpingll 14a08a303b Fix helper text to correctly use translation to display message not key 2026-01-25 15:45:34 +00:00
llpingll 4645bde025 Allow all users to change password and handle expired sessions 2026-01-25 15:19:21 +00:00
Alex Holliday a2569c50c7 stat boxes 2026-01-25 04:09:40 +00:00
Alex Holliday f7ae11997d monitor controls header 2026-01-25 03:20:58 +00:00
Alexander Holliday 0b7a41dc78 Merge pull request #3184 from bluewave-labs/fix/password-tooltip-theme-contrast
Fix password tooltip theme contrast issues
2026-01-24 18:12:24 -08:00
Alex Holliday d42d5f2325 initial commit 2026-01-25 02:09:33 +00:00
gorkem-bwl 369d16c7c3 fix: resolve password tooltip theme contrast and translation issues
- Fix tooltip background using non-existent tertiary.background
  property by switching to tertiary.main
- Fix Check component text color inheritance for noHighlightText
  by adding color: inherit to inner Typography
- Add translation wrapper for validation error messages in PasswordPanel
- Add translation wrapper for validation error messages in ProfilePanel
2026-01-24 19:52:06 -05:00
Alexander Holliday 6e8172c126 Merge pull request #3183 from bluewave-labs/feat/v2/uptime
feat: v2-uptime
2026-01-24 12:43:09 -08:00
Alex Holliday 794018a6ab simplify breadcrumbs 2026-01-24 20:41:21 +00:00
Alex Holliday 8d6bc7bc0b udpate API client 2026-01-24 20:26:05 +00:00
Alex Holliday 30631d6ff8 fix setRowsPerPage 2026-01-24 16:41:40 +00:00
Alex Holliday 56c5ad419a format settings 2026-01-24 16:20:09 +00:00
Alex Holliday b852293447 header create 2026-01-24 16:19:43 +00:00
Alex Holliday d877ecf061 Merge branch 'feat/v2/uptime' of https://github.com/bluewave-labs/Checkmate into feat/v2/uptime 2026-01-24 16:19:15 +00:00
Alexander Holliday 73e90bfab6 Merge pull request #3182 from bluewave-labs/fix/monitor-utils-naming-conflict
fix: resolve monitorUtils naming conflict on case-insensitive filesystems
2026-01-24 08:10:20 -08:00
gorkem-bwl a55163de56 fix: resolve monitorUtils naming conflict on case-insensitive filesystems
## Changes
- Rename monitorUtils.js to monitorUtilsLegacy.js to avoid conflict with MonitorUtils.ts
- Update imports in IncidentActionsMenu, JobTable, FailedJobTable, and PageSpeed/Create
2026-01-24 11:03:47 -05:00
Alex Holliday f5c6abad1b header create 2026-01-24 16:01:32 +00:00
Alex Holliday 3dbbe035a8 stacking fields 2026-01-24 01:08:44 +00:00
Alex Holliday 9904626526 chart type option 2026-01-24 00:51:13 +00:00
Alex Holliday 61f3aa1d1c reenable sorting 2026-01-24 00:29:19 +00:00
Alex Holliday a0a8ceb0db uptime 2026-01-23 23:54:58 +00:00
Alex Holliday c2dece862c controls 2026-01-23 21:30:34 +00:00
Alex Holliday 69018a4944 components 2026-01-23 12:33:40 -08:00
Alex Holliday 363d89e4f4 initial commit 2026-01-23 19:58:37 +00:00
Alexander Holliday f8bb01190e Merge pull request #3179 from bluewave-labs/feat/swr-hook
add SWR hook and API client
2026-01-23 10:18:09 -08:00
Alex Holliday 00cf0b6521 fix get return type 2026-01-23 18:14:16 +00:00
Alex Holliday a11d551a99 add SWR hook and API client 2026-01-23 17:38:30 +00:00
Alexander Holliday b35be1ecfc Merge pull request #3178 from bluewave-labs/fix/incident-details
remove extra network request
2026-01-22 14:08:09 -08:00
Alexander Holliday 9d64de57b3 Merge pull request #3177 from bluewave-labs/fix/datepicker-dark-mode-contrast
fix: DatePicker calendar popup contrast in dark mode
2026-01-22 14:06:26 -08:00
Alex Holliday de6c4d9c3e remove extra network request 2026-01-22 22:05:18 +00:00
gorkem-bwl e0e79fb0da fix: DatePicker calendar popup contrast in dark mode
## Changes
- Add global theme overrides for MUI DatePicker components (MuiPickersPopper,
  MuiDateCalendar, MuiPickersCalendarHeader, MuiDayCalendar, MuiPickersDay)
- Remove inline popper styling from CreateMaintenance component as it's now
  handled globally
- Calendar popup now properly adapts to both light and dark themes using
  theme palette tokens
2026-01-22 17:05:06 -05:00
Alexander Holliday 3339b6b67f Merge pull request #3176 from bluewave-labs/fix/purge-js
remove final js
2026-01-22 13:51:59 -08:00
Alex Holliday b511cde849 remove final js 2026-01-22 21:49:49 +00:00
Alexander Holliday ce322a8e28 Merge pull request #3175 from bluewave-labs/fix/incident-details
fix: purge incident module
2026-01-22 13:30:42 -08:00
Alex Holliday d25ca473de purge incident module 2026-01-22 21:28:28 +00:00
Alexander Holliday 5292ca8988 Merge pull request #3174 from bluewave-labs/feat/status-page-service-and-repo
feat/status page service and repo
2026-01-22 13:04:30 -08:00
Alex Holliday c98cba2eef shutdown -> ts 2026-01-22 21:02:34 +00:00
Alex Holliday 6b89db131d remove statuspagemodule 2026-01-22 21:01:45 +00:00
Alex Holliday 995ae5252d format 2026-01-22 20:57:45 +00:00
Alex Holliday e6c268f14e status page service/repo refactor 2026-01-22 20:57:20 +00:00
Alexander Holliday 5aef405414 Merge pull request #3173 from bluewave-labs/fix-uptime-monitor-redirection-incident
Fix uptime monitor redirection incident
2026-01-22 12:30:05 -08:00
karenvicent a5112a7955 Merge branch 'develop' into fix-uptime-monitor-redirection-incident 2026-01-22 15:09:29 -05:00
karenvicent 5404b65ce2 Fixed the navigation from an uptime monitor into Incidents 2026-01-22 15:08:24 -05:00
Alexander Holliday 34dfe33c29 Merge pull request #3170 from bluewave-labs/fix/light-dark-mode-theme
fix: sidebar and body background not adapting to light mode
2026-01-22 11:58:13 -08:00
Alexander Holliday 1e24c8841e Merge pull request #3172 from bluewave-labs/fix/fe/incident-detail-resolved
Fix: Incident Detail UI Layout
2026-01-22 11:52:46 -08:00
mannilakash 0c04c06781 fix: sidebar border color changes based on theme (primary->lowContrast color) 2026-01-22 14:48:11 -05:00
Br0wnHammer 7441169a0e Fix: Incident Detail UI Layout 2026-01-23 00:47:57 +05:30
Alexander Holliday 3520e5adf4 Merge pull request #3171 from bluewave-labs/fix/fe/incident-page-ui
Fix: Incidents Page Detail
2026-01-22 11:04:42 -08:00
Br0wnHammer 227e0128f9 Fix: Incidents Page Detail 2026-01-23 00:31:24 +05:30
Alexander Holliday 2359255ef7 Merge pull request #3169 from bluewave-labs/feat/maintenance-window-repository
feat/maintenance window repository
2026-01-22 10:14:22 -08:00
Alex Holliday b074f2401f format 2026-01-22 18:12:56 +00:00
Alex Holliday eee3caf021 remove old db module 2026-01-22 18:11:54 +00:00
Alex Holliday f9848e4e1e update fe 2026-01-22 17:53:54 +00:00
Alex Holliday 8bd608bee0 implement remaining methods 2026-01-22 17:44:03 +00:00
gorkem-bwl ea589d6be4 fix: sidebar and body background not adapting to light mode
## Changes

### Sidebar
- Remove hardcoded `backgroundColor: "#000000"`
- Use `theme.palette.background.main` for dynamic theming
- Update border color to use `theme.palette.border.light`

### Body Background
- Remove hardcoded `background-color: #000000` from index.css
- Add GlobalStyles in App.jsx to apply theme background to body element

## Benefits
- Sidebar now properly displays in light mode
- Body background adapts correctly to theme changes
- Consistent theming across light and dark modes
2026-01-22 12:27:18 -05:00
Alexander Holliday 5a0078cf92 Merge pull request #3167 from bluewave-labs/incidents-feat-modal
Incidents action button and detail modal
2026-01-22 09:06:53 -08:00
karenvicent f4a5bd65ad Merge branch 'develop' into incidents-feat-modal 2026-01-22 11:11:02 -05:00
karenvicent 4766594413 fix function duplicated and log 2026-01-22 10:58:47 -05:00
Alex Holliday 9962866ba5 refactor 2026-01-21 23:26:13 +00:00
Alex Holliday 82cc289f53 mw type 2026-01-21 14:26:17 -08:00
Alex Holliday 117c22fae4 initial commit 2026-01-21 14:22:53 -08:00
Alexander Holliday e0cabdb4fc Merge pull request #3168 from bluewave-labs/fix/notifications-service
fix: refactor notifications service
2026-01-21 13:56:43 -08:00
Alex Holliday 155a2577d0 remove unused dep 2026-01-21 13:55:22 -08:00
Alex Holliday d627a25b40 refactor notifications service 2026-01-21 13:51:04 -08:00
karenvicent b8a5af9c10 delete detail incident page 2026-01-21 16:12:42 -05:00
Alexander Holliday 5b43d9d173 Merge pull request #3166 from ajhollid/fix/db-modules
fix/db modules
2026-01-21 13:03:37 -08:00
Alex Holliday 801b716a03 parse settings 2026-01-21 13:01:43 -08:00
Alex Holliday fdc3983328 remove settingsModule 2026-01-21 13:01:31 -08:00
karenvicent 0cf85f8b3b add traslation 2026-01-21 15:50:46 -05:00
karenvicent 0ea4a5024a Merge branch 'develop' into incidents-feat-modal 2026-01-21 15:35:22 -05:00
karenvicent 09513696ee detail modal fixes and filters options 2026-01-21 15:33:00 -05:00
Alexander Holliday b0da1f4259 Merge pull request #3165 from ajhollid/fix/team-ts
fix/team ts
2026-01-21 11:57:21 -08:00
Alex Holliday 5b96075c03 build errs 2026-01-21 11:56:05 -08:00
Alex Holliday 36e02e0a9a team -> ts 2026-01-21 11:46:49 -08:00
Alex Holliday 9fa0113f2b remove database.js 2026-01-21 11:21:00 -08:00
Alex Holliday 371e8cc154 purge translationService 2026-01-21 11:20:41 -08:00
Alexander Holliday 7b4286646b Merge pull request #3163 from ajhollid/fix/app
fix: app -> ts
2026-01-21 11:20:03 -08:00
Alex Holliday 2a8d2cb06a app -> ts 2026-01-21 11:18:13 -08:00
Alexander Holliday 147eff3ede Merge pull request #3162 from ajhollid/fix/routes
fix/routes
2026-01-21 10:37:21 -08:00
Alex Holliday 81c7c992e2 routes -> ts 2026-01-21 10:36:03 -08:00
Alex Holliday 35488fed3e Merge branch 'develop' into fix/routes 2026-01-21 10:18:55 -08:00
Alexander Holliday 760abe69ed Merge pull request #3161 from bluewave-labs/fix/cleanup
Fix/cleanup
2026-01-21 10:18:44 -08:00
Alex Holliday d242382abf format 2026-01-21 10:16:17 -08:00
Alex Holliday ef61a63da0 parse query 2026-01-21 10:15:13 -08:00
Alex Holliday 3fa370765e purge papaparse 2026-01-21 09:52:31 -08:00
Alexander Holliday 3b5e793f8f Merge pull request #3156 from bluewave-labs/fix/monitor/pause-button
Fix: Configure Pause Button
2026-01-21 09:20:53 -08:00
Br0wnHammer b34dbec3cf Fix: updateTrigger val 2026-01-21 18:47:38 +05:30
karenvicent 90eee474d2 Merge branch 'develop' into incidents-feat-modal 2026-01-20 21:03:07 -05:00
karenvicent 63416ceb4b fix import routes 2026-01-20 20:58:35 -05:00
karenvicent eb8c9bea76 Merge branch 'develop' into incidents-feat-modal 2026-01-20 20:46:02 -05:00
Alex Holliday 63b4779961 monitorSerivce return types 2026-01-21 00:01:38 +00:00
Alexander Holliday d2040495d6 Merge pull request #3160 from bluewave-labs/fix/remove-service-registry
fix/remove service registry
2026-01-20 15:10:20 -08:00
Alex Holliday f436e15569 fix dep 2026-01-20 23:10:08 +00:00
Alex Holliday 952c70fca4 remove v1 dir 2026-01-20 23:07:31 +00:00
Alex Holliday 4957209307 purge string service 2026-01-20 23:06:23 +00:00
Alex Holliday cc9850c975 logger->ts 2026-01-20 22:56:14 +00:00
Alex Holliday c6ac48b4ff rateLimiter -> ts, remove resonse handler 2026-01-20 22:50:34 +00:00
karenvicent 82584d85c7 detail modal 2026-01-20 17:49:54 -05:00
Alex Holliday ffd67150eb sanitization ts 2026-01-20 22:47:06 +00:00
Alex Holliday 44079f2eb8 remove service regsitry, remove unused middleware 2026-01-20 22:40:06 +00:00
Alexander Holliday f03ded4109 Merge pull request #3159 from bluewave-labs/feat/email-service-ts
feat: email-service js->ts
2026-01-20 14:08:32 -08:00
Alex Holliday fa520e5f88 js->ts 2026-01-20 22:06:55 +00:00
Alexander Holliday e9fbb472f4 Merge pull request #3158 from bluewave-labs/feat/diagnostic-service-ts
feat: diagnostic-service js->ts
2026-01-20 13:55:13 -08:00
Alex Holliday de236f03eb js->ts 2026-01-20 21:53:19 +00:00
Alexander Holliday 4f043fe1d4 Merge pull request #3157 from bluewave-labs/feat-checks-repository
Feat checks repository
2026-01-20 13:36:09 -08:00
Alex Holliday 102bd0a5f8 format 2026-01-20 21:34:40 +00:00
Alex Holliday 118372630e return types 2026-01-20 21:31:53 +00:00
Alex Holliday 27dea6a08e implement remaining check methods 2026-01-20 21:18:26 +00:00
Br0wnHammer dd259fea89 Fix: One source of truth 2026-01-21 02:02:16 +05:30
Alex Holliday 9af25a19e5 findByMonitorId 2026-01-20 20:14:23 +00:00
Br0wnHammer 6101fe1bfa Fix: Configure Pause Button 2026-01-21 01:42:00 +05:30
Alexander Holliday 795146c79b Merge pull request #3155 from bluewave-labs/fix/notifications
fix: replaced monitor with updatedMonitor
2026-01-20 11:51:29 -08:00
Alex Holliday a69091bb28 replaced monitor with updatedMonitor 2026-01-20 19:49:40 +00:00
Alexander Holliday 6160806963 Merge pull request #3154 from bluewave-labs/fix/checks
fix/checks
2026-01-20 11:47:45 -08:00
Alex Holliday c1b2bda623 _id -> id 2026-01-20 19:41:57 +00:00
Alex Holliday c0e4893f96 remove ack service and db methods 2026-01-20 19:26:46 +00:00
Alex Holliday 476ff39a17 remove check ack routes and controller functions 2026-01-20 19:25:00 +00:00
Alexander Holliday f467ef1411 Merge pull request #3153 from bluewave-labs/fix/incidents
fix/incidents
2026-01-20 11:24:21 -08:00
Alex Holliday 36b02e5e66 Merge branch 'fix/incidents' into fix/checks 2026-01-20 19:22:18 +00:00
Alex Holliday f6fd8729c3 remove dependency 2026-01-20 19:22:04 +00:00
Alex Holliday cdfc87da09 remove ack 2026-01-20 19:21:03 +00:00
Alex Holliday 427e5a18ea incidents -> checks 2026-01-20 19:12:05 +00:00
Alex Holliday f696b4ef9b Merge branch 'develop' into fix/incidents 2026-01-20 19:08:03 +00:00
Alex Holliday 69d050ff61 remove incidents from buffer 2026-01-20 19:04:30 +00:00
Alex Holliday 7afdcb8ebc fix query param 2026-01-20 19:01:50 +00:00
Alex Holliday 3cf7243c93 summary 2026-01-20 18:56:06 +00:00
Alexander Holliday 4ed0033a41 Merge pull request #3136 from bluewave-labs/fix/various-ui-ux-fixes
fix: various UI/UX improvements for infrastructure pages
2026-01-20 09:18:30 -08:00
Alexander Holliday bafd82a691 Merge pull request #3147 from bluewave-labs/fix/sidebar-scroll-gap
Fix sidebar gap when scrolling on pages with tall content
2026-01-20 09:17:24 -08:00
Alex Holliday adb2a383cf refactor 2026-01-20 00:02:27 +00:00
Alex Holliday e91a54b75c initial commit 2026-01-19 23:41:24 +00:00
Alexander Holliday 33dfedb4d3 Merge pull request #3152 from bluewave-labs/feat/notifications-refactor
feat/notifications refactor
2026-01-19 14:20:36 -08:00
Alex Holliday dde54a4e45 remove old service 2026-01-19 22:18:17 +00:00
Alex Holliday 5f17520ba0 logging 2026-01-19 22:16:33 +00:00
Alex Holliday bebb5d6942 inject logger 2026-01-19 21:58:48 +00:00
Alex Holliday 7c9410f9d7 test alerts 2026-01-19 21:39:02 +00:00
Alexander Holliday 348ca0dd02 Merge pull request #3151 from bluewave-labs/docs/update-openapi-specs
docs: update OpenAPI specification to match current API
2026-01-19 12:19:16 -08:00
Alex Holliday 1d36f40caf slack 2026-01-19 20:12:54 +00:00
Alex Holliday 9006707e57 discord 2026-01-19 20:03:20 +00:00
Alex Holliday be82a7ee2d discord 2026-01-19 19:58:15 +00:00
Alex Holliday fd33b903ed email provider 2026-01-19 19:30:46 +00:00
gorkem-bwl ab25531758 docs: fix OpenAPI spec accuracy and warnings
## Changes

### Route Corrections
- Remove non-existent `/auth/refresh` endpoint
- Add missing `/auth/users/{userId}/password` PUT endpoint
- Fix `/notifications` GET -> `/notifications/team` GET (correct path)

### OpenAPI 3.1.0 Compliance
- Fix `nullable` warnings by using `type: ["string", "null"]` syntax
- Updated Incident schema nullable fields (endTime, message, statusCode, etc.)
- Updated QueueJob schema nullable fields (processedOn, finishedOn)
- Updated Check schema nullable field (ackAt)

### Verified Against Codebase
- Audited all 76 API endpoints across 12 route files
- Confirmed DELETE /checks/team and DELETE /checks/{monitorId} exist
- All routes now match actual codebase implementation

## Validation
- Passes `swagger-cli validate`
- Only remaining warnings are cosmetic `example` deprecations
2026-01-19 14:13:18 -05:00
Alex Holliday f7f764fd68 providers 2026-01-19 18:58:17 +00:00
gorkem-bwl 3b0326457f docs: update OpenAPI specification to match current API
## Changes

### New Endpoints Added
- `/incidents/team` - Get incidents by team with filtering
- `/incidents/team/summary` - Get incident summary statistics
- `/incidents/{incidentId}` - Get incident by ID
- `/incidents/{incidentId}/resolve` - Manually resolve incident
- `/queue/jobs` (GET) - List queue jobs (admin only)
- `/queue/jobs` (POST) - Add job to queue (admin only)
- `/queue/metrics` - Get queue metrics (admin only)
- `/monitors/team/groups` - Get monitor groups by team
- `/monitors/pagespeed/details/{monitorId}` - Get PageSpeed details
- `/checks/{action}` - Acknowledge all checks for all monitors
- `/checks/{action}/{monitorId}` - Acknowledge checks for specific monitor

### Endpoints Fixed
- `/monitors/export` changed to `/monitors/export/json` (matches actual route)
- Removed non-existent `/monitors/stats/{monitorId}` endpoint
- Removed non-existent `/monitors/team/summary` endpoint
- Split optional path parameter into two valid endpoints for checks

### New Schemas Added
- `Incident` - Complete incident model
- `IncidentSummary` - Incident statistics summary
- `QueueJob` - Queue job information
- `QueueMetrics` - Queue metrics data
- `Check` - Complete check result model
- `CheckTimings` - HTTP timing information
- `CheckCpuInfo` - CPU metrics for infrastructure checks
- `CheckMemoryInfo` - Memory metrics for infrastructure checks
- `CheckDiskInfo` - Disk metrics for infrastructure checks
- `CheckHostInfo` - Host information for infrastructure checks
- `CheckErrorInfo` - Error information from checks
- `CheckCaptureInfo` - Capture agent information
- `CheckNetworkInfo` - Network interface metrics
- `CheckAudits` - PageSpeed audit results
- `LighthouseAudit` - Individual Lighthouse audit result

### Responses Added
- `BadRequest` - 400 error response

### Other Fixes
- Simplified server variables to fix OpenAPI 3.1.0 validation
- Added request body to `/checks/check/{checkId}` endpoint
- Added "incidents" tag to tags array

## Benefits
- OpenAPI specification now accurately reflects the actual API
- All endpoints have proper request/response schemas
- Validation passes with swagger-cli
- Better API documentation for consumers
2026-01-19 13:49:08 -05:00
Alex Holliday 7d6bc4b2dc notificaitons provider 2026-01-19 00:48:20 +00:00
Alex Holliday c2487f0134 alerts 2026-01-18 23:54:42 +00:00
Alex Holliday a86588f080 refactoring notifications 2026-01-18 23:38:40 +00:00
Alex Holliday 4e9839e2e5 notificationsService 2026-01-18 22:52:59 +00:00
gorkem-bwl 487f6b222d refactor: extract sidebar width logic into useSidebar hook
Create shared useSidebar hook to centralize sidebar width and transition
logic, addressing code review feedback about duplicated logic between
Sidebar and HomeLayout components.

Changes:
- Add useSidebar hook with collapsed state, width, and transition values
- Update Sidebar to use the hook instead of inline selectors and values
- Update HomeLayout to use the hook for spacer element styling

This ensures sidebar width logic is defined in one place and stays in sync.
2026-01-18 14:11:05 -05:00
Alex Holliday 391f42ee53 add webhook provider and utils 2026-01-18 16:59:38 +00:00
Alex Holliday cff5508614 notification provider 2026-01-18 16:34:20 +00:00
Alex Holliday a0ebf7d224 initial commit 2026-01-18 06:02:07 +00:00
Alexander Holliday ec9c79fc94 Merge pull request #3150 from bluewave-labs/feat/invite-repo
feat: invite-service to TS
2026-01-17 21:43:11 -08:00
Alex Holliday 3e8d4cb49b convert to ts 2026-01-18 05:38:50 +00:00
Alexander Holliday 288ac08cd6 Merge pull request #3149 from bluewave-labs/feat/user-service-ts
feat/user service ts
2026-01-17 11:09:29 -08:00
Alex Holliday ba35230919 remove db references from userService 2026-01-17 19:08:12 +00:00
Alex Holliday 048e53ea15 setting service 2026-01-17 18:29:42 +00:00
Alex Holliday e498bd60b1 team panel fix 2026-01-17 05:41:52 +00:00
gorkem-bwl a4cf53ee15 Set html/body background to black and disable overscroll bounce
- Added background-color: #000000 to prevent white flash on overscroll
- Added overscroll-behavior: none to disable elastic bounce effect
2026-01-16 22:59:25 -05:00
gorkem-bwl 3a77c6d7fa Fix sidebar gap when scrolling on pages with tall content
The sidebar was showing a visible gap at the bottom when scrolling on
pages with tall tables (e.g., /checks). This occurred because the
parent container's overflow-x: hidden was breaking sticky positioning.

Changes:
- Changed sidebar from position: sticky to position: fixed
- Added a spacer Box element to maintain layout spacing
- Moved border and background styles to the sidebar component
- Cleaned up unused CSS selectors
2026-01-16 22:26:43 -05:00
Alex Holliday b47f3710fe refactor user-service 2026-01-16 22:41:12 +00:00
Alex Holliday 9c92542653 recovery 2026-01-16 22:03:35 +00:00
Alexander Holliday 173a4e17d2 Merge pull request #3138 from bluewave-labs/fix/password-special-chars
fix: remove <> from allowed password characters and display allowed special chars
2026-01-16 13:17:12 -08:00
Alexander Holliday 70b197675e Merge pull request #3146 from bluewave-labs/fix/pagespeed-snapshot
remove pagespeed from snapshot array, full check list required
2026-01-16 13:16:37 -08:00
Alex Holliday 11dcccc085 remove pagespeed from snapshot array, full check list required 2026-01-16 21:16:05 +00:00
Alexander Holliday e3e08da259 Merge pull request #3145 from bluewave-labs/fix/pagespeed-stats
fix: stats fixes
2026-01-16 13:06:49 -08:00
Alex Holliday 6447c315ce stats fixes 2026-01-16 21:04:41 +00:00
Alex Holliday cb5b8e0673 update user refactor 2026-01-16 20:29:54 +00:00
Gorkem Cetin (BWL) f1a6afb860 Merge pull request #3133 from bluewave-labs/fix/ui-improvements-logs-incidents
Improve UI consistency for Logs and Incidents pages
2026-01-16 14:47:21 -05:00
gorkem-bwl 5c52a208b9 Fix build errors and formatting
- Replace CheckIcon SVG import with Lucide Icon component in
  LatestIncidentsPanel/index.jsx
- Format IncidentItem.jsx and StatisticsPanel.jsx with Prettier
2026-01-16 14:44:28 -05:00
gorkem-bwl 4fdc0bde5c Merge develop into fix/ui-improvements-logs-incidents
Resolve conflicts in IncidentItem.jsx and StatisticsPanel.jsx by
keeping the UI improvements from this branch while adopting the
new Lucide Icon component from develop (replacing old SVG imports).
2026-01-16 14:42:29 -05:00
Alexander Holliday 3d4ebe9588 Merge pull request #3143 from bluewave-labs/fix/responsive-layout-overflow
Fix horizontal overflow causing white space on narrow screens
2026-01-16 11:18:02 -08:00
Alex Holliday 88bb8ef2d3 Merge branch 'fix/responsive-layout-overflow' into feat/user-service-ts 2026-01-16 19:15:24 +00:00
Alex Holliday 64dc381e0f separate user from token 2026-01-16 19:14:03 +00:00
Alex Holliday af82dec2ad separate user from token 2026-01-16 19:12:21 +00:00
gorkem-bwl 62ea7b0e5b Fix horizontal overflow causing white space on narrow screens
Add overflow-x: hidden and width: 100% to .home-layout to prevent
horizontal scrollbar. Add min-width: 0 to .home-content-wrapper to
allow flexbox child to shrink below content size at narrow widths.
2026-01-16 14:09:37 -05:00
Alexander Holliday 8747c38f40 Merge pull request #3142 from bluewave-labs/fix/infra-config
infra fix
2026-01-16 10:38:57 -08:00
Alex Holliday d633fc5ccb infra fix 2026-01-16 18:37:14 +00:00
Alexander Holliday 0d7a35367f Merge pull request #3141 from bluewave-labs/feat/job-queue-ts
feat/job queue ts
2026-01-16 10:25:40 -08:00
Alex Holliday af141ec772 build fix 2026-01-16 18:25:28 +00:00
Alex Holliday 5784fec3d1 format 2026-01-16 18:17:55 +00:00
gorkem-bwl 7436c2b5df fix: remove unnecessary dateRange param now that backend defaults it 2026-01-16 13:12:00 -05:00
gorkem-bwl 2055943876 fix: make dateRange optional for hardware details endpoint
The Joi validation marks dateRange as optional, but the controller was using
requireString() which throws a 400 error when dateRange is missing.

Changed to optionalString() with "recent" as the default value, matching
the behavior of other similar endpoints and the Joi validation schema.
2026-01-16 13:11:41 -05:00
Alex Holliday 95cd33ac06 queue and buffer refactor 2026-01-16 18:11:04 +00:00
Gorkem Cetin (BWL) 2a591ee503 Merge pull request #3139 from bluewave-labs/feat/lucide-icon-migration
Migrate icons from custom SVGs and MUI to Lucide React
2026-01-16 12:50:21 -05:00
gorkem-bwl f5aa24d77e fix: rename Image import to ImageIcon to avoid conflicts 2026-01-16 07:34:03 -05:00
gorkem-bwl 7874439e4c fix: address PR review feedback for icon migration
- Use AlertCircle for error and AlertTriangle for warning icons
- Use Icon color prop instead of CSS fill for Lucide stroke-based icons
- Replace wildcard import with explicit named imports for tree-shaking
- Replace sx prop with style prop on Icon components
- Add Trash2 to Icon component imports
2026-01-16 07:31:23 -05:00
gorkem-bwl 7140d436a5 style: apply Prettier formatting 2026-01-15 23:39:26 -05:00
gorkem-bwl ba0c89fc6c feat: migrate icons from custom SVGs and MUI to Lucide React
Replace custom SVG icons and @mui/icons-material with lucide-react for consistent,
lightweight icon management across the application.

## Changes
- Add lucide-react package and remove @mui/icons-material
- Create theme-aware Icon wrapper component with color resolution
- Create iconMap.js for legacy icon name mappings
- Migrate 64 components to use new Icon component
- Remove 74 unused SVG files from assets/icons/

## Benefits
- Consistent icon API across the application
- Smaller bundle size with tree-shakeable imports
- Theme-aware color support via MUI theme paths
- Simpler maintenance with single icon library
2026-01-15 23:37:50 -05:00
gorkem-bwl d91e87f484 fix: remove <> from allowed password characters and display allowed special chars
## Changes
- Remove < and > from password regex pattern in joi.js (these chars are
  stripped by DOMPurify sanitization which caused confusing validation errors)
- Update locale strings to display the list of allowed special characters
  in password tooltip, error messages, and PasswordPanel requirements

## Benefits
- Users now see exactly which special characters are allowed when setting passwords
- Eliminates confusing "password cannot be empty" errors when using < or >
- Regex now accurately reflects the characters that actually work

Fixes #3010
2026-01-15 22:50:29 -05:00
gorkem-bwl bf15018173 fix: various UI/UX improvements for infrastructure pages
## Changes
- Fix infrastructure monitor configure page loading error by adding required dateRange parameter
- Fix URL validation error when editing existing infrastructure monitors
- Fix monitor update using correct 'id' property instead of '_id'
- Fix gauge box labels: "Device" (capitalized) and "Mounted on" instead of "mountpoint"
- Show full device path instead of truncated ".../" prefix
- Implement CSS Grid layout for gauge boxes ensuring consistent widths across all rows
- Gauge boxes expand to fill space only when 4+ boxes exist

## Files Modified
- client/src/Pages/Infrastructure/Create/index.jsx
- client/src/Pages/Infrastructure/Create/hooks/useInfrastructureSubmit.jsx
- client/src/Pages/Infrastructure/Details/Components/GaugeBoxes/index.jsx
- client/src/Pages/Infrastructure/Details/Components/GaugeBoxes/Gauge.jsx
- client/src/Pages/Infrastructure/Details/Components/BaseContainer/index.jsx
- client/src/Pages/Infrastructure/Details/Hooks/useHardwareUtils.jsx
- client/src/locales/en.json
2026-01-15 22:04:56 -05:00
Alexander Holliday b5caabed20 Merge pull request #3135 from bluewave-labs/fix/pagespeed-monitor-delete
Fix pagespeed monitor deletion failing with undefined ID
2026-01-15 18:29:34 -08:00
gorkem-bwl 8814596d6e Fix pagespeed monitor deletion failing with undefined ID
The delete handler was using monitor._id from state, which was undefined
because the fetched monitor object didn't have _id populated. Changed to
use monitorId directly from URL params, which is already available and
used by other handlers in the same component (e.g., handlePause).

Fixes "Failed to delete monitor" error when removing pagespeed monitors.
2026-01-15 21:27:37 -05:00
gorkem-bwl c60d07c3a0 Improve Latest Incidents panel layout
- Simplify incident rows to single line with grid layout
- Remove redundant "Monitor:" and "Status:" labels
- Align columns vertically (monitor name, status badge, duration)
- Center-align status badge column
- Match icon styling with General Statistics (18px, strokeWidth 1.5)
- Remove pointer cursor (click not implemented)
- Add dividers and minHeight to Statistics panel for alignment
2026-01-15 21:19:34 -05:00
gorkem-bwl 54ecf02d9a Fix Prettier formatting in StatisticsPanel 2026-01-15 20:48:15 -05:00
gorkem-bwl 1ab31d19f3 Improve UI consistency for Logs and Incidents pages
## Changes

### Logs page
- Convert server logs from monospace text to DataTable with pagination
- Add table columns: Timestamp, Level, Service, Method, Message
- Add colored level badges (info=green, warn=yellow, error=red, debug=blue)
- Add pagination with configurable rows per page
- Align diagnostics gauge cards with 16px gap and responsive widths

### Incidents page
- Redesign summary cards with consistent styling
- Remove shadows and use 1px border matching other sections
- Reduce icon sizes to 18-24px (sidebar-style)
- Reduce font sizes (13px titles, 18-32px values)
- Add titles to all three summary cards
- Fix "Most Affected Monitor" showing "Unknown Monitor" when no incidents
- Show "N/A" for avg resolution time when no incidents
- Remove cluttered "Resolutions" progress bar section
- Remove horizontal dividers between statistics rows
- Standardize card padding and gap to 16px

### Uptime page
- Fix oversized monitor names in table (removed h6 variant)
2026-01-15 20:44:51 -05:00
Alexander Holliday 2f2ce34373 Merge pull request #3132 from bluewave-labs/fix/theme-simplification-and-bug-fixes
Simplify theme and fix Redux state bugs
2026-01-15 16:51:05 -08:00
Alex Holliday 0f764ca084 typing 2026-01-15 23:45:40 +00:00
gorkem-bwl 8b2ee8d937 Simplify theme and fix Redux state bugs
## Changes

- Remove unused semantic color groups (successSecondary, map, chatbot)
- Remove unused properties from primary and tertiary groups
- Inline accent.darker usage in globalTheme.js
- Fix greeting component crash with persisted Redux state
- Fix MonitorGrid key prop warning

## Details

Theme simplification:
- Reduced constants.js from 355 to 291 lines
- Removed 3 unused semantic color groups
- Removed 6 unused properties (contrastBorder, contrastBorderDisabled, etc.)
- Inlined darken() call for accent hover states

Bug fixes:
- Added null-safe selectors in greeting.jsx for state.ui.greeting
- Added initialization check in setGreeting reducer for older persisted state
- Fixed key prop in MonitorGrid to handle both _id and id
- Removed unused console.log and Grid2 import
2026-01-15 18:06:40 -05:00
Alex Holliday ed80837810 related serverices to TS 2026-01-15 22:33:25 +00:00
Alexander Holliday d82877b28d Merge pull request #3121 from web-engineer/fix/3120-data-leak
3120 remove URL's from data when they are supposed to be disabled
2026-01-15 14:24:47 -08:00
Alex Holliday cf67c82f5e convert job queue and job queue helper 2026-01-15 22:06:46 +00:00
Alex Holliday 5a7b51bfec convert super simple queue to ts 2026-01-15 21:49:48 +00:00
Alexander Holliday 206dcae196 Merge pull request #3131 from bluewave-labs/fix/remove-monitor-db-module
fix: remove db module
2026-01-15 13:05:12 -08:00
Alex Holliday 56bfbe2c77 format 2026-01-15 21:05:00 +00:00
Alex Holliday 8aac3086b8 build error 2026-01-15 21:03:35 +00:00
Alex Holliday 9255500bfc remove db module 2026-01-15 20:55:01 +00:00
Alexander Holliday e99b87fc1e Merge pull request #3130 from bluewave-labs/fix/monitor-service
Fix/monitor service
2026-01-15 11:40:33 -08:00
Alex Holliday ec953ff262 format 2026-01-15 19:40:22 +00:00
Alex Holliday 68559741ba remove mongo middleware 2026-01-15 19:36:41 +00:00
Alex Holliday 74a7f0a701 remove verify team access 2026-01-15 18:33:03 +00:00
Alex Holliday 75bcf9df58 deleteById 2026-01-15 18:24:58 +00:00
Alex Holliday 6b5fd8d17f update, pause 2026-01-15 18:21:36 +00:00
Alexander Holliday a1069f487b Merge pull request #3128 from bluewave-labs/new-uptime-time-range
New uptime time range
2026-01-15 09:28:30 -08:00
karenvicent 86a2171988 Merge branch 'develop' into incidents-feat-modal 2026-01-15 11:39:32 -05:00
Craig Lawson 420164d616 conditional simplification as reqeusted 2026-01-15 12:52:11 +00:00
Craig Lawson f0a6fc4fdf Merge upstream/develop into fix/3120-data-leak 2026-01-15 11:06:27 +00:00
karenvicent e306499bce Merge branch 'develop' into new-uptime-time-range 2026-01-14 22:50:58 -05:00
karenvicent 1472a09718 add new uptime intervals 2026-01-14 22:43:25 -05:00
karenvicent 1c01dcaf31 create incidents action menu and detail page 2026-01-14 22:12:26 -05:00
Alex Holliday e7e4ce7f57 pagination fix 2026-01-14 15:57:17 -08:00
Alex Holliday 93c24d2f5c pagination and filter fix 2026-01-14 15:44:52 -08:00
Alex Holliday cdbaad5bd9 initial 2026-01-14 23:34:05 +00:00
Alexander Holliday b1b27be731 Merge pull request #3127 from bluewave-labs/feat/monitor-service-ts
Feat/monitor service ts
2026-01-14 14:49:00 -08:00
Alexander Holliday 01f005ca41 Merge branch 'develop' into feat/monitor-service-ts 2026-01-14 14:47:25 -08:00
Alex Holliday 1326a6222b format 2026-01-14 22:45:47 +00:00
Alex Holliday aea0b34533 format 2026-01-14 22:45:39 +00:00
Alex Holliday d4af86f26c pagespeed details 2026-01-14 22:44:23 +00:00
Alex Holliday 940247b7bf teamid 2026-01-14 21:47:37 +00:00
Alex Holliday 2b0c523047 unify requests 2026-01-14 20:11:05 +00:00
Alex Holliday 4ad09fad4f snapshots 2026-01-14 20:06:37 +00:00
Alex Holliday 665eb9a67f hardware details 2026-01-14 19:28:17 +00:00
Alex Holliday d1faeab042 fix params 2026-01-14 00:04:22 +00:00
Alex Holliday 76fa99f7bd getUptimeDetails 2026-01-13 23:59:09 +00:00
Alex Holliday 77764c51ee addDemo 2026-01-13 23:22:34 +00:00
Alex Holliday 8a986d2e58 add indexes 2026-01-13 22:56:51 +00:00
Alexander Holliday e57b161be9 Merge pull request #3126 from bluewave-labs/fix/checks-index
add index and cutof
2026-01-13 14:46:24 -08:00
Alex Holliday 8de06df8c4 add index and cutof 2026-01-13 14:45:54 -08:00
Alexander Holliday 8e359cf145 Merge pull request #3125 from bluewave-labs/fix/check-repository
fix: check repo fix
2026-01-13 13:46:27 -08:00
Alex Holliday 52e598a66e Merge branch 'fix/check-repository' into feat/monitor-service-ts 2026-01-13 21:46:17 +00:00
Alex Holliday 0a60cc0363 check repo fix 2026-01-13 21:44:16 +00:00
Alex Holliday 75788f7cb5 Merge branch 'develop' into feat/monitor-service-ts 2026-01-13 20:22:34 +00:00
Alexander Holliday b58a7ad053 Merge pull request #3123 from bluewave-labs/feat/time-series
Feat/time series
2026-01-13 12:21:18 -08:00
Alex Holliday f763126b38 format' 2026-01-13 20:20:50 +00:00
Alex Holliday e79bf28bdc server format 2026-01-13 20:20:29 +00:00
Alex Holliday d0b3bc60df create and update 2026-01-13 20:20:00 +00:00
Alex Holliday 117a2e00c4 status page fix 2026-01-13 19:01:56 +00:00
Alex Holliday f8e88623a8 hardware details pipeline refactor 2026-01-13 18:54:28 +00:00
Alex Holliday 705475e971 _id -> id 2026-01-13 18:37:22 +00:00
Alex Holliday 2b0a51520a infra 2026-01-13 17:50:31 +00:00
Alexander Holliday 55145a38ff Merge pull request #3105 from CodeShellDev/patch-1
bump mongo image version for arm arch to `.30`
2026-01-12 22:10:10 -08:00
Alex Holliday 25d1039376 update pagespeed 2026-01-12 23:57:39 +00:00
Alex Holliday 7a6b0d5da4 refactoring 2026-01-12 22:58:46 +00:00
Alex Holliday e090d3cfd3 -> timeseries 2026-01-12 19:32:23 +00:00
Craig Lawson 1c1ac25857 fix saveSettings is currently being called even when validation fails. 2026-01-12 08:56:24 +00:00
Craig Lawson 3ce40b1ab8 Fix handleSave function syntax errors 2026-01-11 22:48:17 +00:00
Craig Lawson 1494df9eb3 missing brace 2026-01-11 22:39:49 +00:00
Craig Lawson a70959e4a6 Nitpick fix - ref -
client/src/Pages/v1/Settings/index.jsx (1)
171-175: LGTM!

The Redux dispatch provides immediate UI feedback while the actual persistence happens on Save. This is the correct pattern for a server-persisted setting.

Minor note: The ?? value fallback is unreachable for showURL since newValue is always set to a boolean at line 96. Consider simplifying to dispatch(setShowURL(newValue)) for clarity, though the current code is functionally correct.
2026-01-11 22:36:05 +00:00
Craig Lawson b6f48a910f Revert caching changes - restore working implementation
- Remove settingsModule caching that caused inconsistent state
- Restore direct AppSettings query in statusPageModule
- Keep immediate Redux dispatch for UI feedback
- All functionality verified working"
2026-01-11 22:08:15 +00:00
Craig Lawson e4d101237e bug fix - settings handlechange 2026-01-11 21:51:59 +00:00
Craig Lawson 7556086f71 code review updates
Summary of what we fixed based on AI review feedback:

Formatting - Ran Prettier to fix code formatting
Redux state rollback - Moved Redux dispatch to after successful save in settingsHooks.js
Performance - Added caching layer in settingsModule (1-minute TTL) to prevent DB query on every status page request
Architecture - Inject settingsModule instead of raw AppSettings model for better encapsulation
2026-01-11 20:51:25 +00:00
Craig Lawson 7b619e6b31 Remove debug logging and add feature documentation
- Remove all console.log statements added during development
- Clean up code for production readiness
2026-01-11 18:56:16 +00:00
Craig Lawson 76ab2695db missing setting 2026-01-11 18:23:58 +00:00
Craig Lawson 418068e702 loggin settings 2026-01-11 18:18:38 +00:00
Craig Lawson 12b28ffb3f type issue 2026-01-10 22:30:03 +00:00
Craig Lawson 526fa24eab validation bug 2026-01-10 22:23:31 +00:00
Craig Lawson a13f6a34c4 missing value 2026-01-10 22:02:36 +00:00
Craig Lawson f659876845 select bug 2026-01-10 21:58:13 +00:00
Craig Lawson 643a743d70 more logging 2026-01-10 21:49:10 +00:00
Craig Lawson ab4cc80628 3120 persist admin value 2026-01-10 21:29:15 +00:00
Craig Lawson fb3795bd70 3120 remove URL's from data when they are supposed to be disabled 2026-01-10 12:15:29 +00:00
Alexander Holliday 5c14c68899 Merge pull request #3119 from bluewave-labs/fix/controllerUtils
js -> ts
2026-01-09 15:59:18 -08:00
Alexander Holliday 5a878e89d0 Merge pull request #3118 from bluewave-labs/fix/check-controller
js->ts
2026-01-09 15:58:45 -08:00
Alex Holliday bdb07220ed js -> ts 2026-01-09 15:58:31 -08:00
Alexander Holliday 641d5e6dda Merge pull request #3117 from bluewave-labs/fix/diagnostic-controller
js->ts
2026-01-09 15:54:02 -08:00
Alex Holliday b24339f232 js->ts 2026-01-09 15:53:53 -08:00
Alexander Holliday ff324fe6e7 Merge pull request #3116 from bluewave-labs/fix/incidentController
js->ts
2026-01-09 15:46:39 -08:00
Alex Holliday fee9b8a0de js->ts 2026-01-09 15:46:30 -08:00
Alexander Holliday ad9488f54e Merge pull request #3115 from bluewave-labs/fix/invite-controller
js -> ts
2026-01-09 15:44:23 -08:00
Alex Holliday ed77fc3a9d js->ts 2026-01-09 15:44:11 -08:00
Alexander Holliday babd8e672f Merge pull request #3114 from bluewave-labs/fix/log-controller
js->ts
2026-01-09 15:39:35 -08:00
Alex Holliday 8ceac493ef js -> ts 2026-01-09 15:39:30 -08:00
Alexander Holliday fee808789f Merge pull request #3113 from bluewave-labs/fix/mw-controller
js->ts
2026-01-09 15:35:53 -08:00
Alex Holliday dd03c554c9 js->ts 2026-01-09 15:35:48 -08:00
Alex Holliday 3ab4fcb277 js->ts 2026-01-09 15:32:53 -08:00
Alexander Holliday 11e3cac440 Merge pull request #3112 from bluewave-labs/fix/status-page-controller
js->ts
2026-01-09 15:26:37 -08:00
Alex Holliday 1d7f3b15a4 js->ts 2026-01-09 15:21:56 -08:00
Alexander Holliday b7ad3c036b Merge pull request #3111 from bluewave-labs/fix/settings-controller
js->ts
2026-01-09 15:20:30 -08:00
Alex Holliday 7b2ff593a4 js->ts 2026-01-09 15:16:17 -08:00
Alexander Holliday 916f3c0921 Merge pull request #3110 from bluewave-labs/feat/queue-controller
Feat/queue controller
2026-01-09 15:13:31 -08:00
Alex Holliday 846f1dfa6c remove extra param 2026-01-09 15:07:38 -08:00
Alex Holliday 3f631ff382 js -> ts 2026-01-09 15:07:02 -08:00
Alexander Holliday 43a370e162 Merge pull request #3109 from bluewave-labs/feat/notification-controller
js -> ts
2026-01-09 15:05:13 -08:00
Alex Holliday 64320c7aca js -> ts 2026-01-09 15:02:19 -08:00
Alexander Holliday 61cedfb2b7 Merge pull request #3108 from bluewave-labs/feat/monitor-controller
monitor controller -> ts
2026-01-09 14:51:17 -08:00
Alex Holliday a9ce980d03 monitor controller -> ts 2026-01-09 14:49:44 -08:00
Alexander Holliday 8409f08a2d Merge pull request #3107 from bluewave-labs/feat/be/ts
ts config
2026-01-09 13:38:55 -08:00
Alex Holliday ef2cccf16e ts config 2026-01-09 13:36:58 -08:00
CodeShell 0285302ecc bump mongo image version for arm arch to .30 2026-01-09 10:36:46 +00:00
Alexander Holliday 668ea7418d Merge pull request #3088 from bluewave-labs/fix-traslator-error
fix translator error and add format
2025-12-22 09:41:58 -08:00
karenvicent b12bdfcc22 fix traslator error and add format 2025-12-22 12:36:29 -05:00
Alexander Holliday 65de627870 Merge pull request #3079 from Antoplt/feat/choose-disks-monitor
feature requested #2840: improve disk device and mountpoint display with hover tooltips
2025-12-18 10:53:24 -08:00
Alexander Holliday 03d1dcaefb Merge branch 'develop' into feat/choose-disks-monitor 2025-12-18 10:53:01 -08:00
Alexander Holliday 14768bde28 Merge pull request #3086 from bluewave-labs/fix-incidents-duplication-front-end
Fix incidents duplication front end
2025-12-18 10:51:52 -08:00
karenvicent 9555ff43c7 add llama suggestions and fix genericFallback error 2025-12-18 12:47:01 -05:00
karenvicent 75acb1ade6 Merge branch 'develop' into fix-incidents-duplication-front-end 2025-12-17 18:56:25 -05:00
karenvicent fd12ca6e21 incidents feature fron-end 2025-12-17 18:51:34 -05:00
ppmar ff2f84d46b resolve disk selection persistence and validation issues 2025-12-17 23:50:40 +01:00
Alexander Holliday 1ffce112d1 Merge pull request #3077 from web-engineer/feat/helm-tls-letsencrypt-support
feat(helm): add TLS/HTTPS support with cert-manager integration
2025-12-16 15:25:05 -08:00
Alexander Holliday 382df34f06 Merge pull request #3085 from Preetham001-SR/fix-hardcoded-messages
fix: replace hardcoded response messages with localized strings
2025-12-16 15:22:19 -08:00
Preetham001-SR 124f300362 fix: replace hardcoded response messages with localized strings
- Replace hardcoded 'OK' messages in monitorController with proper localized strings
- Add new string constants to en.json for consistent messaging
- Follow existing pattern used by other controller methods
- Resolves TODO comment in getMonitorsAndSummaryByTeamId method

Fixes: Hardcoded response messages inconsistent with i18n architecture
2025-12-14 23:45:32 +05:30
Alexander Holliday f782899768 Merge pull request #3080 from bluewave-labs/feat/remove-v2
Remove business V2 logic
2025-12-05 09:05:17 -08:00
Sajanpreet Singh cdb83bb47d Fix build checks 2025-12-04 10:42:18 -06:00
Sajanpreet Singh 72bcc0d020 Remove business V2 logic 2025-12-04 10:31:45 -06:00
Craig Lawson ac901b46c3 chore(helm): default TLS secretName to <release>-* and remove duplicate prechecks file; update docs with protocol flags 2025-12-03 21:43:21 +00:00
Craig Lawson c1b3d325f6 feat(helm): enforce TLS + protocol validation and improve docs\n\n- Add prechecks.yaml to validate TLS issuer annotations and secretName\n- Require https when TLS enabled; prevent client https + server http mixed content\n- Validate client.protocol in addition to server.protocol\n- Update INSTALLATION.md to set protocol: https when enabling TLS\n- Clarify values.yaml comments for TLS usage 2025-12-03 21:30:35 +00:00
Craig Lawson 7cad2fec27 chore(helm): comment out secretName in TLS config, add usage note for cert-manager 2025-11-30 16:46:06 +00:00
Adevixxx 7edc2a71d8 Ajout de l'interface pour selectionner des disques et modifications du coté serveur pour la sauvegarde 2025-11-30 11:48:54 +01:00
Antonin 913f7a9e42 Merge branch 'develop' into feat/choose-disks-monitor 2025-11-30 11:35:34 +01:00
Craig Lawson dd98757b2a feat(helm): add TLS/HTTPS support with cert-manager integration
- Add TLS configuration to ingress templates (client & server)
- Add tls.enabled and tls.secretName to values.yaml
- Include comprehensive cert-manager documentation in INSTALLATION.md
- Add example annotations for Let's Encrypt cluster issuer
- Support both values.yaml and --set flag configuration methods
- Backward compatible (TLS disabled by default)

Enables automatic HTTPS certificate provisioning when cert-manager
is installed in the cluster with appropriate ClusterIssuer configured.
2025-11-29 17:46:29 +00:00
Alexander Holliday 1e3ee23120 Merge pull request #3071 from mospell/feat/better_infrastructure_notifications
Feat: Add link to Infrastructure Details for Notifications
2025-11-28 11:52:04 -08:00
Alexander Holliday 74d8e0a892 Merge pull request #3074 from SuryaGanesh284/develop
Add quick setup checklist to CONTRIBUTING.md
2025-11-28 11:51:06 -08:00
Antonin 50af063f64 Merge branch 'develop' into feat/choose-disks-monitor 2025-11-26 11:58:35 +01:00
Antonin 80a66d74ca Add metric/value three & four to propTypes 2025-11-26 11:56:46 +01:00
SuryaGanesh284 6c2908681a Add quick setup checklist to CONTRIBUTING.md
Added a quick setup checklist for contributors.
2025-11-25 22:12:16 +05:30
mospell 90593c0d7c added 'go-to' links to the remaining Discord notifications 2025-11-23 17:18:09 +01:00
mospell 8fb958e772 Feat: Add link to infrastructure details for Notifications 2025-11-23 16:39:09 +01:00
Alexander Holliday fc39ab3fb9 Merge pull request #3069 from bluewave-labs/feat/JSON-export
implement JSON export
2025-11-21 10:45:32 -08:00
Alex Holliday 58e7ef2527 implement JSON export 2025-11-21 10:43:29 -08:00
Alexander Holliday fec32380ae Merge pull request #3067 from bluewave-labs/fix-incidents-creation
Incident Management System - Backend Implementation
2025-11-19 09:35:15 -08:00
karenvicent 3b8d87bd17 Merge branch 'develop' into fix-incidents-creation 2025-11-19 10:06:35 -05:00
karenvicent 131ced10fc Incidents management implementation 2025-11-18 16:01:47 -05:00
antoplt 886752effd Add metricFour and valueFour props 2025-11-18 15:29:25 +01:00
antoplt a5d54a637e Fix function naming error 2025-11-18 14:44:45 +01:00
antoplt 1b4edf16fb Add mountpoint as fourth metric 2025-11-18 14:38:03 +01:00
antoplt 4042d34585 Add mountpoint field to mongoose diskSchema 2025-11-18 14:25:02 +01:00
antoplt 135c3ff454 Merge branch 'develop' into feat/choose-disks-monitor 2025-11-18 13:55:39 +01:00
antoplt f8d5791fab Add device name formatting 2025-11-18 13:13:35 +01:00
antoplt ffa4b1695b Add device field into moogose diskSchema 2025-11-18 13:12:34 +01:00
antoplt 98214ff578 Add disk device as third metric value 2025-11-18 12:06:22 +01:00
Alexander Holliday 57ceac0c24 Merge pull request #3064 from bluewave-labs/statusPage-bars-centred-fix
Status page bars centred fix
2025-11-12 11:02:32 -08:00
Sajan a526bc5a3e Revert changes to lock files 2025-11-12 12:06:34 -06:00
Alexander Holliday fac4516353 Merge pull request #3058 from yuracoff18/doccumentation-fix-and-problem-solving-contributing
Fix the location from the docker images installation and addition of …
2025-11-12 09:21:37 -08:00
Alexander Holliday 4db13fb924 Update CONTRIBUTING.md 2025-11-12 09:21:02 -08:00
Sajan c97ee22e66 Move status validation inside the block 2025-11-12 10:54:55 -06:00
Sajan 98737f92af Add validation for the status prop 2025-11-12 10:34:22 -06:00
Sajan 74637f9d2a Remove fontSize 2025-11-12 10:21:26 -06:00
Sajan 69dbc2fe7a Move up/down chips next to the monitor name 2025-11-12 09:58:38 -06:00
Sajan d157e200f6 Use flex-end instead of right 2025-11-11 10:58:30 -06:00
Sajan 594540cff5 Fix centering issue for status page bars 2025-11-11 10:46:34 -06:00
Sajan 8e47e8cd3d fix formatting issue 2025-11-11 09:26:18 -06:00
Gorkem Cetin (BWL) c5d7625a06 Update installation instructions in README
Removed 'Coolify' from the list of alternatives for Checkmate installation.
2025-11-10 06:11:50 -05:00
Yura 7763c5e288 Fix the location from the docker images installation and addition of a solution from a problem i saw while installing the front 2025-11-09 01:15:05 -05:00
Yura 957988d977 Fix the location from the docker images installation and addition of a solution from a problem i saw while installing the front 2025-11-09 01:08:56 -05:00
Yura 0c04c06d4e centred the bars in status page UI 2025-11-09 00:45:33 -05:00
Yura a7ef014b92 centred the bars in status page UI 2025-11-09 00:41:02 -05:00
Yura 3822d971cb centred the bars in status page UI 2025-11-09 00:28:14 -05:00
karenvicent eb65c41d15 Merge branch 'develop' into fix-incidents-creation 2025-11-06 17:07:24 -05:00
karenvicent 0c3fdbc539 feat: add incident model, module and service with StatusService integration
- Create Incident model with resolution tracking fields
- Implement IncidentModule for data access
- Implement IncidentService with business logic
- Integrate with StatusService to auto-create/resolve incidents on status change
2025-11-06 17:06:33 -05:00
Alexander Holliday 7cb985116e Merge pull request #3050 from TudorGR/chore/status-page-include-game-type-3048
feat: include game monitor type in status page monitor selection
2025-11-03 09:20:29 -08:00
Alexander Holliday 2297494d21 Merge pull request #3055 from matserix/develop
feat(kubernetes): support Storage Classes other than 'gp3'
2025-11-03 09:19:54 -08:00
matserix 19a61b6ce4 fix: update installation guide and values for MongoDB and Redis storage classes 2025-11-03 01:10:45 +01:00
matserix 492aed200a feat: support Storage Classes other than 'gp3' 2025-11-03 00:44:57 +01:00
Alexander Holliday be2f33b5d1 Merge pull request #3052 from bluewave-labs/fix/addjob
fix missing param
2025-10-30 10:58:45 -07:00
Alex Holliday 5d48cecee8 fix missing param 2025-10-30 10:57:48 -07:00
Gorkem Cetin (BWL) f0bfe1a152 Merge pull request #3049 from magicpages/detailed-response-times
fix: use sentence case for tooltip labels
2025-10-30 10:38:39 -04:00
Tudor Gradinaru d2ff386f97 feat: include game monitor type in status page monitor selection 2025-10-30 11:37:43 +02:00
Jannis Fedoruk-Betschki 42eaa75437 fix: use sentence case for tooltip labels 2025-10-30 07:25:48 +01:00
Alexander Holliday 7fb4e75956 Merge pull request #3047 from magicpages/detailed-response-times
feat: add detailed response time breakdown in Response Times table
2025-10-29 19:11:08 -07:00
Jannis Fedoruk-Betschki 87c549960e fix: use array parameter instead of closure for i18n-safe bold styling 2025-10-29 20:33:14 +01:00
Jannis Fedoruk-Betschki 4ac0f1e87f feat: add detailed response time breakdown in Response Times table 2025-10-29 20:22:57 +01:00
Alexander Holliday 5465bee630 Merge pull request #3046 from bluewave-labs/feat/cleanup
prune
2025-10-29 10:04:11 -07:00
Alex Holliday 60a3d46e59 prune 2025-10-29 10:03:16 -07:00
Gorkem Cetin (BWL) e100d54eed Simplify README by removing redundant content
Removed redundant section about Checkmate's codebase walkthrough and dataflow simulation tutorial.
2025-10-29 07:28:09 -04:00
Gorkem Cetin (BWL) 848d50ec43 Merge pull request #3043 from Abdullah85MBA/codecanvas-diagram-1761668096103
Added interactive CodeCanvas diagram for Checkmate
2025-10-29 07:26:29 -04:00
Alexander Holliday a9a8686295 Merge pull request #3044 from bluewave-labs/fix/cache-dns
add cacheable dns, stagger start times
2025-10-29 01:17:22 -07:00
Alex Holliday 30a9309bd8 add cacheable dns, stagger start times 2025-10-28 22:41:05 -07:00
Abi ab64cd192b Updated Readme screenshot 2025-10-28 12:29:59 -04:00
Abi 5fc2c8c14b Add CodeCanvas diagram to README 2025-10-28 12:15:26 -04:00
Abi ea7ce450f1 Merge develop into codecanvas-diagram-1761668096103 to sync with upstream 2025-10-28 12:15:00 -04:00
Abi ce77b43705 CodeCanvas: Save 2025-10-28 12:14:58 -04:00
Alexander Holliday bd2ba804ee Merge pull request #3040 from bluewave-labs/feat/bump-version
bump version
2025-10-27 10:30:23 -07:00
Alexander Holliday bd75f7b0fc Merge pull request #3041 from bluewave-labs/translation-update-80
🌐 Updated Translations from POEditor
2025-10-27 10:30:07 -07:00
GitHub Action 32e4f7514d feat: translations updated from POEditor 2025-10-27 17:29:47 +00:00
Alex Holliday c9e1d35daf bump version 2025-10-27 10:27:45 -07:00
Alexander Holliday 3be6ae91f2 Merge pull request #3039 from bluewave-labs/fix/bump-scheduler
bump-scheduler
2025-10-27 09:46:23 -07:00
Alex Holliday 931104fbcf type error 2025-10-27 09:45:21 -07:00
Alex Holliday 1d5cec94a5 bump-scheduler 2025-10-27 09:42:27 -07:00
Alexander Holliday faeec01a6d Merge pull request #3029 from LinPr/fix
fix/v1: Remove unnecessary import
2025-10-27 09:37:38 -07:00
Alexander Holliday b8db987579 Merge pull request #3037 from TudorGR/feat/matrix-notifications
feat: Add Matrix notification support
2025-10-27 09:36:09 -07:00
Tudor Gradinaru 1fad85d48d feat: Add Matrix notification support Fixes #3034 2025-10-25 18:35:15 +03:00
Alexander Holliday eb70c9f5f0 Merge pull request #3036 from TudorGR/feature/add-monitor-name-to-notification-title
feat: Add monitor name to notification titles
2025-10-23 09:38:29 -07:00
Tudor Gradinaru ce025df7b7 feat: Add monitor name to notification titles 2025-10-23 15:32:29 +03:00
Alexander Holliday daf5797fed Merge pull request #3031 from bluewave-labs/translation-update-79
🌐 Updated Translations from POEditor
2025-10-20 10:36:43 -07:00
GitHub Action 0baa7d9891 feat: translations updated from POEditor 2025-10-20 17:36:14 +00:00
Gorkem Cetin (BWL) f6cd0f668f Merge pull request #3028 from bluewave-labs/feat/remove-unused-css-variables
Got an OK from Owaise.
2025-10-20 09:22:52 -04:00
LinPr 9ae83cc34d fix/v1: remove unnecessary import 2025-10-20 14:22:20 +08:00
gorkem-bwlandClaude 06ebb76948 chore: remove 13 unused CSS variables from index.css
Removed the following unused CSS variables that were leftovers from when
the project switched to the MUI theme system:

- --env-var-radius-1
- --env-var-width-1
- --env-var-width-3
- --env-var-height-1
- --env-var-spacing-3
- --env-var-spacing-4
- --env-var-spacing-5
- --env-var-img-width-1
- --env-var-img-width-2
- --env-var-img-width-3
- --env-var-default-1
- --env-var-default-2
- --env-var-shadow-1

These variables are not referenced anywhere in the codebase. The project
now uses MUI theme configuration (theme.spacing(), theme.palette.*)
instead of CSS variables for styling.

Kept 19 CSS variables that are still actively used during the migration
to pure MUI theme.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-19 23:18:50 -04:00
Alexander Holliday 3a8ba154b2 Merge pull request #2992 from AlexHladin/chore/drop-nodemon
chore: drop nodemon
2025-10-17 20:03:45 -07:00
Alexander Holliday 089801109e Merge pull request #3018 from bluewave-labs/v2-select-component
Add Select component v2 with TypeScript and improved code efficiency
2025-10-14 13:24:33 -07:00
karenvicent a8a4b5c2b4 Merge branch 'develop' into v2-select-component 2025-10-14 15:58:52 -04:00
Alexander Holliday 089bda2de0 Merge pull request #3023 from bluewave-labs/fix/v2-utils
move v2 utils to v2 dir
2025-10-14 12:45:34 -07:00
Alex Holliday e18e2e26da move v2 utils to v2 dir 2025-10-14 12:45:11 -07:00
karenvicent 104cf194ac fix create more specific component 2025-10-14 12:22:20 -04:00
Alexander Holliday de7cdb4aef Merge pull request #3019 from bluewave-labs/feature/monitor-grouping-backend
feat: Add monitor grouping functionality (Backend)
2025-10-14 09:05:34 -07:00
gorkem-bwlandClaude 6bdf9891e8 Fix server formatting issues
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-12 21:51:06 -04:00
gorkem-bwlandClaude 27d37ece7d feat: Add monitor grouping functionality to backend
- Add optional 'group' field to Monitor schema with trimming and validation
- Add group validation to Joi schemas for create and edit monitor endpoints
- Add GET /api/v1/monitors/team/groups endpoint to fetch unique groups
- Implement case-insensitive group filtering in database layer
- Support for organizing monitors into collapsible groups

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-12 21:11:20 -04:00
karenvicent b9afca3608 Merge branch 'develop' into v2-select-component 2025-10-09 18:25:38 -04:00
karenvicent b796464241 select component V2 2025-10-09 18:16:25 -04:00
Alexander Holliday 97a14ed926 Merge pull request #3017 from bluewave-labs/fix/v2/sticky-sidebar
fix/v2: sticky sidebar
2025-10-09 14:00:35 -07:00
Alex Holliday 5018c56d0d stikcy sidebar 2025-10-09 14:00:04 -07:00
Alexander Holliday c7799ca7dc Merge pull request #3016 from bluewave-labs/fix/v2/normalization
Fix/v2/normalization
2025-10-09 13:56:10 -07:00
Alex Holliday 78b5cc9c6f ts 2025-10-09 13:55:39 -07:00
Alex Holliday ab3e6cdff9 normalzie on FE 2025-10-09 13:53:34 -07:00
Alexander Holliday 1cc01e6952 Merge pull request #3015 from bluewave-labs/feat/v2/fallbacks
feat/v2: add fallbacks
2025-10-09 12:46:19 -07:00
Alex Holliday fb90f193b1 add fallbacks 2025-10-09 12:44:27 -07:00
Alexander Holliday 1bacab89bb Merge pull request #3014 from bluewave-labs/fix/v2/auth-pages
fix/v2: add missing auth elements
2025-10-09 11:07:43 -07:00
Alex Holliday 7378f2e33b add missing auth elements 2025-10-09 11:06:34 -07:00
Alexander Holliday d0bb2b2ad5 Merge pull request #3013 from bluewave-labs/fix/network-timing
fix network timing for port and docker
2025-10-09 09:35:41 -07:00
Alex Holliday 376da7c70e fix network timing for port and docker 2025-10-09 09:33:14 -07:00
Alexander Holliday d58e5cf7ee Merge pull request #3012 from bluewave-labs/fix/keep-previous-data
fix/v2: add keep previous data
2025-10-08 15:29:41 -07:00
Alex Holliday e02eb2e30c add keep previous data 2025-10-08 15:27:53 -07:00
Alexander Holliday c4906d069a Merge pull request #3009 from bluewave-labs/feat/v2-implement-actions
update usePatch, implement actions
2025-10-08 15:00:43 -07:00
Alex Holliday d4ed535454 update prod env 2025-10-08 14:52:21 -07:00
Alex Holliday f9d0ab5e07 update usePatch, implement actions 2025-10-08 14:28:51 -07:00
Alexander Holliday 0a5efc75cd Merge pull request #3008 from bluewave-labs/feat/v2/uptime-details
feat/v2/uptime details
2025-10-08 13:48:05 -07:00
Alex Holliday aae1fefb31 add checks endpoint 2025-10-08 13:45:07 -07:00
Alex Holliday 86bb28e239 pagination 2025-10-08 13:44:41 -07:00
Alex Holliday 16b68b3d00 rever types 2025-10-07 15:46:35 -07:00
Alex Holliday a700f446fd add header 2025-10-07 15:46:09 -07:00
Alex Holliday 2246f227d1 30m -> 2h 2025-10-07 14:45:07 -07:00
Alex Holliday 29fbf0a362 charts 2025-10-07 14:44:55 -07:00
Alex Holliday 8a1fc94c31 stat boxes 2025-10-06 15:08:55 -07:00
Alex Holliday abadc99bf1 status 2025-10-06 13:59:31 -07:00
Alexander Holliday 7af7647bbf Merge pull request #2999 from bluewave-labs/feat-allow-admin-change-passwords
Add superadmin password reset functionality for team members
2025-10-06 12:52:46 -07:00
karenvicent 9a24090337 fix variable name 2025-10-06 15:43:17 -04:00
karenvicent d81a4ef0ee fix user service 2025-10-06 15:15:56 -04:00
Alexander Holliday cfb1830b55 Merge pull request #3005 from bluewave-labs/feat/v2/uptime
Feat/v2/uptime
2025-10-06 11:48:39 -07:00
Alex Holliday f7c094317a remove unused 2025-10-06 11:43:13 -07:00
Alex Holliday 56e0ac9640 actions menu 2025-10-06 11:40:08 -07:00
Alex Holliday 61651a0f4d action menu 2025-10-06 11:34:29 -07:00
Alex Holliday 7c3a05077c tooltip 2025-10-06 10:56:29 -07:00
Gorkem Cetin (BWL) 2d29bce97b Update CONTRIBUTING.md 2025-10-06 12:35:23 -04:00
Alexander Holliday 4f45baab00 Merge pull request #3003 from evermos/develop
Add Affinity, Tolerations, Request limit
2025-10-06 09:00:57 -07:00
Alexander Holliday 6def64d38e Merge pull request #3004 from bluewave-labs/fix/incident/numbers
Fix: Total Incident Number
2025-10-06 08:58:23 -07:00
Br0wnHammer 32b31076e6 Fix: Total Incident Number 2025-10-06 20:14:21 +05:30
ariretiarno 91a4911d42 protocol 2025-10-05 22:49:20 +07:00
ariretiarno 7298faac2b protocol 2025-10-05 22:47:48 +07:00
ariretiarno 711253beb2 affinity request limit 2025-10-05 22:36:39 +07:00
ariretiarno a380389386 ingress server 2025-10-05 22:25:33 +07:00
Alex Holliday f6b97c691e iniital uptime 2025-10-03 15:40:53 -07:00
karenvicent f31ff994fe fix errors 2025-10-03 17:11:05 -04:00
Alexander Holliday a46ef5c9dd Merge pull request #3001 from bluewave-labs/fix/v2/text-input
theme update
2025-10-03 12:57:33 -07:00
Alex Holliday 0018c452bb theme update 2025-10-03 12:56:52 -07:00
Alexander Holliday 6c6fc28f6e Merge pull request #3000 from bluewave-labs/feat/v2/create/uptime
feat/v2/create/uptime
2025-10-03 12:50:31 -07:00
Alex Holliday 575cf31c78 add typescript dev dep 2025-10-03 12:49:51 -07:00
Alex Holliday 938d9b6642 feat/v2/uptime/create 2025-10-03 12:45:21 -07:00
Gorkem Cetin (BWL) 9d68d35ca8 Merge pull request #2996 from JithendraKavala/docs/imporove-contributing-setup-instructions
docs: improve local development setup instructions in CONTRIBUTING.md
2025-10-03 15:34:18 -04:00
Alexander Holliday 8033eea267 Merge pull request #2997 from a-y-a-n-das/fix-week-datestring
fix(chart): correct 'week' date string format in chart aggregation
2025-10-02 13:35:40 -07:00
Alexander Holliday 469c4d7e99 Merge pull request #2994 from VivekKavala/fix-inaccurate-ping-times
fix: Correct inaccurate ping response times
2025-10-02 13:34:11 -07:00
karenvicent 5159d43cad fix save button validation 2025-10-02 15:40:21 -04:00
karenvicent c5bbb7aa2c Merge branch 'develop' into feat-allow-admin-change-passwords 2025-10-02 15:20:32 -04:00
karenvicent 4317d1a47e chace password by superadmin 2025-10-02 15:19:42 -04:00
a-y-a-n-das a1c04ba35e fixed the format 2025-10-02 20:43:00 +05:30
Alexander Holliday 95ad3e71ca Merge pull request #2987 from bluewave-labs/feat/v2/components
feat: move components to v1 and v2 dirs
2025-10-02 17:22:20 +05:30
AlexHladin 8bf3875d9a chore: add engines section to package.json 2025-10-02 14:17:23 +03:00
jithendra Kavala 080a33fac7 docs: improve local development setup instructions in CONTRIBUTING.md 2025-10-02 13:51:30 +05:30
Vivek Kavala 851d722746 fix: remove manual response time calculation in favor of library-native timing
The manual timing calculations were adding Node.js processing overhead
and were less accurate than the native timing provided by the respective
libraries (ping, got, etc.). Now using response.time from each library
for more accurate network response time measurements.
2025-10-02 12:46:51 +05:30
AlexHladin 3b22ce75db chore: drop nodemon 2025-10-02 00:47:11 +03:00
Alexander Holliday 5dbfb3b8c5 Merge pull request #2991 from bluewave-labs/feat/v2/sidebar
feat: v2/sidebar
2025-10-01 13:58:26 -07:00
Alex Holliday 735054b4e1 remove unused error 2025-10-01 13:57:04 -07:00
Alex Holliday 3ae2f857d4 add v2 sidebar 2025-10-01 13:55:32 -07:00
Alexander Holliday 220abb8579 Merge pull request #2989 from evermos/helmchart
helm chart
2025-10-01 13:34:50 -07:00
karenvicent 468a67f937 git stash push -m "work in progress" 2025-10-01 12:49:48 -04:00
Muhamad Ari Retiarno 99b3e3c516 Merge pull request #1 from evermos/helmchart
Helmchart
2025-10-01 11:06:47 +07:00
ariretiarno 8d48b2cc8a client host 2025-10-01 09:33:32 +07:00
ariretiarno d63731fced client host 2025-10-01 09:22:42 +07:00
ariretiarno 7a352cdcb3 client host 2025-10-01 09:16:45 +07:00
ariretiarno 4744c05f07 pvc 2025-09-30 11:35:14 +07:00
ariretiarno c6cf7a4639 helm chart 2025-09-30 11:30:21 +07:00
ariretiarno 7f2318da01 helm chart 2025-09-30 11:28:22 +07:00
Alex Holliday fc9018e314 Add collapse button and logo 2025-09-27 15:47:56 -07:00
Alexander Holliday c30d6019df Merge pull request #2987 from bluewave-labs/feat/v2/components
feat: move components to v1 and v2 dirs
2025-09-27 14:58:11 -07:00
Alex Holliday b57ed47592 remove mode prop 2025-09-27 14:57:55 -07:00
Alexander Holliday 6234be17cd Merge pull request #2986 from bluewave-labs/feat/v2/root/layout
feat/v2/root/layout
2025-09-27 14:55:17 -07:00
Alex Holliday 5cab842f0a move components to v1 and v2 dirs 2025-09-27 14:54:55 -07:00
Alex Holliday ca84c60614 Merge branch 'feat/v2/root/layout' of github.com:bluewave-labs/checkmate into feat/v2/root/layout 2025-09-27 14:48:44 -07:00
Alex Holliday 09fbc6b0b2 remove unused mode 2025-09-27 14:48:05 -07:00
Alexander Holliday f8b1998564 Merge branch 'develop' into feat/v2/root/layout 2025-09-27 14:43:18 -07:00
Alex Holliday 4d254b004d add gitignore 2025-09-27 14:38:14 -07:00
Alex Holliday 1d5f2427ed add root layout 2025-09-26 16:01:05 -07:00
Alexander Holliday 0249f89a8c Merge pull request #2984 from bluewave-labs/feat/v2/router
move v2 routes to v2 router
2025-09-26 15:33:23 -07:00
Alex Holliday ce0aaa7ac7 move v2 routes to v2 router 2025-09-26 15:31:55 -07:00
Alexander Holliday b7db3f96ba Merge pull request #2983 from bluewave-labs/feat/v2/register
add v2 register page
2025-09-26 15:25:41 -07:00
Alex Holliday ad5ab82c3b add v2 register page 2025-09-26 15:23:56 -07:00
Alexander Holliday 0567569faa Merge pull request #2982 from bluewave-labs/feat/v2/theme
feat: add typography to theme, change UsePost return type
2025-09-26 15:23:23 -07:00
Alex Holliday a8f111b399 generic return type 2025-09-26 15:22:15 -07:00
Alex Holliday 7c2f789a31 add typography to theme, change UsePost return type 2025-09-26 15:19:35 -07:00
Alexander Holliday 77c76b6b6d Merge pull request #2981 from bluewave-labs/feat/v2/auth/login
feat/v2/auth/login
2025-09-26 14:49:21 -07:00
Alex Holliday 60a90ce424 node types 2025-09-26 14:36:15 -07:00
Alex Holliday 3f581ae1b0 esm safe path 2025-09-26 14:32:16 -07:00
Alex Holliday 277aff3898 remove unused 2025-09-26 14:22:25 -07:00
Alex Holliday 0c5b9a863b add loading 2025-09-26 14:16:59 -07:00
Alex Holliday cb1e10f0a9 add v2 login page 2025-09-25 16:06:52 -07:00
Alexander Holliday 659162d60c Merge pull request #2980 from bluewave-labs/feat/typescript-config
Add typescript config, move to v1 dir
2025-09-25 10:23:15 -07:00
Alex Holliday 28ef465b3a update action name 2025-09-25 10:22:47 -07:00
Alex Holliday e29f7af858 add client build check 2025-09-25 10:21:31 -07:00
Alex Holliday 17b84cbe8a format 2025-09-25 10:19:08 -07:00
Alex Holliday 4d89213e1c Add typescript config, move to v1 dir 2025-09-25 10:11:41 -07:00
Alexander Holliday 879cbb8886 Merge pull request #2979 from bluewave-labs/fix/start-v2-queue
create and start v2 queue
2025-09-25 09:47:21 -07:00
Alex Holliday 5957479d03 express type 2025-09-25 09:46:11 -07:00
Alexander Holliday d7bc9bdb90 Merge pull request #2978 from bluewave-labs/feat/v2/routes
add v2 routes, controllers
2025-09-25 09:43:54 -07:00
Alex Holliday 811a6bf222 create and start v2 queue 2025-09-25 09:38:41 -07:00
Alex Holliday 6d0c560948 add v2 routes, controllers 2025-09-24 15:55:09 -07:00
Alexander Holliday f4b76baaa2 Merge pull request #2977 from bluewave-labs/feat/v2/services
feat/v2/services
2025-09-24 14:21:28 -07:00
Alex Holliday 76f4e974db dev types 2025-09-24 14:20:30 -07:00
Alex Holliday 66e5441bdf fix import path 2025-09-23 15:23:20 -07:00
Alex Holliday 68f4adfbfe add v2 services 2025-09-23 15:22:08 -07:00
Alexander Holliday 35a712eafb Merge pull request #2976 from bluewave-labs/feat/v2/models
feat: add v2 models
2025-09-23 14:57:03 -07:00
Alex Holliday 2d12fbdff1 fix notification schema 2025-09-23 14:56:02 -07:00
Alex Holliday c0ff162ed9 remove v2 files 2025-09-23 14:46:32 -07:00
Alex Holliday 059408f098 add v2 models 2025-09-23 14:40:57 -07:00
Alexander Holliday b118a321b9 Merge pull request #2975 from bluewave-labs/feat/v1/structure
feat/v1/structure
2025-09-23 14:25:46 -07:00
Alex Holliday b3b6f1d834 move all v1 files to v1 dirs 2025-09-23 14:23:45 -07:00
Alex Holliday 1383d8b59a add workflow 2025-09-23 14:12:17 -07:00
Alex Holliday 990aed9f2e Revert "Merge pull request #2973 from bluewave-labs/feat/v2/auth"
This reverts commit 72882fded9, reversing
changes made to bfb299cfca.
2025-09-23 14:05:23 -07:00
Alex Holliday 003d419a64 Revert "Merge pull request #2974 from bluewave-labs/fix/cleanup"
This reverts commit 7368cb2567, reversing
changes made to 72882fded9.
2025-09-23 14:05:16 -07:00
Alexander Holliday 7368cb2567 Merge pull request #2974 from bluewave-labs/fix/cleanup
move v1 to v1 dir, add build workflow
2025-09-23 12:00:06 -07:00
Alex Holliday f945a27011 move v1 to v1 dir, add build workflow 2025-09-23 11:59:02 -07:00
Alexander Holliday 72882fded9 Merge pull request #2973 from bluewave-labs/feat/v2/auth
feat: v2/auth
2025-09-23 11:45:39 -07:00
Alex Holliday 0030394008 add migrations table 2025-09-23 11:34:25 -07:00
Alexander Holliday bfb299cfca Merge pull request #2972 from bluewave-labs/fix/update-docker-files
fix/update docker files
2025-09-23 11:01:19 -07:00
Alexander Holliday b06d5c10ea Merge pull request #2971 from bluewave-labs/feat/v2-controllers
Feat/v2 controllers
2025-09-23 11:00:40 -07:00
Alexander Holliday 2a0d4195a1 Merge pull request #2970 from bluewave-labs/feat/v2-routes
feat: v2 routes
2025-09-23 11:00:18 -07:00
Alex Holliday 11ff99613a implement auth routes, add user migration 2025-09-22 15:56:41 -07:00
Alex Holliday 0b646ee64f update docker files to build 2025-09-22 13:26:45 -07:00
Alex Holliday 23126a92cd move v1 controllers to v1 dir 2025-09-22 13:04:45 -07:00
Alex Holliday f767125acd tsx, tpyescript 2025-09-22 13:03:54 -07:00
Alex Holliday d8ed9abebf add gitignore 2025-09-22 12:53:44 -07:00
Alexander Holliday e4e75632c5 Merge pull request #2963 from bluewave-labs/translation-update-78
🌐 Updated Translations from POEditor
2025-09-18 13:40:10 -07:00
GitHub Action ddb7c24832 feat: translations updated from POEditor 2025-09-18 20:25:11 +00:00
Alexander Holliday 4a824dec81 Merge pull request #2960 from bluewave-labs/feat/bump-version
bump version
2025-09-18 12:03:26 -07:00
Alex Holliday b35fee1be8 bump version 2025-09-18 12:02:49 -07:00
Alexander Holliday 1b167af12b Merge pull request #2959 from Owaiseimdad/Addition-of-sliding-window-implementation
Addition of incident tab in creation and config page which is same.
2025-09-18 11:50:55 -07:00
Owaise f2962e34ae Fixed the formatting. 2025-09-19 00:06:31 +05:30
Owaise 386db5029a Addition of incident tab in creation and config page which is same. 2025-09-19 00:03:18 +05:30
Alexander Holliday 0e6e54a124 Merge pull request #2957 from FrancocDev/develop
Allow jsonPath to be used along expectedValue and validate the response.
2025-09-18 09:47:53 -07:00
Franco Carrara c666cb3879 fix formatting issues 2025-09-17 23:46:20 -03:00
Franco Carrara 4039517683 Add response messages to string service 2025-09-17 23:33:45 -03:00
Franco Carrara 00fc7b8038 Allow jsonPath to be used along expectedValue and validate the response. 2025-09-17 23:23:16 -03:00
Alexander Holliday 81d283ec8d Merge pull request #2956 from ajhollid/bump-dependencies
chore: bump deps
2025-09-17 15:17:14 -07:00
Alex Holliday 105100e349 bump deps 2025-09-17 15:07:55 -07:00
Alexander Holliday 4598690dbf Merge pull request #2954 from brownyroll/develop
feat: Support Thailand language
2025-09-16 09:00:51 -07:00
Bamz Kittisak Udomsri f68341c315 feat: thailang 2025-09-16 20:41:13 +07:00
Alexander Holliday e8a8cea909 Merge pull request #2953 from bluewave-labs/fix-skip-maintenance-notifications
Fix: Skip notifications during maintenance windows
2025-09-15 11:13:28 -07:00
karenvicent bf53f107e3 Merge branch 'develop' into fix-skip-maintenance-notifications 2025-09-15 12:29:47 -04:00
karenvicent 00de974528 Fix: Skip notifications for monitors during active maintenance windows 2025-09-15 12:28:37 -04:00
Alexander Holliday 0445398e94 Merge pull request #2952 from bluewave-labs/feat-notifications-body
Add monitor name and URL formatting for hardware notifications
2025-09-15 09:15:10 -07:00
karenvicent 272e2ba955 add monitor name and url to infrastructure alert 2025-09-15 08:34:51 -04:00
Alexander Holliday 0a2adc2d92 Merge pull request #2948 from bluewave-labs/feat-discord-format
Add Discord embed message formatting for notifications
2025-09-12 09:03:19 -07:00
karenvicent 7008fc1770 Merge branch 'develop' into feat-discord-format 2025-09-12 10:14:07 -04:00
karenvicent 041a261540 add llama sugestions 2025-09-12 10:13:38 -04:00
Gorkem Cetin (BWL) 1008d819f7 Update README.md 2025-09-11 22:40:11 -04:00
karenvicent fb84a79a04 Add Discord embed message formatting for notifications 2025-09-11 16:29:08 -04:00
Alexander Holliday 45bfdbdce0 Merge pull request #2935 from bluewave-labs/fix/mono-dist-ping
fix vite.config
2025-09-08 20:40:33 -07:00
Alex Holliday 1537c2141f fix vite.config 2025-09-08 20:39:45 -07:00
Alexander Holliday 3ba1a52644 Merge pull request #2932 from bluewave-labs/fix/mono-dist-ping
fix: mono dist ping
2025-09-08 20:31:01 -07:00
Alex Holliday a015cc6706 fix dist-arm, bump version 2025-09-08 20:29:38 -07:00
Alex Holliday 5bad362793 fix server build order 2025-09-08 20:27:20 -07:00
Alexander Holliday 5520756edd Merge pull request #2923 from bluewave-labs/feat-page-initialization-hook
Add PageStateWrapper and fix initial render flash
2025-09-08 09:12:14 -07:00
karenvicent ba954a1d6e run format 2025-09-08 11:15:14 -04:00
karenvicent 2944ff298c Merge branch 'develop' into feat-page-initialization-hook 2025-09-08 10:50:15 -04:00
karenvicent 80d121e87a add llama suggestions 2025-09-08 10:49:42 -04:00
Alexander Holliday ed8352d857 Merge pull request #2928 from bluewave-labs/fix/install-ping
fix: install ping
2025-09-08 07:11:34 -07:00
Alex Holliday 41f64ca9fe bump version 2025-09-08 07:10:29 -07:00
Alex Holliday 738e49dc92 Merge branch 'develop' into fix/install-ping 2025-09-08 07:10:15 -07:00
Alex Holliday 68a16257c6 add ping to dist 2025-09-08 07:09:39 -07:00
Alex Holliday 5dcbae55f4 install ping 2025-09-08 06:57:10 -07:00
Alexander Holliday e0d963256c Merge pull request #2926 from bluewave-labs/fix/bump-version
fix: bump version
2025-09-08 06:45:15 -07:00
Alexander Holliday 2bff4bbd15 Merge pull request #2927 from bluewave-labs/fix/ping-error-logging
fix: throw ping error if present
2025-09-08 06:45:00 -07:00
Alex Holliday a0eba89f34 bump version 2025-09-08 06:43:35 -07:00
Alex Holliday 4e78de9da2 throw error if present 2025-09-08 06:42:36 -07:00
karenvicent 85f00eb7e8 Merge branch 'develop' into feat-page-initialization-hook 2025-09-05 15:59:14 -04:00
karenvicent 8e13855b66 feat create pagestate wrapper 2025-09-05 15:53:22 -04:00
Alexander Holliday 06f49e24c2 Merge pull request #2867 from antonstrover/fix/uptime%-charts-toggles
fix(status-page): toggles for charts and uptime %
2025-09-05 09:08:40 -07:00
antonstrover e598ae45f7 Merge branch 'develop' into fix/uptime%-charts-toggles 2025-09-05 16:46:04 +01:00
anton.strover ad7f469e06 add display name for bar 2025-09-05 16:27:48 +01:00
Alexander Holliday cb57ff5cc2 Merge pull request #2920 from bluewave-labs/fix/arm
fix/arm
2025-09-04 15:44:44 -07:00
Alex Holliday 72f070fbcb fix multiarch build 2025-09-04 15:15:09 -07:00
Alex Holliday fb0a86d37c update docker compoes and docker file 2025-09-04 13:39:53 -07:00
Alexander Holliday 36402dfefa Merge pull request #2870 from bluewave-labs/feat/add-team-member
Add direct user registration for team management
2025-09-03 09:58:35 -07:00
karenvicent c61874dbdd fix format error 2025-09-03 12:34:35 -04:00
Alex Holliday 20848f28d5 package 2025-09-03 09:21:24 -07:00
Alexander Holliday 5d23966f00 Merge pull request #2919 from bluewave-labs/fix/format-action
update format action, no need for ci
2025-09-03 09:20:43 -07:00
Alex Holliday 294cc66e4a update format action, no need for ci 2025-09-03 09:20:15 -07:00
Alex Holliday 0fd2e7032a update package-lock 2025-09-03 09:17:19 -07:00
Alex Holliday 340b85043e Merge branch 'feat/add-team-member' of github.com:bluewave-labs/checkmate into feat/add-team-member 2025-09-03 09:15:22 -07:00
Alex Holliday 1821ae3c2b add root gitignore 2025-09-03 09:14:30 -07:00
karenvicent c536cb2afa run format 2025-09-03 10:18:09 -04:00
karenvicent 3f79b4c2f6 Merge branch 'develop' into feat/add-team-member 2025-09-03 09:56:31 -04:00
karenvicent 137ba9185e fix details 2025-09-03 09:55:53 -04:00
Alexander Holliday 2f6a0913dc Merge pull request #2917 from bluewave-labs/fix/bump-scheduler
bump scheduler
2025-09-02 10:35:09 -07:00
Alex Holliday 2c7336d440 bump scheduler 2025-09-02 10:34:33 -07:00
Gorkem Cetin (BWL) 5a022ff3f6 Create .coderabbit.yml so it doesnt add summary to the PR 2025-09-01 19:33:33 -04:00
Alexander Holliday fe4855500e Merge pull request #2896 from PaiJi/feat/update-i18n-scripts
feat(i18n): add zh-CN
2025-09-01 10:46:21 -07:00
Alexander Holliday ce8f5cbe0c Merge pull request #2878 from antonstrover/fix/failed-prop-type-status
Fixed Bar component
2025-09-01 10:43:43 -07:00
Alexander Holliday b6bebe33fe Merge branch 'master' into develop 2025-09-01 10:32:59 -07:00
Alexander Holliday 9cf8072c1e Merge pull request #2914 from bluewave-labs/fix/bump-multiarch-node
Fix/bump multiarch node
2025-09-01 10:30:51 -07:00
Alex Holliday 0ca00ca6a1 esbuild 2025-09-01 10:28:41 -07:00
Alex Holliday 619c5242db bump versions 2025-09-01 10:14:57 -07:00
Alexander Holliday ff07854590 Merge pull request #2913 from bluewave-labs/revert-2910-fix/alpine-to-slim
Revert "pin dependency"
2025-09-01 09:27:03 -07:00
Alexander Holliday ba99989c66 Revert "pin dependency" 2025-09-01 09:26:51 -07:00
Alexander Holliday 3c75933cf2 Merge pull request #2912 from bluewave-labs/revert-2911-develop
Revert "develop->master"
2025-09-01 09:26:35 -07:00
Alexander Holliday ea9ef7afd3 Revert "develop->master" 2025-09-01 09:26:23 -07:00
Alexander Holliday f5e633a781 Merge pull request #2911 from bluewave-labs/develop
develop->master
2025-09-01 09:23:01 -07:00
Alexander Holliday 90b94816dd Merge pull request #2910 from bluewave-labs/fix/alpine-to-slim
pin dependency
2025-09-01 09:22:26 -07:00
Alex Holliday 11dcaef3ff pin 2025-09-01 09:21:56 -07:00
Alex Holliday 3f3e7f71ec pin dependency 2025-09-01 09:21:11 -07:00
Alexander Holliday b6070572cf Merge pull request #2909 from bluewave-labs/develop
develop->master
2025-09-01 09:15:48 -07:00
Alexander Holliday e818a02a2a Merge pull request #2908 from bluewave-labs/fix/alpine-to-slim
fix build
2025-09-01 09:15:17 -07:00
Alex Holliday d8c8e222c8 fix build 2025-09-01 09:14:35 -07:00
Alexander Holliday f12b9715bc Merge pull request #2907 from bluewave-labs/develop
develop -> master
2025-09-01 09:07:57 -07:00
Alexander Holliday 31c65d3e0b Merge pull request #2906 from bluewave-labs/fix/alpine-to-slim
add omit optional flag
2025-09-01 09:07:21 -07:00
Alex Holliday fcd6741cf9 add omit optional flag 2025-09-01 09:06:42 -07:00
Alexander Holliday d663b9230f Merge pull request #2905 from bluewave-labs/develop
Develop -> Master
2025-09-01 09:00:25 -07:00
Alexander Holliday 5f2d61ad7a Merge pull request #2904 from bluewave-labs/fix/alpine-to-slim
remove alpine fix
2025-09-01 08:58:42 -07:00
Alex Holliday ec80a2dc0b remove alpine fix 2025-09-01 08:57:55 -07:00
Alexander Holliday 2cece3de59 Merge pull request #2902 from bluewave-labs/develop
develop -> master
2025-09-01 08:54:38 -07:00
Alexander Holliday 79eb580802 Merge pull request #2901 from bluewave-labs/fix/alpine-to-slim
alpine -> slim
2025-09-01 08:54:10 -07:00
Alex Holliday b93e3327a7 alpine -> slim 2025-09-01 08:53:03 -07:00
anton.strover f01030a47a move width out of sx object 2025-09-01 11:44:10 +01:00
JiPai 3cbd907c09 feat(i18n): add zh-CN 2025-09-01 04:53:24 +08:00
karenvicent 8fae69b7a4 Merge branch 'develop' into feat/add-team-member 2025-08-31 10:19:01 -04:00
karenvicent e45dd4240e fix errors 2025-08-31 10:18:15 -04:00
Alexander Holliday 16a8552e6c Merge pull request #2890 from bluewave-labs/develop
develop->master
2025-08-30 19:31:37 -07:00
Alexander Holliday c953ec6152 Merge pull request #2889 from bluewave-labs/fix/package-lock
regenerate package-lock
2025-08-30 19:31:02 -07:00
Alex Holliday a433f10240 regenerate package-lock 2025-08-30 19:30:24 -07:00
Alexander Holliday b73b97b5e9 Merge pull request #2887 from bluewave-labs/feat/add-maintenance-window-description
Update maintenance window description
2025-08-30 19:01:45 -07:00
gorkem-bwl 0607e0b228 refactor: simplify maintenance window description per feedback
- Remove redundant words 'active' and 'completely'
- Remove technical details about specific check types
- Keep the description concise while maintaining clarity
- Maintain all key information about maintenance behavior
2025-08-30 21:57:17 -04:00
gorkem-bwl 3bd4f67ec7 docs: add comprehensive maintenance window behavior description
- Update maintenance window description to clearly explain what happens during maintenance
- Clarify that ALL monitoring types are suspended (pings, HTTP, port checks, etc.)
- Explain that no notifications or alerts will be triggered
- Describe status page behavior (maintenance indicator shown)
- Note that monitoring resumes automatically when maintenance ends
- Clarify that maintenance periods don't affect uptime calculations
- Provide users with complete understanding of maintenance window impact
2025-08-30 21:31:44 -04:00
Alexander Holliday 845d5a5d51 Merge pull request #2885 from bluewave-labs/develop
develop->master
2025-08-30 16:23:40 -07:00
Alexander Holliday 0101da731f Merge pull request #2884 from bluewave-labs/fix/bump-version
bump version
2025-08-30 16:23:03 -07:00
Alex Holliday 68592acd39 bump version 2025-08-30 16:22:16 -07:00
Alexander Holliday b86fc5edb3 Merge pull request #2883 from bluewave-labs/develop
develop -> master
2025-08-30 16:21:19 -07:00
Alexander Holliday 32b54ddf11 Merge pull request #2882 from bluewave-labs/feat/migration
add migration for statusWindowThreshold
2025-08-30 16:20:23 -07:00
Alex Holliday f8a0741e6c <= -> < 2025-08-30 16:19:17 -07:00
Alex Holliday 652d231771 add migration for statusWindowThreshold 2025-08-30 16:07:03 -07:00
Alexander Holliday 1c3c5f4fec Merge pull request #2881 from bluewave-labs/fix/queue
fix: queue
2025-08-30 11:30:38 -07:00
Alex Holliday e7006a4a44 fix default value 2025-08-30 11:28:54 -07:00
Alex Holliday 0f81d54f25 remove success toast 2025-08-30 11:18:05 -07:00
Alex Holliday f3121c24c6 add interval to queue table 2025-08-30 11:17:34 -07:00
Alex Holliday 7abd0f2cd4 add root level gitignore 2025-08-30 11:13:53 -07:00
Alex Holliday 46b342005a update monitor interval and data 2025-08-30 11:11:58 -07:00
Alex Holliday 4e0349bd58 bump queue 2025-08-30 11:11:19 -07:00
Alexander Holliday 30a569233b Merge pull request #2873 from bluewave-labs/feat/docker-container-name-monitoring
feat: Enable Docker container monitoring by name in addition to ID
2025-08-29 09:33:45 -07:00
Alex Holliday 44ba6b4d0f early returns 2025-08-29 09:22:02 -07:00
Alexander Holliday 9065070eb2 Merge pull request #2871 from bluewave-labs/feat/incident-tooltip
feat:incident tooltip
2025-08-29 09:07:35 -07:00
anton.strover fd951bfdd5 Fixed Bar component
Moved width prop from direct prop to sx prop, updated PropTypes to accept string|object.
2025-08-29 11:24:57 +01:00
anton.strover 27d613b594 remove carried away-ness 2025-08-29 10:49:22 +01:00
gorkem-bwl ba757b9aa4 style: fix prettier formatting in validation.js 2025-08-29 00:58:03 -04:00
gorkem-bwlandClaude c445463c0c refactor: improve Docker container matching with deterministic priority-based logic
Address code review feedback to eliminate ambiguity issues and improve reliability:

**Backend Improvements:**
- Implement priority-based matching: exact ID → exact name → partial ID
- Add input normalization (strip leading slashes, case-insensitive)
- Add ambiguity detection with warning logs for debugging
- Maintain full backwards compatibility with existing monitors

**Frontend Improvements:**
- Update validation regex to support leading slashes (/container-name)
- Improve error message clarity for user guidance

**Resolves Ambiguity Issues:**
- Container name "abc" vs Container ID "abc123..." now deterministic
- Multiple containers with similar names handled predictably
- Case-insensitive matching for better user experience

**Priority Order:**
1. Exact full ID match (64-char) - highest priority
2. Exact container name match - case-insensitive
3. Partial ID match - backwards compatibility fallback

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-29 00:53:40 -04:00
gorkem-bwlandClaude 4693177e4b feat: add Docker container monitoring by name
- Update Docker monitoring to support both container names and IDs
- Maintain backward compatibility with existing container ID monitoring
- Add logic to find containers by name (with or without "/" prefix)
- Update frontend UI labels and placeholders to reflect name/ID support
- Update instructions to clarify both name and ID are supported

Resolves user request: "It would be great if we could monitor docker containers by name and not just ID - given that the ID changes when containers are taken down for any reason"

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-29 00:27:01 -04:00
Alex Holliday 30b135eba3 add tooltip to incident table 2025-08-28 12:21:34 -07:00
Alex Holliday bda48e07f1 add optional tooltip 2025-08-28 12:21:23 -07:00
karenvicent 7c8ab64e34 fix sucess toast msg 2025-08-28 13:38:05 -04:00
karenvicent ec7855bd02 Merge branch 'develop' into feat/add-team-member 2025-08-28 13:21:20 -04:00
karenvicent d401eefd6b Add direct user registration 2025-08-28 12:58:38 -04:00
Alexander Holliday 0ad759a384 Merge pull request #2865 from bluewave-labs/fix/status-page-deletion-error
Fix status page deletion error
2025-08-27 14:49:45 -07:00
gorkem-bwl d3d20b29c3 Fix status page deletion error - missing module reference
- Fix deleteStatusPage method call to use statusPageModule
- Change this.db.deleteStatusPage to this.db.statusPageModule.deleteStatusPage
- Ensures consistency with other controller methods
- Resolves "this.db.deleteStatusPage is not a function" error

Fixes bug where status page deletion failed due to incorrect database module reference.
2025-08-27 17:47:11 -04:00
Alexander Holliday fbb570c0d5 Merge pull request #2862 from bluewave-labs/fix/advanced-matching
fix: advanced matching
2025-08-26 14:56:20 -07:00
Alex Holliday 2318082bb8 fix advanced matching 2025-08-26 14:54:24 -07:00
Alexander Holliday 05dd5f7de2 Merge pull request #2858 from bluewave-labs/develop
develop -> master
2025-08-25 15:06:19 -07:00
Alexander Holliday 841251d09e Merge pull request #2857 from bluewave-labs/fix/model-types
fix/model types
2025-08-25 15:05:41 -07:00
Alexander Holliday a4dd8f70f0 Merge branch 'develop' into fix/model-types 2025-08-25 15:05:30 -07:00
Alex Holliday 9d0d1329b6 bump version 2025-08-25 15:04:44 -07:00
Alex Holliday 7a929777b4 fix model types 2025-08-25 15:03:31 -07:00
Alexander Holliday ce3ec99c9f Merge pull request #2855 from bluewave-labs/develop
develop -> master
2025-08-25 14:38:06 -07:00
Alexander Holliday 4f7847275e Merge pull request #2854 from bluewave-labs/feat/bump-version
bump version
2025-08-25 14:37:21 -07:00
Alex Holliday 9a5ddb22b3 bump version 2025-08-25 14:37:00 -07:00
Alexander Holliday b1322cbec3 Merge pull request #2853 from bluewave-labs/fix/string-service-path
fix: string service path, resolves #2847, resolves #2848
2025-08-25 14:32:21 -07:00
Alex Holliday 637bc84136 fix string service path 2025-08-25 14:30:41 -07:00
Alexander Holliday 3147f02b6a Merge pull request #2843 from bluewave-labs/fix/notification-channel-validation
fix notification validation
2025-08-22 11:34:38 -07:00
Alex Holliday dabff74946 fix notification validation 2025-08-22 11:33:14 -07:00
Gorkem Cetin (BWL) de99577b9d Merge pull request #2838 from bluewave-labs/disabledbydefault
Fix Settings Page Select Component Value Handling for URL Visibility Option
2025-08-22 10:38:16 -04:00
Alexander Holliday 1846432601 Merge pull request #2839 from bluewave-labs/fix/docker-compose-arm
fix: update arm dist docker compose
2025-08-21 22:39:03 -07:00
Alex Holliday 6f307dc822 update arm dist docker compose 2025-08-21 22:37:59 -07:00
imjainish f43210e29e Address PR Comments - Format 2025-08-21 23:13:50 -04:00
imjainish 50b9be4eca Address PR Comments 2025-08-21 23:05:50 -04:00
imjainish 1a38222974 Fix Disabled Field in Settings 2025-08-21 22:39:41 -04:00
Alexander Holliday cb9cd0a43c Merge pull request #2829 from bluewave-labs/fix-timestamps-format
fix: add missing tooltip date format for 'recent' timeframe in charts
2025-08-21 11:39:13 -07:00
Alexander Holliday c2e2ae8dbd Merge pull request #2834 from bluewave-labs/develop
develop -> master
2025-08-21 10:13:48 -07:00
Alexander Holliday df790a92be Merge pull request #2836 from bluewave-labs/fix/bump-version
bump version
2025-08-21 10:13:13 -07:00
Alex Holliday e1f9242b34 bump version 2025-08-21 10:12:44 -07:00
Alexander Holliday 9d2a52e639 Merge pull request #2833 from bluewave-labs/translation-update-77
🌐 Updated Translations from POEditor
2025-08-21 09:25:38 -07:00
GitHub Action 5cbca9457e feat: translations updated from POEditor 2025-08-21 16:22:53 +00:00
Alexander Holliday 25c66cff43 Merge pull request #2831 from bluewave-labs/develop
develop -> master
2025-08-21 09:15:40 -07:00
karenvicent 75a2e0deee Merge branch 'develop' into fix-timestamps-format 2025-08-20 18:16:50 -04:00
karenvicent b857137f1a fix data format in uptime and infrastructure charts 2025-08-20 18:14:42 -04:00
Alexander Holliday 40141cdcb0 Merge pull request #2828 from bluewave-labs/fix/version-bump
Fix/version bump
2025-08-20 14:10:16 -07:00
Alex Holliday c5c1d6903e 3.1 2025-08-20 14:09:41 -07:00
Alex Holliday f15c8188b9 bump again 2025-08-20 14:07:30 -07:00
Alexander Holliday 8f971cfb02 Merge pull request #2826 from bluewave-labs/develop
develop -> master
2025-08-20 14:05:35 -07:00
Alexander Holliday 32c811ec5a Merge pull request #2827 from bluewave-labs/fix/version-bump
fix: bump version
2025-08-20 14:04:34 -07:00
Alex Holliday 4febc56c30 bump version 2025-08-20 14:04:02 -07:00
Alexander Holliday f22ee4a68b Merge pull request #2824 from bluewave-labs/fix/remove-log
remove console statement
2025-08-20 14:01:57 -07:00
Alex Holliday 87bec0399f remove console statement 2025-08-20 14:01:32 -07:00
Alexander Holliday 1f29255dd1 Merge pull request #2821 from bluewave-labs/refactor/create-maintenance-window
refactor create maintenance window page
2025-08-20 13:29:56 -07:00
karenvicent 4a11638182 refactor create maintenance window page 2025-08-20 12:51:24 -04:00
Alexander Holliday 10743372f8 Merge pull request #2813 from bluewave-labs/feat/n-of-m-frontend
feat/n of m frontend
2025-08-19 08:08:52 -07:00
Alex Holliday d4b11bbb76 extract strings, sort json 2025-08-18 15:46:41 -07:00
Alex Holliday ced2417c98 add incident config 2025-08-18 15:34:30 -07:00
Alex Holliday 27415aeca6 fix undefined bug, updated server validation 2025-08-18 15:34:15 -07:00
Alexander Holliday 9bd2e336a6 Merge pull request #2811 from bluewave-labs/feat/alerts-n-of-m
feat: alerts on  `n` of `m`, resolves #2366
2025-08-18 14:16:35 -07:00
Alex Holliday d5778ec173 update stauts service to use n of m status changes 2025-08-18 13:40:56 -07:00
Alex Holliday 74e80f086a udpate monitor model 2025-08-18 13:40:22 -07:00
Alexander Holliday b1c6191fa1 Merge pull request #2809 from bluewave-labs/fix/fe/minor-changes
Fix: Minor Changes
2025-08-18 12:56:00 -07:00
Alexander Holliday 8e0245c844 Merge pull request #2807 from bluewave-labs/feat/simplify-checks
feat: unify check models
2025-08-18 12:54:45 -07:00
Br0wnHammer 613fbf8c39 Fix: Minor Changes 2025-08-19 01:11:56 +05:30
Alex Holliday 1788cda5c2 let -> const 2025-08-18 11:27:41 -07:00
Alex Holliday 155adf549e add backend changes 2025-08-18 10:55:12 -07:00
Alex Holliday 5463542532 unify check models 2025-08-18 10:52:00 -07:00
Alexander Holliday f5a25bc0e5 Merge pull request #2806 from bluewave-labs/fix/pager_duty
fix: update pager_duty validation, resolves #2805
2025-08-18 09:17:22 -07:00
Alex Holliday 993339d0d1 update pager_duty validation 2025-08-17 20:21:18 -07:00
Alexander Holliday bc4fe897cf Merge pull request #2804 from bluewave-labs/refactor-create-infrastruture
Refactor create infrastruture
2025-08-17 15:16:28 -07:00
Alexander Holliday c773bdaabd Merge pull request #2802 from bluewave-labs/feat/network-service-refactor
feat: network service refactor
2025-08-17 15:08:40 -07:00
Alex Holliday 9f9a2be1d8 fix missing URL 2025-08-17 15:08:12 -07:00
karenvicent 1e4b0c2f20 Merge branch 'develop' into refactor-create-infrastruture 2025-08-17 15:28:49 -04:00
karenvicent 56025f6d56 refactor create infraestructure monitor page 2025-08-17 15:28:06 -04:00
Alexander Holliday 5188b90f32 Merge pull request #2800 from mattstein/fix/pagespeed-validation
Fix: resolve erroneous PageSpeed settings validation
2025-08-15 17:47:30 -07:00
Matt Stein 7178f537a8 Update with changes from code review. 2025-08-15 16:40:21 -07:00
Alex Holliday 45ac589975 refactor network service 2025-08-15 16:04:43 -07:00
Alex Holliday 9925e10ffc add timings to model 2025-08-15 16:03:12 -07:00
Alex Holliday e3fde8d564 add got 2025-08-15 16:02:52 -07:00
Matt Stein 8aee01e008 Fix PageSpeed settings validation. 2025-08-15 14:34:42 -07:00
Alexander Holliday cd203ff067 Merge pull request #2794 from Owaiseimdad/Network-patch-fixes-part-1
Fixed the selector and also null points for networks
2025-08-15 13:12:04 -07:00
Alexander Holliday 254cb6d80f Merge pull request #2788 from bluewave-labs/fix/filter-header-alignment
Fix: Improve vertical alignment of text and plus icons in filter headers
2025-08-15 12:21:50 -07:00
Alexander Holliday 9b3ad54d0a Merge pull request #2797 from bluewave-labs/develop
develop -> master
2025-08-15 12:21:10 -07:00
Alexander Holliday 4ae3bb5780 Merge pull request #2795 from bluewave-labs/hotfix/path
fix path, remove redis form build script
2025-08-15 09:18:18 -07:00
Alex Holliday b8aa1ef765 fix path, remove redis form build script 2025-08-15 09:17:33 -07:00
gorkem-bwl 5e5daef49a Move vertical alignment styling from component to theme level
- Move MuiSelect vertical alignment from FilterHeader component to globalTheme.js
- Ensures consistent vertical alignment for all Select components application-wide
- Removes component-specific styling in favor of theme-level consistency
- Addresses reviewer feedback to make this a theme-level change

Components already with custom Select styling will continue to work as local styles override theme styles.
2025-08-15 03:38:22 -04:00
Owaise 88c478c533 Formatting is done. 2025-08-15 11:37:38 +05:30
Owaise 1ecec115e4 Fixed the selector and also null points for networks. 2025-08-15 11:28:22 +05:30
Alexander Holliday 8ff597eedb Merge pull request #2791 from bluewave-labs/fix/remove-logs-descriptions
Fix: Remove description text and dividers from Logs sections
2025-08-14 20:36:44 -07:00
Alexander Holliday 69f74488e5 Merge pull request #2790 from bluewave-labs/fix/logs-default-tab
Fix: Set Server Logs as default tab on Logs page
2025-08-14 20:34:15 -07:00
gorkem-bwl ded9a27f42 fix: remove excess spacing after removing description text
Removed top margin (mt={theme.spacing(10)}) and adjusted sticky position
from the log level selector since it was creating unwanted space between
the tab bar and the 'Log level' dropdown after removing the description
text and divider.
2025-08-14 22:22:05 -04:00
gorkem-bwl 43284ae625 fix: remove description text and dividers from Logs sections
Removed description strings and divider lines from:
- Server logs: 'System logs - last 1000 lines' and divider
- Queue metrics: queue description and divider

This cleans up the UI by removing redundant descriptive text
that users can infer from the tab names and content context.
2025-08-14 22:19:54 -04:00
gorkem-bwl f7b1ef9741 fix: set Server Logs as default tab on Logs page
Changed default tab from Diagnostics (index 2) to Server Logs (index 0)
when users navigate to the Logs section from the sidebar. This makes
Server Logs the active tab by default, which is more intuitive since
it's the first tab in the list.
2025-08-14 22:11:47 -04:00
gorkem-bwl a6d445818f fix: improve vertical alignment of text and plus icons in filter headers
Added flex alignment styles to MuiSelect-select class to ensure proper vertical
alignment between text labels and plus icons in Type, Status, and State filter
buttons on the Uptime page.
2025-08-14 20:15:56 -04:00
Alexander Holliday 122a84b9e2 Merge pull request #2787 from bluewave-labs/develop
develop -> master for 3.0-beta
2025-08-14 15:28:35 -07:00
Alexander Holliday 065a6cb1fd Merge pull request #2785 from bluewave-labs/fix/caputre
add capture to prod and staging docker-compose
2025-08-14 12:49:11 -07:00
Alex Holliday ae9eb494ae add capture to prod and staging docker-compose 2025-08-14 12:48:49 -07:00
Gorkem Cetin (BWL) 0241797e79 Update README.md 2025-08-14 15:48:11 -04:00
Alexander Holliday 9d45947b08 Merge pull request #2782 from bluewave-labs/fix/version
bump versoin
2025-08-14 11:27:13 -07:00
Alex Holliday f2c26c0eed bump versoin 2025-08-14 11:26:46 -07:00
Alexander Holliday f7a1416070 Merge pull request #2780 from bluewave-labs/hotfix/remove-redis-from-workflow
remove redis from production workflow
2025-08-14 10:32:36 -07:00
Alex Holliday 9e05d024a8 remove redis from production workflow 2025-08-14 10:32:10 -07:00
Alexander Holliday 3bd4c8d747 Merge pull request #2778 from bluewave-labs/hotfix/workflow
add release workflow
2025-08-14 10:00:49 -07:00
Alex Holliday 9ae7314f54 add release workflow 2025-08-14 10:00:20 -07:00
Alexander Holliday c77d1e3322 Merge pull request #2777 from bluewave-labs/hotfix/workflow
remove redis from workflows
2025-08-14 09:59:11 -07:00
Alex Holliday 0e767d6581 remove redis from workflows 2025-08-14 09:58:41 -07:00
Alexander Holliday 7ff5935f94 Merge pull request #2775 from Tafadzwa-Chiwozva/feature/custom-ca-trust-docs
docs: add guide and tooling for custom CA trust in Dockerized Checkmate (Fixes #2747)
2025-08-14 09:52:52 -07:00
Alexander Holliday cb4566f829 Merge pull request #2772 from singh-kanwarpreet/feature/sticky-header
Made NavBar Still
2025-08-14 09:43:31 -07:00
Alexander Holliday 52249d5b7e Merge pull request #2774 from bluewave-labs/fix/remove-mogno-replica-set-config
fix: remove mogno replica set config
2025-08-14 09:35:09 -07:00
Alex Holliday 22e0507fbd fix arm dist health check 2025-08-14 09:34:30 -07:00
Alexander Holliday e32e72de7a Merge pull request #2741 from Owaiseimdad/Network-tab-implementation-FE
Network tab implementation fe
2025-08-14 09:22:09 -07:00
Owaise ff31ee773f Added a drop down so that we have choice to make about which network interface to choose. 2025-08-14 19:35:12 +05:30
singh-kanwarpreet a1cbbf5d42 Added zIndex as earlier causes problem in diagnostics 2025-08-14 15:06:01 +05:30
singh-kanwarpreet ce667bc53b Improved code quality 2025-08-14 15:02:44 +05:30
Alex Holliday d5526b89d9 remove redis references 2025-08-13 15:22:03 -07:00
Alex Holliday 096cfccf40 update dokcer compose files to remove mongo replica set config 2025-08-13 15:16:01 -07:00
Tafadzwa Chiwozva f381b0ce4a docs: add guide and tooling for custom CA trust in Dockerized Checkmate (Fixes #2747) 2025-08-13 17:50:30 -04:00
Alexander Holliday 867b530573 Merge pull request #2765 from bluewave-labs/refactor-login-page
Refactor login page
2025-08-13 14:38:12 -07:00
Owaise 2141c3eacd Metrics validated. 2025-08-14 00:04:53 +05:30
singh-kanwarpreet 13a5f699ba Updated Style 2025-08-13 22:53:18 +05:30
singh-kanwarpreet 7ab5f4ab09 Refactored code 2025-08-13 22:41:13 +05:30
singh-kanwarpreet 480ba034ce Made NavBar Still 2025-08-13 14:47:09 +05:30
karenvicent d560e923d2 Merge branch 'develop' into refactor-login-page 2025-08-12 14:30:55 -04:00
karenvicent 235fc979b2 move hooks to login file 2025-08-12 14:30:11 -04:00
Owaise f5aefb1f0b Ran formattor. 2025-08-12 23:49:45 +05:30
Owaise e27cc8a12b Added delta instead of avg, and formatted the code to re-use already existing code. 2025-08-12 23:48:47 +05:30
Alexander Holliday f2e2d5c2ed Merge pull request #2766 from mertssmnoglu/ci/format-remove-close-pr-step
ci: remove extra 'Close PR' step in check-format workflow
2025-08-12 10:08:23 -07:00
Alexander Holliday 6d999eccbd Merge pull request #2767 from bluewave-labs/fix/reduce-animation-size-in-empty-states
Fix: Reduce animated gif size to 2/3 in empty states
2025-08-12 10:00:03 -07:00
gorkem-bwl 136144b8ec fix: use transform scale instead of width for better border radius preservation 2025-08-12 11:03:46 -04:00
Owaise 355a445ead Fixed the code for linus, windows and mac based. Also made changes to pipeline. 2025-08-12 10:05:58 +05:30
gorkem-bwl c490508252 fix: reduce animated gif size to 2/3 in empty states
Reduces animation size from 100% to 66.67% width for better visual balance
2025-08-11 23:28:35 -04:00
Gorkem Cetin (BWL) 7b4160ac92 Update README.md 2025-08-11 20:38:53 -04:00
karenvicent 781854d85c delete console.log 2025-08-11 18:42:33 -04:00
Mert Şişmanoğlu 86dc71687d ci: remove extra 'Close PR' step in check-format workflow
Signed-off-by: Mert Şişmanoğlu <mertssmnoglu@gmail.com>
2025-08-12 01:41:45 +03:00
karenvicent f0e79121a7 Merge branch 'develop' into refactor-login-page 2025-08-11 18:22:11 -04:00
karenvicent ed1b88f1fd refactor login page 2025-08-11 18:21:23 -04:00
Alexander Holliday bb5a3e73c8 Merge pull request #2763 from bluewave-labs/security/add-jwt-cookie-infrastructure
Add JWT Cookie Infrastructure
2025-08-11 15:09:10 -07:00
Alexander Holliday 38b2025286 Merge branch 'develop' into security/add-jwt-cookie-infrastructure 2025-08-11 15:08:54 -07:00
Alexander Holliday c12f5880e2 Delete server/utils/sanitization.js 2025-08-11 15:07:42 -07:00
Alexander Holliday 94cf22ab8e Merge pull request #2760 from bluewave-labs/security/add-sanitization-infrastructure
Add Input Sanitization Infrastructure
2025-08-11 15:03:37 -07:00
Alex Holliday 0bc8142e71 move to middleware 2025-08-11 15:02:07 -07:00
Alexander Holliday d890b972be Merge pull request #2762 from bluewave-labs/security/apply-input-sanitization
Apply Input Sanitization for XSS Protection
2025-08-11 14:53:32 -07:00
gorkem-bwl 05945a9a74 feat: add JWT cookie infrastructure
Adds the foundation for secure cookie-based authentication without changing
the authentication flow. This prepares the codebase for moving JWT tokens
from Redux state to httpOnly cookies in a follow-up PR.

Changes:
- Added cookie-parser dependency for HTTP cookie handling
- Added cookieParser() middleware to Express application
- Created cookieHelpers.js utilities for consistent cookie options
- Includes getAuthCookieOptions() for setting secure authentication cookies
- Includes getClearAuthCookieOptions() for clearing cookies on logout

Infrastructure only - no behavioral changes to authentication flow yet.

Files added/modified:
- package.json (cookie-parser dependency)
- src/app.js (cookieParser middleware)
- src/utils/cookieHelpers.js (cookie utilities)

Next steps:
- Follow-up PR will modify JWT verification to check cookies
- Enable secure cookie-based authentication
- Add logout functionality to clear httpOnly cookies

Risk level: LOW (infrastructure only, no authentication changes)
2025-08-11 17:47:09 -04:00
gorkem-bwl 88b68a9df0 fix: apply prettier formatting to app.js
Fixed formatting issues to pass CI/CD checks
2025-08-11 17:39:08 -04:00
gorkem-bwl 8b322a0ec0 feat: apply input sanitization to prevent XSS attacks
Enables comprehensive XSS protection by applying sanitization middleware
to all incoming requests. Uses the sanitization utilities added in previous PR.

Changes:
- Added sanitizeBody() and sanitizeQuery() middleware after express.json()
- Enhanced Content Security Policy headers for additional XSS protection
- Added 'object-src: none' and 'base-uri: self' directives
- All user inputs now automatically sanitized before processing

Security improvements:
- Prevents stored XSS attacks through HTML sanitization
- Recursive sanitization handles nested objects and arrays
- Maintains backward compatibility with existing functionality
- Strengthened CSP headers block unsafe content injection

Files changed: src/app.js (9 lines added)
Risk level: Medium (global middleware application)
2025-08-11 17:33:05 -04:00
gorkem-bwl 7968ed8a19 fix: apply prettier formatting to sanitization.js
Fixed formatting issues identified by CI/CD system
2025-08-11 17:26:28 -04:00
gorkem-bwl 2fba22d0f6 feat: add input sanitization infrastructure
Adds foundational utilities for XSS prevention without applying them yet.
This prepares the codebase for comprehensive input sanitization in a follow-up PR.

Changes:
- Added isomorphic-dompurify and jsdom dependencies
- Created sanitization utilities in src/utils/sanitization.js
- Includes recursive object sanitization functions
- Provides Express middleware for body and query sanitization

Infrastructure only - no behavioral changes yet.

Files added:
- src/utils/sanitization.js (sanitization utilities)
- package.json (new dependencies)

Next steps:
- Apply sanitization middleware in follow-up PR
- Enable XSS protection across application
2025-08-11 17:23:14 -04:00
Alexander Holliday cce930b90a Merge pull request #2757 from bluewave-labs/fix/update-openapi-docs
fix: update openapi specs
2025-08-11 13:56:33 -07:00
Alex Holliday c5dd16511d update openapi specs 2025-08-11 13:55:01 -07:00
Owaise 65f437f08e Merge remote-tracking branch 'origin' into Network-tab-implementation-FE 2025-08-09 12:21:21 +05:30
Owaise 47c231a214 Formating done. 2025-08-09 12:17:25 +05:30
Owaise f5d0b74ccf Fixed the processing to be done in backend now. 2025-08-09 12:14:25 +05:30
Alexander Holliday 17cac37967 Merge pull request #2736 from burak28/feat/add-game-server-support
Feat/add game server support
2025-08-08 15:11:06 -07:00
Burak Arslan b7e7028b6f Fix error handling and method assignment in requestGame function 2025-08-08 23:59:41 +03:00
Alexander Holliday ea3df7be42 Merge pull request #2749 from bluewave-labs/fix/gap-select-components
Fix/gap select components
2025-08-08 09:27:21 -07:00
karenvicent f0d7e82e22 Merge branch 'develop' into fix/gap-select-components 2025-08-07 18:53:58 -04:00
karenvicent c6d56b30e4 fix gaps in select components 2025-08-07 18:53:05 -04:00
Alexander Holliday 8225924da6 Merge pull request #2746 from vineet-channe/feature/yellow-range-infrastructure-monitors
feat: Add yellow warning range (50-80%) for infrastructure monitors
2025-08-07 14:54:00 -07:00
Alexander Holliday 6517e9ee6c Merge pull request #2748 from bluewave-labs/feat/fe/sidebar-theme
Feat: Theme Switch Removal from Sidebar
2025-08-07 14:53:15 -07:00
vineet-channe 10ad3397a3 docs(CustomGauge): remove threshold prop from documentation and usage example
- Removed all references to the unused  prop from the JSDoc and usage example in the CustomGauge component.
- Ensured PropTypes and documentation accurately
2025-08-08 03:03:23 +05:30
Br0wnHammer dd9468cb2e Remove unused Imports 2025-08-08 02:06:44 +05:30
Br0wnHammer 0b9ab0614f Tooltip Position 2025-08-08 01:31:20 +05:30
Br0wnHammer e13f495d71 Remove Redundant Stack 2025-08-08 01:11:27 +05:30
Br0wnHammer 029b8fac37 Feat: Remove Theme Toggle Button 2025-08-08 01:07:49 +05:30
Alexander Holliday 6e5ada79de Merge pull request #2742 from bluewave-labs/feat/register-page
Feat/register page
2025-08-07 09:20:07 -07:00
Alexander Holliday 59f050135a Merge pull request #2744 from bluewave-labs/fix/fe/appname-color
Fix: Checkmate Color
2025-08-07 09:15:09 -07:00
vineet-channe dc8b0aed9f chore: format CustomGauge with Prettier 2025-08-07 20:46:15 +05:30
vineet-channe 424df24bf3 feat: Add yellow warning range (50-80%) for infrastructure monitors
Fixes #2615
2025-08-07 20:35:24 +05:30
Br0wnHammer d451f725cd Redundant sx prop 2025-08-07 18:21:50 +05:30
Br0wnHammer d04b8fddb0 Fix: Appname Color 2025-08-07 18:04:58 +05:30
karenvicent bb592964ee Merge branch 'develop' into feat/register-page 2025-08-06 17:19:21 -04:00
karenvicent 786dd427bc feat: Update Register page to match new Login design for consistent UX 2025-08-06 17:17:44 -04:00
Burak Arslan 4c2c452b91 Improve validation and error handling on form field 2025-08-06 00:53:35 +03:00
Alexander Holliday 1765bf7e55 Merge pull request #2740 from vineet-channe/fix-diagnostic-page-design
fix: update diagnostic page design to match infrastructure page
2025-08-05 10:10:35 -07:00
Alexander Holliday e19de23770 Merge pull request #2693 from Owaiseimdad/Network-tab-implementation-infra
Network tab implementation infra, in api at backend
2025-08-05 09:54:17 -07:00
Owaise 765a1a24ed Added en.json based values and console removal. 2025-08-05 21:04:15 +05:30
Owaise e42b4b2808 fixed the minor changes for FE. 2025-08-05 20:46:42 +05:30
ThetaOI 65f6925864 Merge branch 'bluewave-labs:develop' into Network-tab-implementation-FE 2025-08-05 19:49:59 +05:30
ThetaOI 02b7dc080b Merge branch 'bluewave-labs:develop' into Network-tab-implementation-infra 2025-08-05 19:49:38 +05:30
Owaise d4e8381827 Renamed them as average values in the table. 2025-08-05 19:43:35 +05:30
vineet-channe de34710c90 fix: address review feedback
- Replace hardcoded button text with translation
- Fix status box translation to avoid showing removed title
- Add conditional rendering for optional gauge metrics
2025-08-05 17:35:40 +05:30
Alexander Holliday cd8752c1cb Merge pull request #2737 from Jesulayomy/fe-infra_monitor_upgrade
[Frontend]: Refactor Infrastructure monitor create Component
2025-08-04 10:05:06 -07:00
vineet-channe 86a0b0b60c fix: update diagnostic page design to match infrastructure page
- Remove 'System diagnostics' title and divider line
- Add infrastructure-style status boxes with dynamic status
- Update gauge components to use BaseContainer styling
- Match infrastructure page layout and spacing

Resolves #2725
2025-08-04 18:43:37 +05:30
Alexander Holliday fc5ccf1cf8 Merge pull request #2738 from bluewave-labs/feature/2564-add-custom-css-field
Add customCSS field to StatusPage model
2025-08-03 16:16:46 -07:00
mohadeseh safari 45352b62e1 feat(status-page): add customCSS field to StatusPage model 2025-08-03 18:51:12 -04:00
Burak Arslan 0ea3379397 Merge branch 'feat/add-game-server-support' of https://github.com/burak28/Checkmate into feat/add-game-server-support 2025-08-03 13:20:02 +03:00
Burak Arslan 281cbbc30f feat: add game server monitoring support
- Added a new `/games` route in `monitorRoute.js` to fetch all supported games.
- Implemented `getAllGames` method in `monitorController.js` using the `gamedig` library.
- Introduced `useFetchMonitorGames` hook in `monitorHooks.js` to fetch game data in the frontend.
- Updated `UptimeCreate` page to support game server monitoring:
  - Added a new monitor type `"game"`.
  - Dynamically fetches and displays game options using the new `/games` API.
- Removed hardcoded `GAMES` object and replaced it with dynamic fetching from the backend.
- Updated `NetworkService.js` with a new `getMonitorGames` method for API calls.

This update introduces game server monitoring functionality, allowing users to monitor game servers dynamically.
2025-08-03 13:19:55 +03:00
Alexander Holliday 0de9e067c6 Merge pull request #2728 from Mohansai-M/feat/incident-page-block-icons
Feat/incident page block icons
2025-08-02 19:58:49 -07:00
Alexander Holliday 77c00558aa Merge pull request #2735 from bluewave-labs/fix/sidebar
fix: sidebar
2025-08-02 19:50:17 -07:00
owiaseimdad 10c5463892 Fixed the tool tip. 2025-08-03 01:26:13 +05:30
owiaseimdad 7b963ca877 Network tab first implementation 2025-08-03 00:30:04 +05:30
Jesulayomy aa35e9211b [Infra]: Removed duplicate call to .find method on the errors object 2025-08-02 04:13:29 -04:00
Jesulayomy 2fc0eb9460 [Infra]: Added translations for some time blocks 2025-08-02 03:53:54 -04:00
Jesulayomy 91b4c976e5 [Infra]: Refactor Create Component, Added Pause and Remove tool bar 2025-08-02 03:53:11 -04:00
owiaseimdad 950c5fdc92 Formating done. 2025-08-02 12:42:35 +05:30
allanmaaz 114572024c Removed teh required true from network db. 2025-08-02 12:34:31 +05:30
Burak Arslan 8503b7ece4 Merge branch 'develop' into feat/add-game-server-support 2025-08-02 02:28:53 +03:00
Burak Arslan b53650a50f Run npm run format 2025-08-02 02:25:58 +03:00
Burak Arslan 9ad3b58fcd Added game server support 2025-08-02 02:04:06 +03:00
Alex Holliday 521c6988a5 add onclick to avatar 2025-08-01 15:58:01 -07:00
Alex Holliday 7900e1104f clean up nav item 2025-08-01 15:52:55 -07:00
Alex Holliday 035edd92f4 add proptypes, fix logo text animation 2025-08-01 15:45:43 -07:00
Alex Holliday 2c4c6a5024 extract role names 2025-08-01 15:43:12 -07:00
Alex Holliday 12747bd95b remove console 2025-08-01 15:36:33 -07:00
Alex Holliday 7c22663250 remove unused css and old sidebar 2025-08-01 15:31:03 -07:00
Alex Holliday eb4856901b extract function 2025-08-01 15:28:22 -07:00
Alex Holliday da905169e1 remove extra popup state 2025-08-01 15:22:44 -07:00
Alex Holliday fe9bf6375f fix sticky sidebar 2025-08-01 15:14:03 -07:00
Alex Holliday 800f988979 move components to component folder 2025-08-01 15:01:30 -07:00
Alex Holliday b4f42bb7d4 fix arrow icons 2025-08-01 14:58:30 -07:00
Alex Holliday e58c5fdb86 Merge branch 'develop' into fix/sidebar 2025-08-01 14:43:33 -07:00
Alex Holliday 4e3f552538 simplify layouts 2025-08-01 14:10:20 -07:00
Alex Holliday 2d01205f70 auth footer styling 2025-08-01 12:39:35 -07:00
Mohansai Mallineni ebfb25ebc0 Handled styling of new icons 2025-08-01 22:09:15 +05:30
Alexander Holliday d93fb48202 Merge pull request #2732 from bluewave-labs/improve/login-page
Improve/login page
2025-08-01 09:13:02 -07:00
Mohansai Mallineni a73d0ef3b4 format 2025-08-01 21:15:12 +05:30
Mohansai Mallineni 8274d4ffbe Handled styling of new icons 2025-08-01 21:11:46 +05:30
Mohansai Mallineni 48990b860f Handled styling of new icons 2025-08-01 21:09:51 +05:30
Alex Holliday b61a7ffc3c components 2025-07-31 15:37:40 -07:00
karenvicent 37a3028540 Merge branch 'develop' into improve/login-page 2025-07-31 16:33:12 -04:00
karenvicent 2e675f5dee feat: Enhance Login page design and fix UI details 2025-07-31 16:32:30 -04:00
Alexander Holliday 6a2a79c086 Merge pull request #2731 from bluewave-labs/hotfix/monitor-module
fix references
2025-07-31 13:25:12 -07:00
Alex Holliday a86e9ff480 fix references 2025-07-31 13:24:32 -07:00
Alex Holliday 3dc332010e start refactor 2025-07-31 12:47:36 -07:00
Alexander Holliday 61a1972c4c Merge pull request #2730 from bluewave-labs/fix/diagnostic-module
fix: diagnostic module
2025-07-31 12:06:30 -07:00
Alex Holliday 0779e5ea15 remove commented out imports 2025-07-31 12:02:52 -07:00
Alexander Holliday fab78f0cee Merge pull request #2729 from bluewave-labs/feat/settings-module
feat: settubgs module -> class
2025-07-31 12:01:45 -07:00
Alex Holliday ce49270cf8 remove unused diagnostic db module 2025-07-31 12:00:27 -07:00
Alex Holliday 7a190f7c69 module -> class 2025-07-31 11:57:55 -07:00
Mohansai Mallineni 126767ed5c Replaced existing icons with the provided svg's in the Incident page block area 2025-07-31 22:39:17 +05:30
Alexander Holliday 7d5302cfcf Merge pull request #2707 from singh-kanwarpreet/feature/global-thresholds
Feature/global thresholds
2025-07-31 09:31:14 -07:00
Alexander Holliday 87d3d6a8f0 Merge pull request #2724 from bluewave-labs/feat/recovery-module
feat: recovery module -> class
2025-07-31 09:18:56 -07:00
Alex Holliday 927e8a88b8 remove console log 2025-07-31 09:18:12 -07:00
singh-kanwarpreet 73a6277feb Refactored Code 2025-07-31 16:04:41 +05:30
Mohansai Mallineni 94a7044b7b Replaced existing icons with the provided svg's in the Incident page block area 2025-07-31 05:07:42 +05:30
Alex Holliday 54d3392cf1 remove commented out imports 2025-07-30 15:35:16 -07:00
Alexander Holliday f1c9aad4e6 Merge pull request #2723 from bluewave-labs/feat/pagespeed-module
feat: pagespeed module->class
2025-07-30 15:34:32 -07:00
Alex Holliday 48cf8a5e73 module -> class 2025-07-30 15:34:03 -07:00
Alex Holliday b5f4c04165 module->class 2025-07-30 15:21:22 -07:00
Alexander Holliday a9c2549376 Merge pull request #2722 from bluewave-labs/feat/notification-module
feat: notification module -> class
2025-07-30 15:17:19 -07:00
Alex Holliday 7bf96f6194 module -> class 2025-07-30 15:14:36 -07:00
Alexander Holliday ae40cb8a54 Merge pull request #2721 from bluewave-labs/feat/network-check-module
feat: NetworkCheck module -> class
2025-07-30 15:06:50 -07:00
Alex Holliday 16ebe4b1ab module -> class 2025-07-30 15:06:19 -07:00
Alexander Holliday c7914a1c4f Merge pull request #2720 from bluewave-labs/feat/monitor-module
feat: monitor module
2025-07-30 15:06:03 -07:00
Alex Holliday 6b12246ec0 Merge branch 'develop' into feat/monitor-module 2025-07-30 15:00:33 -07:00
Alexander Holliday 4a42b6eb43 Merge pull request #2719 from bluewave-labs/feat/maintenance-window-module
feat: module -> class
2025-07-30 14:59:46 -07:00
Alex Holliday de742068a7 module -> class 2025-07-30 12:25:12 -07:00
Alex Holliday b383ce5b11 Merge branch 'develop' into feat/maintenance-window-module 2025-07-30 11:39:23 -07:00
Alexander Holliday ccb424eafe Merge pull request #2718 from bluewave-labs/feat/hardware-module
module -> class
2025-07-30 11:38:34 -07:00
Alex Holliday 585fb4f700 module -> class 2025-07-30 11:36:19 -07:00
Alex Holliday 00f5eaf44d module -> class 2025-07-30 11:27:29 -07:00
singh-kanwarpreet 8bacbcde89 Removed Unnecassary command 2025-07-30 23:35:51 +05:30
Alexander Holliday 245e436a88 Merge pull request #2717 from bluewave-labs/feat/user-module-class
feat: refactor user module into class
2025-07-30 10:54:41 -07:00
singh-kanwarpreet 2d6fdcb1e2 Made code readable 2025-07-30 23:14:35 +05:30
Alex Holliday 8adad64248 refactor module into class 2025-07-30 10:41:53 -07:00
Alexander Holliday e7cf6d385c Merge pull request #2714 from bluewave-labs/feat/statuspage-module
feat: refactor status page module into class
2025-07-30 10:22:46 -07:00
Alex Holliday 753a904c94 refacotr status page module into class 2025-07-30 10:20:33 -07:00
Alexander Holliday 0ccbd17709 Merge pull request #2713 from bluewave-labs/hotfix/crypto
fix crypto dependency
2025-07-30 09:19:07 -07:00
Alex Holliday 78a5b2e666 fix crypto dependency 2025-07-30 09:18:16 -07:00
singh-kanwarpreet 5e46a9f2d5 Pushed global thresholds inside create if branch 2025-07-30 19:38:23 +05:30
singh-kanwarpreet 0ecbf48f5d client/src/Pages/Infrastructure/Create/index.jsx 2025-07-30 19:18:24 +05:30
singh-kanwarpreet d4ecb26ffe Updated UseEffect 2025-07-30 18:30:04 +05:30
singh-kanwarpreet e04ac77ddd Ran npm start format 2025-07-30 16:39:41 +05:30
Alexander Holliday cd3702f5b5 Merge pull request #2712 from bluewave-labs/feat/invite-module
feat: refactor invite module into class
2025-07-29 20:01:39 -07:00
Alex Holliday ca02ed9d18 refactor invite module into class 2025-07-29 19:53:11 -07:00
Alexander Holliday f934bbf829 Merge pull request #2711 from bluewave-labs/fix/check-module
fix: convert checkModule to class for dependency injection
2025-07-29 12:04:44 -07:00
singh-kanwarpreet da7d9c02c8 Used Parent State And Set Minor Changes 2025-07-30 00:25:53 +05:30
Alex Holliday e55d8618bd convert checkModule to class for dependency injection 2025-07-29 11:51:06 -07:00
singh-kanwarpreet af010e138d Some changes in ui 2025-07-30 00:01:27 +05:30
Alexander Holliday 9d94b71583 Merge pull request #2664 from Jesulayomy/fe-uptime_monitor_config
[Frontend]: Refactor Uptime monitor Create & Configure components
2025-07-29 11:15:55 -07:00
Alexander Holliday 38d31192ed Merge pull request #2710 from bluewave-labs/fix/sort-json
sort en.json
2025-07-29 11:14:30 -07:00
Alex Holliday a0799874e4 sort en.json 2025-07-29 11:14:06 -07:00
Alexander Holliday 5ec2500310 Merge pull request #2698 from bluewave-labs/improve/light-mode-ui
Improve/light mode UI
2025-07-29 11:11:17 -07:00
karenvicent 0bd9aa1e3f Merge branch 'develop' into improve/light-mode-ui 2025-07-29 13:45:14 -04:00
karenvicent 20dd3ead3e change background and boder colors to tertiry pallette 2025-07-29 13:43:47 -04:00
Alexander Holliday b30a512d6e Merge pull request #2709 from bluewave-labs/hotfix/secrets
hotfix: replace missing secrets
2025-07-29 10:09:17 -07:00
Alex Holliday e63faebcb8 replace missing secrets 2025-07-29 10:08:45 -07:00
Alexander Holliday 7e5cb1facc Merge pull request #2708 from bluewave-labs/hotfix/logger
add legacy logger
2025-07-29 10:01:49 -07:00
Alex Holliday 10c822c5d9 add legacy logger 2025-07-29 10:01:20 -07:00
Alexander Holliday 8761b3e28d Merge pull request #2704 from bluewave-labs/fix/settings
fix/settings
2025-07-29 09:39:08 -07:00
Alexander Holliday 19cccbbcad Merge pull request #2705 from satnam72/develop
Fix the broken breadcrumbs link
2025-07-29 09:38:25 -07:00
singh-kanwarpreet dbea93f9ba Improved Code Quality 2025-07-29 21:35:30 +05:30
karenvicent 4629014922 Merge branch 'develop' into improve/light-mode-ui 2025-07-29 10:08:29 -04:00
karenvicent 24e7b1c224 add darmode animation to fallback component 2025-07-29 10:07:37 -04:00
singh-kanwarpreet ad06544a64 Removed Consecutive same statements 2025-07-29 16:05:53 +05:30
singh-kanwarpreet 8d105e636d Updated Global THreshold Code Quality 2025-07-29 16:05:53 +05:30
singh-kanwarpreet bf5d7f3c53 Adding Global Threshold Settings 2025-07-29 16:05:53 +05:30
satnam72 c5cd3512af Fixed Formatting issue
Ran the npm run format to fix formatting
2025-07-29 02:56:41 -04:00
satnam72 2802cce6f1 Fix the breadcrumbs route
- Updated breadcrumbs to use `/status/uptime/${url}` instead of `/status/${url}`
2025-07-28 23:40:24 -04:00
Alex Holliday 6e49e19ba1 refactor serviceRegistry 2025-07-28 15:25:33 -07:00
Alexander Holliday 0c6d635b67 Merge pull request #2700 from bluewave-labs/translation-update-75
🌐 Updated Translations from POEditor
2025-07-28 15:06:17 -07:00
Alex Holliday de80a530e5 refactor logger 2025-07-28 15:03:28 -07:00
GitHub Action 63b106d844 feat: translations updated from POEditor 2025-07-28 21:42:35 +00:00
Alexander Holliday ab96e321c9 Merge pull request #2699 from bluewave-labs/feat/ja
Feat/ja
2025-07-28 14:41:52 -07:00
Alex Holliday 0b7d1abb71 add ja 2025-07-28 14:41:24 -07:00
Alex Holliday 592c184ffe add ja 2025-07-28 14:40:10 -07:00
Alex Holliday f3e50120ee appSettings -> envSettings 2025-07-28 14:37:18 -07:00
Gorkem Cetin (BWL) 850510b7e8 Update README.md 2025-07-28 17:30:33 -04:00
karenvicent d1e9a1221f Merge remote-tracking branch 'origin/develop' into improve/light-mode-ui 2025-07-28 17:08:31 -04:00
karenvicent 56ea28aa83 run format 2025-07-28 17:05:22 -04:00
Alexander Holliday 140ae1d049 Merge pull request #2694 from bluewave-labs/feat/rate-limiting
feat: add rate limiting
2025-07-28 13:48:59 -07:00
Alex Holliday 6025323c4b less aggressive auth rate limiting 2025-07-28 13:48:09 -07:00
karenvicent 261c83158b Merge remote-tracking branch 'origin/develop' into improve/light-mode-ui 2025-07-28 16:33:20 -04:00
karenvicent 1a5f16c4e3 improves in light mode 2025-07-28 16:28:44 -04:00
Owaise Imdad ab0bf5ca5f Fixed the names and err out and err in . 2025-07-29 00:42:55 +05:30
Owaise Imdad 158b66e43b Merge branch 'develop' of https://github.com/Owaiseimdad/Checkmate into Network-tab-implementation-infra 2025-07-29 00:30:46 +05:30
Alex Holliday ec99b5e9b4 add rate limiting 2025-07-28 12:00:09 -07:00
Owaise Imdad 19fe41d738 reverting the docker dev changes I made. 2025-07-29 00:22:14 +05:30
Owaise Imdad 5c147562b3 Added net to be returned from api in backend for infra. 2025-07-29 00:17:34 +05:30
Alexander Holliday 051c17f454 Merge pull request #2692 from bluewave-labs/feat/status-page-paintenance
feat: add isMaintenance field to monitors for status page queries
2025-07-28 11:40:30 -07:00
Alex Holliday ab8868e6c4 add an field to the monitor for status page queries 2025-07-28 11:35:49 -07:00
Jesulayomy b5b600db1f [Merge]: Merged commits from develop into branch fe-uptime_monitor_config 2025-07-28 13:09:09 -04:00
Alexander Holliday 41f917ddf6 Merge pull request #2688 from bluewave-labs/feat/server-refactor
feat: server refactor
2025-07-28 09:01:39 -07:00
Alex Holliday e5e02b553a fix dependencies 2025-07-27 19:51:39 -07:00
Owaise Imdad 729f107af2 Merge branch 'develop' of https://github.com/Owaiseimdad/Checkmate into develop 2025-07-27 03:47:49 +05:30
Owaise Imdad 8bfb187ef0 FIX merge conflicts 2025-07-27 03:47:30 +05:30
Alex Holliday 1c47c8ce2c move to src 2025-07-25 15:33:48 -07:00
Alex Holliday acc910cbc0 refactor server 2025-07-25 15:15:14 -07:00
Jesulayomy 1aedf21566 [Uptime]: Added PropType validation, passed isClone directly as prop 2025-07-25 13:37:17 -04:00
Alexander Holliday 6cb538ce69 Merge pull request #2681 from bluewave-labs/feat/error-service
feat: error service
2025-07-25 10:36:10 -07:00
Alex Holliday cafd9f9899 remove empty file 2025-07-25 10:29:40 -07:00
Alex Holliday bb2ab8e08a format 2025-07-25 10:29:04 -07:00
Alex Holliday 3059e730e2 type errors 2025-07-25 10:19:22 -07:00
Alex Holliday dc321580c3 refactor out common dependenceis 2025-07-25 10:16:29 -07:00
Jesulayomy 6cfa77a335 [Uptime]: Add clone Route and restore cloning logic 2025-07-25 11:11:39 -04:00
Alex Holliday ddf3e8251d add an error service, base controller 2025-07-24 15:06:46 -07:00
Alexander Holliday 0cfe9d60fb Merge pull request #2678 from bluewave-labs/feat/monitor-service
feat: monitor service
2025-07-24 13:57:25 -07:00
Alex Holliday 19d3ae119c added safe var access 2025-07-24 13:51:00 -07:00
Alex Holliday d59e2796e7 refactor to monitor service 2025-07-24 13:50:21 -07:00
Gorkem Cetin (BWL) 12ff66fd3e Merge pull request #2667 from ferCancholaCruz/add-readme-es
Spanish version of Readme File. Agrega traducción al español del README
2025-07-24 14:16:25 -04:00
Fernando Canchola Cruz 35270e2761 Update README.es.md
Fixed readme.es.md
2025-07-24 11:38:45 -06:00
Jesulayomy 47021fa55c [Uptime]: removed formatAndSet, added displayInterval, moved UI logic out of component view 2025-07-24 13:38:14 -04:00
Jesulayomy 89f5be2cc9 [Uptime]: Moved hook, removed duplicate imports, teporarily disabled formatAndSet function due to rerenders 2025-07-23 21:13:19 -04:00
Jesulayomy d3493a0af6 [Uptime]: Used latest formatting rules 2025-07-23 20:01:39 -04:00
Jesulayomy 157343d152 [Locales]: Sorted translations, fixed a duplicate key from the original branch 2025-07-23 19:59:45 -04:00
Jesulayomy 5f36543d44 [Uptime]: Removed UptimeConfigure component, added extra translations for Uptime and other monitor pages 2025-07-23 19:22:09 -04:00
Jesulayomy a004b7b450 [Uptime]: Merged Configure into Create Component 2025-07-23 19:20:37 -04:00
Jesulayomy 56d8224fb9 [Uptime]: Added skeleton file 2025-07-23 19:15:28 -04:00
Alexander Holliday dd6e7b7e7e Merge pull request #2677 from bluewave-labs/hotfix/clone-monitor
fix: reimplement clone monitor, resolves #2676
2025-07-23 15:32:23 -07:00
Alex Holliday 6d5034e2a5 reimplement clone monitor 2025-07-23 15:31:26 -07:00
Alexander Holliday ed6882ba95 Merge pull request #2675 from bluewave-labs/feat/mw-service
feat: add maintenance window service
2025-07-23 15:15:25 -07:00
Alex Holliday b3f8d77238 add maintenance window service 2025-07-23 15:14:47 -07:00
Alexander Holliday c287da92d9 Merge pull request #2674 from bluewave-labs/feat/invite-service
feat: add invite service
2025-07-23 15:00:51 -07:00
Alex Holliday aea79fec2e add invite service 2025-07-23 14:58:44 -07:00
Alexander Holliday 3239f555a1 Merge pull request #2673 from bluewave-labs/feat/diagnostic-service
feat: diagnostic service
2025-07-23 14:31:51 -07:00
Alex Holliday da49e15589 jsdocs, move observer 2025-07-23 14:31:40 -07:00
Alex Holliday cfebc770fd add diagnostic service 2025-07-23 14:28:16 -07:00
Alexander Holliday ffef14957f Merge pull request #2671 from bluewave-labs/feat/check-service
feat: check service
2025-07-23 14:22:25 -07:00
Alexander Holliday 05666f70e0 Merge pull request #2672 from bluewave-labs/fix/validation
Fix/validation
2025-07-23 14:21:02 -07:00
Alex Holliday c1dc575f53 reset server validation 2025-07-23 14:17:47 -07:00
Alex Holliday bf861700fa resest client validation 2025-07-23 14:15:43 -07:00
Alexander Holliday 627c2174a9 Merge pull request #2670 from bluewave-labs/feat/fe/resolve-monitor-incidents
Feat: Selected Monitor Incidents Resolve
2025-07-23 14:03:34 -07:00
Br0wnHammer b27eccec88 Merge branch 'develop' into feat/fe/resolve-monitor-incidents 2025-07-24 02:15:00 +05:30
Alex Holliday 8c0dfb2cc5 add a check service 2025-07-23 13:41:10 -07:00
Br0wnHammer c766dc9f00 JSDOC for both network calls 2025-07-24 02:06:55 +05:30
Br0wnHammer 7236e85321 Removal of old code 2025-07-24 01:56:05 +05:30
Br0wnHammer b7093b5de5 Feat: One Hook for Incidents Ack 2025-07-24 01:54:58 +05:30
Br0wnHammer 3650c400ca Feat: Monitor Incidents Resolve 2025-07-24 01:47:42 +05:30
Br0wnHammer 4933d11dfd Network Service: Monitor Check Func 2025-07-24 01:42:46 +05:30
Alexander Holliday 08128279b4 Merge pull request #2669 from bluewave-labs/feat/service-refactor
feat: service refactor
2025-07-23 13:11:52 -07:00
Alex Holliday 181e149028 Merge branch 'develop' into feat/service-refactor 2025-07-23 13:09:48 -07:00
Alexander Holliday 9bb9265a19 Merge pull request #2668 from bluewave-labs/feat/user-service
feat: user service
2025-07-23 13:08:33 -07:00
Alex Holliday 65f232161f sync package lock 2025-07-23 13:06:23 -07:00
Br0wnHammer df97b93a9a Button Text Dynamic 2025-07-24 01:35:31 +05:30
Alex Holliday f58d05f1b3 format 2025-07-23 13:04:26 -07:00
Alex Holliday 06fa79e09d refactor service dir structure 2025-07-23 13:03:57 -07:00
Gorkem Cetin (BWL) 6da52adc74 Trying to fix anchors 2025-07-23 15:41:44 -04:00
Alex Holliday 0b4ec46f79 add updated JSdoc 2025-07-23 12:12:22 -07:00
Alex Holliday 6e321afa72 add remaining methods to service 2025-07-23 12:09:23 -07:00
Alex Holliday a08ded4093 move checksuperadmin to userservice 2025-07-23 11:48:47 -07:00
Alex Holliday e76b44fcba fix validaiton for editing user 2025-07-23 11:47:21 -07:00
Alex Holliday 1fa2dbcf85 Add user serivce, move register, login, and edit 2025-07-23 11:47:13 -07:00
Alex Holliday 74fd20cfa8 move checksuperadmin 2025-07-23 11:46:59 -07:00
Fernando Canchola Cruz f90b5bab4b Agrega traducción al español del README 2025-07-23 12:36:07 -06:00
Alexander Holliday 812cff0fd9 Merge pull request #2559 from bluewave-labs/feat/super-simple-queue
feat: super simple queue
2025-07-23 10:38:13 -07:00
Alex Holliday 7127c28c35 bump dependency 2025-07-23 10:35:32 -07:00
Alex Holliday 4f186a6b49 Merge branch 'develop' into feat/super-simple-queue 2025-07-23 10:35:11 -07:00
Alexander Holliday fe76416059 Merge pull request #2666 from bluewave-labs/hotfix/import
fix import path
2025-07-23 10:13:12 -07:00
Alex Holliday ac2b7bd65d fix import path 2025-07-23 10:12:47 -07:00
Alexander Holliday 604b20855b Merge pull request #2663 from bluewave-labs/feat/fe/infrastructure-disk-ui-overflow
Fix: Infrastructure disks overflow
2025-07-23 09:45:56 -07:00
Alexander Holliday e157ee7c53 Merge pull request #2661 from bluewave-labs/feat/edit-users
feat: edit users, resolves #2659
2025-07-23 09:43:27 -07:00
Alex Holliday 91ccfe26b7 Merge branch 'feat/edit-users' of github.com:bluewave-labs/checkmate into feat/edit-users 2025-07-23 09:37:52 -07:00
Alex Holliday de88e1d442 return early if delete superadmin 2025-07-23 09:37:37 -07:00
Alexander Holliday baf5967dca Merge branch 'develop' into feat/edit-users 2025-07-23 09:37:04 -07:00
Alexander Holliday df6a1b39e0 Merge pull request #2662 from bluewave-labs/feat/fallback-refactor
Reopen Feat/fallback refactor
2025-07-23 09:33:47 -07:00
Br0wnHammer 8fcaf721ad Fix: Infrastructure disks overflow 2025-07-23 15:33:09 +05:30
karenvicent 22d17708cd format 2025-07-22 16:46:43 -04:00
Alex Holliday 457408006b sort en.json 2025-07-22 13:33:11 -07:00
Alex Holliday f74289fe49 format 2025-07-22 13:32:26 -07:00
Alex Holliday 86ece89cec Merge branch 'develop' into feat/edit-users 2025-07-22 13:32:03 -07:00
Alex Holliday 22826afd21 apply validation 2025-07-22 13:26:45 -07:00
Alex Holliday 73f2f29c2a add valid roles 2025-07-22 13:26:01 -07:00
karenvicent a6eb2735aa Merge branch 'develop' into feat/fallback-refactor 2025-07-22 16:23:37 -04:00
Alex Holliday c4d42dd9e3 add db 2025-07-22 12:27:41 -07:00
Alex Holliday e047309812 add controller methods 2025-07-22 12:27:33 -07:00
Alex Holliday c11da04e13 add edit user routes 2025-07-22 12:27:17 -07:00
Alex Holliday 4f68a76674 implement frontend of user edit 2025-07-22 12:27:06 -07:00
karenvicent b2fdb11195 run format 2025-07-22 14:54:41 -04:00
Mohansai Mallineni 97082b30b9 feat(i18n): implement new language mappings and initialize translation files 2025-07-22 13:59:19 -04:00
Alex Holliday 43ac0174d1 format 2025-07-22 09:23:26 -07:00
Alex Holliday cb02bb0de7 Merge branch 'develop' into feat/fallback-refactor 2025-07-22 09:23:09 -07:00
Alexander Holliday 9c9eaca990 Merge pull request #2646 from Mohansai-M/feat/i18n-new-lang-support
feat(i18n): implement new language mappings and initialize translatio…
2025-07-22 09:21:36 -07:00
Alexander Holliday 8336ea199d Merge pull request #2658 from bluewave-labs/fix/protect-demo-user
prevent demo user from being deleted
2025-07-21 15:05:57 -07:00
Alex Holliday 48848d1d43 prevent demo user from being deleted 2025-07-21 15:05:17 -07:00
Alexander Holliday 1eea0b6862 Merge pull request #2632 from Yasir-Rafique/validationRemoval_monitorURL
Relax monitor URL validation
2025-07-21 14:52:12 -07:00
Alexander Holliday 2977c1f6db Merge pull request #2641 from miguemely/develop
Increase helm chart support for different cluster types + CORS Fixes
2025-07-21 14:45:40 -07:00
Alexander Holliday c70ee26c8a Merge pull request #2657 from bluewave-labs/fix/notification-routes
fix auth for notification controller
2025-07-21 14:11:52 -07:00
Alex Holliday 1b085236c7 fix aith for notification controller 2025-07-21 14:11:09 -07:00
Alexander Holliday 78b371bfad Merge pull request #2656 from bluewave-labs/fix/monitor-routes
fix: monitor routes
2025-07-21 13:58:33 -07:00
Alex Holliday fdff3be316 fix team auth 2025-07-21 13:58:01 -07:00
Alex Holliday f2037bf5fe fix route 2025-07-21 13:46:06 -07:00
karenvicent a28a8fe5f9 Merge branch 'develop' into feat/fallback-refactor 2025-07-21 16:19:49 -04:00
karenvicent 62f94cfb20 refactor: extract Fallback component into smaller reusable components 2025-07-21 16:13:18 -04:00
Alexander Holliday 3e75972b02 Merge pull request #2654 from bluewave-labs/fix/mw-routes
fix: mw routes
2025-07-21 12:28:44 -07:00
Alex Holliday d6d3b53846 add team auth to mw routes 2025-07-21 12:27:53 -07:00
Alex Holliday 87f843df1c add getmonitorsbyids 2025-07-21 12:27:43 -07:00
Alex Holliday 5dbec377e5 reorder routes 2025-07-21 12:26:38 -07:00
Alexander Holliday a489c9ff45 Merge pull request #2653 from ajhollid/fix/diagnositc-routes
fix: remove unused routes, add authentication
2025-07-21 12:04:52 -07:00
Alex Holliday 4d989746fd remove unused routes, add authentication 2025-07-21 12:04:16 -07:00
Alexander Holliday ba48461417 Merge pull request #2652 from bluewave-labs/fix/check-routes
fix auth for check routes
2025-07-21 11:54:44 -07:00
Alex Holliday 55e2d5c0e3 fix auth for check routes 2025-07-21 11:54:04 -07:00
Alexander Holliday 8864f9799f Merge pull request #2651 from bluewave-labs/fix/auth-routes
fix: auth routes
2025-07-21 11:06:42 -07:00
Alex Holliday e2ddffe24b remove userId param from routes 2025-07-21 11:05:48 -07:00
Alex Holliday 12b7819791 remove user ID param from rotues 2025-07-21 11:05:10 -07:00
Alex Holliday bfa6832beb format 2025-07-21 10:34:16 -07:00
Alex Holliday 846564a17e reorder routes 2025-07-21 10:34:04 -07:00
Alexander Holliday 46d7009837 Merge pull request #2650 from bluewave-labs/fix/route-reorder
fix: reorder routes for correctness
2025-07-21 09:56:50 -07:00
Alex Holliday 0c04db3299 reorder routes for correctness 2025-07-21 09:55:49 -07:00
Miguel Rodriguez 2d437e2016 coderabbit fix: Add HTTPS to CORS origins 2025-07-20 13:30:01 -04:00
Miguel Rodriguez 37655a64c0 fix: Set CORS headers with a split setup on helm. 2025-07-20 13:22:01 -04:00
Miguel Rodriguez 4921b17f11 fix: docker.sock doesn't exist on many K8S Servers 2025-07-20 12:57:16 -04:00
Gorkem Cetin (BWL) dae0d6cc42 Update README.md 2025-07-20 11:50:34 -04:00
Mohansai Mallineni c392933e55 feat(i18n): implement new language mappings and initialize translation files 2025-07-20 20:08:06 +05:30
Gorkem Cetin (BWL) c915137ed7 Add reddit group 2025-07-20 10:11:52 -04:00
Yasir Rafique 945cff978b Use URL.canParse for URL validation; add strict regex fallback (maintainer feedback) 2025-07-19 06:53:01 +01:00
Alexander Holliday ae21b728bc Merge pull request #2625 from bluewave-labs/feat/toast-refactor
feat: toast refactor
2025-07-18 11:22:32 -07:00
Yasir Rafique 8ffd9a5e2a Tighten Docker hostname regex for monitor URL validation 2025-07-18 11:58:27 +01:00
Yasir Rafique b823f0f7db Relax monitor URL validation for Docker and local hostnames (fixes #2605) 2025-07-18 11:40:20 +01:00
Yasir Rafique 066df2c64f Relax monitor URL validation 2025-07-18 10:59:02 +01:00
Alexander Holliday 200a933647 Merge pull request #2621 from bluewave-labs/fix/consistent-error-handling
fix: imporved and consistent error handling
2025-07-17 09:37:51 -07:00
Alex Holliday 4cd5cd4bae fix close icon placement for toasts without title 2025-07-16 12:51:52 -07:00
Alexander Holliday bfba1d148e Merge pull request #2592 from bluewave-labs/feature/all-maintenance-on-window
Add "All Monitors" as an option for Maintenance windows  #2579
2025-07-16 10:38:47 -07:00
Alex Holliday c58801f6f7 update toastUtils to use Toast component 2025-07-16 10:33:06 -07:00
Alex Holliday 616927d388 Add new toast component 2025-07-16 10:32:19 -07:00
shanika Jayawardane 1cbebf322b remove unwanted code 2025-07-16 11:06:05 -06:00
Alexander Holliday a46c032979 Merge pull request #2617 from career-yashaswee/bug/2603-url-validation-email-format
(fix): implemented email and webhook url validation with proper error and toast creation
2025-07-16 09:16:12 -07:00
Alexander Holliday f03f94c3dd Merge pull request #2616 from bluewave-labs/fix/forms-margins-infrastructure-alignment
Fix/forms margins infrastructure alignment
2025-07-16 08:57:06 -07:00
karenvicent 1cee10842e apply style to MuiSelect in globalTheme 2025-07-16 10:36:52 -04:00
Br0wnHammer 55e9c74031 Fix: Page State Reset in Infra 2025-07-16 10:29:22 -04:00
Alexander Holliday 45a9495a51 Merge pull request #2624 from bluewave-labs/fix/fe/search-page-reset
Fix: Page State Reset in Infra
2025-07-16 06:33:50 -07:00
Br0wnHammer c785704dd8 Fix: Page State Reset in Infra 2025-07-16 12:29:18 +05:30
Alex Holliday 38bb915144 add error handling util, update middleware and controllers 2025-07-15 16:33:35 -07:00
Alexander Holliday e2f99f52db Merge branch 'develop' into fix/forms-margins-infrastructure-alignment 2025-07-15 15:22:43 -07:00
Alexander Holliday c54feb9306 Merge pull request #2620 from bluewave-labs/feat/diagnostics
Feat/diagnostics
2025-07-15 15:21:15 -07:00
Alexander Holliday e11b09feac Merge pull request #2600 from career-yashaswee/feat/2598-search-timezone-ux
Feat/2598 Search Timezone UX Addition
2025-07-15 13:05:34 -07:00
Yashaswee Kesharwani fe44bc989a fix: use-memo dependency array and prop-types error 2025-07-16 00:59:22 +05:30
karenvicent 93bf98fe72 Merge branch 'develop' into fix/forms-margins-infrastructure-alignment 2025-07-15 14:42:20 -04:00
karenvicent 5a2626b38b feat: apply styleOverrides for MuiSelect in base theme 2025-07-15 14:39:41 -04:00
Alexander Holliday 5d57138ea8 Merge pull request #2619 from mertssmnoglu/helm-syntax-error
fix: correct syntax error in secrets.yaml template #2618
2025-07-15 10:11:31 -07:00
Mert Şişmanoğlu 20519afe17 fix: correct syntax error in secrets.yaml template #2618
Signed-off-by: Mert Şişmanoğlu <mertssmnoglu@gmail.com>
2025-07-15 20:01:38 +03:00
Alexander Holliday f23f7df147 Merge pull request #2595 from bluewave-labs/feat/diagnostics
feat: diagnostics tab
2025-07-15 09:46:31 -07:00
Yashaswee Kesharwani b89ab5a192 (fix): implemented email and webhook url validation with proper error and toast creation #2603 2025-07-15 22:13:31 +05:30
karenvicent 35c59dc53b Merge branch 'develop' into fix/forms-margins-infrastructure-alignment 2025-07-15 09:03:56 -04:00
shanika Jayawardane 870cd6407e remove the drag and drop fuction for list and remove dublicate code 2025-07-14 23:44:50 -06:00
Alex Holliday f62350fea0 add refresh button 2025-07-14 16:26:34 -07:00
Alex Holliday 39779b9dd5 refacotr interval to be self documenting 2025-07-14 16:26:24 -07:00
Alexander Holliday 9716e64c93 Merge pull request #2612 from bluewave-labs/develop
Develop -> Master
2025-07-14 14:23:40 -07:00
Alexander Holliday 0f9f814b27 Merge pull request #2604 from bluewave-labs/fix/page-reset
Fix: Reset Page when Searching
2025-07-14 10:50:18 -07:00
Alexander Holliday 49b08e9e6f Merge pull request #2608 from bluewave-labs/fix/route-specificity
fix: reorder rotues to correctly match
2025-07-14 09:40:02 -07:00
Alex Holliday a879051454 reorder rotues to correctly match 2025-07-14 09:38:00 -07:00
Alexander Holliday a0439cd7f4 Merge pull request #2576 from JefferMarcelino/feature/add-helm-chart
Add Helm chart and Kubernetes installation guide
2025-07-14 09:03:23 -07:00
Alexander Holliday bc436da263 Merge pull request #2588 from Jesulayomy/fe-monitor_config_pages
[Frontend]: Refactor PageSpeed monitor Create & Configure components
2025-07-14 09:02:20 -07:00
karenvicent c86c5d8235 Merge branch 'develop' into fix/forms-margins-infrastructure-alignment 2025-07-13 20:25:23 -04:00
karenvicent 86160a103d feat(forms): standardized label-to-input spacing in forms via new FieldWrapper component 2025-07-13 20:23:10 -04:00
Br0wnHammer f912c5eb5d Fix: Reset Page when Searching 2025-07-14 01:45:28 +05:30
Jeffer Marcelino 84f0b936ca Merge branch 'feature/add-helm-chart' of https://github.com/JefferMarcelino/Checkmate into feature/add-helm-chart 2025-07-13 19:18:10 +02:00
Jeffer Marcelino 72d34fcc4f chore: update appVersion and images in Helm chart for Checkmate 2025-07-13 19:18:01 +02:00
Yashaswee Kesharwani 2bb7818116 fix: replaced remaining Selects with Search in Settings Tab - optimised with useMemo and standardised the no unit found 2025-07-13 03:52:16 +05:30
shanika Jayawardane 39d666df6b add the checkboxes for dropdown list and remove searchbox list inside it 2025-07-12 15:13:24 -06:00
Jesulayomy a7dd23141c [PageSpeed]: Formatting monitorHooks 2025-07-12 14:26:17 -04:00
Yashaswee Kesharwani a7e26d553f chore: format code using npm run format 2025-07-12 23:22:42 +05:30
Yashaswee Kesharwani 95e82cf254 feat: resolve #2598 improve timezone search UX 2025-07-12 23:17:41 +05:30
Alex Holliday 07c8334248 Merge branch 'develop' into feat/super-simple-queue 2025-07-11 13:51:14 -07:00
Alexander Holliday c54e6b0b34 Merge pull request #2596 from bluewave-labs/feat/codeowners
add CODEOWNERS
2025-07-11 11:59:50 -07:00
Alex Holliday f8a7b86ab7 add CODEOWNERS 2025-07-11 11:58:05 -07:00
Alex Holliday 5b395b96cd implemet stats 2025-07-11 11:23:50 -07:00
Alex Holliday b1b4fd3f64 add 1s cpu usage metric, return standard units of ms and bytes 2025-07-11 11:23:36 -07:00
Jesulayomy 352d3a1647 [PageSpeed]: Use typeof operator for clarity, and to handle undeclared and undefined variables 2025-07-11 13:40:29 -04:00
Jesulayomy f04fd8bea2 [PageSpeed]: Merged loading states, used theme spacing, moved Skeleton layout outside of main component render 2025-07-11 11:40:28 -04:00
shanika Jayawardane 6e76e29768 add the translation to selectAll 2025-07-11 07:59:12 -06:00
shanika Jayawardane 2c1a01bb6a add the All select option to monitor maintenance window for all monitors same as status pages 2025-07-11 07:44:02 -06:00
Jesulayomy 2d587a7d1b [PageSpeed]: Clean console statement and run npm format 2025-07-10 22:09:13 -04:00
Jesulayomy b7b7687608 [PageSpeed]: Loading states from hooks, unused classnames, conditional calling of hook removed 2025-07-10 21:54:27 -04:00
Jesulayomy 840069b935 [PageSpeed]: Implement conditional check for monitorId inside useFetchMonitorById hook 2025-07-10 21:53:33 -04:00
Alex Holliday 1cbec8220d add diagnostic page 2025-07-10 16:08:04 -07:00
Alex Holliday 1456c4f749 bump version 2025-07-10 16:06:38 -07:00
Alex Holliday 881944ab98 Merge branch 'develop' into feat/super-simple-queue 2025-07-10 14:45:47 -07:00
Jesulayomy eaa85bb9c4 [PageSpeed]: Renamed to isCreate to follow convention, removed redundant loading states, Added validation on update submit 2025-07-10 15:21:27 -04:00
Alexander Holliday cc26601c06 Merge pull request #2590 from clipsmm/fix-add-missing-notification-service-name
[Fix] nit; Add missing notification service name
2025-07-10 09:22:04 -07:00
Cliff Mitamita 643d160748 nit; Add missing notification service name 2025-07-10 16:58:23 +03:00
Jesulayomy a71756a6ec [PageSpeed]: Added localized strings for frequecies, form error, lighthouse API. Removed configure prop and used monitorId check. 2025-07-09 15:47:01 -04:00
Jesulayomy db02f68095 Configure fix merged: Merge branch 'fe-monitor_config_pages' of https://github.com/Jesulayomy/Checkmate into fe-monitor_config_pages 2025-07-08 19:44:17 -04:00
Jesulayomy a0f3db812e [Refactor]: Renamed to Create/ and PageSpeedCreate for easier diff 2025-07-08 19:43:22 -04:00
Jesulayomi Michael Aina 8c393f848b [Fix]: Changed /setup/monitorId route that was used in development CRUMBS 2025-07-08 19:33:16 -04:00
Jesulayomy cf591a5a0b [Format]: npm format on client folder 2025-07-08 19:13:40 -04:00
Jesulayomy b45df68ece [PageSpeed]: Removed Create and Configure folders, Polished Setup folder to ensure consistency with manual testing 2025-07-08 18:49:26 -04:00
Alexander Holliday fdaaacc3af Merge pull request #2587 from bluewave-labs/fix/placeholder-center-align
fix: uptime placeholder size and merge with develop
2025-07-08 11:06:06 -07:00
Alex Holliday cb2016a5dc update queue version 2025-07-08 11:04:20 -07:00
Alex Holliday 9040a99853 Merge branch 'develop' into feat/super-simple-queue 2025-07-08 11:02:14 -07:00
karenvicent 94ac24289e fix: uptime placeholder size and merge with develop 2025-07-08 13:12:15 -04:00
Alexander Holliday eb8cf1b6da Merge pull request #2584 from bluewave-labs/develop
bump version
2025-07-08 09:51:08 -07:00
Alex Holliday 1d816b0677 bump version 2025-07-07 16:14:51 -07:00
Alexander Holliday c633a9ad8d Merge pull request #2582 from bluewave-labs/develop
develop -> master
2025-07-07 15:38:46 -07:00
Alexander Holliday 9b413f25fb Merge pull request #2581 from bluewave-labs/feat/delete-notification-dialog
feat: add delete confirmation dialog to notificiaton page
2025-07-07 15:35:23 -07:00
Alex Holliday e08fba1b76 add delete confirmation dialog to notificiaton page 2025-07-07 15:34:45 -07:00
Alexander Holliday 961c398690 Merge pull request #2573 from luismsousa/feat/notifications-delete
Notification channel Delete:
2025-07-07 15:25:55 -07:00
Luis Sousa 9954a74dfd bleep boop fix translations 2025-07-07 20:08:34 +01:00
Alexander Holliday faf4164818 Merge pull request #2563 from bluewave-labs/fix/2471-infrastructure-action-menu
Fix/2471 infrastructure action menu
2025-07-07 11:05:52 -07:00
mohadeseh safari 9254b9096c refactor: Remove default string parameter from t() calls 2025-07-07 12:17:59 -04:00
mohadeseh safari aa8029a854 fix: Update InfrastructureMenu to use isActive instead of status for pause state 2025-07-07 12:16:17 -04:00
Alex Holliday c3f5d249a0 use latest library 2025-07-07 08:55:57 -07:00
mohadeseh safari 9edc6e4b27 Fix formating 2025-07-06 18:11:30 -04:00
mohadeseh safari d842f93a19 fix: Remove unnecessary local monitor state in InfrastructureMenu component 2025-07-06 18:09:17 -04:00
mohadeseh safari 0f82f076f7 Merge branch 'develop' into fix/2471-infrastructure-action-menu 2025-07-06 17:59:51 -04:00
Jesulayomy f00d7275e5 [PageSpeed]: Monitor Config and Create pages consolidated into Setup Component 2025-07-05 18:26:34 -04:00
Alexander Holliday 5fdf8431da Merge pull request #2557 from bluewave-labs/fix/placeholder-center-align
Fix/placeholder center align
2025-07-04 14:57:37 -07:00
karenvicent af0c69764f Fix: change height and witdth and Merge branch 'develop' into fix/placeholder-center-align 2025-07-04 17:46:41 -04:00
Jeffer Marcelino 4ed8d6b90c Merge branch 'develop' into feature/add-helm-chart 2025-07-04 19:21:22 +02:00
Alexander Holliday a88e304c5d Merge pull request #2574 from bluewave-labs/feat/fe/resolve-incidents
Feat: Resolve Incidents All and One
2025-07-04 09:58:19 -07:00
Br0wnHammer 847c7630ec Strings localizations 2025-07-04 22:24:59 +05:30
karenvicent 4aaa2faf9a Merge branch 'develop' into fix/placeholder-center-align 2025-07-04 11:15:43 -04:00
Luis Sousa 292c7fd7ea address PR feedback 2025-07-04 11:53:25 +01:00
Gorkem Cetin (BWL) 87263dc6d9 Add Pikapods 2025-07-03 22:17:21 -04:00
Br0wnHammer 8a4fba056b All Incidents Resolve Hook 2025-07-04 01:29:52 +05:30
Br0wnHammer 30131c97a3 Implemented resolve incident hook 2025-07-04 01:25:33 +05:30
Alexander Holliday b02a3379da Merge pull request #2534 from bluewave-labs/issue-2150-move-status-page-delete-button
Move Status Page Delete Button
2025-07-04 02:54:02 +08:00
Alexander Holliday 8f46da0907 Merge pull request #2570 from loma373/feat/if-no-notif
feat: disable send test notification when 0 notifications are configured
2025-07-04 02:24:04 +08:00
Jeffer Marcelino 6e5550ba32 docs: add INSTALLATION.md with Helm-based Kubernetes deployment steps 2025-07-03 18:16:42 +02:00
Jeffer Marcelino edd2346939 fix: change hardcoded protocol and host to be change_me by default 2025-07-03 18:06:54 +02:00
Luis Sousa d5262a1968 add i18n for the notifications dropdown menu in the list. 2025-07-02 23:18:34 +01:00
Luis Sousa d9cc0f82c1 add internationalization for button labels in notifications 2025-07-02 23:05:53 +01:00
Luis Sousa 34455e10e4 running npm run format 2025-07-02 22:32:08 +01:00
Br0wnHammer d9ccc72a38 Feat: Resolve Incidents All and One 2025-07-03 02:15:37 +05:30
Amol e2e1eff289 feat: add language localization and refactor to remove duplicate ternary op 2025-07-03 01:26:33 +05:30
Luis Sousa 85b13686a4 Notification channel Delete:
attempt to add the delete button to the notifications view
2025-07-02 17:14:39 +01:00
karenvicent c8bf571f7a implement adjustments and merge with develop 2025-07-02 10:02:01 -04:00
Alexander Holliday 731f2e12fb Merge pull request #2567 from bluewave-labs/feat/fe/incidents-ui
Feat: Status Boxes in Incidents Table
2025-07-02 15:26:51 +08:00
Br0wnHammer 3acfde97df Legacy UI Fixes 2025-07-02 12:51:27 +05:30
Amol 0e8a71c760 fix: removing code duplication 2025-07-01 22:57:28 +05:30
Amol 2e869310b8 feat: disable send test notification when 0 notification configured 2025-07-01 22:44:42 +05:30
Alexander Holliday f5cf8e25f5 Merge pull request #2566 from bluewave-labs/fix/missing-strings
fix: missing strings
2025-07-01 23:47:07 +08:00
Alexander Holliday 9c836ed39b Merge branch 'develop' into fix/missing-strings 2025-07-01 23:45:44 +08:00
Alexander Holliday 32b731f60e Merge pull request #2569 from bluewave-labs/revert-2568-fix/sort-keys
Revert "sort en.json alphabetically"
2025-07-01 23:42:44 +08:00
Alexander Holliday 708234118a Revert "sort en.json alphabetically" 2025-07-01 23:42:31 +08:00
Alexander Holliday 798b9aed8f Merge pull request #2568 from bluewave-labs/fix/sort-keys
sort en.json alphabetically
2025-07-01 23:36:25 +08:00
Alexander Holliday d55196e06f Merge branch 'develop' into fix/sort-keys 2025-07-01 23:36:17 +08:00
Alex Holliday 3d130bd8a5 sort en.json alphabetically 2025-07-01 23:35:11 +08:00
Br0wnHammer 278964500b Minor Changes 2025-07-01 18:23:11 +05:30
Br0wnHammer 644de5f34a Feat: Hooks for Summary 2025-07-01 18:10:35 +05:30
Br0wnHammer 5428999d46 Feat: Summary for Incidents 2025-07-01 17:55:50 +05:30
Br0wnHammer 35a9c081b5 Feat: Status Boxes in Incidents Page 2025-07-01 15:54:50 +05:30
Alex Holliday 3295423804 add settingsSave 2025-07-01 15:27:23 +08:00
Alex Holliday 19c5f4c8c3 update strings 2025-07-01 15:25:45 +08:00
Alex Holliday 6c4717d5f6 resolve strings 2025-07-01 15:23:00 +08:00
karenvicent 1cb730764a Merge branch 'develop' into fix/placeholder-center-align 2025-06-30 12:24:33 -04:00
mohadeseh safari 95403fb56b fix deletion props passed to Tabs component 2025-06-29 12:14:42 -04:00
Jeffer Marcelino 2b4727db0d feat: add checkmate helm chart with basic validation 2025-06-29 15:34:50 +02:00
mohadeseh safari 59c8c14e6c Merge remote-tracking branch 'origin/develop' into issue-2150-move-status-page-delete-button 2025-06-28 19:17:40 -04:00
mohadeseh safari fbbd9b9092 Format MonitorsTableMenu component 2025-06-28 19:09:27 -04:00
mohadeseh safari 1f804a725e Add comment explaining why monitor.type must remain optional in PropTypes 2025-06-28 19:05:21 -04:00
mohadeseh safari 5ba82415ad Format MonitorsTableMenu component 2025-06-28 18:50:14 -04:00
mohadeseh safari c44325ba7f Add missing translation keys for MonitorsTableMenu component 2025-06-28 18:46:17 -04:00
mohadeseh safari 78626253ee Merge develop branch into fix/2471-infrastructure-action-menu 2025-06-28 18:36:36 -04:00
mohadeseh safari 1a2009b615 Fix infrastructure action menu: correct pause/resume text display and handle undefined monitor properties 2025-06-28 17:41:13 -04:00
karenvicent eca4bb0cb5 Fix: center placeholder in content area and merge branch 'develop' into fix/placeholder-center-align 2025-06-27 10:29:28 -04:00
karenvicent 866b29db68 FIx: center placeholde box in the content area 2025-06-27 10:16:37 -04:00
Alex Holliday ce103c6b59 format 2025-06-27 13:51:39 +08:00
Alex Holliday 38f5c41272 implement flush 2025-06-27 13:45:18 +08:00
Alex Holliday ca13185d84 convert monitor to object 2025-06-27 13:40:41 +08:00
Alex Holliday f1c6beacf2 use super-simple-queue 2025-06-27 12:38:06 +08:00
Alexander Holliday 07b2ddc29e Merge pull request #2555 from shanikauwu1/fixed-alighment-issue-on-pagespeed-page-piechart
Fixed alighment issue on pagespeed page piechart
2025-06-27 08:53:48 +08:00
karenvicent 6db0aff073 fix: replace breakpoints with theme.spacing for consistent layout sizing 2025-06-26 14:37:35 -04:00
karenvicent 2bb76a1b2f Merge branch 'develop' into fix/placeholder-center-align 2025-06-26 09:20:48 -04:00
karenvicent e91e01adf3 fix: Hardcoded dimensions in layout constraints with format 2025-06-26 09:18:49 -04:00
shanika Jayawardane c5870b96d5 Fix PageSpeed performance report alignment - Center pie chart and text 2025-06-25 23:19:29 -06:00
Alexander Holliday e772a35243 Merge pull request #2553 from bluewave-labs/hotfix/status-page
apply hotfix for logo
2025-06-26 11:47:16 +08:00
Alex Holliday 6047163150 apply hotfix for logo 2025-06-26 11:46:50 +08:00
Alexander Holliday 4c5bb66c3d Merge pull request #2496 from bluewave-labs/feat/incidents-clear
Feat: Incidents Resolve BE
2025-06-26 09:34:10 +08:00
Alex Holliday d9dbfc6d6e hide resolved 2025-06-26 09:33:39 +08:00
Alexander Holliday b462968650 Merge pull request #2552 from bluewave-labs/fix/action
update msg
2025-06-26 09:26:10 +08:00
Alex Holliday 2c553ae1d2 update msg 2025-06-26 09:25:37 +08:00
Alexander Holliday e04ba2d163 Merge pull request #2547 from deepanshu2711/2543-hide-pause-button-for-members
fix: hide pause button for members (closes #2543)
2025-06-26 09:20:34 +08:00
Alexander Holliday a30417ab42 Merge pull request #2551 from bluewave-labs/hotfix/notification-action-menu
hotfix: stop propagation
2025-06-26 09:15:00 +08:00
Alex Holliday 83373d0520 stop propagation 2025-06-26 09:14:18 +08:00
Alexander Holliday b59cad5389 Merge pull request #2550 from bluewave-labs/hotfix/status-page-with-no-monitors
hotfix: status page
2025-06-26 09:11:35 +08:00
Alex Holliday 58b102b921 fix status page 2025-06-26 09:09:41 +08:00
karenvicent 32edb64da4 fix: Hardcoded dimensions in layout constraints 2025-06-25 20:39:34 -04:00
karenvicent eecdb7e552 fix: center and constrain empty placeholder layout with format 2025-06-25 18:27:37 -04:00
karenvicent fd51af97fa fix: center and constrain empty placeholder layout 2025-06-25 18:06:43 -04:00
Br0wnHammer e5028c95b3 Conflicts in en.json 2025-06-25 14:26:11 +05:30
Aryaman Sharma 5d20cf26ab Merge branch 'develop' into feat/incidents-clear 2025-06-25 14:20:15 +05:30
Br0wnHammer 6457984dd4 ackStage Backword Compatible 2025-06-25 14:16:00 +05:30
Deepanshu 8749edfaf0 fix: hide pause button for members (closes #2543) 2025-06-25 12:52:06 +05:30
Br0wnHammer 78a2e5d106 VerifyTemAccess Middleware 2025-06-25 11:52:38 +05:30
shanika Jayawardane 6ec6d582d8 Merge remote-tracking branch 'upstream/develop' into develop 2025-06-24 23:37:16 -06:00
Alexander Holliday 923eda1307 Merge pull request #2545 from bluewave-labs/develop
develop -> master
2025-06-25 12:42:33 +08:00
Alexander Holliday 6a079704bb Merge pull request #2544 from bluewave-labs/fix/logs-rights
fix: logs access
2025-06-25 12:41:44 +08:00
Alexander Holliday 65eb22bbe0 Merge branch 'develop' into fix/logs-rights 2025-06-25 12:41:30 +08:00
Alex Holliday 549044f973 fix sidebar logs 2025-06-25 12:38:57 +08:00
Alexander Holliday df56799ab9 Merge pull request #2542 from bluewave-labs/fix/process-env
fix: use process.env
2025-06-25 12:17:47 +08:00
Alex Holliday ba8011a22e use process.env 2025-06-25 12:17:16 +08:00
Alexander Holliday 1a69af6360 Merge pull request #2541 from bluewave-labs/fix/fetch-depth
fix: fetch depth
2025-06-25 12:07:58 +08:00
Alex Holliday b718c02787 update workflows 2025-06-25 12:07:31 +08:00
Alex Holliday 4fa0e08574 update workflows 2025-06-25 12:07:12 +08:00
Alexander Holliday 9681730263 Merge pull request #2540 from bluewave-labs/fix/mongo-4.4-compatibility
version fix
2025-06-25 11:57:09 +08:00
Alex Holliday b03f951352 version fix 2025-06-25 11:56:04 +08:00
Alexander Holliday 34b56bcadc Merge pull request #2539 from bluewave-labs/fix/mongo-4.4-compatibility
fix: donwgrade mongo functions
2025-06-25 11:40:30 +08:00
Alex Holliday 8606b5e5de donwgrade mongo functoins 2025-06-25 11:39:05 +08:00
Alexander Holliday 6c7fefe4ed Merge pull request #2538 from bluewave-labs/translation-update-74
🌐 Updated Translations from POEditor
2025-06-25 10:44:55 +08:00
GitHub Action 9bb5362c5f feat: translations updated from POEditor 2025-06-25 02:44:18 +00:00
Alexander Holliday 997342a31c Merge pull request #2536 from bluewave-labs/develop
Develop -> Master for 2.2 release
2025-06-25 09:38:08 +08:00
Alexander Holliday a84f30c36d Merge pull request #2535 from bluewave-labs/fix/invite-email
fix: verify transport before sending email
2025-06-25 09:36:00 +08:00
Alex Holliday 4cc3765e0d verify transport before sending email 2025-06-25 09:35:41 +08:00
Alex Holliday 915d2e06ae verify transport before sending email 2025-06-25 09:34:07 +08:00
Alex Holliday 95b832c1c6 Merge branch 'develop' into feat/incidents-clear 2025-06-25 09:03:00 +08:00
Alexander Holliday 1e0ddb248c Merge pull request #2533 from bluewave-labs/feat/version
feat: extract version from git tag
2025-06-25 08:51:56 +08:00
Alexander Holliday 635717ec92 Merge pull request #2531 from bluewave-labs/fix/settings-page-strings
fix: settings page strings
2025-06-25 08:51:39 +08:00
Alexander Holliday db285d1867 Merge pull request #2530 from bluewave-labs/feat/on-user-delete-cascade
feat: cascade on superuser delete
2025-06-25 08:50:45 +08:00
mohadeseh safari 00ebc4c270 translation fix 2025-06-24 16:29:13 -04:00
mohadeseh safari d1b3d14457 Format code with prettier 2025-06-24 16:02:41 -04:00
mohadeseh safari 6cd52cb31d Merge develop into issue-2150-move-status-page-delete-button 2025-06-24 15:50:34 -04:00
mohadeseh safari 310084a902 translation fix 2025-06-24 15:30:52 -04:00
mohadeseh safari 1b8c6167b7 Add localization for status page creation and update messages 2025-06-24 15:16:24 -04:00
mohadeseh safari e371596d15 Fix status page deletion network requests and implement optimistic UI update pattern 2025-06-24 15:07:37 -04:00
Br0wnHammer 183c13fe53 Naming Changes in BE 2025-06-24 14:44:02 +05:30
Alex Holliday 8d6078e2c1 safely extract version 2025-06-24 16:31:18 +08:00
Alex Holliday 4f17e84247 extract version from git tag 2025-06-24 15:40:50 +08:00
Alex Holliday 563cc8d03d fix label 2025-06-24 14:45:04 +08:00
Alex Holliday 09b5261ba2 Merge branch 'develop' into fix/settings-page-strings 2025-06-24 14:42:39 +08:00
Alexander Holliday ff9a7c33eb Merge pull request #2532 from bluewave-labs/fix/sort
sort json
2025-06-24 14:38:03 +08:00
Alex Holliday 08b9cc16fc sort json 2025-06-24 14:37:16 +08:00
Alexander Holliday 27c1e9f1da Merge pull request #2518 from tamirazrab/refactor/2511-remove-useless-string
chore: remove unnecessary string
2025-06-24 14:34:53 +08:00
Alexander Holliday 8d0cd1dc05 Merge pull request #2522 from bluewave-labs/feat/uptime-empty-view
feat: add stat boxes and timeframe header
2025-06-24 14:34:25 +08:00
Alex Holliday 0d01a08304 sort 2025-06-24 14:32:28 +08:00
Alex Holliday 4d91377259 fix settings page strings 2025-06-24 14:30:14 +08:00
Tamir Azrab fe25a5d170 chore: remove keys entirely 2025-06-24 10:44:35 +05:00
Alex Holliday c16d5c4246 early return if user not found 2025-06-24 13:25:10 +08:00
Alex Holliday 40f4294cae cascade on superuser delete 2025-06-24 12:07:02 +08:00
Alexander Holliday 1cc9f4e4d9 Merge pull request #2529 from bluewave-labs/hotfix/delete-user
hotfix: delete user
2025-06-24 11:46:51 +08:00
Alex Holliday b282ff9883 fix delete user 2025-06-24 11:45:51 +08:00
Alexander Holliday 06d35e1626 Merge pull request #2528 from bluewave-labs/hotfix/logger
hotfix: add missing contenxt
2025-06-24 11:19:23 +08:00
Alex Holliday d184f3fd38 add missing contenxt 2025-06-24 11:18:13 +08:00
Alexander Holliday 3d67cfaacd Merge pull request #2527 from bluewave-labs/hotfix/logger
add missing  context
2025-06-24 11:15:48 +08:00
Alex Holliday 2ee2d9b905 add missing context 2025-06-24 11:15:14 +08:00
Alexander Holliday 2df8bc14dd Merge pull request #2526 from bluewave-labs/feat/update-docker-compose
feat: update docker compose
2025-06-24 11:13:58 +08:00
Alex Holliday 2cb40b3885 update docker ignore 2025-06-24 11:12:44 +08:00
Alex Holliday 536c27cb30 update docker compose files 2025-06-24 10:59:01 +08:00
Alexander Holliday 1df36a66b9 Merge pull request #2525 from bluewave-labs/fix/temporary-comment-out-import-export
fix: temporarliy comment out import/export
2025-06-24 10:52:48 +08:00
Alex Holliday 1ebb6b922b temporarliy comment out import/export 2025-06-24 10:52:19 +08:00
Alexander Holliday dc7cc431d2 Merge pull request #2524 from bluewave-labs/fix/i18n
fix: translations ignore empty strings
2025-06-24 10:45:33 +08:00
Alex Holliday b9a8328a48 ignore empty strings 2025-06-24 10:44:16 +08:00
Alexander Holliday 5e14c15b92 Merge pull request #2523 from bluewave-labs/fix/bg-color
fix: update bg color
2025-06-24 10:29:02 +08:00
Alex Holliday 3bcf3b1ed0 update bg color 2025-06-24 10:28:25 +08:00
Alex Holliday e7429ecd67 add stat boxes and timeframe header 2025-06-24 10:18:25 +08:00
Alexander Holliday 0c94472062 Merge pull request #2520 from bluewave-labs/fix/prod-docker-compose
fix: add entrypoint to prod certbot
2025-06-24 10:09:52 +08:00
Alex Holliday dbf9f86105 add entrypoint to prod certbot 2025-06-24 10:09:07 +08:00
Alexander Holliday dfee81f5b0 Merge pull request #2517 from bluewave-labs/feat/team-access-middleware
feat: add middleware for verifying team access
2025-06-24 10:03:00 +08:00
Alex Holliday 40f879f671 user and teamId check 2025-06-24 10:02:36 +08:00
Alex Holliday c8685c4273 remove console 2025-06-24 10:00:41 +08:00
Alexander Holliday 2b9fbf743a Merge pull request #2519 from Giridhar88/feature/maintenance-window-click
Add maintenance row click feature to edit the maintenance window
2025-06-24 09:11:05 +08:00
Br0wnHammer 30d85e5712 Ack Field in Checks 2025-06-23 22:07:03 +05:30
giridhar88 ac9ff86e68 Add maintenance row click feature to edit the maintenance window 2025-06-23 19:01:03 +05:30
Alexander Holliday b6680be345 Merge pull request #2513 from bluewave-labs/feat/queue-page-update
feat: move queue to logs page
2025-06-23 20:10:46 +08:00
Alex Holliday 7839e4c197 correct logging 2025-06-23 20:10:10 +08:00
Alexander Holliday daa57ed948 Merge pull request #2509 from bluewave-labs/feat/email-settings-transport-display
feat: display transport settings
2025-06-23 19:05:16 +08:00
Tamir Azrab 41137c09b2 chore: remove unnecessary string 2025-06-23 15:52:34 +05:00
Alex Holliday 05add10ba8 add middleware for verifying team access 2025-06-23 15:45:24 +08:00
Alex Holliday bf73a71523 remove duplicate user 2025-06-23 14:48:45 +08:00
Alexander Holliday 91ab821090 Merge pull request #2506 from JefferMarcelino/feature/hide-admin-login-link
Add toggle to optionally display admin login link on status page and fix syntax errors
2025-06-23 13:25:43 +08:00
Alex Holliday 32688ba320 add missing stack 2025-06-23 13:22:53 +08:00
Alexander Holliday 288c6f88a3 Merge pull request #2515 from bluewave-labs/feat/logs
feat: logs
2025-06-23 13:19:52 +08:00
Alex Holliday 0336170c8d refactor 2025-06-23 13:19:18 +08:00
Alex Holliday 03ced27d30 Merge branch 'develop' into feat/queue-page-update 2025-06-23 13:15:14 +08:00
Alexander Holliday 8e4bb89974 Merge pull request #2516 from bluewave-labs/fix/light-mode-bg
fix: don't render bg svg on light mode
2025-06-23 12:35:31 +08:00
Alex Holliday 35aa5162ca don't render bg svg on light mode 2025-06-23 12:34:30 +08:00
Alex Holliday 92c2b2d6c1 remove unused import 2025-06-23 12:26:35 +08:00
Alex Holliday 5758a84e13 fix tab order 2025-06-23 12:21:27 +08:00
Alex Holliday 176f576979 change page order 2025-06-23 12:20:33 +08:00
Alex Holliday 9d18d55bbf increase log cache size 2025-06-23 12:19:52 +08:00
Alex Holliday 961d827a52 add a description 2025-06-23 12:19:40 +08:00
Alex Holliday 365ae08123 FE log component implementation 2025-06-23 12:09:30 +08:00
Alex Holliday 0b6febbb82 add log cache, routes, and controller 2025-06-23 11:25:42 +08:00
Alexander Holliday 6913bd0179 Merge pull request #2514 from bluewave-labs/translation-update-73
🌐 Updated Translations from POEditor
2025-06-23 11:14:12 +08:00
GitHub Action c607581767 feat: translations updated from POEditor 2025-06-23 03:11:03 +00:00
Alex Holliday 34485a0cae move queue to logs 2025-06-23 11:07:12 +08:00
Alexander Holliday 05e2bbd211 Merge pull request #2508 from bluewave-labs/fix/update-prod-docker-compose
remove redis from production docker copose
2025-06-23 10:06:24 +08:00
Alex Holliday 766c073ec4 localisation 2025-06-23 10:05:06 +08:00
Alex Holliday 3faa6194f3 display transport settings 2025-06-23 10:02:06 +08:00
Alex Holliday ddf9673a35 remove redis from production docker copose 2025-06-23 09:24:33 +08:00
Jeffer Marcelino 5fcf8ce7ba chore: format 2025-06-23 02:58:51 +02:00
Alexander Holliday d10341ac2f Merge pull request #2489 from Owaiseimdad/network-page-BE-part-1
Code for network db settings
2025-06-23 08:52:08 +08:00
Alexander Holliday 2161ef4388 Merge pull request #2492 from bluewave-labs/fix/notifications-loading-state
fix: button loading state
2025-06-23 08:49:15 +08:00
Alexander Holliday 7870e83586 Merge branch 'develop' into feature/hide-admin-login-link 2025-06-23 08:45:37 +08:00
Alexander Holliday 230753320a Merge pull request #2504 from Sky-walkerX/refactor/email-settings-toggle
refactor(settings): moved email settings toggle buttons to end of line and renamed the wordings
2025-06-23 08:43:38 +08:00
Jeffer Marcelino 465bdd2945 chore: format 2025-06-22 18:33:58 +02:00
Jeffer Marcelino 4a36bd3157 feat: add toggle to show/hide “Administrator? Login Here” link in status page settings 2025-06-22 18:28:17 +02:00
Jeffer Marcelino e6fd57d0bb feat: optionally hide the "Administrator? Login Here" on status page 2025-06-22 18:27:56 +02:00
Jeffer Marcelino 7c5516cd75 feat(api): add backend support for toggling admin login link visibility on status page 2025-06-22 18:26:20 +02:00
Jeffer Marcelino 31321749b2 fix: syntax errors in NetworkService.js and en.json causing build failure 2025-06-22 17:11:01 +02:00
Sky-walkerX 50e9a6b967 chore: formatted NetworkService 2025-06-22 19:40:42 +05:30
Sky-walkerX 3a6d3071be chore: format 2025-06-22 17:39:42 +05:30
Sky-walkerX 9972c3cf9a refactor(settings): changed wordings of email settings 2025-06-22 17:35:45 +05:30
Sky-walkerX f853a03491 refactor(settings): email settings toggle in one row 2025-06-22 17:17:26 +05:30
Alexander Holliday c98b901902 Merge pull request #2495 from bluewave-labs/feat/dev-settings
feat: dev settings
2025-06-21 18:00:34 +08:00
Alexander Holliday b77f05709b Merge branch 'develop' into feat/dev-settings 2025-06-21 18:00:23 +08:00
Alexander Holliday 28157c0b55 Merge pull request #2475 from Owaiseimdad/Bulk-export-uptime-monitors
Addition of export.
2025-06-21 17:57:42 +08:00
Alex Holliday f3072e0447 add missing columns 2025-06-21 16:20:31 +08:00
Alex Holliday 105353c9f6 add factory utils for creating header function 2025-06-21 16:15:34 +08:00
Alexander Holliday 40117f777e Merge pull request #2502 from bluewave-labs/fix/missing-password-error-translation
Fix Missing Password Error Translation
2025-06-21 15:29:33 +08:00
mohadeseh safari 2523d73625 Format code with prettier 2025-06-20 20:58:36 -04:00
mohadeseh safari 74cef5adb1 Fix #2471: Add Details, Configure, and Pause options to infrastructure action menu 2025-06-20 20:39:18 -04:00
mohadeseh safari 452d1a2ad5 Fix missing password error translation for auth.common.fields.password.errors.incorrect 2025-06-20 19:58:11 -04:00
mohadeseh safari a29282801a Format code for PR submission (#2150) 2025-06-20 19:06:57 -04:00
mohadeseh safari fc1f4fc142 Modify 2025-06-20 18:59:50 -04:00
mohadeseh safari 2b017490a3 Move status page delete button to configuration page header (#2150) 2025-06-20 18:56:39 -04:00
Owaise Imdad ecb1ca4517 Missed to add a line in jsdoc. 2025-06-21 00:25:57 +05:30
Owaise Imdad ba00e9afff Added JSDocs in module file. 2025-06-21 00:25:30 +05:30
Owaise Imdad 9700551f41 Removal of n count of document. 2025-06-21 00:18:09 +05:30
ThetaOI 24cb4c70a7 Merge branch 'bluewave-labs:develop' into network-page-BE-part-1 2025-06-21 00:09:51 +05:30
Owaise Imdad 75ed049b01 Resolved teh conflict in en.json file. 2025-06-21 00:06:09 +05:30
Br0wnHammer faa2a2d965 Fixes in the controllers 2025-06-20 20:42:57 +05:30
Br0wnHammer a9c1d131a5 Route Update All Monitor/Team Checks 2025-06-20 16:11:22 +05:30
Br0wnHammer e8908351a2 Route for Updating a single Incident Status 2025-06-20 15:39:13 +05:30
Alex Holliday 3351115e3c fix props 2025-06-20 14:47:19 +08:00
Alex Holliday 2b279af093 localization 2025-06-20 14:30:17 +08:00
Alex Holliday a7f795795f add route 2025-06-20 14:29:36 +08:00
Alex Holliday 85a996635f add controller method for getting all metrics 2025-06-20 14:29:27 +08:00
Alex Holliday 92d4e9ea12 Add additional metrics 2025-06-20 14:29:08 +08:00
Alex Holliday c23e941ece Add queue hooks 2025-06-20 14:28:43 +08:00
Alex Holliday c804f8b873 add routes and localisation 2025-06-20 14:28:33 +08:00
Alex Holliday 6c51fc91b4 add dev settings 2025-06-20 14:28:20 +08:00
Alex Holliday e610acb9c7 Add Queue page and components 2025-06-20 14:27:50 +08:00
Alex Holliday d8573be7ac add util methods 2025-06-20 14:27:22 +08:00
Alex Holliday 0a0c84b7f4 update link component to allow for internal links 2025-06-20 14:26:59 +08:00
Alex Holliday 61a66644da disable job on addition if monitor is paused 2025-06-20 10:58:29 +08:00
Alex Holliday 1187f9d4cc add fix button loading state 2025-06-20 10:08:13 +08:00
Alexander Holliday 906a76c545 Merge pull request #2491 from bluewave-labs/refactor/notification-service
refactor: notification service, resolves #2467, resolves #2468
2025-06-20 09:04:01 +08:00
Br0wnHammer 205e16a96d Resolved Filter in FE 2025-06-20 02:54:09 +05:30
Owaise Imdad 4cf3804898 Formatting issues. 2025-06-19 22:45:04 +05:30
Owaise Imdad 223203737f Logging error only once as middleware takes care of it. 2025-06-19 22:42:07 +05:30
ThetaOI 5675990504 Merge branch 'bluewave-labs:develop' into network-page-BE-part-1 2025-06-19 22:36:57 +05:30
Owaise Imdad 9f88fbbcf2 Formatting issues. 2025-06-19 22:32:53 +05:30
Owaise Imdad c70b5b0ae8 Resolving merge issues. 2025-06-19 22:30:50 +05:30
Owaise Imdad a1c11fbb3c Added a new method for file download and correct csv is getting added. 2025-06-19 22:23:10 +05:30
Alex Holliday 2b48a72f35 formatting 2025-06-19 12:17:00 +08:00
Alex Holliday 48b25e0838 refactor notification service 2025-06-19 12:12:55 +08:00
Alex Holliday 1b4b66e36d inject notification utils 2025-06-19 12:12:34 +08:00
Alex Holliday 30a7de5333 remove unused import 2025-06-19 12:12:09 +08:00
Alex Holliday d4b8eebd64 cleanup 2025-06-19 12:11:43 +08:00
Alex Holliday 8ea2053d37 add a utils file for notifications 2025-06-19 12:11:11 +08:00
Alex Holliday 68aa9a6b2d remove unused route 2025-06-19 12:10:44 +08:00
Alex Holliday dbbe008e23 remove unused controller methods 2025-06-19 12:10:29 +08:00
Alex Holliday 7e5521eb13 Move thresholds from Notification to Monitor 2025-06-19 12:10:07 +08:00
Alex Holliday f9e0930336 Merge branch 'develop' into refactor/notification-service 2025-06-19 10:34:14 +08:00
Alexander Holliday dfbc3ed728 Merge pull request #2486 from bluewave-labs/refactor/build-and-send-email
refactor: build and send
2025-06-19 10:33:37 +08:00
Alex Holliday 7ed92427a3 fix error handling 2025-06-19 10:33:00 +08:00
Alexander Holliday 2df1dc1721 Merge pull request #2469 from bluewave-labs/refactor/useFetchChecks
Refactor: useFetchChecks
2025-06-19 09:51:26 +08:00
Alexander Holliday 9a88523ea5 Merge pull request #2481 from virendra-jadhav/feat/bulk-select-status-page-servers
Add bulk selection for status page servers
2025-06-19 09:48:26 +08:00
Alex Holliday 196757d36f inject logger 2025-06-19 09:44:24 +08:00
Alexander Holliday 28718680fa Merge pull request #2473 from deepanshu2711/fix/floating-strings-2470
fix(ui): shorten URL label and resize notification button (#2470)
2025-06-19 07:23:25 +08:00
Owaise Imdad 8fe3ed9bd1 Added formating. 2025-06-18 23:30:39 +05:30
Owaise Imdad 0f298d6450 Code for network db settings. 2025-06-18 23:23:24 +05:30
unknown 8d93d80e1e resolve merge conflit for bulk selection for status page servers 2025-06-18 22:32:14 +05:30
Owaise Imdad e6b9b5df3c Translation and localisation. 2025-06-18 22:31:48 +05:30
unknown 711cd6cd44 resolve merge conflit for bulk selection for status page servers 2025-06-18 22:29:13 +05:30
Owaise Imdad 81d830d99e Miss with respect to blob type. 2025-06-18 22:24:43 +05:30
Virendra Jadhav b041c9014f Merge branch 'develop' into feat/bulk-select-status-page-servers 2025-06-18 22:07:49 +05:30
myusername 3cacda687c fix more changes for bulk selection on status page server 2025-06-18 19:05:04 +05:30
Alex Holliday 7bca60269c update schema and validation 2025-06-18 14:42:59 +08:00
Alex Holliday bb921690bf Update validation 2025-06-18 14:42:39 +08:00
Alex Holliday 440ce8a12b simplify creatign notifications 2025-06-18 14:42:26 +08:00
Alex Holliday a86bc59e09 remove unsued params from hook 2025-06-18 14:42:00 +08:00
Br0wnHammer a091bf23b7 isLoading Check 2025-06-18 11:32:33 +05:30
Br0wnHammer acd5dc982e Fix: Type Check in useFetchChecksMonitor 2025-06-18 11:13:42 +05:30
Deepanshu 6b3773ed76 chore: remove URL_TRUNCATE_LENGTH from component 2025-06-18 11:09:23 +05:30
Alex Holliday 29cfc4fb41 Merge branch 'develop' into refactor/notification-service 2025-06-18 13:30:24 +08:00
Alexander Holliday 30e95b431c Merge pull request #2488 from bluewave-labs/hotfix/fetch-settings
fix: add empty functions
2025-06-18 13:20:56 +08:00
Alex Holliday cb4fda937f add empty functions 2025-06-18 13:20:08 +08:00
Alexander Holliday 728e337722 Merge pull request #2487 from bluewave-labs/hotfix/react-router
hotfix: react router import
2025-06-18 10:55:07 +08:00
Alex Holliday d558cdd49f fix react router import 2025-06-18 10:52:11 +08:00
Alex Holliday 47131633d0 refactor build and send 2025-06-18 10:44:59 +08:00
Alexander Holliday 85e81184e5 Merge pull request #2485 from bluewave-labs/hotfix/radio
hotfix: add name prop to radio component
2025-06-18 10:10:57 +08:00
Alex Holliday c78f43e32e add name prop to radio component 2025-06-18 10:10:14 +08:00
Alexander Holliday 79b5a33874 Merge pull request #2484 from bluewave-labs/hotfix/ping-monitoring
hotfix: ping monitoring
2025-06-18 10:06:18 +08:00
Alex Holliday 76a5a79482 fix ping monitoring 2025-06-18 10:05:04 +08:00
Alexander Holliday f45736e318 Merge pull request #2483 from hackr-sh/fix/first-name-last-name-additional-special-chars
fix: name validation now takes into account additional special chars
2025-06-18 09:55:39 +08:00
Alexander Holliday 8d30de1ff8 Merge pull request #2480 from bluewave-labs/fix/time-format
fix: update time format function, resolves #2477
2025-06-18 09:44:20 +08:00
Alexander Holliday 68f1895cda Merge pull request #2478 from bluewave-labs/feat/handle-api-and-password-input
feat: handle api and password input, resolves #2385
2025-06-18 09:43:59 +08:00
Alex Holliday fc2676c33e deal with redux before validation 2025-06-18 09:43:41 +08:00
Mohammad Al-Ahdal c9359cc4e1 implement server-validation wording feedback 2025-06-17 18:40:51 -06:00
Mohammad Al-Ahdal b5752024e7 fix: name validation now takes into account additional special chars 2025-06-17 18:29:09 -06:00
Gorkem Cetin (BWL) df4f55b410 Update README.md 2025-06-17 19:38:08 -04:00
Owaise Imdad e71e2ef42c Addressed all the comments in pr. 2025-06-18 01:07:22 +05:30
Gorkem Cetin (BWL) 1e5c8612b8 Sponsor a feature link added 2025-06-17 14:59:38 -04:00
Deepanshu 75309fc53c chore: add URL_TRUNCATE_LENGTH 2025-06-17 17:36:06 +05:30
Deepanshu e3b6ed27ba chore: remove nowrap as already exists in monitorUrl varient 2025-06-17 17:33:21 +05:30
Deepanshu f474d63e88 chore: extract monitor URL formatting to utils 2025-06-17 17:30:11 +05:30
Br0wnHammer 287ea3e5a6 Updated params 2025-06-17 13:27:51 +05:30
Br0wnHammer bcf883223b Exporting Hooks from One File 2025-06-17 13:13:21 +05:30
Alex Holliday 9c40021318 return time string 2025-06-17 13:41:25 +08:00
Deepanshu e818f1cd61 chore: fix formatting 2025-06-17 10:57:30 +05:30
unknown 34ca3a65d6 Add bulk selection for status page servers 2025-06-17 10:13:58 +05:30
Alex Holliday 1298b23844 update time format function 2025-06-17 11:32:35 +08:00
Alexander Holliday f15cef4916 Merge pull request #2479 from bluewave-labs/translation-update-72
🌐 Updated Translations from POEditor
2025-06-17 11:17:04 +08:00
GitHub Action 64e4a3278a feat: translations updated from POEditor 2025-06-17 03:15:12 +00:00
Alex Holliday 791c62b583 remove console log 2025-06-17 11:13:37 +08:00
Alex Holliday 456798ca15 move state to parent 2025-06-17 10:58:41 +08:00
Alex Holliday 7d333c6d93 return updated settings 2025-06-17 10:58:30 +08:00
Alexander Holliday 7c275db662 Merge pull request #2466 from bluewave-labs/fix/hardware-notifications
fix: hardware notifications
2025-06-17 09:27:34 +08:00
Alexander Holliday c1004fc37a Merge pull request #2458 from bluewave-labs/feat/discord-notification-channel
feat: discord notification channel
2025-06-17 09:21:36 +08:00
Owaise Imdad 11212c7371 Formatting was done. 2025-06-17 00:17:46 +05:30
Owaise Imdad e9e509ab04 Addition of export. 2025-06-17 00:11:33 +05:30
Deepanshu df42932e0c fix(ui): shorten URL label and resize notification button (#2470) 2025-06-16 20:40:19 +05:30
Gorkem Cetin (BWL) 36d8e8c0cf Better screnshots 2025-06-16 09:46:50 -04:00
Gorkem Cetin (BWL) 75eb9f8560 Add ToC 2025-06-16 09:43:59 -04:00
Br0wnHammer c981b25ef9 Hooks integration in Incidents Table 2025-06-16 13:51:15 +05:30
Br0wnHammer 638fcb3b9b Incidents useFetchChecksMonitor Integration 2025-06-16 13:08:39 +05:30
Br0wnHammer 37406484fc useFetchChecksTeam Hook 2025-06-16 13:00:23 +05:30
Br0wnHammer bebbe5896d Uptime useFetchChecksByMonitor Integration 2025-06-16 12:57:00 +05:30
Br0wnHammer f47d3c2cd6 Feat: useFetchChecksByMonitor 2025-06-16 12:56:08 +05:30
Alex Holliday 3df6b451e7 fix hardware notifications 2025-06-16 13:53:08 +08:00
Alex Holliday 4fd2a29ab3 fix email type 2025-06-16 13:30:27 +08:00
Alexander Holliday a3b22d9056 Merge pull request #2465 from bluewave-labs/fix/send-test-notifications
fix: send test notifications
2025-06-16 13:28:27 +08:00
Alex Holliday ca4da6d485 add testAll 2025-06-16 12:17:43 +08:00
Alex Holliday 959f265617 add route 2025-06-16 12:17:22 +08:00
Alex Holliday 3cdc21f1be add controller method 2025-06-16 12:16:52 +08:00
Alex Holliday bc3801edc0 add strings' 2025-06-16 12:16:08 +08:00
Alex Holliday 13741d0f0a add test all notifications method 2025-06-16 12:15:54 +08:00
Alex Holliday 9bba8440ca update monitor details header 2025-06-16 12:15:29 +08:00
Alex Holliday 6f133ed7a0 add test all hook 2025-06-16 12:15:07 +08:00
Alexander Holliday 55ea81c46a Merge pull request #2464 from bluewave-labs/fix/cleanup
fix: cleanup
2025-06-16 11:36:52 +08:00
Alexander Holliday 37443823b8 Merge pull request #2463 from bluewave-labs/fix/incidents
fix: load monitor from params if present
2025-06-16 11:35:40 +08:00
Alexander Holliday 7c76125a0a Merge pull request #2462 from bluewave-labs/fix/infrastructure-header
fix: add universal header to infra details
2025-06-16 11:35:20 +08:00
Alexander Holliday dd16c3e8fe Merge pull request #2461 from bluewave-labs/fix/pagespeed-header
fix: pagespeed header
2025-06-16 11:35:04 +08:00
Alex Holliday 30a610511c remove unused component/imports 2025-06-16 11:34:41 +08:00
Alex Holliday e173269acd remove unused depedencies 2025-06-16 11:34:25 +08:00
Alex Holliday 3235bf68e4 Merge branch 'fix/incidents' into fix/cleanup 2025-06-16 11:24:36 +08:00
Alex Holliday 6cbc6546ac Merge branch 'fix/infrastructure-header' into fix/cleanup 2025-06-16 11:24:28 +08:00
Alex Holliday 1490e9171d load monitor from params if present 2025-06-16 11:21:28 +08:00
Alex Holliday f30529e8a2 add universal header to infra details 2025-06-16 11:17:09 +08:00
Alex Holliday 90a5fe946a add update trigger prop 2025-06-16 11:13:45 +08:00
Alex Holliday 1a198c28ee use universal details header in PageSpeed page 2025-06-16 11:13:28 +08:00
Alexander Holliday c90fb9dd08 Merge pull request #2460 from bluewave-labs/hotfix/uptime-config
hotfix: uptime config
2025-06-16 10:45:52 +08:00
Alex Holliday 9de6b4e2bc fix uptime config 2025-06-16 10:45:13 +08:00
Alex Holliday bea23a94bb handle discord webhooks 2025-06-16 10:38:05 +08:00
Alex Holliday 5aae164865 extrat userId and teamId from req.uesr 2025-06-16 10:37:04 +08:00
Alex Holliday bfae00b69b add strings 2025-06-16 10:36:45 +08:00
Alex Holliday 22f8a37f1f add discord type 2025-06-16 10:36:34 +08:00
Alex Holliday f6be4317cd remove user and teamid from validation 2025-06-16 10:36:20 +08:00
Alexander Holliday 1aeb4472bc Merge pull request #2457 from bluewave-labs/hotfix/rows-per-page
hotfix: safe rowsPerPage access
2025-06-16 09:45:27 +08:00
Alex Holliday 20e32fad04 safe rowsPerPage access 2025-06-16 09:44:21 +08:00
Alexander Holliday cb35dc591c Merge pull request #2450 from loma373/feat/search-infra-moniters
feat: add search functionality to infrastructure monitor
2025-06-15 20:44:55 +08:00
Amol 738925d5ec fix: remove shouldRender prop as it is now managed by isLoading 2025-06-15 15:29:48 +05:30
Alexander Holliday b229720431 Merge pull request #2455 from bluewave-labs/feat/image-tags
fix: change workflow names
2025-06-15 17:36:02 +08:00
Alexander Holliday beffce8823 Merge pull request #2453 from Kaotic3/feature/persist-rows-setting
Feature/persist rows setting
2025-06-15 17:12:21 +08:00
Alexander Holliday 1607aba78f Merge pull request #2427 from bluewave-labs/feat/test-email
Feat: New Email Options
2025-06-15 17:11:12 +08:00
Amol Vyas 87ccc93ff9 Merge branch 'develop' into feat/search-infra-moniters 2025-06-15 03:39:10 +05:30
Amol 91741c2ae5 fix: removing unused code blocks and better handling for filter param 2025-06-15 03:17:22 +05:30
Amol e366741aa9 fix: updating code to the coding standards & changing the search param 2025-06-14 23:49:39 +05:30
Steven Kennedy b105626f0b Persist rowsPerPage setting in local storage 2025-06-14 17:40:46 +01:00
Kaotic3 a37505b095 Merge pull request #1 from Kaotic3/codex/persist-rowsperpage-setting
Persist infrastructure rows per page
2025-06-14 17:16:26 +01:00
Kaotic3 216e53166d Persist infrastructure monitors rows per page 2025-06-14 17:13:55 +01:00
Amol 800fd4792d fix: running formatting script on both client and server directories 2025-06-14 16:23:05 +05:30
Amol 7189c19d55 feat: add search functionality to infrastructure moniter 2025-06-14 16:16:49 +05:30
Br0wnHammer 91694ff072 Password Validation Check 2025-06-14 11:01:47 +05:30
Alexander Holliday fcffb93a60 Merge pull request #2449 from bluewave-labs/fix/status-page-on-monitor-delete
fix/status page on monitor delete
2025-06-14 11:41:41 +08:00
Alexander Holliday ad7912e6ba Merge pull request #2448 from bluewave-labs/fix/bulk-create
fix: move bulk monitors hook to monitorHooks
2025-06-14 11:41:25 +08:00
Alexander Holliday 252961aca9 Merge pull request #2447 from bluewave-labs/fix/autocomplete-style
fix: move style to global theme
2025-06-14 11:41:07 +08:00
Br0wnHammer 2d839285f2 Switch Buttons Position 2025-06-13 20:40:01 +05:30
Br0wnHammer d19bbf2b8e Hide send email button until validation is complete 2025-06-13 14:15:37 +05:30
Alex Holliday 4b621a228f remove monitors from status page on delete 2025-06-13 14:54:59 +08:00
Br0wnHammer 38a1d5e7a1 Implement PR Comments 2025-06-13 12:22:28 +05:30
Alex Holliday cc8949538f move bulk monitors hook to monitorHooks 2025-06-13 14:04:08 +08:00
Alex Holliday 985ca3334d move style to global theme 2025-06-13 13:49:54 +08:00
Alexander Holliday df69d06048 Merge pull request #2446 from bluewave-labs/fix/remove-team-and-user-id
fix: remove team and user
2025-06-13 13:35:36 +08:00
Alexander Holliday ef8f74d4e3 Merge pull request #2445 from bluewave-labs/fix/checks-team-id
fix: checks team
2025-06-13 13:34:35 +08:00
Alexander Holliday 062df395c5 Merge pull request #2444 from bluewave-labs/fix/maintenance-window-team-id
fix: maintenance window team
2025-06-13 13:34:22 +08:00
Alexander Holliday a25f292217 Merge pull request #2443 from bluewave-labs/fix/monitors-remove-team-id
fix: monitors remove team ID parameters
2025-06-13 13:34:05 +08:00
Alexander Holliday 30fc14ed7f Merge pull request #2442 from bluewave-labs/fix/notifications-team-id
fix: remove team id from notifications
2025-06-13 13:33:48 +08:00
Alexander Holliday 1850655467 Merge pull request #2441 from bluewave-labs/fix/advanced-settings
fix: add a checkbox to enable/disable advanced settings
2025-06-13 13:33:30 +08:00
Alex Holliday ab3f867b5b remove unused redux state 2025-06-13 13:32:55 +08:00
Alex Holliday b499b2879c remove teamId from status pages 2025-06-13 13:29:03 +08:00
Alex Holliday 18ea551118 remove user 2025-06-13 13:11:58 +08:00
Alex Holliday 42372ab111 remove userID and teamID from status page 2025-06-13 13:10:56 +08:00
Alex Holliday 5e23a2b79c Remove team and user id 2025-06-13 12:16:52 +08:00
Alex Holliday c32cde6189 fix incidents page 2025-06-13 12:08:59 +08:00
Alex Holliday d2233d2e3e remove teamId from checks 2025-06-13 12:04:39 +08:00
Alex Holliday 9da3d3ef55 remove teamId from checks 2025-06-13 12:03:32 +08:00
Alex Holliday cedd660fd9 get teamID from req.user 2025-06-13 11:52:10 +08:00
Alex Holliday b9fbfd2a25 remove team id from monitor controller/db methods, standardize parameters 2025-06-13 11:49:03 +08:00
Alex Holliday 4168c86734 remove team id from monitor controller/db methods, standardize parameters 2025-06-13 11:47:29 +08:00
Alex Holliday 024096631f remove team id from notificaitons 2025-06-13 11:15:42 +08:00
Alex Holliday e53901f6fd add a checkbox to enable/disable advanced settings 2025-06-13 11:07:37 +08:00
Alexander Holliday 1a7842164d Merge pull request #2434 from bluewave-labs/fix/redux-removal-action-menu
fix: remove redux from action menu
2025-06-13 10:55:19 +08:00
Alexander Holliday 656c3c61a8 Merge pull request #2435 from bluewave-labs/fix/remove-redux-sidebar
fix: remove redux sidebar
2025-06-13 10:54:32 +08:00
Alexander Holliday 19303d43ea Merge pull request #2436 from bluewave-labs/fix/redux-removal-password-reset
fix: redux removal password reset
2025-06-13 10:54:15 +08:00
Alexander Holliday cd0b9cd7d6 Merge pull request #2437 from bluewave-labs/fix/redux-removal-settings
fix: remove redux from settings
2025-06-13 10:54:02 +08:00
Alexander Holliday 5e8a0afd3b Merge pull request #2438 from bluewave-labs/fix/remove-uptime-reducer
fix: remove uptime reducer
2025-06-13 10:53:50 +08:00
Alexander Holliday fac2f6f205 Merge pull request #2439 from bluewave-labs/fix/remove-unused-reducers
fix: remove unused reducers
2025-06-13 10:53:34 +08:00
Alexander Holliday c3a2ca314a Merge pull request #2440 from bluewave-labs/fix/remove-team-id-from-requests
fix: remove team id from requests
2025-06-13 10:53:18 +08:00
Alex Holliday 57f4db8d37 remove reference to state 2025-06-13 10:52:05 +08:00
Alex Holliday afece4df65 update routes, validation 2025-06-13 10:46:06 +08:00
Alex Holliday d9c2f31f4e remove teamId from uptime monitor requests 2025-06-13 10:38:52 +08:00
Alex Holliday 134e547736 remove redux loading state 2025-06-13 10:18:43 +08:00
Alex Holliday 1542cf01a7 comment out pagespeed check, TODO later 2025-06-13 10:13:22 +08:00
Alex Holliday a63bcb5b4a add missing finally block 2025-06-13 10:05:29 +08:00
Alex Holliday deeb6a030c remove settings reducer 2025-06-13 10:00:48 +08:00
Alex Holliday 5e6aaa3caa remove unused reducers 2025-06-13 09:59:01 +08:00
Alex Holliday 9503f08dd8 remove uptime monitor reducer 2025-06-13 09:56:06 +08:00
Alex Holliday fca39f1914 remove redux from settings 2025-06-13 09:51:26 +08:00
Alex Holliday 8d512b4719 remove redux 2025-06-13 09:27:29 +08:00
Alex Holliday 9f204b36b0 remove unused redux state from sidebar 2025-06-13 09:18:45 +08:00
Alex Holliday a93edc1131 remove redux from action menu 2025-06-13 09:16:07 +08:00
Alexander Holliday 09b7dc8401 Merge pull request #2431 from bluewave-labs/fix/redux-removal-hook-cleanup
fix: redux removal hook cleanup
2025-06-13 09:03:25 +08:00
Alexander Holliday 6f3c2df6ee Merge pull request #2430 from bluewave-labs/feat/bg-svg
feat: add a background component
2025-06-13 09:02:33 +08:00
Alex Holliday a111903965 use hooks 2025-06-12 15:47:59 +08:00
Alex Holliday d62fe5f4ab add missing dependencies 2025-06-12 15:47:43 +08:00
Alex Holliday 289aa4fe32 refactor check hooks 2025-06-12 15:47:21 +08:00
Alex Holliday cf84d1fde5 use arrow functions to preserve context 2025-06-12 15:46:48 +08:00
Alex Holliday 50986d4493 use hooks 2025-06-12 12:44:46 +08:00
Alex Holliday 948e5e932b refactor hooks to common util 2025-06-12 12:44:35 +08:00
Alex Holliday 1574624f69 add a background component 2025-06-12 09:37:51 +08:00
Alexander Holliday 275f2384c0 Merge pull request #2426 from bluewave-labs/feat/register
feat: register
2025-06-12 09:05:21 +08:00
Alex Holliday b58fe4ae74 add loading state 2025-06-12 09:04:19 +08:00
Alexander Holliday b1f4c64a21 Merge pull request #2425 from bluewave-labs/feat/login
feat: login
2025-06-12 09:01:58 +08:00
Alexander Holliday 4e10325eea Merge pull request #2429 from anuragparashar26/develop
fix: update TextInput border color to match dropdown (#2406)
2025-06-12 09:01:40 +08:00
anuragparashar26 6dea8b434b fix: update TextInput border color to match dropdown (#2406) 2025-06-12 05:20:16 +05:30
anuragparashar26 9242612f30 fix: update TextInput border color to match dropdown (#2406) 2025-06-12 05:01:09 +05:30
Br0wnHammer de3d38d891 Implement remaining email config 2025-06-12 00:39:47 +05:30
Alex Holliday 0e4b371925 add login header 2025-06-11 20:12:02 +08:00
Br0wnHammer 1794429cbe Formatting Run 2025-06-11 15:29:25 +05:30
Br0wnHammer 7e1a7066fc TLS Options Set Up 2025-06-11 15:11:28 +05:30
Br0wnHammer 01ed3d8aaa Feat: New Email Settings 2025-06-11 14:42:51 +05:30
Br0wnHammer ec25ebee35 Fix: Node Mailer Settings 2025-06-11 14:11:49 +05:30
Alex Holliday c0ad2dfce2 fix superadmin state 2025-06-11 12:41:58 +08:00
Alex Holliday bcea3a5e66 refactor register page 2025-06-11 12:32:36 +08:00
Alex Holliday 3ade8b5bd4 update admin check HOC 2025-06-11 12:32:16 +08:00
Alex Holliday fac960b9ac set minHeight, force lowercase for email 2025-06-11 12:32:03 +08:00
Alex Holliday 045b506e2a remove unused component 2025-06-11 10:22:17 +08:00
Alex Holliday 9e6b826f6e update translations 2025-06-11 10:21:47 +08:00
Alex Holliday cd17ecdadb fix import path 2025-06-11 10:21:33 +08:00
Alex Holliday f32892adaf add components directory 2025-06-11 10:20:36 +08:00
Alex Holliday 18ef81f6f1 refactor login page 2025-06-11 10:20:14 +08:00
Alexander Holliday 3cd8191aa4 Merge pull request #2422 from bluewave-labs/feat/notification-on-click
feat: add row click handling to notificaitons table
2025-06-10 14:21:29 +08:00
Alexander Holliday ff0d338899 Merge pull request #2423 from bluewave-labs/hotfix/docker-image-name
hotfix: image name
2025-06-10 14:20:52 +08:00
Alex Holliday e44114b5e5 fix image name 2025-06-10 14:19:57 +08:00
Alex Holliday 7587fea6d5 Add row click handling to notificaitons table 2025-06-10 14:03:49 +08:00
Alexander Holliday a105e85a5a Merge pull request #2421 from bluewave-labs/hotfix/duplicate-strings
hotfix: duplicate strings, remove uptime percentage
2025-06-10 13:58:44 +08:00
Alex Holliday 3224feeb9e fix duplicate strings, remove uptime percentage 2025-06-10 13:57:00 +08:00
Alexander Holliday cb98359d35 Merge pull request #2420 from bluewave-labs/feat/test-notification
feat: test notification
2025-06-10 13:49:16 +08:00
Alexander Holliday 64390bae2b Merge pull request #2419 from bluewave-labs/feat/edit-notification-channel
feat: implement editing notification channels
2025-06-10 13:47:25 +08:00
Alexander Holliday 94d10b6385 Merge pull request #2418 from bluewave-labs/fix/delete-cascade
fix: implement delete cascade
2025-06-10 13:45:55 +08:00
Alex Holliday 08875b07ec add pagerduty 2025-06-10 13:44:15 +08:00
Alex Holliday c20b8c665a add tests notification for email 2025-06-10 13:20:44 +08:00
Alex Holliday e6493df881 add test notificaiton button and methods 2025-06-10 12:07:31 +08:00
Alex Holliday 1ed317d0cb update fallback 2025-06-10 11:29:03 +08:00
Alex Holliday df63e74116 update icon 2025-06-10 11:22:24 +08:00
Alex Holliday 910bf4c72e formatting 2025-06-10 11:16:39 +08:00
Alex Holliday 0ac1f13043 implement editing notification channels 2025-06-10 11:13:19 +08:00
Alex Holliday 76de8f11f2 formatting 2025-06-10 09:53:17 +08:00
Alex Holliday 711e85cb6e implement delete cascade 2025-06-10 09:49:53 +08:00
Alexander Holliday f41709bd12 Merge pull request #2414 from bluewave-labs/feat/fe/uptime-notification-channels
feat: fe/uptime notification channels, resolves #2344
2025-06-10 09:24:56 +08:00
Alexander Holliday 59955cd29a Merge pull request #2413 from bluewave-labs/feat/notification-channels
feat: notification channels
2025-06-10 09:24:37 +08:00
Alexander Holliday e438e4572f Merge pull request #2417 from bluewave-labs/fix/account-delete
fix: add empty query object to fix default destructuring, resolves #2386
2025-06-10 09:17:50 +08:00
Alex Holliday f445c2b310 add empty query object to fix default destructuring 2025-06-10 09:16:38 +08:00
Alexander Holliday 5dd52808b3 Merge pull request #2416 from kelvinyim0705/develop
fix: standardize pagination alignment in ChartBox components
2025-06-10 09:00:49 +08:00
Alexander Holliday a85d2c8559 Merge pull request #2409 from bluewave-labs/Capture-version-on-details-page
Capture version on details page
2025-06-10 08:59:26 +08:00
Alexander Holliday 427f52b5a4 Merge pull request #2415 from SaikatDeb12/fix/login-error-display-message
fix: changed login error display message
2025-06-10 08:58:31 +08:00
Alexander Holliday c1b828a58e Merge pull request #2410 from ceskyDJ/i18n-refactor
i18n: Refactoring, fixes and cleaning up (part I)
2025-06-10 08:54:57 +08:00
Michal Šmahel 89bc2a9293 style: Reformat code 2025-06-09 21:54:48 +02:00
Michal Šmahel 8c9084cc7a i18n: Clean up auth-related keys
Removes only keys that aren't used on any place (I searched for
each of them in all Components and Pages).
2025-06-09 21:54:48 +02:00
Michal Šmahel 00f3941ca6 i18n: Refactor, fix and clean up auth forms 2025-06-09 21:54:47 +02:00
Michal Šmahel 74915f6840 fix: Strict password validation in login form
Strict password validation is for registration, change password,
reset password and similar forms. In login form, we don't want
to interrupt user with unnecessary validation as it's completely
irrelevant what they actually entered. The one thing it's about
is the correctness of the email and the password.

Disabling strict validation for password is a kind of security
through obscurity, which could filter some untargeted attempts
for trying passwords by bots. If the bot immediatelly receives
notes about the requirements, it has more imformation for better
attacks.
2025-06-09 21:54:47 +02:00
Michal Šmahel 3ac0eb2128 refactor: Simplify client-side email validation
We don't need to implement custom check for lowercase, as it's
been already implemented in joi library. Also we don't need to
convert email to lowercase twice (via onChange and onInput event
handlers), onChange is completely sufficient and as it's just
before form validation, it's the better one.
2025-06-09 21:54:47 +02:00
Michal Šmahel c5efa71875 i18n: Refactor and fix network error 2025-06-09 21:54:45 +02:00
Michal Šmahel 6460fe33d6 i18n: Refactor page for server unreachable and remove unused 2025-06-09 21:53:04 +02:00
Michal Šmahel 6b81eabf07 i18n: Fix theme toggle 2025-06-09 21:53:03 +02:00
Michal Šmahel d63e3db216 i18n: Refactor and fix app names (Checkmate and Capture) 2025-06-09 21:53:02 +02:00
Michal Šmahel 7e873161bc l10n(ar): Remove empty localization 2025-06-09 21:53:00 +02:00
Michal Šmahel fe5f24ef44 l10n(cs): Clean up localization file 2025-06-09 21:52:53 +02:00
Kelvin Yim 21a26a5ebb fix: standardize pagination alignment in ChartBox components
Remove alignItems="center" from ChartBox to prevent unintended centering of pagination controls in uptime details, ensuring consistent pagination layout across all tables per

issue #2405
2025-06-09 17:36:26 +01:00
Owaise Imdad 4608390cfd Added local support for the page. 2025-06-09 21:25:34 +05:30
SaikatDeb12 a73d3ec83e fix: changed login error display message 2025-06-09 16:03:44 +05:30
Alex Holliday 1b40aa0ded add notifications to infra page, add generic webhook notification channel 2025-06-09 14:59:26 +08:00
Alex Holliday de673ea5d1 add notifications to pagespeed 2025-06-09 14:22:11 +08:00
Alex Holliday 4c3ea2fd65 add validation 2025-06-09 12:59:02 +08:00
Alex Holliday f2000ffe56 add notificaitons to projection 2025-06-09 12:58:52 +08:00
Alex Holliday a0de1e3c72 remove old notificaiton code 2025-06-09 12:58:25 +08:00
Alex Holliday b825e0fef4 remove old notification code 2025-06-09 12:58:04 +08:00
Alex Holliday 5b21906894 add notificaion pages 2025-06-09 12:57:30 +08:00
Alex Holliday 46b2b4c3ab add hooks 2025-06-09 12:57:15 +08:00
Alex Holliday ff11a91190 add notification config component 2025-06-09 12:57:02 +08:00
Alex Holliday eb79eef2a2 Add network service methods 2025-06-09 12:56:45 +08:00
Alex Holliday e8a4496199 add notification channel pages 2025-06-09 12:56:24 +08:00
Alex Holliday 04ab4e23db add notificaions channel to Uptime Configure 2025-06-09 12:56:05 +08:00
Alex Holliday e36abfa9a6 add notificaitons channel to Create Uptime 2025-06-09 12:55:45 +08:00
Alex Holliday 358381ddc2 update client side validation 2025-06-09 12:55:13 +08:00
Alex Holliday 1fbfbc4204 add strings 2025-06-09 12:55:01 +08:00
Alex Holliday 95703c1505 remove console.log 2025-06-09 12:54:41 +08:00
Alex Holliday 0225b93c72 add notifications channel to sidebar 2025-06-09 12:52:52 +08:00
Alex Holliday 3027606524 remove console.log 2025-06-09 12:52:32 +08:00
Alex Holliday 92ddf023ec add pager duty handling method 2025-06-09 10:49:52 +08:00
Alex Holliday 5a50e9b301 Add controller, db, and validation for notifications 2025-06-09 10:30:21 +08:00
Alex Holliday 0f10a39f91 add notification routes 2025-06-09 10:25:06 +08:00
Alex Holliday 55a871cb3c update notification model 2025-06-09 10:24:06 +08:00
Alexander Holliday bd78dbb95d Merge pull request #2412 from bluewave-labs/feat/purge-distributed-uptime
fix: purge distributed uptime
2025-06-09 10:19:36 +08:00
Alex Holliday 274595a533 purge distributed uptime 2025-06-09 10:17:09 +08:00
Alexander Holliday 5690d91d59 Merge pull request #2408 from varunrmantri23/develop
fix: prevent monitor URL and name overflow with sx Prop
2025-06-09 09:53:06 +08:00
Alexander Holliday 1cdb3d1ef7 Merge pull request #2411 from Shivansh-22866/fix/remove_future_features
Fix/remove future features
2025-06-09 09:39:46 +08:00
Shivansh-22866 048c0a7994 Merge branch 'fix/remove_future_features' of https://github.com/Shivansh-22866/Checkmate into fix/remove_future_features 2025-06-08 23:21:14 +05:30
Shivansh-22866 8412e0f17f Add comments 2025-06-08 23:20:48 +05:30
Shivansh e04bfcc96a Merge branch 'bluewave-labs:develop' into fix/remove_future_features 2025-06-08 23:18:12 +05:30
Shivansh-22866 f6f1842863 Merge branch 'develop' of https://github.com/Shivansh-22866/Checkmate into fix/remove_future_features 2025-06-08 23:16:40 +05:30
varunrmantri23 5e2fa7a8f0 fix: add global Typography variants for monitor text truncation 2025-06-08 23:12:48 +05:30
Shivansh-22866 d0dbc75587 Remove future email features from Page Speed configure 2025-06-08 19:27:33 +05:30
Owaise Imdad 3886617b11 Fix formatted the files. 2025-06-08 17:32:45 +05:30
varunrmantri23 e4ade39db7 fix: prevent monitor URL and name overflow using MUI sx prop 2025-06-08 14:33:56 +05:30
varunrmantri23 1f6826e045 fix: add CSS classes to prevent URL and name overflow in monitors 2025-06-08 13:11:04 +05:30
Gorkem Cetin (BWL) 6d236477ac Add npm run format directive 2025-06-08 00:30:59 -04:00
Alexander Holliday 32817829d8 Merge pull request #2404 from bluewave-labs/feat/pulse
feat: pulse
2025-06-08 09:03:34 +08:00
Alex Holliday afbd1157c0 add factory method 2025-06-08 09:01:30 +08:00
Alex Holliday 8de2c0387c fix method name 2025-06-08 08:57:45 +08:00
Alex Holliday 267693668d format fix 2025-06-08 08:42:16 +08:00
Alex Holliday 7475dcfb21 add update job method 2025-06-08 08:41:42 +08:00
Alexander Holliday 6d43665e59 Merge pull request #2400 from bluewave-labs/fix/general-settings-desc
Minor changes/typo fix in general settings description
2025-06-08 08:19:44 +08:00
Alexander Holliday a98c36aea3 Merge pull request #2403 from bluewave-labs/fix/port-monitor-status-page
Fix #2365: Add port monitor support to status page
2025-06-08 08:19:14 +08:00
Alexander Holliday fdf8e88e44 Merge pull request #2398 from bluewave-labs/Fix-for-csv-lowecase-check
FIX for csv file case sensitive file ending.
2025-06-08 08:18:12 +08:00
Alex Holliday f2b7a9cc67 fix formatting 2025-06-08 08:14:17 +08:00
Alex Holliday ecd8ca0940 fix formatting 2025-06-08 08:11:31 +08:00
Alex Holliday dfe88b30e8 fix formatting 2025-06-08 08:09:00 +08:00
mohadeseh safari a13056bd1b Fix #2365: Add port monitor support to status page 2025-06-07 19:12:22 -04:00
Owaise Imdad ccc9faa892 Feature for adding capture version on the deatils page. 2025-06-08 00:13:47 +05:30
Vishnu Sreekumaran Nair fe041bc0c0 fix typo in docker desc 2025-06-07 14:20:26 -04:00
Vishnu Sreekumaran Nair 1bf1387a05 update ping monitoring desc 2025-06-07 14:19:43 -04:00
Owaise Imdad 958a8ad5a7 FIX for csv file case sensitive file ending. 2025-06-07 21:14:03 +05:30
Alexander Holliday 9c921896fd Merge pull request #2331 from Thirukumaran-T/save-button-enhancement
REFACTOR: added sticky behaviour to the save button at the end
2025-06-07 20:48:33 +08:00
Alexander Holliday b0cf59b0f9 Merge pull request #2396 from bluewave-labs/translation-update-71
🌐 Updated Translations from POEditor
2025-06-07 08:24:10 +08:00
GitHub Action ded137a197 feat: translations updated from POEditor 2025-06-07 00:23:08 +00:00
Alex Holliday 9a22d4a971 initial Pulse implementation 2025-06-06 14:05:59 +08:00
Alex Holliday 9e42fd6ffd change workflow names 2025-06-06 07:44:19 +08:00
Thirukumaran-T a101bd479a CHORE: added border styles to the save button container 2025-06-05 12:00:16 +05:30
Alexander Holliday a597d23c95 Merge pull request #2394 from bluewave-labs/feat/image-tags
version tagging images
2025-06-04 19:51:06 -07:00
Alex Holliday 9591ba3dc4 version tagging images 2025-06-05 10:44:27 +08:00
Gorkem Cetin (BWL) 1f9fbf7115 Update PULLREQUESTS.md 2025-06-04 09:09:54 -04:00
Gorkem Cetin (BWL) 1286dd30b3 Update README.md 2025-06-02 22:43:56 -04:00
Alexander Holliday 8498d7abc9 Merge pull request #2381 from bluewave-labs/general-settings-description
Change general settings description according to selected uptime monitor type
2025-06-01 12:05:25 -07:00
Alexander Holliday 41e3e262fb Merge pull request #2382 from bluewave-labs/feat/format-check
Feat/format check
2025-06-01 11:57:08 -07:00
Alex Holliday c119df1553 format 2025-06-01 11:55:16 -07:00
Alex Holliday c02ba84864 user pr number 2025-06-01 11:51:49 -07:00
Alex Holliday fabbc659ad checkout repo 2025-06-01 11:49:33 -07:00
Alex Holliday 4241758354 use github cli 2025-06-01 11:47:13 -07:00
Alex Holliday 59f1ce7d31 add dependencies 2025-06-01 11:42:04 -07:00
Alex Holliday 2e7b67d991 auto-close 2025-06-01 11:39:17 -07:00
Alex Holliday 62a79aaf4b fix formatting 2025-06-01 11:31:18 -07:00
Alex Holliday 1b97a2d488 add formatting check action 2025-06-01 11:28:15 -07:00
Vishnu Sreekumaran Nair 4e414e289d update translation values for ru 2025-06-01 14:23:00 -04:00
Alexander Holliday 4ed4903272 Merge pull request #2379 from bluewave-labs/fix/2336-settings-select-value-type
Resolve Settings page Select component errors
2025-06-01 11:16:31 -07:00
Alexander Holliday 8075d3c63c Merge branch 'develop' into fix/2336-settings-select-value-type 2025-06-01 11:16:20 -07:00
Vishnu Sreekumaran Nair d6658d16f9 update translation values for pt-BR 2025-06-01 14:14:35 -04:00
Vishnu Sreekumaran Nair 6b539b009b update the en translation values 2025-06-01 14:03:56 -04:00
Vishnu Sreekumaran Nair 50e6767259 dynamically update string based on selected monitor.type 2025-06-01 13:56:13 -04:00
Vishnu Sreekumaran Nair bc06db03a2 group general instructions and update translation files 2025-06-01 13:55:19 -04:00
Alexander Holliday b8284bfddf Merge pull request #2376 from bluewave-labs/develop
Develop -> Master
2025-05-30 15:11:37 -07:00
Alexander Holliday c84322c142 Merge pull request #2375 from bluewave-labs/fix/i18n
fix: refactor i18n, resolves #2374
2025-05-30 15:11:05 -07:00
Alex Holliday 70055c712b refactor i18n 2025-05-30 15:03:32 -07:00
Alexander Holliday fd0b1633de Merge pull request #2361 from bluewave-labs/fix/2343-timezone-save-button
# Fix: Save button disabled when timezone changes (#2343)
2025-05-30 14:05:37 -07:00
mohadeseh safari aa91c9ff86 Resolve Settings page Select component errors
- Enhanced Select component to accept boolean values in PropTypes
- Updated component documentation to reflect new type support
- Added default value for showURL prop to prevent undefined value errors

- Fixed two related issues:
  1. Type mismatch error when passing boolean values
  2. Required prop error during initial rendering
2025-05-29 21:01:09 -04:00
Alexander Holliday 2486bfa146 Merge pull request #2372 from bluewave-labs/develop
Develop -> Master
2025-05-29 17:11:29 -07:00
Alexander Holliday 4f678827f3 Merge pull request #2370 from bluewave-labs/fix/webhook-notifications
fix: add config for webhook
2025-05-29 17:10:44 -07:00
Alex Holliday 5018a2dfde add config for webhook 2025-05-29 17:09:47 -07:00
mohadeseh safari 126fda6bc0 remove call 2025-05-29 19:34:21 -04:00
Alexander Holliday a3fb77565a Merge pull request #2367 from bluewave-labs/develop
Develop -> Master
2025-05-28 16:52:48 -07:00
Alexander Holliday 064fb1bfd9 Merge pull request #2360 from bluewave-labs/fix/2286-maintenance-placeholder-flash
Fix Maintenance Placeholder Flash (#2286)
2025-05-28 10:20:32 -07:00
Gorkem Cetin (BWL) c008d2e046 Merge pull request #2362 from mertssmnoglu/docs-readme-mertssmnoglu
fix: correct link format for contributor 'mertssmnoglu' in README
2025-05-28 09:42:30 -04:00
Mert Şişmanoğlu 7cfdad3563 fix: correct link format for contributor mertssmnoglu in README
Signed-off-by: Mert Şişmanoğlu <mertssmnoglu@gmail.com>
2025-05-28 16:33:30 +03:00
mohadeseh safari ed5d5986ff Fix #2343: Enable Save button when timezone changes
- Added timezone field to frontend validation schema
- Added timezone field to backend validation schema
- Fixed state synchronization in Settings component
2025-05-27 20:28:53 -04:00
mohadeseh safari e6c2e34b78 fix(maintenance): prevent placeholder flash when maintenance items exist (#2286) 2025-05-27 19:54:31 -04:00
Alexander Holliday 5b86d892c5 Merge pull request #2359 from bluewave-labs/master
Merge pull request #2342 from bluewave-labs/develop

develop -> Master
2025-05-27 15:03:18 -07:00
Alexander Holliday 459906ef25 Merge pull request #2358 from bluewave-labs/fix/languages
fix:revert gb to en, add language specific flag fixes
2025-05-27 10:09:33 -07:00
Alex Holliday 1e064fb771 remove style overrides, update script 2025-05-27 10:09:12 -07:00
Alex Holliday 5254dc1984 revert gb to en, add language specific flag fixes 2025-05-27 10:01:10 -07:00
Alexander Holliday f245e49b20 Merge pull request #2357 from bluewave-labs/fix/remove-incorrect-lang-files
remove files
2025-05-27 09:50:05 -07:00
Alex Holliday f25e54eefe remove files 2025-05-27 09:49:15 -07:00
Alexander Holliday bfa713fd7e Merge pull request #2356 from bluewave-labs/translation-update-69
🌐 Updated Translations from POEditor
2025-05-27 09:48:37 -07:00
GitHub Action 73cad941b0 feat: translations updated from POEditor 2025-05-27 16:48:15 +00:00
Alexander Holliday 7d0668279e Merge pull request #2355 from bluewave-labs/hotfix/language-download
hotfix: normalize language codes
2025-05-27 09:47:14 -07:00
Alex Holliday 9b2a9f5731 normalize language codes 2025-05-27 09:46:07 -07:00
Alexander Holliday 9d130ee935 Merge pull request #2353 from bluewave-labs/hotfix/validation
remove showURL validation
2025-05-27 09:26:37 -07:00
Alex Holliday 2758e5f050 remove showURL validation 2025-05-27 09:26:15 -07:00
Alexander Holliday 426545a429 Merge pull request #2352 from bluewave-labs/fix/remove-docker-compose-version
fix: remove version
2025-05-27 09:24:55 -07:00
Alexander Holliday 75f85cc4c8 Merge pull request #2351 from bluewave-labs/translation-update-68
🌐 Updated Translations from POEditor
2025-05-27 09:24:19 -07:00
Alex Holliday 530bea6f45 remove version 2025-05-27 09:21:37 -07:00
GitHub Action a12d733e02 feat: translations updated from POEditor 2025-05-27 16:19:29 +00:00
Alexander Holliday 2e332f791b Merge pull request #2350 from bluewave-labs/feat/format-on-poe-request
update default languages
2025-05-27 09:18:36 -07:00
Alex Holliday deedc9eabd update default languages 2025-05-27 09:18:05 -07:00
Alexander Holliday 5c5e563d42 Merge pull request #2349 from bluewave-labs/feat/format-on-poe-request
feat: add formatting to POEditor github action
2025-05-27 09:15:27 -07:00
Alex Holliday a777777ac6 add formatting to POEditor github action 2025-05-27 09:14:40 -07:00
Alexander Holliday 0dee7cf84f Merge pull request #2348 from bluewave-labs/fix/prettier-format
fix: format all files
2025-05-27 09:11:32 -07:00
Alex Holliday 1b81251c93 format all files 2025-05-27 09:10:32 -07:00
Thirukumaran-T 9ce1bf9bfb CHORE: reduced padding to make the whole stack thinner 2025-05-27 10:15:05 +05:30
Gorkem Cetin (BWL) 94c2cd0582 Update README.md 2025-05-26 23:52:15 -04:00
Gorkem Cetin (BWL) c1af1cf2cd Update README.md 2025-05-26 23:51:14 -04:00
Alexander Holliday ab964416ae Merge pull request #2342 from bluewave-labs/develop
develop -> Master
2025-05-26 16:42:54 -07:00
Alexander Holliday bfa6197ee4 Merge pull request #2340 from bluewave-labs/hotfix/validation
remove showURL from validation
2025-05-26 16:37:33 -07:00
Alex Holliday 3586fc4e6d remove showURL from validation 2025-05-26 16:35:41 -07:00
Alexander Holliday 5ddb74e70c Merge pull request #2339 from bluewave-labs/revert-2338-hotfix/disable-url-validation
Revert "hotfix: remove showurl validation"
2025-05-26 16:30:21 -07:00
Alexander Holliday 2d52ebad40 Revert "hotfix: remove showurl validation" 2025-05-26 16:30:09 -07:00
Alexander Holliday 02ae6f3bd4 Merge pull request #2338 from bluewave-labs/hotfix/disable-url-validation
hotfix: remove showurl validation
2025-05-26 16:24:51 -07:00
Alex Holliday 7ff8299e6b remove showurl validation 2025-05-26 16:22:54 -07:00
Alexander Holliday ad30bf6ee8 Merge pull request #2335 from sonvir249/feature/show-port-monitors
Show port monitors with port numbers.
2025-05-26 08:44:45 -07:00
sonvir249 8ec6c23250 Join port number with colon(:) 2025-05-26 21:13:05 +05:30
Alexander Holliday a18a62f80e Merge pull request #2327 from AsimAhmedSiddiquii/fix-show-ip-url-status-page
Fix: Optionally show IP/URL of the monitor in status page
2025-05-26 08:32:47 -07:00
Alexander Holliday a0ba1b63c3 Merge pull request #2330 from bluewave-labs/feature/2299-add-ping-monitoring-to-status-pages
Add ping monitoring to status pages (#2299)
2025-05-26 08:12:16 -07:00
Asim Ahmed Siddiqui e7ed85405b Changes: Made showURL boolean and removed console log 2025-05-26 00:19:49 +05:30
sonvir249 118ad67369 Show port monitors with port numbers. 2025-05-25 15:54:31 +05:30
Thirukumaran-T 76d69005aa REFACTOR: added sticky behaviour to the save button at the end 2025-05-24 18:33:05 +05:30
mohadeseh safari d28e2bf5fb Add ping monitoring to status pages (#2299) 2025-05-23 22:45:32 -04:00
Alexander Holliday 9681c7e2ee Merge pull request #2329 from bluewave-labs/fix/test-email
fix: test email
2025-05-23 12:24:05 -07:00
Alex Holliday fa7624e436 proper invocation 2025-05-23 12:22:32 -07:00
Alex Holliday 4aaa1b6674 await config 2025-05-23 12:22:05 -07:00
Asim Ahmed Siddiqui e8d636dcfd Fix: Optionally show IP/URL of the monitor in status page 2025-05-23 12:40:47 +05:30
Alexander Holliday 124683f8c1 Merge pull request #2325 from bluewave-labs/feat/arm-support
update helmet policy
2025-05-22 11:20:48 -07:00
Alex Holliday dd93b9f36b update helmet policy 2025-05-22 11:20:11 -07:00
Alexander Holliday b16634ade9 Merge pull request #2324 from bluewave-labs/feat/arm-support
hsts:false
2025-05-22 10:54:18 -07:00
Alex Holliday ba703ac377 hsts:false 2025-05-22 10:53:44 -07:00
Alexander Holliday 37c0dbf567 Merge pull request #2323 from bluewave-labs/feat/arm-support
Feat/arm support
2025-05-22 10:38:27 -07:00
Alex Holliday 47705f85ef update gitignore, update vite config 2025-05-22 10:37:26 -07:00
Alex Holliday b78389f113 use init sidecar 2025-05-22 10:02:49 -07:00
Alexander Holliday 26fa94abfb Merge pull request #2322 from bluewave-labs/feat/arm-support
init script isntead of healthcheck
2025-05-22 09:55:37 -07:00
Alex Holliday 6d39301ca8 init script isntead of healthcheck 2025-05-22 09:55:07 -07:00
Alexander Holliday 429d68859c Merge pull request #2321 from bluewave-labs/feat/arm-support
feat: arm dist
2025-05-22 09:21:19 -07:00
Alex Holliday d3b446685f arm dist 2025-05-22 09:20:41 -07:00
Alexander Holliday 03bb550003 Merge pull request #2317 from bluewave-labs/Pause-button-addition-on-configuration
Added pause button in configuration page.
2025-05-21 11:41:20 -07:00
Owaise Imdad 97a73a385a Added the status color to monitor utils. 2025-05-21 23:59:22 +05:30
Owaise Imdad 3ddea2ef8b Localised the status msg as well. 2025-05-21 23:32:07 +05:30
Owaise Imdad 9330f2fb0d Console log removal. 2025-05-21 23:26:21 +05:30
Owaise Imdad 35157d87fe Localise the string pause and resume. 2025-05-21 23:25:32 +05:30
Owaise Imdad 36ae38391b Have used the already created callback. 2025-05-21 23:23:09 +05:30
Owaise Imdad deec5a096e Made the code more readable by separation of tasks. 2025-05-21 22:55:34 +05:30
Alexander Holliday 7b117d938f Merge pull request #2294 from bluewave-labs/feature/email-testing-without-saving
Feature/email testing without saving
2025-05-20 13:27:01 -07:00
Alexander Holliday e04212f9e9 Merge branch 'develop' into feature/email-testing-without-saving 2025-05-20 13:26:53 -07:00
Alexander Holliday 62e259e3e6 Merge pull request #2309 from bluewave-labs/feat/jobqueue-error-handling
feat: jobqueue error handling
2025-05-20 13:23:50 -07:00
Owaise Imdad dab2bb466f Added pause button in configuration page. 2025-05-20 21:36:31 +05:30
Alexander Holliday 0628fb2e41 Merge pull request #2314 from ajhollid/fix/env-vars
update config
2025-05-19 17:00:54 -07:00
Alex Holliday fefe124b87 update config 2025-05-19 17:00:28 -07:00
mohadeseh safari d5d3e14d96 Change API and Refactoring a handler function 2025-05-19 19:47:11 -04:00
Alexander Holliday 785b20d903 Merge pull request #2313 from bluewave-labs/fix/action-name
Fix/action name
2025-05-19 15:17:39 -07:00
Alex Holliday 016cd6fef0 update gitignore 2025-05-19 15:17:05 -07:00
Alex Holliday ff819b3f9f Add missing script 2025-05-19 15:16:55 -07:00
Alexander Holliday 667a388fe1 Merge pull request #2312 from bluewave-labs/fix/action-name
fix aciton name
2025-05-19 15:13:55 -07:00
Alex Holliday d9d25bb108 fix aciton name 2025-05-19 15:13:29 -07:00
Alexander Holliday 18eba3dbee Merge pull request #2311 from bluewave-labs/fix/monolithic-docker
fix: monolithic docker
2025-05-19 15:12:37 -07:00
Alex Holliday b6699c8aef user ghcr images 2025-05-19 15:11:02 -07:00
Alex Holliday d6681885e7 update workflows 2025-05-19 15:10:45 -07:00
Alex Holliday 870e84b539 add env vars 2025-05-19 15:04:58 -07:00
Alex Holliday c13a3e93b2 update gitignore 2025-05-19 15:00:57 -07:00
Alex Holliday 72cd3b592e add a docker config for a monolithic app 2025-05-19 15:00:11 -07:00
Alex Holliday 4d5c942464 remove extra logging 2025-05-19 12:29:54 -07:00
Alex Holliday 20911697cc remove double logging 2025-05-19 12:28:18 -07:00
Alex Holliday 08e1e22dad change failed job log level to error 2025-05-19 12:26:25 -07:00
Alexander Holliday 885c63b147 Merge pull request #2291 from bluewave-labs/feat/job-queue-refactor
feat: job queue refactor
2025-05-19 11:28:51 -07:00
Alex Holliday 7651596617 early return in event of bad network response 2025-05-19 11:23:40 -07:00
Alex Holliday fd1edf9651 user factory method 2025-05-19 11:23:26 -07:00
Alex Holliday 9414b87e27 update log msg 2025-05-19 11:23:13 -07:00
Alex Holliday 942104aea2 use logger 2025-05-19 11:22:53 -07:00
Alex Holliday 3ff0f6d399 add factory method, better logging 2025-05-19 11:22:46 -07:00
Alexander Holliday d07063b21b Merge pull request #2308 from bluewave-labs/Incident-button-on-details-page
Added incidents page in the details header.
2025-05-19 11:18:23 -07:00
Owaise Imdad 0be0c5bf3f Removed stop propogation. 2025-05-19 23:47:44 +05:30
Owaise Imdad f82665006c Added incidents page in the details header. 2025-05-19 23:42:33 +05:30
Alexander Holliday 27e02c53b8 Merge pull request #2295 from bluewave-labs/test-email-implementation-in-details-page
Email test button added in details page.
2025-05-19 10:57:40 -07:00
Owaise Imdad 17dcdfcb06 Added all the strings in locale file for gb. 2025-05-19 23:25:36 +05:30
Owaise Imdad 6ba52156b8 Made changes as requested in PR. 2025-05-19 23:21:00 +05:30
Alexander Holliday dbb6e4d37f Merge pull request #2298 from remememe/develop
fix: status page feature checkboxes not saving (Fixes #2274)
2025-05-19 10:07:36 -07:00
Alexander Holliday 586c9d054c Merge pull request #2293 from bluewave-labs/feat/settings-test-email-endpoint
feat: settings test email endpoint
2025-05-19 09:51:58 -07:00
Alexander Holliday 8643ac5661 Merge pull request #2296 from bluewave-labs/dependabot/npm_and_yarn/client/vite-5.4.19
Bump vite from 5.4.18 to 5.4.19 in /client
2025-05-19 09:50:51 -07:00
Alexander Holliday 79806322b1 Merge pull request #2302 from bluewave-labs/consistent-font-size
Consistent font sizes across all create/configure pages
2025-05-19 09:50:30 -07:00
Vishnu Sreekumaran Nair 13e80edb03 update bulk import page font size 2025-05-18 20:37:35 -04:00
Vishnu Sreekumaran Nair 4b22bcebdd update settings page font size 2025-05-18 20:35:55 -04:00
Vishnu Sreekumaran Nair b907ae9705 update status page create/config pages font size 2025-05-18 20:31:17 -04:00
Vishnu Sreekumaran Nair de1d1f8cad update infrastructure settings page font size 2025-05-18 20:27:56 -04:00
Vishnu Sreekumaran Nair 1cb1f48cdc update pagespeed create/configure page font size 2025-05-18 20:25:07 -04:00
Vishnu Sreekumaran Nair 02e48ad8da update uptime configure page font size 2025-05-18 20:18:02 -04:00
Vishnu Sreekumaran Nair 8e6eeabb48 update uptime settings page font size 2025-05-18 20:14:37 -04:00
remememe c22a0cea99 Merge branch 'develop' of https://github.com/remememe/Checkmate into develop 2025-05-18 14:30:09 +02:00
remememe d13c4a5531 fix: status page features checkboxes not saving 2025-05-18 13:54:51 +02:00
dependabot[bot] 4b950c8a83 Bump vite from 5.4.18 to 5.4.19 in /client
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.18 to 5.4.19.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.19/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.19/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 5.4.19
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-17 11:00:43 +00:00
Owaise Imdad cf344b1809 Email test button added in details page. 2025-05-17 11:51:31 +05:30
mohadeseh safari aaba9e8d42 Translation Fix 2025-05-16 19:59:19 -04:00
mohadeseh safari dbcdb24da6 feat: Enhance useSendTestEmail hook to support testing without saving
- Add support for optional email configuration parameter
- Implement improved error handling with detailed messages
- Add internationalization support for all user feedback
- Return appropriate error information for better UX
- Maintain backward compatibility with existing code
2025-05-16 19:45:24 -04:00
mohadeseh safari 083c395f10 feat: Update email testing to use form values without saving
- Modify test email button to collect current form values
- Add validation for required fields before testing
- Pass configuration directly to test endpoint
- Improve user experience by allowing testing before saving
2025-05-16 19:29:44 -04:00
mohadeseh safari 8ef45a7fb9 feat: Update email testing to use form values without saving
- Update sendTestEmail method to use new /api/v1/settings/test-email endpoint
- Send current form values directly to test endpoint without saving to DB
- Format request body according to backend requirements
2025-05-16 18:24:34 -04:00
Alex Holliday 5872879c9a inject email service into settings controller 2025-05-16 15:02:26 -07:00
Alex Holliday f6a2a66386 allow optional transport params 2025-05-16 15:02:07 -07:00
Alex Holliday d71181e65b add test-email body validation 2025-05-16 15:01:45 -07:00
Alex Holliday bea8ddb330 add a test email route to settings routes 2025-05-16 15:01:34 -07:00
Alex Holliday 0906e883c5 add test email controller method 2025-05-16 15:01:06 -07:00
Alexander Holliday e7694afeba Merge pull request #2292 from bluewave-labs/fix/bump-package-lock
update package-lock
2025-05-16 14:19:29 -07:00
Alex Holliday 9d69bd6782 update package-lock 2025-05-16 14:18:17 -07:00
Alex Holliday e6a387b8b2 refactor job queue 2025-05-16 14:09:49 -07:00
Alex Holliday b471c49cbf unordered bulk insert 2025-05-16 14:08:45 -07:00
Alex Holliday 79abb0fd84 rename methods 2025-05-16 14:07:47 -07:00
Alexander Holliday 69bcd07c01 Merge pull request #2290 from bluewave-labs/hotfix/bulk-insert-error-handling
hotfix: graceful error hanlding, unordered write
2025-05-16 09:55:24 -07:00
Alex Holliday 4a07c4f985 graceful error hanlding, unordered write 2025-05-16 09:54:35 -07:00
Alexander Holliday 443c002c31 Merge pull request #2281 from Anurag123Chauhan/fix/error-msg-change
Changed error msg of invalid of Docker container ID
2025-05-16 09:16:51 -07:00
Anurag123Chauhan fcfb225410 final indentation 2025-05-16 19:32:34 +05:30
Anurag123Chauhan ed03c17c22 last 2025-05-16 19:20:16 +05:30
Anurag123Chauhan 1d6a5a4442 Indent change 2025-05-16 19:16:52 +05:30
Anurag123Chauhan f415ca543b indent changes 2025-05-16 19:07:16 +05:30
Alexander Holliday f7beb4db0e Merge pull request #2287 from bluewave-labs/hotfix/uptime-perentage
hotfix: uptime-percentage
2025-05-15 14:21:30 -07:00
Alex Holliday 3fda54ca41 hotfix/uptime-percentage 2025-05-15 14:20:24 -07:00
Alexander Holliday 5ba352028d Merge pull request #2284 from bluewave-labs/feat/unified-details-header
feat: unified details header
2025-05-15 12:22:48 -07:00
Alexander Holliday 0fdb0a9e05 Merge pull request #2283 from bluewave-labs/fix/email-settings-strings
fix: update strings for email settings
2025-05-15 12:20:14 -07:00
Alex Holliday 93fab04d7c add jsdoc 2025-05-15 12:19:39 -07:00
Alexander Holliday 27649b33c0 Merge pull request #2285 from Br0wnHammer/fix/fe/infra-uptime-percent
Fix: Infra Uptime Percentage
2025-05-15 12:00:31 -07:00
Br0wnHammer 591fe567ec Fix: Infra Uptime Percentage 2025-05-16 00:23:50 +05:30
Alex Holliday eb67c7edff remove log statement 2025-05-15 11:47:40 -07:00
Alex Holliday 03a915a915 add loading state to pause button 2025-05-15 11:19:24 -07:00
Alex Holliday 6db850dd4d remove monitor from hook 2025-05-15 11:18:46 -07:00
Alex Holliday 85a428dd92 fix backwards monitor state 2025-05-15 10:51:21 -07:00
Alex Holliday 24cf4896aa use new header 2025-05-15 10:51:06 -07:00
Alex Holliday f9fcd4ff3a remove pause from uptime config page 2025-05-15 10:50:21 -07:00
Alex Holliday 54db96a03e add trigger to useFetchUptimeMonitorDetails 2025-05-15 10:49:38 -07:00
Alex Holliday 9263f9f950 add unified control header for all monitor details pages 2025-05-15 10:48:54 -07:00
Alex Holliday 04f75efa11 add hook for monitor contolrs 2025-05-15 10:48:32 -07:00
Alex Holliday a6e900e52a update strings for email settings 2025-05-15 09:49:24 -07:00
Alexander Holliday d48d3b9ff4 Merge pull request #2271 from catilgan-nextension/fix/nodemailer_relay
Enabling SMTP Relay with Nodemailer
2025-05-15 09:39:01 -07:00
Cahit Atilgan 8888a007f2 fix: added email connection validation (server side) 2025-05-15 15:30:04 +02:00
Cahit Atilgan e6b823d89e fix: added email connection validation 2025-05-15 15:16:36 +02:00
Cahit Atilgan 7327f24c47 fix: added email connection validation 2025-05-15 14:38:20 +02:00
Cahit Atilgan a3a381aad1 fix: removed env variable, configured a form field for editing email connect host 2025-05-15 14:27:08 +02:00
Cahit Atilgan 2b046dfe18 Merge branch 'develop' into fix/nodemailer_relay 2025-05-15 09:34:38 +02:00
Anurag123Chauhan 9da9ef6939 recommended changes 2025-05-15 11:16:02 +05:30
Anurag123Chauhan 18b439bad6 added msg 2025-05-15 11:05:45 +05:30
Anurag123Chauhan 0f91d3b6e1 fix: separate Docker ID and URL validation error messages 2025-05-15 11:03:05 +05:30
Anurag123Chauhan edad05b63b Changed error msg of invalid of Docker container ID 2025-05-15 10:48:04 +05:30
Alexander Holliday 54d7cbb121 Merge pull request #2279 from Br0wnHammer/fix/fe/port-validation
Fix: Port Validation Uptime
2025-05-14 14:31:54 -07:00
Br0wnHammer 3c48eacc98 Fix: Port Validation Uptime 2025-05-15 02:38:26 +05:30
Alexander Holliday 7964e731e4 Merge pull request #2278 from bluewave-labs/develop
hotfix: remove arm support
2025-05-14 12:17:43 -07:00
Alexander Holliday 8ffaaea28d Merge pull request #2277 from bluewave-labs/fix/remove-arm64-config
hotfix: remove arm64 config
2025-05-14 12:17:04 -07:00
Alex Holliday 8585500e7c remove build platform target 2025-05-14 12:16:09 -07:00
Alex Holliday 8a0725276b remove buildx 2025-05-14 12:10:16 -07:00
Alex Holliday a0f41b03ba add build platform target 2025-05-14 12:00:54 -07:00
Alexander Holliday 95743508c8 Merge pull request #2276 from bluewave-labs/develop
hotfix: notifications safe access
2025-05-14 10:44:52 -07:00
Alexander Holliday 3da5be3602 Merge pull request #2273 from fredrikburmester/develop
fix: TypeError in hardware notifications for null disk values
2025-05-14 10:43:52 -07:00
Fredrik Burmester f6e460d97a fix: typeof number check and more safety 2025-05-14 19:37:47 +02:00
Fredrik Burmester be20fb0dbb fix: TypeError in hardware notifications for null disk values 2025-05-14 16:08:18 +02:00
Cahit Atilgan e40b1f9c5b Merge branch 'develop' into fix/nodemailer_relay 2025-05-14 09:33:04 +02:00
Alexander Holliday 7a1b51a1fd Merge pull request #2268 from bluewave-labs/feat/buildx-arm
update workflow
2025-05-13 15:33:17 -07:00
Alex Holliday 077fae2147 update workflow 2025-05-13 15:32:28 -07:00
Alexander Holliday d825e6af7d Merge pull request #2267 from bluewave-labs/feat/buildx-arm
feat: build multi-arch images for dist
2025-05-13 15:29:48 -07:00
Alex Holliday 6dc5894b9a build multi-arch images for dist 2025-05-13 15:28:47 -07:00
Alexander Holliday 915a2b30b8 Merge pull request #2265 from bluewave-labs/develop
hotfix: remove version from returned settings
2025-05-13 13:52:38 -07:00
Alexander Holliday a003a5d48e Merge pull request #2264 from bluewave-labs/hotfix/remove-settings-version
hotfix: remove version from returned settings
2025-05-13 13:51:52 -07:00
Alex Holliday bf0d073aa8 remove version from returned settings 2025-05-13 13:51:11 -07:00
Gorkem Cetin (BWL) a114bd82fe Update README.md 2025-05-13 16:50:50 -04:00
Alexander Holliday 6c78a918c6 Merge pull request #2262 from bluewave-labs/develop
Develop -> Master, 2.1 release
2025-05-13 13:29:44 -07:00
Alexander Holliday 370584c501 Merge branch 'master' into develop 2025-05-13 13:28:18 -07:00
Alexander Holliday baf22fbd18 Merge pull request #2261 from bluewave-labs/fix/settings-migration
fix: add migration for settings doc
2025-05-13 13:18:59 -07:00
Alex Holliday 73ddd54d20 add migration for settings doc 2025-05-13 12:58:01 -07:00
Alexander Holliday 5f0ad17b34 Merge pull request #2260 from bluewave-labs/hotfix/conditional-alert-render
hotfix: conditionally render alert based on settings
2025-05-13 10:00:14 -07:00
Alex Holliday e7ef068945 conditionally render alert based on settings 2025-05-13 09:59:21 -07:00
Alexander Holliday fcbc69b04a Merge pull request #2239 from sonvir249/bug/fix-form-errors
Issue-2238: Fixes the error messages on various forms.
2025-05-13 09:47:50 -07:00
Alexander Holliday e5589acee3 Merge pull request #2259 from bluewave-labs/hotfix/docker-compose-dist
fix: ammend base url for dist version
2025-05-13 09:17:11 -07:00
Alex Holliday 3d553ff9c7 ammend base url for dist version 2025-05-13 09:15:41 -07:00
Cahit Atilgan 12925c515a fix: configuring gmail smtp relay without any authentication 2025-05-13 18:07:53 +02:00
Gorkem Cetin (BWL) afcc33b6d8 Add deepwiki 2025-05-13 11:16:09 -04:00
Cahit Atilgan 8c64221f88 fix: configuring gmail smtp relay without any authentication 2025-05-13 16:21:30 +02:00
Alexander Holliday 6eac73218d Merge pull request #2255 from bluewave-labs/Fix-untranslated-strings
Fix untranslated strings
2025-05-12 19:45:22 -07:00
mohadeseh safari 70ea2105b2 Cancel button 2025-05-12 21:17:06 -04:00
mohadeseh safari 4e5cebc569 fix Passwordpanel 2025-05-12 21:04:32 -04:00
mohadeseh safari 8d49706d43 Add translation for Log out menu item in all locale files 2025-05-12 20:58:02 -04:00
mohadeseh safari 333fa5bb94 Add translations for PasswordPanel component in all locale files 2025-05-12 20:52:50 -04:00
mohadeseh safari a5efce0de6 Update capitalization of 'Distributed Uptime' in translation files 2025-05-12 20:34:54 -04:00
mohadeseh safari 3a18ac9677 Add translatable key for Incidents page title 2025-05-12 20:30:54 -04:00
Alexander Holliday f43aa76804 Merge pull request #2253 from bluewave-labs/feat/settings-update
feat: settings update
2025-05-12 15:46:52 -07:00
Alex Holliday e46d94aac3 fix case 2025-05-12 11:43:48 -07:00
Alexander Holliday f19005adab Merge pull request #2252 from bluewave-labs/fix/pagespeed
fix: load pagespeed from DB settings
2025-05-12 11:39:12 -07:00
Alex Holliday 395cc5db77 Add missing string getter 2025-05-12 11:38:51 -07:00
Alex Holliday ea64316c55 add missing FROM field 2025-05-12 11:37:59 -07:00
Alex Holliday 880f57a308 Add hook for sending test emails 2025-05-12 11:37:28 -07:00
Alex Holliday 27fc5fd5f7 add method for sending test emails 2025-05-12 11:37:15 -07:00
Alex Holliday 9cfbf6adde conditionally render pages, add test email button 2025-05-12 11:36:54 -07:00
Alexander Holliday 53fe67959d Merge pull request #2251 from bluewave-labs/fix/fe/monitor-resume-pause
Fix - Monitor Resume and Pause toast messages were switched
2025-05-12 10:59:16 -07:00
Alex Holliday 6ec107f218 load pagespeed from DB settigns 2025-05-12 10:56:58 -07:00
Vishnu Sreekumaran Nair 3955524835 Return updated monitor state in pauseMonitor 2025-05-12 13:50:58 -04:00
Vishnu Sreekumaran Nair 22953ac30a revert back toast messages 2025-05-12 13:47:32 -04:00
mohadeseh safari 8a6ca9ea1c -translated “Light” and “Dark” in theme mode select input
- uptimeCreateSelectURL
2025-05-12 13:14:08 -04:00
sonvir249 f5b0377ce2 Merge branch 'develop' of github.com:bluewave-labs/Checkmate into bug/fix-form-errors 2025-05-12 22:37:11 +05:30
Alexander Holliday c4a0200ebc Merge pull request #2250 from bluewave-labs/hotfix/monitor-status
hotfix: monitor status values
2025-05-12 09:43:18 -07:00
Alex Holliday 51973e432b fix values 2025-05-12 09:40:59 -07:00
Vishnu Sreekumaran Nair e87c057ccb switch conditional values for state variable 2025-05-12 12:40:53 -04:00
Alexander Holliday b51a3f6b7d Merge pull request #2249 from Br0wnHammer/fix/infra-monitor-filters
Fix: Infra Monitors Filters
2025-05-12 09:21:41 -07:00
Br0wnHammer 8f67829432 Fix: Infra Montior Filters 2025-05-12 21:50:19 +05:30
Alexander Holliday 70e6ce2ba9 Merge pull request #2248 from Br0wnHammer/fix/fe/tls-error-alignment
Fix: TLS Error Switch Alignment
2025-05-12 09:19:37 -07:00
Br0wnHammer 17451c660e Fix: Infra Montior Filters 2025-05-12 21:46:52 +05:30
Alexander Holliday 1646f71c25 Merge pull request #2247 from Br0wnHammer/fix/fe/translation-key-state
Fix: Translation Keys Missing
2025-05-12 09:15:06 -07:00
mohadeseh safari 8b93be6bcf Translated key 2025-05-12 11:41:43 -04:00
mohadeseh safari ef911731d6 Merge latest changes from develop branch 2025-05-12 11:27:08 -04:00
mohadeseh safari 0f416bfafc Translate Contorls in sidebar 2025-05-12 10:28:40 -04:00
mohadeseh safari 3fffae9a80 - Add detailed translation for "uptimeCreateSelectURL" in monitor creation page
- Add translations for password reset screen elements:
  - "Email" label
  - "Enter your email" placeholder
2025-05-12 10:13:44 -04:00
Br0wnHammer e58f97f71e Fix: Infra Monitors Filters 2025-05-12 14:46:32 +05:30
Br0wnHammer 16ab393882 Fix: TLS Error Switch Alignment 2025-05-12 13:16:11 +05:30
Aryaman Kumar Sharma a4d50e8cf6 Fix: Translation Keys Missing 2025-05-12 12:13:59 +05:30
Alexander Holliday 7ace30e678 Merge pull request #2241 from bluewave-labs/fix/table-font
fix: set tablecell font size to base typography level, resolves #2237
2025-05-11 14:23:07 -07:00
sonvir249 f0d2c57035 Issue-2238: Fixes the error messages on various forms. 2025-05-11 06:21:12 +05:30
Alexander Holliday 7df3796880 Merge pull request #2244 from bluewave-labs/hotfix/locale
hotfix: bad conflict resolution
2025-05-10 16:29:34 -07:00
Alex Holliday 09dbcf3283 fix bad conflict resolution 2025-05-10 16:29:04 -07:00
Alexander Holliday 57759e89d1 Merge pull request #2243 from bluewave-labs/fix/docker-ports
fix: don't expose redis and mongo ports
2025-05-10 16:26:24 -07:00
Alex Holliday 27a3cbc45d don't expose redis and mongo ports 2025-05-10 16:24:39 -07:00
Alexander Holliday f440a1278b Merge pull request #2231 from bluewave-labs/fix/settings-cleanup
fix: settings cleanup
2025-05-10 16:17:23 -07:00
Alexander Holliday 32258d66b5 Merge branch 'develop' into fix/settings-cleanup 2025-05-10 16:17:06 -07:00
Alexander Holliday 84c2ad421e Merge pull request #2242 from bluewave-labs/fix/formatting
format locale
2025-05-10 16:16:23 -07:00
Alex Holliday a54cc56625 format locale 2025-05-10 16:15:58 -07:00
Alexander Holliday 38f52af0f0 Merge pull request #2232 from bluewave-labs/feat/email-settings
feat: email settings
2025-05-10 16:13:35 -07:00
Alex Holliday 267c46bbd1 set tablecell font size to base typography level 2025-05-10 16:11:35 -07:00
Gorkem Cetin (BWL) 1298e0cade Update pull_request_template.md 2025-05-10 16:49:05 -04:00
Gorkem Cetin (BWL) 3eb2fe1ed3 Update pull_request_template.md 2025-05-10 15:23:08 -04:00
Alexander Holliday 6188d0c6a0 Merge pull request #2236 from bluewave-labs/hotfix/tab-font-size
hotfix: remove font offset
2025-05-09 20:31:40 -07:00
Alex Holliday 6b7bd77c0f remove font offset 2025-05-09 20:30:49 -07:00
Alexander Holliday 4b8ca7dcce Merge pull request #2235 from bluewave-labs/hotfix/stauts-boxes
hotfix:remove toUpperCase
2025-05-09 20:23:36 -07:00
Alex Holliday efab70b4d8 remove toUpperCase 2025-05-09 20:22:46 -07:00
Alexander Holliday 8ef7e1e4ce Merge pull request #2230 from bluewave-labs/fix/untranslated-menu-uptime
Fix/untranslated sidebar and uptime page
2025-05-09 19:06:45 -07:00
mohadeseh safari 390f027333 uptimeCreateSelectURL 2025-05-09 21:25:52 -04:00
mohadeseh safari 79326c6b74 translated “Light” and “Dark” in theme mode select input 2025-05-09 21:14:02 -04:00
mohadeseh safari 68f0d4dc67 add missing translations for UI elements 2025-05-09 20:55:34 -04:00
Alexander Holliday 9411f85401 Merge pull request #2225 from Trained-Monkey/fix/button-font-size
fix - font size to 13px
2025-05-09 16:16:02 -07:00
Alex Holliday fc655e7711 refactor to use new settings return type 2025-05-09 14:54:28 -07:00
Alex Holliday 2f93b70d7f add client validation 2025-05-09 14:54:17 -07:00
Alex Holliday 70441874af add strings 2025-05-09 14:54:02 -07:00
Alex Holliday 342e67593b correct error handling 2025-05-09 14:53:53 -07:00
Alex Holliday 36d78a9aa4 update return type for settigns 2025-05-09 14:53:36 -07:00
mohadeseh safari 3ccfc462c1 Transalated all strings in TeamPanel 2025-05-09 17:53:21 -04:00
Alex Holliday fcd6af259e add optional email user 2025-05-09 14:53:20 -07:00
Alex Holliday 0f80524127 unset email password 2025-05-09 14:53:03 -07:00
Alex Holliday 0a723572a2 move transporter creation 2025-05-09 14:52:44 -07:00
Alex Holliday d0ec67236d allow systememail user 2025-05-09 14:52:24 -07:00
Alex Holliday f7d780a8be add email settings component 2025-05-09 14:52:09 -07:00
Alex Holliday 10d575a7ce add hooks 2025-05-09 13:29:05 -07:00
Alex Holliday 6d79b1d823 refactor settings page 2025-05-09 13:28:44 -07:00
Alex Holliday cba744f777 update validation 2025-05-09 13:28:04 -07:00
Alex Holliday a6ab7b652f update prop types 2025-05-09 13:27:30 -07:00
Alex Holliday 217268b42f unset API key if 2025-05-09 13:26:39 -07:00
Alex Holliday e4c5457518 update model 2025-05-09 13:26:17 -07:00
Alex Holliday cdb7e6fb9a create settings if it doesn't exist 2025-05-09 13:25:50 -07:00
Alex Holliday efcd7d1162 update validation 2025-05-09 13:24:47 -07:00
mohadeseh safari 449a75eb2c - Added translations for Status filter options (Up/Down) using monitorStatus keys
- Added translations for State filter options (Active/Paused) using monitorState keys
2025-05-09 15:34:55 -04:00
mohadeseh safari 25f2828a15 fix "superadmin" translate 2025-05-09 15:17:20 -04:00
mohadeseh safari 13c4390f96 fix: translate UI elements in menu and uptime page
- Added translations for sidebar menu items in all languages
- Fixed "Create new" button to use translation instead of hardcoded text
- Added missing translations for "Bulk Import" in Russian and Turkish
- Translated status box labels (UP, DOWN, PAUSED) in the uptime monitors page
- Made greeting component fully translatable with proper context
- Fixed lint warnings in components
2025-05-09 14:58:13 -04:00
mohadeseh safari 3a574b2f4e translate menu items 2025-05-09 14:40:07 -04:00
Alexander Holliday 1c02c15c04 Merge pull request #2227 from bluewave-labs/fix/default-server-port
fix: default server port
2025-05-09 09:38:12 -07:00
Alex Holliday 5d0877d91d use port 52345 for server by default 2025-05-09 09:33:35 -07:00
Michael Chen 6304212645 fix: removed css reference, theme fontSize changed 2025-05-10 02:31:16 +10:00
Michael Chen 2ee381f0b7 fix: changed from space indentation to tabs 2025-05-09 22:12:50 +10:00
Michael Chen 27ea9b2aed fix: button font size is now 13px 2025-05-09 22:07:20 +10:00
Alex Holliday 57d87114de add a temp api key field to separate control state form visual state 2025-05-08 13:44:59 -07:00
Alex Holliday 7a855ef47a return db settings only to client, sanitize keys 2025-05-08 13:24:24 -07:00
Alexander Holliday 07dca41220 Merge pull request #2223 from Br0wnHammer/feat/fe/uptime-ignore-tls-error-config
Feat: Ignore TLS/SSL Error Option in Config
2025-05-08 13:14:45 -07:00
Alex Holliday 91c2f7f0d5 Remove DB settings from settings service 2025-05-08 13:11:51 -07:00
Br0wnHammer 4d9e47d93a Feat: Ignore TLS/SSL Error Option in Config 2025-05-09 01:35:27 +05:30
Alexander Holliday c466edb751 Merge pull request #2220 from Br0wnHammer/feat/fe/uptime-ignore-tsl-error
Feat: Ignore TLS/SSL Error Option
2025-05-08 12:01:03 -07:00
Alexander Holliday a8f46d913d Merge branch 'develop' into feat/fe/uptime-ignore-tsl-error 2025-05-08 12:00:50 -07:00
Alexander Holliday 6ff287d3d7 Merge pull request #2218 from bluewave-labs/fe/modify-pagespeed-warning
Modify PageSpeed warning box
2025-05-08 11:52:21 -07:00
Alexander Holliday 04143c13e3 Merge pull request #2217 from bluewave-labs/feat/add-pagespeedapikey-settings
Feature - Add/Reset PageSpeed API key in Settings
2025-05-08 11:51:42 -07:00
Alexander Holliday f66b105f47 Merge pull request #2221 from Br0wnHammer/fix/fe/ui-fix-infra-page
Fix: UI Fixes on Infra Page
2025-05-08 11:29:20 -07:00
Alexander Holliday 0dbb72fe59 Merge pull request #2222 from bluewave-labs/fix/disabled-colors
fix: disabled field colors
2025-05-08 11:28:32 -07:00
Alex Holliday d82b0ad674 apply colors to theme 2025-05-08 10:40:36 -07:00
Alex Holliday 002e9ce18a add colors for borders/disabled borders 2025-05-08 10:40:17 -07:00
Alex Holliday c45a282990 remove text input component styles 2025-05-08 10:39:49 -07:00
Aryaman Kumar Sharma 70ec000266 Fix: UI Fixes on Infra Page 2025-05-08 17:46:52 +05:30
Br0wnHammer 4cce2da5b8 Feat: Ignore TLS/SSL Error Option 2025-05-08 15:47:20 +05:30
Br0wnHammer 926f96c2c1 Feat: Ignore TLS/SSL Error Option 2025-05-08 15:28:44 +05:30
Vishnu Sreekumaran Nair 8d2f0bd183 add back pagespeedapikey check to showPageSpeedWarning 2025-05-07 18:30:04 -04:00
Vishnu Sreekumaran Nair 077faa26dd import and use Link to navigate to settings page 2025-05-07 18:28:23 -04:00
Vishnu Sreekumaran Nair ea10e170f4 update localized strings 2025-05-07 18:23:06 -04:00
Vishnu Sreekumaran Nair 1a1a5c39d2 update showPageSpeedWarning prop in fallback 2025-05-07 18:18:27 -04:00
Vishnu Sreekumaran Nair 97f9d91066 add useSelector to get pagespeedApiKey 2025-05-07 18:16:59 -04:00
Alexander Holliday 8d2ec585ab Merge pull request #2216 from bluewave-labs/fix/status-box-alignment
fix: status box alignment
2025-05-07 13:54:34 -07:00
Vishnu Sreekumaran Nair 3e8c7cf32c resolve merge conflicts 2025-05-07 16:18:26 -04:00
Vishnu Sreekumaran Nair 51d9719293 update the layout structure to improve UI 2025-05-07 15:45:09 -04:00
Vishnu Sreekumaran Nair 376b820ff4 add spacing between label and input field for textinput component 2025-05-07 15:04:08 -04:00
Vishnu Sreekumaran Nair 7c8aea0323 add localisation for strings 2025-05-07 14:57:50 -04:00
Alex Holliday eb380ce8cc fix status box alignment 2025-05-07 11:36:42 -07:00
Vishnu Sreekumaran Nair e7742f9be8 update helpertext and add typography component to display note 2025-05-07 14:17:47 -04:00
Vishnu Sreekumaran Nair f2e8f16af8 update pagespeed input field jsx 2025-05-07 13:55:48 -04:00
Vishnu Sreekumaran Nair d963fe65c1 add handler function to reset api key 2025-05-07 13:53:45 -04:00
Vishnu Sreekumaran Nair 8ce7477b06 update useffect to handle pagespeed key 2025-05-07 13:52:48 -04:00
Alexander Holliday 626bf381cf Merge pull request #2215 from ajhollid/fix/env
fix: .env.production
2025-05-07 10:51:43 -07:00
Vishnu Sreekumaran Nair 26e9ff3568 add flag to track if api key is set 2025-05-07 13:51:34 -04:00
Alex Holliday f5954a600b fix .env.production 2025-05-07 10:50:55 -07:00
Alexander Holliday 0336164ed5 Merge pull request #2093 from bluewave-labs/feature/backend-reachability-with-translations
Feature/backend reachability with translations
2025-05-07 10:38:45 -07:00
Alexander Holliday faaf758cc0 Merge branch 'develop' into feature/backend-reachability-with-translations 2025-05-07 10:38:35 -07:00
Alexander Holliday 8bee0513cc Merge pull request #2182 from peZhmanParsaee/bugfix/hide-certificate-expiry-for-non-http-uptimes
hide certificate expiry box for non-http uptimes
2025-05-07 10:30:06 -07:00
Alexander Holliday f3a9324f33 Merge pull request #2214 from bluewave-labs/fix/docker-config
update .env.produciton, update dev docker build
2025-05-07 10:29:07 -07:00
Alex Holliday 6033d1545e update .env.produciton, update dev docker build 2025-05-07 10:21:41 -07:00
Alexander Holliday 6b34eab660 Merge pull request #2210 from bluewave-labs/fix/translation-fixes-2015
Fix/translation fixes- Part 2
2025-05-07 09:17:39 -07:00
Alexander Holliday 99e27fc0c6 Merge branch 'develop' into fix/translation-fixes-2015 2025-05-07 09:17:28 -07:00
Alexander Holliday 433b5b89a8 Merge pull request #2211 from Br0wnHammer/fix/fe/status-page-monitor-header
Fix: Status Page Create Monitor Button Loading
2025-05-06 23:09:20 -07:00
Aryaman Kumar Sharma fe294b8a33 Fix: Status Page Create Monitor Button Loading 2025-05-07 11:31:37 +05:30
mohadeseh safari 8e8f35b447 simplify styling in ServerUnreachable component 2025-05-06 23:27:10 -04:00
mohadeseh safari 4df4dc72e1 improve email validation error handling with partial string matching 2025-05-06 22:37:35 -04:00
mohadeseh safari f928322ec7 . 2025-05-06 22:19:50 -04:00
mohadeseh safari 9a5de71158 Fix 2025-05-06 22:15:27 -04:00
mohadeseh safari 74b1d3e245 Low quality of English text 2025-05-06 22:08:36 -04:00
Alexander Holliday 3baaf60deb Merge pull request #2208 from bluewave-labs/fix/missing-client-host-var
fix env var name
2025-05-06 19:02:08 -07:00
Alex Holliday 038b7a150c fix env var name 2025-05-06 19:01:23 -07:00
Alexander Holliday 4f117b57b0 Merge pull request #2207 from bluewave-labs/fix/missing-client-host-var
fix: add client-host
2025-05-06 18:47:43 -07:00
Alex Holliday aafdff3b0a add client-host 2025-05-06 18:46:35 -07:00
mohadeseh safari 8aa609c0ab fix translation 2025-05-06 20:25:19 -04:00
Vishnu Sreekumaran Nair 91d3732645 add useffect to load pagespeed key in the form 2025-05-06 16:47:53 -04:00
Vishnu Sreekumaran Nair 85c3a16f41 add pagespeed to intialstate and handler in settingsslice 2025-05-06 16:45:48 -04:00
Vishnu Sreekumaran Nair b493b5e0e5 modify loadSettings logic to fetch env from DB 2025-05-06 15:57:00 -04:00
Vishnu Sreekumaran Nair 3e8f3a7a89 include pagespeedapikey to parsedSettings to save in db 2025-05-06 15:56:01 -04:00
Vishnu Sreekumaran Nair 9dc6c3c7b1 revert loadsettings changes 2025-05-06 14:57:07 -04:00
Vishnu Sreekumaran Nair 336ffcc9e9 Add .unknown(true) to validation schema to ignore extra fields 2025-05-06 14:53:24 -04:00
Vishnu Sreekumaran Nair 47f8494193 update handlechange to modify form validation logic 2025-05-06 14:29:59 -04:00
Alexander Holliday bcd0544d33 Merge pull request #2205 from bluewave-labs/hotfix/pagespeed-monitors-config
hotfix: pagespeed monitors config
2025-05-06 11:05:39 -07:00
Alex Holliday 83e1cb0304 provide default empty notification array 2025-05-06 11:05:13 -07:00
Alex Holliday 4bc9f59d80 fix loading prop 2025-05-06 10:53:07 -07:00
Alex Holliday ddb2b55c42 uncomment notifications for pagespeed 2025-05-06 10:52:17 -07:00
Alexander Holliday ce44f36662 Merge pull request #2204 from bluewave-labs/fix/validation
hotfix: validation
2025-05-06 10:28:23 -07:00
Alex Holliday 3469954ad8 hotfix/validation 2025-05-06 10:26:31 -07:00
Alexander Holliday 142b6a909f Merge pull request #2203 from Br0wnHammer/fix/fe/monitor-header-button
Fix: Monitor Header Button Loading Fix
2025-05-06 10:25:56 -07:00
Br0wnHammer d99905539e Fix: Monitor Header Button Loading Fix 2025-05-06 22:52:56 +05:30
Alexander Holliday ceb75a7311 Merge pull request #2202 from bluewave-labs/feat/ignore-ssl-errors
feat: ignore ssl errors
2025-05-06 10:14:35 -07:00
Alexander Holliday a79839b4d0 Merge pull request #2199 from bluewave-labs/feat/redis-service
feat: redis service, resovles #2112
2025-05-06 10:14:21 -07:00
Alex Holliday d7d4cfcfa5 add validation 2025-05-06 10:08:27 -07:00
Alex Holliday 534890c98c ingore TLS errors if flag ste 2025-05-06 10:08:19 -07:00
Alex Holliday 8f17c6da81 add ingoreTLsErrors 2025-05-06 10:07:43 -07:00
mohadeseh safari c7daff8f1f some of them fixed 2025-05-05 19:57:12 -04:00
Alexander Holliday 3625522068 Merge pull request #2200 from Cihatata/fix/language-detection
Fix/language detection
2025-05-05 14:33:27 -07:00
Alexander Holliday a1dcd5970f Merge branch 'develop' into fix/language-detection 2025-05-05 14:33:15 -07:00
cihatata f5a0932489 fix: remove localstorage usage 2025-05-06 00:29:58 +03:00
cihatata 82b9dcea4f fix: remove cron 2025-05-06 00:09:49 +03:00
Alex Holliday 0694bd06d1 use redis service 2025-05-05 14:01:17 -07:00
Alex Holliday 0687f737a7 add a redis service to handle redis connection 2025-05-05 14:00:33 -07:00
Alex Holliday 7072edf440 remove log statement 2025-05-05 13:59:14 -07:00
cihatata 16e014a6fe fix: language detection - server 2025-05-05 23:55:56 +03:00
cihatata e58c47c205 fix: language detection 2025-05-05 23:55:21 +03:00
Vishnu Sreekumaran Nair 86c31eaaf6 add pagespeed key to settings validation 2025-05-05 16:06:24 -04:00
Vishnu Sreekumaran Nair d4ed97992f update dispatch action to include pagespeedapi key 2025-05-05 16:03:30 -04:00
Vishnu Sreekumaran Nair cc454ab519 update loadSettings logic to prioritize db env values for testing 2025-05-05 16:02:59 -04:00
Alex Holliday 8357bd910f properly load log level from ENV, add debug log level 2025-05-05 12:48:03 -07:00
Alexander Holliday 62c706d292 Merge pull request #2192 from Br0wnHammer/fix/fe/rerender-ui-components
Fix: Re-render of Unrelated UI Components
2025-05-05 12:32:08 -07:00
Br0wnHammer 673022120f Fix: Re-render of unrelated UI Components 2025-05-06 00:41:40 +05:30
Vishnu Sreekumaran Nair 2f8981e379 import and use adorment in textinput to toggle visibility 2025-05-05 15:10:32 -04:00
Alexander Holliday ae72f91a50 Merge pull request #2196 from bluewave-labs/Test-mail-backend-implementation
Initial push for the test email
2025-05-05 12:09:30 -07:00
Owaise Imdad bd23648079 string service for subject. 2025-05-06 00:38:38 +05:30
Owaise Imdad c2eeed8121 Finall touch on string msgs. 2025-05-06 00:37:01 +05:30
Owaise Imdad 87573945f2 returing msg instead of error. 2025-05-06 00:33:31 +05:30
Owaise Imdad f8233aef08 local en addition. 2025-05-06 00:28:54 +05:30
Owaise Imdad 6268917abe Use string service for success. 2025-05-06 00:27:27 +05:30
Vishnu Sreekumaran Nair d58dee6983 add new inputfield for api key in settings 2025-05-05 14:56:24 -04:00
Owaise Imdad 6d4b3f5174 Returing only internal error spaces. 2025-05-06 00:25:02 +05:30
Owaise Imdad 0b9535820f Added returing of error message if the mail fails. 2025-05-06 00:22:26 +05:30
Pezhman Parsaee 9b216cd059 changed the condition to show the certificate expiry box for http monitor type 2025-05-05 20:38:19 +02:00
Owaise Imdad 73e3aaf017 Initial push for the test email 2025-05-06 00:08:11 +05:30
Alexander Holliday acc6c96d8d Merge pull request #2180 from ajhollid/fix/comment-out-distributed-uptime
fix: comment out distributed uptime
2025-05-05 11:37:34 -07:00
Pezhman Parsaee 288fd4ca1b removed newly created constant for monitor types 2025-05-05 20:36:43 +02:00
Alexander Holliday 6843a04e11 Merge pull request #2186 from gmliu56/ui/public-status-page-link
Added Public Link Button on Status Page if published
2025-05-05 11:27:36 -07:00
Alexander Holliday 27b9a170c1 Merge pull request #2193 from Br0wnHammer/fix/fe/action-menu-button
Fix: Infra Page Actions Button Disabled for Members
2025-05-05 11:14:24 -07:00
Nicholas Liu f31669b341 Changed publicUrl to constant uptime type and changed "Public link" text 2025-05-05 10:23:02 -07:00
Alexander Holliday e330a7f8d7 Merge pull request #2184 from bluewave-labs/Flex-End-for-Monitor-Timing
Added flex end instead of space between as mentioned in #2178
2025-05-05 09:43:05 -07:00
Br0wnHammer 4df043209a Fix: Infra Page Actions Button Disabled for Members 2025-05-05 15:16:14 +05:30
Br0wnHammer 7bb1245e52 Fix: Re-render of unrelated UI Components 2025-05-05 14:41:32 +05:30
Gorkem Cetin (BWL) 911d9e4ca1 Update README.md 2025-05-05 01:53:29 -04:00
Alexander Holliday 2ab39f8fcd Merge pull request #2189 from bluewave-labs/hotfix/notifications
hotfix: missing dependency array
2025-05-04 22:27:35 -07:00
Alex Holliday c9fe0ced37 fix missing dependency array 2025-05-04 22:26:06 -07:00
Owaise Imdad 33b07fe369 Aligned the text in middle of the buttons and also removed the bottom margin. 2025-05-05 09:27:03 +05:30
Nicholas Liu cb113f642a Added Public Link Button on Status Page if published 2025-05-04 20:23:59 -07:00
mohadeseh safari 8e495d1251 remove "the backend server is reachable" 2025-05-04 23:16:34 -04:00
mohadeseh safari 791714caeb using axios response interceptor 2025-05-04 22:54:55 -04:00
Alexander Holliday d44d733dfd Merge pull request #2183 from bluewave-labs/translation-update-64
🌐 Updated Translations from POEditor
2025-05-04 10:46:55 -07:00
Pezhman Parsaee d68c8e523d changed conditional rendering to hide certificate expiry box for non http uptimes 2025-05-04 11:35:48 +02:00
Pezhman Parsaee fd64a67360 defined a constant for the type of monitors 2025-05-04 11:34:36 +02:00
Owaise Imdad f78430f0d7 Added flex end instead of space between as mentioned in #2178 2025-05-04 12:51:36 +05:30
GitHub Action ac2b55f1e0 feat: translations updated from POEditor 2025-05-04 00:34:11 +00:00
Alexander Holliday 8627db206a Merge pull request #2176 from bluewave-labs/Addition-Of-Bulk-Import-In-Fallback
Addition of fallback in the main page.
2025-05-03 16:32:43 -07:00
Alexander Holliday fe6147d145 Merge pull request #2181 from bluewave-labs/Notification-In-Configuration-Tab
Added notification in configure page as well. Used useEffect to retrive the information if once added.
2025-05-03 16:31:04 -07:00
Pezhman Parsaee 3df19fc516 hide certificate expiry box for non-http uptimes 2025-05-04 01:21:53 +02:00
Owaise Imdad 914e1d6829 Added notification in configure page as well. Used useEffect to retrive the information if once added. 2025-05-04 01:39:29 +05:30
Owaise Imdad 712fd0a56f Fixed the strict evaluation and text of the button. 2025-05-04 00:16:08 +05:30
Gorkem Cetin (BWL) 1afde4e16d Remove distributed uptime from the release for now 2025-05-02 21:56:04 -04:00
Alex Holliday fbff4317b6 comment out distributed uptime 2025-05-02 15:53:33 -07:00
Alexander Holliday 8d24f66f69 Merge pull request #2177 from bluewave-labs/translation-update-62
🌐 Updated Translations from POEditor
2025-05-02 10:19:40 -07:00
Alexander Holliday f1bd8fed53 Merge pull request #2175 from bluewave-labs/fix/edit-port-number
Add Port field edit support for Port Monitors Configure screen
2025-05-02 09:16:25 -07:00
GitHub Action 5d3a009452 feat: translations updated from POEditor 2025-05-02 00:30:19 +00:00
Vishnu Sreekumaran Nair c2ccf344a8 Add frontend validation for port field values 2025-05-01 20:20:21 -04:00
Owaise Imdad 5d6ae745f4 Made the text dynamic with respect to language now. 2025-05-02 03:30:14 +05:30
Owaise Imdad 8d15418777 Addition of fallback in the main page. 2025-05-02 03:25:04 +05:30
Alexander Holliday 464a6398d0 Merge pull request #2154 from bluewave-labs/Feature-Bulk-Upload-Of-Monitors
Feature release for bulk upload of uptime monitors
2025-05-01 14:36:44 -07:00
Owaise Imdad 30ef28170c Removed all return error ro throw new err where this will be send to middleware. 2025-05-02 02:54:39 +05:30
Alexander Holliday 45dacdba4c Merge pull request #2158 from bluewave-labs/fix/translation-fixes-2015
Fix/translation fixes 2015
2025-05-01 14:09:29 -07:00
mohadeseh safari ce6789791e changed error message 2025-05-01 14:17:22 -04:00
Vishnu Sreekumaran Nair 2fb20bfff9 allow 'port' field in edit monitor schema 2025-05-01 13:47:10 -04:00
Vishnu Sreekumaran Nair b7b6724ce5 include port in update payload for port monitors 2025-05-01 13:46:10 -04:00
Vishnu Sreekumaran Nair a750176037 add port input field when editing port monitors 2025-05-01 13:22:55 -04:00
Alexander Holliday 13eae5dc76 Merge pull request #2173 from bluewave-labs/fix/docker-script
fix: update build_images.sh to be backwards compatible with older bash ver…
2025-05-01 09:37:57 -07:00
Owaise Imdad 075559ffc3 Fixed the errors coming out in csv. 2025-05-01 12:05:28 +05:30
Alex Holliday 84c3cf5b0e update build_images.sh to be backwards compatible with older bash versions 2025-04-30 12:11:37 -07:00
Owaise Imdad ecce31ce34 Added proper csv file which can be downloaded. 2025-04-30 23:59:25 +05:30
Owaise Imdad 8a53ddcf15 Replaced the object destructing with array as it is a standard pratice. 2025-04-30 23:52:17 +05:30
Alexander Holliday d76e3d42a1 Merge pull request #2171 from bluewave-labs/fix/infra-status-text-color-2170
Fix inconsistent text color in infrastructure monitor status boxes (#2170)
2025-04-29 09:28:18 -07:00
Owaise Imdad 59027cf33c Fixed the issue with respect to imports. 2025-04-29 15:07:46 +05:30
Owaise Imdad 2a045f93e0 Removed the validation from client. 2025-04-29 12:49:33 +05:30
Owaise Imdad bd8554707d Moved the parsing logic to backend as suggested. 2025-04-29 12:47:24 +05:30
mohadeseh safari 36edb17bc4 fix 2025-04-28 22:59:49 -04:00
mohadeseh safari a15c5635db some modification 2025-04-28 22:48:09 -04:00
Alexander Holliday 77715df3b1 Merge pull request #2167 from bluewave-labs/fix/pull-on-build
fix: add git pull to staging and produciton deploy workflows
2025-04-28 15:47:01 -07:00
Alex Holliday f7755f1cff add git pull to staging and produciton deploy workflows 2025-04-28 15:46:20 -07:00
Alexander Holliday ad4b545d56 Merge pull request #2166 from bluewave-labs/feat/mount-docker-socket
mount docker socket
2025-04-28 15:41:29 -07:00
Alex Holliday ce4886f925 mount docker socket 2025-04-28 15:41:00 -07:00
Alexander Holliday dee5730481 Merge pull request #2165 from ajhollid/feat/release-workflow
feat: release workflow
2025-04-28 13:35:36 -07:00
Alex Holliday 0796103c33 update nginx to remove reverse proxy for client 2025-04-28 13:34:16 -07:00
Alex Holliday 07d58c2675 ignore docker compose test 2025-04-28 13:33:50 -07:00
Alex Holliday 9259cb75aa remove secret env config 2025-04-28 13:33:30 -07:00
Alexander Holliday bad9eb5e05 Merge pull request #2164 from bluewave-labs/feat/release-workflow
Feat/release workflow
2025-04-28 12:26:13 -07:00
Alex Holliday c8d41212d5 remove unused scripts 2025-04-28 12:25:24 -07:00
Alex Holliday aebba27dc7 fix mogno connection string 2025-04-28 12:25:02 -07:00
Alex Holliday d5a317caee save settings on load 2025-04-28 12:24:34 -07:00
Alexander Holliday 10702f1038 Merge pull request #2163 from bluewave-labs/feat/release-workflow
fix action name
2025-04-28 11:54:14 -07:00
Alex Holliday 4514032466 fix action name 2025-04-28 11:53:43 -07:00
Alexander Holliday 327928de04 Merge pull request #2162 from bluewave-labs/feat/release-workflow
feat: release workflow
2025-04-28 11:53:14 -07:00
Alex Holliday f790930872 fix branch name 2025-04-28 11:52:17 -07:00
Alex Holliday 62db71b4d9 update docker compose 2025-04-28 11:51:37 -07:00
Alex Holliday 18d7f1b339 add distribution workflow 2025-04-28 11:51:20 -07:00
Gorkem Cetin (BWL) 8af3bf68c7 Mention that demo server shows latest-ish code. 2025-04-28 14:37:36 -04:00
Alexander Holliday ceb140af24 Merge pull request #2157 from Rimaru06/issue#1992
Enhance Monitor Header: Apply Monospaced Font to URL and Increase Gap Between Elements
2025-04-28 11:37:11 -07:00
rimaru06 d4b9357074 package-lock file removed 2025-04-28 23:44:34 +05:30
Alexander Holliday d4a60723f4 Merge pull request #2160 from bluewave-labs/fix/insecure-user-creation
fix: insecure user creation
2025-04-28 10:59:10 -07:00
Alexander Holliday b387ebaae9 Merge pull request #2161 from bluewave-labs/fix/edit-user
fix: edit user
2025-04-28 10:58:47 -07:00
Alex Holliday 67ae722720 disallow role 2025-04-28 10:55:06 -07:00
Alex Holliday 0c31e8fce0 add user as default role 2025-04-28 10:39:19 -07:00
Alex Holliday 99d416f31a add default role, remove role requirement from validation 2025-04-28 10:34:49 -07:00
Alex Holliday c2ffdd1d62 get invite role and teamId from invite instead of client 2025-04-28 10:34:32 -07:00
Alex Holliday d5adf7a2be remove role and teamId from invite form 2025-04-28 10:34:03 -07:00
mohadeseh safari 9061039df8 update the capitalization in the "authRegisterCreateSuperAdminAccount" key to be consistent 2025-04-27 15:42:05 -04:00
mohadeseh safari 449dd36f91 Use an existing translation key "authLoginEnterPassword": "Enter your password" 2025-04-27 15:33:03 -04:00
mohadeseh safari dae9bd42db translatable Email" and "Email is required" 2025-04-27 15:27:50 -04:00
mohadeseh safari d62a4f12fa - Update regex pattern to use Unicode properties for better internationalization 2025-04-27 14:51:43 -04:00
mohadeseh safari fa0f4dd6ec - Change "Sign up via email" to "Create super admin account"
- Make Terms of Service and Privacy Policy text a single translatable sentence
- Add translation keys for Name and Surname fields
2025-04-27 13:50:40 -04:00
mohadeseh safari 720f60cbb7 Improve backend connectivity check with early returns and Remove unrelated super admin check to focus on backend reachability 2025-04-27 12:57:38 -04:00
Alexander Holliday 7951e10f62 Merge pull request #2155 from Br0wnHammer/fix/fe/infra-page-ui
Fix: Infra Monitor Filter UI Position
2025-04-27 09:52:02 -07:00
Aryaman Kumar Sharma fbde1897bd Fix: Infra Monitor Filter UI Position 2025-04-27 12:46:54 +05:30
rimaru06 f1d0b22e48 url font change to monospace 2025-04-27 12:05:16 +05:30
Gorkem Cetin (BWL) e8c9de6c63 Fix after repo merge + add Devin link for Checkmate 2025-04-26 19:50:41 -04:00
Gorkem Cetin (BWL) d855ef7f9f Add link to Devin's Checkmate architectural documentation 2025-04-26 19:48:39 -04:00
Owaise Imdad b2fd9b1e89 Feature release for uptime monitors. 2025-04-27 03:05:14 +05:30
Alexander Holliday 0001df9ad3 Merge pull request #2145 from bluewave-labs/fix/prod-docker
fix: prod docker
2025-04-25 19:45:30 -07:00
Alex Holliday 36f528fbf9 add healthcheck to mongodb to init replicaset if not already init 2025-04-25 19:44:16 -07:00
Alex Holliday db20b4c1ff correct db host 2025-04-25 19:16:12 -07:00
Alexander Holliday e020f61a04 Merge pull request #2143 from bluewave-labs/fix/prod-docker
Fix/prod docker
2025-04-25 16:28:50 -07:00
Alex Holliday f232075a97 log connection string 2025-04-25 16:28:19 -07:00
Alex Holliday 93e86b3280 wait for primary 2025-04-25 16:26:10 -07:00
Alexander Holliday 262a48bdab Merge pull request #2142 from bluewave-labs/fix/prod-docker
corrected script
2025-04-25 16:16:57 -07:00
Alex Holliday 2e4faf81f4 corrected script 2025-04-25 16:16:11 -07:00
Alexander Holliday de6854d5ce Merge pull request #2141 from bluewave-labs/fix/prod-docker
single init script
2025-04-25 16:09:37 -07:00
Alex Holliday c654872d9c single init script 2025-04-25 16:09:02 -07:00
Alexander Holliday a97a941f6b Merge pull request #2140 from bluewave-labs/fix/prod-docker
wait for primary
2025-04-25 15:08:36 -07:00
Alex Holliday fb505278bd wait for primary 2025-04-25 15:07:44 -07:00
Alexander Holliday 6574eb155a Merge pull request #2139 from bluewave-labs/fix/prod-docker
ordering for prod
2025-04-25 14:54:51 -07:00
Alex Holliday cf6c16f674 ordering for prod 2025-04-25 14:54:22 -07:00
Alexander Holliday cb5a5c13a1 Merge pull request #2138 from bluewave-labs/fix/prod-docker
fix ordering of init scripts
2025-04-25 14:44:44 -07:00
Alex Holliday d078305ed3 fix ordering of init scripts 2025-04-25 14:44:03 -07:00
Alexander Holliday 4d2d4d33fe Merge pull request #2137 from bluewave-labs/fix/prod-docker
fix mognodb cmnd
2025-04-25 14:36:58 -07:00
Alex Holliday 6c7551c49d fix mognodb cmnd 2025-04-25 14:35:45 -07:00
Alexander Holliday b159cfacf5 Merge pull request #2136 from bluewave-labs/fix/prod-docker
copy init
2025-04-25 14:21:15 -07:00
Alex Holliday 04549b0850 add init replica set 2025-04-25 14:18:59 -07:00
Alexander Holliday 8cc016635d Merge pull request #2134 from bluewave-labs/fix/prod-docker
add replica set init
2025-04-25 14:13:00 -07:00
Alex Holliday c0079085ae add replica set init 2025-04-25 14:12:20 -07:00
Alexander Holliday b436aaf61a Merge pull request #2133 from bluewave-labs/fix/prod-docker
use github repo for images
2025-04-25 13:49:26 -07:00
Alex Holliday 321326c7f8 use github repo for images 2025-04-25 13:49:02 -07:00
Alexander Holliday 476c902354 Merge pull request #2129 from bluewave-labs/fix/bcrypt
fix: bcrypt
2025-04-25 13:43:44 -07:00
Alexander Holliday 41d919d65c Merge pull request #2128 from bluewave-labs/fix/save-settings
fix: save settings
2025-04-25 13:42:50 -07:00
Alexander Holliday 5ea17ba78b Merge pull request #2131 from bluewave-labs/feat/prod-workflow
add manual dispatch
2025-04-25 13:35:42 -07:00
Alex Holliday ff25122425 add manual dispatch 2025-04-25 13:34:43 -07:00
Alexander Holliday ea4d400e3d Merge pull request #2130 from bluewave-labs/feat/prod-workflow
add production workflow
2025-04-25 13:31:51 -07:00
Alex Holliday 47a0b7f523 add production workflow 2025-04-25 13:30:20 -07:00
Alex Holliday 68cac694ed add mongo config 2025-04-25 12:52:03 -07:00
Alex Holliday 6f4ca57fa8 update docker compose for redis config 2025-04-25 12:51:29 -07:00
Alex Holliday d3957c5bce fix path 2025-04-25 12:50:21 -07:00
Alex Holliday 4d64407b1e fix path 2025-04-25 12:50:06 -07:00
Alex Holliday bf5b4a84d0 bump 2025-04-25 12:48:33 -07:00
Alex Holliday e7d4083964 bcrypt -> bcryptjs 2025-04-25 12:48:14 -07:00
Alex Holliday c8919cca83 add missing getter 2025-04-25 12:47:07 -07:00
Alex Holliday 8fec35c299 use bcrypt synchronously 2025-04-25 12:46:35 -07:00
Alex Holliday fc285f7070 remove fakedb 2025-04-25 12:44:37 -07:00
Alex Holliday 5e11ba05ba add missing getter 2025-04-25 10:21:40 -07:00
Alex Holliday dc36873cb1 remove baseapiurl 2025-04-25 10:21:19 -07:00
Alex Holliday 4954468a9a allow admin for settings 2025-04-25 10:20:42 -07:00
Alex Holliday 5c66ad1990 401 -> 403 for insufficient permissoins 2025-04-25 10:20:24 -07:00
Alex Holliday 23a9c9b97a fix error handling 2025-04-25 10:19:54 -07:00
Alex Holliday a18ccb635d remove unused settings, remove comment 2025-04-25 10:19:30 -07:00
Alexander Holliday 33a2fd2f69 Merge pull request #2126 from bluewave-labs/translation-update-54
🌐 Updated Translations from POEditor
2025-04-24 10:54:41 -07:00
mohadeseh safari eec11f303c applied the feedback 2025-04-23 23:28:35 -04:00
GitHub Action 063eb07483 feat: translations updated from POEditor 2025-04-24 00:29:57 +00:00
Alexander Holliday 43dfc41774 Merge pull request #2125 from bluewave-labs/FIX-for-image-removal
FIX for the removal of images and saving it.
2025-04-23 11:22:23 -07:00
Owaise Imdad 56a502a64d FIX for the removal of images and saving it. 2025-04-23 22:53:19 +05:30
Alexander Holliday c3d181da99 Merge pull request #2123 from bluewave-labs/feat/fe/img-upload-component
New reusable Image Upload Component
2025-04-23 09:26:13 -07:00
Vishnu Sreekumaran Nair 0e6ff46ca7 update locales/gb.json to localize strings 2025-04-22 19:42:08 -04:00
Vishnu Sreekumaran Nair ce7d2eeb76 delete imagefield component and css styles 2025-04-22 19:38:14 -04:00
Vishnu Sreekumaran Nair e16ebc3109 update status page/index to handle image upload logic 2025-04-22 19:36:54 -04:00
Vishnu Sreekumaran Nair 5058dd35ac update status page create to use new component 2025-04-22 19:35:55 -04:00
Vishnu Sreekumaran Nair 6be71e4337 update profilepanel to use imageupload component 2025-04-22 19:34:17 -04:00
Vishnu Sreekumaran Nair 4f5a855083 create new imgupload folder and copy code 2025-04-22 19:33:15 -04:00
Alexander Holliday 5d9290adc8 Merge pull request #2122 from bluewave-labs/translation-update-52
🌐 Updated Translations from POEditor
2025-04-22 16:00:05 -07:00
GitHub Action 389eb00d5d feat: translations updated from POEditor 2025-04-22 22:59:00 +00:00
Alexander Holliday d1e5171f6c Merge pull request #2121 from ajhollid/fix/update-github-actions
fix: update GitHub actions
2025-04-22 15:50:37 -07:00
Alex Holliday 82670080a9 remove incorrect locales dir 2025-04-22 15:49:37 -07:00
Alex Holliday 1b1317949f update paths for POEditor actions 2025-04-22 15:48:28 -07:00
Alexander Holliday 2b0af52fde Merge pull request #2118 from Br0wnHammer/fix/fe/create-monitor-general-text
Fix: Uptime Create Monitor General Settings Text
2025-04-22 15:42:44 -07:00
Alexander Holliday 6f6602fc94 Merge pull request #2120 from ajhollid/feat/init-replica-set
feat: init replica set
2025-04-22 15:04:51 -07:00
Alexander Holliday c05da53487 Merge pull request #2119 from bluewave-labs/FIX-for-index
FIX for index issue in server.
2025-04-22 15:04:02 -07:00
Alex Holliday a4a30761ab init replica set 2025-04-22 15:00:38 -07:00
Owaise Imdad 00676d541e FIX for index issue in server. 2025-04-23 01:07:37 +05:30
Aryaman Kumar Sharma b4b01f4efe Fix: Uptime Create Monitor General Settings Text 2025-04-22 23:38:40 +05:30
Gorkem Cetin (BWL) 39a9b96f2b Update README.md 2025-04-22 12:10:56 -04:00
Gorkem Cetin (BWL) 50452bc93d Fix after merge 2025-04-22 11:51:30 -04:00
mohadeseh safari 4b92683c72 some modification 2025-04-21 22:00:28 -04:00
mohadeseh safari c0adbb5bd7 modify login 2025-04-21 16:06:44 -04:00
mohadeseh safari f3e6dec937 Resolve merge conflict, keeping Login.jsx file 2025-04-21 16:05:09 -04:00
Alexander Holliday 071d6e6e93 Merge pull request #2107 from bluewave-labs/translation-update-50
🌐 Updated Translations from POEditor
2025-04-21 12:41:52 -07:00
Alexander Holliday 4d33731e23 Merge pull request #2109 from Br0wnHammer/fix/fe/md-files-move
Fix: Move MD Files from client to main dir
2025-04-21 12:41:35 -07:00
mohadeseh safari 0508fde86c modify login page 2025-04-21 13:57:26 -04:00
Aryaman Kumar Sharma 91dee2b8ec Fix: Move MD Files from client to main dir 2025-04-21 21:28:02 +05:30
Mohadeseh Safari b4f2c2c1c2 Delete client/src/Pages/Auth/Login/Login.jsx 2025-04-21 11:05:42 -04:00
mohadeseh safari 402361ce97 error message in login page and translation 2025-04-21 10:57:49 -04:00
mohadeseh safari 39e2fc2071 Merge remote-tracking branch 'origin/develop' into feature/backend-reachability-with-translations 2025-04-21 10:04:04 -04:00
Gorkem Cetin (BWL) b8c334d22a Update numbers 2025-04-21 09:08:42 -04:00
Gorkem Cetin (BWL) ae5e178eec Add Mert to the list of core devs 2025-04-21 09:07:59 -04:00
Gorkem Cetin (BWL) 820e79caab Create README.md 2025-04-21 09:06:39 -04:00
Gorkem Cetin (BWL) bfab4035db Update wording after repo merge 2025-04-21 07:28:01 -04:00
GitHub Action d90d554c65 feat: translations updated from POEditor 2025-04-21 00:31:38 +00:00
Alexander Holliday 2f530267bc Merge pull request #2106 from bluewave-labs/fix/restore-repo
update docker path
2025-04-20 12:05:47 -07:00
Alex Holliday 3d0bdfd5df update docker path 2025-04-20 12:04:47 -07:00
Alexander Holliday 09c940783d Merge pull request #2105 from bluewave-labs/fix/restore-repo
correct repo naems
2025-04-20 11:59:12 -07:00
Alex Holliday 426ad725a4 correct repo naems 2025-04-20 11:57:56 -07:00
Alexander Holliday b6faa08674 Merge pull request #2104 from bluewave-labs/fix/restore-repo
update workflow
2025-04-20 11:51:41 -07:00
Alex Holliday f334d2f788 update workflow 2025-04-20 11:49:06 -07:00
Alexander Holliday 772768ede7 Merge pull request #2089 from renovate-bot/renovate/appleboy-ssh-action-1.x
chore(deps): update appleboy/ssh-action action to v1.2.2
2025-04-20 11:46:54 -07:00
Alexander Holliday bd6b6d1757 Merge pull request #2103 from bluewave-labs/fix/restore-repo
Fix/restore repo
2025-04-20 11:44:29 -07:00
Alex Holliday b832b15207 add workflow 2025-04-20 11:44:08 -07:00
Alex Holliday 31d9d5350f add server workflow 2025-04-20 11:43:32 -07:00
Alexander Holliday 8ac921123b Merge pull request #2102 from bluewave-labs/fix/restore-repo
add env.sh
2025-04-20 11:41:21 -07:00
Alex Holliday 8ac0c71a0a add env.sh 2025-04-20 11:40:32 -07:00
Alexander Holliday d6ee86ca83 Merge pull request #2101 from bluewave-labs/fix/restore-repo
fix: restore repo
2025-04-20 11:35:02 -07:00
Alex Holliday 9fd4d6c0b8 bump dependencies 2025-04-20 11:30:34 -07:00
Alex Holliday 8b7e3c650b restore repo structure 2025-04-20 11:29:53 -07:00
Alexander Holliday 6df099a5b6 Merge pull request #2099 from bluewave-labs/translation-update-49
🌐 Updated Translations from POEditor
2025-04-19 17:48:28 -07:00
GitHub Action fbf5b11666 feat: translations updated from POEditor 2025-04-20 00:32:47 +00:00
Mend Renovate dd6129b078 chore(deps): update appleboy/ssh-action action to v1.2.2 2025-04-18 03:31:40 +00:00
Alexander Holliday a281618e0d Merge pull request #2086 from bluewave-labs/feat/action
fix path
2025-04-17 15:26:04 -07:00
Alex Holliday 59f0f2f50d fix path 2025-04-17 15:25:10 -07:00
Alexander Holliday 806731b4a9 Merge pull request #2083 from bluewave-labs/feat/action
feat: add dockerfile and action
2025-04-17 15:24:35 -07:00
Alex Holliday fee258a8f2 Add dockerfile and action 2025-04-17 15:23:27 -07:00
mohadeseh safari b404ff3022 some modification 2025-04-17 16:36:53 -04:00
mohadeseh safari 60694258f2 Add backend reachability check method 2025-04-17 16:19:22 -04:00
Alexander Holliday 66870f4c1f Merge pull request #2061 from nbgslv/feat/statuspages-breadcrumbs
Status Pages breadcrumbs
2025-04-17 09:20:49 -07:00
Alexander Holliday 7e2cadb2dc Merge pull request #2080 from renovate-bot/renovate/material-ui-monorepo
fix(deps): update material-ui monorepo to v7.29.0
2025-04-17 09:06:59 -07:00
nbgslv 6383d60dd2 Fix breadcrumb translation keys for consistency 2025-04-17 18:06:49 +03:00
Mend Renovate 6d9564a5b2 fix(deps): update material-ui monorepo to v7.29.0 2025-04-17 14:46:31 +00:00
Alexander Holliday ccff91f786 Merge pull request #2077 from renovate-bot/renovate/reduxjs-toolkit-2.x
fix(deps): update dependency @reduxjs/toolkit to v2.7.0
2025-04-16 11:05:01 -07:00
Mend Renovate efebf8d30c fix(deps): update dependency @reduxjs/toolkit to v2.7.0 2025-04-16 18:04:31 +00:00
Alexander Holliday 9578e5733c Merge pull request #2063 from Br0wnHammer/feat/fe/infra-monitor-filters
Feat: Infra Monitors Filters
2025-04-16 11:03:41 -07:00
nbgslv 1ede02842d Merge branch 'develop' of https://github.com/nbgslv/Checkmate into feat/statuspages-breadcrumbs 2025-04-16 20:39:29 +03:00
nbgslv a7fa3ccb77 Update Breadcrumbs to include dynamic path for configuration page 2025-04-16 20:36:18 +03:00
nbgslv 9b63016d56 Update Breadcrumbs to use new translation keys for improved localization 2025-04-16 20:25:31 +03:00
Alexander Holliday 69a45836d9 Merge pull request #2074 from renovate-bot/renovate/solana-wallet-adapter-react-ui-0.x
fix(deps): update dependency @solana/wallet-adapter-react-ui to v0.9.37
2025-04-15 21:51:12 -07:00
Alexander Holliday fc596234df Merge pull request #2072 from renovate-bot/renovate/solana-wallet-adapter-base-0.x
fix(deps): update dependency @solana/wallet-adapter-base to v0.9.25
2025-04-15 21:50:46 -07:00
Alexander Holliday a1ce199513 Merge pull request #2071 from bluewave-labs/translation-update-45
🌐 Updated Translations from POEditor
2025-04-15 21:50:16 -07:00
Mend Renovate 1db0462283 fix(deps): update dependency @solana/wallet-adapter-react-ui to v0.9.37 2025-04-16 04:47:29 +00:00
Alexander Holliday 5dcd9800cb Merge pull request #2073 from renovate-bot/renovate/solana-wallet-adapter-react-0.x
fix(deps): update dependency @solana/wallet-adapter-react to v0.15.37
2025-04-15 19:57:34 -07:00
Mend Renovate f399bdcfa0 fix(deps): update dependency @solana/wallet-adapter-react to v0.15.37 2025-04-16 02:53:17 +00:00
Mend Renovate 0c8f113131 fix(deps): update dependency @solana/wallet-adapter-base to v0.9.25 2025-04-16 02:53:07 +00:00
GitHub Action 084c803b61 feat: translations updated from POEditor 2025-04-16 00:30:14 +00:00
Aryaman Kumar Sharma 45db3b15e8 Feat: Infra Monitors Filters 2025-04-15 23:34:37 +05:30
Alexander Holliday 7df42357cd Merge pull request #2051 from rajmahajan3196/signup-page-fix
Signup page fix. Resolves #2038
2025-04-15 09:27:14 -07:00
Alexander Holliday 8df4074dda Merge pull request #2065 from bluewave-labs/translation-update-44
🌐 Updated Translations from POEditor
2025-04-15 09:07:32 -07:00
Alexander Holliday c43a50c088 Merge pull request #2066 from renovate-bot/renovate/maplibre-gl-5.x
Update dependency maplibre-gl to v5.3.1
2025-04-15 09:07:18 -07:00
Alexander Holliday dab72babec Merge pull request #2067 from renovate-bot/renovate/vitejs-plugin-react-4.x-lockfile
Update dependency @vitejs/plugin-react to v4.4.0
2025-04-15 09:06:56 -07:00
rajmahajan3196 475394c942 Address PR review comments 2025-04-15 18:40:51 +05:30
Mend Renovate 78f14d6b27 Update dependency @vitejs/plugin-react to v4.4.0 2025-04-15 11:25:46 +00:00
Mend Renovate e484aaf017 Update dependency maplibre-gl to v5.3.1 2025-04-15 11:25:35 +00:00
GitHub Action 3c35d01132 feat: translations updated from POEditor 2025-04-15 00:30:16 +00:00
Aryaman Kumar Sharma dbaa7d3698 Feat: Infra Monitors Filters 2025-04-15 00:17:11 +05:30
nbgslv cae3d9ed4f Refactor Breadcrumbs to use translation keys for improved localization 2025-04-14 21:17:33 +03:00
nbgslv 68354aac06 Add Breadcrumbs component to status page for improved navigation 2025-04-14 21:04:24 +03:00
Alexander Holliday c16e51e52a Merge pull request #2053 from bluewave-labs/feature/pagespeed-api-warning-2022
Feature/pagespeed api warning 2022
2025-04-14 10:09:59 -07:00
Alexander Holliday 7722642fc9 Merge pull request #2059 from bluewave-labs/translation-update-43
🌐 Updated Translations from POEditor
2025-04-14 10:09:21 -07:00
mohadeseh safari 45ff54d4d3 change the custom pallete name (warningSecondary) 2025-04-14 08:43:05 -04:00
GitHub Action 809848a705 feat: translations updated from POEditor 2025-04-14 00:31:47 +00:00
Alexander Holliday 9e653f7f49 Merge pull request #2049 from Br0wnHammer/feat/fe/filter-ui
Feat: Filters UI
2025-04-13 10:33:25 -07:00
Alexander Holliday ee40a56b65 Merge pull request #2058 from bluewave-labs/fix/enable-notifications
uncomment out notificiations
2025-04-13 10:29:35 -07:00
Aryaman Kumar Sharma 0783eb5bcb Feat: Filters UI 2025-04-13 19:25:46 +05:30
Alex Holliday 715baf4f10 uncomment out notificiations 2025-04-12 19:22:53 -07:00
Gorkem Cetin (BWL) cadfbb013a Assurance added 2025-04-12 17:32:05 -04:00
Gorkem Cetin (BWL) c6ef77a886 Update SECURITY.md so the vulnerabilities can be reported appropriately. 2025-04-11 21:56:45 -04:00
Alexander Holliday 2603fb512c Merge pull request #2052 from renovate-bot/renovate/solana-wallet-adapter-wallets-0.x
Update dependency @solana/wallet-adapter-wallets to v0.19.34
2025-04-11 13:23:02 -07:00
mohadeseh safari 251891b359 Restore package-lock.json from develop branch 2025-04-11 14:39:23 -04:00
mohadeseh safari 014a706329 alert 2025-04-11 14:36:50 -04:00
Mohadeseh Safari bcf6775b47 Delete package-lock.json 2025-04-11 14:19:17 -04:00
Mohadeseh Safari 107ba0ef09 Delete src/Components/Alert/index.jsx 2025-04-11 14:18:38 -04:00
mohadeseh safari b4d74d370a modify 2025-04-11 14:17:29 -04:00
mohadeseh safari 77be1fc37f alert component 2025-04-11 13:31:37 -04:00
Mend Renovate 5fe33b3831 Update dependency @solana/wallet-adapter-wallets to v0.19.34 2025-04-11 17:23:49 +00:00
mohadeseh safari bb3b06a459 Merge branch 'develop' into feature/pagespeed-api-warning-2022 2025-04-11 13:21:22 -04:00
mohadeseh safari db318c8ea8 Internationalization 2025-04-11 12:45:21 -04:00
mohadeseh safari 3748df9b64 Custom palette for PageSpeed warning box 2025-04-11 12:07:39 -04:00
rajmahajan3196 ca5f9135d2 Signup page fix. Resolves #2038 2025-04-11 19:37:36 +05:30
Gorkem Cetin (BWL) 4d307c9580 Merge pull request #2050 from bluewave-labs/refactor/fe/tabs
Unify tab styles with CustomTabList component
2025-04-11 09:22:01 -04:00
Aryaman Kumar Sharma 4c2de647e6 Feat: Filters UI 2025-04-11 12:26:59 +05:30
Vishnu Sreekumaran Nair 5c160f1844 update json doc for customtablist 2025-04-10 18:32:41 -04:00
Vishnu Sreekumaran Nair 6b5460c75c update global theme 2025-04-10 18:29:31 -04:00
Vishnu Sreekumaran Nair 71b71b4ee9 remove borders and bg colors from tab 2025-04-10 18:29:04 -04:00
Vishnu Sreekumaran Nair b300c1b830 add json doc for customtablist component 2025-04-10 17:51:14 -04:00
Vishnu Sreekumaran Nair 6e115052c6 remove ununsed imports 2025-04-10 17:46:37 -04:00
Vishnu Sreekumaran Nair 8af4fd8e3e change component name for clarity 2025-04-10 17:41:54 -04:00
Vishnu Sreekumaran Nair c3f24a1693 fix tab component import 2025-04-10 15:25:47 -04:00
Aryaman Kumar Sharma b2f6850b81 Feat: Filters UI 2025-04-11 00:25:53 +05:30
Vishnu Sreekumaran Nair d93c9c3bc9 update status create page to use Tab component 2025-04-10 14:52:04 -04:00
Vishnu Sreekumaran Nair d8678bb772 update accounts page to use new Tab component 2025-04-10 14:50:06 -04:00
Vishnu Sreekumaran Nair 6421080a95 create new Tablistwrapper component 2025-04-10 14:48:10 -04:00
Alexander Holliday 211195f7b3 Merge pull request #2048 from Owaiseimdad/Charts-Background-Fix
FIX in the charts background color to main instead of a low contrast.
2025-04-10 10:17:06 -07:00
Owaiseimdad 6b5a531559 Fix for memory title in infra. 2025-04-10 22:33:15 +05:30
Owaiseimdad 238cb07322 FIX in the charts background color to main instead of a low contrast. 2025-04-10 21:54:29 +05:30
Alexander Holliday 0448d33631 Merge pull request #2044 from karins28/Fix/side-menu-close
Fix. :side menu close on click
2025-04-10 09:22:56 -07:00
Alexander Holliday e64a32b8a8 Merge pull request #2045 from Br0wnHammer/feat/fe/monitor-header-ui
Feat: New Monitor Header UI
2025-04-10 09:22:02 -07:00
Alexander Holliday a12b730bcd Merge pull request #2046 from renovate-bot/renovate/material-ui-monorepo
Update material-ui monorepo to v6.4.11
2025-04-10 09:20:35 -07:00
Alexander Holliday ba68c771e7 Merge pull request #2047 from renovate-bot/renovate/vite-5.x-lockfile
Update dependency vite to v5.4.18
2025-04-10 09:20:20 -07:00
Mend Renovate 951605cb63 Update dependency vite to v5.4.18 2025-04-10 11:27:12 +00:00
Mend Renovate 2292e8f6fc Update material-ui monorepo to v6.4.11 2025-04-09 18:57:32 +00:00
Br0wnHammer 65e1b686cc Feat: New Monitor Header UI 2025-04-09 22:34:59 +05:30
Trial e167b76191 removed semicolon 2025-04-09 11:09:23 +03:00
Trial a32f8dd8a4 Added side menu close on click 2025-04-09 11:06:26 +03:00
Alexander Holliday 4fefba0e2f Merge pull request #2043 from Br0wnHammer/fix/fe/uptime-ui-fixes
Fix: Uptime UI Fixes
2025-04-08 21:59:08 -07:00
Aryaman Kumar Sharma 475b0df684 Fix: Uptime UI Fixes 2025-04-09 00:13:45 +05:30
Alexander Holliday 62bf1d56ac Merge pull request #2041 from bluewave-labs/fix/sidebar-icon-visibility
Fix sidebar icons visibility when toggling
2025-04-08 09:25:49 -07:00
Alexander Holliday bf978da778 Merge pull request #2039 from renovate-bot/renovate/solana-wallet-adapter-base-0.x
Update dependency @solana/wallet-adapter-base to v0.9.24
2025-04-08 09:24:39 -07:00
Alexander Holliday 406babafe3 Merge pull request #2042 from bluewave-labs/translation-update-37
🌐 Updated Translations from POEditor
2025-04-08 09:23:58 -07:00
GitHub Action 099affd2e4 feat: translations updated from POEditor 2025-04-08 00:28:59 +00:00
mohadeseh safari 2e63771a80 link open in new tab 2025-04-07 15:47:14 -04:00
Vishnu Sreekumaran Nair 865140a205 create sidebarClassName variable and update in jsx 2025-04-07 15:29:18 -04:00
Vishnu Sreekumaran Nair ac57e1ec27 initialise sidebarReady state to false 2025-04-07 15:23:23 -04:00
Vishnu Sreekumaran Nair 2f97269de5 move transition to sidebar-delay fade class 2025-04-07 15:21:37 -04:00
mohadeseh safari b3599361e8 usage warning color 2025-04-07 15:06:42 -04:00
Vishnu Sreekumaran Nair 8f92f8e97f update css to fix icon visibility 2025-04-07 14:59:00 -04:00
Vishnu Sreekumaran Nair 58a51d8a3f update sidebar stack classname to include sidebarReady 2025-04-07 14:57:00 -04:00
Vishnu Sreekumaran Nair 79cabb770a add sidebarReady state and update useffect 2025-04-07 14:55:43 -04:00
Mend Renovate 1db59640a4 Update dependency @solana/wallet-adapter-base to v0.9.24 2025-04-07 16:12:32 +00:00
Alexander Holliday 29245f2571 Merge pull request #2033 from Br0wnHammer/fix/fe/uptime-filters
Fix: Minor UI Fix in Filters
2025-04-07 09:11:44 -07:00
Alexander Holliday ef22189037 Merge pull request #2029 from Cihatata/2002-fix-language-selector
2002 fix: use available language
2025-04-07 09:10:49 -07:00
Br0wnHammer 097d464bf3 Fix: Minor UI Fix in Filters 2025-04-07 14:06:26 +05:30
Gorkem Cetin (BWL) 1dd53fb7f3 Merge pull request #2035 from bluewave-labs/fix/fe/sidebar-menu-icons
Fix sidebar menu icons appearing before full expansion
2025-04-07 01:36:48 -04:00
Vishnu Sreekumaran Nair c05dec8537 update transition duration 2025-04-06 15:11:59 -04:00
Vishnu Sreekumaran Nair 2f1ce06b53 add css for delaying fade-in 2025-04-06 15:08:32 -04:00
Vishnu Sreekumaran Nair c075c24630 add useffect to toggle sidebar-ready class after expand transition 2025-04-06 15:06:51 -04:00
Vishnu Sreekumaran Nair 59a1cd6f86 add ref to <aside> to track sidebar DOM 2025-04-06 15:04:06 -04:00
mohadeseh safari 623a2b65b9 Add warning for missing Google PageSpeed API key 2025-04-06 14:43:40 -04:00
Br0wnHammer a185f822ce Fix: Minor UI Fix in Filters 2025-04-04 21:18:56 +05:30
Br0wnHammer 57bd08b877 Fix: Minor UI Fix in Filters 2025-04-04 20:53:40 +05:30
Alexander Holliday 6795afd705 Merge pull request #2025 from bluewave-labs/fix/fe/status-page-tab
Fix status page tab styling
2025-04-03 21:50:58 -07:00
Alexander Holliday 5a15cdd201 Merge pull request #2030 from renovate-bot/renovate/eslint-plugin-react-7.x-lockfile
chore(deps): update dependency eslint-plugin-react to v7.37.5
2025-04-03 21:44:43 -07:00
Alexander Holliday 74e3812c28 Merge pull request #2031 from bluewave-labs/translation-update-33
🌐 Updated Translations from POEditor
2025-04-03 21:44:27 -07:00
GitHub Action f5a71cae71 feat: translations updated from POEditor 2025-04-04 00:28:56 +00:00
Mend Renovate 47f7136d53 chore(deps): update dependency eslint-plugin-react to v7.37.5 2025-04-03 23:11:04 +00:00
cihatata e554adc7d8 2002 fix: use available language 2025-04-04 01:02:26 +03:00
Alexander Holliday 601215fe9b Merge pull request #1985 from Owaiseimdad/Fix-for-status-boxes
fixed the status boxes on screen to be more responsive and better align with UI
2025-04-03 12:03:31 -07:00
Alexander Holliday 390a711f6a Merge pull request #2010 from Br0wnHammer/feat/fe/uptime-filters
Feat: Uptime Monitor Filters
2025-04-03 12:01:51 -07:00
Br0wnHammer cad81be0f5 Feat: Uptime Monitor Filters 2025-04-03 23:31:30 +05:30
Alexander Holliday 3b2fb3f387 Merge pull request #2026 from renovate-bot/renovate/vite-5.x-lockfile
chore(deps): update dependency vite to v5.4.17
2025-04-03 08:59:16 -07:00
Alexander Holliday c940398b5b Merge pull request #2027 from renovate-bot/renovate/recharts-2.x
fix(deps): update dependency recharts to v2.15.2
2025-04-03 08:59:04 -07:00
Alexander Holliday accd61c167 Merge pull request #2028 from renovate-bot/renovate/material-ui-monorepo
fix(deps): update material-ui monorepo to v7.28.3
2025-04-03 08:58:51 -07:00
Mend Renovate c2a8cc51c3 fix(deps): update material-ui monorepo to v7.28.3 2025-04-03 15:39:11 +00:00
Mend Renovate 0b5fea4ca5 fix(deps): update dependency recharts to v2.15.2 2025-04-03 10:41:12 +00:00
Mend Renovate a41234a378 chore(deps): update dependency vite to v5.4.17 2025-04-03 10:41:01 +00:00
Br0wnHammer 3dc77d6e27 Feat: Uptime Monitor Filters 2025-04-03 15:07:42 +05:30
Owaiseimdad b9a8fda77e Added a new logic to calculate the width of the status boxes based on the parent spacings. 2025-04-03 09:36:03 +05:30
Gorkem Cetin (BWL) f2145347d3 Fix typo again 2025-04-02 22:44:55 -04:00
Gorkem Cetin (BWL) 5dbe66d22e Typo 2025-04-02 22:43:50 -04:00
Gorkem Cetin (BWL) d26c627e24 Update PR template to include "Fixes: " directive so Github automatically links a PR to an issue, which will result in better visibility for issues that are linked to a PR. 2025-04-02 22:40:43 -04:00
Vishnu Sreekumaran Nair 4fd85b4a2c add minHeight to muiTab styles 2025-04-02 19:00:59 -04:00
Vishnu Sreekumaran Nair b1b1684da1 use box wrapper to contain the Tablist component 2025-04-02 18:57:31 -04:00
Alexander Holliday 45012f7cbd Merge pull request #2023 from renovate-bot/renovate/react-monorepo
chore(deps): update dependency @types/react-dom to v18.3.6
2025-04-02 09:15:13 -07:00
Aryaman Sharma ef6c907228 Merge pull request #2024 from KunchaChennikaWangmai/patch-1
Update README.md
2025-04-02 19:10:14 +05:30
KunchaChennikaWangmai edd10433ee Update README.md
Corrected some spelling mistakes
2025-04-02 18:57:58 +05:30
Mend Renovate cb48a6bce9 chore(deps): update dependency @types/react-dom to v18.3.6 2025-04-02 12:15:30 +00:00
Br0wnHammer bda7e4706b Feat: Uptime Monitor Filters 2025-04-02 15:00:00 +05:30
Owaise Imdad a859eb5d07 Merge branch 'bluewave-labs:develop' into Fix-for-status-boxes 2025-04-01 18:16:05 +05:30
Alexander Holliday c205367558 Merge pull request #2016 from karins28/feature/email-uppercase-support
Feature/email-uppercase-support
2025-03-31 20:08:33 -07:00
Alexander Holliday 71bf373640 Merge pull request #2019 from renovate-bot/renovate/material-ui-monorepo
fix(deps): update material-ui monorepo to v6.4.10
2025-03-31 20:04:32 -07:00
Mend Renovate 1dc8b4fc87 fix(deps): update material-ui monorepo to v6.4.10 2025-03-31 23:08:30 +00:00
Trial 3a99250508 added lowercase text onchange 2025-03-31 23:45:09 +03:00
Alexander Holliday d11e21b433 Merge pull request #1984 from Owaiseimdad/FIX-for-background-of-charts
Added background for charts for clarity
2025-03-31 09:31:06 -07:00
Alexander Holliday 8e380bcb3d Merge pull request #2018 from renovate-bot/renovate/vite-5.x-lockfile
chore(deps): update dependency vite to v5.4.16
2025-03-31 09:05:51 -07:00
Mend Renovate 035ea14d11 chore(deps): update dependency vite to v5.4.16 2025-03-31 12:41:36 +00:00
Gorkem Cetin (BWL) 9583d6f6df Remove reference to Figma design and give the correct path of CONTRIBUTING.md 2025-03-29 19:48:58 -04:00
Gorkem Cetin (BWL) b177b5f357 A better guide to contribute to Checkmate 2025-03-29 19:41:10 -04:00
Trial dacf729bca revert issue 2025-03-30 01:19:21 +03:00
Trial c88989d25e reverted joi behaviour 2025-03-30 01:14:47 +03:00
Trial de3511963c removed joi validation 2025-03-30 01:14:09 +03:00
Owaise Imdad e5e115ccc7 Merge branch 'bluewave-labs:develop' into Fix-for-status-boxes 2025-03-30 03:36:46 +05:30
Owaiseimdad dfb0bd10d2 Changed the bg of the gauge itself in order to meet the requirements. 2025-03-30 03:14:30 +05:30
Owaise Imdad ad3ee24adb Merge branch 'bluewave-labs:develop' into FIX-for-background-of-charts 2025-03-30 02:46:36 +05:30
Trial f001419a5b removed axios interceptor change 2025-03-29 20:45:46 +03:00
Trial dce461b586 removed unnccesary changes 2025-03-29 14:17:50 +03:00
Trial 0db9fc75dc added in interceptor 2025-03-29 14:09:05 +03:00
Trial fa86988436 added fix on fe side 2025-03-29 13:02:12 +03:00
Alexander Holliday 8da0d22d83 Merge pull request #2014 from bluewave-labs/uptime-monitoring-form-improvements
Improve Uptime Monitor Configuration
2025-03-28 16:09:19 -07:00
mohadeseh safari 475a530e8d fix: save monitor configuration changes 2025-03-28 13:11:48 -04:00
mohadeseh safari 5908b4457b change placeholders 2025-03-28 13:06:40 -04:00
Alexander Holliday 3dd975f424 Merge pull request #2013 from renovate-bot/renovate/material-ui-monorepo
fix(deps): update material-ui monorepo to v7.28.2
2025-03-28 08:59:18 -07:00
mohadeseh safari d58150df6b modify 2025-03-28 11:59:10 -04:00
Mend Renovate 30f0f53fcd fix(deps): update material-ui monorepo to v7.28.2 2025-03-28 15:58:00 +00:00
Alexander Holliday 07e7972e3b Merge pull request #2011 from bluewave-labs/translation-update-26
🌐 Updated Translations from POEditor
2025-03-28 08:57:14 -07:00
GitHub Action 8cda1833f2 feat: translations updated from POEditor 2025-03-28 00:28:57 +00:00
Br0wnHammer 4ffb6832e2 Feat: Uptime Monitor Filters 2025-03-28 01:19:13 +05:30
Alexander Holliday a0e850be41 Merge pull request #2005 from bluewave-labs/feat/offline-invite
feat: offline invite, resolves #1993
2025-03-27 09:18:49 -07:00
Gorkem Cetin (BWL) 543c07d701 Add Aryaman as the core contributor 2025-03-27 10:35:28 -04:00
Alexander Holliday ee02cc8cf0 Merge pull request #2007 from renovate-bot/renovate/maplibre-gl-5.x
fix(deps): update dependency maplibre-gl to v5.3.0
2025-03-26 19:24:26 -07:00
Alexander Holliday 793185d431 Merge pull request #2006 from bluewave-labs/fix/fe/pagespeed-text-visibility
Fix text color in pagespeed monitor
2025-03-26 19:23:51 -07:00
Mend Renovate 3c7ccd1ddf fix(deps): update dependency maplibre-gl to v5.3.0 2025-03-26 23:34:00 +00:00
Vishnu Sreekumaran Nair 5bae031808 update text color in perfomance report 2025-03-26 18:35:03 -04:00
Alex Holliday 3181598aeb add fetching token functionality 2025-03-26 15:32:33 -07:00
Alex Holliday 4d56e71691 allow dialog to expans 2025-03-26 15:32:09 -07:00
Alex Holliday e19be6b1b8 i18n 2025-03-26 15:31:38 -07:00
Alex Holliday 8a9cce041d add no token string 2025-03-26 15:31:14 -07:00
Alex Holliday e1eceb5b8c Add sendInvitationToken 2025-03-26 15:28:48 -07:00
Alex Holliday 89e2a89124 add invite hooks 2025-03-26 15:27:59 -07:00
Alexander Holliday 698c8b48dd Merge pull request #1998 from bluewave-labs/fix/fe/accounts-tabs-style
Change Accounts tab styling
2025-03-26 10:57:13 -07:00
Alexander Holliday 5611d56da2 Merge pull request #2004 from bluewave-labs/fix/dependency-bump
bump
2025-03-26 10:56:03 -07:00
Alexander Holliday 879274eb62 Merge pull request #1999 from renovate-bot/renovate/material-ui-monorepo
fix(deps): update material-ui monorepo
2025-03-26 10:55:43 -07:00
Alex Holliday fab579e90c bump 2025-03-26 10:55:11 -07:00
Alexander Holliday 78215e4910 Merge pull request #2003 from bluewave-labs/fix/du-jwt
fix: add separate URL for public status pages
2025-03-26 10:44:53 -07:00
Alex Holliday f03cc5a728 add separate URL for public status pages 2025-03-26 10:43:26 -07:00
Vishnu Sreekumaran Nair b729214dac move sx styles to global theme 2025-03-26 13:30:53 -04:00
Vishnu Sreekumaran Nair 3c1bb55b64 remove tablist borderBottom 2025-03-26 13:09:48 -04:00
Alexander Holliday 8212227959 Merge pull request #2001 from bluewave-labs/fix/expired-token-behaviour
fix: redirect to login on invalid token
2025-03-26 09:41:05 -07:00
Mend Renovate d3941d8def fix(deps): update material-ui monorepo 2025-03-26 16:16:36 +00:00
Alexander Holliday e04187afd7 Merge pull request #1986 from bluewave-labs/fix/fe/sidebar-ui-change
Modify Sidebar UI
2025-03-26 09:15:40 -07:00
Alex Holliday 65e9b3cfe5 redirect to login on invalid token 2025-03-26 08:36:43 -07:00
mohadeseh safari a5780efff5 improve form 2025-03-25 20:54:50 -04:00
Vishnu Sreekumaran Nair 79e5af12ed remove bordercolor for unselected tabs 2025-03-25 20:26:51 -04:00
Vishnu Sreekumaran Nair 63c187ac4e change tab background, update hover settings and modify borderRadius 2025-03-25 20:11:13 -04:00
mohadeseh safari 89d010a54b uptime form improvement 2025-03-25 18:16:11 -04:00
Vishnu Sreekumaran Nair 11b4039706 set accounts tab height to 34px 2025-03-25 17:55:28 -04:00
Vishnu Sreekumaran Nair a6d06fa8e0 add slight padding for sidebar menu items 2025-03-25 15:58:26 -04:00
Vishnu Sreekumaran Nair 6a1dc1e293 remove top offest for sidebar 2025-03-25 13:30:28 -04:00
Alexander Holliday 2cf4af0ed9 Merge pull request #1994 from bluewave-labs/translation-update-23
🌐 Updated Translations from POEditor
2025-03-25 09:28:50 -07:00
GitHub Action 81fedab88c feat: translations updated from POEditor 2025-03-25 00:29:17 +00:00
Gorkem Cetin (BWL) 44cac7af7c Create FUNDING.yml 2025-03-24 16:47:04 -04:00
Alexander Holliday 7cb8590dbf Merge pull request #1982 from bluewave-labs/feat/monitor-notification-integration
Add notifications to our existing monitors
2025-03-24 12:48:04 -07:00
Skorpios 5c6ea20b2c Comment out notification button. 2025-03-24 11:59:56 -07:00
Alexander Holliday 0dde9253b1 Merge pull request #1988 from renovate-bot/renovate/react-monorepo
chore(deps): update dependency @types/react to v18.3.20
2025-03-24 11:52:27 -07:00
Alexander Holliday 6e739b4863 Merge pull request #1989 from renovate-bot/renovate/vite-5.x-lockfile
chore(deps): update dependency vite to v5.4.15
2025-03-24 11:52:14 -07:00
Skorpios 11eecfa9b2 Merge remote-tracking branch 'upstream/develop' into feat/monitor-notification-integration 2025-03-24 11:37:45 -07:00
Gorkem Cetin (BWL) 4d8cea2539 Add translation link 2025-03-24 11:11:06 -04:00
Mend Renovate 62efa2701e chore(deps): update dependency vite to v5.4.15 2025-03-24 12:46:37 +00:00
Mend Renovate 5daad5ecc2 chore(deps): update dependency @types/react to v18.3.20 2025-03-24 12:46:26 +00:00
Skorpios 0e63262876 Add proptypes. 2025-03-23 22:57:22 -07:00
Skorpios 980f055d5c Extracted strings. 2025-03-23 21:13:49 -07:00
Skorpios 7badb3c642 Merge remote-tracking branch 'upstream/develop' into feat/monitor-notification-integration 2025-03-23 20:46:27 -07:00
Vishnu Sreekumaran Nair 2b346cf34a update background color to use predefined theme 2025-03-22 00:47:14 -04:00
Owaiseimdad 7247f6d808 fixed the status boxes on screen to be more repsonsive and better aling with UI 2025-03-22 10:02:13 +05:30
Owaiseimdad ee6e7bc905 Added background for charts. 2025-03-22 09:51:07 +05:30
Vishnu Sreekumaran Nair 112f76dbf6 add subtle color tint for sidebar 2025-03-22 00:15:01 -04:00
Vishnu Sreekumaran Nair 7dde4a74c9 wrap outlet in stack and update the layout styles 2025-03-21 23:39:51 -04:00
Vishnu Sreekumaran Nair 3bd48e235a center the uptime data table barchart 2025-03-21 22:56:34 -04:00
Vishnu Sreekumaran Nair c790a9282a modify sidebar and main layout styles to fix the positions 2025-03-21 22:43:31 -04:00
Vishnu Sreekumaran Nair 6c14529798 remove sidebar border and add borderRight 2025-03-21 21:50:04 -04:00
Alexander Holliday 88bf086f8d Merge pull request #1983 from bluewave-labs/fix/verify-jwt
fix: handle jwt errors
2025-03-21 16:25:28 -07:00
Skorpios de38ef451b Get rid of unnecessary comments. 2025-03-21 16:25:06 -07:00
Alex Holliday f4ec292b31 handle jwt errors 2025-03-21 16:24:27 -07:00
Skorpios 6dc0f019e6 Add notifications to our existing monitors 2025-03-21 16:04:21 -07:00
Alexander Holliday c2b57d1df7 Merge pull request #1981 from renovate-bot/renovate/material-ui-monorepo
fix(deps): update dependency @mui/x-data-grid to v7.28.1
2025-03-21 11:31:56 -07:00
Mend Renovate 10dc66a253 fix(deps): update dependency @mui/x-data-grid to v7.28.1 2025-03-21 15:39:23 +00:00
Alexander Holliday b74507d578 Merge pull request #1979 from Br0wnHammer/fix/fe/pagination-action-buttons-gap
Fix: Table Pagination Action Button Gap
2025-03-20 19:53:35 -07:00
Alexander Holliday 61de51818b Merge pull request #1980 from bluewave-labs/translation-update-19
🌐 Updated Translations from POEditor
2025-03-20 19:52:31 -07:00
GitHub Action d47fab059b feat: translations updated from POEditor 2025-03-21 00:28:41 +00:00
Aryaman Kumar Sharma d6eb09427b Fix: Table Pagination Action Button Gap 2025-03-21 02:56:42 +05:30
Alexander Holliday 704d5d9173 Merge pull request #1978 from Owaiseimdad/Quick-Fix-for-settings-setBaseUrl
Quick fix for settings save page api call
2025-03-20 10:44:04 -07:00
Owaiseimdad 7a547bd60f Quick fix for settings save page api call 2025-03-20 23:08:25 +05:30
Alexander Holliday 2e687130d0 Merge pull request #1976 from bluewave-labs/fix/UI-fixes
Fix/UI fixes
2025-03-20 09:18:00 -07:00
Alexander Holliday 944fa4da2a Merge pull request #1975 from bluewave-labs/translation-update-18
🌐 Updated Translations from POEditor
2025-03-20 09:16:51 -07:00
Alexander Holliday 36669dd835 Merge pull request #1977 from bluewave-labs/fix/save
fix: save
2025-03-20 09:13:35 -07:00
Alex Holliday 32f7306a6d use update trigger 2025-03-20 09:11:07 -07:00
Alex Holliday a8aeed341a add update trigger 2025-03-20 09:10:28 -07:00
Alex Holliday 8a2d0d7724 add update trigger 2025-03-20 09:09:50 -07:00
Alex Holliday b342511aac fix pause state 2025-03-20 09:09:30 -07:00
Skorpios cbe73f34c1 Updated toast notifications to match our theme. 2025-03-20 08:29:14 -07:00
Skorpios c63f49e4f3 Fixed issues with colors changing for the test notification button when the dialog box is enabled. 2025-03-20 08:00:50 -07:00
Skorpios 62420bfd3c Fixed coloring for save button in light mode. 2025-03-20 07:36:51 -07:00
GitHub Action 8dd7f60dbb feat: translations updated from POEditor 2025-03-20 00:28:08 +00:00
Alexander Holliday eacbd34b35 Merge pull request #1974 from bluewave-labs/fix/normalize-data
fix: normalize data for charts
2025-03-19 13:32:17 -07:00
Alex Holliday 199ff731d4 normalize data for charts 2025-03-19 13:29:38 -07:00
Alexander Holliday 96e4bd8584 Merge pull request #1973 from renovate-bot/renovate/axios-1.x-lockfile
fix(deps): update dependency axios to v1.8.4
2025-03-19 13:12:54 -07:00
Alexander Holliday eb34943cb5 Merge pull request #1929 from renovate-bot/renovate/node-22.x
chore(deps): update dependency node to v22
2025-03-19 13:12:37 -07:00
Alexander Holliday 14f3a97a3e Merge pull request #1933 from bluewave-labs/feat/fe/edit-infra-monitor
Implement edit functionality for infrastructure monitors
2025-03-19 13:08:10 -07:00
Vishnu Sreekumaran Nair 0a1f47c532 resolve merge conflicts 2025-03-19 16:00:40 -04:00
Mend Renovate 53776266fd fix(deps): update dependency axios to v1.8.4 2025-03-19 19:59:26 +00:00
Alexander Holliday 79b763224d Merge pull request #1972 from bluewave-labs/hotfix/uptime-percentage
fix: nullish coallescing for uptime percetnage
2025-03-19 12:58:40 -07:00
Vishnu Sreekumaran Nair 139ae00613 extract success toast message strings 2025-03-19 15:55:39 -04:00
Vishnu Sreekumaran Nair ced3ad1757 update statevalues to use undefined 2025-03-19 15:50:36 -04:00
Alex Holliday 6cb8b11f78 fix nullish coallescing for uptime percetnage 2025-03-19 12:36:20 -07:00
Alexander Holliday e623a28643 Merge pull request #1971 from bluewave-labs/fix/uptime-details
fix: update details page to use new queries
2025-03-19 12:31:54 -07:00
Alex Holliday b86a73e28b display 1 decimal precision for hours 2025-03-19 12:28:46 -07:00
Alex Holliday f1a22133ef fix merge conflict 2025-03-19 12:19:44 -07:00
Alexander Holliday 17f6b6003a Merge pull request #1964 from renovate-bot/renovate/react-monorepo
chore(deps): update dependency @types/react to v18.3.19
2025-03-19 12:18:16 -07:00
Alex Holliday c940b25252 add missing empty check 2025-03-19 12:17:43 -07:00
Alex Holliday 3d71e7759b update details page to use new queries 2025-03-19 12:15:04 -07:00
Alexander Holliday f3b43d388c Merge pull request #1963 from Br0wnHammer/fix/fe/status-url-hover
Fix: Status Page URL Hover
2025-03-19 12:11:21 -07:00
Gorkem Cetin (BWL) 56647cdf46 Merge pull request #1970 from bluewave-labs/translation-update-17
🌐 Updated Translations from POEditor
2025-03-19 14:41:23 -04:00
GitHub Action 10f48b4fbd feat: translations updated from POEditor 2025-03-19 18:27:17 +00:00
Gorkem Cetin (BWL) 0e1d25cea9 Merge pull request #1969 from bluewave-labs/gorkem-bwl-patch-3
Update ru.json
2025-03-19 14:26:28 -04:00
Gorkem Cetin (BWL) c5246cca95 Update ru.json 2025-03-19 14:26:14 -04:00
Gorkem Cetin (BWL) c595938e6a Merge pull request #1968 from bluewave-labs/gorkem-bwl-patch-2
Create ru.json
2025-03-19 14:20:23 -04:00
Gorkem Cetin (BWL) 15f9a8b38d Create ru.json 2025-03-19 14:20:05 -04:00
Gorkem Cetin (BWL) 4223f452cd Merge pull request #1967 from bluewave-labs/translation-update-16
🌐 Updated Translations from POEditor
2025-03-19 14:19:09 -04:00
GitHub Action 723dd2d4c1 feat: translations updated from POEditor 2025-03-19 18:17:42 +00:00
Aryaman Kumar Sharma c22cd6ffbb Fix: Status Page URL Hover 2025-03-19 23:23:52 +05:30
Alexander Holliday 9ac563bf8c Merge pull request #1965 from bluewave-labs/hotfix/translations
fix: bad merge
2025-03-19 09:03:23 -07:00
Alex Holliday 254e2fd244 fix bad merge 2025-03-19 09:02:30 -07:00
Mend Renovate 7a76f19b5d chore(deps): update dependency @types/react to v18.3.19 2025-03-19 16:00:07 +00:00
Alexander Holliday 97e4eb557d Merge pull request #1904 from bluewave-labs/feat/handleTestNotification
Implemented the handleTestNotification function.
2025-03-19 08:59:22 -07:00
Vishnu Sreekumaran Nair 143d3ea7c6 update gb.json 2025-03-19 10:45:47 -04:00
Vishnu Sreekumaran Nair 7dfc9bff5f resolve merge conflicts 2025-03-19 10:32:25 -04:00
Gorkem Cetin (BWL) a4d1f21b5f Merge pull request #1945 from Br0wnHammer/feat/fe/migrate-hardcoded-strings
Feat: Migrate Hardcoded Strings
2025-03-19 08:04:47 -04:00
Aryaman Kumar Sharma 0df50f2bb7 Fix: Status Page URL Hover 2025-03-19 11:23:11 +05:30
Gorkem Cetin (BWL) 9b769fe9da Merge pull request #1962 from bluewave-labs/translation-update-15
🌐 Updated Translations from POEditor
2025-03-19 01:20:50 -04:00
GitHub Action 378691a2fa feat: translations updated from POEditor 2025-03-19 05:19:25 +00:00
Gorkem Cetin (BWL) 01709b65c9 Merge pull request #1961 from bluewave-labs/translation-update-14
🌐 Updated Translations from POEditor
2025-03-19 01:10:00 -04:00
GitHub Action 6bd1e6caed feat: translations updated from POEditor 2025-03-19 05:03:56 +00:00
Alexander Holliday da44dd7eea Merge pull request #1960 from bluewave-labs/fix/typography-base
fix: adjust typography base font size
2025-03-18 21:41:16 -07:00
Alex Holliday ffb345af5b adjust typography base font size 2025-03-18 21:39:59 -07:00
Skorpios 51da6b1fe9 Updated the new locales file with the proper translation keys. 2025-03-18 16:05:41 -07:00
Skorpios a0920f93a0 Resolve merge conflict: Remove src/locales/en.json 2025-03-18 16:00:04 -07:00
Alexander Holliday 7944aa283f Merge pull request #1959 from bluewave-labs/feat/merge
readme
2025-03-18 13:48:59 -07:00
Alex Holliday cd909e1854 readme 2025-03-18 13:48:30 -07:00
Vishnu Sreekumaran Nair a006d7194e fix notify_email state to only update for email notification types 2025-03-18 13:59:11 -04:00
Br0wnHammer 66bc2a8238 Feat: Migrate Hardcoded Strings 2025-03-18 22:20:25 +05:30
Alexander Holliday c55bb57e28 Merge pull request #1938 from Owaiseimdad/FIX-1936-Dark-BG
Fix 1936 dark bg
2025-03-18 09:34:19 -07:00
Alexander Holliday 52f34b1389 Merge pull request #1954 from renovate-bot/renovate/solana-wallet-adapter-react-0.x
fix(deps): update dependency @solana/wallet-adapter-react to v0.15.36
2025-03-18 09:33:04 -07:00
Mend Renovate 3a68ccf359 fix(deps): update dependency @solana/wallet-adapter-react to v0.15.36 2025-03-18 16:31:27 +00:00
Alexander Holliday 4120cee892 Merge pull request #1955 from renovate-bot/renovate/solana-wallet-adapter-react-ui-0.x
fix(deps): update dependency @solana/wallet-adapter-react-ui to v0.9.36
2025-03-18 09:30:40 -07:00
Mend Renovate a2804147dc fix(deps): update dependency @solana/wallet-adapter-react-ui to v0.9.36 2025-03-18 16:30:23 +00:00
Alexander Holliday 8c5a1924f2 Merge pull request #1956 from renovate-bot/renovate/solana-wallet-adapter-wallets-0.x
fix(deps): update dependency @solana/wallet-adapter-wallets to v0.19.33
2025-03-18 09:29:40 -07:00
Vishnu Sreekumaran Nair 5c74c0e452 removed conditional calling of hook and added early return in useHardwareMonitorsFetch 2025-03-18 12:18:52 -04:00
Cihat ATA db456a41b4 Update tr.json (#1958) 2025-03-18 15:25:34 +03:00
Cihat ATA 8a63f69665 Delete src/locales/en.json (#1957)
we are using gb.json
2025-03-18 15:22:07 +03:00
Mend Renovate 487cba49f2 fix(deps): update dependency @solana/wallet-adapter-wallets to v0.19.33 2025-03-18 05:32:28 +00:00
Owaise Imdad 6b9f6736f0 FIX-1936 made the cancel button like other cancel buttons in app. 2025-03-18 09:07:04 +05:30
Alexander Holliday be0ef1b473 Merge pull request #1953 from renovate-bot/renovate/solana-wallet-adapter-material-ui-0.x
fix(deps): update dependency @solana/wallet-adapter-material-ui to v0.16.35
2025-03-17 19:08:15 -07:00
Mend Renovate 8561638e17 fix(deps): update dependency @solana/wallet-adapter-material-ui to v0.16.35 2025-03-17 23:34:27 +00:00
Skorpios 946263291f Remove fallback string from save button. 2025-03-17 16:33:13 -07:00
Skorpios 100c5d3f21 Use built-in loading prop for save button. 2025-03-17 16:26:43 -07:00
Skorpios 840690d50b Merge remote-tracking branch 'upstream/develop' into feat/handleTestNotification 2025-03-17 16:13:57 -07:00
Alexander Holliday d78a7af93f Merge pull request #1951 from renovate-bot/renovate/material-ui-monorepo
fix(deps): update material-ui monorepo
2025-03-17 14:50:06 -07:00
Mend Renovate 7ed1d1b90d fix(deps): update material-ui monorepo 2025-03-17 20:41:58 +00:00
Skorpios 3136bdbfa7 Merge remote-tracking branch 'upstream/develop' into feat/handleTestNotification 2025-03-17 13:15:01 -07:00
Alexander Holliday 71ab885d24 Merge pull request #1934 from Owaiseimdad/FIX-1913-Object-Existing-Check
Fixed the check for the label in options object in search component
2025-03-17 09:06:59 -07:00
Mend Renovate 5dc131dd06 chore(deps): update dependency node to v22 2025-03-17 12:38:24 +00:00
Alexander Holliday 5df0bae5ac Merge pull request #1931 from Owaiseimdad/FIX-1913-Maintenance-Component-Enhancement
FIX-1930 have made initial changes in order to proceed with rebuilding.
2025-03-16 22:34:07 -07:00
Alexander Holliday a23c3b327d Merge pull request #1937 from Owaiseimdad/FIX-calendar-dsiabled-date-color
Fixed calendar disabled date colour
2025-03-16 22:28:21 -07:00
Alexander Holliday b3df492c0e Merge pull request #1946 from bluewave-labs/translation-update-10
🌐 Updated Translations from POEditor
2025-03-16 22:23:35 -07:00
GitHub Action 5bdc1921fe feat: translations updated from POEditor 2025-03-17 00:29:59 +00:00
Skorpios c84a547f35 Extracted string to use i18n implementation. 2025-03-16 14:46:17 -07:00
Skorpios caab2c36b5 Removed fallback strings. 2025-03-16 14:04:56 -07:00
Skorpios 13b8bb6656 Used theme for colors. 2025-03-16 13:58:53 -07:00
Skorpios 4cbcebb445 Used theme for sizes and margins. 2025-03-16 13:49:34 -07:00
Skorpios 910defbc47 Used the theme for the circular progress. 2025-03-16 13:43:19 -07:00
Skorpios 182c51387f Abort early if the typeId or fieldId are not present. 2025-03-16 13:28:32 -07:00
Skorpios 8994b4b39b Use undefined instead of null for conventional purposes. 2025-03-16 13:15:25 -07:00
Skorpios 00700c8651 Return an array rather than an object. 2025-03-16 13:12:13 -07:00
Skorpios b1194ebd48 Merge remote-tracking branch 'upstream/develop' into feat/handleTestNotification 2025-03-16 12:50:47 -07:00
Br0wnHammer cdbabeb225 Feat: Migrate Hardcoded Strings 2025-03-17 01:16:42 +05:30
Cihat ATA b6113a176f test poeditor upload step (#1944)
* fix: test github workflow upload action

* fix: test github workflow upload action

* fix: test github workflow upload action
2025-03-16 14:38:24 +03:00
Cihat ATA 1717513cf4 test upload translation step (#1943)
* fix: test github workflow upload action

* fix: test github workflow upload action
2025-03-16 14:29:43 +03:00
Cihat ATA a68628d33b fix: test github workflow upload action (#1942) 2025-03-16 13:36:53 +03:00
Mend Renovate fcf23eb8b3 Update peter-evans/create-pull-request action to v7 (#1940) 2025-03-16 13:06:17 +03:00
github-actions[bot]andGitHub Action 4dbf6d2fc4 feat: translations updated from POEditor (#1941)
Co-authored-by: GitHub Action <github-actions[bot]@users.noreply.github.com>
2025-03-16 13:05:17 +03:00
Cihat ATA 32389eaf67 Open pull request for translations (#1939)
* fix: open pull request for translations

* fix: permission update

* fix: permission update

* fix: permission update

* fix: permission update
2025-03-16 13:01:22 +03:00
Owaise Imdad 726a5b1337 Merge branch 'bluewave-labs:develop' into FIX-1936-Dark-BG 2025-03-15 23:33:19 +05:30
Owaise Imdad 8cea5c26fe Merge branch 'bluewave-labs:develop' into FIX-calendar-dsiabled-date-color 2025-03-15 23:28:17 +05:30
Owaise Imdad 45a3ea2da0 Refactored and moved the config row component to main conponents folders to be reused. 2025-03-15 23:26:10 +05:30
Gorkem Cetin (BWL) d8f534217f Add contributors 2025-03-15 13:12:35 -04:00
Owaise Imdad e0e2cec386 Moved the evaluation in start of the render option execution. 2025-03-15 22:31:15 +05:30
Gorkem Cetin (BWL) 141df20f44 Remove CLI from the roadmap for now 2025-03-15 12:28:32 -04:00
Owaise Imdad fa3c7ee891 FIXed the calendar disable number color in order to suite both light and blue color. 2025-03-15 17:41:10 +05:30
Owaise Imdad e2187368b1 FIX-1936 made initial changes in popup in order to fix the UI of popups. 2025-03-15 17:32:21 +05:30
Owaise Imdad 5825151b28 fixed the check for the type or label key in the options send in search component. 2025-03-15 14:46:53 +05:30
Vishnu Sreekumaran Nair 8df78089e6 minor bug fixes and code cleanup 2025-03-15 02:48:02 -04:00
Vishnu Sreekumaran Nair f9e4c0f857 update breadcrumbs to include configure 2025-03-15 01:54:20 -04:00
Vishnu Sreekumaran Nair c07f68dfb1 update network service to handle all monitors properly 2025-03-15 01:38:52 -04:00
Vishnu Sreekumaran Nair f4e56008df fix threshold values handling to populate when editing 2025-03-15 00:49:19 -04:00
Vishnu Sreekumaran Nair 2e449269de disable url textbox and hide protocol buttons in edit mode 2025-03-15 00:30:00 -04:00
Vishnu Sreekumaran Nair 9e773f6917 format notifications to return object and added to validation list 2025-03-15 00:21:37 -04:00
Vishnu Sreekumaran Nair a320967949 update gb.json to include edit translations 2025-03-14 22:33:21 -04:00
Vishnu Sreekumaran Nair bbe5c65b83 update breadcrumbs to include path for configure 2025-03-14 22:19:07 -04:00
Vishnu Sreekumaran Nair b1029c9cec modify dispatch action to handle editing 2025-03-14 22:16:57 -04:00
Vishnu Sreekumaran Nair 6b15a5814d implement useffect to populate form when editing 2025-03-14 22:14:06 -04:00
Vishnu Sreekumaran Nair 55bd7d7973 add isCreate flag to determine create/edit 2025-03-14 22:12:52 -04:00
Vishnu Sreekumaran Nair f10b5b1e14 add the route for configure page 2025-03-14 21:40:12 -04:00
Vishnu Sreekumaran Nair 3c43fab7a6 use config button component in monitorstatusheader 2025-03-14 21:37:03 -04:00
Owaise Imdad e881c72ec9 FIX-1930 change the text in order to make sure there is clarity. 2025-03-15 02:09:18 +05:30
Owaise Imdad 5466d38496 FIX-1930 have made initial changes in order to proceed with rebuidling. 2025-03-15 01:44:00 +05:30
Alexander Holliday 1a147775fe Merge pull request #1928 from bluewave-labs/fix/refactor-depin
fix: refactor depin
2025-03-14 12:07:29 -07:00
Alex Holliday e90e497fef use new hooks 2025-03-14 12:05:26 -07:00
Alex Holliday 7ba1232198 use new hook 2025-03-14 12:05:03 -07:00
Alex Holliday 261975bff2 use new hook 2025-03-14 12:04:47 -07:00
Alex Holliday 4e4af8d720 remove unused import 2025-03-14 12:04:31 -07:00
Alex Holliday 7853942eff removed old hook 2025-03-14 12:04:08 -07:00
Alex Holliday 36acd60de1 removed old hook 2025-03-14 12:03:49 -07:00
Alex Holliday 1c6ed5030c removed old hook 2025-03-14 12:03:25 -07:00
Alex Holliday 3dc65a2ecd moved shared hooks to top level 2025-03-14 12:02:36 -07:00
Alex Holliday 5023a4acf1 remove unused var 2025-03-14 12:02:18 -07:00
Alexander Holliday 228b080730 Merge pull request #1927 from bluewave-labs/fix/uptime-refactor
fix: uptime refactor
2025-03-14 11:16:21 -07:00
Alex Holliday badcf436b6 add network op 2025-03-14 11:06:10 -07:00
Alex Holliday 4fa2c7f388 add new hook for monitor with checks 2025-03-14 11:05:49 -07:00
Alex Holliday 176ced29df use new hooks 2025-03-14 11:05:33 -07:00
Alex Holliday acd3e87330 log error 2025-03-14 11:04:50 -07:00
Alex Holliday 43f8377b99 use updatedAt 2025-03-14 11:04:31 -07:00
Alex Holliday 4b166ceca3 add network op 2025-03-14 10:06:36 -07:00
Alex Holliday dc6c947043 add hook for fetching monitors with summary 2025-03-14 10:06:10 -07:00
Alexander Holliday d4e1e32866 Merge pull request #1924 from renovate-bot/renovate/i18next-24.x-lockfile
fix(deps): update dependency i18next to v24.2.3
2025-03-14 08:59:11 -07:00
Alexander Holliday 2804fb8867 Merge pull request #1925 from Owaiseimdad/FIX-pagination-required-only-if-needed
FIX-1848 pagination changes.
2025-03-14 08:58:57 -07:00
Owaise Imdad 3e8e50f1aa FIX-1848 pagination changes. 2025-03-14 15:32:39 +05:30
Mend Renovate 8d9469d218 fix(deps): update dependency i18next to v24.2.3 2025-03-13 14:10:24 +00:00
Alexander Holliday b92a46c27d Merge pull request #1905 from Br0wnHammer/fix/fe/login-register-ui
Fix: Login/Register UI Screens
2025-03-13 07:09:37 -07:00
Gorkem Cetin (BWL) c214efeeae Update pull_request_template.md 2025-03-12 21:21:39 -04:00
Alexander Holliday 09130b86ec Merge pull request #1914 from Br0wnHammer/feat/migrate/hardcoded-strings
Feat: Migrate Hardcoded Strings
2025-03-12 09:34:46 -07:00
Alexander Holliday da653f5b2f Merge pull request #1921 from renovate-bot/renovate/axios-1.x-lockfile
fix(deps): update dependency axios to v1.8.3
2025-03-12 09:04:22 -07:00
Skorpios de8edbf3a8 Merge remote-tracking branch 'upstream/develop' into feat/handleTestNotification 2025-03-12 05:39:37 -07:00
Mend Renovate 166b581d31 fix(deps): update dependency axios to v1.8.3 2025-03-12 11:30:10 +00:00
Gorkem Cetin (BWL) d3786bcfc4 Merge pull request #1920 from Cihatata/change-tr-translations
Change tr translations
2025-03-12 00:54:20 -04:00
cihatata 4a762312f3 fix: test upload poeditor 2025-03-12 07:52:57 +03:00
github-actions[bot] 3e87cdf9d2 Translations updated from POEditor 2025-03-12 04:45:59 +00:00
github-actions[bot] a1fafa535b Translations updated from POEditor 2025-03-12 04:44:35 +00:00
Skorpios f735b082a3 Removed comment 2025-03-11 19:14:42 -07:00
Skorpios 8e026ede1b Refactored out constant keys. 2025-03-11 19:12:00 -07:00
Skorpios 798a680fc6 Got rid of magic numbers in the modal. 2025-03-11 19:06:57 -07:00
Skorpios f7b247fa9d Error handling and a more safe approach for the getFieldKey function. 2025-03-11 18:53:35 -07:00
Skorpios b811fb91ca Use explicit type checking. 2025-03-11 18:40:53 -07:00
Skorpios 9aa0041022 Used the network service class for network requests. 2025-03-11 18:37:14 -07:00
Skorpios 845b7692bc Merge remote-tracking branch 'upstream/develop' into feat/handleTestNotification 2025-03-11 16:37:37 -07:00
Alexander Holliday e697f5607a Merge pull request #1919 from Cihatata/fix-workflow-typo
Fix workflow typo
2025-03-11 15:49:45 -07:00
cihatata 34155e18ca fix: workflow typo - change text 2025-03-12 01:22:54 +03:00
cihatata 3f3a578f09 fix: workflow typo 2025-03-12 01:22:22 +03:00
Alexander Holliday f3d78b9bb8 Merge pull request #1918 from Cihatata/upload-poeditor
Upload poeditor
2025-03-11 14:58:48 -07:00
cihatata c02e0cfa2b feat: upload translation to POEditor - remove first-pr-workflow 2025-03-11 23:59:54 +03:00
cihatata 2d37790186 feat: upload translation to POEditor 2025-03-11 23:58:26 +03:00
Aryaman Kumar Sharma d5c593abb5 Fix: Login/Register UI Screens 2025-03-12 01:43:42 +05:30
Aryaman Sharma 529834bcba Merge branch 'develop' into feat/migrate/hardcoded-strings 2025-03-12 01:17:17 +05:30
Alexander Holliday ac8fc07223 Merge pull request #1917 from bluewave-labs/hotfix/comma
add comma
2025-03-11 12:43:59 -07:00
Alex Holliday 8bcf6fca64 add comma 2025-03-11 12:43:26 -07:00
Cihat ATA 243b76b5dc Merge branch 'bluewave-labs:develop' into develop 2025-03-11 22:42:27 +03:00
Alexander Holliday ef8fdc7e19 Merge pull request #1861 from bluewave-labs/feature/1484-star-prompt
Add a modal to encourage starring the Checkmate repo #1484
2025-03-11 12:41:03 -07:00
Alexander Holliday 32e35b998a Merge branch 'develop' into feature/1484-star-prompt 2025-03-11 12:40:46 -07:00
Alexander Holliday d54853aaa8 Merge pull request #1906 from Algo-Master/fix/1864-status-public-url
Fix Open public url in new Tab(#1864)
2025-03-11 12:38:57 -07:00
Alexander Holliday 9ae779cca7 Merge pull request #1909 from Owaiseimdad/FIX-1848-drop-down-Highlight-colors
FIX-1907 drop downs are of common color now.
2025-03-11 12:37:52 -07:00
Alexander Holliday 96a6a8122f Merge pull request #1911 from Owaiseimdad/Error-wrap-maintenance-page
Error wrap maintenance page
2025-03-11 12:36:54 -07:00
Br0wnHammer 5df5cf3870 Feat: Migrate Hardcoded Strings 2025-03-12 00:56:28 +05:30
Alexander Holliday 7f46a8ce10 Merge pull request #1799 from jasneetsingh6114/fix/1794
Enhance wallet button layout for better responsiveness and alignment.
2025-03-11 12:08:58 -07:00
Owaise Imdad 044b13133c Merge branch 'bluewave-labs:develop' into Error-wrap-maintenance-page 2025-03-12 00:15:26 +05:30
Owaise Imdad 2b6625fe55 FIX link in maintenance page. 2025-03-12 00:14:27 +05:30
Alexander Holliday ebd4b90a99 Merge pull request #1912 from bluewave-labs/fix/uptime-percentage
fix uptime percentage
2025-03-11 11:39:32 -07:00
Alex Holliday 3595e02cae fix uptime percentage 2025-03-11 11:38:44 -07:00
Owaise Imdad 572725aa02 FIX for global theme for error based helper text. 2025-03-11 23:33:51 +05:30
Owaise Imdad 67a6588bd6 FIX for error in maintenance page. 2025-03-11 23:30:41 +05:30
Alexander Holliday 6578d7e78a Merge pull request #1910 from bluewave-labs/hotfix/throw-error
hotfix:replace throwing error with console.warn
2025-03-11 10:16:25 -07:00
Alex Holliday ee4c15907e replace throwing error with console.warn 2025-03-11 10:15:47 -07:00
Alexander Holliday 079a2691de Merge pull request #1903 from Br0wnHammer/fix/fe/uptime-useChecks-hook
Fix: Uptime UseChecks Hook
2025-03-11 10:10:24 -07:00
Br0wnHammer c9e604efed Fix: Uptime UseChecks Hook 2025-03-11 22:27:43 +05:30
Owaise Imdad 5fddefc64f FIX-1907 drop downs are of common color now. 2025-03-11 22:19:13 +05:30
Gorkem Cetin (BWL) 3d83b1ce17 Merge pull request #1898 from bluewave-labs/gorkem-bwl-patch-1
Create a workflow for first issue/pr.
2025-03-11 09:50:55 -04:00
Aryaman Kumar Sharma 64d90894dc Fix: Login/Register UI Screens 2025-03-11 13:01:24 +05:30
Pratham a24d7a9169 Fix Open public url in new tab 2025-03-11 13:00:30 +05:30
Skorpios 7b1a60d6f9 Implemented the handleTestNotification function. 2025-03-10 16:32:56 -07:00
Br0wnHammer 5958d4b81c Fix: Uptime UseChecks Hook 2025-03-11 03:23:04 +05:30
Alexander Holliday 9dfe09f342 Merge pull request #1902 from Cihatata/patch-1
Update poeditor-sync.yml
2025-03-10 14:49:31 -07:00
Cihat ATA cfb5cf024b Update poeditor-sync.yml 2025-03-11 00:43:37 +03:00
Cihat ATA eb66cf32c7 Merge pull request #4 from Cihatata/workflow-use-require
fix: key name
2025-03-11 00:39:26 +03:00
cihatata f63ab086ae fix: key name 2025-03-11 00:38:54 +03:00
Alexander Holliday 18b3419026 Merge pull request #1901 from Cihatata/workflow-use-require
fix: use require
2025-03-10 14:36:43 -07:00
mohadeseh safari 1745faf70c ti.json 2025-03-10 17:36:38 -04:00
Cihat ATA c7327466f2 Merge pull request #3 from Cihatata/workflow-use-require
fix: use require
2025-03-11 00:35:01 +03:00
cihatata 45ec5a46c6 fix: use require 2025-03-11 00:33:16 +03:00
mohadeseh safari ffa9ddaf24 Modify json 2025-03-10 17:33:04 -04:00
Cihat ATA efd52e5f2e Merge pull request #2 from Cihatata/workflow-use-require
fix: key name
2025-03-11 00:29:45 +03:00
cihatata 877bafc3be fix: key name 2025-03-11 00:28:31 +03:00
Cihat ATA 18bbf375c7 Merge pull request #1 from Cihatata/workflow-use-require
Workflow use require
2025-03-11 00:20:31 +03:00
cihatata 7158b1f141 fix: strings 2025-03-11 00:18:50 +03:00
cihatata b73a78065a Merge branch 'develop' into workflow-use-require 2025-03-11 00:17:57 +03:00
cihatata 18b1fd1cdb fix: use require 2025-03-11 00:12:45 +03:00
Alexander Holliday 480056a3ed Merge pull request #1897 from Cihatata/sync-string-from-poeditor
feat: Sync strings from poeditor with github workflow
2025-03-10 14:03:18 -07:00
Gorkem Cetin (BWL) 5c1976e105 Create a workflow for first issue/pr. 2025-03-10 16:59:51 -04:00
cihatata c50b45f9ec fix: strings 2025-03-10 23:46:26 +03:00
cihatata 7522879e2a fix: key 2025-03-10 23:41:33 +03:00
cihatata 29e03a6294 feat: Sync strings from poeditor with github workfliw 2025-03-10 23:39:32 +03:00
mohadeseh safari 0f2832b728 simplify star prompt translations and state 2025-03-10 14:23:09 -04:00
Alexander Holliday 7c369e8405 Merge pull request #1855 from bluewave-labs/feat/notification-modal
Implemented notification modal.
2025-03-10 10:26:30 -07:00
Alexander Holliday 8e2330a16f Merge pull request #1895 from renatoka/fix/1894-register-token-stringify
fix: stringify token upon registration
2025-03-10 10:25:59 -07:00
renatoka a4e0762128 fix: remove usage of local storage for token 2025-03-10 18:24:36 +01:00
renatoka e068fa24f3 Merge branch 'develop' of github.com:renatoka/Checkmate into fix/1894-register-token-stringify 2025-03-10 18:23:17 +01:00
Alexander Holliday 2489458aa6 Merge pull request #1889 from Br0wnHammer/feat/migrate-hardcoded-strings
Feat: Migrate Hardcoded Strings in Auth and About
2025-03-10 07:06:55 -07:00
Alexander Holliday 2bf612515e Merge pull request #1869 from Owaiseimdad/Maintenance-start-time-style
Maintenance start time style and clock UI and theme changes
2025-03-10 07:06:16 -07:00
Skorpios 136452a6f5 Comment out notification integration button until fully functional. 2025-03-09 20:26:06 -07:00
Skorpios 78e46ecc5a Use i18n for front facing strings. 2025-03-09 20:21:10 -07:00
Skorpios be779c34d9 Merge remote-tracking branch 'upstream/develop' into feat/notification-modal 2025-03-09 19:00:16 -07:00
Owaise Imdad 28c44d628d Removed the text component from mui themes. 2025-03-10 05:40:12 +05:30
Owaise Imdad 9e33a0a24f FIX for style of clock colors when not active. 2025-03-10 00:14:24 +05:30
Aryaman Sharma a5c724ca0d Merge branch 'develop' into feat/migrate-hardcoded-strings 2025-03-09 23:18:21 +05:30
Alexander Holliday f9e64aaf85 Merge pull request #1893 from renatoka/fix/1892-status-component
fix: add <StatusLabel> on "status pages" table
2025-03-09 08:48:08 -07:00
renatoka 7378e83b21 fix: stringify token upon registration 2025-03-09 16:15:23 +01:00
Renato cd8544c169 fix: add missing statuses to component typing 2025-03-09 09:58:21 +01:00
Renato 85e899b7db fix: add PropTypes values 2025-03-09 09:50:05 +01:00
Aryaman Kumar Sharma d40507ee36 Feat: Migrate Hardcoded Strings in Auth and About 2025-03-09 11:36:21 +05:30
Skorpios 93462d7ba6 Changed all user facing strings to use the i18n implementation. 2025-03-08 17:57:27 -08:00
Owaise Imdad 5ffc822bd4 Theme constant changes. 2025-03-09 07:24:53 +05:30
Owaise Imdad ef954af106 Made major ui changes in clock. 2025-03-09 07:24:53 +05:30
Skorpios d335cfb4ee Got rid of unnecessary rerenders by memoizing the integrationstate function. 2025-03-08 17:13:20 -08:00
Skorpios 99ec5be865 Added proptypes and jsdocs to the tabpanel. 2025-03-08 16:59:53 -08:00
Skorpios 25ff7abe7f refactored all the hardcoded absolute dimension values and made them into relative values that reference the theme. 2025-03-08 16:44:52 -08:00
Owaise Imdad 872501fc2d Merge branch 'bluewave-labs:develop' into Maintenance-start-time-style 2025-03-09 05:40:24 +05:30
Alexander Holliday 4720f3ed46 Merge pull request #1891 from renovate-bot/renovate/reduxjs-toolkit-2.x
Update dependency @reduxjs/toolkit to v2.6.1
2025-03-08 15:50:20 -08:00
Skorpios 2a54d2ce16 Fix spacing, borders, and border radius for style overrides to match theme values. 2025-03-08 14:54:52 -08:00
Skorpios 71763f4b66 Adjusted padding and borders for a more aesthetic look and feel for the vertical tabs. 2025-03-08 14:40:20 -08:00
Skorpios 94045f1164 Updated font sizes and colors to match theme values. 2025-03-08 13:56:51 -08:00
Skorpios 3ac56c1ea7 Made a separate tab component. 2025-03-08 13:01:28 -08:00
Renato d05821e95e fix: add <StatusLabel> on "status pages" table 2025-03-08 20:43:29 +01:00
Mend Renovate 056e0191b8 Update dependency @reduxjs/toolkit to v2.6.1 2025-03-08 01:54:38 +00:00
Skorpios 92df32cd82 Made tabs configure ready. 2025-03-07 17:25:28 -08:00
Skorpios e6e20d507e Extracted tab panel component into its own separate file. 2025-03-07 16:56:00 -08:00
Skorpios f6c1d5bbee Removed DialogTitle, Stack, and Divider as they are not used in the file. 2025-03-07 16:43:29 -08:00
Skorpios 476c7608c4 Merge remote-tracking branch 'upstream/develop' into feat/notification-modal 2025-03-07 14:38:14 -08:00
mohadeseh safari c185979479 fix: handle undefined starPrompt state in Redux 2025-03-07 15:46:13 -05:00
mohadeseh safari 732f04a8b4 fix: improve StarPrompt component and remove unused CSS 2025-03-07 15:34:30 -05:00
Alexander Holliday 483699e2b7 Merge pull request #1890 from bluewave-labs/fix/vars
fix: vars
2025-03-07 11:27:18 -08:00
Alex Holliday 353f4a9dd6 correct timeSinceLastCheck and uptimePercentage 2025-03-07 11:15:19 -08:00
Aryaman Kumar Sharma 57469a2510 Feat: Migrate Hardcoded Strings in Auth and About 2025-03-08 00:45:08 +05:30
Alex Holliday 94f4d63e96 fix timeSinceLastCheck 2025-03-07 11:14:40 -08:00
Aryaman Kumar Sharma 6835671e0d Feat: Migrate Hardcoded Strings in Auth and About 2025-03-08 00:40:08 +05:30
mohadeseh safari ee9981864e Merge develop into feature/1484-star-prompt
- Resolve conflicts in Sidebar component
- Keep StarPrompt above support section
2025-03-07 13:29:24 -05:00
Alexander Holliday fec89bc680 Merge pull request #1884 from renovate-bot/renovate/axios-1.x-lockfile
Update dependency axios to v1.8.2
2025-03-07 09:19:46 -08:00
Alexander Holliday 79949a64a0 Merge pull request #1885 from renovate-bot/renovate/material-ui-monorepo
Update material-ui monorepo to v7.27.3
2025-03-07 09:19:30 -08:00
Alexander Holliday ccb783585f Merge pull request #1887 from renovate-bot/renovate/mui-color-input-6.x
Update dependency mui-color-input to v6
2025-03-07 09:19:16 -08:00
Jasneet Singh 897933ee07 Used default MUI Breakpoints and adjusted spacing between the wallet buttons 2025-03-07 10:08:55 -05:00
Mend Renovate ce9d5f1ae8 Update dependency mui-color-input to v6 2025-03-07 13:02:41 +00:00
Mend Renovate 2259f45dc0 Update material-ui monorepo to v7.27.3 2025-03-07 11:27:16 +00:00
Mend Renovate 199fd5cf38 Update dependency axios to v1.8.2 2025-03-07 11:27:05 +00:00
Skorpios 5fff398a25 Got rid of all overridden styles. 2025-03-06 17:56:30 -08:00
Skorpios a296a70bcd adjust padding with theme spacing for consistency. 2025-03-06 17:48:46 -08:00
Skorpios 4736f4f301 Got rid of button overrides and made a variant for text button. 2025-03-06 17:46:43 -08:00
Skorpios 5e730acd47 Declared variants for the vertical version of tabs in the theme. 2025-03-06 17:16:45 -08:00
Skorpios e76c3853f3 Merge remote-tracking branch 'upstream/develop' into feat/notification-modal 2025-03-06 14:55:34 -08:00
Alexander Holliday bca3cdb62a Merge pull request #1883 from bluewave-labs/feat/map-checks
feat:use simplified map query
2025-03-06 13:55:14 -08:00
Alex Holliday dce8cf6ad5 use simplified map query 2025-03-06 13:54:04 -08:00
Alexander Holliday ca929cdb34 Merge pull request #1882 from bluewave-labs/feat/monitor-stats
feat: refactor to use monitor-stats
2025-03-06 12:34:10 -08:00
Alex Holliday 37958d7307 refactor to use monitor-stats 2025-03-06 12:04:49 -08:00
Owaise Imdad 6983b3a5f5 have added the accent in order to make sure that the number choosen is identified. 2025-03-07 01:10:06 +05:30
Owaise Imdad ffcc32eaf2 Merge branch 'bluewave-labs:develop' into Maintenance-start-time-style 2025-03-07 00:30:40 +05:30
Alexander Holliday 4199ba2e02 Merge pull request #1872 from Owaiseimdad/fix-1847-incident-page-truncate-of-string
fix-1847 truncate fix for selection component in incident page (or in general)
2025-03-06 10:29:32 -08:00
Alexander Holliday 6481b1d9ac Merge pull request #1881 from bluewave-labs/fix/depin-queries
Fix/depin queries
2025-03-06 09:48:58 -08:00
Alex Holliday e8fe3ceee3 reset 2025-03-06 09:48:10 -08:00
Alex Holliday b1736ef089 remove diagnostic 2025-03-06 09:39:58 -08:00
Alex Holliday d447231780 revert status page 2025-03-06 09:35:44 -08:00
Alex Holliday 995bd644e5 add map checks 2025-03-06 09:31:41 -08:00
Alex Holliday 23b22fad38 fix chart ID 2025-03-06 09:13:09 -08:00
Owaise Imdad ad44f34eab Refactored with comments for better understanding. 2025-03-06 14:05:15 +05:30
Alex Holliday 1da3f5d82c add explain results 2025-03-05 19:35:34 -08:00
Alex Holliday a92839cf4e new query 2025-03-05 19:23:23 -08:00
Alex Holliday eb6d14dc09 Merge branch 'develop' of github.com:bluewave-labs/bluewave-uptime into develop 2025-03-05 17:54:34 -08:00
mohadeseh safari 6825f72808 StarPrompt typography changes 2025-03-05 20:36:52 -05:00
Skorpios 4712bc75a6 Merge remote-tracking branch 'upstream/develop' into feat/notification-modal 2025-03-05 16:31:35 -08:00
Alexander Holliday 8cfec01ad0 Merge pull request #1879 from bluewave-labs/feat/recent-checks-query
feat: recent checks query
2025-03-05 11:34:57 -08:00
Alex Holliday f089e31d69 add recent 2025-03-05 11:24:02 -08:00
Alex Holliday 1642311e50 add recent 2025-03-05 11:23:45 -08:00
Alex Holliday ed6ed07f6c remove unused import 2025-03-05 11:23:26 -08:00
Alex Holliday 94eb0e6298 add recent option 2025-03-05 11:21:37 -08:00
Alex Holliday d56b9e29ec add recent option 2025-03-05 11:21:17 -08:00
Alex Holliday 80ca492d61 update connectionstatus on initial data fetch 2025-03-05 11:20:54 -08:00
Alex Holliday 1d1c80ac19 add undefined state for device ticker 2025-03-05 11:20:23 -08:00
Alex Holliday 65343e1e4b Add recent to header 2025-03-05 11:19:48 -08:00
Alex Holliday 5ac2bfe7b5 add recent date format 2025-03-05 11:19:18 -08:00
Owaise Imdad 5c0c33a339 Made maxwidth to be default 100% and if the number is provided then we truncate. 2025-03-06 00:27:37 +05:30
Alexander Holliday 5355af29c6 Merge pull request #1878 from renovate-bot/renovate/material-ui-monorepo
Update material-ui monorepo
2025-03-05 09:48:56 -08:00
Mend Renovate 6df3b985af Update material-ui monorepo 2025-03-05 17:46:51 +00:00
Alexander Holliday 24f7d576f3 Merge pull request #1870 from Br0wnHammer/fix/fe/incidents-all-monitors
Fix: Incidents for All Monitors
2025-03-05 09:45:58 -08:00
Owaise Imdad ec3704552f Changed the logic to only depend on css styles and typography component. 2025-03-05 21:03:03 +05:30
Alex Holliday 5f8e43900f Merge branch 'develop' of github.com:bluewave-labs/bluewave-uptime into develop 2025-03-04 22:26:36 -08:00
Owaise Imdad 14b5cfc053 selectedItemName value to empty 2025-03-05 11:22:45 +05:30
Owaise Imdad 3376186ff3 Refactored the code. 2025-03-05 09:21:08 +05:30
Owaise Imdad a7a8bb2ea8 removed all console logs. 2025-03-05 09:16:49 +05:30
Owaise Imdad 3226035589 fix-1847 truncate fix for selection component. 2025-03-05 09:11:15 +05:30
Skorpios 055799a135 Used theme values for consistency instead of hardcoded values for padding. 2025-03-04 15:57:30 -08:00
Skorpios 1105a38080 Moved component to the regular components dir. 2025-03-04 15:56:09 -08:00
Skorpios 915e88d187 Merge remote-tracking branch 'upstream/develop' into feat/notification-modal 2025-03-04 15:35:45 -08:00
Alexander Holliday 314968d1a1 Merge pull request #1871 from bluewave-labs/feat/depin-details-initial-data
feat: depin details initial data
2025-03-04 11:57:27 -08:00
Alex Holliday ceedf231bd fetch initial data 2025-03-04 11:53:04 -08:00
Alex Holliday a2c35c903b add getDistributedUptimeDetails 2025-03-04 11:52:50 -08:00
Aryaman Kumar Sharma 71569e1d50 Fix: Incidents for all monitors 2025-03-05 00:58:43 +05:30
Alex Holliday f490e13b2e remove devices 2025-03-04 11:19:21 -08:00
Owaise Imdad b3bfab05e6 Merged the conflict theme file. 2025-03-05 00:37:21 +05:30
Owaise Imdad a0401ffd2f Maitenance start time style fixes. 2025-03-05 00:32:04 +05:30
Alexander Holliday 3be1917cc6 Merge pull request #1868 from bluewave-labs/feat/depin-monitors-initial-data-fetch
feat: depin monitors initial data fetch, #1867
2025-03-04 10:24:06 -08:00
Alex Holliday a0830f0f34 add initial data fetch 2025-03-04 10:18:36 -08:00
Alex Holliday 2065f420d1 Add 2025-03-04 10:18:24 -08:00
Alexander Holliday f26893bb51 Merge pull request #1854 from RishavAdi/feature/sidebar-account-menu
feat(sidebar): Improve sidebar menu UI
2025-03-04 09:14:54 -08:00
Aditya 740887e61a fix(sidebar): Implement PR review feedback 2025-03-04 22:31:20 +05:30
Alexander Holliday ff2e89f841 Merge pull request #1845 from Owaiseimdad/StatusBarResolutionStyling
Added a new HOC in status bar in order to make sure it works on both …
2025-03-04 07:17:32 -08:00
Alex Holliday fdbbeff2ae Merge remote-tracking branch 'upstream/develop' into develop 2025-03-04 07:15:00 -08:00
Alexander Holliday b8efb561ec Merge pull request #1865 from Owaiseimdad/FIX-1847-Incident-Page-Style-Issues
Fix 1847 incident page style issues
2025-03-04 07:14:38 -08:00
Jasneet Singh 825a2e2bc4 Refactor wallet component styles for improved responsiveness and alignment 2025-03-04 08:36:50 -05:00
Owaise Imdad c5326e5d6a Added a constant and utilised a responsive-values in MUI. 2025-03-04 15:53:40 +05:30
Aditya 40a8d2995e Merge remote-tracking branch 'upstream/develop' into feature/sidebar-account-menu 2025-03-04 15:36:31 +05:30
Owaise Imdad b49096cfe4 Extra space removed. 2025-03-04 13:39:48 +05:30
Owaise Imdad eafaa415ec Removed redundant code. 2025-03-04 13:38:52 +05:30
Owaise Imdad 4d437a8898 FIX-1847 added all the changes and removed the truncate algo. 2025-03-04 13:36:42 +05:30
Alex Holliday 576f39e4e3 Merge branch 'develop' of github.com:bluewave-labs/bluewave-uptime into develop 2025-03-03 21:43:51 -08:00
Owaise Imdad 0eebd2929b FIX-1847 added methods in string utils in order to utilise in our code. 2025-03-04 09:00:37 +05:30
Owaise Imdad 43cf79f93e Merge branch 'bluewave-labs:develop' into FIX-1847-Incident-Page-Style-Issues 2025-03-04 08:35:29 +05:30
Owaise Imdad 751e83f909 FIX-1847 incident page changes with respect to length and width. 2025-03-04 08:30:44 +05:30
Owaise Imdad f3537131ef made the component to come outside of the main function. 2025-03-04 06:09:54 +05:30
Skorpios c607f78e88 Merge remote-tracking branch 'upstream/develop' into feat/notification-modal 2025-03-03 14:39:17 -08:00
Alexander Holliday 78ce58a6e2 Merge pull request #1863 from bluewave-labs/fix/status-page-validation
fix: disallow reserved chars from status page valiation, resolves #1826
2025-03-03 14:27:53 -08:00
Alex Holliday 457c187240 disallow reserved chars from status page valiation 2025-03-03 14:16:24 -08:00
Gorkem Cetin (BWL) 734b3c2450 Update pull_request_template.md for hardcoded dimensions 2025-03-03 16:56:21 -05:00
Alexander Holliday f7f80d2ba0 Merge pull request #1862 from bluewave-labs/fix/group-depin-items
group depin settings items
2025-03-03 13:36:47 -08:00
mohadeseh safari da2d41ca07 Modify 2025-03-03 15:58:03 -05:00
Alexander Holliday d1b3311942 Merge pull request #1849 from Br0wnHammer/fix/fe/infrastructure-page
Fix: Infrastructure Details Page Design
2025-03-03 11:53:08 -08:00
Aryaman Kumar Sharma 053fc45296 Fix: Infrastructure Details Page Design 2025-03-04 01:03:00 +05:30
Alex Holliday 76682cc1d9 group depin settings items 2025-03-03 11:29:43 -08:00
Aryaman Kumar Sharma e9ae301af7 Fix: Infrastructure Details Page Design 2025-03-04 00:58:59 +05:30
Alexander Holliday 25357257b4 Merge pull request #1850 from Owaiseimdad/FIX_1848_smallUIFixes
FIX-1848 UI design changes
2025-03-03 11:12:33 -08:00
Alexander Holliday 0823447707 Merge pull request #1857 from bluewave-labs/feat/test-dist-monitor
feat: test DePIN monitor
2025-03-03 10:38:54 -08:00
Alexander Holliday b2188fdfa1 Merge pull request #1858 from renovate-bot/renovate/prettier-3.x-lockfile
chore(deps): update dependency prettier to v3.5.3
2025-03-03 10:38:39 -08:00
Alexander Holliday c1d062f220 Merge pull request #1860 from renovate-bot/renovate/maplibre-gl-5.x
fix(deps): update dependency maplibre-gl to v5.2.0
2025-03-03 10:28:31 -08:00
Owaise Imdad 8dc353ce90 Removed the constant values. 2025-03-03 23:14:21 +05:30
Owaise Imdad da64cd0a56 FIX-1725 minor UI changes. 2025-03-03 23:12:17 +05:30
Owaise Imdad d3a769b638 Merge branch 'bluewave-labs:develop' into StatusBarResolutionStyling 2025-03-03 22:19:49 +05:30
mohadeseh safari da989a7708 Add Sidebar and StarPrompt components 2025-03-03 11:27:43 -05:00
Mend Renovate 1662927012 fix(deps): update dependency maplibre-gl to v5.2.0 2025-03-03 15:43:42 +00:00
Aditya b04fc145a2 fix(sidebar): Address PR feedback 2025-03-03 14:51:03 +05:30
Aryaman Kumar Sharma 696fb88c11 Fix: Infrastructure Details Page Design 2025-03-03 10:55:35 +05:30
Owaise Imdad 8f9c388953 FIX-1848 addressed the comments in order to modify the theme implementation. 2025-03-03 09:16:25 +05:30
Mend Renovate 8b8b8d5ae8 chore(deps): update dependency prettier to v3.5.3 2025-03-03 02:51:49 +00:00
Alexander Holliday a763c444fa Merge pull request #1853 from Cihatata/1665-language=selection
feat: 1665 language selection from settings
2025-03-02 13:46:11 -08:00
Alexander Holliday 761190c44b Merge pull request #1851 from renovate-bot/renovate/fontsource-monorepo
Update dependency @fontsource/roboto to v5.2.5
2025-03-02 12:53:56 -08:00
Alex Holliday cfece34e37 Merge branch 'develop' of github.com:bluewave-labs/bluewave-uptime into develop 2025-03-02 12:43:45 -08:00
Alexander Holliday 70a901654d Merge pull request #1841 from renovate-bot/renovate/react-monorepo
chore(deps): update dependency eslint-plugin-react-hooks to v5.2.0
2025-03-02 12:42:28 -08:00
Alex Holliday 89d2226fb8 add env var check 2025-03-02 12:34:51 -08:00
Alex Holliday 16e51e5707 remove unused import 2025-03-02 12:34:23 -08:00
Owaise Imdad 641aeff08c FIX-1484 added in new colors for extensibility and maintainability. 2025-03-02 23:13:32 +05:30
Owaise Imdad 95ccccc396 FIX-1848 added theme for alerts specfic. 2025-03-02 22:59:00 +05:30
Owaise Imdad 649b5ad2a4 FIX-1848 removed the border and background colour. 2025-03-02 21:23:15 +05:30
Mend Renovate 77adb3e0ec fix(deps): update dependency @fontsource/roboto to v5.2.5 2025-03-02 10:29:50 +00:00
Owaise Imdad 9edfd7185b Merge branch 'bluewave-labs:develop' into FIX_1848_smallUIFixes 2025-03-02 12:57:51 +05:30
Owaise Imdad fe7afab57c Merge branch 'bluewave-labs:develop' into FIX-1847-Incident-Page-Style-Issues 2025-03-02 12:56:56 +05:30
Owaise Imdad 039d471af7 FIX-1847 implemented the logic. 2025-03-02 12:51:36 +05:30
Skorpios b44d142920 Implemented notification modal. 2025-03-01 22:36:07 -08:00
Aditya 4f6c29cd9a feat(sidebar): Improve sidebar menu UI 2025-03-02 09:13:30 +05:30
cihatata a549e42c43 feat: Load automatic language settings on app startup 2025-03-02 02:43:53 +03:00
cihatata a72d0029a1 feat: 1665 language selection from settings 2025-03-02 02:21:24 +03:00
Gorkem Cetin (BWL) 41170f16bc Update CONTRIBUTING.md 2025-03-01 15:49:01 -05:00
Gorkem Cetin (BWL) 7eea24a63e Update README.md 2025-03-01 15:46:47 -05:00
Owaise Imdad d123bed875 FIX-1848 minor theme fixes. 2025-03-01 22:43:35 +05:30
Owaise Imdad b6726fba54 FIX-1848 removed the unwanted box element as it does not serve any purpose. 2025-03-01 22:34:33 +05:30
Owaise Imdad 4820c1ee8a FIX-1848 made changes in the contents tab in the status page. 2025-03-01 21:56:21 +05:30
Aryaman Sharma 3632e1d182 Fix: Infrastructure Details Page Design 2025-03-01 10:30:51 +05:30
Aryaman Kumar Sharma 4ccc36acc2 Fix: Infrastructure Details Page Design 2025-03-01 10:21:39 +05:30
Owaise Imdad 947f5ff773 Added a new HOC in status bar in order to make sure it works on both the resolution, high and low. 2025-03-01 08:10:16 +05:30
Jasneet Singh 4b63076acc Add responsive styles for wallet components and integrate CSS 2025-02-28 21:13:03 -05:00
Alexander Holliday f7a172791e Merge pull request #1842 from bluewave-labs/feat/DePIN-status-page-theme
feat: DePIN status page theme
2025-02-28 14:33:00 -08:00
Alexander Holliday 1ea5a97761 Merge pull request #1843 from bluewave-labs/feat/DePIN-monitors-pagination
feat: add pagination to DePIN Monitors
2025-02-28 14:32:47 -08:00
Alex Holliday 960b5330e0 add pagination 2025-02-28 14:31:58 -08:00
Alex Holliday 5ff7e21213 add useEffect hook to set theme to dark, restore to original mode on exit 2025-02-28 13:50:28 -08:00
Alex Holliday d88ebdaff3 add theme switcher 2025-02-28 13:50:02 -08:00
Alex Holliday 831cf8cde5 add light color for chatBot background 2025-02-28 13:49:38 -08:00
Mend Renovate b547981bfd Update dependency eslint-plugin-react-hooks to v5.2.0 2025-02-28 19:40:40 +00:00
Jasneet Singh 64166d2539 updated 2025-02-27 20:11:25 -05:00
Jasneet Singh 591c531192 updated 2025-02-27 20:11:25 -05:00
Jasneet Singh 23672cbf34 Enhance wallet button layout for better responsiveness and alignment. 2025-02-27 20:11:25 -05:00
Alexander Holliday 724f1c98d6 Merge pull request #1839 from bluewave-labs/feat/DePIN-status-header
feat: set monitor name instead of placeholder data
2025-02-27 14:41:47 -08:00
Alexander Holliday 777a518da6 Merge pull request #1838 from bluewave-labs/feat/status-table-onclick
feat: status table onclick
2025-02-27 14:31:52 -08:00
Alex Holliday 1b50a17cec set monitor name instead of placeholder data 2025-02-27 14:31:17 -08:00
Alex Holliday ccde912c3e center align URL 2025-02-27 14:21:32 -08:00
Alex Holliday 7d3ea8ac19 move hover to stack 2025-02-27 14:15:52 -08:00
Alexander Holliday fc77c7e9d6 Merge pull request #1827 from FlowerC9/fix/username-flexibility-added
Fix/username flexibility added
2025-02-27 12:04:46 -08:00
Alexander Holliday 0971c222ad Merge pull request #1836 from renovate-bot/renovate/react-router-monorepo
Update react-router monorepo to v6.30.0
2025-02-27 11:30:19 -08:00
Alexander Holliday 5bf13ecb86 Merge pull request #1837 from renovate-bot/renovate/material-ui-monorepo
Update dependency @mui/x-data-grid to v7.27.2
2025-02-27 11:29:57 -08:00
Alex Holliday 69f39e76a0 add link and style for public status page 2025-02-27 11:27:20 -08:00
Alex Holliday ac8c01fd81 add an onClick and sx config for specific cells to be passed in header config 2025-02-27 11:27:03 -08:00
Mend Renovate e882250c33 Update dependency @mui/x-data-grid to v7.27.2 2025-02-27 18:59:40 +00:00
Alexander Holliday 461006c1b7 Merge pull request #1763 from Br0wnHammer/fix/fe/incidents-text
Fix: No Incidents Message
2025-02-27 10:58:54 -08:00
Mend Renovate 4c142c6e16 fix(deps): update react-router monorepo to v6.30.0 2025-02-27 16:25:17 +00:00
Aryaman Sharma cd1b3043ca Feat: Empty View Component 2025-02-27 11:04:27 +05:30
Aryaman Kumar Sharma 3650a6162a Feat: Empty View Component 2025-02-27 11:00:36 +05:30
Monojit Tewari 33f8a483c2 relative width applied to sidebar profile view 2025-02-27 09:55:50 +05:30
Monojit Tewari cdc2306e4c relative width applied to sidebar profile view 2025-02-27 09:49:39 +05:30
Alexander Holliday 1cadb2c45f Merge pull request #1834 from bluewave-labs/feat/responsive-status
feat: status page update
2025-02-26 15:54:20 -08:00
Alex Holliday 34bb86d166 status page update 2025-02-26 15:53:10 -08:00
Alexander Holliday ee2a1729d0 Merge pull request #1833 from bluewave-labs/fix/breadcrumbs
fix: breadcrumbs, resolves #1829
2025-02-26 14:01:56 -08:00
Alex Holliday 1166da1ab0 fix breadcrumbs 2025-02-26 14:00:51 -08:00
Alexander Holliday a1b8d0952a Merge pull request #1832 from bluewave-labs/feat/subheader-render-condition
feat: conditionally render subheader
2025-02-26 13:39:23 -08:00
Alex Holliday 789c6d7a4a conditionally render subheader 2025-02-26 13:38:25 -08:00
Alexander Holliday 585ad9ae6c Merge pull request #1825 from renovate-bot/renovate/axios-1.x-lockfile
fix(deps): update dependency axios to v1.8.1
2025-02-26 13:32:39 -08:00
Alexander Holliday e2e46ef777 Merge pull request #1828 from renovate-bot/renovate/material-ui-monorepo
fix(deps): update material-ui monorepo
2025-02-26 13:31:52 -08:00
Alexander Holliday 1ef8ec1643 Merge pull request #1831 from bluewave-labs/fix/DePIN-status-header
fix: Depin header - change direction of stack for mobile
2025-02-26 12:43:05 -08:00
Alex Holliday e4a837a20a change direction of stack for mobile 2025-02-26 12:38:03 -08:00
Alexander Holliday 29d6d01ce7 Merge pull request #1830 from bluewave-labs/feat/responsive-status-page
feat: make status page responsive
2025-02-26 11:44:40 -08:00
Alex Holliday 9d2743798f make status page responsive 2025-02-26 11:41:36 -08:00
Mend Renovate 1aade86a8f fix(deps): update material-ui monorepo 2025-02-26 16:22:01 +00:00
Monojit Tewari f1cf836bdc added flexibility to add non-ascii letter or spaces in username 2025-02-26 16:05:41 +05:30
Mend Renovate 0d2c07cc43 fix(deps): update dependency axios to v1.8.1 2025-02-26 10:08:07 +00:00
Monojit Tewari 372b673886 added flexibility to add non-ascii letter or spaces in username 2025-02-26 14:36:18 +05:30
Alexander Holliday 4e7600067c Merge pull request #1824 from bluewave-labs/fix/remove-prism-components
fix: remove accidental prism components
2025-02-25 11:11:54 -08:00
Alex Holliday ae1fc9a297 remove accidental prism components 2025-02-25 11:11:12 -08:00
Alexander Holliday 2f3be9a9f8 Merge pull request #1823 from bluewave-labs/fix/maintenance-page
fix: re-commit changes for maintenance page
2025-02-25 11:05:12 -08:00
Alex Holliday fbd627429b re-commit changes 2025-02-25 11:04:38 -08:00
Alexander Holliday acae8108cf Merge pull request #1822 from renovate-bot/renovate/material-ui-monorepo
Update dependency @mui/x-charts to v7.27.1
2025-02-25 10:56:39 -08:00
Alexander Holliday eceae5b513 Merge pull request #1821 from bluewave-labs/fix/discussion-icon-stroke-width
Fix/discussion icon stroke width
2025-02-25 10:11:56 -08:00
mohadeseh safari dc06774999 fix: adjust discussions icon size to match other sidebar icons #1810 2025-02-25 13:05:48 -05:00
mohadeseh safari b2a41c3f78 fix: replace Material-UI chat icon with custom SVG for consistent stroke width
- Created custom discussions.svg icon with 1.5px stroke width
- Replaced ChatBubbleOutlineRoundedIcon with custom icon
- Ensures consistent styling with other sidebar icons

Fixes #1810
2025-02-25 13:05:48 -05:00
Aryaman Kumar Sharma f4021e8cd5 Feat: Empty View Component for Chart Boxes 2025-02-25 23:10:35 +05:30
Alexander Holliday dd7cfb1a88 Merge pull request #1817 from bluewave-labs/feat/integration-button
Made notification integrations button.
2025-02-25 09:22:43 -08:00
Mend Renovate af1c1f6c7f Update dependency @mui/x-charts to v7.27.1 2025-02-25 17:14:10 +00:00
Alexander Holliday ed6c2b234e Merge pull request #1808 from renovate-bot/renovate/react-icons-5.x
Update dependency react-icons to v5.5.0
2025-02-25 09:13:55 -08:00
Alexander Holliday c1f286cb34 Merge pull request #1818 from renovate-bot/renovate/material-ui-monorepo
Update material-ui monorepo to v7.27.1
2025-02-25 09:13:27 -08:00
Mend Renovate e87d5e6336 Update material-ui monorepo to v7.27.1 2025-02-25 11:06:41 +00:00
Skorpios 31e01d7ac8 Made notification integrations button. 2025-02-24 22:08:06 -08:00
Alexander Holliday 982cd148f6 Merge pull request #1816 from bluewave-labs/fix/infra-id
fix: infra monitor id
2025-02-24 20:27:23 -08:00
Alex Holliday d674479708 fix infra monitor id 2025-02-24 20:26:20 -08:00
Alexander Holliday 121730466e Merge pull request #1814 from bluewave-labs/fix/config-depin
fix: config depin
2025-02-24 16:04:00 -08:00
Alex Holliday 5165d61793 return early if creating 2025-02-24 16:02:35 -08:00
Alex Holliday 08af15f8a5 rename hook, use correct hook 2025-02-24 15:56:00 -08:00
Alex Holliday aea2977f62 use correct hook 2025-02-24 15:54:17 -08:00
Alexander Holliday 20fd2e313c Merge pull request #1813 from bluewave-labs/fix/logo-height
fix: add fixed max logo height to DePIN status page
2025-02-24 15:42:14 -08:00
Alex Holliday 503da2a312 add fixed max logo height to DePIN status page 2025-02-24 15:41:14 -08:00
Alexander Holliday 987774aca8 Merge pull request #1812 from bluewave-labs/feat/prism-to-checkmate
missing strings
2025-02-24 14:39:06 -08:00
Alex Holliday 454f98a5ac missing strings 2025-02-24 14:38:20 -08:00
Alexander Holliday d683d011ff Merge pull request #1811 from bluewave-labs/feat/prism-to-checkmate
feat: prism to checkmate
2025-02-24 14:36:30 -08:00
Alexander Holliday 36bc5571e0 Update README.md 2025-02-24 14:35:33 -08:00
Alex Holliday 88fc158d9f merge 2025-02-24 14:33:25 -08:00
Alexander Holliday c94c0261ab Merge pull request #1809 from bluewave-labs/fix/settings-version-request
fox: remove auth header for version request
2025-02-24 13:20:56 -08:00
Alex Holliday bbd6742839 remove auth header for version request 2025-02-24 13:19:32 -08:00
Mend Renovate 201e2705f8 fix(deps): update dependency react-icons to v5.5.0 2025-02-24 18:23:45 +00:00
Alexander Holliday 6b2fb3083d Merge pull request #1807 from bluewave-labs/feat/sync
feat: prism sync
2025-02-24 10:22:58 -08:00
Alex Holliday d3785bc27b package-lock 2025-02-24 10:16:33 -08:00
Alex Holliday 0cb8df9720 Merge remote-tracking branch 'prism/develop' into feat/sync 2025-02-24 09:51:42 -08:00
Alexander Holliday a8ffba710d Merge pull request #1795 from bluewave-labs/feat/du-status
feat: DePIN status page
2025-02-24 09:11:58 -08:00
Alexander Holliday 0b6410fc4e Merge pull request #1804 from renovate-bot/renovate/reduxjs-toolkit-2.x
Update dependency @reduxjs/toolkit to v2.6.0
2025-02-24 09:11:00 -08:00
Mend Renovate 4801ddbaac Update dependency @reduxjs/toolkit to v2.6.0 2025-02-24 02:10:47 +00:00
Alexander Holliday 5253cea0b6 Merge pull request #21 from uprockcom/status-page-subheader
Status page subheader #3
2025-02-23 17:47:38 -08:00
Alex Holliday 946bfaf16c remove defautl empty string props 2025-02-23 17:47:02 -08:00
tunckiral 77ca3e1ecd fix: update fallback base URL for API to localhost:5000 2025-02-23 16:06:51 -05:00
tunckiral 30c9e518bc refactor: replace SubHeader component with a new implementation and update translations 2025-02-23 16:03:38 -05:00
tunckiral 9772b3b1f2 Merge branch 'develop' into status-page-subheader 2025-02-22 15:45:39 -05:00
tunckiral db0c1ad4a4 replace Greeting component with SubHeader for improved layout and functionality 2025-02-22 15:44:05 -05:00
Alexander Holliday e4ec7b5caf Merge pull request #1797 from bluewave-labs/json-gb-additions
Addition of monitor status messages.
2025-02-22 08:54:08 -08:00
Alexander Holliday 95b4108b0b Merge pull request #1796 from renovate-bot/renovate/maplibre-gl-5.x
Update dependency maplibre-gl to v5.1.1
2025-02-22 08:52:02 -08:00
Alexander Holliday e5b0039bdb Merge pull request #1798 from renovate-bot/renovate/prettier-3.x-lockfile
Update dependency prettier to v3.5.2
2025-02-22 08:51:38 -08:00
Alexander Holliday 28bca34c4b Merge pull request #20 from uprockcom/feat/status-graph
Feat/status graph
2025-02-22 08:50:38 -08:00
Mend Renovate 341b385a44 Update dependency prettier to v3.5.2 2025-02-22 06:35:13 +00:00
Gorkem Cetin (BWL) 1d678f5ae1 Update README.md 2025-02-21 20:33:38 -05:00
Gorkem Cetin (BWL) 2b47db5eb1 Update README.md 2025-02-21 19:21:15 -05:00
Skorpios be2377ea0a Addition of monitor status messages. 2025-02-21 15:37:51 -08:00
Ridvan Karatas 1ae0e570c4 remove sync-workflow 2025-02-22 02:09:12 +03:00
Alex Holliday 829b16e2b7 fix title/name rendering 2025-02-21 15:07:20 -08:00
Alex Holliday 6f2a60acd9 add network operation for fetching distributed status page 2025-02-21 15:06:40 -08:00
Alex Holliday 105b4e124f add timeframe header and monitorslist 2025-02-21 15:06:11 -08:00
Alex Holliday 395d7412eb new DePIN status chart 2025-02-21 15:05:47 -08:00
Alexander Holliday c7284dc68a Merge pull request #18 from uprockcom/feat/add-standard-monitors
feat: allow attaching standard monitors to depin status page
2025-02-21 11:26:37 -08:00
Alex Holliday 844a2f0ae3 use new hook, fix logo and monitor loading 2025-02-21 11:24:18 -08:00
Alex Holliday b9a89469c6 add monitors
list
2025-02-21 11:23:38 -08:00
Alex Holliday c467933021 remove console log 2025-02-21 11:22:49 -08:00
Alex Holliday 09a066426a handle deleting submonitors 2025-02-21 11:22:20 -08:00
Alex Holliday f98b07dba3 add DU specific hook 2025-02-21 11:21:56 -08:00
Mend Renovate 95dbdbca1c Update dependency maplibre-gl to v5.1.1 2025-02-21 15:15:27 +00:00
tunckiral 0ff7d032a9 refactor Subheader component to Greeting, update structure and styling for improved clarity 2025-02-21 06:35:47 -05:00
tunckiral bb51cf1f04 update fallback API URL and add Heading component for consistent typography 2025-02-21 06:17:34 -05:00
Alex Holliday 28a9707885 update status page 2025-02-20 19:02:33 -08:00
Alex Holliday 7ea0e0134c add status header and chatbot 2025-02-20 19:02:24 -08:00
Alex Holliday e22920ebf9 add a standard container 2025-02-20 19:02:01 -08:00
Alex Holliday b44ac7449c add secondary success color, add chatbot colors 2025-02-20 19:01:48 -08:00
Alex Holliday 0669beea74 add html2canvas 2025-02-20 19:01:30 -08:00
Alex Holliday 84c67f6ab3 add share component 2025-02-20 19:00:15 -08:00
Alex Holliday f8eb6e9bc2 add InfoBox 2025-02-20 19:00:06 -08:00
Alex Holliday e10bf56081 allow attaching standard monitors to depin status page 2025-02-20 16:23:22 -08:00
Alexander Holliday 1c1f28462c Merge pull request #17 from uprockcom/feat/share
feat: share
2025-02-20 15:37:35 -08:00
Alex Holliday 0e1ffe7cef add default filename, use monitor name for filename 2025-02-20 15:20:17 -08:00
Alex Holliday b0cadf66bf add sharing feature 2025-02-20 15:18:14 -08:00
Alex Holliday aa1cd5313e set button height 2025-02-20 15:18:03 -08:00
Alex Holliday 8e23f35e76 Add sharing component 2025-02-20 15:17:47 -08:00
Alex Holliday 0433c2ee88 add html2canvas 2025-02-20 15:17:32 -08:00
Alex Holliday 7a0c465b67 refactor theme 2025-02-20 15:17:07 -08:00
Alexander Holliday 575c01b096 Merge pull request #1793 from bluewave-labs/fix/fe/create-maintenance-window
Fix create maintenance window issue
2025-02-20 13:40:30 -08:00
Gorkem Cetin 3ca1764201 Update README.md 2025-02-20 15:40:58 -05:00
Gorkem Cetin 0408dd3a65 Who starred Checkmate? 2025-02-20 15:40:26 -05:00
Alexander Holliday 0b57d8cdb9 Merge pull request #16 from uprockcom/feat/chatbot
feat: chatbot, resolves #13
2025-02-20 12:04:35 -08:00
Ridvan Karatas 7345a81d22 Fix: Use cherry-pick instead of merge for upstream sync 2025-02-20 22:58:04 +03:00
Ridvan Karatas 97e7074bf9 Update sync-upstream-frontend.yml
Fix: Always fetch upstream changes and create PR
2025-02-20 22:55:24 +03:00
Alex Holliday 73723da1d1 add chatbot component 2025-02-20 11:48:53 -08:00
Alex Holliday 8ccbbfe745 add chatbot 2025-02-20 11:48:46 -08:00
Alex Holliday 15be7d723c add chatbot colors 2025-02-20 11:48:09 -08:00
Alex Holliday 05040f21a2 add style prop to Dot 2025-02-20 11:47:30 -08:00
Alex Holliday b04d6c0dab push test 2025-02-20 11:46:09 -08:00
Ridvan Karatas e514d4556e Ensure correct upstream sync on develop branch for frontend 2025-02-20 22:42:31 +03:00
Ridvan Karatas 42a01e7208 Update sync-upstream-frontend.yml
Fix: Ensure correct branch 'develop' in upstream fetch
2025-02-20 22:38:14 +03:00
Ridvan Karatas 700915f0c0 Merge pull request #15 from uprockcom/ridvankaratas-patch-3
Fix: Use merge instead of rebase for upstream sync
2025-02-20 22:26:52 +03:00
Ridvan Karatas f22edd1f1d Update sync-upstream-frontend.yml
Fix: Use merge instead of rebase for upstream sync
2025-02-20 22:26:35 +03:00
Ridvan Karatas c2dcbc2369 Merge pull request #14 from uprockcom/ridvankaratas-patch-2
Fix: Proper upstream sync with rebase
2025-02-20 22:20:28 +03:00
Ridvan Karatas 9611a9d745 Update sync-upstream-frontend.yml 2025-02-20 22:19:48 +03:00
Alexander Holliday ab49db3a01 Merge pull request #12 from uprockcom/feat/du-header
feat: Distributed Uptime Status Header, resolves #2
2025-02-20 11:08:10 -08:00
Alexander Holliday eb026f4197 Merge pull request #9 from uprockcom/feat/standardized-container
Feat/standardized container
2025-02-20 11:07:57 -08:00
Ridvan Karatas b35c9d1fd2 Merge pull request #11 from uprockcom/ridvankaratas-patch-1
Update sync-upstream-frontend.yml
2025-02-20 22:03:26 +03:00
Alex Holliday 8e405b0ab7 Add status header 2025-02-20 11:03:15 -08:00
Alex Holliday 48475c4767 add colors to theme for DU Status Header 2025-02-20 11:02:58 -08:00
Ridvan Karatas 39c7786701 Update sync-upstream-frontend.yml 2025-02-20 22:02:49 +03:00
Alex Holliday 712af6dc2d remove borderStyle 2025-02-20 11:02:36 -08:00
Ridvan Karatas 6fdcaafb23 Merge pull request #10 from uprockcom/shadow-test
created workflow to test commits
2025-02-20 21:58:09 +03:00
Ridvan Karatas 28c6d008c3 created workflow to test commits 2025-02-20 21:46:36 +03:00
Vishnu Sreekumaran Nair 673df3a7a4 correct handleSelectMonitors function to align with Search component 2025-02-20 12:58:28 -05:00
Alex Holliday c9e655faeb use standard containers, style map 2025-02-20 09:46:59 -08:00
Alex Holliday fb4fa32312 add infobox component 2025-02-20 09:46:40 -08:00
Alex Holliday 49fe6e2ee4 add standard container component 2025-02-20 09:46:29 -08:00
Alexander Holliday e62c469abd Merge pull request #8 from uprockcom/feat/ticker-redesign
feat: ticker redesign
2025-02-20 09:04:13 -08:00
Alexander Holliday e208dc1bce Merge pull request #7 from uprockcom/feat/map-and-ticker
feat: map and ticker, resolves #4
2025-02-20 09:03:53 -08:00
Alex Holliday 13a6b79df7 replace list with table 2025-02-19 14:54:21 -08:00
Alex Holliday 2d182ba9d2 remove console.log 2025-02-19 14:53:58 -08:00
Alex Holliday dfbc0ca2e8 use correct proptype 2025-02-19 14:47:00 -08:00
Vishnu Sreekumaran Nair ee0a02d46e fix monitor selection issue by correctly extracting selected monitors from event 2025-02-19 16:40:26 -05:00
Alex Holliday ebc8a49f98 reorganize layout 2025-02-19 13:40:06 -08:00
Alex Holliday bfd2330bba update proptypes 2025-02-19 13:37:27 -08:00
Alex Holliday 3818c9e5a6 add an optional Icon to statbox 2025-02-19 13:36:29 -08:00
Vishnu Sreekumaran Nair a9ebb8abc1 fetch monitors data from filteredmonitors object to include type data 2025-02-19 15:52:16 -05:00
Vishnu Sreekumaran Nair 2ccdcdd480 resolve react ownerState warning by correctly passing CalendarIcon 2025-02-19 14:45:40 -05:00
Aryaman Kumar Sharma 2879126565 Feat: Empty View Low Level Component 2025-02-19 22:32:09 +05:30
Gorkem Cetin (BWL) 290e9226e5 Mention be/fe better 2025-02-18 20:53:02 -05:00
Gorkem Cetin (BWL) f34c0c633f Add backend repo url 2025-02-18 20:51:00 -05:00
Alexander Holliday fd6fb71ec8 Merge pull request #1 from uprockcom/sync-fe
sync
2025-02-18 15:45:08 -08:00
Alex Holliday 7e4e6b7d1d sync 2025-02-18 15:44:19 -08:00
Alexander Holliday 1235c2f34a Merge pull request #1790 from renovate-bot/renovate/material-ui-monorepo
Update material-ui monorepo
2025-02-18 12:16:49 -08:00
Mend Renovate 50ef12cd7b Update material-ui monorepo 2025-02-18 20:08:25 +00:00
Alexander Holliday c438a72041 Merge pull request #1789 from bluewave-labs/fix/fe/maintenance-background
Fix Maintenance page layout issue
2025-02-18 12:07:43 -08:00
Alex Holliday b856ce3dd1 use standard spacing 2025-02-18 12:06:58 -08:00
Vishnu Sreekumaran Nair 96378a5581 remove box container and move fallback outisde wrapper 2025-02-18 13:53:02 -05:00
Alexander Holliday e5246e82cc Merge pull request #1786 from Br0wnHammer/remove-ds-store
Fix: Removed .DS_Store
2025-02-18 10:15:48 -08:00
Alexander Holliday 1174f9d728 Merge pull request #1787 from YinDongFang/feature/auth
Setting Authorization in axios interceptor instead of passing from UI component
2025-02-18 10:15:14 -08:00
Alexander Holliday af979a5d0b Merge pull request #1788 from renovate-bot/renovate/react-i18next-15.x-lockfile
Update dependency react-i18next to v15.4.1
2025-02-18 10:05:09 -08:00
Alex Holliday 6dbb6dad7e initial commit 2025-02-18 09:47:54 -08:00
Alex Holliday 2157b04ced update gitignore 2025-02-18 09:24:34 -08:00
Mend Renovate 55fc406b38 Update dependency react-i18next to v15.4.1 2025-02-18 11:54:47 +00:00
dongfang 01ca05a13f remove jwtDecode package 2025-02-18 06:21:40 +00:00
dongfang e8c0a98a7b get user by thunkApi instead of jwtDecode token 2025-02-18 06:21:30 +00:00
dongfang f2ae99768a remove authToken reading and passing in UI component and hooks 2025-02-18 04:56:26 +00:00
dongfang 6a1e5532e4 remove authToken passing in redux thunks 2025-02-18 04:56:26 +00:00
dongfang 9e0532baf1 remove Authorization setting in NetworkService apis 2025-02-18 04:56:26 +00:00
dongfang 1410c23c99 get authToken and set Authorization header in axios request interceptor 2025-02-18 04:56:26 +00:00
Aryaman Kumar Sharma bb30e98104 Removed .DS_Store 2025-02-18 09:50:36 +05:30
Alexander Holliday d3fa71f114 Merge pull request #1785 from bluewave-labs/reorg/client
remove npmrc, copy readme
2025-02-17 19:16:19 -08:00
Alex Holliday 1b8d632c1e remove npmrc, copy readme 2025-02-17 19:15:39 -08:00
Alexander Holliday 21502430c8 Merge pull request #1784 from bluewave-labs/reorg/client
reorg: extract server
2025-02-17 19:14:20 -08:00
Alex Holliday 24736a7bc1 extract server 2025-02-17 19:08:36 -08:00
Alexander Holliday 93588cfa3f Merge pull request #1612 from bluewave-labs/feat/be/webhook-integrations
Add Discord webhook notification support
2025-02-17 18:11:22 -08:00
Skorpios 4ef2b294bb Used string service instead of hardcoded value. 2025-02-17 17:33:54 -08:00
Skorpios 5be17af4c1 Used 1 validation schema for all platforms. 2025-02-17 17:29:45 -08:00
Skorpios 03a938de8a Check if platform type is accepted before formatting the message. 2025-02-17 09:55:19 -08:00
Skorpios afc9d46bd7 Refactored notification messsages into an array of acceptable types. 2025-02-17 09:39:28 -08:00
Skorpios c4168a5d75 Removed null and replace with undefined. 2025-02-17 09:24:21 -08:00
Skorpios d710ec0f6c Merge remote-tracking branch 'upstream/develop' into feat/be/webhook-integrations 2025-02-17 09:12:47 -08:00
Skorpios f22b67ad0a Use the localization service for user facing strings. 2025-02-17 09:12:11 -08:00
Alexander Holliday 48f5a52f70 Merge pull request #1782 from bluewave-labs/fix/be/remove-ngrok
fix: remove ngrok
2025-02-17 08:52:57 -08:00
Alex Holliday 1068078b83 remove ngrok 2025-02-17 08:49:42 -08:00
Alexander Holliday b4ad2460bb Merge pull request #1781 from bluewave-labs/fix/fe/sidebar-selection
fix: sidebar selection
2025-02-17 08:46:21 -08:00
Alex Holliday a53bf1225d replce strict equality evaluation with to match partial paths 2025-02-17 08:44:24 -08:00
Skorpios e4e3f9cc63 Merge remote-tracking branch 'upstream/develop' into feat/be/webhook-integrations 2025-02-17 08:31:21 -08:00
Alexander Holliday e3271513b4 Merge pull request #1777 from renovate-bot/renovate/bullmq-5.x
Update dependency bullmq to v5.41.2
2025-02-17 08:25:52 -08:00
Alexander Holliday d74b5df871 Merge pull request #1778 from renovate-bot/renovate/material-ui-monorepo
Update material-ui monorepo to v7.27.0
2025-02-17 08:25:24 -08:00
Mend Renovate a78849487f Update material-ui monorepo to v7.27.0 2025-02-17 11:28:41 +00:00
Skorpios 6152679dfa Update Docs. 2025-02-16 20:33:47 -08:00
Skorpios ff2b3b4e10 Removed timing request for the webhook. 2025-02-16 20:28:34 -08:00
Skorpios 55c1a1c233 Moved validation to the controller. 2025-02-16 20:21:44 -08:00
Skorpios 8409571d57 Defined new schema for the config object. 2025-02-16 19:32:52 -08:00
Skorpios 07882e045b Merge remote-tracking branch 'upstream/develop' into feat/be/webhook-integrations 2025-02-16 18:48:00 -08:00
Gorkem Cetin (BWL) d3f7a72952 Add Elestio to providers 2025-02-16 14:24:55 -05:00
Mend Renovate aa293a9665 Update dependency bullmq to v5.41.2 2025-02-16 19:10:00 +00:00
Gorkem Cetin (BWL) c4a6110f28 Add sponsors 2025-02-16 12:46:31 -05:00
Alexander Holliday 42085d706d Merge pull request #1754 from YinDongFang/feature/json-validation
Implement json validation UI
2025-02-15 08:48:33 -08:00
Alexander Holliday c3849a79fc Merge pull request #1774 from bluewave-labs/gorkem-bwl-patch-3
Update index.jsx
2025-02-15 08:38:08 -08:00
Gorkem Cetin (BWL) f2556fecf6 Update index.jsx
Connect wallet description update
2025-02-14 23:39:59 -05:00
Alexander Holliday 1e13b3c5d9 Merge pull request #1771 from bluewave-labs/fix/devops/docker-files
fix error in docker file
2025-02-14 11:01:49 -08:00
Alex Holliday ed7ec6a807 fix error in docker file 2025-02-14 11:00:45 -08:00
Alexander Holliday a2132e188d Merge pull request #1770 from renovate-bot/renovate/prettier-3.x-lockfile
Update dependency prettier to v3.5.1
2025-02-14 10:39:55 -08:00
Alexander Holliday 10d17452df Merge pull request #1769 from renovate-bot/renovate/mongoose-8.x-lockfile
Update dependency mongoose to v8.10.1
2025-02-14 10:39:42 -08:00
Mend Renovate 0981c87ebc Update dependency prettier to v3.5.1 2025-02-14 18:39:28 +00:00
Alexander Holliday fe0d669542 Merge pull request #1762 from bluewave-labs/fix/fe/be/du-details
fix: fe/be/du details
2025-02-14 10:39:27 -08:00
Mend Renovate 855443f1b0 Update dependency mongoose to v8.10.1 2025-02-14 18:39:20 +00:00
Alexander Holliday 2330dcd758 Merge pull request #1761 from bluewave-labs/fix/fe/loading-buttons
fix: fe/loading buttons
2025-02-14 10:39:11 -08:00
Alexander Holliday 8ae743a395 Merge pull request #1760 from bluewave-labs/feat/fe/du-responsetime-barchart
feat: fe/du responsetime barchart
2025-02-14 10:38:34 -08:00
Alexander Holliday f12664d63b Merge pull request #1768 from bluewave-labs/fix/devops/docker-files
fix: devops/docker files
2025-02-14 10:37:49 -08:00
Alex Holliday d0addaea5b update docker files to include python and build tools 2025-02-14 10:34:54 -08:00
Alex Holliday 30a2c9dca9 removed superfluous docker config 2025-02-14 10:21:32 -08:00
Alexander Holliday 6b641e3098 Merge pull request #1767 from renovate-bot/renovate/chai-5.x
Update dependency chai to v5.2.0
2025-02-14 09:27:08 -08:00
Mend Renovate 1124e8f94a Update dependency chai to v5.2.0 2025-02-14 17:22:54 +00:00
Alexander Holliday 3d02ce7502 Merge pull request #1766 from renovate-bot/renovate/bullmq-5.x
Update dependency bullmq to v5.41.0
2025-02-14 09:22:07 -08:00
Mend Renovate baaf2a06c4 Update dependency bullmq to v5.41.0 2025-02-14 15:11:54 +00:00
Alexander Holliday 09aeb28541 Merge pull request #1764 from renovate-bot/renovate/bullmq-5.x
Update dependency bullmq to v5.40.5
2025-02-14 07:10:35 -08:00
Mend Renovate 8d5687cc22 Update dependency bullmq to v5.40.5 2025-02-14 06:33:04 +00:00
dongfang 133468c36e refactor some constants and change descriptions 2025-02-14 02:45:24 +00:00
Alex Holliday 9cbee6d32b throw error on bad response from UpRock, fix empty view condition 2025-02-13 16:13:39 -08:00
Gorkem Cetin (BWL) f59eada9e4 Fix lang 2025-02-13 19:03:06 -05:00
Gorkem Cetin (BWL) 77a01014d5 Add mem footprint of MongoDB / Redis 2025-02-13 19:01:02 -05:00
Gorkem Cetin (BWL) aefcfa3e94 Add memory footprint for Nodejs 2025-02-13 18:57:44 -05:00
Alex Holliday 064a9f6d36 replace loading button with button 2025-02-13 15:20:12 -08:00
Alex Holliday de71c5f339 update theme to handle buttons 2025-02-13 15:19:24 -08:00
Alex Holliday 77959264d0 Use new components 2025-02-13 14:50:14 -08:00
Alex Holliday 4ef11daa51 Refactor out chart helpers 2025-02-13 14:49:50 -08:00
Alex Holliday 1cba45c537 use new charts 2025-02-13 14:49:03 -08:00
Alex Holliday b1dfa0f1c0 refactor area chart 2025-02-13 14:48:07 -08:00
Alex Holliday bc7a5c3de2 Add a bar chart 2025-02-13 14:47:56 -08:00
Alex Holliday 7dd5573f01 use first_byte_took only for response time 2025-02-13 14:47:24 -08:00
Alexander Holliday 872a9a7265 Merge pull request #1759 from Br0wnHammer/fix/fe/sidemenu-overflow
Fix: Sidemenu UI Overflow
2025-02-13 12:48:34 -08:00
Alexander Holliday db3255d9c6 Merge pull request #1753 from bluewave-labs/fix/fe/uptime-calculation
fix: correctly calculate grouped uptime percentage, resolves #1684
2025-02-13 11:04:10 -08:00
Alexander Holliday 85b24f8af1 Merge pull request #1750 from bluewave-labs/feat/fe/wallet-adapter
feat: fe/wallet adapter
2025-02-13 11:03:41 -08:00
Alexander Holliday 106d49850c Merge branch 'develop' into feat/fe/wallet-adapter 2025-02-13 11:03:29 -08:00
Alexander Holliday 1ccea4541b Merge pull request #1752 from bluewave-labs/feat/fe/config-du-monitor
feat: fe/config du monitor
2025-02-13 10:58:48 -08:00
Aryaman Kumar Sharma b704651b87 Fix: Sidemenu UI Overflow 2025-02-14 00:17:32 +05:30
Alex Holliday 84bbcc8d77 fix confirmation dialog messags 2025-02-13 10:43:04 -08:00
Alexander Holliday 0c4c75a612 Merge pull request #1758 from bluewave-labs/revert-1749-fix/fe/sidemenu-ui-overflow
Revert "Fix: Sidemenu UI Overflows"
2025-02-13 10:26:22 -08:00
Alexander Holliday 3bcb33bed0 Revert "Fix: Sidemenu UI Overflows" 2025-02-13 10:26:03 -08:00
Vishnu Nair 91f54bc78f Merge pull request #1749 from Br0wnHammer/fix/fe/sidemenu-ui-overflow
Fix: Sidemenu UI Overflows
2025-02-13 12:52:42 -05:00
Aryaman Kumar Sharma b93165e8d8 Fix: Profile Sidemenu Overflows 2025-02-13 23:01:16 +05:30
Alexander Holliday fa061f8390 Merge pull request #1756 from renovate-bot/renovate/prettier-3.x-lockfile
chore(deps): update dependency prettier to v3.5.1
2025-02-13 09:05:06 -08:00
Mend Renovate 5c2f0773c4 chore(deps): update dependency prettier to v3.5.1 2025-02-13 15:20:43 +00:00
Alexander Holliday e38d9a208a Merge pull request #1755 from renovate-bot/renovate/bullmq-5.x
fix(deps): update dependency bullmq to v5.40.4
2025-02-13 07:19:23 -08:00
Mend Renovate d9b2a3850d fix(deps): update dependency bullmq to v5.40.4 2025-02-13 05:39:32 +00:00
Skorpios 12d9f154bf Got rid context bind in the route. 2025-02-12 21:22:44 -08:00
Skorpios 70ffe1b661 Use middleware for handling errors. 2025-02-12 21:17:31 -08:00
Skorpios 8007daa66b Used response handling middleware for the response format. 2025-02-12 19:16:20 -08:00
Skorpios 012483d14f Automated validation via joi. 2025-02-12 18:54:34 -08:00
Skorpios 023d9434c1 Merge remote-tracking branch 'upstream/develop' into feat/be/webhook-integrations 2025-02-12 17:29:57 -08:00
dongfang 105b471cc6 allow empty string for json validation in server side 2025-02-13 00:56:16 +00:00
dongfang 1d13a498b6 support configure json validation fields 2025-02-13 00:54:50 +00:00
dongfang 2330fc8684 support create uptime with json validation 2025-02-13 00:54:24 +00:00
dongfang e7ffe47cf8 add json validation fields 2025-02-13 00:54:19 +00:00
Alex Holliday e2170981e4 correctly calculate grouped uptime percentage 2025-02-12 15:18:27 -08:00
Alexander Holliday e903c12306 Merge pull request #1748 from renovate-bot/renovate/globals-15.x-lockfile
chore(deps): update dependency globals to v15.15.0
2025-02-12 13:57:48 -08:00
Alex Holliday 1ed61120fd Add todo comment 2025-02-12 13:54:27 -08:00
Alex Holliday 508c838e58 delete checks and status pages on monitor delete 2025-02-12 13:52:21 -08:00
Alex Holliday ca6e40042a add delete checks method 2025-02-12 13:52:02 -08:00
Alex Holliday 82c9a7331b Add a method for deleting status pages when a monitor is deleted 2025-02-12 13:50:45 -08:00
Alex Holliday 9344ebc828 Simpler differentiation 2025-02-12 13:50:02 -08:00
Alex Holliday 074824ffe8 add delete dialog, state, and header 2025-02-12 13:49:37 -08:00
Alex Holliday ab16ab0d70 implement cconfig using create component 2025-02-12 13:48:01 -08:00
Alex Holliday dc84bd8848 fix loading condtitional, correct row renderng 2025-02-12 13:47:21 -08:00
Alex Holliday f72dd799c4 fix incorrect field parsing 2025-02-12 13:46:36 -08:00
Alex Holliday 2db41d331e simpler differentiation between creating and updating 2025-02-12 13:46:09 -08:00
Alex Holliday 89a542e804 Add a config route for DU 2025-02-12 13:45:38 -08:00
Alex Holliday b015f7b61a destructure var, build form to update monitor 2025-02-12 13:44:56 -08:00
Alex Holliday 0cf056f725 move field parsing to network util 2025-02-12 13:44:04 -08:00
Alex Holliday c4ab43fae5 add wallet connector settings 2025-02-12 10:25:20 -08:00
Alex Holliday bad8cee207 remove unused routes 2025-02-12 10:25:07 -08:00
Alex Holliday 45351034ea remove unused components 2025-02-12 10:24:39 -08:00
Alex Holliday 0a93f8a5c7 wrap application in wallet provider 2025-02-12 10:23:55 -08:00
Alex Holliday 4660d2ada7 Add wallet provider 2025-02-12 10:23:29 -08:00
Aryaman Kumar Sharma 6320a22fd6 Fix: Sidemenu UI Overflows 2025-02-12 23:41:42 +05:30
Mend Renovate 5fb0204b4b chore(deps): update dependency globals to v15.15.0 2025-02-12 17:49:14 +00:00
Alexander Holliday 0c96ffe3d0 Merge pull request #1747 from renovate-bot/renovate/bullmq-5.x
Update dependency bullmq to v5.40.3
2025-02-12 09:14:47 -08:00
Alexander Holliday 408fee0f46 Merge pull request #1744 from bluewave-labs/fix/fe/du-status-page-placeholder
fix: DU status page placeholder
2025-02-12 09:14:26 -08:00
Alexander Holliday 07e7378c47 Merge pull request #1745 from Br0wnHammer/fix/fe/uptime-responsetime-gauge-ui
Fix: Average Resposne Time Guage Chart UI
2025-02-12 09:13:09 -08:00
Mend Renovate bcb1f250af fix(deps): update dependency bullmq to v5.40.3 2025-02-12 15:36:48 +00:00
Aryaman Kumar Sharma 70fc3756b5 Fix: Average Resposne Time Guage Chart UI 2025-02-12 13:15:32 +05:30
Alex Holliday 34e74d2f34 fix placeholder 2025-02-11 22:25:58 -08:00
Alexander Holliday af6af730ee Merge pull request #1700 from YinDongFang/feature/json-validation
Feature/json validation
2025-02-11 21:00:20 -08:00
dongfang 1f0876dd71 use stringService in requestHttp 2025-02-12 03:16:07 +00:00
dongfang 6837adb5aa add locales for http request 2025-02-12 03:13:52 +00:00
dongfang c3d92ec812 return early if not json 2025-02-12 03:05:58 +00:00
dongfang 4d12608a22 return early instead of nesting if/else blocks 2025-02-12 02:53:09 +00:00
dongfang 9fe2de8969 Use JSON.stringify instead of toString 2025-02-12 02:53:09 +00:00
dongfang 05e448c4c5 Add job name and id in log 2025-02-12 02:53:09 +00:00
dongfang b263e2746c Convert result to string 2025-02-12 02:53:09 +00:00
dongfang 8b49603382 Support jsonPath and expectedValue 2025-02-12 02:53:09 +00:00
dongfang 81a0ec8b23 Replace variable declarations with destructuring 2025-02-12 02:52:35 +00:00
dongfang b7a8596b7b Add jmespath denpendency 2025-02-12 02:52:35 +00:00
dongfang 6000096883 Add monitor fields 2025-02-12 02:52:35 +00:00
Alexander Holliday 786be29139 Merge pull request #1742 from renovate-bot/renovate/eslint-monorepo
chore(deps): update dependency eslint to v9.20.1
2025-02-11 14:56:08 -08:00
Mend Renovate 8bbcb67066 chore(deps): update dependency eslint to v9.20.1 2025-02-11 17:22:19 +00:00
Alexander Holliday 1a8d7315ac Merge pull request #1733 from rkhatta1/develop
Fix: FE - Language preference should be stored in Redux store.
2025-02-11 09:21:05 -08:00
Alexander Holliday 764078cc8a Merge pull request #1741 from bluewave-labs/fix/fe/status/restore-nav
hotfix: stauts page config link
2025-02-11 09:07:26 -08:00
Alex Holliday 931fd197ac fix link 2025-02-11 09:06:18 -08:00
Alexander Holliday 754c0c2c43 Merge pull request #1732 from renovate-bot/renovate/hello-pangea-dnd-18.x
Update dependency @hello-pangea/dnd to v18
2025-02-11 09:04:16 -08:00
Alexander Holliday 8b1f32d827 Merge pull request #1709 from Cihatata/i18n-support-backend
I18n support for server
2025-02-11 09:02:24 -08:00
Alexander Holliday 5371f531e2 Merge branch 'develop' into i18n-support-backend 2025-02-11 09:02:06 -08:00
Mend Renovate 40ec2c8cee Update dependency @hello-pangea/dnd to v18 2025-02-11 15:35:15 +00:00
Alexander Holliday 209bbf6972 Merge pull request #1739 from renovate-bot/renovate/material-ui-monorepo
Update material-ui monorepo
2025-02-11 07:34:26 -08:00
Mend Renovate 0cc9966e25 Update material-ui monorepo 2025-02-11 15:21:49 +00:00
Alexander Holliday c0c27cde0f Merge pull request #1738 from bluewave-labs/feat/fe/status-page-table
feat: fe/status page table
2025-02-11 07:19:42 -08:00
Alex Holliday 7846c759d9 remove 404 2025-02-11 07:18:37 -08:00
Alex Holliday c7614ad89e add reusable skeleton 2025-02-11 07:18:24 -08:00
Alex Holliday af0f940c22 Add skeleton 2025-02-11 07:18:09 -08:00
Alex Holliday f6f2ae5b3a remove 404 check 2025-02-11 07:17:45 -08:00
Alex Holliday 34c8e3ce55 add leading / 2025-02-11 07:17:03 -08:00
Alex Holliday 1b5c01eeeb remove error throw 2025-02-11 07:16:43 -08:00
cihat fddaf8f11f fix: resolve conflict 2025-02-11 08:15:29 +03:00
cihatata 93fa4ca13b fix: add injection for jobqueque 2025-02-11 07:49:46 +03:00
cihatata 4c92922d40 fix: i18n rebase 2025-02-11 07:49:44 +03:00
cihatata 7b6eed96f4 fix: remove fetch requests 2025-02-11 07:43:39 +03:00
cihat 158a3f14ea fix: use default.json 2025-02-11 07:43:39 +03:00
cihat c6b3932677 fix: constructure 2025-02-11 07:43:39 +03:00
cihatata d0e09fe77f fix: load file 2025-02-11 07:43:39 +03:00
cihatata 08933743f1 fix: revert tests 2025-02-11 07:43:39 +03:00
cihatata dea8c4fdd8 fix: use new structure 2025-02-11 07:43:39 +03:00
cihatata 88df88891c fix: use new structure 2025-02-11 07:43:38 +03:00
cihatata a98a3dd7a3 feat: authController i18n 2025-02-11 07:43:38 +03:00
cihatata 301208d799 fix: revert dockerfile 2025-02-11 07:43:38 +03:00
cihatata 1c344e564a fix: revert dockerfile 2025-02-11 07:43:38 +03:00
cihatata 6fc0e31743 fix: create stringService 2025-02-11 07:43:38 +03:00
cihatata e18f1d9b85 feat: i18n support for backend 2025-02-11 07:43:38 +03:00
cihatata 10713428b9 feat: i18n support for backend 2025-02-11 07:43:36 +03:00
Skorpios 67da574ea1 Secured notifications route. 2025-02-10 19:44:44 -08:00
Skorpios fa50706541 Simplified network response. 2025-02-10 18:52:06 -08:00
Skorpios ef41712544 Got rid of falsey value. 2025-02-10 18:46:39 -08:00
Skorpios ccd6c58e04 Merge remote-tracking branch 'upstream/develop' into feat/be/webhook-integrations 2025-02-10 18:26:58 -08:00
Alex Holliday eb8901f5ac fix form.isPublished conditional 2025-02-10 16:18:36 -08:00
Alex Holliday 771a9c6c99 update empty view, use table 2025-02-10 16:17:35 -08:00
Alex Holliday 5217292125 don't show toast on 404 2025-02-10 16:17:07 -08:00
Alex Holliday 6e58b6a630 nav to /status/ 2025-02-10 16:16:25 -08:00
Alex Holliday 9a517c239f fix success message 2025-02-10 16:15:48 -08:00
Alex Holliday 40393f3fef remove console.log 2025-02-10 16:15:31 -08:00
Alex Holliday ae96bae795 add wallet adapter 2025-02-10 15:39:48 -08:00
Alexander Holliday 0eceac1587 Merge pull request #1736 from bluewave-labs/feat/fe/list-du-status-pages
feat: fe/list du status pages
2025-02-10 14:25:27 -08:00
Alex Holliday 5f86824d63 fix method name 2025-02-10 14:25:02 -08:00
Alex Holliday 738e4a4787 correct route ordering, add proptype 2025-02-10 14:23:15 -08:00
Alex Holliday 9faec245d8 use async for status page fetch 2025-02-10 14:12:49 -08:00
Alex Holliday 532cbe222b redirect on delete 2025-02-10 14:02:52 -08:00
Alex Holliday 2087202eea add proptype 2025-02-10 13:50:11 -08:00
Alex Holliday aaee0f7edd add editable URL 2025-02-10 13:49:54 -08:00
Alex Holliday 6e0bed589d fix error bug, update page to use url 2025-02-10 13:49:01 -08:00
Alex Holliday 9a67348a83 Update status page to use URL, no longer shows create fallback 2025-02-10 13:48:10 -08:00
Alex Holliday 61e319ef44 allow editing in create component 2025-02-10 13:47:13 -08:00
Alex Holliday b99bb99e2a update path 2025-02-10 13:46:48 -08:00
Alex Holliday 55321ffc3c use url in hook 2025-02-10 13:46:26 -08:00
Alex Holliday 01d1f8e173 update routes 2025-02-10 13:45:23 -08:00
Alex Holliday a3620f720e Add basic status pages page 2025-02-10 13:45:01 -08:00
Alex Holliday d0bb648492 move DU status 2025-02-10 13:44:43 -08:00
Alex Holliday e0e73ce520 Add type to validation 2025-02-10 13:43:24 -08:00
Alex Holliday cb4e739cae Add type to status page request, add get status pages by team request 2025-02-10 13:43:09 -08:00
Alex Holliday 8d93a7e63b remove unused classname 2025-02-10 13:41:47 -08:00
Alex Holliday 48cfeb1558 add route, controller, and db method for getting all status pages by ID 2025-02-10 13:41:21 -08:00
Alex Holliday f78343d03f add teamId and userId to network request 2025-02-10 10:21:56 -08:00
Alex Holliday 99079cc2bb add userId and teamId to status pages 2025-02-10 10:20:21 -08:00
rkhatta1 46e27a69f3 Corrected the usage of getState() funciotn in i18n.js. 2025-02-10 10:38:51 -07:00
Gorkem Cetin (BWL) deca3b93f0 Update documentation URL 2025-02-10 01:28:25 -05:00
rkhatta1 590338a48b Made the requested changes to i18.js, LanguageSelector.jsx and uiSlice.js. 2025-02-09 22:09:39 -07:00
Skorpios f46b0768fc Refactored notification schema config object. 2025-02-09 13:58:14 -08:00
Skorpios d8379f7e88 Configured a config object in the notification schema. 2025-02-09 12:48:22 -08:00
rkhatta1 f747751563 Corrcted the uiSlice import in LanguageSelector.jsx 2025-02-09 13:17:12 -07:00
Skorpios 01e73fe5b8 Merge remote-tracking branch 'upstream/develop' into feat/be/webhook-integrations 2025-02-09 12:15:19 -08:00
rkhatta1 f3dfa17d7f Cleaned the imports and corrected the default language code in uiSlice.js 2025-02-09 13:13:23 -07:00
rkhatta1 18d4b7fd15 Merge branch 'develop' into develop 2025-02-09 11:12:33 -07:00
Alexander Holliday 6911d72db4 Merge pull request #1662 from Br0wnHammer/fix/fe/profilepanel-ui
Fix: Ensure profile panel text and button visibility in dark mode
2025-02-09 08:25:13 -08:00
Alexander Holliday e838e4373b Merge pull request #1727 from renovate-bot/renovate/prettier-3.x-lockfile
Update dependency prettier to v3.5.0
2025-02-09 07:53:24 -08:00
Alexander Holliday bf595a2983 Merge pull request #1725 from bluewave-labs/fix/fe/ui-language-setting
fix: remove react-world-flags, only one flag library needed
2025-02-09 07:52:59 -08:00
Alex Holliday b7d4817167 fix import path 2025-02-09 07:52:31 -08:00
Alexander Holliday ccd464e5f9 Merge pull request #1721 from bluewave-labs/feat/fe/du-create-status-page
feat: fe/du create status page
2025-02-09 07:47:55 -08:00
Alex Holliday a56a61154a fix method name in logging 2025-02-09 07:47:34 -08:00
Mend Renovate a3d82feef2 Update dependency prettier to v3.5.0 2025-02-09 12:52:42 +00:00
rkhatta1 5f1c4b8674 Fix: Issue#1726 - FE - Language preference should be stored in Redux store. 2025-02-09 01:07:31 -07:00
Alexander Holliday db33a93c70 Merge pull request #1719 from renovate-bot/renovate/eslint-monorepo
Update eslint monorepo to v9.20.0
2025-02-08 18:47:40 -08:00
Alexander Holliday 7835782a49 Merge pull request #1723 from renovate-bot/renovate/eslint-plugin-react-refresh-0.x-lockfile
Update dependency eslint-plugin-react-refresh to v0.4.19
2025-02-08 18:47:23 -08:00
Alexander Holliday 40d2e3b155 Merge pull request #1720 from renovate-bot/renovate/material-ui-monorepo
fix(deps): update material-ui monorepo to v7.26.0
2025-02-08 18:46:53 -08:00
Alex Holliday f6c3b5b363 remove react-world-flags, only one flag library needed 2025-02-08 18:42:39 -08:00
Alexander Holliday 36ce69d737 Merge pull request #1711 from Cihatata/i18n-support-client
feat: i18n support for client
2025-02-08 18:25:36 -08:00
Skorpios 64c5aa9bb0 Added notifcation controller and route. 2025-02-08 17:07:14 -08:00
Skorpios e9bcf66b29 Resolved merge conflict in Server/index.js 2025-02-08 16:39:01 -08:00
Mend Renovate 6879aedf77 Update dependency eslint-plugin-react-refresh to v0.4.19 2025-02-09 00:32:27 +00:00
Alex Holliday 2f1f2d1a3f early return if status page public and not published 2025-02-08 08:05:42 -08:00
Alex Holliday 1fabf918c3 add fallbacks 2025-02-08 08:05:16 -08:00
Alex Holliday e4525b96c3 add validation 2025-02-08 08:04:36 -08:00
Mend Renovate 53eac357c2 Update eslint monorepo to v9.20.0 2025-02-08 01:26:57 +00:00
Alex Holliday d852388202 add loading states, skeletons, fix map tooltip 2025-02-07 15:54:19 -08:00
Alex Holliday ea1a717ad0 fix height 2025-02-07 15:20:03 -08:00
Alex Holliday b4c8171c70 conditional rendering for public status page 2025-02-07 15:19:53 -08:00
Alex Holliday f3266e22e7 add check for distributed uptime public url 2025-02-07 15:19:24 -08:00
Alex Holliday e480019dea add public route 2025-02-07 15:18:41 -08:00
Alex Holliday 6a1675aa4a implement DU status page 2025-02-07 14:51:29 -08:00
Alex Holliday 08b0ed9d3b remove comment 2025-02-07 14:51:02 -08:00
Alex Holliday bd2fae913a add url to request, add missing dependency 2025-02-07 14:50:14 -08:00
Alex Holliday 5c5d1b88e6 udpate max width, safe property access 2025-02-07 14:49:38 -08:00
Alex Holliday 163d1a3e6e use correct _id instead of id 2025-02-07 14:48:45 -08:00
Alex Holliday d8c0839391 add early return 2025-02-07 14:48:14 -08:00
Alex Holliday dec12cc6ab add label prop 2025-02-07 14:47:52 -08:00
Alex Holliday c352ca39b1 add controller method for getting status page by url, update delete controlelr method 2025-02-07 14:47:22 -08:00
Alex Holliday 65bc98ca2e add db method for getting status page by url, update delete method to delete by url 2025-02-07 14:46:36 -08:00
Alex Holliday 27e4bd006c destructure monitors to add all properties 2025-02-07 14:44:56 -08:00
Alex Holliday 45cd6320d8 add routes 2025-02-07 14:44:31 -08:00
Alex Holliday 14ce47d97b add network request for getting status page by url, update create status page method 2025-02-07 14:44:08 -08:00
Alex Holliday b829bd4549 add route for getting status page by url, update delete route to delete by url 2025-02-07 14:43:14 -08:00
Alex Holliday 0cf26f82b7 add string 2025-02-07 14:42:38 -08:00
Alex Holliday c015302811 update StatusPage model 2025-02-07 14:42:24 -08:00
Alex Holliday 74587cf8bd add placeholder img 2025-02-07 14:42:04 -08:00
Alex Holliday b23ec35260 add placeholder prop, add min width and height props 2025-02-07 14:41:06 -08:00
Alex Holliday 3eaf68aa5b add src and name to image validation 2025-02-07 14:40:33 -08:00
Alex Holliday 52ad36d75f make fields optional 2025-02-07 14:40:12 -08:00
Mend Renovate f198e3c072 Update material-ui monorepo to v7.26.0 2025-02-07 21:31:48 +00:00
Alexander Holliday 0438941e59 Merge pull request #1716 from renovate-bot/renovate/bullmq-5.x
Update dependency bullmq to v5.40.2
2025-02-07 09:22:56 -08:00
Alexander Holliday 32ea3adfab Merge pull request #1717 from renovate-bot/renovate/ioredis-5.x-lockfile
Update dependency ioredis to v5.5.0
2025-02-07 09:22:41 -08:00
Alexander Holliday 277092d3e4 Merge pull request #1718 from bluewave-labs/fix/fe/uptime-loading-state
fix: remove old loading state
2025-02-07 09:21:42 -08:00
Alexander Holliday c46ddd6942 Merge branch 'develop' into fix/fe/uptime-loading-state 2025-02-07 09:21:33 -08:00
Alex Holliday 4fec00334a remove old loading state 2025-02-07 09:19:01 -08:00
Mend Renovate 6bee4c5e59 Update dependency ioredis to v5.5.0 2025-02-07 17:16:52 +00:00
Mend Renovate bd27e08b69 Update dependency bullmq to v5.40.2 2025-02-07 17:16:47 +00:00
Alexander Holliday 18508a7d07 Merge pull request #1715 from bluewave-labs/fix/fe/uptime-fallback
fix: update uptime fallback
2025-02-07 09:15:52 -08:00
Alex Holliday 11030bf564 update fallback 2025-02-06 19:42:09 -08:00
Alex Holliday 4fcc9584dc update uptime fallback 2025-02-06 19:37:00 -08:00
Alexander Holliday 424f9bd778 Merge pull request #1714 from renovate-bot/renovate/bullmq-5.x
Update dependency bullmq to v5.40.1
2025-02-06 19:31:41 -08:00
Alexander Holliday 0bbf3f09c7 Merge pull request #1713 from bluewave-labs/gorkem-bwl-patch-3
Fix naming ("Distributed Uptime" -> "Distributed uptime")
2025-02-06 19:30:44 -08:00
Mend Renovate 17e05605c8 Update dependency bullmq to v5.40.1 2025-02-07 03:30:40 +00:00
Alexander Holliday 7d2b2af036 Merge pull request #1712 from bluewave-labs/fix/fe/du-ui-fixes-and-refactor
fix: fe/du UI fixes and refactor
2025-02-06 19:30:07 -08:00
Gorkem Cetin (BWL) 77b9442666 Update index.jsx 2025-02-06 20:36:42 -05:00
Alex Holliday a436ca16f4 refactor to use components and hook 2025-02-06 16:08:26 -08:00
Alex Holliday cceab2b705 extract subcomponents 2025-02-06 16:07:57 -08:00
Alex Holliday e5ade000c3 extract network request to hook 2025-02-06 16:07:39 -08:00
cihatata e534d20653 feat: flag margin 2025-02-07 02:09:18 +03:00
Alex Holliday e570b76d88 refactor common components out 2025-02-06 15:06:37 -08:00
cihatata d1ac398deb feat: flag margin 2025-02-07 02:03:25 +03:00
cihatata 46ef6b01a2 feat: i18n support for client 2025-02-07 01:59:54 +03:00
Alex Holliday 1e7e7c7365 refactor DU monitors page 2025-02-06 14:57:28 -08:00
Alex Holliday 68202dc88b use utils hook 2025-02-06 14:57:18 -08:00
Alex Holliday d4164417da use new utils hook 2025-02-06 14:56:45 -08:00
Alex Holliday 4122849723 remove connection console log 2025-02-06 14:56:03 -08:00
Alex Holliday 9e13d313cc add monitor utils hook 2025-02-06 14:55:10 -08:00
Alexander Holliday cb2f7e26ad Merge pull request #1710 from bluewave-labs/feat/fe/du-map-theme
feat: fe/du map theme
2025-02-06 14:01:23 -08:00
Alex Holliday 1ba59c73ca remove console log 2025-02-06 14:00:43 -08:00
Alex Holliday ffa307aa38 Add utility for building theme based on default theme 2025-02-06 13:47:21 -08:00
Alex Holliday 5ba4be57b2 update gitignore 2025-02-06 13:47:07 -08:00
Alex Holliday ba602da970 load initial styles, update styles on theme change 2025-02-06 13:46:56 -08:00
Alex Holliday f8404f28d1 add new palette for map 2025-02-06 13:46:01 -08:00
Alexander Holliday 4f1f033925 Merge pull request #1708 from bluewave-labs/feat/fe/opt-in-distributed-uptime
feat: fe/opt in distributed uptime
2025-02-06 12:23:02 -08:00
Alex Holliday 7b4f78132d protect DU routes 2025-02-06 12:15:59 -08:00
Alex Holliday 4f16d8140e fix conditional 2025-02-06 12:15:43 -08:00
Alex Holliday 27b89743c6 add toggle switch for DU monitors 2025-02-06 12:07:39 -08:00
Alexander Holliday ce21d6e19f Merge pull request #1707 from bluewave-labs/fix/devops/test-server-docker-compose
update docker compose for replica set
2025-02-06 10:50:10 -08:00
Alex Holliday 730d42bae2 update docker compose for replica set 2025-02-06 10:49:22 -08:00
Alexander Holliday b8f5bf49a5 Merge pull request #1706 from bluewave-labs/fix/fe/du-sidebar-icon
update DU sidebar icon
2025-02-06 10:46:14 -08:00
Alex Holliday ee16ed7987 update DU sidebar icon 2025-02-06 10:28:27 -08:00
Alexander Holliday 9c4e3ab24f Merge pull request #1704 from bluewave-labs/fix/fe/status-page-delete-modal
fix: fe/status page delete modal
2025-02-06 10:18:14 -08:00
Alexander Holliday e96e778e9f Merge pull request #1703 from bluewave-labs/fix/fe/tab-styles
fix: move tab styles to theme so they apply globally
2025-02-06 10:17:54 -08:00
Alex Holliday 36e5498155 this PR adds a confirmation modal to the delete status page button 2025-02-06 09:43:11 -08:00
Alex Holliday a30ed2b766 move tab styles to theme so they apply globally 2025-02-06 09:14:19 -08:00
Alexander Holliday a1f7e4c601 Merge pull request #1694 from renovate-bot/renovate/mongoose-8.x-lockfile
Update dependency mongoose to v8.10.0
2025-02-06 09:06:59 -08:00
Alexander Holliday 3a063102db Merge pull request #1697 from bluewave-labs/feat/be/additional-du-monitor-fields
feat: add additionalfields
2025-02-06 09:06:20 -08:00
Alexander Holliday 1d6ab1666e Merge pull request #1701 from YinDongFang/fix/profile
Wrap long image filename
2025-02-06 09:02:14 -08:00
dongfang 37e0aabbe8 Wrap long image filename 2025-02-06 07:19:02 +00:00
Aryaman Kumar Sharma 263427dab3 Fix: Disabled button color theme 2025-02-06 10:48:14 +05:30
Aryaman Kumar Sharma 1d292b9553 Merge remote-tracking branch 'checkmate/develop' into fix/fe/profilepanel-ui 2025-02-06 10:46:48 +05:30
Alex Holliday 6d09108bbe add additionalfields 2025-02-05 15:27:27 -08:00
Alexander Holliday 547f97ffed Merge pull request #1696 from bluewave-labs/feat/fe/distributed-uptime
feat: fe/distributed uptime
2025-02-05 15:19:47 -08:00
Alex Holliday bbf277787e add DU to sidebar 2025-02-05 15:13:14 -08:00
Alexander Holliday b5977bbf57 Merge pull request #1695 from bluewave-labs/feat/be/distributed-uptime
feat: be/distributed uptime
2025-02-05 15:01:31 -08:00
Alex Holliday a55f952f1e fix error name 2025-02-05 15:00:58 -08:00
Alex Holliday e6947be2f1 add components 2025-02-05 14:59:08 -08:00
Alex Holliday a5ba103148 Add routes 2025-02-05 14:58:34 -08:00
Alex Holliday ae3dd8de90 add DU details page 2025-02-05 14:58:21 -08:00
Alex Holliday f7fef6d291 add DU details network request 2025-02-05 14:57:26 -08:00
Alex Holliday ac04747748 add dependencies 2025-02-05 14:57:03 -08:00
Alex Holliday 7547e3725e add icons 2025-02-05 14:56:37 -08:00
Alex Holliday 624a65e0ee Add Monitor and Create routes 2025-02-05 14:00:27 -08:00
Alex Holliday 823358125b Add create DU Monitor page 2025-02-05 14:00:11 -08:00
Alex Holliday b439546071 Add DU Monitors page 2025-02-05 13:59:56 -08:00
Alex Holliday 68c772785b Add DU network operations 2025-02-05 13:59:41 -08:00
Alex Holliday 85a5b83ab8 fix DU operations 2025-02-05 13:59:28 -08:00
Alex Holliday b9bcc893b0 Add DU Monitors page 2025-02-05 13:31:41 -08:00
Alex Holliday e361ded4f1 add DU to status service 2025-02-05 12:59:06 -08:00
Alex Holliday 72460b15d1 add DU routes 2025-02-05 12:53:47 -08:00
Alex Holliday 254079be03 add DU controller 2025-02-05 12:50:15 -08:00
Alex Holliday f4b87daa7f Add DU to network service 2025-02-05 12:48:57 -08:00
Alex Holliday 8bfde01bfa add DU to jobqueue 2025-02-05 12:47:17 -08:00
Alex Holliday 3d731137df add DU details query 2025-02-05 12:45:14 -08:00
Alex Holliday cdb276d567 update DU check 2025-02-05 12:40:52 -08:00
Mend Renovate 906f007d9c Update dependency mongoose to v8.10.0 2025-02-05 20:10:48 +00:00
Alexander Holliday 89be714811 Merge pull request #1693 from bluewave-labs/feat/fe/status-page-config
feat: fe/status page config
2025-02-05 12:09:58 -08:00
Alex Holliday 59e77f8263 remove console.log 2025-02-05 12:09:26 -08:00
Alex Holliday 18ef40b545 add check for status page not found 2025-02-05 12:07:28 -08:00
Alex Holliday e9c7f1d7be implement config 2025-02-05 10:57:28 -08:00
Alex Holliday 73df0837bb add conditon to hook for create/update 2025-02-05 10:57:15 -08:00
Alex Holliday 4e5833c09c explicitly match IDs 2025-02-05 10:56:50 -08:00
Alex Holliday 7d31b4556b add config route 2025-02-05 10:56:21 -08:00
Alex Holliday d29bdd1545 modify network request to allow updating 2025-02-05 10:55:58 -08:00
Alex Holliday 76b21f1d8c add route, controller and DB methods for updating status page 2025-02-05 10:55:08 -08:00
Alexander Holliday ff47af95fa Merge pull request #1692 from bluewave-labs/fix/fe/status-page-permission
fix: don't render control buttons for public status page
2025-02-04 16:02:40 -08:00
Alex Holliday 720d1f7434 don't render control buttons for public status page 2025-02-04 16:01:46 -08:00
Alexander Holliday 7c78c4a280 Merge pull request #1688 from bluewave-labs/feat/fe/create-status
Feat/fe/create status
2025-02-04 15:47:46 -08:00
Alexander Holliday a44e8d8f4d Merge branch 'develop' into feat/fe/create-status 2025-02-04 15:47:14 -08:00
Alex Holliday 4d4b592cdc refactor out admin link component 2025-02-04 15:45:28 -08:00
Alex Holliday d7f7191bcf move monitor status generation to header 2025-02-04 15:45:01 -08:00
Alex Holliday 74b7d7c4a5 add error icon 2025-02-04 15:30:28 -08:00
Alex Holliday befdf73706 refactor out components 2025-02-04 15:26:24 -08:00
Alex Holliday e4de0874b1 remove extra setIsLoading 2025-02-04 15:26:07 -08:00
Alex Holliday 3c6f3f08e1 Add base64 verification, retrun null if not shouldRender 2025-02-04 15:25:35 -08:00
Alex Holliday d799fe1385 note for caio to review 2025-02-04 15:23:52 -08:00
Skorpios 964a923265 Returned comments. 2025-02-04 15:07:02 -08:00
Alex Holliday 8e143b45d5 preserver user selected order 2025-02-04 15:04:42 -08:00
Skorpios aa977ce34e Refactor out to a template for easier message maintenance. 2025-02-04 15:00:20 -08:00
Skorpios e44cbf376f Stop execution in the event of an unwanted platform. 2025-02-04 14:50:16 -08:00
Skorpios 1d9f94c872 Merge remote-tracking branch 'upstream/develop' into feat/be/webhook-integrations 2025-02-04 14:39:54 -08:00
Alexander Holliday 376b636be6 Merge pull request #1690 from renovate-bot/renovate/mongoose-8.x-lockfile
Update dependency mongoose to v8.9.7
2025-02-04 14:12:26 -08:00
Alexander Holliday c43d6fe393 Merge pull request #1691 from renovate-bot/renovate/material-ui-monorepo
Update material-ui monorepo
2025-02-04 14:12:12 -08:00
Alex Holliday 1bc27789f3 update routes 2025-02-04 14:07:24 -08:00
Alex Holliday 28ee23d508 add proptypes 2025-02-04 14:07:08 -08:00
Alex Holliday 51e828c07e moved PublicStatus directory to Status 2025-02-04 14:06:37 -08:00
Alex Holliday 6cedf992a7 add styles for error button loading state 2025-02-04 14:05:39 -08:00
Mend Renovate 9d3bd35345 Update material-ui monorepo 2025-02-04 21:24:34 +00:00
Mend Renovate b047e6739a Update dependency mongoose to v8.9.7 2025-02-04 21:24:25 +00:00
Alex Holliday dc3fc7628a refactor public status page 2025-02-04 13:06:42 -08:00
Alex Holliday cc8d4bc98c cleanup 2025-02-03 16:22:54 -08:00
Alex Holliday b20c87cabc init loading state 2025-02-03 16:19:56 -08:00
Alex Holliday 9e1dc92dbf fix key, add proptypes 2025-02-03 16:18:45 -08:00
Alex Holliday a230068e37 remove unused adornments 2025-02-03 16:15:44 -08:00
Alex Holliday a8601f89f4 remove unused skeleton 2025-02-03 16:14:28 -08:00
Alex Holliday daebb3132b add name to proptype 2025-02-03 16:12:30 -08:00
Alex Holliday 8297444ce9 remove proptype 2025-02-03 16:11:59 -08:00
Alex Holliday f64c0e6634 remove align self from docs 2025-02-03 16:11:41 -08:00
Alex Holliday 15a30e608c remove dev from pacakge-lock 2025-02-03 15:12:16 -08:00
Alex Holliday acc692ea97 refactor create status 2025-02-03 15:12:00 -08:00
Alex Holliday 7a3b6a679f remove old create route 2025-02-03 15:11:45 -08:00
Alex Holliday 68c8058d47 remove unused tabpanel components 2025-02-03 15:11:26 -08:00
Alex Holliday 40a5abab91 remove reference to CreateStatus 2025-02-03 15:10:00 -08:00
Alex Holliday a4958e06b1 Remove old CreateStatus index.jsx 2025-02-03 15:09:29 -08:00
Alex Holliday afd833f5b8 Remove old status page index.jsx 2025-02-03 15:09:02 -08:00
Alex Holliday 4a13c9383f Add SvgIcon to the theme 2025-02-03 15:08:42 -08:00
Alex Holliday 7da391fcb8 update client side validation 2025-02-03 15:08:13 -08:00
Alex Holliday d38b51e1ca remove old status page 2025-02-03 15:06:49 -08:00
Alex Holliday d853c50840 update status-page backend 2025-02-03 15:06:25 -08:00
Alexander Holliday 0ce31ecf68 Merge pull request #1686 from renovate-bot/renovate/bullmq-5.x
Update dependency bullmq to v5.40.0
2025-02-03 08:57:02 -08:00
Skorpios 8f9406261f Store bot token and chat id in their own respective fields. 2025-02-02 23:50:09 -08:00
Skorpios d3fb41acfe Refactor BASE URL. 2025-02-02 21:45:45 -08:00
Alex Holliday 27ec0eabb2 refactoring 2025-02-02 21:26:48 -08:00
Skorpios 0bb7eae71e Got rid of imports. 2025-02-02 21:17:55 -08:00
Skorpios 8667f74f60 Merge remote-tracking branch 'upstream/develop' into feat/be/webhook-integrations 2025-02-02 21:08:48 -08:00
Mend Renovate a471652405 Update dependency bullmq to v5.40.0 2025-02-02 21:11:50 +00:00
Alexander Holliday 3929902037 Merge pull request #1685 from renovate-bot/renovate/bullmq-5.x
Update dependency bullmq to v5.39.2
2025-02-02 07:11:48 -08:00
Mend Renovate 96a4522f21 Update dependency bullmq to v5.39.2 2025-02-02 07:07:17 +00:00
Skorpios cc48f1d3aa Use the NetworkService for making network requests. 2025-02-01 23:06:35 -08:00
Skorpios 92d9573fcf Merge remote-tracking branch 'upstream/develop' into feat/be/webhook-integrations 2025-02-01 18:51:24 -08:00
Alex Holliday 5a85711cac reset comoponents 2025-02-01 18:36:43 -08:00
Alex Holliday 701e81cb78 Merge branch 'feat/fe/statuspage-3' into feat/fe/create-status 2025-02-01 08:38:39 -08:00
Alex Holliday 4911126d88 Merge branch 'feat/fe/create-status-page' into feat/fe/create-status 2025-02-01 08:34:12 -08:00
Alexander Holliday 2de674d50b Merge pull request #1676 from renovate-bot/renovate/mongoose-8.x-lockfile
Update dependency mongoose to v8.9.6
2025-02-01 08:27:05 -08:00
Alexander Holliday 3844e465df Merge pull request #1677 from renovate-bot/renovate/material-ui-monorepo
Update material-ui monorepo to v7.25.0
2025-02-01 08:26:51 -08:00
Alexander Holliday 079d25389e Merge pull request #1681 from YinDongFang/fix/docker
Fix validation error of container id
2025-02-01 08:26:13 -08:00
Alexander Holliday 6d4a9003e2 Merge pull request #1683 from bluewave-labs/fix/fe/uptime-details-network-error-view
fix: add a network error view for Uptime details
2025-02-01 08:14:03 -08:00
Alex Holliday 513246e2b4 add a network error view for Uptime details 2025-02-01 08:13:21 -08:00
Alexander Holliday 7a162d8f08 Merge pull request #1682 from bluewave-labs/fix/fe/empty-view-message
fix: fe/empty view message, resolves #
2025-02-01 08:02:04 -08:00
Alex Holliday cdce6b95cc update empty view message for Infra monitors 2025-02-01 07:59:40 -08:00
Alex Holliday 9d2a18b675 update empty view message for Uptime and Pagespeed 2025-02-01 07:58:51 -08:00
YinDongfang 58d22dfa9a Fix input style error while edit uptime monitor 2025-02-01 23:02:10 +08:00
YinDongfang 067667da1e Fix validation error of container id 2025-02-01 22:24:15 +08:00
Alexander Holliday 89abb02338 Merge pull request #1679 from bluewave-labs/gorkem-bwl-patch-2
Create addReview.mjml
2025-01-31 20:07:20 -08:00
Gorkem Cetin (BWL) 9b727e6dc0 Create addReview.mjml 2025-01-31 22:49:53 -05:00
Alexander Holliday 42846a0278 Merge pull request #1678 from bluewave-labs/fix/fe/infra-details-refactor
fix: fe/infra details refactor
2025-01-31 13:47:36 -08:00
Alex Holliday f218b60591 fix uptime chart legends, set initial loading state to true to avoid extra render 2025-01-31 13:45:07 -08:00
Alex Holliday 49c58ce2ae fix pagespeed loading states, add network error fallback 2025-01-31 13:44:36 -08:00
Alex Holliday 460a597e12 Refactor infrastructure details 2025-01-31 13:43:57 -08:00
Alex Holliday b8042d6d00 update skeleton component 2025-01-31 13:43:28 -08:00
Alex Holliday fa809d7bfd update skeleton layout 2025-01-31 13:43:04 -08:00
Mend Renovate a265d0e60c Update material-ui monorepo to v7.25.0 2025-01-31 20:34:40 +00:00
Mend Renovate 8d5079a467 Update dependency mongoose to v8.9.6 2025-01-31 20:34:32 +00:00
Alexander Holliday 8df076744b Merge pull request #1673 from bluewave-labs/fix/fe/uptime-details-empty-views
add empty view for uptime details, resolves #1671
2025-01-31 10:16:27 -08:00
Alexander Holliday efdf3f0c35 Merge pull request #1675 from bluewave-labs/fix/fe/pagespeed-details-empty-view
fix: fe/pagespeed details empty view, resolves #1674
2025-01-31 10:16:10 -08:00
Alex Holliday e35a0d484c remove console log 2025-01-31 10:14:43 -08:00
Alex Holliday d7905e1246 Merge branch 'develop' into fix/fe/uptime-details-empty-views 2025-01-31 10:12:08 -08:00
Alex Holliday 9515477fd7 Add header to empty view 2025-01-31 10:12:06 -08:00
Alex Holliday 0b3cd9ed17 Add empty veiw to PageSpeed Details, fix config path 2025-01-31 10:07:59 -08:00
Alex Holliday 2ba2e497ed replace TimeFramePicker with reusabe component 2025-01-31 10:07:40 -08:00
Alex Holliday 34f06493ec Remove unused component 2025-01-31 10:07:19 -08:00
Alex Holliday 4d8f0b7287 conditionally render time frame picker 2025-01-31 10:06:57 -08:00
Alex Holliday 00a9630e29 Add reusable TimeFrameHeader component 2025-01-31 10:06:28 -08:00
Alexander Holliday a641c03f8e Merge pull request #1672 from bluewave-labs/fix/be/consistent-returns
update queries to return consistent values
2025-01-31 09:11:00 -08:00
Alex Holliday 22b20409fc update queries to return consistent values 2025-01-31 07:33:29 -08:00
Alex Holliday 6c2298b976 add empty view for uptime details 2025-01-31 07:32:49 -08:00
Alexander Holliday abd0006fb1 Merge pull request #1670 from bluewave-labs/fix/fe/infra-monitors
fix: fe/infra monitors
2025-01-31 07:09:56 -08:00
Alex Holliday 62f2888f2a fix proptype 2025-01-31 07:09:22 -08:00
Alex Holliday 398cfa0f15 replace default value of 0 for 2025-01-30 14:31:36 -08:00
Alex Holliday b928210f8a reactor infrastructure monitors page 2025-01-30 14:27:11 -08:00
Alex Holliday 880195efde set initial loading state to true, skip one render 2025-01-30 14:26:18 -08:00
Alex Holliday 016cd69763 Add shouldRender prop to table 2025-01-30 14:24:46 -08:00
Alex Holliday cdc407fd21 update route 2025-01-30 14:23:42 -08:00
Alex Holliday de7f0a1193 rename CreateMonitor header to match other headers 2025-01-30 14:23:05 -08:00
Alexander Holliday fdbb8e7409 Merge pull request #1669 from renovate-bot/renovate/react-router-monorepo
Update dependency react-router-dom to v6.29.0
2025-01-30 12:42:51 -08:00
Mend Renovate 1626ddc331 Update dependency react-router-dom to v6.29.0 2025-01-30 20:36:53 +00:00
Alexander Holliday 60b553a890 Merge pull request #1668 from renovate-bot/renovate/react-router-monorepo
Update dependency react-router to v6.29.0
2025-01-30 08:26:44 -08:00
Mend Renovate 645018c9fb Update dependency react-router to v6.29.0 2025-01-30 16:25:37 +00:00
Alexander Holliday 481196bd0e Merge pull request #1664 from bluewave-labs/fix/incidents-refactor
fix: incidents refactor
2025-01-30 08:25:16 -08:00
Alexander Holliday 1b26726010 Merge pull request #1667 from renovate-bot/renovate/bullmq-5.x
Update dependency bullmq to v5.39.1
2025-01-30 08:24:50 -08:00
Mend Renovate 61f2bee37a Update dependency bullmq to v5.39.1 2025-01-30 14:42:29 +00:00
Aryaman Kumar Sharma 959e555744 Fix: Enhance MuiButton disabled state styles in theme 2025-01-30 17:44:28 +05:30
Aryaman Kumar Sharma aac1d17e7d Merge remote-tracking branch 'checkmate/develop' into fix/fe/profilepanel-ui 2025-01-30 17:42:40 +05:30
Alex Holliday 02d93fdcd4 Refactor incidents 2025-01-29 15:06:41 -08:00
Alex Holliday c1144a4432 update proptypes 2025-01-29 15:06:30 -08:00
Alex Holliday 3c93c6ffc3 Add network operation hooks 2025-01-29 15:06:02 -08:00
Alex Holliday 6c3b026199 Add a skeleton for table component 2025-01-29 15:05:45 -08:00
Alex Holliday 2eeb8b6e4e Changed NetworkErrorFallback to a generic callback 2025-01-29 15:04:48 -08:00
Alexander Holliday 9c04ecd725 Merge pull request #1663 from bluewave-labs/fix/fe/consistent-initial-state
Fix/fe/consistent initial state
2025-01-29 12:36:55 -08:00
Alex Holliday 4559215316 add network error state to hooks 2025-01-29 12:32:09 -08:00
Alex Holliday d2d2e87184 Add a network fallback component 2025-01-29 12:31:43 -08:00
Alex Holliday c1fa39f608 move fallback css to fallback css file 2025-01-29 12:31:19 -08:00
Aryaman Kumar Sharma 7835b852c5 Fix: Ensure profile panel text and button visibility in dark mode 2025-01-30 01:41:19 +05:30
Alex Holliday 0feb2053a1 remove null return 2025-01-29 11:42:59 -08:00
Alex Holliday 80a16ef61a safe param access 2025-01-29 11:42:40 -08:00
Alex Holliday 4c3b348642 safe param access 2025-01-29 11:42:02 -08:00
Alex Holliday cfb5c7ae5d Update hooks to use undefined for initial state 2025-01-29 11:41:32 -08:00
Alex Holliday a9851787e8 Use MonitorCountHeader, initialze state to undefined' 2025-01-29 11:41:06 -08:00
Alex Holliday 12711e87ee set initial state explicitly to for consistency 2025-01-29 11:40:27 -08:00
Alex Holliday ef28f8c38b simplify UptimeDataTable 2025-01-29 11:39:47 -08:00
Alex Holliday 6788b5672e add ref to stop initial search 2025-01-29 11:39:17 -08:00
Alex Holliday 65c909e166 provide default props for Table 2025-01-29 11:38:34 -08:00
Alex Holliday cadb9bb951 provide default values for pagination 2025-01-29 11:38:16 -08:00
Alex Holliday a90ed64a6f fix monitorStatusHeader name, safe property access 2025-01-29 11:37:49 -08:00
Alexander Holliday c250f52c60 Merge pull request #1661 from renovate-bot/renovate/material-ui-monorepo
Update material-ui monorepo
2025-01-29 09:20:23 -08:00
Alexander Holliday 56b9438efd Merge pull request #1659 from bluewave-labs/gorkem-bwl-patch-2
Add blank space
2025-01-29 09:20:04 -08:00
Mend Renovate 566f756345 Update material-ui monorepo 2025-01-29 17:04:10 +00:00
Gorkem Cetin (BWL) 611dead71e Add blank space 2025-01-29 11:48:43 -05:00
Alexander Holliday c55ca3f593 Merge pull request #1657 from bluewave-labs/fix/fe/pagespeed-details-refactor
fix: fe/pagespeed details refactor
2025-01-29 07:22:53 -08:00
Alexander Holliday d523f0f4dd Merge pull request #1658 from renovate-bot/renovate/bullmq-5.x
Update dependency bullmq to v5.39.0
2025-01-29 07:19:22 -08:00
Mend Renovate b90cda80bc Update dependency bullmq to v5.39.0 2025-01-29 05:26:33 +00:00
Alex Holliday a33c0c16a0 Add skeletons and loading conditions 2025-01-28 15:51:58 -08:00
Alex Holliday ac2cf49082 Refactor pagespeed details 2025-01-28 15:42:46 -08:00
Alex Holliday 36b6173528 fix speedometer name 2025-01-28 15:42:29 -08:00
Alex Holliday 784dc4da63 Refactor reusable components out of Uptime Details 2025-01-28 15:42:09 -08:00
Alex Holliday fe0f861e98 fix incorrect variant type in 2025-01-28 15:38:43 -08:00
Alex Holliday 577c0b5d19 Safe property access in fallback 2025-01-28 15:38:14 -08:00
Alex Holliday 067d457b96 fix key error in Search 2025-01-28 15:37:49 -08:00
Alex Holliday b410c14d93 Passing as a child of breaks search wehn MonitorCountHeader rerenders 2025-01-28 15:37:01 -08:00
Alex Holliday ff17092e8a fix fallback condtion for Uptime 2025-01-28 15:35:52 -08:00
Shemy Gan 12b14e1938 Merge branch 'develop' into feat/fe/statuspage-3 2025-01-28 15:05:29 -05:00
Alexander Holliday 3b6e9b24d8 Merge pull request #1656 from bluewave-labs/fix/fe/pagespeed-refactor
fix: fe/pagespeed refactor
2025-01-28 11:17:13 -08:00
Alex Holliday 5880993565 fix PageSpeed name 2025-01-28 11:06:24 -08:00
Alex Holliday 96d984f136 standardize directory names 2025-01-28 11:05:06 -08:00
Alex Holliday 74265d524a Refactor pagespeed page 2025-01-28 11:04:11 -08:00
Alex Holliday 9840999183 standardize uptime directory structure, use shared components 2025-01-28 11:03:46 -08:00
Alex Holliday ac669d8fe1 standardize directory structure 2025-01-28 11:03:15 -08:00
Alex Holliday e67b9ecb09 update fallback component 2025-01-28 10:58:19 -08:00
Alex Holliday 66de46f695 Remove basic table component 2025-01-28 10:58:03 -08:00
Alexander Holliday f00e7e668d Merge pull request #1648 from bluewave-labs/fix/fe/uptime-details-refactor
fix: fe/uptime details refactor
2025-01-28 07:17:26 -08:00
Alexander Holliday 7b39d0980c Merge pull request #1649 from renovate-bot/renovate/recharts-2.x
Update dependency recharts to v2.15.1
2025-01-28 07:14:35 -08:00
Alexander Holliday 6743977859 Merge pull request #1654 from renovate-bot/renovate/bullmq-5.x
Update dependency bullmq to v5.38.0
2025-01-28 07:14:20 -08:00
Mend Renovate 128745019d Update dependency bullmq to v5.38.0 2025-01-28 12:59:08 +00:00
Mend Renovate fe4f0fae35 Update dependency recharts to v2.15.1 2025-01-28 01:32:04 +00:00
Alex Holliday b2095670ff Add missing prop validation, cleanup 2025-01-27 14:58:37 -08:00
Alex Holliday cb0ec0e182 finish refactor 2025-01-27 14:55:55 -08:00
Alex Holliday 36d46c246e Add pagination label to prop types 2025-01-27 14:55:44 -08:00
Alex Holliday 671d297c2d refactor details 2025-01-27 13:18:05 -08:00
Alex Holliday 674c12af5c Consistent spacing in home page 2025-01-27 13:17:48 -08:00
Alex Holliday 9381429f40 Use Dot component in host 2025-01-27 13:17:23 -08:00
Alex Holliday 5622b3b47e use dayjs to parse dates 2025-01-27 13:17:05 -08:00
Alex Holliday 66e61fc8be Add Dot component 2025-01-27 13:16:26 -08:00
Shemy Gan b7a70c41bb -Fix Tab color 2025-01-27 15:46:46 -05:00
Alex Holliday 08d1a85f9a Add certificate expiry hook 2025-01-27 10:05:17 -08:00
Alex Holliday 94084acd86 iniital commit 2025-01-27 10:00:58 -08:00
Alexander Holliday 66ba0efe7a Merge pull request #1644 from Br0wnHammer/fix/fe/uptime-http
Fix: HTTPS monitors show HTTP on the table
2025-01-27 09:40:20 -08:00
Alexander Holliday 92acbba692 Merge pull request #1645 from bluewave-labs/hotfix/checks-query-params
hotfix: checks query params
2025-01-27 09:39:30 -08:00
Alex Holliday 875c13b5fe Update incident table queries 2025-01-27 09:37:39 -08:00
Alex Holliday cb624f1f29 conditionally add status to the match stage of the aggreagation pipeline 2025-01-27 09:37:29 -08:00
Alex Holliday c7c9835e9c Add validation for status param 2025-01-27 09:36:52 -08:00
Alex Holliday d65a5d001a Add status param to getChecks requests 2025-01-27 09:36:39 -08:00
Aryaman Kumar Sharma 7292af1902 Fix: Update UptimeDataTable to reflect HTTP(s) monitor types 2025-01-27 22:48:14 +05:30
Alexander Holliday 6c0a64d903 Merge pull request #1643 from mertssmnoglu/npmrc-disable-package-lock
Remove package-lock.json and add '.npmrc' to disable lockfile generation
2025-01-27 09:05:45 -08:00
Mert Şişmanoğlu dba266bcd2 chore(npm): Remove package-lock.json and add '.npmrc' to disable lockfile generation
Signed-off-by: Mert Şişmanoğlu <mert190737fb@gmail.com>
2025-01-27 19:27:05 +03:00
Alexander Holliday ec3b89d150 Merge pull request #1632 from bluewave-labs/fix/fe/uptime-refactor
Fix/fe/uptime refactor
2025-01-27 07:29:40 -08:00
Alex Holliday 65b104f38a remove console log, add back commented out container height 2025-01-27 07:27:53 -08:00
Alex Holliday d7a1c1bb4a Merge remote-tracking branch 'upstream/develop' into fix/fe/uptime-refactor 2025-01-27 07:26:54 -08:00
Alex Holliday 3259425c64 update border radius of circular count 2025-01-27 07:18:02 -08:00
Alex Holliday 6a08097be1 remove console log 2025-01-27 07:15:07 -08:00
Alex Holliday 4624a51a80 remove console.log 2025-01-27 07:11:19 -08:00
Alexander Holliday e0333af16b Merge pull request #1635 from YinDongFang/feature/style
Fix some UI style/Component bugs
2025-01-27 07:10:00 -08:00
Alexander Holliday e4081e5822 Merge pull request #1641 from YinDongFang/fix/networkservice
Fix redundant instantiation of NetworkService
2025-01-26 22:17:20 -08:00
YinDongfang e19dffb186 Fix infrastructure white page error cause by theme color 2025-01-27 12:50:53 +08:00
YinDongfang 7c889dde47 Avoid shadow the networkService 2025-01-27 12:21:46 +08:00
YinDongfang 22cae67ffe Fix redundant instantiation of NetworkService 2025-01-27 11:37:44 +08:00
Alexander Holliday 65b6d1c3ac Merge pull request #1636 from renovate-bot/renovate/reduxjs-toolkit-2.x
fix(deps): update dependency @reduxjs/toolkit to v2.5.1
2025-01-26 19:06:21 -08:00
Alexander Holliday 8b6d2ac1a7 Merge pull request #1638 from jasneetsingh6114/fix/1637
Move "Checks to perform" to the top of "General settings"
2025-01-26 19:06:09 -08:00
Jasneet Singh aa0f0621f9 Move "Checks to perform" to the top of "General settings" 2025-01-26 20:50:12 -05:00
YinDongfang 9a250e1460 Use 10000px instead of infinity 2025-01-27 08:21:46 +08:00
Gorkem Cetin (BWL) 3193ede1b1 Add port monitoring 2025-01-26 18:15:00 -05:00
Skorpios 84fe58b361 Refactor webhook integrations functions. 2025-01-26 14:11:36 -08:00
Mend Renovate e0b7928129 fix(deps): update dependency @reduxjs/toolkit to v2.5.1 2025-01-26 21:37:52 +00:00
Skorpios d83773abd1 Merge remote-tracking branch 'upstream/develop' into feat/be/webhook-integrations 2025-01-26 13:37:48 -08:00
Alexander Holliday b0f9fd4848 Merge pull request #1628 from renovate-bot/renovate/material-ui-monorepo
fix(deps): update material-ui monorepo to v7.24.1
2025-01-26 09:08:23 -08:00
Alexander Holliday aaa4774a0f Merge pull request #1629 from renovate-bot/renovate/bullmq-5.x
fix(deps): update dependency bullmq to v5.37.0
2025-01-26 09:08:09 -08:00
Alexander Holliday ab974ef72a Merge pull request #1631 from renovate-bot/renovate/eslint-monorepo
chore(deps): update eslint monorepo to v9.19.0
2025-01-26 09:07:46 -08:00
YinDongfang 000bb9929c Fix sidebar sticky error 2025-01-26 23:05:18 +08:00
YinDongfang 086a900613 Fix Error Component Stack 2025-01-26 22:48:45 +08:00
YinDongfang 2818ce89af Adjust count box style 2025-01-26 22:32:04 +08:00
Mend Renovate 6d1f085f74 fix(deps): update dependency bullmq to v5.37.0 2025-01-26 10:11:45 +00:00
Gorkem Cetin (BWL) 3024c20546 Better pull request template 2025-01-26 00:30:32 -05:00
Skorpios d3810db6cb Added telegram notifications 2025-01-25 16:13:16 -08:00
Alex Holliday be6d2f25ea rationalize host component 2025-01-24 16:22:14 -08:00
Alex Holliday 0234cab8b5 refactor uptime home page 2025-01-24 13:09:57 -08:00
Alex Holliday a18b817263 refactor components out to Components dir 2025-01-24 13:09:05 -08:00
Alex Holliday a011d83020 Create circular count component 2025-01-24 13:08:33 -08:00
Mend Renovate 2caa4d4609 chore(deps): update eslint monorepo to v9.19.0 2025-01-24 19:58:41 +00:00
Alexander Holliday e8d837b4ca Merge pull request #1627 from bluewave-labs/develop
Develop -> Master
2025-01-24 09:03:45 -08:00
Mend Renovate 130fd23bcd fix(deps): update material-ui monorepo to v7.24.1 2025-01-24 17:03:38 +00:00
Alexander Holliday 2625f9738f Merge pull request #1625 from bluewave-labs/fix/fe/infra-page-cpu-freq
fix: cpu frequency parsing, resolves #1620
2025-01-24 09:02:45 -08:00
Alexander HollidayandMert Şişmanoğlu e693e10d7c Update Client/src/Pages/Infrastructure/index.jsx
Co-authored-by: Mert Şişmanoğlu <mert190737fb@gmail.com>
2025-01-24 07:47:24 -08:00
Alexander HollidayandMert Şişmanoğlu 6c2f016db4 Update Client/src/Pages/Infrastructure/index.jsx
Co-authored-by: Mert Şişmanoğlu <mert190737fb@gmail.com>
2025-01-24 07:46:56 -08:00
Alex Holliday b72637476b fix cpu frequency parsing 2025-01-24 07:21:15 -08:00
Alexander Holliday c5c026158a Merge pull request #1622 from bluewave-labs/develop
Develop -> Master
2025-01-23 13:38:16 -08:00
Alexander Holliday cb7c118918 Merge pull request #1621 from bluewave-labs/hotfix/be/port-queue
hotfix: add port type monitors to queue mapping
2025-01-23 13:37:31 -08:00
Alex Holliday 6bb8461435 add port type monitors to queue mapping 2025-01-23 13:35:01 -08:00
Alexander Holliday cd082d1e9d Merge pull request #1619 from bluewave-labs/develop
Develop -> Master hotfix: monitor validation regex
2025-01-23 11:42:50 -08:00
Alexander Holliday 8ff101dca1 Merge pull request #1618 from bluewave-labs/fix/monitor-validation-regex
fix: remove local IP address exclusion from moniotr validation regex
2025-01-23 11:42:01 -08:00
Alex Holliday 35fa32796e remove local IP address exclusion from moniotr validation regex 2025-01-23 11:41:06 -08:00
Alexander Holliday 24be09efff Merge pull request #1617 from bluewave-labs/develop
Develop -> Master
2025-01-23 07:27:16 -08:00
Alexander Holliday 96b408d4dc Merge pull request #1616 from bluewave-labs/fix/demo-monitors
fix: reduce size of demo monitors
2025-01-23 07:26:30 -08:00
Alex Holliday 2c1e854004 reduce size of demo monitors 2025-01-23 07:25:56 -08:00
Skorpios 172597e768 Add Slack webhook integration. 2025-01-22 18:46:50 -08:00
Skorpios 28f5d355a7 Add Discord webhook notification support 2025-01-22 15:41:47 -08:00
Shemy Gan 083a134339 Merge branch 'develop' into feat/fe/statuspage-3 2025-01-21 21:09:40 -05:00
Shemy Gan 66325bd471 - Adjust logo and Remove log button margins 2025-01-21 13:22:01 -05:00
Shemy Gan dba8517d25 - add onBlur to handle Serverslist validation 2025-01-19 15:43:14 -05:00
Shemy Gan f0352cc215 Merge branch 'develop' into feat/fe/statuspage-3 2025-01-17 14:39:33 -05:00
Shemy Gan 045a9cff3a - Remove Color picker OOTB label, add custom label
- Add label for logo
- Replace react beautiful dnd with hello-pangea to fix the  "defaultProps will not be supported " console warning due to react beatuful dnd deprecation
- Add all the checkboxes and respective validation
- Remove subdomain from UI display
- Pass Handlers as context for both tabs to ease code scalability
- All Status page fields are now ready for submission
2025-01-17 14:34:29 -05:00
Shemy Gan 642c5f0479 Merge branch 'develop' into feat/fe/statuspage-3 2025-01-14 16:11:19 -05:00
Shemy Gan e8a9c0da36 - Use React beautiful dnd library for servers list section
- The dnded servers list order can be sent for persistence now
- Removed the previous React DND and Html5 Backend libraries as it
is more lower level and hard to enable the drag indicator within AutoComplete
2025-01-14 16:10:34 -05:00
Shemy Gan b5409f0c0f - Made the reorder icon having indicator and move it outside the search box 2025-01-14 10:38:55 -05:00
Shemy Gan 6f4c606356 Merge branch 'develop' into feat/fe/statuspage-3 2025-01-10 15:28:01 -05:00
Shemy Gan df86c926c7 - Make status page url disabled and read from env
- Use ColorPicker for color selection
2025-01-10 15:27:07 -05:00
Shemy Gan df4a7f6720 - Add MUI Color Picker component 2025-01-10 15:25:29 -05:00
Shemy Gan a1d4ec4185 Update based on meeting
- Query only uptime monitors without checks
- Change log validation from 640Kb  to 3Mb, fixed validation error text contrast issue
- Word/syntax updates, suburl is disabled and provided via env
2025-01-10 11:06:36 -05:00
Shemy Gan e8d9f310c1 - Pass custom file size to ImageField
- Update getmonitors to match be change (-1 is not accepted as valid param anymore)
- Fix Select not updateable
2025-01-09 11:19:07 -05:00
Shemy Gan ff7fe7f5f2 Merge branch 'develop' into feat/fe/statuspage-3 2025-01-08 19:44:27 -05:00
Shemy Gan a544a0f7e5 Merge branch 'develop' into feat/fe/statuspage-3 2025-01-03 14:28:37 -05:00
Shemy Gan 5226f3c9b1 - Update to add status page subdomain as env variable
- Adjust Server lists and Add new layout etc
- Adjust Save button
2025-01-03 14:26:41 -05:00
Shemy Gan 8b72f8447d - Update logo handling and validation
- Update card initialization
2025-01-02 15:30:24 -05:00
Shemy Gan 031508ef9b - Updated existing components for the status page usage
- Add libraries for drag and drop
2024-12-30 14:07:05 -05:00
Shemy Gan 1206451989 - Update JSDoc 2024-12-30 13:52:22 -05:00
Shemy Gan d8da182f60 Merge branch 'develop' into feat/fe/statuspage-3 2024-12-30 13:06:22 -05:00
Shemy Gan a5df7be6a1 - Create new status page and retrieval are now working end to end, except the fields that currently does not have BE counterparts, including all checkboxes and uploaded logo 2024-12-30 13:04:04 -05:00
Shemy Gan 23d97f8e56 - Replace Doc icon with Reorder icon
- Replace Text input with Search component
- Extend Search component to accept start and end adorment
2024-12-27 20:59:03 -05:00
Shemy Gan d844078ed7 - Update validation
- Switch to active tab when there are errors on it upon submission
- Add createStatusPage function
- Updated JSDOC for functions
2024-12-24 14:46:54 -05:00
Shemy Gan c535a6f99b - Update path 2024-12-24 10:18:45 -05:00
Shemy Gan feaf1e3272 Merge branch 'develop' into feat/fe/statuspage-3 2024-12-24 10:11:11 -05:00
Shemy Gan 11154ad9ac - Code clean up 2024-12-20 10:59:12 -05:00
Shemy Gan 3a00742d06 Merge branch 'develop' into feat/fe/statuspage-3 2024-12-17 13:49:41 -05:00
Shemy Gan c9b804a9ab - Update getStatusPageByUrl to match BE
- Change layout to use the one that has vertical line
- Update name to CreateStatusContext instead of TabContext to make it clearer
- Handle errors to land on the respective page tab
2024-12-17 11:24:01 -05:00
Shemy Gan 219bcd4361 - Add GetStatusPageByUrl to networkservice
- Make static status page and actual status config page toggleable
- Remove the sidebar nested menu item entry for status page tabs
- Pass context to status config page which contains general settings and contents tabs
- Status config page is now one submission and one validation
2024-12-16 20:18:05 -05:00
Shemy Gan 5045eafb8e - useContext from parent page for form fields 2024-12-13 15:59:54 -05:00
Shemy Gan 8292654d27 - Add context provider for both tabs 2024-12-13 15:58:52 -05:00
Shemy Gan c1dc04939e - Remove nested routes for tabs 2024-12-13 15:58:24 -05:00
Shemy Gan 406fa6ed9f - Merge feedback works from status page 1 and status page 2 branches 2024-12-13 11:29:50 -05:00
Shemy Gan fdca92e543 Merge branch 'develop' into feat/fe/statuspage-3 2024-12-13 11:10:47 -05:00
Shemy Gan 9d212c9616 Merge branch 'develop' into feat/fe/statuspage-3 2024-12-12 10:51:58 -05:00
Shemy Gan c61d1acfee Merge branch 'develop' into feat/fe/statuspage-3 2024-12-12 10:09:34 -05:00
Shemy Gan 00be6c219a - Fix the warning button can not be descendant of button
- Fix the warning possible change from uncontrolled to controlled component
2024-12-12 09:58:11 -05:00
Shemy Gan 9370db62cc - Fix the suburl prefix via extending existing HttpAdorment
- Add the rest of content panel UI layouts
- Update the card value with onChange
2024-12-10 16:07:42 -05:00
Shemy Gan 1ab4bd7275 Merge branch 'develop' into feat/fe/statuspage-3 2024-12-10 15:00:26 -05:00
Shemy Gan b1f056809f - Created Card type
- Implemented drag and drop for the server list section
2024-12-09 11:33:30 -05:00
Shemy Gan 03ce805e9f - Add React DND related libraries 2024-12-09 11:21:02 -05:00
Shemy Gan 2825ff4019 - WIP contents tab adding servers list 2024-12-06 10:41:43 -05:00
Shemy Gan cbec5fd25c - Change "Next" to "Save" 2024-12-06 10:28:42 -05:00
Shemy Gan b651369dc5 - WIP Server list tab 2024-12-06 10:26:22 -05:00
Shemy Gan 35a981abb0 - Update icons etc 2024-12-06 10:17:48 -05:00
Shemy Gan b275bdc8ef - Link general settings and contens to status page in navigation 2024-12-06 10:17:25 -05:00
Shemy Gan cc2187d51e - add routes to status page nested pages 2024-12-06 10:16:53 -05:00
Shemy Gan 0759b16f9e - add lower case first letter string util func 2024-12-06 10:09:16 -05:00
Shemy Gan 5df7ddbe0f - WIP Replace Field with TextInput , HttpAdornment seems not working 2024-12-06 10:06:56 -05:00
Shemy Gan df36f873ae - Add log and general settins tab validation
- WIP logo uploading in general settings tab
2024-12-06 10:05:35 -05:00
Shemy Gan 8506291586 - Fix the component not showing the file text and logo section issue 2024-12-06 10:02:08 -05:00
Shemy Gan 2405d017ec - update to match BE 2024-12-06 10:00:59 -05:00
Shemy Gan 5adffd8c1e - WIP general setting panel 2024-12-06 09:59:36 -05:00
Shemy Gan 4345d6988b - Fix the checkbox position to be conditional on non string label 2024-12-06 09:46:16 -05:00
Shemy Gan 136ed04b3a - Update status home page to connect to create status page
- Create CreateStatus page -WIP
2024-12-06 09:43:21 -05:00
1180 changed files with 156932 additions and 58484 deletions

No files matched your search

+1
View File
@@ -0,0 +1 @@
release_notes: false
+6 -3
View File
@@ -1,3 +1,6 @@
Client/node_modules/
Server/node_modules/
Server/*.env
**/node_modules
**/dist
**/.env
**/*.env
.git
docker/dev/mongo/data
+2
View File
@@ -0,0 +1,2 @@
* text=auto
* text eol=lf
+1
View File
@@ -0,0 +1 @@
* @ajhollid @mohicody @Br0wnHammer @Owaiseimdad @karenvicent @shanikauwu1
+15
View File
@@ -0,0 +1,15 @@
# These are supported funding model platforms
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
polar: # Replace with a single Polar username
buy_me_a_coffee: gorkemcetin
thanks_dev: # Replace with a single thanks.dev username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
+19 -13
View File
@@ -1,22 +1,28 @@
**(when sending your PR, only remove this line. Do not remove any lines below. Check all the relevant items before sending your PR)**
**(Please remove this line only before submitting your PR. Ensure that all relevant items are checked before submission.)**
## Describe your changes
Briefly describe the changes you made and their purpose.
Briefly describe the changes you made and their purpose.
## Issue number
## Write your issue number after "Fixes "
Mention the issue number(s) this PR addresses (e.g., #123).
Fixes #123
## Please ensure all items are checked off before requesting a review:
## Please ensure all items are checked off before requesting a review. "Checked off" means you need to add an "x" character between brackets so they turn into checkmarks.
- [ ] I deployed the application locally.
- [ ] I have performed a self-review and testing of my code.
- [ ] (Do not skip this or your PR will be closed) I deployed the application locally.
- [ ] (Do not skip this or your PR will be closed) I have performed a self-reviewing and testing of my code.
- [ ] I have included the issue # in the PR.
- [ ] I have labelled the PR correctly.
- [ ] The issue I am working on is assigned to me.
- [ ] I didn't use any hardcoded values (otherwise it will not scale, and will make it difficult to maintain consistency across the application).
- [ ] I made sure font sizes, color choices etc are all referenced from the theme.
- [ ] My PR is granular and targeted to one specific feature.
- [ ] I took a screenshot or a video and attached to this PR if there is a UI change.
- [ ] I have added i18n support to visible strings (instead of `<div>Add</div>`, use):
```Javascript
const { t } = useTranslation();
<div>{t('add')}</div>
```
- [ ] I have **not** included any files that are not related to my pull request, including package-lock and package-json if dependencies have not changed
- [ ] I didn't use any hardcoded values (otherwise it will not scale, and will make it difficult to maintain consistency across the application).
- [ ] I made sure font sizes, color choices etc are all referenced from the theme. I don't have any hardcoded dimensions.
- [ ] My PR is granular and targeted to one specific feature.
- [ ] I ran `npm run format` in server and client directories, which automatically formats your code.
- [ ] I took a screenshot or a video and attached to this PR if there is a UI change.
+112
View File
@@ -0,0 +1,112 @@
import axios from "axios";
import fs from "fs-extra";
import path from "path";
import { URLSearchParams } from "url";
// POEditor API information
const API_TOKEN = process.env.POEDITOR_API;
const PROJECT_ID = process.env.POEDITOR_PROJECT_ID;
const LANGUAGES = (
process.env.LANGUAGES || "ar,zh-tw,cs,en,fi,fr,de,pt-br,ru,es,tr,ja,zh-cn,th"
).split(",");
const EXPORT_FORMAT = process.env.EXPORT_FORMAT || "key_value_json";
// POEditor API endpoint
const API_URL = "https://api.poeditor.com/v2";
function normalizeLanguageCode(language) {
if (language.includes("-")) {
const [base, region] = language.split("-");
return `${base}-${region.toUpperCase()}`;
}
return language;
}
// Function to download translations
async function downloadTranslations() {
try {
console.log("Downloading translations from POEditor...");
console.log(`Using export format: ${EXPORT_FORMAT}`);
for (const language of LANGUAGES) {
console.log(`Downloading translations for ${language} language...`);
// Get export URL from POEditor
const exportResponse = await axios.post(
`${API_URL}/projects/export`,
new URLSearchParams({
api_token: API_TOKEN,
id: PROJECT_ID,
language: language,
type: EXPORT_FORMAT,
})
);
if (exportResponse.data.response.status !== "success") {
throw new Error(
`Failed to get export URL for ${language} language: ${JSON.stringify(
exportResponse.data
)}`
);
}
const fileUrl = exportResponse.data.result.url;
console.log(`Export URL obtained for ${language}`);
// Download translation file
const downloadResponse = await axios.get(fileUrl, {
responseType: "json",
});
const translations = downloadResponse.data;
console.log(`Downloaded translations for ${language}`);
// Check the format of data returned from POEditor and convert if necessary
let formattedTranslations = translations;
// If data is in array format, convert it to key-value format
if (Array.isArray(translations)) {
console.log(
`Converting array format to key-value format for ${language}`
);
formattedTranslations = {};
translations.forEach((item) => {
if (item.term && item.definition) {
formattedTranslations[item.term] = item.definition;
}
});
}
// Determine the output filename based on language
const normalizedLanguage = normalizeLanguageCode(language);
const filename = `${normalizedLanguage}.json`;
const outputPath = path.join(process.cwd(), "temp", filename);
await fs.writeJson(outputPath, formattedTranslations, { spaces: 2 });
console.log(
`Translations for ${language} language successfully downloaded and saved as: ${filename}`
);
}
console.log("All translations successfully downloaded!");
} catch (error) {
console.error("An error occurred while downloading translations:", error);
process.exit(1);
}
}
// Main function
async function main() {
try {
// Clean temp folder
await fs.emptyDir(path.join(process.cwd(), "temp"));
// Download translations
await downloadTranslations();
} catch (error) {
console.error("An error occurred during the process:", error);
process.exit(1);
}
}
// Run script
main();
+64
View File
@@ -0,0 +1,64 @@
import axios from "axios";
import FormData from "form-data";
import fs from "fs-extra";
// POEditor API information
const API_TOKEN = process.env.POEDITOR_API;
const PROJECT_ID = process.env.POEDITOR_PROJECT_ID;
const FILE_PATH = process.env.FILE_PATH;
const LANGUAGE = process.env.LANGUAGE;
// POEditor API endpoint
const API_URL = 'https://api.poeditor.com/v2';
// Function to upload translations
async function uploadTranslations() {
try {
console.log(`Uploading translations for ${LANGUAGE} language from ${FILE_PATH}... test1`);
// Check if file exists
if (!await fs.pathExists(FILE_PATH)) {
throw new Error(`File not found: ${FILE_PATH}`);
}
// Read file content
const fileContent = await fs.readFile(FILE_PATH, 'utf8');
// Validate JSON format
try {
JSON.parse(fileContent);
} catch (error) {
throw new Error(`Invalid JSON format in ${FILE_PATH}: ${error.message}`);
}
// Create form data for upload
const formData = new FormData();
formData.append('api_token', API_TOKEN);
formData.append('id', PROJECT_ID);
formData.append('language', LANGUAGE);
formData.append('updating', 'terms_translations');
formData.append('file', fs.createReadStream(FILE_PATH));
formData.append('overwrite', '1');
formData.append('sync_terms', '1');
// Upload to POEditor
const response = await axios.post(`${API_URL}/projects/upload`, formData, {
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
}
});
if (response.data.response.status !== 'success') {
throw new Error(`Failed to upload translations: ${JSON.stringify(response.data)}`);
}
console.log(`Successfully uploaded translations for ${LANGUAGE} language.`);
console.log(`Statistics: ${JSON.stringify(response.data.result)}`);
} catch (error) {
console.error('An error occurred while uploading translations:', error);
process.exit(1);
}
}
// Run script
uploadTranslations();
+69
View File
@@ -0,0 +1,69 @@
# POEditor Translation Synchronization
This GitHub Actions workflow automatically downloads translation files from POEditor and integrates them into the project.
## How It Works
The workflow can be triggered in two ways:
1. **Manual Trigger**: You can manually run the "POEditor Translation Synchronization" workflow from the "Actions" tab in the GitHub interface.
2. **Automatic Trigger**: The workflow runs automatically every day at midnight (UTC).
## Required Settings
For this workflow to function, you need to define the following secrets in your GitHub repository:
1. `POEDITOR_API_TOKEN`: Your POEditor API token
2. `POEDITOR_PROJECT_ID`: Your POEditor project ID
You can add these secrets in the "Settings > Secrets and variables > Actions" section of your GitHub repository.
## Manual Execution
When running the workflow manually, you can specify which languages to download. Languages should be entered as comma-separated values (e.g., `tr,gb,es`).
If you don't specify any languages, the default languages `tr` and `en` will be downloaded.
## Output
When the workflow completes successfully:
1. Translation files for the specified languages are downloaded from POEditor
2. These files are copied to the `src/locales/` directory
3. Changes are automatically committed and pushed to the main branch
## Troubleshooting
If the workflow fails:
1. Check the GitHub Actions logs
2. Make sure your POEditor API token and project ID are correct
3. Ensure that the languages you specified exist in your POEditor project
# POEditor Upload Workflow
## Summary of Implemented Translation Workflow
We have successfully created a GitHub Actions workflow that automatically uploads translation files to POEditor when changes are merged to the develop branch. Here's a summary of what we've implemented:
### Created Files
1. .github/scripts/upload-translations.js
- A Node.js script that handles the upload of translation files to POEditor
- Uses the POEditor API to upload JSON translation files
- Validates file existence and JSON format before uploading
- Provides detailed logging of the upload process
2. .github/workflows/poeditor-upload-on-merge.yml - A GitHub Actions workflow that triggers when PRs are merged to the develop branch - Only runs when changes are made to files in the src/locales directory - Detects which translation files were changed in the PR - Extracts language codes from filenames (e.g., tr.json → "tr") - Calls the upload script for each changed file
### Workflow Process
1. When a PR is merged to the develop branch, the workflow checks if any files in src/locales were modified.
1. If translation files were changed, the workflow:
- Sets up the necessary Node.js environment
- Installs required dependencies
- Identifies which specific translation files were changed
- For each changed file, extracts the language code and uploads to POEditor
- Provides status notifications about the upload process
This automated workflow ensures that your translations are always in sync between your codebase and POEditor, eliminating the need for manual uploads and reducing the risk of translation inconsistencies.
+103
View File
@@ -0,0 +1,103 @@
name: Build image
on:
push:
branches: ["develop", "master"]
tags: ["v*"]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# checkmate-backend-mono is a transitional alias so existing deployments
# keep receiving updates; drop it after one release cycle.
- name: Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/${{ github.repository_owner }}/checkmate
ghcr.io/${{ github.repository_owner }}/checkmate-backend-mono
flavor: |
latest=false
tags: |
type=ref,event=branch
type=ref,event=tag
type=semver,pattern={{version}}
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/v') }}
- name: Build and push multi-arch image
uses: docker/build-push-action@v6
with:
context: .
file: ./docker/Dockerfile
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
# The hosted staging/prod instances share one host and one compose file; each
# deploy pulls and recreates only its own service.
deploy-staging:
needs: build-and-push
if: github.ref == 'refs/heads/develop'
runs-on: ubuntu-latest
steps:
- name: Deploy staging.checkmate.so
uses: appleboy/ssh-action@v1.2.2
with:
host: ${{ secrets.DEMO_SERVER_HOST }}
username: ${{ secrets.DEMO_SERVER_USER }}
key: ${{ secrets.DEMO_SERVER_SSH_KEY }}
script: |
cd checkmate
git pull
cd docs/hosting/checkmate-so
docker compose pull checkmate-staging
docker compose up -d checkmate-staging
docker system prune -af
deploy-prod:
needs: build-and-push
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- name: Deploy demo.checkmate.so
uses: appleboy/ssh-action@v1.2.2
with:
host: ${{ secrets.DEMO_SERVER_HOST }}
username: ${{ secrets.DEMO_SERVER_USER }}
key: ${{ secrets.DEMO_SERVER_SSH_KEY }}
script: |
cd checkmate
git pull
cd docs/hosting/checkmate-so
docker compose pull checkmate-demo
docker compose up -d checkmate-demo
docker system prune -af
+40
View File
@@ -0,0 +1,40 @@
name: Build Check (Client & Server)
on:
pull_request:
workflow_dispatch:
jobs:
build-client:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install client dependencies
working-directory: client
run: npm install
- name: Check client build
working-directory: client
run: npm run build
build-server:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install server dependencies
working-directory: server
run: npm install
- name: Check server build
working-directory: server
run: npm run build
+41
View File
@@ -0,0 +1,41 @@
name: Format Check (Client & Server)
on:
pull_request:
workflow_dispatch:
jobs:
format-client:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install client dependencies
working-directory: client
run: npm install
- name: Check client formatting
working-directory: client
run: npm run format-check
format-server:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install server dependencies
working-directory: server
run: npm install
- name: Check server formatting
working-directory: server
run: npm run format-check
+22
View File
@@ -0,0 +1,22 @@
name: Lockfile Check (Client & Server)
on:
pull_request:
workflow_dispatch:
jobs:
check-lockfiles:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Validate with the same node image the production build uses, so a lock
# that passes here cannot fail the image build's npm ci.
- name: Resolve node image from Dockerfile
id: node-image
run: echo "image=$(grep -m1 -o 'node:[^ ]*' docker/Dockerfile)" >> "$GITHUB_OUTPUT"
- name: Check server lockfile
run: docker run --rm -v "$PWD/server":/w -w /w ${{ steps.node-image.outputs.image }} npm ci --dry-run
- name: Check client lockfile
run: docker run --rm -v "$PWD/client":/w -w /w ${{ steps.node-image.outputs.image }} npm ci --dry-run
+23
View File
@@ -0,0 +1,23 @@
name: Test Check (Server)
on:
pull_request:
workflow_dispatch:
jobs:
test-server:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install server dependencies
working-directory: server
run: npm install
- name: Run server tests
working-directory: server
run: npm test
+8 -3
View File
@@ -1,5 +1,10 @@
.vite
.idea
.vscode
.VSCodeCounter
*.sh
!uptime.sh
*.idea
mongo
node_modules/
docs/architecture
docs/reviews
docs/todo
docs/frontend
+23
View File
@@ -0,0 +1,23 @@
#!/bin/sh
# Skip during merge/rebase/cherry-pick/revert. lint-staged's internal
# git-stash mechanism is incompatible with these states and will silently
# wipe MERGE_HEAD and your conflict resolutions on commit failure.
git_dir=$(git rev-parse --git-dir)
if [ -e "$git_dir/MERGE_HEAD" ] \
|| [ -e "$git_dir/CHERRY_PICK_HEAD" ] \
|| [ -e "$git_dir/REVERT_HEAD" ] \
|| [ -d "$git_dir/rebase-merge" ] \
|| [ -d "$git_dir/rebase-apply" ]; then
echo "Skipping lint-staged (mid merge/rebase/cherry-pick/revert)"
exit 0
fi
# Anchor to repo root so commits made from a subdirectory still work, and
# run each package's lint-staged in a subshell so cwd is scoped (a failure
# inside one package can't poison the cwd for the next).
cd "$(git rev-parse --show-toplevel)" || exit 1
echo "Running lint-staged..."
(cd client && npx lint-staged) || exit 1
(cd server && npx lint-staged) || exit 1
+222
View File
@@ -0,0 +1,222 @@
# CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
## Project Overview
Checkmate is an open-source uptime and infrastructure monitoring application. It monitors server hardware, uptime, response times, and incidents with real-time alerts. The companion agent [Capture](https://github.com/bluewave-labs/capture) provides infrastructure metrics (CPU, RAM, disk, temperature).
## Development Commands
### Client (React/Vite)
```bash
cd client
npm install
npm run dev -- --port 10001 --strictPort # Local dev port is 10001 (5173 is used by another project on this machine)
npm run build # TypeScript check + production build
npm run lint # ESLint (strict, max-warnings 0)
npm run format # Prettier formatting
npm run format-check # Check formatting
```
Server `.env` on this machine is configured with `CLIENT_HOST="http://localhost:10001"` to match the client dev port. If you change the client port, keep `.env` in sync.
### Server (Node.js/Express)
```bash
cd server
npm install
npm run dev # Start with hot-reload (nodemon + tsx) at http://localhost:52345
npm run build # TypeScript compile + path alias resolution
npm run test # Run Jest tests with coverage
npm run lint # ESLint v9
npm run lint-fix # Auto-fix lint issues
npm run format # Prettier formatting
```
### Docker Development
```bash
docker build -f docker/Dockerfile -t checkmate . # build the mono image (server + built client)
docker compose -f docker/dev/docker-compose.yaml up # local full stack (builds image, runs mongo + worker)
docker run -d -p 27017:27017 -v uptime_mongo_data:/data/db --name uptime_database_mongo mongo:8.0 # just a dev database
```
## Environment Setup
### Server `.env` (minimum required)
```env
CLIENT_HOST="http://localhost:5173"
JWT_SECRET="my_secret_key_change_this"
DB_CONNECTION_STRING="mongodb://localhost:27017/uptime_db"
TOKEN_TTL="99d"
ORIGIN="localhost"
LOG_LEVEL="debug"
```
### Client `.env`
```env
VITE_APP_API_BASE_URL="http://localhost:52345/api/v1"
VITE_APP_LOG_LEVEL="debug"
```
## Architecture
### Monorepo Structure
- `/client` - React 18 + TypeScript + Vite + MUI frontend
- `/server` - Node.js 20+ + Express + TypeScript backend
- `/docker` - Multi-environment Docker configs (dev, staging, prod, arm, mono)
### Backend Layers
```
server/src/
├── api/ # HTTP layer
│ ├── controllers/ # Route handlers (authController, monitorController, etc.)
│ ├── middleware/ # verifyJWT, rateLimiter, sanitization, responseHandler
│ ├── routes/ # API route definitions
│ └── validation/ # Zod request-payload schemas
├── domain/ # Business logic + data access, one folder per entity
│ ├── monitors/ # e.g. monitor.service.ts, monitor.repository.ts, monitor.type.ts
│ ├── checks/
│ ├── incidents/
│ └── … # users, teams, status-pages, notifications, etc.
├── service/ # Cross-cutting services (e.g. infrastructure/)
├── config/ # App config wiring (controllers, routes, services, envValidation)
├── db/
│ └── migration/ # Database migrations (run on startup)
├── templates/ # Email/notification templates
├── types/ # Shared const tuples + derived types
└── utils/ # Shared utilities
```
### Frontend Structure
```
client/src/
├── Components/ # Reusable UI components
├── Pages/ # Page components (Auth, Uptime, Infrastructure, Incidents, etc.)
├── Features/ # Redux slices (Auth, UI)
├── Hooks/ # Custom React hooks
├── Utils/ # Utilities (NetworkService.js is main API client)
├── Validation/ # Input validation
└── locales/ # i18n translations
```
### API
- Base URL: `/api/v1`
- Documentation: `http://localhost:52345/api-docs` (Swagger UI)
- OpenAPI spec: `/server/openapi.json`
### Key Technologies
- **State Management**: Redux Toolkit + Redux-Persist
- **Data Fetching**: SWR + Axios
- **Database**: MongoDB with Mongoose ODM
- **Queue/Cache**: Redis + BullMQ + Pulse (cron scheduling)
- **i18n**: i18next + react-i18next (translations via PoEditor)
---
## Backend Architecture Patterns
### Repository Pattern & Separation of Concerns
The backend enforces a strict three-layer separation between HTTP handling, business logic, and data access:
```
Request → Controller → Service → Repository → MongoDB (Mongoose)
```
- **Controllers** (`/controllers`) handle HTTP concerns only: parsing request params, calling the appropriate service, and returning a response via the `responseHandler` middleware. They contain no business logic.
- **Services** (`/service/business`) contain all business logic: deciding whether an incident should be created, whether a notification should fire, what state a monitor is in, etc.
- **Repositories** (`/repositories`) are the sole layer that talks to MongoDB through Mongoose. They expose clean, reusable query methods (e.g. `findByMonitorId`, `createCheck`) so that services never construct raw DB queries directly.
This separation makes each layer independently testable and keeps Mongoose-specific code out of business logic. When adding a new feature, the pattern to follow is: add a repository method for any new DB query, call it from a service, and expose it via a controller route.
### Monitoring Flow: From Check to Notification
Background monitoring runs on a scheduled queue, not on the HTTP request cycle. The high-level flow for uptime monitoring is:
```
Pulse (cron) → BullMQ Job → StatusService
├── performs HTTP/port/ping check
├── saves Check via CheckRepository
├── evaluates monitor state change
│ └── calls IncidentService (create / resolve incident)
└── calls NotificationService (email, Slack, Discord, webhook)
```
1. **Pulse** (cron scheduler) enqueues a job into a **BullMQ** queue for each active monitor at its configured interval.
2. A **BullMQ worker** picks up the job and calls `StatusService`, which performs the actual check (HTTP request, TCP port probe, ping, etc.).
3. The result is persisted as a `Check` document via the repository layer.
4. `StatusService` compares the new result against the monitor's previous state. If the monitor transitions from up → down (or down → up), it delegates to `IncidentService` to open or resolve an `Incident` document.
5. On a state change, `NotificationService` reads the monitor's configured `Notification` documents and dispatches alerts to all enabled channels (email, Discord, Slack, webhooks).
### Queue System (BullMQ + Redis)
Redis serves two roles: job queue storage for BullMQ and ephemeral caching. BullMQ manages concurrency, retries, and backpressure for monitoring jobs, ensuring checks are processed reliably even under load.
- Each monitor type (HTTP, port, ping, infrastructure) maps to its own queue worker so failures in one type don't block others.
- Job scheduling interval is driven by the `interval` field on the `Monitor` model.
- Failed jobs are retried with configurable backoff before being moved to a dead-letter state.
- Redis is also used to cache frequently read data (e.g. aggregated stats) to reduce MongoDB query pressure.
When working on anything related to check scheduling, incident lifecycle, or notifications, trace the flow starting from the relevant BullMQ worker rather than from the controller layer.
---
## Code Conventions
### Coding conventions (mandatory)
Read `docs/coding-conventions.md` before touching any `.tsx` or `.ts` file. The doc covers both frontend and backend rules, all enforced in code review.
**Universal — rule 0:** look at peer files first and follow the established pattern. Don't sneak in novel shapes.
**Frontend (`client/src`):**
1. Prefer MUI native props over `sx` (e.g. `color={…}`, `bgcolor={…}`, `mt={…}` — not `sx={{ color, bgcolor, mt }}`).
2. Use the full theme path for colors: `color={theme.palette.text.secondary}`, never `color="text.secondary"` (greppability).
3. No hardcoded literals — use `LAYOUT.*`, `typographyLevels.*`, `theme.shape.borderRadius`, `theme.palette.*`.
4. Use `useTheme()` inside components; don't `import { theme } from "@/Utils/Theme/Theme"`.
5. Pair runtime tuples with derived types: `const X = [...] as const; type X = (typeof X)[number]`.
**Backend (`server/src`):**
6. Layering: Controller → Service → Repository → Mongoose. No DB calls outside repositories.
7. Provider conventions: DI for stdlib clients, `SERVICE_NAME` + `TIMEOUT_MS` constants, `timeRequest()` helper, inline `setTimeout` race for timeout, outer try/catch into `AppError`.
8. Mongoose schema fields with closed value sets must declare `enum` reusing the same `types/*` const tuple.
9. Provider tests at `server/test/unit/providers/network/<name>.test.ts`, `from "@jest/globals"`, `testStatusProviderContract`, inline `setup()` per test (not `beforeEach`).
10. Centralize validation enums in `types/*` const tuples; never inline `z.enum([…])` more than once.
11. New entity fields must land in the validator's `*ResponseSchema` so the auto-generated OpenAPI spec sees them.
### Internationalization
All user-facing strings must use the translation function:
```javascript
t('your.key') // Never hardcode UI strings
```
### Branching
- Always branch from `develop` (not master)
- Use descriptive names: `feat/add-alerts`, `fix/login-error`
- PRs target `develop` branch
### Formatting
- **Client**: Prettier with `printWidth: 90`, tabs, double quotes
- **Server**: Prettier with `printWidth: 150`, tabs, double quotes
- Both use ESLint with strict settings
### Testing
Server tests use Jest (with `--experimental-vm-modules` for ESM):
```bash
npm test # Run all tests with coverage
npm test -- -t "pattern" # Run tests matching name pattern
npm test -- path/to/file.test.ts # Run a specific file
```
Test files: `server/test/**/*.test.ts`
## Database Models
Key Mongoose models in `/server/src/db/models/`:
- **Monitor** - Monitoring configuration (website, infrastructure, port, etc.)
- **Check** - Individual monitoring check results
- **Incident** - Downtime incidents
- **User** - User accounts
- **Team** - Team/workspace management
- **StatusPage** - Public status pages
- **Notification** - Alert configuration (email, Discord, Slack, webhooks)
- **MaintenanceWindow** - Scheduled maintenance periods
- **AppSettings** - Global application settings
+69 -69
View File
@@ -1,69 +1,69 @@
# Contributor Covenant Code of Conduct
## Our Pledge
We as members, contributors, and leaders pledge to make participation in the **bluewave-uptime** project and community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community, especially during Hacktoberfest, where we encourage new contributors to join and feel supported.
## Our Standards
Examples of behavior that contributes to a positive environment for our community include:
- Demonstrating empathy and kindness toward other people
- Being respectful of differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
- Focusing on what is best not just for us as individuals, but for the overall community
Examples of unacceptable behavior include:
- The use of sexualized language or imagery, and sexual attention or advances of any kind
- Trolling, insulting or derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or email address, without their explicit permission
- Other conduct which could reasonably be considered inappropriate in a professional setting
## Our Responsibilities
Project maintainers are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned with this Code of Conduct, especially during Hacktoberfest to ensure a positive experience for all contributors.
## Scope
This Code of Conduct applies within all project spaces, and it also applies when an individual is officially representing the project or its community in public spaces. Examples of representing our project include using an official project email address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at hello@bluewavelabs.ca. All complaints will be reviewed and investigated promptly and fairly.
All project team members are obligated to respect the privacy and security of the reporter of any incident.
## Enforcement Guidelines
Project maintainers will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
**Consequence**: A private, written warning from project maintainers, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
### 2. Warning
**Community Impact**: A violation through a single incident or series of actions.
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
### 3. Temporary Ban
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
### 4. Permanent Ban
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
**Consequence**: A permanent ban from any sort of public interaction within the community.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
---
By following this Code of Conduct, we can ensure a welcoming and inclusive environment, encouraging new contributors to engage with the project and the community. Thank you for helping make **bluewave-uptime** a positive space for all!
# Contributor Covenant Code of Conduct
## Our Pledge
We as members, contributors, and leaders pledge to make participation in the **checkmate** project and community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community, especially during Hacktoberfest, where we encourage new contributors to join and feel supported.
## Our Standards
Examples of behavior that contributes to a positive environment for our community include:
- Demonstrating empathy and kindness toward other people
- Being respectful of differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
- Focusing on what is best not just for us as individuals, but for the overall community
Examples of unacceptable behavior include:
- The use of sexualized language or imagery, and sexual attention or advances of any kind
- Trolling, insulting or derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or email address, without their explicit permission
- Other conduct which could reasonably be considered inappropriate in a professional setting
## Our Responsibilities
Project maintainers are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned with this Code of Conduct, especially during Hacktoberfest to ensure a positive experience for all contributors.
## Scope
This Code of Conduct applies within all project spaces, and it also applies when an individual is officially representing the project or its community in public spaces. Examples of representing our project include using an official project email address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at hello@bluewavelabs.ca. All complaints will be reviewed and investigated promptly and fairly.
All project team members are obligated to respect the privacy and security of the reporter of any incident.
## Enforcement Guidelines
Project maintainers will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
**Consequence**: A private, written warning from project maintainers, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
### 2. Warning
**Community Impact**: A violation through a single incident or series of actions.
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
### 3. Temporary Ban
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
### 4. Permanent Ban
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
**Consequence**: A permanent ban from any sort of public interaction within the community.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
---
By following this Code of Conduct, we can ensure a welcoming and inclusive environment, encouraging new contributors to engage with the project and the community. Thank you for helping make **checkmate** a positive space for all!
+303 -82
View File
@@ -1,105 +1,326 @@
# Contributing to Checkmate
First off, thanks for taking the time to contribute! ❤️
Thanks for your interest in contributing! Checkmate is an open-source, friendly project focused on learning and growth.
All types of contributions are encouraged and valued. See the [Table of Contents](#table-of-contents) for different ways to help and details about how the Checkmate project handles them. Please make sure to read the relevant section before making your contribution. It will make it much easier for us maintainers and smooth out the experience for all involved. The community looks forward to your contributions. 🎉
We truly appreciate all kinds of contributions — code, ideas, translations or documentation. Contributing helps you level up while making the project better for everyone.
> And if you like the project, but don't have time to contribute, that's fine. There are other easy ways to support the project and show your appreciation, which we would also be very happy about:
> - Star the project
> - Tweet about it
> - Refer this project in your project's readme
> - Mention the project at local meetups and tell your friends/colleagues
Before you start, please take a moment to read the relevant section. It helps us review and accept contributions faster, and makes the whole process smoother for everyone. 💚
## Table of Contents
PS: **We work closely with contributors on our [Discord channel](https://discord.com/invite/NAb6H3UTjK)**. You'll find community members, core maintainers, and first-timers helping each other out.
- [I Have a Question](#i-have-a-question)
- [I Want To Contribute](#i-want-to-contribute)
- [Suggesting Enhancements](#suggesting-enhancements)
## I Have a Question
If you'd like to ask a question, we assume that you have read the available readme.md files. In the near future we'll come up with a proper installation and usage document.
Before you ask a question, search for existing [Issues](/issues) that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue. It is also advisable to search the internet for answers first.
If you then still feel the need to ask a question and need clarification, we recommend the following:
- Open an [Issue](/issues/new).
- Provide as much context as you can about what you're running into.
- Provide project and platform versions (NodeJs, MongoDB, etc), depending on what seems relevant.
We will then take care of the issue as soon as possible.
---
## I Want To Contribute
## 🚀 Quick Setup Checklist
> ### Legal Notice
> When contributing to this project, you must agree that you have authored 100% of the content, that you have the necessary rights to the content and that the content you contribute may be provided under the project license.
Before you dive in, make sure you have these installed:
### Reporting Bugs
```bash
# Check Node.js (v20+ required)
node --version
#### Before Submitting a Bug Report
# Check npm
npm --version
A good bug report shouldn't leave others needing to chase you up for more information. Therefore, we ask you to investigate carefully, collect information and describe the issue in detail in your report. Please complete the following steps in advance to help us fix any potential bug as fast as possible.
# Check Docker
docker --version
# Check Git
git --version
```
**New to contributing?** Start here:
1. Pick a [`good-first-issue`](https://github.com/bluewave-labs/checkmate/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22)
2. Comment that you'd like to work on it
3. Follow the [setup guide](#set-up-checkmate-locally) below
4. Join our [Discord](https://discord.com/invite/NAb6H3UTjK) if you get stuck
## Table of contents
- [How do I...?](#how-do-i)
- [Get help or ask a question?](#get-help-or-ask-a-question)
- [Report a bug?](#report-a-bug)
- [Suggest a new feature?](#suggest-a-new-feature)
- [Set up Checkmate locally?](#set-up-checkmate-locally)
- [Start contributing code?](#start-contributing-code)
- [Improve the documentation?](#improve-the-documentation)
- [Help with translations?](#help-with-translations)
- [Submit a pull request?](#submit-a-pull-request)
- [Code guidelines](#code-guidelines)
- [Pull request checklist](#pull-request-checklist)
- [Branching model](#branching-model)
- [Thank you](#thank-you)
---
## How do I...
### Get help or ask a question?
Ask anything in our [Discord server](https://discord.com/invite/NAb6H3UTjK) — we're friendly and happy to help. [Our core contributors](https://github.com/bluewave-labs/checkmate?tab=readme-ov-file#-contributing) are active and ready to support you. You can also use [GitHub Discussions](https://github.com/bluewave-labs/Checkmate/discussions) section to ask your questions.
### Report a bug?
1. Search [existing issues](https://github.com/bluewave-labs/checkmate/issues).
2. If it's not listed, open a **new issue**.
3. Include as much detail as possible: what happened, what you expected, and steps to reproduce. Logs and screenshots help.
### Suggest a new feature?
1. Open a new issue with the **feature request** template.
2. Share your use case and why it would help.
3. You can discuss it in [Discord](https://discord.com/invite/NAb6H3UTjK) before you code.
### Set up Checkmate locally?
#### Prerequisites
- Node.js (with npm)
- Docker
- Git
#### Step 1: Clone the Repository
```bash
git clone https://github.com/bluewave-labs/Checkmate.git
cd Checkmate
```
#### Step 2: Set Up Docker Containers (MongoDB)
Run MongoDB container:
```bash
docker run -d -p 27017:27017 -v uptime_mongo_data:/data/db --name uptime_database_mongo mongo:8.0
```
#### Step 3: Set Up the Backend (Server)
Navigate to the server directory:
```bash
cd server
```
Install dependencies:
```bash
npm install
```
Create a `.env` file in the `server` directory with the following minimum required configuration:
```env
CLIENT_HOST="http://localhost:5173"
JWT_SECRET="my_secret_key_change_this"
DB_CONNECTION_STRING="mongodb://localhost:27017/uptime_db"
TOKEN_TTL="99d"
ORIGIN="localhost"
LOG_LEVEL="debug"
```
**Environment Variables Explained:**
- `CLIENT_HOST`: Frontend URL (default: http://localhost:5173)
- `JWT_SECRET`: Secret key for JWT tokens (change to something secure)
- `DB_CONNECTION_STRING`: MongoDB connection URL
- `ORIGIN`: Origin for CORS purposes
- `TOKEN_TTL`: Token time to live (in vercel/ms format)
- `LOG_LEVEL`: Debug level (debug, info, warn, error)
- `QUEUE_TYPE`: Job queue implementation (`superSimpleQueue` or `lessSimpleQueue`, optional, default: `superSimpleQueue`)
Start the backend server:
```bash
npm run dev
```
The server will run at `http://localhost:52345`.
#### Step 4: Set Up the Frontend (Client)
Open a new terminal window and navigate to the client directory from the root:
```bash
cd client
```
Install dependencies:
```bash
npm install
```
Create a `.env` file in the `client` directory:
```env
VITE_APP_API_BASE_URL="http://localhost:52345/api/v1"
VITE_APP_LOG_LEVEL="debug"
```
**Environment Variables Explained:**
- `VITE_APP_API_BASE_URL`: Backend API URL
- `VITE_APP_LOG_LEVEL`: Log level (none, error, warn, debug, info)
Start the frontend:
```bash
npm run dev
```
The client will run at `http://localhost:5173`.
#### Step 5: Access the Application
Open your browser and navigate to:
- **Frontend**: http://localhost:5173
- **Backend API**: http://localhost:52345
- **API Documentation**: http://localhost:52345/api-docs
#### Managing Docker Containers
Stop containers:
```bash
docker stop uptime_database_mongo
```
Start containers:
```bash
docker start uptime_database_mongo
```
Remove containers (if needed):
```bash
docker rm uptime_database_mongo
```
#### Troubleshooting
**Port already in use:**
- Check if another service is using ports 5173, 52345, 27017, or 6379
- Stop the conflicting service or change the port in `.env` files
**MongoDB connection issues:**
- Verify container is running: `docker ps`
- Check container logs: `docker logs uptime_database_mongo`
**Module not found errors:**
- Ensure you ran `npm install` in both `client` and `server` directories
**Need more help?**
- Check the [full documentation](https://checkmate.so/docs)
- Ask on [Discord](https://discord.com/invite/NAb6H3UTjK)
### Start contributing code?
1. Pick or open an issue (check `good-first-issue`s first)
2. (optional but highly suggested) Read a detailed structure of [Checkmate](https://deepwiki.com/bluewave-labs/Checkmate) if you would like to deep dive into the architecture.
3. Ask to be assigned. If there is already someone assigned and it's been more than 7 days, you can raise the flag and ask to be assigned as well.
4. Create a branch from `develop`.
5. Write your code.
6. Run and test locally.
7. Open a PR to `develop`.
Start with [good first issues](https://github.com/bluewave-labs/checkmate/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22).
### Improve the documentation?
Documentation contributions are very welcome — fixing a typo, clarifying a step, or adding a missing example is a valuable PR.
- Small edits (typos, wording, formatting): open a PR directly against `develop`.
- Larger changes (restructuring a section, adding a new guide): open an issue first so we can align on scope, then a PR.
- Screenshots are helpful when documenting UI behaviour.
- README translations live in `docs/translations/`. If you're adding a new language, please also add a flag + link to the language bar in the root `README.md` and every existing translated README so they stay in sync.
### Help with translations?
The application uses `i18next` with one JSON file per language under `client/src/locales/` (`en.json` is the source of truth). English source strings are the definitive copy; other languages are generated as one-time machine translations that anyone is welcome to refine.
**To improve an existing language:**
1. Edit the relevant `client/src/locales/<code>.json` file directly.
2. Keep the JSON key structure identical to `en.json` — only translate the string values.
3. Open a PR against `develop`. No language-selector code changes are needed.
**To add a new language:**
1. Add `client/src/locales/<code>.json` with the same key structure as `en.json`, translated. If you can't translate every key, leave unfamiliar strings in English rather than removing keys — i18next falls back to the key path when a value is missing.
2. Add the display name to `languageNames` in `client/src/Components/inputs/LanguageSelector.tsx` (e.g. `it: "Italiano"`). The selector picks up any language present in `resources` automatically.
3. Open a PR against `develop`.
If translating a whole file is more than you want to take on, open an issue asking us to add the language and we'll generate an initial machine-translated file that you (or others) can refine over time.
**Note:** an older workflow that synced translations with PoEditor is still in the repo but no longer authoritative. Please treat the `.json` files in `client/src/locales/` as the source of truth.
### Submit a pull request?
Follow the [pull request checklist](#pull-request-checklist). Your PR should:
- Be focused on one issue.
- Be tested locally.
- Use our linting and translation rules.
- Include the related issue (e.g. `Fixes #123`).
- Be opened against the `develop` branch.
---
## Code guidelines
- Use ESLint and Prettier. Run `npm run lint` and `npm run format-check` in both `client` and `server`. If `format-check` reports issues, fix them with `npm run format` before committing.
- Follow naming conventions: `camelCase` for variables, `PascalCase` for components, `UPPER_CASE` for constants.
- No hard-coded strings — use `t('your.key')` for everything visible.
- Use the shared theme and components. No magic numbers or hardcoded styles.
- Follow structure and patterns already used in the codebase.
---
## Pull request checklist
Before submitting your pull request, please confirm the following:
- **You have tested the app locally and confirmed your changes work.**
- You reviewed your code and removed debug logs or leftover code.
- The GitHub issue is assigned to you.
- You included the related issue number in the PR description (e.g. `Fixes #123`).
- All user-facing text uses the translation function `t('key')`; no hardcoded strings.
- You avoided hardcoded URLs, config values, or sensitive data.
- You used the shared theme for any styling — no magic numbers or inline styles.
- The pull request addresses only one issue or topic.
- You added screenshots or a video for any UI-related changes.
- Your code passes `npm run lint`, `npm run format-check`, and `npm run build` in both `client` and `server` with no errors.
If one or more of these are missing, we may ask you to update your pull request before we can merge it.
---
## Branching model
- Code contributions should go to the `develop` branch.
- `master` is used for stable releases.
- Use descriptive branch names, like `fix/login-error` or `feat/add-alerts`.
- Make sure that you are using the latest version.
- Determine if your bug is really a bug and not an error on your side e.g. using incompatible environment components/versions. If you are looking for support, you might want to check [this section](#i-have-a-question)).
- To see if other users have experienced (and potentially already solved) the same issue you are having, check if there is not already a bug report existing for your bug or error in the [bug tracker](issues?q=label%3Abug).
- Also make sure to search the internet (including Stack Overflow) to see if users outside of the GitHub community have discussed the issue.
- Collect information about the bug:
- Stack trace (Traceback)
- OS, Platform and Version (Windows, Linux, macOS, x86, ARM)
- Version of the interpreter, compiler, SDK, runtime environment and package manager, depending on what seems relevant.
- Possibly your input and the output
- Can you reliably reproduce the issue? And can you also reproduce it with older versions?
#### How Do I Submit a Good Bug Report?
> You must never report security related issues, vulnerabilities or bugs including sensitive information to the issue tracker, or elsewhere in public. Instead sensitive bugs must be sent by email to security@bluewavelabs.ca
We use GitHub issues to track bugs and errors. If you run into an issue with the project:
- Open an [Issue](/issues/new). (Since we can't be sure at this point whether it is a bug or not, we ask you not to talk about a bug yet and not to label the issue.)
- Explain the behaviour you would expect and the actual behaviour.
- Please provide as much context as possible and describe the *reproduction steps* that someone else can follow to recreate the issue on their own. This usually includes your code. For good bug reports, you should isolate the problem and create a reduced test case.
- Provide the information you collected in the previous section.
Once it's filed:
- The project team will label the issue accordingly.
- A team member will try to reproduce the issue with your provided steps. If there are no reproduction steps or no obvious way to reproduce the issue, the team will ask you for those steps and mark the issue as `needs-repro`. Bugs with the `needs-repro` tag will not be addressed until they are reproduced.
- If the team is able to reproduce the issue, it will be marked `needs-fix`, as well as possibly other tags (such as `critical`), and the issue will be left to be [implemented by someone](#your-first-code-contribution).
## Suggesting Enhancements
This section guides you through submitting an enhancement suggestion for the application, **including completely new features and minor improvements to existing functionality**. Following these guidelines will help maintainers and the community understand your enhancements and find related suggestions.
- Make sure that you are using the latest version.
- Make sure you run the code locally. The Checkmate [documentation](https://bluewavelabs.gitbook.io/checkmate) covers it.
- Make sure you run the code locally. The Checkmate [documentation](https://checkmate.so/docs) covers it.
- Find out if the functionality is already covered, maybe by an individual configuration.
- Perform a [search](/issues) to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one.
- Find out whether your idea fits with the scope and aims of the project. It's up to you to make a strong case to convince the project's developers of the merits of this feature. Keep in mind that we want features that will be useful to the majority of our users and not just a small subset. If you're just targeting a minority of users, consider writing an add-on/plugin library.
#### How Do I Submit a Good Enhancement Suggestion?
---
Enhancement suggestions are tracked as [GitHub issues](/issues).
## Thank you
- Use a **clear and descriptive title** for the issue to identify the suggestion.
- Provide a **step-by-step description of the suggested enhancement** in as many details as possible.
- **Describe the current behavior** and **explain which behavior you expected to see instead** and why. At this point you can also tell which alternatives do not work for you.
- You may want to **include screenshots and animated GIFs** which help you demonstrate the steps or point out the part which the suggestion is related to.
- **Explain why this enhancement would be useful** to most CONTRIBUTING.md users. You may also want to point out the other projects that solved it better and which could serve as inspiration.
Thanks for making Checkmate better. We mean it. Whether it's your first pull request or your 50th, we're excited to build with you.
We have a Figma file that includes:
PS: feel free to introduce yourself on [Discord](https://discord.gg/NAb6H3UTjK) and say hi.
- All the dashboard elements and components
- The design guideline for the app
-- Checkmate team
You can see it [here](https://www.figma.com/design/RPSfaw66HjzSwzntKcgDUV/Uptime-Genie?node-id=0-1&t=WqOFv9jqNTFGItpL-1). Since it is read-only, we encourage you to copy to your own Figma page, then work on it.
[This document](https://docs.google.com/document/d/1Gy3LiimGUNoSiWAMbwyK3SeMADcCMjCLu6cQYoawtSE/edit#heading=h.1lj2lgut6m7h) outlines the process every developer should follow for managing the issues lifecycle. Also make sure you read the [document about how to make a good pull request](/PULLREQUESTS.md).
## Attribution
This guide is based on the **contributing.md**. [Make your own](https://contributing.md/)!
Also make sure you read the [document about how to make a good pull request](/PULLREQUESTS.md).
+11325
View File
File diff suppressed because it is too large. Load diff
-1
View File
@@ -1 +0,0 @@
VITE_APP_API_BASE_URL=UPTIME_APP_API_BASE_URL
-19
View File
@@ -1,19 +0,0 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:react-hooks/recommended",
],
ignorePatterns: ["dist", ".eslintrc.cjs"],
parserOptions: { ecmaVersion: "latest", sourceType: "module" },
settings: { react: { version: "18.2" } },
plugins: ["react-refresh"],
rules: {
"react/jsx-no-target-blank": "off",
"react-refresh/only-export-components": ["warn", { allowConstantExport: true }],
"react/no-unescaped-entities": "off",
},
};
-8
View File
@@ -1,8 +0,0 @@
# React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
-8
View File
@@ -1,8 +0,0 @@
#!/bin/sh
for i in $(env | grep UPTIME_APP_)
do
key=$(echo $i | cut -d '=' -f 1)
value=$(echo $i | cut -d '=' -f 2-)
echo $key=$value
find /usr/share/nginx/html -type f \( -name '*.js' -o -name '*.css' \) -exec sed -i "s|${key}|${value}|g" '{}' +
done
-16
View File
@@ -1,16 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="./checkmate_favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Checkmate</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
-49
View File
@@ -1,49 +0,0 @@
{
"name": "client",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"build-dev": "vite build --mode development",
"lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
},
"dependencies": {
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@fontsource/roboto": "^5.0.13",
"@mui/icons-material": "6.4.1",
"@mui/lab": "6.0.0-beta.24",
"@mui/material": "6.4.1",
"@mui/x-charts": "^7.5.1",
"@mui/x-data-grid": "7.24.0",
"@mui/x-date-pickers": "7.24.0",
"@reduxjs/toolkit": "2.5.0",
"axios": "^1.7.4",
"dayjs": "1.11.13",
"joi": "17.13.3",
"jwt-decode": "^4.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "9.2.0",
"react-router": "^6.23.0",
"react-router-dom": "^6.23.1",
"react-toastify": "^10.0.5",
"recharts": "2.15.0",
"redux-persist": "6.0.0",
"vite-plugin-svgr": "^4.2.0"
},
"devDependencies": {
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.6",
"prettier": "^3.3.3",
"vite": "^5.2.0"
}
}
-49
View File
@@ -1,49 +0,0 @@
<svg width="32" height="32" viewBox="0 0 600 600" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M218.252 79.2667L218.045 78.4143C218.712 77.617 219.642 77.5282 220.615 77.4361C224.829 77.0374 243.307 76.7077 246.676 77.418C248.299 77.76 249.661 78.5248 250.932 79.5734C254.845 82.8003 259.018 88.0302 262.403 91.9284C263.57 93.2734 264.805 95.1623 266.183 96.2584C268.203 99.7185 274.532 101.602 278.167 102.623C278.397 102.688 278.631 102.741 278.863 102.797C274.983 106.185 272.016 110.321 268.272 113.745C272.574 124.188 286.689 184.953 289.397 187.986C290.165 188.212 290.291 188.048 291.045 187.739C290.627 188.446 290.337 189.3 289.588 189.656L288.963 188.533C286.703 188.347 273.044 195.497 269.836 196.808C267.39 197.808 264.851 198.458 262.414 199.405C261.197 196.797 260.413 193.923 259.329 191.244C254.43 179.142 250.091 166.843 245.71 154.552C240.241 139.206 234.226 124.026 228.882 108.642C226.389 101.466 223.549 94.5009 220.953 87.3749C220.026 84.8301 219.72 81.4795 218.252 79.2667Z" fill="#3158B7"/>
<path d="M218.252 79.2667L218.045 78.4143C218.712 77.617 219.642 77.5282 220.615 77.4361C224.829 77.0374 243.307 76.7077 246.676 77.418C248.299 77.76 249.661 78.5248 250.932 79.5734C254.845 82.8003 259.018 88.0302 262.403 91.9284C263.57 93.2734 264.805 95.1623 266.183 96.2584C268.203 99.7185 274.532 101.602 278.167 102.623C278.397 102.688 278.631 102.741 278.863 102.797C274.983 106.185 272.016 110.321 268.272 113.745C266.08 111.774 263.588 110.159 261.208 108.427C256.477 104.982 251.692 101.649 246.906 98.282L233.54 88.9767C228.729 85.5908 223.823 81.3267 218.252 79.2667Z" fill="#73E4FA"/>
<path d="M299.595 19.4005C302.177 17.8183 305.226 16.8946 307.955 15.5556C310.387 14.3626 312.673 12.8604 315.15 11.7619C315.624 11.5519 315.886 11.4697 316.398 11.4844C315.732 13.7848 316.431 26.6622 316.441 30.2652C316.474 42.2192 316.084 54.2432 316.385 66.1867C316.416 67.4343 316.377 68.6301 316.847 69.8026C316.457 79.0631 316.718 88.4086 316.651 97.6808L316.423 172.062C316.376 177.75 316.385 183.438 316.448 189.125C316.469 192.585 316.902 196.888 316.126 200.243C316.055 199.033 315.728 197.334 316.025 196.183C315.86 197.435 315.463 198.762 315.391 200.002C315.283 201.847 315.798 203.719 315.391 205.559C314.431 204.554 313.43 203.906 312.592 202.729C308.228 196.602 310.556 194.07 301.963 190.683C299.704 189.793 293.054 186.88 291.045 187.739C290.291 188.048 290.165 188.212 289.397 187.986C286.689 184.953 272.574 124.188 268.272 113.745C272.016 110.321 274.983 106.185 278.863 102.797C278.631 102.741 278.397 102.688 278.167 102.623C274.532 101.602 268.203 99.7184 266.183 96.2583C269.435 97.3504 272.901 97.5882 276.304 97.6583C280.306 97.7408 283.403 97.3026 286.383 94.3544C288.086 92.669 289.516 90.6569 291.136 88.8839C293.303 86.512 296.041 84.1801 297.633 81.3777C300.012 77.1924 299.115 62.4967 299.219 57.0841C296.538 56.7086 293.912 56.806 291.218 56.6995C288.184 56.5796 285.396 56.0507 283.294 53.6585C280.886 50.9188 280.696 47.3466 281.035 43.8756C282.423 29.6657 295.122 37.239 298.804 33.8184C299.712 32.9739 299.469 21.618 299.595 19.4005Z" fill="#3D7ECD"/>
<path d="M362.288 269.421L362.773 270.062C364.332 274.37 365.193 279.073 366.359 283.516C368.419 291.371 370.61 299.194 372.793 307.015L395.769 388.039L411.304 442.863L415.766 458.213C416.528 460.836 417.569 463.467 417.96 466.175C417.89 466.842 418.03 466.869 417.485 467.324C413.349 466.406 409.11 465.92 404.942 465.147C396.892 463.653 388.881 461.984 380.817 460.552C380.516 459.221 380.489 457.712 380.305 456.347C379.896 453.327 379.359 450.33 378.694 447.356C376.712 438.738 374.16 430.227 372.075 421.626L351.327 334.35C349.071 324.725 347.019 314.981 344.607 305.405C342.561 297.284 340.078 289.201 338.622 280.946C339.912 280.649 340.991 280.35 342.142 279.684C345.072 278.136 348.264 277.064 351.221 275.536C354.9 273.636 358.345 270.649 362.288 269.421Z" fill="#73E4FA"/>
<path d="M316.398 11.4845C316.949 11.6168 317.496 11.7682 318.021 11.982C320.527 13.0022 322.595 14.8975 325.025 16.0401C326.641 16.7993 328.506 17.0278 330.066 17.9189C330.615 18.2326 331.175 18.6401 331.516 19.1833C333.638 22.5617 329.941 33.143 334.144 34.5595C335.071 34.872 336.309 34.7269 337.278 34.6636C342.517 34.3216 346.04 34.3235 349.065 39.1827C350.891 42.117 351.841 45.3207 350.982 48.7564C350.164 52.0314 347.831 55.4635 344.902 57.2399C344.309 57.5993 343.657 57.8308 343.003 58.0488C342.382 58.2541 341.729 58.4831 341.176 58.8402C339.34 60.0257 337.705 61.6472 335.85 62.8819C335.083 63.3916 333.536 63.9343 333.114 64.7163C333.015 64.8989 332.938 65.0921 332.849 65.2797C331.994 71.778 330.942 74.7954 335.242 80.4525C338.105 84.2196 345.676 93.407 349.248 96.0711C350.329 96.8768 351.548 97.3899 352.858 97.674C354.638 97.679 356.567 97.8353 358.319 97.4932C366.986 95.8002 372.945 85.6789 379.155 80.1412C380.557 78.8916 382.117 77.8947 383.974 77.4926C387.385 76.754 391.296 77.2429 394.773 77.2627C400.744 77.2966 406.631 77.1509 412.603 77.4939C413.066 77.8038 413.08 77.6663 413.16 78.1487C413.385 79.5036 412.832 81.0938 412.41 82.377C409.805 90.2864 406.49 98.1119 403.607 105.936L387.525 150.29C383.617 161.269 379.569 172.195 375.381 183.07C373.017 189.241 370.826 195.663 367.756 201.518C366.906 200.846 366.105 200.384 365.115 199.946C357.118 196.547 349.468 191.947 341.757 187.926C341.211 187.423 341.102 187.207 340.301 187.318C338.422 187.579 336.346 188.419 334.502 188.929C330.434 190.055 321.796 191.764 319.469 195.652C318.572 197.151 317.692 200.22 316.337 201.245C316.225 200.886 316.145 200.621 316.126 200.243C316.902 196.888 316.469 192.585 316.448 189.125C316.385 183.438 316.377 177.75 316.423 172.062L316.651 97.6809C316.718 88.4087 316.457 79.0632 316.847 69.8027C316.377 68.6302 316.416 67.4344 316.385 66.1868C316.084 54.2433 316.474 42.2193 316.441 30.2653C316.431 26.6623 315.732 13.7849 316.398 11.4845Z" fill="#73E4FA"/>
<path d="M332.127 57.4141C335.751 57.5106 339.378 57.8905 343.003 58.0488C342.382 58.2541 341.729 58.4831 341.176 58.8402C339.34 60.0257 337.705 61.6472 335.85 62.8819C335.083 63.3916 333.536 63.9343 333.114 64.7163C333.015 64.8989 332.938 65.0921 332.849 65.2797C332.684 62.6459 332.422 60.0356 332.127 57.4141Z" fill="black"/>
<path d="M352.858 97.674C354.638 97.679 356.567 97.8353 358.319 97.4932C366.986 95.8002 372.945 85.6789 379.155 80.1412C380.557 78.8916 382.117 77.8947 383.974 77.4926C387.385 76.754 391.296 77.2429 394.773 77.2627C400.744 77.2966 406.631 77.1509 412.603 77.4939C412.123 77.5931 411.776 77.6589 411.35 77.9133C409.284 79.1482 407.188 81.3404 405.081 82.7802C394.559 89.9716 384.283 97.4873 373.787 104.715C371.042 106.605 368.398 108.696 365.587 110.481C363.016 106.042 360.879 102.667 356.684 99.576C355.908 99.004 354.963 98.1848 354.042 97.8844C353.777 97.7979 353.467 97.7915 353.199 97.7482C353.084 97.7297 352.972 97.6988 352.858 97.674Z" fill="#4F91E0"/>
<path d="M316.847 69.8027C321.242 72.4105 326.84 79.7356 330.518 83.5726C335.063 88.3145 340.305 92.4625 345.078 96.9857C348.754 100.47 359.102 112.197 362.531 113.979C362.884 116.416 347.596 173.131 345.411 179.979C344.657 182.345 343.764 185.35 342.254 187.338C342.099 187.543 341.927 187.734 341.757 187.926C341.211 187.423 341.102 187.207 340.301 187.318C338.422 187.579 336.346 188.419 334.502 188.929C330.434 190.055 321.796 191.764 319.469 195.652C318.572 197.151 317.692 200.22 316.337 201.245C316.225 200.886 316.145 200.621 316.126 200.243C316.902 196.888 316.469 192.585 316.448 189.125C316.385 183.438 316.376 177.75 316.423 172.062L316.651 97.6809C316.718 88.4087 316.457 79.0632 316.847 69.8027Z" fill="#5BBFFC"/>
<path d="M316.126 200.243C316.145 200.621 316.225 200.886 316.337 201.245C317.692 200.22 318.572 197.151 319.469 195.652C321.796 191.764 330.434 190.055 334.502 188.929C336.346 188.419 338.422 187.579 340.301 187.318C341.102 187.207 341.211 187.423 341.757 187.926C349.468 191.947 357.118 196.547 365.115 199.946C366.105 200.384 366.906 200.846 367.756 201.518C367.27 202.637 366.763 203.747 366.234 204.848C365.063 207.595 364.344 210.137 363.459 212.952C367.613 213.364 371.797 213.297 375.966 213.194C386.171 213.341 399.134 211.56 407.006 219.438C408.262 220.694 409.583 222.077 410.315 223.707C411.447 228.7 410.939 234.09 410.692 239.173C410.661 239.285 410.628 239.397 410.599 239.511C410.317 240.612 410.264 241.816 409.76 242.846C408.269 245.89 403.918 248.67 401.099 250.509L397.101 250.535C392.229 251.156 386.936 250.764 382.02 250.742C380.258 252.242 379.572 253.4 379.015 255.621C375.623 257.067 372.349 258.186 368.836 259.31C366.357 260.996 362.191 264.345 361.869 267.495C361.803 268.145 361.893 268.578 362.175 269.155L362.288 269.421C358.345 270.649 354.9 273.636 351.221 275.536C348.264 277.064 345.072 278.136 342.142 279.684C340.991 280.35 339.912 280.649 338.622 280.946L338.374 280.965L337.631 281.175C336.996 280.978 336.122 280.707 335.64 280.22C335.013 279.586 332.112 273.818 330.826 272.131C327.237 267.42 322.458 264.909 316.638 264.129L316.192 264.037C314.993 265.535 316.083 270.149 315.579 272.213C315.076 269.916 316.559 267.352 315.272 265.334C314.562 264.951 314 264.949 313.234 265.15C310.643 265.828 308.244 267.144 305.601 267.663L305.359 267.78C304.526 268.174 303.726 268.445 302.836 268.679L302.422 268.516C302.97 267.994 303.581 267.707 304.249 267.371C303.346 267.089 302.592 267.405 301.795 267.828C300.798 268.358 299.724 269.109 298.638 269.418C296.45 270.04 293.748 268.782 292.771 271.723C291.539 275.429 292.836 276.598 289.342 279.245L289.264 279.106L289.746 279.665C289.922 279.642 290.098 279.617 290.274 279.596C290.788 279.534 291.072 279.562 291.552 279.784C283.761 280.886 276.08 271.943 269.481 268.727C269.532 267.685 269.414 267.036 268.848 266.155C266.793 262.951 261.551 259.21 258.011 257.869C256.773 257.4 255.382 257.17 254.087 256.899C250.725 256.497 247.482 255.358 244.173 254.665C241.651 254.137 239.029 253.962 236.466 253.728C236.969 252.907 236.631 251.749 236.978 250.742C234.444 250.731 231.884 250.523 229.351 250.403C226.903 249.086 224.175 246.485 222.644 244.15C220.166 240.368 220.112 229.455 221.195 225.05C221.962 221.93 223.946 219.508 226.648 217.845C227.525 217.021 228.391 216.267 229.547 215.874C232.606 214.832 236.233 214.827 239.433 214.547C243.327 214.206 247.238 213.733 251.141 213.538C256.502 213.269 261.883 213.36 267.25 213.257C267.293 213.167 267.345 213.08 267.378 212.986C268.103 210.948 263.421 201.839 262.414 199.405C264.851 198.458 267.39 197.808 269.836 196.808C273.044 195.497 286.703 188.347 288.963 188.533L289.588 189.656C290.337 189.3 290.627 188.446 291.045 187.739C293.054 186.88 299.704 189.793 301.963 190.683C310.556 194.07 308.228 196.602 312.592 202.729C313.43 203.906 314.431 204.554 315.391 205.559C315.798 203.719 315.283 201.847 315.391 200.002C315.463 198.762 315.86 197.435 316.025 196.183C315.728 197.334 316.055 199.033 316.126 200.243Z" fill="#73E4FA"/>
<path d="M226.648 217.845C227.525 217.021 228.391 216.267 229.547 215.874C232.606 214.832 236.233 214.827 239.433 214.547C243.327 214.206 247.238 213.733 251.141 213.538C256.502 213.269 261.883 213.36 267.25 213.257C273.5 213.971 279.834 213.445 286.108 213.605C286.028 213.626 285.948 213.648 285.867 213.666C283.762 214.153 281.367 213.997 279.208 214.037C272.251 214.165 265.326 213.83 258.375 213.88C253.031 213.919 247.886 214.67 242.578 215.017C240.895 215.127 236.024 214.805 235.01 216.105C234.814 216.356 234.778 216.499 234.672 216.773C235.26 217.358 235.736 217.319 236.534 217.341C240.179 217.439 243.921 217.212 247.585 217.238C254.057 217.283 260.516 217.54 266.99 217.551C270.978 217.557 278.548 217.235 282.283 217.919C273.611 218.558 264.721 217.948 256.023 218.03C249.71 217.873 243.396 217.847 237.081 217.954C233.732 217.991 229.946 218.398 226.648 217.845Z" fill="#4F91E0"/>
<path d="M321 196.5C321.019 196.878 320.86 194.141 320.972 194.5C322.327 193.475 318.572 197.151 319.469 195.652C321.796 191.764 330.434 190.055 334.502 188.929C336.346 188.419 338.422 187.579 340.301 187.318C341.102 187.207 341.211 187.423 341.757 187.926C349.468 191.947 357.118 196.547 365.115 199.946C366.105 200.384 366.906 200.846 367.756 201.518C367.27 202.637 366.763 203.747 366.234 204.848C365.063 207.595 364.344 210.137 363.459 212.952L361.76 212.951C346.809 213.807 331.759 213.014 316.787 213.074L315.391 205.559C315.798 203.719 315.283 201.847 315.391 200.002C315.463 198.762 315.835 196.752 316 195.5C315.5 195 323.374 191.757 321 196.5Z" fill="#3158B7"/>
<path d="M291.045 187.739C293.054 186.88 299.704 189.793 301.963 190.683C310.556 194.07 305.5 191.5 312.5 194.5C314 195 315.54 193.995 316.5 195L316.787 213.074C306.586 212.996 296.304 213.296 286.108 213.605C279.834 213.445 273.5 213.971 267.25 213.257C267.293 213.167 267.345 213.08 267.378 212.986C268.103 210.948 263.421 201.839 262.414 199.405C264.851 198.458 267.39 197.808 269.836 196.808C273.044 195.497 286.703 188.347 288.963 188.533L289.5 188.5C290.249 188.144 290.627 188.446 291.045 187.739Z" fill="#15337C"/>
<path d="M316.158 217.961C333.626 218.066 351.372 216.648 368.745 218.663C369.093 229.235 368.662 239.88 368.76 250.467L387.46 250.44C390.609 250.437 393.982 250.193 397.101 250.535C392.229 251.156 386.936 250.764 382.02 250.742L316.217 250.777C316.034 247.101 316.2 243.334 316.205 239.649C316.23 232.42 316.215 225.19 316.158 217.961Z" fill="#5BBFFC"/>
<path d="M229.351 250.403C226.903 249.086 224.175 246.485 222.644 244.15C220.166 240.368 220.112 229.455 221.195 225.05C221.962 221.93 223.946 219.508 226.648 217.845C229.946 218.398 233.732 217.991 237.081 217.954C243.396 217.847 249.71 217.873 256.023 218.03C264.721 217.948 273.611 218.558 282.283 217.919L316.158 217.961C316.215 225.19 316.23 232.42 316.205 239.649C316.2 243.334 316.034 247.101 316.217 250.777L382.02 250.742C380.258 252.242 379.572 253.4 379.015 255.621C375.623 257.067 372.349 258.186 368.836 259.31C366.357 260.996 362.191 264.345 361.869 267.495C361.803 268.145 361.893 268.578 362.175 269.155L362.288 269.421C358.345 270.649 354.9 273.636 351.221 275.536C348.264 277.064 345.072 278.136 342.142 279.684C340.991 280.35 339.912 280.649 338.622 280.946L338.374 280.965L337.631 281.175C336.996 280.978 336.122 280.707 335.64 280.22C335.013 279.586 332.112 273.818 330.826 272.131C327.237 267.42 322.458 264.909 316.638 264.129L316.192 264.037C314.993 265.535 316.083 270.149 315.579 272.213C315.076 269.916 316.559 267.352 315.272 265.334C314.562 264.951 314 264.949 313.234 265.15C310.643 265.828 308.244 267.144 305.601 267.663L305.359 267.78C304.526 268.174 303.726 268.445 302.836 268.679L302.422 268.516C302.97 267.994 303.581 267.707 304.249 267.371C303.346 267.089 302.592 267.405 301.795 267.828C300.798 268.358 299.724 269.109 298.638 269.418C296.45 270.04 293.748 268.782 292.771 271.723C291.539 275.429 292.836 276.598 289.342 279.245L289.264 279.106L289.746 279.665C289.922 279.642 290.098 279.617 290.274 279.596C290.788 279.534 291.072 279.562 291.552 279.784C283.761 280.886 276.08 271.943 269.481 268.727C269.532 267.685 269.414 267.036 268.848 266.155C266.793 262.951 261.551 259.21 258.011 257.869C256.773 257.4 255.382 257.17 254.087 256.899C250.725 256.497 247.482 255.358 244.173 254.665C241.651 254.137 239.029 253.962 236.466 253.728C236.969 252.907 236.631 251.749 236.978 250.742C234.444 250.731 231.884 250.523 229.351 250.403Z" fill="#3D7ECD"/>
<path d="M229.5 250.5C227.052 249.183 224.175 246.485 222.644 244.15C220.166 240.368 220.112 229.455 221.195 225.05C221.962 221.93 223.946 219.508 226.648 217.845C229.946 218.398 233.732 217.991 237.081 217.954C243.396 217.847 249.71 217.873 256.023 218.03C258.057 218.243 260.081 218.239 262.124 218.245C262.036 228.982 261.779 239.713 261.935 250.452C267.117 250.445 282.096 249.873 286.095 250.724C281.121 250.989 276.017 250.759 271.029 250.75C261.584 250.723 252.14 250.748 242.696 250.824C240.816 250.676 238.867 250.759 236.978 250.742C234.444 250.731 232.033 250.62 229.5 250.5Z" fill="#3158B7"/>
<path d="M242.696 250.824C252.14 250.748 261.584 250.723 271.029 250.75C276.017 250.759 281.121 250.989 286.095 250.724C296.126 250.796 306.188 250.976 316.217 250.777L382.02 250.742C380.258 252.242 379.572 253.4 379.015 255.621C375.623 257.067 372.349 258.186 368.836 259.31C366.357 260.996 362.191 264.345 361.869 267.495C361.803 268.145 361.893 268.578 362.175 269.155L362.288 269.421C358.345 270.649 354.9 273.636 351.221 275.536C348.264 277.064 345.072 278.136 342.142 279.684C340.991 280.35 339.912 280.649 338.622 280.946L338.374 280.965L337.631 281.175C336.996 280.978 336.122 280.707 335.64 280.22C335.013 279.586 332.112 273.818 330.826 272.131C327.237 267.42 322.458 264.909 316.638 264.129L316.192 264.037C314.993 265.535 316.083 270.149 315.579 272.213C315.076 269.916 316.559 267.352 315.272 265.334C314.562 264.951 314 264.949 313.234 265.15C310.643 265.828 308.244 267.144 305.601 267.663L305.359 267.78C304.526 268.174 303.726 268.445 302.836 268.679L302.422 268.516C302.97 267.994 303.581 267.707 304.249 267.371C303.346 267.089 302.592 267.405 301.795 267.828C300.798 268.358 299.724 269.109 298.638 269.418C296.45 270.04 293.748 268.782 292.771 271.723C291.539 275.429 292.836 276.598 289.342 279.245L289.264 279.106L289.746 279.665C289.922 279.642 290.098 279.617 290.274 279.596C290.788 279.534 291.072 279.562 291.552 279.784C283.761 280.886 276.08 271.943 269.481 268.727C269.532 267.685 269.414 267.036 268.848 266.155C266.793 262.951 261.551 259.21 258.011 257.869C256.773 257.4 255.382 257.17 254.087 256.899C250.725 256.497 247.482 255.358 244.173 254.665C241.651 254.137 239.029 253.962 236.466 253.728C236.969 252.907 236.631 251.749 236.978 250.742C238.867 250.759 240.816 250.676 242.696 250.824Z" fill="url(#paint0_linear_4222_6997)"/>
<path d="M236.978 250.742C238.867 250.759 240.816 250.676 242.696 250.824C242.881 250.874 243.066 250.928 243.252 250.974C245.298 251.479 247.92 251.212 250.051 251.224C248.443 251.53 247.073 251.291 245.943 252.702C245.85 253.55 245.913 253.633 246.31 254.399C248.336 255.702 252.778 255.161 254.087 256.899C250.725 256.497 247.482 255.358 244.173 254.665C241.651 254.137 239.029 253.962 236.466 253.728C236.969 252.907 236.631 251.749 236.978 250.742Z" fill="#15337C"/>
<path d="M315.839 263.948C315.537 262.501 315.708 261.013 315.229 259.629C314.46 258.966 313.976 259.049 312.984 258.933C313.102 258.884 313.213 258.814 313.338 258.787C315.769 258.246 325.519 258.983 328.801 258.983L357.499 259.017C359.803 259.006 366.156 258.505 368.097 258.96C368.485 259.051 368.546 259.119 368.836 259.31C366.357 260.996 362.191 264.345 361.869 267.495C361.803 268.145 361.893 268.578 362.175 269.155L362.288 269.421C358.345 270.649 354.9 273.636 351.221 275.536C348.264 277.064 345.072 278.136 342.142 279.684C340.991 280.35 339.912 280.649 338.622 280.946L338.374 280.965L337.631 281.175C336.996 280.978 336.122 280.707 335.64 280.22C335.013 279.586 332.112 273.818 330.826 272.131C327.237 267.42 322.458 264.909 316.638 264.129L316.192 264.037C314.993 265.535 316.083 270.149 315.579 272.213C315.076 269.916 316.559 267.352 315.272 265.334C314.562 264.951 314 264.949 313.234 265.15C310.643 265.828 308.244 267.144 305.601 267.663C307.941 265.704 312.848 264.583 315.839 263.948Z" fill="url(#paint1_linear_4222_6997)"/>
<path d="M334.406 268.36C340.718 267.927 347.148 267.514 353.456 268.191C355.699 268.431 360.368 269.793 362.175 269.155L362.288 269.421C358.345 270.649 354.9 273.636 351.221 275.536C348.264 277.064 345.072 278.136 342.142 279.684C340.991 280.35 339.912 280.649 338.622 280.946L338.374 280.965C338.013 279.917 337.843 278.75 337.605 277.665C336.155 274.684 336.233 271.392 334.406 268.36Z" fill="#4F91E0"/>
<path d="M337.605 277.665C338.101 277.244 338.105 277.263 338.759 277.253C340.026 277.925 341.077 278.732 342.142 279.684C340.991 280.35 339.912 280.649 338.622 280.946L338.374 280.965C338.013 279.917 337.843 278.75 337.605 277.665Z" fill="#5BBFFC"/>
<path d="M162.994 506.672C163.51 506.136 164.063 505.686 164.643 505.225C167.325 506.032 178.659 505.485 182.142 505.49L221.176 505.555C226.755 505.582 232.376 505.443 237.949 505.628C269.102 506.183 300.329 505.731 331.491 505.742L372.011 505.764C380.199 505.77 388.457 505.962 396.635 505.618C396.442 517.711 396.022 529.884 396.433 541.975C409.395 542.082 422.357 542.091 435.32 542.002C441.062 542.005 447.41 541.469 453.076 542.23C457.801 542.254 462.724 542.135 467.419 542.679C465.179 543.78 463.234 548.572 462.043 550.796V551.298L462.794 551.648C454.827 551.784 446.872 552.172 438.929 552.813C436.511 552.995 434.06 552.553 431.644 552.413C428.22 552.214 424.779 552.237 421.352 552.25C402.933 552.322 384.531 552.526 366.11 552.346L227.563 552.274C215.642 552.277 203.672 552.344 191.757 552.13C182.178 551.958 172.491 551.389 162.923 551.866C164.053 549.046 163.345 544.905 162.658 542.024C162.018 536.512 162.277 530.737 162.288 525.186C162.299 519.081 161.931 512.699 162.994 506.672Z" fill="#15337C"/>
<path d="M162.994 506.672C163.51 506.136 164.063 505.686 164.643 505.225C167.325 506.032 178.659 505.485 182.142 505.49L221.176 505.555C226.755 505.582 232.376 505.443 237.949 505.628C237.694 517.722 237.219 529.932 237.571 542.021L396.433 541.975C409.395 542.082 422.357 542.091 435.32 542.002C441.062 542.005 447.41 541.469 453.076 542.23C445.432 542.447 437.752 542.287 430.104 542.288L384.066 542.238L236.646 542.27L181.968 542.237C175.536 542.231 169.083 541.914 162.658 542.024C162.018 536.512 162.277 530.737 162.288 525.186C162.299 519.081 161.931 512.699 162.994 506.672Z" fill="#3158B7"/>
<path d="M237.949 505.628C269.102 506.183 300.329 505.731 331.491 505.742L372.011 505.764C380.199 505.77 388.457 505.962 396.635 505.618C396.442 517.711 396.022 529.884 396.433 541.975L237.571 542.021C237.219 529.932 237.694 517.722 237.949 505.628Z" fill="#3D7ECD"/>
<path d="M316.173 450.214L316.356 450.171C327.599 451.012 338.68 453.515 349.747 455.526C360.085 457.318 370.442 458.993 380.817 460.552C388.881 461.984 396.892 463.653 404.942 465.147C409.11 465.92 413.349 466.406 417.485 467.324C418.03 466.869 417.89 466.842 417.96 466.175C418.868 471.139 419.01 474.417 418.882 479.505C424.212 480.991 428.904 484.71 433.752 487.295L467.07 504.914C467.988 505.502 468.749 505.944 468.955 507.111C469.514 510.282 469.469 539.486 468.739 541.824C468.292 542.267 468.021 542.487 467.419 542.679C462.724 542.135 457.801 542.254 453.076 542.23C447.41 541.469 441.062 542.005 435.32 542.002C422.357 542.091 409.395 542.082 396.433 541.975C396.022 529.884 396.442 517.711 396.635 505.618C388.457 505.962 380.199 505.77 372.011 505.764L331.491 505.742C300.329 505.731 269.102 506.183 237.949 505.628C232.376 505.443 226.755 505.582 221.176 505.555L182.142 505.49C178.659 505.485 167.325 506.032 164.643 505.225C166.684 503.613 169.31 502.543 171.632 501.378C176.276 499.048 181.007 496.831 185.604 494.419C192.121 490.999 198.566 487.372 204.999 483.795C207.005 482.679 208.919 481.328 210.961 480.297C211.664 479.943 212.437 479.729 213.192 479.519C213.447 477.939 213.28 476.121 213.292 474.511C213.314 471.755 213.495 469.182 213.961 466.462C214.147 466.81 214.01 466.597 214.452 467.044C227.245 465.759 239.827 462.451 252.483 460.143C260.461 458.819 268.511 457.946 276.475 456.519L300.283 452.407C305.401 451.522 310.98 450.069 316.173 450.214Z" fill="#73E4FA"/>
<path d="M316.173 450.214L316.356 450.171C327.599 451.012 338.68 453.515 349.747 455.526C360.085 457.318 370.442 458.993 380.817 460.552C388.881 461.984 396.892 463.653 404.942 465.147C409.11 465.92 413.349 466.406 417.485 467.324C418.03 466.869 417.89 466.842 417.96 466.175C418.868 471.139 419.01 474.417 418.882 479.505C407.542 478.716 395.89 479.365 384.514 479.436C370.443 479.525 356.374 479.202 342.302 479.225L326.141 479.166C322.94 479.164 319.619 479.396 316.441 479.069C316.286 469.43 316.022 459.862 316.173 450.214Z" fill="#3D7ECD"/>
<path d="M467.07 504.914C467.988 505.502 468.749 505.944 468.955 507.111C469.514 510.282 469.469 539.486 468.739 541.824C468.292 542.267 468.021 542.487 467.419 542.679C462.724 542.135 457.801 542.254 453.076 542.23C447.41 541.469 441.062 542.005 435.32 542.002C422.357 542.091 409.395 542.082 396.433 541.975C396.022 529.884 396.442 517.711 396.635 505.618C399.774 505.933 403.063 505.785 406.221 505.786L422.299 505.784C435.31 505.785 448.476 506.228 461.464 505.68C463.339 505.6 465.314 505.634 467.07 504.914Z" fill="#5BBFFC"/>
<path d="M252.483 460.143C260.461 458.819 268.511 457.946 276.475 456.519L300.283 452.407C305.401 451.522 310.98 450.069 316.173 450.214C316.022 459.862 316.286 469.43 316.441 479.069C313.41 479.108 310.372 479.425 307.371 479.847C292.468 483.6 277.556 488.899 263.025 493.906C257.708 495.738 251.924 497.128 246.801 499.408C243.673 500.8 240.545 502.657 238.239 505.216L351.838 505.253L382.181 505.431C386.77 505.429 392.191 504.724 396.635 505.618C388.457 505.962 380.199 505.77 372.011 505.764L331.491 505.742C300.329 505.731 269.102 506.183 237.949 505.628C232.376 505.443 226.755 505.582 221.176 505.555L182.142 505.49C178.659 505.485 167.325 506.032 164.643 505.225C166.684 503.613 169.31 502.543 171.632 501.378C176.276 499.048 181.007 496.831 185.604 494.419C192.121 490.999 198.566 487.372 204.999 483.795C207.005 482.679 208.919 481.328 210.961 480.297C211.664 479.943 212.437 479.729 213.192 479.519C213.447 477.939 213.28 476.121 213.292 474.511C213.314 471.755 213.495 469.182 213.961 466.462C214.147 466.81 214.01 466.597 214.452 467.044C227.245 465.759 239.827 462.451 252.483 460.143Z" fill="url(#paint2_linear_4222_6997)"/>
<path d="M252.483 460.143C260.461 458.819 268.511 457.946 276.475 456.519L300.283 452.407C305.401 451.522 310.98 450.069 316.173 450.214C316.022 459.862 316.286 469.43 316.441 479.069C313.41 479.108 310.372 479.425 307.371 479.847C280.73 478.905 253.933 479.206 227.271 479.298C222.578 479.314 217.879 479.538 213.192 479.519C213.447 477.939 213.28 476.121 213.292 474.511C213.314 471.755 213.495 469.182 213.961 466.462C214.147 466.81 214.01 466.597 214.452 467.044C227.245 465.759 239.827 462.451 252.483 460.143Z" fill="#15337C"/>
<path d="M305.601 267.663C308.244 267.144 310.643 265.828 313.234 265.15C314 264.949 314.562 264.951 315.272 265.334C316.559 267.352 315.076 269.916 315.579 272.213C316.083 270.149 314.993 265.535 316.192 264.037L316.638 264.129C322.458 264.909 327.237 267.42 330.826 272.131C332.112 273.818 335.013 279.586 335.64 280.22C336.122 280.707 336.996 280.978 337.631 281.175L338.374 280.965L338.622 280.946C340.078 289.201 342.561 297.284 344.607 305.405C347.019 314.981 349.071 324.725 351.327 334.35L372.075 421.626C374.16 430.227 376.712 438.738 378.694 447.356C379.359 450.33 379.896 453.327 380.305 456.347C380.489 457.712 380.516 459.221 380.817 460.552C370.442 458.993 360.085 457.318 349.747 455.526C338.68 453.515 327.599 451.012 316.356 450.171L316.173 450.214C310.98 450.069 305.401 451.522 300.283 452.407L276.475 456.519C268.511 457.946 260.461 458.819 252.483 460.143C239.827 462.451 227.245 465.759 214.452 467.044C214.01 466.597 214.147 466.81 213.961 466.462C217.335 455.731 219.76 444.734 222.73 433.889L237.945 379.405L269.481 268.727C276.08 271.943 283.761 280.886 291.552 279.784C291.072 279.562 290.788 279.534 290.274 279.596C290.098 279.617 289.922 279.642 289.746 279.665L289.264 279.106L289.342 279.245C292.836 276.598 291.539 275.429 292.771 271.723C293.748 268.782 296.45 270.04 298.638 269.418C299.724 269.109 300.798 268.358 301.795 267.828C302.592 267.405 303.346 267.089 304.249 267.371C303.581 267.707 302.97 267.994 302.422 268.516L302.836 268.679C303.726 268.445 304.526 268.174 305.359 267.78L305.601 267.663Z" fill="#3D7ECD"/>
<path d="M213.961 466.462C217.335 455.731 219.76 444.734 222.73 433.889L237.945 379.405L269.481 268.727C276.08 271.943 283.761 280.886 291.552 279.784C294.318 279.786 297.526 280.103 300.239 279.671C302.32 279.34 293.35 281.165 295.5 281C292.765 282.129 294.815 282.321 291.94 282.461C291.8 282.468 291.66 282.481 291.519 282.489C291.435 282.494 291.35 282.496 291.266 282.5C290.329 287.67 289.473 292.882 288.349 298.015L265.21 399.097L256.243 437.602C255.364 441.302 250.844 457.078 251.4 459.744C251.766 459.902 252.097 460.037 252.483 460.143C239.827 462.451 227.245 465.759 214.452 467.044C214.01 466.597 214.147 466.81 213.961 466.462Z" fill="#3158B7"/>
<path d="M316.638 264.129C322.458 264.909 327.237 267.42 330.826 272.131C332.112 273.818 335.013 279.586 335.64 280.22C336.122 280.707 336.996 280.978 337.631 281.175L338.374 280.965L338.622 280.946C340.078 289.201 342.561 297.284 344.607 305.405C347.019 314.981 349.071 324.725 351.327 334.35L372.075 421.626C374.16 430.227 376.712 438.738 378.694 447.356C379.359 450.33 379.896 453.327 380.305 456.347C380.489 457.712 380.516 459.221 380.817 460.552C370.442 458.993 360.085 457.318 349.747 455.526C338.68 453.515 327.599 451.012 316.356 450.171L316.124 267.318C316.132 266.225 316.016 265.039 316.638 264.129Z" fill="#5BBFFC"/>
<path d="M162.602 542.012C222.681 542.667 282.903 542.133 343 542.146L421.144 542.172C436.934 542.179 452.86 542.406 468.631 542C468.259 556.284 468.631 576.5 466.168 585H164.5C162.602 574 162.11 556.297 162.602 542.012Z" fill="#2E57AB"/>
<path d="M263.193 261.724L235.532 253.517L232.5 252.5L229.5 250.5L402 250L377.5 261.724L364 275.5L339.134 284H289.345L269.731 271.69L263.193 261.724Z" fill="#2950B6"/>
<defs>
<linearGradient id="paint0_linear_4222_6997" x1="313.33" y1="251.065" x2="313.326" y2="279.202" gradientUnits="userSpaceOnUse">
<stop stop-color="#122869"/>
<stop offset="1" stop-color="#2950B6"/>
</linearGradient>
<linearGradient id="paint1_linear_4222_6997" x1="342.025" y1="256.698" x2="339.592" y2="280.614" gradientUnits="userSpaceOnUse">
<stop stop-color="#3052A7"/>
<stop offset="1" stop-color="#2671CE"/>
</linearGradient>
<linearGradient id="paint2_linear_4222_6997" x1="233.914" y1="479.018" x2="235.081" y2="504.885" gradientUnits="userSpaceOnUse">
<stop stop-color="#486DC9"/>
<stop offset="1" stop-color="#599BEA"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 29 KiB

-54
View File
@@ -1,54 +0,0 @@
import { useEffect } from "react";
import { useSelector } from "react-redux";
import { useDispatch } from "react-redux";
import "react-toastify/dist/ReactToastify.css";
import { ToastContainer } from "react-toastify";
import { ThemeProvider } from "@emotion/react";
import lightTheme from "./Utils/Theme/lightTheme";
import darkTheme from "./Utils/Theme/darkTheme";
import { CssBaseline, GlobalStyles } from "@mui/material";
import { getAppSettings } from "./Features/Settings/settingsSlice";
import { logger } from "./Utils/Logger"; // Import the logger
import { networkService } from "./main";
import { Routes } from "./Routes";
function App() {
const mode = useSelector((state) => state.ui.mode);
const { authToken } = useSelector((state) => state.auth);
const dispatch = useDispatch();
useEffect(() => {
if (authToken) {
dispatch(getAppSettings({ authToken }));
}
}, [dispatch, authToken]);
// Cleanup
useEffect(() => {
return () => {
logger.cleanup();
networkService.cleanup();
};
}, []);
return (
/* Extract Themeprovider, baseline and global styles to Styles */
<ThemeProvider theme={mode === "light" ? lightTheme : darkTheme}>
<CssBaseline />
<GlobalStyles
styles={({ palette }) => {
return {
body: {
backgroundImage: `radial-gradient(circle, ${palette.gradient.color1}, ${palette.gradient.color2}, ${palette.gradient.color3}, ${palette.gradient.color4}, ${palette.gradient.color5})`,
color: palette.primary.contrastText,
},
};
}}
/>
<Routes />
<ToastContainer />
</ThemeProvider>
);
}
export default App;
-9
View File
@@ -1,9 +0,0 @@
.alert {
margin: 0;
width: fit-content;
}
.alert,
.alert button,
.alert .MuiTypography-root {
font-size: var(--env-var-font-size-medium);
}
-127
View File
@@ -1,127 +0,0 @@
import PropTypes from "prop-types";
import { useTheme } from "@emotion/react";
import { Box, Button, IconButton, Stack, Typography } from "@mui/material";
import InfoOutlinedIcon from "@mui/icons-material/InfoOutlined";
import ErrorOutlineOutlinedIcon from "@mui/icons-material/ErrorOutlineOutlined";
import WarningAmberOutlinedIcon from "@mui/icons-material/WarningAmberOutlined";
import CloseIcon from "@mui/icons-material/Close";
import "./index.css";
/**
* Icons mapping for different alert variants.
* @type {Object<string, JSX.Element>}
*/
const icons = {
info: <InfoOutlinedIcon />,
error: <ErrorOutlineOutlinedIcon />,
warning: <WarningAmberOutlinedIcon />,
};
/**
* @param {Object} props
* @param {'info' | 'error' | 'warning'} props.variant - The type of alert.
* @param {string} [props.title] - The title of the alert.
* @param {string} [props.body] - The body text of the alert.
* @param {boolean} [props.isToast] - Indicates if the alert is used as a toast notification.
* @param {boolean} [props.hasIcon] - Whether to display an icon in the alert.
* @param {function} props.onClick - Toast dismiss function.
* @returns {JSX.Element}
*/
const Alert = ({ variant, title, body, isToast, hasIcon = true, onClick }) => {
const theme = useTheme();
/* TODO
Do we need other variants for alert?
*/
const text = theme.palette.secondary.contrastText;
const bg = theme.palette.secondary.main;
const border = theme.palette.secondary.contrastText;
const icon = icons[variant];
return (
<Stack
direction="row"
justifyContent="flex-start"
alignItems={hasIcon ? "" : "center"}
className="alert row-stack"
gap={theme.spacing(8)}
sx={{
padding: hasIcon ? theme.spacing(8) : `${theme.spacing(4)} ${theme.spacing(8)}`,
backgroundColor: bg,
border: `solid 1px ${border}`,
borderRadius: theme.shape.borderRadius,
}}
>
{hasIcon && <Box sx={{ color: text }}>{icon}</Box>}
<Stack
direction="column"
gap="2px"
sx={{ flex: 1 }}
>
{title && (
<Typography sx={{ fontWeight: "700", color: `${text}` }}>{title}</Typography>
)}
{body && (
<Typography sx={{ fontWeight: "400", color: `${text}` }}>{body}</Typography>
)}
{hasIcon && isToast && (
<Button
variant="text"
color="info"
onClick={onClick}
sx={{
fontWeight: "600",
width: "fit-content",
mt: theme.spacing(4),
padding: 0,
minWidth: 0,
}}
>
Dismiss
</Button>
)}
</Stack>
{isToast && (
<IconButton
onClick={onClick}
sx={{
alignSelf: "flex-start",
ml: "auto",
mr: "-5px",
mt: hasIcon ? "-5px" : 0,
padding: "5px",
"&:focus": {
outline: "none",
},
}}
>
<CloseIcon
sx={{
fontSize: "20px",
}}
/>
</IconButton>
)}
</Stack>
);
};
Alert.propTypes = {
variant: PropTypes.oneOf(["info", "error", "warning"]).isRequired,
title: PropTypes.string,
body: PropTypes.string,
isToast: PropTypes.bool,
hasIcon: PropTypes.bool,
onClick: function (props, propName, componentName) {
if (props.isToast && !props[propName]) {
return new Error(
`Prop '${propName}' is required when 'isToast' is true in '${componentName}'.`
);
}
return null;
},
};
export default Alert;
@@ -1,68 +0,0 @@
import PropTypes from "prop-types";
import { Box, Stack, useTheme } from "@mui/material";
// import useUtils from "../../Pages/Uptime/utils";
/**
* A component that renders a pulsating dot with a specified color.
*
* @component
* @example
* // Example usage:
* <PulseDot color="#f00" />
*
* @param {Object} props
* @param {string} props.color - The color of the dot.
* @returns {JSX.Element} The PulseDot component.
*/
const PulseDot = ({ color }) => {
const theme = useTheme();
// const { statusToTheme } = useUtils();
/* TODO refactor so it gets status and gets theme color. Then uses theme.palette.[themeColor].lowContrast */
/* const themeColor = statusToTheme[status]; */
return (
<Stack
width="26px"
height="24px"
alignItems="center"
justifyContent="center"
>
<Box
minWidth="18px"
minHeight="18px"
sx={{
position: "relative",
backgroundColor: color,
borderRadius: "50%",
"&::before": {
content: `""`,
position: "absolute",
width: "100%",
height: "100%",
backgroundColor: "inherit",
borderRadius: "50%",
animation: "ripple 1.8s ease-out infinite",
},
"&::after": {
content: `""`,
position: "absolute",
width: "7px",
height: "7px",
borderRadius: "50%",
backgroundColor: theme.palette.accent.contrastText,
top: "50%",
left: "50%",
transform: "translate(-50%, -50%)",
},
}}
/>
</Stack>
);
};
PulseDot.propTypes = {
color: PropTypes.string.isRequired,
};
export default PulseDot;
-71
View File
@@ -1,71 +0,0 @@
import { Avatar as MuiAvatar } from "@mui/material";
import PropTypes from "prop-types";
import { useSelector } from "react-redux";
import { useEffect, useState } from "react";
import { useTheme } from "@emotion/react";
/**
* @component
* @param {Object} props
* @param {string} props.src - Path to image for avatar
* @param {boolean} props.small - Specifies if avatar should be large
* @param {Object} [props.sx] - Additional styles to apply to the button.
* @returns {JSX.Element}
* @example
* // Render a red label
* <Avatar src="assets/img" first="Alex" last="Holliday" small />
*/
const Avatar = ({ src, small, sx }) => {
const { user } = useSelector((state) => state.auth);
const theme = useTheme();
const style = small ? { width: 32, height: 32 } : { width: 64, height: 64 };
const border = small ? 1 : 3;
const [image, setImage] = useState();
useEffect(() => {
if (user.avatarImage) {
setImage(`data:image/png;base64,${user.avatarImage}`);
}
}, [user?.avatarImage]);
return (
<MuiAvatar
alt={`${user?.firstName} ${user?.lastName}`}
/* TODO What is the /static/images/avatar/2.jpg ?*/
src={src ? src : user?.avatarImage ? image : "/static/images/avatar/2.jpg"}
sx={{
fontSize: small ? "16px" : "22px",
fontWeight: 400,
color: theme.palette.accent.contrastText,
backgroundColor: theme.palette.accent.main, // Same BG color as checkmate BG in sidebar
display: "inline-flex",
/*
TODO not sure what this is for*/
"&::before": {
content: `""`,
position: "absolute",
top: 0,
left: 0,
width: `100%`,
height: `100%`,
border: `${border}px solid rgba(255,255,255,0.2)`,
borderRadius: "50%",
},
...style,
...sx,
}}
>
{user.firstName?.charAt(0)}
{user.lastName?.charAt(0) || ""}
</MuiAvatar>
);
};
Avatar.propTypes = {
src: PropTypes.string,
small: PropTypes.bool,
sx: PropTypes.object,
};
export default Avatar;
-360
View File
@@ -1,360 +0,0 @@
/* TODO
Should we delete this?
*/
import PropTypes from "prop-types";
import { useState, useEffect } from "react";
import { useTheme } from "@emotion/react";
import {
TableContainer,
Paper,
Table,
TableHead,
TableRow,
TableCell,
TableBody,
TablePagination,
Box,
Typography,
Stack,
Button,
} from "@mui/material";
import { useDispatch, useSelector } from "react-redux";
import { setRowsPerPage } from "../../Features/UI/uiSlice";
import LeftArrowDouble from "../../assets/icons/left-arrow-double.svg?react";
import RightArrowDouble from "../../assets/icons/right-arrow-double.svg?react";
import LeftArrow from "../../assets/icons/left-arrow.svg?react";
import RightArrow from "../../assets/icons/right-arrow.svg?react";
import SelectorVertical from "../../assets/icons/selector-vertical.svg?react";
import "./index.css";
/**
* Component for pagination actions (first, previous, next, last).
*
* @component
* @param {Object} props
* @param {number} props.count - Total number of items.
* @param {number} props.page - Current page number.
* @param {number} props.rowsPerPage - Number of rows per page.
* @param {function} props.onPageChange - Callback function to handle page change.
*
* @returns {JSX.Element} Pagination actions component.
*/
const TablePaginationActions = (props) => {
const { count, page, rowsPerPage, onPageChange } = props;
const handleFirstPageButtonClick = (event) => {
onPageChange(event, 0);
};
const handleBackButtonClick = (event) => {
onPageChange(event, page - 1);
};
const handleNextButtonClick = (event) => {
onPageChange(event, page + 1);
};
const handleLastPageButtonClick = (event) => {
onPageChange(event, Math.max(0, Math.ceil(count / rowsPerPage) - 1));
};
return (
<Box sx={{ flexShrink: 0, ml: "24px" }}>
<Button
variant="group"
onClick={handleFirstPageButtonClick}
disabled={page === 0}
aria-label="first page"
>
<LeftArrowDouble />
</Button>
<Button
variant="group"
onClick={handleBackButtonClick}
disabled={page === 0}
aria-label="previous page"
>
<LeftArrow />
</Button>
<Button
variant="group"
onClick={handleNextButtonClick}
disabled={page >= Math.ceil(count / rowsPerPage) - 1}
aria-label="next page"
>
<RightArrow />
</Button>
<Button
variant="group"
onClick={handleLastPageButtonClick}
disabled={page >= Math.ceil(count / rowsPerPage) - 1}
aria-label="last page"
>
<RightArrowDouble />
</Button>
</Box>
);
};
TablePaginationActions.propTypes = {
count: PropTypes.number.isRequired,
page: PropTypes.number.isRequired,
rowsPerPage: PropTypes.number.isRequired,
onPageChange: PropTypes.func.isRequired,
};
/**
* BasicTable Component
* Renders a table with optional pagination.
*
* @component
* @param {Object} props - Component props.
* @param {Object} props.data - Data for the table including columns and rows.
* @param {Array} props.data.cols - Array of objects for column headers.
* @param {number} props.data.cols[].id - Unique identifier for the column.
* @param {string} props.data.cols[].name - Name of the column to display as header.
* @param {Array} props.data.rows - Array of row objects.
* @param {number} props.data.rows[].id - Unique identifier for the row.
* @param {Array} props.data.rows[].data - Array of cell data objects for the row.
* @param {number} props.data.rows[].data[].id - Unique identifier for the cell.
* @param {JSX.Element} props.data.rows[].data[].data - The content to display in the cell.
* @param {function} props.data.rows.data.handleClick - Function to call when the row is clicked.
* @param {boolean} [props.paginated=false] - Flag to enable pagination.
* @param {boolean} [props.reversed=false] - Flag to enable reverse order.
* @param {number} props.rowsPerPage- Number of rows per page (table).
* @param {string} props.emptyMessage - Message to display when there is no data.
* @example
* const data = {
* cols: [
* { id: 1, name: "First Col" },
* { id: 2, name: "Second Col" },
* { id: 3, name: "Third Col" },
* { id: 4, name: "Fourth Col" },
* ],
* rows: [
* {
* id: 1,
* data: [
* { id: 1, data: <div>Data for Row 1 Col 1</div> },
* { id: 2, data: <div>Data for Row 1 Col 2</div> },
* { id: 3, data: <div>Data for Row 1 Col 3</div> },
* { id: 4, data: <div>Data for Row 1 Col 4</div> },
* ],
* },
* {
* id: 2,
* data: [
* { id: 5, data: <div>Data for Row 2 Col 1</div> },
* { id: 6, data: <div>Data for Row 2 Col 2</div> },
* { id: 7, data: <div>Data for Row 2 Col 3</div> },
* { id: 8, data: <div>Data for Row 2 Col 4</div> },
* ],
* },
* ],
* };
*
* <BasicTable data={data} rows={rows} paginated={true} />
*/
const BasicTable = ({ data, paginated, reversed, table, emptyMessage = "No data" }) => {
const DEFAULT_ROWS_PER_PAGE = 5;
const theme = useTheme();
const dispatch = useDispatch();
const uiState = useSelector((state) => state.ui);
let rowsPerPage = uiState?.[table]?.rowsPerPage ?? DEFAULT_ROWS_PER_PAGE;
const [page, setPage] = useState(0);
useEffect(() => {
setPage(0);
}, [data]);
const handleChangePage = (event, newPage) => {
setPage(newPage);
};
const handleChangeRowsPerPage = (event) => {
dispatch(
setRowsPerPage({
value: parseInt(event.target.value, 10),
table: table,
})
);
setPage(0);
};
let displayData = [];
if (data && data.rows) {
let rows = reversed ? [...data.rows].reverse() : data.rows;
displayData = paginated
? rows.slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)
: rows;
}
if (!data || !data.cols || !data.rows) {
return <div>No data</div>;
}
/**
* Helper function to calculate the range of displayed rows.
* @returns {string}
*/
const getRange = () => {
let start = page * rowsPerPage + 1;
let end = Math.min(page * rowsPerPage + rowsPerPage, data.rows.length);
return `${start} - ${end}`;
};
return (
<>
<TableContainer component={Paper}>
<Table
sx={{
"&.MuiTable-root :is(.MuiTableHead-root, .MuiTableBody-root) :is(th, td)": {
paddingLeft: theme.spacing(12),
},
"& th": {
backgroundColor: theme.palette.secondary.main,
color: theme.palette.secondary.contrastText,
/*
TODO all general styling for th should live here
*/
},
"& td": {
backgroundColor: theme.palette.primary.main,
color: theme.palette.primary.contrastTextSecondary,
/*
TODO all general styling for td should live here
*/
},
}}
>
<TableHead>
<TableRow>
{data.cols.map((col) => (
<TableCell key={col.id}>{col.name}</TableCell>
))}
</TableRow>
</TableHead>
<TableBody>
{displayData.map((row) => {
return (
<TableRow
sx={{
cursor: row.handleClick ? "pointer" : "default",
"&:hover": {
filter: "brightness(.75)",
opacity: 0.75,
transition: "filter 0.3s ease, opacity 0.3s ease",
},
}}
key={row.id}
onClick={row.handleClick ? row.handleClick : null}
>
{row.data.map((cell) => {
return <TableCell key={cell.id}>{cell.data}</TableCell>;
})}
</TableRow>
);
})}
{displayData.length === 0 && (
<TableRow>
<TableCell
sx={{ textAlign: "center" }}
colSpan={data.cols.length}
>
{emptyMessage}
</TableCell>
</TableRow>
)}
</TableBody>
</Table>
</TableContainer>
{paginated && (
<Stack
direction="row"
alignItems="center"
justifyContent="space-between"
px={theme.spacing(4)}
sx={{
"& p": {
color: theme.palette.primary.contrastTextTertiary,
},
}}
>
<Typography
px={theme.spacing(2)}
fontSize={12}
sx={{ opacity: 0.7 }}
>
Showing {getRange()} of {data.rows.length} monitor(s)
</Typography>
<TablePagination
component="div"
count={data.rows.length}
page={page}
onPageChange={handleChangePage}
rowsPerPage={rowsPerPage}
rowsPerPageOptions={[5, 10, 15, 25]}
onRowsPerPageChange={handleChangeRowsPerPage}
ActionsComponent={TablePaginationActions}
labelRowsPerPage="Rows per page"
labelDisplayedRows={({ page, count }) =>
`Page ${page + 1} of ${Math.max(0, Math.ceil(count / rowsPerPage))}`
}
slotProps={{
select: {
MenuProps: {
keepMounted: true,
PaperProps: {
className: "pagination-dropdown",
sx: {
mt: 0,
mb: theme.spacing(2),
},
},
transformOrigin: { vertical: "bottom", horizontal: "left" },
anchorOrigin: { vertical: "top", horizontal: "left" },
sx: { mt: theme.spacing(-2) },
},
inputProps: { id: "pagination-dropdown" },
IconComponent: SelectorVertical,
sx: {
ml: theme.spacing(4),
mr: theme.spacing(12),
minWidth: theme.spacing(20),
textAlign: "left",
"&.Mui-focused > div": {
backgroundColor: theme.palette.primary.main,
},
},
},
}}
sx={{
mt: theme.spacing(6),
color: theme.palette.primary.contrastTextSecondary,
"& svg path": {
stroke: theme.palette.primary.contrastTextTertiary,
strokeWidth: 1.3,
},
"& .MuiSelect-select": {
border: 1,
borderColor: theme.palette.primary.lowContrast,
borderRadius: theme.shape.borderRadius,
},
}}
/>
</Stack>
)}
</>
);
};
BasicTable.propTypes = {
data: PropTypes.object.isRequired,
paginated: PropTypes.bool,
reversed: PropTypes.bool,
rowPerPage: PropTypes.number,
table: PropTypes.string,
emptyMessage: PropTypes.string,
};
export default BasicTable;
@@ -1,22 +0,0 @@
.MuiBreadcrumbs-root {
min-height: 34px;
}
.MuiBreadcrumbs-root svg {
width: 16px;
min-height: 16px;
}
.MuiBreadcrumbs-root .MuiBreadcrumbs-li a {
font-size: var(--env-var-font-size-medium);
font-weight: 400;
}
.MuiBreadcrumbs-root .MuiBreadcrumbs-li:not(:last-child) {
cursor: pointer;
}
.MuiBreadcrumbs-root .MuiBreadcrumbs-li:last-child a {
font-weight: 500;
opacity: 1;
cursor: default;
}
.MuiBreadcrumbs-root .MuiBreadcrumbs-separator {
margin: 0;
}
@@ -1,79 +0,0 @@
import PropTypes from "prop-types";
import { Box, Breadcrumbs as MUIBreadcrumbs } from "@mui/material";
import { useTheme } from "@emotion/react";
import { useNavigate } from "react-router";
import ArrowRight from "../../assets/icons/right-arrow.svg?react";
import "./index.css";
/**
* Breadcrumbs component that displays a list of breadcrumb items.
*
* @param {Object} props
* @param {Array} props.list - Array of breadcrumb items. Each item should have `name` and `path` properties.
* @param {string} props.list.name - The name to display for the breadcrumb.
* @param {string} props.list.path - The path to navigate to when the breadcrumb is clicked.
*
* @returns {JSX.Element} The rendered Breadcrumbs component.
*/
const Breadcrumbs = ({ list }) => {
const theme = useTheme();
const navigate = useNavigate();
return (
<MUIBreadcrumbs
separator={<ArrowRight />}
aria-label="breadcrumb"
px={theme.spacing(2)}
py={theme.spacing(3.5)}
width="fit-content"
backgroundColor={theme.palette.secondary.main}
borderRadius={theme.shape.borderRadius}
lineHeight="18px"
sx={{
"& .MuiBreadcrumbs-li a": {
transition: "background-color 0.2s ease-in-out, color 0.2s ease-in-out",
},
"& .MuiBreadcrumbs-li:not(:last-of-type):hover a": {
backgroundColor: theme.palette.secondary.contrastText,
color: theme.palette.secondary.main,
},
}}
>
{list.map((item, index) => {
return (
<Box
component="a"
key={`${item.name}-${index}`}
px={theme.spacing(4)}
pt={theme.spacing(2)}
pb={theme.spacing(3)}
borderRadius={theme.shape.borderRadius}
onClick={() => navigate(item.path)}
sx={{
opacity: 0.8,
textTransform: "capitalize",
"&, &:hover": {
color: theme.palette.secondary.contrastText,
},
}}
>
{item.name}
</Box>
);
})}
</MUIBreadcrumbs>
);
};
Breadcrumbs.propTypes = {
list: PropTypes.arrayOf(
PropTypes.shape({
name: PropTypes.string.isRequired,
path: PropTypes.string.isRequired,
}).isRequired
).isRequired,
};
export default Breadcrumbs;
@@ -1,214 +0,0 @@
/**
* CustomAreaChart component for rendering an area chart with optional gradient and custom ticks.
*
* @param {Object} props - The properties object.
* @param {Array} props.data - The data array for the chart.
* @param {Array} props.dataKeys - An array of data keys to be plotted as separate areas.
* @param {string} props.xKey - The key for the x-axis data.
* @param {string} [props.yKey] - The key for the y-axis data (optional).
* @param {Object} [props.xTick] - Custom tick component for the x-axis.
* @param {Object} [props.yTick] - Custom tick component for the y-axis.
* @param {string} [props.strokeColor] - The base stroke color for the areas.
* If not provided, uses a predefined color palette.
* @param {string} [props.fillColor] - The base fill color for the areas.
* @param {boolean} [props.gradient=false] - Whether to apply a gradient fill to the areas.
* @param {string} [props.gradientDirection="vertical"] - The direction of the gradient.
* @param {string} [props.gradientStartColor] - The start color of the gradient.
* Defaults to the area's stroke color if not provided.
* @param {string} [props.gradientEndColor] - The end color of the gradient.
* @param {Object} [props.customTooltip] - Custom tooltip component for the chart.
* @param {string|number} [props.height="100%"] - Height of the chart container.
*
* @returns {JSX.Element} The rendered area chart component.
*
* @example
* // Single series chart
* <CustomAreaChart
* data={temperatureData}
* dataKeys={["temperature"]}
* xKey="date"
* yKey="temperature"
* gradient={true}
* gradientStartColor="#ff6b6b"
* gradientEndColor="#4ecdc4"
* />
*
* @example
* // Multi-series chart with custom tooltip
* <CustomAreaChart
* data={performanceData}
* dataKeys={["cpu.usage", "memory.usage"]}
* xKey="timestamp"
* xTick={<CustomTimeTick />}
* yTick={<PercentageTick />}
* gradient={true}
* customTooltip={({ active, payload, label }) => (
* <CustomTooltip
* label={label}
* payload={payload}
* active={active}
* />
* )}
* />
*/
import {
AreaChart,
Area,
XAxis,
YAxis,
CartesianGrid,
Tooltip,
ResponsiveContainer,
} from "recharts";
import { createGradient } from "../Utils/gradientUtils";
import PropTypes from "prop-types";
import { useTheme } from "@mui/material";
import { useId } from "react";
import { Fragment } from "react";
const CustomAreaChart = ({
data,
dataKeys,
xKey,
xDomain,
yKey,
yDomain,
xTick,
yTick,
strokeColor,
fillColor,
gradient = false,
gradientDirection = "vertical",
gradientStartColor,
gradientEndColor,
customTooltip,
height = "100%",
}) => {
const theme = useTheme();
const uniqueId = useId();
const AREA_COLORS = [
// Blues
"#3182bd", // Deep blue
"#6baed6", // Medium blue
"#9ecae1", // Light blue
// Greens
"#74c476", // Soft green
"#a1d99b", // Light green
"#c7e9c0", // Pale green
// Oranges
"#fdae6b", // Warm orange
"#fdd0a2", // Light orange
"#feedde", // Pale orange
// Purples
"#9467bd", // Lavender
"#a55194", // Deep magenta
"#c994c7", // Soft magenta
// Reds
"#ff9896", // Soft red
"#de2d26", // Deep red
"#fc9272", // Medium red
// Cyans/Teals
"#17becf", // Cyan
"#7fcdbb", // Teal
"#a1dab4", // Light teal
// Yellows
"#fec44f", // Mustard
"#fee391", // Light yellow
"#ffffd4", // Pale yellow
// Additional colors
"#e377c2", // Soft pink
"#bcbd22", // Olive
"#2ca02c", // Vibrant green
];
return (
<ResponsiveContainer
width="100%"
height={height}
// FE team HELP! Why does this overflow if set to 100%?
>
<AreaChart data={data}>
<XAxis
dataKey={xKey}
{...(xDomain && { domain: xDomain })}
{...(xTick && { tick: xTick })}
/>
<YAxis
dataKey={yKey}
{...(yDomain && { domain: yDomain })}
{...(yTick && { tick: yTick })}
/>
<CartesianGrid
stroke={theme.palette.primary.lowContrast}
strokeWidth={1}
strokeOpacity={1}
fill="transparent"
vertical={false}
/>
{dataKeys.map((dataKey, index) => {
const gradientId = `gradient-${uniqueId}-${index}`;
return (
<Fragment key={dataKey}>
{gradient === true &&
createGradient({
id: gradientId,
startColor: gradientStartColor || AREA_COLORS[index],
endColor: gradientEndColor,
direction: gradientDirection,
})}
<Area
yKey={dataKey}
key={dataKey}
type="monotone"
dataKey={dataKey}
stroke={strokeColor || AREA_COLORS[index]}
fill={gradient === true ? `url(#${gradientId})` : fillColor}
/>
</Fragment>
);
})}
{customTooltip ? (
<Tooltip
cursor={{ stroke: theme.palette.primary.lowContrast }}
content={customTooltip}
wrapperStyle={{ pointerEvents: "none" }}
/>
) : (
<Tooltip />
)}
</AreaChart>
</ResponsiveContainer>
);
};
CustomAreaChart.propTypes = {
data: PropTypes.array.isRequired,
dataKeys: PropTypes.array.isRequired,
xTick: PropTypes.object, // Recharts takes an instance of component, so we can't pass the component itself
yTick: PropTypes.object, // Recharts takes an instance of component, so we can't pass the component itself
xKey: PropTypes.string.isRequired,
xDomain: PropTypes.array,
yKey: PropTypes.string,
yDomain: PropTypes.array,
fillColor: PropTypes.string,
strokeColor: PropTypes.string,
gradient: PropTypes.bool,
gradientDirection: PropTypes.string,
gradientStartColor: PropTypes.string,
gradientEndColor: PropTypes.string,
customTooltip: PropTypes.object,
height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
export default CustomAreaChart;
Whitespace-only changes.
@@ -1,181 +0,0 @@
import { useTheme } from "@emotion/react";
import { Box, Stack, Tooltip, Typography } from "@mui/material";
import { formatDateWithTz } from "../../../Utils/timeUtils";
import { useEffect, useState } from "react";
import "./index.css";
import { useSelector } from "react-redux";
/* TODO add prop validation and jsdocs */
const BarChart = ({ checks = [] }) => {
const theme = useTheme();
const [animate, setAnimate] = useState(false);
const uiTimezone = useSelector((state) => state.ui.timezone);
useEffect(() => {
setAnimate(true);
});
// set responseTime to average if there's only one check
if (checks.length === 1) {
checks[0] = { ...checks[0], responseTime: 50 };
}
if (checks.length !== 25) {
const placeholders = Array(25 - checks.length).fill("placeholder");
checks = [...checks, ...placeholders];
}
return (
<Stack
direction="row"
flexWrap="nowrap"
gap={theme.spacing(1.5)}
height="50px"
width="fit-content"
onClick={(event) => event.stopPropagation()}
sx={{
cursor: "default",
}}
>
{checks.map((check, index) =>
check === "placeholder" ? (
/* TODO what is the purpose of this box? */
// CAIO_REVIEW the purpose of this box is to make sure there are always at least 25 bars
// even if there are less than 25 checks
<Box
key={`${check}-${index}`}
position="relative"
width={theme.spacing(4.5)}
height="100%"
backgroundColor={theme.palette.primary.lowContrast}
sx={{
borderRadius: theme.spacing(1.5),
}}
/>
) : (
<Tooltip
title={
<>
<Typography>
{formatDateWithTz(
check.createdAt,
"ddd, MMMM D, YYYY, HH:mm A",
uiTimezone
)}
</Typography>
<Box mt={theme.spacing(2)}>
<Box
display="inline-block"
width={theme.spacing(4)}
height={theme.spacing(4)}
backgroundColor={
check.status
? theme.palette.success.lowContrast
: theme.palette.error.lowContrast
}
sx={{ borderRadius: "50%" }}
/>
<Stack
display="inline-flex"
direction="row"
justifyContent="space-between"
ml={theme.spacing(2)}
gap={theme.spacing(12)}
>
<Typography
component="span"
sx={{ opacity: 0.8 }}
>
Response Time
</Typography>
<Typography component="span">
{check.originalResponseTime}
<Typography
component="span"
sx={{ opacity: 0.8 }}
>
{" "}
ms
</Typography>
</Typography>
</Stack>
</Box>
</>
}
placement="top"
key={`check-${check?._id}`}
slotProps={{
popper: {
className: "bar-tooltip",
modifiers: [
{
name: "offset",
options: {
offset: [0, -10],
},
},
],
sx: {
"& .MuiTooltip-tooltip": {
backgroundColor: theme.palette.secondary.main,
border: 1,
borderColor: theme.palette.primary.lowContrast,
borderRadius: theme.shape.borderRadius,
boxShadow: theme.shape.boxShadow,
px: theme.spacing(4),
py: theme.spacing(3),
},
"& .MuiTooltip-tooltip p": {
/* TODO Font size should point to theme */
fontSize: 12,
color: theme.palette.secondary.contrastText,
fontWeight: 500,
},
"& .MuiTooltip-tooltip span": {
/* TODO Font size should point to theme */
fontSize: 11,
color: theme.palette.secondary.contrastText,
fontWeight: 600,
},
},
},
}}
>
<Box
position="relative"
width="9px"
height="100%"
backgroundColor={theme.palette.primary.lowContrast} // CAIO_REVIEW
sx={{
borderRadius: theme.spacing(1.5),
/*
TODO this doesn't seem to be used
"&:hover > .MuiBox-root": {
filter: "brightness(0.8)",
}, */
}}
>
<Box
position="absolute"
bottom={0}
width="100%"
height={`${animate ? check.responseTime : 0}%`}
backgroundColor={
check.status
? theme.palette.success.lowContrast
: theme.palette.error.lowContrast
}
sx={{
borderRadius: theme.spacing(1.5),
transition: "height 600ms cubic-bezier(0.4, 0, 0.2, 1)",
}}
/>
</Box>
</Tooltip>
)
)}
</Stack>
);
};
export default BarChart;
@@ -1,14 +0,0 @@
.radial-chart {
position: relative;
display: inline-block;
}
.radial-chart-base {
opacity: 0.3;
}
.radial-chart-progress {
transform: rotate(-90deg);
transform-origin: center;
transition: stroke-dashoffset 1.5s ease-in-out;
}
@@ -1,118 +0,0 @@
import { useTheme } from "@emotion/react";
import { useEffect, useState, useMemo } from "react";
import { Box, Typography } from "@mui/material";
import PropTypes from "prop-types";
import "./index.css";
const MINIMUM_VALUE = 0;
const MAXIMUM_VALUE = 100;
/**
* A Performant SVG based circular gauge
*
* @component
* @param {Object} props - Component properties
* @param {number} [props.progress=0] - Progress percentage (0-100)
* @param {number} [props.radius=60] - Radius of the gauge circle
* @param {number} [props.strokeWidth=15] - Width of the gauge stroke
* @param {number} [props.threshold=50] - Threshold for color change
*
* @example
* <CustomGauge
* progress={75}
* radius={50}
* strokeWidth={10}
* threshold={50}
* />
*
* @returns {React.ReactElement} Rendered CustomGauge component
*/
const CustomGauge = ({ progress = 0, radius = 70, strokeWidth = 15, threshold = 50 }) => {
const theme = useTheme();
// Calculate the length of the stroke for the circle
const { circumference, totalSize, strokeLength } = useMemo(
() => ({
circumference: 2 * Math.PI * radius,
totalSize: radius * 2 + strokeWidth * 2,
strokeLength: (progress / 100) * (2 * Math.PI * radius),
}),
[radius, strokeWidth, progress]
);
// Handle initial animation
const [offset, setOffset] = useState(circumference);
useEffect(() => {
setOffset(circumference);
const timer = setTimeout(() => {
setOffset(circumference - strokeLength);
}, 100);
return () => clearTimeout(timer);
}, [progress, circumference, strokeLength]);
const progressWithinRange = Math.max(MINIMUM_VALUE, Math.min(progress, MAXIMUM_VALUE));
const fillColor =
progressWithinRange > threshold
? theme.palette.error.lowContrast // CAIO_REVIEW
: theme.palette.accent.main; // CAIO_REVIEW
return (
<Box
className="radial-chart"
width={radius}
height={radius}
>
<svg
viewBox={`0 0 ${totalSize} ${totalSize}`}
width={radius}
height={radius}
>
<circle
className="radial-chart-base"
stroke={theme.palette.primary.lowContrast} // CAIO_REVIEW
strokeWidth={strokeWidth}
fill="none"
cx={totalSize / 2} // Center the circle
cy={totalSize / 2} // Center the circle
r={radius}
/>
<circle
className="radial-chart-progress"
stroke={fillColor}
strokeWidth={strokeWidth}
strokeDasharray={`${circumference} ${circumference}`}
strokeDashoffset={offset}
strokeLinecap="round"
fill="none"
cx={totalSize / 2}
cy={totalSize / 2}
r={radius}
/>
</svg>
<Typography
className="radial-chart-text"
style={{
position: "absolute",
top: "50%",
left: "50%",
transform: "translate(-50%, -50%)",
...theme.typography.body2,
fill: theme.typography.body2.color,
}}
>
{`${progressWithinRange.toFixed(1)}%`}
</Typography>
</Box>
);
};
export default CustomGauge;
CustomGauge.propTypes = {
progress: PropTypes.number,
radius: PropTypes.number,
strokeWidth: PropTypes.number,
threshold: PropTypes.number,
};
Whitespace-only changes.
@@ -1,219 +0,0 @@
import PropTypes from "prop-types";
import {
AreaChart,
Area,
XAxis,
Tooltip,
CartesianGrid,
ResponsiveContainer,
Text,
} from "recharts";
import { Box, Stack, Typography } from "@mui/material";
import { useTheme } from "@emotion/react";
import { useMemo, useState } from "react";
import { useSelector } from "react-redux";
import { formatDateWithTz } from "../../../Utils/timeUtils";
import {
tooltipDateFormatLookup,
tickDateFormatLookup,
} from "../Utils/chartUtilFunctions";
import "./index.css";
const CustomToolTip = ({ active, payload, label, dateRange }) => {
const format = tooltipDateFormatLookup(dateRange);
const uiTimezone = useSelector((state) => state.ui.timezone);
const theme = useTheme();
if (active && payload && payload.length) {
const responseTime = payload[0]?.payload?.originalAvgResponseTime
? payload[0]?.payload?.originalAvgResponseTime
: (payload[0]?.payload?.avgResponseTime ?? 0);
return (
<Box
className="area-tooltip"
sx={{
backgroundColor: theme.palette.primary.main,
border: 1,
borderColor: theme.palette.primary.lowContrast,
borderRadius: theme.shape.borderRadius,
py: theme.spacing(2),
px: theme.spacing(4),
}}
>
<Typography
sx={{
color: theme.palette.primary.contrastTextTertiary,
fontSize: 12,
fontWeight: 500,
}}
>
{formatDateWithTz(label, format, uiTimezone)}
</Typography>
<Box mt={theme.spacing(1)}>
<Box
display="inline-block"
width={theme.spacing(4)}
height={theme.spacing(4)}
backgroundColor={theme.palette.primary.main}
sx={{ borderRadius: "50%" }}
/>
<Stack
display="inline-flex"
direction="row"
justifyContent="space-between"
ml={theme.spacing(3)}
sx={{
"& span": {
color: theme.palette.primary.contrastTextTertiary,
fontSize: 11,
fontWeight: 500,
},
}}
>
<Typography
component="span"
sx={{ opacity: 0.8 }}
>
Response Time
</Typography>{" "}
<Typography component="span">
{Math.floor(responseTime)}
<Typography
component="span"
sx={{ opacity: 0.8 }}
>
{" "}
ms
</Typography>
</Typography>
</Stack>
</Box>
{/* Display original value */}
</Box>
);
}
return null;
};
CustomToolTip.propTypes = {
active: PropTypes.bool,
payload: PropTypes.arrayOf(
PropTypes.shape({
value: PropTypes.number,
payload: PropTypes.shape({
_id: PropTypes.string,
avgResponseTime: PropTypes.number,
originalAvgResponseTime: PropTypes.number,
}),
})
),
label: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
dateRange: PropTypes.string,
};
const CustomTick = ({ x, y, payload, dateRange }) => {
const format = tickDateFormatLookup(dateRange);
const theme = useTheme();
const uiTimezone = useSelector((state) => state.ui.timezone);
return (
<Text
x={x}
y={y + 10}
textAnchor="middle"
fill={theme.palette.primary.contrastTextTertiary}
fontSize={11}
fontWeight={400}
>
{formatDateWithTz(payload?.value, format, uiTimezone)}
</Text>
);
};
CustomTick.propTypes = {
x: PropTypes.number,
y: PropTypes.number,
payload: PropTypes.object,
index: PropTypes.number,
dateRange: PropTypes.string,
};
const MonitorDetailsAreaChart = ({ checks, dateRange }) => {
const theme = useTheme();
const memoizedChecks = useMemo(() => checks, [checks[0]]);
const [isHovered, setIsHovered] = useState(false);
return (
<ResponsiveContainer
width="100%"
minWidth={25}
height={220}
>
<AreaChart
width="100%"
height="100%"
data={memoizedChecks}
margin={{
top: 10,
right: 0,
left: 0,
bottom: 0,
}}
onMouseMove={() => setIsHovered(true)}
onMouseLeave={() => setIsHovered(false)}
>
<CartesianGrid
stroke={theme.palette.primary.lowContrast}
strokeWidth={1}
strokeOpacity={1}
fill="transparent"
vertical={false}
/>
<defs>
<linearGradient
id="colorUv"
x1="0"
y1="0"
x2="0"
y2="1"
>
<stop
offset="0%"
stopColor={theme.palette.accent.main}
stopOpacity={0.8}
/>
<stop
offset="100%"
stopColor={theme.palette.accent.light}
stopOpacity={0}
/>
</linearGradient>
</defs>
<XAxis
stroke={theme.palette.primary.lowContrast}
dataKey="_id"
tick={<CustomTick dateRange={dateRange} />}
axisLine={false}
tickLine={false}
height={20}
/>
<Tooltip
cursor={{ stroke: theme.palette.primary.lowContrast }}
content={<CustomToolTip dateRange={dateRange} />}
wrapperStyle={{ pointerEvents: "none" }}
/>
<Area
type="monotone"
dataKey="avgResponseTime"
stroke={theme.palette.accent.main} // CAIO_REVIEW
fill="url(#colorUv)"
strokeWidth={isHovered ? 2.5 : 1.5}
activeDot={{ stroke: theme.palette.accent.main, r: 5 }} // CAIO_REVIEW
/>
</AreaChart>
</ResponsiveContainer>
);
};
MonitorDetailsAreaChart.propTypes = {
checks: PropTypes.array,
dateRange: PropTypes.string,
};
export default MonitorDetailsAreaChart;
@@ -1,25 +0,0 @@
export const tooltipDateFormatLookup = (dateRange) => {
const dateFormatLookup = {
day: "ddd. MMMM D, YYYY, hh:mm A",
week: "ddd. MMMM D, YYYY, hh:mm A",
month: "ddd. MMMM D, YYYY",
};
const format = dateFormatLookup[dateRange];
if (format === undefined) {
return "";
}
return format;
};
export const tickDateFormatLookup = (dateRange) => {
const tickFormatLookup = {
day: "h:mm A",
week: "MM/D, h:mm A",
month: "ddd. M/D",
};
const format = tickFormatLookup[dateRange];
if (format === undefined) {
return "";
}
return format;
};
@@ -1,292 +0,0 @@
import PropTypes from "prop-types";
import { useSelector } from "react-redux";
import { useTheme } from "@mui/material";
import { Text } from "recharts";
import { formatDateWithTz } from "../../../Utils/timeUtils";
import { Box, Stack, Typography } from "@mui/material";
import { tickDateFormatLookup, tooltipDateFormatLookup } from "./chartUtilFunctions";
/**
* Custom tick component for rendering time with timezone.
*
* @param {Object} props - The properties object.
* @param {number} props.x - The x-coordinate for the tick.
* @param {number} props.y - The y-coordinate for the tick.
* @param {Object} props.payload - The payload object containing tick data.
* @param {number} props.index - The index of the tick.
* @returns {JSX.Element} The rendered tick component.
*/
export const TzTick = ({ x, y, payload, index, dateRange }) => {
const theme = useTheme();
const uiTimezone = useSelector((state) => state.ui.timezone);
const format = tickDateFormatLookup(dateRange);
return (
<Text
x={x}
y={y + 10}
textAnchor="middle"
fill={theme.palette.primary.contrastTextTertiary}
fontSize={11}
fontWeight={400}
>
{formatDateWithTz(payload?.value, format, uiTimezone)}
</Text>
);
};
TzTick.propTypes = {
x: PropTypes.number,
y: PropTypes.number,
payload: PropTypes.object,
index: PropTypes.number,
dateRange: PropTypes.string,
};
/**
* Custom tick component for rendering percentage values.
*
* @param {Object} props - The properties object.
* @param {number} props.x - The x-coordinate for the tick.
* @param {number} props.y - The y-coordinate for the tick.
* @param {Object} props.payload - The payload object containing tick data.
* @param {number} props.index - The index of the tick.
* @returns {JSX.Element|null} The rendered tick component or null for the first tick.
*/
export const PercentTick = ({ x, y, payload, index }) => {
const theme = useTheme();
if (index === 0) return null;
return (
<Text
x={x - 20}
y={y}
textAnchor="middle"
fill={theme.palette.primary.contrastTextTertiary}
fontSize={11}
fontWeight={400}
>
{`${(payload?.value * 100).toFixed()}%`}
</Text>
);
};
PercentTick.propTypes = {
x: PropTypes.number,
y: PropTypes.number,
payload: PropTypes.object,
index: PropTypes.number,
};
/**
* Converts a decimal value to a formatted percentage string.
*
* @param {number} value - The decimal value to convert (e.g., 0.75)
* @returns {string} Formatted percentage string (e.g., "75.00%") or original input if not a number
*
* @example
* getFormattedPercentage(0.7543) // Returns "75.43%"
* getFormattedPercentage(1) // Returns "100.00%"
* getFormattedPercentage("test") // Returns "test"
*/
const getFormattedPercentage = (value) => {
if (typeof value !== "number") return value;
return `${(value * 100).toFixed(2)}.%`;
};
/**
* Custom tooltip component for displaying infrastructure data.
*
* @param {Object} props - The properties object.
* @param {boolean} props.active - Indicates if the tooltip is active.
* @param {Array} props.payload - The payload array containing tooltip data.
* @param {string} props.label - The label for the tooltip.
* @param {string} props.yKey - The key for the y-axis data.
* @param {string} props.yLabel - The label for the y-axis data.
* @param {string} props.dotColor - The color of the dot in the tooltip.
* @returns {JSX.Element|null} The rendered tooltip component or null if inactive.
*/
export const InfrastructureTooltip = ({
active,
payload,
label,
yKey,
yIdx = -1,
yLabel,
dotColor,
dateRange,
}) => {
const uiTimezone = useSelector((state) => state.ui.timezone);
const theme = useTheme();
const format = tooltipDateFormatLookup(dateRange);
if (active && payload && payload.length) {
const [hardwareType, metric] = yKey.split(".");
return (
<Box
className="area-tooltip"
sx={{
backgroundColor: theme.palette.primary.main,
border: 1,
borderColor: theme.palette.primary.lowContrast,
borderRadius: theme.shape.borderRadius,
py: theme.spacing(2),
px: theme.spacing(4),
}}
>
<Typography
sx={{
color: theme.palette.primary.contrastTextTertiary,
fontSize: 12,
fontWeight: 500,
}}
>
{formatDateWithTz(label, format, uiTimezone)}
</Typography>
<Box mt={theme.spacing(1)}>
<Box
display="inline-block"
width={theme.spacing(4)}
height={theme.spacing(4)}
backgroundColor={dotColor}
sx={{ borderRadius: "50%" }}
/>
<Stack
display="inline-flex"
direction="row"
justifyContent="space-between"
ml={theme.spacing(3)}
sx={{
"& span": {
color: theme.palette.primary.contrastTextTertiary,
fontSize: 11,
fontWeight: 500,
},
}}
>
<Typography
component="span"
sx={{ opacity: 0.8 }}
>
{yIdx >= 0
? `${yLabel} ${getFormattedPercentage(payload[0].payload[hardwareType][yIdx][metric])}`
: `${yLabel} ${getFormattedPercentage(payload[0].payload[yKey])}`}
</Typography>
</Stack>
</Box>
{/* Display original value */}
</Box>
);
}
return null;
};
InfrastructureTooltip.propTypes = {
active: PropTypes.bool,
payload: PropTypes.array,
label: PropTypes.oneOfType([
PropTypes.instanceOf(Date),
PropTypes.string,
PropTypes.number,
]),
yKey: PropTypes.string,
yIdx: PropTypes.number,
yLabel: PropTypes.string,
dotColor: PropTypes.string,
dateRange: PropTypes.string,
};
export const TemperatureTooltip = ({
active,
payload,
label,
keys,
dotColor,
dateRange,
}) => {
const uiTimezone = useSelector((state) => state.ui.timezone);
const theme = useTheme();
const format = tooltipDateFormatLookup(dateRange);
const formatCoreKey = (key) => {
return key.replace(/^core(\d+)$/, "Core $1");
};
if (active && payload && payload.length) {
return (
<Box
className="area-tooltip"
sx={{
backgroundColor: theme.palette.primary.main,
border: 1,
borderColor: theme.palette.primary.lowContrast,
borderRadius: theme.shape.borderRadius,
py: theme.spacing(2),
px: theme.spacing(4),
}}
>
<Typography
sx={{
color: theme.palette.primary.contrastTextTertiary,
fontSize: 12,
fontWeight: 500,
}}
>
{formatDateWithTz(label, format, uiTimezone)}
</Typography>
<Stack direction="column">
{keys.map((key) => {
return (
<Stack
key={key}
display="inline-flex"
direction="row"
justifyContent="space-between"
ml={theme.spacing(3)}
sx={{
"& span": {
color: theme.palette.primary.contrastTextTertiary,
fontSize: 11,
fontWeight: 500,
},
}}
>
<Stack
direction="row"
alignItems="center"
gap={theme.spacing(2)}
>
<Box
display="inline-block"
width={theme.spacing(4)}
height={theme.spacing(4)}
backgroundColor={dotColor}
sx={{ borderRadius: "50%" }}
/>
<Typography
component="span"
sx={{ opacity: 0.8 }}
>
{`${formatCoreKey(key)}: ${payload[0].payload[key]} °C`}
</Typography>
</Stack>
<Typography component="span"></Typography>
</Stack>
);
})}
</Stack>
</Box>
);
}
return null;
};
TemperatureTooltip.propTypes = {
active: PropTypes.bool,
keys: PropTypes.array,
payload: PropTypes.array,
label: PropTypes.oneOfType([
PropTypes.instanceOf(Date),
PropTypes.string,
PropTypes.number,
]),
dotColor: PropTypes.string,
dateRange: PropTypes.string,
};
@@ -1,47 +0,0 @@
/**
* Creates an SVG gradient definition for use in charts
* @param {Object} params - The gradient parameters
* @param {string} [params.id="colorUv"] - Unique identifier for the gradient
* @param {string} params.startColor - Starting color of the gradient (hex, rgb, or color name)
* @param {string} params.endColor - Ending color of the gradient (hex, rgb, or color name)
* @param {number} [params.startOpacity=0.8] - Starting opacity (0-1)
* @param {number} [params.endOpacity=0] - Ending opacity (0-1)
* @param {('vertical'|'horizontal')} [params.direction="vertical"] - Direction of the gradient
* @returns {JSX.Element} SVG gradient definition element
* @example
* createCustomGradient({
* startColor: "#1976D2",
* endColor: "#42A5F5",
* direction: "horizontal"
* })
*/
export const createGradient = ({
id,
startColor,
endColor,
startOpacity = 0.8,
endOpacity = 0,
direction = "vertical", // or "horizontal"
}) => (
<defs>
<linearGradient
id={id}
x1={direction === "vertical" ? "0" : "0"}
y1={direction === "vertical" ? "0" : "0"}
x2={direction === "vertical" ? "0" : "1"}
y2={direction === "vertical" ? "1" : "0"}
>
<stop
offset="0%"
stopColor={startColor}
stopOpacity={startOpacity}
/>
<stop
offset="100%"
stopColor={endColor}
stopOpacity={endOpacity}
/>
</linearGradient>
</defs>
);
-73
View File
@@ -1,73 +0,0 @@
import "./check.css";
import PropTypes from "prop-types";
import CheckGrey from "../../assets/icons/check.svg?react";
import CheckOutlined from "../../assets/icons/check-outlined.svg?react";
import { Box, Stack, Typography } from "@mui/material";
import { useTheme } from "@emotion/react";
/**
* `Check` is a functional React component that displays a check icon and a label.
*
* @component
* @param {Object} props - The properties that define the `Check` component.
* @param {string} props.text - The text to be displayed as the label next to the check icon.
* @param {'info' | 'error' | 'success'} [props.variant='info'] - The variant of the check component, affecting its styling.
* @param {boolean} [props.outlined] - Whether the check icon should be outlined or not.
*
* @example
* // To use this component, import it and use it in your JSX like this:
* <Check text="Your Text Here" />
*
* @returns {React.Element} The `Check` component with a check icon and a label, defined by the `text` prop.
*/
const Check = ({ text, noHighlightText, variant = "info", outlined = false }) => {
const theme = useTheme();
const colors = {
success: theme.palette.success.main,
error: theme.palette.error.main,
info: theme.palette.info.border,
};
return (
<Stack
direction="row"
className="check"
gap={outlined ? theme.spacing(6) : theme.spacing(4)}
alignItems="center"
>
{outlined ? (
<CheckOutlined alt="check" />
) : (
<Box
lineHeight={0}
sx={{
"& svg > path": { fill: colors[variant] },
}}
>
<CheckGrey alt="form checks" />
</Box>
)}
<Typography
component="span"
sx={{
color:
variant === "info"
? theme.palette.primary.contrastTextTertiary
: colors[variant],
opacity: 0.8,
}}
>
{noHighlightText && <Typography component="span">{noHighlightText}</Typography>}{" "}
{text}
</Typography>
</Stack>
);
};
Check.propTypes = {
text: PropTypes.oneOfType([PropTypes.string, PropTypes.element]).isRequired,
noHighlightText: PropTypes.string,
variant: PropTypes.oneOf(["info", "error", "success"]),
outlined: PropTypes.bool,
};
export default Check;
Whitespace-only changes.
-38
View File
@@ -1,38 +0,0 @@
import { Stack, styled } from "@mui/material";
const ConfigBox = styled(Stack)(({ theme }) => ({
display: "flex",
flexDirection: "row",
justifyContent: "space-between",
gap: theme.spacing(20),
backgroundColor: theme.palette.primary.main,
border: 1,
borderStyle: "solid",
borderColor: theme.palette.primary.lowContrast,
borderRadius: theme.spacing(2),
"& > *": {
paddingTop: theme.spacing(12),
paddingBottom: theme.spacing(18),
},
"& > div:first-of-type": {
flex: 0.7,
borderRight: 1,
borderRightStyle: "solid",
borderRightColor: theme.palette.primary.lowContrast,
paddingRight: theme.spacing(15),
paddingLeft: theme.spacing(15),
},
"& > div:last-of-type": {
flex: 1,
paddingRight: theme.spacing(20),
paddingLeft: theme.spacing(18),
},
"& h1, & h2": {
color: theme.palette.primary.contrastTextSecondary,
},
"& p": {
color: theme.palette.primary.contrastTextTertiary,
},
}));
export default ConfigBox;
@@ -1,69 +0,0 @@
import { useId } from "react";
import PropTypes from "prop-types";
import { Modal, Stack, Typography } from "@mui/material";
const GenericDialog = ({ title, description, open, onClose, theme, children }) => {
const titleId = useId();
const descriptionId = useId();
const ariaDescribedBy = description?.length > 0 ? descriptionId : "";
return (
<Modal
aria-labelledby={titleId}
aria-describedby={ariaDescribedBy}
open={open}
onClose={onClose}
onClick={(e) => e.stopPropagation()}
>
<Stack
gap={theme.spacing(2)}
sx={{
position: "absolute",
top: "50%",
left: "50%",
transform: "translate(-50%, -50%)",
width: 400,
bgcolor: theme.palette.primary.main,
border: 1,
borderColor: theme.palette.primary.lowContrast,
borderRadius: theme.shape.borderRadius,
boxShadow: 24,
p: theme.spacing(15),
"&:focus": {
outline: "none",
},
}}
>
<Typography
id={titleId}
component="h2"
fontSize={16}
color={theme.palette.primary.contrastText}
fontWeight={600}
>
{title}
</Typography>
{description && (
<Typography
id={descriptionId}
color={theme.palette.primary.contrastTextTertiary}
>
{description}
</Typography>
)}
{children}
</Stack>
</Modal>
);
};
GenericDialog.propTypes = {
title: PropTypes.string.isRequired,
description: PropTypes.string,
open: PropTypes.bool.isRequired,
onClose: PropTypes.func.isRequired,
theme: PropTypes.object.isRequired,
children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node])
.isRequired,
};
export { GenericDialog };
-61
View File
@@ -1,61 +0,0 @@
import PropTypes from "prop-types";
import LoadingButton from "@mui/lab/LoadingButton";
import { Button, Stack } from "@mui/material";
import { GenericDialog } from "./genericDialog";
const Dialog = ({
title,
description,
open,
theme,
onCancel,
confirmationButtonLabel,
onConfirm,
isLoading,
}) => {
return (
<GenericDialog
title={title}
description={description}
open={open}
onClose={onCancel}
theme={theme}
>
<Stack
direction="row"
gap={theme.spacing(4)}
mt={theme.spacing(12)}
justifyContent="flex-end"
>
<Button
variant="text"
color="info"
onClick={onCancel}
>
Cancel
</Button>
<LoadingButton
variant="contained"
color="error"
loading={isLoading}
onClick={onConfirm}
>
{confirmationButtonLabel}
</LoadingButton>
</Stack>
</GenericDialog>
);
};
Dialog.propTypes = {
title: PropTypes.string.isRequired,
description: PropTypes.string,
open: PropTypes.bool.isRequired,
theme: PropTypes.object.isRequired,
onCancel: PropTypes.func.isRequired,
confirmationButtonLabel: PropTypes.string.isRequired,
onConfirm: PropTypes.func.isRequired,
isLoading: PropTypes.bool.isRequired,
};
export default Dialog;
-24
View File
@@ -1,24 +0,0 @@
[class*="fallback__"] {
width: fit-content;
margin: auto;
margin-top: 100px;
}
[class*="fallback__"] h1.MuiTypography-root {
font-size: var(--env-var-font-size-large);
font-weight: 600;
}
[class*="fallback__"] button.MuiButtonBase-root,
[class*="fallback__"] .check {
width: max-content;
}
[class*="fallback__"] button.MuiButtonBase-root {
min-height: 34px;
}
[class*="fallback__"] .check span.MuiTypography-root,
[class*="fallback__"] button.MuiButtonBase-root {
font-size: var(--env-var-font-size-medium);
}
.fallback__status > .MuiStack-root {
margin-left: var(--env-var-spacing-2);
}
-92
View File
@@ -1,92 +0,0 @@
import PropTypes from "prop-types";
import { useTheme } from "@emotion/react";
import { Box, Button, Stack, Typography } from "@mui/material";
import Skeleton from "../../assets/Images/create-placeholder.svg?react";
import SkeletonDark from "../../assets/Images/create-placeholder-dark.svg?react";
import Background from "../../assets/Images/background-grid.svg?react";
import Check from "../Check/Check";
import { useNavigate } from "react-router-dom";
import { useSelector } from "react-redux";
import "./index.css";
/**
* Fallback component to display a fallback UI with a title, a list of checks, and a navigation button.
*
* @param {Object} props - The component props.
* @param {string} props.title - The title to be displayed in the fallback UI.
* @param {Array<string>} props.checks - An array of strings representing the checks to display.
* @param {string} [props.link="/"] - The link to navigate to.
* @param {boolean} [props.vowelStart=false] - Whether the title starts with a vowel.
* @returns {JSX.Element} The rendered fallback UI.
*/
const Fallback = ({ title, checks, link = "/", isAdmin, vowelStart = false }) => {
const theme = useTheme();
const navigate = useNavigate();
const mode = useSelector((state) => state.ui.mode);
return (
<Stack
className={`fallback__${title.trim().split(" ")[0]}`}
alignItems="center"
gap={theme.spacing(20)}
>
{mode === "light" ? (
<Skeleton style={{ zIndex: 1 }} />
) : (
<SkeletonDark style={{ zIndex: 1 }} />
)}
<Box
className="background-pattern-svg"
sx={{
"& svg g g:last-of-type path": {
stroke: theme.palette.primary.lowContrast,
},
}}
>
<Background style={{ width: "100%" }} />
</Box>
<Stack
gap={theme.spacing(4)}
maxWidth={"300px"}
zIndex={1}
>
<Typography
component="h1"
marginY={theme.spacing(4)}
color={theme.palette.primary.contrastTextTertiary}
>
{vowelStart ? "An" : "A"} {title} is used to:
</Typography>
{checks.map((check, index) => (
<Check
text={check}
key={`${title.trim().split(" ")[0]}-${index}`}
outlined={true}
/>
))}
</Stack>
{/* TODO - display a different fallback if user is not an admin*/}
{isAdmin && (
<Button
variant="contained"
color="accent"
sx={{ alignSelf: "center" }}
onClick={() => navigate(link)}
>
Let's create your {title}
</Button>
)}
</Stack>
);
};
Fallback.propTypes = {
title: PropTypes.string.isRequired,
checks: PropTypes.arrayOf(PropTypes.string).isRequired,
link: PropTypes.string,
isAdmin: PropTypes.bool,
vowelStart: PropTypes.bool,
};
export default Fallback;
@@ -1,37 +0,0 @@
import { useEffect } from "react";
import { useNavigate } from "react-router-dom";
import { logger } from "../../Utils/Logger";
import { networkService } from "../../main";
const withAdminCheck = (WrappedComponent) => {
const WithAdminCheck = (props) => {
const navigate = useNavigate();
useEffect(() => {
networkService
.doesSuperAdminExist()
.then((response) => {
if (response.data.data === true) {
navigate("/login");
}
})
.catch((error) => {
logger.error(error);
});
}, [navigate]);
return (
<WrappedComponent
{...props}
isSuperAdmin={true}
/>
);
};
const wrappedComponentName =
WrappedComponent.displayName || WrappedComponent.name || "Component";
WithAdminCheck.displayName = `WithAdminCheck(${wrappedComponentName})`;
return WithAdminCheck;
};
export default withAdminCheck;
-32
View File
@@ -1,32 +0,0 @@
import { Typography } from "@mui/material";
import PropTypes from "prop-types";
/**
* A heading component that renders text with a specific heading level.
*
* @param {Object} props - The properties passed to the Heading component.
* @param {('h1'|'h2'|'h3')} props.component - The heading level for the component.
* @param {Object} props.style - Custom styles to apply to the heading.
* @param {string} props.children - The content to display inside the heading.
* @returns {JSX.Element} The Typography component with specified heading properties.
*/
function Heading({ component, style, children }) {
return (
<Typography
component={component}
variant="h2"
fontWeight={600}
style={style}
>
{children}
</Typography>
);
}
Heading.propTypes = {
component: PropTypes.oneOf(["h1", "h2", "h3"]).isRequired,
style: PropTypes.object,
children: PropTypes.string.isRequired,
};
export { Heading };
@@ -1,67 +0,0 @@
import PropTypes from "prop-types";
import { useTheme } from "@mui/material";
import { BaseLabel } from "../Label";
/**
* @component
* @param {Object} props
* @param {number} props.status - The http status for the label
* @param {Styles} props.customStyles - CSS Styles passed from parent component
* @returns {JSX.Element}
* @example
* // Render a http status label
* <HttpStatusLabel status={404} />
*/
const DEFAULT_CODE = 9999; // Default code for unknown status
const handleStatusCode = (status) => {
if (status) {
return status;
}
return DEFAULT_CODE;
};
const getRoundedStatusCode = (status) => {
return Math.floor(status / 100) * 100;
};
const HttpStatusLabel = ({ status, customStyles }) => {
const theme = useTheme();
const colors = {
400: {
color: theme.palette.warning.main,
borderColor: theme.palette.warning.lowContrast,
},
500: {
color: theme.palette.error.main,
borderColor: theme.palette.error.lowContrast,
},
default: {
color: theme.palette.primary.contrastText,
borderColor: theme.palette.primary.contrastText,
},
};
const statusCode = handleStatusCode(status);
const { borderColor, color } =
colors[getRoundedStatusCode(statusCode)] || colors.default;
return (
<BaseLabel
label={String(statusCode)}
styles={{
color: color,
borderColor: borderColor,
...customStyles,
}}
/>
);
};
HttpStatusLabel.propTypes = {
status: PropTypes.number,
customStyles: PropTypes.object,
};
export { HttpStatusLabel };
-77
View File
@@ -1,77 +0,0 @@
import { Box, styled } from "@mui/material";
import PropTypes from "prop-types";
/**
* IconBox - A styled box component for rendering icons with consistent sizing and styling
*
* @component
* @param {Object} [props] - Configuration options for the IconBox
* @param {number} [props.height=34] - Height of the icon box
* @param {number} [props.width=34] - Width of the icon box
* @param {number} [props.minWidth=34] - Minimum width of the icon box
* @param {number} [props.borderRadius=4] - Border radius of the icon box
* @param {number} [props.svgWidth=20] - Width of the SVG icon
* @param {number} [props.svgHeight=20] - Height of the SVG icon
*
* @example
* // Basic usage
* <IconBox>
* <SomeIcon />
* </IconBox>
*
* @example
* // Customized usage
* <IconBox
* height={40}
* width={40}
* svgWidth={24}
* svgHeight={24}
* >
* <CustomIcon />
* </IconBox>
*
* @returns {React.ReactElement} A styled box containing an icon
*/
const IconBox = styled(Box)(
({
theme,
height = 34,
width = 34,
minWidth = 34,
borderRadius = 4,
svgWidth = 20,
svgHeight = 20,
}) => ({
height: height,
minWidth: minWidth,
width: width,
position: "relative",
border: 1,
borderStyle: "solid",
borderColor: theme.palette.primary.lowContrast,
borderRadius: borderRadius,
backgroundColor: theme.palette.tertiary.main,
"& svg": {
position: "absolute",
top: "50%",
left: "50%",
transform: "translate(-50%, -50%)",
width: svgWidth,
height: svgHeight,
"& path": {
stroke: theme.palette.primary.contrastTextTertiary,
},
},
})
);
IconBox.propTypes = {
height: PropTypes.number,
width: PropTypes.number,
minWidth: PropTypes.number,
borderRadius: PropTypes.number,
svgWidth: PropTypes.number,
svgHeight: PropTypes.number,
};
export default IconBox;
Whitespace-only changes.
@@ -1,119 +0,0 @@
import PropTypes from "prop-types";
import { FormControlLabel, Checkbox as MuiCheckbox } from "@mui/material";
import { useTheme } from "@emotion/react";
import CheckboxOutline from "../../../assets/icons/checkbox-outline.svg?react";
import CheckboxFilled from "../../../assets/icons/checkbox-filled.svg?react";
import "./index.css";
/**
* Checkbox Component
*
* A customized checkbox component using Material-UI that supports custom sizing,
* disabled states, and custom icons.
*
* @component
* @param {Object} props - Component properties
* @param {string} props.id - Unique identifier for the checkbox input
* @param {string} [props.name] - Optional name attribute for the checkbox
* @param {(string|React.ReactNode)} props.label - Label text or node for the checkbox
* @param {('small'|'medium'|'large')} [props.size='medium'] - Size of the checkbox icon
* @param {boolean} props.isChecked - Current checked state of the checkbox
* @param {string} [props.value] - Optional value associated with the checkbox
* @param {Function} [props.onChange] - Callback function triggered when checkbox state changes
* @param {boolean} [props.isDisabled] - Determines if the checkbox is disabled
*
* @returns {React.ReactElement} Rendered Checkbox component
*
* @example
* // Basic usage
* <Checkbox
* id="terms-checkbox"
* label="I agree to terms"
* isChecked={agreed}
* onChange={handleAgree}
* />
*
* @example
* // With custom size and disabled state
* <Checkbox
* id="advanced-checkbox"
* label="Advanced Option"
* size="large"
* isChecked={isAdvanced}
* isDisabled={!canModify}
* onChange={handleAdvancedToggle}
* />
*/
const Checkbox = ({
id,
name,
label,
size = "medium",
isChecked,
value,
onChange,
isDisabled,
}) => {
/* TODO move sizes to theme */
const sizes = { small: "14px", medium: "16px", large: "18px" };
const theme = useTheme();
return (
<FormControlLabel
className="checkbox-wrapper"
control={
<MuiCheckbox
checked={isDisabled ? false : isChecked}
name={name}
value={value}
onChange={onChange}
icon={<CheckboxOutline />}
checkedIcon={<CheckboxFilled />}
inputProps={{
"aria-label": "controlled checkbox",
id: id,
}}
sx={{
"&:hover": { backgroundColor: "transparent" },
"& svg": { width: sizes[size], height: sizes[size] },
alignSelf: "flex-start",
}}
/>
}
label={label}
disabled={isDisabled}
sx={{
borderRadius: theme.shape.borderRadius,
p: theme.spacing(2.5),
"& .MuiButtonBase-root": {
width: theme.spacing(10),
p: 0,
mr: theme.spacing(6),
},
"&:not(:has(.Mui-disabled)):hover": {
backgroundColor: theme.palette.tertiary.main,
},
"& span.MuiTypography-root": {
fontSize: 13,
color: theme.palette.primary.contrastTextTertiary,
},
".MuiFormControlLabel-label.Mui-disabled": {
color: theme.palette.primary.contrastTextTertiary,
opacity: 0.25,
},
}}
/>
);
};
Checkbox.propTypes = {
id: PropTypes.string.isRequired,
name: PropTypes.string,
label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,
size: PropTypes.oneOf(["small", "medium", "large"]),
isChecked: PropTypes.bool.isRequired,
value: PropTypes.string,
onChange: PropTypes.func,
isDisabled: PropTypes.bool,
};
export default Checkbox;
@@ -1,18 +0,0 @@
.MuiStack-root:has(#modal-update-picture) h1.MuiTypography-root {
font-weight: 600;
}
.image-field-wrapper h2.MuiTypography-root,
.MuiStack-root:has(#modal-update-picture) button,
.MuiStack-root:has(#modal-update-picture) h1.MuiTypography-root {
font-size: var(--env-var-font-size-medium);
}
.image-field-wrapper h2.MuiTypography-root {
margin-top: 10px;
}
.image-field-wrapper + p.MuiTypography-root {
margin-top: 8px;
}
.image-field-wrapper + p.MuiTypography-root,
.image-field-wrapper p.MuiTypography-root {
font-size: var(--env-var-font-size-small-plus);
}
@@ -1,153 +0,0 @@
import React, { useState } from "react";
import PropTypes from "prop-types";
import { Box, IconButton, Stack, TextField, Typography } from "@mui/material";
import { useTheme } from "@emotion/react";
import CloudUploadIcon from "@mui/icons-material/CloudUpload";
import "./index.css";
import { checkImage } from "../../../Utils/fileUtils";
/**
* @param {Object} props - The component props.
* @param {string} props.id - The unique identifier for the input field.
* @param {string} props.src - The URL of the image to display.
* @param {function} props.onChange - The function to handle file input change.
* @returns {JSX.Element} The rendered component.
*/
const ImageField = ({ id, src, loading, onChange }) => {
const theme = useTheme();
const [isDragging, setIsDragging] = useState(false);
const handleDragEnter = () => {
setIsDragging(true);
};
const handleDragLeave = () => {
setIsDragging(false);
};
return (
<>
{!checkImage(src) || loading ? (
<>
<Box
className="image-field-wrapper"
mt={theme.spacing(8)}
sx={{
position: "relative",
height: "fit-content",
border: "dashed",
borderRadius: theme.shape.borderRadius,
borderColor: isDragging
? theme.palette.primary.main
: theme.palette.primary.lowContrast,
borderWidth: "2px",
transition: "0.2s",
"&:hover": {
borderColor: theme.palette.primary.main,
backgroundColor: "hsl(215, 87%, 51%, 0.05)",
},
}}
onDragEnter={handleDragEnter}
onDragLeave={handleDragLeave}
onDrop={handleDragLeave}
>
<TextField
id={id}
type="file"
onChange={onChange}
sx={{
width: "100%",
"& .MuiInputBase-input[type='file']": {
opacity: 0,
cursor: "pointer",
maxWidth: "500px",
minHeight: "175px",
},
"& fieldset": {
padding: 0,
border: "none",
},
}}
/>
<Stack
className="custom-file-text"
alignItems="center"
gap="4px"
sx={{
position: "absolute",
top: "50%",
left: "50%",
transform: "translate(-50%, -50%)",
zIndex: "-1",
width: "100%",
}}
>
<IconButton
sx={{
pointerEvents: "none",
borderRadius: theme.shape.borderRadius,
border: `solid ${theme.shape.borderThick}px ${theme.palette.primary.lowContrast}`,
boxShadow: theme.shape.boxShadow,
}}
>
<CloudUploadIcon />
</IconButton>
<Typography
component="h2"
color={theme.palette.primary.contrastTextTertiary}
>
<Typography
component="span"
fontSize="inherit"
color={theme.palette.primary.main}
fontWeight={500}
>
Click to upload
</Typography>{" "}
or drag and drop
</Typography>
<Typography
component="p"
color={theme.palette.primary.contrastTextTertiary}
sx={{ opacity: 0.6 }}
>
(maximum size: 3MB)
</Typography>
</Stack>
</Box>
<Typography
component="p"
color={theme.palette.primary.contrastTextTertiary}
sx={{ opacity: 0.6 }}
>
Supported formats: JPG, PNG
</Typography>
</>
) : (
<Stack
direction="row"
justifyContent="center"
>
<Box
sx={{
width: "250px",
height: "250px",
borderRadius: "50%",
overflow: "hidden",
backgroundImage: `url(${src})`,
backgroundSize: "cover",
}}
></Box>
</Stack>
)}
</>
);
};
ImageField.propTypes = {
id: PropTypes.string.isRequired,
src: PropTypes.string,
onChange: PropTypes.func.isRequired,
};
export default ImageField;
Whitespace-only changes.
@@ -1,89 +0,0 @@
import PropTypes from "prop-types";
import { FormControlLabel, Radio as MUIRadio, Typography } from "@mui/material";
import { useTheme } from "@emotion/react";
import RadioChecked from "../../../assets/icons/radio-checked.svg?react";
import "./index.css";
/**
* Radio component.
*
* @component
* @example
* // Usage:
* <Radio
* title="Radio Button Title"
* desc="Radio Button Description"
* size="small"
* />
*
* @param {Object} props - The component props.
* @param {string} props.id - The id of the radio button.
* @param {string} props.title - The title of the radio button.
* @param {string} [props.desc] - The description of the radio button.
* @param {string} [props.size="small"] - The size of the radio button.
* @returns {JSX.Element} - The rendered Radio component.
*/
const Radio = (props) => {
const theme = useTheme();
return (
<FormControlLabel
className="custom-radio-button"
checked={props.checked}
value={props.value}
control={
<MUIRadio
id={props.id}
size={props.size}
checkedIcon={<RadioChecked />}
sx={{
color: "transparent",
width: 16,
height: 16,
boxShadow: `inset 0 0 0 1px ${theme.palette.secondary.main}`,
"&:not(.Mui-checked)": {
boxShadow: `inset 0 0 0 1px ${theme.palette.primary.contrastText}70`, // Use theme text color for the outline
},
mt: theme.spacing(0.5),
}}
/>
}
onChange={props.onChange}
label={
<>
<Typography component="p">{props.title}</Typography>
<Typography
component="h6"
mt={theme.spacing(1)}
color={theme.palette.primary.contrastTextSecondary}
>
{props.desc}
</Typography>
</>
}
labelPlacement="end"
sx={{
alignItems: "flex-start",
p: theme.spacing(2.5),
m: theme.spacing(-2.5),
borderRadius: theme.shape.borderRadius,
"&:hover": {
backgroundColor: theme.palette.tertiary.main,
},
"& .MuiButtonBase-root": {
p: 0,
mr: theme.spacing(6),
},
}}
/>
);
};
Radio.propTypes = {
title: PropTypes.string.isRequired,
desc: PropTypes.string,
size: PropTypes.string,
};
export default Radio;
@@ -1,214 +0,0 @@
import PropTypes from "prop-types";
import { Box, ListItem, Autocomplete, TextField, Stack, Typography } from "@mui/material";
import { useTheme } from "@emotion/react";
import SearchIcon from "../../../assets/icons/search.svg?react";
/**
* Search component using Material UI's Autocomplete.
*
* @param {Object} props
* @param {string} props.id - Unique identifier for the Autocomplete component
* @param {Array<Object>} props.options - Options to display in the Autocomplete dropdown
* @param {string} props.filteredBy - Key to access the option label from the options
* @param {string} props.value - Current input value for the Autocomplete
* @param {Function} props.handleChange - Function to call when the input changes
* @param {Object} props.sx - Additional styles to apply to the component
* @returns {JSX.Element} The rendered Search component
*/
const SearchAdornment = () => {
const theme = useTheme();
return (
<Box
mr={theme.spacing(4)}
height={16}
sx={{
"& svg": {
width: 16,
height: 16,
"& path": {
stroke: theme.palette.primary.contrastTextTertiary,
strokeWidth: 1.2,
},
},
}}
>
<SearchIcon />
</Box>
);
};
//TODO keep search state inside of component
const Search = ({
label,
id,
options,
filteredBy,
secondaryLabel,
value,
inputValue,
handleInputChange,
handleChange,
sx,
multiple = false,
isAdorned = true,
error,
disabled,
}) => {
const theme = useTheme();
return (
<Autocomplete
multiple={multiple}
id={id}
value={value}
inputValue={inputValue}
onInputChange={(_, newValue) => {
handleInputChange(newValue);
}}
onChange={(_, newValue) => {
handleChange && handleChange(newValue);
}}
fullWidth
freeSolo
disabled={disabled}
disableClearable
options={options}
getOptionLabel={(option) => option[filteredBy]}
renderInput={(params) => (
<Stack>
<Typography
component="h3"
fontSize={"var(--env-var-font-size-medium)"}
color={theme.palette.primary.contrastTextSecondary}
fontWeight={500}
>
{label}
</Typography>
<TextField
{...params}
error={Boolean(error)}
placeholder="Type to search"
InputProps={{
...params.InputProps,
...(isAdorned && { startAdornment: <SearchAdornment /> }),
}}
sx={{
"& fieldset": {
borderColor: theme.palette.primary.lowContrast,
borderRadius: theme.shape.borderRadius,
},
"& .MuiOutlinedInput-root:hover:not(:has(input:focus)):not(:has(textarea:focus)) fieldset":
{
borderColor: theme.palette.primary.lowContrast,
},
"& .MuiOutlinedInput-root": {
paddingY: 0,
},
"& .MuiAutocomplete-tag": {
// CAIO_REVIEW
color: theme.palette.primary.contrastText,
backgroundColor: theme.palette.primary.lowContrast,
},
"& .MuiChip-deleteIcon": {
color: theme.palette.primary.contrastText, // CAIO_REVIEW
},
}}
/>
{error && (
<Typography
component="span"
className="input-error"
color={theme.palette.error.contrastText}
mt={theme.spacing(2)}
sx={{
opacity: 0.8,
}}
>
{error}
</Typography>
)}
</Stack>
)}
filterOptions={(options, { inputValue }) => {
const filtered = options.filter((option) =>
option[filteredBy].toLowerCase().includes(inputValue.toLowerCase())
);
if (filtered.length === 0) {
return [{ [filteredBy]: "No monitors found", noOptions: true }];
}
return filtered;
}}
getOptionKey={(option) => option.id}
renderOption={(props, option) => {
const { key, ...optionProps } = props;
return (
<ListItem
key={key}
{...optionProps}
sx={
option.noOptions
? {
pointerEvents: "none",
backgroundColor: theme.palette.primary.main,
}
: {}
}
>
{option[filteredBy] + (secondaryLabel ? ` (${option[secondaryLabel]})` : "")}
</ListItem>
);
}}
slotProps={{
popper: {
keepMounted: true,
sx: {
"& ul": { p: 2, backgroundColor: theme.palette.primary.main },
"& li.MuiAutocomplete-option": {
color: theme.palette.primary.contrastTextSecondary,
px: 4,
borderRadius: theme.shape.borderRadius,
},
"& .MuiAutocomplete-listbox .MuiAutocomplete-option[aria-selected='true'], & .MuiAutocomplete-listbox .MuiAutocomplete-option[aria-selected='true'].Mui-focused, & .MuiAutocomplete-listbox .MuiAutocomplete-option[aria-selected='true']:hover":
{
backgroundColor: theme.palette.primary.lowContrast,
color: "red",
},
"& li.MuiAutocomplete-option:hover:not([aria-selected='true'])": {
color: theme.palette.primary.main,
backgroundColor: theme.palette.primary.contrastTextSecondary,
},
"& .MuiAutocomplete-noOptions": {
px: theme.spacing(6),
py: theme.spacing(5),
},
},
},
}}
sx={{
/* height: 34,*/
"&.MuiAutocomplete-root .MuiAutocomplete-input": { p: 0 },
...sx,
}}
/>
);
};
Search.propTypes = {
id: PropTypes.string,
multiple: PropTypes.bool,
options: PropTypes.array.isRequired,
filteredBy: PropTypes.string.isRequired,
secondaryLabel: PropTypes.string,
value: PropTypes.array,
inputValue: PropTypes.string.isRequired,
handleInputChange: PropTypes.func.isRequired,
handleChange: PropTypes.func,
isAdorned: PropTypes.bool,
sx: PropTypes.object,
error: PropTypes.string,
disabled: PropTypes.bool,
};
export default Search;
@@ -1,7 +0,0 @@
.select-wrapper .select-component > .MuiSelect-select {
padding: 0 10px;
min-height: 34px;
display: flex;
align-items: center;
line-height: 1;
}
@@ -1,151 +0,0 @@
import PropTypes from "prop-types";
import { useTheme } from "@emotion/react";
import { MenuItem, Select as MuiSelect, Stack, Typography } from "@mui/material";
import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown";
import "./index.css";
/**
* @component
* @param {object} props
* @param {string} props.id - The ID attribute for the select element.
* @param {string} props.placeholder - The label of the select element.
* @param {string} props.placeholder - The placeholder text when no option is selected.
* @param {boolean} props.isHidden - Whether the placeholder should be hidden.
* @param {string} props.value - The currently selected value.
* @param {object[]} props.items - The array of items to populate in the select dropdown.
* @param {(string | number)} props.items._id - The unique identifier of each item.
* @param {string} props.items.name - The display name of each item.
* @param {function} props.onChange - The function to handle onChange event.
* @param {object} props.sx - The custom styles object for MUI Select component.
* @returns {JSX.Element}
*
* @example
* const frequencies = [
* { _id: 1, name: "1 minute" },
* { _id: 2, name: "2 minutes" },
* { _id: 3, name: "3 minutes" },
* ];
*
* <Select
* id="frequency-id"
* name="my-name"
* label="Check frequency"
* placeholder="Select frequency"
* value={value}
* onChange={handleChange}
* items={frequencies}
* />
*/
const Select = ({
id,
label,
placeholder,
isHidden,
value,
items,
onChange,
onBlur,
sx,
name = "",
labelControlSpacing = 2,
}) => {
const theme = useTheme();
const itemStyles = {
fontSize: "var(--env-var-font-size-medium)",
color: theme.palette.primary.contrastTextTertiary,
borderRadius: theme.shape.borderRadius,
margin: theme.spacing(2),
};
return (
<Stack
gap={theme.spacing(labelControlSpacing)}
className="select-wrapper"
>
{label && (
<Typography
component="h3"
color={theme.palette.primary.contrastTextSecondary}
fontWeight={500}
fontSize={13}
>
{label}
</Typography>
)}
<MuiSelect
className="select-component"
value={value}
onChange={onChange}
onBlur={onBlur}
displayEmpty
name={name}
inputProps={{ id: id }}
IconComponent={KeyboardArrowDownIcon}
MenuProps={{ disableScrollLock: true }}
sx={{
fontSize: 13,
minWidth: "125px",
"& fieldset": {
borderRadius: theme.shape.borderRadius,
borderColor: theme.palette.primary.lowContrast,
},
"&:not(.Mui-focused):hover fieldset": {
borderColor: theme.palette.primary.lowContrast,
},
"& svg path": {
fill: theme.palette.primary.contrastTextTertiary,
},
...sx,
}}
>
{placeholder && (
<MenuItem
className="select-placeholder"
value="0"
sx={{
display: isHidden ? "none" : "flex",
visibility: isHidden ? "none" : "visible",
...itemStyles,
}}
>
{placeholder}
</MenuItem>
)}
{items.map((item) => (
<MenuItem
value={item._id}
key={`${id}-${item._id}`}
sx={{
...itemStyles,
}}
>
{item.name}
</MenuItem>
))}
</MuiSelect>
</Stack>
);
};
Select.propTypes = {
id: PropTypes.string.isRequired,
name: PropTypes.string,
label: PropTypes.string,
placeholder: PropTypes.string,
isHidden: PropTypes.bool,
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
items: PropTypes.arrayOf(
PropTypes.shape({
_id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
name: PropTypes.string.isRequired,
})
).isRequired,
onChange: PropTypes.func.isRequired,
onBlur: PropTypes.func,
sx: PropTypes.object,
labelControlSpacing: PropTypes.number,
};
export default Select;
@@ -1,65 +0,0 @@
import { Stack, Typography, InputAdornment, IconButton } from "@mui/material";
import { useTheme } from "@mui/material/styles";
import { useState } from "react";
import PropTypes from "prop-types";
import VisibilityOff from "@mui/icons-material/VisibilityOff";
import Visibility from "@mui/icons-material/Visibility";
export const HttpAdornment = ({ https }) => {
const theme = useTheme();
return (
<Stack
direction="row"
alignItems="center"
height="100%"
sx={{
borderRight: `solid 1px ${theme.palette.primary.lowContrast}`,
backgroundColor: theme.palette.tertiary.main,
pl: theme.spacing(6),
}}
>
<Typography
component="h5"
paddingRight={"var(--env-var-spacing-1-minus)"}
color={theme.palette.primary.contrastTextSecondary}
sx={{ lineHeight: 1, opacity: 0.8 }}
>
{https ? "https" : "http"}://
</Typography>
</Stack>
);
};
HttpAdornment.propTypes = {
https: PropTypes.bool.isRequired,
};
export const PasswordEndAdornment = ({ fieldType, setFieldType }) => {
const theme = useTheme();
return (
<InputAdornment position="end">
<IconButton
aria-label="toggle password visibility"
onClick={() => setFieldType(fieldType === "password" ? "text" : "password")}
sx={{
color: theme.palette.primary.lowContrast,
padding: theme.spacing(1),
"&:focus-visible": {
outline: `2px solid ${theme.palette.primary.main}`,
outlineOffset: `2px`,
},
"& .MuiTouchRipple-root": {
pointerEvents: "none",
display: "none",
},
}}
>
{fieldType === "password" ? <VisibilityOff /> : <Visibility />}
</IconButton>
</InputAdornment>
);
};
PasswordEndAdornment.propTypes = {
fieldType: PropTypes.string,
setFieldType: PropTypes.func,
};
@@ -1,179 +0,0 @@
import { Stack, TextField, Typography } from "@mui/material";
import { useTheme } from "@emotion/react";
import { forwardRef, useState, cloneElement } from "react";
import PropTypes from "prop-types";
const getSx = (theme, type, maxWidth) => {
const sx = {
maxWidth: maxWidth,
"& .MuiOutlinedInput-root ": {
"&:hover .MuiOutlinedInput-notchedOutline": {
borderColor: theme.palette.primary.contrastText, // Adjust hover border color
},
"&.Mui-focused .MuiOutlinedInput-notchedOutline": {
borderColor: theme.palette.accent.main, // Adjust focus border color
},
"&.Mui-disabled .MuiOutlinedInput-notchedOutline": {
borderColor: theme.palette.primary.contrastText, // CAIO_REVIEW
opacity: 0.5,
},
},
"& .MuiFormHelperText-root": {
position: "absolute",
bottom: `-${theme.spacing(24)}`,
minHeight: theme.spacing(24),
},
};
if (type === "url") {
return {
...sx,
"& .MuiInputBase-root": { padding: 0 },
"& .MuiStack-root": {
borderTopLeftRadius: theme.shape.borderRadius,
borderBottomLeftRadius: theme.shape.borderRadius,
},
};
}
return sx;
};
const Required = () => {
const theme = useTheme();
return (
<Typography
component="span"
ml={theme.spacing(1)}
color={theme.palette.error.main}
>
*
</Typography>
);
};
const Optional = ({ optionalLabel }) => {
const theme = useTheme();
return (
<Typography
component="span"
fontSize="inherit"
fontWeight={400}
ml={theme.spacing(2)}
sx={{ opacity: 0.6 }}
>
{optionalLabel || "(optional)"}
</Typography>
);
};
Optional.propTypes = {
optionalLabel: PropTypes.string,
};
const TextInput = forwardRef(
(
{
id,
name,
type,
value,
placeholder,
isRequired,
isOptional,
optionalLabel,
onChange,
onBlur,
error = false,
helperText = null,
startAdornment = null,
endAdornment = null,
label = null,
maxWidth = "100%",
flex,
marginTop,
marginRight,
marginBottom,
marginLeft,
disabled = false,
hidden = false,
},
ref
) => {
const [fieldType, setFieldType] = useState(type);
const theme = useTheme();
return (
<Stack
flex={flex}
display={hidden ? "none" : ""}
marginTop={marginTop}
marginRight={marginRight}
marginBottom={marginBottom}
marginLeft={marginLeft}
>
<Typography
component="h3"
fontSize={"var(--env-var-font-size-medium)"}
color={theme.palette.primary.contrastTextSecondary}
fontWeight={500}
>
{label}
{isRequired && <Required />}
{isOptional && <Optional optionalLabel={optionalLabel} />}
</Typography>
<TextField
id={id}
name={name}
type={fieldType}
value={value}
placeholder={placeholder}
onChange={onChange}
onBlur={onBlur}
error={error}
helperText={helperText}
inputRef={ref}
sx={getSx(theme, type, maxWidth)}
slotProps={{
input: {
startAdornment: startAdornment,
endAdornment: endAdornment
? cloneElement(endAdornment, { fieldType, setFieldType })
: null,
},
}}
disabled={disabled}
/>
</Stack>
);
}
);
TextInput.displayName = "TextInput";
TextInput.propTypes = {
type: PropTypes.string,
id: PropTypes.string.isRequired,
name: PropTypes.string,
value: PropTypes.string,
placeholder: PropTypes.string,
isRequired: PropTypes.bool,
isOptional: PropTypes.bool,
optionalLabel: PropTypes.string,
onChange: PropTypes.func,
onBlur: PropTypes.func,
error: PropTypes.bool,
helperText: PropTypes.string,
startAdornment: PropTypes.node,
endAdornment: PropTypes.node,
label: PropTypes.string,
maxWidth: PropTypes.string,
flex: PropTypes.number,
marginTop: PropTypes.string,
marginRight: PropTypes.string,
marginBottom: PropTypes.string,
marginLeft: PropTypes.string,
disabled: PropTypes.bool,
hidden: PropTypes.bool,
};
export default TextInput;
-6
View File
@@ -1,6 +0,0 @@
.label {
display: inline-flex;
justify-content: center;
align-items: center;
line-height: normal;
}
-164
View File
@@ -1,164 +0,0 @@
import PropTypes from "prop-types";
import { Box } from "@mui/material";
import { useTheme } from "@mui/material";
import "./index.css";
/**
* @typedef {Object} Styles
* @param {string} [color] - The text color
* @param {string} [backgroundColor] - The background color
* @param {string} [borderColor] - The border color
*/
/**
* @component
* @param {Object} props
* @param {string} props.label - The label of the label
* @param {Styles} props.styles - CSS Styles passed from parent component
* @param {React.ReactNode} children - Children passed from parent component
* @returns {JSX.Element}
*/
const BaseLabel = ({ label, styles, children }) => {
const theme = useTheme();
// Grab the default borderRadius from the theme to match button style
const { borderRadius } = theme.shape;
// Calculate padding for the label to mimic button. Appears to scale correctly, not 100% sure though.
const padding = theme.spacing(3, 5);
return (
<Box
className="label"
sx={{
borderRadius: borderRadius,
border: `1px solid ${theme.palette.primary.lowContrast}`,
color: theme.palette.primary.contrastText,
padding: padding,
...styles,
}}
>
{children}
{label}
</Box>
);
};
BaseLabel.propTypes = {
label: PropTypes.string.isRequired,
styles: PropTypes.shape({
color: PropTypes.string,
backgroundColor: PropTypes.string,
}),
children: PropTypes.node,
};
// Produces a lighter color based on a hex color and a percent
// lightenColor("#067647", 20) will produce a color 20% lighter than #067647
const lightenColor = (color, percent) => {
let r = parseInt(color.substring(1, 3), 16);
let g = parseInt(color.substring(3, 5), 16);
let b = parseInt(color.substring(5, 7), 16);
const amt = Math.round((255 * percent) / 100);
r = r + amt <= 255 ? r + amt : 255;
g = g + amt <= 255 ? g + amt : 255;
b = b + amt <= 255 ? b + amt : 255;
r = r.toString(16).padStart(2, "0");
g = g.toString(16).padStart(2, "0");
b = b.toString(16).padStart(2, "0");
return `#${r}${g}${b}`;
};
/**
* @component
* @param {Object} props
* @param {string} props.label - The label of the label
* @param {string} props.color - The color of the label, specified in #RRGGBB format
* @returns {JSX.Element}
* @example
* // Render a red label
* <ColoredLabel label="Label" color="#FF0000" />
*/
const ColoredLabel = ({ label, color }) => {
const theme = useTheme();
// If an invalid color is passed, default to the labelGray color
if (typeof color !== "string" || !/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/.test(color)) {
color = theme.palette.primary.lowContrast;
}
// Calculate lighter shades for border and bg
const borderColor = lightenColor(color, 20);
const bgColor = lightenColor(color, 75);
return (
<BaseLabel
label={label}
styles={{
color: color,
borderColor: borderColor,
backgroundColor: bgColor,
}}
></BaseLabel>
);
};
ColoredLabel.propTypes = {
label: PropTypes.string.isRequired,
color: PropTypes.string.isRequired,
};
/**
* @component
* @param {Object} props
* @param { 'up' | 'down' | 'cannot resolve'} props.status - The status for the label
* @param {string} props.text - The text of the label
* @returns {JSX.Element}
* @example
* // Render an active label
* <StatusLabel status="up" text="Active" />
*/
const statusToTheme = {
up: "success",
down: "error",
paused: "warning",
pending: "warning",
"cannot resolve": "error",
};
const StatusLabel = ({ status, text, customStyles }) => {
const theme = useTheme();
const themeColor = statusToTheme[status];
return (
<BaseLabel
label={text}
styles={{
color: theme.palette[themeColor].main,
borderColor: theme.palette[themeColor].lowContrast,
...customStyles,
}}
>
<Box
width={7}
height={7}
bgcolor={theme.palette[themeColor].lowContrast}
borderRadius="50%"
marginRight="5px"
/>
</BaseLabel>
);
};
StatusLabel.propTypes = {
status: PropTypes.oneOf(["up", "down", "paused", "pending", "cannot resolve"]),
text: PropTypes.string,
customStyles: PropTypes.object,
};
export { BaseLabel, ColoredLabel, StatusLabel };
@@ -1,45 +0,0 @@
.home-layout {
position: relative;
min-height: 100vh;
max-width: 1400px;
margin: 0 auto;
padding: var(--env-var-spacing-2);
}
/* TODO go for this approach for responsiveness. The aside needs to be taken care of */
/* @media (max-width: 1000px) {
.home-layout {
flex-direction: column !important;
}
} */
.home-layout aside {
position: sticky;
top: var(--env-var-spacing-2);
left: 0;
height: calc(100vh - var(--env-var-spacing-2) * 2);
max-width: var(--env-var-side-bar-width);
}
.home-layout > div {
min-height: calc(100vh - var(--env-var-spacing-2) * 2);
flex: 1;
}
.home-layout > div:has(> [class*="fallback__"]) .background-pattern-svg {
position: absolute;
top: 0;
left: 50%;
transform: translate(-50%, -50%);
z-index: 0;
width: 100%;
max-width: 800px;
height: 100%;
max-height: 800px;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
@@ -1,20 +0,0 @@
import Sidebar from "../../Sidebar";
import { Outlet } from "react-router";
import { Stack } from "@mui/material";
import "./index.css";
const HomeLayout = () => {
return (
<Stack
className="home-layout"
flexDirection="row"
gap={14}
>
<Sidebar />
<Outlet />
</Stack>
);
};
export default HomeLayout;
-62
View File
@@ -1,62 +0,0 @@
import { Link as MuiLink, useTheme } from "@mui/material";
import PropTypes from "prop-types";
/**
* @component
* @param {Object} props
* @param {'primary' | 'secondary' | 'tertiary' | 'error'} props.level - The level of the link
* @param {string} props.label - The label of the link
* @param {string} props.url - The URL of the link
* @returns {JSX.Element}
*/
const Link = ({ level, label, url }) => {
const theme = useTheme();
const levelConfig = {
primary: {},
secondary: {
color: theme.palette.primary.contrastTextSecondary,
sx: {
":hover": {
color: theme.palette.primary.contrastTextSecondary,
},
},
},
tertiary: {
color: theme.palette.primary.contrastTextTertiary,
sx: {
textDecoration: "underline",
textDecorationStyle: "dashed",
textDecorationColor: theme.palette.primary.main,
textUnderlineOffset: "1px",
":hover": {
color: theme.palette.primary.contrastTextTertiary,
textDecorationColor: theme.palette.primary.main,
backgroundColor: theme.palette.primary.lowContrast,
},
},
},
error: {},
};
const { sx, color } = levelConfig[level];
return (
<MuiLink
href={url}
sx={{ width: "fit-content", ...sx }}
color={color}
target="_blank"
rel="noreferrer"
>
{label}
</MuiLink>
);
};
Link.propTypes = {
url: PropTypes.string.isRequired,
level: PropTypes.oneOf(["primary", "secondary", "tertiary", "error"]),
label: PropTypes.string.isRequired,
};
export default Link;
View File
Whitespace-only changes.
@@ -1,10 +0,0 @@
.progress-bar-container h2.MuiTypography-root,
.progress-bar-container p.MuiTypography-root {
font-size: var(--env-var-font-size-medium);
}
.progress-bar-container p.MuiTypography-root:has(span) {
font-size: 12px;
}
.progress-bar-container p.MuiTypography-root span {
padding-left: 2px;
}
@@ -1,178 +0,0 @@
import { useTheme } from "@emotion/react";
import PropTypes from "prop-types";
import { Box, IconButton, LinearProgress, Stack, Typography } from "@mui/material";
import CloseIcon from "@mui/icons-material/Close";
import ErrorOutlineOutlinedIcon from "@mui/icons-material/ErrorOutlineOutlined";
import "./index.css";
/**
* @param {Object} props - The component props.
* @param {JSX.Element} props.icon - The icon element to display (optional).
* @param {string} props.label - The label text for the progress item.
* @param {string} props.size - The size information for the progress item.
* @param {number} props.progress - The current progress value (0-100).
* @param {function} props.onClick - The function to handle click events on the remove button.
* @param {string} props.error - Error message to display if there's an error (optional).
* @returns {JSX.Element} The rendered component.
*/
const ProgressUpload = ({ icon, label, size, progress = 0, onClick, error }) => {
const theme = useTheme();
return (
<Box
className="progress-bar-container"
mt={theme.spacing(10)}
p={theme.spacing(8)}
sx={{
minWidth: "200px",
height: "fit-content",
borderRadius: theme.shape.borderRadius,
border: 1,
borderColor: theme.palette.primary.lowContrast,
backgroundColor: theme.palette.primary.lowContrast,
"&:has(.input-error)": {
borderColor: theme.palette.error.main,
backgroundColor: theme.palette.error.lowContrast,
py: theme.spacing(4),
px: theme.spacing(8),
"& > .MuiStack-root > svg": {
fill: theme.palette.error.contrastText,
width: "20px",
height: "20px",
},
},
}}
>
<Stack
direction="row"
mb={error ? 0 : theme.spacing(5)}
gap={theme.spacing(5)}
alignItems={error ? "center" : "flex-start"}
>
{error ? (
<ErrorOutlineOutlinedIcon />
) : icon ? (
<Box
sx={{
position: "relative",
height: 30,
minWidth: 30,
border: 1,
borderColor: theme.palette.primary.lowContrast,
borderRadius: 2,
backgroundColor: theme.palette.primary.main,
"& svg": {
position: "absolute",
top: "50%",
left: "50%",
transform: "translate(-50%, -50%)",
width: 23,
height: 23,
"& path": {
fill: theme.palette.primary.contrastTextTertiary,
},
},
}}
>
{icon}
</Box>
) : (
""
)}
{error ? (
<Typography
component="p"
className="input-error"
color={theme.palette.error.contrastText}
>
{error}
</Typography>
) : (
<Box color={theme.palette.primary.contrastTextTertiary}>
<Typography
component="h2"
mb={theme.spacing(1.5)}
>
{error ? error : label}
</Typography>
<Typography
component="p"
sx={{ opacity: 0.6 }}
>
{!error && size}
</Typography>
</Box>
)}
<IconButton
onClick={onClick}
sx={
!error
? {
alignSelf: "flex-start",
ml: "auto",
mr: theme.spacing(-2.5),
mt: theme.spacing(-2.5),
padding: theme.spacing(2.5),
"&:focus": {
outline: "none",
},
}
: {
ml: "auto",
"&:focus": {
outline: "none",
},
}
}
>
<CloseIcon
sx={{
fontSize: "20px",
}}
/>
</IconButton>
</Stack>
{!error ? (
<Stack
direction="row"
alignItems="center"
>
<Box sx={{ width: "100%", mr: theme.spacing(5) }}>
<LinearProgress
variant="determinate"
value={progress}
sx={{
width: "100%",
height: "10px",
borderRadius: theme.shape.borderRadius,
maxWidth: "500px",
backgroundColor: theme.palette.primary.lowContrast,
}}
/>
</Box>
<Typography
component="p"
sx={{ minWidth: "max-content", opacity: 0.6 }}
>
{progress}
<span>%</span>
</Typography>
</Stack>
) : (
""
)}
</Box>
);
};
ProgressUpload.propTypes = {
icon: PropTypes.element, // JSX element for the icon (optional)
label: PropTypes.string.isRequired, // Label text for the progress item
size: PropTypes.string.isRequired, // Size information for the progress item
progress: PropTypes.number.isRequired, // Current progress value (0-100)
onClick: PropTypes.func.isRequired, // Function to handle click events on the remove button
error: PropTypes.string, // Error message to display if there's an error (optional)
};
export default ProgressUpload;
Whitespace-only changes.
@@ -1,67 +0,0 @@
import React from "react";
import { Step, Stepper, StepLabel, Typography } from "@mui/material";
import RadioButtonCheckedIcon from "@mui/icons-material/RadioButtonChecked";
import CheckCircle from "@mui/icons-material/CheckCircle";
import PropTypes from "prop-types";
const CustomStepIcon = (props) => {
const { completed, active } = props;
return completed ? (
<CheckCircle color="accent" />
) : (
<RadioButtonCheckedIcon color={active ? "accent" : "disabled"} />
);
};
CustomStepIcon.propTypes = {
completed: PropTypes.bool.isRequired,
active: PropTypes.bool.isRequired,
};
/**
* @component
* @param {Object} props
* @param {Array} props.steps
*/
const ProgressStepper = ({ steps }) => {
const [activeStep, setActiveStep] = React.useState(1);
return (
<Stepper
activeStep={activeStep}
alternativeLabel
>
{steps.map((step, index) => {
const color = activeStep === index ? "primary" : "inherit";
return (
<Step
key={step.label}
onClick={() => setActiveStep(index)}
>
<StepLabel StepIconComponent={CustomStepIcon}>
<Typography
variant="body1"
color={color}
sx={{ fontWeight: "bold" }}
>
{step.label}
</Typography>
</StepLabel>
<Typography
variant="body1"
color={color}
>
{step.content}
</Typography>
</Step>
);
})}
</Stepper>
);
};
ProgressStepper.propTypes = {
steps: PropTypes.array.isRequired,
};
export default ProgressStepper;
@@ -1,32 +0,0 @@
import { Navigate } from "react-router-dom";
import { useSelector } from "react-redux";
import PropTypes from "prop-types";
/**
* ProtectedRoute is a wrapper component that ensures only authenticated users
* can access the wrapped content. It checks authentication status (e.g., from Redux or Context).
* If the user is authenticated, it renders the children; otherwise, it redirects to the login page.
*
* @param {Object} props - The props passed to the ProtectedRoute component.
* @param {React.ReactNode} props.children - The children to render if the user is authenticated.
* @returns {React.ReactElement} The children wrapped in a protected route or a redirect to the login page.
*/
const ProtectedRoute = ({ children }) => {
const authState = useSelector((state) => state.auth);
return authState.authToken ? (
children
) : (
<Navigate
to="/login"
replace
/>
);
};
ProtectedRoute.propTypes = {
children: PropTypes.element.isRequired,
};
export default ProtectedRoute;
-95
View File
@@ -1,95 +0,0 @@
/* TODO */
aside .MuiList-root svg {
width: 20px;
height: 20px;
opacity: 0.9;
}
aside span.MuiTypography-root {
font-size: var(--env-var-font-size-medium);
line-height: 1;
}
aside .MuiStack-root + span.MuiTypography-root {
font-size: var(--env-var-font-size-medium-plus);
}
aside .MuiListSubheader-root {
font-size: var(--env-var-font-size-small);
font-weight: 500;
line-height: 1.5;
text-transform: uppercase;
margin-bottom: 2px;
opacity: 0.6;
}
aside p.MuiTypography-root {
font-size: var(--env-var-font-size-small);
opacity: 0.8;
}
aside .MuiListItemButton-root:not(.selected-path) > * {
opacity: 0.9;
}
aside .selected-path > * {
opacity: 1;
}
aside .selected-path span.MuiTypography-root {
font-weight: 600;
}
aside .MuiCollapse-wrapperInner .MuiList-root > .MuiListItemButton-root {
position: relative;
}
aside .MuiCollapse-wrapperInner .MuiList-root svg,
aside .MuiList-root .MuiListItemText-root + svg {
width: 18px;
height: 18px;
}
.sidebar-popup li.MuiButtonBase-root:has(.MuiBox-root) {
padding-bottom: 0;
}
.sidebar-popup svg {
width: 16px;
height: 16px;
opacity: 0.9;
}
/* TRANSITIONS */
aside {
flex: 1;
transition: max-width 650ms cubic-bezier(0.36, -0.01, 0, 0.77);
}
.home-layout aside.collapsed {
max-width: 64px;
}
aside.expanded .MuiTypography-root,
aside.expanded p.MuiTypography-root,
aside.expanded .MuiListItemText-root + svg,
aside.expanded .MuiAvatar-root + .MuiBox-root + .MuiIconButton-root {
visibility: visible;
animation: fadeIn 1s ease;
}
aside.collapsed .MuiTypography-root,
aside.collapsed p.MuiTypography-root,
aside.collapsed .MuiListItemText-root + svg,
aside.collapsed .MuiAvatar-root + .MuiBox-root + .MuiIconButton-root {
opacity: 0;
visibility: hidden;
}
aside .MuiListSubheader-root {
transition: padding 200ms ease;
}
@keyframes fadeIn {
0% {
opacity: 0;
visibility: hidden;
}
30% {
opacity: 0;
visibility: hidden;
}
100% {
opacity: 0.9;
visibility: visible;
}
}
-711
View File
@@ -1,711 +0,0 @@
import React, { useEffect, useState } from "react";
import {
Box,
Collapse,
Divider,
IconButton,
List,
ListItemButton,
ListItemIcon,
ListItemText,
ListSubheader,
Menu,
MenuItem,
Stack,
Tooltip,
Typography,
} from "@mui/material";
import { useLocation, useNavigate } from "react-router";
import { useTheme } from "@emotion/react";
import { useDispatch, useSelector } from "react-redux";
import { clearAuthState } from "../../Features/Auth/authSlice";
import { toggleSidebar } from "../../Features/UI/uiSlice";
import { clearUptimeMonitorState } from "../../Features/UptimeMonitors/uptimeMonitorsSlice";
import ThemeSwitch from "../ThemeSwitch";
import Avatar from "../Avatar";
import LockSvg from "../../assets/icons/lock.svg?react";
import UserSvg from "../../assets/icons/user.svg?react";
import TeamSvg from "../../assets/icons/user-two.svg?react";
import LogoutSvg from "../../assets/icons/logout.svg?react";
import Support from "../../assets/icons/support.svg?react";
import Account from "../../assets/icons/user-edit.svg?react";
import Maintenance from "../../assets/icons/maintenance.svg?react";
import Monitors from "../../assets/icons/monitors.svg?react";
import Incidents from "../../assets/icons/incidents.svg?react";
import Integrations from "../../assets/icons/integrations.svg?react";
import PageSpeed from "../../assets/icons/page-speed.svg?react";
import Settings from "../../assets/icons/settings.svg?react";
import ArrowDown from "../../assets/icons/down-arrow.svg?react";
import ArrowUp from "../../assets/icons/up-arrow.svg?react";
import ArrowRight from "../../assets/icons/right-arrow.svg?react";
import ArrowLeft from "../../assets/icons/left-arrow.svg?react";
import DotsVertical from "../../assets/icons/dots-vertical.svg?react";
import ChangeLog from "../../assets/icons/changeLog.svg?react";
import Docs from "../../assets/icons/docs.svg?react";
import Folder from "../../assets/icons/folder.svg?react";
import ChatBubbleOutlineRoundedIcon from "@mui/icons-material/ChatBubbleOutlineRounded";
import "./index.css";
const menu = [
{ name: "Uptime", path: "uptime", icon: <Monitors /> },
{ name: "Pagespeed", path: "pagespeed", icon: <PageSpeed /> },
{ name: "Infrastructure", path: "infrastructure", icon: <Integrations /> },
{ name: "Incidents", path: "incidents", icon: <Incidents /> },
// { name: "Status pages", path: "status", icon: <StatusPages /> },
{ name: "Maintenance", path: "maintenance", icon: <Maintenance /> },
// { name: "Integrations", path: "integrations", icon: <Integrations /> },
{
name: "Account",
icon: <Account />,
nested: [
{ name: "Profile", path: "account/profile", icon: <UserSvg /> },
{ name: "Password", path: "account/password", icon: <LockSvg /> },
{ name: "Team", path: "account/team", icon: <TeamSvg /> },
],
},
{
name: "Settings",
icon: <Settings />,
path: "settings",
},
{
name: "Other",
icon: <Folder />,
nested: [
{ name: "Support", path: "support", icon: <Support /> },
{
name: "Discussions",
path: "discussions",
icon: <ChatBubbleOutlineRoundedIcon />,
},
{ name: "Docs", path: "docs", icon: <Docs /> },
{ name: "Changelog", path: "changelog", icon: <ChangeLog /> },
],
},
];
/* TODO this could be a key in nested Path would be the link */
const URL_MAP = {
support: "https://discord.com/invite/NAb6H3UTjK",
discussions: "https://github.com/bluewave-labs/checkmate/discussions",
docs: "https://bluewavelabs.gitbook.io/checkmate",
changelog: "https://github.com/bluewave-labs/bluewave-uptime/releases",
};
const PATH_MAP = {
monitors: "Dashboard",
pagespeed: "Dashboard",
infrastructure: "Dashboard",
account: "Account",
settings: "Settings",
};
/**
* @component
* Sidebar component serves as a sidebar containing a menu.
*
* @returns {JSX.Element} The JSX element representing the Sidebar component.
*/
function Sidebar() {
const theme = useTheme();
const navigate = useNavigate();
const location = useLocation();
const dispatch = useDispatch();
const authState = useSelector((state) => state.auth);
const collapsed = useSelector((state) => state.ui.sidebar.collapsed);
const [open, setOpen] = useState({ Dashboard: false, Account: false, Other: false });
const [anchorEl, setAnchorEl] = useState(null);
const [popup, setPopup] = useState();
const { user } = useSelector((state) => state.auth);
const accountMenuItem = menu.find((item) => item.name === "Account");
if (user.role?.includes("demo") && accountMenuItem) {
accountMenuItem.nested = accountMenuItem.nested.filter((item) => {
return item.name !== "Password";
});
}
const openPopup = (event, id) => {
setAnchorEl(event.currentTarget);
setPopup(id);
};
const closePopup = () => {
setAnchorEl(null);
};
/**
* Handles logging out the user
*
*/
const logout = async () => {
// Clear auth state
dispatch(clearAuthState());
dispatch(clearUptimeMonitorState());
navigate("/login");
};
useEffect(() => {
const matchedKey = Object.keys(PATH_MAP).find((key) =>
location.pathname.includes(key)
);
if (matchedKey) {
setOpen((prev) => ({ ...prev, [PATH_MAP[matchedKey]]: true }));
}
}, [location]);
const iconColor = theme.palette.primary.contrastTextTertiary;
/* TODO refactor this, there are a some ternaries and comments in the return */
return (
<Stack
component="aside"
className={collapsed ? "collapsed" : "expanded"}
/* TODO general padding should be here */
py={theme.spacing(6)}
gap={theme.spacing(6)}
/* TODO set all style in this sx if possible (when general)
This is the top lever for styles
*/
sx={{
border: 1,
borderColor: theme.palette.primary.lowContrast,
borderRadius: theme.shape.borderRadius,
"& :is(p, span, .MuiListSubheader-root)": {
/*
Text color for unselected menu items and menu headings
Secondary contrast text against main background
*/
color: theme.palette.primary.contrastTextSecondary,
},
"& .MuiList-root svg path": {
/* Menu Icons */
stroke: iconColor,
},
"& .selected-path": {
/* Selected menu item */
backgroundColor: theme.palette.secondary.main,
"&:hover": {
backgroundColor: theme.palette.secondary.main,
},
"& .MuiListItemIcon-root svg path": {
/* Selected menu item icon */
stroke: theme.palette.secondary.contrastText,
},
"& .MuiListItemText-root :is(p, span)": {
/* Selected menu item text */
color: theme.palette.secondary.contrastText,
},
},
"& .MuiListItemButton-root:not(.selected-path)": {
transition: "background-color .3s",
" &:hover": {
/* Hovered menu item bg color */
backgroundColor: theme.palette.tertiary.main,
"& :is(p, span)": {
/* Hovered menu item text color */
color: theme.palette.tertiary.contrastText,
},
},
},
}}
>
<IconButton
sx={{
position: "absolute",
/* TODO 60 is a magic number. if logo chnges size this might break */
top: 60,
right: 0,
transform: `translate(50%, 0)`,
backgroundColor: theme.palette.tertiary.main,
border: 1,
borderColor: theme.palette.primary.lowContrast,
p: theme.spacing(2.5),
"& svg": {
width: theme.spacing(8),
height: theme.spacing(8),
"& path": {
/* TODO this should be set at the top level if possible */
stroke: theme.palette.primary.contrastTextSecondary,
},
},
"&:focus": { outline: "none" },
"&:hover": {
backgroundColor: theme.palette.primary.lowContrast,
borderColor: theme.palette.primary.lowContrast,
},
}}
onClick={() => {
setOpen((prev) =>
Object.fromEntries(Object.keys(prev).map((key) => [key, false]))
);
dispatch(toggleSidebar());
}}
>
{collapsed ? <ArrowRight /> : <ArrowLeft />}
</IconButton>
{/* TODO Alignment done using padding. Use single source of truth to that*/}
<Stack
pt={theme.spacing(6)}
pb={theme.spacing(12)}
pl={theme.spacing(8)}
>
{/* TODO Abstract logo into component */}
{/* TODO Turn logo into a link */}
<Stack
direction="row"
alignItems="center"
gap={theme.spacing(4)}
onClick={() => navigate("/")}
sx={{ cursor: "pointer" }}
>
<Stack
justifyContent="center"
alignItems="center"
minWidth={theme.spacing(16)}
minHeight={theme.spacing(16)}
pl="1px"
fontSize={18}
color={theme.palette.accent.contrastText}
sx={{
position: "relative",
backgroundColor: theme.palette.accent.main,
color: theme.palette.accent.contrastText,
borderRadius: theme.shape.borderRadius,
userSelect: "none",
}}
>
C
</Stack>
<Typography
component="span"
mt={theme.spacing(2)}
sx={{ opacity: 0.8, fontWeight: 500 }}
>
Checkmate
</Typography>
</Stack>
</Stack>
<List
component="nav"
aria-labelledby="nested-menu-subheader"
disablePadding
subheader={
<ListSubheader
component="div"
id="nested-menu-subheader"
sx={{
py: theme.spacing(4),
/* TODO px should be centralized in container */
px: collapsed ? theme.spacing(2) : theme.spacing(4),
backgroundColor: "transparent",
}}
>
Menu
</ListSubheader>
}
sx={{
px: theme.spacing(6),
height: "100%",
/* overflow: "hidden", */
}}
>
{menu.map((item) =>
item.path ? (
/* If item has a path */
<Tooltip
key={item.path}
placement="right"
title={collapsed ? item.name : ""}
slotProps={{
popper: {
modifiers: [
{
name: "offset",
options: {
offset: [0, -16],
},
},
],
},
}}
disableInteractive
>
<ListItemButton
className={location.pathname.includes(item.path) ? "selected-path" : ""}
onClick={() => navigate(`/${item.path}`)}
sx={{
/*
TODO we do not need this height
minHeight: "37px", */
p: theme.spacing(5),
gap: theme.spacing(4),
borderRadius: theme.shape.borderRadius,
}}
>
<ListItemIcon sx={{ minWidth: 0 }}>{item.icon}</ListItemIcon>
<ListItemText>{item.name}</ListItemText>
</ListItemButton>
</Tooltip>
) : collapsed ? (
/* TODO Do we ever get here? If item does not have a path and collapsed state is true */
<React.Fragment key={item.name}>
<Tooltip
placement="right"
title={collapsed ? item.name : ""}
slotProps={{
popper: {
modifiers: [
{
name: "offset",
options: {
offset: [0, -16],
},
},
],
},
}}
disableInteractive
>
<ListItemButton
className={
Boolean(anchorEl) && popup === item.name ? "selected-path" : ""
}
onClick={(event) => openPopup(event, item.name)}
sx={{
position: "relative",
gap: theme.spacing(4),
borderRadius: theme.shape.borderRadius,
px: theme.spacing(4),
}}
>
<ListItemIcon sx={{ minWidth: 0 }}>{item.icon}</ListItemIcon>
<ListItemText>{item.name}</ListItemText>
</ListItemButton>
</Tooltip>
<Menu
className="sidebar-popup"
anchorEl={anchorEl}
open={Boolean(anchorEl) && popup === item.name}
onClose={closePopup}
disableScrollLock
anchorOrigin={{
vertical: "top",
horizontal: "right",
}}
slotProps={{
paper: {
sx: {
mt: theme.spacing(-2),
ml: theme.spacing(1),
},
},
}}
MenuListProps={{ sx: { px: 1, py: 2 } }}
sx={{
ml: theme.spacing(8),
/* TODO what is this selection? */
"& .selected-path": {
backgroundColor: theme.palette.tertiary.main,
},
}}
>
{item.nested.map((child) => {
if (
child.name === "Team" &&
authState.user?.role &&
!authState.user.role.includes("superadmin")
) {
return null;
}
return (
<MenuItem
className={
location.pathname.includes(child.path) ? "selected-path" : ""
}
key={child.path}
onClick={() => {
const url = URL_MAP[child.path];
if (url) {
window.open(url, "_blank", "noreferrer");
} else {
navigate(`/${child.path}`);
}
closePopup();
}}
sx={{
gap: theme.spacing(4),
opacity: 0.9,
/* TODO this has no effect? */
"& svg": {
"& path": {
stroke: theme.palette.primary.contrastTextTertiary,
strokeWidth: 1.1,
},
},
}}
>
{child.icon}
{child.name}
</MenuItem>
);
})}
</Menu>
</React.Fragment>
) : (
/* TODO Do we ever get here? If item does not have a path and collapsed state is false */
<React.Fragment key={item.name}>
<ListItemButton
onClick={() =>
setOpen((prev) => ({
...Object.fromEntries(Object.keys(prev).map((key) => [key, false])),
[item.name]: !prev[item.name],
}))
}
sx={{
gap: theme.spacing(4),
borderRadius: theme.shape.borderRadius,
px: theme.spacing(4),
}}
>
<ListItemIcon sx={{ minWidth: 0 }}>{item.icon}</ListItemIcon>
<ListItemText>{item.name}</ListItemText>
{open[`${item.name}`] ? <ArrowUp /> : <ArrowDown />}
</ListItemButton>
<Collapse
in={open[`${item.name}`]}
timeout="auto"
>
<List
component="div"
disablePadding
sx={{ pl: theme.spacing(12) }}
>
{item.nested.map((child) => {
if (
child.name === "Team" &&
authState.user?.role &&
!authState.user.role.includes("superadmin")
) {
return null;
}
return (
<ListItemButton
className={
location.pathname.includes(child.path) ? "selected-path" : ""
}
key={child.path}
onClick={() => {
const url = URL_MAP[child.path];
if (url) {
window.open(url, "_blank", "noreferrer");
} else {
navigate(`/${child.path}`);
}
}}
sx={{
gap: theme.spacing(4),
borderRadius: theme.shape.borderRadius,
pl: theme.spacing(4),
"&::before": {
content: `""`,
position: "absolute",
top: 0,
left: "-7px",
height: "100%",
borderLeft: 1,
borderLeftColor: theme.palette.primary.lowContrast,
},
"&:last-child::before": {
height: "50%",
},
"&::after": {
content: `""`,
position: "absolute",
top: "45%",
left: "-8px",
height: "3px",
width: "3px",
borderRadius: "50%",
backgroundColor: theme.palette.primary.lowContrast,
},
"&.selected-path::after": {
/* TODO what is this selector doing? */
backgroundColor: theme.palette.primary.contrastTextTertiary,
transform: "scale(1.2)",
},
}}
>
<ListItemIcon sx={{ minWidth: 0 }}>{child.icon}</ListItemIcon>
<ListItemText>{child.name}</ListItemText>
</ListItemButton>
);
})}
</List>
</Collapse>
</React.Fragment>
)
)}
</List>
<Divider sx={{ mt: "auto" }} />
<Stack
direction="row"
height="50px"
alignItems="center"
py={theme.spacing(4)}
px={theme.spacing(8)}
gap={theme.spacing(2)}
borderRadius={theme.shape.borderRadius}
>
{collapsed ? (
<>
<Tooltip
title="Options"
slotProps={{
popper: {
modifiers: [
{
name: "offset",
options: {
offset: [0, -10],
},
},
],
},
}}
disableInteractive
>
<IconButton
onClick={(event) => openPopup(event, "logout")}
sx={{ p: 0, "&:focus": { outline: "none" } }}
>
<Avatar small={true} />
</IconButton>
</Tooltip>
</>
) : (
<>
<Avatar small={true} />
<Box ml={theme.spacing(2)}>
<Typography
component="span"
fontWeight={500}
>
{authState.user?.firstName} {authState.user?.lastName}
</Typography>
<Typography sx={{ textTransform: "capitalize" }}>
{authState.user?.role}
</Typography>
</Box>
<Stack
flexDirection={"row"}
marginLeft={"auto"}
columnGap={theme.spacing(2)}
>
<ThemeSwitch color={iconColor} />
<Tooltip
title="Controls"
disableInteractive
>
<IconButton
sx={{
ml: "auto",
mr: "-8px",
"&:focus": { outline: "none" },
alignSelf: "center",
padding: "10px",
"& svg": {
width: "22px",
height: "22px",
},
"& svg path": {
/* Vertical three dots */
stroke: iconColor,
},
}}
onClick={(event) => openPopup(event, "logout")}
>
<DotsVertical />
</IconButton>
</Tooltip>
</Stack>
</>
)}
<Menu
className="sidebar-popup"
anchorEl={anchorEl}
open={Boolean(anchorEl) && popup === "logout"}
onClose={closePopup}
disableScrollLock
anchorOrigin={{
vertical: "top",
horizontal: "right",
}}
slotProps={{
paper: {
sx: {
marginTop: theme.spacing(-4),
marginLeft: collapsed ? theme.spacing(2) : 0,
},
},
}}
MenuListProps={{
sx: {
p: 2,
"& li": { m: 0 },
"& li:has(.MuiBox-root):hover": {
backgroundColor: "transparent",
},
},
}}
sx={{
ml: theme.spacing(8),
}}
>
{collapsed && (
<MenuItem sx={{ cursor: "default", minWidth: "150px" }}>
<Box mb={theme.spacing(2)}>
<Typography
component="span"
fontWeight={500}
fontSize={13}
>
{authState.user?.firstName} {authState.user?.lastName}
</Typography>
<Typography sx={{ textTransform: "capitalize", fontSize: 12 }}>
{authState.user?.role}
</Typography>
</Box>
</MenuItem>
)}
{/* TODO Do we need two dividers? */}
{collapsed && <Divider />}
<Divider />
<MenuItem
onClick={logout}
sx={{
gap: theme.spacing(4),
borderRadius: theme.shape.borderRadius,
pl: theme.spacing(4),
"& svg path": {
stroke: iconColor,
},
}}
>
<LogoutSvg />
Log out
</MenuItem>
</Menu>
</Stack>
</Stack>
);
}
export default Sidebar;
-112
View File
@@ -1,112 +0,0 @@
import { Box, Typography } from "@mui/material";
import { useTheme } from "@mui/material/styles";
import PropTypes from "prop-types";
import useUtils from "../../Pages/Uptime/utils";
/**
* StatBox Component
*
* A reusable component that displays a statistic with a heading and subheading
* in a styled box with a gradient background.
*
* @component
* @param {Object} props - The component props
* @param {string} props.heading - The primary heading/title of the statistic
* @param {string|React.ReactNode} props.subHeading - The value or description of the statistic
* @param {boolean} [props.gradient=false] - Determines if the box should have a gradient background
* @param {string} [props.status] - The status of the statistic
* @param {Object} [props.sx] - Additional custom styling to be applied to the box
*
* @example
* return (
* <StatBox
* heading="Total Users"
* subHeading="1,234"
* sx={{ width: 300 }}
* />
* )
*
* @returns {React.ReactElement} A styled box containing the statistic
*/
const StatBox = ({ heading, subHeading, gradient = false, status = "", sx }) => {
const theme = useTheme();
const { statusToTheme } = useUtils();
const themeColor = statusToTheme[status];
const statusBoxStyles = gradient
? {
background: `linear-gradient(to bottom right, ${theme.palette[themeColor].main} 30%, ${theme.palette[themeColor].lowContrast} 70%)`,
borderColor: theme.palette[themeColor].lowContrast,
}
: {
background: `linear-gradient(340deg, ${theme.palette.tertiary.main} 20%, ${theme.palette.primary.main} 45%)`,
borderColor: theme.palette.primary.lowContrast,
};
const headingStyles = gradient
? {
color: theme.palette[themeColor].contrastText,
}
: {
color: theme.palette.primary.contrastTextSecondary,
};
const spanFixedStyles = { marginLeft: theme.spacing(2), fontSize: 15 };
const detailTextStyles = gradient
? {
color: theme.palette[themeColor].contrastText,
"& span": {
color: theme.palette[themeColor].contrastText,
...spanFixedStyles,
},
}
: {
color: theme.palette.primary.contrastText,
"& span": {
color: theme.palette.primary.contrastTextTertiary,
...spanFixedStyles,
},
};
return (
<Box
sx={{
padding: `${theme.spacing(4)} ${theme.spacing(8)}`,
/* TODO why are we using width and min width here? */
minWidth: 200,
width: 225,
border: 1,
borderStyle: "solid",
borderRadius: 4,
...statusBoxStyles,
"& h2": {
/* TODO font size should come from theme */
fontSize: 13,
fontWeight: 500,
textTransform: "uppercase",
...headingStyles,
},
"& p": {
fontSize: 18,
marginTop: theme.spacing(2),
...detailTextStyles,
},
...sx,
}}
>
<Typography component="h2">{heading}</Typography>
<Typography>{subHeading}</Typography>
</Box>
);
};
StatBox.propTypes = {
heading: PropTypes.string.isRequired,
subHeading: PropTypes.node.isRequired,
gradient: PropTypes.bool,
status: PropTypes.string,
sx: PropTypes.object,
};
export default StatBox;
@@ -1,256 +0,0 @@
import TabPanel from "@mui/lab/TabPanel";
import { useState } from "react";
import { useTheme } from "@emotion/react";
import { Box, Stack, Typography } from "@mui/material";
import LoadingButton from "@mui/lab/LoadingButton";
import { PasswordEndAdornment } from "../../Inputs/TextInput/Adornments";
import TextInput from "../../Inputs/TextInput";
import { credentials } from "../../../Validation/validation";
import Alert from "../../Alert";
import { update } from "../../../Features/Auth/authSlice";
import { useDispatch, useSelector } from "react-redux";
import { createToast } from "../../../Utils/toastUtils";
import { getTouchedFieldErrors } from "../../../Validation/error";
const defaultPasswordsState = {
password: "",
newPassword: "",
confirm: "",
};
/**
* PasswordPanel component manages the form for editing password.
*
* @returns {JSX.Element}
*/
const PasswordPanel = () => {
const theme = useTheme();
const dispatch = useDispatch();
const SPACING_GAP = theme.spacing(12);
//redux state
const { authToken, isLoading } = useSelector((state) => state.auth);
const idToName = {
"edit-current-password": "password",
"edit-new-password": "newPassword",
"edit-confirm-password": "confirm",
};
const [localData, setLocalData] = useState(defaultPasswordsState);
const [errors, setErrors] = useState(defaultPasswordsState);
const [touchedFields, setTouchedFields] = useState({
password: false,
newPassword: false,
confirm: false,
});
const handleChange = (event) => {
const { value, id } = event.target;
const name = idToName[id];
const updatedData = {
...localData,
[name]: value,
};
const updatedTouchedFields = {
...touchedFields,
[name]: true,
};
const validation = credentials.validate(
{ ...updatedData },
{ abortEarly: false, context: { password: updatedData.newPassword } }
);
const updatedErrors = getTouchedFieldErrors(validation, updatedTouchedFields);
if (!touchedFields[name]) {
setTouchedFields(updatedTouchedFields);
}
setLocalData(updatedData);
setErrors(updatedErrors);
};
const handleSubmit = async (event) => {
event.preventDefault();
const { error } = credentials.validate(localData, {
abortEarly: false,
context: { password: localData.newPassword },
});
if (error) {
const newErrors = {};
error.details.forEach((err) => {
newErrors[err.path[0]] = err.message;
});
setErrors(newErrors);
} else {
const action = await dispatch(update({ authToken, localData }));
if (action.payload.success) {
createToast({
body: "Your password was changed successfully.",
});
setLocalData({
password: "",
newPassword: "",
confirm: "",
});
} else {
// TODO: Check for other errors?
createToast({
body: "Your password input was incorrect.",
});
setErrors({ password: "*" + action.payload.msg + "." });
}
}
};
return (
<TabPanel
value="password"
sx={{
"& h1, & input": {
color: theme.palette.primary.contrastTextTertiary,
},
}}
>
<Stack
component="form"
onSubmit={handleSubmit}
noValidate
spellCheck="false"
gap={theme.spacing(26)}
maxWidth={"80ch"} // Keep maxWidth
>
<TextInput
type="text"
id="hidden-username"
name="username"
autoComplete="username"
hidden={true}
value=""
/>
<Stack
direction="row"
justifyContent={"flex-start"}
alignItems={"center"}
gap={SPACING_GAP}
flexWrap={"wrap"}
>
<Typography
component="h1"
width="20ch"
>
Current password
</Typography>
<TextInput
type="password"
id="edit-current-password"
placeholder="Enter your current password"
autoComplete="current-password"
value={localData.password}
onChange={handleChange}
error={errors[idToName["edit-current-password"]] ? true : false}
helperText={errors[idToName["edit-current-password"]]}
endAdornment={<PasswordEndAdornment />}
flex={1}
/>
</Stack>
<Stack
direction="row"
alignItems={"flex-start"}
gap={SPACING_GAP}
flexWrap={"wrap"}
>
<Typography
component="h1"
width="20ch"
>
New password
</Typography>
<TextInput
type="password"
id="edit-new-password"
placeholder="Enter your new password"
autoComplete="new-password"
value={localData.newPassword}
onChange={handleChange}
error={errors[idToName["edit-new-password"]] ? true : false}
helperText={errors[idToName["edit-new-password"]]}
endAdornment={<PasswordEndAdornment />}
flex={1}
/>
</Stack>
<Stack
direction="row"
alignItems={"flex-start"}
gap={SPACING_GAP}
flexWrap={"wrap"}
>
<Typography
component="h1"
width="20ch"
>
Confirm new password
</Typography>
<TextInput
type="password"
id="edit-confirm-password"
placeholder="Reenter your new password"
autoComplete="new-password"
value={localData.confirm}
onChange={handleChange}
error={errors[idToName["edit-confirm-password"]] ? true : false}
helperText={errors[idToName["edit-confirm-password"]]}
endAdornment={<PasswordEndAdornment />}
flex={1}
/>
</Stack>
{Object.keys(errors).length > 0 && (
<Box sx={{ maxWidth: "70ch" }}>
<Alert
variant="warning"
body="New password must contain at least 8 characters and must have at least one uppercase letter, one lowercase letter, one number and one special character."
/>
</Box>
)}
<Stack
direction="row"
justifyContent="flex-end"
>
<LoadingButton
variant="contained"
color="accent"
type="submit"
loading={isLoading}
loadingIndicator="Saving..."
disabled={
Object.keys(errors).length > 0 ||
Object.values(localData).filter((value) => value === "").length > 0
}
sx={{
px: theme.spacing(12),
mt: theme.spacing(20),
}}
>
Save
</LoadingButton>
</Stack>
</Stack>
</TabPanel>
);
};
PasswordPanel.propTypes = {
// No props are being passed to this component, hence no specific PropTypes are defined.
};
export default PasswordPanel;
@@ -1,476 +0,0 @@
import { useTheme } from "@emotion/react";
import { useRef, useState } from "react";
import TabPanel from "@mui/lab/TabPanel";
import { Box, Button, Divider, Stack, Typography } from "@mui/material";
import Avatar from "../../Avatar";
import TextInput from "../../Inputs/TextInput";
import ImageField from "../../Inputs/Image";
import { credentials, imageValidation } from "../../../Validation/validation";
import { useDispatch, useSelector } from "react-redux";
import { clearAuthState, deleteUser, update } from "../../../Features/Auth/authSlice";
import ImageIcon from "@mui/icons-material/Image";
import ProgressUpload from "../../ProgressBars";
import { formatBytes } from "../../../Utils/fileUtils";
import { clearUptimeMonitorState } from "../../../Features/UptimeMonitors/uptimeMonitorsSlice";
import { createToast } from "../../../Utils/toastUtils";
import { logger } from "../../../Utils/Logger";
import LoadingButton from "@mui/lab/LoadingButton";
import { GenericDialog } from "../../Dialog/genericDialog";
import Dialog from "../../Dialog";
/**
* ProfilePanel component displays a form for editing user profile information
* and allows for actions like updating profile picture, credentials,
* and deleting account.
*
* @returns {JSX.Element}
*/
const ProfilePanel = () => {
const theme = useTheme();
const dispatch = useDispatch();
const SPACING_GAP = theme.spacing(12);
//redux state
const { user, authToken, isLoading } = useSelector((state) => state.auth);
const idToName = {
"edit-first-name": "firstName",
"edit-last-name": "lastName",
// Disabled for now, will revisit in the future
// "edit-email": "email",
};
// Local state for form data, errors, and file handling
const [localData, setLocalData] = useState({
firstName: user.firstName,
lastName: user.lastName,
// email: user.email, // Disabled for now
});
const [errors, setErrors] = useState({});
const [file, setFile] = useState();
const intervalRef = useRef(null);
const [progress, setProgress] = useState({ value: 0, isLoading: false });
// Handles input field changes and performs validation
const handleChange = (event) => {
errors["unchanged"] && clearError("unchanged");
const { value, id } = event.target;
const name = idToName[id];
setLocalData((prev) => ({
...prev,
[name]: value,
}));
validateField({ [name]: value }, credentials, name);
};
// Handles image file
const handlePicture = (event) => {
const pic = event.target.files[0];
let error = validateField({ type: pic.type, size: pic.size }, imageValidation);
if (error) return;
setProgress((prev) => ({ ...prev, isLoading: true }));
setFile({
src: URL.createObjectURL(pic),
name: pic.name,
size: formatBytes(pic.size),
delete: false,
});
//TODO - potentitally remove, will revisit in the future
intervalRef.current = setInterval(() => {
const buffer = 12;
setProgress((prev) => {
if (prev.value + buffer >= 100) {
clearInterval(intervalRef.current);
return { value: 100, isLoading: false };
}
return { ...prev, value: prev.value + buffer };
});
}, 120);
};
// Validates input against provided schema and updates error state
const validateField = (toValidate, schema, name = "picture") => {
const { error } = schema.validate(toValidate, { abortEarly: false });
setErrors((prev) => {
const prevErrors = { ...prev };
if (error) prevErrors[name] = error.details[0].message;
else delete prevErrors[name];
return prevErrors;
});
if (error) return true;
};
// Clears specific error from errors state
const clearError = (err) => {
setErrors((prev) => {
const updatedErrors = { ...prev };
if (updatedErrors[err]) delete updatedErrors[err];
return updatedErrors;
});
};
// Resets picture-related states and clears interval
const removePicture = () => {
errors["picture"] && clearError("picture");
setFile({ delete: true });
clearInterval(intervalRef.current); // interrupt interval if image upload is canceled prior to completing the process
setProgress({ value: 0, isLoading: false });
};
// Opens the picture update modal
const openPictureModal = () => {
setIsOpen("picture");
setFile({ delete: localData.deleteProfileImage });
};
// Closes the picture update modal and resets related states
const closePictureModal = () => {
errors["picture"] && clearError("picture");
setFile(); //reset file
clearInterval(intervalRef.current); // interrupt interval if image upload is canceled prior to completing the process
setProgress({ value: 0, isLoading: false });
setIsOpen("");
};
// Updates profile image displayed on UI
const handleUpdatePicture = () => {
setProgress({ value: 0, isLoading: false });
setLocalData((prev) => ({
...prev,
file: file.src,
deleteProfileImage: false,
}));
setIsOpen("");
errors["unchanged"] && clearError("unchanged");
};
// Handles form submission to update user profile
const handleSaveProfile = async (event) => {
event.preventDefault();
if (
localData.firstName === user.firstName &&
localData.lastName === user.lastName &&
localData.deleteProfileImage === undefined &&
localData.file === undefined
) {
createToast({
body: "Unable to update profile — no changes detected.",
});
setErrors({ unchanged: "unable to update profile" });
return;
}
const action = await dispatch(update({ authToken, localData }));
if (action.payload.success) {
createToast({
body: "Your profile data was changed successfully.",
});
} else {
createToast({
body: "There was an error updating your profile data.",
});
}
};
// Removes current profile image from UI
const handleDeletePicture = () => {
setLocalData((prev) => ({
...prev,
deleteProfileImage: true,
}));
errors["unchanged"] && clearError("unchanged");
};
// Initiates the account deletion process
const handleDeleteAccount = async () => {
const action = await dispatch(deleteUser(authToken));
if (action.payload.success) {
dispatch(clearAuthState());
dispatch(clearUptimeMonitorState());
} else {
if (action.payload) {
// dispatch errors
createToast({
body: action.payload.msg,
});
} else {
// unknown errors
createToast({
body: "Unknown error.",
});
}
}
};
// Modal state and control functions
const [isOpen, setIsOpen] = useState("");
const isModalOpen = (name) => isOpen === name;
return (
<TabPanel
value="profile"
sx={{
"& h1, & p, & input": {
color: theme.palette.primary.contrastTextTertiary,
},
}}
>
<Stack
component="form"
className="edit-profile-form"
noValidate
spellCheck="false"
gap={SPACING_GAP}
>
<Stack
direction="row"
gap={SPACING_GAP}
>
{/* This 0.9 is a bit magic numbering, refactor */}
<Box flex={0.9}>
<Typography component="h1">First name</Typography>
</Box>
<TextInput
id="edit-first-name"
value={localData.firstName}
placeholder="Enter your first name"
autoComplete="given-name"
onChange={handleChange}
error={errors[idToName["edit-first-name"]] ? true : false}
helperText={errors[idToName["edit-first-name"]]}
flex={1}
/>
</Stack>
<Stack
direction="row"
gap={SPACING_GAP}
>
<Box flex={0.9}>
<Typography component="h1">Last name</Typography>
</Box>
<TextInput
id="edit-last-name"
placeholder="Enter your last name"
autoComplete="family-name"
value={localData.lastName}
onChange={handleChange}
error={errors[idToName["edit-last-name"]] ? true : false}
helperText={errors[idToName["edit-last-name"]]}
flex={1}
/>
</Stack>
<Stack
direction="row"
gap={SPACING_GAP}
>
<Stack flex={0.9}>
<Typography component="h1">Email</Typography>
<Typography
component="p"
sx={{ opacity: 0.6 }}
>
This is your current email address — it cannot be changed.
</Typography>
</Stack>
<TextInput
id="edit-email"
value={user.email}
placeholder="Enter your email"
autoComplete="email"
onChange={() => logger.warn("disabled")}
disabled={true}
flex={1}
/>
</Stack>
<Stack
direction="row"
gap={SPACING_GAP}
>
<Stack flex={0.9}>
<Typography component="h1">Your photo</Typography>
<Typography
component="p"
sx={{ opacity: 0.6 }}
>
This photo will be displayed in your profile page.
</Typography>
</Stack>
<Stack
direction="row"
alignItems="center"
flex={1}
gap={"8px"}
>
<Avatar
src={
localData?.deleteProfileImage
? "/static/images/avatar/2.jpg"
: localData?.file
? localData.file
: ""
}
sx={{ marginRight: "8px" }}
/>
<Button
variant="contained" // CAIO_REIVEW
color="error"
onClick={handleDeletePicture}
>
Delete
</Button>
<Button
variant="contained" // CAIO_REVIEW
color="accent"
onClick={openPictureModal}
>
Update
</Button>
</Stack>
</Stack>
<Divider
aria-hidden="true"
width="0"
sx={{
marginY: theme.spacing(1),
}}
/>
<Stack
direction="row"
justifyContent="flex-end"
>
<Box width="fit-content">
<LoadingButton
variant="contained"
color="accent"
onClick={handleSaveProfile}
loading={isLoading}
loadingIndicator="Saving..."
disabled={Object.keys(errors).length !== 0 && !errors?.picture && true}
sx={{ px: theme.spacing(12) }}
>
Save
</LoadingButton>
</Box>
</Stack>
</Stack>
<Divider
aria-hidden="true"
sx={{
marginY: theme.spacing(20),
borderColor: theme.palette.primary.lowContrast,
}}
/>
{!user.role.includes("demo") && (
<Box
component="form"
noValidate
spellCheck="false"
>
<Box mb={theme.spacing(6)}>
<Typography component="h1">Delete account</Typography>
<Typography
component="p"
sx={{ opacity: 0.6 }}
>
Note that deleting your account will remove all data from the server. This
is permanent and non-recoverable.
</Typography>
</Box>
<Button
variant="contained"
color="error"
onClick={() => setIsOpen("delete")}
>
Delete account
</Button>
</Box>
)}
<Dialog
open={isModalOpen("delete")}
theme={theme}
title={"Really delete this account?"}
description={
"If you delete your account, you will no longer be able to sign in, and all of your data will be deleted. Deleting your account is permanent and non-recoverable action."
}
onCancel={() => setIsOpen("")}
confirmationButtonLabel={"Delete account"}
onConfirm={handleDeleteAccount}
isLoading={isLoading}
/>
<GenericDialog
title={"Upload Image"}
open={isModalOpen("picture")}
onClose={closePictureModal}
theme={theme}
>
<ImageField
id="update-profile-picture"
src={
file?.delete
? ""
: file?.src
? file.src
: localData?.file
? localData.file
: user?.avatarImage
? `data:image/png;base64,${user.avatarImage}`
: ""
}
loading={progress.isLoading && progress.value !== 100}
onChange={handlePicture}
/>
{progress.isLoading || progress.value !== 0 || errors["picture"] ? (
<ProgressUpload
icon={<ImageIcon />}
label={file?.name}
size={file?.size}
progress={progress.value}
onClick={removePicture}
error={errors["picture"]}
/>
) : (
""
)}
<Stack
direction="row"
mt={theme.spacing(10)}
gap={theme.spacing(5)}
justifyContent="flex-end"
>
<Button
variant="text"
color="info"
onClick={removePicture}
>
Remove
</Button>
<Button
variant="contained"
color="accent"
onClick={handleUpdatePicture}
disabled={
(Object.keys(errors).length !== 0 && errors?.picture) ||
progress.value !== 100
? true
: false
}
>
Update
</Button>
</Stack>
</GenericDialog>
</TabPanel>
);
};
ProfilePanel.propTypes = {
// No props are being passed to this component, hence no specific PropTypes are defined.
};
export default ProfilePanel;
@@ -1,317 +0,0 @@
import { useTheme } from "@emotion/react";
import TabPanel from "@mui/lab/TabPanel";
import { Button, ButtonGroup, Stack, Typography } from "@mui/material";
import { useEffect, useState } from "react";
import TextInput from "../../Inputs/TextInput";
import { credentials } from "../../../Validation/validation";
import { networkService } from "../../../main";
import { createToast } from "../../../Utils/toastUtils";
import { useSelector } from "react-redux";
import Select from "../../Inputs/Select";
import LoadingButton from "@mui/lab/LoadingButton";
import { GenericDialog } from "../../Dialog/genericDialog";
import DataTable from "../../Table/";
/**
* TeamPanel component manages the organization and team members,
* providing functionalities like renaming the organization, managing team members,
* and inviting new members.
*
* @returns {JSX.Element}
*/
const TeamPanel = () => {
const theme = useTheme();
const SPACING_GAP = theme.spacing(12);
const { authToken } = useSelector((state) => state.auth);
const [toInvite, setToInvite] = useState({
email: "",
role: ["0"],
});
const [data, setData] = useState([]);
const [members, setMembers] = useState([]);
const [filter, setFilter] = useState("all");
const [isDisabled, setIsDisabled] = useState(true);
const [errors, setErrors] = useState({});
const [isSendingInvite, setIsSendingInvite] = useState(false);
const headers = [
{
id: "name",
content: "Name",
render: (row) => {
return (
<Stack>
<Typography color={theme.palette.primary.contrastTextSecondary}>
{row.firstName + " " + row.lastName}
</Typography>
<Typography>
Created {new Date(row.createdAt).toLocaleDateString()}
</Typography>
</Stack>
);
},
},
{ id: "email", content: "Email", render: (row) => row.email },
{
id: "role",
content: "Role",
render: (row) => row.role,
},
];
useEffect(() => {
const fetchTeam = async () => {
try {
const response = await networkService.getAllUsers({
authToken: authToken,
});
setMembers(response.data.data);
} catch (error) {
createToast({
body: error.message || "Error fetching team members.",
});
}
};
fetchTeam();
}, [authToken]);
useEffect(() => {
const ROLE_MAP = {
superadmin: "Super admin",
admin: "Admin",
user: "Team member",
demo: "Demo User",
};
let team = members;
if (filter !== "all")
team = members.filter((member) => {
if (filter === "admin") {
return member.role.includes("admin") || member.role.includes("superadmin");
}
return member.role.includes(filter);
});
team = team.map((member) => ({
...member,
id: member._id,
role: member.role.map((role) => ROLE_MAP[role]).join(","),
}));
setData(team);
}, [filter, members]);
useEffect(() => {
setIsDisabled(Object.keys(errors).length !== 0 || toInvite.email === "");
}, [errors, toInvite.email]);
const [isOpen, setIsOpen] = useState(false);
const handleChange = (event) => {
const { value } = event.target;
setToInvite((prev) => ({
...prev,
email: value,
}));
const validation = credentials.validate({ email: value }, { abortEarly: false });
setErrors((prev) => {
const updatedErrors = { ...prev };
if (validation.error) {
updatedErrors.email = validation.error.details[0].message;
} else {
delete updatedErrors.email;
}
return updatedErrors;
});
};
const handleInviteMember = async () => {
if (!toInvite.email) {
setErrors((prev) => ({ ...prev, email: "Email is required." }));
return;
}
setIsSendingInvite(true);
if (!toInvite.role.includes("user") || !toInvite.role.includes("admin"))
setToInvite((prev) => ({ ...prev, role: ["user"] }));
const { error } = credentials.validate(
{ email: toInvite.email },
{
abortEarly: false,
}
);
if (error) {
setErrors((prev) => ({ ...prev, email: error.details[0].message }));
return;
}
try {
await networkService.requestInvitationToken({
authToken: authToken,
email: toInvite.email,
role: toInvite.role,
});
closeInviteModal();
createToast({
body: "Member invited. They will receive an email with details on how to create their account.",
});
} catch (error) {
createToast({
body: error.message || "Unknown error.",
});
} finally {
setIsSendingInvite(false);
}
};
const closeInviteModal = () => {
setIsOpen(false);
setToInvite({ email: "", role: ["0"] });
setErrors({});
};
return (
<TabPanel
className="team-panel table-container"
value="team"
sx={{
"& h1": {
color: theme.palette.primary.contrastTextTertiary,
},
"& .MuiTable-root .MuiTableBody-root .MuiTableCell-root, & .MuiTable-root p + p":
{
color: theme.palette.primary.contrastTextSecondary,
},
}}
>
<Stack
component="form"
noValidate
spellCheck="false"
gap={SPACING_GAP}
>
<Typography component="h1">Team members</Typography>
<Stack
direction="row"
justifyContent="space-between"
>
<Stack
direction="row"
alignItems="flex-end"
gap={theme.spacing(6)}
sx={{ fontSize: 14 }}
>
<ButtonGroup>
<Button
variant="group"
filled={(filter === "all").toString()}
onClick={() => setFilter("all")}
>
All
</Button>
<Button
variant="group"
filled={(filter === "admin").toString()}
onClick={() => setFilter("admin")}
>
Super admin
</Button>
<Button
variant="group"
filled={(filter === "user").toString()}
onClick={() => setFilter("user")}
>
Member
</Button>
</ButtonGroup>
</Stack>
<LoadingButton
loading={isSendingInvite}
variant="contained"
color="accent"
onClick={() => setIsOpen(true)}
>
Invite a team member
</LoadingButton>
</Stack>
<DataTable
headers={headers}
data={data}
config={{ emptyView: "There are no team members with this role" }}
/>
</Stack>
<GenericDialog
title={"Invite new team member"}
description={
"When you add a new team member, they will get access to all monitors."
}
open={isOpen}
onClose={closeInviteModal}
theme={theme}
>
<TextInput
marginBottom={SPACING_GAP}
type="email"
id="input-team-member"
placeholder="Email"
value={toInvite.email}
onChange={handleChange}
error={errors.email ? true : false}
helperText={errors.email}
/>
<Select
id="team-member-role"
placeholder="Select role"
isHidden={true}
value={toInvite.role[0]}
onChange={(event) =>
setToInvite((prev) => ({
...prev,
role: [event.target.value],
}))
}
items={[
{ _id: "admin", name: "Admin" },
{ _id: "user", name: "User" },
]}
/>
<Stack
direction="row"
gap={theme.spacing(4)}
mt={theme.spacing(8)}
justifyContent="flex-end"
>
<LoadingButton
loading={isSendingInvite}
variant="contained" // CAIO_REVIEW
color="error"
onClick={closeInviteModal}
>
Cancel
</LoadingButton>
<LoadingButton
variant="contained"
color="accent"
onClick={handleInviteMember}
loading={isSendingInvite}
disabled={isDisabled}
>
Send invite
</LoadingButton>
</Stack>
</GenericDialog>
</TabPanel>
);
};
TeamPanel.propTypes = {
// No props are being passed to this component, hence no specific PropTypes are defined.
};
export default TeamPanel;
@@ -1,80 +0,0 @@
import PropTypes from "prop-types";
import { Box, Button } from "@mui/material";
import LeftArrowDouble from "../../../../assets/icons/left-arrow-double.svg?react";
import RightArrowDouble from "../../../../assets/icons/right-arrow-double.svg?react";
import LeftArrow from "../../../../assets/icons/left-arrow.svg?react";
import RightArrow from "../../../../assets/icons/right-arrow.svg?react";
TablePaginationActions.propTypes = {
count: PropTypes.number.isRequired,
page: PropTypes.number.isRequired,
rowsPerPage: PropTypes.number.isRequired,
onPageChange: PropTypes.func.isRequired,
};
/**
* Component for pagination actions (first, previous, next, last).
*
* @component
* @param {Object} props
* @param {number} props.count - Total number of items.
* @param {number} props.page - Current page number.
* @param {number} props.rowsPerPage - Number of rows per page.
* @param {function} props.onPageChange - Callback function to handle page change.
*
* @returns {JSX.Element} Pagination actions component.
*/
function TablePaginationActions({ count, page, rowsPerPage, onPageChange }) {
const handleFirstPageButtonClick = (event) => {
onPageChange(event, 0);
};
const handleBackButtonClick = (event) => {
onPageChange(event, page - 1);
};
const handleNextButtonClick = (event) => {
onPageChange(event, page + 1);
};
const handleLastPageButtonClick = (event) => {
onPageChange(event, Math.max(0, Math.ceil(count / rowsPerPage) - 1));
};
return (
<Box sx={{ flexShrink: 0, ml: "24px" }}>
<Button
variant="group"
onClick={handleFirstPageButtonClick}
disabled={page === 0}
aria-label="first page"
>
<LeftArrowDouble />
</Button>
<Button
variant="group"
onClick={handleBackButtonClick}
disabled={page === 0}
aria-label="previous page"
>
<LeftArrow />
</Button>
<Button
variant="group"
onClick={handleNextButtonClick}
disabled={page >= Math.ceil(count / rowsPerPage) - 1}
aria-label="next page"
>
<RightArrow />
</Button>
<Button
variant="group"
onClick={handleLastPageButtonClick}
disabled={page >= Math.ceil(count / rowsPerPage) - 1}
aria-label="last page"
>
<RightArrowDouble />
</Button>
</Box>
);
}
export { TablePaginationActions };
@@ -1,126 +0,0 @@
import PropTypes from "prop-types";
import { useTheme } from "@emotion/react";
import { Stack, TablePagination, Typography } from "@mui/material";
import { TablePaginationActions } from "./Actions";
import SelectorVertical from "../../../assets/icons/selector-vertical.svg?react";
Pagination.propTypes = {
itemCount: PropTypes.number.isRequired, // Total number of items for pagination.
page: PropTypes.number.isRequired, // Current page index.
rowsPerPage: PropTypes.number.isRequired, // Number of rows displayed per page.
handleChangePage: PropTypes.func.isRequired, // Function to handle page changes.
handleChangeRowsPerPage: PropTypes.func, // Function to handle changes in rows per page.
};
const ROWS_PER_PAGE_OPTIONS = [5, 10, 15, 25];
/**
* Pagination component for table navigation with customized styling and behavior.
*
* @param {object} props - Component properties.
* @param {string} props.paginationLabel - Label for the pagination.
* @param {number} props.monitorCount - Total number of monitors to paginate.
* @param {number} props.page - Current page index (0-based).
* @param {number} props.rowsPerPage - Number of rows to display per page.
* @param {function} props.handleChangePage - Callback for handling page changes.
* @param {function} props.handleChangeRowsPerPage - Callback for handling changes to rows per page.
* @returns {JSX.Element} The Pagination component.
*/
function Pagination({
paginationLabel,
itemCount,
page,
rowsPerPage,
handleChangePage,
handleChangeRowsPerPage,
}) {
const theme = useTheme();
const start = page * rowsPerPage + 1;
const end = Math.min(page * rowsPerPage + rowsPerPage, itemCount);
const range = `${start} - ${end}`;
return (
<Stack
direction="row"
alignItems="center"
justifyContent="space-between"
px={theme.spacing(4)}
marginTop={8}
>
<Typography
px={theme.spacing(2)}
variant="body2"
sx={{ opacity: 0.7 }}
>
Showing {range} of {itemCount} {paginationLabel}
</Typography>
<TablePagination
component="div"
count={itemCount}
page={page}
onPageChange={handleChangePage}
rowsPerPage={rowsPerPage}
rowsPerPageOptions={ROWS_PER_PAGE_OPTIONS}
onRowsPerPageChange={handleChangeRowsPerPage}
ActionsComponent={TablePaginationActions}
labelRowsPerPage="Rows per page"
labelDisplayedRows={({ page, count }) =>
`Page ${page + 1} of ${Math.max(0, Math.ceil(count / rowsPerPage))}`
}
slotProps={{
select: {
MenuProps: {
keepMounted: true,
disableScrollLock: true,
PaperProps: {
className: "pagination-dropdown",
sx: {
mt: 0,
mb: theme.spacing(2),
},
},
transformOrigin: { vertical: "bottom", horizontal: "left" },
anchorOrigin: { vertical: "top", horizontal: "left" },
sx: {
mt: theme.spacing(-2),
},
},
inputProps: { id: "pagination-dropdown" },
IconComponent: SelectorVertical,
sx: {
ml: theme.spacing(4),
mr: theme.spacing(12),
minWidth: theme.spacing(20),
textAlign: "left",
"&.Mui-focused > div": {
backgroundColor: theme.palette.primary.main,
},
"& .MuiSelect-icon": {
// Add this style override
position: "absolute",
right: 0,
top: "50%",
transform: "translateY(-50%)",
},
},
},
}}
sx={{
color: theme.palette.primary.contrastTextSecondary,
"& svg path": {
stroke: theme.palette.primary.contrastTextTertiary,
strokeWidth: 1.3,
},
"& .MuiSelect-select": {
border: 1,
borderColor: theme.palette.primary.lowContrast,
borderRadius: theme.shape.borderRadius,
},
}}
/>
</Stack>
);
}
export default Pagination;
-128
View File
@@ -1,128 +0,0 @@
import {
Paper,
Table,
TableBody,
TableCell,
TableContainer,
TableHead,
TableRow,
} from "@mui/material";
import PropTypes from "prop-types";
import { useTheme } from "@emotion/react";
/**
* @typedef {Object} Header
* @property {number|string} id - The unique identifier for the header.
* @property {React.ReactNode} content - The content to display in the header cell.
* @property {Function} render - A function to render the cell content for a given row.
*/
/**
* @typedef {Object} Config
* @property {Function} onRowClick - A function to be called when a row is clicked, receiving the row data as an argument.
* @property {Object} rowSX - Style object for the table row.
*/
/**
* DataTable component renders a table with headers and data.
*
* @param {Object} props - The component props.
* @param {Header[]} props.headers - An array of header objects, each containing an `id`, `content`, and `render` function.
* @param {Array} props.data - An array of data objects, each representing a row.
* @returns {JSX.Element} The rendered table component.
*/
const DataTable = ({ headers, data, config = { emptyView: "No data" } }) => {
const theme = useTheme();
if ((headers?.length ?? 0) === 0) {
return "No data";
}
return (
<TableContainer component={Paper}>
<Table
stickyHeader
sx={{
"&.MuiTable-root :is(.MuiTableHead-root, .MuiTableBody-root) :is(th, td)": {
paddingLeft: theme.spacing(8),
},
"& :is(th)": {
backgroundColor: theme.palette.secondary.main,
color: theme.palette.secondary.contrastText,
fontWeight: 600,
fontSize: "12px",
},
"& :is(td)": {
backgroundColor: theme.palette.primary.main,
color: theme.palette.primary.contrastTextSecondary,
},
}}
>
<TableHead>
<TableRow>
{headers.map((header, index) => (
<TableCell
key={header.id}
align={index === 0 ? "left" : "center"}
>
{header.content}
</TableCell>
))}
</TableRow>
</TableHead>
<TableBody>
{(data?.length ?? 0) === 0 ? (
<TableRow>
<TableCell
colSpan={headers.length}
align="center"
>
{config.emptyView}
</TableCell>
</TableRow>
) : (
data.map((row) => {
const key = row.id || row._id || Math.random();
return (
<TableRow
key={key}
sx={config?.rowSX ?? {}}
onClick={config?.onRowClick ? () => config.onRowClick(row) : null}
>
{headers.map((header, index) => {
return (
<TableCell
align={index === 0 ? "left" : "center"}
key={header.id}
>
{header.render(row)}
</TableCell>
);
})}
</TableRow>
);
})
)}
</TableBody>
</Table>
</TableContainer>
);
};
DataTable.propTypes = {
headers: PropTypes.arrayOf(
PropTypes.shape({
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
content: PropTypes.node.isRequired,
render: PropTypes.func.isRequired,
})
).isRequired,
data: PropTypes.array.isRequired,
config: PropTypes.shape({
onRowClick: PropTypes.func.isRequired,
rowSX: PropTypes.object,
emptyView: PropTypes.node,
}),
};
export default DataTable;
@@ -1,98 +0,0 @@
import { useTheme } from "@mui/material";
import "./index.css";
const SunAndMoonIcon = () => {
const theme = useTheme();
return (
<svg
className="sun-and-moon"
aria-hidden="true"
width="24"
height="24"
viewBox="0 0 24 24"
>
<mask
className="moon"
id="moon-mask"
>
<rect
x="0"
y="0"
width="100%"
height="100%"
fill="#fff"
/>
<circle
cx="24"
cy="10"
r="6"
fill="#000"
/>
</mask>
<circle
className="sun"
cx="12"
cy="12"
r="6"
fill={theme.palette.primary.contrastTextSecondary}
mask="url(#moon-mask)"
/>
<g
className="sun-beams"
stroke={theme.palette.primary.contrastTextSecondary}
>
<line
x1="12"
y1="1"
x2="12"
y2="3"
/>
<line
x1="12"
y1="21"
x2="12"
y2="23"
/>
<line
x1="4.22"
y1="4.22"
x2="5.64"
y2="5.64"
/>
<line
x1="18.36"
y1="18.36"
x2="19.78"
y2="19.78"
/>
<line
x1="1"
y1="12"
x2="3"
y2="12"
/>
<line
x1="21"
y1="12"
x2="23"
y2="12"
/>
<line
x1="4.22"
y1="19.78"
x2="5.64"
y2="18.36"
/>
<line
x1="18.36"
y1="5.64"
x2="19.78"
y2="4.22"
/>
</g>
</svg>
);
};
export default SunAndMoonIcon;
@@ -1,64 +0,0 @@
.sun-and-moon > :is(.moon, .sun, .sun-beams) {
transform-origin: center;
}
.theme-toggle .sun-and-moon > .sun-beams {
stroke-width: 2px;
}
.theme-dark .sun-and-moon > .sun {
transform: scale(1.75);
}
.theme-dark .sun-and-moon > .sun-beams {
opacity: 0;
}
.theme-dark .sun-and-moon > .moon > circle {
transform: translateX(-7px);
}
@supports (cx: 1) {
.theme-dark .sun-and-moon > .moon > circle {
cx: 17;
transform: translateX(0);
}
}
@media (prefers-reduced-motion: no-preference) {
.sun-and-moon > .sun {
transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.sun-and-moon > .sun-beams {
transition:
transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55),
opacity 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.sun-and-moon .moon > circle {
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
@supports (cx: 1) {
.sun-and-moon .moon > circle {
transition: cx 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
}
.theme-dark .sun-and-moon > .sun {
transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
transition-duration: 0.25s;
transform: scale(1.75);
}
.theme-dark .sun-and-moon > .sun-beams {
transition-duration: 0.15s;
transform: rotateZ(-25deg);
}
.theme-dark .sun-and-moon > .moon > circle {
transition-duration: 0.5s;
transition-delay: 0.25s;
}
}
@@ -1,51 +0,0 @@
/**
* ThemeSwitch Component
* Dark and Light Theme Switch
* Original Code: https://web.dev/patterns/theming/theme-switch
* License: Apache License 2.0
* Copyright © Google LLC
*
* This code has been adapted for use in this project.
* Apache License: https://www.apache.org/licenses/LICENSE-2.0
*/
import { IconButton } from "@mui/material";
import SunAndMoonIcon from "./SunAndMoonIcon";
import { useDispatch, useSelector } from "react-redux";
import { setMode } from "../../Features/UI/uiSlice";
import "./index.css";
const ThemeSwitch = ({ width = 48, height = 48, color }) => {
const mode = useSelector((state) => state.ui.mode);
const dispatch = useDispatch();
const toggleTheme = () => {
dispatch(setMode(mode === "light" ? "dark" : "light"));
};
return (
<IconButton
id="theme-toggle"
title="Toggles light & dark"
className={`theme-${mode}`}
aria-label="auto"
aria-live="polite"
onClick={toggleTheme}
sx={{
width,
height,
display: "flex",
alignItems: "center",
justifyContent: "center",
"& svg >:is(circle, g)": {
fill: color,
stroke: color,
},
}}
>
<SunAndMoonIcon />
</IconButton>
);
};
export default ThemeSwitch;
-258
View File
@@ -1,258 +0,0 @@
import { networkService } from "../../main";
import { createAsyncThunk, createSlice } from "@reduxjs/toolkit";
import { jwtDecode } from "jwt-decode";
import axios from "axios";
const initialState = {
isLoading: false,
authToken: "",
user: "",
success: null,
msg: null,
};
export const register = createAsyncThunk("auth/register", async (form, thunkApi) => {
try {
const res = await networkService.registerUser(form);
return res.data;
} catch (error) {
if (error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
});
export const login = createAsyncThunk("auth/login", async (form, thunkApi) => {
try {
const res = await networkService.loginUser(form);
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
});
export const update = createAsyncThunk("auth/update", async (data, thunkApi) => {
const { authToken: token, localData: form } = data;
const user = jwtDecode(token);
try {
const fd = new FormData();
form.firstName && fd.append("firstName", form.firstName);
form.lastName && fd.append("lastName", form.lastName);
form.password && fd.append("password", form.password);
form.newPassword && fd.append("newPassword", form.newPassword);
if (form.file && form.file !== "") {
const imageResult = await axios.get(form.file, {
responseType: "blob",
});
fd.append("profileImage", imageResult.data);
}
form.deleteProfileImage && fd.append("deleteProfileImage", form.deleteProfileImage);
const res = await networkService.updateUser({
authToken: token,
userId: user._id,
form: fd,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
});
export const deleteUser = createAsyncThunk("auth/delete", async (data, thunkApi) => {
const user = jwtDecode(data);
try {
const res = await networkService.deleteUser({
authToken: data,
userId: user._id,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
});
export const forgotPassword = createAsyncThunk(
"auth/forgotPassword",
async (form, thunkApi) => {
try {
const res = await networkService.forgotPassword(form);
return res.data;
} catch (error) {
if (error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const setNewPassword = createAsyncThunk(
"auth/setNewPassword",
async (data, thunkApi) => {
const { token, form } = data;
try {
await networkService.validateRecoveryToken({ recoveryToken: token });
const res = await networkService.setNewPassword({
recoveryToken: token,
form: form,
});
return res.data;
} catch (error) {
if (error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
const handleAuthFulfilled = (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
state.authToken = action.payload.data.token;
state.user = action.payload.data.user;
};
const handleAuthRejected = (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload ? action.payload.msg : "Failed to login or register";
};
const handleUpdateFulfilled = (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
state.user = action.payload.data;
};
const handleUpdateRejected = (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload ? action.payload.msg : "Failed to update profile data.";
};
const handleDeleteFulfilled = (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
};
const handleDeleteRejected = (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload ? action.payload.msg : "Failed to delete account.";
};
const handleForgotFulfilled = (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
};
const handleForgotRejected = (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload ? action.payload.msg : "Failed to send reset instructions.";
};
const handleNewPasswordRejected = (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload ? action.payload.msg : "Failed to reset password.";
};
const authSlice = createSlice({
name: "auth",
initialState,
reducers: {
clearAuthState: (state) => {
state.authToken = "";
state.user = "";
state.isLoading = false;
state.success = true;
state.msg = "Logged out successfully";
},
},
extraReducers: (builder) => {
// Register thunk
builder
.addCase(register.pending, (state) => {
state.isLoading = true;
})
.addCase(register.fulfilled, handleAuthFulfilled)
.addCase(register.rejected, handleAuthRejected);
// Login thunk
builder
.addCase(login.pending, (state) => {
state.isLoading = true;
})
.addCase(login.fulfilled, handleAuthFulfilled)
.addCase(login.rejected, handleAuthRejected);
// Update thunk
builder
.addCase(update.pending, (state) => {
state.isLoading = true;
})
.addCase(update.fulfilled, handleUpdateFulfilled)
.addCase(update.rejected, handleUpdateRejected);
// Delete thunk
builder
.addCase(deleteUser.pending, (state) => {
state.isLoading = true;
})
.addCase(deleteUser.fulfilled, handleDeleteFulfilled)
.addCase(deleteUser.rejected, handleDeleteRejected);
// Forgot password thunk
builder
.addCase(forgotPassword.pending, (state) => {
state.isLoading = true;
})
.addCase(forgotPassword.fulfilled, handleForgotFulfilled)
.addCase(forgotPassword.rejected, handleForgotRejected);
// Set new password thunk
builder
.addCase(setNewPassword.pending, (state) => {
state.isLoading = true;
})
.addCase(setNewPassword.fulfilled, handleAuthFulfilled)
.addCase(setNewPassword.rejected, handleNewPasswordRejected);
},
});
export default authSlice.reducer;
export const { clearAuthState } = authSlice.actions;
@@ -1,411 +0,0 @@
import { createAsyncThunk, createSlice } from "@reduxjs/toolkit";
import { jwtDecode } from "jwt-decode";
import { networkService } from "../../main";
const initialState = {
isLoading: false,
monitorsSummary: [],
success: null,
msg: null,
};
export const createInfrastructureMonitor = createAsyncThunk(
"infrastructureMonitors/createMonitor",
async (data, thunkApi) => {
try {
const { authToken, monitor } = data;
const res = await networkService.createMonitor({
authToken: authToken,
monitor: monitor,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const checkInfrastructureEndpointResolution = createAsyncThunk(
"infrastructureMonitors/CheckEndpoint",
async (data, thunkApi) => {
try {
const { authToken, monitorURL } = data;
const res = await networkService.checkEndpointResolution({
authToken: authToken,
monitorURL: monitorURL,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const getInfrastructureMonitorById = createAsyncThunk(
"infrastructureMonitors/getMonitorById",
async (data, thunkApi) => {
try {
const { authToken, monitorId } = data;
const res = await networkService.getMonitorById({
authToken: authToken,
monitorId: monitorId,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const getInfrastructureMonitorsByTeamId = createAsyncThunk(
"infrastructureMonitors/getMonitorsByTeamId",
async (token, thunkApi) => {
const user = jwtDecode(token);
try {
const res = await networkService.getMonitorsAndSummaryByTeamId({
authToken: token,
teamId: user.teamId,
types: ["hardware"],
limit: 1,
rowsPerPage: 0,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const updateInfrastructureMonitor = createAsyncThunk(
"infrastructureMonitors/updateMonitor",
async (data, thunkApi) => {
try {
const { authToken, monitor } = data;
const updatedFields = {
name: monitor.name,
description: monitor.description,
interval: monitor.interval,
notifications: monitor.notifications,
threshold: monitor.threshold,
};
const res = await networkService.updateMonitor({
authToken: authToken,
monitorId: monitor._id,
updatedFields: updatedFields,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const deleteInfrastructureMonitor = createAsyncThunk(
"infrastructureMonitors/deleteMonitor",
async (data, thunkApi) => {
try {
const { authToken, monitor } = data;
const res = await networkService.deleteMonitorById({
authToken: authToken,
monitorId: monitor._id,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const pauseInfrastructureMonitor = createAsyncThunk(
"infrastructureMonitors/pauseMonitor",
async (data, thunkApi) => {
try {
const { authToken, monitorId } = data;
const res = await networkService.pauseMonitorById({
authToken: authToken,
monitorId: monitorId,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const deleteInfrastructureMonitorChecksByTeamId = createAsyncThunk(
"infrastructureMonitors/deleteChecksByTeamId",
async (data, thunkApi) => {
try {
const { authToken, teamId } = data;
const res = await networkService.deleteChecksByTeamId({
authToken: authToken,
teamId: teamId,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const deleteAllInfrastructureMonitors = createAsyncThunk(
"infrastructureMonitors/deleteAllMonitors",
async (data, thunkApi) => {
try {
const { authToken } = data;
const res = await networkService.deleteAllMonitors({
authToken: authToken,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
const infrastructureMonitorsSlice = createSlice({
name: "infrastructureMonitors",
initialState,
reducers: {
clearInfrastructureMonitorState: (state) => {
state.isLoading = false;
state.monitorsSummary = [];
state.success = null;
state.msg = null;
},
},
extraReducers: (builder) => {
builder
// *****************************************************
// Monitors by teamId
// *****************************************************
.addCase(getInfrastructureMonitorsByTeamId.pending, (state) => {
state.isLoading = true;
})
.addCase(getInfrastructureMonitorsByTeamId.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.msg;
state.monitorsSummary = action.payload.data;
})
.addCase(getInfrastructureMonitorsByTeamId.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload
? action.payload.msg
: "Getting infrastructure monitors failed";
})
// *****************************************************
// Create Monitor
// *****************************************************
.addCase(createInfrastructureMonitor.pending, (state) => {
state.isLoading = true;
})
.addCase(createInfrastructureMonitor.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
})
.addCase(createInfrastructureMonitor.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload
? action.payload.msg
: "Failed to create infrastructure monitor";
})
// *****************************************************
// Resolve Endpoint
// *****************************************************
.addCase(checkInfrastructureEndpointResolution.pending, (state) => {
state.isLoading = true;
})
.addCase(checkInfrastructureEndpointResolution.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
})
.addCase(checkInfrastructureEndpointResolution.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload
? action.payload.msg
: "Failed to check endpoint resolution";
})
// *****************************************************
// Get Monitor By Id
// *****************************************************
.addCase(getInfrastructureMonitorById.pending, (state) => {
state.isLoading = true;
})
.addCase(getInfrastructureMonitorById.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
})
.addCase(getInfrastructureMonitorById.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload
? action.payload.msg
: "Failed to get infrastructure monitor";
})
// *****************************************************
// update Monitor
// *****************************************************
.addCase(updateInfrastructureMonitor.pending, (state) => {
state.isLoading = true;
})
.addCase(updateInfrastructureMonitor.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
})
.addCase(updateInfrastructureMonitor.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload
? action.payload.msg
: "Failed to update infrastructure monitor";
})
// *****************************************************
// Delete Monitor
// *****************************************************
.addCase(deleteInfrastructureMonitor.pending, (state) => {
state.isLoading = true;
})
.addCase(deleteInfrastructureMonitor.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
})
.addCase(deleteInfrastructureMonitor.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload
? action.payload.msg
: "Failed to delete infrastructure monitor";
})
// *****************************************************
// Delete Monitor checks by Team ID
// *****************************************************
.addCase(deleteInfrastructureMonitorChecksByTeamId.pending, (state) => {
state.isLoading = true;
})
.addCase(deleteInfrastructureMonitorChecksByTeamId.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
})
.addCase(deleteInfrastructureMonitorChecksByTeamId.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload
? action.payload.msg
: "Failed to delete monitor checks";
})
// *****************************************************
// Pause Monitor
// *****************************************************
.addCase(pauseInfrastructureMonitor.pending, (state) => {
state.isLoading = true;
})
.addCase(pauseInfrastructureMonitor.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
})
.addCase(pauseInfrastructureMonitor.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload
? action.payload.msg
: "Failed to pause infrastructure monitor";
})
// *****************************************************
// Delete all Monitors
// *****************************************************
.addCase(deleteAllInfrastructureMonitors.pending, (state) => {
state.isLoading = true;
})
.addCase(deleteAllInfrastructureMonitors.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
})
.addCase(deleteAllInfrastructureMonitors.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload ? action.payload.msg : "Failed to delete all monitors";
});
},
});
export const { setInfrastructureMonitors, clearInfrastructureMonitorState } =
infrastructureMonitorsSlice.actions;
export default infrastructureMonitorsSlice.reducer;
@@ -1,326 +0,0 @@
import { createAsyncThunk, createSlice } from "@reduxjs/toolkit";
import { jwtDecode } from "jwt-decode";
import { networkService } from "../../main";
const initialState = {
isLoading: false,
monitorsSummary: [],
success: null,
msg: null,
};
export const createPageSpeed = createAsyncThunk(
"pageSpeedMonitors/createPageSpeed",
async (data, thunkApi) => {
try {
const { authToken, monitor } = data;
const res = await networkService.createMonitor({
authToken: authToken,
monitor: monitor,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const checkEndpointResolution = createAsyncThunk(
"monitors/checkEndpoint",
async (data, thunkApi) => {
try {
const { authToken, monitorURL } = data;
const res = await networkService.checkEndpointResolution({
authToken: authToken,
monitorURL: monitorURL,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const getPagespeedMonitorById = createAsyncThunk(
"monitors/getMonitorById",
async (data, thunkApi) => {
try {
const { authToken, monitorId } = data;
const res = await networkService.getMonitorById({
authToken: authToken,
monitorId: monitorId,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const getPageSpeedByTeamId = createAsyncThunk(
"pageSpeedMonitors/getPageSpeedByTeamId",
async (token, thunkApi) => {
const user = jwtDecode(token);
try {
const res = await networkService.getMonitorsAndSummaryByTeamId({
authToken: token,
teamId: user.teamId,
types: ["pagespeed"],
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const updatePageSpeed = createAsyncThunk(
"pageSpeedMonitors/updatePageSpeed",
async (data, thunkApi) => {
try {
const { authToken, monitor } = data;
const updatedFields = {
name: monitor.name,
description: monitor.description,
interval: monitor.interval,
// notifications: monitor.notifications,
};
const res = await networkService.updateMonitor({
authToken: authToken,
monitorId: monitor._id,
updatedFields: updatedFields,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const deletePageSpeed = createAsyncThunk(
"pageSpeedMonitors/deletePageSpeed",
async (data, thunkApi) => {
try {
const { authToken, monitor } = data;
const res = await networkService.deleteMonitorById({
authToken: authToken,
monitorId: monitor._id,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const pausePageSpeed = createAsyncThunk(
"pageSpeedMonitors/pausePageSpeed",
async (data, thunkApi) => {
try {
const { authToken, monitorId } = data;
const res = await networkService.pauseMonitorById({
authToken: authToken,
monitorId: monitorId,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
const pageSpeedMonitorSlice = createSlice({
name: "pageSpeedMonitor",
initialState,
reducers: {
clearMonitorState: (state) => {
state.isLoading = false;
state.monitorsSummary = [];
state.success = null;
state.msg = null;
},
},
extraReducers: (builder) => {
builder
// *****************************************************
// Monitors by teamId
// *****************************************************
.addCase(getPageSpeedByTeamId.pending, (state) => {
state.isLoading = true;
})
.addCase(getPageSpeedByTeamId.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.msg;
state.monitorsSummary = action.payload.data;
})
.addCase(getPageSpeedByTeamId.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload
? action.payload.msg
: "Getting page speed monitors failed";
})
// *****************************************************
.addCase(getPagespeedMonitorById.pending, (state) => {
state.isLoading = true;
})
.addCase(getPagespeedMonitorById.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
})
.addCase(getPagespeedMonitorById.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload
? action.payload.msg
: "Failed to get pagespeed monitor";
})
// *****************************************************
// Create Monitor
// *****************************************************
.addCase(createPageSpeed.pending, (state) => {
state.isLoading = true;
})
.addCase(createPageSpeed.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
})
.addCase(createPageSpeed.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload
? action.payload.msg
: "Failed to create page speed monitor";
})
// *****************************************************
// Resolve Endpoint
// *****************************************************
.addCase(checkEndpointResolution.pending, (state) => {
state.isLoading = true;
})
.addCase(checkEndpointResolution.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
})
.addCase(checkEndpointResolution.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload
? action.payload.msg
: "Failed to check endpoint resolution";
})
// *****************************************************
// Update Monitor
// *****************************************************
.addCase(updatePageSpeed.pending, (state) => {
state.isLoading = true;
})
.addCase(updatePageSpeed.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
})
.addCase(updatePageSpeed.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload
? action.payload.msg
: "Failed to update page speed monitor";
})
// *****************************************************
// Delete Monitor
// *****************************************************
.addCase(deletePageSpeed.pending, (state) => {
state.isLoading = true;
})
.addCase(deletePageSpeed.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
})
.addCase(deletePageSpeed.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload
? action.payload.msg
: "Failed to delete page speed monitor";
})
// *****************************************************
// Pause Monitor
// *****************************************************
.addCase(pausePageSpeed.pending, (state) => {
state.isLoading = true;
})
.addCase(pausePageSpeed.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
})
.addCase(pausePageSpeed.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload
? action.payload.msg
: "Failed to pause page speed monitor";
});
},
});
export const { setMonitors, clearMonitorState } = pageSpeedMonitorSlice.actions;
export default pageSpeedMonitorSlice.reducer;
@@ -1,115 +0,0 @@
import { networkService } from "../../main";
import { createAsyncThunk, createSlice } from "@reduxjs/toolkit";
const initialState = {
isLoading: false,
apiBaseUrl: "",
logLevel: "debug",
};
export const getAppSettings = createAsyncThunk(
"settings/getSettings",
async (data, thunkApi) => {
try {
const res = await networkService.getAppSettings({
authToken: data.authToken,
});
return res.data;
} catch (error) {
if (error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const updateAppSettings = createAsyncThunk(
"settings/updateSettings",
async ({ settings, authToken }, thunkApi) => {
networkService.setBaseUrl(settings.apiBaseUrl);
try {
const parsedSettings = {
apiBaseUrl: settings.apiBaseUrl,
logLevel: settings.logLevel,
clientHost: settings.clientHost,
jwtSecret: settings.jwtSecret,
dbType: settings.dbType,
dbConnectionString: settings.dbConnectionString,
redisHost: settings.redisHost,
redisPort: settings.redisPort,
jwtTTL: settings.jwtTTL,
pagespeedApiKey: settings.pagespeedApiKey,
systemEmailHost: settings.systemEmailHost,
systemEmailPort: settings.systemEmailPort,
systemEmailAddress: settings.systemEmailAddress,
systemEmailPassword: settings.systemEmailPassword,
};
const res = await networkService.updateAppSettings({
settings: parsedSettings,
authToken,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
const handleGetSettingsFulfilled = (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
state.apiBaseUrl = action.payload.data.apiBaseUrl;
state.logLevel = action.payload.data.logLevel;
};
const handleGetSettingsRejected = (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload ? action.payload.msg : "Failed to get settings.";
};
const handleUpdateSettingsFulfilled = (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
state.apiBaseUrl = action.payload.data.apiBaseUrl;
state.logLevel = action.payload.data.logLevel;
};
const handleUpdateSettingsRejected = (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload ? action.payload.msg : "Failed to update settings.";
};
const settingsSlice = createSlice({
name: "settings",
initialState,
extraReducers: (builder) => {
builder
.addCase(getAppSettings.pending, (state) => {
state.isLoading = true;
})
.addCase(getAppSettings.fulfilled, handleGetSettingsFulfilled)
.addCase(getAppSettings.rejected, handleGetSettingsRejected);
builder
.addCase(updateAppSettings.pending, (state) => {
state.isLoading = true;
})
.addCase(updateAppSettings.fulfilled, handleUpdateSettingsFulfilled)
.addCase(updateAppSettings.rejected, handleUpdateSettingsRejected);
},
});
export default settingsSlice.reducer;
-53
View File
@@ -1,53 +0,0 @@
import { createSlice } from "@reduxjs/toolkit";
const initialMode = window?.matchMedia?.('(prefers-color-scheme: dark)')?.matches ? "dark" : "light";
// Initial state for UI settings.
// Add more settings as needed (e.g., theme preferences, user settings)
const initialState = {
monitors: {
rowsPerPage: 10,
},
team: {
rowsPerPage: 5,
},
maintenance: {
rowsPerPage: 5,
},
sidebar: {
collapsed: false,
},
mode: initialMode,
greeting: { index: 0, lastUpdate: null },
timezone: "America/Toronto",
};
const uiSlice = createSlice({
name: "ui",
initialState,
reducers: {
setRowsPerPage: (state, action) => {
const { table, value } = action.payload;
if (state[table]) {
state[table].rowsPerPage = value;
}
},
toggleSidebar: (state) => {
state.sidebar.collapsed = !state.sidebar.collapsed;
},
setMode: (state, action) => {
state.mode = action.payload;
},
setGreeting(state, action) {
state.greeting.index = action.payload.index;
state.greeting.lastUpdate = action.payload.lastUpdate;
},
setTimezone(state, action) {
state.timezone = action.payload.timezone;
},
},
});
export default uiSlice.reducer;
export const { setRowsPerPage, toggleSidebar, setMode, setGreeting, setTimezone } =
uiSlice.actions;
@@ -1,400 +0,0 @@
import { createAsyncThunk, createSlice } from "@reduxjs/toolkit";
import { jwtDecode } from "jwt-decode";
import { networkService } from "../../main";
const initialState = {
isLoading: false,
monitorsSummary: [],
success: null,
msg: null,
};
export const createUptimeMonitor = createAsyncThunk(
"monitors/createMonitor",
async (data, thunkApi) => {
try {
const { authToken, monitor } = data;
const res = await networkService.createMonitor({
authToken: authToken,
monitor: monitor,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const checkEndpointResolution = createAsyncThunk(
"monitors/checkEndpoint",
async (data, thunkApi) => {
try {
const { authToken, monitorURL } = data;
const res = await networkService.checkEndpointResolution({
authToken: authToken,
monitorURL: monitorURL,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const getUptimeMonitorById = createAsyncThunk(
"monitors/getMonitorById",
async (data, thunkApi) => {
try {
const { authToken, monitorId } = data;
const res = await networkService.getMonitorById({
authToken: authToken,
monitorId: monitorId,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const updateUptimeMonitor = createAsyncThunk(
"monitors/updateMonitor",
async (data, thunkApi) => {
try {
const { authToken, monitor } = data;
const updatedFields = {
name: monitor.name,
description: monitor.description,
interval: monitor.interval,
notifications: monitor.notifications,
};
const res = await networkService.updateMonitor({
authToken: authToken,
monitorId: monitor._id,
updatedFields: updatedFields,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const deleteUptimeMonitor = createAsyncThunk(
"monitors/deleteMonitor",
async (data, thunkApi) => {
try {
const { authToken, monitor } = data;
const res = await networkService.deleteMonitorById({
authToken: authToken,
monitorId: monitor._id,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const pauseUptimeMonitor = createAsyncThunk(
"monitors/pauseMonitor",
async (data, thunkApi) => {
try {
const { authToken, monitorId } = data;
const res = await networkService.pauseMonitorById({
authToken: authToken,
monitorId: monitorId,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const deleteMonitorChecksByTeamId = createAsyncThunk(
"monitors/deleteChecksByTeamId",
async (data, thunkApi) => {
try {
const { authToken, teamId } = data;
const res = await networkService.deleteChecksByTeamId({
authToken: authToken,
teamId: teamId,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const addDemoMonitors = createAsyncThunk(
"monitors/addDemoMonitors",
async (data, thunkApi) => {
try {
const { authToken } = data;
const res = await networkService.addDemoMonitors({
authToken: authToken,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
export const deleteAllMonitors = createAsyncThunk(
"monitors/deleteAllMonitors",
async (data, thunkApi) => {
try {
const { authToken } = data;
const res = await networkService.deleteAllMonitors({
authToken: authToken,
});
return res.data;
} catch (error) {
if (error.response && error.response.data) {
return thunkApi.rejectWithValue(error.response.data);
}
const payload = {
status: false,
msg: error.message ? error.message : "Unknown error",
};
return thunkApi.rejectWithValue(payload);
}
}
);
const uptimeMonitorsSlice = createSlice({
name: "uptimeMonitors",
initialState,
reducers: {
clearUptimeMonitorState: (state) => {
state.isLoading = false;
state.monitorsSummary = [];
state.success = null;
state.msg = null;
},
},
extraReducers: (builder) => {
builder
// *****************************************************
// Create Monitor
// *****************************************************
.addCase(createUptimeMonitor.pending, (state) => {
state.isLoading = true;
})
.addCase(createUptimeMonitor.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
})
.addCase(createUptimeMonitor.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload
? action.payload.msg
: "Failed to create uptime monitor";
})
// *****************************************************
// Resolve Endpoint
// *****************************************************
.addCase(checkEndpointResolution.pending, (state) => {
state.isLoading = true;
})
.addCase(checkEndpointResolution.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
})
.addCase(checkEndpointResolution.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload
? action.payload.msg
: "Failed to check endpoint resolution";
})
// *****************************************************
// Get Monitor By Id
// *****************************************************
.addCase(getUptimeMonitorById.pending, (state) => {
state.isLoading = true;
})
.addCase(getUptimeMonitorById.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
})
.addCase(getUptimeMonitorById.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload ? action.payload.msg : "Failed to get uptime monitor";
})
// *****************************************************
// update Monitor
// *****************************************************
.addCase(updateUptimeMonitor.pending, (state) => {
state.isLoading = true;
})
.addCase(updateUptimeMonitor.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
})
.addCase(updateUptimeMonitor.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload
? action.payload.msg
: "Failed to update uptime monitor";
})
// *****************************************************
// Delete Monitor
// *****************************************************
.addCase(deleteUptimeMonitor.pending, (state) => {
state.isLoading = true;
})
.addCase(deleteUptimeMonitor.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
})
.addCase(deleteUptimeMonitor.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload
? action.payload.msg
: "Failed to delete uptime monitor";
})
// *****************************************************
// Delete Monitor checks by Team ID
// *****************************************************
.addCase(deleteMonitorChecksByTeamId.pending, (state) => {
state.isLoading = true;
})
.addCase(deleteMonitorChecksByTeamId.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
})
.addCase(deleteMonitorChecksByTeamId.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload
? action.payload.msg
: "Failed to delete monitor checks";
})
// *****************************************************
// Pause Monitor
// *****************************************************
.addCase(pauseUptimeMonitor.pending, (state) => {
state.isLoading = true;
})
.addCase(pauseUptimeMonitor.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
})
.addCase(pauseUptimeMonitor.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload
? action.payload.msg
: "Failed to pause uptime monitor";
})
// *****************************************************
// Add Demo Monitors
// *****************************************************
.addCase(addDemoMonitors.pending, (state) => {
state.isLoading = true;
})
.addCase(addDemoMonitors.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
})
.addCase(addDemoMonitors.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload
? action.payload.msg
: "Failed to add demo uptime monitors";
})
// *****************************************************
// Delete all Monitors
// *****************************************************
.addCase(deleteAllMonitors.pending, (state) => {
state.isLoading = true;
})
.addCase(deleteAllMonitors.fulfilled, (state, action) => {
state.isLoading = false;
state.success = action.payload.success;
state.msg = action.payload.msg;
})
.addCase(deleteAllMonitors.rejected, (state, action) => {
state.isLoading = false;
state.success = false;
state.msg = action.payload ? action.payload.msg : "Failed to delete all monitors";
});
},
});
export const { setUptimeMonitors, clearUptimeMonitorState } = uptimeMonitorsSlice.actions;
export default uptimeMonitorsSlice.reducer;
-11
View File
@@ -1,11 +0,0 @@
import { useSelector } from "react-redux";
const useIsAdmin = () => {
const { user } = useSelector((state) => state.auth);
const isAdmin =
(user?.role?.includes("admin") ?? false) ||
(user?.role?.includes("superadmin") ?? false);
return isAdmin;
};
export { useIsAdmin };
-38
View File
@@ -1,38 +0,0 @@
.account h1.MuiTypography-root,
.account p.MuiTypography-root,
.account input,
.account button,
.account td,
.account .MuiSelect-select {
font-size: var(--env-var-font-size-medium);
}
.account h1.MuiTypography-root {
font-weight: 600;
}
.account .MuiTabPanel-root {
padding: 0;
margin-top: 50px;
}
.account button:not(.MuiIconButton-root) {
min-height: 34px;
}
.account .field {
flex: 1;
}
#modal-delete-account,
#modal-edit-org-name,
#modal-invite-member {
font-size: var(--env-var-font-size-large);
}
.account .MuiStack-root:has(span.MuiTypography-root.input-error) {
position: relative;
}
.account:not(:has(#modal-invite-member)) span.MuiTypography-root.input-error {
position: absolute;
top: 100%;
}
.account .MuiTableBody-root .MuiTableCell-root {
padding: var(--env-var-spacing-1-plus) var(--env-var-spacing-2);
}
-133
View File
@@ -1,133 +0,0 @@
import { useState } from "react";
import PropTypes from "prop-types";
import { useNavigate } from "react-router";
import { useSelector } from "react-redux";
import { Box, Tab, useTheme } from "@mui/material";
import TabContext from "@mui/lab/TabContext";
import TabList from "@mui/lab/TabList";
import ProfilePanel from "../../Components/TabPanels/Account/ProfilePanel";
import PasswordPanel from "../../Components/TabPanels/Account/PasswordPanel";
import TeamPanel from "../../Components/TabPanels/Account/TeamPanel";
import "./index.css";
/**
* Account component renders a settings page with tabs for Profile, Password, and Team settings.
* @param {string} [props.open] - Specifies the initially open tab: 'profile', 'password', or 'team'.
* @returns {JSX.Element}
*/
const Account = ({ open = "profile" }) => {
const theme = useTheme();
const navigate = useNavigate();
const [focusedTab, setFocusedTab] = useState(null); // Track focused tab
const tab = open;
const handleTabChange = (event, newTab) => {
navigate(`/account/${newTab}`);
};
const { user } = useSelector((state) => state.auth);
const requiredRoles = ["superadmin", "admin"];
let tabList = ["Profile", "Password", "Team"];
const hideTeams = !requiredRoles.some((role) => user.role.includes(role));
if (hideTeams) {
tabList = ["Profile", "Password"];
}
// Remove password for demo
if (user.role.includes("demo")) {
tabList = ["Profile"];
}
const handleKeyDown = (event) => {
const currentIndex = tabList.findIndex((label) => label.toLowerCase() === tab);
if (event.key === "Tab") {
const nextIndex = (currentIndex + 1) % tabList.length;
setFocusedTab(tabList[nextIndex].toLowerCase());
} else if (event.key === "Enter") {
event.preventDefault();
navigate(`/account/${focusedTab}`);
}
};
const handleFocus = (tabName) => {
setFocusedTab(tabName);
};
return (
<Box
className="account"
px={theme.spacing(20)}
py={theme.spacing(12)}
backgroundColor={theme.palette.primary.main}
border={1}
borderColor={theme.palette.primary.lowContrast}
borderRadius={theme.shape.borderRadius}
>
<TabContext value={tab}>
<Box
sx={{
borderBottom: 1,
borderColor: theme.palette.primary.lowContrast,
"& .MuiTabs-root": { height: "fit-content", minHeight: "0" },
}}
>
<TabList
onChange={handleTabChange}
aria-label="account tabs"
sx={{
"& .MuiTabs-indicator": {
backgroundColor: theme.palette.tertiary.contrastText,
},
}}
>
{tabList.map((label, index) => (
<Tab
label={label}
key={index}
value={label.toLowerCase()}
onKeyDown={handleKeyDown}
onFocus={() => handleFocus(label.toLowerCase())}
tabIndex={index}
sx={{
fontSize: 13,
color: theme.palette.tertiary.contrastText,
backgroundColor: theme.palette.tertiary.main,
textTransform: "none",
minWidth: "fit-content",
paddingY: theme.spacing(6),
fontWeight: 400,
borderBottom: "2px solid transparent",
borderRight: `1px solid ${theme.palette.primary.lowContrast}`,
"&:first-child": { borderTopLeftRadius: "8px" },
"&:last-child": { borderTopRightRadius: "8px", borderRight: 0 },
"&:focus-visible": {
color: theme.palette.primary.contrastText,
borderColor: theme.palette.tertiary.contrastText,
borderRightColor: theme.palette.primary.lowContrast,
},
"&.Mui-selected": {
backgroundColor: theme.palette.secondary.main,
color: theme.palette.secondary.contrastText,
borderColor: theme.palette.secondary.contrastText,
borderRightColor: theme.palette.primary.lowContrast,
},
"&:hover": {
borderColor: theme.palette.primary.lowContrast,
},
}}
/>
))}
</TabList>
</Box>
<ProfilePanel />
{user.role.includes("superadmin") && <PasswordPanel />}
{!hideTeams && <TeamPanel />}
</TabContext>
</Box>
);
};
Account.propTypes = {
open: PropTypes.oneOf(["profile", "password", "team"]),
};
export default Account;
-223
View File
@@ -1,223 +0,0 @@
import { Box, Button, Stack, Typography } from "@mui/material";
import { useEffect, useState } from "react";
import { useTheme } from "@emotion/react";
import { useDispatch } from "react-redux";
import { useNavigate } from "react-router";
import { createToast } from "../../Utils/toastUtils";
import { forgotPassword } from "../../Features/Auth/authSlice";
import Background from "../../assets/Images/background-grid.svg?react";
import EmailIcon from "../../assets/icons/email.svg?react";
import Logo from "../../assets/icons/checkmate-icon.svg?react";
import IconBox from "../../Components/IconBox";
import "./index.css";
const CheckEmail = () => {
const theme = useTheme();
const navigate = useNavigate();
const dispatch = useDispatch();
const [email, setEmail] = useState();
const [disabled, setDisabled] = useState(false);
useEffect(() => {
setEmail(sessionStorage.getItem("email"));
}, []);
// TODO - fix
const openMail = () => {
window.location.href = "mailto:";
};
const toastFail = [
{
body: "Email not found.",
},
{
body: "Redirecting in 3...",
},
{
body: "Redirecting in 2...",
},
{
body: "Redirecting in 1...",
},
];
const resendToken = async () => {
setDisabled(true); // prevent resent button from being spammed
if (!email) {
let index = 0;
const interval = setInterval(() => {
if (index < toastFail.length) {
createToast(toastFail[index]);
index++;
} else {
clearInterval(interval);
navigate("/forgot-password");
}
}, 1000);
} else {
const form = { email: email };
const action = await dispatch(forgotPassword(form));
if (action.payload.success) {
createToast({
body: `Instructions sent to ${form.email}.`,
});
setDisabled(false);
} else {
if (action.payload) {
// dispatch errors
createToast({
body: action.payload.msg,
});
} else {
// unknown errors
createToast({
body: "Unknown error.",
});
}
}
}
};
const handleNavigate = () => {
sessionStorage.removeItem("email");
navigate("/login");
};
return (
<Stack
className="check-email-page auth"
overflow="hidden"
sx={{
"& h1": {
color: theme.palette.primary.main,
fontWeight: 600,
fontSize: 22,
},
/* TODO font size from theme */
"& p": { color: theme.palette.primary.contrastTextSecondary, fontSize: 13.5 },
"& span": { fontSize: "inherit" },
}}
>
<Box
className="background-pattern-svg"
sx={{
"& svg g g:last-of-type path": {
stroke: theme.palette.primary.lowContrast,
},
}}
>
<Background style={{ width: "100%" }} />
</Box>
<Stack
direction="row"
alignItems="center"
px={theme.spacing(12)}
gap={theme.spacing(4)}
>
<Logo style={{ borderRadius: theme.shape.borderRadius }} />
<Typography sx={{ userSelect: "none" }}>Checkmate</Typography>
</Stack>
<Stack
width="100%"
maxWidth={600}
flex={1}
justifyContent="center"
px={{ xs: theme.spacing(12), lg: theme.spacing(20) }}
pb={theme.spacing(20)}
mx="auto"
sx={{
"& > .MuiStack-root": {
border: 1,
borderRadius: theme.spacing(5),
borderColor: theme.palette.primary.lowContrast,
backgroundColor: theme.palette.primary.main,
padding: {
xs: theme.spacing(12),
sm: theme.spacing(20),
},
},
}}
>
<Stack
gap={{ xs: theme.spacing(8), sm: theme.spacing(10) }}
alignItems="center"
textAlign="center"
>
<Box>
<Stack
direction="row"
justifyContent="center"
>
<IconBox
height={48}
width={48}
minWidth={48}
borderRadius={12}
svgWidth={24}
svgHeight={24}
mb={theme.spacing(4)}
>
<EmailIcon alt="email icon" />
</IconBox>
</Stack>
<Typography component="h1">Check your email</Typography>
<Typography>
We sent a password reset link to{" "}
<Typography
className="email-sent-to"
component="span"
>
{email || "username@email.com"}
</Typography>
</Typography>
</Box>
<Button
variant="contained"
color="accent"
onClick={openMail}
sx={{
width: "100%",
maxWidth: 400,
}}
>
Open email app
</Button>
<Typography sx={{ alignSelf: "center", mt: theme.spacing(6) }}>
Didn&apos;t receive the email?{" "}
<Typography
component="span"
onClick={resendToken}
sx={{
color: theme.palette.primary.main,
userSelect: "none",
pointerEvents: disabled ? "none" : "auto",
cursor: disabled ? "default" : "pointer",
opacity: disabled ? 0.5 : 1,
}}
>
Click to resend
</Typography>
</Typography>
</Stack>
</Stack>
<Box
textAlign="center"
p={theme.spacing(12)}
>
<Typography display="inline-block">Go back to —</Typography>
<Typography
component="span"
ml={theme.spacing(2)}
color={theme.palette.primary.main}
onClick={handleNavigate}
sx={{ userSelect: "none" }}
>
Log In
</Typography>
</Box>
</Stack>
);
};
export default CheckEmail;
Loaded 100 of 1180 files, more files were not shown because too many files have changed in this diff. Show more