Commit Graph

1726 Commits

Author SHA1 Message Date
T Aviss 481714f095 Fix for issues with binding ports other than 80/443
server/routers/badger/verifySession.ts : verifyResourceSession() updated code behind "cleanHost" var to a regex which strips the trailing :port for any port (rather than a string match for 80/443)
src/app/auth/resource/[resourceId]/page.tsx : ResourceAuthPage() added a secondary match for serverResourceHost and redirectHost that accounts for ports
server/routers/badger/exchangeSession.ts : Updated exchangeSession() to use the same "cleanHost" type var (with port-stripping) as in verifyResourceSession(), replaced references to "host" with "cleanHost"
2025-07-30 22:16:46 -07:00
miloschwartz d38656e026 add clients to int api 2025-07-30 21:31:16 -07:00
Owen 35823d5751 Fix adding sites to client 2025-07-28 22:40:27 -07:00
Owen d732c1a845 Clean up migrations 2025-07-28 17:32:15 -07:00
Owen 4d7e25f97b Complete migrations 2025-07-28 17:22:53 -07:00
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
miloschwartz adc0a81592 delete org domains and resources on org delete 2025-07-28 15:34:56 -07:00
miloschwartz 494329f568 delete resources on delete org 2025-07-28 12:55:20 -07:00
Owen a1e8211ba7 Dont send enableProxy 2025-07-28 12:53:13 -07:00
Milo Schwartz bda2aa46b6 Merge pull request #1124 from adrianeastles/feature/member-resouce-landing-page
New Member Resource Landing Page
2025-07-28 14:33:09 -04:00
copilot-swe-agent[bot] 27ac204bb6 Fix variables incorrectly changed from let to const - revert to let where variables are reassigned
Co-authored-by: oschwartz10612 <4999704+oschwartz10612@users.noreply.github.com>
2025-07-28 17:43:40 +00:00
copilot-swe-agent[bot] a2526ea244 Revert mappings variable from const to let in getAllRelays.ts
Co-authored-by: oschwartz10612 <4999704+oschwartz10612@users.noreply.github.com>
2025-07-28 17:30:21 +00:00
Owen e105a523e4 Add log and fix default 2025-07-27 14:11:36 -07:00
Owen 28f8b05dbc Basic clients working 2025-07-27 10:21:27 -07:00
Owen Schwartz d95286db0e Merge pull request #1139 from SigmaSquadron/push-xlmpuutwtnuy
add shebangs to migration and server scripts
2025-07-27 10:11:17 -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
Fernando Rodrigues 0b52cd002e add an environment variable for the smtp_pass config option
The password for secure authentication may be sensitive, so it is best
to not leave it lying around in a config file. This commit introduces
the EMAIL_SMTP_PASS environment variable, which can be set to configure
the SMTP password without writing it to the configuration file.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-07-27 13:03:29 +10:00
Adrian Astles 350485612e This improves the user experience by automatically filling the email field
and preventing users from changing the email they were invited with.

- Update invite link generation to include email parameter in URL
- Modify signup form to pre-fill and lock email field when provided via invite
- Update invite page and status card to preserve email through redirect chain
- Ensure existing invite URLs continue to work without breaking changes
2025-07-25 22:46:40 +08:00
Owen 15adfcca8c Add remote subnets to ui 2025-07-24 22:01:22 -07:00
Owen 5f75813e84 Handle relaying change values in gerbil 2025-07-24 20:47:39 -07:00
Owen 59cb06acf4 Support relaying on register 2025-07-24 14:48:24 -07:00
Adrian Astles bcc2c59f08 Add member portal functionality - extracted from feature/member-landing-page 2025-07-24 21:04:55 +08:00
copilot-swe-agent[bot] 2259879595 Fix ESLint issues: prefer-const warnings and missing semicolons
Co-authored-by: oschwartz10612 <4999704+oschwartz10612@users.noreply.github.com>
2025-07-22 19:07:43 +00:00
Owen 5c929badeb Send endpoint 2025-07-22 11:21:39 -07:00
miloschwartz 114ce8997f add tos and pp consent 2025-07-21 16:57:21 -07:00
Owen f1bba3b958 Fix issues in pg schema 2025-07-21 16:32:13 -07:00
miloschwartz 053acef728 allow using password to log in if security keys are available 2025-07-21 14:28:32 -07:00
Owen d000879c01 Add config for domains 2025-07-21 12:42:50 -07:00
Owen bbaea4def0 Handle peer relay dynamically now 2025-07-18 21:42:12 -07:00
Milo Schwartz 54f9282166 Merge pull request #1091 from fosrl/dev
Dev
2025-07-18 18:53:45 -04:00
miloschwartz a39b1db266 bump version 2025-07-18 15:50:55 -07:00
miloschwartz 2ddb4ec905 allow multi level sudomains in domain picker 2025-07-18 15:48:23 -07:00
miloschwartz b34c3db956 fix redirect bug for some accounts when disable create org is enabled 2025-07-18 12:59:57 -07:00
Owen afea958aca Also limit to org 2025-07-18 11:48:14 -07:00
Owen dca2a29865 Fix #1085 2025-07-18 11:32:07 -07:00
Owen 97b8e84143 Fix #1085 2025-07-18 11:16:10 -07:00
Tom Ribbens 676aa1358d test if user/pass config is set and if not set auth: null 2025-07-18 17:09:22 +02:00
Owen 2e986def78 const 2025-07-17 23:15:16 -07:00
Owen 7e58e0b490 Correctly handle ssl on new domains 2025-07-17 22:57:47 -07:00
Owen 9b01aecf3c Add default cert resovler 2025-07-17 22:37:33 -07:00
miloschwartz 86043fd5f8 add defaults for domain cert resolver and prefer wildcard cert 2025-07-17 22:35:07 -07:00
Owen 0a2b1d9e53 Use a records for the wildcard 2025-07-17 16:17:01 -07:00
Owen 5148988dcc Also dont return if you are passing an exit node 2025-07-17 14:59:49 -07:00
Owen 28b57ba652 Allow null exit node id as well 2025-07-17 14:57:09 -07:00
Owen 9c7e74ef37 Remove ping logic 2025-07-17 14:43:47 -07:00
Owen 330b28ad9c Fix local sites 2025-07-17 14:35:22 -07:00
miloschwartz 1159a79410 fix emails 2025-07-17 13:20:27 -07:00
miloschwartz ccdcda7f1d add screenshots and minor fixes 2025-07-16 22:18:11 -07:00
Owen f4cd163c34 Fix get config for gerbil 2025-07-16 21:15:19 -07:00