Commit Graph

150 Commits

Author SHA1 Message Date
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
Michael Snoyman
cae65c95ff fileAForm* 2011-09-10 23:23:45 +03:00
Björn Buckwalter
392e47e1aa Swedish FormMessages. 2011-09-10 23:06:57 +08:00
Björn Buckwalter
9eef4829ad Factor out English FormMessage rendering. 2011-09-10 22:57:09 +08:00
Greg Weber
130363e9d4 add comment for searchField javascript 2011-08-31 05:37:46 -07:00
Michael Snoyman
a4bfb2a0ca Mirror naming changes in shakespeare 2011-08-18 17:59:25 +03:00
Greg Weber
ce3c909218 update to xss-sanitize 0.3 2011-08-09 10:24:51 -07:00
Michael Snoyman
3f5c8f1dd3 Move SomeMessage to yesod-core 2011-08-09 19:23:59 +03:00
Michael Snoyman
cbbf8dbf6a yesod-form warnings cleanup 2011-08-05 06:29:17 +03:00
Michael Snoyman
f17c1f823d generateForm* 2011-08-05 06:29:06 +03:00
Michael Snoyman
384965dcef yesod-form compiles again 2011-08-03 17:24:44 +03:00
Michael Snoyman
9ea93589e3 Fixed missing i18n 2011-08-03 17:24:44 +03:00
Michael Snoyman
1cd722fe40 Switch to Map 2011-08-03 17:24:44 +03:00
Michael Snoyman
f62f513c63 Major typing overhaul.
Types are less polymorphic and hopefully much easier to use/understand.

Also, introduced SomeMessage existential type, should make field reuse
much simpler.
2011-08-03 17:24:44 +03:00
Michael Snoyman
b7e76ebcd8 Better form validation 2011-08-02 20:19:53 +03:00
Michael Snoyman
704b5e742c Updated yesod-form docs 2011-07-28 14:48:59 +03:00
Michael Snoyman
6f5459f70f Add 'yesod-form/' from commit '53b7c3b81015e7f244c6b8961ca2f07979f932e2'
git-subtree-dir: yesod-form
git-subtree-mainline: 41faf62094
git-subtree-split: 53b7c3b810
2011-07-22 08:59:57 +03:00