Commit Graph

119 Commits

Author SHA1 Message Date
Michael Snoyman
65c3135908 Temporary workaround for #29 2013-11-07 16:52:02 +02:00
Michael Snoyman
b63b77feb3 Fix a logic error 2013-09-16 13:15:54 +03:00
Aaron Friel
0b8aafef1f Remove tracing from LabelMap. 2013-08-29 20:20:50 -05:00
Aaron Friel
8a2c5076e9 Add cleanup operation to prevent growth of LabelMap over time. 2013-08-29 19:50:11 -05:00
Aaron Friel
7c5a8952f3 Add checks for explicit assignment in HostManager with support in LabelMap. 2013-08-29 17:22:26 -05:00
Aaron Friel
95ffe0f87e Fix up HostManager to use LabelMap, alter LabelMap to use ByteStrings. 2013-08-28 19:35:21 -05:00
Aaron Friel
3cbd839383 Merge in upstream 2013-08-28 11:37:53 -05:00
Michael Snoyman
a10b0d5bd6 Better handling of all config file format 2013-08-20 12:34:45 +03:00
Aaron Friel
4758633573 Support fully qualified domain names ending in a dot. 2013-08-16 11:52:38 -05:00
Michael Snoyman
c425181638 Added ToJSON instances 2013-08-14 11:55:58 +03:00
Michael Snoyman
50334e503e Redirect ports are optional 2013-08-12 17:05:07 +03:00
Aaron Friel
3c85e21dab Merge upstream and bump to 0.4.1 - add wildcard hostname support.
Wildcard hostnames are now supported in Keter, with partial RFC2818 support.

Wildcard hostnames can have exceptions, can be specified at arbitrary depths,
and are non-recursive. `*.example.com` will match `foo.example.com` but not
`foo.bar.example.com`. Likewise, `*.*.example.com` will only match the latter,
not the former.

The keter.cabal is modified to build the example app.

Internal string usage is made more homogeneous to use Data.Text. Despite this,
internationalized domain names are not yet supported unless entered in config
files as punycode.
2013-08-04 19:08:27 -05:00
Michael Snoyman
b027d7f659 Background apps 2013-07-31 17:00:03 +03:00
Michael Snoyman
df13e7351a More logging, fix bug in reserveHosts 2013-07-30 17:49:01 +03:00
Michael Snoyman
b638eb13f5 Environment variables, other type fixes 2013-07-30 12:02:55 +03:00
Michael Snoyman
8f61b969b7 Better terminate/reload behavior 2013-07-29 07:36:01 +03:00
Michael Snoyman
cebf2baee7 App reloading works 2013-07-28 20:47:22 +03:00
Michael Snoyman
41ec7b3aaa Terminate an app 2013-07-28 20:16:01 +03:00
Michael Snoyman
4e60048d71 Implement killWebApp 2013-07-28 20:02:28 +03:00
Michael Snoyman
a85befd031 Initial webapp launching works 2013-07-28 19:34:15 +03:00
Michael Snoyman
fee2fd1a4a Significant refactoring of Keter.App 2013-07-28 15:19:08 +03:00
Michael Snoyman
5c368043c8 Removed Keter.Prelude 2013-07-28 13:41:42 +03:00
Michael Snoyman
d09f91e071 Keter.Main cleanup 2013-07-26 11:17:05 +03:00
Michael Snoyman
4ffc9fbdc9 Plugins live in IO 2013-07-26 10:46:34 +03:00
Michael Snoyman
042f665603 Better means of having Keter wait 2013-07-26 10:27:06 +03:00
Michael Snoyman
d421ce175c Sighup support 2013-07-26 10:09:11 +03:00
Michael Snoyman
309e7c7306 ASTerminated 2013-07-26 08:40:53 +03:00
Michael Snoyman
bd01be00ea Got rid of Request 2013-07-25 19:58:54 +03:00
Michael Snoyman
2387f9bcfb ListeningPort 2013-07-25 17:55:45 +03:00
Michael Snoyman
e90d592ce5 Beginning of AppManager 2013-07-25 17:35:16 +03:00
Michael Snoyman
c2ed7d5608 Implemented Keter.Proxy 2013-07-25 16:18:23 +03:00
Michael Snoyman
d6fc43ed2d Separate PortPool, non-braindead host management (finally!) 2013-07-25 15:44:23 +03:00
Michael Snoyman
f28556e4d7 Extract reverse proxy rewrite rules 2013-07-25 14:18:32 +03:00
Michael Snoyman
6476bdc53e Beginning of stanza work 2013-07-25 14:10:09 +03:00
Michael Snoyman
3d02ddfbd0 Rename PortManager to HostManager 2013-07-25 13:07:48 +03:00
Michael Snoyman
f99f8cfe5a Removed Keter.Process 2013-07-14 16:28:43 +03:00
Michael Snoyman
f4aefc0634 Major rearrangement of types 2013-07-14 15:55:05 +03:00
Michael Snoyman
c3c8c1260b Config -> KeterConfig 2013-07-14 15:30:55 +03:00
Michael Snoyman
3fc984866a Started versioning of data types 2013-07-14 15:28:48 +03:00
Michael Snoyman
35688d2d4f Better app config loading 2013-07-14 13:02:18 +03:00
Michael Snoyman
88980e01a5 Moved TempDir to TempTarball 2013-07-10 14:15:18 +03:00
Michael Snoyman
708737019d Refactor Keter.TempFolder and Keter.App a bit 2013-07-10 14:09:14 +03:00
Michael Snoyman
0faa41cf21 More generic plugin system 2013-07-10 13:27:36 +03:00
Michael Snoyman
235ceca5bb Move log file code into unix-process-conduit 2013-07-10 12:48:46 +03:00
Michael Snoyman
fb0259d068 Add back the waitForProcess call 2013-07-10 12:48:20 +03:00
Michael Snoyman
f65d21cdb0 Removed Keter.SSL 2013-07-10 10:00:02 +03:00
Michael Snoyman
9750270cb2 Data.Yaml.FilePath 2013-07-10 09:57:38 +03:00
Michael Snoyman
946a1429fe Moved process tracker to unix-process-conduit 2013-07-10 09:03:03 +03:00
Michael Snoyman
f1c1f3255b Fix some warnings 2013-06-04 09:42:54 +03:00
Michael Snoyman
d8b33c96b6 Remove another usage of encode 2013-06-04 09:41:22 +03:00