Ruslan Talpa
|
45d0f85b0d
|
ability to order embeded items (closes #509)
|
2016-05-21 20:52:13 +03:00 |
|
Joe Nelson
|
a21464ddca
|
Merge pull request #592 from begriffs/form-urlencoded
Accept POST requests from HTML forms
|
2016-05-18 00:38:42 -07:00 |
|
Joe Nelson
|
cf16f90fab
|
Merge pull request #590 from begriffs/proper-403
Return proper 401/403 when access denied
|
2016-05-17 22:56:55 -07:00 |
|
Ruslan Talpa
|
9e6542680b
|
Fix include entities from the same parent table using two different foreign keys
|
2016-05-16 15:36:18 +03:00 |
|
Joe Nelson
|
7e41b620ff
|
Accept POST requests from HTML forms
|
2016-05-15 20:55:07 -07:00 |
|
Joe Nelson
|
18e3c30ad8
|
Return proper 401/403 when access denied
Fixes #584
|
2016-05-15 00:56:47 -07:00 |
|
Ruslan Talpa
|
c13f0a369b
|
Support node/column renaming #310
|
2016-05-12 10:22:19 +03:00 |
|
Ruslan Talpa
|
cacc725e41
|
support dash in column names fix #462
|
2016-05-11 10:43:34 +03:00 |
|
Joe Nelson
|
d9205bd838
|
Do not include Content-Type header for empty body (#580)
* Do not include Content-Type header for empty body
Fixes #544
* Fix lint
* Changelog
|
2016-05-03 21:18:23 -07:00 |
|
Joe Nelson
|
88aad4b1b6
|
Reload schema definition on SIGHUP (#570)
|
2016-04-26 07:50:23 -07:00 |
|
Joe Nelson
|
31738d745f
|
Regression test for read/write unicode table names
|
2016-03-25 15:14:00 -07:00 |
|
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 |
|