miloschwartz
4dcf684868
add 1.20.0 migration
2026-07-07 16:04:41 -04:00
Owen
108cb6216c
Add migration to fix policy delete issues
...
Ref #3257
2026-07-01 10:39:41 -04:00
Owen
935593885a
Adjust 1.19 and add 1.19.1 to ensure sso not null
2026-06-11 22:01:20 -07:00
Owen
517e1d15c8
Add 1.19.0 migrations
2026-06-01 14:42:32 -07:00
Owen
c6a52ffc75
Dont run migration again when rc
2026-06-01 13:58:04 -07:00
Owen
efb1d69ac9
Add migration
2026-05-12 20:59:58 -07:00
Owen
64ad7641af
Add migration
...
Fixes #2968
Fixes #2990
2026-05-04 11:35:07 -07:00
Owen
7d9a0cd0cc
Add 1.18 migrations
2026-04-21 15:46:27 -07:00
Owen
6f71af278e
Add basic migration files
2026-03-28 21:29:32 -07:00
miloschwartz
e18c9afc2d
add sqlite migration
2026-02-25 11:24:32 -08:00
Owen
cf97b6df9c
Handle billing bad subs, remove exit node name from lock, prevent some
...
stuff on saas
2026-02-22 20:45:53 -08:00
miloschwartz
fdce016921
add 1.15.4 migration
2026-02-12 15:00:12 -08:00
Owen
eab2750953
Add migrations for 1.15.3
2026-02-11 17:21:15 -08:00
Owen
17c3041fe9
Add migrations
2026-01-20 15:20:19 -08:00
miloschwartz
81149085fa
add sqlite migration
2025-12-21 15:32:43 -05:00
miloschwartz
2418813902
add sqlite migration
2025-12-07 12:58:01 -05:00
Owen
6ce04c2aa1
Change migration to 1.12.0
2025-10-27 11:34:46 -07:00
Lokowitz
4e4a38f7e9
move to match type country instead of geoip
2025-10-23 13:19:27 +00:00
Owen
4a59823e58
Actually run the migrations; update exit nodes
...
Fix #1718
Fix #1720
2025-10-20 20:55:47 -07:00
Owen
4bb3d85c25
Add sqlite migration
2025-10-14 12:04:02 -07:00
Owen
c2c907852d
Chungus
2025-10-04 18:36:44 -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
miloschwartz
6d7091fb5c
migrate siteId on targets table to delete on cascade
2025-09-17 22:54:29 -04:00
Owen
fb26dfad65
Add migrations for 1.10.0
2025-09-10 17:15:54 -07:00
miloschwartz
34002470a5
add migration to scirpts
2025-08-18 16:27:51 -07:00
miloschwartz
67ba225003
add statistics
2025-08-14 17:06:07 -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
Owen
4d7e25f97b
Complete migrations
2025-07-28 17:22:53 -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
963bc5f0bc
Add migrations to the callers
2025-07-15 15:59:37 -07:00
miloschwartz
acf25e8ad7
Merge branch 'dev' into clients-pops
2025-06-19 16:34:06 -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
72d8ad3204
disable migrations
2025-06-16 15:23:28 -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