• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Some more Tcl cleanup

- use curly brackes to enable byte code compilation

- don't use "[expr ...]" when not needed

- prefer "incr i -1" over "set i [expr {$i - 1}] "

  1. … 15 more files in changeset.
- remove dead code: form n_past_days_form is nowhere used, probably some legacy

- avoid call to deprecated content_revision__new/11, call content_revision__new/13 instead

- bump version number to 5.9.1d2

file upgrade-5.9.1d1-5.9.1d2.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-5.9.1d1-5.9.1d2.sql
- fix SQL query in datasource callback (variable is called object_id and not revision_id)

    • -1
    • +1
    ./tcl/file-storage-callback-procs-oracle.xql
    • -8
    • +8
    ./tcl/file-storage-callback-procs-postgresql.xql
- fix query name

Created new proc cr_check_mime_type, centralizing the retrieval of the mime_type from uploaded file's information.

Applied the new proc to the different situations in the system when we require mime_type retrieval: content-repository, file-storage and xotcl CrItem

TODO: get the real mime_type from the file content, but this would require some modification in the data model.

  1. … 7 more files in changeset.
- provide image dimensions

  1. … 2 more files in changeset.
- use confirm handler instead of "onclick=..." in all packages in oacs-5-9

  1. … 15 more files in changeset.
- use event listener instead of onclick handler

- hint based on "fs_title_msg" is probably not shown since many years.

- modernize HTML

  1. … 21 more files in changeset.
- modernize HTML of documentation

  1. … 10 more files in changeset.
- fix indentation

- remove unneeded parent_context_where and parent_context_all

- reduce dependencies on acs_object_party_privilege_map (for PostgreSQL)

- reduce dependencies on acs_object_party_privilege_map (for PostgreSQL)

    • -0
    • +17
    ./tcl/file-storage-procs-oracle.xql
    • -6
    • +5
    ./tcl/file-storage-procs-postgresql.xql
- reduce dependencies on acs_object_party_privilege_map (for PostgreSQL)

- use entities for quotes

- updated version numbers, regenerated documentation

  1. … 297 more files in changeset.
- add editor hints to .vuh files

  1. … 26 more files in changeset.
- trying to make folder-create ore robust against invalid input

- improve handling of incorrect input

- remove unneeded parenthesis

- remove useless parenthesis

- bump version number to 5.9.1d1

- improve security of page_contracts

- fix robustness on mangeled query parameters

- strengthen page contract

- handle case, where neither file_id nor folder_id is specified

- use tcl commands instead of external programs

.xql-file reform of file-storage

    • -22
    • +0
    ./tcl/file-storage-callback-procs-oracle.xql
    • -22
    • +0
    ./tcl/file-storage-callback-procs-postgresql.xql
    • -17
    • +5
    ./tcl/file-storage-callback-procs.tcl
    • -14
    • +0
    ./tcl/file-storage-procs-oracle.xql
    • -63
    • +0
    ./tcl/file-storage-procs-postgresql.xql
  1. … 4 more files in changeset.
- (backport from oacs-5-9): rewrite update script based on a recursive query to avoid potential conflicts due to different orders of script execution, when e.g. acs_objects.tree_sortkey was already dropped.

    • -7
    • +22
    ./sql/postgresql/upgrade/upgrade-5.8.1-5.8.2.sql