Commit Graph

412 Commits

Author SHA1 Message Date
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
Michael Snoyman
2fef1766f4 staticFiles ignores tmp 2010-10-26 15:57:04 +02:00
Michael Snoyman
17cb10c312 Major renaming of widget functions 2010-10-26 15:57:04 +02:00
Michael Snoyman
fd10f42db7 generateForm 2010-10-26 15:57:04 +02:00
Michael Snoyman
07a5350e5b Removed Yesod.WebRoutes 2010-10-26 15:57:04 +02:00
Michael Snoyman
c35c935418 Doc cleanup, especially forms 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
c29f5af95c Support for free-forms
This adds a whole bunch of polymorphism to the forms library, and opens
up a monad approach which exposes the FieldInfos generated. This allows
you to layout your form however you want without mucking around with
guessing the location of the fieldinfos in a list.
2010-10-26 15:57:03 +02:00
Michael Snoyman
b930bcbf62 Removed Yesod.Mail 2010-10-26 15:57:03 +02:00
Michael Snoyman
ab4c7e3ae2 MonadInvertIO 2010-10-26 15:57:03 +02:00
Michael Snoyman
2f61ef6d39 fieldsToDivs 2010-10-26 15:56:40 +02:00
Michael Snoyman
c242af6d0e required/optional css class for fieldsToTable 2010-10-26 15:56:40 +02:00
Matt Brown
6119f8507e added fiRequired :: Bool to FieldInfo 2010-10-26 15:56:40 +02:00
Michael Snoyman
370dad86df Remove Auth module 2010-10-26 15:56:40 +02:00
Michael Snoyman
27a63b1b75 JqueryDaySettings 2010-10-26 15:56:11 +02:00