acs-content-repository

  • last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add missing change in the data model from previous commit

Portrait management reform and correction

Moved logics to create a portrait in a proc in order to reuse it in other places

such as picture retrieval services (e.g. Bach picture retrieval at WU). Turns out

we were not doing our homeworks here: when the portrait is created into CR, a

cr_child_rel is created. When the portrait was erased though, this was not cleaned

up propely, leaving dangling acs_objects with no reference in cr_child_rels table.

On busy sites, this can grow in the ten thousands order of magnitude. Changes include

also fix for this behavior and tuples cleanup.

    • -24
    • +23
    ./sql/postgresql/content-item.sql
    • -0
    • +77
    ./sql/postgresql/upgrade/upgrade-5.10.0d4-5.10.0d5.sql
  1. … 14 more files in changeset.
add text/markdown to known content types (like text/enhanced), bump version number to 5.10.0d4

    • -0
    • +4
    ./sql/oracle/upgrade/upgrade-5.10.0d3-5.10.0d4.sql
    • -0
    • +39
    ./sql/postgresql/upgrade/upgrade-5.10.0d3-5.10.0d4.sql
No need to keep empty file

move deprecated procs into deprecated-procs

    • -0
    • +213
    ./tcl/deprecated-procs-oracle.xql
    • -0
    • +188
    ./tcl/deprecated-procs-postgresql.xql
    • -0
    • +1193
    ./tcl/deprecated-procs.tcl
    • -0
    • +123
    ./tcl/deprecated-procs.xql
  1. … 7 more files in changeset.
move deprecated procs into deprecated-procs

add ad_script_abort after ad_returnredirect to make termination intent explicit

  1. … 22 more files in changeset.
fix typos

    • -10
    • +10
    ./sql/oracle/upgrade/upgrade-4.7d6-5.0d1.sql
    • -3
    • +3
    ./tcl/acs-content-repository-procs.tcl
  1. … 1 more file in changeset.
Reduce divergency between oracle and postgres codebase

Bring legacy versions of image__new() in sync with the actual definitions

    • -0
    • +207
    ./sql/postgresql/upgrade/upgrade-5.10.0d2-5.10.0d3.sql
Bug fix: avoid confusion between command argument and option, when argument starts with "-"

  1. … 79 more files in changeset.
Fix link

Fix typo in variable name "new_nls_language" (must be "new__nls_language")

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

    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-5.9.2d1-5.9.2d2.sql
Fix typo in variable name "new_nls_language" (must be "new__nls_language")

    • -0
    • +201
    ./sql/postgresql/upgrade/upgrade-5.10.0d1-5.10.0d2.sql
merged changes from the oacs-5-9 branch and resolved conflicts

    • -0
    • +13
    ./sql/common/upgrade/upgrade-5.9.0b2-5.9.0b3.sql
    • -0
    • +39
    ./sql/common/upgrade/upgrade-5.9.1d10-5.9.1d11.sql
    • -16
    • +16
    ./sql/oracle/upgrade/upgrade-4.7d6-5.0d1.sql
  1. … 7820 more files in changeset.
regenerated ducumentation

  1. … 237 more files in changeset.
- do not depend on beta or development versions

- make sure that released versions are not beta or development

- align version numbers (e.g. use also 5.9.1 for xotcl-core)

- bump version numbers to 5.9.1

  1. … 83 more files in changeset.
bump version numbers to 5.9.1b9 respectively to 2.9.1b9 to prepare for release

  1. … 91 more files in changeset.
Standardize spellings of names

    • -2
    • +2
    ./tcl/test/content-image-test-procs.tcl
  1. … 11 more files in changeset.
Fix broken link

- 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.
Fix broken link

Support image sizes on png portraits (as supported by NaviServer)

Fix typo in parameter name

Allow copy of files/folders into the same folder of the original content. This is done by appending a numerical suffix to the name.

It required modifying copy stored procedures so they could accept a different name and title for the copy.

I have also removed redundant package definition in oracle code that was immediately overridden afterwards.

    • -0
    • +685
    ./sql/oracle/upgrade/upgrade-5.9.1b4-5.9.1b5.sql
    • -41
    • +8
    ./sql/postgresql/content-folder.sql
  1. … 8 more files in changeset.
file upgrade-5.9.1b4-5.9.1b5.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./sql/oracle/upgrade/upgrade-5.9.1b4-5.9.1b5.sql
    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-5.9.1b4-5.9.1b5.sql
Fix spelling errors

    • -16
    • +16
    ./sql/oracle/upgrade/upgrade-4.7d6-5.0d1.sql
    • -1
    • +1
    ./sql/oracle/upgrade/upgrade-5.2.0d16-5.2.0d17.sql
    • -1
    • +1
    ./sql/oracle/upgrade/upgrade-5.9.1d19-5.9.1d20.sql
  1. … 35 more files in changeset.
Performance improvement in content_item__get_path stored procedure (thanks to Thomas Renner)

file upgrade-5.9.1b3-5.9.1b4.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-5.9.1b3-5.9.1b4.sql