• last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
remove deprecated-utility-procs (was moved into deprecated-procs.tcl

Move deprecated procs into deprecated-procs.tcl

add ad_script_abort

add comment

Whitespace changes and improve spelling

    • -162
    • +162
    /openacs-4/packages/acs-tcl/tcl/memoize-procs.tcl
quoting in log-file not needed

whitespace changes

Don't hard-code the SiteNodeCache sizes in the library file and bump version number

Backport from HEAD

    • -2
    • +2
    /openacs-4/packages/acs-tcl/acs-tcl.info
Don't hard-code the SiteNodeCache sizes in the library file,

but allow configuration via the config-file.

Example:

#

# Provide tailored sizes for the site node cache in acs-tcl:

#

ns_section ns/server/${server}/acs/acs-tcl

ns_param SiteNodesCacheSize 2000000

ns_param SiteNodesIdCacheSize 100000

ns_param SiteNodesChildenCacheSize 100000

#

add ad_script_abort after ad_returnredirect to make termination intent explicit

  1. … 6 more files in changeset.
add ad_script_abort after ad_returnredirect to make termination intent explicit

    • -1
    • +1
    /openacs-4/packages/faq/www/admin/index.adp
    • -1
    • +1
    /openacs-4/packages/faq/www/admin/index.tcl
    • -1
    • +1
    /openacs-4/packages/faq/www/admin/swap.tcl
add required ad_script_abort after ad_returnredirect

    • -1
    • +1
    /openacs-4/packages/dotlrn/www/applet-remove.tcl
    • -1
    • +3
    /openacs-4/packages/dotlrn/www/member-add-3.tcl
  1. … 19 more files in changeset.
add ad_script_abort after ad_returnredirect to make termination intent explicit

    • -0
    • +1
    /openacs-4/packages/forums/www/mark-all-read.tcl
add required ad_script_abort after ad_returnredirect

    • -1
    • +3
    /openacs-4/packages/news/www/item-create-3.tcl
    • -1
    • +2
    /openacs-4/packages/news/www/item-create.tcl
    • -9
    • +2
    /openacs-4/packages/news/www/admin/revoke.tcl
    • -1
    • +3
    /openacs-4/packages/news/www/admin/rss.tcl
add ad_script_abort after ad_returnredirect to make termination intent explicit

  1. … 34 more files in changeset.
add ad_script_abort after ad_returnredirect to make termination intent explicit

  1. … 13 more files in changeset.
add required ad_script_abort after ad_returnredirect

  1. … 4 more files in changeset.
add required ad_script_abort after ad_returnredirect

Fix result of get_tag when JSEditorClass is "ClassicEditor"

add required ad_script_abort after ad_returnredirect

remove harmful backslashes

minor improvements (actually no need for ad_try, if all we do is a dom command)

replace "catch" by "ad_try"

Remove useless "catch" since template::util::is_true will not raise an error

replace "catch" by "ad_try"

Move deprecated procs into deprecated-procs.tcl

    • -230
    • +1
    /openacs-4/packages/acs-tcl/tcl/defs-procs.tcl
replace "catch" by "ad_try"

Protect against potential XSS vectors

replace catch by ad_try

Remove "catch {unset var}" idiom by "unset -nocomplain var"

- fix potential XSS attack vector

- reduce quoting hell

- use ad_try instead of "catch"

- factor out common code