Commit Graph
214 Commits
Author SHA1 Message Date
gadgethd 87239bd4b8 fix(seed): make UpsertIATADetails a true upsert
UpsertIATADetails was a plain UPDATE that silently affected zero rows
when the iata_codes row did not yet exist.  Adding a new IATA to the
config for the first time resulted in display_name, approx_lat, and
approx_lng remaining NULL.

Change the query to INSERT ... ON CONFLICT DO UPDATE so the row is
atomically created (if missing) or updated (if present), matching the
function's name and the pattern used by UpsertTransportScope.
2026-06-12 08:25:14 -07:00
Enot (ded) Skelly f143ff1b0a fix: broken readme api ref 2026-06-11 17:41:36 -07:00
Enot (ded) Skelly 07c724a32a fix: update swagger with licesne and version 2026-06-11 15:58:58 -07:00
Enot (ded) Skelly 47d61f5283 chore: version bump 2026-06-11 15:56:36 -07:00
Enot (ded) Skelly a4a505e9db chore: update version in swagger ahead of release 2026-06-11 15:55:44 -07:00
Enot (ded) Skelly 5315af205c feat(traces): embed max-hop observation path and SNR in list response 2026-06-11 15:45:08 -07:00
Enot (ded) Skelly c3bf6d7e0d feat: add auto db migration in binary 2026-06-11 15:39:07 -07:00
Enot (ded) Skelly 880536905f chore(migrations): rename drop single hope route migration to be clear 2026-06-11 15:06:01 -07:00
Enot (ded) Skelly b58e5a1edc feat(api): differentiate traces and pings 2026-06-11 14:52:31 -07:00
Enot (ded) Skelly 73fa0be858 fix(routes): don't store single hop routes
migration to remove old single hop routes included
2026-06-11 14:09:10 -07:00
Enot (ded) Skelly ad8e410856 feat(api): add knownNeighborCount to nodesummary and publicKey to node neighbor 2026-06-11 13:47:58 -07:00
Enot (ded) Skelly ef5257db66 fix(stats): fix radio presets query 2026-06-10 13:46:21 -07:00
Enot (ded) Skelly 205eaafbe9 feat(stats): add node type breakdown
/stats/node-types w/ filters for iata/region

closes #55
2026-06-10 13:18:26 -07:00
Enot (ded) Skelly 5e0274d778 fix(telemetry): incorrect truncation on observer telemetry 2026-06-10 13:04:02 -07:00
Enot (ded) Skelly 96aa7f2e02 fix(swagger): missing update from stats changes 2026-06-10 10:03:16 -07:00
Enot (ded) Skelly a0a687b6f8 tests(handlers): add validation tests for stats endpoints 2026-06-10 09:57:54 -07:00
Enot (ded) Skelly a9b0025b1d fix(stats): support multiple IATAs and region filtering on all stats endpoints
closes: #53 and #54
2026-06-10 09:52:02 -07:00
Enot (ded) Skelly 33abae6401 chore(ci): add back codeql yaml from github 2026-06-10 09:21:44 -07:00
Enot (ded) Skelly 9f2ddfe60d fix(ci): remove codeql and just use githubs integration 2026-06-10 09:04:03 -07:00
Enot (ded) Skelly 632f858376 fix(sql): observer telemetry for airtime and errors
changes from average to the calculated delta of the min
and max with a guard against negatives

closes #52
2026-06-10 08:29:10 -07:00
Enot (ded) Skelly 2286dc7eaf fix: observer telemetry TS should have been ms not s
partial for #52
2026-06-10 08:20:44 -07:00
Enot (ded) Skelly ddd0c473fb chore: remove unused queries 2026-06-09 15:56:26 -07:00
Enot (ded) Skelly 58288d7daa docs: update shoulders
i'll be better i promise
2026-06-09 14:55:27 -07:00
Enot (ded) Skelly a5bd8ccaf0 feat: add cors support
optionally control cross origin requests by origin and
method
2026-06-09 14:54:00 -07:00
Enot (ded) Skelly 432122fee4 docs: update readme re: redis 2026-06-09 14:25:02 -07:00
Enot (ded) Skelly b574ec5c30 feat: add redis 2026-06-09 14:12:58 -07:00
Enot (ded) Skelly 983ebe126b fix: make hex query params case-insensitive 2026-06-09 10:49:55 -07:00
Enot (ded) Skelly 288e28ca29 fix: coverage badge url 2026-06-09 09:57:53 -07:00
Enot (ded) Skelly 7c993390d3 chore: add code coverage as badge 2026-06-09 09:52:04 -07:00
Enot (ded) Skelly 5950088f5e fix: missing v4 codeql init 2026-06-09 09:33:39 -07:00
Enot (ded) Skelly ec73c77197 chore: update codeql runner version
closes #49
2026-06-09 09:29:25 -07:00
Enot (ded) Skelly d1db7a31ac maint: add code coverage workflow 2026-06-09 09:29:25 -07:00
Enot (ded) Skelly 9716326d3d fix(security): incorrect int conversion
changes from strconv.Atoi without bounds checks to
strconv.ParseInt
2026-06-09 09:20:54 -07:00
Enot (ded) Skelly 38b9165cd6 chore: enable codeql ci 2026-06-09 08:59:27 -07:00
Enot (ded) Skelly 64efc27042 fix: forgot to update swagger for traces rawPath 2026-06-09 08:35:13 -07:00
Enot (ded) Skelly 8e2b7f4c3e docs: update schema migration notes 2026-06-09 08:32:36 -07:00
Enot (ded) Skelly 2333468f92 feat(traces): include raw path hashes as well as resolved
closes #43
2026-06-09 08:31:04 -07:00
Enot (ded) Skelly e2b22aa477 fix: typo in subscribeScope struct 2026-06-09 08:29:55 -07:00
Enot (ded) Skelly db975fe201 fix: temp disable codeql
not available on free private repos
2026-06-08 16:48:56 -07:00
Enot (ded) Skelly 4bf7ac2de2 fix: broken swagger check 2026-06-08 16:47:24 -07:00
Enot (ded) Skelly da90cc0a9d chore: update to go 1.26.4 2026-06-08 16:39:43 -07:00
Enot (ded) Skelly 29665e1a02 chore: add codeql 2026-06-08 16:28:05 -07:00
Enot (ded) Skelly 3e79951c52 chore: add go vuln check 2026-06-08 16:27:55 -07:00
Enot (ded) Skelly e4fc1d93c4 docs: don't put license in generated code 2026-06-08 16:11:51 -07:00
Enot (ded) Skelly cda4905815 docs: update SPDX license lines 2026-06-08 16:08:39 -07:00
Enot (ded) Skelly 5a49023409 chore: add swagger to ci 2026-06-08 16:08:10 -07:00
Enot (ded) Skelly b80f4e76f2 docs: add coc.md 2026-06-08 16:00:54 -07:00
Enot (ded) Skelly 9d5426f1e4 docs: add github templates: bug, feature and PR 2026-06-08 15:56:00 -07:00
Enot (ded) Skelly 0c2ccc32e3 docs: add security.md 2026-06-08 15:52:22 -07:00
Enot (ded) Skelly 9c822aff30 docs: add contributors.md 2026-06-08 15:48:40 -07:00