steve-chavez
00a0d8b9b7
Remove pjType from QueryBuilder Insert/Update
...
* Refactor Insert onConflict
2019-02-26 11:38:21 -05:00
steve-chavez
36e9d779fc
Update BACKERS.md, resize logos
2019-02-19 17:04:09 -05:00
steve-chavez
3fc8a105ec
Add Retool sponsorship
2019-02-19 12:50:30 -05:00
steve-chavez
673aa25082
Fix #1221 , embedding when having a self join
2019-02-04 10:22:02 -05:00
steve-chavez
1037313e77
Add comments to modules
2019-02-04 10:22:02 -05:00
steve-chavez
86e460c5c4
Add implicitJoins to ReadQuery type
2019-02-04 10:22:02 -05:00
steve-chavez
fb5adce5ce
Reformat and reorder Types.hs
2019-02-04 10:22:02 -05:00
Steve Chávez and GitHub
04ab0ea753
Fix #1223 , incorrect OpenAPI externalDocs url ( #1232 )
2019-01-25 12:04:36 -05:00
Vassilis Papakonstantinou and Steve Chávez
3900baa6ce
Add db-extra-search-path config param to dockerized postgREST ( #1229 )
...
* add db-extra-search-path config param
* add default value for PGRST_DB_EXTRA_SEARCH_PATH env variable
2019-01-16 10:55:16 -05:00
steve-chavez
1e732ac94a
Bump to v5.2.0
v5.2.0
2018-12-12 18:59:10 -05:00
steve-chavez
6b2778749f
Add ability to quote column names on filters
2018-12-12 12:07:30 -05:00
steve-chavez
36f86827ee
Fix #1008 , Handle columns that contain spaces
2018-12-12 12:07:30 -05:00
steve-chavez
d78410473e
Add test for embedding on a view with group by
2018-12-12 12:07:30 -05:00
Steve Chávez and GitHub
501edc718d
Add db-extra-search-path config ( #1218 )
...
For adding schemas to the search_path, solves issues related to extensions created in the public schema.
2018-12-08 11:39:31 -05:00
周丰 and Steve Chávez
0d6d112b38
Read db-uri configuration from a separate file. ( #1215 )
...
* Read dburi configuration from a separate file.
* Add changelog entry.
2018-12-04 13:58:29 -05:00
Russell Davies and Steve Chávez
473ac70789
Add support for parsing JSON Web Key Sets
2018-11-13 13:58:17 -05:00
steve-chavez
dadfe965b9
Do hlint 2.1 hints
2018-11-06 11:54:10 -05:00
steve-chavez
63ead89470
Fix #1181 , correct qualify of function argument type
2018-11-06 11:54:10 -05:00
steve-chavez
ab23ed7999
Add CHANGELOG entry for allowing CORS on PUT
2018-10-21 13:38:34 -05:00
Kyle Russell and Steve Chávez
2da6bd6d1c
Config: apply CorsResourcePolicy to PUT requests
...
PUT requests are part of the public upsert API, so if postgrest
runs at a different origin, these requests will fail because they
don't pass CORS.
2018-10-21 13:30:52 -05:00
steve-chavez
5bfb68b982
Fix #1180 , embedding on views with composite pks
...
Also add CHANGELOG entries for previous fixes.
2018-10-12 09:24:22 -05:00
steve-chavez
dc834572d6
Fix #1182 , fix subselect view embedding for pg10
2018-10-12 09:24:22 -05:00
steve-chavez
b48824bddd
Fix #1065 , correct test for pg10
...
Also add pg10 testing job on CircleCI
2018-10-12 09:24:22 -05:00
steve-chavez
6d326fe341
Update README.md
2018-10-12 09:22:58 -05:00
Roger LAM and Steve Chávez
d94cf2ed72
tiny typo?
2018-10-11 09:00:27 -05:00
steve-chavez
27ca6b4e90
Pin hasql versions in cabal and stack
2018-09-28 08:57:26 -05:00
Ben Gamari and Steve Chávez
e0cc4d1571
Update hasql
...
Move to hasql 1.3.
2018-09-28 08:57:26 -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
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