• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
new function: ::content::revision::export_to_filesystem

This change moves functionality from file-storage to acs-content-repository.

all application packages should be free of internals, such as the storage

type. Storage_type should be handeled in the content-repository package.

We are not yet done, there is still more to do in this respect in

the file-storage package.

  1. … 7 more files in changeset.
break overlong lines

improve spelling

  1. … 5 more files in changeset.
whitespace changes

  1. … 2 more files in changeset.
Mark 'fs::max_upload_size' as public, as it is used in 'attachments'

replace low-level cr_fs_path by higher level interface content::revision::get_cr_file_path

  1. … 8 more files in changeset.
make end of options explicit

  1. … 17 more files in changeset.
use "ad_file" as a means to avoid unexpected tilde substitution in file names

  1. … 12 more files in changeset.
Fix missing query due to naming convention reform by rewriting the entire proc based on a single portable recursive query

  1. … 2 more files in changeset.
move private function children_have_permission_p to fs_* nameing convention

  1. … 1 more file in changeset.
improve spelling and comma settings

  1. … 27 more files in changeset.
fix typo

support MemUnit (MB, KB, ...) for "maxinput" in config file

Improve proc documentation

fix quoting issue

Reduce divergency between oracle and postgres codebase

  1. … 5 more files in changeset.
File storage max upload limit reform:

the max upload limit will now default to empty. Rationale: this value is

one that ages quickly with respect to new storage requirements, and is

currently set to something incompatible with the vanilla Naviserver configuration

(500MB fs vs 20MB ns).

The upgrade script will make so that instances setting this parameter

higher than the server upload limit configuration will be

set empty as well (this would never have an effect, as server

will prevent the upload altogheter anyway).

Max upload limit in bytes is now retrieved from a proc implementing

this fallback to server configuration logics. Other than centralizing,

its purpose is to be used in client-side code checks in the future

so we could prevent a doomed upload in advance.

  1. … 6 more files in changeset.
Fix typos

  1. … 8 more files in changeset.
Whitespace changes

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

  1. … 3 more files in changeset.
Prefer 'person::name' to 'acs_user::get_element ... -name'

  1. … 1 more file in changeset.
Fiy typo

Deprecated leftover parameter from year 2002

While working on reducing divergencies between oracle and postgres codebase and testing changes I have found the following issues:

- fs::add_created_version.new_text_revision query was defined in postgres only

- version-delete and folder-delete were broken in case notification was enabled,

because this was issued after object was deleted and therefore all references

needed to build notification message were missing (and query failed looking up the object)

  1. … 4 more files in changeset.
Whitespace changes

whitespace cleanup

mark required parameters as required. Fixes issue #3347

always use @see when procs are deprecated to show, what to use instead

improve spelling

  1. … 10 more files in changeset.
Revert massive replacement of empty list creation sentences. The use of '[list]' instead of '{}' adds semantics that could be used for performance improvements in the future, such as using a different internal representation. There is already work in this direction, avoiding the generation of the string representation during comparison of empty strings (huge thanks to Stefan Sobernig for the pointer: https://core.tcl.tk/tcl/info/44527c632ed609c2).

  1. … 475 more files in changeset.