Commit Graph
4345 Commits
Author SHA1 Message Date
Robert VollmertandSteve Chavez dfdf3d30b3 Fix test typo. 2020-03-07 13:04:17 -05:00
Robert VollmertandSteve Chavez 60b64d3e81 Upgrade hspec-wai dependency to 0.10. 2020-03-07 13:04:17 -05:00
Robert VollmertandSteve Chavez 962fba4d16 Update stack.yaml.lock for HSYaml extra-deps. 2020-03-07 13:04:17 -05:00
steve-chavez de218e900b Fix for sylish-haskell 2020-02-21 13:30:30 -05:00
H20-17andGitHub 66e0e88539 Clarify function privileges section (#303)
* Add best_practices.rst file

* Move function privileges to best_practices.rst
2020-02-18 17:04:17 -05:00
steve-chavez 53f35f638c Add on_conflict query parameter 2020-02-15 13:56:38 -05:00
steve-chavez f34a480a99 Add misc header improvements to upcoming 2020-02-15 13:56:38 -05:00
steve-chavez 1d54b8b07d Add fixes to upcoming 2020-02-15 13:56:38 -05:00
steve-chavez 2aae1a3894 Add unix socket changes 2020-02-15 13:56:38 -05:00
steve-chavez 87528412c0 Add overriding provided headers note 2020-02-15 13:56:38 -05:00
steve-chavez 5fd86e682b Add setting headers via pre-request 2020-02-15 13:56:38 -05:00
steve-chavez 1f40492d64 Add request path/method GUC 2020-02-15 13:56:38 -05:00
steve-chavez 0ed1d31c72 Add embedding disambiguation in upcoming 2020-02-15 13:56:38 -05:00
steve-chavez c4005ad8f2 Change server-proxy-uri 2 openapi-server-proxy-uri 2020-02-15 13:56:38 -05:00
steve-chavez 878752faee Correct join table paragraph 2020-02-08 14:52:28 -05:00
Wouter ScherphofandSteve Chavez f6c67ffdc1 correction url embedded resources through join tables 2020-02-08 14:40:15 -05:00
Coppleandsteve-chavez 95fccbb00f Add supabase/postgrest-js client library 2020-02-03 12:44:40 -05:00
steve-chavez b75e7cef90 Change server-proxy-uri 2 openapi-server-proxy-uri
The server-proxy-uri config option mislead into thinking it was a
web server global setting when it's only related to OpenAPI.
2020-02-02 15:23:32 -05:00
Ivan GabrieleandSteve Chavez 1caf114e5a Add postgrester client library 2020-01-23 18:13:15 -05:00
steve-chavez 9b1224827a Allow overriding headers Location,Content-Type,etc 2020-01-21 12:28:05 -05:00
steve-chavez c7f78fa7fc Add response.headers on GET/POST/PATCH/PUT/DELETE 2020-01-21 12:28:05 -05:00
steve-chavez 7dade7f466 Add request method and path GUCs 2020-01-21 12:28:05 -05:00
steve-chavez b20e1150a5 Add GUC for accessing the Authorization header 2020-01-21 12:28:05 -05:00
steve-chavez aa0d6a6831 Update BACKERS.md 2020-01-21 12:28:05 -05:00
RemoandSteve Chavez da1cf9f76d Add postgrest-sessions-example to Example Apps (#294) 2020-01-19 14:17:55 -05:00
Steve ChavezandGitHub 4cd05681dd Add embedding disambiguation section (#290) 2020-01-06 09:43:54 -05:00
Steve ChavezandGitHub 663faa1f82 Allow specifying the constraint name to disambiguate an embedding (#1430)
Makes previous duck typing regex unnecessary since the FK can be renamed
to a singular name or to any other format.

* Remove embedding with duck typed column names
* Allow embedding by foreign key name
* Add junction disambiguation tests
2020-01-06 09:42:33 -05:00
YUKISHITA YohsukeandSteve Chavez 99b13fa25f Upsert with "Prefer: resolution=merge-duplicates" on specified columns (#1327) (#1432)
Allow query param 'on_conflict=key1,key2,...' to upsert with explicit columns with unique
constraint.
2019-12-29 11:52:58 -05:00
steve-chavez e47d19d4dc Fix livereload host 2019-12-28 11:21:30 -05:00
Steve ChavezandGitHub 4eefe14706 Add GISOPS community tutorial (#291) 2019-12-23 13:46:22 -05:00
CoppleandSteve Chavez 8dba0dcc11 Remove fragment from Nimbus blog post URL (#288) 2019-12-17 12:28:44 -05:00
Steve ChavezandGitHub 1b166ce048 Add Community Tutorials section (#287)
Include DO video series
2019-12-16 12:39:57 -05:00
Dmitry WaginandSteve Chavez 458960f7c3 change server-unix-socket-mode 755 -> 660 (#286) 2019-12-16 08:38:25 -05:00
Dmitry WaginandSteve Chavez e12c1319b6 Change default server-unix-socket-mode 755 -> 660 (#1423) 2019-12-16 08:37:00 -05:00
Dmitry WaginandSteve Chavez 7f365bf60b Enforce singular behavior despite Prefer: return (#1417) 2019-12-08 01:49:20 -05:00
ycheng2020andSteve Chavez 30d241fcff Fixed the pg_listen syntax (#285)
* Fixed the pg_listen syntax

Can't run killall -SIGUSR1 postgrest: No such file or directory

Error happens because pg_listen needs the full path to killall.
2019-12-08 01:00:02 -05:00
Jean SIMARDandSteve Chavez a0091f61a1 Typo (repeated word) 2019-11-26 11:33:28 -05:00
Danilo AmorosoandSteve Chavez e1c9b8fe76 added documentation for server-unix-socket-mode config option 2019-11-26 11:24:43 -05:00
Dan AmorosoandSteve Chavez 2e6c78d723 add config option server-unix-socket-mode (#1415)
* added config option server-unix-socket-mode to enable custom socket permissions

* added server-unix-socket-mode input validation
2019-11-23 10:52:33 -05:00
steve-chavez a0179cfd4b Remove keepalive nginx recommendation 2019-11-22 10:59:24 -05:00
steve-chavez f9c64d9f65 refactor: improve disambiguation error message
* reverse backwards relationships
* remove redundancy from getJoinSelects
* properly name Cardinality constructors
2019-11-17 13:28:21 -05:00
steve-chavez 4ef6926791 Update authorship 2019-11-17 13:28:21 -05:00
Evan SilbermanandSteve Chávez dbbba4e51a Specify units for the pool timeout setting 2019-11-14 14:52:35 -05:00
Brian WignallandSteve Chávez 9645f1011c Fix double-and typo 2019-11-12 10:00:23 -05:00
steve-chavez 9847e60dca Err embedding when multiple relationships found
When having one-to-many relationships like:

person        -< message[sender]
person        -< message[recipient]
person_detail -< message[sender]
person_detail -< message[recipient]

Where person_detail is a view of person.

This request:

GET "/message?select=*,sender(*)"

Is ambiguous. Both person or person_detail could be embedded.

Until now we have returned the first detected relationship but
now we return a 300 Multiple Choices error with a
descriptive error message asking the user to disambiguate.

This is more helpful for the user and also aids in cases of more
complex relationships.
2019-11-05 12:55:48 -05:00
steve-chavez cb3d9ab625 refactor: rename RelationType to Cardinality
Remove Root type constructor
2019-11-05 12:55:48 -05:00
steve-chavez db41fb454e refactor: Rename synonyms to source columns 2019-11-05 12:55:48 -05:00
steve-chavez 3b133d5554 Fix #1397, correct compression to XZ for osx bin 2019-10-24 13:12:39 -05:00
Fedor OrtyanovandSteve Chávez 2fc0e2f8cb fix api.rst other status from 500 to 400 2019-10-22 10:26:53 -05:00
Steve ChávezandGitHub 22b6ff764d Credit howtos/tuts authors (#264) 2019-10-18 11:03:32 -05:00