Commit graph

2429 commits

Author SHA1 Message Date
Oleg Grenrus
4ae8b1898f Merge pull request #740 from stevana/client/include-request-in-failure-response
Include the request that failed in FailureResponse.
2017-05-15 12:32:45 +03:00
Oleg Grenrus
018a38cc93 Merge pull request #696 from edsko/pr/escape-capture
Make sure path components get escaped
2017-05-14 21:01:53 +03:00
Oleg Grenrus
54c3053342 Escape segments in linkURI 2017-05-14 20:42:10 +03:00
Oleg Grenrus
2cfcff4c7f Merge pull request #745 from phadej/issue-715
Resolve #715: Add linkUri'
2017-05-14 20:38:40 +03:00
Oleg Grenrus
4ed6e72110 Merge pull request #744 from phadej/http-api-data-0.3.6
Bump lower bound for http-api-data
2017-05-14 20:36:00 +03:00
Oleg Grenrus
590c4cb25c Bump lower bound for http-api-data 2017-05-14 20:16:38 +03:00
Oleg Grenrus
da1c3f1e7a Add doctests 2017-05-14 20:15:12 +03:00
Oleg Grenrus
abb48a2713 Resolve #715: Add linkUri' 2017-05-14 19:53:52 +03:00
Oleg Grenrus
57696dcd6f Merge pull request #671 from reactormonk/typeerror
TypeError annotations for AllCTRender
2017-05-14 19:38:46 +03:00
Oleg Grenrus
27facba0e8 Trim trailing whitespace 2017-05-14 19:26:25 +03:00
Simon Hafner
bbc872e154 Fixed unticked-promoted-constructors 2017-05-14 16:26:25 +02:00
Simon Hafner
35e3fd6e81 No stack bump 2017-05-14 16:26:18 +02:00
Oleg Grenrus
4eabab7e44 Merge pull request #716 from zohl/fix-minor-typos
fix minor typos
2017-05-14 16:10:07 +03:00
Oleg Grenrus
40588d584c Merge pull request #725 from ivan-m/patch-1
Import correct Servant module in doc README
2017-05-14 16:03:02 +03:00
Stevan Andjelkovic
29c9d85ade Use BaseUrl and Req instead of Request. 2017-05-05 17:05:55 +02:00
Stevan Andjelkovic
bf9c84eccb Two failed responses can be equal even though they don't come from
the same request.
2017-05-05 15:55:21 +02:00
Stevan Andjelkovic
b8de9c8527 Include the request that failed in FailureResponse. 2017-05-05 15:31:38 +02:00
Oleg Grenrus
c84e650495 Merge pull request #739 from endgame/738-missing-error-codes
Servant.Server: Re-export missing error codes
2017-05-05 11:47:40 +03:00
Jack Kelly
f52bd11d6b Servant.Server: Re-export missing error codes 2017-05-05 18:39:01 +10:00
Oleg Grenrus
7e5eca3d1c Merge pull request #727 from declension/606-fix-client-documentation
Improve Client docs
2017-05-05 10:19:02 +03:00
Oleg Grenrus
d0048057cd Merge pull request #736 from phadej/entered
Redo Enter
2017-05-05 10:17:34 +03:00
Oleg Grenrus
f26a2d10c5 Merge pull request #724 from Philonous/header-parsing
Throw 400 on header parse failure
2017-05-05 10:17:18 +03:00
Oleg Grenrus
8aef5f67d7 Merge pull request #737 from phadej/generics-sop-0.3
Allow generics-sop-0.3
2017-04-29 16:07:02 +03:00
Oleg Grenrus
f4b6144a11 Allow generics-sop-0.3 2017-04-29 15:39:25 +03:00
Oleg Grenrus
c01dca6d27 Parens 2017-04-28 14:55:13 +03:00
Oleg Grenrus
e2665391f9 Redo Enter 2017-04-28 14:31:57 +03:00
Oleg Grenrus
832b359380 Merge pull request #730 from phadej/aeson-1.2
Allow aeson-1.2
2017-04-23 22:18:08 +03:00
Oleg Grenrus
df0755c557 Workaround TypeError doctest failures 2017-04-23 21:41:39 +03:00
Oleg Grenrus
c5cd6a2172 Allow semigroupoids-5.2 2017-04-23 21:02:51 +03:00
Oleg Grenrus
e49d491164 Allow aeson-1.2 2017-04-17 21:35:20 +03:00
Nick B
fa422bb298 Docs: Updated wording as per PR comments. 2017-04-11 08:34:57 +01:00
Nick B
45a7bb1b73 Improve Client docs
* Use suggestion in #606 to document pattern matching client behaviour better
 * Helpful suggestion of reading in order in the index
 * A couple of extra internal links
 * Fox some typos / punctuation.

Fixes #606
2017-04-07 21:02:57 +01:00
Ivan Lazar Miljenovic
16a45e0d0f Import correct Servant module in README 2017-04-07 10:33:22 +10:00
Philipp Balzarek
b3c1f95636 update CHANGELOG.md 2017-04-06 14:53:01 +02:00
Philipp Balzarek
08786aadbe Check for parse errors in HasServer Header instance 2017-04-06 14:52:55 +02:00
Oleg Grenrus
86ad89b15c Merge pull request #722 from RyanGlScott/master
Make servant-foreign build on GHC 8.2
2017-04-01 22:14:47 +03:00
Ryan Scott
ec4573d988 Make servant-foreign build on GHC 8.2 2017-04-01 13:56:08 -04:00
Alp Mestanogullari
f05b394261 Merge pull request #720 from mschristiansen/master
Add HasLink instance for AuthProtect.
2017-03-28 11:53:52 +02:00
Mikkel Christiansen
6dd473d980 Add HasLink instance for AuthProtect. 2017-03-27 21:52:29 +02:00
Al Zohali
b806339200 fix minor typos 2017-03-19 23:49:52 +03:00
Oleg Grenrus
b0dbd79a06 Merge pull request #709 from declension/359-upgrade-pygments
Use newer release of Pygments
2017-03-13 15:59:50 +02:00
Nick B
3115b57145 Use newer release of Pygments
* Includes [Haskell types fix by @teh](https://bitbucket.org/birkenfeld/pygments-main/pull-requests/685/two-haskell-fixes/diff)
 * Local docs build then exhibit proper Haskell highlighting including type literals etc

 Fixes #359
2017-03-11 14:53:48 +00:00
Oleg Grenrus
be723b85bc Merge pull request #702 from cotrone/master
Fix logWriterTLNat documentation typo
2017-02-15 19:30:49 +02:00
Kevin Cotrone
1ddda2ff75 Fix logWriterTLNat documentation typo 2017-02-15 11:19:35 -06:00
Edsko de Vries
507f021919 Make sure path components get escaped
The derived client for an API containing `Capture` has a bug: it does not
escape characters, so that if the string is "a/b", the URL becomes
`".../a/b/..."` instead of `".../a%2Fb/..."`, causing the corresponding servant
server to return a 404.

This relies on https://github.com/fizruk/http-api-data/pull/47
2017-02-07 16:51:56 +01:00
Oleg Grenrus
8a3ecb2ebc Classify changelog into breaking and other changes 2017-02-01 09:06:30 +02:00
Oleg Grenrus
736918a694 Tweaks for 0.10 (#694)
* Add Servant category to in-repo packages

* Add version table
2017-01-30 19:12:39 +02:00
Oleg Grenrus
29f94a6440 Briefly correct ExceptT mentions into Handler (#693) 2017-01-30 15:45:13 +02:00
Oleg Grenrus
2fd97570f0 Update changelog for 0.10 (#691) 2017-01-30 08:45:58 +02:00
Christian Takle
cdda7bcf8d Make type consistent with whats written on line 20 (#688)
Make type consistent with whats written on line 20
2017-01-29 20:59:41 +02:00