Commit graph

1037 commits

Author SHA1 Message Date
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
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