Commit Graph

401 Commits

Author SHA1 Message Date
ncaq
e19d220f61 fixed: import Data.Monoid for old ghc 2017-06-23 12:14:28 +09:00
ncaq
33471cbb2f add changelog and version number 2017-06-22 16:32:50 +09:00
ncaq
d5eb1ce026 fixed: yesod-form: textareaField: writeHtmlEscapedChar: convert "\r\n" to "<br>" 2017-06-22 10:05:39 +09:00
Michael Snoyman
5721f65ebf
Version bumps 2017-05-14 00:24:12 +03:00
Dawei LIU
fcb1b7f6b4 Fix minor doc typo 2017-04-17 15:25:03 +02:00
rkaminsk
d8919c2c2d remove value attribute from password field (#1374)
remove value attribute from password field

Fixes https://github.com/yesodweb/yesod/issues/1373
2017-04-09 06:14:39 +05:30
mingyu guo
db9b51cdf4 Added Yesod.Form.I18n.Chinese 2017-03-28 20:59:48 +10:30
Isaac Elliott
b76d9c3090 Fixed spelling and wording for Yesod.Form.Functions.convertField's docs 2017-02-28 17:50:20 +10:00
Michael Snoyman
cdc6c8ae04 Version bumps/changelog updates 2017-02-08 11:20:31 +02:00
Michael Snoyman
aefd074efa Cleanup GHC 8 redundant constraints 2017-02-05 13:35:12 +02:00
Michael Snoyman
3dc2d10b30 Compile with -Wall -Werror 2017-02-05 12:09:18 +02:00
James Parker
d59344b78b housekeeping 2017-02-02 01:55:00 -05:00
James Parker
ef22b131f1 Fix for bug in identifyForm with empty forms. #1072 2017-01-31 16:06:40 -05:00
Michael Snoyman
10a751cdbc Version bump for #1296 2016-11-14 07:04:36 +02:00
Andrew Martin
2d6e5cea02 Added a ToValue instance for Enctype 2016-11-13 14:59:21 -05:00
Michael Snoyman
14ef94b8d1 Version bump for #1287 2016-10-24 19:42:09 +03:00
Luis Ángel Méndez Gort
161f771904 Merge branch 'master' of https://github.com/lamg/yesod 2016-10-23 15:56:35 -04:00
Luis Ángel Méndez Gort
e1d3f0ab79 Yesod.Form.I18n.Spanish added 2016-10-23 15:49:21 -04:00
Luis Ángel Méndez Gort
b1cfb3bda4 Yesod.Form.I18n.Spanish added 2016-10-21 19:08:27 -04:00
Michael Snoyman
465210d131 Version bump 2016-04-25 18:20:33 +03:00
Eric Easley
d99de61554 Use CPP to maintain backward compat 2016-04-18 10:03:39 -07:00
Eric Easley
8e71f766b5 Use PersistRecordBackend constraint synonym 2016-04-15 21:25:40 -07:00
Eric Easley
02dcb99cad Merge remote-tracking branch 'upstream/master' 2016-03-31 13:03:47 -07:00
Michael Snoyman
063cef70ee Version bump 2016-03-29 09:21:03 +03:00
Maximilian Tagher
3b9e782988 Fix W3 multiple attribute link 2016-03-28 12:33:25 -07:00
Michael Snoyman
d922bdd272 Merge pull request #1158 from geraldus/gman/summernote
Add Summernote WYSIWYG html field
2016-03-06 11:53:52 +02:00
Arthur Fayzrakhmanov (Артур Файзрахманов)
a38564df43 Fix line ending 2016-03-04 22:07:18 +05:00
Arthur Fayzrakhmanov (Артур Файзрахманов)
fe2b6844b6 Add notice about Summernote 2016-03-04 22:07:06 +05:00
Michael Snoyman
5709040dcd Add some docs for MassInput 2016-03-02 11:05:19 +02:00
Maximilian Tagher
d39ce44c21 Use defaultCsrfParamName instead of hard-coding its value
* Up version bounds so that `defaultCsrfParamName` is available.
* I didn't bump the yesod-form version. It seemed unnecessary to do a new release just for this.
2016-02-15 23:59:24 -08:00
Eric Easley
1dea0ef5b1 Adjust yesod-form for split DB 2016-02-07 19:15:57 -08:00
vlatkoB
a6e11245cf Fix var name to croatianFormMessage 2016-01-20 09:47:28 +01:00
vlatkoB
1fca3ceea3 Croatian translation 2016-01-20 08:48:15 +01:00
silky
6ec02a917f Add error class when help text is an error. 2015-12-23 16:00:37 +11:00
mrkkrp
b8949f4970 Fix a typo in Russian translation of form messages 2015-12-07 15:54:40 +06:00
Michael Snoyman
3dbf4b6fad Update changelog 2015-12-03 20:55:37 +02:00
Andrew Martin
a2f4cc41fd Add Functor instance for Option and OptionList 2015-10-27 11:28:40 -04:00
Michael Snoyman
b51b57d445 Modify version bump for #1089 2015-10-20 05:28:06 +00:00
Andrew Martin
e22b81793e Add instance documentation and bump version number 2015-10-19 12:33:30 -04:00
Andrew Martin
a225d3d680 Add Foldable and Traversable instances for FormResult 2015-10-19 09:35:03 -04:00
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
Michael Snoyman
a5583c75b2 Version bump 2015-02-09 07:25:40 +02:00
Maximilian Tagher
e57b62235f Add more semigroups instances 2015-02-08 16:55:06 -08:00
Michael Snoyman
bed6dafce8 Doc link updates 2014-12-21 15:23:52 +02: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
eeb0bb57d1 Version bump 2014-11-29 19:20:35 +02: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
ce74e23d87 timeField now uses type="time"
* Also removes deprecation from `timeField`
* Also mildly discourages using `timeFieldTypeText`
2014-11-28 15:57:01 -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
Michael Snoyman
3679e67927 Version bump 2014-11-24 07:51:51 +02: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
Michael Snoyman
dfd059165d Version bump 2014-10-13 09:40:27 +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
9d0d48afd6 Version bump 2014-10-01 14:50:57 +03: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
fe940598e1 Add Nic to hello-forms 2014-10-01 14:47:35 +03:00
Michael Snoyman
def48d8a45 Version bumps for 1.4 release 2014-09-21 11:41:37 +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
598e570913 Remove deprecated packages 2014-09-07 17:41:09 +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
9471399589 Merge branch 'master' into yesod-1.4 2014-08-28 05:19:21 +03:00
Michael Snoyman
d6b3d2a890 conduit 1.2 version bumps 2014-08-27 18:01:02 +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
Michael Snoyman
2ad3227776 Version bumps 2014-08-20 17:54:46 +03:00
Michael Snoyman
17016f8427 Merge branch 'master' of github.com:yesodweb/yesod 2014-08-20 16:46:21 +03:00
Dunric
d4175f11cc `required' attribute for nicHtmlField (textfield tag) 2014-08-20 01:53:59 +02:00
Michael Snoyman
a2d118e236 network/network-uri split 2014-08-16 23:02:32 +03:00
Michael Snoyman
9726f9c59f Version bump 2014-08-06 14:03:53 +03: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
b33650551e Version bump 2014-07-26 22:16:37 +03:00
Michael Snoyman
73204a0620 Merge pull request #784 from geraldus/form-i18n-ru-temp
Basic form i18n for Russian Language
2014-07-26 22:10:48 +03:00
Артур Файзрахманов
99484ab894 Fixed cabal file
Added Russian form translation as exposed module in .cabal
2014-07-27 01:08:39 +06:00
Michael Snoyman
6a09bc3406 Version bumps 2014-07-26 21:53:26 +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