• last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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
    ./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.

  1. … 5 more files in changeset.
Deprecate content::revision::update_attribute_index

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

  1. … 3 more files 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

  1. … 1 more file in changeset.
improve wording

Test content::item::copy

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

Test content::item::content_is_null public api, which has immediately found a typo

Streamline idioms

Uniform documentation style

    • -36
    • +27
    ./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

improve spelling

  1. … 42 more files in changeset.
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)

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
    ./content-revision-procs-oracle.xql
    • -1
    • +9
    ./content-revision-procs-postgresql.xql
  1. … 5 more files in changeset.
extend regression test

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

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

extend regression test

remove leftover from ancient times (set it -deprecated and -private)

Piggyback some more api to existing tests

Whitespace cleanup

reduce public footprint