Commit Graph

26 Commits

Author SHA1 Message Date
Andres Loeh
e83397a1db Fix the auth combinator example.
This change adapt the auth combinator example to the new router code.
In general, the server interpretation of user-written combinators will
be affected by the new routing code.

The change here also introduces a change in functionality: previously,
wrong authentication triggered a "hard failure", whereas we now trigger
a "soft failure", which is recoverable. For the simple example, this
does not make a lot of difference.

In general, I think having a soft failure is the right option to take
here, although we want a more general story about the relative
priorities of different error codes.
2015-06-04 13:12:21 +02:00
Julian K. Arni
0b3291970f Bump to 0.4.1 2015-05-29 16:24:08 +02:00
Julian K. Arni
7976468a32 Add servant bounds for servant-examples. 2015-05-28 11:22:43 +02:00
Julian K. Arni
15a39b8a7b Upper bounds to base for servant-examples 2015-05-10 14:38:23 +02:00
Alp Mestanogullari
39d114ab12 getting-started -> tutorial 2015-05-10 13:39:18 +02:00
Alp Mestanogullari
4653744706 examples: use 'random' instead of 'probable' for GS9 2015-05-10 12:20:02 +02:00
Alp Mestanogullari
e0f4ed6426 adapt examples to baseurl fix 2015-05-09 18:11:04 +02:00
Alp Mestanogullari
a403eee488 examples: don't depend on pandoc & servant-pandoc, just serve a markdown file 2015-05-09 18:11:04 +02:00
Alp Mestanogullari
616b203792 examples: add GS10 2015-05-09 18:11:04 +02:00
Alp Mestanogullari
77b15e9cdc examples: add GS9 2015-05-09 18:11:04 +02:00
Alp Mestanogullari
0000189760 examples: add GS8 2015-05-09 18:11:04 +02:00
Alp Mestanogullari
c892aae429 examples: add GS7 2015-05-09 18:11:04 +02:00
Alp Mestanogullari
ec95cb0355 examples: add GS6 2015-05-09 18:11:04 +02:00
Alp Mestanogullari
1d3eefaf48 examples: add GS5 2015-05-09 18:11:04 +02:00
Alp Mestanogullari
e81ac8fbc5 examples: add GS4 2015-05-09 18:11:03 +02:00
Alp Mestanogullari
f3002b36da examples: tweak GS3 2015-05-09 18:11:03 +02:00
Alp Mestanogullari
3edc067c66 servant-examples: add GS3 2015-05-09 18:11:03 +02:00
Alp Mestanogullari
66456cafa2 refactor a bit + add GS2 2015-05-09 18:11:03 +02:00
Alp Mestanogullari
2b23253a8d first getting-started example 2015-05-09 18:11:03 +02:00
Julian K. Arni
b81ea9eee2 Bump everything to 0.4 2015-05-09 17:28:52 +02:00
Brandon Martin
7c24c2a5a3 remove unsed type and clean up
merge master and fix conflicts
2015-05-08 15:53:09 -06:00
Julian K. Arni
92d65aaf49 -Wall fixes 2015-05-03 13:36:51 +02:00
Alp Mestanogullari
4c86c7395c add an auth combinator example 2015-04-24 14:00:57 +02:00
Alp Mestanogullari
e371fb886f add an example to show how to apply a WAI middleware 2015-04-24 12:37:33 +02:00
Alp Mestanogullari
ac73b825f0 fix tab warning 2015-04-23 17:10:43 +02:00
Alp Mestanogullari
29632c4ac2 add an example on how to derive client functions for Hackage 2015-04-23 13:07:52 +02:00