• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Handle differences in data-model between oracle and postgres, where oracle uses an additional filename column in the cr_revisions table when a revision points to a file

Many thanks to Josue Cardona for reporting the regression

Use security::csp::add_static_resource_header

bump version number of acs-content-repository to 5.10.1d4

  1. … 1 more file in changeset.
reduce public footprint

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.
Prefer 'namespace which' over 'info commands', as it is faster (on local tests, around 2x) and returns a single value. Many thanks to Nathan Coulter.

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

  1. … 34 more files in changeset.
Reduce divergency between oracle and postgres codebase, bring portable sql inline

  1. … 3 more files in changeset.
Rename ReturnHeaders proc to comply with OpenACS naming convention, create deprecated wrapper, replace occurrences

  1. … 10 more files in changeset.
Fix proc metadata + Whitespace

Fix typos

  1. … 62 more files in changeset.
Fix more typos

  1. … 84 more files in changeset.
Bug fix: avoid confusion between command argument and option, when argument starts with "-"

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

  1. … 7834 more files in changeset.
Support image sizes on png portraits (as supported by NaviServer)

Fix spelling errors

  1. … 49 more files in changeset.
Trust the users's mime_type when acceptable, or content names that are not filenames won't have a mime_type

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 lob interface (especially for portraits)

  1. … 5 more files in changeset.
- add editor hints to keep spaces/tabs in the furture more consistent

  1. … 754 more files in changeset.
Avoid log file pollution on systems that lack a (full) content repository (e.g. development-clones of large production systems)

Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
- fix invalid @param declarations for API browser

  1. … 10 more files in changeset.
- use "in" operator instead of "lsearch"

- use numeric comparison operator for truth value comparisons

  1. … 3 more files in changeset.
- make ad_return deprecated; maybe this function was useful for ancient versions of tcl, but as it is, it does not make sense (see comment in code)

  1. … 1 more file in changeset.
- modernize tcl

  1. … 9 more files in changeset.
- use standard error message reporting

  1. … 1 more file in changeset.
- get rid of empty_string_p

  1. … 3 more files in changeset.
- Don't require ad_returnfile_background to be a proc

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

  1. … 15 more files in changeset.
Avoid implict binary encoding by setting encoding flag explicitly; see http://openacs.org/forums/message-view?message_id=2478560