Commit graph

2438 commits

Author SHA1 Message Date
Alex Mason
3e704362c3 Remove error calls and replace with working implementations of ToHttpApiData 2016-09-03 00:23:21 +10:00
Alex Mason
dbab31508e Comma style is hard 2016-09-02 23:59:36 +10:00
Alex Mason
a991cbe77c Revert version bump, update changelog 2016-09-02 23:53:18 +10:00
Alex Mason
5bef76ed03 Remove all use of bytestring-conversion 2016-09-02 23:27:37 +10:00
Alex Mason
9b5a564f3c Remove dependency on bytestring-conversion 2016-09-02 23:14:45 +10:00
Julian Arni
d09b70f427 Merge pull request #586 from cko/edit_contributing_instructions
add 'stack setup' command to CONTRIBUTING.md
2016-09-02 10:00:18 -03:00
Christine Koppelt
85a6d9714c add 'stack setup' command 2016-09-02 12:43:22 +02:00
Alex Mason
a1b23018f9 Replace use of ToByteString with HttpApiData for GetHeaders, fixes servant/#581
* Version bump because this changes the API for GetHeaders
2016-09-02 19:47:32 +10:00
Julian Arni
9e7356c6d3 Merge pull request #506 from haskell-servant/jkarni/servant-js-docs
Add more JS documentation.
2016-08-25 16:14:09 -03:00
Sönke Hahn
23493d982d add Raw to ComprehensiveAPI (and add ComprehensiveAPIWithoutRaw) 2016-08-17 23:36:30 +02:00
Julian K. Arni
b22e4e72f9 Review fixes 2016-08-17 13:37:34 -03:00
Julian K. Arni
7aa550aa05 Make Javascript tutorial compile. 2016-08-17 13:37:34 -03:00
freezeboy
9e71fde756 Fixing typo in Javascript.lhs 2016-08-17 13:37:34 -03:00
Julian K. Arni
95d077f586 Add more JS documentation.
Contributed by freezeboy in PR #11 -
    https://github.com/haskell-servant/haskell-servant.github.io/pull/11/files
2016-08-17 13:37:34 -03:00
Sönke Hahn
f5efaf9416 add changelog entry for CaptureAll 2016-08-17 14:56:29 +02:00
Sönke Hahn
1b83d30cf3 switch ci to stack and add ci cron job to test hackage breakage 2016-08-17 14:12:12 +02:00
Sönke Hahn
4ccfce2331 docs: bump Sphinx version 2016-08-15 13:52:14 +02:00
Sönke Hahn
d0a28e46b0 add missing test file to servant-server.cabal 2016-08-14 22:59:12 +02:00
Sönke Hahn
b1f143010e servant-client: fix compilation when building with http-client < 0.4.30 2016-08-14 20:27:50 +02:00
Oleg Grenrus
490502cad1 Support QuickCheck-2.9 2016-08-10 17:49:56 +03:00
Oleg Grenrus
6999b00297 Support aeson-1 2016-08-07 20:12:09 +03:00
Julian Arni
f2a7adb748 Merge pull request #536 from jkachmar/fix-js-examples
Fix servant-js examples
2016-08-04 14:18:45 -03:00
Oleg Grenrus
197ed0548a Use parseRequest 2016-07-18 14:40:05 +02:00
Sönke Hahn
ecfa78d222 doc: add a tip about how to serve on / 2016-07-15 19:31:16 +02:00
Arian van Putten
a844b7c297 Merge pull request #519 from jml/capture-all-take-2
CaptureAll combinator - take #2
2016-07-11 17:03:01 +02:00
Arian van Putten
c5dcff12d0 Add dummy docs instancE 2016-07-11 14:47:05 +01:00
Arian van Putten
b714640110 Add CaptureAll to ComprehensiveAPI 2016-07-11 14:47:05 +01:00
Jonathan Lange
d945c99f82 Test whole list in CaptureAll client tests 2016-07-11 14:47:05 +01:00
Jonathan Lange
ed702f5927 servant-docs support for CaptureAll 2016-07-11 14:47:05 +01:00
Jonathan Lange
cda31614bf servant-foreign support for CaptureAll 2016-07-11 14:47:05 +01:00
Jonathan Lange
c79a254b36 servant-server support for CaptureAll 2016-07-11 14:46:31 +01:00
Jonathan Lange
7fb9a95711 servant-client support for CaptureAll 2016-07-11 14:46:31 +01:00
Jonathan Lange
0d8a5b5aff servant-mock support for CaptureAll 2016-07-11 14:46:31 +01:00
Jonathan Lange
a616a8d689 Add CaptureAll to the API definitions 2016-07-11 14:46:31 +01:00
Sönke Hahn
8eb412ff23 bump version 2016-07-10 17:21:36 +02:00
Arian van Putten
d782ef19f7 Fix a warning that the test suite gave 2016-07-10 16:59:54 +02:00
Arian van Putten
05379ed7e3 Replace all occurances of () with NoContent
We use NoContent to signify an empty response nowadays. This commit
replaces all occurences of () with NoContent so that all packages use
the new semantics.
2016-07-10 16:58:59 +02:00
Sönke Hahn
d45c7c5897 support http-client-0.5 2016-07-09 18:36:00 +02:00
Oleg Grenrus
a7a3294752 Add bounds to servant, servant-server and servant-clients
(cherry picked from commit a0d5ed9aea)
2016-07-09 18:33:19 +02:00
Julian Arni
af7391c7a9 Merge pull request #541 from mrkkrp/add-has-link-instance-for-basic-auth
Add ‘HasLink’ instance for ‘BasicAuth’
2016-07-07 18:23:11 -03:00
mrkkrp
9cabc8d320 Add ‘HasLink’ instance for ‘BasicAuth’
Close #539.
2016-07-07 23:42:37 +03:00
Christian Marie
f0d14a7d85 Merge pull request #532 from phadej/patch-1
Add upper bounds http-client <0.5
2016-07-06 21:14:28 +10:00
Joseph Kachmar
a8e1315ee7 Fix servant-js examples
The Servant.JS Counter example was broken:

- `axios` was not completely applied. It now uses `defAxiosOptions`
similarly to the `angular` example
- `OverloadedStrings` was required, but not included
2016-07-05 11:34:30 -04:00
Oleg Grenrus
dc9afe6405 Add upper bounds http-client <0.5 2016-07-05 12:27:30 +03:00
Sönke Hahn
5effdfdbbb Rename type variables 'layout' and 'sublayout' to 'api' 2016-07-03 22:46:46 +08:00
Julian K. Arni
023368c396 CPP deprecated parseUrl function. 2016-07-03 22:43:52 +08:00
Sönke Hahn
0f1e5475b9 doc: add two more examples for servant projects 2016-07-03 11:53:20 +08:00
Julian Arni
2d8fa20901 Merge pull request #526 from ehamberg/mimerender-doc-fix
Fix example `MimeRender` instance
2016-07-01 13:45:03 +02:00
Erlend Hamberg
d81e15b5e5 Fix example MimeRender instance
The  `MimeRender` instance in the documentation was incomplete and expected one more argument.
2016-06-14 14:20:35 +02:00
Sönke Hahn
3c27ff5a32 added test script for stack files (and fixed stack for ghc-7.8) 2016-05-29 00:03:46 +08:00