• last updated 19 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 cr::keyword::* namespace

one cannot advocate to create a keyword with

content::keyword::item_assign and query it with

cr::keyword::item_get_assigned)

- marked the following function as deprecaed

* cr::keyword::get_children

* cr::keyword::get_keyword_id

* cr::keyword::get_options_flat

* cr::keyword::item_get_assigned

* cr::keyword::item_unassign

* cr::keyword::item_unassign_children

- added new functions:

* content::keyword::get_children

* content::keyword::get_keyword_id

* content::keyword::get_options_flat

* content::keyword::item_get_assigned

* content::keyword::item_unassign_children

- updated regression test

  1. … 3 more files in changeset.
- remove commented code

Bring PostgreSQL functions closer to the current level of PL/pgSQL:

- upgrade PL/pgSQL functions to the $$ notation (recommended since pg8.0, jan 2005).

- get rid of backslash usages in function definitions

- drop aliases in favor of named function arguments (recommended since pg8.0)

- fix wrong function_args, add missing function_args, align default semantics

with the defaults in pg (providing "null" as default means the argument is

optional).

- change return types of triggers from "opaque" to "trigger" (recommended since pg8.0)

- unify names of triggers *_tr

- removed some version dependencies of pg 7.2 and 7.3

  1. … 54 more files in changeset.
Removed stupid NOTICEs to the log file when deleting stuff. Slows large

deletes down a LOT and fills log file with GARBAGE.

add update script

  1. … 1 more file in changeset.
Get rid of the postgres warning "adding missing FROM-clause entry " on sequences

Make "db_nextval acs_object_id_seq" more than twice as fast (from 948 microseconds to 378 microseconds)

  1. … 9 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.
Remove code that guesses package_id based on parent_id. In almost all cases

this will return null anyway.

  1. … 2 more files in changeset.
Changes to make the root of parentless items = -4 (security context root) instead of 0 (unregistered visitor)

Sites upgradeed from 4.6-4.6.1 have been operating with -4 as the parent_id for years (for example openacs.org) while new installs had

parent_id = 0. This caused problems with the new package_id code that calls content_item__get_root_folder which was assuming the root =

0. It looks like the new install code did not accomodate parent_id=-4 and that is now fixed.

Needs testing on Oracle.

  1. … 7 more files in changeset.
Don't try to get the package id of folder_id 0 (which isn't a folder anyway!)

  1. … 2 more files in changeset.
Fixed move function

bugfix: moving content item

  1. … 2 more files in changeset.
Fix bug #2497, error in content_item__copy, added upgrade script

  1. … 1 more file in changeset.
propigate title rather than name for content_item__new, bump to d15, upgrade

  1. … 2 more files in changeset.
fix laundry list of bugs in content repository copy code.

duplicate version of the 11arg content_folder__new

copy_creation_ip rather than copy__creation_ip in content_revision__copy

content_folder__copy did not preserve context_id properly

content_item__copy2 had a bunch of unused varaibles -- removed them.

content_item__copy now preserves live_revision so things which copy an

item with a live revision to not have to explicitly publish the new copy

(which eg file storage did not do).

content_revision__copy did an insert into acs_objects without specifying

column names which breaks on a new install since the order is not as expected.

  1. … 3 more files in changeset.
set live and latest to null so delete does not violate fk constraints

commit to HEAD of merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040724 and jcd-merge-5-1-20050111

  1. … 2275 more files in changeset.
Fix define function args for content_item__set_live revision

  1. … 2 more files in changeset.
Fix __delete functions to have __del variant.

  1. … 5 more files in changeset.
Add __del function to match oracle so package_exec_plsql will work

  1. … 2 more files in changeset.
Fixing the params in the function content_item__set_live_revision() changing the param item_id by revision_id

Add CR Tcl API from HEAD.

  1. … 17 more files in changeset.
Upgrade to track my earlier bug fix

  1. … 2 more files in changeset.
Fixed a typo in one of the cr_item__new procs

  1. … 1 more file in changeset.
Make sure all versions of content_item__new behave in the same way, creating

a new revision if content or title is specified. Patch#580 from

Dave Manginelli fixes bug#2040.

Fixed CR part of bug #1953

  1. … 2 more files in changeset.
Fixed the CR part of bug 1953.

  1. … 2 more files in changeset.
Fix syntax error in drop column statement in content_type__drop__attribute.

Fixes bug#2014. Added upgrade script and increased version in info file.

  1. … 3 more files in changeset.
add define_function_args definitions for most functions, bump to 5.2.0d5, upgrade script

  1. … 9 more files in changeset.