Use API_VERSION for update servers and xsd paths (#2821)
authorMatthias Schmidt <gravatronics@live.com>
Mon, 15 Apr 2019 14:53:06 +0000 (16:53 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 15 Apr 2019 14:53:06 +0000 (16:53 +0200)
See #2815

35 files changed:
com.woltlab.wcf/aclOption.xml
com.woltlab.wcf/acpMenu.xml
com.woltlab.wcf/acpSearchProvider.xml
com.woltlab.wcf/bbcode.xml
com.woltlab.wcf/box.xml
com.woltlab.wcf/clipboardAction.xml
com.woltlab.wcf/coreObject.xml
com.woltlab.wcf/cronjob.xml
com.woltlab.wcf/eventListener.xml
com.woltlab.wcf/mediaProvider.xml
com.woltlab.wcf/menu.xml
com.woltlab.wcf/menuItem.xml
com.woltlab.wcf/objectType.xml
com.woltlab.wcf/objectTypeDefinition.xml
com.woltlab.wcf/option.xml
com.woltlab.wcf/package.xml
com.woltlab.wcf/packageInstallationPlugin.xml
com.woltlab.wcf/page.xml
com.woltlab.wcf/smiley.xml
com.woltlab.wcf/templateListener.xml
com.woltlab.wcf/userGroupOption.xml
com.woltlab.wcf/userMenu.xml
com.woltlab.wcf/userNotificationEvent.xml
com.woltlab.wcf/userOption.xml
com.woltlab.wcf/userProfileMenu.xml
wcfsetup/install/files/lib/data/language/LanguageEditor.class.php
wcfsetup/install/files/lib/data/style/StyleEditor.class.php
wcfsetup/install/files/lib/system/devtools/package/DevtoolsPackageXmlWriter.class.php
wcfsetup/install/files/lib/system/devtools/pip/TXmlGuiPackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/package/plugin/LanguagePackageInstallationPlugin.class.php
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml
wcfsetup/setup/db/install.sql
wcfsetup/setup/lang/setup_de.xml
wcfsetup/setup/lang/setup_en.xml

index 5ff2024451849558fa18446ef29796d0dba46146..c004f63c6e78a07b0e88c597993a36ff090eddf6 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/aclOption.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/aclOption.xsd">
        <import>
                <options>
                        <option name="canViewLabel">
index 24c77f4e13a967a428272c114b8e1955914bd89c..01befe972c09c9a91ed0ccb54d730c284e0372aa 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/acpMenu.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/acpMenu.xsd">
        <import>
                <!-- configuration -->
                <acpmenuitem name="wcf.acp.menu.link.configuration">
index 0d548f88f767912de851838f689c7cc3d02c096a..c7da87b73b630bc6720e8eeed8638c9d0bc7ff24 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/acpSearchProvider.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/acpSearchProvider.xsd">
        <import>
                <acpsearchprovider name="com.woltlab.wcf.menuItem">
                        <classname>wcf\system\search\acp\MenuItemACPSearchResultProvider</classname>
index a74e5f21e38707504a543193874ca9e6da66e5da..bbf1083567d99b3f662de2f0634c75e3124de744 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/bbcode.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/bbcode.xsd">
        <import>
                <bbcode name="b">
                        <htmlopen><![CDATA[b]]></htmlopen>
index 712e19259b184d7c060119c416baaf13d3218605..59aa0ca93a1d795381d229bbe1eae96ebb83ded6 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/box.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/box.xsd">
        <import>
                <box identifier="com.woltlab.wcf.RecentActivity">
                        <name language="de">Letzte Aktivitäten</name>
index 363a8e84457ea1f4459fbf41b54b6f32be9cba85..837f6a35c0c82e735434f20834ea7b04b5e57663 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/clipboardAction.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/clipboardAction.xsd">
        <import>
                <!-- com.woltlab.wcf.user -->
                <action name="assignToGroup">
index 8373a5082a84416ca4c8956d71dd954c78fd8d2f..1a3d02cc00a83ab19dfbb099a17f9e712bd6fc19 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/coreObject.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/coreObject.xsd">
        <import>
                <coreobject>
                        <objectname>wcf\system\breadcrumb\Breadcrumbs</objectname>
index f423d918405909403d9f0473c1b0d78d42880841..4793b3965dcf394233a5708e83e5c92897d57740 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/cronjob.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/cronjob.xsd">
        <import>
                <cronjob name="com.woltlab.wcf.refreshPackageUpdates">
                        <classname>wcf\system\cronjob\GetUpdateInfoCronjob</classname>
index 90f7d811d3e9b6d9f2e6af8313976fe3e327a76e..546e9971b6ed74d0edc85dc7b579180df73ba659 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/eventListener.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/eventListener.xsd">
        <import>
                <eventlistener name="sessionPageAccessLog">
                        <eventclassname>wcf\page\AbstractPage</eventclassname>
index 675c693b583fa3bac2854a5d90442dfdd578a0d5..f4e0ad43ad97315244b29a6d98a929bcca3afd67 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/tornado/mediaProvider.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/mediaProvider.xsd">
        <import>
                <provider name="youtube">
                        <title>YouTube</title>
index 1c5875818c5fb2186135ca323299389a912b4442..3a82286374319fb07e05ffc8cb786cdf2c54ced3 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/menu.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/menu.xsd">
        <import>
                <menu identifier="com.woltlab.wcf.MainMenu">
                        <title language="de">Hauptmenü</title>
index 133708cb11a4ef50f67d4c5807e657fb6f4c166e..ec3063657b8dde4a51d15ce3cdbe18fc84e2555b 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/menuItem.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/menuItem.xsd">
        <import>
                <item identifier="com.woltlab.wcf.Dashboard">
                        <menu>com.woltlab.wcf.MainMenu</menu>
index 8da42098fb9d6d3cb1c97931e849b81a5dff533a..3d0f0921dfb04dabd0c2bc2a3c53419dfe408b96 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/objectType.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/objectType.xsd">
        <import>
                <!-- clipboard items -->
                <type>
index fbf2cf0d49ef47ee038f3547fe81c9cf22621878..4f666e40e2e602f5392aed8bce96333a451a4630 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/objectTypeDefinition.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/objectTypeDefinition.xsd">
        <import>
                <definition>
                        <name>com.woltlab.wcf.acl</name>
index ef2d9ec44da7ade73f3d3b1a967d52de21db97e6..57a20de3d201d3323244b2613c8921283f63837c 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/option.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/option.xsd">
        <import>
                <categories>
                        <!-- modules -->
index a243c311ba755f6f304484a0ebe632a14244876e..14b64105aa2c0c6d04bc55766cb28f16daf38ff2 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<package name="com.woltlab.wcf" xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/tornado/package.xsd">
+<package name="com.woltlab.wcf" xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/package.xsd">
        <packageinformation>
                <packagename>WoltLab Suite Core</packagename>
                <packagedescription>Free CMS and web-framework, designed for awesome websites and communities.</packagedescription>
index 830c9c94f2565b1f6ee7fed7cb2d4b4b35e75139..4d40c7f98e27d3c7fa39c40895ba044a6d90b04f 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/packageInstallationPlugin.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/packageInstallationPlugin.xsd">
        <import>
                <pip name="aclOption">wcf\system\package\plugin\ACLOptionPackageInstallationPlugin</pip>
                <pip name="acpMenu">wcf\system\package\plugin\ACPMenuPackageInstallationPlugin</pip>
index 99f5994de0b4fd2bd3425dc116507761cc7c3796..aa67255ffd9938db360672dcb17bb6052ac2204b 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/tornado/page.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/page.xsd">
        <import>
                <!-- dynamic -->
                <page identifier="com.woltlab.wcf.MembersList">
index 9626f62e395804d597035144447ea2a78d3f041a..fc08ec8447e25fee98acbef742cd9d837773dd7c 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/smiley.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/smiley.xsd">
        <import>
                <smiley name=":)">
                        <title>smile</title>
index e06cc493685aaa201247ce16bf219bebcc28a371..98d54416e8ed3996525c034acad280fe9126753c 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/templateListener.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/templateListener.xsd">
        <import>
                <templatelistener name="articleSortField">
                        <environment>admin</environment>
index c84d2f599a3154936f585bf4aadacb6e973408e1..c5db4446f4eaf59edc03acf9b6dbc3d3acc365d4 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/userGroupOption.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/userGroupOption.xsd">
        <import>
                <categories>
                        <category name="user"/>
index c8366c32596f084442844ab1758cc8615ef1d1f0..caaa8a7b38987583b81f2c92f215f36c6e36683c 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/userMenu.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/userMenu.xsd">
        <import>
                <!-- profile -->
                <usermenuitem name="wcf.user.menu.profile">
index ebc83050d80c2e7a4a407dddea4d298678db647c..1af648de6da5c8de8fd6a3c58cd035a0a41a119d 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/userNotificationEvent.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/userNotificationEvent.xsd">
        <import>
                <event>
                        <name>following</name>
index bcf8bf67105d9bf1c0b80eff22026e82ead9b84c..2ec12556f08108362264ab76626d19cc03017fa5 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/userOption.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/userOption.xsd">
        <import>
                <categories>
                        <category name="profile">
index 94130561a0aaf5eba2c64f3ee395926f5338890f..63544fa97c800b7a6dbc864147216621a93df994 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/userProfileMenu.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/userProfileMenu.xsd">
        <import>
                <userprofilemenuitem name="about">
                        <classname>wcf\system\menu\user\profile\content\AboutUserProfileMenuContent</classname>
index 592e446f2090030af0138737da4a463fd4335016..8e0a91f70edd6bcd1aae9ad8a19b04c20d973df4 100644 (file)
@@ -130,7 +130,7 @@ class LanguageEditor extends DatabaseObjectEditor implements IEditableCachedObje
                echo "\xEF\xBB\xBF";
                
                // header
-               echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<language xmlns=\"http://www.woltlab.com\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.woltlab.com http://www.woltlab.com/XSD/vortex/language.xsd\" languagecode=\"".$this->languageCode."\" languagename=\"".$this->languageName."\" countrycode=\"".$this->countryCode."\">\n";
+               echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<language xmlns=\"http://www.woltlab.com\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.woltlab.com http://www.woltlab.com/XSD/" . WSC_API_VERSION . "/language.xsd\" languagecode=\"".$this->languageCode."\" languagename=\"".$this->languageName."\" countrycode=\"".$this->countryCode."\">\n";
                
                // get items
                $items = [];
index 9d7da1edeacd6ac134730b2d3edecf215b244f48..0d3ed05a988d23510e9f1f2f3d4b343519e1ff04 100644 (file)
@@ -763,7 +763,7 @@ class StyleEditor extends DatabaseObjectEditor implements IEditableCachedObject
                
                // create style info file
                $xml = new XMLWriter();
-               $xml->beginDocument('style', 'http://www.woltlab.com', 'http://www.woltlab.com/XSD/vortex/style.xsd');
+               $xml->beginDocument('style', 'http://www.woltlab.com', 'http://www.woltlab.com/XSD/' . WSC_API_VERSION . '/style.xsd');
                
                // general block
                $xml->startElement('general');
@@ -802,7 +802,7 @@ class StyleEditor extends DatabaseObjectEditor implements IEditableCachedObject
                $styleTar->addString(self::INFO_FILE, $xml->endDocument());
                
                // create variable list
-               $xml->beginDocument('variables', 'http://www.woltlab.com', 'http://www.woltlab.com/XSD/vortex/styleVariables.xsd');
+               $xml->beginDocument('variables', 'http://www.woltlab.com', 'http://www.woltlab.com/XSD/' . WSC_API_VERSION . '/styleVariables.xsd');
                
                // get variables
                $sql = "SELECT          variable.variableName, value.variableValue
@@ -908,7 +908,7 @@ class StyleEditor extends DatabaseObjectEditor implements IEditableCachedObject
                        $packageTar->add($styleTarName, '', FileUtil::addTrailingSlash(dirname($styleTarName)));
                        
                        // create package.xml
-                       $xml->beginDocument('package', 'http://www.woltlab.com', 'http://www.woltlab.com/XSD/vortex/package.xsd', ['name' => $packageName]);
+                       $xml->beginDocument('package', 'http://www.woltlab.com', 'http://www.woltlab.com/XSD/' . WSC_API_VERSION . '/package.xsd', ['name' => $packageName]);
                        
                        $xml->startElement('packageinformation');
                        $xml->writeElement('packagename', $this->styleName);
index 7c674562a69f19a0fc2de4f97ce74bea442b8d68..202a1cec255ec0f5e3aae3df1c09102b02e87f79 100644 (file)
@@ -32,11 +32,6 @@ class DevtoolsPackageXmlWriter {
         */
        protected $xmlWriter;
        
-       /**
-        * code name of current WSC version
-        */
-       const WSC_CODENAME = 'tornado';
-       
        /**
         * Creates a new `DevtoolsPackageXmlWriter` object.
         *
@@ -69,7 +64,7 @@ class DevtoolsPackageXmlWriter {
                $this->xmlWriter->beginDocument(
                        'package',
                        'http://www.woltlab.com',
-                       'http://www.woltlab.com/XSD/' . static::WSC_CODENAME . '/package.xsd',
+                       'http://www.woltlab.com/XSD/' . WSC_API_VERSION . '/package.xsd',
                        ['name' => $this->packageXmlData['packageIdentifier']]
                );
                
index a9cb1d01e4874bea72eb77a94b731d83487dbbab..682922b1102897cc82f0d379bd03753d34e6fac5 100644 (file)
@@ -394,10 +394,11 @@ trait TXmlGuiPackageInstallationPlugin {
         */
        protected function getEmptyXml() {
                $xsdFilename = $this->getXsdFilename();
+               $apiVersion = WSC_API_VERSION;
                
                return <<<XML
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/{$xsdFilename}.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/{$apiVersion}/{$xsdFilename}.xsd">
        <import></import>
 </data>
 XML;
index a71fa5633dd46e5a87c0463c41be157a95fce70d..94ca9043915e10ea259864d76670758591446b48 100644 (file)
@@ -629,7 +629,7 @@ class LanguagePackageInstallationPlugin extends AbstractXMLPackageInstallationPl
                
                return <<<XML
 <?xml version="1.0" encoding="UTF-8"?>
-<language xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/{$xsdFilename}.xsd" languagecode="{$language->languageCode}" languagename="{$language->languageName}" countrycode="{$language->countryCode}">
+<language xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/" . WSC_API_VERSION . "/{$xsdFilename}.xsd" languagecode="{$language->languageCode}" languagename="{$language->languageName}" countrycode="{$language->countryCode}">
 </language>
 XML;
        }
index 8554e39893a778c8e52dd028ef021363b1252bf6..f6ed7fc419688ee65cc8c5c280290127cc4d3422 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<language xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/language.xsd" languagecode="de" languagename="Deutsch" countrycode="de">
+<language xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/language.xsd" languagecode="de" languagename="Deutsch" countrycode="de">
        <category name="wcf.acl">
                <item name="wcf.acl.access"><![CDATA[Zugangsbeschränkung]]></item>
                <item name="wcf.acl.access.grant"><![CDATA[Zugang gewähren]]></item>
index e320aa675b5fdece5ee3825ee3162fa81e705c06..66525317b59bb7fed12e3d567212d1d23bed4494 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<language xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/language.xsd" languagecode="en" languagename="English" countrycode="gb">
+<language xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/language.xsd" languagecode="en" languagename="English" countrycode="gb">
        <category name="wcf.acl">
                <item name="wcf.acl.access"><![CDATA[Restricted Access]]></item>
                <item name="wcf.acl.access.grant"><![CDATA[Allow Access]]></item>
index 9ed46d7ccbc1307cea051f620403bbed829a81bf..9a7257e1493677eecbc102d177a42b81a8c950d8 100644 (file)
@@ -2241,8 +2241,11 @@ INSERT INTO wcf1_user_group_option_value (groupID, optionID, optionValue) VALUES
 INSERT INTO wcf1_user_group_option_value (groupID, optionID, optionValue) VALUES (4, 3, '1');  -- Administrators
 
 -- default update servers
+-- TODO: change 2019 servers to `online`
+INSERT INTO wcf1_package_update_server (serverURL, status, isDisabled, errorMessage, lastUpdateTime, loginUsername, loginPassword) VALUES ('http://update.woltlab.com/2019/', 'offline', 0, NULL, 0, '', '');
 INSERT INTO wcf1_package_update_server (serverURL, status, isDisabled, errorMessage, lastUpdateTime, loginUsername, loginPassword) VALUES ('http://update.woltlab.com/vortex/', 'online', 0, NULL, 0, '', '');
 INSERT INTO wcf1_package_update_server (serverURL, status, isDisabled, errorMessage, lastUpdateTime, loginUsername, loginPassword) VALUES ('http://update.woltlab.com/tornado/', 'online', 0, NULL, 0, '', '');
+INSERT INTO wcf1_package_update_server (serverURL, status, isDisabled, errorMessage, lastUpdateTime, loginUsername, loginPassword) VALUES ('http://store.woltlab.com/2019/', 'offline', 0, NULL, 0, '', '');
 INSERT INTO wcf1_package_update_server (serverURL, status, isDisabled, errorMessage, lastUpdateTime, loginUsername, loginPassword) VALUES ('http://store.woltlab.com/vortex/', 'online', 0, NULL, 0, '', '');
 INSERT INTO wcf1_package_update_server (serverURL, status, isDisabled, errorMessage, lastUpdateTime, loginUsername, loginPassword) VALUES ('http://store.woltlab.com/tornado/', 'online', 0, NULL, 0, '', '');
 
index 26011e774183fcb772d687312969d48bbf995653..5b3e7f035f61e8f995b12cc4bc708071e36245fd 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<language xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/language.xsd" languagecode="de" languagename="Deutsch">
+<language xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/language.xsd" languagecode="de" languagename="Deutsch">
        <category name="wcf.global">
                <item name="wcf.global.title"><![CDATA[WoltLab Suite&trade; Installation]]></item>
                <item name="wcf.global.pageDirection"><![CDATA[ltr]]></item>
index 3dbe8935959e0c0bf716a0c33e9fc8b51f98bd6f..85e59c7e29d39553be109b3b7387c021d7c3466c 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<language xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/language.xsd" languagecode="en" languagename="English">
+<language xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/language.xsd" languagecode="en" languagename="English">
        <category name="wcf.global">
                <item name="wcf.global.title"><![CDATA[WoltLab Suite&trade; Installation]]></item>
                <item name="wcf.global.pageDirection"><![CDATA[ltr]]></item> <!-- system variable; do not translate -->