82 Commits
Author SHA1 Message Date
Joe NelsonandGitHub 1c54c7130a Another funding link 2019-08-14 14:05:12 -05:00
Joe NelsonandGitHub 05180f6539 Remove consulting prompt in issue template 2018-05-04 16:55:07 -05:00
Joe NelsonandGitHub 7b2ab948be Schema auto-reload instructions (#124) 2018-03-11 12:26:16 -05:00
Joe NelsonandGitHub e10599d065 Changes in 4.4 release (#121)
* Updated full-text search

* Calling RPC with GET

* Customizing HTTP status codes and headers

* Move the admin section to bottom of TOC

* Revise JWT signing section of tutorial

* Selecting pkeys in embedding no longer required
2018-01-18 10:48:34 -06:00
Joe NelsonandGitHub 804c0b7f6b Include git sha in version (#1022) 2017-12-08 00:29:44 -06:00
Joe NelsonandGitHub f93e2723e3 Add note that windows people need postgres on path (#117) 2017-11-25 22:00:55 -06:00
Joe NelsonandGitHub a3d87edda3 Explain how sql comments appear in the openapi output (#111) 2017-10-08 12:38:46 -05:00
Joe NelsonandGitHub 9598e3948d Show how to use a JWK literal in the config file (#110) 2017-10-07 19:59:30 -05:00
Joe NelsonandGitHub e7ddea0acf Document long jwt secrets as required (#109)
* Use long jwt secrets as required

* Fix spelling and adjust custom dictionary
2017-10-07 13:03:30 -05:00
Joe NelsonandGitHub 7bf384d0f8 Link to new docker hub repo (#995) 2017-10-03 11:04:51 -05:00
Joe NelsonandGitHub 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
Joe NelsonandGitHub 893b66c969 Merge pull request #964 from steve-chavez/tsquery-options
Allow specifying dictionary and plain/phrase in full text search
2017-09-09 10:17:02 -05:00
Joe NelsonandGitHub 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
Joe NelsonandGitHub 66ce8e8b18 Exp claim must be an int, not a string
Pointed out by @nileshtrivedi
2017-08-20 14:15:59 -05:00
Joe NelsonandGitHub d89937a6f3 Upgrade to fast new hasql (#836) 2017-08-10 01:54:15 -05:00
Joe NelsonandGitHub 9af539b51c Treat blank pre-request config as missing (#929) 2017-08-09 08:42:32 -05:00
Joe NelsonandGitHub 0ed4215a0d Support asymmetric JWK (#919) 2017-08-09 08:42:00 -05:00
Joe NelsonandGitHub 1513c88f77 Merge pull request #895 from steve-chavez/binary-proc
Binary output support for RPC
2017-07-07 22:34:06 -05:00
Joe NelsonandGitHub 7cc38330a8 Interpolate boolean env vars from conf file (#897) 2017-06-25 23:30:23 -05:00
Joe NelsonandGitHub 50de0536de Allow csv formatting in rpc output (#882) 2017-05-27 00:07:23 -05:00
Joe NelsonandGitHub 74227d3c2b Use env interpolation in config (#826) 2017-05-24 22:50:09 -05:00
Joe NelsonandGitHub f4d84e4b58 Fix deploy to heroku button for v0.4 (#863)
* Bring back the Heroku button!

* New params for updated buildpack
2017-04-19 19:12:58 -05:00
Joe NelsonandGitHub 3e7a8b5f85 Use union merge strategy on changelog (#859) 2017-04-08 10:36:02 -05:00
Joe NelsonandGitHub 56bdf59e14 Read only proc tx (#844) 2017-04-07 12:52:16 -05:00
Joe NelsonandJoe Nelson 8b170afe49 More extensions, example apps, client side libs (#45) 2017-03-13 09:51:52 -07:00
Joe NelsonandGitHub 2aabbbae58 Dockerfile that works with postgrest 0.4 (#810)
Also an example docker-compose
2017-02-17 23:43:35 -08:00
Joe NelsonandGitHub 84f68c68cb Public schema table embedding (#803)
* Alter fixture to test objects in public schema

Properly erase and restore the public schema -- requires permissions to install pgcrypto each time.

* Test for fks through public schema tables

* Thanks @fab1an
2017-02-12 16:32:15 -08:00
Joe NelsonandGitHub 9b407034a8 Bump version 2017-01-20 00:21:08 -08:00
Joe NelsonandGitHub 104a7ed4fa Use a mime type to request singular JSON responses (#763) 2017-01-16 15:11:37 -08:00
Joe NelsonandGitHub 6c009b71d3 Add constraint for vanilla cabal builds (#752) 2016-11-30 19:33:44 -08:00
Joe NelsonandGitHub 0f66e99f78 Merge pull request #745 from diogob/moves_request_error_handling_to_user_api_request
Moves request error handling to user api request
2016-11-30 09:17:56 -08:00
Joe NelsonandGitHub 4df853eff9 Take config path as first param, not flag
Include example config in usage message
2016-11-17 22:45:59 -08:00
Joe NelsonandGitHub c3822da2d2 Merge pull request #728 from steve-chavez/master
Fix fatal error on postgres unsupported version, also fix #577 format…
2016-10-31 23:06:02 -07:00
Joe NelsonandGitHub 0fa072d04c Merge pull request #726 from phanimahesh/nix-integration
add nix.packages to stack.yaml
2016-10-30 22:21:13 -07:00
Joe NelsonandGitHub 6dba37be47 Merge pull request #729 from jhr007/master
Update Contributing.md "Build from source link"
2016-10-29 22:57:32 -07:00
Joe NelsonandGitHub d78ef56314 Merge pull request #725 from begriffs/count-star
count(*) is faster than count(1)
2016-10-26 22:09:43 -07:00
Joe NelsonandGitHub fbf345fc68 Fix hyphenation 2016-10-24 10:07:28 -07:00
Joe NelsonandGitHub 09b63eafad Update readme (#723) 2016-10-23 20:24:22 -07:00
Joe NelsonandGitHub 9233d90075 Read settings from config file (#714) 2016-10-20 08:34:57 -07:00
Joe NelsonandGitHub 74e68408e6 Bring packages up to date (#722)
* Bring packages up to date

* New LTS includes deps now

Use stack to select most versions

* Alphabetize packages

* Strip down packages

Switch tests to protolude

* Appease cabal check with base version constraint
2016-10-19 22:25:58 -07:00
Joe NelsonandGitHub 726b2b9d18 Merge pull request #721 from begriffs/prune-repo
Remove things to lighten support burden
2016-10-19 20:44:34 -07:00
Joe NelsonandGitHub 0c0396d0d4 Merge pull request #720 from begriffs/claim-sql-name
Set request.jwt.claim.*
2016-10-18 08:24:18 -07:00
Joe NelsonandGitHub dcb3b6ed4d Merge pull request #712 from ruslantalpa/merge_upstream
fix relation detection bug and allow offset on lower levels
2016-10-11 23:32:46 -07:00
Joe NelsonandGitHub 980680f3d6 Merge pull request #711 from steve-chavez/master
Allow using nulls order without explicit order direction, fix #552
2016-10-04 20:00:34 -07:00
Joe NelsonandGitHub 9b7685e5d1 Merge pull request #703 from begriffs/jwt
Big bag of JWT fixes for accumulated issues
2016-10-03 10:40:06 -07:00
Joe NelsonandGitHub 35da4809d4 Merge pull request #706 from begriffs/func-descriptions
Include RPC endpoints in OpenAPI output
2016-09-24 20:38:42 -07:00
Joe NelsonandGitHub f3b79bcc40 Use table alias unlikely to conflict with a column name (#705) 2016-09-08 08:16:47 -07:00
Joe NelsonandGitHub af75988dd4 No count by default (#700)
* WIP: disable counting total table size by default

* Remove commented tests since PUT is no longer supported

* Fix tests for invalid range which require count

* Do not report count in PATCH response if not asked

* Return count of deleted items only if asked

* Return count for bulk insert when requested

* Changelog entry
2016-09-04 10:31:24 -07:00
Joe NelsonandGitHub 7278507c42 Use comma rather than semicolon to split header values (#698) 2016-08-21 15:26:00 -07:00
Joe NelsonandGitHub 1d5a0e4316 Per-route content negotiation, and OpenAPI only for root (#693)
* WIP: remove non-openapi root spec

* Refactor ContentType

Different endpoints will favor one type over another

* Permit different Accept headers per endpoint

* Lint

* Add charset to Content-Type only when used as a header

Keep it out of error messages

* Accept: */* is last resort, not first

* Changelog

* makeMimeList consistently

* Remove schema description from OPTIONS response
2016-08-19 16:07:22 -07:00
Joe NelsonandGitHub d93d07795b Merge pull request #675 from begriffs/bump-hjsonschema
Use real version of hjsonschema
2016-07-18 12:19:22 -07:00
Joe NelsonandGitHub b6e100096d Merge pull request #672 from begriffs/cache-warning
Add schema cache freshness warning
2016-07-16 17:04:15 -07:00
Joe NelsonandGitHub b5d720e091 Merge pull request #649 from hudayou/proxy-awareness
Add proxy awareness for OpenAPI spec generation
2016-07-07 08:25:30 -07:00
Joe NelsonandGitHub 2b1ca9f5b7 Merge pull request #662 from begriffs/raise-400
Translate raise_exception to http 400
2016-07-07 08:15:26 -07:00
Joe NelsonandGitHub 63046baffd Merge pull request #620 from ruslantalpa/rpc_refactor
Rpc refactor
2016-07-06 20:51:05 -07:00
Joe NelsonandGitHub d102d954ac Merge pull request #657 from diogob/protolude-first-fugues
Protolude first fugues
2016-06-30 08:27:58 -07:00
Joe NelsonandGitHub f7aa8b7ad5 Merge pull request #656 from diogob/simplify-pTreePath
Remove unnecessary string conversions
2016-06-29 20:37:15 -07:00
Joe NelsonandGitHub 67668a02c2 Merge pull request #653 from bgamari/master
Add version bounds on http-types
2016-06-26 09:47:12 -07:00
Joe NelsonandGitHub da97bb84e3 Merge pull request #651 from begriffs/upgrade-hasql-transaction
Upgrade hasql-transaction
2016-06-25 21:49:57 -07:00
Joe NelsonandGitHub 9106f70cfa Merge pull request #650 from begriffs/split-docs
Move docs out of this repo
2016-06-24 14:54:16 -07:00
Joe NelsonandGitHub acd75a3997 Merge pull request #639 from hudayou/swagger2
Provide a swagger2 spec for the dynamic API
2016-06-20 15:12:58 -07:00
Joe NelsonandGitHub 455f086880 Remove unix dependency for tests (#636) 2016-06-10 22:35:29 -07:00
Joe NelsonandGitHub 42110643a3 Use newer deps for GHC 8 compatibility (#619) 2016-06-09 18:50:13 -07:00
Joe Nelson e315dbc91e Include allow header in options response (#628) 2016-06-08 23:12:29 -07:00
Joe Nelson e272c2ed08 Merge pull request #626 from edofic/update-operator-docs
Update operator documentation
2016-06-03 23:26:09 -07:00
Joe Nelson 02c6de4144 Merge pull request #618 from begriffs/post-empty-obj
Use table defaults for empty object insert
2016-06-02 08:46:47 -07:00
Joe Nelson c0c1a260ba Merge pull request #625 from ruslantalpa/return_data_on_delete
Implement select/return representation for DELETE queries (fix #518)
2016-06-02 08:38:46 -07:00
Joe Nelson 24dd4e8626 Merge pull request #608 from ruslantalpa/multilevel_limit
Limit embeded items
2016-05-31 07:57:16 -07:00
Joe Nelson e76de196e0 Merge pull request #604 from begriffs/less-frequent-gc
Run GC every 2s rather than 0.3s
2016-05-25 23:29:20 -07:00
Joe Nelson b7331135a6 Merge pull request #607 from league/urlencode-location
Simplify serialization of location header
2016-05-25 20:53:41 -07:00
Joe Nelson 4f53aef74f Merge pull request #606 from begriffs/newdeps 2016-05-22 11:36:15 -07:00
Joe Nelson c7d863c998 Merge pull request #605 from diogob/microlens
Replace lens dependency for microlens
2016-05-21 11:48:07 -07:00
Joe Nelson a87dcd5553 Merge pull request #603 from diogob/refactor-jwtClaims
jwtClaims should always return Left for invalid JWT
2016-05-21 11:14:57 -07:00
Joe Nelson 592dd39222 Merge pull request #602 from ruslantalpa/order_limit_embeded
Ability to order embedded items (closes #509)
2016-05-21 11:08:24 -07:00
Joe Nelson 6a2edb2844 Merge pull request #595 from league/master
URL-encode Location header in 201 response (#588)
2016-05-21 09:52:09 -07:00
Joe Nelson 2cb04c1d5c Merge pull request #597 from league/avoid-recompile
Tweak .cabal to avoid unneeded recompilation
2016-05-18 09:05:13 -07:00
Joe Nelson a21464ddca Merge pull request #592 from begriffs/form-urlencoded
Accept POST requests from HTML forms
2016-05-18 00:38:42 -07:00
Joe Nelson cf16f90fab Merge pull request #590 from begriffs/proper-403
Return proper 401/403 when access denied
2016-05-17 22:56:55 -07:00
Joe Nelson 36a6b10d0d Merge pull request #594 from ruslantalpa/multiple_fks
Fix include entities from the same parent table using two different foreign keys
2016-05-17 22:54:12 -07:00
Joe Nelson 0dbd0ece9a Merge pull request #586 from ruslantalpa/rename_order_limit_feature
Ability to rename columns/nodes in the output and support "-" in column names
2016-05-15 00:55:12 -07:00
Joe Nelson d9205bd838 Do not include Content-Type header for empty body (#580)
* Do not include Content-Type header for empty body

Fixes #544

* Fix lint

* Changelog
2016-05-03 21:18:23 -07:00
Joe Nelson 88aad4b1b6 Reload schema definition on SIGHUP (#570) 2016-04-26 07:50:23 -07:00