Commit Graph
21 Commits
Author SHA1 Message Date
Joe Nelson a45718e992 Re-enable authentication 2014-12-06 17:42:22 -08:00
Joe Nelson dcbecf085f Program compiles but without auth, uri parsing, or json error reporting 2014-12-06 17:42:19 -08:00
Joe Nelson 1b8f0f2829 Main compiles. Still bugs though 2014-12-06 17:42:18 -08:00
Adam C. BakerandJoe Nelson 41a982fb31 Remove HDBC imports 2014-12-06 17:42:17 -08:00
Joe Nelson 5cbbe12b65 Use transactions for only patch and put 2014-11-06 14:19:19 -08:00
Joe Nelson f58e3db924 Disable transactions for read-only requests 2014-11-06 14:19:19 -08:00
Adam C. Baker 74855db87b declare required extensions
and remove default extension pragmas (OverloadedStrings)
2014-11-05 00:32:10 -08:00
Joe Nelson 36eeec6b17 Retry the sandbox curl on travis as needed 2014-10-17 23:46:47 -07:00
Joe Nelson 25ce4c00c6 Fix hlint 2014-10-17 18:13:48 -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 93c573ab4f Issue 404 for nonexistent tables
Fixes #44
2014-10-14 18:58:55 -07:00
Joe Nelson 9c84cf9c3d Fix lint warnings 2014-10-13 18:16:41 -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 fff84cca90 rename reportPgErrors to clientErrors 2014-10-13 16:51:21 -07:00
Adam C. Baker dcdca445b5 authenticated middleware 2014-10-13 16:48:20 -07:00
Adam C. Baker 2028500da7 withSavepoint middleware 2014-10-13 13:04:25 -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
Joe Nelson 527d51670c WIP: Trap postgres errors in middleware
Fixes #39
2014-10-08 14:58:38 -07:00