• last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
allow to specify max upload size in configuration file in KB or MB

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

  1. … 2 more files in changeset.
perform proper cleanup after the test

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
    ./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
    ./file-storage-procs-postgresql.xql
  1. … 5 more files in changeset.
break overlong lines

improve spelling

  1. … 3 more files in changeset.
whitespace changes

  1. … 1 more file in changeset.
extend regression test, add covered procs to webtest

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

Remove bogus proc name. Fixes 'naming__proc_naming' test case

extend tests by porting obsolete test fs_add_file_to_folder to new web testing framework

Add 'fs_create_folder_using_api' test case, covering the 'fs::get_root_folder', 'fs::new_folder', 'fs::get_folder', 'fs::folder_p', 'fs::delete_folder', 'fs::rename_folder' and 'fs_get_folder_name' procs

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

    • -1
    • +1
    ./file-storage-search-procs-postgresql.xql
  1. … 6 more files in changeset.
mark private functions as private

  1. … 9 more files in changeset.
improve listing of test coverage

  1. … 17 more files in changeset.
make listing of tested procs more complete

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

  1. … 17 more files in changeset.
move xowiki::test::get_url_from_location to automated testing

handle updaed query-handling in ns_parseurl

remoe dependency from file-storage tests to xowiki

  1. … 5 more files in changeset.
use bind variables instead of tcl variable substition in xql fullqueries

  1. … 15 more files in changeset.