• last updated 15 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
undo escaped changes (debugging info)

    • -6
    • +1
    ./packages/xotcl-core/tcl/30-widget-procs.tcl
avoid that invalid tags are inserted to the db

The inserted tags have to be compatible with

Package->validate_tag

    • -4
    • +10
    ./packages/xotcl-core/tcl/30-widget-procs.tcl
    • -2
    • +9
    ./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

    • -1
    • +10
    ./packages/file-storage/www/folder-create.tcl
Bring SQL inline, cleanup obsolete remarks

    • -7
    • +10
    ./packages/file-storage/www/folder-create.tcl
    • -15
    • +0
    ./packages/file-storage/www/folder-create.xql
Whitespace changes

    • -26
    • +26
    ./packages/file-storage/www/folder-create.tcl
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
    ./packages/xowiki/tcl/xowiki-procs.tcl
extend tests for naturalnum

improve safety of SQL queries

    • -6
    • +2
    ./packages/acs-templating/tcl/list-procs.tcl
    • -6
    • +3
    ./packages/xowiki/tcl/includelet-procs.tcl
improve safety of SQL queries

    • -1
    • +1
    ./packages/acs-subsite/lib/subsites.tcl
    • -5
    • +4
    ./packages/acs-subsite/tcl/attribute-procs.tcl
    • -2
    • +2
    ./packages/acs-subsite/tcl/package-procs.tcl
    • -2
    • +2
    ./packages/acs-subsite/tcl/subsite-procs.tcl
    • -1
    • +1
    ./packages/chat/tcl/apm-callback-procs.tcl
improve safety of SQL queries

    • -1
    • +3
    ./packages/xowiki/tcl/syndicate-procs.tcl
    • -4
    • +6
    ./packages/xowiki/tcl/weblog-procs.tcl
    • -2
    • +2
    ./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

    • -1
    • +1
    ./packages/acs-tcl/tcl/20-memoize-init.tcl
avoid multiple substitution for question names starting with the same string (e.g. question, question-1)

    • -1
    • +1
    ./packages/xowf/tcl/test-item-procs.tcl
remove obsolete variable

    • -2
    • +1
    ./packages/xowiki/tcl/includelet-procs.tcl
Whitespace changes

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

    • -1
    • +9
    ./packages/dotlrn/tcl/community-procs.tcl
Tighten ad_page_contract check for item_id

disallow nested composite questions

    • -1
    • +9
    ./packages/xowf/tcl/test-item-procs.tcl
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")

    • -7
    • +8
    ./packages/xowiki/tcl/form-field-procs.tcl
    • -18
    • +13
    ./packages/xowiki/tcl/includelet-procs.tcl
    • -15
    • +70
    ./packages/xowiki/tcl/xowiki-procs.tcl
fix wrong name (not sure, why i have not noticed this earlier)

    • -2
    • +2
    ./packages/acs-tcl/tcl/site-nodes-procs.tcl
added statement (commented out) flag for debugging of resource path loading

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

    • -2
    • +18
    ./packages/acs-templating/tcl/util-procs.tcl
perform also sitewide flushes for urspace based site-node cache

    • -0
    • +1
    ./packages/acs-tcl/tcl/acs-cache-procs.tcl
    • -2
    • +2
    ./packages/acs-tcl/tcl/site-nodes-procs.tcl
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
    ./packages/acs-tcl/tcl/cluster-init.tcl
Refactored and streamlined of cluster infrastructure

- base the API new new cluster infrastructure (including memoize-flush, server_cluster_peer_hosts, etc.)

- improved handling for multiple IP addresses and IPv6

- removed assumptions of local vs. global network drivers

- server_cluster_httpget_from_peers not used anymore

    • -35
    • +1
    ./packages/acs-tcl/tcl/20-memoize-init.tcl
    • -19
    • +50
    ./packages/acs-tcl/tcl/acs-cache-procs.tcl
    • -19
    • +38
    ./packages/acs-tcl/tcl/cluster-init.tcl
    • -1
    • +10
    ./packages/acs-tcl/tcl/memoize-procs.tcl
Provide a default timeout of 5m to all ns_cache besed caches created via the acs-cache infrastructure

Background: in case, a db entry is to be cached, where the db query

does not finish (e.g. runs into a deadlock), subsequent attempts for

the same value will be blocked as well by the mutex protecting the

entry to be cached. Therefore, later requests to this entry might queue

up in the server. By providing a timeout, this mutex will terminate

latest when the timeout is reached.

The default value for the timeout is set to 5m. In case a certain

cache might issue requests running longer than this, the cache has

to be configured with a larger timeout value.

    • -0
    • +2
    ./packages/acs-tcl/tcl/acs-cache-procs.tcl
Use the test machinery to simulate a cookie authentication

improve spelling

    • -8
    • +8
    ./packages/acs-tcl/tcl/utilities-procs.tcl