• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- Update automatically generated function for cr-types to use provided

publish_date in new revision (Changes for PostgreSQL and Oracle)

    • -0
    • +946
    ./oracle/upgrade/upgrade-5.9.1d3-5.9.1d4.sql
    • -0
    • +101
    ./postgresql/upgrade/upgrade-5.9.1d3-5.9.1d4.sql
  1. … 1 more file in changeset.
file upgrade-5.9.1d3-5.9.1d4.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.9.1d3-5.9.1d4.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d3-5.9.1d4.sql
- 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)

    • -0
    • +19
    ./postgresql/upgrade/upgrade-5.9.1d2-5.9.1d3.sql
  1. … 1 more file in changeset.
file upgrade-5.9.1d2-5.9.1d3.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/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.

    • -0
    • +1728
    ./oracle/upgrade/upgrade-5.9.1d1-5.9.1d2.sql
    • -0
    • +39
    ./postgresql/upgrade/upgrade-5.9.1d1-5.9.1d2.sql
  1. … 1 more file in changeset.
file upgrade-5.9.1d1-5.9.1d2.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.9.1d1-5.9.1d2.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d1-5.9.1d2.sql
- fix typo and order

- update cr_content_mime_type_map as well (thanks to felix moedritscher)

- fix incorrect entries in cr_revisions having the inccorect mime_type

- fix incorrect mimetype setting for SVG (was xml+svg, must be svg+xml)

  1. … 1 more file in changeset.
file upgrade-5.9.0b2-5.9.0b3.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./common/upgrade/upgrade-5.9.0b2-5.9.0b3.sql
- white-space changes

- remove redundant function_args definitions

- 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
    ./postgresql/upgrade/upgrade-5.9.0d4-5.9.0d5.sql
- follow naming conventions proposed by regression test

- bump version number

  1. … 1 more file 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
    ./postgresql/upgrade/upgrade-5.9.0d3-5.9.0d4.sql
  1. … 3 more files in changeset.
- remove obsolete functions

- 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

    • -59
    • +41
    ./postgresql/content-revision.sql
    • -0
    • +198
    ./postgresql/upgrade/upgrade-5.9.0d2-5.9.0d3.sql
  1. … 1 more file 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

    • -157
    • +144
    ./postgresql/content-create.sql
    • -0
    • +39
    ./postgresql/upgrade/upgrade-5.9.0d1-5.9.0d2.sql
  1. … 1 more file in changeset.
Merging back to HEAD all changes that happened in branch oacs-5-8 between tags: vg-merge-oacs-5-8-from-20141027 and vg-merge-oacs-5-8-from-20150427

  1. … 520 more files in changeset.
- fix for bug #3238

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

file upgrade-5.8.1d7-5.8.1d8.sql was initially added on branch oacs-5-8.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.8.1d7-5.8.1d8.sql