• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added page_contract filter "object_id"

This change adds the page_contract filter "object_id", which validates

values whether these are syntactically acceptable as object_ids in

PostgreSQL and Oracle.

Note that before one is able to use the filter, the server has to be

restarted. Otherwise, when e.g. "apm/version_reload.tcl" would be

executed with the new filter, it would fail. So, one has to be careful

on update scripts, when people upgrade from old version not to create

a blocking mutual blocking condition.

    • -2
    • +2
    /openacs-4/packages/acs-tcl/acs-tcl.info
improve comments

use util::unzip instead of plain "exec unzip" commands

add question_info_block to documentation block

new variant of zip_file_contains_valid_filenames independent of "unuip -l"

unfortunately the behavior of "unzip -l" differs not only between

macOS and Linux, but even between different linux families, although

showing the same version.

Refine regular expression used for the detection of Includelets

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
add explicit return to be more human readable

split out question_info_block

fix typo

bugfix: pass "-revisions" to "render_proctor_images" since it is needed there

fix braces for return_url

improve handling of zip files that contain filenames, which are not valid UTF-8

Replace handcrafted form with 'ad_form'. Many thanks to Monika Andergassen.

file transcript-new.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/chat/www/transcript-new.adp
Remove obsolete file that was re-added to the oacs-5-10 branch.

Prefer portable limit idiom, streamline query, "bad postgres" does not need this...

force en_US locale

added attachments for text_interaction

preserve colors for printing "match-contains" and "match-contains-not"

Background: bootstrap.css removes all backgrounds per default.

whitespace changes

whitespace changes (eliminate tabs)

improve spelling

use language prefix from system locale

In acs-tcl.documentation__check_proc_doc automated test, if the test fails on procs that belong to namespaces outside the OpenACS codebase, just issue a warning rather than failing

Modernize javascript idiom

Allow to specify javascrit event handlers at the tcl level using CSS query selectors

Refactored exam protocol renderers

The new code reduces the sinze of inclass-exam.wf significantly by

moving the exam protocol into test-item-procs.tcl. In the same step,

the largish function was split up, the rendering functions of

submissions are now named consistently, and there are now different

functions for rendering single items vs. many items, making the

single-item rendering reusable. Additionally, the answer manager is

documented in a more eye-friendly and modular way.

    • -328
    • +26
    /openacs-4/packages/xowf/lib/inclass-exam.wf
    • -154
    • +722
    /openacs-4/packages/xowf/tcl/test-item-procs.tcl
prefer var over proc

    • -1
    • +2
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
removed further "global" statments

improved listing of covered procs