Commit graph

2305 commits

Author SHA1 Message Date
Oleg Grenrus
ddbf169909
Merge pull request #878 from phadej/issue-835-link-double-escape
Fix #835. Use Escaped to prevent double-escaping
2017-12-18 19:51:55 +02:00
Oleg Grenrus
71425ab23c Fix #835. Use Escaped to prevent double-escaping 2017-12-18 19:23:31 +02:00
Kazuki Okamoto
4b9d60ca8d fix compilation error: move import declaration and add cookie to dependencies 2017-12-13 16:52:44 +09:00
Alp Mestanogullari
40c1315097 elide some of the servant README in file upload example output 2017-12-12 19:57:21 +01:00
gbaz
7edd35c9f0 docs for streaming (#852)
* docs for new streaming related combinators
2017-12-11 21:32:17 +01:00
Oleg Grenrus
6fe2c78567
Merge pull request #872 from phadej/http-types-0.11
Http types 0.11
2017-12-10 14:55:25 +02:00
Oleg Grenrus
ccf0056f64 Regenerate .travis.yml 2017-12-10 14:27:40 +02:00
Oleg Grenrus
8f62f81ed9 Allow http-types-0.11 and hspec-wai-0.9 2017-12-10 13:27:45 +02:00
Alp Mestanogullari
c5f2b9e175 add https recipe, add (future) github links at the end of all recipes 2017-12-08 23:44:48 +01:00
Alp Mestanogullari
6075700ebc add a recipe about 'structuring APIs' in general 2017-12-08 23:44:48 +01:00
Alp Mestanogullari
5ac6de8277 add file upload recipe 2017-12-08 23:44:48 +01:00
Alp Mestanogullari
6dc9d04e60 build cookbook projects in CI 2017-12-08 23:44:47 +01:00
defanor
b8c6c0b7c7 Add a cookbook recipe for JWT and basic authentication combination (#871) 2017-12-08 23:44:47 +01:00
Alp Mestanogullari
c8dbcea5a2 add shell.nix for building servant (+ tutorial + cookbook, optionally) 2017-12-08 23:44:38 +01:00
Alp Mestanogullari
e2314aa059 add cookbook recipe for using a PostgreSQL connection pool 2017-12-08 23:44:38 +01:00
Alp Mestanogullari
8543e00aaa add a cookbook recipe for sqlite. cabalized cookbook examples. 2017-12-08 23:44:38 +01:00
Oleg Grenrus
f3470c2d96
Merge pull request #869 from cocreature/ghcjs-upperbound
Bump servant-client-core upperbound in servant-client-ghcjs
2017-12-05 19:30:08 +02:00
Alp Mestanogullari
606a4a6f69 add a cookbook section to docs, with a first 'recipe' about basic auth 2017-12-05 18:09:41 +01:00
Moritz Kiefer
544bb8184e Bump servant-client-core upperbound in servant-client-ghcjs 2017-12-05 15:32:58 +01:00
Oleg Grenrus
802123f35d
Merge pull request #868 from phadej/servant-foreign-0.11
Bump servant-foreign for 0.11
2017-12-05 16:06:36 +02:00
Oleg Grenrus
30f12a7091 Add temporary constraints to fix Travis.
Revert me when cryptonite issue is resolved!
2017-12-05 15:31:13 +02:00
Oleg Grenrus
cbd3862f24
Merge pull request #836 from gbaz/gb-streaming
Stream endpoint support for servant
2017-12-03 17:19:47 +02:00
Oleg Grenrus
13986429ef
Merge pull request #818 from LumiGuide/feat-client-ghcjs
servant-client-ghcjs
2017-12-03 17:19:15 +02:00
Oleg Grenrus
288e786f18 Bump servant-foreign for 0.11 2017-12-01 23:28:37 +02:00
Dimitri Sabadie
c1371dd84d Temporary fix for Header. (#843)
servant-foreign: make foreign client Header arguments have the representation of 'Maybe' in those languages
2017-11-27 00:23:55 +01:00
Oleg Grenrus
6321859b63
Merge pull request #861 from joenash/patch-1
Minor md fix for table rendering
2017-11-12 01:15:50 +02:00
Joe Nash
2bcaccd476
Minor md fix for table rendering
Very minor change to fix a md problem that prevented the table rendering.
2017-11-11 19:17:34 +00:00
Oleg Grenrus
a67cd56c1f Send Accept header in servant-client
Fixes #858. The bug was introduced in servant-client-core refactor
(servant-client-0.12).

See 8973cf56f1/servant-client/src/Servant/Common/Req.hs (L151-L179)
for the unbroken variant in servant-client-0.11
2017-11-11 00:06:25 +02:00
Oleg Grenrus
a3ce2c3ed8 Build only master and release-0.12 on travis 2017-11-11 00:06:19 +02:00
Oleg Grenrus
25d0aa219f Fix typo in changelog 2017-11-08 12:49:47 +02:00
Oleg Grenrus
7e9910b27e
Merge pull request #855 from phadej/more-changelog-0.12
Open up significant changes in 0.12 [ci skip]
2017-11-08 10:19:26 +02:00
Oleg Grenrus
0813957b43 Open up significant changes in 0.12 [ci skip] 2017-11-08 10:18:16 +02:00
Oleg Grenrus
4d851178a0
Merge pull request #853 from haskell-servant/release-notes
Add release process outline [ci skip]
2017-11-07 21:04:21 +02:00
Oleg Grenrus
e431de453f Add release process outline [ci skip] 2017-11-07 19:34:47 +02:00
Oleg Grenrus
c5d34607ac
Merge pull request #854 from phadej/pull-851
Pull 851
2017-11-07 19:31:39 +02:00
Oleg Grenrus
2779f523ca Add doctests (and changelog) 2017-11-07 19:08:10 +02:00
Robert Hensing
7410b4faa8 Links: add allLinks function and MkLink instance for (:<|>)
This lets you generate all links at once, which is useful in
conjunction with servant-generic.
2017-11-07 18:39:02 +02:00
Oleg Grenrus
a4b69d432b Add HoistSpec to other-modules of spec 2017-11-07 14:12:19 +02:00
Gershom
db13077ccb wall clean and compat 2017-11-06 11:55:27 -05:00
Gershom
90292e1f62 move statuscheck earlier on streaming response to give good error 2017-11-06 11:37:00 -05:00
Oleg Grenrus
e1c46c2069
Merge pull request #850 from phadej/pull-783
Try to add test for root client request
2017-11-06 14:29:20 +02:00
Oleg Grenrus
bd7f6edb8b Try to add test for root client request 2017-11-06 14:11:05 +02:00
Oleg Grenrus
c9ddd9b183
Merge pull request #847 from phadej/pull-742
Pull 742
2017-11-06 13:34:07 +02:00
Oleg Grenrus
f8fb618efe Fix formatting in doc/examples.md 2017-11-06 13:08:29 +02:00
Cies Breijs
bd71022979 Update examples.md 2017-11-06 13:06:14 +02:00
Oleg Grenrus
d04bd290c5
Merge pull request #846 from phadej/pull-809-foreign-data
Pull 809 foreign data
2017-11-06 13:04:15 +02:00
Oleg Grenrus
bba98a3755 Update changelogs 2017-11-06 12:35:43 +02:00
Oleg Grenrus
80c6ba5347 Derive Typeable for internal servant-foreign types 2017-11-06 12:29:43 +02:00
Oliver Charles
bfe6f5b0a4 servant-foreign: Explicitly import Data 2017-11-06 12:21:35 +02:00
Ollie Charles
197d776e08 servant-foreign: Move -XDeriveDataTypeable to servant-foreign.cabal 2017-11-06 12:21:31 +02:00