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
|
3c5fab009b
|
Remove ancient test comments
|
2016-03-13 14:22:36 -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 |
|
Joe Nelson
|
358254639a
|
Merge @ruslantalpa's fk improved detection
|
2016-03-12 12:42:57 -08:00 |
|
Joe Nelson
|
f67e195f76
|
Expose all claims via sql postgrest.claims
|
2016-03-11 20:51:22 -08:00 |
|
Joe Nelson
|
508d722fb2
|
Allow SQL functions to generate registered JWT claims
|
2016-03-10 21:58:43 -08:00 |
|
Ruslan Talpa
|
62af792add
|
Add failing test to test correct view column detection
|
2016-02-29 11:37:23 +02: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
|
de772b9246
|
Modified the concurrent test to illustrate problem with prepared statement
|
2016-02-22 20:58:44 -08: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
|
8a006f07a7
|
Show error text more clearly
|
2016-02-20 18:11:46 -08:00 |
|
Joe Nelson
|
52e689b830
|
Add concurrent test for "transaction in progress"
MonadBaseControl wizardry courtesy of @jwiegley
|
2016-02-20 17:45:55 -08:00 |
|
Joe Nelson
|
8b3d224b80
|
Ensure payload parse errors are not suppressed
Fixes #490
|
2016-02-11 16:24:02 -08:00 |
|
Moti Zilberman
|
4dd4eeb421
|
[ci skip] s/unkonwn/unknown/
|
2016-02-08 16:39:32 +02:00 |
|
Moti Zilberman
|
b50882db3a
|
[ci skip] Fix typo in InsertSpec
|
2016-02-08 15:53:15 +02:00 |
|
Moti Zilberman
|
0058b5df99
|
Minor proofreading in InsertSpec
s/csv/json/ in line 24
|
2016-02-08 14:29:47 +02:00 |
|
 calebmerandJoe Nelson
|
33757e537b
|
Fix options on non existant tables, closes #442
|
2016-02-03 11:20:45 -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 |
|
Simone Scarduzio
|
74d76c690f
|
Adding two test cases for 469
|
2016-01-24 14:52:14 +00:00 |
|
Moti Zilberman
|
9a596c2500
|
pgFmtLit: Change condition for using E"..." syntax, fix #458.
Includes a test spec by @diogob.
|
2016-01-15 11:59:25 +02: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 |
|
Joe Nelson
|
b26fbaf4db
|
Merge pull request #427 from ruslantalpa/fix_407_week_authenticator_role
Fix errors in tests when setting authenticator to noinherit #407
|
2015-12-19 09:34:24 -08: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 |
|
Ruslan Talpa
|
66a34fccdf
|
Fix errors in tests when setting authenticator to noinherit
|
2015-12-16 11:44:28 +02:00 |
|
Ruslan Talpa
|
4544ce3255
|
Fix #399 insert records in tables with no SELECT privileges
|
2015-12-16 10:16:14 +02: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
|
63805d05a1
|
Removes GRANT ALL and let Structure spec pending
|
2015-12-08 11:11:48 -05: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
|
598b2bfbda
|
Remove lint
|
2015-12-05 19:50:07 -08: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 |
|
Ruslan Talpa
|
cf2e45d47f
|
Fix lint issue
|
2015-11-20 16:11:21 +02:00 |
|
Ruslan Talpa
|
0cce22f8c1
|
check request payload for structure & remove bad test for csv
|
2015-11-20 16:07:20 +02:00 |
|
calebmer
|
54eb0d3ec4
|
Implement single route selection
|
2015-11-16 17:21:07 -05:00 |
|