Ruslan Talpa
|
54d1e4112a
|
detect primary keys for views & use cached info in PUT/PATCH requests
|
2015-09-25 10:30:19 +03:00 |
|
Ruslan Talpa
|
8783615ebc
|
detect primary keys for views (fix #217)
|
2015-09-24 23:30:47 +03:00 |
|
Joe Nelson
|
aee0c2c731
|
Test that patch requests can set a field to null
Exploring situation mentioned in #233
|
2015-09-06 17:07:00 -07:00 |
|
Joe Nelson
|
cf2f576ec0
|
Merge pull request #276 from ruslantalpa/master
Support for &select=col1,col2,col3 as suggested in issue #227
|
2015-09-06 15:24:47 -07:00 |
|
Ruslan Talpa
|
cc418d3519
|
aditional tests for bad casting parameters
|
2015-09-05 15:31:36 +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 |
|
Diogo Biazus
|
89c581816e
|
Adds */* as a valid media type that will return json [fix #274]
|
2015-09-01 15:57:59 -04:00 |
|
Joe Nelson
|
480800edbd
|
Problem after exceptions when authed
Reproduces #264
|
2015-08-26 20:49:23 -07:00 |
|
Diogo Biazus
|
52626cc86d
|
Adds test cases for not operator in equality, inequality, like, ilike, tesarch (@@) and is null queries
|
2015-08-21 15:08:52 -04:00 |
|
Diogo Biazus
|
32b97ef076
|
Adds not as a keyword that can optionally be prepended to any operator in a parameter value
|
2015-08-21 10:33:41 -04:00 |
|
Joe Nelson
|
d65d011e5e
|
Tests for rpc
|
2015-08-20 22:14:09 -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
|
c34f96ce2e
|
Removes body matcher to compile and test against any aeson version >= 0.8
|
2015-08-20 16:43:57 -04:00 |
|
Diogo Biazus
|
f9d50018d9
|
Rollback to aeson 0.8.0.2 to allow building with stackage, and adds stack.yml
|
2015-08-20 15:50:28 -04:00 |
|
Richard Allaway
|
4cf51b7005
|
fixes spec for changed error message from updated aeson library
|
2015-08-17 11:10:15 -04:00 |
|
Richard Allaway
|
4e77492797
|
adds a spec for NOT IN query case
|
2015-08-17 10:24:51 -04:00 |
|
Joe Nelson
|
adac39bd7c
|
Use Content-Type text/csv for CSV responses
|
2015-08-15 11:57:57 -07:00 |
|
Diogo Biazus
|
9d5011e864
|
Implements CSV resnponse for the appropriate accept headers
|
2015-08-14 11:04:26 -04:00 |
|
Joe Nelson
|
cd6b688f7f
|
Merge pull request #244 from diogob/adds_materialized_views_to_root
Adds materialized views to list of relations in GET / [#242]
|
2015-08-01 16:16:23 -07:00 |
|
Diogo Biazus
|
ab0170ffaf
|
Adds materialized views to list of relations in GET / [#242]
|
2015-08-01 01:09:12 -04:00 |
|
Diogo Biazus
|
449cacdacf
|
Fixes error code 42803 when trying to query a view with a column named count.
|
2015-08-01 00:15:17 -04:00 |
|
Diogo Biazus
|
c76864a653
|
Qualifies columns used in WHERE clauses so we can use computed columns as filters
|
2015-07-10 12:35:24 -04:00 |
|
Joe Nelson
|
956f73d997
|
Regression test for situation reported in issue #203
|
2015-07-03 22:51:04 -07:00 |
|
Diogo Biazus
|
f4011e5d8c
|
Changes the insertable to true in views that are insertable through triggers [fixes #206]
|
2015-06-22 00:16:23 -04:00 |
|
Federico Rampazzo
|
83f48dcd15
|
User_id support (via user_vars)
|
2015-05-24 03:26:42 +01:00 |
|
Diogo Biazus
|
a980db6d2d
|
Adds spec for @@ operator and implements it in PgQuery
|
2015-05-22 12:28:26 -04:00 |
|
Diogo Biazus
|
4277284a69
|
Adds table tsearch to test for @@ operator against a tsvector field. Fixes StructureSpec accordingly.
|
2015-05-22 12:15:14 -04:00 |
|
Federico Rampazzo
|
77aecc9e86
|
JWT support
|
2015-05-20 06:01:50 +01:00 |
|
Joe Nelson
|
709e70561f
|
Provide more information in PATCH response
* 404 if no records updated
* Range header for number updated
* Full results depending on Prefer header
Fixes #187
Fixes #182
|
2015-05-12 10:47:55 -07:00 |
|
Joe Nelson
|
5688030104
|
Allow posting JSON array and object
Fixes #168
Fixes #156
|
2015-04-19 17:46:11 -07:00 |
|
Joe Nelson
|
fbc90bdb84
|
Tests for csv bulk import
Fixes #17
|
2015-04-17 15:42:58 -07:00 |
|
Joe Nelson
|
9792b9b46a
|
Allow filtering by values inside json columns
|
2015-04-04 17:38:54 -07:00 |
|
Joe Nelson
|
42d3d0de6c
|
Fix location header for inserted objects with nulls
|
2015-03-15 18:26:32 -07:00 |
|
Joe Nelson
|
ddb5ba8b64
|
Can now post nulls, but header link is wrong
affects #166
|
2015-03-15 16:30:42 -07:00 |
|
Joe Nelson
|
f7ff08edf7
|
Test is.null matcher
|
2015-03-15 15:20:31 -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
|
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 |
|
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 |
|
Joe Nelson
|
fa48c86195
|
Logically simplify (i)like test cases
|
2015-02-15 17:34:26 -08:00 |
|
Joe Nelson
|
b88192f95a
|
Remove lint
|
2015-02-15 16:31:53 -08:00 |
|
Joe Nelson
|
5a1ae934b9
|
Put array open bracket nearer to the json
|
2015-02-15 16:14:25 -08:00 |
|
Joe Nelson
|
58f18181c2
|
Update order by params to new style introduced from master
|
2015-02-15 16:13:06 -08:00 |
|
Joe Nelson
|
eea1bc0cac
|
Quasiquote json to fix vim syntax highlighting
|
2015-02-15 16:03:31 -08:00 |
|
Joe Nelson
|
e37d5d9b25
|
Style tweak
|
2015-02-15 15:59:49 -08:00 |
|
 Adam C. BakerandJoe Nelson
|
5cc77709ba
|
Add like/ilike
|
2015-02-15 15:23:18 -08:00 |
|
João Cristóvão
|
9cb1ced010
|
Change order test to match docs
|
2015-02-12 09:44:49 +00:00 |
|
Joe Nelson
|
90f9b00e5e
|
Include JSON content type for errors
|
2015-01-31 12:33:44 -08:00 |
|