• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- site_node::get_url_from_object_id returns in general a list; make sure to take the first element if only one expected

    • -1
    • +1
    /openacs-4/packages/xowiki/www/portlet-ajax.tcl
- site_node::get_url_from_object_id returns a list, therefore take the first element

- remove "target" from embed options to avoid conflicts

- old style works in xotcl2 as well

Releasing the handler even if evaluation of code on the proxy throws an error.

In case deleting the package instance throws an error we need to restore the site_nodes cache for the given node_id.

Initialize url_name for creating a new page or the call would fail. Added theme to the list of args to pass to page::new (was missing).

Avoiding the usage of tcl arrays for the partial manipulation of the site_node's cache. Instead we manipulate the cache directly with the nsv_* api. This speeds up updating the cache considerably ( except the case of updating the cache usign the node_id of the main subsite ).

Implements TIP #140. ns_sendmail and its rollout support are now deprecated. ns_sendmail is replaced by acs_mail_lite::send for backward compatibility.

Implements TIP #140. Rollout support params are package parameters now (instead of config.tcl ones). ns_sendmail is now deprecated but provided as a wrapper to acs_mail_lite::send for backward compatibility.

Implements TIP #140. Rollout support for ns_sendmail is now provided by acs-mail-lite. ns_sendmail use is not recommended and deprecated.

    • -2
    • +2
    /openacs-4/packages/acs-tcl/acs-tcl.info
Orace stuff for global parameters.

- bind session cookie to IP address to avoid session highjacking

- support flag "-discard" for ad_set_cookie (for session cookies)

Added scope attribute to apm_parameters.

For controlling the number of backup logs managed by the server (error.log) we have been using the wrong parameter (maxbackup). The right one is logmaxbackup.

- normalize string expressions

- improve portability for tcl 8.5 and naviserver

- added util_memoize_flush_pattern, which works exactly like util_memoize_flush_regexp, execpt

a) it accepts a glob style pattern instead of a regular expression

b) it does not retrieve all memoize keys from the cache, but only the matching keys (via ns_cache names glob parameter)

c) it is much faster

    • -1
    • +22
    /openacs-4/packages/acs-tcl/tcl/memoize-procs.tcl
1. Changed trigger functions from "opaque" to "trigger" to get rid of the

warnings during initial install (only for acs-kernel, there are a lot

elsewhere!)

2. Added "embeds" for postgresql and partially for oracle.

3. Added global parameters for postgresql and partially for oracle.

(oracle will be forthcoming shortly)

  1. … 15 more files in changeset.
Accidently added this to the 5.5 branch rather than HEAD earlier (but it

does no harm there so will leave it there).

I had forgotten to add the "apm_package.is_child" function to 5.5 ...

file upgrade-5.6.0d5-5.6.0d6.sql was initially added on branch oacs-5-5.

Implements TIP #142: Administration UI to manage mime types and extension map

- remove unneeded line

- you carousel went from beta to nonbeta (filname wise)

- let first_instance return first xowiki instance instead of instance of subclass

- compatibility fix

- fix argument list, cleanup

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
Fixing constraint snom_node_id_fk, was connecting wrong field on table. Creation scripts are ok, just needed to correct upgrade files.