Version 4.6.0

This commit is contained in:
Neo committed 2025-12-19 05:55:31 -08:00
1 parent f79dcf067a
commit 517a5e1f70
2036 files changed
+110041 -26162

No files matched your search

@@ -42,7 +42,7 @@ if ( $application->long_version >= 40000 and !\IPS\NO_WRITES )
foreach ( \IPS\Application::applications() as $_app )
{
if ( $_app->enabled and !\in_array( $_app->directory, \IPS\Application::$ipsApps ) )
if ( $_app->enabled and !\in_array( $_app->directory, \IPS\IPS::$ipsApps ) )
{
try
{
@@ -34,6 +34,7 @@ class _Upgrade
$did = 0;
$limit = \intval( \IPS\Request::i()->extra );
$cutOff = \IPS\core\Setup\Upgrade::determineCutoff();
$parser = new \IPS\Text\LegacyParser;
/* Loop */
foreach( \IPS\Db::i()->select( array( 'status_id', 'status_member_id', 'status_content' ), 'core_member_status_updates', array( 'status_imported=?', 1 ), 'status_id', array( $limit, $perCycle ) ) as $row )
@@ -48,7 +49,7 @@ class _Upgrade
$did++;
/* Rebuild the content */
$content = \IPS\Text\Parser::parseStatic( $row['status_content'], FALSE, NULL, \IPS\Member::load( $row['status_member_id'] ), 'core_Members' );
$content = $parser->parser->purify( $row['status_content'] );
/* Save */
\IPS\Db::i()->update( 'core_member_status_updates', array( 'status_content' => $content ), array( 'status_id=?', $row['status_id'] ) );
+10 -30
View File
@@ -20,26 +20,6 @@
]
},
"2": {
"method": "addColumn",
"params": [
"core_ipsconnect_slaves",
{
"name": "slave_enabled",
"type": "TINYINT",
"length": null,
"decimals": null,
"values": null,
"allow_null": false,
"default": "1",
"comment": "",
"unsigned": false,
"zerofill": false,
"auto_increment": false,
"binary": false
}
]
},
"3": {
"method": "delete",
"params": [
"core_sys_lang_words",
@@ -49,20 +29,20 @@
]
]
},
"4": {
"3": {
"method": "delete",
"params": [
"core_search_index_item_map"
]
},
"5": {
"4": {
"method": "dropIndex",
"params": [
"core_search_index_item_map",
"search_map"
]
},
"6": {
"5": {
"method": "addIndex",
"params": [
"core_search_index_item_map",
@@ -82,13 +62,13 @@
}
]
},
"7": {
"6": {
"method": "delete",
"params": [
"core_search_index"
]
},
"8": {
"7": {
"method": "addIndex",
"params": [
"core_search_index",
@@ -106,7 +86,7 @@
}
]
},
"9": {
"8": {
"method": "createTable",
"params": [
{
@@ -234,7 +214,7 @@
}
]
},
"10": {
"9": {
"method": "createTable",
"params": [
{
@@ -314,7 +294,7 @@
}
]
},
"11": {
"10": {
"method": "addColumn",
"params": [
"core_validating",
@@ -334,7 +314,7 @@
}
]
},
"12": {
"11": {
"method": "addColumn",
"params": [
"core_members",
@@ -354,7 +334,7 @@
}
]
},
"13": {
"12": {
"method": "addColumn",
"params": [
"core_announcements",
@@ -43,7 +43,7 @@ class _Upgrade
/* This may not be set for some communities - check that it's valid */
if( !isset( $settings['auth_types'] ) )
{
$settings['auth_types'] = \IPS\Login::AUTH_TYPE_USERNAME;
$settings['auth_types'] = \IPS\Login::AUTH_TYPE_EMAIL;
}
/* < 4.3 didn't allow this handler to be disabled, make sure that it is enabled (some communities may have worked around this limitation) */
$row['login_acp'] = TRUE;
@@ -4,7 +4,7 @@
"params": [
"core_login_methods",
{
"login_settings": "{\"auth_types\":1}"
"login_settings": "{\"auth_types\":2}"
},
[
"login_classname=? AND login_settings=?",
@@ -35,8 +35,7 @@ class _Upgrade
if ( $count = \IPS\Db::i()->select( 'COUNT(*)', 'core_acp_notifications', array( 'app=? AND ext=?', 'core', $k ) )->first() )
{
$sent = \IPS\Db::i()->select( 'MAX(sent)', 'core_acp_notifications', array( 'app=? AND ext=?', 'core', $k ) )->first();
\IPS\Db::i()->delete( 'core_acp_notifcations_dismissals', array( \IPS\Db::i()->in( 'notification', \IPS\Db::i()->select( 'id', 'core_acp_notifications', array( 'app=? AND ext=?', 'core', $k ) ) ) ) );
\IPS\Db::i()->delete( 'core_acp_notifcations_dismissals', array('notification IN(?)', \IPS\Db::i()->select( 'id', 'core_acp_notifications', array( 'app=? AND ext=?', 'core', $k ) ) ) );
\IPS\Db::i()->delete( 'core_acp_notifications', array( 'app=? AND ext=?', 'core', $k ) );
\IPS\Db::i()->insert( 'core_acp_notifications', array(
@@ -38,7 +38,7 @@ class _Upgrade
if ( $count = \IPS\Db::i()->select( 'COUNT(*)', 'core_acp_notifications', array( 'app=? AND ext=?', 'core', 'NewVersion' ) )->first() )
{
\IPS\Db::i()->delete( 'core_acp_notifcations_dismissals', array( \IPS\Db::i()->in( 'notification', \IPS\Db::i()->select( 'id', 'core_acp_notifications', array( 'app=? AND ext=?', 'core', 'NewVersion' ) ) ) ) );
\IPS\Db::i()->delete( 'core_acp_notifcations_dismissals', array('notification IN(?)', \IPS\Db::i()->select( 'id', 'core_acp_notifications', array( 'app=? AND ext=?', 'core', 'NewVersion' ) ) ) );
\IPS\Db::i()->delete( 'core_acp_notifications', array( 'app=? AND ext=?', 'core', 'NewVersion' ) );
}
+23 -15
View File
@@ -190,6 +190,7 @@ class _Upgrade
\IPS\Task::queue( 'core', 'PruneLargeTable', array(
'table' => 'core_member_history',
'where' => array( 'log_date < ?', \IPS\DateTime::create()->sub( new \DateInterval( 'P365D' ) )->getTimestamp() ),
'setting' => 'prune_member_history',
), 4 );
}
}
@@ -208,16 +209,19 @@ class _Upgrade
\IPS\Task::queue( 'core', 'PruneLargeTable', array(
'table' => 'core_members_known_ip_addresses',
'where' => array( 'last_seen < ?', \IPS\DateTime::create()->sub( new \DateInterval( 'P365D' ) )->getTimestamp() ),
'setting' => 'prune_known_ips',
), 4 );
\IPS\Task::queue( 'core', 'PruneLargeTable', array(
'table' => 'core_members_known_devices',
'where' => array( 'last_seen < ?', \IPS\DateTime::create()->sub( new \DateInterval( 'P365D' ) )->getTimestamp() ),
'setting' => 'prune_known_devices',
), 4 );
\IPS\Task::queue( 'core', 'PruneLargeTable', array(
'table' => 'core_item_markers',
'where' => array( 'item_member_id IN(?)', \IPS\Db::i()->select( 'member_id', 'core_members', array( 'last_activity < ?', \IPS\DateTime::create()->sub( new \DateInterval( 'P60D' ) )->getTimestamp() ) ) ),
'setting' => 'prune_item_markers',
'deleteJoin' => array(
'column' => 'member_id',
'table' => 'core_members',
@@ -228,7 +232,8 @@ class _Upgrade
\IPS\Task::queue( 'core', 'PruneLargeTable', array(
'table' => 'core_follow',
'where' => array( 'follow_member_id IN(?)', \IPS\Db::i()->select( 'member_id', 'core_members', array( 'last_activity < ?', \IPS\DateTime::create()->sub( new \DateInterval( 'P365D' ) )->getTimestamp() ) ) ),
'where' => array( 'follow_app!=? AND follow_area!=? AND follow_member_id IN(?)', 'core', 'member', \IPS\Db::i()->select( 'member_id', 'core_members', array( 'last_activity < ?', \IPS\DateTime::create()->sub( new \DateInterval( 'P365D' ) )->getTimestamp() ) ) ),
'setting' => 'prune_follows',
'deleteJoin' => array(
'column' => 'member_id',
'table' => 'core_members',
@@ -312,7 +317,7 @@ class _Upgrade
$toRun = \IPS\core\Setup\Upgrade::runManualQueries( array( array(
'table' => 'core_ratings',
'query' => "DELETE FROM " . \IPS\Db::i()->prefix . "core_ratings WHERE " . \IPS\Db::i()->in( 'class', $validClasses, TRUE )
'query' => "DELETE FROM `" . \IPS\Db::i()->prefix . "core_ratings` WHERE " . \IPS\Db::i()->in( 'class', $validClasses, TRUE )
) ) );
if ( \count( $toRun ) )
@@ -447,28 +452,31 @@ class _Upgrade
/* Initiate image proxy rebuilds to remove image proxy */
unset( \IPS\Data\Store::i()->currentImageProxyRebuild );
foreach ( \IPS\Content::routedClasses( FALSE, TRUE ) as $class )
if( \IPS\Db::i()->checkForTable('core_image_proxy') )
{
if( isset( $class::$databaseColumnMap['content'] ) )
foreach ( \IPS\Content::routedClasses( FALSE, TRUE ) as $class )
{
try
if( isset( $class::$databaseColumnMap['content'] ) )
{
\IPS\Task::queue( 'core', 'RebuildImageProxy', array( 'class' => $class ), 4 );
try
{
\IPS\Task::queue( 'core', 'RebuildImageProxy', array( 'class' => $class ), 4 );
}
catch( \OutOfRangeException $ex ) { }
}
catch( \OutOfRangeException $ex ) { }
}
}
foreach( \IPS\Application::allExtensions( 'core', 'EditorLocations', FALSE, NULL, NULL, TRUE, TRUE ) as $_key => $extension )
{
if( method_exists( $extension, 'rebuildImageProxy' ) )
foreach( \IPS\Application::allExtensions( 'core', 'EditorLocations', FALSE, NULL, NULL, TRUE, TRUE ) as $_key => $extension )
{
\IPS\Task::queue( 'core', 'RebuildImageProxyNonContent', array( 'extension' => $_key ), 4 );
if( method_exists( $extension, 'rebuildImageProxy' ) )
{
\IPS\Task::queue( 'core', 'RebuildImageProxyNonContent', array( 'extension' => $_key ), 4 );
}
}
}
/* Also initiate the task to delete the files. If we are caching indefinitely, files will be retained but the table still should be dropped. */
\IPS\Task::queue( 'core', 'DeleteImageProxyFiles', array(), 5 );
/* Also initiate the task to delete the files. If we are caching indefinitely, files will be retained but the table still should be dropped. */
\IPS\Task::queue( 'core', 'DeleteImageProxyFiles', array(), 5 );
}
/* Disable third party addons to prevent errors post-upgrade */
foreach( \IPS\Application::enabledApplications() as $app )
@@ -32,7 +32,7 @@ class _Upgrade
{
$sendNotification = FALSE;
if ( !$sendNotification and array_filter( array_keys( \IPS\Application::applications() ), function( $k ) { return !\in_array( $k, \IPS\Application::$ipsApps ); } ) )
if ( !$sendNotification and array_filter( array_keys( \IPS\Application::applications() ), function( $k ) { return !\in_array( $k, \IPS\IPS::$ipsApps ); } ) )
{
$sendNotification = TRUE;
}
@@ -0,0 +1,24 @@
{
"id": 105101,
"name": "4.5.0",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"html": {
"added": [],
"edited": [
"admin\/activitystats\/overview",
"admin\/clubs\/statsOverview",
"global\/embed\/embedNoPermission",
"global\/embed\/embedUnavailable",
"front\/global\/userPhoto"
],
"removed": []
},
"css": {
"added": [],
"edited": [],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105102,
"name": "4.5.1 Beta 1",
"steps": {
"queries": false,
"lang": true,
"theme": true,
"themeSettings": false,
"javascript": true,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,17 @@
{
"files": {
"added": [],
"edited": [
"global\/framework\/common\/ui\/ips.ui.flashMsg.js",
"core\/admin\/controllers\/core\/ips.core.changeTheme.js",
"core\/front\/controllers\/streams\/ips.streams.results.js",
"core\/front\/controllers\/vse\/ips.vse.main.js"
],
"removed": []
},
"orders": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,15 @@
{
"normal": {
"added": [
"r__marketplace",
"r__marketplace_manage"
],
"edited": [],
"removed": []
},
"js": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,53 @@
{
"html": {
"added": [
"front\/messaging\/submitForm",
"global\/notifications\/newVersion"
],
"edited": [
"admin\/activitystats\/overview",
"admin\/clubs\/statsOverview",
"global\/embed\/embedNoPermission",
"global\/embed\/embedUnavailable",
"admin\/global\/globalTemplate",
"admin\/global\/mobileNavigation",
"front\/global\/userPhoto",
"admin\/marketplace\/customHeader",
"admin\/marketplace\/onboardRow",
"admin\/memberprofile\/basicInformation",
"front\/messaging\/conversation",
"front\/profile\/profile",
"front\/system\/notificationSettingsIndexRow",
"front\/system\/notificationSettingsType"
],
"removed": [
"admin\/notifications\/newVersion"
]
},
"css": {
"added": [],
"edited": [
"front\/core.css",
"admin\/core\/buttons.css",
"admin\/core\/controlstrip.css",
"admin\/core\/misc.css",
"admin\/core\/popups.css",
"global\/framework\/buttons.css",
"global\/framework\/global.css",
"global\/framework\/misc.css",
"global\/framework\/popup.css",
"global\/framework\/post-content.css",
"global\/responsive\/layout.css",
"global\/responsive\/tables.css",
"global\/responsive\/tabs.css",
"front\/styles\/profiles_responsive.css",
"front\/styles\/profiles.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105103,
"name": "4.5.1 Beta 1",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": true,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,14 @@
{
"files": {
"added": [],
"edited": [
"core\/front\/controllers\/vse\/ips.vse.main.js"
],
"removed": []
},
"orders": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,23 @@
{
"html": {
"added": [],
"edited": [
"admin\/activitystats\/overview",
"admin\/clubs\/statsOverview",
"global\/embed\/embedNoPermission",
"global\/embed\/embedUnavailable",
"front\/global\/userPhoto"
],
"removed": []
},
"css": {
"added": [],
"edited": [],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105104,
"name": "4.5.1 Beta 2",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"html": {
"added": [],
"edited": [
"admin\/activitystats\/overview",
"admin\/clubs\/statsOverview",
"global\/embed\/embedNoPermission",
"global\/embed\/embedUnavailable",
"front\/global\/userPhoto"
],
"removed": []
},
"css": {
"added": [],
"edited": [],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105105,
"name": "4.5.1 Beta 3",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"html": {
"added": [],
"edited": [
"admin\/activitystats\/overview",
"admin\/clubs\/statsOverview",
"global\/embed\/embedNoPermission",
"global\/embed\/embedUnavailable",
"front\/global\/userPhoto"
],
"removed": []
},
"css": {
"added": [],
"edited": [],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105106,
"name": "4.5.1",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"html": {
"added": [],
"edited": [
"admin\/activitystats\/overview",
"admin\/clubs\/statsOverview",
"global\/embed\/embedNoPermission",
"global\/embed\/embedUnavailable",
"front\/global\/userPhoto"
],
"removed": []
},
"css": {
"added": [],
"edited": [],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105107,
"name": "4.5.2",
"steps": {
"queries": true,
"lang": true,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": true
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,17 @@
{
"normal": {
"added": [
"reg_complete_2fa_title",
"oauth_status_revoked"
],
"edited": [
"link_your_accounts_error"
],
"removed": []
},
"js": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,23 @@
{
"1": {
"method": "addColumn",
"params": [
"core_oauth_server_access_tokens",
{
"name": "status",
"type": "ENUM",
"length": null,
"decimals": null,
"values": [
"active",
"revoked"
],
"allow_null": false,
"default": "active",
"comment": "The status. \"active\" means \"active if within expiry date\".",
"unsigned": false,
"auto_increment": false
}
]
}
}
@@ -0,0 +1,33 @@
{
"html": {
"added": [],
"edited": [
"admin\/activitystats\/overview",
"admin\/api\/oauthStatus",
"admin\/clubs\/statsOverview",
"global\/embed\/embedNoPermission",
"global\/embed\/embedUnavailable",
"admin\/global\/appmenu",
"front\/global\/userPhoto",
"admin\/memberprofile\/oauth",
"admin\/members\/deviceInfo",
"front\/system\/login"
],
"removed": []
},
"css": {
"added": [],
"edited": [
"global\/responsive\/forms.css",
"front\/styles\/clubs_responsive.css",
"front\/styles\/clubs.css",
"front\/styles\/embeds.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,57 @@
<?php
/**
* @brief 4.5.2 Upgrade Code
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
* @copyright (c) Invision Power Services, Inc.
* @license https://www.invisioncommunity.com/legal/standards/
* @package Invision Community
* @since 02 Sep 2020
*/
namespace IPS\core\setup\upg_105107;
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
}
/**
* 4.5.2 Upgrade Code
*/
class _Upgrade
{
/**
* Update mobile app OAuth client with new redirect URI
*
* @return array If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
*/
public function step1()
{
try
{
$client = \IPS\Api\OAuthClient::constructFromData( \IPS\Db::i()->select( '*', 'core_oauth_clients', array( 'oauth_type=?', 'mobile' ) )->first() );
foreach ( \IPS\Api\OAuthClient::mobileAppValues() as $k => $v )
{
if ( $k === 'redirect_uris' or $k === 'scopes' )
{
$client->$k = json_encode( $v );
}
else
{
$client->$k = \is_array( $v ) ? implode( ',', $v ) : $v;
}
}
$client->save();
}
catch ( \UnderflowException $e )
{
// Don't need to do anything
}
return TRUE;
}
}
@@ -0,0 +1,24 @@
{
"id": 105108,
"name": "4.5.2",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"html": {
"added": [],
"edited": [
"admin\/activitystats\/overview",
"admin\/clubs\/statsOverview",
"global\/embed\/embedNoPermission",
"global\/embed\/embedUnavailable",
"front\/global\/userPhoto"
],
"removed": []
},
"css": {
"added": [],
"edited": [],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105109,
"name": "4.5.2",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"html": {
"added": [],
"edited": [
"admin\/activitystats\/overview",
"admin\/clubs\/statsOverview",
"global\/embed\/embedNoPermission",
"global\/embed\/embedUnavailable",
"front\/global\/userPhoto"
],
"removed": []
},
"css": {
"added": [],
"edited": [],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105110,
"name": "4.5.2",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,28 @@
{
"html": {
"added": [],
"edited": [
"admin\/activitystats\/overview",
"admin\/clubs\/statsOverview",
"global\/embed\/embedNoPermission",
"global\/embed\/embedUnavailable",
"front\/global\/userPhoto",
"admin\/activitystats\/overview",
"admin\/clubs\/statsOverview",
"global\/embed\/embedNoPermission",
"global\/embed\/embedUnavailable",
"front\/global\/userPhoto"
],
"removed": []
},
"css": {
"added": [],
"edited": [],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105111,
"name": "4.5.2",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": true,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,14 @@
{
"files": {
"added": [],
"edited": [
"global\/framework\/common\/ui\/ips.ui.form.js"
],
"removed": []
},
"orders": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,23 @@
{
"html": {
"added": [],
"edited": [
"admin\/activitystats\/overview",
"admin\/clubs\/statsOverview",
"global\/embed\/embedNoPermission",
"global\/embed\/embedUnavailable",
"front\/global\/userPhoto"
],
"removed": []
},
"css": {
"added": [],
"edited": [],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105112,
"name": "4.5.3",
"steps": {
"queries": false,
"lang": true,
"theme": true,
"themeSettings": false,
"javascript": true,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": true,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,14 @@
{
"files": {
"added": [],
"edited": [
"global\/framework\/common\/ui\/ips.ui.autocomplete.js"
],
"removed": []
},
"orders": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,15 @@
{
"normal": {
"added": [
"pixabay_safesearch",
"pixabay_safesearch_desc"
],
"edited": [],
"removed": []
},
"js": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,7 @@
{
"added": [
"pixabay_safesearch"
],
"edited": [],
"removed": []
}
@@ -0,0 +1,33 @@
{
"html": {
"added": [],
"edited": [
"admin\/activitystats\/overview",
"admin\/clubs\/statsOverview",
"global\/embed\/embedNoPermission",
"global\/embed\/embedUnavailable",
"front\/global\/comment",
"global\/global\/dynamicChart",
"global\/global\/includeJS",
"front\/global\/review",
"front\/global\/signature",
"front\/global\/userPhoto",
"admin\/notifications\/licenseKey"
],
"removed": []
},
"css": {
"added": [],
"edited": [
"front\/core.css",
"global\/framework\/forms.css",
"global\/framework\/layout.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105113,
"name": "4.5.3",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"html": {
"added": [],
"edited": [
"admin\/activitystats\/overview",
"admin\/clubs\/statsOverview",
"global\/embed\/embedNoPermission",
"global\/embed\/embedUnavailable",
"front\/global\/userPhoto"
],
"removed": []
},
"css": {
"added": [],
"edited": [],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105114,
"name": "4.5.3",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"html": {
"added": [],
"edited": [
"admin\/activitystats\/overview",
"admin\/clubs\/statsOverview",
"global\/embed\/embedNoPermission",
"global\/embed\/embedUnavailable",
"front\/global\/userPhoto"
],
"removed": []
},
"css": {
"added": [],
"edited": [],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105115,
"name": "4.5.3",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"html": {
"added": [],
"edited": [
"admin\/activitystats\/overview",
"admin\/clubs\/statsOverview",
"global\/embed\/embedNoPermission",
"global\/embed\/embedUnavailable",
"front\/global\/userPhoto"
],
"removed": []
},
"css": {
"added": [],
"edited": [],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105116,
"name": "4.5.4",
"steps": {
"queries": true,
"lang": true,
"theme": true,
"themeSettings": false,
"javascript": true,
"emailTemplates": true,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,7 @@
{
"added": [],
"edited": [
"emailWrapper"
],
"removed": []
}
@@ -0,0 +1,17 @@
{
"files": {
"added": [],
"edited": [
"global\/framework\/common\/ips.controller.js",
"global\/framework\/common\/ui\/ips.ui.map.js",
"global\/admin\/controllers\/core\/ips.core.dynamicChart.js",
"core\/admin\/controllers\/system\/ips.system.menuManager.js"
],
"removed": []
},
"orders": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,36 @@
{
"normal": {
"added": [
"form_interval_min_w",
"form_interval_max_w",
"applications_blurb_no_upload",
"dev_plugin_not_writable",
"can_toggle_item_moderation_content",
"can_toggle_item_moderation_content_desc",
"rebuilding_urlrefs_stuff",
"refurls_rebuilt",
"chart_customfilters_title",
"chart_customfilters_save",
"requirements_mysql_format_advice",
"requirements_mysql_ifpt_advice",
"mobile_app_hide_stats",
"mobile_app_hide_stats_desc"
],
"edited": [
"links_external_desc",
"posts_add_nofollow_desc",
"posts_add_nofollow_exclude_desc",
"mod_confirm_hidden",
"club_modperm_move_desc"
],
"removed": [
"can_toggle_item_moderation",
"can_toggle_item_moderation_desc"
]
},
"js": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,242 @@
{
"1": {
"method": "createTable",
"params": [
{
"name": "core_item_redirect",
"columns": {
"redirect_id": {
"allow_null": false,
"auto_increment": true,
"comment": "",
"decimals": null,
"default": null,
"length": 10,
"name": "redirect_id",
"type": "INT",
"unsigned": false,
"values": []
},
"redirect_class": {
"allow_null": false,
"auto_increment": false,
"comment": "",
"decimals": null,
"default": null,
"length": 200,
"name": "redirect_class",
"type": "VARCHAR",
"unsigned": false,
"values": []
},
"redirect_item_id": {
"allow_null": false,
"auto_increment": false,
"comment": "",
"decimals": null,
"default": "0",
"length": 10,
"name": "redirect_item_id",
"type": "INT",
"unsigned": false,
"values": []
},
"redirect_new_item_id": {
"allow_null": false,
"auto_increment": false,
"comment": "",
"decimals": null,
"default": "0",
"length": 10,
"name": "redirect_new_item_id",
"type": "INT",
"unsigned": false,
"values": []
}
},
"indexes": {
"PRIMARY": {
"type": "primary",
"name": "PRIMARY",
"length": [
null
],
"columns": [
"redirect_id"
]
},
"redirect_lookup": {
"type": "key",
"name": "redirect_lookup",
"length": [
null,
null
],
"columns": [
"redirect_class",
"redirect_item_id"
]
},
"redirect_delete": {
"type": "key",
"name": "redirect_delete",
"columns": [
"redirect_class",
"redirect_new_item_id"
],
"length": [
null,
null
]
}
},
"collation": "utf8_general_ci",
"engine": "InnoDB"
}
]
},
"2": {
"method": "createTable",
"params": [
{
"name": "core_item_statistics_cache",
"columns": {
"cache_id": {
"allow_null": false,
"auto_increment": true,
"comment": "",
"decimals": null,
"default": null,
"length": 10,
"name": "cache_id",
"type": "INT",
"unsigned": false,
"values": []
},
"cache_class": {
"allow_null": false,
"auto_increment": false,
"comment": "",
"decimals": null,
"default": "",
"length": 150,
"name": "cache_class",
"type": "VARCHAR",
"unsigned": false,
"values": []
},
"cache_item_id": {
"allow_null": false,
"auto_increment": false,
"comment": "",
"decimals": null,
"default": "0",
"length": 10,
"name": "cache_item_id",
"type": "INT",
"unsigned": false,
"values": []
},
"cache_added": {
"allow_null": false,
"auto_increment": false,
"comment": "",
"decimals": null,
"default": "0",
"length": 10,
"name": "cache_added",
"type": "INT",
"unsigned": false,
"values": []
},
"cache_contents": {
"name": "cache_contents",
"type": "MEDIUMTEXT",
"length": null,
"decimals": null,
"values": null,
"allow_null": false,
"default": null,
"comment": "",
"unsigned": false,
"auto_increment": false
}
},
"indexes": {
"PRIMARY": {
"type": "primary",
"name": "PRIMARY",
"length": [
null
],
"columns": [
"cache_id"
]
},
"cache_added": {
"type": "key",
"name": "cache_added",
"length": [
null
],
"columns": [
"cache_added"
]
},
"cache_lookup": {
"type": "unique",
"name": "cache_lookup",
"columns": [
"cache_class",
"cache_item_id"
],
"length": [
null,
null
]
}
},
"collation": "utf8_general_ci",
"engine": "InnoDB"
}
]
},
"3": {
"method": "changeColumn",
"params": [
"core_announcements",
"announce_start",
{
"name": "announce_start",
"type": "INT",
"length": 10,
"decimals": null,
"values": [],
"allow_null": false,
"default": "0",
"comment": "",
"unsigned": false,
"auto_increment": false
}
]
},
"4": {
"method": "changeColumn",
"params": [
"core_announcements",
"announce_end",
{
"name": "announce_end",
"type": "INT",
"length": 10,
"decimals": null,
"values": [],
"allow_null": false,
"default": "0",
"comment": "",
"unsigned": false,
"auto_increment": false
}
]
}
}
@@ -0,0 +1,35 @@
{
"html": {
"added": [],
"edited": [
"front\/clubs\/coverPhotoOverlay",
"front\/global\/commentEditHistory",
"global\/global\/dynamicChart",
"front\/global\/favico",
"admin\/global\/globalTemplate",
"front\/global\/tag",
"admin\/marketplace\/customHeader",
"admin\/marketplace\/fileView",
"admin\/memberprofile\/locations",
"front\/messaging\/messageListRow",
"front\/modcp\/report",
"front\/promote\/promotePublicTableRow"
],
"removed": []
},
"css": {
"added": [],
"edited": [
"global\/framework\/buttons.css",
"global\/framework\/comments.css",
"global\/framework\/pagination.css",
"front\/styles\/messaging.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105117,
"name": "4.5.4",
"steps": {
"queries": false,
"lang": false,
"theme": false,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,24 @@
{
"id": 105118,
"name": "4.5.4",
"steps": {
"queries": false,
"lang": false,
"theme": false,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,24 @@
{
"id": 105119,
"name": "4.5.4",
"steps": {
"queries": false,
"lang": false,
"theme": false,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,24 @@
{
"id": 105120,
"name": "4.5.4",
"steps": {
"queries": false,
"lang": false,
"theme": false,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,24 @@
{
"id": 105121,
"name": "4.5.4",
"steps": {
"queries": false,
"lang": false,
"theme": false,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,24 @@
{
"id": 105122,
"name": "4.5.4",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,19 @@
{
"html": {
"added": [],
"edited": [
"front\/clubs\/nonMemberClubStatus"
],
"removed": []
},
"css": {
"added": [],
"edited": [],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105123,
"name": "4.5.4",
"steps": {
"queries": false,
"lang": false,
"theme": false,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,24 @@
{
"id": 105124,
"name": "4.5.4.1",
"steps": {
"queries": false,
"lang": false,
"theme": false,
"themeSettings": false,
"javascript": true,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,14 @@
{
"files": {
"added": [],
"edited": [
"global\/framework\/common\/utils\/ips.utils.js"
],
"removed": []
},
"orders": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105125,
"name": "4.5.4.2",
"steps": {
"queries": false,
"lang": false,
"theme": false,
"themeSettings": false,
"javascript": true,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,14 @@
{
"files": {
"added": [],
"edited": [
"global\/framework\/common\/utils\/ips.utils.js"
],
"removed": []
},
"orders": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105126,
"name": "4.5.4.2",
"steps": {
"queries": false,
"lang": false,
"theme": false,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,24 @@
{
"id": 105127,
"name": "4.5.4.2",
"steps": {
"queries": false,
"lang": false,
"theme": false,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,24 @@
{
"id": 105128,
"name": "4.5.4.2",
"steps": {
"queries": false,
"lang": false,
"theme": false,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,24 @@
{
"id": 105129,
"name": "4.5.4.2",
"steps": {
"queries": false,
"lang": true,
"theme": false,
"themeSettings": false,
"javascript": true,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,14 @@
{
"files": {
"added": [],
"edited": [
"global\/front\/controllers\/core\/ips.core.lightboxedImages.js"
],
"removed": []
},
"orders": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,21 @@
{
"normal": {
"added": [],
"edited": [
"oauth_wordpress_endpoint",
"login_handler_wordpress",
"login_handler_wordpress_settings",
"login_handler_wordpress_oauth_info",
"wordpress_url",
"oauth_wordpress_blurb",
"client_type_wordpress",
"client_type_wordpress_desc"
],
"removed": []
},
"js": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105130,
"name": "4.5.4.2",
"steps": {
"queries": false,
"lang": false,
"theme": false,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,29 @@
{
"added": [
"app=core&module=achievements&controller=badges",
"app=core&module=achievements&controller=ranks",
"app=core&module=achievements&controller=rules",
"app=core&module=achievements&controller=settings",
"app=core&module=members&controller=groups&do=form&searchResult=gbw_can_post_anonymously",
"app=core&module=moderation&controller=reportedContentTypes",
"app=core&module=settings&controller=email&searchResult=email_truncate"
],
"edited": [
"app=core&module=customization&controller=themes&do=designersmode&searchResult=form_theme_designers_mode",
"app=core&module=membersettings&controller=notifications&do=pruneSettings&searchResult=form_prune_notifications",
"app=core&module=membersettings&controller=notifications&do=pruneSettings&searchResult=prune_follows",
"app=core&module=membersettings&controller=profiles&tab=profilesettings&searchResult=prune_item_markers",
"app=core&module=membersettings&controller=profiles&tab=profilesettings&searchResult=prune_known_devices",
"app=core&module=membersettings&controller=profiles&tab=profilesettings&searchResult=prune_known_ips",
"app=core&module=membersettings&controller=profiles&tab=profilesettings&searchResult=prune_member_history",
"app=core&module=moderation&controller=reportedContent",
"app=core&module=promotion&controller=seo&tab=metatags",
"app=core&module=promotion&controller=seo&tab=sitemap",
"app=core&module=promotion&controller=seo&tab=urls",
"app=core&module=settings&controller=advanced&tab=datastore&searchResult=cache_guest_page"
],
"removed": [
"app=core&module=membersettings&controller=notifications&do=method&id=inline&searchResult=prune_notifications",
"app=core&module=membersettings&controller=ranks"
]
}
@@ -0,0 +1,24 @@
{
"id": 106100,
"name": "4.6.0 Beta 1",
"steps": {
"queries": true,
"lang": true,
"theme": true,
"themeSettings": true,
"javascript": true,
"emailTemplates": true,
"hooks": false,
"acpSearchKeywords": true,
"settings": true,
"tasks": true,
"modules": true,
"widgets": true,
"whatsnew": true,
"customOptions": true,
"customRoutines": true
},
"forceMainUpgrader": true,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,20 @@
{
"added": [
"notification_my_solution",
"notification_new_rank",
"notification_approved_content",
"notification_mine_solved",
"notification_new_recognize",
"notification_new_badge"
],
"edited": [
"notification_warning_mods",
"account_locked",
"emailWrapper",
"emailNoWrapper",
"warning"
],
"removed": [
"notification_best_answer"
]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

@@ -0,0 +1,74 @@
{
"files": {
"added": [
"global\/framework\/common\/utils\/ips.utils.links.js",
"global\/framework\/common\/utils\/ips.utils.serviceWorker.js",
"global\/front\/controllers\/core\/ips.core.webshare.js",
"core\/admin\/controllers\/members\/ips.members.achievementRuleForm.js",
"core\/admin\/controllers\/support\/ips.support.dashboard.js",
"core\/front\/controllers\/widgets\/ips.widgets.onlineUsers.js"
],
"edited": [
"global\/library\/app.js",
"global\/framework\/common\/ui\/ips.ui.addressForm.js",
"global\/framework\/common\/ui\/ips.ui.autoCheck.js",
"global\/framework\/common\/ui\/ips.ui.autocomplete.js",
"global\/framework\/common\/ui\/ips.ui.chart.js",
"global\/framework\/common\/ui\/ips.ui.editor.js",
"global\/framework\/common\/ui\/ips.ui.form.js",
"global\/framework\/common\/ui\/ips.ui.js",
"global\/framework\/common\/ui\/ips.ui.map.js",
"global\/framework\/common\/ui\/ips.ui.selectTree.js",
"global\/framework\/common\/ui\/ips.ui.truncate.js",
"global\/framework\/common\/ui\/ips.ui.uploader.js",
"global\/framework\/common\/utils\/ips.utils.emoji.js",
"global\/framework\/common\/utils\/ips.utils.js",
"global\/framework\/common\/utils\/ips.utils.lazyLoad.js",
"global\/framework\/common\/utils\/ips.utils.notification.js",
"global\/framework\/common\/utils\/ips.utils.selection.js",
"global\/framework\/common\/utils\/ips.utils.time.js",
"global\/front\/controllers\/core\/ips.core.app.js",
"global\/front\/controllers\/core\/ips.core.comment.js",
"global\/front\/controllers\/core\/ips.core.commentFeed.js",
"global\/front\/controllers\/core\/ips.core.instantNotifications.js",
"global\/front\/controllers\/core\/ips.core.lightboxedImages.js",
"core\/front\/controllers\/core\/ips.core.notifications.js",
"global\/front\/controllers\/core\/ips.core.pagination.js",
"core\/global\/controllers\/core\/ips.core.coverPhoto.js",
"core\/global\/controllers\/core\/ips.core.genericTable.js",
"core\/global\/controllers\/core\/ips.core.table.js",
"global\/framework\/controllers\/editor\/ips.editor.emoticons.js",
"global\/framework\/controllers\/editor\/ips.editor.image.js",
"global\/framework\/controllers\/editor\/ips.editor.insertable.js",
"global\/framework\/controllers\/editor\/ips.editor.uploader.js",
"core\/admin\/controllers\/marketplace\/ips.marketplace.launcher.js",
"core\/admin\/controllers\/marketplace\/ips.marketplace.onboardRow.js",
"core\/admin\/controllers\/marketplace\/ips.marketplace.search.js",
"core\/front\/controllers\/modcp\/ips.modcp.approveQueue.js",
"core\/front\/controllers\/modcp\/ips.modcp.warnForm.js",
"core\/front\/controllers\/profile\/ips.profile.main.js",
"global\/framework\/controllers\/stockart\/ips.stockart.pixabay.js",
"core\/front\/controllers\/streams\/ips.streams.main.js",
"core\/admin\/controllers\/support\/ips.support.contact.js",
"core\/admin\/controllers\/system\/ips.system.autoupgradetimer.js",
"core\/admin\/controllers\/system\/ips.system.menuManager.js",
"core\/front\/controllers\/system\/ips.system.notificationSettings.js",
"core\/front\/controllers\/system\/ips.system.register.js",
"core\/front\/controllers\/vse\/ips.vse.main.js",
"core\/front\/controllers\/vse\/ips.vse.window.js",
"core\/front\/controllers\/widgets\/ips.widgets.area.js",
"global\/front\/mixins\/ips.core.table.js",
"global\/admin\/templates\/ips.core.templates.js",
"global\/framework\/templates\/ips.core.templates.js"
],
"removed": [
"core\/global\/controllers\/core\/ips.core.login.js",
"core\/admin\/controllers\/support\/ips.support.diagnostics.js"
]
},
"orders": {
"added": [],
"edited": [],
"removed": []
}
}
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,9 @@
{
"added": [
"admin\/achievements"
],
"edited": [
"admin\/marketplace"
],
"removed": []
}
@@ -0,0 +1,27 @@
<?php
/**
* @brief Upgrader: Custom Upgrade Options
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
* @copyright (c) Invision Power Services, Inc.
* @license https://www.invisioncommunity.com/legal/standards/
* @package Invision Community
* @since 16 Jul 2019
*/
$options = array();
require "../upgrade/lang.php";
/* Show us what is deprecated */
if ( \IPS\CACHE_METHOD != 'None' and \IPS\CACHE_METHOD != 'Redis')
{
$options[] = new \IPS\Helpers\Form\Custom( '106000_deprecated', null, FALSE, array('getHtml' => function ( $element ) {
return \IPS\Theme::i()->getTemplate( 'global' )->deprecated460();
}), function ( $val ) {
}, NULL, NULL, '106000_deprecated' );
}
/* Use new rules or keep old ones? */
$options[] = new \IPS\Helpers\Form\Radio( '106000_rule_option', 'new', TRUE, array( 'options' => array( 'new' => '106000_rule_option_new', 'old' => '106000_rule_option_old' ) ) );
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,25 @@
{
"added": [
"achievements_last_rebuilt",
"achievements_rebuilding",
"achievements_recognize_max_per_user_day",
"fb_ig_oembed_appid",
"fb_ig_oembed_appsecret",
"fb_ig_oembed_token",
"icons_apple_startup",
"mp_onboard_complete",
"prune_points_log",
"rare_badge_percent",
"referrer_policy_header",
"relative_dates_enable",
"rules_exclude_groups",
"spam_service_days",
"vapid_private_key",
"vapid_public_key"
],
"edited": [],
"removed": [
"disable_anonymous",
"post_titlechange"
]
}
@@ -0,0 +1,7 @@
{
"added": [
"pwaprune"
],
"edited": [],
"removed": []
}
@@ -0,0 +1,276 @@
{
"html": {
"added": [
"admin\/achievements\/awardField",
"admin\/achievements\/badgeExport",
"admin\/achievements\/memberCount",
"admin\/achievements\/rebuildProgress",
"admin\/achievements\/ruleAwards",
"admin\/achievements\/ruleDescription",
"admin\/achievements\/ruleDescriptionBadge",
"admin\/achievements\/rulesForm",
"admin\/achievements\/rulesForm_addFilterButton",
"admin\/achievements\/rulesForm_filter",
"admin\/achievements\/rulesList",
"admin\/achievements\/rulesListRows",
"admin\/dashboard\/filesystemNotCic",
"global\/editor\/linkedImage",
"global\/global\/badge",
"front\/global\/commentRecognized",
"admin\/global\/genericLink",
"front\/global\/groupPostedBadges",
"global\/global\/offline",
"global\/global\/rank",
"front\/global\/sharemenu",
"admin\/memberprofile\/rank",
"admin\/members\/badgesLog",
"admin\/members\/memberListResultsInfobox",
"admin\/members\/memberRank",
"admin\/members\/pointsLog",
"admin\/notifications\/usernameLoginEnabled",
"front\/profile\/userBadgeOverview",
"front\/profile\/userSolutions",
"front\/profile\/userSolutionsRows",
"front\/profile\/userSolutionsSection",
"front\/profile\/userSolutionsTable",
"admin\/support\/dashboard",
"admin\/support\/fixRepeatLogs",
"admin\/support\/guideSearchForm",
"admin\/support\/hookedClasses",
"admin\/support\/patchAvailable",
"admin\/support\/supportBlockList",
"admin\/support\/supportPatchWrapper",
"admin\/support\/thirdPartyItems",
"front\/system\/reportForm",
"admin\/system\/upgradeManagedContactUs",
"front\/widgets\/achievements"
],
"edited": [
"admin\/activitystats\/contentCell",
"admin\/activitystats\/overview",
"admin\/applications\/appRowAdditional",
"admin\/applications\/appRowDescription",
"admin\/applications\/codeHookEditor",
"admin\/applications\/codeHookSidebar",
"admin\/applications\/menuManagerForm",
"front\/clubs\/directory",
"front\/clubs\/header",
"admin\/customization\/email",
"admin\/customization\/resourceDisplay",
"admin\/dashboard\/onboardForm",
"global\/editor\/attachedFile",
"global\/editor\/image",
"global\/editor\/mentionRow",
"global\/forms\/autocomplete",
"global\/forms\/checkboxset",
"global\/forms\/codemirror",
"global\/forms\/editorAttachments",
"global\/forms\/editorAttachmentsMinimized",
"global\/forms\/editorAttachmentsPlaceholder",
"front\/forms\/popupRegisterTemplate",
"front\/forms\/popupTemplate",
"front\/forms\/profileCompleteTemplate",
"front\/forms\/ratingTemplate",
"front\/forms\/recommendCommentTemplate",
"global\/forms\/textarea",
"global\/forms\/upload",
"global\/forms\/uploadFile",
"global\/global\/applePieChart",
"global\/global\/basicUrl",
"global\/global\/chart",
"front\/global\/comment",
"front\/global\/commentEditHistory",
"front\/global\/contentItemMessage",
"admin\/global\/controlStrip",
"global\/global\/dynamicChart",
"front\/global\/error",
"front\/global\/follow",
"admin\/global\/globalTemplate",
"front\/global\/globalTemplate",
"front\/global\/guestCommentTeaser",
"global\/global\/includeJS",
"global\/global\/includeMeta",
"front\/global\/loginPopup",
"front\/global\/loginPopupForm",
"front\/global\/mobileNavigation",
"global\/global\/pollForm",
"front\/global\/reactionBlurb",
"front\/global\/reactionLog",
"front\/global\/reactionLogTable",
"front\/global\/reactionOverview",
"front\/global\/reactionTabs",
"front\/global\/reputation",
"front\/global\/reputationLogTable",
"front\/global\/review",
"front\/global\/sharelinks",
"front\/global\/solvedBadge",
"front\/global\/userBar",
"front\/global\/userLink",
"front\/global\/userLinkFromData",
"admin\/global\/userPhoto",
"front\/global\/userPhoto",
"front\/global\/userPhotoFromData",
"global\/login\/authyAuthenticate",
"global\/login\/authySetup",
"global\/login\/oauthLogin",
"global\/login\/oauthLoginStandard",
"admin\/marketplace\/fileView",
"admin\/memberprofile\/profileData",
"admin\/memberprofile\/quotas",
"admin\/memberprofile\/warnings",
"admin\/memberprofile\/warningView",
"admin\/members\/deviceHandler",
"global\/members\/ipLookup",
"admin\/members\/moderatorPermissions",
"global\/members\/nameHistoryTable",
"front\/messaging\/conversation",
"front\/messaging\/messageListRows",
"front\/messaging\/template",
"front\/modcp\/approvalQueueHeader",
"front\/modcp\/deletedTable",
"front\/modcp\/ipMemberTable",
"front\/modcp\/report",
"front\/modcp\/warnHovercard",
"front\/moderationLog\/table",
"front\/myAttachments\/rows",
"admin\/notifications\/lockedTask",
"front\/online\/onlineUsersTable",
"front\/popular\/popularTable",
"front\/profile\/hovercard",
"front\/profile\/profile",
"front\/profile\/profileHeader",
"front\/profile\/userContentStream",
"front\/profile\/userReputation",
"front\/profile\/userReputationTable",
"front\/promote\/promoteDialogTemplate",
"front\/promote\/promotePublicTable",
"front\/promote\/promoteTable",
"front\/promote\/promoteTableRows",
"front\/search\/filters",
"front\/search\/globalSearchMenuOptions",
"front\/search\/memberFilters",
"front\/sharelinks\/shareButton",
"front\/staffdirectory\/layout_blocks",
"front\/staffdirectory\/layout_full",
"front\/staffdirectory\/layout_half",
"admin\/stats\/filtersFormTemplate",
"admin\/stats\/filtersOverviewForm",
"front\/statuses\/statusContainer",
"front\/statuses\/statusPagination",
"front\/statuses\/statusReplies",
"front\/statuses\/statusReply",
"front\/statuses\/statusReplyContentRows",
"front\/streams\/filterCreateForm",
"front\/streams\/filterForm",
"front\/streams\/filterFormFollowStatus",
"front\/streams\/filterFormOwnership",
"front\/streams\/filterFormShowMe",
"front\/streams\/filterFormTimePeriod",
"front\/streams\/filterInlineForm",
"front\/streams\/streamWrapper",
"admin\/support\/contact",
"admin\/support\/fixConnection",
"admin\/support\/fixDatabase",
"admin\/support\/fixMd5",
"admin\/support\/queryFormTemplate",
"admin\/support\/redis",
"admin\/support\/thirdPartyDisabled",
"front\/system\/completeValidation",
"front\/system\/coppa",
"front\/system\/coppaForm",
"front\/system\/followForm",
"front\/system\/ignoreEditForm",
"front\/system\/ignoreForm",
"front\/system\/ignoreTable",
"front\/system\/invite",
"admin\/system\/login",
"front\/system\/login",
"front\/system\/loginForm",
"front\/system\/myAttachments",
"front\/system\/notificationSettingsIndex",
"front\/system\/notificationSettingsIndexRow",
"front\/system\/notificationSettingsIndexRowDetails",
"front\/system\/notificationSettingsType",
"front\/system\/notificationsTable",
"front\/system\/reauthenticate",
"front\/system\/register",
"front\/system\/searchResult",
"front\/system\/settingsLoginConnect",
"admin\/system\/upgradeSelectVersion",
"front\/tables\/commentRows",
"front\/tables\/rows",
"admin\/tables\/table",
"front\/tables\/table",
"admin\/trees\/row",
"front\/widgets\/activeUsers",
"front\/widgets\/formTemplate",
"front\/widgets\/guestSignUp",
"front\/widgets\/relatedContent",
"front\/widgets\/whosOnline"
],
"removed": [
"global\/embed\/twitch",
"admin\/support\/advice",
"admin\/support\/diagnostics",
"admin\/support\/fixServerTime",
"admin\/support\/support"
]
},
"css": {
"added": [
"admin\/achievements\/achievements.css",
"admin\/core\/compose.css",
"admin\/support\/dashboard.css"
],
"edited": [
"front\/core.css",
"admin\/core\/controlstrip.css",
"admin\/core\/forms.css",
"admin\/core\/global.css",
"admin\/core\/misc.css",
"admin\/core\/treelist.css",
"admin\/core\/trees.css",
"admin\/core\/typography.css",
"global\/framework\/_vars.css",
"global\/framework\/badges.css",
"global\/framework\/blocks.css",
"global\/framework\/buttons.css",
"global\/framework\/compose.css",
"global\/framework\/data-lists.css",
"global\/framework\/engagement.css",
"global\/framework\/fonts.css",
"global\/framework\/forms.css",
"global\/framework\/global.css",
"global\/framework\/layout.css",
"global\/framework\/menus.css",
"global\/framework\/misc.css",
"global\/framework\/popup.css",
"global\/framework\/post-content.css",
"global\/framework\/posts.css",
"global\/framework\/streams.css",
"global\/framework\/tabs.css",
"global\/framework\/typography.css",
"global\/responsive\/buttons.css",
"global\/responsive\/compose.css",
"global\/responsive\/data-lists.css",
"global\/responsive\/global.css",
"global\/responsive\/layout.css",
"global\/responsive\/posts.css",
"front\/styles\/clubs.css",
"front\/styles\/leaderboard.css",
"front\/styles\/notification_settings.css",
"front\/styles\/profiles.css",
"front\/styles\/search.css",
"admin\/system\/menumanager.css",
"admin\/system\/statistics.css"
],
"removed": []
},
"resources": {
"added": [
"global\/default_rank.png"
],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,44 @@
{
"added": [
"header_height",
"header_height_mobile",
"text_very_light"
],
"edited": [
"active_input_border",
"ajax_pagination",
"comment_count",
"comment_count_font",
"enable_fluid_width",
"featured",
"fluid_width_size",
"item_status",
"js_include",
"link",
"link_hover",
"mentions",
"moderated",
"moderated_light",
"moderated_text",
"moderated_text_light",
"notification_bubble",
"post_highlight",
"post_highlight_border",
"prefix",
"rating_on",
"recaptcha_theme",
"recaptcha2_theme",
"rounded_photos",
"section_title",
"sidebar_position",
"sidebar_responsive",
"social_links",
"tab_background",
"tag_font",
"text_light",
"timeline_color",
"widget_title_bar",
"widget_title_font"
],
"removed": []
}
@@ -0,0 +1,436 @@
<?php
/**
* @brief 4.6.0 Beta 1 Upgrade Code
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
* @copyright (c) Invision Power Services, Inc.
* @license https://www.invisioncommunity.com/legal/standards/
* @package Invision Community
* @since 16 Jun 2020
*/
namespace IPS\core\setup\upg_106100;
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
}
/**
* 4.6.0 Beta 1 Upgrade Code
*/
class _Upgrade
{
/**
* ...
*
* @return array If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
*/
public function step1()
{
/* CIC accounts can run these queries fast and it takes more resources to rebuild the index afterwards en-masse */
if ( ! \IPS\CIC )
{
\IPS\Db::i()->delete( 'core_search_index' );
}
$json = <<<JSON
[
{
"method": "changeIndex",
"params": [
"core_search_index",
"item",
{
"type": "key",
"name": "item",
"columns": [
"index_class",
"index_item_id",
"index_is_last_comment"
],
"length": [
250,
null,
null
]
}
]
}
]
JSON;
$queries = json_decode( $json, TRUE );
foreach( $queries as $query )
{
try
{
$run = \call_user_func_array( array( \IPS\Db::i(), $query['method'] ), $query['params'] );
}
catch( \IPS\Db\Exception $e )
{
if( !in_array( $e->getCode(), array( 1007, 1008, 1050, 1060, 1061, 1062, 1091, 1051 ) ) )
{
throw $e;
}
}
}
return TRUE;
}
/**
* Custom title for this step
*
* @return string
*/
public function step1CustomTitle()
{
return "Optimizing search index";
}
/**
* Reset the Emoji cache (we added new emoji support)
*
* @return array If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
*/
public function step2()
{
\IPS\Settings::i()->changeValues( array( 'emoji_cache' => time() ) );
return TRUE;
}
/**
* Custom title for this step
*
* @return string
*/
public function step2CustomTitle()
{
return "Resetting the emoji cache";
}
/**
* Rebuild image proxy in report center comments
*
* @return array If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
*/
public function step3()
{
if( \IPS\Db::i()->select( 'count(*)', 'core_rc_comments', array( \IPS\Db::i()->like( 'comment', 'imageproxy.php' ) ) ) )
{
unset( \IPS\Data\Store::i()->currentImageProxyRebuild );
\IPS\Task::queue( 'core', 'RebuildImageProxyNonContent', array( 'extension' => 'core_Reports' ), 4, array( 'extension' ) );
}
return TRUE;
}
/**
* Custom title for this step
*
* @return string
*/
public function step3CustomTitle()
{
return "Removing image proxy from report center comments";
}
/**
* Generate vapid keys for web push notifications
*
* @return boolean If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
*/
public function step4()
{
/* Generate VAPID keys for web push notifications */
try
{
$vapid = \IPS\Notification::generateVapidKeys();
\IPS\Settings::i()->changeValues( array( 'vapid_public_key' => $vapid['publicKey'], 'vapid_private_key' => $vapid['privateKey'] ) );
}
catch (\Exception $ex)
{
\IPS\Log::log( $ex, 'create_vapid_keys' );
}
return TRUE;
}
/**
* Custom title for this step
*
* @return string
*/
public function step4CustomTitle()
{
return "Generating keys for web push notifications";
}
/**
* Populate new fields in the content_meta table for recommended posts
*
* @return boolean If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
*/
public function step5()
{
$perCycle = 500;
$limit = isset( \IPS\Request::i()->extra ) ? \IPS\Request::i()->extra : 0;
$did = 0;
/* Make sure we have included Application.php files, since Pages has its own autoloader, we need to define it */
\IPS\Application::applications();
foreach( \IPS\Db::i()->select( '*', 'core_content_meta', [ 'meta_type=?', 'core_FeaturedComments' ], 'meta_id ASC', [ $limit, $perCycle ] ) as $row )
{
$did++;
$class = $row['meta_class'];
$data = json_decode( $row['meta_data'], TRUE );
if ( ! empty( $data['comment'] ) )
{
$commentClass = $class::$commentClass;
try
{
$comment = $commentClass::load( $data['comment'] );
\IPS\Db::i()->update( 'core_content_meta', [
'meta_item_author' => $comment->author()->member_id,
'meta_added' => $comment->mapped('date')
],
[ 'meta_id=?', $row['meta_id'] ] );
}
catch( \Exception $e ){ }
}
}
return ( $did ) ? ( $limit + $did ) : TRUE;
}
/**
* Custom title for this step
*
* @return string
*/
public function step5CustomTitle()
{
$limit = isset( \IPS\Request::i()->extra ) ? \IPS\Request::i()->extra : 0;
return "Updating recommended content ({$limit} processed so far)";
}
/**
* Populate new fields in the core_social_promote table for promoted posts
*
* @return boolean If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
*/
public function step6()
{
$perCycle = 500;
$limit = isset( \IPS\Request::i()->extra ) ? \IPS\Request::i()->extra : 0;
$did = 0;
foreach( \IPS\Db::i()->select( '*', 'core_social_promote', NULL, 'promote_id ASC', [ $limit, $perCycle ] ) as $row )
{
$did++;
if ( ! class_exists( $row['promote_class'] ) )
{
continue;
}
try
{
$promote = \IPS\core\Promote::constructFromData( $row );
$promote->author_id = $promote->objectAuthor->member_id;
$promote->save();
}
catch( \Exception $e ){ }
}
return ( $did ) ? ( $limit + $did ) : TRUE;
}
/**
* Custom title for this step
*
* @return string
*/
public function step6CustomTitle()
{
$limit = isset( \IPS\Request::i()->extra ) ? \IPS\Request::i()->extra : 0;
return "Updating promoted content ({$limit} processed so far)";
}
/**
* Set up background tasks for adding extra data to featured columns
*
* @return boolean If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
*/
public function step7()
{
foreach ( \IPS\Application::allExtensions( 'core', 'ContentRouter' ) as $extension )
{
foreach ( $extension->classes as $class )
{
if ( isset( $class::$databaseColumnMap['featured'] ) and isset( $class::$databaseColumnMap['author'] ) )
{
try
{
\IPS\Task::queue( 'core', 'Upgrade46FeaturedContent', array( 'class' => $class ), 2 );
}
catch( \Exception $e ) { }
}
}
}
return TRUE;
}
/**
* Custom title for this step
*
* @return string
*/
public function step7CustomTitle()
{
return "Setting up tasks to update featured content";
}
/**
* Set up background tasks for adding extra data to featured columns
*
* @return boolean If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
*/
public function step8()
{
$core = \IPS\Application::load('core');
/* Manually installed badges are good for recognize system and aren't tied to rules */
\IPS\core\Achievements\Badge::importXml( $core->getApplicationPath() . "/data/achievements/badges.xml" );
if ( $_SESSION['upgrade_options']['core']['106000']["rule_option"] == 'new' )
{
\IPS\core\Achievements\Rule::importXml( $core->getApplicationPath() . "/data/achievements/rules.xml", TRUE );
\IPS\core\Achievements\Rank::importXml( $core->getApplicationPath() . "/data/achievements/ranks.xml", 'wipe' );
}
else
{
//\IPS\Db::i()->update( 'core_member_ranks', [ 'points=posts'] );
\IPS\Db::i()->insert( 'core_achievements_rules', [
'action' => 'core_Comment',
'filters' => NULL,
'milestone' => 0,
'points_subject' => 1,
'points_other' => 0,
'badge_subject' => 0,
'badge_other' => 0,
'enabled' => 1
]);
\IPS\Db::i()->insert( 'core_achievements_rules', [
'action' => 'core_NewContentItem',
'filters' => NULL,
'milestone' => 0,
'points_subject' => 1,
'points_other' => 0,
'badge_subject' => 0,
'badge_other' => 0,
'enabled' => 1
]);
}
return TRUE;
}
/**
* Custom title for this step
*
* @return string
*/
public function step8CustomTitle()
{
return "Setting up ranks";
}
/**
* Set up background tasks for adding extra data to featured columns
*
* @return boolean If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
*/
public function step9()
{
$group = new \IPS\core\ProfileFields\Group;
$group->save();
\IPS\Lang::saveCustom( 'core', "core_pfieldgroups_{$group->id}", 'Retained' );
/* Create the about me profile field */
$memberTitleField = new \IPS\core\ProfileFields\Field;
$memberTitleField->group_id = $group->id;
$memberTitleField->type = "Text";
$memberTitleField->content = NULL;
$memberTitleField->not_null = FALSE;
$memberTitleField->max_input = 255;
$memberTitleField->input_format = NULL;
$memberTitleField->search_type = "loose";
$memberTitleField->format = NULL;
$memberTitleField->admin_only = FALSE;
$memberTitleField->show_on_reg = FALSE;
$memberTitleField->member_edit = FALSE;
$memberTitleField->member_hide = 'hide';
try
{
$memberTitleField->save();
\IPS\Lang::saveCustom( 'core', 'core_pfield_' . $memberTitleField->id, "Member Title" );
\IPS\Lang::saveCustom( 'core', 'core_pfield_' . $memberTitleField->id . '_desc', "" );
$prefix = \IPS\Db::i()->prefix;
\IPS\Db::i()->query( "UPDATE {$prefix}core_pfields_content c INNER JOIN {$prefix}core_members m ON m.member_id=c.member_id SET c.field_" . $memberTitleField->id . "=m.member_title WHERE LENGTH(m.member_title) > 0");
}
catch( \Exception $ex )
{
\IPS\Log::log( $ex, 'upgrade' );
}
return TRUE;
}
/**
* Custom title for this step
*
* @return string
*/
public function step9CustomTitle()
{
return "Preserving member titles";
}
/**
* Finish step
*
* @return array If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
*/
public function finish()
{
if( ! \IPS\CIC AND isset( \IPS\Settings::i()->search_method ) AND \IPS\Settings::i()->search_method == 'mysql' )
{
\IPS\Content\Search\Index::i()->rebuild();
}
/* Enable the onboarding system for those that still have the admincp notification active. */
if( \IPS\core\AdminNotification::find('core', 'ConfigurationError', 'marketplaceSetup') )
{
/* Set onboard complete flag */
\IPS\Settings::i()->changeValues( array( 'mp_onboard_complete' => 0 ) );
}
return TRUE;
}
}
Loaded 100 of 2036 files, more files were not shown because too many files have changed in this diff. Show more