• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

reduced verbosity

fixed resource leaks

dom trees were not deleted

avoided duplicated loading of procs

moved functionality to automated testing

Added automated testing for resource leaks

- new API function "aa_check_leftovers": This function is typically

called automatically at the end of every test case in

"aa_run_testcase" but it also makes sense to call it manually in

between of test cases.

- set aa_test_end to private (see no reason why this was public)

- bumped to 5.10.1b2

fixed leaked dom trees

Make localurl filter more robust to invalid URLs: fail validation in this case, intead of crashing

fixed resource leaks

dom trees were not deleted

ad_dom_sanitize_html: fixed 2 resource leaks

in case of parsing errors in the input string the following structures leaked:

- dom tree

- stuct::tree

make sure to delete tdom document

Delete nodes explicitly, otherwise it survives the end of the proc.

Removed memory leaks in the regression test

- new function ::xo::aa_check_leftovers to detect leaks a soon as possible

- made ::xo::stats better reusable by returning a dict

- extended regression test

- bumped xotcl-core to 5.10.1b5

file zz-final-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/xotcl-core/tcl/test/zz-final-procs.tcl