Commit Graph
34 Commits
Author SHA1 Message Date
Adam C. BakerandJoe Nelson 0067f60316 first pass at CORS handling. 2014-10-03 14:47:29 -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 2f584be0d6 HTTPS only 2014-09-29 14:06:20 -07:00
Joe Nelson 29d278f6bd One string conversion to rule them all 2014-09-28 10:41:37 -07:00
Adam C. Baker 88f9d67e92 kill library entry. Add bcrypt. 2014-09-25 15:18:58 -07:00
Adam C. Baker cf5510c425 upgrade hspec-wai, get tests passing. 2014-09-24 19:08:05 -07:00
Joe Nelson a49fb69e58 Appease cabal warning 2014-09-09 22:46:23 -07:00
Joe Nelson 7802fa5b7e Respond with 200 or 206 in ranged responses 2014-09-07 09:38:30 -07:00
Adam C. Baker 16256562f1 nail down optparse-applicative version 2014-09-04 12:45:58 -07:00
Joe Nelson d77e00d93b Ensure location header contains _a_ number, not a particular number 2014-09-01 21:13:46 -07:00
Joe Nelson 910f865303 Get strict on warnings for CI and for life 2014-08-27 20:05:08 -07:00
Joe Nelson 780c9d7c0f Include location header in post response 2014-08-25 11:31:27 -07:00
Joe Nelson 094c145228 Test JSON payload for post 2014-08-23 21:49:16 -07:00
Joe Nelson 9df8a7b99b Add global before/after hspec hook in test/Main.hs 2014-08-17 21:21:47 -07:00
Joe Nelson 0fbfa2395b Ensure db fixtures loaded in feature specs 2014-08-17 16:18:09 -07:00
Joe Nelson 011c7acec9 First feature specs 2014-08-16 22:33:37 -07:00
Joe Nelson 276cea4a02 Tests a single insertion 2014-08-10 19:45:48 -07:00
Joe Nelson 82d7953554 Basic hspec + postgres fixtures setup 2014-08-10 17:18:52 -07:00
Joe Nelson 6391c73184 Move sources into src 2014-08-10 13:13:32 -07:00
Adam C. Baker 5befd3dd8b add types and instances for converting json <-> sql 2014-08-07 02:05:09 -07:00
Joe Nelson f6a4a98e74 Parse range queries 2014-07-28 17:23:24 -07:00
Joe Nelson dd1547adea Use accept header version to set schema 2014-07-18 00:22:39 -07:00
Joe Nelson d7a3685002 Split into another module 2014-07-12 16:18:03 -07:00
Joe Nelson bbbb327855 Switch to HDBC
Fixes #2
2014-07-08 23:29:09 -07:00
Adam C. Baker 91efcba6e9 parse db url. Fixes #5. 2014-07-06 20:03:54 -07:00
Joe Nelson e28c875502 Show schema on OPTION and rows on GET 2014-06-22 23:58:26 -07:00
Joe Nelson dd06232369 Turn column info into named hash 2014-06-22 16:33:48 -07:00
Joe Nelson 884f06b8cf Split db functions into separate module 2014-06-22 16:04:28 -07:00
Joe Nelson a3b2d8a9ba Configure server port with command line arguments 2014-06-22 15:28:10 -07:00
Joe Nelson c1da42ea3f Show all tables, not just views 2014-06-21 15:51:36 -07:00
Joe Nelson f5bda4bb96 Support ghc 7.6 2014-06-21 12:03:46 -07:00
Joe Nelson ce8392bf66 Real deal haskell! 2014-06-17 01:51:27 -07:00
Joe Nelson a73ed2c5fd Bools are YES/NO in information_schema 2014-06-16 23:04:26 -07:00
Joe Nelson c8e0110755 Initial commit 2014-06-16 21:36:55 -07:00