Commit graph

189 commits

Author SHA1 Message Date
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
Christian Marie
c1ab495a7a Utils.Link documentation cleanup 2015-01-29 11:28:01 +11:00
Christian Marie
2a91686195 Tweak .travis.yml 2015-01-29 11:18:16 +11:00
Christian Marie
12d0d0a6e7 Documentation improvements and minor cleanup 2015-01-29 10:39:02 +11:00
Christian Marie
70ffe01f9a Rewrite Utils.Links to export a nicer API.
* Add support for parameters.
* Clean up type level magic, invalid links no longer have a type.
* Proxies are now used to be consistent with the rest of the servant ecosystem.
2015-01-29 10:07:01 +11:00
Christian Marie
6785717d8c Add constrainty Link implementation. 2015-01-27 16:06:21 +11:00
Christian Marie
7336ecbaeb Export open type family IsElem' to allow custom API types in Links.
Also:
* Export unLink function to be able to use the contents of a Link
* Add Raw to the isLink'' family.
2015-01-23 17:44:06 +11:00
Julian Arni
4eb943021f Merge pull request #4 from dlarsson/master
Support for matrix parameters
2015-01-15 10:52:06 +01:00
Daniel Larsson
8e5bc6eb59 Fixed merge/rebase issue 2015-01-15 10:47:50 +01:00
Daniel Larsson
fcf5402861 Rebased to latest upstream 2015-01-15 10:44:45 +01:00
Daniel Larsson
0b2f2ae490 Added test cases for matrix parameters. Added some missing cases in the IsElem type family (QueryParams and QueryFlag) 2015-01-15 10:40:57 +01:00
Daniel Larsson
0b29d1d690 Bumped version number, and added a .gitignore file. 2015-01-15 10:38:59 +01:00
Daniel Larsson
839f5a79a9 Added support for matrix parameters 2015-01-15 10:38:59 +01:00
Julian K. Arni
3e0be5a305 Added update-nixpkgs.sh script. 2015-01-09 18:04:36 +01:00
Alp Mestanogullari
5a6d864ebe Merge pull request #5 from zerobuzz/2015-01-06-explicit-import-lists
Explicit import lists
2015-01-06 18:32:19 +01:00
Matthias Fischmann
92a8a78abe Explicit imports in /test. 2015-01-06 17:57:50 +01:00
Matthias Fischmann
40b13a9c86 Explicit imports in /src. 2015-01-06 17:54:53 +01:00
Matthias Fischmann
9b10181d9a Remove unused imports. 2015-01-06 17:51:07 +01:00
Daniel Larsson
409a10442d Added test cases for matrix parameters. Added some missing cases in the IsElem type family (QueryParams and QueryFlag) 2015-01-04 18:14:27 +01:00
Daniel Larsson
80b82fd885 Bumped version number, and added a .gitignore file. 2015-01-01 22:46:58 +01:00
Daniel Larsson
fe541f3bf4 Added support for matrix parameters 2014-12-28 22:56:58 +01:00
Alp Mestanogullari
7ea1203c8b Merge pull request #2 from spl/patch-1
Fix typo
2014-12-13 00:40:49 +01:00
Sean Leather
4a89f5d6c7 Fix typo 2014-12-12 21:04:03 +02:00