• last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* overworked db-abstraction layer with support for dbi_*

* dbi_* support is per default deactivated, can be activated via

e.g. setting ::acs::preferdbi to 1 in 0-acs-init.tcl

* bump version number to use dependencies for packages, using the new interface

    • -636
    • +954
    /openacs-4/packages/xotcl-core/tcl/05-db-procs.tcl
- use just first command word 2dn column of database statistics

- stick for database operations on the ms level, but use floating point numbers

- report times from developer support below ms granularity

- fix toolbar buttons of ds

- add missing key

- fix incorrect message key

- provide compatibility with nsf 2.0b6, which has "-noinit" removed

- treat invalid byte ranges as described in rfc2616-sec14

- make sure to delete cr_delete_orphans only files from the cr

- write entry to deletion log before writing to disk, extend mutex

- use 4-space tab indent

- added update of xml-based release note to release steps

- added missing release info for OpenACS 5.8.0

file content-init.tcl was initially added on branch oacs-5-8.

file content-procs-postgresql.xql was initially added on branch oacs-5-8.

acs-content-repository:

- new public function "cr_cleanup_orphaned_files" to clean up orphaned

files incrementally based on cr-file creation log

- added "cr_cleanup_orphaned_files" to "cr_delete_scheduled_files"

to perform cleanup automatically

- new function to handle cr-file creation log, which is used to

removed orphaned files (created by aborted transactions)

- the function "cr_check_orphaned_files" can still be used

for cleaning up orphaned files from times before the

cr-file creation log was in place (that is from the birth of

OpenACS until now).

acs-tcl:

- new function "ad_mutex_eval" for safely executing

tcl commands under a mutex lock

Added check for trailing slash on cr folder, required for find command to work properly.

- use external command "find" instead of tcllib package fileutil for speed and better filtering

- add index for much quicker reverse lookup file names in the content repository

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

file acs-content-repository-procs-postgresql.xql was initially added on branch oacs-5-8.

- cr_check_orphaned_files: new helper proc to locate (or delete) orphaned files in the content repository (see also bug #2619)

- fix a security hole open since ages: every unregistered user could send mails anonymously to arbitray adressees. This was used for spamming at openacs.org.

    • -1
    • +4
    /openacs-4/packages/forums/www/message-email.tcl
- get rid of old-style parameter passing

- get rid of old-style parameter passing

    • -69
    • +108
    /openacs-4/packages/acs-tcl/tcl/00-database-procs.tcl
- get rid of old-style parameter passing

    • -23
    • +66
    /openacs-4/packages/acs-tcl/tcl/widgets-procs.tcl
- get rid of old-style parameter passing

    • -18
    • +31
    /openacs-4/packages/acs-tcl/tcl/apm-procs.tcl
- add a warning about loading old-style argument lists for ad_proc

- get rid of old-style parameter passing

- make cache viewer more robust against funny characters

- FormPage edit: don't hard-code redirect-method, use __form_redirect_method instead

- replace calls to deprecated "ns_sendmail" to calls to "acs_mail_lite::send"

    • -1
    • +1
    /openacs-4/packages/cards/www/student_card.tcl
    • -1
    • +1
    /openacs-4/packages/cards/www/student_notes.tcl
- replace calls to deprecated "ns_sendmail" to calls to "acs_mail_lite::send"