• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move operations so that they are closer to their computation's actual usage

We are only interested in the side effects of this computation

Break overlong line

Take more advantage of exception handling

Simplify determining outfile destination

Fix english of query name

Check objects ids all in one query, before any further action is taken

Do not localize the file name: it is not expected that message keys are expanded here as we do for the file title

Port sanitizing of upload file name from downstream

use util::unzip instead of plain "exec unzip" commands

  1. … 3 more files in changeset.
Add explicit version dependency on 'acs-lang'

allow to specify max upload size in configuration file in KB or MB

Reinstate oacs-dav as a dependency... there is api usage that is not so easy to replace at the moment

Fix test category, add tested api

Fix typo, write a basic test for the involved api

  1. … 1 more file in changeset.
Fix typo

Make oacs-dav only a weak dependency for file-storage, if the package is not there, just treat it as if the parameter was disabled

perform proper cleanup after the test

    • -22
    • +40
    ./tcl/test/file-storage-procs.tcl
Avoid rollback in web tests

Avoid rollback in 'fs_add_file_to_folder' test in particular

Rollback after tests

fix error message

Refactor query to go over the fs hierachy, rather than the permission one, add remarks

Recover logic went missing after refactoring (with some remarks)

break overlong lines

stick to content-repository API instead of duplicating code here.

    • -66
    • +0
    ./tcl/file-storage-procs-postgresql.xql
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.

    • -16
    • +0
    ./tcl/file-storage-procs-oracle.xql
    • -16
    • +0
    ./tcl/file-storage-procs-postgresql.xql
  1. … 4 more files in changeset.
break overlong lines

improve spelling

whitespace changes