Commit graph

1228 commits

Author SHA1 Message Date
aaron levin
84172c6135 Augment Delayed to handle authentication. 2016-03-08 23:08:17 +01:00
aaron levin
6dc577c821 Add basic-auth data types to servant core 2016-03-08 23:08:17 +01:00
Sönke Hahn
c6b6639453 reworded Context comment 2016-03-07 23:12:25 +08:00
Sönke Hahn
8ef4d4543b renaming: Config -> Context 2016-03-07 23:12:24 +08:00
Alp Mestanogullari
65d0a51d60 Merge pull request #399 from eskimor/master
Make ServantErr throwable
2016-03-06 10:38:33 +01:00
Robert Klotzner
deb2ccaab0 Removed comment
as suggested by @soenkehahn
2016-03-04 12:11:44 +01:00
Robert Klotzner
c311f1a90b Added DeriveDataTypeable ghc-7.8.4 needs that. 2016-02-26 13:01:54 +01:00
Robert Klotzner
b1ff2beb8a Make ServantErr throwable 2016-02-26 12:27:19 +01:00
Ben Gamari
c6e51260f0 ContentTypes: Add constraints
GHC 8.0 seems to want these.
2016-02-20 13:37:02 +01:00
Ben Gamari
3467eba44f servant-server: Bump transformers upper bound 2016-02-20 13:36:50 +01:00
Julian Arni
d46cde913c Merge pull request #387 from ondrap/master
Bump aeson version.
2016-02-19 15:33:11 +01:00
Julian Arni
bfb64cda0b Merge pull request #381 from haskell-servant/jkarni/default-config-for-serve
Add 'serveWithConfig'.
2016-02-19 15:29:54 +01:00
Ondrej Palkovsky
2cdd6a5fea Bump aeson version. 2016-02-18 22:45:05 +01:00
Julian K. Arni
f137972e5d Add 'serveWithConfig'.
And keep the old signature for 'serve'
2016-02-18 16:36:24 +01:00
Andres Loeh
1e5bdd6545 Delete .ghci file. 2016-02-18 15:49:26 +01:00
Sönke Hahn
0090cc7ff9 Merge pull request #380 from gasi/patch-1
Fix minor typo: succesful --> successful
2016-02-18 15:22:44 +01:00
Denis Redozubov
e35b4211c4 update servant-foreign changelog 2016-02-18 09:34:42 +03:00
Daniel Gasienica
e1947b9b40 Fix minor typo: succesful --> successful 2016-02-17 21:13:31 -08:00
Denis Redozubov
8dc73285ee Merge pull request #372 from dredozubov/stylish-servant-foreign
Make servant-foreign code nicer
2016-02-17 11:46:26 +03:00
Denis Redozubov
e6e13fde84 Make servant-foreign code nicer
* non-messy imports
* got rid of most long lines (>80 chars)
* prisms for sum types and newtypes(we use lens anyway, so why not)
* consistent indentation
2016-02-11 15:26:01 +03:00
Julian Arni
761443fffe Merge pull request #357 from haskell-servant/jkarni/remove-memoReqBody
Remove memoReqBody.
2016-02-05 20:05:49 +01:00
Andres Löh
2ae504143a Merge pull request #362 from kosmikus/ks-cleanup
Various small and hopefully uncontroversial changes.
2016-01-28 12:34:30 +01:00
Andres Loeh
23a31a8935 Eta-reduce the verb-synonyms. 2016-01-28 11:46:16 +01:00
Andres Loeh
927009408b Small whitespace fix. 2016-01-28 11:08:22 +01:00
Andres Loeh
2934bac40c Small whitespace fix. 2016-01-28 11:07:59 +01:00
Andres Loeh
c532ecffd5 Small doc fix. 2016-01-28 11:07:36 +01:00
Julian K. Arni
3bd3eff488 Add test for failing 400 2016-01-26 18:47:34 +01:00
Julian K. Arni
1aeee3ef94 Remove memoReqBody. 2016-01-26 14:43:15 +01:00
Sönke Hahn
b9fb80ac5e server/config: tweak changelog 2016-01-21 18:04:00 +01:00
Sönke Hahn
09b22452aa server/config: added more documentation 2016-01-21 17:58:50 +01:00
Sönke Hahn
df09f8616e config: remove HasConfig and make HasServer take config as a parameter 2016-01-21 17:58:50 +01:00
Julian K. Arni
35bdc54dee Update changelogs 2016-01-21 17:55:02 +01:00
Julian K. Arni
b8f453127b Documentation for config. 2016-01-21 17:55:02 +01:00
Sönke Hahn
2445855203 servant-server: renaming of type variable 2016-01-21 17:55:02 +01:00
Sönke Hahn
e726db9fe7 updated stack-ghc-7.8.4.yaml 2016-01-21 17:55:02 +01:00
Sönke Hahn
2176fecfda config: added instances for all interpretations 2016-01-21 17:55:02 +01:00
Sönke Hahn
67315c4487 server: added Config machinery 2016-01-21 17:55:02 +01:00
Julian Arni
06ad05e82e Merge pull request #346 from haskell-servant/jkarni/license
Change copyright to servant contributors
2016-01-20 17:54:55 +01:00
Julian K. Arni
be36e5b313 Change copyright to servant contributors 2016-01-20 16:58:29 +01:00
Christian Marie
9c67267071 servant-server: fix comment typo 2016-01-19 11:06:38 +11:00
Sönke Hahn
ac930ef198 ComprehensiveAPI: add some comments (and minor tweaks) 2016-01-18 20:06:45 +01:00
Sönke Hahn
14aac5fc9f servant-mock: support for response headers 2016-01-18 19:53:19 +01:00
Sönke Hahn
3fdaffa08d servant-mock: add simple test case 2016-01-18 13:51:19 +01:00
Sönke Hahn
39b0507098 servant-mock: add .ghci 2016-01-18 12:28:29 +01:00
Sönke Hahn
290e4ef1ba add RemoteHost to ComprehensiveAPI 2016-01-18 12:28:29 +01:00
Sönke Hahn
efd12053af servant-docs: add .ghci 2016-01-18 12:28:29 +01:00
Sönke Hahn
b20b8d9770 add HasClient instance for HttpVersion 2016-01-18 12:28:29 +01:00
Sönke Hahn
e5974ec94d add ComprehensiveAPI to test whether we're missing instances
Some of the combinators are commented atm, because we *are* missing combinators.
2016-01-18 12:28:29 +01:00
Julian Arni
b8d70e303a Merge pull request #330 from haskell-servant/jkarni/at-maintainers
Fix maintainer's @
2016-01-16 17:59:22 +01:00
Julian Arni
a957fefbd2 Merge pull request #332 from haskell-servant/jkarni/fix-doc-headers
Fix extra quotes in Verb headers for docs.
2016-01-16 17:59:04 +01:00