Commit Graph

65 Commits

Author SHA1 Message Date
Michael Snoyman
c8f7e34b2f Merge pull request #731 from andrewthad/master
Fix starting field number
2014-05-09 18:28:07 +03:00
andrewthad
9f379bc219 Fix starting field number
This commit makes starts the counter as `IntSingle 0` instead of `IntSingle 1`. This is needed because `newFormIdent` yield the incremented state value. Meaning: right now, all of my forms start at f2 instead of f1. This commit will make them start at f1 like I would expect them to.
2014-05-06 09:34:56 -04:00
Vincent Hanquez
8d07d1fa72 Use const time equality from byteable instead of crypto-api 2014-03-18 08:29:47 +00:00
Felipe Lessa
969496b9f1 Golf around on identifyForm :). 2014-03-12 11:32:46 -03:00
Felipe Lessa
3d2253d5d3 Typo. 2014-03-12 11:23:32 -03:00
Felipe Lessa
68d0142dda New identifyForm function (fixes #649).
Based on code from @axel-angel but rewritten in a more lightweight
style (IMHO, at least :).
2014-03-12 11:20:31 -03:00
Felipe Lessa
59402da412 Deprecate the original renderBootstrap. 2014-03-11 17:09:27 -03:00
Michael Snoyman
bcff12bed1 parseHelperGen 2014-03-05 06:59:57 +02:00
Michael Snoyman
8376f4da9e Revert "Update Functions.hs"
This reverts commit 78913a2cfb.
2013-12-22 16:29:12 +02:00
andrewthad
78913a2cfb Update Functions.hs
Generalize parseHelper to work with types of messages other than FormMessage.
2013-12-20 12:01:55 -05:00
Lubomír Sedlář
1ea61ddfc7 Add more documentation to Yesod.Form.Functions 2013-08-23 16:44:21 +02:00
Michael Snoyman
fb4045ea45 Warning cleanup 2013-03-20 11:46:32 +02:00
Michael Snoyman
a2c4f1f3b7 MonadHandler/MonadWidget 2013-03-17 10:10:39 +02:00
Michael Snoyman
9c4cd573b4 Everything compiles 2013-03-14 09:28:51 +02:00
Michael Snoyman
099b96f178 Everything compiles 2013-03-13 13:35:11 +02:00
Michael Snoyman
8246aa4c1e Whole repo compiles 2013-03-11 11:25:26 +02:00
Michael Snoyman
617c1d724e Removed some FIXMEs 2013-01-02 14:26:56 +02:00
Michael Snoyman
7e17a8df50 Merge branch 'fileField'
Conflicts:
	yesod-form/Yesod/Form/Types.hs
2012-11-15 09:14:07 +02:00
Michael Snoyman
a35161cf6e Haddock fixes 2012-11-12 17:51:41 +02:00
Michael Snoyman
2ea1bcb5c8 fileField unabled
Boils down to two changes:

* fieldParse takes a list of FileInfos
* fieldEnctype added
2012-11-09 08:58:03 +02:00
Michael Snoyman
363e4afeee Allow multiple files (#448) 2012-11-07 09:08:29 +02:00
Michael
498d22714b checkMMod to checkMMap (#416) 2012-09-04 17:57:05 +03:00
Michael Snoyman
6b31b583f2 checkMMod 2012-08-22 20:05:34 +03:00
Michael Snoyman
5bc6b501b2 Removed blaze-html 0.5 conditionals 2012-08-08 17:03:59 +03:00
Michael Snoyman
5ece1e96e4 Rename blank to parseHelper (#354) 2012-08-01 15:57:06 +03:00
Michael Snoyman
aa93e562bb Merge pull request #381 from adamtulinius/master
export blank
2012-08-01 05:49:26 -07:00
Felipe Lessa
d1f9a30efa yesod-form: Use constTimeEq when checking XSRF token (fixes #388). 2012-07-25 16:19:07 -03:00
Michael Snoyman
699d76d13a Merge branch 'beta'
Conflicts:
	yesod-core/yesod-core.cabal
	yesod-json/yesod-json.cabal
	yesod-test/Yesod/Test.hs
	yesod-test/test/main.hs
	yesod-test/yesod-test.cabal
2012-07-11 08:48:09 +03:00
Adam Tulinius
2f6cdb1ced Export blank 2012-07-04 17:46:41 +02:00
Michael Snoyman
2dc8e653ab Fix yesod-form for FileUpload change 2012-07-02 17:16:53 +03:00
Michael Snoyman
3ecbf43f5d $newline 2012-07-01 20:59:37 +03:00
Michael Snoyman
a5361e44f2 checkM' (need to rename it) 2012-06-30 22:09:13 +03:00
JP Moresmau
ebd219cafe renderDivs without form labels 2012-06-15 08:52:10 +02:00
Michael Snoyman
4789a1d073 yesod-form: blaze-html 0.5 2012-04-23 13:49:52 +03:00
Michael Snoyman
a3fdf21121 Auto-wrap SomeMessage on fieldSettingsLabel 2012-04-17 18:31:56 +03:00
Michael Snoyman
1b985796ec Better generateFormPost 2012-04-02 18:32:53 +03:00
Michael Snoyman
d464f85f9d fsLabel and fsTooltip are SomeMessage 2012-03-25 18:49:35 +02:00
Michael Snoyman
46308c8d1f fsClass to fsAttrs 2012-03-25 17:57:40 +02:00
Michael Snoyman
67ae9c739b Merge commit 'e4e2dd75cc86909d66062a7655b8cbc3a959932d'
Conflicts:
	yesod-auth/Yesod/Auth.hs
	yesod-auth/Yesod/Auth/BrowserId.hs
	yesod-auth/Yesod/Auth/Dummy.hs
	yesod-auth/Yesod/Auth/Email.hs
	yesod-auth/Yesod/Auth/HashDB.hs
	yesod-auth/Yesod/Auth/OpenId.hs
	yesod-auth/Yesod/Auth/Rpxnow.hs
	yesod-form/Yesod/Form/Fields.hs
	yesod-form/Yesod/Form/Functions.hs
	yesod-form/Yesod/Form/Jquery.hs
	yesod-form/Yesod/Form/Nic.hs
	yesod-form/Yesod/Helpers/Crud.hs
	yesod-newsfeed/Yesod/AtomFeed.hs
	yesod-newsfeed/Yesod/RssFeed.hs
2012-03-25 11:07:12 +02:00
Michael Snoyman
ec62f6f68c nonce -> token (#214) 2012-03-16 06:39:30 +02:00
Pascal Wittmann
ba1e083edc removed QQ hacks from yesod-form 2012-03-15 21:57:32 +01:00
Michael Snoyman
b5f2e4863d Remove some QQ hacks #288 2012-03-12 08:50:15 +02:00
Felipe Lessa
5b75d6758a Fix small typo on renderBootstrap's doc. 2012-02-16 12:21:16 -02:00
Felipe Lessa
4ebaa31d90 Support Bootstrap 2.0 on renderBootstrap. 2012-02-16 12:11:57 -02:00
Felipe Lessa
e1066b622a Update renderBootstrap's docs for Bootstrap 2.0. 2012-02-16 11:47:27 -02:00
Michael Snoyman
73edd4758b renderBootstrap #212 2012-01-17 14:17:47 +02:00
Felipe Lessa
746a3fe5d2 Generalize formToAForm (fixes issue #213). 2012-01-17 10:16:11 -02:00
Michael Snoyman
6e68102a6f fieldSettingsLabel and aformM 2012-01-13 07:46:54 +02:00
Michael Snoyman
f8a95f058e Fixed yesod-form 2011-12-29 15:39:54 +02:00
Michael Snoyman
d2a612a81b Merge commit '837f796' into beta
Conflicts:
	yesod-form/Yesod/Form/Fields.hs
	yesod-form/Yesod/Form/Types.hs
2011-12-28 09:11:35 +02:00