• last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- passing object to sub-components and "get_single_spec" (needed for object specific roles)

  1. … 1 more file in changeset.
- allow conditional form_field_values in @table

  1. … 1 more file in changeset.
- remove debug message

- revive xinha for richtext again

- remove mixin, when downgrading a richtext formfield to a textarea

  1. … 1 more file in changeset.
keep rendered state for form fields

- make all switch statements safe (as principle)

  1. … 5 more files in changeset.
added match operator for correctness checks in form-fields

- new attribute for formfields: correct_when, can be used to specify an expression, when an answer is supposed to be correct

- definition of operators: eq ge gt le lt in btwn

- handling of script_dir for xinha (in case, no /xowiki is mounted). The directory is needed for the OacsFS plugin

  1. … 2 more files in changeset.
- handling the case for numeric fields, where e.g. floating pouint input is collected, but at a later time, the developer changes the format to integer

- reduce collateral damage of last changes

- postprocess output of lc_parse_number with expr to get a better canonical representation

- new method for form-fields: "convert_to_external"

- renamed method of form-fields "process_user_input" to "convert_to_internal"

- form-field type numeric accepts now format, converts from localized to tcl and vice versa

- perform post-processing after validation

  1. … 1 more file in changeset.
use lc_* for number checking in formfield numeric (based on item locale)

  1. … 2 more files in changeset.
- new form-field type image (subclass of file)

- keep old values for form-fields of type file, when no new value is provided

- make entries of type file children of the FormPage

- provide relative names for files (can be child_objects of arbitraty objects)

- providing a parent_id to pretty_link to make relative names

- extend admin pages to list child-objects

- some refactoring and cleanup

- add per-connection-caching for get_parameter

- bump version numbers

  1. … 8 more files in changeset.
- handle interface between process_user_input and get_form_data correctly

  1. … 1 more file in changeset.
- handle derived names for form-field type "file" for named entries more general

- respect upload mime-type, if not application/octetstream

- refactor "complete_name" into "build_name"

  1. … 4 more files in changeset.
- experimental new form-field type: file

- allow filename to be specified for downloads of type file

  1. … 3 more files in changeset.
- adding formfield of type checkbox

  1. … 1 more file in changeset.
- provide mapping for commas in labels (__COMMA__) in

form-constraints together with fc_encode and fc_decode

- new method FormField->has_instance_variable to check

whether the formfield or a component has a certain

variable set to a certain value (used to detect,

if e.g. a compound form field contains a wym-weditor)

- new method FormField->process_user_input to

iterate over formfields before these are stored

- new method CompoundField->create_components to

factor out common code

- new method CompoundField->get_named_sub_component

to ease access of subcomponents

  1. … 2 more files in changeset.
- some cleanup after refactoring

- provide view_method for create-new to not enforce "edit" after "create-new".

  1. … 2 more files in changeset.
- form fields: allow initializ to differentiate between after reset or after specs

- readjust height setting to actual wymeditor

- form-field event: new parametr "multiday"

  1. … 1 more file in changeset.
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.