Commit graph

2433 commits

Author SHA1 Message Date
Sönke Hahn
ad48c0efa6 tutorial: allow older ghcs in cabal file 2016-03-19 17:39:59 +08:00
Sönke Hahn
df363cecb0 tutorial: make Client.lhs compile 2016-03-19 17:39:59 +08:00
Andres Loeh
52b1a233fe Add / expand the documentation of the NoContent case. 2016-03-19 17:39:59 +08:00
Andres Loeh
21426a223e Rewrite the part on verbs. 2016-03-19 17:39:59 +08:00
Sönke Hahn
4fbf28c3c0 tutorial: add markdown-unlit as a cabal dependency 2016-03-19 17:39:59 +08:00
Sönke Hahn
207d51bbf9 docs: add documentation on how to build the docs locally 2016-03-19 17:39:59 +08:00
Sönke Hahn
c53945098d tutorial: compile during CI 2016-03-19 17:39:59 +08:00
Julian K. Arni
8990ebb16e Fix toctree and page titles 2016-03-19 17:39:59 +08:00
Julian K. Arni
8e63078691 compiling ApiType.lhs 2016-03-19 17:39:59 +08:00
Julian K. Arni
c6dfac5203 Remove matrix params 2016-03-19 17:39:59 +08:00
Julian K. Arni
f601cbf3b1 Fix cabal file, stack.yaml, and sources.txt 2016-03-19 17:39:59 +08:00
Julian K. Arni
a7c3880c67 Remove convert script 2016-03-19 17:39:59 +08:00
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