Commit Graph

225 Commits

Author SHA1 Message Date
Maximilian Tagher
949fa2d426 Slightly improve comment about constant time comparison 2015-08-16 20:50:29 -04:00
Michael Snoyman
f8847bd231 runFormPost: proper behavior for missing input #950 2015-03-11 07:25:53 +02:00
Maximilian Tagher
e57b62235f Add more semigroups instances 2015-02-08 16:55:06 -08:00
Michael Snoyman
3876ae0460 Version bump 2014-11-30 15:40:57 +02:00
peng
05966b8a00 add 'jqueryDatePickerDayField' with jquery's datepicker as the underlying implementation and keep 'jqueryDayField' behaving the same as before. 2014-11-30 19:25:53 +08:00
Michael Snoyman
f9e3e961b2 Merge pull request #877 from MaxGabriel/documentFieldsOptions
Document the Options section of Fields.hs
2014-11-29 17:58:40 +02:00
Maximilian Tagher
f1bdd0ace8 Fix typos; verison => version 2014-11-28 17:02:10 -05:00
Maximilian Tagher
5e6846d572 Finish documenting fields 2014-11-28 13:22:06 -05:00
Maximilian Tagher
1a38a74424 docs wip 2014-11-28 13:10:29 -05:00
Michael Snoyman
4f7180ea2d Version bumps/docs 2014-11-28 08:00:18 +02:00
Maximilian Tagher
222c9e3c99 Adds timeFieldTypeText and timeFieldTypeTime. Deprecates 'timeField'
* Also documents all 3 functions
2014-11-25 10:56:30 -05:00
Maximilian Tagher
33d9f5e18c Support different types for timeField 2014-11-25 10:36:34 -05:00
Maximilian Tagher
1944f02c84 Add type="time" to timeField 2014-11-25 10:34:46 -05:00
Michael Snoyman
4ee1eb17cd Generalize a type signature a bit 2014-11-25 12:03:54 +02:00
Michael Snoyman
c9d934b920 Merge pull request #875 from MaxGabriel/documentFields
Document Fields.hs
2014-11-25 06:58:40 +02:00
Maximilian Tagher
8e025c8226 Further improvements 2014-11-24 23:25:39 -05:00
Maximilian Tagher
af63a60c69 More stuff 2014-11-24 19:58:36 -05:00
Maximilian Tagher
07090ccb7e Document Fields.hs WIP 2014-11-24 14:11:25 -05:00
Greg Weber
c284e1f8b0 Merge pull request #865 from lambdacms/form-i18n-nl
Adds dutch form translations
2014-11-24 10:05:15 -08:00
Maximilian Tagher
2d31b3155d Improves code formatting
* Fixes bug where @<button>@ was being treated as a Haskell function reference
* Uses '<*' instead of @<*@, since <* is a Haskell function (though this doesn't appear to make the link work)
2014-11-22 17:23:12 -08:00
Maximilian Tagher
f4e8ac9496 Fix usages of bootstrapSubmit 2014-11-22 17:04:48 -08:00
Maximilian Tagher
f84e9703ed Revision 1 of Bootstrap 3 documentation 2014-11-22 16:27:23 -08:00
Maximilian Tagher
5038bea627 Document Yesod.Form.Bootstrap3 2014-11-21 20:17:55 -08:00
Rutger
76e19207cc Adds dutch form translations 2014-11-11 16:12:26 +01:00
Michael Snoyman
8a6b4f4523 Yesod.Form.Input cleanup/documentation 2014-10-21 09:08:51 +03:00
Maximilian Tagher
dd6a184052 Allow textareaFields to have a required attribute
(Just like `htmlField` does)
2014-10-10 18:07:33 -07:00
Michael Snoyman
8a09a3181e Revert "`required' attribute for nicHtmlField (textfield tag)"
This reverts commit d4175f11cc.
2014-10-01 14:47:42 +03:00
Michael Snoyman
f86d181377 Merge branch 'master' into yesod-1.4 2014-09-21 00:07:11 +03:00
Michael Snoyman
c629cba207 Version bump 2014-09-20 23:34:38 +03:00
João Cristóvão
13bc55969a Added convertField function to ease the generation of new fields 2014-09-17 18:08:06 +01:00
Michael Snoyman
ccab062f2d Remove all conditional compilation for Yesod 1.4 release
Left in for GHC-bundled libraries (ghc, base, bytestring, binary)
2014-09-07 18:17:45 +03:00
Michael Snoyman
2187c0cf8d Add required to textareaField (fixes #817) 2014-09-01 07:19:15 +03:00
Michael Snoyman
3478841d15 Add required to textareaField (fixes #817) 2014-09-01 07:18:42 +03:00
Michael Snoyman
8b2297adf4 Conditional support for persistent2 branch.
Pinging @gregwebs. I've backported the relevant tweaks on the yesod-1.4
branch, to allow master to compile against persistent2. Whenever you're
ready to release persistent2, we can:

1. Release persistent2.
2. Release new versions of yesod packages, which will work with
   persistent 1.3 and 2.0.
3. Add an upper bound in Stackage to avoid using the new persistent
   libraries until they're ready for primetime.
4. Release your blog post.

yesod-1.4 should then remove the CPP here and only work with
persistent2; the biggest "breaking change" in the 1.4 release will be
remove backwards compatibility hacks for persistent, conduit,
shakespeare, and wai.
2014-08-27 11:16:08 +03:00
Michael Snoyman
a13ebd3fa8 Some merge resolution 2014-08-25 21:20:27 +03:00
Michael Snoyman
c66ef04f17 Merge branch 'master' into yesod-1.4
Conflicts:
	yesod-form/Yesod/Form/Functions.hs
2014-08-25 20:20:16 +03:00
Dunric
d4175f11cc `required' attribute for nicHtmlField (textfield tag) 2014-08-20 01:53:59 +02:00
Michael Snoyman
1959ec7aae jqueryAutocmpleteField' #793 2014-08-04 12:29:35 +03:00
Michael Snoyman
7f5ed740a9 renderBootstrap2 2014-07-30 11:52:04 +03:00
Michael Snoyman
e6eae8ee5a Merge remote-tracking branch 'origin/master' into yesod-1.4
Conflicts:
	yesod-routes/Yesod/Routes/Parse.hs
	yesod-routes/test/Hierarchy.hs
	yesod-routes/yesod-routes.cabal
2014-07-26 21:20:31 +03:00
Артур Файзрахманов
09ecf9e211 Corrected ValueRequired translation 2014-07-26 07:36:58 +06:00
Артур Файзрахманов
d6b24510ea Fixed function name
Sorry friends, I’m so inattentive!
2014-07-26 07:26:11 +06:00
Артур Файзрахманов
10524fdd82 Fixed typo in module name 2014-07-26 07:19:50 +06:00
Артур Файзрахманов
1d28ac42b9 Basic form i18n for Russian Language
Some of translations maybe need to be discussed, because of some
translations are not literal.
2014-07-25 21:48:42 +06:00
Michael Snoyman
99621c17b0 Generate valid HTML from renderTable 2014-07-24 10:45:06 +03:00
Michael Snoyman
027dfa9d91 Miss qualified function usage 2014-07-24 10:28:23 +03:00
Michael Snoyman
2d54a5df13 Don't ignore leftovers in parsing #780 2014-07-24 10:21:06 +03:00
Michael Snoyman
9a583e5af3 Version bumps 2014-06-18 06:59:23 +03:00
Axel Angel
bfe0b2867a Adapt generateFormGet to follow the post variant (deprecate non-prime)
To stay backward compatible, we fix this in generateFormGet'

From discussion:
https://groups.google.com/forum/#!topic/yesodweb/lWKFzJDOnnY
2014-06-15 20:30:18 +02:00
Michael Snoyman
0a3ae4ef66 Merge remote-tracking branch 'origin/master' into yesod-1.4 2014-06-01 16:12:36 +03:00