• last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
Fixed proc cr_create_content_file_from_string

Because of an earlier copy/paste mistake:

* variable $dir was not set (replaced with cr_fs_path)

* rearranged blocks, so that $content_file is already set

- improve safety of orphan file deletion (e.g in case, fetch_paths returns empty file names)

  1. … 1 more file in changeset.
- 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

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

  1. … 5 more files in changeset.
- replace depreacted "ns_mkdir" by "file mkdir"

  1. … 9 more files in changeset.
Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
Applying patch #173: use file copy -force

merge of 4.6.3b1 to HEAD

  1. … 101 more files in changeset.
merge Dons file copy fix from HEAD

Switched to "file copy" ...

  1. … 7 more files in changeset.
merge fix for bug 143 to head

ns_puts used instead of puts. closes 143/patch 45 Kevin Crosbie

add a -move flag to cr_create_content_file since most common use of

this command is to take an uploaded file from /tmp and put it into

the cr and for many machines /tmp is the same partition as the

repository which means no actual file copying is required.

modified cr_fs_path to support alternate file storage areas

  1. … 1 more file in changeset.
more cleanup of CR and blob support

  1. … 3 more files in changeset.
tested lob support for content-repository. converted photo upload in acs-subsite to use lobs instead of files

  1. … 9 more files in changeset.
finished porting portrait upload to work with CR

  1. … 4 more files in changeset.
work on protrait upload

  1. … 5 more files in changeset.