<packagedescription>Free CMS and web-framework, designed for awesome websites and communities.</packagedescription>
<packagedescription language="de">Freies CMS und Web-Framework, das eindrucksvolle Websites und Communities ermöglicht.</packagedescription>
<isapplication>1</isapplication>
- <version>3.1.0 Beta 2</version> <!-- codename: tornado -->
- <date>2017-10-25</date>
+ <version>3.1.0 Beta 3</version> <!-- codename: tornado -->
+ <date>2017-11-10</date>
</packageinformation>
<authorinformation>
<instruction type="script">acp/post_install.php</instruction>
</instructions>
- <instructions type="update" fromversion="3.1.0 Beta 1">
+ <instructions type="update" fromversion="3.1.0 Beta 2">
<instruction type="acpTemplate">acptemplates_update.tar</instruction>
<instruction type="file">files_update.tar</instruction>
<instruction type="template">templates_update.tar</instruction>
+ <instruction type="sql" run="standalone">update_3.1.0_beta_3.sql</instruction>
+
<instruction type="language" />
+ <instruction type="acpMenu" />
<instruction type="mediaProvider" />
+ <instruction type="objectType" />
<instruction type="option" />
- <instruction type="script">acp/update_com.woltlab.wcf_beta1_to_beta2.php</instruction>
+ <instruction type="style">defaultStyle.tar</instruction>
</instructions>
</package>
+++ /dev/null
-DROP TABLE IF EXISTS wcf1_package_compatibility;
-CREATE TABLE wcf1_package_compatibility (
- packageID INT(10) NOT NULL,
- version SMALLINT(4) NOT NULL,
- UNIQUE KEY compatibleVersion (packageID, version)
-);
-
-DROP TABLE IF EXISTS wcf1_package_update_compatibility;
-CREATE TABLE wcf1_package_update_compatibility (
- packageUpdateVersionID INT(10) NOT NULL,
- version SMALLINT(4) NOT NULL,
- UNIQUE KEY compatibleVersion (packageUpdateVersionID, version)
-);
-
-ALTER TABLE wcf1_package_compatibility ADD FOREIGN KEY (packageID) REFERENCES wcf1_package (packageID) ON DELETE CASCADE;
-
-ALTER TABLE wcf1_package_update_compatibility ADD FOREIGN KEY (packageUpdateVersionID) REFERENCES wcf1_package_update_version (packageUpdateVersionID) ON DELETE CASCADE;
-
-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/tornado/', 'online', 0, NULL, 0, '', '');
--- /dev/null
+ALTER TABLE wcf1_comment_response ADD COLUMN enableHtml TINYINT(1) NOT NULL DEFAULT 0;
+
+ALTER TABLE wcf1_style ADD COLUMN image2x VARCHAR(255) NOT NULL DEFAULT '';
+
+DROP TABLE IF EXISTS wcf1_registry;
+CREATE TABLE wcf1_registry (
+ packageID INT(10) NOT NULL,
+ field VARCHAR(191) NOT NULL,
+ fieldValue MEDIUMTEXT,
+
+ UNIQUE KEY uniqueField (packageID, field)
+);
+
+ALTER TABLE wcf1_registry ADD FOREIGN KEY (packageID) REFERENCES wcf1_package (packageID) ON DELETE CASCADE;
+++ /dev/null
-<?php
-use wcf\data\condition\ConditionEditor;
-use wcf\data\condition\ConditionList;
-
-/**
- * Rewrites the condition data from userTrophy to userTrophyIDs to make it more consistent.
- * The rewrite is only needed if the Core is updated from 3.1.0 Beta 1 to 3.1.0 Beta 2.
- *
- * @author Joshua Ruesweg
- * @copyright 2001-2017 WoltLab GmbH
- * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package WoltLabSuite\Core
- */
-$conditionList = new ConditionList();
-$conditionList->readObjects();
-
-foreach ($conditionList->getObjects() as $condition) {
- if ($condition->userTrophy !== null || $condition->notUserTrophy !== null) {
- $conditionData = $condition->conditionData;
-
- if (isset($conditionData['userTrophy'])) {
- $conditionData['userTrophyIDs'] = $conditionData['userTrophy'];
- unset($conditionData['userTrophy']);
- }
-
- if (isset($conditionData['notUserTrophy'])) {
- $conditionData['notUserTrophyIDs'] = $conditionData['notUserTrophy'];
- unset($conditionData['notUserTrophy']);
- }
-
- $editor = new ConditionEditor($condition);
- $editor->update([
- 'conditionData' => serialize($conditionData)
- ]);
- }
-}
-
-ConditionEditor::resetCache();
}
// define current woltlab suite version
-define('WCF_VERSION', '3.1.0 Beta 2');
+define('WCF_VERSION', '3.1.0 Beta 3');
// define current API version
define('WSC_API_VERSION', 2018);