acs-content-repository

  • last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
added minimal message catalog files for basic content repository message keys

    • -0
    • +4
    ./catalog/acs-content-repository.ar_EG.utf-8.xml
    • -0
    • +4
    ./catalog/acs-content-repository.ar_LB.utf-8.xml
    • -0
    • +5
    ./catalog/acs-content-repository.ca_ES.ISO-8859-1.xml
    • -0
    • +4
    ./catalog/acs-content-repository.ch_zh.utf-8.xml
    • -0
    • +4
    ./catalog/acs-content-repository.da_DK.ISO-8859-1.xml
    • -0
    • +8
    ./catalog/acs-content-repository.de_DE.ISO-8859-1.xml
    • -0
    • +5
    ./catalog/acs-content-repository.el_GR.utf-8.xml
    • -0
    • +5
    ./catalog/acs-content-repository.en_AU.ISO-8859-1.xml
    • -0
    • +8
    ./catalog/acs-content-repository.en_US.ISO-8859-1.xml
    • -0
    • +4
    ./catalog/acs-content-repository.es_CO.ISO-8859-1.xml
    • -0
    • +4
    ./catalog/acs-content-repository.es_ES.ISO-8859-1.xml
    • -0
    • +5
    ./catalog/acs-content-repository.es_GT.ISO-8859-1.xml
    • -0
    • +5
    ./catalog/acs-content-repository.eu_ES.ISO-8859-1.xml
    • -0
    • +5
    ./catalog/acs-content-repository.fi_FI.utf-8.xml
    • -0
    • +4
    ./catalog/acs-content-repository.fr_FR.ISO-8859-1.xml
  1. … 21 more files in changeset.
file acs-content-repository.ar_EG.utf-8.xml was initially added on branch oacs-5-10.

    • -0
    • +0
    ./catalog/acs-content-repository.ar_EG.utf-8.xml
file acs-content-repository.ar_LB.utf-8.xml was initially added on branch oacs-5-10.

    • -0
    • +0
    ./catalog/acs-content-repository.ar_LB.utf-8.xml
fix release dates in .info files

  1. … 82 more files in changeset.
release work

  1. … 204 more files in changeset.
regenerated documentation

  1. … 454 more files in changeset.
bump version numbers of 5.9|5.10 packages to 5.10.0b1

adjust dependencies

  1. … 87 more files in changeset.
improve spelling

  1. … 42 more files in changeset.
file upgrade-5.10.0d14-5.10.0d15.sql was initially added on branch oacs-5-10.

Use 'revision_id' as a tiebreaker in case creation_date is the same, which can happen if different revisions were created inside a single transaction.

Fix typo, write a basic test for the involved api

  1. … 1 more file in changeset.
whitespace changes

  1. … 1 more file in changeset.
Fixed var name and add warning for 'cr_file_name' being empty (the latter ported from downstream, originally made by Günter Ernst)

    • -13
    • +22
    ./tcl/content-revision-procs.tcl
new function: ::content::revision::export_to_filesystem

This change moves functionality from file-storage to acs-content-repository.

all application packages should be free of internals, such as the storage

type. Storage_type should be handeled in the content-repository package.

We are not yet done, there is still more to do in this respect in

the file-storage package.

    • -3
    • +10
    ./tcl/content-revision-procs-oracle.xql
    • -1
    • +9
    ./tcl/content-revision-procs-postgresql.xql
  1. … 4 more files in changeset.
improve spelling

  1. … 3 more files in changeset.
added constraint cr_items_parent_id_ck to avoid certain simple loops on parent_ids

An item must not be equal to its own parent. Note that this constraint is not

guaranteed to avoid all loops; it is still possible to create indirect recursive

loops but excludes some real-world problems.

    • -2
    • +10
    ./sql/postgresql/content-create.sql
file upgrade-5.10.0d12-5.10.0d13.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./sql/oracle/upgrade/upgrade-5.10.0d12-5.10.0d13.sql
extend regression test

    • -7
    • +19
    ./tcl/test/content-item-test-procs.tcl
    • -7
    • +40
    ./tcl/test/content-revision-test-procs.tcl
extend regression test

    • -1
    • +6
    ./tcl/test/content-revision-test-procs.tcl
mark unused "content::item::get_context" deprecated, since it should be called on "acs_object"

extend regression test

    • -1
    • +9
    ./tcl/test/content-item-test-procs.tcl
remove leftover from ancient times (set it -deprecated and -private)

remove obsolete files

Piggyback some more api to existing tests

    • -0
    • +44
    ./tcl/test/content-search-procs.tcl
Whitespace cleanup

reduce public footprint

reduce public footprint

mark private functions as private

  1. … 9 more files in changeset.
Make api public, complies with acs-api-browser.graph__bad_calls automated test

  1. … 3 more files in changeset.
Refactor content repository backend

The refactored code is a first step to become able to provide plugins

for backends for storing content in different systems. Instead of

using switch statements to distinguish between backends "file", "lob"

and "text", procs with a suffix of the storage name are provided

now. Essentially, by providing process with additional suffixes can be

used to provide additional storage systems.

In addition, the deletion handling was also refactored such that the

non-scalable functions iterating over all items (such as

"cr_check_orphaned_files") will become obsolete. This is imporant for

content repositories with double and triple digit terabytes.

    • -15
    • +0
    ./tcl/acs-content-repository-init-oracle.xql
    • -13
    • +0
    ./tcl/acs-content-repository-init-postgresql.xql
    • -10
    • +0
    ./tcl/acs-content-repository-init.tcl
    • -5
    • +14
    ./tcl/acs-content-repository-procs-oracle.xql
    • -0
    • +8
    ./tcl/acs-content-repository-procs-postgresql.xql
    • -1
    • +21
    ./tcl/acs-content-repository-procs.tcl
    • -10
    • +21
    ./tcl/content-revision-procs-oracle.xql
    • -22
    • +4
    ./tcl/content-revision-procs-postgresql.xql
    • -45
    • +366
    ./tcl/content-revision-procs.tcl