calebmer
|
62cb8e0453
|
Cleanup JWT expires
|
2015-11-11 08:34:50 -05:00 |
|
calebmer
|
aab2f0d1f1
|
Ensure JWT expires
|
2015-11-05 17:04:54 -05:00 |
|
Ruslan Talpa
|
2e4c862d25
|
Refactor to add operators in just one place, @> and <@ operators for #338 and #181
|
2015-11-02 10:49:22 +02:00 |
|
Ruslan Talpa
|
f02b8381ea
|
shape the response after inserting
|
2015-10-27 13:16:14 +02:00 |
|
Diogo Biazus
|
6e55017f96
|
Cleans and adds haddock comments
|
2015-10-20 19:48:54 -04:00 |
|
Diogo Biazus
|
3add3f5b6c
|
First draft of big auth simplification
|
2015-10-16 15:55:47 -04:00 |
|
calebmer
|
5feb334191
|
Use postgres connection string
|
2015-10-11 16:26:29 -04:00 |
|
calebmer
|
02c405ad80
|
Remove versioning feature
|
2015-10-11 13:16:59 -04:00 |
|
Ruslan Talpa
|
812135d1e5
|
cleanup suggested by @begriffs
|
2015-10-01 10:30:41 +03:00 |
|
Ruslan Talpa
|
c0e17c44ba
|
all tests passing after moving table structure detection at load time
|
2015-09-23 09:38:40 +03:00 |
|
Ruslan Talpa
|
6f55e1d389
|
fix for one of the failing tests (acl for tables added)
|
2015-09-22 18:17:24 +03:00 |
|
Ruslan Talpa
|
a7b883c922
|
moved db structure detection at the beginning (2 tests failing)
|
2015-09-22 16:56:19 +03:00 |
|
Ruslan Talpa
|
9c8ac2a489
|
tests for &select= feature and support for casting columns (usefull when extracting subfields from json columns)
|
2015-09-05 15:05:53 +03:00 |
|
Joe Nelson
|
1656fb9f57
|
Let the transaction reset the role and user id for us
|
2015-08-26 20:49:23 -07:00 |
|
Joe Nelson
|
594327924c
|
Set role locally in a tx to ensure it is reset after error
|
2015-08-26 20:49:23 -07:00 |
|
 Diogo BiazusandJoe Nelson
|
3b017dfdf6
|
Adds 415 response for any non-empty Accept header different from application/json or text/csv. Uses apropriate Content-Type header when sending CSV format.
|
2015-08-20 20:47:36 -07:00 |
|
Diogo Biazus
|
9d5011e864
|
Implements CSV resnponse for the appropriate accept headers
|
2015-08-14 11:04:26 -04:00 |
|
Joe Nelson
|
956f73d997
|
Regression test for situation reported in issue #203
|
2015-07-03 22:51:04 -07:00 |
|
Sridhar Ratnakumar
|
c3ad87ffaf
|
Make postgrest usable as a library
|
2015-05-19 23:40:39 -07:00 |
|
Federico Rampazzo
|
77aecc9e86
|
JWT support
|
2015-05-20 06:01:50 +01:00 |
|
Joe Nelson
|
9792b9b46a
|
Allow filtering by values inside json columns
|
2015-04-04 17:38:54 -07:00 |
|
Joe Nelson
|
5c7ee1effc
|
Fix problems caused by my rebase
|
2015-03-15 12:24:30 -07:00 |
|
 João CristóvãoandJoe Nelson
|
01c67ab793
|
Added tests for nullsfirst / nullslast
|
2015-03-15 11:37:06 -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
|
e37d5d9b25
|
Style tweak
|
2015-02-15 15:59:49 -08:00 |
|
Joe Nelson
|
88af46fbe3
|
Reduce test settings duplication
and better variable name
|
2015-01-31 11:31:11 -08:00 |
|
Joe Nelson
|
da6318f5a2
|
Fix warnings, lint, and ambiguous hasql imports
|
2015-01-28 20:37:19 -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 |
|
Adam C. Baker
|
3756309b22
|
create items in test, not in the schema.
|
2014-12-29 17:57:31 -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
|
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
|
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
|
4f9132af43
|
Adjust tests to use new-style app config
|
2014-12-07 18:54:27 -08:00 |
|
Joe Nelson
|
782d6520a2
|
Upgrade hasql to 0.4.0
|
2014-12-07 00:11:14 -08:00 |
|
Joe Nelson
|
7d58097449
|
Be sure to reset db before ALL tests
|
2014-12-06 17:42:42 -08:00 |
|
Joe Nelson
|
a45718e992
|
Re-enable authentication
|
2014-12-06 17:42:22 -08:00 |
|
Joe Nelson
|
5900475460
|
Reset db between tests rather than using transactions to accomodate Hasql limitation
|
2014-12-06 17:42:21 -08:00 |
|
Joe Nelson
|
0ebb83de3a
|
Include cors middleware in test
|
2014-12-06 17:42:21 -08:00 |
|
Joe Nelson
|
eb7e9586ab
|
Handle missing table sql errors with 404
|
2014-12-06 17:42:20 -08:00 |
|
Joe Nelson
|
f6b7b42d75
|
Feature specs compile
|
2014-12-06 17:42:20 -08:00 |
|
Joe Nelson
|
dd2adf4daa
|
Tests compile, run, and fail
Temporarily disabled unit tests
|
2014-12-06 17:42: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
|
32e3396caf
|
Provide command-line flag for db pool size
|
2014-10-21 16:15:11 -07:00 |
|
Joe Nelson
|
80c55789b5
|
Remove getHeader, fixes #77
|
2014-10-14 10:30:23 -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
|
fd237b33b1
|
fix/unpend tests.
|
2014-10-13 16:54:21 -07:00 |
|