Commit Graph
25 Commits
Author SHA1 Message Date
Adam C. Baker 74855db87b declare required extensions
and remove default extension pragmas (OverloadedStrings)
2014-11-05 00:32:10 -08:00
Joe Nelson 6a5b756cac Report server and version in headers 2014-10-28 17:17:37 -07:00
Adam C. Baker 2b829f9152 cleanup connections on close. 2014-10-28 14:41:32 -07:00
Joe Nelson 32e3396caf Provide command-line flag for db pool size 2014-10-21 16:15:11 -07:00
Adam C. Baker 0798cb81a6 App has database pools! 2014-10-17 17:16:41 -07:00
Adam C. Baker 49f0bf7c3f broken attempts to work on concurrency 2014-10-17 17:10:34 -07:00
Joe Nelson 2338d000e1 Added a favicon, so important!
Fixes #71
2014-10-14 11:13:55 -07:00
Adam C. Baker 5630ee52fd Merge branch 'master' into errors
Conflicts:
	src/Main.hs
	src/Middleware.hs
2014-10-13 17:45:32 -07:00
Adam C. Baker f81ca8bf0b move auth out of dbapi, use middleware, put in main 2014-10-13 16:52:14 -07:00
Joe Nelson abccb295a3 Remove internal TLS, add option for HTTPS redirection 2014-10-12 19:52:20 -07:00
Adam C. Baker a984fe3bf9 flip args to inTransaction 2014-10-10 17:32:17 -07:00
Adam C. Baker e4669dcb37 handle all requests in a transaction. 2014-10-10 17:16:56 -07:00
Adam C. Baker 0879ed7110 flip app args 2014-10-10 15:54:05 -07:00
Joe Nelson 527d51670c WIP: Trap postgres errors in middleware
Fixes #39
2014-10-08 14:58:38 -07:00
Joe Nelson 2f37b6caeb Rudimentary cors feature spec 2014-10-03 16:00:06 -07:00
Adam C. BakerandJoe Nelson dac9f02578 allow options, capital Authorization. 2014-10-03 14:47:29 -07:00
Adam C. BakerandJoe Nelson 0067f60316 first pass at CORS handling. 2014-10-03 14:47:29 -07:00
Joe Nelson 6b325e0139 Make the anonymous pg role a mandatory argument 2014-10-03 13:56:02 -07:00
Joe Nelson 598d70579e WIP: change db roles based on HTTP basic auth headers 2014-09-29 22:52:02 -07:00
Joe Nelson e5c4567166 Gzip compression 2014-09-29 14:06:42 -07:00
Joe Nelson 2f584be0d6 HTTPS only 2014-09-29 14:06:20 -07:00
Joe Nelson 036ffa107b Feature tests pass, unit test does not 2014-08-23 18:08:20 -07:00
Joe Nelson 011c7acec9 First feature specs 2014-08-16 22:33:37 -07:00
Joe Nelson d25da99f10 Use integers for schemas in insert 2014-08-14 10:03:07 -07:00
Joe Nelson 6391c73184 Move sources into src 2014-08-10 13:13:32 -07:00