• last updated 21 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Set procs in the 'file_storage::twt' namespace as private

use "ad_file" as a means to avoid unexpected tilde substitution in file names

  1. … 11 more files in changeset.
added editor hints and white-space cleanup

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

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

replace hardcoded /tmp by API function [ad_tmpdir]

  1. … 10 more files in changeset.
user the simplified interface of form_reply (passing form as argument)

  1. … 1 more file in changeset.
add one more test case for editing a folder via the web interface

add test cases for web testing based on acs::test

file webtest-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./test/webtest-procs.tcl
Improve proc documentation

fix quoting issue

Reduce divergency between oracle and postgres codebase

    • -49
    • +0
    ./file-storage-procs-postgresql.xql
  1. … 3 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. … 5 more files in changeset.
Fix typos

  1. … 8 more files in changeset.
Whitespace changes

    • -39
    • +39
    ./file-storage-callback-procs.tcl
    • -101
    • +98
    ./test/file-storage-procs.tcl
  1. … 2 more files in changeset.