steve-chavez
512862918f
Change default theme to readthedocs
2018-09-10 09:55:45 -05:00
steve-chavez
02f7cba3d2
Fix install broken link and add rst cheatsheet
2018-09-06 13:26:48 -05:00
steve-chavez
3cef4b70b0
Bump to v5.1.0
v5.1.0
2018-08-31 22:09:03 -05:00
steve-chavez
6f97c34a86
Increase memory usage limit for tests
...
Sometimes there's more memory usage when running the tests on CircleCI
2018-08-31 22:09:03 -05:00
steve-chavez
bdac90491d
Add CHANGELOG and better categories to cabal file
...
Also update appveyor.yml
2018-08-31 22:09:03 -05:00
steve-chavez
5961f7a116
Update appveyor.yml
2018-08-31 09:09:17 -05:00
steve-chavez
17cd2725fd
Pin hasql, protolude and jose versions in cabal
2018-08-31 09:09:17 -05:00
steve-chavez
5e7606134a
Restrict base package version and cabal additions
...
There are issues with ghc 8.2 and 8.4,
see https://github.com/PostgREST/postgrest/issues/1109
2018-08-31 09:09:17 -05:00
mdr1384 and Steve Chávez
dfa9055c34
Close #1158 , Add summary to OpenAPI doc for RPC functions ( #1170 )
2018-08-27 10:22:21 -05:00
steve-chavez
6907e7f979
Go back to *4 host for docker
...
127.0.0.1 cause issues on macos/windows
2018-08-23 13:03:12 -05:00
steve-chavez
8cf68c63d9
Fix segmentation fault/access violation on windows 10
...
This was reported in https://gitter.im/begriffs/postgrest?at=5b7431eb5b07ae730ac083af
and according to https://ghc.haskell.org/trac/ghc/ticket/13112#comment:25
this is an issue with linking in postgresql-libpq. The 0.9.4.1 version
contains a patch(https://github.com/lpsmith/postgresql-libpq/pull/45 ) that fixes the issue.
2018-08-21 11:27:44 -05:00
Steve Chávez and GitHub
30b5859b28
Fix #1141 , app.settings resetting on pool timeout ( #1169 )
...
* Add test for ensuring app.settings don't reset
2018-08-20 11:02:03 -05:00
Steve Chávez and GitHub
0a1d83ce8f
Fix JWTIssuedAtFuture for valid iat claim ( #1166 )
...
* Add test for ensuring "iat" works with time cache
2018-08-16 12:29:32 -05:00
steve-chavez
d7511a2637
Add SIGUSR1 as another signal for schema reloading
2018-08-16 11:15:09 -05:00
steve-chavez
2066220244
Change server-host default of *4 to 127.0.0.1
2018-08-16 11:15:09 -05:00
steve-chavez
93f10adb3c
Fix #905 , intermittent empty replies
2018-08-09 08:59:19 -05:00
Steve Phillips and Steve Chávez
7845bdce8c
auth.rst typo: paramter -> parameter
2018-08-06 10:27:16 -05:00
mdr1384 and Steve Chávez
56bd5d5f91
Quote identifier names in RPC function arguments ( #1153 )
2018-07-30 09:11:09 -05:00
Alexey Alekhin and Steve Chávez
70e95649fd
OpenAPI: Change GET response type to array ( #1149 )
2018-07-24 12:26:45 -05:00
Alexey Alekhin and Steve Chávez
2b46afe1ec
OpenAPI: add required section for the non-nullable columns ( #1148 )
2018-07-23 11:11:45 -05:00
steve-chavez
fa1e92fdf2
Add Lead Backer. Thank you Michel.
2018-07-19 11:05:46 -05:00
steve-chavez
b1a8bd2391
Close #709 , add test for embedding a view with CTE
...
Also add test for embedding a view with subselect in FROM clause
2018-07-18 09:43:42 -05:00
steve-chavez
69a76a627f
Close #1145 , OpenAPI materialized view columns
2018-07-18 09:43:42 -05:00
steve-chavez
105671e51a
Fix #1129 , view embedding on capitalized table
...
- Now also works on camelCase fk column
2018-07-18 09:43:42 -05:00
steve-chavez
ecf0e9213f
Remove array slice in allSynonyms query
...
This is for ensuring compatibility with pg 9.4 which doesn't support
omitting the array slice upper bound, [2:] gives an error.
The query still works fine because the array slice was to avoid having
a "({" result but this gets removed in the later join.
2018-07-18 09:43:42 -05:00
steve-chavez
1c6ded16d1
Add improved query for allSynonyms
...
This query works with views with subselects, and it's a lot faster,
on a complex schema the previous query was taking around 8 mins,
this query takes less than half a second(403.072 ms).
Also reorder view embedding tests
2018-07-18 09:43:42 -05:00
PJLindsay and Steve Chávez
a7fd694f19
Update tut0.rst ( #159 )
...
* Update tut0.rst
Add hint about port mapping for users with pre-existing PostgreSQL DB
2018-07-13 13:06:04 -05:00
steve-chavez
6fc9d5191a
Move create/destroy db scripts to bash
...
There was a "[[: not found" error with sh
2018-06-22 10:48:54 -05:00
steve-chavez
80f09780cc
Add logo and db uri example to heroku button
2018-06-21 11:04:31 -05:00
steve-chavez
cfaf588bba
Add json operators to vertical filtering section
2018-06-19 12:40:08 -05:00
steve-chavez
9e3454129f
Add tests for jsonb equality filtering
2018-06-19 11:17:59 -05:00
steve-chavez
d34afe861a
Allow finishing a json path with single arrow ->
...
Now a json can be obtained without resorting to casting
- Previously: `/json_arr?select=data->>2::json`
- Now: `/json_arr?select=data->2`
2018-06-19 11:17:59 -05:00
steve-chavez
30dfadec7b
Add support for getting json by array index
...
* Also support json negative array index
2018-06-19 11:17:59 -05:00
steve-chavez
2513c00039
Refactor Field type,move tests to JsonOperatorSpec
2018-06-19 11:17:59 -05:00
steve-chavez
100bf494ac
Move database creation/destruction scripts to sh
...
Bash is not available on /bin/bash on some linux distros like NixOS
2018-06-19 11:17:59 -05:00
steve-chavez
e8188b0d41
Add Lead Backer. Thank you Daniel.
2018-06-18 11:49:15 -05:00
steve-chavez
be039152f2
Improve explicit qualification section
2018-06-15 11:52:39 -05:00
steve-chavez
c7c6ee40e4
Add entries to the dict
2018-06-14 09:29:12 -05:00
ASVBPREAUBV and Steve Chávez
0e16f34eef
Make swagger-gui an optional step in installation
2018-06-14 09:09:13 -05:00
Francois-Guillaume Ribreau and Steve Chávez
92cc815e9d
Add MotionDynamic (PostgREST + SubZero)
2018-06-10 14:25:10 -05:00
steve-chavez
3958ebbb05
Add CHANGELOG note about stored procedures
2018-05-31 11:57:42 -05:00
steve-chavez
37e7398a85
Fix UPSERT bug on camelCase PK column
2018-05-31 11:57:42 -05:00
steve-chavez
f84b79ce41
Add stored function explicit qualification
2018-05-31 10:18:16 -05:00
steve-chavez
d03770d352
Bump version to v5.0.0
2018-05-28 17:37:11 -05:00
steve-chavez
c71bbba979
Some corrections and better wording
2018-05-28 17:25:21 -05:00
steve-chavez
b11f9ef386
Fix #137 , unix socket connection
2018-05-28 13:26:18 -05:00
steve-chavez
625a0b2393
Fix #136 , sslmode on db-uri
2018-05-28 13:26:18 -05:00
steve-chavez
338e8a1ae3
Add casting example
2018-05-28 13:26:18 -05:00
steve-chavez
036cc1c5d7
Fix #107 , Alias column with :
2018-05-28 13:26:18 -05:00
steve-chavez
ed028234cc
Add example of filtering function response
2018-05-28 13:26:18 -05:00