• last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
merge with missing files

    • -0
    • +376
    ./tcl/test/attachments-procs.tcl
  1. … 1452 more files in changeset.
merge from oacs-5-10

    • -1
    • +0
    ./catalog/attachments.ast_ES.ISO-8859-1.xml
    • -1
    • +0
    ./catalog/attachments.ca_ES.ISO-8859-1.xml
    • -1
    • +0
    ./catalog/attachments.da_DK.ISO-8859-1.xml
    • -1
    • +0
    ./catalog/attachments.de_DE.ISO-8859-1.xml
    • -2
    • +1
    ./catalog/attachments.en_AU.ISO-8859-1.xml
    • -8
    • +8
    ./catalog/attachments.en_US.ISO-8859-1.xml
    • -1
    • +0
    ./catalog/attachments.es_CO.ISO-8859-1.xml
    • -1
    • +0
    ./catalog/attachments.es_ES.ISO-8859-1.xml
    • -1
    • +0
    ./catalog/attachments.es_GT.ISO-8859-1.xml
    • -1
    • +0
    ./catalog/attachments.eu_ES.ISO-8859-1.xml
  1. … 8085 more files in changeset.
file richtext-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/richtext-procs.tcl
file file-delete.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/richtext/file-delete.tcl
file file-browser.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/richtext/file-browser.tcl
file file-browser.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/richtext/file-browser.adp
file attachments-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/test/attachments-procs.tcl
Repeat this block of code here as well, as vars in the checks are not kept in the script body

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.
Refer to the parameter in the file-storage instance instead than on a local one to decide the maximum upload size and deprecate the one here

Rationale: makes little sense that we set and maintain separate limits referring to the same file-storage instance

Remove trivial default, already set by the api

Whitespace removal

Remove obsolete queries and bring remaining one inline

don't pass deprecated argumentent "-user_id" to fs::get_folder_contents_count

  1. … 1 more file in changeset.
Whitespace cleanup

Provide a minimal documentation to public procs

Update es_ES translation

    • -0
    • +1
    ./catalog/attachments.es_ES.ISO-8859-1.xml
  1. … 3 more files in changeset.
Update italian translation

    • -0
    • +1
    ./catalog/attachments.it_IT.ISO-8859-1.xml
  1. … 3 more files in changeset.
Smartify query

Let everything happen in the database for this proc

Remove divergency between oracle and postgres codebase, rewrite proc to avoid duplication and give it a proper and correct documentation

Quoting commit that replaced db_list_of_lists with db_list, de facto hiding every additional column from results:

-------

Author: Peter Marklund <peter_marklund@fastmail.fm>

Date: Mon Nov 24 14:50:34 2003 +0000

changing the get_attachments procs to use db_list instead of db_list_of_lists and the PG query to only return the id

-------

    • -24
    • +0
    ./tcl/attachments-procs-postgresql.xql
regnerated documentation

add message key

    • -0
    • +1
    ./catalog/attachments.en_US.ISO-8859-1.xml
remove parens

  1. … 2 more files in changeset.
fix typos

  1. … 6 more files in changeset.
Make termination after connection closing commands explicit

  1. … 6 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

    • -4
    • +13
    ./catalog/attachments.de_DE.ISO-8859-1.xml
    • -2
    • +2
    ./catalog/attachments.es_ES.ISO-8859-1.xml
    • -6
    • +15
    ./catalog/attachments.it_IT.ISO-8859-1.xml
    • -5
    • +3
    ./sql/postgresql/attachments-create.sql
    • -0
    • +11
    ./sql/postgresql/upgrade/upgrade-0.11d2-0.11d3.sql
  1. … 7820 more files in changeset.
file index.adp was initially added on branch oacs-5-9.

  1. … 1 more file in changeset.
file upgrade-0.11d2-0.11d3.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-0.11d2-0.11d3.sql
file index.adp was initially added on branch oacs-5-9.

  1. … 1 more file in changeset.