Commit graph

342 commits

Author SHA1 Message Date
Milo Schwartz
4e6a0403c9 remove secure_cookies option from config 2025-01-30 21:53:42 -05:00
Owen Schwartz
e2977e36d3 Make sure secure_cookies is true 2025-01-30 21:10:24 -05:00
Owen Schwartz
80d2572827 Fix missing where clause; Resolves #117 2025-01-30 20:51:37 -05:00
Owen Schwartz
28ee3700b2 Move back to * imports 2025-01-30 12:25:59 -05:00
Milo Schwartz
63cacf72af prep migration for release 2025-01-30 00:03:11 -05:00
Milo Schwartz
535131727c do migration in one transaction with rollback 2025-01-29 19:55:08 -05:00
Milo Schwartz
61ece9a83c fix typo 2025-01-29 11:14:10 -05:00
Milo Schwartz
9d106e1f5d fix zod schemas 2025-01-29 00:03:10 -05:00
Owen Schwartz
f516e4c201 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
35bc8c8e0a remove no reply check in send email 2025-01-28 22:13:46 -05:00
Milo Schwartz
e971924bb7 add additional_middlewares 2025-01-28 21:39:17 -05:00
Milo Schwartz
c6bcb05baa use smtp user if no no-reply set 2025-01-28 21:26:34 -05:00
Milo Schwartz
54f1aacf88 log password reset token if no smtp to allow reset password 2025-01-28 21:23:19 -05:00
Milo Schwartz
e5b9bd14f8 add failed auth logging 2025-01-27 22:43:32 -05:00
Milo Schwartz
9e44d58a33 allow setting secure for smtp in config 2025-01-27 21:19:31 -05:00
Milo Schwartz
61ecd74df1 allow wildcard emails in email whitelist 2025-01-26 18:14:47 -05:00
Milo Schwartz
b62d198416 refactor auth to work cross domain and with http resources closes #100 2025-01-26 14:42:02 -05:00
Milo Schwartz
641b65cfab Merge branch 'dev' of https://github.com/fosrl/pangolin into dev 2025-01-25 13:23:46 -05:00
Milo Schwartz
8ed35c852f remove permanent redirect for https 2025-01-25 13:23:36 -05:00
Owen Schwartz
39a4a51b88 Remove double transaction 2025-01-25 12:55:19 -05:00
Milo Schwartz
ece694ff20 make all emails lowercase closes #89 2025-01-21 19:03:18 -05:00
Owen Schwartz
196999a107 Pick always a new port for newt 2025-01-20 21:07:02 -05:00
Milo Schwartz
23c43c7eb9 remove double createHttpError 2025-01-17 21:59:06 -05:00
Mauricio Allende
c4de0de9ce 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
Milo Schwartz
3a4131d54a optionally generate traefik files, set cors in config, and set trust proxy in config 2025-01-15 23:26:31 -05:00
Owen Schwartz
492dcd5033 Merge branch 'main' into dev 2025-01-15 21:38:15 -05:00
Owen Schwartz
e65c07af82 Import start port at startup for now for exit node 2025-01-15 21:37:10 -05:00
Milo Schwartz
bae9571461 allow controlling cors from config and add cors middleware to traefik 2025-01-13 23:59:10 -05:00
Milo Schwartz
36b36c2471 log url to docs if config error 2025-01-12 20:42:16 -05:00
Milo Schwartz
d7e979af83 add migration to update badger 2025-01-12 16:46:27 -05:00
Owen Schwartz
9e2bbe316d Merge branch 'no-gerbil' into dev 2025-01-12 15:58:29 -05:00
Milo Schwartz
b051e95ed3 bootstrap volume to create db closes #6 2025-01-12 15:41:35 -05:00
Milo Schwartz
6db650a5cb bootstrap volume 2025-01-12 15:02:19 -05:00
Milo Schwartz
b9a9e0169e complete integration of direct share link as discussed in #35 2025-01-12 13:43:16 -05:00
Owen Schwartz
2034f688b8 Local sites working 2025-01-12 13:09:30 -05:00
Owen Schwartz
1b006b426e Allow "local" sites witn no tunnel 2025-01-12 12:31:04 -05:00
Milo Schwartz
a2c67b26bd allow access token in resource url 2025-01-11 19:47:07 -05:00
Milo Schwartz
96cc4e0d27 Merge branch 'dev' of https://github.com/fosrl/pangolin into dev 2025-01-11 14:13:08 -05:00
Owen Schwartz
2d9f84170a Add site_block_size and migration for beta.3 2025-01-11 12:25:33 -05:00
Owen Schwartz
442ee4fd5c Merge branch 'dev' of https://github.com/fosrl/pangolin into dev 2025-01-11 11:14:44 -05:00
Milo Schwartz
c352e87a78 allow resource redirect if host is same 2025-01-10 00:13:51 -05:00
Milo Schwartz
ececf9022d verify redirects are safe before redirecting 2025-01-09 23:26:07 -05:00
Milo Schwartz
443097554f allow hyphens in base_domain regex 2025-01-08 23:13:35 -05:00
Milo Schwartz
c5ed048488 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
89da6e7391 Complex regex for domains/ips 2025-01-07 21:52:45 -05:00
Owen Schwartz
b0ad850f65 Allow anything for the ip 2025-01-07 21:31:32 -05:00
Milo Schwartz
9d46897584 split base_url into dashboard_url and base_domain 2025-01-07 20:32:24 -05:00
Milo Schwartz
2ab70538c0 standard email signature 2025-01-05 00:07:07 -05:00
Milo Schwartz
88c1302e78 center code in email 2025-01-04 23:08:45 -05:00
Milo Schwartz
855bd571b8 Merge branch 'main' of https://github.com/fosrl/pangolin 2025-01-04 22:38:46 -05:00