• last updated 18 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix typos

  1. … 7 more files in changeset.
Bugfix: content variable was not define before access (thanks to Giulia Nencini)

I am also not reading file content anymore, as this is potentially unsafe when file is very big and also could need special encoding translation etc.

Better retrieve the path and let the user decide what to do afterwards.

Reduce divergency between oracle and postgres codebase

Revert db_exec_plsql or Oracle will break, remove leftover xql files

  1. … 2 more files in changeset.
Fix oracle systax to call function via select

Uniform API when deleting folder, drill through some calling levels in stored procedure, use a simpler db_string instead of db_exec_plsql

  1. … 1 more file in changeset.
Bug fix: avoid confusion between command argument and option, when argument starts with "-"

  1. … 81 more files in changeset.
use fast recursive query instead of slow query bbased on tree_sortkeys

    • -11
    • +8
    ./file-storage-procs-postgresql.xql
merged changes from the oacs-5-9 branch and resolved conflicts

    • -23
    • +1
    ./file-storage-callback-procs-oracle.xql
    • -30
    • +8
    ./file-storage-callback-procs-postgresql.xql
    • -18
    • +12
    ./file-storage-callback-procs.tcl
    • -86
    • +5
    ./file-storage-procs-postgresql.xql
  1. … 7820 more files in changeset.
Standardize spellings of names

  1. … 8 more files in changeset.
Use site_node:: api to retrieve package_url instead of explicit query. Remove unused sql and simplify idiom for fs_get_folder_name.

- Introduce new proc ad_sanitize_filename implementing current best practices for ensuring a valid filename on most filesystems.

- Use it in every place where filename sanitization is performed in the code and deprecate fs::remove_special_file_system_characters.

TODO deprecate also util_text_to_html? Use case of sanitizing urls and filenames might have different requirements.

  1. … 5 more files in changeset.
Remove sql duplication, converge oracle and postgres codebase

    • -17
    • +0
    ./file-storage-procs-postgresql.xql
Fix spelling errors

  1. … 11 more files in changeset.
Improve robustness of "file delete" operations

  1. … 18 more files in changeset.
- fix SQL query in datasource callback (variable is called object_id and not revision_id)

    • -1
    • +1
    ./file-storage-callback-procs-oracle.xql
    • -8
    • +8
    ./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.
- reduce dependencies on acs_object_party_privilege_map (for PostgreSQL)

- use tcl commands instead of external programs

.xql-file reform of file-storage

    • -22
    • +0
    ./file-storage-callback-procs-oracle.xql
    • -22
    • +0
    ./file-storage-callback-procs-postgresql.xql
    • -63
    • +0
    ./file-storage-procs-postgresql.xql
  1. … 12 more files in changeset.
- add editor hints to keep spaces/tabs in the future more consistent

  1. … 341 more files in changeset.
Merging back to HEAD all changes that happened in branch oacs-5-8 between tags: vg-merge-oacs-5-8-from-20141027 and vg-merge-oacs-5-8-from-20150427

  1. … 520 more files in changeset.
- improve robustness of download-archive

  1. … 2 more files in changeset.
- fix for bloat in cr_folder_type_map caused by file-storage. large sites might have 10 Mio+ entries! see posting in OpenACS Development forum concerning cr_folder_type_map bloat

  1. … 3 more files in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2542 more files in changeset.
- replace deprecated calls

- change spelling of TCL to Tcl

- change requirements to Tcl 8.5

  1. … 64 more files in changeset.
- fix api-doc variable @creation-date

  1. … 1 more file in changeset.
- fix invalid api-doc variable @creation_date

  1. … 7 more files in changeset.