Commit graph

2443 commits

Author SHA1 Message Date
natsuki14
2050ec86a2
I guess some sample curl commans are wrong. 2019-12-15 03:09:01 +09:00
Oleg Grenrus
d9e653cdc1
Merge pull request #1250 from haskell-servant/travis-update-2019-12-09
Try to fix CI: remove servant-jssaddle, install npm
2019-12-09 23:12:30 +02:00
Oleg Grenrus
ce5939b837 Try to fix CI: remove servant-jssaddle, regenerate .travis.yml 2019-12-09 17:53:36 +02:00
Oleg Grenrus
971d14032a
Merge pull request #1245 from haskell-servant/small-updates
Small updates
2019-11-18 00:57:42 +02:00
Oleg Grenrus
83336ae991 Small updates
- Allow newer js-jquery in tutorial
- use bionic on Travis
- allow newer hspec in servant-jsaddle
2019-11-17 19:39:44 +02:00
Oleg Grenrus
cc7dc408d7
Merge pull request #1244 from jhrcek/docFixes
Various haddock fixes
2019-11-15 09:18:20 +02:00
Robert Hensing
13b21cbbf1 Add changelog entry 2019-11-12 15:01:35 +01:00
Jan Hrček
da365b1e47 Various haddock fixes 2019-11-12 09:29:35 +01:00
Oleg Grenrus
1c4e3c4a93
Merge pull request #1242 from haskell-servant/haskell-ci-update
Regenerate .travis.yml
2019-11-11 16:01:03 +02:00
Oleg Grenrus
8507cc509b Regenerate .travis.yml 2019-11-11 10:11:34 +02:00
Samuel Gélineau
0cfd9e6597 test "merge documentation from duplicate routes" 2019-11-07 19:31:29 -05:00
Samuel Gélineau
fdb1e030e6 add changelog.d entry 2019-11-07 19:08:45 -05:00
Samuel Gélineau
1f6d7d7ea8 remove leftover debug code 2019-11-07 19:01:56 -05:00
Samuel Gélineau
143091eb3f merge documentation from duplicate routes
Servant supports defining the same route multiple times with different
content-types and result-types, but servant-docs was only documenting
the first of copy of such duplicated routes. It now combines the
documentation from all the copies.

Unfortunately, it is not yet possible for the documentation to specify
multiple status codes.
2019-11-07 18:53:41 -05:00
Robert Hensing
ce3c68f94b servant-client-core: Redact Authorization header 2019-11-05 16:31:06 +01:00
Oleg Grenrus
925d50d752
Merge pull request #1234 from peeley/fix_broken_links_1206
Fixes issue #1206 by updating broken links in tutorial.
2019-10-08 06:23:29 +03:00
Noah Snelson
5612772448 Change Type Families user manual link to specify GHC 8.8.1 2019-10-07 18:55:47 -07:00
Noah Snelson
ec80f251f3 Fixes issue #1206 by updating broken links in tutorial. 2019-10-07 11:23:30 -07:00
Oleg Grenrus
6cf7c73824
Merge pull request #1233 from haskell-servant/servant-jsaddle-test-delays
Add few delays in servant-jsaddle tests
2019-10-01 17:28:17 +03:00
Oleg Grenrus
99aa09e65b Catch WS.ConnectionClosed 2019-10-01 16:28:28 +03:00
Oleg Grenrus
6d0c415377 Add few delays in servant-jsaddle tests
Hopefully they will fail less on Travis with these
2019-10-01 13:50:26 +03:00
Oleg Grenrus
1047510141
Merge pull request #1230 from haskell-servant/changelog-d
Add changelog.d directory, amend CONTRIBUTING.md
2019-09-30 21:53:00 +03:00
Oleg Grenrus
ed201224dc Add changelog entry 2019-09-30 21:17:13 +03:00
Oleg Grenrus
0cc1109c05 Add changelog.d directory, amend CONTRIBUTING.md 2019-09-30 19:40:18 +03:00
Oleg Grenrus
d3aba7aac7
Merge pull request #1229 from haskell-servant/servant-jsaddle-8.8
Build jsaddle with GHC-8.8
2019-09-30 15:59:44 +03:00
Oleg Grenrus
71ca2a203c Allow jsaddle-dom-0.9.3.1 2019-09-30 10:53:32 +03:00
Oleg Grenrus
52408fea16 Fix servant-client with base-compat-0.11 2019-09-30 10:34:33 +03:00
Oleg Grenrus
fa35b5bd70 Build jsaddle with GHC-8.8
Closes https://github.com/haskell-servant/servant/issues/1227
2019-09-29 23:55:10 +03:00
Oleg Grenrus
38f3da2499 Add TFB readme section 2019-09-29 23:27:47 +03:00
Oleg Grenrus
002ee3cd8f
Merge pull request #1228 from haskell-servant/pull-1219-no-content-verb-1028
Pull 1219: no content verb 1028
2019-09-29 21:22:23 +03:00
Catherine Galkina
b4372b5c14 Removed unnecessary OVERLAPPING/OVERLAPPABLE pragmas 2019-09-29 14:18:13 +03:00
Catherine Galkina
8550926d90 Updated docs 2019-09-29 14:18:13 +03:00
Catherine Galkina
dcf307d67a Fixed tests for servant-http-streams 2019-09-29 14:18:13 +03:00
Catherine Galkina
0cbed24f23 Added HasClient and HasForeign instances for NoContentVerb 2019-09-29 14:18:13 +03:00
Catherine Galkina
0ec5af11f5 Fixed docs for NoContent endpoints 2019-09-29 14:18:13 +03:00
Catherine Galkina
b440af900b Implemented NoContentVerb and server instances for it 2019-09-29 14:18:13 +03:00
Oleg Grenrus
164f75711b
Merge pull request #1224 from haskell-servant/forward-8.8
Forward 8.8
2019-09-29 14:15:58 +03:00
Oleg Grenrus
f089f8d0b2 Relax bounds for ghc-8.8 2019-09-29 00:43:53 +03:00
Oleg Grenrus
19dee18f71 Remove control-monad-omega dependency 2019-09-28 17:43:28 +03:00
Oleg Grenrus
56773a7649 Comment out cookbooks unbuildable with ghc-8.8 2019-09-28 17:43:28 +03:00
Oleg Grenrus
1dbd258510 Re-organise cabal.project (for GHC-8.8) 2019-09-28 17:43:28 +03:00
Oleg Grenrus
7f10f7fbc6 Bump servant-pipes version 2019-09-12 09:45:00 +03:00
Oleg Grenrus
09f452ba07 We use fail in servant-pipes 2019-09-12 09:44:54 +03:00
Oleg Grenrus
b04261bf4d Remove screenshot.png 2019-09-08 12:09:33 +03:00
Oleg Grenrus
6e3af85c93
Merge pull request #1216 from haskell-servant/servant-client-jsaddle
Add servant-jsaddle
2019-09-08 10:59:01 +02:00
Robert Hensing
e14a14fb5c Add servant-client-jsaddle
- servant-client-jsaddle: Remove some debug printing
- Update .travis.yml with haskell-ci
- servant-client-jsaddle: bump base bounds
- Add libgirepository1.0-dev
- servant-client-jsaddle: bump upper bound on containers
- servant-client-jsaddle: relax upper bound on semigroupoids
- servant-client-jsaddle: bump servant-client-core dependency
- servant-client-jsaddle: fix compatibility
- servant-client-jsaddle: import correct module
- .travis.yml: run xvfb for headless GUI testing
- Use ghcjs-dom instead of jsaddle-dom directly.
- Also use ghcjs-dom in tests.
- Ignore exceptions on send - they are handled in toResponse.
- Apparently ghcjs-dom does use the same exception these days.
- Got rid of obsolete comment.
- Make sure response gets handled even in case of exception.
- Update servant-client-jsaddle/servant-client-jsaddle.cabal

Dependingon ghcjs-dom avoids the dependency on jsaddle-dom on ghcjs and
have slightly better performance on ghcjs.

Co-Authored-By: Herbert Valerio Riedel <hvr@gnu.org>
2019-09-08 10:28:21 +03:00
Oleg Grenrus
12e64fd3d2
Merge pull request #1214 from haskell-servant/ghcjs-travis
Regenerate .travis.yml; GHC-8.6.5; add GHCJS
2019-09-07 14:19:14 +03:00
Oleg Grenrus
ecbc04bbee Regenerate .travis.yml; GHC-8.6.5; add GHCJS 2019-09-07 14:03:46 +03:00
Alp Mestanogullari
7de93f9a51
Merge pull request #1204 from przembot/fix/issue-1200
Fix Verb with headers checking content type differently (and add test for it)
2019-08-16 20:41:40 +02:00
Alp Mestanogullari
35cae91fdb
Merge pull request #1194 from rl-king/doc-test-warpserver
Testing cookbook recipe: use Warp.testWithApplication to prevent race condition
2019-08-16 20:39:56 +02:00