• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
prevent double initialization for events

- provide i18n help text for image_url and youtube_url

- compute proper mime-types for uploaded images via image_url

  1. … 1 more file in changeset.
allow empty urls in form fields of type youtube_url

- some improved comments

- use method-name "form_object" instead of "form_id"

  1. … 2 more files in changeset.
- added form-field type youtube_url

- new form-field parameter: show_raw_value

allow optionally to show the value of form-fields as raw values

- support for disabled composite fields

- new form-field class 'page':

similar to form_page, but is a simple selector

for arbitrary pages of arbitrary classes.

'page' supports as well a match-pattern for the page name.

- some refactoring of page and form_page to abstract_page

- new configuration option for form fields 'behavior':

one can now define the behavior of form fields via

form-constraints (e.g. some_field:page,....,behavor=SOMENAME)

where the behavior corresponds to a mixin class. This way

e.g. all renderings can be influenced on a per form-field

level. The behavior might be application specific.

- additional form-field types: form and form_constraints

- add cross package instance support to includelet form-menu

- add support to create ::xowiki::FormPages in different instances where the ::xowiki::Form exists.

Effectively, ::xowiki::Forms can be shared among xowiki instances.

  1. … 2 more files in changeset.
- fix handling of "required" for compound form-fields

- fix validation checking in compound fields (e.g. dates)

- improve validation of form constraints

- dont't depend on tcl 8.5

- remove wrong assignment

  1. … 1 more file in changeset.
- extended filter_expression for get_children to support properties starting with _

- added "where" option to formfields of type form_page

  1. … 3 more files in changeset.
initialize options for formfields of type form_page

  1. … 1 more file in changeset.
fix month list for date form fields

- fix message, when user is created

- fix initial state handling

  1. … 2 more files in changeset.
new attribuites for ::xowiki::FormPage: assignee and state

  1. … 4 more files in changeset.
- providing import/export for formfields user_id

- some methods renamed since they are more general now

- generalizing export

  1. … 2 more files in changeset.
- pass package_id instead of folder_id to get_children

- try to keep creation_user and modifying_user in import/export

- use package parameter to control usage of optional hstore

  1. … 3 more files in changeset.
- allow wiki rendering in formfields (disabled richtext field, when wiki is set to true)

  1. … 2 more files in changeset.
upgrade to WYMeditor 0.5a1 (safari cnd opera compatibility)

  1. … 36 more files in changeset.
- some cleanup after yesterdays renaming for form-fields

- allow categories includelet to obtain data from an ordered composite

  1. … 3 more files in changeset.
Change namespace for form-fields from class (::xowiki::FormField) to

ordinary Tcl namespace (::xowiki::formfield) to make it easier to

create formfield classes in other packages. This allows the file

xowiki/tcl/form-field-procs.tcl to be reloaded without swiping the

namespace.

  1. … 5 more files in changeset.
- improve handling for form-fields of type form_page (makes it easier to change the xowiki instance, from where the form is resolved)

- better handling of nested package initialzations

  1. … 1 more file in changeset.
- changed pretty value to omit ".." from category trees on level>1

- minor refactoring: made FormField::select and FormField::radio

subclasses of the abstract class FormField::enumeration,

keeping now the common methods for these classes

- import/export of FormFields using category trees as

source.

  1. … 2 more files in changeset.
allow cross package instance references for formfields of type form_page

  1. … 2 more files in changeset.
- support for additional form field type: form_page (subtype of select)

- category_tree::get_id seems to have problems with specified locale. omit it for now

- allow to use categories as values of arbitrary form-fields

(option category_tree for arbitrary select or options)

- provide pretty_value for fields with multiple values (select)

  1. … 1 more file in changeset.
- new method for form_page: get_property (to access properties from other pages, which might not be instantiated)

- more flags for form_fields: omit/noomit, disabled/enabled

- renderning disabled richtext as div

  1. … 1 more file in changeset.
support downgrading from richtext to textarea

some sanity checks for form-fields

added outional output escaping for form entries of type label, better handling for including _text in forms

  1. … 2 more files in changeset.