steve-chavez
02a286a4b1
Change callProc query to a parametrized query
2018-01-10 11:43:16 -05:00
steve-chavez
85d9feeeab
Add set schema to middleware
...
Fix #828 , breaking change: computed columns now only work if they are on
the config schema.
Fix #835 , tests now not depend on the search_path of the
postgrest_test_authenticator.
2018-01-10 09:50:20 -05:00
Ruslan Talpa and GitHub
effbec234f
Faster queries using json_agg
2017-12-12 15:44:50 +02:00
Ruslan Talpa and GitHub
e4183780a9
Fix #1016
2017-12-12 15:31:39 +02:00
Joe Nelson and GitHub
804c0b7f6b
Include git sha in version ( #1022 )
2017-12-08 00:29:44 -06:00
steve-chavez
fef7d949d9
Fix #411 , remove the need for pk in &select for parent embed
2017-11-30 12:56:18 -05:00
steve-chavez
be630aa680
Change phrase/plain full text search syntax
2017-11-27 11:38:54 -05:00
Joe Nelson
678b855614
Changelog entry for nextstopsun
...
Also trim trailing whitespace
2017-11-25 15:15:14 -06:00
Nikolai Lebedev and Joe Nelson
546b766022
Reduce join size on allColumns for start speed ( #1021 )
2017-11-25 15:11:59 -06:00
steve-chavez
188f947437
Maintain backward compatibility on GUC headers feature
...
If pg version >= 9.6 is detected the feature is enabled,
also all of the 9.6 dependent tests are moved to their own spec.
2017-10-18 17:41:55 -05:00
steve-chavez
b9a591aecb
Add ability to map GUC to http response headers
2017-10-18 17:41:55 -05:00
steve-chavez
38de56de4a
Add ability to map raise errorcode/message to http status
2017-10-18 17:41:55 -05:00
Pi3r and Joe Nelson
2b5ae34c5a
Update jose to 0.6 ( #997 )
2017-10-15 10:49:25 -04:00
steve-chavez
d1a8c3a6f8
Fix #974 RPC error when function has single OUT param
2017-10-09 10:45:17 -05:00
steve-chavez
7a3f350f1c
Fix bad OpenAPI output when having functions with OUT/INOUT params
2017-10-09 10:45:17 -05:00
steve-chavez
e1cab584a3
Add test for #996 embed bug when table name = column name
2017-10-09 10:45:17 -05:00
grotsev and Joe Nelson
8f49f731d0
Fix embedded column conflicts table name ( #996 )
2017-10-05 21:03:27 -05:00
Steve Chávez and Joe Nelson
a6cce691b5
Fix RPC GET filters bugs with not/{plain,phrase}fts operators ( #980 )
2017-09-26 20:07:36 -07:00
Elliot Murphy and Joe Nelson
3ccae4bb8b
Allow configurable audience claim ( #975 )
2017-09-26 07:29:20 -07:00
Steve Chávez and Joe Nelson
4ba27d84a4
Fix some OpenAPI issues ( #970 )
...
* Fix #933 , update externals docs url to current version
* Fix #962 , openApi don't err on nonexistent schema
* Fix #954 , make OpenAPI rpc output dependent on user privileges
2017-09-25 23:09:52 -07:00
Steve Chávez and Joe Nelson
cf19ad0369
Allow GET on RPC ( #946 )
2017-09-17 11:16:46 -05:00
Joe Nelson and GitHub
32117ba477
Dockerfile has typo in server proxy uri variable ( #968 )
...
* s/URL/URI/ in dockerfile
* Treat blank proxy uri as missing
2017-09-09 15:58:37 -05:00
steve-chavez
6c2f179b48
Remove isnot and notin operators and refactor
2017-09-08 19:56:00 -05:00
steve-chavez
dff4d766a8
Allow dictionary and plain/phrase in fts
2017-09-08 19:56:00 -05:00
Joe Nelson and GitHub
9b5ce3a8af
Treat blank host config param as missing ( #948 )
...
Docker may pass in an empty string, in which case use the default value
2017-08-23 19:41:45 -05:00
Russell Davies and Joe Nelson
59a320fd44
Add support for range operators ( #938 )
2017-08-20 09:45:27 -05:00
daurnimator and Joe Nelson
c72bc37630
OpenAPI: Split table comment into summary and description ( #931 )
2017-08-15 09:52:20 -05:00
Felix Yan and Joe Nelson
69070b64f9
Fix compatibility with protolude-0.2 ( #939 )
...
This allows the Arch Linux PostgREST package to build cleanly
2017-08-14 01:36:33 -05:00
Joe Nelson and GitHub
d89937a6f3
Upgrade to fast new hasql ( #836 )
2017-08-10 01:54:15 -05:00
Joe Nelson and GitHub
9af539b51c
Treat blank pre-request config as missing ( #929 )
2017-08-09 08:42:32 -05:00
Joe Nelson and GitHub
0ed4215a0d
Support asymmetric JWK ( #919 )
2017-08-09 08:42:00 -05:00
George Trudeau and Joe Nelson
2243f4b653
Improve relations initialization time ( #924 ) ( #926 )
2017-08-05 14:04:52 -05:00
Ruslan Talpa and GitHub
b03e3fbec7
Ability to embed using a specific relation when there are multiple between tables, fixes #907 ( #918 )
...
* Ability to embed using a specific relation when there are multiple between tables, fixes #907
* fix lint errors
* fix code comments
* add type comments
2017-07-25 19:01:35 +03:00
Lucas Desgouilles and Joe Nelson
6d5f72bf5f
Update OpenAPI (SQL COMMENT to description, constraints, cleaning up) ( #885 )
2017-07-22 10:56:23 -05:00
Steve Chávez and Joe Nelson
968bf9ce59
Put traditional Filters inside [LogicTree] ( #911 )
2017-07-19 18:01:37 -05:00
Joe Nelson and GitHub
1513c88f77
Merge pull request #895 from steve-chavez/binary-proc
...
Binary output support for RPC
2017-07-07 22:34:06 -05:00
Joe Nelson and GitHub
7cc38330a8
Interpolate boolean env vars from conf file ( #897 )
2017-06-25 23:30:23 -05:00
steve-chavez
f0bd507ab9
Add binary output to rpc, Fix #883
2017-06-24 22:45:53 -05:00
steve-chavez
ecd58e1ad2
Refactor rpc to not use count when returning scalar
2017-06-24 21:07:07 -05:00
Steve Chávez and Joe Nelson
b007428142
Allow more than two conditions in a single and/or, Fix #889 ( #892 )
2017-06-21 00:52:21 -05:00
Joe Nelson and GitHub
50de0536de
Allow csv formatting in rpc output ( #882 )
2017-05-27 00:07:23 -05:00
Joe Nelson and GitHub
74227d3c2b
Use env interpolation in config ( #826 )
2017-05-24 22:50:09 -05:00
SteveBash and Joe Nelson
8593600cfa
Transition IN operator and select query param to new block delimiters
2017-05-13 16:49:25 -05:00
SteveBash and Joe Nelson
b8eb2cd9c1
Add and/or params for complex boolean logic
...
* Add support for and/or params in GET, POST, PATCH and DELETE
* Restrict usage of IN in and/or to be inside parens e.g. in.(1,2,3)
* Allow quoting operators for values that have ',)' chars
inside and/or e.g. eq."(entity,1)"
2017-05-13 16:49:25 -05:00
SteveBash and Joe Nelson
59abecaf5b
Add missing tests for NOT IN accepting empty values and refactor
...
Go back to operators map since the previously defined
Operator constructors added innecesary complexity also
rename Path to EmbedPath
2017-05-13 16:49:25 -05:00
Steve Chávez and Joe Nelson
3e26c1a83f
Add connection retrying on startup and SIGHUP, Fix #742 ( #869 )
...
* Add connection retrying on startup and SIGHUP, Fix #742
* Ensure that only one connection worker can run at a time
* Change ConnectionError status code to 503 and add automatic connection retrying
2017-05-06 19:11:18 -05:00
Joe Nelson
d99462be01
Revert "Fix swagger-ui when "server-proxy-uri" is not set ( #857 )"
...
This was a bug in swagger-ui, not postgrest
2017-04-29 21:02:14 -05:00
Steve Chávez and Joe Nelson
0a9d9cdded
Fix #701 : allow quoted values for IN operator, refactor and Fix #641 : allow IN filter to have no values ( #854 )
2017-04-11 00:57:44 -05:00
Ruslan Talpa and Joe Nelson
5fffbbe381
Make HTTP headers available as GUCs #800 ( #849 )
2017-04-10 19:23:48 -05:00
Marios Koulakis and Joe Nelson
8557ee55f5
Update with empty json ( #852 )
2017-04-07 22:21:50 -05:00