Commit Graph

452 Commits

Author SHA1 Message Date
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
294641c404 Version bumps 2013-11-10 07:48:01 +02:00
Michael Snoyman
f04c4c456c Add an extensions line for TH 2013-10-15 10:30:05 +03:00
Michael Snoyman
a94566e22e Version bump 2013-10-13 13:06:41 +03:00
Michael Snoyman
3a9fa33b7e Export a TH-used identifier #609 2013-10-13 12:11:15 +03:00
Michael Snoyman
8fb2d180d5 cereal 0.4 fpco/stackage#121 2013-10-01 15:42:46 +03:00
Michael Snoyman
c876974656 version bumps 2013-09-10 20:43:42 +03:00
Michael Snoyman
5b379067b2 Add warning about calling parseJsonBody twice 2013-09-08 16:52:56 +02:00
Michael Snoyman
8ae0b789e1 Merge branch 'master' into wai-2.0 2013-09-08 14:25:10 +02:00
Michael Snoyman
db17c0ade1 shakespeare 1.2/version bumps 2013-09-08 13:48:24 +02:00
Michael Snoyman
94f42659ea Merge branch 'master' into wai-2.0 2013-09-08 13:23:09 +02:00
Michael Snoyman
e29cd12ff8 Version bumps 2013-09-08 10:46:37 +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
Michael Snoyman
aae3c7a4fb Version bumps 2013-06-24 13:57:07 +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
8e5c419dd5 Move some Yesod exports to Yesod.Core 2013-06-06 10:05:22 +03: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
Michael Snoyman
64f51da0df Require lifted-base 0.1.2 (Data.IORef.Lifted) 2013-05-07 11:15:59 +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
Felipe Lessa
c19501b1d8 yesod-core: New 'customizeSessionCookies' helper function. 2013-05-03 20:56:52 -03:00
Michael Snoyman
1bcc05aee7 Workaround for #545 2013-05-03 08:44:23 +03:00
Michael Snoyman
3e7d4eeaa2 Fix tests in tarball #543 2013-05-03 08:07:37 +03:00
Michael Snoyman
3956958b7a Better Show HandlerContents 2013-05-01 14:38:21 +03:00
Michael Snoyman
abd4cc5fc2 Export yesodRunner 2013-04-23 11:55:27 +03:00
Michael Snoyman
42943deab9 Better route type parsing (fixes #471) 2013-04-22 15:01:52 +03:00
Michael Snoyman
16260f3e37 RouteAttrs (fixes #531) 2013-04-21 17:14:40 +03:00
Michael Snoyman
a013eb2295 maximumContentLength is a Maybe 2013-04-18 10:19:50 +03:00
Michael Snoyman
64ef26104d Route attributes/appcache example #518 2013-04-11 17:07:22 +03:00
Michael Snoyman
307540fc04 GHC 7.6.2 2013-04-09 06:43:30 +03:00
Greg Weber
a357922d39 setHeader -> addHeader 2013-04-03 15:24:12 -07:00
Greg Weber
8429a66ad8 not authenticated returns 401, not 403 2013-04-03 07:47:32 -07:00
Michael Snoyman
e663e84caf Deprecate setHeader, provide addHeader #524 2013-04-03 17:28:44 +03:00
Greg Weber
18be9bc206 accept header content negotiation
* look at wildcards */* and main/*
* return a 406 when nothing matches the accept header
2013-04-02 08:39:56 -07:00
Greg Weber
be04f4888b fix yesod-core auth response type for json 2013-04-02 08:27:30 -07:00
Michael Snoyman
f2072747ce Include Yesod in server name 2013-04-02 14:58:02 +03:00
Felipe Lessa
993c557c12 Use clientsession 0.9.* on Yesod 1.2. 2013-04-01 11:45:16 -03:00
Michael Snoyman
6d98103115 Generalized sendChunk* functions 2013-03-27 09:46:10 +02:00
Michael Snoyman
d4422b656b LiteApp uses a Writer monad 2013-03-27 08:51:03 +02:00
Michael Snoyman
ae65603c4b Generalize streaming functions 2013-03-24 22:11:59 +02:00
Michael Snoyman
f3b459e9ce respond 2013-03-22 10:33:33 +02:00
Michael Snoyman
8ab09931c4 Code cleanup and transformer instances 2013-03-22 09:17:14 +02:00
Michael Snoyman
c16184eb40 Type-specialized versions of sendChunk 2013-03-21 11:42:20 +02:00