• last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add new utility to trigger a browser refresh when we reach a page by the browser's history

Useful e.g. for those pages implementing some server push interaction, where browser might have 'missed out' events while on another page

When transcripting a message, use the provided user_id when available

This fixes auto logout messages being written down as from unregistered visitor in the transcript

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

    • -1
    • +2
    /openacs-4/packages/chat/tcl/chat-procs.tcl
Fade out obsolete code

    • -4
    • +5
    /openacs-4/packages/chat/tcl/chat-init.tcl
    • -219
    • +220
    /openacs-4/packages/chat/tcl/chat-procs.tcl
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

add "style" to the elements to be delete for search

last part of site_nodes changes with tree_sortkey dependency

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

    • -2
    • +2
    /openacs-4/packages/acs-tcl/acs-tcl.info
strip potentially confusing content from result of search renderer

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

fix typo

fix name of doc tag

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.

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

fix typo

- use ad_conn features available since 10+ years instead of local subsite operations

- remove dependency on tree_sortkey on site_nodes

use literal on rowcount variable

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

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

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

improve formatting.

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

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

- improve code sanity

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

- improve comments and code formatting

whitespace cleanup

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