• last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
minor change in comment

fix for short-text-questions

for short-text-questions, correct when is empty (an empty

list) when multiple subquestions exists. The old code

did not handle this case and checked just for the existance

of the variable.

many thanks to markus moser for the fix.

improved parameter checking

  1. … 3 more files in changeset.
revert escaped change

rename helper form-field to avoid potential confusion with value checkers

increased value checking for paramter that might be influenced by user input

  1. … 8 more files in changeset.
Protect against malicious inputs, where the value won't be a list

improve strictness of tests

  1. … 8 more files in changeset.
improve field validation

  1. … 3 more files in changeset.
Added support for drag&drop on reorder items for mobile devices

Additionally, provided a minimal width for drag items (there is probably a better solution for this)

  1. … 2 more files in changeset.
Added support for passing parameter_name:value_constraint to xowiki::Package->get_parameter

- The get_parameter method can get values from query-parameters, therefore

we have to validate these.

- Use the new feature at several places (especially for boolean values)

- Still, more places should be checked

- bumped xowiki to 5.10.1d37

- bumped xotcl-core to 5.10.1d14

  1. … 10 more files in changeset.
add information how many pages are currently selected in dnd mode

  1. … 1 more file in changeset.
use the highcharts package if available

  1. … 1 more file in changeset.
added support for pie chart statistics (deactivated by default)

implement optional bulk operations for candidate_box_select in dnd mode

  1. … 1 more file in changeset.
improve spacing on inline radio boxes in bootstrap5 (many thanks to Monika Andergassen)

  1. … 1 more file in changeset.
Styling improvements for exam answering workflows (many thanks to Monika Andergassen)

- provide explicit text to "next" and "previous" buttons in pagination menu

- align appearance of "next" and "previous" buttons in pagination menu with GitHub

- removed class "input-group" for compound fields to improve appearance

- bumped version number of xowf to 5.10.1d48

  1. … 4 more files in changeset.
Use existing api to tell whether a formfield is disabled or not and to set/unset disabled on a field, handle the case of checkboxes and select fields, where the attribute should not be set whe it is false (e.g. disabled=0 == disabled)

This fixes upstream automated tests on xowiki and xowf

  1. … 1 more file in changeset.
Fixed serious bug killing at least short-text questions in inclass exam

The bug was introduced in [1], by testing for the existence of the

disabled attribute, and when it exists, it was omitting values

reading. The problem is that when form-fields are reset, the

"disabled" attribute is set to 0, leading the exists check to

succeed. In essence, This change sets now the default value of the

form-field to "0", such that it is safe to test it everywhere.

Originally, it was not set by default to save resources (memory and

processing power), but this requires a more careful analysis when

changes happen.

[1] https://fisheye.openacs.org/browse/OpenACS/openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl?r1=1.368.2.125&r2=1.368.2.126

  1. … 1 more file in changeset.
Port of downstream hotfix: questions defined with an empty scoring might later fail the score calculations

One might consider preventing empty scores altogether via validation

fix compatibility with tdom 0.9.3

fix for old-style ad_form based forms with radio or checkbox controls for bootstrap 5

These controls were used with a bootstrap3 classes, which had the consequence

that no input was possible for these fields. Probably, similar changes

are as well necessary in other situations as well.

escape also brackets

prefer variable over method invocation

improve wording

provide basic support to make bootstrap3 and 5 switchable

bumped version to 5.10.1d25

  1. … 3 more files in changeset.
Alignments for Bootstrap 5

Also, use form.form for creating forms from the menubar instead of

old-strle ::xowiki::Forms. Aligned as well regression test to use

form.form.

Bump version number to 5.10.1d24

  1. … 9 more files in changeset.
increase robustness

use preferred idioms to use btn-default/btn-secondary for bootstrap3/bootstrap5

  1. … 2 more files in changeset.
refine form.form and validation errors

  1. … 1 more file in changeset.