steve-chavez
d9a608d9b0
Add warn log level
2020-10-06 14:21:46 -05:00
steve-chavez
f6b6abe734
Add error log level
2020-10-06 14:21:46 -05:00
steve-chavez
e9efcc70a5
Add log-level config
2020-10-06 14:21:46 -05:00
Robert Vollmert and Steve Chavez
60398ad538
Allow wai-middleware-static 0.9
...
- Only serve static files on HEAD or GET requests.
2020-10-06 12:45:40 -05:00
Remo Rechkemmer and Steve Chavez
741f017a17
Use Postgres 13 in tests/docker-compose.yml
2020-10-05 13:47:53 -05:00
monacoremo and Steve Chavez
e4e84e5714
Upgrade nixpkgs and add Postgres 13 support
2020-10-05 13:47:53 -05:00
Wolfgang Walther and Steve Chavez
d395bb6052
Fix error messages on connection failure for postgres on localized Windows
2020-10-03 10:11:41 -05:00
Gergely Mészáros and steve-chavez
32173bed4d
Missing library dependency
...
Without zlib1g-dev the build process fails.
2020-09-28 10:10:34 -05:00
Felix Yan and GitHub
17f04a886e
Allow hspec-wai/hspec-wai-json 0.11 ( #1595 )
2020-09-27 16:04:47 -05:00
Robert Vollmert and Steve Chavez
807dae1768
Allow wai-extra 3.1
2020-09-22 11:45:58 -05:00
Severin Ibarluzea and steve-chavez
57200320c3
add postgrest-vercel and postgrest-node
2020-09-21 11:27:11 -05:00
7af54c5813
Upgrade nixpkgs to current master and add an upgrade checklist ( #1579 )
...
* simplify haskell packages overrides based on new nixpkgs
* update Nix gitignore
* simplify Haskell packages overlay
Co-authored-by: monacoremo <monacoremo>
2020-09-09 19:08:16 -05:00
Saltuk Alakus and GitHub
089895ac27
Improvements for Auth0 documentation. ( #350 )
...
Update for Auth0 integration with the OIDC flow using APIs
2020-08-26 19:23:54 -05:00
Vikas Prasad and steve-chavez
5b59e79dc9
Mention --install-ghc flag is needed only for the first time. ( #347 )
2020-08-20 14:23:14 -05:00
Geoffrey van Wyk and steve-chavez
92f76722cc
Fix order of options in tar command ( #345 )
...
With the current order, the tar command thinks the name of the archive is J.
This happens on Windows 10 WSL2 with tar 1.29.
2020-08-20 13:50:30 -05:00
Sam Khawase and Steve Chavez
47bd27badb
Updated the link to the blog post for PostgREST + Auth0 tutorial
2020-08-17 20:45:21 -05:00
Robert Vollmert and Steve Chavez
bd2160db26
Make cabals bound more consistent
...
Specifically, allow point-updates to hasql-notifications, and
give a reasonable lower bound for network (the version that comess
with GHC 8.0 on stackage).
2020-08-14 21:12:58 -05:00
Robert Vollmert and Steve Chavez
a3f4548a81
Allow base64-bytestring 1.2 and optparse-applicative 0.16
2020-08-14 21:12:58 -05:00
Wolfgang Walther and GitHub
49bc82bfca
Clarify function volatility and location header ( #339 )
...
* clarify location header only available with PK
* clarify function volatility and GET/POST
* improve stable/immutable for post and get
* add 405 for read only transaction error
2020-08-13 10:29:32 -05:00
Aleš Najmann and GitHub
c7e623549d
Add Windows installation using Scoop to install page ( #342 )
2020-08-04 12:02:44 -05:00
vbalasu and steve-chavez
7f67cf78e7
Update ecosystem.rst ( #341 )
...
Added pg-notify-webook
2020-07-28 11:31:59 -05:00
Tad Lispy and GitHub
5811682025
Fix #334 : Alter default privileges ( #338 )
...
* Suggest granting execute on all functions in schema api
* Suggest to permanently alter default privileges on functions
2020-07-17 11:36:45 -05:00
Wolfgang Walther and GitHub
8e4687fb53
Return 405 Method not Allowed for GET of volatile RPC instead of 500 ( #1560 )
2020-07-16 16:05:57 -05:00
Steve Chavez and GitHub
189847927e
Schema cache reload with zero downtime ( #1559 )
...
* Improve error messages and comments
* Reorder Main.hs functions
2020-07-16 13:39:25 -05:00
Wolfgang Walther and GitHub
6b2767d35c
Additionally allow "bearer" instead of only "Bearer" in Authorization… ( #1558 )
2020-07-16 12:09:40 -05:00
Remo and Steve Chavez
1f6a824dfb
Bump nixpkgs pin to unstable as of 2020-07-13
2020-07-13 18:47:45 -05:00
steve-chavez
e8b4e3771c
Allow config file reloading with SIGUSR2
...
* move config validation to Config.hs
* Add tests for jwt-secret/app.settings.*/db-schema reload
2020-07-13 11:30:16 -05:00
steve-chavez
e272ea47be
refactor: move logStdout/corsPolicy to Middleware
...
* remove configQuiet from Config
configQuiet was not an end user setting.
The logging setup is now an internal parameter.
* move proxy uri validation to Private dir
2020-07-13 11:30:16 -05:00
steve-chavez
0ff05edd16
refactor: move parseSecret out of App.postgrest
...
parseSecret only needs to be computed once, after the config is read.
2020-07-13 11:30:16 -05:00
steve-chavez
96a16a377f
refactor: move loadDbUriFile/SecretFile to Config
...
* make schema cacher filler use Appconfig
* change configRoleClaimKey to Either Text JSPath
2020-07-13 11:30:16 -05:00
steve-chavez
896b79f05b
refactor: separate reading file from parsing it
2020-07-13 11:30:16 -05:00
Teemu Sirviö and Steve Chavez
4c92fc7bca
Update links to pg-safeupdate
...
Change broken links to Bitbucket to GitHub.
2020-07-09 11:28:10 -05:00
Wolfgang Walther and GitHub
343e41c51d
Location header improvements( #1475 )
...
* Create location header only on primary key columns, closes https://github.com/PostgREST/postgrest/issues/1461
* Return location header when pk columns not selected, fixes https://github.com/PostgREST/postgrest/issues/1162
2020-07-08 14:36:40 -05:00
steve-chavez
55b4f4fbe7
Fix expired JWTs starting an empty transaction
...
Fixes https://github.com/PostgREST/postgrest/issues/1094 .
Expired JWTs were doing an empty BEGIN/COMMIT in the db.
2020-07-03 17:23:10 -05:00
Wolfgang Walther and Steve Chavez
a5bc293372
add test cases for singular minimal
2020-07-03 13:54:39 -05:00
steve-chavez
c518585259
Add FreeBSD port to install page
2020-06-28 13:46:39 -05:00
Steve Chavez and GitHub
43d71e95ac
Allow schema cache reloading with NOTIFY ( #1542 )
...
Fixes https://github.com/PostgREST/postgrest/issues/1512
Helps on environments where you can't send unix signals(Windows, managed
containers). Also provides better UX for schema reloads - NOTIFY
can be sent from pg clients(psql, pgadmin).
`NOTIFY pgrst` - with no payload - should be done to reload the schema cache.
Notifications with a payload will be ignored.
The channel can be enabled with `db-channel-enabled`(false by default)
and its name can be configured with `db-channel`.
The LISTEN thread uses a dedicated pg connection.
This connection is recovered if it fails.
A debounce of 1ms is done in case too many NOTIFYs arrive.
2020-06-24 19:00:02 -05:00
steve-chavez
7e3c14a71a
Update community tutorials
...
- Description to keycloak tutorial
- Correct gisops tutorial link
2020-06-16 13:52:43 -05:00
Mathieu Passenaud and steve-chavez
864a1440be
added https://www.mathieupassenaud.fr/codeless_backend/ tutorial
2020-06-16 13:43:45 -05:00
Andrew Hall and Steve Chavez
702df3218d
add redux-postgrest to client-side libraries
...
As per https://github.com/andytango/redux-postgrest/issues/7
2020-06-12 19:41:54 -05:00
Bobbie Soedirgo and Steve Chavez
78bd10acc9
Add supabase/postgrest-rs client library
2020-06-11 08:54:47 -05:00
steve-chavez
94441c70c0
Add upcoming page
2020-06-05 14:35:45 -05:00
steve-chavez
24064f8626
github: CHANGELOG reminder in PR template
2020-06-05 13:57:47 -05:00
steve-chavez
8588a42aa9
Fix broken links in .github dir
...
Also add a PR template
2020-06-05 13:40:03 -05:00
Steve Chavez and GitHub
a869734140
reference: Add response.status GUC ( #329 )
...
Related to https://github.com/PostgREST/postgrest/pull/1541
2020-06-05 13:01:52 -05:00
Steve Chavez and GitHub
0f0d617951
Allow http status override through response.status guc ( #1541 )
...
Fixes https://github.com/PostgREST/postgrest/issues/1525
2020-06-05 13:01:36 -05:00
Remo Rechkemmer and GitHub
69b09e312a
Nixify io and memory tests ( #1538 )
...
* Include tests for io and memory in the Nix environment.
* include spec tests in nix-shell by default
* install the io and memory tests in CI
2020-05-28 12:45:14 -05:00
waltherjj and Steve Chavez
ff8fd648bb
Add new JS (Vue) client to /ecosystem
...
Hey! We developed a Vue.js library, happy to be part of this. Thank you for postgREST!
2020-05-27 12:54:16 -05:00
Oskar Oldorf and GitHub
f03be6d2d0
Fix typo ( #325 )
2020-05-27 12:36:16 -05:00
Felix Yan and GitHub
784ebe57d7
Allow aeson 1.5 ( #1537 )
2020-05-26 10:43:14 -05:00