Commit graph

55 commits

Author SHA1 Message Date
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
3dc79da2fa
Merge branch 'dev' into clients-pops-dev 2025-07-14 16:59:00 -07: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
e694817b57
add server init method to config 2025-06-25 12:18:29 -04:00
miloschwartz
2cca561e51
support postgresql as database option 2025-06-04 12:02:07 -04:00
miloschwartz
5b0200154a
add feature parity 2025-05-13 11:09:38 -04:00
miloschwartz
599d0a52bf
add api key code and oidc auto provision code 2025-04-28 21:14:09 -04:00
miloschwartz
a76e3e00f7
openapi test 2025-04-06 16:06:50 -04:00
miloschwartz
fefb07e14c
move schema.ts to module 2025-03-23 17:11:48 -04:00
Milo Schwartz
9f1f2910e4
refactor auth to work cross domain and with http resources closes #100 2025-01-26 14:42:02 -05:00
Milo Schwartz
9732098799
make config class and separate migrations script 2025-01-01 17:50:12 -05:00
Owen Schwartz
2a265e5cdd
Initial pass at migrations 2024-12-25 15:49:35 -05:00
Owen Schwartz
9988061058
Add setup entrypoint 2024-12-22 12:33:49 -05:00
Owen Schwartz
39a24c951c
Copy in org domain from config for now 2024-12-22 12:23:19 -05:00
Milo Schwartz
d3d2fe398b
env context and refactor api support different ports 2024-12-12 22:46:58 -05:00
Owen Schwartz
37f51bec9b
Seperate servers 2024-12-07 22:07:13 -05:00
Milo Schwartz
500a81aa42
fix rendering issues on resource unauthorized 2024-11-29 22:53:45 -05:00
Milo Schwartz
03051878ef
rename super user to admin and middleware refactoring 2024-11-05 22:38:57 -05:00
Owen Schwartz
7b755a273c
Add ws 2024-11-04 00:29:36 -05:00
Milo Schwartz
9320f99920
use fullDomain from resources in get traefik config 2024-10-26 19:57:47 -04:00
Milo Schwartz
6cee5703b5
add log incoming middleware 2024-10-26 17:19:10 -04:00
Milo Schwartz
6d9731f071
add traefik settings to config and use fullDomain 2024-10-22 00:09:27 -04:00
Milo Schwartz
1c4608fbf4
remove environment from config.yml 2024-10-21 23:40:49 -04:00
Owen Schwartz
0fa3382cda
Api changes 2024-10-19 18:47:41 -04:00
Milo Schwartz
f6c7c017cb
show resources table, check org access, and handle redirects on root 2024-10-19 15:49:16 -04:00
Milo Schwartz
d677d9c8ea
fix list resources endpoint and more color tweaks 2024-10-17 00:29:18 -04:00
Owen Schwartz
9abb656d52
Move to string ordId 2024-10-14 15:11:18 -04:00
Milo Schwartz
61fca6a1f6
set public next env vars from config 2024-10-12 21:23:12 -04:00
Milo Schwartz
cf1de2253b
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-10-12 18:22:20 -04:00
Milo Schwartz
d9ae322e2a
use config file instead of env 2024-10-12 18:21:31 -04:00
Owen Schwartz
4fc630cf42
Ensure the user's actions 2024-10-10 21:59:30 -04:00
Owen Schwartz
143a3b756e
Its working! 2024-10-06 22:09:30 -04:00
Owen Schwartz
06eb1544f4
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-10-06 18:12:38 -04:00
Owen Schwartz
98ba10cb50
Add ensureActions 2024-10-06 18:12:27 -04:00
Milo Schwartz
3e2085fbb3
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-10-06 18:09:12 -04:00
Milo Schwartz
87c4fc798f
add login portal and traefik middleware auth for testing redirect login 2024-10-06 18:08:26 -04:00
Owen Schwartz
81017139c5
Add actions check to all endpoints 2024-10-06 16:43:59 -04:00
Owen Schwartz
20db6d450c
Update to verify middleware & lists agenst new permissions tables 2024-10-06 16:19:04 -04:00
Milo Schwartz
29777da430
added axios client 2024-10-06 12:39:05 -04:00
Milo Schwartz
3c69acaab7
disable helmet and add esbuild 2024-10-06 11:13:50 -04:00
Milo Schwartz
76eeb335a3
verify email workflow working 2024-10-04 23:14:40 -04:00
Owen Schwartz
a8f944fc78
Add verify middleware 2024-10-03 22:31:20 -04:00
Milo Schwartz
57ebc0e525
setup react email and nodemailer 2024-10-03 20:55:54 -04:00
Milo Schwartz
1a91dbb89c
organized routes and routes and added rate limiter 2024-10-02 00:04:40 -04:00
Milo Schwartz
fc5dca136f
started integrating auth with lucia 2024-10-01 20:48:13 -04:00
Milo Schwartz
db76769fb7
clean up environment and paths 2024-09-29 21:09:35 -04:00
Milo Schwartz
5f768f1855
fix env 2024-09-29 14:37:26 -04:00
Milo Schwartz
9c40d8a5c7
add extra validation to environment.ts and use os paths 2024-09-28 14:02:06 -04:00
Milo Schwartz
497b8a223f
don't inject db into req 2024-09-28 13:41:46 -04:00
Owen Schwartz
06ee87ac2c
Add new schema 2024-09-28 13:31:22 -04:00