Commit Graph

2794 Commits

Author SHA1 Message Date
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
Owen eafcefbe45 Merge branch 'dev' of github.com:jln-brtn/pangolin into jln-brtn-dev 2025-12-20 15:34:32 -05:00
Owen b80757a129 Add blueprint validation 2025-12-20 12:16:31 -05:00
Owen 13ddf30781 Add hybrid route 2025-12-20 12:16:31 -05:00
Owen 4ecca88856 Add asn option to blueprint type 2025-12-20 12:16:31 -05:00
Thomas Wilde 4f154d212e Add ASN-based resource rule matching
- Add MaxMind ASN database integration
- Implement ASN lookup and matching in resource rule verification
- Add curated list of 100+ major ASNs (cloud, ISP, CDN, mobile carriers)
- Add ASN dropdown selector in resource rules UI with search functionality
- Support custom ASN input for unlisted ASNs
- Add 'ALL ASNs' special case handling (AS0)
- Cache ASN lookups with 5-minute TTL for performance
- Update validation schemas to support ASN match type

This allows administrators to create resource access rules based on
Autonomous System Numbers, similar to existing country-based rules.
Useful for restricting access by ISP, cloud provider, or mobile carrier.
2025-12-20 12:16:31 -05:00
Owen ce3cb98422 Add blueprint validation 2025-12-20 12:16:00 -05:00
Owen ae5bdcd88b Add hybrid route 2025-12-20 12:16:00 -05:00
Owen 428a76d742 Add asn option to blueprint type 2025-12-20 12:16:00 -05:00
Thomas Wilde 8d2955475b Add ASN-based resource rule matching
- Add MaxMind ASN database integration
- Implement ASN lookup and matching in resource rule verification
- Add curated list of 100+ major ASNs (cloud, ISP, CDN, mobile carriers)
- Add ASN dropdown selector in resource rules UI with search functionality
- Support custom ASN input for unlisted ASNs
- Add 'ALL ASNs' special case handling (AS0)
- Cache ASN lookups with 5-minute TTL for performance
- Update validation schemas to support ASN match type

This allows administrators to create resource access rules based on
Autonomous System Numbers, similar to existing country-based rules.
Useful for restricting access by ISP, cloud provider, or mobile carrier.
2025-12-20 12:16:00 -05:00
Owen 75b9703793 Seperate config gen into functions 2025-12-20 11:41:23 -05:00
Fred KISSIE e983e1166a 🚧 wip: approval tables in DB 2025-12-20 00:05:33 +01:00
miloschwartz 5587bd9d59 Merge branch 'dev' of https://github.com/fosrl/pangolin into dev 2025-12-19 17:06:57 -05:00
miloschwartz b5f8e8feb2 add org auth slug with device auth support 2025-12-19 17:04:37 -05:00
Owen 322f3bfb1d Add version and send it down 2025-12-19 16:44:57 -05:00
Jacky Fong 9bd66fa306 add back the blueprints api - draft 2025-12-19 15:01:33 -05:00
Owen fea4d43920 Make utility subnet configurable 2025-12-19 14:45:00 -05:00
Fred KISSIE 009b86c33b Merge branch 'dev' into feat/device-approvals 2025-12-19 20:03:05 +01:00
Fred KISSIE a5775a0f4f 🗃️ create approvals table 2025-12-19 00:00:10 +01:00
Owen 6e7ba1dc52 Prevent overlapping resources with org subnets 2025-12-18 17:08:50 -05:00
Owen 3e01bfef7d Move primaryDb into driver 2025-12-18 17:08:50 -05:00
miloschwartz e0de003c2c Merge branch 'dev' of https://github.com/fosrl/pangolin into dev 2025-12-18 16:49:44 -05:00
Owen 6b609bb078 Force big queries onto primary db to prevent 40001 2025-12-18 16:03:15 -05:00
depado 16653dd524 fix(database): filter dates evaluated at module load time 2025-12-18 10:06:31 -05:00
Owen 8ff588407c Fix various small issues; blueprints working 2025-12-17 22:12:16 -05:00
Owen c2e06725a8 Keep the same site resource id 2025-12-17 22:12:16 -05:00
Owen bb43e0c325 Handle changing site by recreating site resource 2025-12-17 22:12:16 -05:00