Commit Graph

158 Commits

Author SHA1 Message Date
AJ ONeal 5ee8449af6 fix CORS issue 2017-05-24 05:44:23 +00:00
AJ ONeal 19ffff4fcd correct urls 2017-05-24 05:25:11 +00:00
AJ ONeal 74fa3f2e14 partial updates 2017-05-24 04:27:52 +00:00
AJ ONeal 0696ba8084 remove API prefix 2017-05-20 05:16:01 +00:00
AJ ONeal da008ea658 fix api naming convention 2017-05-20 04:51:44 +00:00
AJ ONeal 3cf54f2b9a load sites separately from packages 2017-05-20 04:34:17 +00:00
AJ ONeal 032ebe0302 WIP loads API if allowed 2017-05-20 00:09:48 +00:00
AJ ONeal c1735d5c03 WIP load apis by file structure 2017-05-19 23:37:28 +00:00
AJ ONeal 3d5eaf94bd note inconsistency in header 2017-05-19 07:56:31 +00:00
AJ ONeal 71819be266 update uri matching, set header 2017-05-19 07:53:52 +00:00
AJ ONeal 9d157c12a2 add shortcut to loading any static app 2017-05-19 07:40:20 +00:00
AJ ONeal 5d27a81bac load the config 2017-05-19 06:15:14 +00:00
AJ ONeal 1f0fa452dc Merge branch 'fs-nosql' of git.daplie.com:Daplie/walnut.js into fs-nosql 2017-05-19 05:58:23 +00:00
AJ ONeal b99e947bc0 Merge commit '62d5a4c8dd29150214e3ca6cd0ded1960da3c7d4' as 'lib/com.daplie.walnut' 2017-05-19 00:56:09 -05:00
AJ ONeal ec1b08dcdd properly bootstraps 2017-05-19 05:26:26 +00:00
AJ ONeal 52966e5d95 document and update 2017-05-19 05:20:09 +00:00
AJ ONeal 9d2e89a1c7 making it work standalone again 2017-05-19 01:00:17 +00:00
AJ ONeal 171ddc9394 add com.daplie.walnut.init 2017-05-17 19:50:15 -05:00
AJ ONeal 1e5fd8484f more strict API prefix checking (and better error) 2017-05-11 01:11:31 +00:00
AJ ONeal e855e159f9 update deps and add a bunch of debug logging 2017-05-10 23:26:25 +00:00
AJ ONeal c0bab90b89 bail on install 2017-05-04 23:43:20 -06:00
AJ ONeal 9467269cd7 rollback syntax error 2017-05-04 23:13:27 -06:00
AJ ONeal 54fe53dbfb removed letsencrypt and other 2017-05-04 23:09:56 -06:00
AJ ONeal 7525b7d0a7 add CORS to main api 2016-06-08 14:05:10 -04:00
AJ ONeal e24dd9bac6 little fixes (typos, missing config, etc) 2016-06-07 10:49:26 -04:00
AJ ONeal d792404d67 refactoring to use fs config 2016-04-09 19:14:00 -04:00
AJ ONeal 28db03ae23 merge with letsencrypt branch 2016-03-31 12:30:04 -04:00
AJ ONeal 3a86624b8b minor refactor 2016-03-31 02:39:15 -04:00
AJ ONeal ff89edcf20 pull config.js back in (preparing for a future with sqlite3) 2016-03-29 15:55:05 -04:00
AJ ONeal 671753bb94 add letsencrypt 2016-03-29 15:03:09 -04:00
AJ ONeal 951c411107 move ddns client to own service 2016-03-28 22:16:02 -04:00
AJ ONeal f99ce93430 update ddns, update oauth3 2016-01-28 18:13:03 -07:00
AJ ONeal f92c45f53e add /.well-known/acme-challenge/xxxxxx exception 2015-12-23 03:13:16 +00:00
AJ ONeal 1652494cd3 comment oauth3, add pkgs 2015-12-12 04:55:47 +00:00
AJ ONeal e28d05aa6c Merge branch 'master' of github.com:Daplie/walnut 2015-12-12 04:51:33 +00:00
AJ ONeal dfcd5543ea explicitly undefined dotfiles, with note 2015-12-12 03:43:31 +00:00
AJ ONeal 841d6b3948 don't ignore .well-known (or any dot files) 2015-12-11 05:54:30 +00:00
AJ ONeal 75b9a0e2b3 (still) half-baked oauth3 layer 2015-12-08 00:51:48 +00:00
AJ ONeal 2b432cb36d unfinished cred/profile manangement 2015-12-04 21:09:23 +00:00
AJ ONeal 87686f4e5e whitespace 2015-12-04 09:57:52 +00:00
AJ ONeal 37e608517e fix some debugs 2015-12-04 08:46:11 +00:00
AJ ONeal 0ffe4e2e5c add comments and debug 2015-12-04 08:11:34 +00:00
AJ ONeal 5cecf3ea45 stub out keys and token parsing 2015-12-04 07:00:30 +00:00
AJ ONeal 8cc7234d64 allow multiple pages too 2015-12-02 12:42:23 +00:00
AJ ONeal 760f00af35 allow multiple apis, broke multiple pages 2015-12-02 12:33:42 +00:00
AJ ONeal 4867ada3f0 dbwrap -> masterquest-sqlite3 2015-12-01 05:11:49 +00:00
AJ ONeal 3c2568b66c remove junk 2015-11-29 01:25:33 +00:00
AJ ONeal 9eb798dafe do not attempt dot files 2015-11-29 01:20:20 +00:00
AJ ONeal c9c6344682 do not attempt dot files 2015-11-29 01:18:42 +00:00
AJ ONeal 384f465ff1 more generalizing of configs 2015-11-28 07:30:34 +00:00
AJ ONeal e00b670a3c generalization, updates 2015-11-28 06:05:27 +00:00
AJ ONeal 9bcee6ae99 generalization, updates 2015-11-28 05:57:07 +00:00
AJ ONeal f0e55280f0 move more of ddns out to config 2015-11-28 05:06:19 +00:00
AJ ONeal 47de49e7e2 add missing protocol for redirect 2015-11-23 13:47:47 +00:00
AJ ONeal d3ef9fb032 fix wildcard bug 2015-11-23 10:22:04 +00:00
AJ ONeal e7a6b46cc1 fix redirect match 2015-11-23 09:31:54 +00:00
AJ ONeal f70f3cb390 prefer package.json.walnut to package.json.main 2015-11-23 08:42:55 +00:00
AJ ONeal 28198dda87 load default tls certs 2015-11-23 08:42:25 +00:00
AJ ONeal 46aebe069f apppath => pagespath 2015-11-21 20:47:28 +00:00
AJ ONeal 4b083cf7d5 don't assume api exists 2015-11-21 12:46:13 +00:00
AJ ONeal e45264673a ddns config fixes 2015-11-21 12:37:04 +00:00
AJ ONeal 4f23dae53e now does redirects, static apps, and api mounting 2015-11-21 12:36:22 +00:00
AJ ONeal 59dd087084 add hostname matching and https exception 2015-11-21 06:42:23 +00:00
AJ ONeal 61bb3e63e7 change ddns api endpoint 2015-11-20 22:24:18 +00:00
AJ ONeal b645f5fe09 separate core code from data and apps 2015-11-19 22:13:20 +00:00
AJ ONeal 6d3d334370 add key pairs 2015-11-19 12:34:59 +00:00
AJ ONeal 17c18a15f3 fix app loader issue 2015-11-19 07:42:20 +00:00
AJ ONeal 78178eb43d load services 2015-11-18 11:44:22 +00:00
AJ ONeal 96b7c9bb65 clustering works (re-started work for standalone) 2015-11-17 08:18:56 +00:00
AJ ONeal 65645a7602 load apps from DB 2015-11-14 04:25:12 +00:00
AJ ONeal 1bb21f5a07 reworking vhost routes 2015-11-12 11:14:59 +00:00
AJ ONeal fc8e98173e basic test of getDomainInfo, add ./var/.gitkeep 2015-11-12 00:26:15 +00:00
AJ ONeal a8724cc502 Near-minimal app boot
Aside from a few external process calls there are now
zero external dependencies required as part of the
node.js boot process. Yay!
2015-11-06 11:05:32 +00:00
AJ ONeal e14a6fd651 use caddy if available 2015-11-06 01:00:22 +00:00
AJ ONeal e5d9ad8386 separate static from app 2015-11-04 11:26:18 +00:00
AJ ONeal 94eddd2fcc separate frontend from apis 2015-11-04 11:02:23 +00:00
AJ ONeal 2088ac2e20 vhost-sni-server.js -> vhost-server.js 2015-11-04 09:23:37 +00:00
AJ ONeal 13dd677a27 Houston, this is big bird. We are multicore! 2015-11-04 09:22:00 +00:00
AJ ONeal e0dde70c14 read from ./vhosts as well 2015-10-09 03:59:22 +00:00
AJ ONeal 7d17139a4b hourly update ip address 2015-10-05 19:51:58 +00:00
AJ ONeal 2166090e33 fix www. prefixes and related bricked application caches 2015-09-30 23:05:20 +00:00
AJ ONeal 3de6e4843d add HSTS header 2015-09-25 08:06:47 +00:00
AJ ONeal fe02a72e02 fix typo escapeHtml -> escape-html 2015-07-14 21:44:02 +00:00
AJ ONeal ff60c6ff70 Merge branch 'master' of bitbucket.org:coolaj86/walnut 2015-07-14 21:37:02 +00:00
AJ ONeal 5ba70878de prefer letsencrypt-style certs 2015-07-14 21:36:20 +00:00
AJ ONeal 364320bb79 Merge branch 'master' of github.com:daplie/walnut 2015-07-08 21:21:22 -06:00
AJ ONeal 0d90255745 escape HTML on redirects 2015-07-08 21:21:03 -06:00
AJ ONeal 945ec23965 accept io.js default ciphers (updated and secure) 2015-06-30 02:57:29 +00:00
AJ ONeal e1e4d86941 slightly better debugging 2015-06-06 00:05:37 +00:00
AJ ONeal 548c48f5bf fix race condition on boot 2015-03-29 03:29:40 +00:00
AJ ONeal a21c503b6e lazier and lazier (plus early static handling) 2015-03-06 03:04:51 +00:00
AJ ONeal 8827da6478 fix XSS vulnerability on error pages 2015-03-05 22:07:45 +00:00
AJ ONeal 0ae9e5a069 fix error handling 2015-03-02 22:42:14 +00:00
AJ ONeal db7e736659 better error handling 2015-03-02 21:45:16 +00:00
AJ ONeal 413135725c Merge branch 'master' of bitbucket.org:daplie/walnut 2015-03-02 21:31:59 +00:00
AJ ONeal 3e026237bd better error handling 2015-03-02 21:31:33 +00:00
AJ ONeal 8b4d5603df better 404 2015-03-02 21:30:29 +00:00
AJ ONeal fcc8e232dc GET /favicon.ico should not load parent app 2015-02-23 20:35:32 +00:00
AJ ONeal 1a9928af01 domainnames can have leading or trailing special chars, duh 2015-02-22 10:09:18 +00:00
AJ ONeal ba8cb66c4f fix proxying bug 2015-02-21 18:05:26 +00:00