Commit Graph

189 Commits

Author SHA1 Message Date
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
Owen 6a5939599c Remove maintence mode internal vars and use server 2025-12-20 17:28:39 -05:00
Owen a9a0fbe244 Merge UI into new screen 2025-12-20 16:35:16 -05:00
Owen 19f8cda3d9 Make private 2025-12-20 16:35:16 -05:00
Pallavi Kumari d3c4688c0f redirect everything to maintenance page 2025-12-20 16:35:16 -05:00
Pallavi Kumari bd20bb0dd1 add logger 2025-12-20 16:35:16 -05:00
Pallavi Kumari d82535d3e1 point the resource to the nextjs server for maintenance screen 2025-12-20 16:35:16 -05:00
Pallavi Kumari 795302a351 refactor files and add func to private traefik config generator file 2025-12-20 16:35:16 -05:00
Owen eafcefbe45 Merge branch 'dev' of github.com:jln-brtn/pangolin into jln-brtn-dev 2025-12-20 15:34:32 -05:00
Owen 13ddf30781 Add hybrid route 2025-12-20 12:16:31 -05:00
depado 16653dd524 fix(database): filter dates evaluated at module load time 2025-12-18 10:06:31 -05:00
miloschwartz 9f29657570 Merge branch 'dev' into feat/login-page-customization 2025-12-17 11:41:17 -05:00
Owen 0e3b6b90b7 Send reply to email in support requests 2025-12-15 17:43:45 -05:00
Owen a767a31c21 Quiet log message 2025-12-13 12:28:44 -05:00
Owen 27db77bca4 Format 2025-12-12 14:53:26 -05:00
miloschwartz f81909489a add client telmetry and fix missing openapi on prefault 2025-12-11 10:38:48 -05:00
Fred KISSIE f9c0e0ec3d 💬 updated text 2025-12-10 03:56:08 +01:00
Fred KISSIE 5b620469c7 ♻️ set export logs limits to 50 000 everywhere 2025-12-10 03:42:53 +01:00
Fred KISSIE df4b9de334 🚧 wip: export limits 2025-12-10 03:24:32 +01:00
Fred KISSIE d490cab48c Merge dev into fix/log-analytics-adjustments 2025-12-10 03:19:14 +01:00
Fred KISSIE 9db2feff77 ♻️ set default time to 7 days ago in API too 2025-12-09 00:17:34 +01:00
Owen e24a13fb11 Implement previous year delete 2025-12-06 20:49:53 -05:00
miloschwartz 28725dd164 update logging 2025-12-06 16:18:44 -05:00
miloschwartz 1714140ee7 fix branding favicon and subtitle texts 2025-12-06 16:16:42 -05:00
miloschwartz f449fdc7ec add optial disconnect on regenerate credentials 2025-12-06 12:36:31 -05:00
miloschwartz 646497cda0 improve site regenerate cred ui 2025-12-06 11:40:28 -05:00
Owen 5e52c48e77 Fix import 2025-12-05 21:48:45 -05:00
Owen c233fc564e Fix credentials 2025-12-05 21:28:41 -05:00
Owen d1c7832e40 Update rekey endpoints and pages 2025-12-05 18:30:43 -05:00
Fred KISSIE d0157ea7a5 Merge branch 'dev' into feat/login-page-customization 2025-12-05 22:38:07 +01:00
miloschwartz a3b852ef45 Merge branch 'dev' into clients-user 2025-12-05 15:17:32 -05:00
Owen 35f9c67cfe Merge branch 'main' into dev 2025-12-05 09:45:17 -05:00
Fred KISSIE ba9048a377 Merge branch 'dev' into feat/login-page-customization 2025-12-04 23:56:16 +01:00
Owen 8eec122114 Fixing holepunching and other bugs 2025-12-03 20:31:37 -05:00
miloschwartz a61c82570a add logs routes to integration api routes closes #1963 2025-12-03 17:45:19 -05:00
miloschwartz 357f297a3e remove enable_clients flag from config 2025-12-03 15:02:39 -05:00
Fred KISSIE 3870ced635 Merge branch 'clients-user' into refactor/separate-tables 2025-12-03 17:01:50 +01:00
Fred KISSIE f5bfddd262 🚨 run eslint --fix 2025-12-03 16:58:12 +01:00
Owen a623604e96 Improve holepunching 2025-12-01 13:54:30 -05:00
Julien Breton 46ed27a218 Fix: Extend Basic Auth compatibility with browsers 2025-12-01 01:18:09 +01:00
Owen 2cfb0e05cf Lock working without redis? 2025-11-20 14:03:25 -05:00
Owen 5b9386b18a Add lock 2025-11-20 12:40:25 -05:00
Owen f5c3dff43c Some small bug fixes 2025-11-20 12:24:24 -05:00
Owen 937b36e756 Build client site resource associations and send messages 2025-11-19 18:05:42 -05:00
Owen 806949879a Merge branch 'dev' into clients-user 2025-11-18 13:53:12 -05:00