Commit graph

26 commits

Author SHA1 Message Date
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
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