• last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Removing upgrade scripts not well ordered for acs-kernel and acs-content-repository.

Adding corresponding upgrade scripts with correct versions.

Now the test case files__check_upgrade_ordering (acs-tcl) does not fail.

    • -50
    • +0
    ./postgresql/upgrade/upgrade-5.2.0d15-5.2.0a1.sql
    • -0
    • +52
    ./postgresql/upgrade/upgrade-5.2.0d18-5.2.0d19.sql
  1. … 4 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?

    • -0
    • +1963
    ./oracle/upgrade/upgrade-5.2.0a1-5.2.0a2.sql
    • -0
    • +3155
    ./oracle/upgrade/upgrade-5.2.0b5-5.2.0b6.sql
    • -0
    • +497
    ./oracle/upgrade/upgrade-5.2.0b6-5.2.0b7.sql
    • -0
    • +2937
    ./oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql
    • -0
    • +285
    ./oracle/upgrade/upgrade-5.2.2-5.2.3d1.sql
    • -0
    • +203
    ./oracle/upgrade/upgrade-5.2.3d1-5.2.3d2.sql
  1. … 707 more files in changeset.
content_name should be content__name

Applied patch supplied by Jeff Davis.

replacing content_template for package_id param

    • -0
    • +203
    ./oracle/upgrade/upgrade-5.2.3d1-5.2.3d2.sql
file upgrade-5.2.3d1-5.2.3d2.sql was initially added on branch oacs-5-2.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.2.3d1-5.2.3d2.sql
Fixed "bug" #2646. This code wasn't actually executed since the relevant

table's created explicitly in another script ...

Fixed "bug" #2747. The code was never called and was just a stub that

hadn't been ported to PG, but I removed it so future people with

sharp eyes don't look at it and report the "bug" again.

fix content_item.new call in content_folder.new

    • -11
    • +11
    ./oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql
fix #2870, #2868: upgrade script for image and content_extlink packages

    • -0
    • +497
    ./oracle/upgrade/upgrade-5.2.0b6-5.2.0b7.sql
file upgrade-5.2.0b6-5.2.0b7.sql was initially added on branch oacs-5-2.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.2.0b6-5.2.0b7.sql
file upgrade-5.2.2-5.2.3d1.sql was initially added on branch oacs-5-2.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.2.2-5.2.3d1.sql
fix non-nullable package id on image (package id should be nullable and it now is)

    • -0
    • +285
    ./oracle/upgrade/upgrade-5.2.2-5.2.3d1.sql
  1. … 1 more file in changeset.
Fixed 5.1->5.2 upgrade, all content repository tests now pass.

  1. … 2 more files in changeset.
Remove code that guesses package_id based on parent_id

    • -33
    • +667
    ./oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql
Remove code that guesses package_id based on parent_id. In almost all cases

this will return null anyway.

    • -206
    • +154
    ./postgresql/upgrade/upgrade-5.2.1d1-5.2.1d2.sql
fix content_type__refresh_view to do a lowercase when selecting table_name. this was in the upgrade script for 5.2.0a1 to 5.2.0a2 but didn't find it's way here

Refresh content_revision view also, not just child types.

Fix upgrade. Move 5.2.0 stuff to 5.2.1

    • -486
    • +0
    ./oracle/upgrade/upgrade-5.2.0b11-5.2.0b12.sql
    • -2
    • +489
    ./oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql
    • -95
    • +0
    ./postgresql/upgrade/upgrade-5.2.0b11-5.2.0b12.sql
    • -1
    • +97
    ./postgresql/upgrade/upgrade-5.2.1d1-5.2.1d2.sql
More 5.2 fixes for Oracle ...

    • -8
    • +1166
    ./oracle/upgrade/upgrade-5.2.0b5-5.2.0b6.sql
Recreate content_keyword__new to support package_id.

Refresh views and triggers.

    • -2
    • +95
    ./postgresql/upgrade/upgrade-5.2.0b11-5.2.0b12.sql
Refresh views and triggers.

Recreate content keyword to support package_id parameter

    • -0
    • +486
    ./oracle/upgrade/upgrade-5.2.0b11-5.2.0b12.sql
file upgrade-5.2.0b11-5.2.0b12.sql was initially added on branch oacs-5-2.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.2.0b11-5.2.0b12.sql
Refresh insert views on upgrade since the definition has changed.

    • -0
    • +2
    ./postgresql/upgrade/upgrade-5.2.0b11-5.2.0b12.sql
file upgrade-5.2.0b11-5.2.0b12.sql was initially added on branch oacs-5-2.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.2.0b11-5.2.0b12.sql
file upgrade-5.2.1d1-5.2.1d2.sql was initially added on branch oacs-5-2.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.2.1d1-5.2.1d2.sql
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.

    • -0
    • +1812
    ./oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql
    • -0
    • +957
    ./postgresql/upgrade/upgrade-5.2.1d1-5.2.1d2.sql
Added missing content-folders on upgrade

A couple of content_item__new functions were missing so I recreated them all

    • -0
    • +954
    ./postgresql/upgrade/upgrade-5.2.0b9-5.2.0b10.sql
  1. … 1 more file in changeset.
file upgrade-5.2.0b9-5.2.0b10.sql was initially added on branch oacs-5-2.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.2.0b9-5.2.0b10.sql