Preparing release 2.0.0 Beta 1
authorAlexander Ebert <ebert@woltlab.com>
Wed, 29 May 2013 13:25:40 +0000 (15:25 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 29 May 2013 13:25:40 +0000 (15:25 +0200)
com.woltlab.wcf/package.xml
com.woltlab.wcf/update_b1.sql [deleted file]
com.woltlab.wcf/update_post_b1.sql [deleted file]
wcfsetup/install/files/acp/update_4.0.0_b1.php [deleted file]

index fb64e668f1b7a7db43da3772f9e176d52668fd1a..3b4edcda28eac4577a6fe3854d967dc127ad1705 100644 (file)
@@ -6,7 +6,7 @@
                <packagedescription language="de"><![CDATA[Freies Web-Framework, das für komplexe Community-Anwendungen entworfen und entwickelt wurde.]]></packagedescription>
                <isapplication>1</isapplication>
                <version>2.0.0 Beta 1</version> <!-- codename: maelstrom -->
-               <date>2013-05-18</date>
+               <date>2013-05-29</date>
        </packageinformation>
        
        <authorinformation>
                <instruction type="aclOption">aclOption.xml</instruction>
                <instruction type="script">acp/post_install.php</instruction> 
        </instructions>
-       
-       <instructions type="update" fromversion="2.0.0 Alpha 1">
-               <instruction type="sql">update_b1.sql</instruction>
-               <instruction type="script">acp/update_4.0.0_b1.php</instruction>
-               <instruction type="sql">update_post_b1.sql</instruction>
-               
-               <instruction type="acpTemplate">acptemplates_update.tar</instruction>
-               <instruction type="template">template.tar</instruction>
-               
-               <instruction type="acpMenu">acpMenu.xml</instruction>
-               <instruction type="bbcode">bbcode.xml</instruction>
-               <instruction type="clipboardAction">clipboardAction.xml</instruction>
-               <instruction type="cronjob">cronjob.xml</instruction>
-               <instruction type="coreObject">coreObject.xml</instruction>
-               <instruction type="eventListener">eventListener.xml</instruction>
-               <instruction type="language">language/*.xml</instruction>
-               <instruction type="objectType">objectType.xml</instruction>
-               <instruction type="option">option.xml</instruction>
-               <instruction type="userGroupOption">userGroupOption.xml</instruction>
-               <instruction type="userNotificationEvent">userNotificationEvent.xml</instruction>
-               <instruction type="userOption">userOption.xml</instruction>
-               <instruction type="userProfileMenu">userProfileMenu.xml</instruction>
-       </instructions>
 </package>
diff --git a/com.woltlab.wcf/update_b1.sql b/com.woltlab.wcf/update_b1.sql
deleted file mode 100644 (file)
index 31785da..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-ALTER TABLE wcf1_acp_template ADD COLUMN application VARCHAR(255) NOT NULL;
-
-ALTER TABLE wcf1_package_installation_file_log ADD COLUMN application VARCHAR(255) NOT NULL;
-
-ALTER TABLE wcf1_template DROP COLUMN obsolete;
-ALTER TABLE wcf1_template ADD COLUMN application VARCHAR(255) NOT NULL;
-ALTER TABLE wcf1_template ADD COLUMN lastModificationTime INT(10) NOT NULL DEFAULT 0;
-
-ALTER TABLE wcf1_template_group CHANGE parentTemplateGroupID parentTemplateGroupID INT(10) NULL;
-ALTER TABLE wcf1_template_group ADD FOREIGN KEY (parentTemplateGroupID) REFERENCES wcf1_template_group (templateGroupID) ON DELETE SET NULL;
-
-ALTER TABLE wcf1_smiley CHANGE COLUMN smileyCategoryID categoryID INT(10) NULL;
-ALTER TABLE wcf1_smiley CHANGE COLUMN aliases aliases TEXT;
-ALTER TABLE wcf1_smiley CHANGE COLUMN showOrder showOrder INT(10) NOT NULL DEFAULT 0;
-ALTER TABLE wcf1_smiley ADD FOREIGN KEY (categoryID) REFERENCES wcf1_category (categoryID) ON DELETE SET NULL;
-
-DELETE FROM wcf1_bbcode_media_provider;
-
--- media providers
--- Videos
-       -- Youtube
-       INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('YouTube', 'https?://(?:.+?\\.)?youtu(?:\\.be/|be\\.com/watch\\?(?:.*?&)?v=)(?<ID>[a-zA-Z0-9_-]+)(?<start>#t=(?:\\d+|(?:\\d+h(?:\\d+m)?(?:\\d+s)?)|(?:\\d+m(?:\\d+s)?)|(?:\\d+s))$)?', '<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/{$ID}?wmode=transparent{$start}" frameborder="0" allowfullscreen></iframe>');
-       -- Vimeo
-       INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('Vimeo', 'http://vimeo\\.com/(?<ID>\\d+)', '<iframe src="http://player.vimeo.com/video/{$ID}" width="400" height="225" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>');
-       -- MyVideo
-       INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('MyVideo', 'http://(?:www\\.)?myvideo\\.de/watch/(?<ID>\\d+)', '<object style="width:611px;height:383px;" width="611" height="383"><embed src="http://www.myvideo.de/movie/{$ID}" width="611" height="383" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"></embed><param name="movie" value="http://www.myvideo.de/movie/{$ID}"></param><param name="AllowFullscreen" value="true"></param><param name="AllowScriptAccess" value="always"></param></object>');
-       -- Clipfish
-       INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('Clipfish', 'http://(?:www\\.)?clipfish\\.de/video/(?<ID>\\d+)/', '<div style="width:464px; height:404px;"><div style="width:464px; height:384px;"><iframe src="http://www.clipfish.de/embed_video/?vid={$ID}&amp;as=0&amp;col=990000" name="Clipfish Embedded Video" width="464" height="384" align="left" marginheight="0" marginwidth="0" frameborder="0" scrolling="no"></iframe></div></div>');
-       -- Veoh
-       INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('Veoh', 'http://(?:www\\.)?veoh\\.com/watch/v(?<ID>\\d+[a-zA-Z0-9]+)', '<object width="410" height="341" id="veohFlashPlayer" name="veohFlashPlayer"><param name="movie" value="http://www.veoh.com/swf/webplayer/WebPlayer.swf?version=AFrontend.5.7.0.1308&amp;permalinkId=v{$ID}&amp;player=videodetailsembedded&amp;videoAutoPlay=0&amp;id=anonymous"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.veoh.com/swf/webplayer/WebPlayer.swf?version=AFrontend.5.7.0.1308&amp;permalinkId=v{$ID}&amp;player=videodetailsembedded&amp;videoAutoPlay=0&amp;id=anonymous" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="410" height="341" id="veohFlashPlayerEmbed" name="veohFlashPlayerEmbed"></embed></object>');
-       -- DailyMotion
-       INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('DailyMotion', 'https?://(?:www\\.)?dailymotion\\.com/video/(?<ID>[a-zA-Z0-9]+)', '<iframe frameborder="0" width="480" height="208" src="http://www.dailymotion.com/embed/video/{$ID}"></iframe>');
-       -- YouKu
-       INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('YouKu', 'https?://(?:.+?\\.)?youku\\.com/v_show/id_(?<ID>[a-zA-Z0-9_-]+)(?:\\.html)?', '<iframe height=498 width=510 src="http://player.youku.com/embed/{$ID}" frameborder="0" allowfullscreen></iframe>');
--- Misc
-       -- github gist
-       INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('github gist', 'https://gist.github.com/(?<ID>[^/]+/[0-9a-zA-Z]+)', '<script src="https://gist.github.com/{$ID}.js"> </script>');
-       -- soundcloud
-       INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('Soundcloud', 'https?://soundcloud.com/(?<artist>[a-zA-Z0-9_-]+)/(?<song>[a-zA-Z0-9_-]+)', '<iframe width="100%" height="166" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=http%3A%2F%2Fsoundcloud.com%2F{$artist}%2F{$song}"></iframe>');
-
-INSERT IGNORE INTO wcf1_style_variable (variableName, defaultValue) VALUES ('messageSidebarOrientation', 'left');
-
-ALTER TABLE wcf1_search_keyword ADD KEY (searches, lastSearchTime);
-
-ALTER TABLE wcf1_search_index CHANGE languageID languageID INT(10) NULL;
-ALTER TABLE wcf1_search_index ADD FOREIGN KEY (languageID) REFERENCES wcf1_language (languageID) ON DELETE SET NULL;
-
-ALTER TABLE wcf1_user DROP COLUMN signatureCache;
-
-ALTER TABLE wcf1_user_avatar ADD COLUMN cropX SMALLINT(5) NOT NULL DEFAULT 0;
-ALTER TABLE wcf1_user_avatar ADD COLUMN cropY SMALLINT(5) NOT NULL DEFAULT 0;
\ No newline at end of file
diff --git a/com.woltlab.wcf/update_post_b1.sql b/com.woltlab.wcf/update_post_b1.sql
deleted file mode 100644 (file)
index 23912e8..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-CREATE UNIQUE INDEX applicationTemplate ON wcf1_acp_template (application, templateName);
-
-CREATE UNIQUE INDEX applicationFile ON wcf1_package_installation_file_log (application, filename);
-
-CREATE UNIQUE INDEX applicationTemplate ON wcf1_template (application, templateGroupID, templateName);
diff --git a/wcfsetup/install/files/acp/update_4.0.0_b1.php b/wcfsetup/install/files/acp/update_4.0.0_b1.php
deleted file mode 100644 (file)
index 7b3bd26..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-<?php
-namespace wcf\acp;
-use wcf\data\package\Package;
-use wcf\data\package\PackageList;
-use wcf\system\WCF;
-
-/**
- * @author     Alexander Ebert
- * @copyright  2001-2013 WoltLab GmbH
- * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package    com.woltlab.wcf
- * @category   Community Framework
- */
-$packageList = new PackageList();
-$packageList->getConditionBuilder()->add("isApplication = 1");
-$packageList->readObjects();
-
-$sql = "UPDATE wcf".WCF_N."_acp_template
-       SET     application = ?
-       WHERE   packageID = ?";
-$acpStatement = WCF::getDB()->prepareStatement($sql);
-
-$sql = "UPDATE wcf".WCF_N."_package_installation_file_log
-       SET     application = ?
-       WHERE   packageID = ?";
-$logStatement = WCF::getDB()->prepareStatement($sql);
-
-$sql = "UPDATE wcf".WCF_N."_template
-       SET     application = ?
-       WHERE   packageID = ?";
-$tplStatement = WCF::getDB()->prepareStatement($sql);
-
-foreach ($packageList as $package) {
-       $acpStatement->execute(array(
-               Package::getAbbreviation($package->package),
-               $package->packageID
-       ));
-       
-       $logStatement->execute(array(
-               Package::getAbbreviation($package->package),
-               $package->packageID
-       ));
-       
-       $tplStatement->execute(array(
-               Package::getAbbreviation($package->package),
-               $package->packageID
-       ));
-}
-
-// assign all other files/templates to WCF
-$sql = "UPDATE wcf".WCF_N."_acp_template
-       SET     application = ?
-       WHERE   application = ?";
-$statement = WCF::getDB()->prepareStatement($sql);
-$statement->execute(array('wcf', ''));
-
-$sql = "UPDATE wcf".WCF_N."_package_installation_file_log
-       SET     application = ?
-       WHERE   application = ?";
-$statement = WCF::getDB()->prepareStatement($sql);
-$statement->execute(array('wcf', ''));
-
-$sql = "UPDATE wcf".WCF_N."_template
-       SET     application = ?
-       WHERE   application = ?";
-$statement = WCF::getDB()->prepareStatement($sql);
-$statement->execute(array('wcf', ''));