Log

util/dataforms.lua @ 12734:447aef5e942c

description author age
util.dataforms: Encode size attributes as integers in XEP-0221 media element Kim Alvefur Thu, 28 Oct 2021 13:02:59 +0200
util.dataforms: Ensure larger integers are serialized as such Kim Alvefur Thu, 28 Oct 2021 13:00:24 +0200
util.dataforms: Turn number values into timestamps for datetime fields Kim Alvefur Tue, 26 Oct 2021 15:17:49 +0200
util.dataforms: Coerce number values for boolean fields Kim Alvefur Tue, 26 Oct 2021 15:15:57 +0200
util.dataforms: Add support for datetime field types via XEP-0122 Kim Alvefur Mon, 25 Oct 2021 21:45:46 +0200
util.dataforms: Define a integer + "max" datatype Kim Alvefur Fri, 18 Sep 2020 12:18:51 +0200
util.dataforms: Add support for validating (integer) ranges Kim Alvefur Thu, 21 Nov 2019 18:56:43 +0100
util.dataforms: Convert media element sizes to avoid error on Lua 5.3 Kim Alvefur Sun, 16 Aug 2020 12:55:55 +0200
util.dataforms: Improve default error message for failed datatype validation Kim Alvefur Mon, 03 Sep 2018 19:44:28 +0200
util.dataforms: Add support for XEP-0122: Data Forms Validation Kim Alvefur Sat, 01 Sep 2018 03:10:09 +0200
util.dataforms: Allow field names to be different from the 'var' attribute Kim Alvefur Sat, 01 Sep 2018 01:24:46 +0200
util.dataforms: Allow passing the current values to be used in stead of omitted fields Kim Alvefur Sun, 05 Aug 2018 15:50:06 +0200
util.dataforms: Normalize indentation Kim Alvefur Sat, 04 Aug 2018 23:12:41 +0200
util.dataforms: Only allow overriding of options when passed via the :form method Kim Alvefur Fri, 03 Aug 2018 22:55:28 +0200
util.dataforms: Allow overriding default options even if the form has such Kim Alvefur Fri, 03 Aug 2018 22:24:35 +0200
util.dataforms: Allow passing dynamically generated options as values (fixes traceback) Kim Alvefur Fri, 03 Aug 2018 22:05:40 +0200
util.dataforms: Exclude descriptive text fields from forms of type 'submit' Kim Alvefur Fri, 03 Aug 2018 21:45:55 +0200
util.dataforms: Skip all fields for the 'cancel' form type Kim Alvefur Fri, 03 Aug 2018 21:06:59 +0200
util.dataforms: Only include options in 'form' type forms Kim Alvefur Fri, 03 Aug 2018 21:05:48 +0200
util.dataforms: Set default value for form type argument Kim Alvefur Fri, 03 Aug 2018 20:59:15 +0200
util.dataforms: Detach generation of options from values (fixes #1177) Kim Alvefur Fri, 03 Aug 2018 18:35:00 +0200
util.dataforms: Ensure fields have names when collecting data (fixes traceback, thanks Martin) Kim Alvefur Sun, 15 Jul 2018 22:50:05 +0200
util.dataforms: More robust handling of field values, especially booleans Matthew Wild Sat, 07 Jul 2018 12:11:52 +0100
util.dataforms: Add support for field descriptions in <desc> Kim Alvefur Wed, 27 Jun 2018 20:06:13 +0200
util.dataforms: Add a simple function for identifying form types Kim Alvefur Sat, 02 Jun 2018 19:57:46 +0200
util.dataforms: Remove string conversion to let util.stanza validate types Kim Alvefur Sat, 02 Jun 2018 19:49:15 +0200
vairious: Add annotation when an empty environment is set [luacheck] Kim Alvefur Wed, 28 Feb 2018 20:06:26 +0100
util.dataforms: Don't include list options in result forms (fixes #983) Matthew Wild Sat, 23 Sep 2017 13:20:46 +0100
util.dataforms: Fix including default value for list-single when given as field.value[].default Kim Alvefur Sun, 29 May 2016 15:57:03 +0200
util.dataforms: Allow separation of options from values in list fields Kim Alvefur Fri, 27 May 2016 15:44:41 +0200
util.dataforms: Track which fields are included in a form Kim Alvefur Tue, 08 Dec 2015 20:16:49 +0100
util.dataforms: Fix interaction of required fields and empty string values (fixes #521) Kim Alvefur Sat, 12 Sep 2015 17:49:47 +0200
util.dataforms: Refactor parsing to reuse simple text parser instead of duplicate code Kim Alvefur Sat, 12 Sep 2015 17:40:14 +0200
util.*: Remove use of module() function, make all module functions local and return them in a table at the end Kim Alvefur Sat, 21 Feb 2015 10:36:37 +0100
util.dataforms: Rename unused loop counter to '_' [luacheck] Matthew Wild Wed, 06 May 2015 19:43:51 +0100
util.dataforms: Remove unused import of pairs() (thanks luacheck) Matthew Wild Wed, 06 May 2015 19:38:29 +0100
Merge 0.9->0.10 Waqas Hussain Wed, 08 Oct 2014 18:42:33 -0400
util/dataforms: Make sure we iterate over field tags daurnimator Tue, 07 Oct 2014 12:08:23 -0400
Merge 0.9->0.10 Kim Alvefur Wed, 23 Apr 2014 00:22:36 +0200
util.dataforms: Add support for XEP-0221: Data Forms Media Element Kim Alvefur Tue, 22 Apr 2014 23:36:26 +0200
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
util.dataforms: Return nil for empty list-mutli responses, to be consistent with other readers Florian Zeitz Fri, 14 Jun 2013 00:07:57 +0200
util.dataforms: Add support for generating type='fixed' fields Florian Zeitz Mon, 11 Feb 2013 23:46:45 +0100
util.dataforms: Fix parsing of -multi fields Florian Zeitz Tue, 12 Jun 2012 18:29:58 +0200
util.dataforms: Don't return invalid JIDs in jid-single. Kim Alvefur Thu, 17 May 2012 21:25:41 +0200
util.dataforms: Fix validation of booleans. Kim Alvefur Thu, 17 May 2012 21:18:35 +0200
util.dataforms: Do field validation and normalization in field readers. Kim Alvefur Thu, 17 May 2012 21:01:44 +0200
util.dataforms: Fix verfication for booleans Florian Zeitz Sat, 03 Dec 2011 17:10:48 +0100
util.dataforms: Fix form verification Florian Zeitz Fri, 02 Dec 2011 19:24:54 +0100
util.dataforms: Add field verification logic Florian Zeitz Thu, 11 Aug 2011 23:58:26 +0200
Monster whitespace commit (beware the whitespace monster). Waqas Hussain Sat, 16 Oct 2010 23:00:42 +0500
util.dataforms: Add list-multi support Florian Zeitz Thu, 15 Jul 2010 22:58:10 +0200
util.dataforms: Capability to set default for list-single Florian Zeitz Thu, 15 Jul 2010 21:31:57 +0200
Update copyright headers for 2010 Matthew Wild Mon, 22 Mar 2010 17:06:15 +0000
util.dataforms: Add optional type parameters (defaults to 'form') Matthew Wild Fri, 22 Jan 2010 14:58:31 +0000
util.dataforms: Don't require type when parsing form XML Florian Zeitz Wed, 25 Nov 2009 19:58:19 +0000
util.dataforms: Support for jid-multi field type Florian Zeitz Fri, 06 Nov 2009 23:51:14 +0000
util.dataforms: Only add value to rendered form if supplied in the data Florian Zeitz Fri, 30 Oct 2009 01:18:56 +0000
util.dataforms: Incorporate slightly modified patch for list-single type from Florob Matthew Wild Fri, 16 Oct 2009 19:52:09 +0100
util.dataforms: Small fix to allow generating forms without specifying any input data Matthew Wild Sat, 10 Oct 2009 03:09:15 +0100
util.dataforms: Support for jid-single field type especially for Florob :) Matthew Wild Sat, 10 Oct 2009 02:21:25 +0100
Add copyright header to those files missing one Matthew Wild Fri, 10 Jul 2009 03:08:38 +0100
util.dataforms: Allow form layouts to specify default values for fields Matthew Wild Sun, 05 Apr 2009 19:42:01 +0100
util.dataforms: Set form type when generating a form Matthew Wild Sun, 05 Apr 2009 19:41:24 +0100
util.dataforms: Support for retriving the field value data from forms Matthew Wild Sat, 04 Apr 2009 18:08:35 +0100
util.dataforms: Fixes for hidden field type Matthew Wild Sat, 04 Apr 2009 18:07:48 +0100
util.dataforms: Fix some field types which didn't render properly Matthew Wild Sat, 04 Apr 2009 16:25:16 +0100
util.dataforms: Add support for <required/> fields Matthew Wild Sat, 04 Apr 2009 16:23:32 +0100
util.dataforms: Fixed to actually work, mostly Matthew Wild Sat, 04 Apr 2009 15:32:32 +0100
util.dataforms: Return the form Matthew Wild Sun, 01 Mar 2009 23:34:25 +0000
util.dataforms: First commit, incomplete Matthew Wild Fri, 27 Feb 2009 17:56:07 +0000