• last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.

    • -2
    • +2
    /openacs-4/packages/xowiki/xowiki.info
    • -1
    • +17
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
fix typo

remove indent as well on xotcl procs, handle also per-object methods the same way

added support for "ns_trim -prefix".

The command is predefined in NaviServer; if not available, a comatibility version is added.

This change also mitigates a potential memory-leak problem in nsv_dict with certain

versions of NaviServer which might lead on busy sites to problems.

    • -2
    • +2
    /openacs-4/packages/acs-tcl/acs-tcl.info
fix typo

    • -1
    • +1
    /openacs-4/packages/xowf/lib/inclass-quiz.wf
add publish status to default list of columns in child-resources

    • -1
    • +4
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
Fix typo

complete query variables

prettify API browser rendering for nx methods

- remove redundant doc block

- remove indentation

make sure, no commented out code is added to the proc doc

    • -13
    • +19
    /openacs-4/packages/xooauth/tcl/ms-procs.tcl
beautify labels of ensemble methods in object browser

added support for NX ensemble methods

remove incorrect and misleading comment and simplify code accordingly

set the global variable ::acs::kernel_id early enough during boostrap of new instances, such it can be used in a uniform way

improve comment

refresh also "registered_users_of_package_id", which seems required on some (?) sites

correct variable name

improve documentation

    • -19
    • +26
    /openacs-4/packages/xooauth/tcl/ms-procs.tcl
Made passing of "-object" to atjob optional.

When there is no object specified, use the global en:atjob-form

object as parent.

    • -4
    • +6
    /openacs-4/packages/xooauth/xooauth.info
    • -0
    • +14
    /openacs-4/packages/xowf/tcl/atjob-procs.tcl
improve spelling

    • -3
    • +3
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Added a ".donecallback" in addition to "-wait" for async operations (via atjobs)

When a "-donecallback" is specified, it is fired when either the async

operation status is "succeeded" or leads to an error. The operation

status is added as additional argument to the callback (it might be a

dict for unexpected replies from MSGraph).

The additional argument was added to the methods

- team archive

- team clone

- team create

- team unarchive

    • -9
    • +100
    /openacs-4/packages/xooauth/tcl/ms-procs.tcl
make package requiring more robust (there seems one more issue with assumptions about loading order, we should use bson lib)

MSGraph: added a "-wait" option for async operations

this concerns the methods

- team archive

- team clone

- team create

- team unarchive

    • -15
    • +38
    /openacs-4/packages/xooauth/tcl/ms-procs.tcl
MSGraph: added built-in support for pagination

By default, MSGraph returns for a query just the first 100

results ("pagination"). To obtain more results, it is

necessary to issue multiple requests. If "-max_entries" is

specified, the interface tries to get the requested

number of entries. If there are less entries available,

just these are returned.

The parameter -max_entries was added to the following calls:

- group list

- group member list

- user list

    • -23
    • +123
    /openacs-4/packages/xooauth/tcl/ms-procs.tcl
Factor out common code, which is not specific to Microsoft Graph

    • -275
    • +43
    /openacs-4/packages/xooauth/tcl/ms-procs.tcl
    • -0
    • +288
    /openacs-4/packages/xooauth/tcl/rest-procs.tcl
file rest-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/xooauth/tcl/rest-procs.tcl
deactivate grammarly as well, when spellcheck is turned off for textarea

uadded team archive/unarchive operations

    • -27
    • +56
    /openacs-4/packages/xooauth/tcl/ms-procs.tcl
experimental support for the Microsoft Graph API (e.g. for teams integration)

    • -0
    • +1056
    /openacs-4/packages/xooauth/tcl/ms-procs.tcl
file ms-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/xooauth/tcl/ms-procs.tcl