0012474: bump app versions to 10.x
authorPhilipp Schüle <p.schuele@metaways.de>
Wed, 28 Dec 2016 11:43:52 +0000 (12:43 +0100)
committerPhilipp Schüle <p.schuele@metaways.de>
Thu, 29 Dec 2016 12:49:45 +0000 (13:49 +0100)
https://forge.tine20.org/view.php?id=12474

Change-Id: I4e3fbed700f267b57d7dec0ac82facc2fa6968e7
Reviewed-on: http://gerrit.tine20.com/customers/4017
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
45 files changed:
tine20/ActiveSync/Setup/Update/Release9.php [new file with mode: 0644]
tine20/ActiveSync/Setup/setup.xml
tine20/Addressbook/Setup/Update/Release10.php [new file with mode: 0644]
tine20/Addressbook/Setup/Update/Release9.php
tine20/Addressbook/Setup/setup.xml
tine20/Admin/Setup/Update/Release9.php [new file with mode: 0644]
tine20/Admin/Setup/setup.xml
tine20/Calendar/Setup/Update/Release10.php [new file with mode: 0644]
tine20/Calendar/Setup/Update/Release9.php
tine20/Calendar/Setup/setup.xml
tine20/CoreData/Setup/Update/Release1.php [new file with mode: 0644]
tine20/CoreData/Setup/setup.xml
tine20/Courses/Setup/Update/Release9.php [new file with mode: 0644]
tine20/Courses/Setup/setup.xml
tine20/Crm/Setup/Update/Release9.php
tine20/Crm/Setup/setup.xml
tine20/Events/Setup/Update/Release1.php [new file with mode: 0644]
tine20/Events/Setup/setup.xml
tine20/Felamimail/Setup/Update/Release10.php [new file with mode: 0644]
tine20/Felamimail/Setup/Update/Release9.php
tine20/Felamimail/Setup/setup.xml
tine20/Filemanager/Setup/Update/Release9.php [new file with mode: 0644]
tine20/Filemanager/Setup/setup.xml
tine20/HumanResources/Setup/Update/Release10.php [new file with mode: 0644]
tine20/HumanResources/Setup/Update/Release9.php
tine20/HumanResources/Setup/setup.xml
tine20/Phone/Setup/Update/Release10.php [new file with mode: 0644]
tine20/Phone/Setup/Update/Release9.php
tine20/Phone/Setup/setup.xml
tine20/Projects/Setup/Update/Release9.php [new file with mode: 0644]
tine20/Projects/Setup/setup.xml
tine20/Sales/Setup/Update/Release10.php [new file with mode: 0644]
tine20/Sales/Setup/Update/Release9.php
tine20/Sales/Setup/setup.xml
tine20/SimpleFAQ/Setup/Update/Release8.php [new file with mode: 0644]
tine20/SimpleFAQ/Setup/setup.xml
tine20/Tasks/Setup/Update/Release9.php [new file with mode: 0644]
tine20/Tasks/Setup/setup.xml
tine20/Timetracker/Setup/Update/Release9.php [new file with mode: 0644]
tine20/Timetracker/Setup/setup.xml
tine20/Tinebase/Setup/Update/Release10.php [new file with mode: 0644]
tine20/Tinebase/Setup/Update/Release9.php
tine20/Tinebase/Setup/setup.xml
tine20/Voipmanager/Setup/Update/Release9.php [new file with mode: 0644]
tine20/Voipmanager/Setup/setup.xml

diff --git a/tine20/ActiveSync/Setup/Update/Release9.php b/tine20/ActiveSync/Setup/Update/Release9.php
new file mode 100644 (file)
index 0000000..fc201d6
--- /dev/null
@@ -0,0 +1,29 @@
+<?php
+/**
+ * Tine 2.0
+ *
+ * @package     ActiveSync
+ * @subpackage  Setup
+ * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
+ * @copyright   Copyright (c) 2013 Metaways Infosystems GmbH (http://www.metaways.de)
+ * @author      Stefanie Stamer <s.stamer@metaways.de>
+ */
+
+/**
+ * updates for major release 9
+ *
+ * @package     ActiveSync
+ * @subpackage  Setup
+ */
+class ActiveSync_Setup_Update_Release9 extends Setup_Update_Abstract
+{
+    /**
+     * update to 10.0
+     *
+     * @return void
+     */
+    public function update_0()
+    {
+        $this->setApplicationVersion('ActiveSync', '10.0');
+    }
+}
index 8e51725..786a35e 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <application>
     <name>ActiveSync</name>
-    <version>9.0</version>
+    <version>10.0</version>
     <order>90</order>
     <depends>
         <application>Tinebase</application>
diff --git a/tine20/Addressbook/Setup/Update/Release10.php b/tine20/Addressbook/Setup/Update/Release10.php
new file mode 100644 (file)
index 0000000..fae74aa
--- /dev/null
@@ -0,0 +1,28 @@
+<?php
+/**
+ * Tine 2.0
+ *
+ * @package     Addressbook
+ * @subpackage  Setup
+ * @license     http://www.gnu.org/licenses/agpl.html AGPL3
+ * @copyright   Copyright (c) 2014-2016 Metaways Infosystems GmbH (http://www.metaways.de)
+ * @author      Philipp Schüle <p.schuele@metaways.de>
+ */
+class Addressbook_Setup_Update_Release10 extends Setup_Update_Abstract
+{
+    /**
+     * update to 10.1:
+     * - add multiple sync backends / ldap implementation
+     * - add addressbook_industry table and column
+     *
+     * @return void
+     */
+    public function update_0()
+    {
+        $release9 = new Addressbook_Setup_Update_Release9($this->_backend);
+        $release9->update_9();
+        $release9->update_10();
+
+        $this->setApplicationVersion('Addressbook', '10.1');
+    }
+}
index a938d44..380be9d 100644 (file)
@@ -303,8 +303,8 @@ class Addressbook_Setup_Update_Release9 extends Setup_Update_Abstract
 
             $results = $result->fetchAll(Zend_Db::FETCH_ASSOC);
 
-            foreach($results as $row) {
-                foreach($columns as $col) {
+            foreach ($results as $row) {
+                foreach ($columns as $col) {
                     if (!empty($row[$col])) {
                         $data[$col . '_normalized'] = Addressbook_Model_Contact::normalizeTelephoneNoCountry((string)$row[$col]);
                     }
@@ -464,4 +464,12 @@ class Addressbook_Setup_Update_Release9 extends Setup_Update_Abstract
 
         $this->setApplicationVersion('Addressbook', '9.11');
     }
+
+    /**
+     * update to 10.0
+     */
+    public function update_11()
+    {
+        $this->setApplicationVersion('Addressbook', '10.0');
+    }
 }
index df61fb0..fc35e7b 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <application>
     <name>Addressbook</name>
-    <version>9.11</version>
+    <version>10.1</version>
     <order>10</order>
     <depends>
         <application>Admin</application>
diff --git a/tine20/Admin/Setup/Update/Release9.php b/tine20/Admin/Setup/Update/Release9.php
new file mode 100644 (file)
index 0000000..a28f933
--- /dev/null
@@ -0,0 +1,23 @@
+<?php
+/**
+ * Tine 2.0
+ *
+ * @package     Admin
+ * @license     http://www.gnu.org/licenses/agpl.html AGPL3
+ * @copyright   Copyright (c) 2016 Metaways Infosystems GmbH (http://www.metaways.de)
+ * @author      Stefanie Stamer <s.stamer@metaways.de>
+ */
+
+class Admin_Setup_Update_Release9 extends Setup_Update_Abstract
+{
+    /**
+     * update to 10.0
+     * 
+     * @return void
+     */
+    public function update_0()
+    {
+        Setup_Controller::getInstance()->createImportExportDefinitions(Tinebase_Application::getInstance()->getApplicationByName('Admin'));
+        $this->setApplicationVersion('Admin', '10.0');
+    }
+}
index 1ecef69..b8afee3 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <application>
     <name>Admin</name>
-    <version>9.0</version>
+    <version>10.0</version>
     <order>1</order>
     <depends>
         <application>Tinebase</application>
diff --git a/tine20/Calendar/Setup/Update/Release10.php b/tine20/Calendar/Setup/Update/Release10.php
new file mode 100644 (file)
index 0000000..1406d58
--- /dev/null
@@ -0,0 +1,23 @@
+<?php
+/**
+ * Tine 2.0
+ *
+ * @package     Calendar
+ * @subpackage  Setup
+ * @license     http://www.gnu.org/licenses/agpl.html AGPL3
+ * @copyright   Copyright (c) 2015-2016 Metaways Infosystems GmbH (http://www.metaways.de)
+ * @author      Philipp Schüle <p.schuele@metaways.de>
+ */
+class Calendar_Setup_Update_Release10 extends Setup_Update_Abstract
+{
+    /**
+     * update to 10.1
+     * - Update Calendar Import Export definitions
+     */
+    public function update_0()
+    {
+        $release9 = new Calendar_Setup_Update_Release9($this->_backend);
+        $release9->update_7();
+        $this->setApplicationVersion('Calendar', '10.1');
+    }
+}
index e702cca..14008bd 100644 (file)
@@ -133,4 +133,14 @@ class Calendar_Setup_Update_Release9 extends Setup_Update_Abstract
         
         $this->setApplicationVersion('Calendar', '9.8');
     }
+
+    /**
+     * update to 10.0
+     *
+     * @return void
+     */
+    public function update_8()
+    {
+        $this->setApplicationVersion('Calendar', '10.0');
+    }
 }
index 9542594..d0b4608 100644 (file)
@@ -2,7 +2,7 @@
 <application>
     <name>Calendar</name>
     <!-- gettext('Calendar') -->   
-    <version>9.8</version>
+    <version>10.1</version>
     <order>15</order>
     <status>enabled</status>
     <tables>
diff --git a/tine20/CoreData/Setup/Update/Release1.php b/tine20/CoreData/Setup/Update/Release1.php
new file mode 100644 (file)
index 0000000..5748b52
--- /dev/null
@@ -0,0 +1,22 @@
+<?php
+/**
+ * Tine 2.0
+ *
+ * @package     CoreData
+ * @subpackage  Setup
+ * @license     http://www.gnu.org/licenses/agpl.html AGPL3
+ * @copyright   Copyright (c) 2016 Metaways Infosystems GmbH (http://www.metaways.de)
+ * @author      Philipp Schüle <p.schuele@metaways.de>
+ */
+
+class CoreData_Setup_Update_Release1 extends Setup_Update_Abstract
+{
+    /**
+     * update to 3.0
+     * @return void
+     */
+    public function update_0()
+    {
+        $this->setApplicationVersion('CoreData', '10.0');
+    }
+}
index 2749f87..42a3c9a 100644 (file)
@@ -2,7 +2,7 @@
 <application>
     <name>CoreData</name>
     <!-- gettext('CoreData') -->
-    <version>1.0</version>
+    <version>10.0</version>
     <order>30</order>
     <status>enabled</status>
     <tables>
diff --git a/tine20/Courses/Setup/Update/Release9.php b/tine20/Courses/Setup/Update/Release9.php
new file mode 100644 (file)
index 0000000..6ace52c
--- /dev/null
@@ -0,0 +1,22 @@
+<?php
+/**
+ * Tine 2.0
+ *
+ * @package     Courses
+ * @subpackage  Setup
+ * @license     http://www.gnu.org/licenses/agpl.html AGPL3
+ * @copyright   Copyright (c) 2012 Metaways Infosystems GmbH (http://www.metaways.de)
+ * @author      Stefanie Stamer <s.stamer@metaways.de>
+ */
+class Courses_Setup_Update_Release9 extends Setup_Update_Abstract
+{
+    /**
+     * update to 10.0
+     *
+     * @return void
+     */
+    public function update_0()
+    {
+        $this->setApplicationVersion('Courses', '10.0');
+    }
+}
\ No newline at end of file
index d435736..f6973a0 100644 (file)
@@ -2,7 +2,7 @@
 <application>
     <name>Courses</name>
     <!-- gettext('Courses') -->   
-    <version>9.0</version>
+    <version>10.0</version>
     <order>50</order>
     <status>enabled</status>
     <depends>
index dd6952b..661018a 100644 (file)
@@ -75,4 +75,14 @@ class Crm_Setup_Update_Release9 extends Setup_Update_Abstract
 
         $this->setApplicationVersion('Crm', '9.2');
     }
+    
+    /**
+     * update to 10.0
+     *
+     * @return void
+     */
+    public function update_2()
+    {
+        $this->setApplicationVersion('Crm', '10.0');
+    }
 }
index 1c0daa0..d92f373 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <application>
     <name>Crm</name>
-    <version>9.2</version>
+    <version>10.0</version>
     <order>20</order>
     <depends>
         <application>Admin</application>
diff --git a/tine20/Events/Setup/Update/Release1.php b/tine20/Events/Setup/Update/Release1.php
new file mode 100644 (file)
index 0000000..12cbd86
--- /dev/null
@@ -0,0 +1,22 @@
+<?php
+/**
+ * Tine 2.0
+ *
+ * @package     Events
+ * @subpackage  Setup
+ * @license     http://www.gnu.org/licenses/agpl.html AGPL3
+ * @copyright   Copyright (c) 2016 Metaways Infosystems GmbH (http://www.metaways.de)
+ * @author      Philipp Schüle <p.schuele@metaways.de>
+ */
+
+class Events_Setup_Update_Release1 extends Setup_Update_Abstract
+{
+    /**
+     * update to 3.0
+     * @return void
+     */
+    public function update_0()
+    {
+        $this->setApplicationVersion('Events', '10.0');
+    }
+}
index 6955165..95881c2 100644 (file)
@@ -2,7 +2,7 @@
 <application>
     <name>Events</name>
     <!-- gettext('Events') -->   
-    <version>1.0</version>
+    <version>10.0</version>
     <order>60</order>
     <status>enabled</status>
     <tables>
diff --git a/tine20/Felamimail/Setup/Update/Release10.php b/tine20/Felamimail/Setup/Update/Release10.php
new file mode 100644 (file)
index 0000000..dacfd9c
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+/**
+ * Tine 2.0
+ *
+ * @package     Felamimail
+ * @subpackage  Setup
+ * @license     http://www.gnu.org/licenses/agpl.html AGPL3
+ * @copyright   Copyright (c) 2015-2016 Metaways Infosystems GmbH (http://www.metaways.de)
+ * @author      Philipp Schüle <p.schuele@metaways.de>
+ */
+class Felamimail_Setup_Update_Release10 extends Setup_Update_Abstract
+{
+    /**
+     * update to 10.1
+     * 
+     * change signature to medium text
+     */
+    public function update_0()
+    {
+        $update9 = new Felamimail_Setup_Update_Release9($this->_backend);
+        $update9->update_2();
+        $this->setApplicationVersion('Felamimail', '10.1');
+    }
+}
index fad5e77..3385e91 100644 (file)
@@ -57,16 +57,27 @@ class Felamimail_Setup_Update_Release9 extends Setup_Update_Abstract
      */
     public function update_2()
     {
-        $declaration = new Setup_Backend_Schema_Field_Xml('
-                <field>
-                    <name>signature</name>
-                    <type>text</type>
-                    <length>16777215</length>
-                </field>');
-        
-        $this->_backend->alterCol('felamimail_account', $declaration);
-        
+        if ($this->getTableVersion('felamimail_account') < 22) {
+            $declaration = new Setup_Backend_Schema_Field_Xml('
+                    <field>
+                        <name>signature</name>
+                        <type>text</type>
+                        <length>16777215</length>
+                    </field>');
+            $this->_backend->alterCol('felamimail_account', $declaration);
+            $this->setTableVersion('felamimail_account', '22');
+        }
+
         $this->setApplicationVersion('Felamimail', '9.3');
-        $this->setTableVersion('felamimail_account', '22');
+    }
+
+    /**
+     * update to 10.0
+     *
+     * @return void
+     */
+    public function update_3()
+    {
+        $this->setApplicationVersion('Felamimail', '10.0');
     }
 }
index 966c0af..3652021 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <application>
     <name>Felamimail</name>
-    <version>9.3</version>
+    <version>10.1</version>
     <order>30</order>
     <status>enabled</status>
     <tables>
diff --git a/tine20/Filemanager/Setup/Update/Release9.php b/tine20/Filemanager/Setup/Update/Release9.php
new file mode 100644 (file)
index 0000000..1f36ada
--- /dev/null
@@ -0,0 +1,23 @@
+<?php
+/**
+ * Tine 2.0
+ *
+ * @package     Filemanager
+ * @subpackage  Setup
+ * @license     http://www.gnu.org/licenses/agpl.html AGPL3
+ * @copyright   Copyright (c) 2014 Metaways Infosystems GmbH (http://www.metaways.de)
+ * @author      Stefanie Stamer <s.stamer@metaways.de>
+ */
+
+class Filemanager_Setup_Update_Release9 extends Setup_Update_Abstract
+{
+    /**
+     * update to 10.0
+     *
+     * @return void
+     */
+    public function update_0()
+    {
+        $this->setApplicationVersion('Filemanager', '10.0');
+    }
+}
index b37cb84..18c21e9 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <application>
     <name>Filemanager</name>
-    <version>9.0</version>
+    <version>10.0</version>
     <order>11</order>
     <depends>
         <application>Admin</application>
diff --git a/tine20/HumanResources/Setup/Update/Release10.php b/tine20/HumanResources/Setup/Update/Release10.php
new file mode 100644 (file)
index 0000000..0ff7dd7
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+/**
+ * Tine 2.0
+ *
+ * @package     HumanResources
+ * @subpackage  Setup
+ * @license     http://www.gnu.org/licenses/agpl.html AGPL3
+ * @copyright   Copyright (c) 2016 Metaways Infosystems GmbH (http://www.metaways.de)
+ * @author      Stefanie Stamer <s.stamer@metaways.de>
+ */
+class HumanResources_Setup_Update_Release10 extends Setup_Update_Abstract
+{
+    /**
+     * update to 10.1
+     * 
+     *  - Extrafreetime days can be negative
+     */
+    public function update_0()
+    {
+        $release9 = new HumanResources_Setup_Update_Release9($this->_backend);
+        $release9->update_0();
+        $this->setApplicationVersion('HumanResources', '10.1');
+    }
+}
index 6f0e56e..636762f 100644 (file)
@@ -30,4 +30,14 @@ class HumanResources_Setup_Update_Release9 extends Setup_Update_Abstract
         $this->setTableVersion('humanresources_extrafreetime', '3');
         $this->setApplicationVersion('HumanResources', '9.1');
     }
-}
\ No newline at end of file
+
+    /**
+     * update to 10.0
+     *
+     * @return void
+     */
+    public function update_1()
+    {
+        $this->setApplicationVersion('HumanResources', '10.0');
+    }
+}
index 9b268a6..ea64c46 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <application>
     <name>HumanResources</name>
-    <version>9.1</version>
+    <version>10.1</version>
     <order>51</order>
     <depends>
         <application>Calendar</application>
diff --git a/tine20/Phone/Setup/Update/Release10.php b/tine20/Phone/Setup/Update/Release10.php
new file mode 100644 (file)
index 0000000..7d3e1c4
--- /dev/null
@@ -0,0 +1,34 @@
+<?php
+/**
+ * Tine 2.0
+ *
+ * @package     Phone
+ * @subpackage  Setup
+ * @license     http://www.gnu.org/licenses/agpl.html AGPL3
+ * @copyright   Copyright (c) 2016 Metaways Infosystems GmbH (http://www.metaways.de)
+ * @author      Paul Mehrer <p.mehrer@metaways.de>
+ */
+class Phone_Setup_Update_Release10 extends Setup_Update_Abstract
+{
+    /**
+     * update to 10.1: removed original update script -> moved to 10.2
+     *
+     * @return void
+     */
+    public function update_0()
+    {
+        $this->setApplicationVersion('Phone', '10.1');
+    }
+
+    /**
+     * update to 10.2: adds contact_id col
+     *
+     * @return void
+     */
+    public function update_1()
+    {
+        $update9 = new Phone_Setup_Update_Release9($this->_backend);
+        $update9->update_2();
+        $this->setApplicationVersion('Phone', '10.2');
+    }
+}
index ffa7a1a..b0918d9 100644 (file)
@@ -29,7 +29,7 @@ class Phone_Setup_Update_Release9 extends Setup_Update_Abstract
     }
 
     /**
-     * update to 9.3
+     * update to 9.3: adds contact_id col
      *
      * @return void
      */
@@ -95,4 +95,14 @@ class Phone_Setup_Update_Release9 extends Setup_Update_Abstract
 
         $this->setApplicationVersion('Phone', '9.3');
     }
+    
+    /**
+     * update to 10.0
+     *
+     * @return void
+     */
+    public function update_3()
+    {
+        $this->setApplicationVersion('Phone', '10.0');
+    }
 }
index aa9d671..16af648 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <application>
     <name>Phone</name>
-    <version>9.3</version>
+    <version>10.2</version>
     <order>11</order>
     <depends>
         <application>Admin</application>
diff --git a/tine20/Projects/Setup/Update/Release9.php b/tine20/Projects/Setup/Update/Release9.php
new file mode 100644 (file)
index 0000000..112a12f
--- /dev/null
@@ -0,0 +1,22 @@
+<?php
+/**
+ * Tine 2.0
+ *
+ * @package     Projects
+ * @subpackage  Setup
+ * @license     http://www.gnu.org/licenses/agpl.html AGPL3
+ * @copyright   Copyright (c) 2012-2013 Metaways Infosystems GmbH (http://www.metaways.de)
+ * @author      Stefanie Stamer <s.stamer@metaways.de>
+ */
+class Projects_Setup_Update_Release9 extends Setup_Update_Abstract
+{
+    /**
+     * update to 10.0
+     *
+     * @return void
+     */
+    public function update_0()
+    {
+        $this->setApplicationVersion('Projects', '10.0');
+    }
+}
index 70a4cb7..51aa483 100644 (file)
@@ -2,7 +2,7 @@
 <application>
     <name>Projects</name>
     <!-- gettext('Projects') -->   
-    <version>9.0</version>
+    <version>10.0</version>
     <order>60</order>
     <status>enabled</status>
     <tables>
diff --git a/tine20/Sales/Setup/Update/Release10.php b/tine20/Sales/Setup/Update/Release10.php
new file mode 100644 (file)
index 0000000..42fd7b0
--- /dev/null
@@ -0,0 +1,31 @@
+<?php
+/**
+ * Tine 2.0
+ *
+ * @package     Sales
+ * @subpackage  Setup
+ * @license     http://www.gnu.org/licenses/agpl.html AGPL3
+ * @copyright   Copyright (c) 2015-2016 Metaways Infosystems GmbH (http://www.metaways.de)
+ * @author      Philipp Schüle <p.schuele@metaways.de>
+ */
+class Sales_Setup_Update_Release10 extends Setup_Update_Abstract
+{
+    /**
+     * update to 10.1
+     * - 0012358: purchase invoice description column too short
+     */
+    public function update_0()
+    {
+        if ($this->getTableVersion('sales_purchase_invoices') < 4) {
+            $declaration = new Setup_Backend_Schema_Field_Xml('
+               <field>
+                    <name>description</name>
+                    <type>text</type>
+                </field>
+        ');
+            $this->_backend->alterCol('sales_purchase_invoices', $declaration);
+            $this->setTableVersion('sales_purchase_invoices', 4);
+        }
+        $this->setApplicationVersion('Sales', '10.1');
+    }
+}
index d59f0a3..8bca818 100644 (file)
@@ -55,4 +55,14 @@ class Sales_Setup_Update_Release9 extends Setup_Update_Abstract
         }
         $this->setApplicationVersion('Sales', '9.3');
     }
+    
+    /**
+     * update to 10.0
+     *
+     * @return void
+     */
+    public function update_3()
+    {
+        $this->setApplicationVersion('Sales', '10.0');
+    }
 }
index 10249a6..affe9d2 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <application>
     <name>Sales</name>
-    <version>9.3</version>
+    <version>10.1</version>
     <order>50</order>
     <status>enabled</status>
     <tables>
         </table>
         <table>
             <name>sales_purchase_invoices</name>
-            <version>3</version>
+            <version>4</version>
             <declaration>
                 <field>
                     <name>id</name>
                 <field>
                     <name>description</name>
                     <type>text</type>
-                    <length>254</length>
-                    <notnull>true</notnull>
                 </field>
                 <field>
                     <name>date</name>
diff --git a/tine20/SimpleFAQ/Setup/Update/Release8.php b/tine20/SimpleFAQ/Setup/Update/Release8.php
new file mode 100644 (file)
index 0000000..068ac57
--- /dev/null
@@ -0,0 +1,22 @@
+<?php
+/**
+ * Tine 2.0
+ *
+ * @package     SimpleFAQ
+ * @subpackage  Setup
+ * @license     http://www.gnu.org/licenses/agpl.html AGPL3
+ * @copyright   Copyright (c) 2013 Metaways Infosystems GmbH (http://www.metaways.de)
+ * @author      Stefanie Stamer <s.stamer@metaways.de>
+ */
+class SimpleFAQ_Setup_Update_Release8 extends Setup_Update_Abstract
+{
+    /**
+     * update to 10.0
+     *
+     * @return void
+     */
+    public function update_0()
+    {
+        $this->setApplicationVersion('SimpleFAQ', '10.0');
+    }
+}
index 5f7cc09..c70dcc5 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <application>
     <name>SimpleFAQ</name>
-    <version>8.0</version>
+    <version>10.0</version>
     <order>62</order>
     <status>enabled</status>
     <depends>
diff --git a/tine20/Tasks/Setup/Update/Release9.php b/tine20/Tasks/Setup/Update/Release9.php
new file mode 100644 (file)
index 0000000..384ea85
--- /dev/null
@@ -0,0 +1,22 @@
+<?php
+/**
+ * Tine 2.0
+ *
+ * @package     Tasks
+ * @subpackage  Setup
+ * @license     http://www.gnu.org/licenses/agpl.html AGPL3
+ * @copyright   Copyright (c) 2014 Metaways Infosystems GmbH (http://www.metaways.de)
+ * @author      Stefanie Stamer <s.stamer@metaways.de>
+ */
+class Tasks_Setup_Update_Release9 extends Setup_Update_Abstract
+{
+    /**
+     * update to 10.0
+     *
+     * @return void
+     */
+    public function update_0()
+    {
+        $this->setApplicationVersion('Tasks', '10.0');
+    }
+}
index 3f975e1..1d05b56 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <application>
     <name>Tasks</name>
-    <version>9.0</version>
+    <version>10.0</version>
     <order>30</order>
     <depends>
         <application>Admin</application>
diff --git a/tine20/Timetracker/Setup/Update/Release9.php b/tine20/Timetracker/Setup/Update/Release9.php
new file mode 100644 (file)
index 0000000..6c105ab
--- /dev/null
@@ -0,0 +1,22 @@
+<?php
+/**
+ * Tine 2.0
+ *
+ * @package     Timetracker
+ * @subpackage  Setup
+ * @license     http://www.gnu.org/licenses/agpl.html AGPL3
+ * @copyright   Copyright (c) 2016 Metaways Infosystems GmbH (http://www.metaways.de)
+ * @author      Stefanie Stamer <s.stamer@metaways.de>
+ */
+class Timetracker_Setup_Update_Release9 extends Setup_Update_Abstract
+{
+    /**
+     * update to 10.0
+     *
+     * @return void
+     */
+    public function update_0()
+    {
+        $this->setApplicationVersion('Timetracker', '10.0');
+    }
+}
index e26cfb3..a2555f4 100644 (file)
@@ -2,7 +2,7 @@
 <application>
     <name>Timetracker</name>
     <!-- gettext('Timetracker') -->   
-    <version>9.0</version>
+    <version>10.0</version>
     <order>60</order>
     <status>enabled</status>
     <depends>
diff --git a/tine20/Tinebase/Setup/Update/Release10.php b/tine20/Tinebase/Setup/Update/Release10.php
new file mode 100644 (file)
index 0000000..8f90548
--- /dev/null
@@ -0,0 +1,48 @@
+<?php
+/**
+ * Tine 2.0
+ *
+ * @package     Tinebase
+ * @subpackage  Setup
+ * @license     http://www.gnu.org/licenses/agpl.html AGPL3
+ * @copyright   Copyright (c) 2016 Metaways Infosystems GmbH (http://www.metaways.de)
+ * @author      Philipp Schüle <p.schuele@metaways.de>
+ */
+class Tinebase_Setup_Update_Release10 extends Setup_Update_Abstract
+{
+    /**
+     * update to 10.1
+     *
+     * @see 0012162: create new MailFiler application
+     */
+    public function update_0()
+    {
+        $release9 = new Tinebase_Setup_Update_Release9($this->_backend);
+        $release9->update_9();
+        $this->setApplicationVersion('Tinebase', '10.1');
+    }
+
+    /**
+     * update to 10.2
+     *
+     * @see 0012300: add container owner column
+     */
+    public function update_1()
+    {
+        $release9 = new Tinebase_Setup_Update_Release9($this->_backend);
+        $release9->update_10();
+        $this->setApplicationVersion('Tinebase', '10.2');
+    }
+
+    /**
+     * update to 10.3
+     *
+     * change length of groups.description column from varchar(255) to text
+     */
+    public function update_2()
+    {
+        $release9 = new Tinebase_Setup_Update_Release9($this->_backend);
+        $release9->update_11();
+        $this->setApplicationVersion('Tinebase', '10.3');
+    }
+}
index e199473..a467dc7 100644 (file)
@@ -393,4 +393,14 @@ class Tinebase_Setup_Update_Release9 extends Setup_Update_Abstract
 
         $this->setApplicationVersion('Tinebase', '9.12');
     }
+
+    /**
+     * update to 10.0
+     *
+     * @return void
+     */
+    public function update_12()
+    {
+        $this->setApplicationVersion('Tinebase', '10.0');
+    }
 }
index 024ef45..4b10957 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <application>
     <name>Tinebase</name>
-    <version>9.12</version>
+    <version>10.3</version>
     <tables>
         <table>
             <name>applications</name>
diff --git a/tine20/Voipmanager/Setup/Update/Release9.php b/tine20/Voipmanager/Setup/Update/Release9.php
new file mode 100644 (file)
index 0000000..7c8cf89
--- /dev/null
@@ -0,0 +1,23 @@
+<?php
+/**
+ * Tine 2.0
+ *
+ * @package     Voipmanager
+ * @subpackage  Setup
+ * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
+ * @author      Stefanie Stamer <s.stamer@metaways.de>
+ * @copyright   Copyright (c) 2013 Metaways Infosystems GmbH (http://www.metaways.de)
+ */
+
+class Voipmanager_Setup_Update_Release9 extends Setup_Update_Abstract
+{
+    /**
+     * update to 10.0
+     *
+     * @return void
+     */
+    public function update_0()
+    {
+        $this->setApplicationVersion('Voipmanager', '10.0');
+    }
+}
index 906dfee..050a211 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <application>
     <name>Voipmanager</name>
-    <version>9.0</version>
+    <version>10.0</version>
     <order>50</order>
     <depends>
         <application>Admin</application>