Joe Nelson
|
cd81e9346f
|
Do not do table count when plurality=singular
Rebasing commits by @ruslantalpa
|
2016-03-23 20:30:51 -07:00 |
|
Joe Nelson
|
b858626e17
|
For correctness include charset=utf-8 in responses
|
2016-03-13 14:22:17 -07:00 |
|
Joe Nelson
|
330cc91645
|
Protect unicode values in requests
|
2016-03-13 14:20:54 -07:00 |
|
Joe Nelson
|
4cc08a11e7
|
Prevent duplicate call to stored procs
Reuse a CTE for results of call
|
2016-03-12 18:28:36 -08:00 |
|
Diogo Biazus
|
9d0f3573c6
|
Implements query counting in proc call and adds Content-Rage to response
headers in /rpc calls.
|
2016-02-26 14:51:35 -05:00 |
|
Diogo Biazus
|
893b7a7126
|
Applies range headers to /rpc calls using LIMIT/OFFSET.
|
2016-02-26 14:41:27 -05:00 |
|
Joe Nelson
|
d7fe59f0b0
|
WIP: share server code between tests and program
- Share server code in Main
- Switch to hasql-pool
- Use pool in tests
- DRY up test runner
|
2016-02-21 12:22:18 -08:00 |
|
Joe Nelson
|
8b3d224b80
|
Ensure payload parse errors are not suppressed
Fixes #490
|
2016-02-11 16:24:02 -08:00 |
|
Joe Nelson
|
f990a519a5
|
More extensive tests
|
2016-02-02 16:45:54 -08:00 |
|
Joe Nelson
|
a0ef4eae4d
|
Issue http 405 for anything but POST on RPC
Fixes #481
|
2016-02-01 22:52:57 -08:00 |
|
Joe Nelson
|
b9fd083c77
|
It all compiles but all requests give a postgres error
|
2016-01-24 18:09:19 -08:00 |
|
Joe Nelson
|
fec316b087
|
WIP: fixing compiler errors in specs
|
2016-01-24 18:09:19 -08:00 |
|
calebmer
|
3a3d4038cb
|
Add tests for wierd usecases
|
2015-12-29 15:24:27 -05:00 |
|
Ruslan Talpa
|
a61778dba0
|
Fix bug in many-many relation detection introduced but prev PR
|
2015-12-22 16:36:02 +02:00 |
|
calebmer
|
8f0ba7c41e
|
Unify JSON definition in tests
|
2015-12-16 18:24:04 -05:00 |
|
calebmer
|
88d4798d5e
|
Add column select sans id support
|
2015-12-16 18:24:03 -05:00 |
|
calebmer
|
abe87f2f16
|
Add support for selecting by column
|
2015-12-16 18:24:02 -05:00 |
|
Joe Nelson
|
ccadcec6d5
|
Merge branch 'spec-cache-dbstructure'
|
2015-12-11 09:42:26 -08:00 |
|
Joe Nelson
|
b3144aee15
|
Cache schema structure between tests for speed
Causes one test to fail
|
2015-12-10 13:36:28 -08:00 |
|
Ruslan Talpa
|
a6512a2a69
|
Test and fixes for #407 #403 #107
|
2015-12-09 20:59:42 +02:00 |
|
Ruslan Talpa
|
dad41cd3ed
|
Fix #396 include records with missing parents and remove CTE related to parent relation
|
2015-12-09 14:21:27 +02:00 |
|
Diogo Biazus
|
0961524e70
|
Refactors tests to use new fixtures and remove some haskell functions that wont be necessary anymore
|
2015-12-08 00:44:49 -05:00 |
|
Joe Nelson
|
f4c73c7666
|
Test for --max-rows behavior
|
2015-12-05 19:31:53 -08:00 |
|
Diogo Biazus
|
65e7744858
|
Uses anti_id computed column to make test case clearer
|
2015-12-02 17:12:37 -05:00 |
|
Diogo Biazus
|
71dab115c9
|
Uses qualified column name in order by clause to allow computed columns
|
2015-12-02 15:23:10 -05:00 |
|
Ruslan Talpa
|
48ee77a64d
|
bugfix: filter columns on embeded parent objects
|
2015-11-24 12:53:50 +02:00 |
|
Joe Nelson
|
377aeefde9
|
Test tricky situation for plurality=singular
|
2015-11-23 17:15:09 -08:00 |
|
Joe Nelson
|
029276bd62
|
Use brackets to specify subqueries
|
2015-11-23 10:58:04 -08:00 |
|
calebmer
|
54eb0d3ec4
|
Implement single route selection
|
2015-11-16 17:21:07 -05:00 |
|
Joe Nelson
|
a6cfecbc29
|
Merge v3
|
2015-11-14 17:52:05 -08:00 |
|
Ruslan Talpa
|
5113187bb1
|
changelog update and lint fix
|
2015-11-02 23:35:59 +02:00 |
|
Ruslan Talpa
|
ef08af359c
|
Fix for #334
|
2015-11-02 14:44:45 +02: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 |
|
Pierre Radermecker
|
2cfe3651b4
|
Add a test case for issue #334
|
2015-10-30 19:16:59 +01:00 |
|
Diogo Biazus
|
4369a5617e
|
Fixes 500 when set returning function returns an empty row set [fix #332]
|
2015-10-27 21:19:55 -04:00 |
|
Ruslan Talpa
|
f7e6005087
|
cleanup
|
2015-10-27 14:14:04 +02:00 |
|
Ruslan Talpa
|
f02b8381ea
|
shape the response after inserting
|
2015-10-27 13:16:14 +02:00 |
|
Ruslan Talpa
|
1fdb700bc8
|
Fix a few tests
|
2015-10-26 13:50:56 +02:00 |
|
Ruslan Talpa
|
6ba4dc4617
|
Fix for #302
|
2015-10-08 11:33:42 +03:00 |
|
Ruslan Talpa
|
b675276f31
|
merge new test from @diogob
|
2015-10-04 07:26:05 +03:00 |
|
Diogo Biazus
|
4dd508a628
|
Adds a failing spec for child relation (comments) using a composite foreign key (references to users_tasks)
|
2015-10-03 15:02:02 -04:00 |
|
Ruslan Talpa
|
c7666c0a67
|
tests for table relations & bugfix for not detecting child relations of view
|
2015-10-01 14:20:40 +03:00 |
|
Ruslan Talpa
|
380cab6ca3
|
Merge branch 'master' into skin
|
2015-09-25 22:45:49 +03: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 |
|
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 |
|