• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Specialize the way chat::Chat class retrieves the package_id: use the context_id of the chat room (if this is a valid chat room)

This will allow to embed a chat::Chat instance in a xowiki page pinting to an existing chat room and let it use the chat package specific features to e.g. keep transcripts of a conversation

Fade out obsolete code

avoid localization substitutions in content of forums messages in notification messages

reactivate ad_html_to_text in search renderer

improving ad_html_to_text:

- handle src specs with "data:" (skip data)

- handle anchors with empty hrefs and internal links by not adding these to the text rendering

- add test cases to regression test

    • -1
    • +43
    ./acs-tcl/tcl/test/html-conversion-procs.tcl
add "style" to the elements to be delete for search

last part of site_nodes changes with tree_sortkey dependency

    • -16
    • +23
    ./acs-tcl/tcl/site-nodes-procs.tcl
Bump version number due to changes on tree_sortkeys on site nodes table

Bump acs-tcl version number to 5.10.0d21 to be able to refer to a version with the changes on tree_sortkeys on site nodes

strip potentially confusing content from result of search renderer

fix issue #3360; probably a problem that shows up with pg10.

fix typo

    • -2
    • +2
    ./acs-service-contract/tcl/implementation-procs.tcl
fix name of doc tag

    • -1
    • +1
    ./acs-developer-support/tcl/acs-developer-support-procs.tcl
Introduce has_children for SiteNodeUrlspaceCache to avoid queries returning potentially a huge list of results

make checking of pg_version number more robust (backporting changes from head).

See also issue #3359

Reduce dependencies on tree_sortkey of site_nodes.

One old query was broken (depending on a constant node_id). It is not clear, what the

exact intended semantics were, so we left the original query in and added a new

query returning the exact same result.

    • -1
    • +8
    ./workflow/www/admin/workflow-ae-postgresql.xql
    • -2
    • +6
    ./workflow/www/admin/workflow-clone.tcl
change queries on site-node tree from tree_sortkey to recursive queries

    • -20
    • +12
    ./contacts/tcl/contacts-procs-postgresql.xql
fix typo

    • -1
    • +1
    ./contacts/www/admin/attribute-list.tcl
- use ad_conn features available since 10+ years instead of local subsite operations

- remove dependency on tree_sortkey on site_nodes

    • -36
    • +0
    ./directory/tcl/directory-procs-oracle.xql
    • -36
    • +0
    ./directory/tcl/directory-procs-postgresql.xql
    • -44
    • +15
    ./directory/tcl/directory-procs.tcl
use literal on rowcount variable

change queries on site-node tree from tree_sortkey to recursive queries

    • -9
    • +8
    ./news-portlet/www/news-portlet-postgresql.xql
change queries on site-node tree from tree_sortkey to recursive queries

    • -30
    • +15
    ./acs-subsite/www/site-map/index-postgresql.xql
    • -13
    • +15
    ./acs-subsite/www/site-map/index.tcl
change queries on site-node tree from tree_sortkey to recursive queries

    • -16
    • +14
    ./acs-tcl/tcl/site-nodes-procs-postgresql.xql
improve formatting.

refactoring personal site maps (/site-map/) has still to be done

    • -2
    • +2
    ./acs-subsite/www/admin/site-map/site-map.tcl
    • -24
    • +12
    ./acs-subsite/www/site-map/index.tcl
change queries on site-node tree from tree_sortkey to recursive queries

    • -27
    • +20
    ./acs-subsite/www/admin/site-map/index.tcl
    • -3
    • +16
    ./acs-subsite/www/admin/site-map/site-map.tcl
- improve code sanity

- make user switching somewhat useable for larger sites (postgres only)

- improve comments and code formatting

    • -24
    • +54
    ./acs-developer-support/tcl/acs-developer-support-procs.tcl
    • -18
    • +0
    ./acs-developer-support/tcl/acs-developer-support-procs.xql
whitespace cleanup

    • -75
    • +75
    ./acs-developer-support/tcl/acs-developer-support-procs.tcl
ds_enabled_p should return always false when running without a connection; otherwise search-rendering etc. might return different results when someone activates the developer support

    • -1
    • +4
    ./acs-developer-support/tcl/acs-developer-support-procs.tcl
use URN in all capitals

    • -4
    • +4
    ./openacs-bootstrap3-theme/tcl/resource-init.tcl
don't raise exception when running without connection