Commit graph

1321 commits

Author SHA1 Message Date
Julian K. Arni
8b1bf02af8 Remove bird-tracks 2016-03-19 17:39:59 +08:00
Julian K. Arni
7af73d63ea Explicit ignore 2016-03-19 17:39:59 +08:00
Julian K. Arni
5542ce8916 Start tutorial project 2016-03-19 17:39:59 +08:00
Julian K. Arni
62fffed1f1 Remove servant-examples 2016-03-19 17:39:59 +08:00
Sönke Hahn
db602e8a79 tutorial: add tutorial compiling script and conversion script 2016-03-19 17:39:59 +08:00
Sönke Hahn
1d4e3a1e5b Moved tutorial to servant-examples/tutorial and include it in doc/index.rst 2016-03-19 17:39:59 +08:00
Sönke Hahn
7bb393fe17 switch to rtd default theme 2016-03-19 17:39:59 +08:00
Julian K. Arni
6c0a7ba8d8 Fix links 2016-03-19 17:39:59 +08:00
Julian K. Arni
3b3c929b40 Move tutorial files over 2016-03-19 17:39:59 +08:00
Nickolay Kudasov
94e07f9519 Add basic configuration for Read The Docs (based on Stack's) 2016-03-19 17:39:59 +08:00
Sönke Hahn
d96a8a0f3a add README for release process 2016-03-19 17:21:05 +08:00
Julian Arni
da1beba7f4 Merge pull request #404 from haskell-servant/base-compat
prefer base-compat to CPP macros
2016-03-18 13:53:13 +01:00
Denis Redozubov
f5fe9a060c Merge pull request #351 from purcell/variable-foreign-types
servant-foreign: don't constrain ForeignType to Text
2016-03-15 09:40:53 +03:00
Steve Purcell
5188e842a9 [servant-foreign] Parameterise type classes with a foreign representation type
We allow a user-specified type to represent the foreign type of haskell
types encountered in the API. This lets users map Integer, Date etc. to
representations other than Text, and have those representations
available in the returned list of Req.

For example, we might want to map a type which has an instance of
Generic to both a foreign type name and a class declaration for that
foreign type such that it can encode/decode itself to JSON. The previous
limitation to a single Text output prevented this case.
2016-03-14 10:34:53 +13:00
Denis Redozubov
460a0c90b4 more purging 2016-03-13 12:44:38 +03:00
Denis Redozubov
54273878b9 little improvements 2016-03-13 12:44:38 +03:00
Denis Redozubov
7484780013 import only (<>) from Data.Monoid 2016-03-13 12:44:12 +03:00
Denis Redozubov
a22a981190 update base-compat imports 2016-03-13 12:44:12 +03:00
Denis Redozubov
c755f47806 use base-compat in servant-server 2016-03-13 12:42:41 +03:00
Denis Redozubov
c528eb24ca use base-compat 2016-03-13 12:42:41 +03:00
Steve Purcell
207f05e759 [servant-foreign] Parameterise Req with a foreign type 2016-03-13 18:35:49 +13:00
Steve Purcell
bfe812f5d9 [servant-foreign] Normalise names of arg field accessors 2016-03-13 17:27:31 +13:00
Denis Redozubov
e34003e9af Merge pull request #378 from haskell-servant/textly-typed
Utilize newtypes in servant-foreign
2016-03-12 16:16:28 +03:00
Denis Redozubov
d8e98a1f16 fix lens export mismatch 2016-03-12 13:59:40 +03:00
Denis Redozubov
36ddf7663a fix 7.8.4 compilation 2016-03-12 12:51:22 +03:00
Denis Redozubov
e5635a044e use newtypes in servant-foreign 2016-03-12 12:51:22 +03:00
Aaron Levin
16e7234ab1 Merge pull request #376 from haskell-servant/auth-gen
Generalized Auth Support
2016-03-09 23:27:13 +01:00
aaron levin
b3af5a8d95 Move general authentication to Experimental module
Removes the UndecidableInstances extension in the module containing the
HasServer instances.
2016-03-09 22:30:34 +01:00
aaron levin
29f8e64e1c Add Experimental warnings on combinators 2016-03-09 22:30:34 +01:00
aaron levin
cd31b20cd8 Update CHANGELOG for generalized authentication support 2016-03-09 22:30:34 +01:00
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