steve-chavez
a4f687fdfd
appveyor: specify windows image
2020-05-08 15:11:44 -05:00
Remo and GitHub
8dc16eef27
Documentation on how to run the test suite locally ( #316 )
...
Uses the `with_tmp_db` script added in https://github.com/PostgREST/postgrest/pull/1476 .
2020-05-06 11:41:14 -05:00
steve-chavez
b1a101c253
Update BACKERS.md
2020-05-04 12:17:52 -05:00
steve-chavez
622ff7b708
Note schema structure page is a work in progress
2020-05-04 11:46:54 -05:00
Nick Santos and steve-chavez
1315584de5
Fix link to DigitalOcean PostgREST Contact List video
...
Old playlist is gone - linked to first video in series instead
2020-05-04 11:43:14 -05:00
steve-chavez
10c363b588
Remove PUT restriction for all columns/single row
...
Fixes https://github.com/PostgREST/postgrest/issues/1452 .
The single row restriction can be lifted because the
PUT will consider only the first object of the array.
2020-05-02 11:51:32 -05:00
steve-chavez
9a52632024
Fix Content-Profile not working for POST RPC
...
Accept-Profile was applied instead.
Fixes https://github.com/PostgREST/postgrest/issues/1508 .
2020-05-02 11:51:32 -05:00
steve-chavez
f57caf0987
Readd openapi-server-proxy-uri config option
...
This option accidentaly got lost during a merge.
Fixes https://github.com/PostgREST/postgrest/issues/1500
2020-05-02 11:51:32 -05:00
Steve Phillips and Steve Chavez
b6c03f3658
api.rst: formatting tweaks
2020-04-30 17:20:48 -05:00
Remo and GitHub
f02904a959
Simplify the DbStructure queries ( #1478 )
...
* remove unused parts of the DbStructure queries
* explain magic numbers in DbStructure queries
* simplify primary keys query
2020-04-29 13:01:46 -05:00
Remo and GitHub
8b41b71db7
More consistent loading of the test fixtures ( #1506 )
...
Remove db setup from the Haskell test suite and include it in the test bash scripts.
2020-04-29 12:22:15 -05:00
Remo and GitHub
d4cf8e7abb
Hook the Nix styling scripts into CI ( #1504 )
2020-04-29 10:44:11 -05:00
Remo and GitHub
9134171b95
Fix the cachix push logic in CircleCI
...
Before pushing to cachix, check if the CACHIX_SIGNING_KEY env var is available.
2020-04-28 14:04:06 -05:00
Remo and GitHub
328c3453f8
Add tips and tricks to using nix-shell ( #1505 )
2020-04-28 12:45:29 -05:00
Robert Vollmert and Steve Chavez
bb27eb57a9
Allow base64-bytestring 1.2.
2020-04-28 11:06:05 -05:00
Remo and GitHub
dbc3aa28c4
Add scripts for linting and styling with all dependencies managed by Nix ( #1501 )
...
* Integrate the style and lint dependencies with Nix
* Add documentation on the nix styling scripts.
2020-04-27 15:04:50 -05:00
Remo and GitHub
ad92c207f2
Run the spec test suite from the nix build job ( #1503 )
...
* Add caching to the tests run in CI with Nix
2020-04-27 13:39:57 -05:00
Remo and Steve Chavez
dea6c5eb92
Remove ghc options from stack.yaml
...
They are redundant after being added to postgrest.cabal in #1489
2020-04-27 12:41:55 -05:00
Robert and GitHub
3baefa1d96
Relax dependencies to build with GHC 8.10 (base, swagger2) ( #1502 )
...
* Allow swagger 2.7.
* Allow base-4.14 (GHC 8.10).
2020-04-25 13:35:01 -05:00
Remo and GitHub
c0546e0e46
Basic CI integration for Nix builds ( #1495 )
...
* Skip pushing to cachix for pull requests from forks.
* Build PostgREST first in the nix CI job in order to fail fast
2020-04-25 13:08:30 -05:00
Remo and GitHub
d5f1d1b1ad
Pin version 0.3 of protolude in nix ( #1499 )
2020-04-24 12:09:56 -05:00
Remo and GitHub
1c19bbde93
Run tests against several PostgreSQL versions using Nix ( #1492 )
...
* Show test output with postgrest-test-spec* in nix-shell
* Test output in color
2020-04-24 11:05:37 -05:00
Robert Vollmert and Steve Chavez
3da5a2875e
Update to protolude 0.3.0
...
The good part is that protolude 0.3.0 builds with GHC 8.10.
The bad part is that this change is a bit painful:
- the default `toS` has changed to no longer convert to and from ByteString
- similarly, `show` no longer outputs ByteString
The changes here are pretty much minimal to keep things compiling; I didn't
see a nice way to work with the new ConvertText class, even though `toUtf8`
seems like it might help if used besides `toS` at just the right spots.
2020-04-23 14:14:21 -05:00
Remo and Steve Chavez
2e6a094d48
Disable nix pure by default in stack.yaml
2020-04-23 12:48:04 -05:00
Remo and Steve Chavez
178c5d54d5
Integrate stack in the nix-shell environment
2020-04-22 14:30:02 -05:00
Remo and GitHub
a7c396e464
Fix and improvements to with_tmp_db ( #1488 )
...
* Load fixtures in one psql session
* Add an option to keet the tmp directory and logs.
2020-04-22 11:57:40 -05:00
steve-chavez
469e01f77b
Add release page for v7.0.0
2020-04-21 15:16:21 -05:00
steve-chavez
3af6df743b
Reorder calling func with array
2020-04-21 15:16:21 -05:00
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