• last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make content::item::new is live parameter default to f instead of empty string to match content::revision::new

Make content::item::new is live parameter default to f instead of empty string to match content::revision::new

- remove lock statements, which seem not needed anymore with Postgres 8.2 or newer

  1. … 1 more file in changeset.
Merged 5.3 to HEAD

  1. … 60 more files in changeset.
Bug#3107 Document use of tmp_filename. The caller needs to clean up

the tmp file. The content repository does not "know" what the proper

procedure is to handle the file.

  1. … 1 more file 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.
Indention fixes

Adding image API

  1. … 2 more files in changeset.
Fix for the duplicate revision_id and deadlock on concurrent cr updates and inserts

  1. … 5 more files in changeset.
Merged acs-core oacs-5-2 (currently 5.2.3) -> HEAD.

TODO:

1. Bump acs-core package version numbers to 5.3.0d1

2. Would be nice to do a test install, wouldn't it?

  1. … 721 more files in changeset.
Add -tmp_filename parameter to content::item::new and

content::revision::new to handle file uploads at a low level with the

cr tcl api. You still need to figure out the mime type and cotent type

(image,etc.) before calling content::item::new. A convenience wrapper

should be written if you need that feature. (that would replace

cr_import_content, it think.)

  1. … 6 more files in changeset.
Call content_item__edit_name instead of content_item__rename. Fixed bug#2906.

Fixing file upload, storing the full filename as the title, getting rid of the problem of the regsub killing some characters

Remove dependency on ad_conn.

Fixes #2771. Made sure creation_* parameters are passed on to content::revision::new

Let content::item::get work with folders

  1. … 1 more file in changeset.
Added content::item::get_id_by_name Procedure

  1. … 1 more file in changeset.
Added procedure to upload a file under a parent_id

After discussions with dave the proc went to content-item-procs.tcl and is called content::item::upload_file. Testing on the way

bugfix: set package_id and context_id for items and revisions

  1. … 1 more file in changeset.
bugfix: set package_id and context_id for items and revisions

  1. … 1 more file in changeset.
Add where clause to content::item::update and content::folder::update

  1. … 1 more file in changeset.
Add where clause to content::item::update and content::folder::update

  1. … 1 more file in changeset.
added defaults for creation user and creation ip of content-items

bugfix: default values for creation_user and creation_ip in item::new

  1. … 1 more file in changeset.
adding defaults to creation_user, creation_ip, content_type to content::item::new

  1. … 7 more files in changeset.
some changes missed from 5.1 branch

  1. … 7 more files in changeset.
Revert to package_exec_plsql var_list list style for -attributes

parameters. Fix test and documentation.

  1. … 2 more files in changeset.
Add content::item::get. Add test case support for it.

  1. … 3 more files in changeset.