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
|
e43ad54dbf
|
Merge branch 'master' of https://github.com/begriffs/postgrest
|
2016-03-01 17:54:55 +02:00 |
|
Joe Nelson
|
e315ad99b4
|
Name the main module "Main" as required
|
2016-02-29 14:50:44 -08:00 |
|
Ruslan Talpa
|
40eec0b2ff
|
code beautify using stylish-haskell
|
2016-02-29 14:53:41 +02:00 |
|
Ruslan Talpa
|
0548d65911
|
main module of the executable needs to be Main, with PostgREST.Main build fails
|
2016-02-29 13:57:34 +02: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
|
c28b26d949
|
Run QueryLimitedSpec with its own server flags
|
2016-02-22 19:21:39 -08:00 |
|
Joe Nelson
|
b0974a4e36
|
Reset db between each test suite
|
2016-02-22 17:50:00 -08:00 |
|
Joe Nelson
|
17acd134c7
|
Suppress server logging in test mode
|
2016-02-22 17:48:33 -08:00 |
|
Joe Nelson
|
d5c1438c6e
|
Use hasql-transaction
Also use hspec before-wrapper
|
2016-02-21 18:05:25 -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 |
|
Joe Nelson
|
f65557573c
|
Match new config param order in tests
|
2016-02-05 09:39:43 -08: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
|
e02dc2e92e
|
Remove redundant do
|
2016-01-27 18:51:53 -08:00 |
|
Joe Nelson
|
f634b7fe98
|
Rollback test connection on errors
|
2016-01-24 18:09:20 -08:00 |
|
Joe Nelson
|
bbf8365cd2
|
Upgrade hasql
|
2016-01-24 18:09:20 -08:00 |
|
Joe Nelson
|
51f71eb53d
|
Run queries in a transaction again
|
2016-01-24 18:09:19 -08:00 |
|
Joe Nelson
|
ac73e8d77b
|
Remove connection pooling in test
|
2016-01-24 18:09:19 -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 |
|
Ruslan Talpa
|
3cd01f9859
|
Fix failing test after test structure optimization
|
2015-12-11 10:23:11 +02:00 |
|