• last updated 13 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
add debugging output for migration phase

added storage_type to xowiki_form_instance_item_view

  1. … 1 more file in changeset.
Added two types of grading schemes (in addition to "exact") to ordering exercises:

- "position": count elements as correct, when these are on the correct position

- "relative": count elements as correct, if the neighboring element is correctly before the actual element

The results are adjusted by the same guessing correction as in the "ggw" scheme for MC exercises.

Example:

- desired order: 1,2,3,4

- provided answer: 3,1,2,4

- scheme "exact": 0%

- scheme "position": 0 0 0 1

- scheme "relative": 0 1 1 (correctly ordered 1<2 and 2<4)

A minor refactoring was also performed to ease code reuse.

  1. … 2 more files in changeset.
provide friendly error message in error.log in case provided answer-values (for e.g. MC) are invalid

relax creator check, return package instance name in result dict

reduce verbosity

  1. … 1 more file in changeset.
added parameter "-parent_id" for "abstract_page" to allow a developer to point to a single folder

Remove redundant 'apm_package_instance_delete'

Cleanup after test

Create a test user for the 'create_form_with_form_instance' test case, instead of using the current one, and use its 'user_info' in the calls to 'acs::test::http'

::xowiki::test::create_form_page improve ease-ness to work with autonamed entries: return request dict containing page_info

CVS: ----------------------------------------------------------------------

complete listing of covered procs in test cases

  1. … 13 more files in changeset.
mark private functions as private

  1. … 8 more files in changeset.
Add a new subsite::parameter_changed implementation for xowiki, reacting to the switching of the use_hstore parameter

This way it won't be necessary for other packages to generate the hstore manually using private api

Reinstate api as private, downstream cases need to be adapted

Make api public: downstream xowiki-like packages use it to extend uninstantiation logics

Make proc public: many downstream packages use it e.g. in their upgrade scripts

Provide a public general-comments solution to empty messages from a specific package: other xowiki-like packages downstream would otherwise need to call a xowiki private api

  1. … 1 more file in changeset.
removed leftover from debugging

Fix correct-when test of empty input when constraint is "<" or "<=". Many thanks for Florian Mosböck for finding this.

provide more details in log message

improve listing of test coverage

  1. … 16 more files in changeset.
improve listing of test coverage

    • -39
    • +45
    ./test/xowiki-admin-tests-procs.tcl
  1. … 3 more files in changeset.
improve listing of test coverage

    • -2
    • +64
    ./test/xowiki-admin-tests-procs.tcl
  1. … 5 more files in changeset.
use ad_proc -private

improve warning message

provide better error message

make listing of tested procs more complete

    • -14
    • +27
    ./test/xowiki-admin-tests-procs.tcl
  1. … 8 more files in changeset.
Creating the site wide xowiki instance cannot half fail, as it might leave the subsite in an inconsistent state

Fixes acs-admin.acs_admin_require_site_wide automated test

form-field "range": added optional output text box for displaying the actual value

  1. … 1 more file in changeset.