Diogo Biazus and Joe Nelson
df6cbc4afa
Protolude second movement ( #677 )
...
* Replace Prelude import for Protolude in middleware
* Remove qualifier from Text type
* Replace Prelude for Protolude, replace 'cs' for 'toS' calls, also change some name bindings
* Replace Prelude in main for Protolude. Replace error calls for panic calls. Also replace cs for toS
* Replace Prelude for Protolude
* Replace Prelude for Protolude in OpenAPI
2016-07-23 12:20:36 -07:00
Joe Nelson and GitHub
d93d07795b
Merge pull request #675 from begriffs/bump-hjsonschema
...
Use real version of hjsonschema
2016-07-18 12:19:22 -07:00
Joe Nelson
c98450d1d5
Use real version of hjsonschema
...
Its raw commit on github no longer exists
2016-07-18 11:37:38 -07:00
Joe Nelson and GitHub
b6e100096d
Merge pull request #672 from begriffs/cache-warning
...
Add schema cache freshness warning
2016-07-16 17:04:15 -07:00
Joe Nelson
338c4de8b4
Add schema cache freshness warning
2016-07-11 16:46:39 -07:00
Joe Nelson and GitHub
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 Nelson and GitHub
2b1ca9f5b7
Merge pull request #662 from begriffs/raise-400
...
Translate raise_exception to http 400
2016-07-07 08:15:26 -07:00
Jacky Hu
1fef1991ef
Add proxy awareness for OpenAPI spec generation
...
Proxy uri from command line options takes precedence over host and port
2016-07-07 19:20:40 +08:00
Joe Nelson
e4cf1ce207
Translate raise_exception to http 400
...
Fixes #661
2016-07-06 21:48:32 -07:00
Joe Nelson and GitHub
63046baffd
Merge pull request #620 from ruslantalpa/rpc_refactor
...
Rpc refactor
2016-07-06 20:51:05 -07:00
Joe Nelson and GitHub
d102d954ac
Merge pull request #657 from diogob/protolude-first-fugues
...
Protolude first fugues
2016-06-30 08:27:58 -07:00
Diogo Biazus
578ae6b5dd
Import GHC.Show without qualifying it
2016-06-30 08:35:42 -04:00
Joe Nelson and GitHub
f7aa8b7ad5
Merge pull request #656 from diogob/simplify-pTreePath
...
Remove unnecessary string conversions
2016-06-29 20:37:15 -07:00
Diogo Biazus
7b9eb86fd0
Stop running openpi test until we figure out a way to run it in circle without a suite timeout
2016-06-29 10:14:38 -04:00
Diogo Biazus
b17fa09393
Add explicit import Prelude to remaining modules to compile and run specs
2016-06-29 09:26:47 -04:00
Diogo Biazus
0e172b8030
Port Auth to prolude
2016-06-29 09:25:57 -04:00
Diogo Biazus
3308012dcf
Add protolude to dependencies, include NoImplicitPrelude in default extensions and port Error module to protolude.
2016-06-29 09:25:57 -04:00
Diogo Biazus
376b67be9e
Remove unnecessary string conversions
2016-06-29 00:18:29 -04:00
Ruslan Talpa
72aa664b61
CHANGELOG
2016-06-28 12:20:53 +03:00
Ruslan Talpa
1372de6f43
query simplification by @diogob
2016-06-28 12:18:12 +03:00
Ruslan Talpa
430baf23b9
embed entities to the results returned by procs
2016-06-28 12:09:58 +03:00
Ruslan Talpa
2f166088c8
response shaping and filtering for rpc proc calls
2016-06-28 12:09:58 +03:00
Ruslan Talpa
744bbf7203
cache the names of functions returning JWT and avoid extra query on each rpc call
2016-06-28 12:09:58 +03:00
Ruslan Talpa
a253ff325d
don't check if proc exists, just call it and return 400 if it does not
2016-06-28 12:09:57 +03:00
Joe Nelson and GitHub
67668a02c2
Merge pull request #653 from bgamari/master
...
Add version bounds on http-types
2016-06-26 09:47:12 -07:00
Ben Gamari
cd27e9dcde
Add version bounds on http-types
...
Postgresst uses hAllow, which was only added in 0.9.
2016-06-26 06:02:30 -04:00
Joe Nelson and GitHub
da97bb84e3
Merge pull request #651 from begriffs/upgrade-hasql-transaction
...
Upgrade hasql-transaction
2016-06-25 21:49:57 -07:00
Joe Nelson
0bf4146633
Speed up build time on CI
2016-06-25 21:35:40 -07:00
Joe Nelson
9c42a78cf3
Upgrade hasql-transaction
2016-06-25 21:24:21 -07:00
Joe Nelson and GitHub
9106f70cfa
Merge pull request #650 from begriffs/split-docs
...
Move docs out of this repo
2016-06-24 14:54:16 -07:00
Joe Nelson
99d9984111
Move docs out of this repo
...
They live in a separate repo now
2016-06-24 13:05:27 -07:00
Joe Nelson and GitHub
acd75a3997
Merge pull request #639 from hudayou/swagger2
...
Provide a swagger2 spec for the dynamic API
2016-06-20 15:12:58 -07:00
Martin Gammelsæter and Joe Nelson
46b3ce5631
Name custom types and domains on OPTIONS requests ( #640 )
2016-06-20 09:49:52 -07:00
Jacky Hu
e571cb9fcb
Ability to set addresses to listen on
...
Fixes #461
2016-06-18 10:46:02 +08:00
Jacky Hu
c1764c4976
Update changelog
2016-06-18 10:18:43 +08:00
Jacky Hu
86e81c135e
Use hjsonschema from the develop branch
2016-06-18 10:18:43 +08:00
Jacky Hu
1a25bb501f
Add 415 test for openapi req on none root path
2016-06-18 10:18:43 +08:00
Jacky Hu
a9ffde4d5f
Fix the invalid order parameter bug found by test
2016-06-18 10:18:43 +08:00
Jacky Hu
0220040341
Add test to validate openapi spec
2016-06-18 10:18:43 +08:00
Jacky Hu
11aeb4fbda
Add all supported successful responses
2016-06-18 10:18:43 +08:00
Jacky Hu
d3d1fbe7e5
Return HTTP 415 on non root path for openapi req
2016-06-18 10:18:43 +08:00
Jacky Hu
816d577f53
Add undocumented "return=none" preference
2016-06-18 10:18:43 +08:00
Jacky Hu
a7316aff01
Add a changelog entry
2016-06-18 10:18:43 +08:00
Jacky Hu
e88a0577e5
Avoid repeating mime types
2016-06-18 10:18:43 +08:00
Jacky Hu
c10bde8d65
Add a simple test for openapi
2016-06-18 10:18:43 +08:00
Jacky Hu
0be5f5299f
Reponse with the correct header for openapi
2016-06-18 10:18:43 +08:00
Jacky Hu
fd0b354cd0
Remove redundant consumes property for get operation
2016-06-18 10:18:43 +08:00
Jacky Hu
733b2cc05b
Move around encodeFn and realted helpers
2016-06-18 10:18:43 +08:00
Jacky Hu
077bb5a434
Verbose parse error for OpenAPI
2016-06-18 10:18:43 +08:00
Jacky Hu
d1ed884a8d
Introduce the OpenAPI header
...
Also bring back the original behavior of GET "/"
2016-06-18 10:18:43 +08:00