Commit graph

614 commits

Author SHA1 Message Date
Brandon Martin
b45ac07ece HasClient instance for Delete cts' () now does not care at all about content types provided 2015-05-17 07:51:49 -06:00
Alp Mestanogullari
09e525fc76 Merge pull request #85 from haskell-servant/wip-better-error-doctest-failure
servant, servant-server: handle corner case in doctests, add an helpful error message
2015-05-16 09:49:05 +01:00
Alp Mestanogullari
e59c03faa2 Merge pull request #74 from haskell-servant/wip-whitespace-comment
servant: clean up some white spaces, add link explaining why Or works.
2015-05-16 08:28:28 +01:00
Christian Marie
54131821a5 servant: allow whitespace before JSON 2015-05-16 12:58:53 +10:00
Christian Marie
ec55177796 servant, servant-server: handle corner case in doctests
They seem to encounter multiple sandboxes sometimes, we now provide a more
helpful error if that happens. Didn't look into why this happens.
2015-05-16 12:45:08 +10:00
Christian Marie
43d0620403 servant: allow whitespace after parsing JSON
This includes some de-duplication in the test suite.
2015-05-16 11:13:41 +10:00
Ilya Smelkov
7e14eeafe9 Use filepath to add trailing path separator 2015-05-16 01:03:48 +03:00
Julian K. Arni
c41267811e CPP for support for all 3.X versions of wai-app-static 2015-05-16 01:01:55 +03:00
Christian Marie
955261ddd3 Merge pull request #77 from haskell-servant/update-examples
Update examples for servant-docs and servant-client
2015-05-15 20:36:25 +10:00
Christian Marie
13a8813422 Merge pull request #78 from haskell-servant/wip-fix-test-all-script
scripts: install all of the servant ecosystem at once, for consistent dependencies
2015-05-15 15:49:03 +10:00
Christian Marie
28647c0ac1 Merge branch 'wip-fix-test-all-script' into update-examples 2015-05-15 11:04:56 +10:00
Christian Marie
d1b904372d Move comment out of haddocks. 2015-05-15 10:37:18 +10:00
Christian Marie
1e9a5eedb9 Merge branch 'wip-fix-test-all-script' into wip-whitespace-comment 2015-05-15 10:36:16 +10:00
Christian Marie
b5e558f783 Merge pull request #79 from haskell-servant/shahn/wip-fix-test-all-script
fix doctests for cabal-install-1.18
2015-05-14 23:16:10 +10:00
Sönke Hahn
0d47f4527b fix doctests for cabal-install-1.18 2015-05-14 19:47:39 +08:00
Christian Marie
07f8b6a28a scripts: install all of the servant ecosystem at once, for consistent dependencies 2015-05-14 12:35:35 +10:00
Alp Mestanogullari
46d48946b0 update examples for servant-docs. fixes #76 2015-05-14 01:01:41 +02:00
Alp Mestanogullari
ff6c04cf1a update examples in servant-client. fixes #75 2015-05-14 00:52:37 +02:00
Christian Marie
13fcb4f3f1 servant: clean up some white spaces, add link explaining why Or works. 2015-05-14 00:07:57 +10:00
Alp Mestanogullari
c87b846815 Merge pull request #66 from haskell-servant/upper-bound
Upper bounds to base for servant-examples
2015-05-11 10:44:59 +01:00
Alp Mestanogullari
405d69d954 fix some links in the cabal descriptions 2015-05-11 10:43:52 +02:00
Alp Mestanogullari
3745446128 tweak README 2015-05-11 10:36:41 +02:00
Julian K. Arni
15a39b8a7b Upper bounds to base for servant-examples 2015-05-10 14:38:23 +02:00
Julian K. Arni
690df4d9e0 Consistent version numbering 2015-05-10 14:10:21 +02:00
Alp Mestanogullari
e3f46ed5ce Merge pull request #64 from haskell-servant/getting-started-examples
Tutorial examples
2015-05-10 13:07:31 +01:00
Alp Mestanogullari
39d114ab12 getting-started -> tutorial 2015-05-10 13:39:18 +02:00
Alp Mestanogullari
4653744706 examples: use 'random' instead of 'probable' for GS9 2015-05-10 12:20:02 +02:00
Alp Mestanogullari
e0f4ed6426 adapt examples to baseurl fix 2015-05-09 18:11:04 +02:00
Alp Mestanogullari
a403eee488 examples: don't depend on pandoc & servant-pandoc, just serve a markdown file 2015-05-09 18:11:04 +02:00
Alp Mestanogullari
616b203792 examples: add GS10 2015-05-09 18:11:04 +02:00
Alp Mestanogullari
77b15e9cdc examples: add GS9 2015-05-09 18:11:04 +02:00
Alp Mestanogullari
0000189760 examples: add GS8 2015-05-09 18:11:04 +02:00
Alp Mestanogullari
c892aae429 examples: add GS7 2015-05-09 18:11:04 +02:00
Alp Mestanogullari
ec95cb0355 examples: add GS6 2015-05-09 18:11:04 +02:00
Alp Mestanogullari
1d3eefaf48 examples: add GS5 2015-05-09 18:11:04 +02:00
Alp Mestanogullari
e81ac8fbc5 examples: add GS4 2015-05-09 18:11:03 +02:00
Alp Mestanogullari
f3002b36da examples: tweak GS3 2015-05-09 18:11:03 +02:00
Alp Mestanogullari
3edc067c66 servant-examples: add GS3 2015-05-09 18:11:03 +02:00
Alp Mestanogullari
66456cafa2 refactor a bit + add GS2 2015-05-09 18:11:03 +02:00
Alp Mestanogullari
2b23253a8d first getting-started example 2015-05-09 18:11:03 +02:00
Alp Mestanogullari
8b705f6d0e Merge pull request #62 from haskell-servant/jkarni/bump-0.4
Bump everything to 0.4
2015-05-09 17:09:59 +01:00
Julian K. Arni
b81ea9eee2 Bump everything to 0.4 2015-05-09 17:28:52 +02:00
Alp Mestanogullari
c8aa53f1a4 Merge pull request #63 from haskell-servant/docs-exports
add missing exports (lenses) to servant-docs's Servant.Docs module
2015-05-09 16:09:54 +01:00
Alp Mestanogullari
b6f7efe8e2 put intro titles at the same level as the endpoints 2015-05-09 16:28:19 +02:00
Alp Mestanogullari
c2211e9534 add missing exports (lenses) to servant-docs's Servant.Docs module 2015-05-09 16:06:11 +02:00
Julian Arni
fc517a2f85 Merge pull request #60 from codedmart/fix-baseurl
make BaseUrl an argument to 'client' instead of each function produced by 'client'
2015-05-09 02:28:31 +02:00
Brandon Martin
bc8efb2464 clean up Client and remove Setup binary 2015-05-08 17:51:23 -06:00
Brandon Martin
7c24c2a5a3 remove unsed type and clean up
merge master and fix conflicts
2015-05-08 15:53:09 -06:00
Julian K. Arni
eba7d654c2 Fix remaining test cases 2015-05-08 15:53:09 -06:00
Brandon Martin
f5dd4bfdbd changes to fix tests for baseurl changes
initial changes to fix tests for baseurl changes

more test fixes

moving some test spec stuff around
2015-05-08 15:53:09 -06:00