Commit graph

211 commits

Author SHA1 Message Date
Julian Arni
e45beddd35 Merge pull request #26 from haskell-servant/wip-allow-bodies-for-links
Fix a HasLink instance, also fix float text handling/tests.
2015-03-17 09:48:53 +01:00
Christian Marie
7d91e50fc7 Correct ReqBody instance for link generation. Was partially applied 2015-03-17 12:10:24 +11:00
Christian Marie
47a30c6411 Make fromText of Float more accurate, relax accuracy for Float and Double tests 2015-03-17 12:08:47 +11:00
Alp Mestanogullari
3311cbd901 Merge pull request #23 from haskell-servant/canonical-types
Add the `Canonicalize` type family to reduce API types to their canonical forms before proceeding in the other packages
2015-03-11 12:17:10 +01:00
Alp Mestanogullari
7a83952bad some more documentation, code cleanup + changelog entry 2015-03-11 11:46:35 +01:00
Alp Mestanogullari
6909b54367 add a clause to Canonicalize for (a :<|> b) :> c with the obvious definition 2015-03-10 12:08:17 +01:00
Alp Mestanogullari
6af9b9e70f add 'canonicalize' to canonicalize the api type under a Proxy 2015-03-09 19:23:26 +01:00
Alp Mestanogullari
73914586b1 add the Canonicalize type family which turns an API type into its canonical form 2015-03-09 13:39:40 +01:00
Alp Mestanogullari
13dcf081a7 tentative CHANGELOG 2015-03-04 01:47:47 +01:00
Christian Marie
cf1a7aeb9c Merge pull request #21 from anchor/expose-form-urlencoded
Expose FormUrlEncoded through Servant.API
2015-03-04 09:17:58 +11:00
Timo von Holtz
07cd4f65d6 Expose FormUrlEncoded through Servant.API 2015-03-04 09:04:21 +11:00
Julian Arni
4602225f60 Merge pull request #19 from haskell-servant/jkarni/integrate-doctests
Cleanup, including:
2015-03-02 15:27:14 +01:00
Julian K. Arni
635902e592 Cleanup, including:
- Integrated doctests into cabal
        - Doctest more of the documentation
        - Remove the (:>) constructor
        - Give kind signatures to Symbols
        - Make all constructors typeable
        - Use stylish-haskell for consistency of styling
        - Cleanup documentation
        - Remove old TODO.md
2015-02-25 23:10:29 +01:00
Julian Arni
8cac6c6bb3 Merge pull request #18 from haskell-servant/jkarni/decodeLenient
Use lenient decoding for JSON.
2015-02-25 13:09:07 +01:00
Julian K. Arni
1a200f1c48 Use lenient decoding for JSON. 2015-02-25 12:48:15 +01:00
Julian K. Arni
b00596a530 Bump upper bound for http-media 2015-02-24 10:29:00 +01:00
Julian Arni
465e006e6e Merge pull request #13 from anchor/form-urlencoded
Add support for application/x-www-form-urlencoded
2015-02-23 09:52:32 +01:00
Timo von Holtz
4f91a28d57 Add test for FormUrlEncoded using Network.URL 2015-02-23 16:54:10 +11:00
Julian K. Arni
d824e7ed3c Run coveralls for master too 2015-02-21 17:41:30 +01:00
Timo von Holtz
1d378e644c Add support for application/x-www-form-urlencoded 2015-02-21 07:52:38 +11:00
Julian Arni
a2f95f04c4 Merge pull request #16 from haskell-servant/jkarni/CommonTextTests
Fix Integer FromText instance.
2015-02-20 17:27:51 +01:00
Julian K. Arni
5be2430b11 Fix Integer FromText instance.
And add FromText/ToText tests.
2015-02-20 17:05:59 +01:00
Julian Arni
5f1e8c3607 Merge pull request #9 from haskell-servant/jkarni/content-types
Jkarni/content types
2015-02-20 15:37:38 +01:00
Julian K. Arni
b02b67b4b7 handleCTypeH success test 2015-02-20 15:22:26 +01:00
Julian K. Arni
5470297bdc Remove QQ for now 2015-02-20 15:08:13 +01:00
Julian K. Arni
99374c5868 Only 'text' type should have charset parameter 2015-02-20 15:05:24 +01:00
Julian K. Arni
784660c8ad Check whether travis build is PR for coveralls.
To prevent double messages and double builds.
2015-02-20 12:41:33 +01:00
Julian K. Arni
08528dccfa More content type tests 2015-02-20 12:26:53 +01:00
Julian K. Arni
0453cc3d2a Some tests for provided content-types. 2015-02-20 01:12:34 +01:00
Julian K. Arni
d299bd3397 Move Mime(Un)Render and remove types which don't have instances for them 2015-02-20 01:07:06 +01:00
Julian K. Arni
fb71eb8f01 Enable coveralls 2015-02-19 20:32:05 +01:00
Julian K. Arni
ebc266022c Small tweaks for servant-server 2015-02-19 19:18:08 +01:00
Julian K. Arni
5e4297a135 Review fixes 2015-02-19 13:46:11 +01:00
Julian K. Arni
7f7ab2c804 Use hackage doc links.
Rather than our own stale ones.
2015-02-18 13:18:28 +01:00
Julian K. Arni
0658ab674f Update other-extensions. 2015-02-18 12:07:54 +01:00
Julian K. Arni
21667cc049 Remove unneeded module 2015-02-18 11:50:52 +01:00
Julian K. Arni
dab3c9b62d fix rebase issues 2015-02-18 10:40:55 +01:00
Julian K. Arni
a75c723226 Move more content-type logic from servant-server 2015-02-18 10:29:16 +01:00
Julian K. Arni
d7e1f1230e WIP 2015-02-18 10:29:16 +01:00
Julian K. Arni
a1e1de91a9 ReqBody content types.
And general cleanup.
2015-02-18 10:29:16 +01:00
Julian K. Arni
98e02ea7cf Move accept handling into servant-server. 2015-02-18 10:25:33 +01:00
Julian K. Arni
8930a45403 Add Content Types.
Still needs QQ.
2015-02-18 10:25:33 +01:00
Julian Arni
648dc2f2fb Merge pull request #11 from anchor/patch-method
Patch method
2015-02-15 00:59:19 +08:00
Timo von Holtz
71011745c0 Actually include the Patch.hs 2015-02-10 11:28:16 +11:00
Timo von Holtz
59a20b2974 Add PATCH method 2015-02-10 11:18:13 +11:00
Christian Marie
b27e256b41 Merge pull request #10 from anchor/wip-new-safe-links
New safe link API
2015-01-31 10:14:59 +11:00
Christian Marie
d03788ee21 Flip safeLink and rename link to toLink 2015-01-30 11:03:48 +11:00
Christian Marie
12cf4e02ab Remove un-needed dependencies. 2015-01-29 17:55:57 +11:00
Christian Marie
36268030b5 Correct typo in Util.Links documentation 2015-01-29 17:45:47 +11:00
Christian Marie
3a4471f211 Remove Monoid instance of Link and simplify Utils.Links documentation 2015-01-29 15:03:33 +11:00