steve-chavez
ef36ec10a1
Put warning in db-schema and clarify search_path
2020-04-21 15:16:21 -05:00
steve-chavez
3328b6059f
Consolidate schema structure page
2020-04-21 15:16:21 -05:00
steve-chavez
79f2af08e3
Add wording for schema structure
2020-04-21 15:16:21 -05:00
steve-chavez
7714bd9623
Move HTTPS section from auth to admin
...
It fits better into administration concerns
2020-04-21 15:16:21 -05:00
steve-chavez
055b7820b3
Add schema structure diagram
2020-04-21 15:16:21 -05:00
steve-chavez
5eca88fd87
Refine function privileges section
2020-04-21 15:16:21 -05:00
steve-chavez
6b72da38e6
Move some api notes to best practices
2020-04-21 15:16:21 -05:00
steve-chavez
c2ff7ffb62
Redorder insertions before stored procedures
2020-04-21 15:16:21 -05:00
steve-chavez
750c22cd1c
Add mounting config file to docker
2020-04-21 15:16:21 -05:00
steve-chavez
4d623986ea
Alternative to bulk call
2020-04-21 15:16:21 -05:00
steve-chavez
a5af8dc68f
Add return=rep to DELETE section
2020-04-21 15:16:21 -05:00
steve-chavez
467b22cb29
Fix required pg minimum version
...
Fixes https://github.com/PostgREST/postgrest-docs/issues/317
2020-04-21 15:16:21 -05:00
steve-chavez
87f883b793
Add multiple schemas feature
2020-04-21 15:16:21 -05:00
steve-chavez
3292fce732
Update schema reloading section
...
Fixes https://github.com/PostgREST/postgrest-docs/issues/243
2020-04-21 15:16:21 -05:00
steve-chavez
33768c509c
Add reference for rpc with array literals
...
Fixes https://github.com/PostgREST/postgrest-docs/issues/258
2020-04-21 15:16:21 -05:00
steve-chavez
dd7e182b12
Update config.py version/release
...
Fixes https://github.com/PostgREST/postgrest-docs/issues/260
2020-04-21 15:16:21 -05:00
Remo and GitHub
24db4a1e25
Basics for building PostgREST with Nix ( #1489 )
...
* Add GHC options used with stack to postgrest.cabal
* Add a Nix derivation for just the executable.
2020-04-21 11:59:00 -05:00
Robert and GitHub
ae77cf9a08
circleci: Build linters with memory-saving ghc-options. ( #1490 )
...
Previously, the linters would use the cached build artefacts from
building postgrest with -fno-spec-constr via stack.yaml. Potentially
passing it to the linter build explicitly will fix recent out-of-memory
issues.
2020-04-19 14:15:12 -05:00
Robert Vollmert and Steve Chavez
4a0a37588f
Fix hlint 2.2.11 bracketing suggestions
2020-04-16 17:47:52 -05:00
Robert Vollmert and Steve Chavez
5838214910
Fix tests for explicit errors in aeson-1.4.7, and raise lower bound
2020-04-16 17:47:52 -05:00
Robert Vollmert and Steve Chavez
b609d8491e
Update stack.yaml to lts-15.8 (GHC 8.8.3)
2020-04-16 17:47:52 -05:00
Robert Vollmert and Steve Chavez
18538707ab
Relax upper bounds for lens, network-uri, time.
...
This allows lens-4.19, network-uri-2.7 and time-0.10. According to
the respective changelogs, none of these should cause trouble.
lens-4.19 is required to build with GHC 8.10.
2020-04-16 13:36:26 -05:00
Robert Vollmert and Steve Chavez
e59c72cff3
circleci: Break out a plain build and cache job
2020-04-16 13:10:21 -05:00
Robert Vollmert and Steve Chavez
da573a1805
circleci: Dedicated cache key for style checks
2020-04-16 13:10:21 -05:00
Robert Vollmert and Steve Chavez
e24a7d005a
circleci: Split style and hlint out into separate job
2020-04-16 13:10:21 -05:00
Robert Vollmert and Steve Chavez
79399686db
Remove unused imports (with newer protolude)
...
The changes here are from fixing stack build with LTS 15.8 (GHC 8.8.3)
to be warning-free. Most if not all come from the newer protolude
version, which adds some things like `unwords`.
So to make sure that we don't get unused import warnings with newer
stackage, this both raises the protolude lower bound and removes
these imports.
2020-04-16 11:10:24 -05:00
Remo and GitHub
f6ce93f2c8
Add a script for running the test suite in a local temporary database. ( #1476 )
2020-04-14 12:34:50 -05:00
Remo and GitHub
8c35c9d711
Fix CI tests for Postgres 9.4 ( #1482 )
2020-04-14 11:00:43 -05:00
Wolfgang Walther and GitHub
be674eb41d
Fix POST, PATCH, DELETE with ?select= and empty body or return=minimal ( #1471 )
...
* add tests for POST, PATCH, DELETE when using ?select= with empty bodies or ret=min
* fix select with empty bodies and ret=min
* improved tests for default cases, fixed computed overloaded columns on empty-body?select= PATCH
2020-04-13 12:32:35 -05:00
steve-chavez
052843ac9b
Update BACKERS.md
2020-04-13 12:13:35 -05:00
Wolfgang Walther and GitHub
c524531784
Fix overloaded computed columns on RPC ( #1473 )
...
* fix some typos and spelling
* fix pg_source CTE name should be prefixed with pgrst_
* added tests for overloaded computed columns on patch calls
2020-04-06 14:04:55 -05:00
Wolfgang Walther and GitHub
82fa1d8812
add postgres-12 tests to circleci ( #1472 )
...
* circleci: new postgres docker containers need host auth trust
2020-04-06 11:00:26 -05:00
steve-chavez
2b61a63686
Bump to version v7.0.0
v7.0.0
2020-04-03 11:22:11 -05:00
steve-chavez
18e45659ea
Fix compiling on windows(unix socket issue)
...
Group unix socket functionality into its own module
2020-04-03 11:22:11 -05:00
steve-chavez
426637a47c
Fix circleci golang docker image
...
Upgrade golang otherwise ghr throws:
unrecognized import path "math/bits"
2020-04-03 11:22:11 -05:00
steve-chavez
9f5ab4a8ba
Add reference for filtering on json column
...
Fixes https://github.com/PostgREST/postgrest-docs/issues/266
2020-04-01 11:36:28 -05:00
fiatjaf and GitHub
b7ee8f1cf0
mention that JSON operators work for row filtering ( #314 )
2020-04-01 11:00:05 -05:00
Steve Chavez and GitHub
ababf7d4fa
Change docker image to support scram-sha-256 auth ( #1467 )
...
Debian stretch has a libpq < 10: https://packages.debian.org/stretch/libpq5 .
But buster has libpq >= 10 https://packages.debian.org/buster/libpq5 .
Fixes https://github.com/PostgREST/postgrest/issues/1443 .
2020-04-01 10:14:00 -05:00
691bb5640d
Allow multiple schemas to be exposed in one instance ( #1450 )
...
The schema to use can be selected through the headers `Accept-Profile` for GET/HEAD and `Content-Profile` for POST/PATCH/PUT/DELETE.
This is based on the https://www.w3.org/TR/dx-prof-conneg/ttps://www.w3.org/TR/dx-prof-conneg/ spec.
Also increase all memory tests by 1M(otherwise CI fails).
Co-authored-by: Mahmoud Kassem <MKassem@gk-software.com >
Co-authored-by: Mahmoud Kassem <mahmoud_k@mail.com >
2020-03-30 14:04:20 -05:00
Sam Khawase and GitHub
36c453d6de
Added the link to tutorial to configure and integrate Auth0 to PostgREST ( #312 )
2020-03-30 12:48:20 -05:00
Wolfgang Walther and GitHub
a80eb2ff0e
Add docker-compose file to run tests ( #1463 )
2020-03-24 09:50:06 -05:00
Duncan Ogilvie and GitHub
e23b7afa3c
Fix the 'Roles for Each Web User' example ( #313 )
...
Add missing `ALTER TABLE ... ENABLE ROW LEVEL SECURITY;`
2020-03-23 11:48:09 -05:00
Duncan Ogilvie and GitHub
fe59f9bedf
Improve command line help ( #1465 )
...
Make jwt-secret explicit about 32 characters minimum.
2020-03-21 18:44:08 -05:00
Patrik Keller and GitHub
334dda611c
Tutorial: Providing images for <img> ( #307 )
2020-03-17 12:59:40 -05:00
Steve Chavez and GitHub
0f8838623b
Fix empty headers being added on POST/PATCH/DELETE ( #1458 )
2020-03-13 11:02:38 -05:00
yang and GitHub
a343536539
Add type basic_auth.jwt_token. ( #308 )
...
Or the function login will show error.
2020-03-12 12:58:07 -05:00
Steve Chavez and GitHub
0d3dc8509c
Add sompani to production list ( #306 )
2020-03-12 10:39:15 -05:00
Robert and GitHub
5b5945e427
Update configurator-pg to 0.2.0 (better error messages) ( #1457 )
...
* Don't indent first line of configuration parser error messages
configurator-pg returns multi-line errors now. Alternatively,
we could indent all the lines.
2020-03-12 10:04:44 -05:00
Robert Vollmert and Steve Chavez
dea57bd1be
Raise lower bound for configurator-pg.
...
Building on GHC 8.8.3 requires the MonadFail instance that 0.1.0.6
provides.
2020-03-09 13:06:27 -05:00
Robert Vollmert and Steve Chavez
3e81a38438
Relax upper bounds for GHC 8.8.3 / stackage lts-15.3.
...
Specifically, allow base 4.13 which ships with GHC 8.8, as well
as several dependency updates including hasql-transaction 1.0,
swagger 2.5 and warp 3.3.
2020-03-09 13:06:27 -05:00