• last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset MAIN:antoniop:20200828145134:1 does not match your current filter (clear filter).

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

Whitespace cleanup

Reduce divergency between oracle and postgres codebase, bring portable sql inline

Rename ReturnHeaders proc to comply with OpenACS naming convention, create deprecated wrapper, replace occurrences

  1. … 10 more files in changeset.
Move CR search callbacks to new namespace in compliance with OpenACS naming convention, create deprecated wrappers, update service contract tables

  1. … 3 more files in changeset.
Prefer bind variables, use portable idioms

Add ad_library and a bit of doc

Whitespace cleanup

Add cast (many thanks to Franz Penz for the change)

improve spelling

New utility to return all descendants of a certain cr_item or folder

Whitespace cleanup

Add a simple test case for 'content::revision::get_title'

    • -3
    • +10
    ./test/content-revision-test-procs.tcl
Add 'content::revision::get_title', a simple proc to get the title of a particular 'content_revision'

Adjust doc and defaults of 'content::item::get_title' to the actual implementation of 'content_item__get_title'

Remove self-reference in proc doc

replace hardcoded /tmp by API function [ad_tmpdir]

  1. … 10 more files in changeset.