Commit Graph

1615 Commits

Author SHA1 Message Date
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
Owen 53e7b99605 Quiet up logs 2026-01-05 21:25:15 -05:00
Owen a6db4f20ad Expand where org id is pulled for subscription 2026-01-05 10:34:11 -05:00
miloschwartz c0c0d48edf ui enhancements 2025-12-24 16:14:26 -05:00
Owen 284cccbe17 Attempt to fix loginPageOrg undefined error 2025-12-24 16:14:26 -05:00
Owen 81a9a94264 Try to remove deadlocks on client updates 2025-12-24 16:14:26 -05:00
Owen dccf101554 Allow all in country in blueprints
Fixes #2163
2025-12-24 16:14:26 -05:00
miloschwartz 8732e50047 add flag to disable product help banners 2025-12-24 16:14:26 -05:00
miloschwartz 9759e86921 add stripPortFromHost and reuse everywhere 2025-12-24 16:14:26 -05:00
Owen ca89c5feca Reorder when the redirect gets in there
Mark and Close Stale Issues / stale (push) Has been cancelled
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
Owen 7e9f18bf24 Update migration to allow all ports 2025-12-22 21:57:14 -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
miloschwartz 1905936950 parse request ip in exchange session 2025-12-22 15:48:24 -05:00
Owen 221ee6a1c2 Remove warning for limit 2025-12-22 14:07:49 -05:00
Owen 2e60ecec87 Add maintence options to blueprints 2025-12-22 14:00:50 -05:00
miloschwartz 71386d3b05 fix request ip port strip issue with badger >=1.3.0 2025-12-22 12:35:40 -05:00
Jacky Fong 89a7e2e4dc handle olm as well 2025-12-22 10:25:30 -05:00
Jacky Fong 27440700a5 fix: Don't treat newt release-candidate as a "update" in the site list 2025-12-22 10:25:30 -05:00
Owen 6060b1d60d Merge branch 'main' into dev 2025-12-21 20:31:38 -05:00
Dhananjay Mahtha 7507806aaa Fix: Support public-resources and private-resources in Docker blueprint labels
Mark and Close Stale Issues / stale (push) Has been cancelled
Restart Runners / ec2-maintenance-prod (push) Has been cancelled
- Add support for pangolin.public-resources.* labels as alias for proxy-resources
- Add support for pangolin.private-resources.* labels as alias for client-resources
- Update processContainerLabels to parse all four resource type prefixes
- Update early-exit check in applyNewtDockerBlueprint to consider all four resource keys
- ConfigSchema transformation will merge public/private into proxy/client as designed

Fixes #2125
2025-12-21 17:09:01 -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 1d5d856799 Make extendedCompatibility on by default 2025-12-21 16:38:28 -05:00
Owen 8ea6b0cd9e Adjust algo for showing maintence page 2025-12-21 16:38:27 -05:00
miloschwartz dedc13ab98 bump version 2025-12-21 15:45:12 -05:00
miloschwartz 2f8ecf17ed add postgres migration 2025-12-21 15:43:38 -05:00
miloschwartz 81149085fa add sqlite migration 2025-12-21 15:32:43 -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 51ef859349 Dont print env var; confusing user 2025-12-20 17:28:30 -05:00
Owen 3ce0cc1992 Add missing semicolon 2025-12-20 16:35:16 -05:00
Owen a9a0fbe244 Merge UI into new screen 2025-12-20 16:35:16 -05:00
Owen 9b3d066a91 Fix merge issues 2025-12-20 16:35:16 -05:00
Owen d8344988c0 Restrict license 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
Owen b8ffc601d4 add backend API maintenance screen 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 1d862131dd remove maintenance mode from oss traefik config generator 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
Pallavi Kumari 096a2bfa10 fix maintenance router name 2025-12-20 16:35:16 -05:00
Pallavi Kumari 188994ce84 add pg schema 2025-12-20 16:35:16 -05:00
Owen 800bdcb277 generate traefik config for maintenance ui 2025-12-20 16:35:16 -05:00
Pallavi Kumari c033fd4e8b backend for updating maintenance screen 2025-12-20 16:35:16 -05:00
Owen 7e047d9e34 db schema for maintenance 2025-12-20 16:35:16 -05:00