Commit graph

151 commits

Author SHA1 Message Date
19e7f66135
update Pangolin to v1.10.3 2025-10-12 22:56:24 +02:00
Owen
0da95cbdb8
Version correctly 2025-09-21 20:48:13 -04:00
Owen
dadd1e3101
Add migration to manager 2025-09-21 16:44:08 -04:00
Owen
5d3c5ab7cc
Store headers as json 2025-09-21 15:49:50 -04:00
miloschwartz
cbe1e4decb
fix 1.10.1 migration script 2025-09-20 15:06:27 +02:00
miloschwartz
1f827d8ecf
migrate siteId on targets table to delete on cascade 2025-09-20 15:06:27 +02:00
miloschwartz
bf95b0a659
migrate autoProvisioned on user based on idp autoProvision 2025-09-20 15:05:52 +02:00
Owen
cb80c6eca4
Add default to siteResources niceId 2025-09-20 15:05:46 +02:00
Owen
7f4d410cbd
Update migrations 2025-09-20 15:04:06 +02:00
Owen
75de3118ab
Update migrations 2025-09-20 15:04:05 +02:00
Owen
52c659feb9
Eslint fix 2025-09-20 15:04:01 +02:00
Owen
1ea1e2806e
Add migrations for 1.10.0 2025-09-20 15:04:00 +02:00
miloschwartz
7ffc5e0212
fix 1.10.1 migration script 2025-09-18 16:19:23 -04:00
miloschwartz
6d7091fb5c
migrate siteId on targets table to delete on cascade 2025-09-17 22:54:29 -04:00
miloschwartz
83e107c713
migrate autoProvisioned on user based on idp autoProvision 2025-09-15 21:52:35 -07:00
Owen
7b7f65da39
Add default to siteResources niceId 2025-09-15 11:13:31 -07:00
Owen
08d6183c9b
Update migrations 2025-09-14 17:35:21 -07:00
Owen
3eaca924da
Update migrations 2025-09-11 21:28:15 -07:00
Owen
ef6efe94b4
Eslint fix 2025-09-11 10:27:02 -07:00
Owen
fb26dfad65
Add migrations for 1.10.0 2025-09-10 17:15:54 -07:00
Owen
2b4302572c
Fix #1343 2025-08-25 13:58:21 -07:00
Owen
adbcd1a2e0
Add missing cols 2025-08-24 13:51:03 -07:00
Owen
5d34bd82c0
Adjust const one more time 2025-08-23 15:36:19 -07:00
Owen
32ba17cf91
Fix linter errors 2025-08-23 15:26:43 -07:00
Owen
60d8831399
Rename hybrid to managed 2025-08-21 14:19:21 -07:00
Owen
907dab7d05
Move docker podman question and add hybird question
Allow empty config

Continue to adjust config for hybrid
2025-08-20 11:20:34 -07:00
miloschwartz
34002470a5
add migration to scirpts 2025-08-18 16:27:51 -07:00
miloschwartz
49f84bccad
migrations 2025-08-18 15:43:48 -07:00
miloschwartz
378de19f41
add pg 1.9.0 migration 2025-08-18 15:29:04 -07:00
miloschwartz
ac8b546393
add sqlite 1.9.0 migration 2025-08-18 14:29:06 -07:00
miloschwartz
5c04b1e14a
add site targets, client resources, and auto login 2025-08-14 18:24:21 -07:00
miloschwartz
67ba225003
add statistics 2025-08-14 17:06:07 -07:00
Owen
4f3cd71e1e
Merge branch 'feature/setup-token-security' of github.com:adrianeastles/pangolin into adrianeastles-feature/setup-token-security 2025-08-12 21:12:55 -07:00
Owen
55b4a9eddb
Merge branch 'main' into dev 2025-08-10 10:16:47 -07:00
Owen
e9e6b0bc4f
Merge branch 'main' into copilot/fix-1112 2025-08-10 10:10:10 -07:00
Adrian Astles
69baa6785f feat: Add setup token security for initial server setup
- Add setupTokens database table with proper schema
- Implement setup token generation on first server startup
- Add token validation endpoint and modify admin creation
- Update initial setup page to require setup token
- Add migration scripts for both SQLite and PostgreSQL
- Add internationalization support for setup token fields
- Implement proper error handling and logging
- Add CLI command for resetting user security keys

This prevents unauthorized access during initial server setup by requiring
a token that is generated and displayed in the server console.
2025-08-03 21:17:18 +08:00
miloschwartz
84268e484d
update docs links 2025-08-01 22:34:02 -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
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
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
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
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