• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make sure that the form object is flushed whenever state might have changed

If code executed after the state change accesses the form object again, this could be that from a previous state and e.g. hold the wrong form definition. This happens in practice downstream, where the submitting of activities also involves accessing the form definition to e.g. compute the grade based on the questions. Downstream we also cache the formfield specs, so if a spec is dependent on the state, might be wrong in also for future requests.

added support for pagination buttons, visited buttons and flagged buttons

  1. … 6 more files in changeset.
include recent site-wide pages, modernize code

Added text-attachment

Ny using text-attachments, a lecturer can attach files to the exercise

text for the student to download when solving the exercise.

  1. … 1 more file in changeset.
fix typo

pass _nls_language to batch-jobs to avoid invalid value in name normalization

white-space changes

added preview/testrun to edit item workflow

  1. … 3 more files in changeset.
reduce verbosity

perform cleanup of WorkflowContainer after 10 minutes

  1. … 3 more files in changeset.
Fix typos reported by documentation__check_typos automated test

  1. … 1 more file in changeset.
add safety-guard in case, someone tries to call action via hacking form hacking

provide configuration for exam folder

  1. … 3 more files in changeset.
provide a default menu config via proc

The setup of the menu of xowf instances can be now configured

via {config -use xowf}, new instances are created with this setup

search the form also in the site_wide_pages

prefer ad_try, since it is silent, when action is ended by a script_abort

improve debugging messages

  1. … 1 more file in changeset.
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