Dashboard

undo escaped changes (debugging info)

avoid that invalid tags are inserted to the db

The inserted tags have to be compatible with

Package->validate_tag

    • -2
    • +9
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Intercept the cornercase of a pretty name made exclusively of invalid characters, which would result in an empty cr_items.name and in an error

Bring SQL inline, cleanup obsolete remarks

Whitespace changes

set the granularity to 5 to support also values like 125% and 175%

Return result as a plain list, rather than forcing a string representation, so that "evil" tags containing e.g. double quotes are properly quoted and list idioms such as lsort executed on this proc's output work properly

The issue was found e.g. in the my-tags includelet

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
extend tests for naturalnum

improve safety of SQL queries

    • -3
    • +3
    /openacs-4/packages/dotlrn/www/spam.tcl
improve safety of SQL queries

improve safety of SQL queries

    • -4
    • +6
    /openacs-4/packages/xowiki/tcl/weblog-procs.tcl
    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Prefer api to retrieve the acs-kernel id, as this will work also in corercases such as bootstraping of a new OpenACS instance

avoid multiple substitution for question names starting with the same string (e.g. question, question-1)

remove obsolete variable

Whitespace changes

Add callback hooks for archive, unarchive and delete. Thanks to Felix Moedritscher

Tighten ad_page_contract check for item_id

disallow nested composite questions

Extend high-level filtering by providing "-unless" clause in form-field class "form_page"

- added "unless" clause to form-field class "test_section" to be able to filter

certain pages which should not be included

- reduced redundancy be factor out "compute_filter_clauses" method for FormPage

(used in includelet procs (class "form-usages") and form-field procs (class "form_page")

    • -2
    • +2
    /openacs-4/packages/xowiki/xowiki.info
    • -15
    • +70
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
unexpected merge Merge branch 'master' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/nsf

fix broken test

fix wrong name (not sure, why i have not noticed this earlier)

added statement (commented out) flag for debugging of resource path loading

    • -3
    • +3
    /openacs-4/packages/xowiki/xowiki.info
    • -2
    • +3
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
added a "-verbose" flag to template::themed_template and template::resource_path to ease debugging

perform also sitewide flushes for urspace based site-node cache

Revert escaped code

Fix default name

More work on refactoring and streamlining cluster infrastructure

- removed more cases of ad-hoc parsing of IP address and port

- reduced code redundancy

- fixed incorrect comments

- removed obsolete private functions server_cluster_httpget_from_peers

and server_cluster_do_httpget (replaced by acs::clusterwide)

    • -9
    • +12
    /openacs-4/packages/acs-tcl/tcl/cluster-init.tcl
* nsfAccessInt.h (TclFreeIntRep): A recent name reform requires an explicit define for backwards compat.

* nx-zip.tcl: Add closing paren in comment