Joe Nelson
|
37c0a2d831
|
All tests passing, none pending
Standardize the order of enum value lists
|
2014-10-14 15:03:07 -07:00 |
|
Joe Nelson
|
36b62de998
|
Merge pull request #79 from begriffs/favicon
Added a favicon, so important!
|
2014-10-14 13:47:15 -07:00 |
|
Joe Nelson
|
e15043f01a
|
Merge pull request #81 from begriffs/content-location
Fix Content-Location header when there are no params
|
2014-10-14 12:54:06 -07:00 |
|
Joe Nelson
|
f1feaecf27
|
Fix Content-Location header when there are no params
Fixes #68
|
2014-10-14 11:49:36 -07:00 |
|
Joe Nelson
|
f7751c45a2
|
Merge pull request #80 from begriffs/empty-response
Return [] rather than nothing on no results
|
2014-10-14 11:34:20 -07:00 |
|
Joe Nelson
|
aa992f0d92
|
Add constraint to wai-middleware-static
|
2014-10-14 11:32:12 -07:00 |
|
Joe Nelson
|
21e4e583ec
|
Return [] rather than nothing on no results
Fixes #70
|
2014-10-14 11:23:26 -07:00 |
|
Joe Nelson
|
17ada69411
|
Merge pull request #78 from begriffs/lookup
Remove getHeader, fixes #77
|
2014-10-14 11:14:48 -07:00 |
|
Joe Nelson
|
2338d000e1
|
Added a favicon, so important!
Fixes #71
|
2014-10-14 11:13:55 -07:00 |
|
Joe Nelson
|
80c55789b5
|
Remove getHeader, fixes #77
|
2014-10-14 10:30:23 -07:00 |
|
Joe Nelson
|
605c876bf5
|
Merge pull request #76 from begriffs/order-by
Accept order query param
|
2014-10-13 22:51:18 -07:00 |
|
Joe Nelson
|
fbb13f4ab3
|
Accept order query param
Fixes #66
|
2014-10-13 22:29:28 -07:00 |
|
Joe Nelson
|
901df91d6c
|
Merge pull request #75 from begriffs/errors
Errors
|
2014-10-13 18:23:59 -07:00 |
|
Joe Nelson
|
9c84cf9c3d
|
Fix lint warnings
|
2014-10-13 18:16:41 -07:00 |
|
Joe Nelson
|
bd1d365143
|
Merge pull request #69 from begriffs/https-redirect
Remove internal TLS, add option for HTTPS redirection
|
2014-10-13 12:09:33 -07:00 |
|
Joe Nelson
|
abccb295a3
|
Remove internal TLS, add option for HTTPS redirection
|
2014-10-12 19:52:20 -07:00 |
|
Joe Nelson
|
94e0a4b96a
|
Merge pull request #65 from begriffs/put-status-code
Successful PUT requests actually return 200
|
2014-10-10 11:50:15 -07:00 |
|
Joe Nelson
|
a34051b177
|
Successful PUT requests actually return 200
|
2014-10-09 18:00:37 -07:00 |
|
Joe Nelson
|
64e3d21889
|
Merge pull request #61 from begriffs/enum
Include "enum" field in column details
|
2014-10-08 17:05:05 -07:00 |
|
Joe Nelson
|
ecff987f31
|
Include "enum" field in column details
|
2014-10-08 16:51:42 -07:00 |
|
Joe Nelson
|
f0bb14d5fd
|
Merge pull request #60 from begriffs/auth-feature-specs
Auth feature specs
|
2014-10-08 15:08:49 -07:00 |
|
Joe Nelson
|
b52af7ac66
|
Make tests pending and revisit after Friday deadline
|
2014-10-08 14:58:38 -07:00 |
|
Joe Nelson
|
ed881c0d8d
|
Remove stray role in schema
|
2014-10-08 14:58:38 -07:00 |
|
Joe Nelson
|
04d12bcdbe
|
Remove "public" schema pollution from fixture
|
2014-10-08 14:58:38 -07:00 |
|
Joe Nelson
|
527d51670c
|
WIP: Trap postgres errors in middleware
Fixes #39
|
2014-10-08 14:58:38 -07:00 |
|
Joe Nelson
|
68d0a38806
|
WIP: feature specs for auth
|
2014-10-08 14:48:31 -07:00 |
|
Joe Nelson
|
b00a7e4402
|
Merge pull request #59 from begriffs/slack
Slack notifications for travis builds
|
2014-10-08 12:23:56 -07:00 |
|
Joe Nelson
|
a85432e3cc
|
Slack notifications for travis builds
And ignoring anvil build artifacts
|
2014-10-08 12:00:24 -07:00 |
|
Joe Nelson
|
005c45d606
|
Merge pull request #57 from begriffs/cors-info-body
Allow browsers to load table OPTIONS after preflight
|
2014-10-07 15:08:54 -07:00 |
|
Joe Nelson
|
8fbe3839a6
|
Allow browsers to load table OPTIONS after preflight
Fixes #51
|
2014-10-07 14:55:11 -07:00 |
|
Joe Nelson
|
4cec11ffbe
|
Merge pull request #55 from begriffs/defaults_in_options
Provide column default values in OPTIONS
|
2014-10-07 12:02:30 -07:00 |
|
Joe Nelson
|
496e8421a9
|
Provide column default values in OPTIONS
Fixes #43
|
2014-10-07 11:56:54 -07:00 |
|
Joe Nelson
|
1a7f895f6b
|
Merge pull request #50 from begriffs/ci-cache
Use a cached cabal sandbox
|
2014-10-03 22:56:55 -07:00 |
|
Joe Nelson
|
d66ffe8f31
|
Fix linter complaint
|
2014-10-03 22:49:31 -07:00 |
|
Joe Nelson
|
01118c9579
|
Use cached cabal sandbox and add a linting step
|
2014-10-03 22:48:24 -07:00 |
|
Joe Nelson
|
f824fbb647
|
Merge pull request #49 from begriffs/cors
Cors
|
2014-10-03 16:12:40 -07:00 |
|
Joe Nelson
|
2f37b6caeb
|
Rudimentary cors feature spec
|
2014-10-03 16:00:06 -07:00 |
|
Joe Nelson
|
c32dd18c45
|
Merge pull request #47 from begriffs/better-cert
Better self-signed cert and accompanying documentation
|
2014-10-03 14:15:52 -07:00 |
|
Joe Nelson
|
6b325e0139
|
Make the anonymous pg role a mandatory argument
|
2014-10-03 13:56:02 -07:00 |
|
Joe Nelson
|
5eeb3a75b2
|
Regenerate ssl cert specifically for localhost
|
2014-10-03 13:54:47 -07:00 |
|
Joe Nelson
|
c750977f7a
|
Show only master branch build status in Travis icon
|
2014-10-02 16:04:30 -07:00 |
|
Joe Nelson
|
7e9c224299
|
Configure roles and permissions suitable for Travis auth feature specs
|
2014-09-30 22:44: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
|
b29e07538c
|
Manage passwords with bcrypt
|
2014-09-29 17:45:36 -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
|
631f651f44
|
List table columns as array, not hash
|
2014-09-29 11:40:20 -07:00 |
|
Joe Nelson
|
29d278f6bd
|
One string conversion to rule them all
|
2014-09-28 10:41:37 -07:00 |
|
Joe Nelson
|
7f9e97b16d
|
Better test output
|
2014-09-23 22:04:04 -07:00 |
|
Joe Nelson
|
7be1cc37dc
|
Merge pull request #32 from ryancharette/master
readme:
|
2014-09-23 22:03:08 -07:00 |
|
Joe Nelson
|
d7df538feb
|
Test user db ownership
|
2014-09-23 16:45:52 -07:00 |
|
Joe Nelson
|
a66504e873
|
Installation and test instructions
|
2014-09-23 16:40:09 -07:00 |
|
Joe Nelson
|
909661f899
|
Remove random comments
|
2014-09-11 20:22:52 -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
|
a49fb69e58
|
Appease cabal warning
|
2014-09-09 22:46:23 -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
|
d166cbc371
|
Test range truncation and single-item requests
|
2014-09-07 12:54:30 -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
|
63e3d69f4d
|
Be stricter about partial content response
|
2014-09-07 10:47:57 -07:00 |
|
Joe Nelson
|
7802fa5b7e
|
Respond with 200 or 206 in ranged responses
|
2014-09-07 09:38:30 -07:00 |
|
Joe Nelson
|
a1fc4e8f78
|
A script to recreate the fixture from the current test schema
|
2014-09-01 21:16:18 -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
|
74e16abaa1
|
Alphabetize table names in "/" to make test pass reproducibly
|
2014-09-01 21:06:45 -07:00 |
|
Joe Nelson
|
cf42d80fc4
|
Be less restrictive about ghc versions
|
2014-08-27 21:52:00 -07:00 |
|
Joe Nelson
|
910f865303
|
Get strict on warnings for CI and for life
|
2014-08-27 20:05:08 -07:00 |
|
Joe Nelson
|
e454fc4526
|
Include no_pk table for future tests
|
2014-08-27 19:53:18 -07:00 |
|
Joe Nelson
|
d06674a1e8
|
Test insertion of various json types
|
2014-08-27 12:48:41 -07:00 |
|
Joe Nelson
|
134ca1f2a8
|
Parse JSON -> SqlValue as Int as well as Double when possible
|
2014-08-26 22:38:09 -07:00 |
|
Joe Nelson
|
c007dbb2b2
|
WIP: Testing compound key insert reveals weird type conversion
|
2014-08-25 19:43:23 -07:00 |
|
Joe Nelson
|
eef7860922
|
Test failed post, and clean up specs
|
2014-08-25 17:27:21 -07:00 |
|
Joe Nelson
|
93e38dd20d
|
Show more details in travis output
|
2014-08-25 16:55:57 -07:00 |
|
Joe Nelson
|
f34f8d8c35
|
Separate tests into groups
Also test content of insert redirect
|
2014-08-25 16:53:44 -07:00 |
|
Joe Nelson
|
731260e9ee
|
Remove superfluous do statements
|
2014-08-25 13:37:10 -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
|
094c145228
|
Test JSON payload for post
|
2014-08-23 21:49:16 -07:00 |
|
Joe Nelson
|
83a70343af
|
Remove unit test for now
|
2014-08-23 18:08:54 -07:00 |
|
Joe Nelson
|
036ffa107b
|
Feature tests pass, unit test does not
|
2014-08-23 18:08:20 -07:00 |
|
Joe Nelson
|
a3a6108d49
|
Create test fixtures
|
2014-08-23 15:38:40 -07:00 |
|
Joe Nelson
|
d6004ee41f
|
Disable auto-transactions
|
2014-08-23 15:34:09 -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
|
f42f7769e1
|
Test OPTIONS request for /table
|
2014-08-17 18:32:16 -07:00 |
|
Joe Nelson
|
0fbfa2395b
|
Ensure db fixtures loaded in feature specs
|
2014-08-17 16:18:09 -07:00 |
|
Joe Nelson
|
3a646a4eb4
|
Install alex and happy on ci
|
2014-08-17 09:40:34 -07:00 |
|
Joe Nelson
|
011c7acec9
|
First feature specs
|
2014-08-16 22:33:37 -07:00 |
|
Joe Nelson
|
23da54de07
|
Create dbapi_test postgres database in travis
|
2014-08-14 13:33:23 -07:00 |
|
Joe Nelson
|
e9c232976e
|
Use version number for schema in tests like anticipated use case
|
2014-08-14 13:23:41 -07:00 |
|
Joe Nelson
|
2da4451110
|
Travis badge
|
2014-08-14 12:12:42 -07:00 |
|
Joe Nelson
|
d25da99f10
|
Use integers for schemas in insert
|
2014-08-14 10:03:07 -07:00 |
|
Joe Nelson
|
09da9e7e94
|
What a travis-ty
|
2014-08-14 09:59:40 -07:00 |
|
Joe Nelson
|
66839c012f
|
Commit after insert, but not in test
|
2014-08-12 21:17:43 -07:00 |
|
Joe Nelson
|
78d82e7fda
|
Blithely suppress orphan warnings
|
2014-08-12 21:09:06 -07:00 |
|
Joe Nelson
|
276cea4a02
|
Tests a single insertion
|
2014-08-10 19:45:48 -07:00 |
|
Joe Nelson
|
c9e92ffc67
|
WIP: load fixture before all tests
|
2014-08-10 19:15:43 -07:00 |
|