• last updated 22 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added edit-workflows for test items: edit-interaction.wf

This change eases tailorization of actions of editing workflow

and makes it possible to address all types of testitems via

a single term

-form en:edit-interaction.wf

instead of having to enumerate the relevant types explicitly as

it was before

-form en:TestItemText.form|en:TestItemShortText.form|en:TestItemMC.form|en:TestItemSC.form|...

For backward compatibility, the old enumeration is kept for a while. New test

items should be created over the new workflow, as e.g. in

{entry -name New.Item.TextInteraction -form en:edit-interaction.wf -query p.item_type=Text}

  1. … 8 more files in changeset.
use "ad_file" as a means to avoid unexpected tilde substitution in file names

  1. … 8 more files in changeset.
added a saftey belt and a warning message, when someone tries to create a shared wf container on an object with no valid revision id

improve spelling

  1. … 19 more files in changeset.
added atjob-form to site-wide pages of xowf

provide method "util_user_message" to be able to use util_user_message also in background jobs

reduce verbosity

add support to get revisions with instance variables

New API method WorkflowPage.get_revision_sets

Collect information about the revisions of the current workflow

instance as a list of ns_sets.

- test-items: added ordering item type (short_text_interaction)

- simplified code by using ':get_named_sub_component_value -from_repeat ...'

- refetch site-wide pages, when the source code of the site-wide pages changes.

- bumped version number to 5.10.0d16

  1. … 13 more files in changeset.
- new assessment workflow for in-class exam

lib/inclass-exam-answer.wf

lib/inclass-exam.wf

- Defined common superclass for Assessments (AssessmentInterface) to

provide common infrastucture (assertion methods), and define other

interface classes as subclasses (Renaming_form_loader,

Answer_manager, Question_manager).

- extended message keys

- new prototype pages:

www/prototypes/TestItemMC.form.page

www/prototypes/TestItemSC.form.page

www/prototypes/TestItemShortText.form.page

www/prototypes/TestItemText.form.page

www/prototypes/TestItemUpload.form.page

www/prototypes/assessment-index.page

www/prototypes/inclass-exam.wf.page

www/prototypes/inclass-quiz.wf.page

www/prototypes/online-exam.wf.page

www/prototypes/quiz-select_question.form.page

www/prototypes/select_question.form.page

- Defined to following pages as site-wide:

Package site_wide_pages {

Workflow.form

TestItemText.form

TestItemShortText.form

TestItemMC.form

TestItemSC.form

TestItemUpload.form

online-exam.wf

inclass-quiz.wf

inclass-exam.wf

quiz-select_question.form

select_question.form

}

- Ensure availability of site-wide pages at startup

of server.

- bumped version number to 5.10.0d15

  1. … 23 more files in changeset.
Crosscutting reform to ease configurability of xo* applications

acs-admin

- Provide support for site-wide packages

Site-wide packages can be used to provide a common

place for site-wide admins to configure application packages

and for testing purposes. These packages are mounted

on a special subsite (named "site-die") under acs-admin/

to avoid confusions for end-users of the site.

The site-wide subsite can be used as well for creating testing

instances or for other testing purposes.

- bump version number to 5.10.0d9

xotcl-core

- Added support for site-wide packages.

Packages can define, how site-wide packages

should be configured

- Changed Package-level procs into instprocs

of the meta-class. This way, generic code can be

provided for common handling across packages.

This effects:

- configure_fresh_instance

- get_site_wide_page

- import_prototype_page

- lookup_side_wide_page

- require_site_wide_info

- require_site_wide_pages

- bump version number to 5.10.0d24

xowiki

- provide configurable configuration info for new packages

(including site-wide packages)

- search for prototype pages along inheritance path

- moved Parameter.page prototype here

- added "table-of-contents" prototype page

- perform refactoring due to moving methods to the

meta-class

- reduce usage of anonymous arrays

- bump version number to 5.10.0d49

xowf

- simplify apm callback and use new infrastructure

- provide configurable configuration info for new packages

(including site-wide packages)

- bump version number to 5.10.0d14

  1. … 14 more files in changeset.
whitespace changes and editor hints for all xo* packages

  1. … 15 more files in changeset.
- make "title" configurable via Action.payload dict

- whitespace changes

move also hstore examples to xowiki

  1. … 1 more file in changeset.
relocate update_hstore from xowf to xowiki::hstore, where the other hstore helpers exist

  1. … 2 more files in changeset.
improve spelling

default to shared workflow definition

- add invalidation for shared workflow containers (when

sharedWorkflowDefinition is activated)

- use the mew form-field method "set_feedback" defined in xowiki

  1. … 1 more file in changeset.
- improved source code documentation

- improved checking, when ID or object is returned

improve query parameter validation

  1. … 1 more file 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. … 1 more file in changeset.
modernize code: use resolver variables rather than method calls

  1. … 14 more files in changeset.
Fix workflow_constructs automated test: in this case, workflow context is not resolved and "::" is returned instead, which is not a command and would make this proc fail

don't catch all render_icon calls

- added support for render_icon method

- improved error messages

output warnings when workflow constructs are created shadowing potentially global commands

use same idioms for checking for exising commands

  1. … 5 more files in changeset.
let actions to use ad_script_abort to avoid saving of the attributes

prefer package object over plain id

  1. … 1 more file in changeset.