Commit Graph

107 Commits

Author SHA1 Message Date
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
Michael Snoyman
d2f0194163 Replace ContT with MEitherT in Handler monad 2010-06-29 09:04:26 +03:00
Michael Snoyman
bc7fc91606 BlazeHtml 0.1 2010-06-20 10:34:14 +03:00
Michael Snoyman
cb15ae78f4 Handler is entirely transformers 2010-06-15 11:49:18 +03:00
Michael Snoyman
c60cc6ab21 Handler writers: Endos instead of lists 2010-06-15 11:11:11 +03:00
Michael Snoyman
aceab32999 Beginning of converting Handler to Cont monad 2010-06-15 11:08:57 +03:00
Michael Snoyman
48d8ac3085 hlint 2010-06-10 00:33:03 +03:00
Michael Snoyman
59c56c1256 Cleaned up warnings 2010-06-09 10:14:17 +03:00
Michael Snoyman
d57dc78983 Removed convertible-text 2010-06-09 09:48:21 +03:00
Michael Snoyman
7568bec3c4 ToContent typeclass 2010-06-09 09:28:26 +03:00
Michael Snoyman
8a20a416ba ContentType is a String 2010-06-09 09:21:47 +03:00
Michael Snoyman
a2d2192b9c Compile with newest Hamlet 2010-06-08 21:51:55 +03:00
Michael Snoyman
7262c30c74 More sophisticated subsite support 2010-06-06 21:51:26 +03:00
Michael Snoyman
31fffcf5d4 Migration to hamlet 3 2010-06-06 01:53:55 +03:00
Michael Snoyman
56ac260207 isAuthorized 2010-06-05 21:25:32 +03:00
Michael Snoyman
712110a2ef Removed web-encodings dependency 2010-05-20 22:21:26 +03:00
Michael Snoyman
70144804ce Played around with dependencies 2010-05-13 23:25:17 +03:00