Commit Graph

134 Commits

Author SHA1 Message Date
Michael Snoyman
cbbeb3b7f6 exceptions 0.6 2014-05-05 21:20:26 +03:00
Michael Snoyman
e9311d0e1f ToWidget instances for Css, JS 2014-04-23 16:31:13 +03:00
Michael Snoyman
dfd7965b6b Workarounds for older bytestrings 2014-04-16 14:31:54 +03:00
Michael Snoyman
e036f934f6 Add MonadCatch for WidgetT 2014-04-14 08:32:55 +03:00
Michael Snoyman
7133f75bf3 Note about strictness annotations 2014-04-10 20:36:46 +03:00
Michael Snoyman
b67d225f56 Use mplus (thanks @meteficha) 2014-04-10 20:30:14 +03:00
Michael Snoyman
4dc7a1258c Deeply evaluate session and headers #712 2014-04-10 20:21:49 +03:00
Michael Snoyman
b8a73d9b7f defaultMiddlewares and MonadCatch instance 2014-04-10 15:04:29 +03:00
Michael Snoyman
5a24477316 Fix some CPP 2014-04-09 07:40:38 +03:00
Michael Snoyman
7512cc2bfc Add ToContent etc instance for Css and Javascript 2014-04-03 12:23:38 +03:00
Michael Snoyman
5edb77eb80 Use defaultShouldDisplayException 2014-03-30 09:38:36 +03:00
Michael Snoyman
76cff2ab23 MonadReader instance for HandlerT and WidgetT 2014-03-28 13:15:51 +03:00
Michael Snoyman
d764464152 conduit 1.1 2014-03-27 16:38:52 +02:00
Michael Snoyman
60b4684119 Drop usage of failure 2014-03-26 10:38:51 +02:00
Felipe Lessa
ddf64c1481 Helper data type for redirecting with fragment identifiers. 2014-03-19 19:52:17 -03:00
Michael Snoyman
c36dbf9302 Add missing import 2014-03-12 06:50:33 +02:00
Greg Weber
4b8cb247ce add forkHandler. closes #680
Also fix import warnings in Handler
2014-03-11 18:33:45 -07:00
Greg Weber
8535f19583 use fewer imports 2014-03-11 17:14:24 -07:00
Michael Snoyman
56e42936b0 sendRawResponse 2014-03-06 16:34:27 +02:00
Greg Weber
a62157097c parseJsonBody_ -> requireJsonBody. closes #678 2014-03-04 10:06:56 -08:00
Michael Snoyman
f4bbe1cc52 Set content-length whenever evaluating a response body 2014-03-02 14:30:46 +02:00
Michael Snoyman
9ec14e7f53 Log exceptions from Warp 2014-02-05 09:48:33 +02:00
Michael Snoyman
e7bddafcbb Merge pull request #662 from yesodweb/never-expires-cache-control
add cache-control to neverExpires
2014-02-03 20:30:31 -08:00
Greg Weber
f20c236d50 add cache-control to neverExpires 2014-02-03 16:33:29 -08:00
Michael Snoyman
86b7f5ea43 Test case and fix for notCaught3 in #658 2014-01-27 17:20:02 +02:00
Michael Snoyman
807ff497f9 aeson 0.7 support 2014-01-15 19:12:57 +02:00
Michael Snoyman
45eadd3e09 fast-logger 2.1 support 2013-12-26 13:53:39 +02:00
Michael Snoyman
d4998d2246 Temp file upload changes in wai-extra 2.0.1 #630 2013-12-13 06:45:40 +02:00
Michael Snoyman
cf0fad20bc Merge branch 'master' of github.com:yesodweb/yesod 2013-12-03 12:34:55 +02:00
Michael Snoyman
cca38cfe03 Expand prefix on generated identifiers #625 2013-12-03 12:01:11 +02:00
Michael Snoyman
c670c54ba4 fast-logger 2.0 2013-12-03 11:55:39 +02:00
Michael Snoyman
b18e43c050 Incomplete fast-logger 2.0 changes 2013-12-02 19:40:03 +02:00
Michael Snoyman
3330e89e10 Merge remote-tracking branch 'origin/master' into wai-2.0 2013-11-12 19:40:51 +02:00
Michael Snoyman
11b49dfe9e Merge remote-tracking branch 'origin/master' into HEAD 2013-11-12 19:29:34 +02:00
Michael Snoyman
dce5ea942e Fix a faulty rewrite rule 2013-11-12 19:29:18 +02:00
Michael Snoyman
d34c3f26dc WAI 2.0 updates 2013-11-10 16:49:26 +02:00
Michael Snoyman
6f495fc758 Merge branch 'master' into wai-2.0
Conflicts:
	yesod-static/yesod-static.cabal
2013-11-10 13:46:58 +02:00
Michael Snoyman
3a9fa33b7e Export a TH-used identifier #609 2013-10-13 12:11:15 +03:00
Michael Snoyman
5b379067b2 Add warning about calling parseJsonBody twice 2013-09-08 16:52:56 +02:00
Michael Snoyman
366127527a Fix some CPP 2013-08-19 13:20:44 +03:00
Michael Snoyman
2d0f560bea wai 2.0 2013-08-19 12:51:54 +03:00
Michael Snoyman
aa5781d4e4 shouldLogIO 2013-08-07 07:22:28 +03:00
Michael Snoyman
d5b66d35d5 Allow overriding status code in error handlers 2013-08-04 08:55:42 +03:00
Jonathan Fischoff
28e7bc26b8 Adding a ToTypedContent constraint to yesodMiddleware for response logging, etc. 2013-06-17 14:24:50 -07:00
Michael Snoyman
772563c46b lookupHeader/lookupHeaders 2013-05-30 08:31:24 +03:00
Michael Snoyman
743966898d Move away from RepHtml some more 2013-05-20 09:16:53 +03:00
Michael Snoyman
44c5b03a6e Deprecate hamletToRepHtml 2013-05-19 19:33:48 +03:00
Michael Snoyman
89203d0630 returnJson and provideJson 2013-05-09 08:39:06 +03:00
Greg Weber
eb779fb0f6 document UniqueList 2013-05-06 16:57:13 -05:00
Felipe Lessa
5c434b089a Rewrite handlerToIO so that it works with Yesod 1.2.
Since the new YesodRequest has strict fields, handlerToIO didn't
work at all.  Even if it did, it had a reference to its parent's
ResourceT's internal state, so its chances of blowing up were
quite high.

The new implementation takes a whitelist approach of taking what
we want instead of clearing what we do not want.  Also, it takes
care of using a new runResourceT.
2013-05-03 21:20:31 -03:00