• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Reinstate api as private, downstream cases need to be adapted

do not rely on xo::dc in packages not depending on xotcl-core

Make api public: uses public api internally and downstream packages use it

Make api public: downstream xowiki-like packages use it to extend uninstantiation logics

Make proc public: many downstream packages use it e.g. in their upgrade scripts

Add 'portal::exists_p' to 'create_portal_from_template' test case

Make api public

Add 'dotlrn_members_portlet::get_my_name' to the 'dotlrn_portlet_links_names_keys' test case

Make api public

Add PostgreSQL integrated websearch_to_tsquery builder, which can be activated via PackageParameter UseWebSearch

file tsearch2-driver-init.tcl was initially added on branch oacs-5-10.

Adapt spam variable name to what is advertised to the user

Replace spam::interpolate with 'string map'

    • -10
    • +9
    /openacs-4/packages/dotlrn/tcl/spam-procs.tcl
reduce the size of the public interface

improve spelling

Avoid calling depreacted content_item__new/17, call content_item__new/21 instead

file upgrade-5.10.0d1-5.10.0d2.sql was initially added on branch oacs-5-10.

We cannot use bind variables here, as the query is not executed at this time, but later at bulk mail sweeping

    • -1
    • +1
    /openacs-4/packages/dotlrn/www/spam.xql
Provide a public general-comments solution to empty messages from a specific package: other xowiki-like packages downstream would otherwise need to call a xowiki private api

Deprecate spam::interpolate in favor of 'string map'

Deprecate acs_mail_lite::message_interpolate in favor of 'string map'

Deprecate bulk_mail::interpolate in favor of 'string map'

Formatting changes

Reduce divergency between oracle and postgres codebase

Whitespace cleanup

Make api public as other packages might need to retrieve the portlet name

Flush also the threaded cache whenever we flush the permission cache, so that one does not need to call this private api directly

Reinstate get_portal_id_not_cached as private, replace occurrences with public api

Reinstate get_portal_id_not_cached as private, flush the cache before calling public api instead

    • -1
    • +1
    /openacs-4/packages/dotlrn/tcl/dotlrn-procs.tcl
Fix api:

upstream dotlrn mounts dotlrn-forums at /dotlrn/forums/, but testcase dotlrn_forums__applet_portlet (dotlrn-forums) deletes such node and replaces it with a new one at /dotlrn/applets/forums/. As site_node::get_package_url does not get flushed, the api will expect to find the mounted instance at the old URL, which now resolves to the parent dotlrn instead! Fix this by not relying on the cache to retrieve the applet node id.