Commit graph

808 commits

Author SHA1 Message Date
aaron levin
ce554a2f6b Properly export ToAuthInfo and AuthenticationInfo 2015-10-01 15:31:51 +02:00
aaron levin
6a626cdecd Remove client-specific data from AuthInfo 2015-10-01 15:31:15 +02:00
aaron levin
a6f00d3483 Update CHANGELOG 2015-10-01 15:31:15 +02:00
aaron levin
2adbb4df55 serant-docs support for Authentication 2015-10-01 15:30:56 +02:00
aaron levin
d9c2ebeb01 Export AuthenticateRequest instance for BasicAuth 2015-10-01 15:30:56 +02:00
aaron levin
1ba6dc8300 Fix spelling mistake 2015-10-01 15:30:56 +02:00
aaron levin
30340b5b11 Fix warnings 2015-10-01 15:30:56 +02:00
aaron levin
dd3963f363 Add to changelog 2015-10-01 15:30:56 +02:00
aaron levin
6672ee7918 Add authentication to servant-client 2015-10-01 15:30:32 +02:00
aaron levin
4fce780c44 CHANGELOG entries for servant and servant-server 2015-10-01 15:27:43 +02:00
aaron levin
873f79ef79 Small haddocks changes for authentication 2015-10-01 15:26:46 +02:00
aaron levin
77d366c189 Fix spelling issues in auth-combinator 2015-10-01 15:26:46 +02:00
aaron levin
ece355bf58 Remove derived 'Show' instance for 'RR' 2015-10-01 15:26:46 +02:00
aaron levin
9aaf426be0 Remove 'Show' instance for RouteMismatch 2015-10-01 15:26:46 +02:00
Alp Mestanogullari
6906b553fb fix another build error 2015-10-01 15:26:46 +02:00
Alp Mestanogullari
5bd4789387 fix some build errors on 7.8/7.10 2015-10-01 15:26:46 +02:00
aaron levin
9ffe361363 explicitly import 'mempty' for GHC 7.8.4 2015-10-01 15:26:46 +02:00
aaron levin
a1628946c1 Use new strictProtect (arguments were flipped) 2015-10-01 15:26:46 +02:00
aaron levin
4efee63380 Swap AuthHandlers and subserver placement
if subserver is last it makes it easier to work with.
2015-10-01 15:26:46 +02:00
aaron levin
b9000d000d Fix authentication example 2015-10-01 15:26:46 +02:00
aaron levin
b96dc3da2f Update tests for new authentication framework 2015-10-01 15:26:46 +02:00
aaron levin
ef4ab91342 Cleanup import failures and compiler warnings 2015-10-01 15:26:46 +02:00
Andres Loeh
272091effe Second Iteration of Authentication
Implemented with the AuthProtected data family as per alp's suggestion.
2015-10-01 15:26:46 +02:00
aaron levin
d2e2122933 Add BasicAuth tests 2015-10-01 15:21:11 +02:00
aaron levin
17885bc50f Authentication cleanup 2015-10-01 15:21:11 +02:00
aaron levin
1cacf850bf First attempt at BasicAuth combinators
Add `authVal` to BasicAuth, assist type inference

Type inference is difficult with `BasicAuth` and  `BasicAuthLookup`.
This is because `BasicAuthLookup` introduces a type variable `authVal`
and is not bound to anything when used in the context of `HasServer`'s
type.

Servant compiles (temp commit - delete)
2015-10-01 15:21:11 +02:00
aaron levin
ca88a72bde improved description of BasicAuth lookup 2015-10-01 15:21:11 +02:00
aaron levin
4add59bbd1 Add word8 dependency 2015-10-01 15:21:11 +02:00
aaron levin
2e4e8e89a2 Add base64-bytestring dependency for basic auth 2015-10-01 15:21:11 +02:00
aaron levin
20599d7bba Add BasicAuth data type 2015-10-01 15:21:11 +02:00
Julian Arni
52b58d0fe9 Merge pull request #242 from haskell-servant/jkarni/http-client-manager
Pass in Manager as argument to 'client'
2015-09-30 13:36:51 +02:00
Julian K. Arni
cd7906d72e Changelog updates and 7.8 fixes. 2015-09-28 18:24:27 +02:00
Julian K. Arni
7049383e77 unsafegetmeamanager 2015-09-28 18:07:12 +02:00
Julian K. Arni
f14d227b11 More instances for Alternative 2015-09-28 18:06:49 +02:00
Julian K. Arni
de447dfe22 Pass in Manager as argument to 'client' 2015-09-28 16:34:53 +02:00
Julian Arni
1d248a573f Merge pull request #238 from fizruk/simplify-ToSample-#211
Simplify ToSample (remove redundant second parameter)
2015-09-24 15:03:17 +02:00
Nickolay Kudasov
f0c2284c30 Fix docs for ToSamples 2015-09-24 15:25:58 +03:00
Nickolay Kudasov
479290affd Update changelog 2015-09-24 14:29:27 +03:00
Nickolay Kudasov
5aa0e2e733 Fix servant-docs test suite and add Headers to TestApi 2015-09-24 14:02:21 +03:00
Nickolay Kudasov
0082d2bd2f Remove redundant second argument of ToSample class 2015-09-24 14:00:39 +03:00
Julian Arni
c4561b4c6c Merge pull request #234 from haskell-servant/jkarni/werror
Turn on Werror on travis.
2015-09-23 20:50:27 +02:00
Julian K. Arni
4206285e2d CPP NullaryTypeClass 2015-09-23 20:39:46 +02:00
Julian K. Arni
487f323f2f More Werror fixes 2015-09-23 20:30:45 +02:00
Julian K. Arni
3c3efda0d5 Extra file 2015-09-23 20:18:52 +02:00
Julian K. Arni
7e3fdd6614 Use --ghc-options rather than --pendantic.
The latter seems to override cabal.
2015-09-23 20:18:52 +02:00
Julian K. Arni
dfc49dd0a0 Further cleanup 2015-09-23 20:18:52 +02:00
Julian K. Arni
965063171b Janitoring 2015-09-23 20:18:52 +02:00
Julian K. Arni
b50e9128c1 Turn on Werror on travis. 2015-09-23 20:16:34 +02:00
Julian Arni
a1dc0561a3 Merge pull request #232 from dredozubov/servant-foreign
Common code generation types and helpers extracted to servant-foreign
2015-09-23 14:41:59 +02:00
Denis Redozubov
7b58f0463a reduce synopsis to make cabal happy 2015-09-23 01:04:14 +03:00