Commit Graph

409 Commits

Author SHA1 Message Date
tigerbot 138f59bea3 implemented proxying decrypted TLS streams in raw form 2017-10-26 14:39:51 -06:00
tigerbot 0ef845f2d5 added some documentation for the tokens API 2017-10-26 12:07:27 -06:00
tigerbot e504c4b717 Merge branch 'ddns'
# Conflicts:
#	README.md
#	etc/goldilocks/goldilocks.example.yml
2017-10-25 18:35:07 -06:00
tigerbot de3977d1e4 fixed bug reading non-existant config files 2017-10-25 18:33:22 -06:00
tigerbot c9318b65b0 fixed enclosure problem for static modules 2017-10-25 18:06:41 -06:00
tigerbot 20cf66c67d added CORS header needed after recent change to OAuth3 library requests 2017-10-25 13:35:06 -06:00
tigerbot 72ff65e833 fix some misc problem found using browser to access API 2017-10-25 11:00:06 -06:00
AJ ONeal c4af0d05ec show that redirects can be to other domains 2017-10-24 16:05:02 -06:00
AJ ONeal 019ec2b990 add option to serve directories 2017-10-24 16:04:44 -06:00
AJ ONeal 5e48a2ed5e Merge branch 'master' of git.daplie.com:Daplie/goldilocks.js 2017-10-24 12:51:33 -06:00
AJ ONeal 85472588c3 gotta turn on indexes somehow 2017-10-24 12:51:21 -06:00
tigerbot 00de23ded7 implemented setting DNS records after tunnel connect
currently done automatically by API we get the tunnel token from, but in the
near-ish future that will be changed
2017-10-20 18:02:55 -06:00
tigerbot 82f0b45c56 implemented cleanup/update of DNS records on config change 2017-10-20 15:38:10 -06:00
tigerbot acf2fd7764 looking at active tunnel session on DDNS config update 2017-10-19 17:45:05 -06:00
tigerbot c23f5ae25b moved the session cache to be longer lasting 2017-10-19 12:58:04 -06:00
tigerbot 019e4fa063 made connectTunnel wait for connections to actually start 2017-10-19 12:37:08 -06:00
tigerbot 3aed276faf switched to newer config structure for setting DNS records 2017-10-18 16:06:44 -06:00
tigerbot b9fac21b05 switched to using new config format when connecting to tunnel 2017-10-18 15:37:35 -06:00
tigerbot c55c034f11 started using of the ddns.loopback setting 2017-10-18 13:48:08 -06:00
tigerbot 6b2b91ba26 updated the documentation and validation for DDNS settings 2017-10-18 12:06:01 -06:00
tigerbot cfaa8d4959 added interface to save user tokens 2017-10-17 18:36:36 -06:00
tigerbot 9c7aaa4f98 reduced some duplication in handling error responses 2017-10-17 16:16:57 -06:00
tigerbot f2ce3e9fe1 Merge branch 'api-rewrite' into ddns
# Conflicts:
#	API.md
#	bin/goldilocks.js
#	etc/goldilocks/goldilocks.example.yml
#	lib/admin/apis.js
#	lib/app.js
#	lib/worker.js
2017-10-17 13:07:52 -06:00
tigerbot 754ace5cb4 removed arguments that populate a deprecated config 2017-10-17 12:56:25 -06:00
tigerbot 72520679d8 updated the documentation for the config API 2017-10-16 12:59:45 -06:00
tigerbot e15d4f830e updated the example config 2017-10-13 12:39:31 -06:00
tigerbot 5e9e2662e0 updated the config documentation in the README 2017-10-12 18:57:17 -06:00
tigerbot 663fdba446 changed the valid UDP module from 'proxy' to 'forward'
forward is based on incoming port, while proxy is based on domains
	and we don't have any domain names for raw UDP or TCP
2017-10-12 14:35:19 -06:00
tigerbot 0406d0cd93 removed the `acme` property from the `tls` config 2017-10-12 11:57:43 -06:00
tigerbot 503da9efd0 implemented routes to edit and delete modules and domains 2017-10-11 17:13:33 -06:00
tigerbot 2a57a1e12c fixed a few misc errors that appeared in testing 2017-10-11 13:06:24 -06:00
tigerbot 79ef9694b7 updated API to reflect moved domains 2017-10-11 12:18:01 -06:00
tigerbot 61af4707ee moved domains up a level to allow multiple module groups with same domain names 2017-10-11 12:11:20 -06:00
tigerbot ea55d3cc73 removed `bind` from the `http` and `tls` settings 2017-10-10 12:34:32 -06:00
tigerbot 8371170a14 renamed `dns` settings to `udp` 2017-10-10 11:32:18 -06:00
tigerbot 485a223f86 implemented better management of arrays in the config 2017-10-10 11:08:19 -06:00
tigerbot bd3292bbf2 added documentation for adding domains when using the tunnel 2017-10-09 14:03:20 -06:00
tigerbot 5761ab9d62 added JSON Schema to validate the config 2017-10-06 17:50:16 -06:00
tigerbot 8f4a733391 changed module config property name 2017-10-05 18:11:58 -06:00
tigerbot ded53cf45c reduced a few lines of code 2017-10-05 18:10:59 -06:00
tigerbot 0380a8087f automatically add `id` to modules and domains 2017-10-04 18:27:29 -06:00
tigerbot d04b750f87 changed the default config 2017-10-04 18:26:27 -06:00
tigerbot cc6b34dd46 made it possible to GET specific parts of the config 2017-10-04 14:42:19 -06:00
tigerbot 12e4a47855 removed addresses and cwd from the config 2017-10-04 11:49:05 -06:00
tigerbot f25a0191bd changed config API to use an express router 2017-10-03 19:11:49 -06:00
tigerbot 3d3fac5087 simplified how the admin routes are handled 2017-10-03 17:26:44 -06:00
tigerbot b8f282db79 fixed bug in promisifying network package 2017-10-02 15:37:58 -06:00
tigerbot 9e9b5ca9ad update DDNS to also use the specified list of domains 2017-09-29 15:29:47 -06:00
tigerbot 0dd20e4dfc removed tunnel from config and API and made DDNS responsible 2017-09-28 11:18:44 -06:00
tigerbot 5cc7e3f187 added loopback test before setting DNS records to local IP 2017-09-27 14:53:18 -06:00