Commit graph

492 commits

Author SHA1 Message Date
Owen Schwartz
f5e894e06a
Make sure secure_cookies is true 2025-01-30 21:10:24 -05:00
Owen Schwartz
9b9c343e2d
Fix missing where clause; Resolves #117 2025-01-30 20:51:37 -05:00
Owen Schwartz
e226a5e86b
Move back to * imports 2025-01-30 12:25:59 -05:00
Milo Schwartz
5ce6cb01ff
prep migration for release 2025-01-30 00:03:11 -05:00
Milo Schwartz
bdf72662bf
do migration in one transaction with rollback 2025-01-29 19:55:08 -05:00
Milo Schwartz
44e7bf1199
fix typo 2025-01-29 11:14:10 -05:00
Milo Schwartz
20f659db89
fix zod schemas 2025-01-29 00:03:10 -05:00
Owen Schwartz
0e04e82b88
Squashed commit of the following:
commit c276d2193da5dbe7af5197bdf7e2bcce6f87b0cf
Author: Owen Schwartz <owen@txv.io>
Date:   Tue Jan 28 22:06:04 2025 -0500

    Okay actually now

commit 9afdc0aadc3f4fb4e811930bacff70a9e17eab9f
Author: Owen Schwartz <owen@txv.io>
Date:   Tue Jan 28 21:58:44 2025 -0500

    Migrations working finally

commit a7336b3b2466fe74d650b9c253ecadbe1eff749d
Merge: e7c7203 fdb1ab4
Author: Owen Schwartz <owen@txv.io>
Date:   Mon Jan 27 22:19:15 2025 -0500

    Merge branch 'dev' into tcp-udp-traffic

commit e7c7203330b1b08e570048b10ef314b55068e466
Author: Owen Schwartz <owen@txv.io>
Date:   Mon Jan 27 22:18:09 2025 -0500

    Working on migration

commit a4704dfd44b10647257c7c7054c0dae806d315bb
Author: Owen Schwartz <owen@txv.io>
Date:   Mon Jan 27 21:40:52 2025 -0500

    Add flag to allow raw resources

commit d74f7a57ed11e2a6bf1a7e0c28c29fb07eb573a0
Merge: 6817788 d791b9b
Author: Owen Schwartz <owen@txv.io>
Date:   Mon Jan 27 21:28:50 2025 -0500

    Merge branch 'tcp-udp-traffic' of https://github.com/fosrl/pangolin into tcp-udp-traffic

commit 68177882781b54ef30b62cca7dee8bbed7c5a2fa
Author: Owen Schwartz <owen@txv.io>
Date:   Mon Jan 27 21:28:32 2025 -0500

    Get everything working

commit d791b9b47f9f6ca050d6edfd1d674438f8562d99
Author: Milo Schwartz <mschwartz10612@gmail.com>
Date:   Mon Jan 27 17:46:19 2025 -0500

    fix orgId check in verifyAdmin

commit 6ac30afd7a449a126190d311bd98d7f1048f73a4
Author: Owen Schwartz <owen@txv.io>
Date:   Sun Jan 26 23:19:33 2025 -0500

    Trying to figure out traefik...

commit 9886b42272882f8bb6baff2efdbe26cee7cac2b6
Merge: 786e67e 85e9129
Author: Owen Schwartz <owen@txv.io>
Date:   Sun Jan 26 21:53:32 2025 -0500

    Merge branch 'tcp-udp-traffic' of https://github.com/fosrl/pangolin into tcp-udp-traffic

commit 786e67eadd6df1ee8df24e77aed20c1f1fc9ca67
Author: Owen Schwartz <owen@txv.io>
Date:   Sun Jan 26 21:51:37 2025 -0500

    Bug fixing

commit 85e9129ae313b2e4a460a8bc53a0af9f9fbbafb2
Author: Milo Schwartz <mschwartz10612@gmail.com>
Date:   Sun Jan 26 18:35:24 2025 -0500

    rethrow errors in migration and remove permanent redirect

commit bd82699505fc7510c27f72cd80ea0ce815d8c5ef
Author: Owen Schwartz <owen@txv.io>
Date:   Sun Jan 26 17:49:12 2025 -0500

    Fix merge issue

commit 933dbf3a02b1f19fd1f627410b2407fdf05cd9bf
Author: Owen Schwartz <owen@txv.io>
Date:   Sun Jan 26 17:46:13 2025 -0500

    Add sql to update resources and targets

commit f19437bad847c8dbf57fddd2c48cd17bab20ddb0
Merge: 58980eb 9f1f291
Author: Owen Schwartz <owen@txv.io>
Date:   Sun Jan 26 17:19:51 2025 -0500

    Merge branch 'dev' into tcp-udp-traffic

commit 58980ebb64d1040b4d224c76beb38c2254f3c5d9
Merge: 1de682a d284d36
Author: Owen Schwartz <owen@txv.io>
Date:   Sun Jan 26 17:10:09 2025 -0500

    Merge branch 'dev' into tcp-udp-traffic

commit 1de682a9f6039f40e05c8901c7381a94b0d018ed
Author: Owen Schwartz <owen@txv.io>
Date:   Sun Jan 26 17:08:29 2025 -0500

    Working on migrations

commit dc853d2bc02b11997be5c3c7ea789402716fb4c2
Author: Owen Schwartz <owen@txv.io>
Date:   Sun Jan 26 16:56:49 2025 -0500

    Finish config of resource pages

commit 37c681c08d7ab73d2cad41e7ef1dbe3a8852e1f2
Author: Owen Schwartz <owen@txv.io>
Date:   Sun Jan 26 16:07:25 2025 -0500

    Finish up table

commit 461c6650bbea0d7439cc042971ec13fdb52a7431
Author: Owen Schwartz <owen@txv.io>
Date:   Sun Jan 26 15:54:46 2025 -0500

    Working toward having dual resource types

commit f0894663627375e16ce6994370cb30b298efc2dc
Author: Owen Schwartz <owen@txv.io>
Date:   Sat Jan 25 22:31:25 2025 -0500

    Add qutoes

commit edc535b79b94c2e65b290cd90a69fe17d27245e9
Author: Owen Schwartz <owen@txv.io>
Date:   Sat Jan 25 22:28:45 2025 -0500

    Add readTimeout to allow long file uploads

commit 194892fa14b505bd7c2b31873dc13d4b8996c0e1
Author: Owen Schwartz <owen@txv.io>
Date:   Sat Jan 25 20:37:34 2025 -0500

    Rework traefik config generation

commit ad3f896b5333e4706d610c3198f29dcd67610365
Author: Owen Schwartz <owen@txv.io>
Date:   Sat Jan 25 13:01:47 2025 -0500

    Add proxy port to api

commit ca6013b2ffda0924a696ec3141825a54a4e5297d
Author: Owen Schwartz <owen@txv.io>
Date:   Sat Jan 25 12:58:01 2025 -0500

    Add migration

commit 2258d76cb3a49d3db7f05f76d8b8a9f1c248b5e4
Author: Owen Schwartz <owen@txv.io>
Date:   Sat Jan 25 12:55:02 2025 -0500

    Add new proxy port
2025-01-28 22:26:45 -05:00
Milo Schwartz
f874449d36
remove no reply check in send email 2025-01-28 22:13:46 -05:00
Milo Schwartz
397036640e
add additional_middlewares 2025-01-28 21:39:17 -05:00
Milo Schwartz
60110350aa
use smtp user if no no-reply set 2025-01-28 21:26:34 -05:00
Milo Schwartz
a57f0ab360
log password reset token if no smtp to allow reset password 2025-01-28 21:23:19 -05:00
Milo Schwartz
0bd8217d9e
add failed auth logging 2025-01-27 22:43:32 -05:00
Milo Schwartz
fdb1ab4bd9
allow setting secure for smtp in config 2025-01-27 21:19:31 -05:00
Milo Schwartz
61b34c8b16
allow wildcard emails in email whitelist 2025-01-26 18:14:47 -05: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
6050a0a7d7
Merge branch 'dev' of https://github.com/fosrl/pangolin into dev 2025-01-25 13:23:46 -05:00
Milo Schwartz
72f1686395
remove permanent redirect for https 2025-01-25 13:23:36 -05:00
Owen Schwartz
d284d36c24
Remove double transaction 2025-01-25 12:55:19 -05:00
Milo Schwartz
5f92b0bbc1
make all emails lowercase closes #89 2025-01-21 19:03:18 -05:00
Owen Schwartz
2c8f824240
Pick always a new port for newt 2025-01-20 21:07:02 -05:00
Milo Schwartz
f0898613a2
remove double createHttpError 2025-01-17 21:59:06 -05:00
Mauricio Allende
6b141c3ea0
fix: add missing await when verifying pincode
`validPincode` ends up as a `Promise` and evaluates as a thruthy value wether the pin is correct or not.
2025-01-17 22:54:20 -03:00
Julian
a039168217
add ability to transfer a resource to another site 2025-01-16 21:15:41 +01:00
Milo Schwartz
1aec431c36
optionally generate traefik files, set cors in config, and set trust proxy in config 2025-01-15 23:26:31 -05:00
Owen Schwartz
cb87463a69
Merge branch 'main' into dev 2025-01-15 21:38:15 -05:00
Owen Schwartz
4b5c74e8d6
Import start port at startup for now for exit node 2025-01-15 21:37:10 -05:00
Milo Schwartz
ab18e15a71
allow controlling cors from config and add cors middleware to traefik 2025-01-13 23:59:10 -05:00
Milo Schwartz
7ff5376d13
log url to docs if config error 2025-01-12 20:42:16 -05:00
Milo Schwartz
5da5ee3581
add migration to update badger 2025-01-12 16:46:27 -05:00
Owen Schwartz
f72dd3471e
Merge branch 'no-gerbil' into dev 2025-01-12 15:58:29 -05:00
Milo Schwartz
bfc81e52b0
bootstrap volume to create db closes #6 2025-01-12 15:41:35 -05:00
Milo Schwartz
54f5d159a5
bootstrap volume 2025-01-12 15:02:19 -05:00
Milo Schwartz
a2ed7c7117
complete integration of direct share link as discussed in #35 2025-01-12 13:43:16 -05:00
Owen Schwartz
161e87dbda
Local sites working 2025-01-12 13:09:30 -05:00
Owen Schwartz
4c7581df4f
Allow "local" sites witn no tunnel 2025-01-12 12:31:04 -05:00
Milo Schwartz
f5fda5d8ea
allow access token in resource url 2025-01-11 19:47:07 -05:00
Milo Schwartz
82192fa180
Merge branch 'dev' of https://github.com/fosrl/pangolin into dev 2025-01-11 14:13:08 -05:00
Owen Schwartz
38544cc2d6
Add site_block_size and migration for beta.3 2025-01-11 12:25:33 -05:00
Owen Schwartz
c8c756df28
Merge branch 'dev' of https://github.com/fosrl/pangolin into dev 2025-01-11 11:14:44 -05:00
Milo Schwartz
c3d19454f7
allow resource redirect if host is same 2025-01-10 00:13:51 -05:00
Milo Schwartz
6c813186b8
verify redirects are safe before redirecting 2025-01-09 23:26:07 -05:00
Milo Schwartz
a556339b76
allow hyphens in base_domain regex 2025-01-08 23:13:35 -05:00
Milo Schwartz
235e91294e
remove base_url from config (#13)
* add example config dir, logos, and update CONTRIBUTING.md

* update dockerignore

* split base_url into dashboard_url and base_domain

* Remove unessicary ports

* Allow anything for the ip

* Update docker tags

* Complex regex for domains/ips

* update gitignore

---------

Co-authored-by: Owen Schwartz <owen@txv.io>
2025-01-07 22:41:35 -05:00
Owen Schwartz
dc7bd41eb9
Complex regex for domains/ips 2025-01-07 21:52:45 -05:00
Owen Schwartz
ab69ded396
Allow anything for the ip 2025-01-07 21:31:32 -05:00
Milo Schwartz
e1f0834af4
split base_url into dashboard_url and base_domain 2025-01-07 20:32:24 -05:00
Milo Schwartz
9f2d449527
standard email signature 2025-01-05 00:07:07 -05:00
Milo Schwartz
b96be3b649
center code in email 2025-01-04 23:08:45 -05:00
Milo Schwartz
da6cc09961
Merge branch 'main' of https://github.com/fosrl/pangolin 2025-01-04 22:38:46 -05:00
Milo Schwartz
bb16fd1db8
fix email and allow localhost in ip field 2025-01-04 22:38:10 -05:00
Owen Schwartz
d064d3c7b5
Support localhost 2025-01-04 22:33:25 -05:00
Milo Schwartz
64158a823b
major ui tweaks and refactoring 2025-01-04 20:22:01 -05:00
Milo Schwartz
51bf5c1408
Merge branch 'main' of https://github.com/fosrl/pangolin 2025-01-03 22:32:36 -05:00
Milo Schwartz
0e99e2b62b
minor visual improvements 2025-01-03 22:32:24 -05:00
Owen Schwartz
c1f0242386
Import the gerbil endpoint into the database 2025-01-02 20:42:04 -05:00
Milo Schwartz
3672d783fd
first readme 2025-01-01 23:03:15 -05:00
Milo Schwartz
3b4a993704
refactor and reorganize 2025-01-01 21:41:31 -05:00
Milo Schwartz
9732098799
make config class and separate migrations script 2025-01-01 17:50:12 -05:00
Milo Schwartz
b199595100
rename auth and start work separating config 2025-01-01 16:40:01 -05:00
Milo Schwartz
d447de9e8a
improve email formatting and invite flow for new users 2024-12-31 18:25:11 -05:00
Milo Schwartz
d244d6003b
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-12-30 23:41:28 -05:00
Milo Schwartz
172e0f07d5
improve site and resource info cards and other small visual tweaks 2024-12-30 23:41:06 -05:00
Owen Schwartz
6530fff87e
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-12-30 21:38:47 -05:00
Owen Schwartz
2e7e0a4287
Make sure to include new target 2024-12-30 21:38:33 -05:00
Milo Schwartz
e6263567a9
use bottom sheet instead of vaul drawer 2024-12-30 15:48:34 -05:00
Owen Schwartz
a16e4e2e74
Swap in and out bytes 2024-12-27 00:21:27 -05:00
Milo Schwartz
b78e7a324d
place holder landing pages 2024-12-26 19:33:56 -05:00
Owen Schwartz
fdfc1937f1
Update migration to start at 1.0.0-beta.1 2024-12-26 18:06:48 -05:00
Milo Schwartz
2ed4b948b8
fix access token session do not extend and make domains lower case 2024-12-26 15:13:49 -05:00
Milo Schwartz
d2e4cd07ca
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-12-26 11:45:39 -05:00
Milo Schwartz
af0bc3b2c5
enable sourcemap 2024-12-26 11:43:02 -05:00
Owen Schwartz
7d615d00d8
Remove credentials: true 2024-12-26 11:27:48 -05:00
Owen Schwartz
d75222626e
Use samesite strict 2024-12-25 22:08:52 -05:00
Owen Schwartz
4e4b8744b5
CSRF prevention 2024-12-25 22:04:20 -05:00
Owen Schwartz
993eab5ac1
Complete migration setup 2024-12-25 16:40:39 -05:00
Owen Schwartz
907504eefb
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-12-25 15:58:46 -05:00
Milo Schwartz
4cdaa9b588
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-12-25 15:55:50 -05:00
Milo Schwartz
4a1e869e58
setup server admin 2024-12-25 15:54:32 -05:00
Owen Schwartz
2a265e5cdd
Initial pass at migrations 2024-12-25 15:49:35 -05:00
Owen Schwartz
29bd88ebdf
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-12-24 16:01:29 -05:00
Owen Schwartz
2f328fc719
Add basic transactions 2024-12-24 16:00:02 -05:00
Milo Schwartz
b3d371c01e
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-12-24 15:37:04 -05:00
Milo Schwartz
cf75be5a6c
disable 2fa and end email notifications 2024-12-24 15:36:55 -05:00
Owen Schwartz
c8676ce06a
Navigate after delete 2024-12-24 12:24:34 -05:00
Owen Schwartz
0a86f193ac
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-12-24 12:09:14 -05:00
Owen Schwartz
35358cbe57
Working on delete 2024-12-24 12:08:31 -05:00
Milo Schwartz
ccc2e3358c
show qr code in share link and add version to footer 2024-12-24 12:06:13 -05:00
Milo Schwartz
9e50a580a5
enable 2fa flow 2024-12-23 23:59:15 -05:00
Milo Schwartz
b1afba191e
add theme switcher and improve org switcher 2024-12-22 20:16:52 -05:00
Milo Schwartz
af2d78cbfb
send confirm password reset email 2024-12-22 17:27:09 -05:00
Milo Schwartz
4b34353354
allow backup code input for totp 2024-12-22 17:20:24 -05:00
Milo Schwartz
f224bfa4ee
reset password flow 2024-12-22 16:59:30 -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
Owen Schwartz
0386d81b95
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-12-22 12:04:57 -05:00
Owen Schwartz
1361b47ef7
Remove dangerous logging 2024-12-22 12:03:46 -05:00
Milo Schwartz
fb4d27085d
on delete cascade for newts to fix delete site 2024-12-21 21:50:30 -05:00
Milo Schwartz
ce5df3b0b9
fix issues from test deploy 2024-12-21 21:01:12 -05:00
Owen Schwartz
b4b213e68f
Handle online / offline site 2024-12-21 14:28:13 -05:00
Milo Schwartz
0d30ac2ddc
org setup wip 2024-12-21 14:25:54 -05:00
Milo Schwartz
7252876768
add machine logs back 2024-12-20 22:33:22 -05:00
Milo Schwartz
845d65ad33
share links 2024-12-20 22:24:44 -05:00
Milo Schwartz
72dc02ff2e
access token endpoints and other backend support 2024-12-18 23:14:26 -05:00
Milo Schwartz
207a7b8a39
add resource whitelist auth method 2024-12-16 22:40:42 -05:00
Milo Schwartz
998fab6d0a
add otp flow to resource auth portal 2024-12-15 17:47:07 -05:00
Milo Schwartz
d3d2fe398b
env context and refactor api support different ports 2024-12-12 22:46:58 -05:00
Owen Schwartz
d79760dad9
Handle deleting site & resources gracefully 2024-12-08 21:44:45 -05:00
Owen Schwartz
516db54c72
Move websocket 2024-12-08 16:13:21 -05:00
Owen Schwartz
37f51bec9b
Seperate servers 2024-12-07 22:07:13 -05:00
Owen Schwartz
ef7723561e
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-12-01 19:46:01 -05:00
Owen Schwartz
6f7faf9b72
Updates 2024-12-01 19:45:36 -05:00
Milo Schwartz
f2457e7732
otp schema 2024-11-30 23:51:22 -05:00
Milo Schwartz
500a81aa42
fix rendering issues on resource unauthorized 2024-11-29 22:53:45 -05:00
Milo Schwartz
5bbf32f6a6
improve verify email redirect flow 2024-11-28 00:11:13 -05:00
Milo Schwartz
c2cbd7e1a1
fix minor auth issues and set NODE_ENV to solve react email bug 2024-11-27 14:35:38 -05:00
Milo Schwartz
8178dd1525
set resource session as base domain cookie 2024-11-27 00:07:40 -05:00
Milo Schwartz
41e531306d
protect /setup and use links for button 2024-11-26 20:30:52 -05:00
Milo Schwartz
7c9e57ef12
improve formatting in data tables 2024-11-25 23:07:21 -05:00
Milo Schwartz
8c02367507
show site type 2024-11-24 22:48:17 -05:00
Milo Schwartz
ce2bfcddd5
lighten dark background, add more info to resources table 2024-11-24 22:34:11 -05:00
Milo Schwartz
658a6ca7bb
build traefik config for newt correctly 2024-11-24 15:05:15 -05:00
Milo Schwartz
a410abfaba
test 2024-11-24 14:54:02 -05:00
Milo Schwartz
203628341f
test 2024-11-24 14:53:46 -05:00
Milo Schwartz
217ceab50e
temporarily disable email on invite user 2024-11-24 14:47:14 -05:00
Milo Schwartz
4e7fa0f2d9
add logging for verifySession 2024-11-24 14:28:23 -05:00
Milo Schwartz
5361873672
add logging 2024-11-24 12:46:55 -05:00
Milo Schwartz
e9ffffa419
throw error in invite 2024-11-24 12:37:48 -05:00
Milo Schwartz
cc05baf67d
move resource auth to auth router 2024-11-24 11:27:43 -05:00
Owen Schwartz
50e2d6721f
Add option to not use gerbil subdomain 2024-11-24 11:06:05 -05:00
Milo Schwartz
d7c4bc43a4
set resource session cookie in proxy via param 2024-11-23 23:31:22 -05:00
Milo Schwartz
ad5ea3564b
added support for pin code auth 2024-11-23 20:08:56 -05:00
Milo Schwartz
78b23a8956
added resource auth status cards and moved login to reusable login form 2024-11-23 17:56:21 -05:00
Milo Schwartz
795c144e1e
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-11-23 16:36:37 -05:00
Milo Schwartz
0b3ca5f999
basic auth portal save 2024-11-23 16:36:07 -05:00
Owen Schwartz
0670d48ac7
Newt working 2024-11-23 16:28:50 -05:00
Milo Schwartz
5388c5d5b4
disable eslint - new colors, and slimmer buttons/inputs?? 2024-11-22 22:16:09 -05:00
Owen Schwartz
bf04deb038
Complete initial handeling of targets 2024-11-19 21:37:07 -05:00
Milo Schwartz
96888876e5
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-11-19 00:05:26 -05:00
Milo Schwartz
cfce3dabb3
set resource password and remove resource password from dashboard 2024-11-19 00:05:04 -05:00
Owen Schwartz
a170466f91
Working on getting targets connected to newt 2024-11-18 22:10:17 -05:00
Milo Schwartz
1c4a873974
get resource auth info endpoint 2024-11-17 23:24:30 -05:00
Milo Schwartz
e802d061ba
api for set resource password and auth with resource password 2024-11-17 22:44:11 -05:00
Milo Schwartz
c565c14aa0
move middlewares out of auth 2024-11-16 22:48:10 -05:00
Milo Schwartz
cc674c2b9c
added initial schema for resource sessions and auth types 2024-11-16 22:41:43 -05:00
Milo Schwartz
b4442a3bf7
remove userResources and userSites when removing user from org 2024-11-16 17:19:14 -05:00
Milo Schwartz
3c7b2c03f8
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-11-15 23:38:16 -05:00
Milo Schwartz
b1e53ed8d7
set users on resource working 2024-11-15 23:38:08 -05:00
Owen Schwartz
598ff561e5
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-11-15 21:54:47 -05:00
Owen Schwartz
40734184af
Newt registration? 2024-11-15 21:53:58 -05:00
Milo Schwartz
28bae40390
add roles input on resource and make spacing more consistent 2024-11-15 18:25:27 -05:00
Milo Schwartz
8e64b5e0e9
small fixes to invite user workflow 2024-11-14 00:13:37 -05:00
Milo Schwartz
ba3505a385
use strict zod objects and hide proto on targets 2024-11-14 00:00:17 -05:00
Milo Schwartz
44b932937f
standardize header, save all button for targets, fix update site on resource 2024-11-13 20:08:05 -05:00
Milo Schwartz
cf3cf4d827
render targets in table, update targets 2024-11-12 23:59:47 -05:00
Milo Schwartz
e77fb37ef1
refactor sites settings general form 2024-11-10 23:08:06 -05:00
Milo Schwartz
a7955cb8d2
create site modal 2024-11-10 22:29:20 -05:00
Milo Schwartz
22d9f6b37b
move to new role before delete 2024-11-10 21:52:50 -05:00
Milo Schwartz
1a3d7705d9
change user role 2024-11-10 21:19:41 -05:00
Owen Schwartz
e141263b7e
Add message handler seperate file 2024-11-10 21:06:36 -05:00
Owen Schwartz
d223d4fcee
Add message handling 2024-11-10 17:34:07 -05:00
Owen Schwartz
03650634ee
Websocket working and newt auth working 2024-11-10 17:08:29 -05:00
Owen Schwartz
e5e78ff1bf
Basic websocket and auth for newt 2024-11-10 17:08:11 -05:00
Milo Schwartz
231e1d2e2d
more user role stuff 2024-11-09 23:59:19 -05:00
Milo Schwartz
bb17d30c9e
list roles, make sidebar component, responsive mobile settings menu selector 2024-11-09 00:08:17 -05:00
Milo Schwartz
9c2e481d2b
show owner in users table, list roles query in invite form, and more 2024-11-08 00:03:54 -05:00
Milo Schwartz
458de04fcf
add org owner check to deleteOrg and removeUser endpoints 2024-11-06 00:05:19 -05:00
Milo Schwartz
372e51c0a5
move action permission check to middleware 2024-11-05 23:55:46 -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
Owen Schwartz
5cb87f0bbd
Adding ws 2024-11-04 00:29:36 -05:00
Milo Schwartz
fadfaf1f0b
ability to remove user from org 2024-11-03 17:28:12 -05:00
Milo Schwartz
2852d62258
refactor contexts, format zod errors, and more refactoring 2024-11-03 13:57:51 -05:00
Milo Schwartz
a6baebb216
basic invite user functional 2024-11-02 23:46:16 -04:00
Milo Schwartz
a6bb8f5bb1
create invite and accept invite endpoints 2024-11-02 18:12:17 -04:00
Milo Schwartz
a83a3e88bb
display users table 2024-11-02 16:12:20 -04:00
Owen Schwartz
c05342dd25
Fix missing cidr slash 2024-10-28 23:46:58 -04:00
Milo Schwartz
1fb43a5ce4
move ssl from target to resource 2024-10-28 23:34:04 -04:00
Milo Schwartz
e279d93570
infer wild card cert if prefer flag is on 2024-10-28 00:07:43 -04:00
Milo Schwartz
5c80f026bc
http only works, and added redirect middleware 2024-10-27 23:36:04 -04:00
Milo Schwartz
8a8c42e3b1
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-10-26 23:37:33 -04:00
Milo Schwartz
2d5ff17515
run migrations if no db 2024-10-26 23:37:25 -04:00
Owen Schwartz
4ed5ef1765
Update gerbil with new sites and targets 2024-10-26 22:44:53 -04:00
Milo Schwartz
25224e0343
uncomment orgs list for dropdown 2024-10-26 22:02:58 -04:00
Milo Schwartz
4706dea3bf
prevent static optimization on root page 2024-10-26 21:47:12 -04:00
Milo Schwartz
976635e5fe
add main and sans domains 2024-10-26 20:03:25 -04:00
Milo Schwartz
6942eeb7b4
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-10-26 19:58:01 -04:00
Milo Schwartz
9320f99920
use fullDomain from resources in get traefik config 2024-10-26 19:57:47 -04:00
Owen Schwartz
a90347183d
Working on deployment 2 2024-10-26 19:56:50 -04:00
Owen Schwartz
edcae190b2
Test & fix the get defaults for sites 2024-10-26 17:24:11 -04:00
Owen Schwartz
7feb21e727
Updated gerbil key handeling 2024-10-26 17:24:11 -04:00
Milo Schwartz
6cee5703b5
add log incoming middleware 2024-10-26 17:19:10 -04:00
Milo Schwartz
be144fe15d
pull port from env var 2024-10-26 17:13:30 -04:00
Milo Schwartz
50d374d9f6
save 2024-10-26 17:01:34 -04:00
Owen Schwartz
d78312fad8
Properly generate all wireguard options 2024-10-26 16:04:01 -04:00
Owen Schwartz
261b3c7e31
Fix resource new id number 2024-10-26 12:15:03 -04:00
Owen Schwartz
c6d4c4db20
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-10-26 12:02:34 -04:00
Owen Schwartz
bbf3709974
Working on auto registering gerbil 2024-10-26 12:02:21 -04:00
Milo Schwartz
a601d6b24f
implement prefer_wildcard_cert flag 2024-10-25 22:35:07 -04:00
Milo Schwartz
29b848fd5d
ability to disable email verification requirement 2024-10-25 21:39:18 -04:00