Commit Graph

527 Commits

Author SHA1 Message Date
Michael Snoyman
8684ce5b27 Proper cleanPath behavior 2011-02-08 19:36:49 +02:00
Michael Snoyman
3003c9b3cd Beginning of new test suite 2011-02-08 15:44:53 +02:00
Michael Snoyman
7b7cbc950b Fix remoteHost session issue 2011-02-05 19:58:14 +02:00
Michael Snoyman
37c261fa1e More intelligent cleanPath 2011-02-05 19:57:48 +02:00
Michael Snoyman
fecdd6e744 All possible Handler functions live in GGHandler, not just GHandler 2011-02-04 07:04:39 +02:00
Michael Snoyman
753477518f Exception instance for ErrorHandler 2011-02-03 06:57:37 +02:00
Michael Snoyman
f96b71e6f1 liftIOHandler 2011-01-31 13:26:31 +02:00
Michael Snoyman
9de5c48c19 Removed liftHandler- just use lift 2011-01-31 07:31:21 +02:00
Michael Snoyman
5b06e66382 Cleaned up extension lists 2011-01-31 07:21:59 +02:00
Michael Snoyman
02cf6f84d3 Change some ByteString to String 2011-01-31 07:11:05 +02:00
Michael Snoyman
327401eee4 Fixed a ByteString/String mismatch 2011-01-30 21:52:42 +02:00
Michael Snoyman
b9b94bbf8e Yesod.Internal.Dispatch 2011-01-28 11:53:32 +02:00
Michael Snoyman
24b519ffa4 Fixed some dispatch bugs 2011-01-28 11:26:13 +02:00
Michael Snoyman
af30b44ef2 Big code cleanup 2011-01-28 11:15:58 +02:00
Michael Snoyman
c571aac930 Normal and subsite dispatch code completely unified 2011-01-28 10:45:12 +02:00
Michael Snoyman
09e93e96a1 Steps towards unifying on YesodDispatch 2011-01-28 10:30:02 +02:00
Michael Snoyman
c87068b7fb mkSubsiteExp 2011-01-28 09:59:30 +02:00
Michael Snoyman
21bdab3602 Lots of cases 2011-01-28 09:37:14 +02:00
Michael Snoyman
7f51c7fd20 Fixed some TH code for subsites 2011-01-27 20:02:51 +02:00
Michael Snoyman
93c724ba7d dispatchSubsite is now working 2011-01-26 01:03:22 +02:00
Michael Snoyman
b3ae5e6149 Works with subsites with arguments 2011-01-26 00:28:27 +02:00
Michael Snoyman
ee3fc92111 Beginning of modifications to dispatch code for more powerful subsites 2011-01-26 00:21:32 +02:00
Michael Snoyman
fddfd9bcf1 Yesod.Internal.Request 2011-01-24 06:22:45 +02:00
Michael Snoyman
e41134a183 Yesod.Internal.Session 2011-01-24 06:17:22 +02:00
Michael Snoyman
75687a6b7c Moved newIdent from Widget to Handler 2011-01-24 06:11:52 +02:00
Michael Snoyman
8596bbc10e nonce is a Maybe 2011-01-24 06:01:38 +02:00
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
1013e20067 Fix some Yesod typeclass type signatures 2011-01-22 20:03:04 +02:00
Michael Snoyman
04df11e41c Stop the unicorns from crying 2011-01-21 12:06:45 +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
0874b61763 Recent Hamlet changes 2011-01-19 21:53:39 +02:00
Michael Snoyman
085bb88bb1 Include some RSS-specific definitions 2011-01-17 08:14:50 +02:00
Matt Brown
5c3670c848 relax instance matching for GGWidget hamlet instances 2011-01-17 07:59:17 +02:00
Michael Snoyman
62cdd6ba63 MonadTrans instances for GGHandler and GGWidget 2011-01-13 22:30:23 +02:00
Michael Snoyman
06193634c4 Added ToContent Builder instance 2011-01-13 22:08:22 +02:00
Michael
bf324ded19 ResponseBuilder constructor 2011-01-06 08:15:50 +02:00
Michael
6c3c312a48 Compile with new remoteHost 2011-01-05 23:48:12 +02:00
Michael
06db8b9508 Changes to Css and Javascript datatypes 2011-01-05 23:47:59 +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
3a5969b8e8 Exposing toWaiAppPlain 2010-12-26 20:13:08 +02:00
Michael Snoyman
0c946de756 Removed enableClientSessions 2010-12-25 22:49:12 +02:00
Michael Snoyman
920d9cbea8 Fixed up tests 2010-12-25 21:00:38 +02:00
Michael Snoyman
1718c5bf1e Including content length field for ContentBuilder 2010-12-25 20:49:47 +02:00
Michael Snoyman
3a47bf948e Removed json-* deps 2010-12-25 20:41:13 +02:00
Michael Snoyman
d7dd2fd051 Fixed Hamlet version 2010-12-25 20:32:49 +02:00
Michael Snoyman
9f7223ea5e Removed Yesod.Hamlet (code does not compile) 2010-12-24 15:52:25 +02:00
Michael Snoyman
a9e713921e Removed extraneous modules, Yesod.Yesod -> Yesod.Core 2010-12-24 14:57:29 +02:00
Michael Snoyman
fccefcd1dd Rename to yesod-core 2010-12-24 14:53:56 +02:00
Michael Snoyman
7a60813c22 Removed Yesod.Json, using json-types 2010-12-24 08:17:21 +02:00
Michael Snoyman
7e738c582b yesodVersion 2010-12-21 17:32:24 +02:00
Michael Snoyman
ccafe0fb44 Removed persistent dependency 2010-12-21 00:24:15 +02:00
Michael Snoyman
8d7d5ce167 ContentBuilder and responseBuilder 2010-12-21 00:07:50 +02:00
Michael Snoyman
48e8b1d9ca Using cookie package 2010-12-21 00:07:33 +02:00
Michael Snoyman
b50cbd440d reqRequestBody doc update 2010-12-20 18:55:33 +02:00
Michael Snoyman
522203f812 Removed Yesod.Form hierarchy
All of this code will be included in a separate yesod-form package to
allow for more flexibility in API changes, plus to make it more natural
to swap in other packages such as digestive-functors.
2010-12-16 22:05:56 +02:00
Michael Snoyman
b2e95911d8 Full support for ResponseEnumerator 2010-12-16 21:38:09 +02:00
Michael Snoyman
68e5969ecf Removed type variable on Response et al 2010-12-16 20:30:26 +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
676a6aa6c1 enableClientSessions 2010-12-16 16:30:28 +02:00
Michael Snoyman
2cc68e8256 blaze-builder 0.2.1 2010-12-13 23:20:44 +02:00
Greg Weber
e6a3936577 fix css 2010-12-13 22:52:09 +02:00
Greg Weber
59486dcc77 add field type of search with autoFocus
technically autoFocus could go on any field.
Actually, it could only go on one field of a form.
I would assume it always goes on the first non-hiden field
2010-12-13 22:51:58 +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
ee5c8da8c9 Using blaze writeHtmlEscapedChar for Textarea 2010-11-30 09:09:46 +02:00
Michael Snoyman
ac809e8316 Fix runFormTable HTML output 2010-11-30 09:09:31 +02:00
Michael Snoyman
24669f8d38 sendResponseStatus and sendResponseCreated 2010-11-28 21:44:09 +02:00
Aaron Culich
37ff175ede added missing import of Language.Haskell.TH required for normalB 2010-11-25 11:25:29 -08:00
Michael Snoyman
93f934eb97 comments for mkEmbedFiles and getStaticHandler
Conflicts:

	Yesod/Helpers/Static.hs
2010-11-23 06:19:25 +02:00
Matt Brown
a7eae5413e mkYesodSubData, mkYesodSubDispatch 2010-11-22 20:58:45 +02:00
Michael Snoyman
d15368065f passwordField 2010-11-22 07:47:53 +02:00
Michael Snoyman
967ad7ec80 Blacklist -> whitelist for staticFiles 2010-11-21 20:21:48 +02:00
Michael Snoyman
cc09c071a6 Minor fixes 2010-11-19 12:02:11 +02:00
Michael Snoyman
92ab8ee889 GHC 7 support.
GHC 7 changes the syntax for quasi-quotation. A later patch release
(7.0.2) should be adding back backwards-compatibility with the old
syntax, but in the meanwhile this (relatively ugly) hack should fix it.
2010-11-19 11:10:17 +02:00
Michael Snoyman
aaed6875c2 Fix mismatch between joinPath and splitPath 2010-11-19 11:10:12 +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
ae69262ab3 runFormPostTable -> runFormTable 2010-11-16 10:33:23 +02:00
Michael Snoyman
0b5b132fa3 runFormPostTable and runFormPostDivs 2010-11-15 22:37:28 +02:00
Michael Snoyman
f80cfab5d7 Cookie expire dates fixed 2010-11-14 16:28:30 +02:00
Michael Snoyman
125090aebb blaze-builder 0.2 2010-11-10 09:41:42 +02:00
Michael Snoyman
82bab0c084 fileField and maybeFileField 2010-11-05 09:25:59 +02:00
Michael Snoyman
97819f0ad7 atomLink and sanitizeBalance 2010-11-02 13:17: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
f0ba72d536 Using mkMigrate in scaffolding 2010-10-26 15:57:05 +02:00
Michael Snoyman
d3a9201b27 getSession 2010-10-26 15:57:05 +02:00
Michael Snoyman
300f0a4f4d dataenc -> base64-bytestring 2010-10-26 15:57:04 +02:00
Michael Snoyman
1069df2665 State for session 2010-10-26 15:57:04 +02:00
Michael Snoyman
05b4d3e9ce sessionIpAddress 2010-10-26 15:57:04 +02:00
Michael Snoyman
51943f9a11 runFormPostNoNonce 2010-10-26 15:57:04 +02:00
Michael Snoyman
0fc2cccfef generateForm produces nonce hidden field 2010-10-26 15:57:04 +02:00
Michael Snoyman
1a752d4343 Nonce for CSRF protection 2010-10-26 15:57:04 +02:00