 João CristóvãoandJoe Nelson
|
f4e0c12cba
|
IS/IS NOT null, true, false
|
2015-03-15 13:37:45 -07:00 |
|
 João CristóvãoandJoe Nelson
|
97c9bfe93f
|
Added support for nulls first / nulls last
|
2015-03-15 10:28:21 -07:00 |
|
Joe Nelson
|
3d3c7277c7
|
Allow user to override schema used for v1 of api
|
2015-03-03 22:29:37 -08:00 |
|
Joe Nelson
|
5be0b5d5ae
|
Return inserted object from POST when Prefer: return=representation
Fixes #27
Fixes #159
|
2015-03-01 21:42:05 -08:00 |
|
Joe Nelson
|
6474a83221
|
Support IN query param operator
|
2015-03-01 18:30:08 -08:00 |
|
Joe Nelson
|
9b15071f23
|
Log requests
Fixes #141
|
2015-02-28 09:31:00 -08:00 |
|
Brikou Carré
|
a93e6c050d
|
Add 'Location' to exposed headers
|
2015-02-18 10:22:24 +01:00 |
|
Joe Nelson
|
337b49f386
|
Expose Content-Range response header (and others) in CORS
Fixes #148
|
2015-02-16 19:35:25 -08:00 |
|
 Adam C. BakerandJoe Nelson
|
5cc77709ba
|
Add like/ilike
|
2015-02-15 15:23:18 -08:00 |
|
João Cristóvão
|
0a3057e92d
|
Update PgQuery.hs
I'm a bit baffled nobody noticed this before :P
Anyhow, without it order does not work.
Thanks,
Cheers
|
2015-02-11 19:49:31 +00:00 |
|
Joe Nelson
|
d77b6df851
|
Use new optparse-applicative and bcrypt
Fixes #131 and affects #129
|
2015-02-07 14:21:40 -08:00 |
|
Joe Nelson
|
90f9b00e5e
|
Include JSON content type for errors
|
2015-01-31 12:33:44 -08:00 |
|
Joe Nelson
|
27450fae66
|
Fix NULL input problem
Relates to #127
Still auth problems though
|
2015-01-28 23:58:17 -08:00 |
|
Joe Nelson
|
da6318f5a2
|
Fix warnings, lint, and ambiguous hasql imports
|
2015-01-28 20:37:19 -08:00 |
|
Adam C. Baker
|
3151aa2ebc
|
fix table parsing
|
2015-01-26 18:42:46 -08:00 |
|
Adam C. Baker
|
e1ad5cb1ae
|
handle errors in the app too
|
2015-01-26 18:07:38 -08:00 |
|
Adam C. Baker
|
ead346816b
|
reporting errors, but not passing tests.
|
2015-01-26 17:31:59 -08:00 |
|
Joe Nelson
|
b504473790
|
WIP: Upgrade to hasql 7
Still fails handling query errors
|
2015-01-25 18:33:50 -08:00 |
|
Joe Nelson
|
003685ff46
|
Add support for DELETE verb
Fixes #125
|
2015-01-17 00:48:49 -08:00 |
|
Joe Nelson
|
4c74e54ae1
|
Do not add WHERE clause if only param is order
Fixes #119
|
2015-01-05 22:37:49 -08:00 |
|
Joe Nelson
|
2c635cfde8
|
Optimization when auth role coincides with anon role
No need to set/reset role because it is already correct
|
2014-12-29 09:39:13 -08:00 |
|
Joe Nelson
|
30e9733719
|
Hide db details on connection failure
|
2014-12-22 15:40:35 -08:00 |
|
Joe Nelson
|
0830772384
|
Provide better diagnostics for exception parse failure
|
2014-12-22 15:40:20 -08:00 |
|
Joe Nelson
|
f689ce684a
|
Provide proper JSON details for errors
Refines HTTP codes for server vs client problems
Fixes #92
Fixes #40
|
2014-12-21 19:34:21 -08:00 |
|
Joe Nelson
|
07b039370d
|
Postgres error message parser
|
2014-12-17 14:15:12 -08:00 |
|
Joe Nelson
|
dbe1f59066
|
Update project name in strings
Fixes #105
|
2014-12-17 10:24:24 -08:00 |
|
Joe Nelson
|
9712549d64
|
Use "::unknown" type casts to overcome binary protocol restrictions
Fixes #112
|
2014-12-16 20:09:01 -08:00 |
|
Joe Nelson
|
19b62c00ee
|
Enclose entire app response in single Tx
|
2014-12-12 13:55:09 -08:00 |
|
Joe Nelson
|
d763e27bb2
|
More readable conditional
|
2014-12-07 21:32:36 -08:00 |
|
Joe Nelson
|
b302843e10
|
Parse args more sensibly, and use correct port for postgres connection
|
2014-12-07 18:42:18 -08:00 |
|
Joe Nelson
|
1fd757c2ad
|
Remove coerce dependency for ghc 7.6
|
2014-12-07 14:46:33 -08:00 |
|
Joe Nelson
|
782d6520a2
|
Upgrade hasql to 0.4.0
|
2014-12-07 00:11:14 -08:00 |
|
Joe Nelson
|
4d8c508a17
|
Parse db uri again
|
2014-12-06 23:21:49 -08:00 |
|
Joe Nelson
|
a45718e992
|
Re-enable authentication
|
2014-12-06 17:42:22 -08:00 |
|
Joe Nelson
|
fb6e297e88
|
Do not include .0 on integers in generated links
|
2014-12-06 17:42:22 -08:00 |
|
Joe Nelson
|
f1ecbec543
|
Do not quote params in Location header
Also treat the enum field in OPTIONS as an array uniformly
|
2014-12-06 17:42:21 -08:00 |
|
Joe Nelson
|
42faaa97c9
|
Include all fields in Location header when no primary keys defined
|
2014-12-06 17:42:21 -08:00 |
|
Joe Nelson
|
e3d3a07d14
|
Fun, fun, offbyone
|
2014-12-06 17:42:21 -08:00 |
|
Joe Nelson
|
ca4138df2a
|
Send back Location header on insert
|
2014-12-06 17:42:21 -08:00 |
|
Joe Nelson
|
8e9bbe6dcb
|
Fix insert
|
2014-12-06 17:42:20 -08:00 |
|
Joe Nelson
|
eb7e9586ab
|
Handle missing table sql errors with 404
|
2014-12-06 17:42:20 -08:00 |
|
Joe Nelson
|
d6e3526bff
|
Use Text for textual data
Also upgrade Hasql
|
2014-12-06 17:42:20 -08:00 |
|
Joe Nelson
|
da79f6cea1
|
Share connection pool with all http clients
|
2014-12-06 17:42:20 -08:00 |
|
Joe Nelson
|
d2888c62f1
|
hasql wants to rowParse text not bytestring
|
2014-12-06 17:42:19 -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
|
ae9fe506be
|
App.hs typechecks
|
2014-12-06 17:42:19 -08:00 |
|
Joe Nelson
|
70d9641e35
|
WIP: More files converted to Hasql
|
2014-12-06 17:42:19 -08:00 |
|
Joe Nelson
|
8ebfbccd08
|
WIP: converting to Hasql
|
2014-12-06 17:42:19 -08:00 |
|
Joe Nelson
|
b74b91b1c0
|
Interpolate json string values in queries without extra quoting
|
2014-12-06 17:42:19 -08:00 |
|
Joe Nelson
|
dd2adf4daa
|
Tests compile, run, and fail
Temporarily disabled unit tests
|
2014-12-06 17:42:19 -08:00 |
|