• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make api public, complies with acs-api-browser.graph__bad_calls automated test

  1. … 3 more files in changeset.
Refactor content repository backend

The refactored code is a first step to become able to provide plugins

for backends for storing content in different systems. Instead of

using switch statements to distinguish between backends "file", "lob"

and "text", procs with a suffix of the storage name are provided

now. Essentially, by providing process with additional suffixes can be

used to provide additional storage systems.

In addition, the deletion handling was also refactored such that the

non-scalable functions iterating over all items (such as

"cr_check_orphaned_files") will become obsolete. This is imporant for

content repositories with double and triple digit terabytes.

  1. … 16 more files in changeset.
improve spelling: move closer to the linux documentation recommendations

  1. … 34 more files in changeset.
Fix for plausible file checking in cr_delete_orphans

The code checks for files, which are not conforming to the naming conventions,

and intends to skip these. ... but a "continue" was missing.

Many thanks to Franz Penz

improve spelling

  1. … 1 more file in changeset.
Whitespace changes

fix typos

  1. … 14 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
Fix spelling errors

  1. … 49 more files in changeset.
Improve robustness of "file delete" operations

  1. … 19 more files in changeset.
.xql-file reform of acs-content-repository

- remove sql statements from the code, where these are provided via .xql

- prefer empty sql statements over various forms of *SQL*

- remove unneeded sql queries

cr_check_orphaned_files.fetch_path

content::item::upload_file.get_parent_existing_filenames

content::revision::new.update_lob_attribute

content::init_all.get_template_url

content::init.get_live_revision

content::init_all.get_live_revision

cr::keyword::item_unassign.item_unassign

cr::keyword::get_keyword_id.select_keyword_id

cr::keyword::item_unassign_children.item_unassign_children

cr::keyword::item_get_assigned.get_keywords

cr::keyword::item_get_assigned.get_child_keywords

cr::keyword::get_options_flat.select_keyword_options

publish::write_content.get_revision_id

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