Commit Graph

123 Commits

Author SHA1 Message Date
Michael Snoyman
e802df12dc Removed iothunk 2011-01-24 05:58:58 +02:00
Michael Snoyman
2f7ac58189 Beginning of Yesod middlewares, massive refactor, more to come 2011-01-23 21:35:52 +02:00
Michael Snoyman
27d62db253 sendWaiResponse, changes to accomodate wai-app-static 2011-01-20 23:56:09 +02:00
Michael Snoyman
61c236b8c9 Exporting GGHandler 2011-01-19 23:50:06 +02:00
Michael Snoyman
62cdd6ba63 MonadTrans instances for GGHandler and GGWidget 2011-01-13 22:30:23 +02:00
Michael Snoyman
db5e987797 Remove requestBody, live in Iteratee 2010-12-31 00:56:40 +02:00
Michael Snoyman
5c730104c8 MEitherT -> ErrorT 2010-12-30 06:13:46 +02:00
Michael Snoyman
920d9cbea8 Fixed up tests 2010-12-25 21:00:38 +02:00
Michael Snoyman
b2e95911d8 Full support for ResponseEnumerator 2010-12-16 21:38:09 +02:00
Michael Snoyman
0a85092ae7 wai 0.3 2010-12-16 18:13:05 +02:00
Michael Snoyman
604ca3dc36 monad-peel 2010-12-16 17:47:22 +02:00
Michael Snoyman
610529d7bf Add back sendResponseCreated 2010-12-04 19:08:21 +02:00
Michael Snoyman
7cf5609009 Do not expose SubsiteGetter, fix a number of warnings 2010-12-02 22:37:44 +02:00
Matt Brown
6e90c6188e new SubsiteGetter class to support either pure (master -> sub) or impure (GHandler master master sub) versions of sub site lookup functions 2010-12-01 20:34:19 +02:00
Matt Brown
c8bf6d5215 dynamic subsites 2010-12-01 20:34:19 +02:00
Michael Snoyman
cc612db73f text 0.11 2010-11-30 20:44:24 +02:00
Michael Snoyman
24669f8d38 sendResponseStatus and sendResponseCreated 2010-11-28 21:44:09 +02:00
Matt Brown
99fed5a53c remove runSubHandler, using modified version of toMasterHandler instead 2010-11-19 07:30:37 +02:00
Matt Brown
5e4c0d0170 moved YesodSubRoute to Yesod.Handler; added runSubHandler, addSubWidget 2010-11-19 07:30:37 +02:00
Michael Snoyman
b1a9832907 Exposing ErrorResponse 2010-10-28 12:54:18 +02:00
Michael Snoyman
3581fa957c Fix getMessage 2010-10-27 18:05:06 +02:00
Michael Snoyman
d3a9201b27 getSession 2010-10-26 15:57:05 +02:00
Michael Snoyman
1069df2665 State for session 2010-10-26 15:57:04 +02:00
Michael Snoyman
6e43ea5fc3 Document caveat in setSession 2010-10-26 15:57:04 +02:00
Michael Snoyman
0b4de794e8 Removed utf8-string dep 2010-10-26 15:57:04 +02:00
Michael Snoyman
ab4c7e3ae2 MonadInvertIO 2010-10-26 15:57:03 +02:00
Michael Snoyman
9158268904 finallyHandler 2010-10-14 16:47:02 +02:00
Michael Snoyman
1708d804ea Added Handler finally test case (fails) 2010-10-14 16:10:11 +02:00
Michael Snoyman
881fab7ff0 Cache-Control and Expires header function 2010-10-13 15:52:52 +02:00
Michael Snoyman
fc0fed4c14 Removed Handler type synonym 2010-08-25 15:34:33 +03:00
Michael Snoyman
2cefc3c2a7 Form minor changes, setMessage not polymorphic 2010-08-15 11:23:46 +03:00
Michael Snoyman
b11a05d9eb ToHtml for setMessage 2010-08-11 15:03:08 +03:00
Michael Snoyman
02fd6bfffd Removed blaze-html 2010-08-09 16:59:25 +03:00
Michael Snoyman
0ce3740c64 query string 2010-08-08 15:15:37 +03:00
Michael Snoyman
ce25f03e79 setUltDest' sets query string as well 2010-08-06 14:03:18 +03:00
Michael Snoyman
39818c8f57 Error handlers get Nothing for current route 2010-08-04 11:00:43 +03:00
Michael Snoyman
e2eb7d3315 Migrated to WAI 0.2 2010-07-13 00:12:59 +03:00
Michael Snoyman
7d273861e2 Better doc for setSession 2010-07-10 21:44:10 +03:00
Michael Snoyman
5d8ee5e7fb Renamed Routes to Route 2010-07-06 20:17:00 +03:00
Michael Snoyman
3ed97f4cfc Switch Routes back to type family.
There appears to be a bug in GHC, but I'm not certain. Look at the
output from compiling the previous commit; some kind of interaction with
a DataInstD and deriving instances.
2010-07-01 17:55:00 +03:00
Michael Snoyman
1a375e8fb4 Merged Yesod.Form and yesod.Formable 2010-06-30 22:41:47 +03:00
Michael Snoyman
058b738b4a Added sendResponse function 2010-06-30 21:43:48 +03:00
Michael Snoyman
6ce79d673f setLanguage uses user session 2010-06-30 21:21:49 +03:00
Michael Snoyman
5bed76f067 redirect uses redirectParams 2010-06-30 21:19:24 +03:00
Michael Snoyman
0652fae94f Cleaned up Yesod.Handler function names 2010-06-30 21:16:00 +03:00
Michael Snoyman
729751f742 Fixed type signature in some functions in Yesod typeclass 2010-06-30 20:46:47 +03:00
Michael Snoyman
0e6f32f4a6 Subsites working with new web-routes-quasi 2010-06-30 14:24:36 +03:00
Michael Snoyman
2f17cda10d Routes is data family, not type family 2010-06-30 12:44:57 +03:00
Michael Snoyman
c91a4ada56 Changes reflecting web-routes-quasi modifications.
Minimal changes to get hello world working.
2010-06-30 12:23:55 +03:00
Michael Snoyman
a8e6485e46 GHandler is a newtype (gives better compiler errors) 2010-06-29 09:11:05 +03:00