• last updated 18 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
modernize idiom

use fully qualified cmd name in directdispatch

Added support for tailored messages when autosave is rejected

Optionally, the AJAX call from autosave can be answered with

a JSON structure containing a "feedback". If this is provided, this

is presented to the user. The mechanism can be extended in the

future to include some reason code, etc. for further automatic

processing in JavaScript.

With this change, the inclass-exam-answer workflow will use this

to comminicate the reasone for rejected autosave operations in

situations, where the examtime is up.

  1. … 4 more files in changeset.
minor update of call pattern and debug line

improve input checking

Refactor form-field statistics (part 1)

- Start move of statistics from being collected in form-fields to

collecting these in the workflow objects. The original code was

developed with less randomization (e.g. no x out of y alternatives)

which requires that the formfields have to be reset multiple times

(e.g. for multiple students in the exam protocol). The exam-protocol

handler cleans regularly the form-fields, which caused also the

deletion of statistics. Collecting these in the (exam) workflow is

safe.

- Collect correct and incorrect statistics per alternative. Since

different students might see different alternatives calculating the

successrate can only be performed by the students having seens this

alternative.

add publish status to default list of columns in child-resources

improve spelling

deactivate grammarly as well, when spellcheck is turned off for textarea

better control of browser built-in spellcheck

- xowiki: added property "spellcheck" to formfield classes "textarea" and "text_fields"

- xowf: allow per-exam to activate/deactivate spellcheck in these widget classes

  1. … 5 more files in changeset.
avoid that invalid tags are inserted to the db

The inserted tags have to be compatible with

Package->validate_tag

  1. … 1 more file in changeset.
Return result as a plain list, rather than forcing a string representation, so that "evil" tags containing e.g. double quotes are properly quoted and list idioms such as lsort executed on this proc's output work properly

The issue was found e.g. in the my-tags includelet

improve safety of SQL queries

  1. … 3 more files in changeset.
improve safety of SQL queries

remove obsolete variable

Extend high-level filtering by providing "-unless" clause in form-field class "form_page"

- added "unless" clause to form-field class "test_section" to be able to filter

certain pages which should not be included

- reduced redundancy be factor out "compute_filter_clauses" method for FormPage

(used in includelet procs (class "form-usages") and form-field procs (class "form_page")

added statement (commented out) flag for debugging of resource path loading

rename newly introduced flag of form-usages from to "-allow_clipboard" to "-with_checkboxes"

Additional flag for includelet "form-usages": -allow_clipboard true|false

This makes it possible to use the includelet also without bulk-actions

for adding/removing content to the clipboard by including the checkmarks

per table and by table row.

use acs::clusterwide instead of xo::clusterwide

  1. … 4 more files in changeset.
revert regression introduced on Aug 07 and factor out common code

reduce deprecated calls

    • -1
    • +1
    ./resources/templates/error-template.tcl
    • -1
    • +1
    ./tcl/test/xowiki-admin-tests-procs.tcl
file news.page was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/prototypes/news.page
file table-of-contents.page was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/prototypes/table-of-contents.page
file sitemapindex.xml.page was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/prototypes/sitemapindex.xml.page
file sitemap.xml.page was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/prototypes/sitemap.xml.page
file podcast.page was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/prototypes/podcast.page
file news-item.form.page was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/prototypes/news-item.form.page
file link.page was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/prototypes/link.page
file index.page was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/prototypes/index.page