• last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Reduce divergency between oracle and postgres codebase

Reduce divergency between oracle and postgres codebase

    • -53
    • +0
    ./tcl/file-storage-procs-oracle.xql
    • -49
    • +0
    ./tcl/file-storage-procs-postgresql.xql
Reduce divergency between oracle and postgres codebase

Reduce divergency between Oracle and Postgres codebase

Align fs_objects view definition in Oracle with the one in Postgres

    • -6
    • +3
    ./sql/oracle/file-storage-views-create.sql
    • -0
    • +49
    ./sql/oracle/upgrade/upgrade-5.10.d2-5.10.d3.sql
file upgrade-5.10.d2-5.10.d3.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./sql/oracle/upgrade/upgrade-5.10.d2-5.10.d3.sql
Use api and portable idioms

Add ad_include_contract definition (fixes automated tests)

Replace legacy acs_permission__permission_p with acs_permission.permission_p

  1. … 3 more files in changeset.
Bring files on oacs-5-10 in sync with HEAD

  1. … 160 more files in changeset.
Refactoring of 'folder-zip-add'

Fix folder creation in 'folder-zip-add'

Whitespace changes

Fix erroneus file description in page contract

Whitespace changes

rely on ad_urlencode_folder_path working with empty path

check for empty folder_path

encode folder_path

fix overquoting in notification-widget

  1. … 6 more files in changeset.
Localize file-size limits in the UI

Introduce a client-side check for the maximum file size, inform user of current limit and improve file-size related localization

Prettify code

Remove obsolete xql files

    • -26
    • +0
    ./www/version-delete-postgresql.xql
Bugfixes et al:

- don't throw a server error if one clicks submit on the empty form without specifying a file

- allow to upload the same zipfile multiple times without throwing an error

- streamline idioms

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.

    • -2
    • +28
    ./tcl/file-storage-install-procs.tcl
  1. … 1 more file in changeset.
Add ad_include_contract and documentation to this page

Fix typos

  1. … 8 more files in changeset.
Whitespace changes

    • -39
    • +39
    ./tcl/file-storage-callback-procs.tcl
    • -101
    • +98
    ./tcl/test/file-storage-procs.tcl
Fix typos and wording.

create folder only if it not already exists