Commit graph

1991 commits

Author SHA1 Message Date
aaron levin
a09733a560 modify auth-combinator example for gen auth 2016-03-09 22:30:34 +01:00
aaron levin
23da4879ef Add general auth support to servant-client 2016-03-09 22:30:34 +01:00
aaron levin
0461c4642d Add gen. authentication support to servant-server 2016-03-09 22:30:28 +01:00
aaron levin
038abb433d Add general Authentication combinators 2016-03-09 00:15:14 +01:00
Aaron Levin
51dbd82c16 Merge pull request #375 from haskell-servant/auth-basic
Basic Authentication Support
2016-03-08 23:55:58 +01:00
aaron levin
546adc391a basic-auth: config -> context 2016-03-08 23:28:27 +01:00
aaron levin
1e703be15f replace serve with serveWithConfig 2016-03-08 23:13:05 +01:00
aaron levin
60a536382f Update CHANGELOG for basic authentication support 2016-03-08 23:13:05 +01:00
aaron levin
e13965ae34 Add a basic authentication example 2016-03-08 23:13:05 +01:00
aaron levin
f13c61956c Add authentication support to servant-docs 2016-03-08 23:13:05 +01:00
aaron levin
d989d15e4c Add basic-auth support to servant-client 2016-03-08 23:13:05 +01:00
aaron levin
104ac29bf8 Add BasicAuth support to servant-server 2016-03-08 23:13:02 +01:00
aaron levin
9966e5b304 Add userdata to BasicAuth API type 2016-03-08 23:08:17 +01:00
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