• last updated 47 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
silence log entries during regression test

silence log entries

    • -3
    • +3
    /openacs-4/packages/xowiki/xowiki.info
notice in the system log, when require_site_wide_package returns empty

never cache package_id, when acs_admin::require_site_wide_package returns empty.

make query name fully qualified to remove warning

silence case in regression test

silences log entries during regression test

fixed incorrect message key

New API call: aa_silence_log_entries

The new function silences expected messages in the system log. The

proc deactivates the specified severity levels during the code in the

last arguemnt is executed. After it has finished, the severity levels

are reset to their previous values.

The purpose of this function is to make test system log clean from

error messages and the like during the regression test, such it

contains only errors which have to be looked at.

    • -2
    • +3
    /openacs-4/packages/search/search.info
Small upgrade for aa_testing reports

- added used memory and memory differences to before a test case Be

aware that this is the memory of the full process, differences can

be negative.

- cleanup after reporting errors (we have the leaked objects in the aa_log)

use just "Adminitration" in the label of the menubar

make this package installable via .apm (install from repository)

add hstore to acs_attribute_types, when hstore is activated

    • -1
    • +8
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
make this packages installable via .apm (install from repository)

    • -3
    • +3
    /openacs-4/packages/caldav/caldav.info
    • -3
    • +3
    /openacs-4/packages/captcha/captcha.info
    • -2
    • +3
    /openacs-4/packages/survey/survey.info
    • -3
    • +3
    /openacs-4/packages/xooauth/xooauth.info
acs-admin/install: provide a hint that we never offer a package with maturity 0 via "install from repository"

upgrade maturity to 2, such it is offered via "install from repository"

silence expected error messages in the log file during regression test

make sure to delete temporary objects

flush dirty editor buffer

fix typo and silence intended SQL error

don't raise warnings on requests for non-existing pages

Improved safety of memize call, improve warning message

reduce verbosity

Fix potential problems when calling polymorphic SQL functions from Tcl

Some functions are defined in the database with the same number of

arguments but different types, e.g., first argument "package_key"

(type text) or "package_id" (type integer). This is fine from the SQL

standpoint, but when calling from Tcl via bind-vars

(e.g. ":package_id"), everything is passed as a string, and

potentially, the wrong function is called.

Now, all the automatically generated subs are generated with casts,

when the integer based variant must be called.

Some examples:

Before:

set s [ns_pg_bind 0or1row $__DB {select apm__set_value(:package_id,:parameter_name,:attr_value)}]

set s [ns_pg_bind 0or1row $__DB {select apm__get_value(:package_id,:parameter_name)}]

Now:

set s [ns_pg_bind 0or1row $__DB {select apm__set_value(CAST(:package_id AS integer),:parameter_name,:attr_value)}]

set s [ns_pg_bind 0or1row $__DB {select apm__get_value(CAST(:package_id AS integer),:parameter_name)}]

- bumped version number to 5.10.1b11

    • -3
    • +3
    /openacs-4/packages/acs-tcl/acs-tcl.info
More function_args cleanup

- removed one more definition referring to a deleted function

- make sure we always get argument names via PostgreSQL

- aligned argument names with stubs (apm__set_value and apm__get_value)

- bumped version number to 5.10.1b7

file upgrade-5.10.1b6-5.10.1b7.sql was initially added on branch oacs-5-10.

removed duplicate define_function_args

made regression test more robust

The test was failing, when the preferred language in the browser

was not "en". The test is now slightly better, but one should

use CSS classes (or data attributes) to pick the bulk actions

cleanup of cmd '?'

fixed resource leak