• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
cleanup in item::* namespace

most functions were already moved into the content::item namespace,

but a few were left.

- marked the following function as deprecated

* item::get_content

* item::content_is_null

* item::get_revision_content

* item::content_methods_by_type

* item::publish

* item::unpublish

- added new functions:

* content::item::content_is_null

* content::item::content_methods_by_type

* content::item::get_content

* content::item::get_revision_content

* content::item::publish

* content::item::unpublish

- updated regression test

  1. … 5 more files in changeset.
- mark more of the functions in the ::item::* namespace as deprecated,

since much of the detailed info is delivered by ::content::item::get

* item::get_mime_info

* item::get_extended_url

* item::get_element

- use "![info exists]" instead of "template::util::is_nil" on scalars

  1. … 6 more files in changeset.
- modernize tcl

  1. … 9 more files in changeset.
Replace single quote in tcl string with double quotes

Fix single quotes around string in procedure call

- fix one more typo in deprecated command

Fied a typo: "-item_id $item_id" is better than "-item_id item_id'.

typo

some more cleanup of the item-procs.tcl, and calls to item:: in packages/acs-content-repository

  1. … 3 more files in changeset.
Major cleanup of item-procs, replaced DB calls by calls to content::item::* in 18

of the 24 deprecated procs, just six procs are still required. Commented most

of the affected calls in ::content::item::*

  1. … 4 more files in changeset.
Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
Adding default value to db_string in item::get_live_revision

Adding default value for db_string in item::get_live_revision

adding defaults to creation_user, creation_ip, content_type to content::item::new

  1. … 7 more files in changeset.

Marked as -deprecated any procs with corresponding items in content::item

adding the item::delete PL/SQL wrapper proc

  1. … 2 more files in changeset.
Finish fixing item::publish. Move oracle queries to -oracle.xql.

Fix item::unpublish in the same way.

  1. … 3 more files in changeset.
Fix item::publish. Refernce to wrong variable, add postgresql version of

plsql call.

  1. … 1 more file in changeset.
item::get_content: Made revision optional, if you provide item_id

make some Notices either warnings or debug and made them more descriptive by generally including the proc name as well bug #1032

  1. … 74 more files in changeset.
Fixed bug with mime_type not found when content is empty

Added item::get_content proc

Fixed bug in item::get_revision_content, upvar'ing happened after the variable had been populated

Closes bug #654. Multiple definitions of cr_item procs, moved item procs

from cms to acs-content-repository.

  1. … 3 more files in changeset.
adding item::get, item::get_element, item::publish, and item::unpublish procs to the cr items Tcl API

Merged 4.6.4d1 (unreleased) to HEAD. This marks the end of the life of the oacs-4-6 branch.

  1. … 816 more files in changeset.
Changed arg order of item::get_url. Fixes bug 685 Janine Sisk.

1. I made it possible to let content_template.new(), and its PG equivalent,

create a revision of the template by simply providing the template in the 'text'

param.

2. Bug-fixed content::init, content::get_content and some other procs related

to the index.vuh in the CR. Virtual URLs are now more or less supported for items

of any content type if they have a content template associated with them.

If a content item associates a template to it (by registering it), it will have precedence

over the type's template. It will transparently act as a default, in other words.

  1. … 16 more files in changeset.