• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
whitespace changes

  1. … 2 more files in changeset.
mark unused "content::item::get_context" deprecated, since it should be called on "acs_object"

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.
make end of options explicit

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

  1. … 34 more files in changeset.
New utility to return all descendants of a certain cr_item or folder

Whitespace cleanup

Adjust doc and defaults of 'content::item::get_title' to the actual implementation of 'content_item__get_title'

Remove self-reference in proc doc

Add missing 'title' parameter to 'content::item::upload_file', which is checked in the proc and probably not materialized out of thin air.

Use '::content::item::get_content_type' instead of the deprecated '::content::item::content_type'

Trailing whitespace cleanup

Deprecate '::content::item::content_type', which is exactly the same proc as 'content::item::get_content_type'. Weird.

Fix typos

  1. … 5 more files in changeset.
Fix parameter name in proc doc and add brief descriptions

  1. … 1 more file in changeset.
Simplify code: set defaults for proc parameters, which are de facto optional, avoiding unnecesary existence checks.

fix broken API function acs_object_type::get_table_name (broken since 13 years) and use API instead of direct SQL queries

  1. … 7 more files in changeset.
Rework variable assigning loops (set -> lassign)

  1. … 3 more files in changeset.
remove conditiions, which are always true

  1. … 1 more file in changeset.
Fix typos

  1. … 34 more files in changeset.
fix invalid meta-data and documentation strings

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.
- Introduce new proc ad_sanitize_filename implementing current best practices for ensuring a valid filename on most filesystems.

- Use it in every place where filename sanitization is performed in the code and deprecate fs::remove_special_file_system_characters.

TODO deprecate also util_text_to_html? Use case of sanitizing urls and filenames might have different requirements.

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

  1. … 49 more files in changeset.
Created new proc cr_check_mime_type, centralizing the retrieval of the mime_type from uploaded file's information.

Applied the new proc to the different situations in the system when we require mime_type retrieval: content-repository, file-storage and xotcl CrItem

TODO: get the real mime_type from the file content, but this would require some modification in the data model.

  1. … 7 more files in changeset.
- fix documentation bug (... -revision best ... does not work)

- prefer sql statements between curly braces

  1. … 10 more files in changeset.
Merging back to HEAD all changes that happened in branch oacs-5-8 between tags: vg-merge-oacs-5-8-from-20141027 and vg-merge-oacs-5-8-from-20150427

  1. … 520 more files in changeset.
- fix for issue #3242: for items with a latest_revision but no live_revision, content::item::get_revision_content was raising an exception