Verschiedene Anpassungen bei den Update Scripten.

git-svn-id: https://svn.libreccm.org/ccm/trunk@1658 8810af33-2d31-482b-a856-94f89814c4df
master
pb 2012-05-16 07:23:41 +00:00
parent 41b9566d87
commit b4df657a3e
59 changed files with 75 additions and 97 deletions

View File

@ -1,5 +1,6 @@
<upgrade> <upgrade>
<!-- ONLY HB trunk, never used in APLAWS -->
<version from="0.0.0" to="6.6.0"> <version from="0.0.0" to="6.6.0">
<script sql="ccm-sci-bundle/upgrade/::database::-0.0.0-6.6.0.sql"/> <script sql="ccm-bundle/upgrade/::database::-0.0.0-6.6.0.sql"/>
</version> </version>
</upgrade> </upgrade>

View File

@ -1,7 +1,9 @@
<upgrade> <upgrade>
<!-- Applicable for UHB only! -->
<version from="6.6.1" to="6.6.2"> <version from="6.6.1" to="6.6.2">
<script sql="ccm-cms-publicpersonalprofile/upgrade/::database::-6.6.1-6.6.2.sql"/> <script sql="ccm-cms-publicpersonalprofile/upgrade/::database::-6.6.1-6.6.2.sql"/>
</version> </version>
<!-- Applicable for UHB only! -->
<version from="6.6.2" to="6.6.3"> <version from="6.6.2" to="6.6.3">
<script class="com.arsdigita.cms.contenttypes.upgrades.PublicPersonalProfileBundleCreate"/> <script class="com.arsdigita.cms.contenttypes.upgrades.PublicPersonalProfileBundleCreate"/>
<script class="com.arsdigita.cms.contenttypes.upgrades.PublicPersonalProfileOwnerAssocUpgrade"/> <script class="com.arsdigita.cms.contenttypes.upgrades.PublicPersonalProfileOwnerAssocUpgrade"/>

View File

@ -19,6 +19,6 @@
<ccm:contact uri="mailto:ccm@redhat.com" type="support"/> <ccm:contact uri="mailto:ccm@redhat.com" type="support"/>
</ccm:contacts> </ccm:contacts>
<ccm:description> <ccm:description>
The Job Content Type for the Red Hat CCM CMS. The Job Content Type for publishing job vacancy announcements.
</ccm:description> </ccm:description>
</ccm:application> </ccm:application>

View File

@ -19,6 +19,6 @@
<ccm:contact uri="mailto:ccm@redhat.com" type="support"/> <ccm:contact uri="mailto:ccm@redhat.com" type="support"/>
</ccm:contacts> </ccm:contacts>
<ccm:description> <ccm:description>
The Legal Notice Content Type for the Red Hat CCM CMS. The Legal Notice Content Type for publishing legal notices.
</ccm:description> </ccm:description>
</ccm:application> </ccm:application>

View File

@ -19,6 +19,6 @@
<ccm:contact uri="mailto:ccm@redhat.com" type="support"/> <ccm:contact uri="mailto:ccm@redhat.com" type="support"/>
</ccm:contacts> </ccm:contacts>
<ccm:description> <ccm:description>
The Minutes Content Type for the Red Hat CCM CMS. The Minutes Content Type for publishing meeting minutes.
</ccm:description> </ccm:description>
</ccm:application> </ccm:application>

View File

@ -19,6 +19,6 @@
<ccm:contact uri="mailto:rhea@redhat.com" type="support"/> <ccm:contact uri="mailto:rhea@redhat.com" type="support"/>
</ccm:contacts> </ccm:contacts>
<ccm:description> <ccm:description>
The Organization Content Type for the Red Hat CCM CMS. The Organization Content Type Stores organization information.
</ccm:description> </ccm:description>
</ccm:application> </ccm:application>

View File

@ -19,6 +19,6 @@
<ccm:contact uri="mailto:ccm@redhat.com" type="support"/> <ccm:contact uri="mailto:ccm@redhat.com" type="support"/>
</ccm:contacts> </ccm:contacts>
<ccm:description> <ccm:description>
The Service Content Type for the Red Hat CCM CMS. The Service Content Type for publishing service information.
</ccm:description> </ccm:description>
</ccm:application> </ccm:application>

View File

@ -19,6 +19,6 @@
<ccm:contact uri="mailto:rhea@redhat.com" type="support"/> <ccm:contact uri="mailto:rhea@redhat.com" type="support"/>
</ccm:contacts> </ccm:contacts>
<ccm:description> <ccm:description>
The Glossary Item Content Type for the Red Hat CCM CMS. A content type that lets you proxy remote sites and style the provided XML.
</ccm:description> </ccm:description>
</ccm:application> </ccm:application>

View File

@ -1,6 +1,8 @@
<upgrade> <upgrade>
<!-- nothing to upgrade yet
<version from="6.x.0" to="6.x.1"> <version from="6.x.0" to="6.x.1">
<script sql="ccm-faq/upgrade/::database::-6.x.0-6.x.1.sql"/> <script sql="ccm-faq/upgrade/::database::-6.x.0-6.x.1.sql"/>
<script class="com.arsdigita.faq.upgrade.xyz"/> <script class="com.arsdigita.faq.upgrade.xyz"/>
</version> </version>
-->
</upgrade> </upgrade>

View File

@ -114,11 +114,11 @@
<ccm:application name="ccm-simplesurvey"/> <ccm:application name="ccm-simplesurvey"/>
<!-- Without known funcionality --> <!-- Without known funcionality -->
<ccm:application name="ccm-formbuilder-pdf"/> <ccm:application name="ccm-formbuilder-pdf"/>
<ccm:application name="ccm-ldn-userpreferences"/>
<!-- Complete Bundle's LDN extensions --> <!-- Complete Bundle's LDN extensions -->
<ccm:application name="ccm-ldn-exporter"/> <ccm:application name="ccm-ldn-exporter"/>
<ccm:application name="ccm-ldn-freeform"/> <ccm:application name="ccm-ldn-freeform"/>
<ccm:application name="ccm-ldn-userpreferences"/>
</ccm:build> </ccm:build>

View File

@ -65,8 +65,8 @@
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- Standard Bundle's Content Assets --> <!-- Standard Bundle's Content Assets -->
<ccm:application name="ccm-cms-assets-relatedlink"/>
<ccm:application name="ccm-cms-assets-fileattachment"/> <ccm:application name="ccm-cms-assets-fileattachment"/>
<ccm:application name="ccm-cms-assets-relatedlink"/>
<!-- Standard Bundle's Content Types --> <!-- Standard Bundle's Content Types -->
<ccm:application name="ccm-cms-types-filestorageitem"/> <ccm:application name="ccm-cms-types-filestorageitem"/>
@ -132,7 +132,9 @@
--> -->
<!-- ADD-ONs Bundle's LDN extensions --> <!-- ADD-ONs Bundle's LDN extensions -->
<!--
<ccm:application name="ccm-ldn-exporter"/> <ccm:application name="ccm-ldn-exporter"/>
<ccm:application name="ccm-ldn-freeform"/> <ccm:application name="ccm-ldn-freeform"/>
-->
</ccm:project> </ccm:project>

View File

@ -16,6 +16,9 @@
<ccm:contact uri="mailto:rhea@redhat.com" type="support"/> <ccm:contact uri="mailto:rhea@redhat.com" type="support"/>
</ccm:contacts> </ccm:contacts>
<ccm:description> <ccm:description>
The Dublin Core application for compliance with the Dublin Core Metadata
standard.
The Red Hat Web Application Framework is a platform for writing The Red Hat Web Application Framework is a platform for writing
database-backed web applications in Java. database-backed web applications in Java.
</ccm:description> </ccm:description>

View File

@ -15,6 +15,8 @@
<ccm:contact uri="mailto:rhea@redhat.com" type="support"/> <ccm:contact uri="mailto:rhea@redhat.com" type="support"/>
</ccm:contacts> </ccm:contacts>
<ccm:description> <ccm:description>
Application for importing content data from XML files.
Importer is the opposite of DomainObjectTraversal - it parses the Importer is the opposite of DomainObjectTraversal - it parses the
XML produced by the latter and creates objects in database. XML produced by the latter and creates objects in database.
</ccm:description> </ccm:description>

View File

@ -20,6 +20,6 @@
<ccm:contact uri="mailto:rhea@redhat.com" type="support"/> <ccm:contact uri="mailto:rhea@redhat.com" type="support"/>
</ccm:contacts> </ccm:contacts>
<ccm:description> <ccm:description>
The EsdService Content Type for created for Tameside project. The EsdService Content Type.
</ccm:description> </ccm:description>
</ccm:application> </ccm:application>

View File

@ -0,0 +1,5 @@
<upgrade>
<version from="6.6.0" to="6.6.1">
<script sql="ccm-ldn-types-esdservice/upgrade/::database::-6.6.0-6.6.1.sql"/>
</version>
</upgrade>

View File

@ -19,6 +19,8 @@
<ccm:contact uri="mailto:rhea@redhat.com" type="support"/> <ccm:contact uri="mailto:rhea@redhat.com" type="support"/>
</ccm:contacts> </ccm:contacts>
<ccm:description> <ccm:description>
Set of utilities for various tasks.
The Red Hat Web Application Framework is a platform for writing The Red Hat Web Application Framework is a platform for writing
database-backed web applications in Java. database-backed web applications in Java.
</ccm:description> </ccm:description>

View File

@ -24,8 +24,8 @@
update acs_objects update acs_objects
set (object_type,display_name,default_domain_class) = set (object_type,display_name,default_domain_class) =
('com.arsdigita.london.navigation.portlet.NavigationTreePortlet', ('com.arsdigita.navigation.portlet.NavigationTreePortlet',
'Navigation Tree', 'Navigation Tree',
'com.arsdigita.london.navigation.portlet.NavigationTreePortlet') 'com.arsdigita.navigation.portlet.NavigationTreePortlet')
where object_type where object_type
like 'com.arsdigita.london.portal.portlet.NavigationDirectoryPortlet' ; like 'com.arsdigita.portalworkspace.portlet.NavigationDirectoryPortlet' ;

View File

@ -24,9 +24,9 @@
update application_types update application_types
set (object_type,title,description) = set (object_type,title,description) =
('com.arsdigita.london.navigation.portlet.NavigationTreePortlet', ('com.arsdigita.navigation.portlet.NavigationTreePortlet',
'Navigation Tree', 'Navigation Tree',
'Displays a tree of navigation categories' ) 'Displays a tree of navigation categories' )
where object_type where object_type
like 'com.arsdigita.london.portal.portlet.NavigationDirectoryPortlet' ; like 'com.arsdigita.portalworkspace.portlet.NavigationDirectoryPortlet' ;

View File

@ -48,16 +48,16 @@ alter table portlet_navigation_tree
REFERENCES portlets(portlet_id); REFERENCES portlets(portlet_id);
update application_types update application_types
set object_type = 'com.arsdigita.london.navigation.portlet.NavigationTreePortlet' set object_type = 'com.arsdigita.navigation.portlet.NavigationTreePortlet'
where object_type where object_type
like 'com.arsdigita.london.portal.portlet.NavigationDirectoryPortlet' ; like 'com.arsdigita.portalworkspace.portlet.NavigationDirectoryPortlet' ;
update application_types update application_types
set title = 'Navigation Tree' set title = 'Navigation Tree'
where object_type where object_type
like 'com.arsdigita.london.navigation.portlet.NavigationTreePortlet' ; like 'com.arsdigita.navigation.portlet.NavigationTreePortlet' ;
update application_types update application_types
set description = 'Displays a tree of navigation categories' set description = 'Displays a tree of navigation categories'
where object_type where object_type
like 'com.arsdigita.london.navigation.portlet.NavigationTreePortlet' ; like 'com.arsdigita.navigation.portlet.NavigationTreePortlet' ;

View File

@ -14,12 +14,18 @@
<script class="com.arsdigita.navigation.upgrades.Upgrade650to651"/> <script class="com.arsdigita.navigation.upgrades.Upgrade650to651"/>
</version> </version>
<version from="6.6.0" to="6.6.1"> <version from="6.6.0" to="6.6.1">
<!-- Moved NavigationTreeePortlet to Navigation Package -->
<!-- MUST actually be processed AFTER 6.6.2-6.6.3!
and AFTER ccm-portalws 6.5.1-6.5.2 which in turn must be processed
AFTER ccm-portalws 6.6.0-6-6-1 (rnaming ccm-ldn-portal) -->
<script sql="ccm-navigation/upgrade/::database::-6.6.0-6.6.1.sql"/> <script sql="ccm-navigation/upgrade/::database::-6.6.0-6.6.1.sql"/>
</version> </version>
<version from="6.6.1" to="6.6.2"> <version from="6.6.1" to="6.6.2">
<!-- Removed legacy entries, london.navigation now legacy free. -->
<script sql="ccm-navigation/upgrade/::database::-6.6.1-6.6.2.sql"/> <script sql="ccm-navigation/upgrade/::database::-6.6.1-6.6.2.sql"/>
</version> </version>
<version from="6.6.2" to="6.6.3"> <version from="6.6.2" to="6.6.3">
<!-- Renamed ccm-ldn-navigation to ccm-navigation -->
<script sql="ccm-navigation/upgrade/::database::-6.6.2-6.6.3.sql"/> <script sql="ccm-navigation/upgrade/::database::-6.6.2-6.6.3.sql"/>
</version> </version>
</upgrade> </upgrade>

View File

@ -1,9 +0,0 @@
@@ portlet-upgrade-1.sql
delete from acs_objects where object_type = 'com.arsdigita.london.portal.Portlet';
delete from acs_objects where object_type = 'com.arsdigita.london.portal.Portal';
delete from acs_objects where object_id in (select workspace_id from workspaces where party_id != null);
-- The dispatcher stuff
update apm_package_types set dispatcher_class = 'com.arsdigita.dispatcher.JSPApplicationDispatcher' where package_key = 'portal';

View File

@ -1,7 +0,0 @@
delete from acs_objects where object_type = 'com.arsdigita.london.portal.portlet.ForumPostingsPortlet';
delete from acs_objects where object_id = (
select portlet_type_id
from portlet_types
where class_name = 'com.arsdigita.london.portal.portlet.ForumPostingsPortlet'
);

View File

@ -1,34 +0,0 @@
create table portlet_freeform_html (
portlet_id integer not null
constraint ptl_ffh_portlet_id_pk primary key
constraint ptl_ffh_portlet_id_fk
references portlets (portlet_id)
on delete cascade,
content varchar2(4000)
);
create table portlet_content_item (
portlet_id integer not null
constraint ptl_ci_portlet_id_pk primary key
constraint ptl_ci_portlet_id_fk
references portlets (portlet_id)
on delete cascade,
item_id integer
constraint ptl_ci_item_id_fk
references cms_items (item_id)
on delete set null
);
create table portlet_rss_feed (
portlet_id integer not null
constraint ptl_rss_portlet_id_pk primary key
constraint ptl_rss_portlet_id_fk
references portlets (portlet_id)
on delete cascade,
url varchar2(250)
);

View File

@ -1 +0,0 @@
@@ ../oracle-se/upgrade/add-workspace-pages.sql

View File

@ -1,3 +0,0 @@
@@ ../oracle-se/upgrade/add-workspace-themes.sql
@@ ../oracle-se/upgrade/add-workspace-owner.sql
@@ ../oracle-se/upgrade/add-workspace_workspace_map.sql

View File

@ -1 +0,0 @@
@@ ../oracle-se/upgrade/freeform-use-clob.sql

View File

@ -1,3 +0,0 @@
begin;
\i ../default/upgrade/add-workspace-pages.sql
commit;

View File

@ -1,5 +0,0 @@
begin;
\i ../postgres/upgrade/add-workspace-themes.sql
\i ../postgres/upgrade/add-workspace-owner.sql
\i ../postgres/upgrade/add-workspace_workspace_map.sql
commit;

View File

@ -1,3 +0,0 @@
begin;
\i ../postgres/upgrade/freeform-use-clob.sql
commit;

View File

@ -0,0 +1 @@
@@ oracle-se/1.4.1-1.4.2/add-workspace-pages.sql

View File

@ -0,0 +1,3 @@
@@ oracle-se/6.3.0-6.3.1/add-workspace-themes.sql
@@ oracle-se/6.3.0-6.3.1/add-workspace-owner.sql
@@ oracle-se/6.3.0-6.3.1/add-workspace_workspace_map.sql

View File

@ -0,0 +1 @@
@@ oracle-se/6.3.1-6.3.2/freeform-use-clob.sql

View File

@ -14,5 +14,5 @@
-- along with this library; if not, write to the Free Software Foundation, Inc., -- along with this library; if not, write to the Free Software Foundation, Inc.,
-- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
@@ ../default/upgrade/add-navigation-directory-portlet.sql @@ default/6.5.1-6.5.2/add-navigation-directory-portlet.sql

View File

@ -14,5 +14,5 @@
-- along with this library; if not, write to the Free Software Foundation, Inc., -- along with this library; if not, write to the Free Software Foundation, Inc.,
-- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
@@ ../default/upgrade/add-flash-portlet.sql @@ /default/6.5.2-6.5.3/add-flash-portlet.sql

View File

@ -0,0 +1,3 @@
begin;
\i default/1.4.1-1.4.2/add-workspace-pages.sql
commit;

View File

@ -0,0 +1,5 @@
begin;
\i postgres/6.3.0-6.3.1/add-workspace-themes.sql
\i postgres/6.3.0-6.3.1/add-workspace-owner.sql
\i postgres/6.3.0-6.3.1/add-workspace_workspace_map.sql
commit;

View File

@ -0,0 +1,3 @@
begin;
\i postgres/6.3.1-6.3.2/freeform-use-clob.sql
commit;

View File

@ -15,6 +15,6 @@
-- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
begin; begin;
\i ../default/upgrade/add-navigation-directory-portlet.sql \i default/6.5.1-6.5.2/add-navigation-directory-portlet.sql
commit; commit;

View File

@ -15,6 +15,6 @@
-- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
begin; begin;
\i ../default/upgrade/add-flash-portlet.sql \i default/6.5.2-6.5.3/add-flash-portlet.sql
commit; commit;

View File

@ -1,28 +1,30 @@
<upgrade> <upgrade>
<version from="1.4.1" to="1.4.2"> <version from="1.4.1" to="1.4.2">
<script sql="ccm-ldn-portal/upgrade/::database::-1.4.1-1.4.2.sql"/> <script sql="ccm-portalworkspace/upgrade/::database::-1.4.1-1.4.2.sql"/>
</version> </version>
<version from="6.3.0" to="6.3.1"> <version from="6.3.0" to="6.3.1">
<script sql="ccm-ldn-portal/upgrade/::database::-6.3.0-6.3.1.sql"/> <script sql="ccm-portalworkspace/upgrade/::database::-6.3.0-6.3.1.sql"/>
</version> </version>
<version from="6.3.1" to="6.3.2"> <version from="6.3.1" to="6.3.2">
<script sql="ccm-ldn-portal/upgrade/::database::-6.3.1-6.3.2.sql"/> <script sql="ccm-portalworkspace/upgrade/::database::-6.3.1-6.3.2.sql"/>
</version> </version>
<version from="6.5.0" to="6.5.1"> <version from="6.5.0" to="6.5.1">
<script class="com.arsdigita.london.portal.upgrade.CreateContainerGroups"/> <script class="com.arsdigita.portalworkspace.upgrade.CreateContainerGroups"/>
</version> </version>
<version from="6.5.1" to="6.5.2"> <version from="6.5.1" to="6.5.2">
<script sql="ccm-ldn-portal/upgrade/::database::-6.5.1-6.5.2.sql"/> <script sql="ccm-portalworkspace/upgrade/::database::-6.5.1-6.5.2.sql"/>
<script class="com.arsdigita.london.portal.upgrade.CreateNavigationDirectoryPortlet"/> <script class="com.arsdigita.portalworkspace.upgrade.CreateNavigationDirectoryPortlet"/>
</version> </version>
<version from="6.5.2" to="6.5.3"> <version from="6.5.2" to="6.5.3">
<script sql="ccm-ldn-portal/upgrade/::database::-6.5.2-6.5.3.sql"/> <script sql="ccm-portalworkspace/upgrade/::database::-6.5.2-6.5.3.sql"/>
<script class="com.arsdigita.london.portal.upgrade.CreateFlashPortlet"/> <script class="com.arsdigita.portalworkspace.upgrade.CreateFlashPortlet"/>
</version> </version>
<version from="6.6.0" to="6.6.1"> <version from="6.6.0" to="6.6.1">
<!-- Rename ccm-ldn-portal to ccm-portalworkspace -->
<script sql="ccm-portalworkspace/upgrade/::database::-6.6.0-6.6.1.sql"/> <script sql="ccm-portalworkspace/upgrade/::database::-6.6.0-6.6.1.sql"/>
</version> </version>
<version from="6.6.1" to="6.6.2"> <version from="6.6.1" to="6.6.2">
<!-- Refactored Legacy Free -->
<script sql="ccm-portalworkspace/upgrade/::database::-6.6.1-6.6.2.sql"/> <script sql="ccm-portalworkspace/upgrade/::database::-6.6.1-6.6.2.sql"/>
</version> </version>
</upgrade> </upgrade>

View File

@ -1,5 +1,6 @@
<upgrade> <upgrade>
<version from="0.0.0" to="6.6.0"> <version from="0.0.0" to="6.6.0">
<!-- applicapable for UHB trunk only! -->
<script sql="ccm-sci-bundle/upgrade/::database::-0.0.0-6.6.0.sql"/> <script sql="ccm-sci-bundle/upgrade/::database::-0.0.0-6.6.0.sql"/>
</version> </version>
</upgrade> </upgrade>