From f265c8016e10f0a1a324bd23cfcf8e262f0c53a5 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 23 Feb 2020 13:28:52 +0100 Subject: [PATCH] Preparing the release 5.2.3 --- com.woltlab.wcf/package.xml | 8 +- .../acp/update_com.woltlab.wcf_5.2.2.php | 208 ------------------ .../install/files/lib/system/WCF.class.php | 2 +- 3 files changed, 5 insertions(+), 213 deletions(-) delete mode 100644 wcfsetup/install/files/acp/update_com.woltlab.wcf_5.2.2.php diff --git a/com.woltlab.wcf/package.xml b/com.woltlab.wcf/package.xml index 33d058222b..c199033ad0 100644 --- a/com.woltlab.wcf/package.xml +++ b/com.woltlab.wcf/package.xml @@ -5,8 +5,8 @@ Free CMS and web-framework, designed for awesome websites and communities. Freies CMS und Web-Framework, das eindrucksvolle Websites und Communities ermöglicht. 1 - 5.2.2 - 2020-02-06 + 5.2.3 + 2020-02-23 @@ -106,13 +106,13 @@ defaultStyle.tar - + acptemplates_update.tar files_update.tar templates_update.tar - acp/update_com.woltlab.wcf_5.2.2.php + diff --git a/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.2.2.php b/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.2.2.php deleted file mode 100644 index 5cc4d11579..0000000000 --- a/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.2.2.php +++ /dev/null @@ -1,208 +0,0 @@ - - */ - -$tables = [ - DatabaseTable::create('wcf1_bbcode_media_provider') - ->columns([ - DefaultFalseBooleanDatabaseTableColumn::create('isDisabled') - ]), - - DatabaseTable::create('wcf1_blacklist_status') - ->columns([ - DateDatabaseTableColumn::create('date') - ->notNull(), - DefaultFalseBooleanDatabaseTableColumn::create('delta1'), - DefaultFalseBooleanDatabaseTableColumn::create('delta2'), - DefaultFalseBooleanDatabaseTableColumn::create('delta3'), - DefaultFalseBooleanDatabaseTableColumn::create('delta4') - ]) - ->indices([ - DatabaseTableIndex::create('day') - ->type(DatabaseTableIndex::UNIQUE_TYPE) - ->columns(['date']), - ]), - - DatabaseTable::create('wcf1_blacklist_entry') - ->columns([ - EnumDatabaseTableColumn::create('type') - ->enumValues(['email', 'ipv4', 'ipv6','username']), - BinaryDatabaseTableColumn::create('hash') - ->length(32), - DatetimeDatabaseTableColumn::create('lastSeen') - ->notNull(), - SmallintDatabaseTableColumn::create('occurrences') - ->length(5) - ->notNull() - ]) - ->indices([ - DatabaseTableIndex::create('entry') - ->type(DatabaseTableIndex::UNIQUE_TYPE) - ->columns(['type', 'hash']), - DatabaseTableIndex::create('numberOfReports') - ->columns(['type', 'occurrences']) - ]), - - DatabaseTable::create('wcf1_box') - ->columns([ - DefaultFalseBooleanDatabaseTableColumn::create('isDisabled') - ]), - - DatabaseTable::create('wcf1_category') - ->columns([ - DefaultFalseBooleanDatabaseTableColumn::create('descriptionUseHtml') - ]), - - DatabaseTable::create('wcf1_comment') - ->columns([ - MediumtextDatabaseTableColumn::create('message') - ->notNull() - ]), - - DatabaseTable::create('wcf1_comment_response') - ->columns([ - MediumtextDatabaseTableColumn::create('message') - ->notNull() - ]), - - DatabaseTable::create('wcf1_contact_attachment') - ->columns([ - NotNullInt10DatabaseTableColumn::create('attachmentID'), - CharDatabaseTableColumn::create('accessKey') - ->length(40) - ->notNull() - ]) - ->foreignKeys([ - DatabaseTableForeignKey::create() - ->columns(['attachmentID']) - ->referencedTable('wcf1_attachment') - ->referencedColumns(['attachmentID']) - ->onDelete('CASCADE') - ]), - - DatabaseTable::create('wcf1_language_item') - ->columns([ - DefaultFalseBooleanDatabaseTableColumn::create('isCustomLanguageItem') - ]), - - DatabaseTable::create('wcf1_like') - ->columns([ - NotNullInt10DatabaseTableColumn::create('reactionTypeID') - ]), - - DatabaseTable::create('wcf1_like_object') - ->columns([ - TextDatabaseTableColumn::create('cachedReactions') - ]), - - DatabaseTable::create('wcf1_media') - ->columns([ - DefaultFalseBooleanDatabaseTableColumn::create('captionEnableHtml'), - NotNullInt10DatabaseTableColumn::create('downloads') - ->defaultValue(0), - NotNullInt10DatabaseTableColumn::create('lastDownloadTime') - ->defaultValue(0) - ]), - - DatabaseTable::create('wcf1_page') - ->columns([ - IntDatabaseTableColumn::create('overrideApplicationPackageID') - ->length(10), - DefaultFalseBooleanDatabaseTableColumn::create('enableShareButtons') - ]) - ->foreignKeys([ - DatabaseTableForeignKey::create() - ->columns(['overrideApplicationPackageID']) - ->referencedTable('wcf1_package') - ->referencedColumns(['packageID']) - ->onDelete('SET NULL') - ]), - - DatabaseTable::create('wcf1_package') - ->indices([ - DatabaseTableIndex::create('package') - ->type(DatabaseTableIndex::UNIQUE_TYPE) - ->columns(['package']) - ]), - - DatabaseTable::create('wcf1_reaction_type') - ->columns([ - ObjectIdDatabaseTableColumn::create('reactionTypeID'), - NotNullVarchar255DatabaseTableColumn::create('title'), - NotNullInt10DatabaseTableColumn::create('showOrder') - ->defaultValue(0), - NotNullVarchar255DatabaseTableColumn::create('iconFile') - ->defaultValue(''), - DefaultTrueBooleanDatabaseTableColumn::create('isAssignable') - ]) - ->indices([ - DatabaseTablePrimaryIndex::create() - ->columns(['reactionTypeID']) - ]), - - DatabaseTable::create('wcf1_style') - ->columns([ - EnumDatabaseTableColumn::create('apiVersion') - ->notNull() - ->enumValues(['3.0', '3.1', '5.2']) - ->defaultValue('3.0') - ]), - - DatabaseTable::create('wcf1_trophy') - ->columns([ - DefaultFalseBooleanDatabaseTableColumn::create('revokeAutomatically'), - DefaultFalseBooleanDatabaseTableColumn::create('trophyUseHtml'), - NotNullInt10DatabaseTableColumn::create('showOrder') - ->defaultValue(0) - ]), - - DatabaseTable::create('wcf1_user') - ->columns([ - NotNullInt10DatabaseTableColumn::create('articles') - ->defaultValue(0), - NotNullVarchar255DatabaseTableColumn::create('blacklistMatches') - ->defaultValue('') - ]), - - DatabaseTable::create('wcf1_user_group') - ->columns([ - DefaultFalseBooleanDatabaseTableColumn::create('allowMention') - ]), - - DatabaseTable::create('wcf1_user_trophy') - ->columns([ - DefaultFalseBooleanDatabaseTableColumn::create('trophyUseHtml') - ]), -]; - -DatabaseTableUtil::addMissingForeignKeys( - /** @var ScriptPackageInstallationPlugin $this */ - $this->installation->getPackageID(), - $tables -); diff --git a/wcfsetup/install/files/lib/system/WCF.class.php b/wcfsetup/install/files/lib/system/WCF.class.php index 7c33c39aa2..f27de2fc08 100644 --- a/wcfsetup/install/files/lib/system/WCF.class.php +++ b/wcfsetup/install/files/lib/system/WCF.class.php @@ -49,7 +49,7 @@ if (!@ini_get('date.timezone')) { } // define current woltlab suite version -define('WCF_VERSION', '5.2.2'); +define('WCF_VERSION', '5.2.3'); // define current API version // @deprecated 5.2 -- 2.20.1