• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
file upgrade-5.9.1d4-5.9.1d5.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./upgrade-5.9.1d4-5.9.1d5.sql
Content-Repository Reform : Reduction of number of functions in

the content repository for PostgreSQL by using using argument defaults

(while providing compatibility for clients using old versions):

- reduced number of versions of content_item__new from 12 (!) to 6 by using defaults

- commented differences

- commented arguments of plpgsql functions with long argument lists

- reduced code duplication by basing one version of content_item__new/17 directly on /20

- marking on version of content_item__new/17 and content_item__new/6 as deprecated

- reduced number of versions of content_revision__new from 7 to 4 by using defaults

- commented differences

- marking on version of content_revision__new/7 as deprecated

- let automatically generated functions call directly content_revision__new/13

- remove space from automatically generated functions

- updated automatically generated functions for all types of the content repository

- reduced number of versions of image__new from 4 to 2by using defaults

- reduced number of versions of image__new_revision from 2 to 1 by using defaults

  1. … 5 more files in changeset.
- fix type of v_is_registered to boolean. This fix is necessary at least under pg 9.5

  1. … 1 more file in changeset.
file upgrade-5.8.3a0-5.8.3a1.sql was initially added on branch oacs-5-8.

    • -0
    • +0
    ./upgrade-5.8.3a0-5.8.3a1.sql
- fix editing bug

  1. … 1 more file in changeset.
- Update automatically generated function for cr-types to use provided

publish_date in new revision (Changes for PostgreSQL and Oracle)

  1. … 4 more files in changeset.
file upgrade-5.9.1d3-5.9.1d4.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./upgrade-5.9.1d3-5.9.1d4.sql
  1. … 1 more file in changeset.
- Bug-fix: Make sure, trigger content_item_search__utrg does try to

delete content from via search queue when old publish_date was in

the future (since this is avoided by the same trigger).

(Oracle seems to implement search quite different)

  1. … 2 more files in changeset.
file upgrade-5.9.1d2-5.9.1d3.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./upgrade-5.9.1d2-5.9.1d3.sql
- Add argument to content_item__set_live_revision (and oracle's counterpart)

to honor optionally provided "publish_date". The old behavior used hard-coded

the current time. The function is fully backward compatible, when no

publish_date is provided, the current time is used for the publish_date.

- changes for PostgreSQL and Oracle.

  1. … 4 more files in changeset.
file upgrade-5.9.1d1-5.9.1d2.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./upgrade-5.9.1d1-5.9.1d2.sql
  1. … 1 more file in changeset.
- make update script more robust

- make upgrade script more robust

file upgrade-5.9.0d4-5.9.0d5.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./upgrade-5.9.0d4-5.9.0d5.sql
- follow naming conventions proposed by regression test

- bump version number

  1. … 3 more files in changeset.
- Part 4 of OpenACS 5.9 agenda: get rid of tree_sortkey in acs-objects ; to be on the safe side, backup your database before upgrading, since the acs-objects.treesortkey is being removed (custom packages might erroneously depend on it)

    • -0
    • +118
    ./upgrade-5.9.0d3-5.9.0d4.sql
  1. … 4 more files in changeset.
- update release date

- added missing semicolon

- make script robust against multiple loads

  1. … 1 more file in changeset.
Scalability reform part 3 (content-repository):

- content_revision__del:

* Removed manual nulling of live_revision and latest_revision

by using appropriate ond delete actions on foreign keys

* Removed manual deletion of old_revision and new_revision in

cr_item_publish_audit by using "on delete cascade"

- content_item__del:

* Removed manual deletion of item_id in cr_item_publish_audit

by using "on delete cascade"

* Removed manual deletion of item_id in cr_release_periods

by using "on delete cascade"

* Removed manual deletion of item_id in cr_item_template_map

by using "on delete cascade"

* Removed manual deletion of item_id in cr_item_keyword_map

by using "on delete cascade"

* Removed manual deletion of direct permissions (was already

cascading)

- Added missing index for child_id to cr_child_rels.

This index was in the create scripts (with a non-conformant name),

but not in the upgrade scripts

- bump version number of acs-content-repository to 5.9.0d3

    • -0
    • +198
    ./upgrade-5.9.0d2-5.9.0d3.sql
  1. … 4 more files in changeset.
- Scalability reform part 2:

* remove cases in the content repository where referencial

integrity was handled manually. Ancient versions of

PostgresSQL seemed to have a bug, which was adressed

via extra triggers in OpenACS

* drop some leftover form ancient versions, were some

update scripts were missing

- bump version number of acs-content-repository to 5.9.0d2

    • -0
    • +39
    ./upgrade-5.9.0d1-5.9.0d2.sql
  1. … 2 more files in changeset.
Bug #3240 - Significantly speed up slow queries in upgrade script...

Bug #3240 - Significantly speed up slow queries in upgrade script...

Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2545 more files in changeset.
file upgrade-5.8.1d7-5.8.1d8.sql was initially added on branch oacs-5-8.

    • -0
    • +0
    ./upgrade-5.8.1d7-5.8.1d8.sql
- add missing function args

  1. … 8 more files in changeset.
- use external command "find" instead of tcllib package fileutil for speed and better filtering

- add index for much quicker reverse lookup file names in the content repository

  1. … 6 more files in changeset.
file upgrade-5.8.1d5-5.8.1d6.sql was initially added on branch oacs-5-8.

    • -0
    • +0
    ./upgrade-5.8.1d5-5.8.1d6.sql
file upgrade-5.8.0a1-5.8.0a2.sql was initially added on branch oacs-5-8.

    • -0
    • +0
    ./upgrade-5.8.0a1-5.8.0a2.sql
  1. … 1 more file in changeset.
- add missing mime-types (application/x-zip, application/x-sh, application/rdf+xml) for postgres and oracle

  1. … 2 more files in changeset.
make sure we exclude null paths from cr_files_to_delete

  1. … 1 more file in changeset.
Some time ago some plpgsql functions were changed in order to be compatible with pg 8.x, create scripts were modified but upgrade scripts were missing ( at least i couldn't find them) http://fisheye.openacs.org/changelog/OpenACS?cs=MAIN%3Ajeffd%3A20090210183154 . Bumping up package versions accordingly.

    • -0
    • +182
    ./upgrade-5.8.0d3-5.8.0d4.sql
  1. … 7 more files in changeset.