Commit graph

83 commits

Author SHA1 Message Date
Alp Mestanogullari
8efabed5c6 Revamp static file serving module.
Instead of only exposing 'serveDirectory', which picks a specific static file
serving strategy (file server settings), we now expose 4 different variants each
corresponding to an variant of StaticSettings in wai-app-static.

In addition to these, we expose a more flexible 'serveDirectoryWith' function
which allows the user to specify some arbitrary StaticSettings, if the 4
existing variants do not cover a user's needs.
2017-01-17 14:14:46 +02:00
Oleg Grenrus
d5e73bf577 Make servant buildable with cabal new-build 2017-01-16 11:03:06 +02:00
Oleg Grenrus
34166ae749 Update tutorial (NT changes) 2016-11-16 08:29:36 +02:00
Julian K. Arni
4fd31a60fb Bump version.
To 0.9.1.1
2016-10-27 13:25:27 +02:00
Julian K. Arni
9e809a0756 Bump version.
To 0.9.1.
2016-10-26 17:35:57 +02:00
Julian K. Arni
5e09493aa6 Add more documentation about response headers to tutorial. 2016-10-26 17:17:34 +02:00
Ruben Moor
f352f3b136 Update Authentication.lhs 2016-10-14 11:09:46 -04:00
Julian K. Arni
3ddf225cec Bump version.
To 0.9.0.1.
2016-10-09 22:52:49 +02:00
Sönke Hahn
bc1a3e7faa bump version 2016-09-17 11:47:57 -04:00
Christian Klinger
7a7f7d7cf5 changed ClientM to be a Reader of ClientEnv 2016-09-08 00:17:13 +02:00
Julian K. Arni
bf824a3889 Bump version to 0.8.1 2016-09-02 13:09:47 -03:00
Cornelius Diekmann
47eed38ee6 Fixed typo: s/real/realm/
Actually, I'm just trying to learn servant and I'm reading the doc for the first time. But this just looks like a typo to me.
2016-09-02 16:38:03 +02:00
Julian K. Arni
b22e4e72f9 Review fixes 2016-08-17 13:37:34 -03:00
Julian K. Arni
7aa550aa05 Make Javascript tutorial compile. 2016-08-17 13:37:34 -03:00
freezeboy
9e71fde756 Fixing typo in Javascript.lhs 2016-08-17 13:37:34 -03:00
Julian K. Arni
95d077f586 Add more JS documentation.
Contributed by freezeboy in PR #11 -
    https://github.com/haskell-servant/haskell-servant.github.io/pull/11/files
2016-08-17 13:37:34 -03:00
Sönke Hahn
ecfa78d222 doc: add a tip about how to serve on / 2016-07-15 19:31:16 +02:00
Sönke Hahn
8eb412ff23 bump version 2016-07-10 17:21:36 +02:00
Arian van Putten
d782ef19f7 Fix a warning that the test suite gave 2016-07-10 16:59:54 +02:00
Christopher League
69d3e7355a Fix minor typo in tutorial 2016-05-24 23:11:54 -04:00
Julian Arni
ff40b327bc Merge pull request #504 from haskell-servant/jkarni/doc-fixes
Doc fixes
2016-05-12 09:53:35 +02:00
Julian K. Arni
aed6f7b910 Review fix 2016-05-11 10:17:24 +02:00
Sönke Hahn
d8a4cce691 version bump 2016-05-11 12:09:25 +08:00
Julian K. Arni
e0ba34372e Remove link to 0.4 version of tutorial.
Stackage has 0.5 already, and the 0.4 version has numerous mistakes.
2016-05-10 13:39:01 +02:00
Julian K. Arni
efbe6fd498 Use NoContent and fix content-type lists in docs. 2016-05-10 13:21:34 +02:00
Sönke Hahn
e0216781b0 set the homepage to readthedocs 2016-04-22 14:12:21 +08:00
Sönke Hahn
b26bbfccda travis: enable -Wall -Werror 2016-04-21 13:06:10 +08:00
Sönke Hahn
ab6131d733 version bump 2016-04-15 18:35:17 +08:00
Luke Cycon
21546991af Introduce a Handler alias for ExceptT ServantErr IO
Fixes #434
2016-04-11 22:27:29 -07:00
Luke Cycon
353c1798e1 Update some docs and the changelogs 2016-04-11 11:19:18 -07:00
Sönke Hahn
c2c9bef571 version bump 2016-04-07 18:24:29 +08:00
Sönke Hahn
14a8139cbe version bump 2016-04-04 16:22:11 +08:00
Alexander Kjeldaas
4f558971d1 Removed FromText references from docs. 2016-04-01 22:56:19 +02:00
mbg
a9200cd050 Modified the tutorial to reflect the changes to servant-client (explicit parameters) 2016-03-30 22:50:29 +01:00
mbg
19a4e037d8 Updated tutorial to reflect the updated client function in servant-client 2016-03-28 15:27:51 +01:00
Alp Mestanogullari
5b068b3ad3 Authentication.lhs in tutorial project + toc 2016-03-26 21:14:18 +01:00
Jonathan Curran
9c4aeec792 Add link to old tutorial 2016-03-22 08:32:15 -05:00
Aaron Levin
fbf7c02d73 Merge pull request #416 from haskell-servant/jkarni/basic-auth-tutorial
Add basic auth to tutorial
2016-03-20 22:21:25 +01:00
Julian K. Arni
4e37365534 Fix type-synonym in tutorial 2016-03-20 19:04:49 +01:00
Julian K. Arni
f742a5c4c8 Simplify auth section in apitypes 2016-03-19 18:15:29 +01:00
Julian K. Arni
45eba28da9 re-add conclusion 2016-03-19 17:26:52 +01:00
aaron levin
c22d74ca55 Add basic authentication to tutorial 2016-03-19 17:25:44 +01:00
Sönke Hahn
610b837e8d tutorial: html tweak 2016-03-19 17:40:00 +08:00
Julian K. Arni
4e90308b85 Fix compilation 2016-03-19 17:40:00 +08:00
Sönke Hahn
b97a352773 tutorial: updated Javascript.lhs (and wrote some tests for it) 2016-03-19 17:40:00 +08:00
rwobben
0985e51022 deleted the Trans.Monad.Except 2016-03-19 17:40:00 +08:00
Sönke Hahn
027cd82725 tutorial: corrected curl examples 2016-03-19 17:40:00 +08:00
rwobben
1b928878dd added aeson-compat to the cabal file 2016-03-19 17:40:00 +08:00
Sönke Hahn
8e4ab06030 tutorial: read through Docs.lhs 2016-03-19 17:40:00 +08:00
Sönke Hahn
ac02a28527 tutorial: formatting for bash sections 2016-03-19 17:40:00 +08:00