Commit graph

1745 commits

Author SHA1 Message Date
Sasa Bogicevic
3d9a151412 Add helper functions 2018-04-27 11:34:03 +02:00
Sasa Bogicevic
4d46e98419 Remove hardcoded param in serveWithContext 2018-04-27 11:03:37 +02:00
Sasa Bogicevic
a90b671607 Fix all errors 2018-04-26 15:51:37 +02:00
Sasa Bogicevic
547adabfe3 Add NFData instance
add deepseq dep
Hardcode bool param for now
2018-04-26 15:35:11 +02:00
Sasa Bogicevic
ff4e2afcdf Remove duplicate import 2018-04-26 14:24:02 +02:00
Alp Mestanogullari
0c66b9c055
Merge pull request #953 from haskell-servant/fileserving-polymorphic-monad
servant-server: make file-serving functions polymorphic in the monad
2018-04-26 06:56:25 +02:00
Alp Mestanogullari
fd21e92cf2 servant-server: make file-serving functions polymorphic in the monad 2018-04-25 15:12:32 +02:00
Oleg Grenrus
63253f09df
Merge pull request #948 from domenkozar/servant-client-readme
servant-client: update README.md and test it
2018-04-20 22:56:15 +03:00
Domen Kožar
49969695df
servant-client: update README.md and test it 2018-04-18 14:18:41 +01:00
Alp Mestanogullari
6af38354d0
Merge pull request #946 from KtorZ/servant-pagination
add cookbook recipe introducing servant-pagination
2018-04-17 10:33:28 +02:00
KtorZ
93838ae9e7
Add recipe introducing servant-pagination 2018-04-17 10:02:40 +02:00
Oleg Grenrus
680820c98c
Merge pull request #943 from phadej/bounds-backports
Bounds backports
2018-04-11 12:12:27 +03:00
Oleg Grenrus
7d4293fb56 Bump hspec, doctest and transformers-compat 2018-04-11 11:34:16 +03:00
Oleg Grenrus
9ddaafed42 Bump servant-client version 2018-04-11 11:28:33 +03:00
Oleg Grenrus
fc12109514 Allow temporary-1.3 2018-04-11 11:28:08 +03:00
Oleg Grenrus
dd7ec1dfd7 Allow base-compat-0.10.0 2018-04-11 11:26:14 +03:00
Oleg Grenrus
6be8291fe8
Merge pull request #936 from haskell-servant/alp/hoistClient
Add hoistClient to servant-client
2018-04-09 15:19:21 +03:00
Alp Mestanogullari
a155d5d497 changelog entries 2018-04-09 13:57:31 +02:00
Oleg Grenrus
a8cd6e3895
Merge pull request #937 from potomak/subserver-content-types
Update request content-type handling
2018-04-05 16:00:02 +03:00
Giovanni Cappellotto
92f8d2314e Update request content-type handling
In case that a sub-server doesn't support the content-type specified
in the request invoke `delayedFail` instead of `delayedFailFatal` in
order to give the chance to other sub-servers to handle the request.
2018-04-04 18:53:40 -04:00
Alp Mestanogullari
fc3c6089b8 document hoistClient (haddocks, tutorial) 2018-04-04 01:48:48 +02:00
Alp Mestanogullari
9eb57a6119 add a test for hoistClient 2018-04-04 01:48:48 +02:00
Alp Mestanogullari
200311ee26 add hoistClient to HasClient class 2018-04-04 01:48:48 +02:00
Julian Arni
3750f22e01
Merge pull request #913 from haskell-servant/jkarni/expose-more-request-constructors
Streaming request body for servant-client-core
2018-03-23 18:30:13 +01:00
Oleg Grenrus
6f4701ce32
Merge pull request #929 from haskell-servant/cookbook-structuring-flatten
add reference to servant-flatten in cookbook > structuring apis
2018-03-21 11:32:18 +02:00
Alp Mestanogullari
5d30010312 add reference to servant-flatten 2018-03-21 10:23:33 +01:00
Alp Mestanogullari
74b646105f
Merge pull request #928 from jhrcek/baDoc
Add link to cookbook example of basic auth (#752)
2018-03-21 06:12:37 +01:00
Jan Hrček
e9113111d6 Add link to cookbook example of basic auth (#752) 2018-03-21 04:48:01 +01:00
Julian K. Arni
7c901dcb7d Re-review changes.
Using random packages mysteriously fail on CI, and also uses a lot
    more CPU.
2018-03-19 18:22:49 +01:00
Julian K. Arni
d78543575b Review fixes 2018-03-19 18:10:46 +01:00
Julian K. Arni
c02ca1b6e1 Implement new constructors for GHCJS.
Streaming is not actually performed - instead the whole object is
    held in memory.
2018-03-19 16:26:57 +01:00
Julian K. Arni
2456dcb8f5 Add stack file for testing GHCJS. 2018-03-19 16:26:57 +01:00
Julian K. Arni
26c6c0ec38 Expose more constructors for RequestBody.
Mimicking http-client's RequestBody.
2018-03-19 16:26:57 +01:00
Julian K. Arni
37482d69d7 Test that Stream combinator doesn't blow up memory. 2018-03-19 16:26:57 +01:00
Julian Arni
624a42ebf0
Merge pull request #924 from haskell-servant/jkarni/bump-exceptions
Bump exceptions upper bound.
2018-03-14 10:54:13 +01:00
Julian K. Arni
4824fbd961 Bump exceptions upper bound. 2018-03-13 11:07:44 +01:00
Julian Arni
f8301a21e9
Merge pull request #923 from haskell-servant/jkarni/cleanup-scripts
Remove unused scripts.
2018-03-13 11:05:48 +01:00
Julian K. Arni
aa612de2d0 Remove unused scripts.
Which are all of them.
2018-03-13 10:28:20 +01:00
Alp Mestanogullari
e02f29a379
Merge pull request #921 from manusajith/doc_patches
Fix some typos in docs
2018-03-13 09:56:20 +01:00
Manu S Ajith
6a410dcd07
Fix some typos in docs
Signed-off-by: Manu S Ajith <neo@codingarena.in>
2018-03-13 03:21:56 +05:30
Oleg Grenrus
fe20b5a38a
Merge pull request #920 from phadej/free-client
Add Servant.Client.Free
2018-03-11 21:07:09 +02:00
Oleg Grenrus
6d1ae0dccd
Merge pull request #680 from phadej/stylish-haskell
Update .stylish-haskell
2018-03-11 18:28:25 +02:00
Oleg Grenrus
8058891299 Reformat servant 2018-03-11 17:58:31 +02:00
Oleg Grenrus
74cf82946e Update .stylish-haskell 2018-03-11 17:52:11 +02:00
Oleg Grenrus
454f53315f Remove catchServantError 2018-03-11 16:50:14 +02:00
Oleg Grenrus
80188e024e Add Servant.Client.Free 2018-03-11 14:13:25 +02:00
Oleg Grenrus
bcca635151
Merge pull request #919 from emmanueltouzery/aeson-1.3
relax the aeson constraint, allow 1.3.0.0
2018-03-10 23:36:17 +02:00
Emmanuel Touzery
7423ca3924 relax the aeson constraint, allow 1.3.0.0, fixes https://github.com/fpco/stackage/issues/3337 2018-03-09 20:26:03 +01:00
Oleg Grenrus
c767efedb9
Merge pull request #917 from phadej/travis-max-backjumps
Add --max-backjumps to .travis.yml
2018-03-08 14:43:16 +02:00
Oleg Grenrus
52f27de256 Add --max-backjumps to .travis.yml 2018-03-08 13:18:47 +02:00