• last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added points in addition to minutes to test items and inclass-exam workflows

  1. … 6 more files in changeset.
return raw value for form-fields of type label, when disableOutputEscaping is set

reduce verbosity

fix typo

undo recent changes on too global localizations

The new form-field class localized_text text solves the goals

of for providing a formfield interface to message keys in a

loca fashion rather than altering the behavior of all form

field and of all property interfaces.

  1. … 1 more file in changeset.
New form-field class: localized_text

This class can be used to provide an interface for specifying

internationalized text strings saved in message keys via input

from a form. When editing the content provided via the input field

is saved together with an item-specific message keys in the

message key tables via lang::util::convert_to_i18n.

This formfield class is especially useful for xowiki items which

have no language-prefix (e.g. folders or links). In other cases it

is probably still a better idea to create same named pages with

different language prefixes.

  1. … 1 more file in changeset.
Disable any conversion on the _name property (:name Page instance variable): this property is special and receives already its necessary conversion at validation time, happening before conversion time and should not be overridden

Implement 'language_specific' formfields and 'localized' FormPage properties:

- properties can be stored and retrieved specifying a -localized flag: this flag will make transparently store and retrieve the property value from a custom message key created in the acs-translations package referencing the FormPage. This localization mechanism is additional to that of language-prefixed pages and can address the need of multi-language content for non-prefixable objects such as folders

- via specifying language_specific in the formfield spec, one can enable this new localization mechanism when interacting with the FormPage via a xowiki::Form

TODO: handle export/import of pages (e.g. serializing available translation and generate the new message keys for the imported page), add some nicer UI to make the user aware of e.g. current translation context

  1. … 1 more file in changeset.
Improve sql portability

  1. … 4 more files in changeset.
make "instantiate_forms" a method of packages

this reads better than the previous variant based on the Weblog class.

  1. … 14 more files in changeset.
replace array by dict

  1. … 1 more file in changeset.
improve debugging messages

  1. … 1 more file in changeset.
fix typo

  1. … 1 more file in changeset.
introduced "ad_file" as a means to avoid unexpected tilde substitution in file names

  1. … 50 more files in changeset.
improve spelling

  1. … 19 more files in changeset.
added time_span form field (based on HTML5)

bumped version to 5.10.0d57

  1. … 3 more files in changeset.
add property to textara and text_fields to disallow cut&paste

handle cases, where autosave was rejected

  1. … 3 more files in changeset.
- textarea: added attribute "autosave"

- set autosave attributes in text_fields, when "multiple_lines" was specified.

- remove for the time being "hkey" from "non_cached_instance_var_patterns",

since this was recently fixed (TODO: check regression test and reactivate it later)

- new Externally callable method: autosave-attribute:

this is a simplified version of "save-attributes", but which does

NOT perform input validation, which might be a problem in case of partial input

- add "autosave-attribute" to all policies, where "save-attributes" was set

  1. … 7 more files in changeset.
whitespace changes

fix typo in make_correct

added support for solution hints on checkbox and radio questions

  1. … 1 more file in changeset.
- name test-item sepcific form-fields for "in_position" and "minute" with a "test_item_" prefix

- added points calculation in addition to score

added support for randomization not only per user, but as well per position

if "shuffle" finds precomputed seeds, used these to improve randomization

CompoundField->value: return always the value from get_compound_value

add optional text descriptions to short_text fields

generalize modifier handling in "correct_when"

prefer "string map" over "regsub"

autocorrection: support *lower* float for correct_when=in