• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
generalize "transimit_always" handling for select, radio and checkbox

fix a bug in multi-selects, when de-selecting the last element of an optional mulit-select (many thanks to Michael Aram)

handle more "correct_when" cases when providing a value via. "make_correct"

whitespace changes and fix logic for valid_subselection

make the same (transitional) change for for improved mobile behavior on radio checkmarks

use always check-box inline for formatting

avoiding picking up arbitary content as site_wide xo* pages

include word statistics for text area

provide "-lang" to toplevel "resolve_page" to reduce verbosity

- Page.create_raw_form_field:

+ add flag to control nls_language (if not used, behave like before)

- form-usages:

+ add "-date_format" flag to control formatting of dates

+ use nls_language of embedding page for form-fields in includelet

- break overlong lines

reduce verbosity

form-fields:

- new helper API call: "dict_to_fc" to convert from a dict to a form constraint spec.

- extended formfield answer and word statistics

- ckeditor4: add dimensions (width and height) when available to the configuration

- prefer variables over method calls

- added answer hints (one word, multiple words, ...) to text_fields widget

- form_page: maintain list of references such that the referenced page

knows if and from where it is referenced

  1. … 3 more files in changeset.
prevent double encoding of utf8 chars in links

still not sure, what the best way is, but for current situation,

this fixs potentially broken links

make_link calls: remove parameter "-with_entitites 0" since it is default

Improve comments

remove unneeded statement

remove file for running current xowiki under OpenACS 5.1 (an attempt, which would fail for other reasons)

improve comments

prefer all caps spelling for SQL

  1. … 2 more files in changeset.
prevent double encoding

add a plain template using the master

  1. … 10 more files in changeset.
Rename clock_to_ansi to lc_clock_to_ansi to comply with naming convention, replace occurrences, create deprecated wrapper

  1. … 4 more files in changeset.
load highcharts from CDN (and don't refer to non-existing resource file)

upgrade to latests jquery (3.4.1)

  1. … 2 more files in changeset.
generalize alnum handling

add option to control path encoding to the method Page.pretty_link for symmetry (was already allowed on the package level "pretty_link" method

add duplicate button support to form-usages

use glyph icon in bootstrap mode instead of gif image in form info messages

  1. … 2 more files in changeset.
extended form-fields autocorrection handling

- added functionality of per-form-field statistics

- added support for "radio"/single choice test items

- added support for richtext handling in "radio"

- added a (limited) method to set a form-field to a correct value, based on "correct_when".

So far, just a minimal set of predicated is handled

- improved "unknown" handling, when the code does not know, whether item is correct or not

- refactored some code

- improved source code documentation

Check for answer being not-empty instead of being true