Commit Graph

235 Commits

Author SHA1 Message Date
Varun Narravula 1f077d7ec2 refactor(fingerprint): start taking fingerprint snapshots in new table 2026-01-20 12:13:43 -08:00
miloschwartz 45ecfcc6bb add approve and deny actions to devices table 2026-01-19 21:41:12 -08:00
miloschwartz 0b8068e13d add pending approvals count to sidebar 2026-01-19 21:25:28 -08:00
miloschwartz 2e802301ae make client link work approval feed 2026-01-19 21:07:15 -08:00
miloschwartz 7305c721a6 format device approval message 2026-01-19 21:00:48 -08:00
miloschwartz b299f3d6aa use display name function 2026-01-19 21:00:48 -08:00
Fred KISSIE b7df8b7319 ♻️ make logo URL optional 2026-01-19 20:39:24 -08:00
Owen 1a36cd0317 Fix linting errors 2026-01-19 17:57:55 -08:00
Owen ce632a25cf Consolidate the messages into the same enum 2026-01-17 11:41:10 -08:00
Owen 9114dd5992 Send terminate error messages 2026-01-16 14:57:54 -08:00
Owen 05748bf8ff Merge branch 'dev' into msg-delivery 2026-01-16 12:22:23 -08:00
Owen 65e8bfc93e Message syncing works 2026-01-15 21:26:13 -08:00
Fred KISSIE fb51f42f35 ♻️ set approval & blocked work in tandem 2026-01-15 01:33:52 +01:00
Fred KISSIE c910a715bd ♻️ set blocked to true if approvalState is set to denied 2026-01-15 01:12:38 +01:00
Fred KISSIE cbf184342b Merge branch 'dev' into feat/device-approvals 2026-01-14 23:08:40 +01:00
Fred KISSIE 0c5daa7173 process approvals on the frontend 2026-01-14 03:31:49 +01:00
Fred KISSIE bc20a34a49 process approval endpoint 2026-01-14 03:00:40 +01:00
Fred KISSIE d5b6a426a9 💄 filter by approval state 2026-01-14 02:24:11 +01:00
miloschwartz 2201b0395d add optional tags field to idp 2026-01-13 16:21:40 -08:00
Fred KISSIE 30943010e6 ♻️ sort by pending first 2026-01-14 00:37:48 +01:00
Owen eb0cdda0f9 Merge branch 'dev' into msg-delivery 2026-01-12 21:17:38 -08:00
Owen eba25fcc4d Add increment options and slight cleanup 2026-01-12 20:48:18 -08:00
Owen ca026b41c0 Merge branch 'main' into dev 2026-01-11 14:19:59 -08:00
miloschwartz 0a537c6830 add org only idp to integration api 2026-01-11 10:47:19 -08:00
Owen 78b00a18cc Add retry to aquire 2026-01-11 10:39:28 -08:00
Owen 192702daf9 Quiet log 2026-01-11 10:39:18 -08:00
Fred KISSIE 262376aa75 approval list UI 2026-01-10 02:37:50 +01:00
Fred KISSIE 74b16809ec ♻️ update endpoint to only return relevant data 2026-01-09 01:40:15 +01:00
Fred KISSIE fdb03c9626 ♻️ list approvals with client & user data 2026-01-09 01:33:40 +01:00
miloschwartz 2810632f4a add flag to enable org only idp in ee 2026-01-07 20:40:59 -08:00
Owen 53e7b99605 Quiet up logs 2026-01-05 21:25:15 -05:00
Fred KISSIE 0f2b94307f Merge branch 'dev' into feat/device-approvals 2026-01-05 16:54:18 +01:00
Owen a6db4f20ad Expand where org id is pulled for subscription 2026-01-05 10:34:11 -05:00
Owen 284cccbe17 Attempt to fix loginPageOrg undefined error 2025-12-24 16:14:26 -05:00
miloschwartz 9759e86921 add stripPortFromHost and reuse everywhere 2025-12-24 16:14:26 -05:00
Owen c5ece144d0 Attempt to fix loginPageOrg undefined error 2025-12-24 12:25:11 -05:00
Owen 18579c0647 Merge branch 'dev' into msg-delivery 2025-12-23 16:57:17 -05:00
Owen 2bb94e24eb Merge branch 'main' into dev 2025-12-23 16:57:01 -05:00
Owen 0d37e08638 Merge branch 'dev' into msg-delivery 2025-12-23 16:56:50 -05:00
Owen ca89c5feca Reorder when the redirect gets in there 2025-12-23 16:02:52 -05:00
Owen 729c2adb3f Dont allow maintence page on remote nodes 2025-12-23 15:24:26 -05:00
miloschwartz da112d3417 add stripPortFromHost and reuse everywhere 2025-12-23 12:35:03 -05:00
Owen ab3be26790 Working on remote nodes 2025-12-22 21:53:57 -05:00
Owen 5c67a1cb12 Format 2025-12-22 16:28:41 -05:00
Owen e28ab19ed4 Add header 2025-12-22 16:28:19 -05:00
Owen 59f8334cfd Fix ee export of MaintenanceSchema 2025-12-22 16:27:54 -05:00
Owen 2e60ecec87 Add maintence options to blueprints 2025-12-22 14:00:50 -05:00
Dhananjay Mahtha 90c48f20e0 Fix: Prevent cache memory leak by adding maxKeys limit and conditional caching
- Add maxKeys limit (10,000) to NodeCache to prevent unbounded memory growth
- Skip caching undefined values when GeoIP/ASN lookups fail (e.g., when MaxMind DB not configured)
- Add periodic cache statistics logging every 5 minutes for monitoring
- Fixes memory leak where cache would grow indefinitely with high request volumes

The maxKeys limit uses LRU eviction, so oldest entries are automatically removed
when the limit is reached. With ~10k requests/day and 5min TTL, 10k keys provides
ample headroom while preventing OOM issues.

Fixes #2120
2025-12-21 17:08:27 -05:00
Owen 8ea6b0cd9e Adjust algo for showing maintence page 2025-12-21 16:38:27 -05:00
Owen af4f85a081 Fix api call 2025-12-20 21:14:48 -05:00