• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Get the preferred css toolkit via api, as this will introduce additional fallback logics with respect to the plain parameter

When using ad_dom_sanitize_html to validate markup, treat failure to parse as a normal validation failure, rather than an error

db_multirow: fall back to -local behavior, when used outside of an ADP file

The old behavior was, that when "db_multirow" was called outside an ADP

environment, an error was generated, since the uplevel was determined

without the "-local" flag by [template::adp_level]. Outside ADP,

the result of the function is empty, leading to an error that

a level "#" is invalid. Depending on an optional flag is strange

for a "db_*" command.

Now, the default behavior outside ADP file is local (i.e., when

calling outside ADP, the output variables are set in the calling

scope, unless a different "upvar_level" is specified).

Add package description, update owner email

remove encoding switching command

the command was there for the deactivated test "exec_binary_input".

The way, how encoding switching was performed, was unreliable,

since the nruns value of the proxy might expire between the

switching commands. If this is really necessary, a different solution

has to be designed

    • -14
    • +0
    /openacs-4/packages/acs-tcl/tcl/proxy-procs.tcl
Ensure scripts and internal use information are not rendered together with the content, in particular for dumber HTML renderer

Clear out old java codebase and update the docs referring to the previous java implementation

    • -205
    • +0
    /openacs-4/packages/chat/java/adChatDatasource.java
    • -172
    • +0
    /openacs-4/packages/chat/java/adClientSession.java
    • -18
    • +0
    /openacs-4/packages/chat/java/adUserInfo.java
  1. … 3 more files in changeset.
Move the main chat rendering in an include to allow reuse in other contexts

    • -0
    • +37
    /openacs-4/packages/chat/lib/chat.tcl
    • -18
    • +1
    /openacs-4/packages/chat/www/chat.tcl
file chat.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/chat/lib/chat.adp
file chat.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/chat/lib/chat.tcl
Increase proc coverage

Reitroduce missing query clause that should be executed when we retrieve the content of a text/* content item

Test that when content::item::get_content is called on a text/* mime typed content-item, an extra "text" attribute should be returned in the result array

This currently fails because of a missing query in the xql

Redefine content_item__get_virtual_path so that get_virtual_path__root_folder_id argument is not ignored

file upgrade-5.10.1b1-5.10.1b2.sql was initially added on branch oacs-5-10.

Test content::item::get_virtual_path

This will expose a logn standing bug where the root_folder_id argument is ignored

Extend test suite

Test content::item::get_root_folder

Remove broken line (non-existing arguments)

Increase api coverage, this uncovered a bug in content::item::unpublish

Test content::item::get_publish_date

Extend test to include content::item::get_path

Whitespace cleanup

Test content::item::get_descendants

Make sure method variable exists, fixes automated tests

    • -1
    • +2
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
Whitespace cleanup

    • -7
    • +7
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
Reinstate behavior:

behave again that when a date fragment value is empty, the padded value will also be empty and not a sequence of zeroes

See https://openacs.org/forums/message-view?message_id=5798230

free explicitly answer ns_set in "sets" method

free ns_set storage more eager (when e.g. large queries are used in longer loops)

use "ns_set stats" when available in memory statistics of ::xo::stats