Updating instructions / cleanup
authorAlexander Ebert <ebert@woltlab.com>
Wed, 14 Dec 2016 11:07:18 +0000 (12:07 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 14 Dec 2016 11:07:18 +0000 (12:07 +0100)
com.woltlab.wcf/package.xml
com.woltlab.wcf/update_4.sql
com.woltlab.wcf/update_5.sql

index ed5b48a0dabe2da2260b8cfd68aa83b778ed7576..1b5b5ff1edb723157f8d04e53705fcc3e24ec60c 100644 (file)
@@ -6,7 +6,7 @@
                <packagedescription language="de">Freies CMS und Web-Framework, das eindrucksvolle Websites und Communities ermöglicht.</packagedescription>
                <isapplication>1</isapplication>
                <version>3.0.0 RC 1</version> <!-- codename: vortex -->
-               <date>2016-12-07</date>
+               <date>2016-12-15</date>
        </packageinformation>
        
        <authorinformation>
index 4414a25f8b67c8f4732ef6c367815756ea410671..4ac5a261f94e93b47f4edf8cefc6ee18143ae20a 100644 (file)
@@ -5,3 +5,7 @@ ALTER TABLE wcf1_user_profile_visitor CHANGE ownerID ownerID INT(10) NOT NULL;
 ALTER TABLE wcf1_user_profile_visitor CHANGE userID userID INT(10) NOT NULL;
 
 ALTER TABLE wcf1_user_storage ADD KEY (field);
+
+ALTER TABLE wcf1_moderation_queue ADD KEY objectTypeAndID (objectTypeID, objectID);
+
+ALTER TABLE wcf1_modification_log ADD KEY objectTypeAndID (objectTypeID, objectID);
\ No newline at end of file
index 0e8a309283019adc2aa33e7e53c398a3fabde50c..8c4c2c2a596569b1d7e17e56b21ff92dadd26ede 100644 (file)
@@ -156,7 +156,7 @@ INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfInputPl
 INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfInputPlaceholderActive', 'rgba(204, 204, 204, 1)');
 INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfLayoutFixedWidth', '1200px');
 INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfLayoutMaxWidth', '1400px');
-INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfLayoutMinWidth', '1240px');
+INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfLayoutMinWidth', '1025px');
 INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfNavigationBackground', 'rgba(236, 239, 241, 1)');
 INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfNavigationLink', 'rgba(44, 62, 80, 1)');
 INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfNavigationLinkActive', 'rgba(44, 62, 80, 1)');
@@ -206,3 +206,4 @@ INSERT INTO wcf1_template_group (parentTemplateGroupID, templateGroupName, templ
 -- media providers
 INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('YouTube Playlist', 'https?://(?:.+?\\.)?youtu(?:\\.be/|be\\.com/)playlist\\?(?:.*?&)?list=(?P<ID>[a-zA-Z0-9_-]+)', '<div class="videoContainer"><iframe src="https://www.youtube.com/embed/videoseries?list={$ID}" allowfullscreen></iframe></div>');
 UPDATE wcf1_bbcode_media_provider SET regex = 'https?://vimeo\\.com/(?:channels/[^/]+/)?(?P<ID>\\d+)' WHERE title = 'Vimeo';
+UPDATE wcf1_bbcode_media_provider SET regex = 'https?://(?:www\\.)?dailymotion\\.com/video/(?P<ID>[a-zA-Z0-9_-]+)', html = '<iframe width="480" height="270" src="//www.dailymotion.com/embed/video/{$ID}"></iframe>' WHERE title = 'DailyMotion';