• last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Portrait management reform and correction

Moved logics to create a portrait in a proc in order to reuse it in other places

such as picture retrieval services (e.g. Bach picture retrieval at WU). Turns out

we were not doing our homeworks here: when the portrait is created into CR, a

cr_child_rel is created. When the portrait was erased though, this was not cleaned

up propely, leaving dangling acs_objects with no reference in cr_child_rels table.

On busy sites, this can grow in the ten thousands order of magnitude. Changes include

also fix for this behavior and tuples cleanup.

    • -0
    • +16
    ./community-core-procs-postgresql.xql
  1. … 13 more files in changeset.
provide more feedback when tdom parsing fails

fix typo

  1. … 1 more file in changeset.
add oneof(red|green|blue) to page filters

  1. … 1 more file in changeset.
add text/markdown to the accepted text formats of the richtext widget and ad_html_text_convert

  1. … 5 more files in changeset.
remove not referened xql queries and files

move queries to deprecated-procs.xql

    • -15
    • +0
    ./request-processor-procs-oracle.xql
    • -13
    • +0
    ./request-processor-procs-postgresql.xql
fix typo

remove referenced SQL function

    • -6
    • +0
    ./acs-permissions-procs-postgresql.xql
make code uniform

Use ad_with_deprecated_code_p to control loading of deprecated code.

Bump version number to 5.10.0d4

  1. … 1 more file in changeset.
Fix for bug #3335 (as suggested by Michael Aram)

Use consistently ad_script_abort after ad_return_error.

remove unneeded "ns_conn close" operations (connections are already closed by prior commands).

remove obsolete files

rename deprecated-utility-procs.xql to deprecated-procs.xql

    • -0
    • +18
    ./deprecated-procs.xql
make loading of deprecated code optional

remove deprecated-utility-procs (was moved into deprecated-procs.tcl

    • -247
    • +0
    ./deprecated-utilities-procs.tcl
Move deprecated procs into deprecated-procs.tcl

add ad_script_abort

add comment

Whitespace changes and improve spelling

whitespace changes

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

Backport from HEAD

  1. … 1 more file in changeset.
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

#

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

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

  1. … 3 more files in changeset.