From ad8bb933abd042b55eaa8f6337fa53e798ae5d7e Mon Sep 17 00:00:00 2001 From: jensp Date: Fri, 31 May 2013 18:39:53 +0000 Subject: [PATCH] =?UTF-8?q?Singleton=20Property=20f=C3=BCr=20Applications?= =?UTF-8?q?=20wird=20jetzt=20wieder=20korrekt=20gesetzt=20(Ticket=20#1717)?= =?UTF-8?q?.=20Upgrade-Scripts=20enthalten.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.libreccm.org/ccm/trunk@2158 8810af33-2d31-482b-a856-94f89814c4df --- ccm-atoz/application.xml | 2 +- .../default/6.6.2-6.6.3/set_singleton.sql | 20 ++ .../upgrade/oracle-se-6.6.2-6.6.3.sql | 20 ++ .../ccm-atoz/upgrade/postgres-6.6.2-6.6.3.sql | 24 ++ ccm-atoz/src/ccm-atoz.upgrade | 3 + ccm-atoz/src/com/arsdigita/atoz/Loader.java | 54 ++-- ccm-auth-http/application.xml | 2 +- .../default/6.6.0-6.6.1/set_singleton.sql | 20 ++ .../upgrade/oracle-se-6.6.0-6.6.1.sql | 20 ++ .../upgrade/postgres-6.6.0-6.6.1.sql | 24 ++ ccm-auth-http/src/ccm-auth-http.upgrade | 5 + .../src/com/arsdigita/auth/http/Loader.java | 1 + ccm-cms-publicpersonalprofile/application.xml | 2 +- .../upgrade/6.6.3-6.6.4/set_singleton.sql | 20 ++ .../upgrade/oracle-se-6.6.3-6.6.4.sql | 26 ++ .../upgrade/postgres-6.6.3-6.6.4.sql | 29 ++ .../src/ccm-cms-publicpersonalprofile.upgrade | 3 + .../PublicPersonalProfilesLoader.java | 1 + .../upgrade/6.6.7-6.6.8/set_singleton.sql | 21 ++ .../ccm-cms/upgrade/oracle-se-6.6.7-6.6.8.sql | 4 +- .../ccm-cms/upgrade/postgres-6.6.7-6.6.8.sql | 1 + ccm-cms/src/com/arsdigita/cms/Loader.java | 2 + ccm-core/application.xml | 2 +- .../default/6.6.5-6.6.6/set_singleton.sql | 23 ++ .../upgrade/oracle-se-6.6.5-6.6.6.sql | 39 +++ .../ccm-core/upgrade/postgres-6.6.5-6.6.6.sql | 30 ++ ccm-core/src/ccm-core.upgrade | 4 + ccm-core/src/com/arsdigita/core/Loader.java | 279 ++++++++---------- .../ui/BasicResourceConfigFormSection.java | 26 +- .../com/arsdigita/ui/admin/SettingsTab.java | 130 ++++++++ .../com/arsdigita/web/ApplicationType.java | 12 +- ccm-ldn-search/application.xml | 2 +- .../default/6.6.1-6.6.2/set_singleton.sql | 20 ++ .../upgrade/oracle-se-6.6.1-6.6.2.sql | 20 ++ .../upgrade/postgres-6.6.0-6.6.1.sql | 13 +- .../upgrade/postgres-6.6.1-6.6.2.sql | 36 +++ ccm-ldn-search/src/ccm-ldn-search.upgrade | 3 + .../com/arsdigita/london/search/Loader.java | 2 +- ccm-ldn-terms/application.xml | 2 +- .../upgrade/6.6.2-6.6.3/set_singleton.sql | 20 ++ .../upgrade/oracle-se-6.6.2-6.6.3.sql | 22 ++ .../upgrade/postgres-6.6.2-6.6.3.sql | 26 ++ ccm-ldn-terms/src/ccm-ldn-terms.upgrade | 3 + .../com/arsdigita/london/terms/Loader.java | 2 +- ccm-rssfeed/application.xml | 2 +- .../default/6.6.1-6.6.2/set_singleton.sql | 20 ++ .../upgrade/oracle-se-6.6.1-6.6.2.sql | 20 ++ .../upgrade/postgres-6.6.1-6.6.2.sql | 26 ++ ccm-rssfeed/src/ccm-rssfeed.upgrade | 3 + .../src/com/arsdigita/rssfeed/Loader.java | 1 + ccm-sci-publications/application.xml | 2 +- .../upgrade/6.6.4-6.6.5/set_singleton.sql | 20 ++ .../upgrade/postgres-6.6.4-6.6.5.sql | 1 + .../cms/contenttypes/PublicationBundle.java | 2 +- .../ui/PublicationExtraXmlGenerator.java | 4 +- .../ui/PublicationSeriesTable.java | 4 +- .../contenttypes/ui/SeriesVolumeAddForm.java | 9 +- .../SciPublicationsLoader.java | 1 + ccm-shortcuts/application.xml | 2 +- .../default/6.6.1-6.6.2/set_singleton.sql | 20 ++ .../upgrade/oracle-se-6.6.1-6.6.2.sql | 20 ++ .../upgrade/postgres-6.6.1-6.6.2.sql | 26 ++ ccm-shortcuts/src/ccm-shortcuts.upgrade | 3 + .../src/com/arsdigita/shortcuts/Loader.java | 1 + ccm-subsite/application.xml | 2 +- .../default/6.6.1-6.6.2/set_singleton.sql | 20 ++ .../upgrade/oracle-se-6.6.1-6.6.2.sql | 20 ++ .../upgrade/postgres-6.6.1-6.6.2.sql | 26 ++ ccm-subsite/src/ccm-subsite.upgrade | 3 + .../src/com/arsdigita/subsite/Loader.java | 1 + ccm-themedirector/application.xml | 2 +- .../default/6.6.2-6.6.3/set_singleton.sql | 20 ++ .../upgrade/oracle-se-6.6.2-6.6.3.sql | 20 ++ .../upgrade/postgres-6.6.2-6.6.3.sql | 26 ++ .../src/ccm-themedirector.upgrade | 3 + .../com/arsdigita/themedirector/Loader.java | 2 +- 76 files changed, 1109 insertions(+), 243 deletions(-) create mode 100644 ccm-atoz/sql/ccm-atoz/upgrade/default/6.6.2-6.6.3/set_singleton.sql create mode 100644 ccm-atoz/sql/ccm-atoz/upgrade/oracle-se-6.6.2-6.6.3.sql create mode 100644 ccm-atoz/sql/ccm-atoz/upgrade/postgres-6.6.2-6.6.3.sql create mode 100644 ccm-auth-http/sql/ccm-auth-http/upgrade/default/6.6.0-6.6.1/set_singleton.sql create mode 100644 ccm-auth-http/sql/ccm-auth-http/upgrade/oracle-se-6.6.0-6.6.1.sql create mode 100644 ccm-auth-http/sql/ccm-auth-http/upgrade/postgres-6.6.0-6.6.1.sql create mode 100644 ccm-auth-http/src/ccm-auth-http.upgrade create mode 100644 ccm-cms-publicpersonalprofile/sql/ccm-cms-publicpersonalprofile/default/upgrade/6.6.3-6.6.4/set_singleton.sql create mode 100644 ccm-cms-publicpersonalprofile/sql/ccm-cms-publicpersonalprofile/upgrade/oracle-se-6.6.3-6.6.4.sql create mode 100644 ccm-cms-publicpersonalprofile/sql/ccm-cms-publicpersonalprofile/upgrade/postgres-6.6.3-6.6.4.sql create mode 100644 ccm-cms/sql/ccm-cms/default/upgrade/6.6.7-6.6.8/set_singleton.sql create mode 100644 ccm-core/sql/ccm-core/upgrade/default/6.6.5-6.6.6/set_singleton.sql create mode 100644 ccm-core/sql/ccm-core/upgrade/oracle-se-6.6.5-6.6.6.sql create mode 100644 ccm-core/sql/ccm-core/upgrade/postgres-6.6.5-6.6.6.sql create mode 100644 ccm-core/src/com/arsdigita/ui/admin/SettingsTab.java create mode 100644 ccm-ldn-search/sql/ccm-ldn-search/upgrade/default/6.6.1-6.6.2/set_singleton.sql create mode 100644 ccm-ldn-search/sql/ccm-ldn-search/upgrade/oracle-se-6.6.1-6.6.2.sql create mode 100644 ccm-ldn-search/sql/ccm-ldn-search/upgrade/postgres-6.6.1-6.6.2.sql create mode 100644 ccm-ldn-terms/sql/ccm-ldn-terms/default/upgrade/6.6.2-6.6.3/set_singleton.sql create mode 100644 ccm-ldn-terms/sql/ccm-ldn-terms/upgrade/oracle-se-6.6.2-6.6.3.sql create mode 100644 ccm-ldn-terms/sql/ccm-ldn-terms/upgrade/postgres-6.6.2-6.6.3.sql create mode 100644 ccm-rssfeed/sql/ccm-rssfeed/upgrade/default/6.6.1-6.6.2/set_singleton.sql create mode 100644 ccm-rssfeed/sql/ccm-rssfeed/upgrade/oracle-se-6.6.1-6.6.2.sql create mode 100644 ccm-rssfeed/sql/ccm-rssfeed/upgrade/postgres-6.6.1-6.6.2.sql create mode 100644 ccm-sci-publications/sql/ccm-sci-publications/default/upgrade/6.6.4-6.6.5/set_singleton.sql create mode 100644 ccm-shortcuts/sql/ccm-shortcuts/upgrade/default/6.6.1-6.6.2/set_singleton.sql create mode 100644 ccm-shortcuts/sql/ccm-shortcuts/upgrade/oracle-se-6.6.1-6.6.2.sql create mode 100644 ccm-shortcuts/sql/ccm-shortcuts/upgrade/postgres-6.6.1-6.6.2.sql create mode 100644 ccm-subsite/sql/ccm-subsite/upgrade/default/6.6.1-6.6.2/set_singleton.sql create mode 100644 ccm-subsite/sql/ccm-subsite/upgrade/oracle-se-6.6.1-6.6.2.sql create mode 100644 ccm-subsite/sql/ccm-subsite/upgrade/postgres-6.6.1-6.6.2.sql create mode 100644 ccm-themedirector/sql/ccm-themedirector/upgrade/default/6.6.2-6.6.3/set_singleton.sql create mode 100644 ccm-themedirector/sql/ccm-themedirector/upgrade/oracle-se-6.6.2-6.6.3.sql create mode 100644 ccm-themedirector/sql/ccm-themedirector/upgrade/postgres-6.6.2-6.6.3.sql diff --git a/ccm-atoz/application.xml b/ccm-atoz/application.xml index 72d062470..1e5973296 100755 --- a/ccm-atoz/application.xml +++ b/ccm-atoz/application.xml @@ -2,7 +2,7 @@ diff --git a/ccm-atoz/sql/ccm-atoz/upgrade/default/6.6.2-6.6.3/set_singleton.sql b/ccm-atoz/sql/ccm-atoz/upgrade/default/6.6.2-6.6.3/set_singleton.sql new file mode 100644 index 000000000..0355d7f8e --- /dev/null +++ b/ccm-atoz/sql/ccm-atoz/upgrade/default/6.6.2-6.6.3/set_singleton.sql @@ -0,0 +1,20 @@ +-- +-- Copyright (C) 2013 Jens Pelzetter All Rights Reserved. +-- +-- This library is free software; you can redistribute it and/or +-- modify it under the terms of the GNU Lesser General Public License +-- as published by the Free Software Foundation; either version 2.1 of +-- the License, or (at your option) any later version. +-- +-- This library is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +-- Lesser General Public License for more details. +-- +-- You should have received a copy of the GNU Lesser General Public +-- License along with this library; if not, write to the Free Software +-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +-- +-- $Id$ + +UPDATE application_types SET singleton_p = true WHERE object_type = 'com.arsdigita.atoz.AtoZ'; \ No newline at end of file diff --git a/ccm-atoz/sql/ccm-atoz/upgrade/oracle-se-6.6.2-6.6.3.sql b/ccm-atoz/sql/ccm-atoz/upgrade/oracle-se-6.6.2-6.6.3.sql new file mode 100644 index 000000000..2fcbecedf --- /dev/null +++ b/ccm-atoz/sql/ccm-atoz/upgrade/oracle-se-6.6.2-6.6.3.sql @@ -0,0 +1,20 @@ +-- +-- Copyright (C) 2013 Peter Boy. All Rights Reserved. +-- +-- This library is free software; you can redistribute it and/or +-- modify it under the terms of the GNU Lesser General Public License +-- as published by the Free Software Foundation; either version 2.1 of +-- the License, or (at your option) any later version. +-- +-- This library is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +-- Lesser General Public License for more details. +-- +-- You should have received a copy of the GNU Lesser General Public +-- License along with this library; if not, write to the Free Software +-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +-- +-- $Id$ + +@@ default/6.6.2-6.6.3/set_singleton.sql \ No newline at end of file diff --git a/ccm-atoz/sql/ccm-atoz/upgrade/postgres-6.6.2-6.6.3.sql b/ccm-atoz/sql/ccm-atoz/upgrade/postgres-6.6.2-6.6.3.sql new file mode 100644 index 000000000..e665ef722 --- /dev/null +++ b/ccm-atoz/sql/ccm-atoz/upgrade/postgres-6.6.2-6.6.3.sql @@ -0,0 +1,24 @@ +-- +-- Copyright (C) 2013 Jens Pelzetter. All Rights Reserved. +-- +-- This library is free software; you can redistribute it and/or +-- modify it under the terms of the GNU Lesser General Public License +-- as published by the Free Software Foundation; either version 2.1 of +-- the License, or (at your option) any later version. +-- +-- This library is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +-- Lesser General Public License for more details. +-- +-- You should have received a copy of the GNU Lesser General Public +-- License along with this library; if not, write to the Free Software +-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +-- +-- $Id$ + +begin; + +\i default/6.6.2-6.6.3/set_singleton.sql + +commit; diff --git a/ccm-atoz/src/ccm-atoz.upgrade b/ccm-atoz/src/ccm-atoz.upgrade index 260f08109..405ed4e25 100755 --- a/ccm-atoz/src/ccm-atoz.upgrade +++ b/ccm-atoz/src/ccm-atoz.upgrade @@ -19,4 +19,7 @@