Commit Graph
20 Commits
Author SHA1 Message Date
Joe Nelson 2f37b6caeb Rudimentary cors feature spec 2014-10-03 16:00:06 -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 a93065a887 specify schema as a string everywhere in the app.
This will make it easier to support semantic API versioning,
and makes code reuse easier right now.
2014-09-26 12:51:36 -07:00
Joe Nelson 016490bea7 Fix hlint 2014-09-10 21:32:30 -07:00
Joe Nelson d3ae4aca2b All tests passing except hlint warning about duplicated code blocks 2014-09-10 21:20:56 -07:00
Joe Nelson dd9d9cb283 Disallow non-idempotent PUTs 2014-09-10 20:44:17 -07:00
Joe Nelson 9f2a01ae46 WIP: do crazy postgres upsert 2014-09-09 22:46:42 -07:00
Joe Nelson 22114532e6 WIP: put requests 2014-09-07 22:03:45 -07:00
Joe Nelson a4227b94d8 Add Content-Location header to GET responses
Fixes #26
2014-09-07 17:01:35 -07:00
Joe Nelson 4d81959a2a Fix Location link in post to db lacking a primary key
Fixes #29
2014-09-07 14:12:51 -07:00
Joe Nelson fcdc37d20b Reject ranges that start beyond last item 2014-09-07 12:47:07 -07:00
Joe Nelson db7ccda74d Test for no results case 2014-09-07 11:02:43 -07:00
Joe Nelson 7802fa5b7e Respond with 200 or 206 in ranged responses 2014-09-07 09:38:30 -07:00
Joe Nelson 780c9d7c0f Include location header in post response 2014-08-25 11:31:27 -07:00
Joe Nelson a48474b21a respond 201 on successful post 2014-08-23 21:49:43 -07:00
Joe Nelson 036ffa107b Feature tests pass, unit test does not 2014-08-23 18:08:20 -07:00
Joe Nelson d6004ee41f Disable auto-transactions 2014-08-23 15:34:09 -07:00
Joe Nelson 011c7acec9 First feature specs 2014-08-16 22:33:37 -07:00