Commit Graph

166 Commits

Author SHA1 Message Date
Michael Snoyman
617c1d724e Removed some FIXMEs 2013-01-02 14:26:56 +02:00
Michael Snoyman
fb02d71d73 Persistent 1.1 2012-11-27 16:57:46 +02:00
Michael Snoyman
053210da6f shakespeare-js 1.0.2 and 1.1 2012-11-16 09:27:31 +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 Snoyman
49baf17b78 Do that attr thing properly 2012-10-24 17:38:15 +02:00
Michael Snoyman
f8497c3a22 Put attributes on <select>, not <option> 2012-10-24 17:33:57 +02:00
Arash Rouhani
e35124f96f Use haddock for Yesod.Form.Types.Field 2012-09-22 18:58:34 -04:00
Michael Snoyman
0c68f46762 MonadLift instance for AForm 2012-09-19 09:03:53 +03: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
0e17fcd0b4 Merge remote-tracking branch 'origin/master' 2012-08-08 17:04:59 +03:00
Michael Snoyman
28e0bf88aa Bootstrap friendly radio markup (#394) 2012-08-08 17:04:18 +03:00
Michael Snoyman
5bc6b501b2 Removed blaze-html 0.5 conditionals 2012-08-08 17:03:59 +03:00
Erlend Hamberg
7451164451 Some fixes for Norwegian translation
“obligatoriskt” was probably left over from the Swedish translation and should   be “obligatorisk”
“sannhetsverdi” is the established term for a boolean
“Slett?” should be “Slette?” if the orignal string means “[Do you want to ]delete?”
2012-08-08 00:15:17 +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
b4d1b2087c Fix for missing Read instance on Fixed 2012-07-14 21:54:52 +03:00
Michael Snoyman
b9d5890567 Add a type signature 2012-07-13 18:37:42 +03:00
Michael Snoyman
c005bc0aec Fix a warning 2012-07-13 16:26:32 +03:00
Michael Snoyman
14f1fd1e27 Better parseTime 2012-07-13 16:20:10 +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
Michael Snoyman
9af79e4d13 Recognize 'on' for booleans 2012-07-05 11:58:53 +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
Michael Snoyman
8b5fbb47af New jQuery (#371) 2012-06-18 10:03:54 +03:00
JP Moresmau
ebd219cafe renderDivs without form labels 2012-06-15 08:52:10 +02:00
Michael Snoyman
83e6061944 Merge branch 'master' of https://github.com/tanakh/yesod
Conflicts:
	yesod-auth/Yesod/Auth/Message.hs
	yesod-form/yesod-form.cabal
2012-06-05 06:22:31 +03:00
Hideyuki Tanaka
7296b13fc3 japanese translation 2012-06-05 01:13:22 +09:00
Christian Rødli Amble
5a54cf0dbc Norwegian language support. 2012-06-04 11:03:04 +02:00
Michael
4929ece70c Added Ord instance for Textarea 2012-05-31 07:25:53 +03:00
Michael Snoyman
1edf9b2b1b Fix jQuery date picker for newer jQuery versions 2012-05-22 21:25:15 +03:00
Michael Snoyman
468b013860 Turn on blaze-html 0.5 by default 2012-05-09 09:50:37 +03:00
Michael Snoyman
4789a1d073 yesod-form: blaze-html 0.5 2012-04-23 13:49:52 +03:00
Michael Snoyman
4b6490e037 Generalize hiddenField to any PathPiece 2012-04-17 18:31:57 +03:00
Michael Snoyman
a3fdf21121 Auto-wrap SomeMessage on fieldSettingsLabel 2012-04-17 18:31:56 +03:00
Felipe Lessa
a485e5c33b Merge pull request #326 from Xarch/master
French translation of Yesod Auth.
2012-04-11 11:17:44 -07:00
Félix
856a25c67f Frencih -> French 2012-04-11 20:15:11 +02:00
Félix
e41a6aca80 Fixed module informations for the french translation of form messages 2012-04-11 19:49:11 +02:00
Felipe Lessa
a2cb436828 Fix FIXME comment on htmlField (fixes #328). 2012-04-11 08:34:55 -03:00
Félix
9ccd0e24a6 French support for forms 2012-04-10 20:27:10 +02:00
Michael Snoyman
1b985796ec Better generateFormPost 2012-04-02 18:32:53 +03:00
Michael Snoyman
9b9a3ad605 Fix a bug in IsString instance of FieldSettings 2012-03-28 07:41:49 +02: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
4cc468ca3b Beginning of old widget function deprecation, not complete 2012-03-13 06:36:27 +02:00
Michael Snoyman
cbd0719f37 conduit 0.3 2012-03-12 13:40:04 +02:00
Michael Snoyman
b5f2e4863d Remove some QQ hacks #288 2012-03-12 08:50:15 +02:00
Felipe Lessa
02d3b702aa Small doc fix on Yesod.Form.Fields.Textarea. 2012-03-02 17:32:00 -03: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
Greg Weber
651a1f8abd more flexible js loading
* write your own async jsLoader widget.
* Suport loading from the bottom of body tag.

Bottom of the page is actually the best default until you profile your
application.
2012-02-12 08:11:45 -08:00
Falco Hirschenberger
9b7ebbabe5 Fix german grammar, no I'm no grammar-nazi, just improving things in the details ;-) 2012-02-11 19:30:45 +01:00
Michael Snoyman
566a5d2502 niceditor works with yepnope 2012-02-09 23:44:52 +02:00
Michael Snoyman
2f38ddaff3 Temporarily remove sessionIpAddress (#243) 2012-01-31 06:53:47 +02:00
patrick brisbin
e1c6a6ae91 checkBoxField, closes #245 2012-01-28 12:51:16 -05:00
Felipe Lessa
baf10c118f Generalize yesod-form fields to take RenderMessage instead of Text.
Fixes issue #240.
2012-01-26 16:35:50 -02:00
Michael Snoyman
9dd414900e Fix some warnings 2012-01-17 14:25:50 +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
4d5c123935 Better multiSelectField (#183) 2012-01-17 14:13:20 +02:00
Michael Snoyman
6e68102a6f fieldSettingsLabel and aformM 2012-01-13 07:46:54 +02:00
Michael Snoyman
5a6638ad18 Merge pull request #200 from wjt/jquery
jqueryDayField: do nothing if <input type=date> supported
2012-01-10 02:02:10 -08:00
Michael Snoyman
a98c236ef0 Remove jqueryDayTimeField (#152) 2012-01-10 12:00:12 +02:00
Michael Snoyman
ca9bb6e449 More pair -> Entity changes 2012-01-10 11:20:17 +02:00
Michael Snoyman
ad12ce63f0 Minor fixes 2012-01-07 19:23:56 +02:00
Michael Snoyman
69a5d0e0ed Whole repo builds with new yesod-routes 2012-01-05 15:27:16 +02:00
Will Thompson
94e4cf0213 jqueryDayField: do nothing if <input type=date> supported
On iOS 5, for example, <input type=date> throws up a native date picker,
so there's no reason to show the jquery-ui datepicker.

This is not perfect, because the jquery-ui JavaScript and CSS are still
loaded, and the JqueryDaySettings are not turned into attributes on the
<input>, but it's a start.
2012-01-05 09:29:06 +00:00
Michael Snoyman
61f0c26e9f MonadLift 2011-12-30 13:30:24 +02:00
Michael Snoyman
f8a95f058e Fixed yesod-form 2011-12-29 15:39:54 +02:00
Michael Snoyman
8e623d04a6 Merge branch 'beta' 2011-12-29 12:01:21 +02:00
Michael Snoyman
c90cf34ef5 data-object-yaml to yaml 0.5 2011-12-28 17:07:53 +02:00
Michael Snoyman
be07e4c535 Form class: [Text] 2011-12-28 09:18:49 +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
Michael Snoyman
ae79c4db39 yesod-form fixes 2011-12-28 00:07:06 +02:00
Tom Streller
c2cb999a8d added german messages 2011-12-27 13:59:35 +01:00
Felipe Lessa
a9d202e0e0 Add Portuguese language to yesod-form. 2011-12-24 09:36:27 -02:00
Greg Weber
6816039b21 Form -> MForm 2011-11-26 10:31:12 -06:00
Greg Weber
6b84fb4b7b DEPRECATED, not DEPRECATE 2011-11-26 09:57:49 -06:00
Michael Snoyman
e4fd390cf8 Scaffolding has nicer Form datatype 2011-11-10 21:30:34 +02:00
Pascal Wittmann
837f796993 adjusted existing fields and functions for the new FieldSettings attribute 2011-10-25 17:52:11 +02:00
Pascal Wittmann
bdd0f80083 added (css) class name to FieldSettings 2011-10-25 17:51:23 +02:00
Michael Snoyman
85e825ca90 Fix a warning 2011-10-02 17:14:07 +02:00
Michael Snoyman
bdd27cbcaf Remove some debug output 2011-10-02 17:05:42 +02:00
Rune
d77972ab60 added customErrorMessage to Yesod.Form.Functions to allow the user to overwrite the parse-error messages on fields. 2011-09-22 11:54:32 +03:00
Michael Snoyman
bea386e238 optionsPersist returns an OptionList 2011-09-21 16:37:13 +03:00
Michael Snoyman
d2e93341c0 OptionList 2011-09-20 10:25:26 +03:00
Michael Snoyman
74fbfee1c9 Option (for selectField) 2011-09-19 15:53:41 +03:00
Michael Snoyman
ac74e83e4b Fix for GHC 6.12 2011-09-13 21:10:28 +03:00
Björn Buckwalter
a065862828 Merge branch 'master' of github.com:bjornbm/yesod
Conflicts:
	yesod-form/Yesod/Form/Fields.hs
2011-09-11 12:14:38 +08:00
Björn Buckwalter
9158931915 Reexport FormMessage (..) from Yesod.Form.Fields.
This amendment should make commit
9eef4829ad a non-breaking change, except
possibly causing some warnings about duplicate exports with
Yesod.Form.Types.
2011-09-11 11:45:24 +08:00