• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- new abstract form-field class: ShuffleField

* provide means for shuffling options and answers

* three shuffle modes:

- no-shuffling (parameter shuffle false)

- shuffling on every call

- shuffling for a seed (depending on an ID, always the same shuffling)

- new form-field class text_fields, based on ShuffleField

similar to checkbox, but with text fields

and autocorrection via "correct_when"

- support for richtext in checkbox labels

- factored out set_feedback (was previously inline in xowf)

- bump version number to 5.10.0d41

  1. … 1 more file in changeset.
factor out loop invariants

added validator for "correct_when" form field types

prefer variable names over method calls

strip white space

allow empty correct_when specifications

provide new form-field "correct_when" for conveniant user interaction

the form-field type is currently just a text field with a tailored

help text, but can be extended in the future via pull-downs etc.

  1. … 2 more files in changeset.
prefer resolver variables over method calls.

remove fallback to obsolete version of ckeditor and bail out instead

remove debug output

The xowikiimage plugin requires "standard-all". Currently, the CKeditor CDN seems to have troubles. If this pe3rsists, we have to switch per-default to "standard", and drop the plugin for the time being, or rewrite it.

CKeditor has on its CDN just "standard", "basic" and "full". Default now to "standard" instead of "standard-all"

improve comments

  1. … 1 more file in changeset.
fix bug: never update references in the search renderer

before, it was possible that the search renderer added some

unsresolved references, although these were already fixed.

This was caused by the asynchrnous search queue, which

might have inserted such values.

The interface of Page.render was extended to be able to

specify, that the references should be always updated in the DB,

or just when unresolved references are encountered, or

never.

  1. … 3 more files in changeset.
  1. … 4 more files in changeset.
improve input validaton on query variables

  1. … 7 more files in changeset.
whitespace changes

  1. … 3 more files in changeset.
fixes for links to folders of different package instances:

- when resolve_local is used, fetch the correct index page, when target folder has an index page defined

- when resolve_local is used, avoid potential resolving loop

various code improvements:

- improve comments

- use better variable names

- remove dead code

- Package.lookup: make it am ad_instproc and make clear, it returns an integer

  1. … 2 more files in changeset.
Bring back old default behavior of using Gravatar as a fallback, but allow to disable it, reuse existing Gravatar code

  1. … 1 more file in changeset.
Rely on portrait-bits, that already provides a default image in case (many thanks to Monika Andergassen)

remove commented-out code

improve spelling

  1. … 6 more files in changeset.
prefer "nsf::is object" over ":isobject" or "info commands", since it is faster, more generic and can be used in all contexts

  1. … 3 more files in changeset.
prefer "nsf::is object" over ":isobject" or "info commands", since it is faster, more generic and can be used in all contexts

  1. … 15 more files in changeset.
fix typo

modernize code: use resolver variables rather than method calls

  1. … 14 more files in changeset.
fix typo

replace anonymous array by Tcl dicts

reduce XOTcl 1.* idioms

  1. … 1 more file in changeset.
reduce old-style "my" references

  1. … 4 more files in changeset.