Commit Graph

308 Commits

Author SHA1 Message Date
nate 437b493567 fix: can't edit monitors 2026-03-19 11:43:23 +04:00
nate 63cd0c7af5 update: lower pricing 2026-03-19 11:35:11 +04:00
nate e19e723d49 update: lower pricing to $12 2026-03-19 11:32:34 +04:00
nate d52026f787 bump max runs 2026-03-19 11:20:45 +04:00
nate b1dce432a5 test: ssr graphs 2026-03-19 11:17:05 +04:00
nate d62f776f7b test: ssr graphs 2026-03-19 11:14:30 +04:00
nate 164b7f65f8 remove js 2026-03-19 10:23:22 +04:00
nate 57bf994926 fix: more nojs 2026-03-19 10:18:31 +04:00
nate b6fa544d5e fix: uncentered box 2026-03-19 10:13:34 +04:00
nate 96a58233fd fix: flashbang 2026-03-19 10:08:20 +04:00
nate d8d1952304 fix: elysia issues 2 2026-03-19 10:06:14 +04:00
nate 03fe13e707 fix: elysia issues 2026-03-19 10:00:30 +04:00
nate 61560ae521 feat: no-JS support for all core UI — registration, settings, monitor CRUD, logout 2026-03-19 09:55:08 +04:00
nate 632f006988 refactor: simplify payment gateway, single evaluatePayment function, clean landing page pricing 2026-03-19 09:42:03 +04:00
nate df638c94f1 update: ........... 2026-03-19 01:14:17 +04:00
nate e62b60e0fd update: ....... 2026-03-19 01:07:49 +04:00
nate 955b26f942 update: .... 2026-03-19 01:02:52 +04:00
nate 1e6739b42a update: hopefully...... 2026-03-19 00:53:20 +04:00
nate 8a24b30b2a update: hopefully.... 2026-03-19 00:49:32 +04:00
nate 7e55b2ad95 fix: hopefully.. 2026-03-19 00:43:26 +04:00
nate 0854914411 fix: use native EventSource for SSE instead of fetch with manual parsing 2026-03-19 00:24:16 +04:00
nate c3103f06ce feat: invoices section on settings page, show paid and active payments 2026-03-19 00:16:33 +04:00
nate 81f1e1585e fix: use raw SSE with local matching, bulk polling, block-based confirmations, and multi-tx support 2026-03-19 00:04:46 +04:00
M1 d02b27bc16 fix: frontend SSE also uses 'crypto' not 'chain' 2026-03-18 23:50:13 +04:00
M1 b46c3c618e feat: update URL to /checkout/:id after creation, auto-load existing invoice on load 2026-03-18 23:43:03 +04:00
M1 36a7d309fa feat: /dashboard/checkout/:id route so invoices survive refresh 2026-03-18 23:37:20 +04:00
nate 7d1a350f86 feat: instant payment detection via Freedom.st SSE on backend and frontend 2026-03-18 23:06:57 +04:00
nate c9130243e8 feat: crypto payment system with HD wallets, Freedom.st integration, and checkout UI 2026-03-18 23:04:17 +04:00
nate c89b63bd97 feat: implement free/pro plan system with monitor and interval limits 2026-03-18 22:40:45 +04:00
nate 11e6c593ad chore: limit pro plan to 500 monitors on landing page 2026-03-18 22:33:43 +04:00
nate a829c4507c update: footer text 2026-03-18 21:23:00 +04:00
nate 3e6e758648 chore: replace footer credit with standard copyright 2026-03-18 21:19:22 +04:00
nate fad343c85a fix: default to all regions enabled for new monitors 2026-03-18 21:12:30 +04:00
nate 56114a3852 fix: enable pgcrypto extension for gen_random_bytes in monitor IDs 2026-03-18 21:08:19 +04:00
nate 2075de164d update: use short 16-char hex IDs for new monitors instead of UUIDs 2026-03-18 21:05:01 +04:00
nate e4895afe8e update: default ping interval to 30s, update free tier limit to match 2026-03-18 21:01:41 +04:00
nate fd821acec2 update: default ping interval to 10s 2026-03-18 20:59:50 +04:00
nate 5295fcfe79 chore: move TOS to /terms, remove from header, remove pricing from footer 2026-03-18 20:59:23 +04:00
nate 3b79e8d589 fix: typo in terms 2026-03-18 20:55:00 +04:00
nate c74e2d3b58 chore: add more timeout options, default to 10s 2026-03-18 20:50:16 +04:00
nate 0d059a0112 chore: set 2s minimum interval, update marketing and docs to match 2026-03-18 20:47:11 +04:00
nate 86d36a87fc fix: refresh chart tooltip on live updates while hovering 2026-03-18 20:40:07 +04:00
nate f9826fbbe4 update 2026-03-18 20:29:35 +04:00
nate 13beacbc5a chore: remove us-east and ap-southeast regions from UI 2026-03-18 20:20:25 +04:00
nate 2d46491dee chore: remove us-east region from UI, charts, and region selectors 2026-03-18 20:13:11 +04:00
nate cbb1a26582 fix: trim chart runs in place and reduce to 25 to match SSR density 2026-03-18 20:06:23 +04:00
nate f2fcf1a0b9 fix: evenly space chart runs at fixed width and trim initial data to match 2026-03-18 20:02:48 +04:00
nate 766d1094ad fix: evict oldest chart runs as a group instead of individual pings 2026-03-18 20:00:11 +04:00
nate 993e6bb1df fix: show full run_id instead of truncating to 8 chars 2026-03-18 19:57:41 +04:00
nate e9ca90324b fix: align chart points by run_id avg time so regions stack vertically 2026-03-18 19:55:48 +04:00
nate 1706e83a3f fix: reduce chart spline tension to prevent jittery overshoot 2026-03-18 19:52:46 +04:00
nate 59861651bd feat: interactive canvas latency chart with hover tooltips and smooth curves 2026-03-18 19:49:44 +04:00
nate df22029755 fix: no region text 2026-03-18 19:43:28 +04:00
nate f013890c40 refactor: extract monitor form into shared partial for create and edit 2026-03-18 19:41:31 +04:00
nate 5b7a211c21 fix: show latest latency from fastest region instead of average on home 2026-03-18 19:36:24 +04:00
nate 688245b0c2 fix: match client-side sparkline behavior to SSR region-aware rendering 2026-03-18 19:31:41 +04:00
nate 6beb7f8039 update: tos 2026-03-18 19:27:10 +04:00
nate 425bfbfc39 perf: optimize monitor runner, fix SSE leak, deduplicate shared utils 2026-03-18 18:44:08 +04:00
M1 7b98ae78e5 fix: run_id = hash(monitor_id, interval_bucket) — unique per window, consistent across regions 2026-03-18 17:03:17 +04:00
M1 77534a037c feat: show run_id (first 8 chars) in recent pings table 2026-03-18 16:42:50 +04:00
M1 e057a65535 fix: avgLatency NaN — extract .latency_ms from ping objects 2026-03-18 16:31:08 +04:00
M1 07648672ad feat: per-region chart lines and lowest-avg sparkline 2026-03-18 16:25:47 +04:00
M1 8c39fb45c1 feat: add region selector to monitor edit form 2026-03-18 16:15:19 +04:00
M1 93db31db3b feat: multi-region monitor support — region selector in UI, region flag on pings 2026-03-18 16:08:39 +04:00
M1 baea9f8e7e fix: sub-key notice as separate card below account section 2026-03-18 12:05:24 +04:00
M1 6d057d5797 fix: move sub-key notice inside account section 2026-03-18 12:04:40 +04:00
M1 988c43090b fix: make sub-key notice match page style 2026-03-18 12:03:02 +04:00
M1 a9a1e43146 feat: add sub-key notice banner on settings page 2026-03-18 12:01:35 +04:00
M1 f7d6eff972 fix: block sub-keys from accessing/modifying email, account key, and other sub-keys 2026-03-18 11:51:52 +04:00
M1 eeb0318c4d fix: hide login key and sub-keys from sub-key sessions 2026-03-18 11:48:51 +04:00
M1 c56af82053 fix: increase key input maxlength to 64 for new key format 2026-03-18 11:45:31 +04:00
M1 1a7bc4dfa5 fix: sameSite=none for cross-origin cookie (pingql.com → api.pingql.com) 2026-03-18 11:41:00 +04:00
nate 5a0cf5033b fix: harden auth, SSRF, query engine, and cookie security 2026-03-18 11:37:33 +04:00
M1 d278ab0458 fix: use credentials:include for cross-origin API requests 2026-03-18 09:44:50 +04:00
M1 641af86779 fix: separate jsHash for app.js cache busting 2026-03-18 09:43:11 +04:00
M1 9fb90d9ea8 fix: point dashboard API calls to api.pingql.com 2026-03-18 09:39:07 +04:00
M1 841a852491 feat: split web and api into separate apps 2026-03-18 09:33:46 +04:00
M1 ba437e3c5a feat: block web UI routes on api.pingql.com, serve JSON root 2026-03-18 09:30:13 +04:00
M1 3a9cd62cdd fix: increase tos top padding to pt-28 2026-03-18 09:26:18 +04:00
M1 1325512c6d fix: reduce tos page padding and section spacing 2026-03-18 04:04:47 +04:00
M1 7a6a1fdd10 build: rebuild css with pt-40 and pt-2 for tos page 2026-03-18 04:02:47 +04:00
M1 143868eb21 fix: increase TOS top padding, add spacing above h2s 2026-03-18 03:59:52 +04:00
M1 7db2889960 feat: add Terms of Service page 2026-03-18 03:52:58 +04:00
M1 705073b508 fix: center hero section vertically on pageload 2026-03-18 03:45:14 +04:00
M1 7e3c651db7 fix: define brand color via @theme for tailwind v4 compat 2026-03-18 03:25:34 +04:00
M1 ce4411b13b feat: add 1-20s interval options, lower API minimum to 1s 2026-03-18 03:20:33 +04:00
M1 3df7f4b702 fix: logout properly expires cookie with matching domain/path attributes 2026-03-18 03:08:00 +04:00
M1 8221b3a33d fix: remove redundant 'jitter' word from pings table 2026-03-18 03:05:39 +04:00
M1 a246b60cbe fix: space between time and jitter label 2026-03-17 11:23:01 +04:00
M1 bd3c33dda4 fix: jitter = actual check start minus ideal scheduled time, not wall clock at dispatch 2026-03-17 10:54:36 +04:00
M1 27be1fa8bf fix: jitter_ms now measured in Rust at check start, excludes latency and return trip 2026-03-17 10:52:08 +04:00
M1 e7ec457d0e feat: show jitter_ms in pings table time column 2026-03-17 10:48:24 +04:00
M1 f71388a51a feat: jitter_ms tracking — scheduled_at stamped at dispatch, jitter computed on ingest 2026-03-17 10:44:35 +04:00
M1 5c91cbc522 refactor: convert all static HTML to EJS with cssHash cache-busting, remove stale html files 2026-03-17 09:54:44 +04:00
M1 ac693e55e0 fix: immutable cache-control headers for versioned static assets 2026-03-17 09:45:24 +04:00
M1 41bfe52f10 feat: cache-bust static assets with CSS content hash on startup 2026-03-17 09:44:18 +04:00
M1 6342ec907f fix: tailwind v4 @source directives, rebuild CSS (8.9KB → 33KB) 2026-03-17 09:42:24 +04:00
M1 ea5f1840df fix: use @tailwindcss/cli for cross-platform compat 2026-03-17 09:33:28 +04:00
M1 a995fe3c94 feat: replace Tailwind CDN with self-hosted pre-built CSS 2026-03-17 09:32:34 +04:00
M1 3638ce3dd2 chore: check -> ping 2026-03-17 09:28:45 +04:00
M1 081d3ad6e2 chore: simplify global network card copy 2026-03-17 09:27:50 +04:00
M1 6cf11dadde feat: replace response time card with global monitoring network 2026-03-17 09:26:49 +04:00
M1 486c94f4ff chore: strengthen security section on privacy page 2026-03-17 08:42:01 +04:00
M1 6965a114f0 chore: lifetime -> with strikethrough 2026-03-17 08:36:25 +04:00
M1 ca686403d9 chore: drop XEC ticker 2026-03-17 08:31:53 +04:00
M1 3fa6c5f1f6 chore: add eCash/XEC to accepted crypto 2026-03-17 08:31:08 +04:00
M1 7d67312a1b feat: replace SSRF card with crypto payments feature card 2026-03-17 08:30:23 +04:00
M1 a5d321f198 chore: drop Stripe from privacy page, add crypto payments mention 2026-03-17 08:26:58 +04:00
M1 62b67aaa7c feat: privacy page at /privacy, drop query language nav link 2026-03-17 08:22:17 +04:00
M1 5dd514aa94 feat: update landing features to reflect current product 2026-03-17 08:17:15 +04:00
M1 24bf97ae7d chore: pro interval 2.5s -> 1s 2026-03-17 08:15:06 +04:00
M1 0e6c27eca9 chore: pro plan -> /mo 2026-03-17 08:13:53 +04:00
M1 e925e9b0ed feat: add lifetime plan at to pricing section 2026-03-17 08:09:35 +04:00
M1 819a979f28 chore: pro plan priced at /mo 2026-03-17 08:02:56 +04:00
M1 08e5039d81 chore: free plan 5 monitors / 20s interval 2026-03-17 08:02:04 +04:00
M1 98c0cc35b2 chore: pro plan interval 5s -> 2.5s 2026-03-17 07:58:42 +04:00
M1 1495da41fa chore: remove limits during testing 2026-03-17 07:57:42 +04:00
M1 34fd66f784 feat: pricing page — 10 monitors/30s free, unlimited/5s pro coming soon; enforce 30s min interval 2026-03-17 07:55:07 +04:00
M1 cf8903f95d fix: fixed width on text column prevents layout shift when timestamp changes 2026-03-17 07:48:00 +04:00
M1 017d489e2e fix: mutate polyline points in place on SSE ping, no fetch, no flicker 2026-03-17 07:44:09 +04:00
M1 2c32bc1115 Revert "fix: client-side sparkline with local buffer, no server fetch on update"
This reverts commit 72bc11813d.
2026-03-17 07:42:36 +04:00
M1 72bc11813d fix: client-side sparkline with local buffer, no server fetch on update 2026-03-17 07:38:26 +04:00
M1 6929d8f51f fix: atomic SVG replaceWith() on sparkline update, no empty-frame bounce 2026-03-17 07:35:54 +04:00
M1 0874583a4f Revert "fix: static HTML label spans outside swap zone, chart only returns SVG + label update script"
This reverts commit e8bfaa42d7.
2026-03-17 07:34:02 +04:00
M1 e8bfaa42d7 fix: static HTML label spans outside swap zone, chart only returns SVG + label update script 2026-03-17 07:32:39 +04:00
M1 1e90b5f3c2 fix: move min/max labels out of SVG into HTML overlays, no more text stretch 2026-03-17 07:30:28 +04:00
M1 5eb463a03a fix: SVG h-full so it fills container exactly, no overflow or clipping 2026-03-17 07:28:57 +04:00
M1 51baf7c495 fix: chart container w-full overflow-hidden prevents graph escaping bounds 2026-03-17 07:27:05 +04:00
M1 f00c78116b fix: detail page updates all stats, status bar, pings table in realtime via SSE 2026-03-17 07:23:54 +04:00
M1 93c3a1e84a fix: pin sparkline container to 120x32 to prevent layout shift on update 2026-03-17 07:20:56 +04:00
M1 ed5e213b1a fix: migrate() uses CREATE IF NOT EXISTS — no more data wipe on restart 2026-03-17 07:17:54 +04:00
M1 1794c05b4f fix: restore status dot, latency, last-ping time updates on SSE 2026-03-17 07:15:31 +04:00
M1 94d24bac35 fix: fetch sparkline/chart immediately on SSE ping, no debounce delay 2026-03-17 07:12:48 +04:00
M1 b802c7c68b fix: bust Cloudflare cache on app.js with version query string 2026-03-17 07:10:27 +04:00
M1 66b368453d refactor: single account-level SSE stream instead of per-monitor connections 2026-03-17 07:06:09 +04:00
M1 55f9f6d8ed refactor: SSE just refreshes sparkline/chart from server, no DOM stat patching 2026-03-17 07:03:10 +04:00
M1 749c6f391e fix: SSE stream 500 — replace error() with plain Response in stream handler 2026-03-17 06:59:43 +04:00
M1 15227b9c6e fix: key_plain -> key in dashboard query 2026-03-17 06:51:27 +04:00
M1 e461d73ce3 refactor: drop all hashing, store keys plaintext 2026-03-17 06:47:22 +04:00
M1 54c89a5a11 fix: store key_plain on sub-keys, display always in settings with copy button 2026-03-17 06:40:33 +04:00
M1 c684d96d90 fix: rename API Keys -> Sub-Keys, show key inline on creation, no reload 2026-03-17 06:37:29 +04:00
M1 ab4f60e159 fix: rotate button inline with key field, updates in place 2026-03-17 06:34:57 +04:00
M1 0c65b5e3fa fix: just show the login key on settings page 2026-03-17 06:33:13 +04:00
M1 2ec1915ef5 fix: remove pointless internal UUID from settings, show login key label instead 2026-03-17 06:31:41 +04:00
M1 9d8982ae50 fix: key rotation shows new key in dedicated reveal, not sub-key div; clarify account ID label 2026-03-17 06:29:58 +04:00
M1 b80f4673b2 fix: use standard UUID v4 for keys instead of custom 256-bit hex format 2026-03-17 06:26:52 +04:00
M1 bbd5df8c46 fix: 8 groups of 8 chars, not 16 groups of 4 2026-03-17 06:26:14 +04:00
M1 43a1abc2ed fix: format keys as XXXX-XXXX-...-XXXX (8 groups), normalize before hashing
Keys are now human-readable grouped hex instead of raw 64-char blobs.
resolveKey() strips dashes before sha256/bcrypt so both formats work.
All key creation paths (register, reset-key, sub-keys) hash the
normalized form. Login placeholder and maxlength updated to match.
2026-03-17 06:25:19 +04:00
M1 b8ac4e7b1f fix: redirect loop on stale cookie, login broken for 64-char keys, stale docs
- /dashboard now validates key before redirecting to /home — bad/old keys
  clear the cookie and show login instead of looping
- Login form: remove old 4-group auto-formatter, fix maxlength 19→64,
  fix min length validation 19→10, update placeholder
- New key display: break-all so 64-char hex wraps properly
- docs.html: update example key format and description
2026-03-17 06:22:16 +04:00
M1 6bdd76b4f0 security: auth redesign, SSRF protection, CORS lockdown, and 13 other fixes
- Auth (#2/#3): UUID PK, 256-bit keys, SHA-256 lookup + bcrypt hash
- SSRF (#1): validate URLs, block private IPs, cloud metadata endpoints
- CORS (#4): lock to pingql.com origins, not wildcard
- SSE limit (#6): 10 connections per monitor max
- ReDoS (#7): cap $regex patterns at 200 chars
- Monitor limit (#8): 100 per account default
- Cookie env config (#9): secure/domain from env vars
- Bearer parsing (#10): case-insensitive RFC 6750
- Pings retention (#11): 90-day pruner, hourly interval
- monitors.enabled index (#12): partial index for /internal/due
- Runner locking (#14): locked_until for horizontal scale safety
- COALESCE nullable bug (#17): dynamic PATCH with explicit undefined checks
- MONITOR_TOKEN null guard (#18): startup validation + middleware hardening
- reset-key cookie fix (#16): sets new cookie in response
2026-03-17 06:10:10 +04:00