Commit Graph

110 Commits

Author SHA1 Message Date
Owen 80656f48e0 Sqlite migration done 2025-07-28 17:18:51 -07:00
Owen ebde149980 Merge branch 'main' into dev 2025-07-28 17:15:05 -07:00
Owen 28f8b05dbc Basic clients working 2025-07-27 10:21:27 -07:00
Fernando Rodrigues 9e87c42d0c add shebangs to migration and server scripts
In NixOS, we wrap these files in a bash script to allow users to just run them as normal executables, instead of calling them as arguments to Node.JS. In our build scripts, we just add the shebang after the files have been compiled, but adding it upstream will allow all Pangolin users to just run ./server.mjs to start their Pangolin instances.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-07-27 13:10:18 +10:00
Owen 84c28645be Merge branch 'dev' of github.com:fosrl/pangolin into dev 2025-07-16 18:13:25 -07:00
miloschwartz 665ef08733 minor fixes for release 2025-07-16 18:09:17 -07:00
Owen 7b726a41ef Remove extra try catch 2025-07-16 16:56:05 -07:00
Owen f0f68632ff Add transaction 2025-07-16 12:34:53 -07:00
Owen 2992de5139 Add basic org subnet thing to postgres
T#
2025-07-16 12:00:38 -07:00
Owen 779532b1c9 Generate the initial subnets for sites and orgs 2025-07-16 11:56:26 -07:00
miloschwartz a356147164 remove not null from orgs 2025-07-16 11:52:36 -07:00
miloschwartz d1489a9a78 fixes to sqlite migration 2025-07-16 11:47:59 -07:00
Owen 021bc073a2 Make org subnet optional 2025-07-16 11:35:38 -07:00
miloschwartz 1dff9baa61 Merge branch 'dev' of https://github.com/fosrl/pangolin into dev 2025-07-15 16:24:26 -07:00
miloschwartz 19d54778f5 add branding logo component 2025-07-15 16:24:16 -07:00
Owen 99d0fa974b Remove breakpoints 2025-07-15 16:17:31 -07:00
Owen 963bc5f0bc Add migrations to the callers 2025-07-15 15:59:37 -07:00
Owen b446c2ce4b Add initial migration 2025-07-15 15:58:01 -07:00
Owen f6b2c5bbf3 Initial migration created for sqlite 2025-07-15 15:52:15 -07:00
miloschwartz f1291d4d7d remove is base domain resource and flag 2025-07-15 15:07:34 -07:00
Owen 3dc79da2fa Merge branch 'dev' into clients-pops-dev 2025-07-14 16:59:00 -07:00
Owen 83b00c1cfa Fix domain picker build and copy in for domains 2025-07-14 16:37:54 -07:00
miloschwartz 0a97d91aed restore migrations and fix rate limit 2025-07-14 14:55:09 -07:00
Owen 7f227932da Domain picker support wildcard 2025-07-14 12:24:38 -07:00
Adrian Astles 5009906385 renamed passkey to security key to stay aligned with the UI and other backend naming. 2025-07-05 21:51:31 +08:00
Adrian Astles 3994b25a71 Merge branch 'dev' into feat/internal-user-passkey-support 2025-07-05 18:36:44 +08:00
Adrian Astles db76558944 refactor: rename passkeyChallenge to webauthnChallenge
- Renamed table for consistency with webauthnCredentials
- Created migration script 1.8.1.ts for table rename
- Updated schema definitions in SQLite and PostgreSQL
- Maintains WebAuthn standard naming convention
2025-07-03 21:53:07 +08:00
miloschwartz 719d75f8a6 fix pg migration for >1.6.0 2025-07-01 21:03:10 -07:00
Owen f3b44a3085 Add default type 2025-06-22 15:48:47 -04:00
miloschwartz 317a15b649 Merge branch 'dev' into clients-pops 2025-06-20 16:34:49 -04:00
miloschwartz d03f45279c remove server admin from config and add onboarding ui 2025-06-19 22:11:05 -04:00
miloschwartz acf25e8ad7 Merge branch 'dev' into clients-pops 2025-06-19 16:34:06 -04:00
miloschwartz f300838f8e add migration for 1.6.0 2025-06-19 15:58:05 -04:00
miloschwartz 58ba0d07b0 add migration to set trust_proxy to 1 if it exists in config 2025-06-19 12:08:06 -04:00
miloschwartz 17ac5a5e81 add flag to disable config managed domains 2025-06-17 17:25:41 -04:00
miloschwartz 72d8ad3204 disable migrations 2025-06-16 15:23:28 -04:00
miloschwartz 23d529bb31 Merge branch 'dev' into clients-pops 2025-06-15 18:04:44 -04:00
miloschwartz 7bbb687047 make exit node name backwards compatible 2025-06-15 18:02:31 -04:00
miloschwartz b39708700d add exit node name and fix db import issues 2025-06-15 17:49:27 -04:00
miloschwartz fc19d0ba8b add set server admin password to cli 2025-06-15 13:19:07 -04:00
Thijs van Loef cbca88f76b fix semi colons 2025-06-09 23:52:16 +02:00
miloschwartz 980545c636 dont throw if fail to migration config 2025-06-05 11:55:59 -04:00
miloschwartz af98610d0d fix migration number and add allowed_headers migration 2025-06-04 17:15:11 -04:00
Owen 27a0df4ed4 Add migration for 1.4.0 2025-06-04 15:16:42 -04:00
miloschwartz 2cca561e51 support postgresql as database option 2025-06-04 12:02:07 -04:00
miloschwartz 237960fc5b various small fixes 2025-04-29 22:59:38 -04:00
miloschwartz 3ebc01df8c add migration 2025-04-28 23:07:11 -04:00
miloschwartz 599d0a52bf add api key code and oidc auto provision code 2025-04-28 21:14:09 -04:00
miloschwartz 4819f410e6 add license system and ui 2025-04-27 13:03:00 -04:00
miloschwartz f4fd33b47f Merge branch 'auth-providers' into dev 2025-04-23 22:08:37 -04:00