acs-content-repository

  • last updated 20 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Disable tests to check for executables on the system

    • -16
    • +20
    ./tcl/test/acs-content-repository-procs.tcl
  1. … 7 more files in changeset.
Prefer binary from parameter as everywhere else

Test external command line dependencies

    • -1
    • +17
    ./tcl/test/acs-content-repository-procs.tcl
fix incorrect names in .xql files

Fixed missing update_content-lob.set_content

Added missing set_content SQL statement for updating revisions stored in LOBs.

This statement was already missing in the release of OpenACS 5.10.0.

LOBs are for PostgreSQL somewhat depreacted and these are just there for

legacy applications.

    • -2
    • +9
    ./tcl/content-revision-procs-postgresql.xql
improve spelling

  1. … 9 more files in changeset.
Replaced "ns_mktemp" by "ad_tmpnam" to ease code maintenance

The underlying C library API for "ns_mktemp" is deprecated

for security reasons, we will have to do something about it.

    • -2
    • +2
    ./tcl/test/content-image-test-procs.tcl
    • -2
    • +2
    ./tcl/test/content-item-test-procs.tcl
  1. … 5 more files in changeset.
Add vtt mime type to CR

    • -0
    • +45
    ./sql/oracle/upgrade/upgrade-5.10.1d4-5.10.1d5.sql
file upgrade-5.10.1d4-5.10.1d5.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./sql/oracle/upgrade/upgrade-5.10.1d4-5.10.1d5.sql
    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-5.10.1d4-5.10.1d5.sql
Deprecate content::revision::update_attribute_index

Fix doc

Deprecate template::util::array_to_vars and template::util::vars_to_array: their functionality can be easily inlined by using the array command

  1. … 1 more file in changeset.
Properly escape "<" and ">" in api-doc documentation.

Since all documentation is rendered via HTML, the characters

"<" and ">" have to be HTML-quoted, otherwise strange things

(omission, unintended renderings) might occur.

E.g. the sentence

Define an interface between a page and an

ADP <include> similar to the page_contract.

was rendered as

Define an interface between a page and an

ADP similar to the page_contract.

which is incorrect.

  1. … 13 more files in changeset.
Use security::csp::add_static_resource_header

bump version number of acs-content-repository to 5.10.1d4

Fixes for Oracle 19c: made set_live_revision compatible with postgres version

improve wording

fix broken function_args definition

  1. … 3 more files in changeset.
file upgrade-5.10.1d2-5.10.1d3.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-5.10.1d2-5.10.1d3.sql
More fixes for Oracle 19c in essential packages

in essence, this fixes

- package content_item

- package content_folder

with the following errors popping at at installation:

Errors for PACKAGE BODY CONTENT_FOLDER:

LINE/COL ERROR

-------- -----------------------------------------------------------------

76/11 PLS-00323: subprogram or cursor 'COPY' is declared in a package

specification and must be defined in the package body

Errors for PACKAGE BODY CONTENT_ITEM:

LINE/COL ERROR

-------- -----------------------------------------------------------------

22/10 PLS-00323: subprogram or cursor 'NEW' is declared in a package

specification and must be defined in the package body

40/1 PL/SQL: Item ignored

67/38 PLS-00382: expression is of wrong type

275/11 PLS-00323: subprogram or cursor 'SET_LIVE_REVISION' is declared

in a package specification and must be defined in the package

body

DRG-10595: ALTER INDEX CR_REV_ATTRIBUTE_INDEX failed

DRG-11000: invalid keyword SYNC

DRG-10595: ALTER INDEX CR_REV_CONTENT_INDEX failed

DRG-11000: invalid keyword SYNC

Test content::item::copy

    • -2
    • +55
    ./tcl/test/content-item-test-procs.tcl
Deprecate template::util::tcl_to_sql_list, completely replaced by ns_dbquotelist, a native NaviServer command

  1. … 17 more files in changeset.
Mark api as tested

    • -1
    • +2
    ./tcl/test/content-item-test-procs.tcl
Test content::item::content_is_null public api, which has immediately found a typo

    • -1
    • +52
    ./tcl/test/content-item-test-procs.tcl
Update localization

    • -0
    • +3
    ./catalog/acs-content-repository.it_IT.ISO-8859-1.xml
Streamline idioms

    • -7
    • +2
    ./tcl/acs-content-repository-procs.tcl
Uniform documentation style

    • -36
    • +27
    ./tcl/acs-content-repository-procs.tcl
Get rid of trivial private api publish::set_to_pairs

  1. … 3 more files in changeset.
Streamline ns_set idiom

bump verison number to 5.10.1d1 for picking up message keys

file acs-content-repository.zh_TW.utf-8.xml was initially added on branch oacs-5-10.

    • -0
    • +0
    ./catalog/acs-content-repository.zh_TW.utf-8.xml