• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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
    ./acs-content-repository-init-oracle.xql
    • -13
    • +0
    ./acs-content-repository-init-postgresql.xql
    • -5
    • +14
    ./acs-content-repository-procs-oracle.xql
    • -0
    • +8
    ./acs-content-repository-procs-postgresql.xql
    • -10
    • +21
    ./content-revision-procs-oracle.xql
    • -22
    • +4
    ./content-revision-procs-postgresql.xql
fix deprecated function

improve listing of test coverage

    • -3
    • +3
    ./test/acs-content-repository-procs.tcl
  1. … 15 more files in changeset.
make listing of tested procs more complete

  1. … 17 more files in changeset.
make end of options explicit

  1. … 16 more files in changeset.
Prefer 'namespace which' over 'info commands', as it is faster (on local tests, around 2x) and returns a single value. Many thanks to Nathan Coulter.

  1. … 56 more files in changeset.
use bind variables instead of tcl variable substition in xql fullqueries

  1. … 15 more files in changeset.
Cleanup leftover query

Fix missing end

  1. … 2 more files in changeset.
Improve sql portability

    • -11
    • +11
    ./test/content-extlink-procs.tcl
  1. … 4 more files in changeset.
Reinstate lost queries for content::item::content_is_null

    • -0
    • +15
    ./content-item-procs-postgresql.xql
file content-item-procs-oracle.xql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./content-item-procs-oracle.xql
file content-item-procs-postgresql.xql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./content-item-procs-postgresql.xql
Complete content::folder api coverage

Whitespace cleanup

    • -16
    • +14
    ./test/content-item-test-procs.tcl
Fix content::extlink::delete: this actually just means to delete the content item

Test public content::extlink api: this test will expose that content::extlink::delete is broken (wrong stored procedure called)

    • -0
    • +115
    ./test/content-extlink-procs.tcl
file content-extlink-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./test/content-extlink-procs.tcl
Deprecate content::folder::get_folder_from_package as it assumes there will be one folder per package, not true in general

Replace its only occurrence in the codebase with a local reimplementation (expecting the assessment package to comply with this restriction and not have more than 1 folder per package instance)

  1. … 1 more file in changeset.
Deprecate a proc broken since we have memory of it (~17 years)

Whitespace cleanup

Remove leftover public api: the underlying database api was obsolete and removed 5 years ago by git commit d91c99f522588a41bd8614ba815162a81940b08a

Make apm callback private

improve spelling: move closer to the linux documentation recommendations

  1. … 27 more files in changeset.
Fix for plausible file checking in cr_delete_orphans

The code checks for files, which are not conforming to the naming conventions,

and intends to skip these. ... but a "continue" was missing.

Many thanks to Franz Penz