Log

util/dataforms.lua @ 13073:9e5802b45b9e

description author age
util: Prefix module imports with prosody namespace Kim Alvefur Fri, 17 Mar 2023 16:23:16 +0100
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