Commit graph

1452 commits

Author SHA1 Message Date
Geoffrey Roberts
d7f9e30fc8 Add a test to explicitly cover header variable template replacement 2015-01-22 11:41:06 +11:00
Geoffrey Roberts
8aa5ce504e Switched again to Text because it made more sense given the dependency structure 2015-01-22 11:33:19 +11:00
Geoffrey Roberts
21e9c9f5c9 Switched out MissingH for an implementation using split 2015-01-22 11:24:36 +11:00
Geoffrey Roberts
745dbd09a9 Actually sanitise function names and handle X-Custom headers 2015-01-21 19:32:06 +11:00
Geoffrey Roberts
158eab5157 Changed template for ReplaceHeaderArg. Got tests working. 2015-01-21 18:47:23 +11:00
Geoffrey Roberts
e16f90f107 Extended HeaderArg to allow header arguments to replace the contents of a template, allowing specially composed headers to create specially formatted headers 2015-01-21 18:27:25 +11:00
Julian Arni
0bb35b8571 Merge pull request #20 from paf31/errors
Return JSON error messages in response
2015-01-21 10:00:22 +08:00
Phil Freeman
56791952b8 Return JSON error messages in response 2015-01-19 19:12:08 -08:00
Julian Arni
f04bd3e24b Merge pull request #18 from haskell-servant/jkarni/fix-travis
Make travis clone master servant.
2015-01-16 11:01:31 +01:00
Julian K. Arni
7736339328 Make travis clone master servant. 2015-01-16 10:53:37 +01:00
Sönke Hahn
350e05e035 Merge pull request #17 from haskell-servant/fix_1
cabal: added lower bound for wai-app-static
2015-01-16 13:03:57 +08:00
Sönke Hahn
1148e21377 cabal: added lower bound for wai-app-static
Fixes #1.
2015-01-16 12:52:11 +08:00
Julian Arni
83e46f41ef Merge pull request #2 from dlarsson/master
Support for matrix parameters
2015-01-15 12:40:40 +01:00
Julian Arni
420fc2a842 Merge pull request #16 from dlarsson/matrix
Added support for matrix parameters.
2015-01-15 12:27:35 +01:00
Daniel Larsson
294eb3b76f Added changelog text 2015-01-15 12:14:11 +01:00
Daniel Larsson
b18f27df7a Added support for Matrix parameters 2015-01-15 12:10:21 +01:00
Daniel Larsson
d603431498 Merge branch 'master' of https://github.com/dlarsson/servant-docs 2015-01-15 11:05:02 +01:00
Daniel Larsson
c4f7735de8 Added support for matrix parameters 2015-01-15 11:04:20 +01:00
Daniel Larsson
62f8a7f090 Initial support for matrix parameters. Not complete, not sure how to document them yet, since documentation is focused on endpoints, not individual path fragments. 2015-01-15 11:04:20 +01: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
Alp Mestanogullari
9ef336b50f Merge pull request #7 from zerobuzz/2015-01-06-explicit-import-lists
Explicit import lists
2015-01-06 17:44:12 +01:00
Matthias Fischmann
ca817f0c9d Explicit imports in /test. 2015-01-06 17:34:03 +01:00
Matthias Fischmann
663fbaaabb Make -Wall less noisy. 2015-01-06 17:31:13 +01:00
Matthias Fischmann
2f9c6340c4 Explicit imports in /src. 2015-01-06 17:25:25 +01:00
Daniel Larsson
d81704abc7 Added support for matrix parameters 2015-01-06 14:30:01 +01:00
Daniel Larsson
330e9abcaa Merged in 0.3 2015-01-06 14:29:37 +01:00
Julian Arni
6835f0559a Merge pull request #6 from zerobuzz/mf59816/ignore-tailing-slashes
Ignore redundant trailing slashes (with test case).
2015-01-06 09:57:16 +01:00
Matthias Fischmann
9b8d25c838 Ignore redundant trailing slashes (with test case). 2015-01-05 14:27:06 +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
Alp Mestanogullari
3dc9424765 add a changelog, bump version to 0.2.2 2015-01-04 17:41:51 +01:00
Alp Mestanogullari
44efc7ff20 bump version 2015-01-04 17:18:40 +01:00
Alp Mestanogullari
b7591dd7e0 mention servant-pandoc in the readme 2015-01-04 17:18:12 +01:00
Alp Mestanogullari
923a75afef add a changelog 2015-01-04 17:17:57 +01:00
Alp Mestanogullari
07472ccb7a update the example to show off multiple-responses 2015-01-04 16:53:02 +01:00
Alp Mestanogullari
71142b08d4 fix build error 2015-01-04 16:44:23 +01:00
Alp Mestanogullari
0edde415bd first shot (doesn't build though) at multiple responses in the docs 2015-01-04 16:38:50 +01:00
Julian K. Arni
0cc4f975cc Bump version to 0.2.3 2015-01-04 16:26:33 +01:00
Julian K. Arni
1ec9d0a497 Add CHANGELOG. 2015-01-04 16:21:25 +01:00
Julian Arni
3ac502c803 Merge pull request #3 from haskell-servant/jkarni/servant-issue-2
Memoize requestBody IO action.
2015-01-04 16:12:49 +01:00
Julian K. Arni
b43301967d Update reqBodyRef comment. 2015-01-04 16:08:22 +01:00