Kim Alvefur <zash@zash.se> [Fri, 03 Aug 2018 22:25:16 +0200] rev 9096
MUC: Allow destruction of tombstones (eg via telnet or adhoc command)
Otherwise this just updates the timestamp, which is probably the
opposite of what the user wanted
Kim Alvefur <zash@zash.se> [Fri, 03 Aug 2018 22:24:35 +0200] rev 9095
util.dataforms: Allow overriding default options even if the form has such
Kim Alvefur <zash@zash.se> [Fri, 03 Aug 2018 22:05:40 +0200] rev 9094
util.dataforms: Allow passing dynamically generated options as values (fixes traceback)
This is awkward but there’s currently no better way to do this, short of
dynamically generating the entire form each time
Kim Alvefur <zash@zash.se> [Fri, 03 Aug 2018 21:45:55 +0200] rev 9093
util.dataforms: Exclude descriptive text fields from forms of type 'submit'
The receiving end presumably already have the original form, so these
potentially long text fields are of little value.
Kim Alvefur <zash@zash.se> [Fri, 03 Aug 2018 21:06:59 +0200] rev 9092
util.dataforms: Skip all fields for the 'cancel' form type
XEP-0004 says:
> a data form of type "cancel" SHOULD NOT contain any <field/> elements.
The title and instructions don't seem to be of much value in this case
either.
I'm not aware of 'cancel' being used anywhere, so this should break
nothing. Early return is always nice.
Kim Alvefur <zash@zash.se> [Fri, 03 Aug 2018 21:05:48 +0200] rev 9091
util.dataforms: Only include options in 'form' type forms
Options should not be needed in other types of forms.
Kim Alvefur <zash@zash.se> [Fri, 03 Aug 2018 20:59:15 +0200] rev 9090
util.dataforms: Set default value for form type argument
Kim Alvefur <zash@zash.se> [Fri, 03 Aug 2018 20:51:08 +0200] rev 9089
mod_admin_adhoc: Normalize indentation
Kim Alvefur <zash@zash.se> [Fri, 03 Aug 2018 20:48:23 +0200] rev 9088
mod_admin_adhoc: Keep options for list-single in 'options' field where they belong
Would previously not work due to #1177
Kim Alvefur <zash@zash.se> [Fri, 03 Aug 2018 18:35:00 +0200] rev 9087
util.dataforms: Detach generation of options from values (fixes #1177)