Commit graph

1254 commits

Author SHA1 Message Date
Alex Mason
532ea9eb8b Update changelog 2016-09-02 23:06:59 +10:00
Alex Mason
d4cfe3ea74 Update version bounds for time for GHC 8.0 2016-09-02 17:00:26 +10:00
Alex Mason
e15737dd2f Merge branch 'servant-dates' into servant-dates-new
# Conflicts:
#	servant-server/servant-server.cabal
#	servant-server/test/Servant/ServerSpec.hs
#	servant/servant.cabal
#	servant/src/Servant/API.hs
2016-09-02 16:32:51 +10:00
Alex Mason
32fa3490cf Write better docs (and remove last use if undefined) 2016-09-02 16:17:17 +10:00
Alex Mason
7293717a0d Rename {render,parse}Time FTime 2016-09-02 16:16:41 +10:00
Alex Mason
518a2715be Remove use of CPP inside functions 2016-09-02 16:14:25 +10:00
Alex Mason
840eae8cfe various code clean ups, fixing some issues from @jkarni 2016-09-02 15:57:51 +10:00
Alex Mason
f3f61dbbac Rename toProxy to toFormatProxy 2016-09-02 15:46:23 +10:00
Alex Mason
1996ec05f7 Remove use of undefined in Read instance 2016-09-02 15:45:31 +10:00
Alex Mason
bbd6779cc5 Fix doc formatting and add note about + in URLs 2016-09-02 15:44:49 +10:00
Alex Mason
539b8c93fa Add three ISO8601 compatible formats 2016-09-02 15:44:16 +10:00
Alex Mason
523fe563c9 Remove toProxy from API.Times in API 2016-09-02 15:20:27 +10:00
Alex Mason
6462804f52 Merge branch 'master' of https://github.com/haskell-servant/servant into servant-dates
# Conflicts:
#	servant-server/servant-server.cabal
#	servant-server/src/Servant/Server/Internal.hs
#	servant-server/test/Servant/ServerSpec.hs
#	servant/servant.cabal
#	servant/src/Servant/API.hs
2016-09-02 12:53:04 +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