Commit Graph

53 Commits

Author SHA1 Message Date
miloschwartz
47ac5875f3 change digpangolin.com to pangolin.net 2025-10-18 11:51:09 -07:00
Owen
e5a436593f Delete all before migrating 2025-10-17 14:05:17 -07:00
Owen
9f5d475e80 Migrations work 2025-10-14 16:34:11 -07:00
Owen
ccd81f6fe2 Adjust migration 2025-10-14 15:31:56 -07:00
Owen
4bb3d85c25 Add sqlite migration 2025-10-14 12:04:02 -07:00
Owen
b6ea0808e4 Merge branch 'dev' of github.com:fosrl/pangolin into dev 2025-09-30 14:00:27 -07:00
Owen
089e43e1ce Update migration 2025-09-30 13:59:12 -07:00
miloschwartz
71bcf25718 move table unique constraint 2025-09-29 17:07:38 -07:00
miloschwartz
8851156f23 use resource guid in url closes #1517 2025-09-28 16:22:26 -07:00
Owen
88d97dd49b Fix migration 2025-09-28 11:12:41 -07:00
Owen
2c8082451f Add where clause to sql migrations 2025-09-28 10:32:46 -07:00
Lokowitz
df92e41384 added migration for simplewebauthn 2025-09-25 19:55:36 +00:00
Owen
0da95cbdb8 Version correctly 2025-09-21 20:48:13 -04:00
Owen
5d3c5ab7cc Store headers as json 2025-09-21 15:49:50 -04: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
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
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
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
80656f48e0 Sqlite migration done 2025-07-28 17:18:51 -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
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
miloschwartz
665ef08733 minor fixes for release 2025-07-16 18:09:17 -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
f6b2c5bbf3 Initial migration created for sqlite 2025-07-15 15:52:15 -07:00
miloschwartz
0a97d91aed restore migrations and fix rate limit 2025-07-14 14:55:09 -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
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
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
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