Version 4.7.23

This commit is contained in:
Neo committed 2025-12-19 16:21:27 -08:00
1 parent 7124a02564
commit 25ddeb65d6
1791 files changed
+76990 -44452

No files matched your search

@@ -193,7 +193,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() ),
'where' => array( 'log_date < ? and log_app != ?', \IPS\DateTime::create()->sub( new \DateInterval( 'P365D' ) )->getTimestamp(), 'nexus' ),
'setting' => 'prune_member_history',
), 4 );
}
+1 -34
View File
@@ -30,40 +30,7 @@ class _Upgrade
*/
public function step1()
{
$sendNotification = FALSE;
if ( !$sendNotification and array_filter( array_keys( \IPS\Application::applications() ), function( $k ) { return !\in_array( $k, \IPS\IPS::$ipsApps ); } ) )
{
$sendNotification = TRUE;
}
if ( !$sendNotification and \IPS\Plugin::plugins() )
{
$sendNotification = TRUE;
}
if ( !$sendNotification and array_filter( \IPS\Theme::themes(), function( $t ) { return $t->isCustomized(); } ) )
{
$sendNotification = TRUE;
}
if ( !$sendNotification and \IPS\Db::i()->select( 'COUNT(*)', 'core_sys_lang_words', array( 'word_custom IS NOT NULL AND word_export=1' ) )->first() )
{
$sendNotification = TRUE;
}
if ( $sendNotification )
{
\IPS\core\AdminNotification::send( 'core', 'ConfigurationError', 'marketplaceSetup', FALSE, NULL, TRUE );
}
// Marketplace Removed
return TRUE;
}
/**
* Custom title for this step
*
* @return string
*/
public function step1CustomTitle()
{
return "Checking Marketplace resources";
}
}
@@ -33,33 +33,6 @@ class _Upgrade
return TRUE;
}
/**
* 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()
{
/* Enable the onboarding system for those that still have the admincp notification active. */
if( \IPS\core\AdminNotification::find('core', 'ConfigurationError', 'marketplaceSetup') )
{
/* If the upgrade is from an old version, the settings may not exist yet. */
try
{
\IPS\Db::i()->select( '*', 'core_sys_conf_settings', [ 'conf_key=?', 'mp_onboard_complete' ] )->setKeyField('conf_key')->setValueField('conf_default' )->first();
}
catch( \UnderflowException $e )
{
\IPS\Db::i()->insert( 'core_sys_conf_settings', array( 'conf_key' => 'mp_onboard_complete', 'conf_value' => 0, 'conf_default' => 1, 'conf_app' => 'core' ), TRUE );
}
/* Set onboard complete flag */
\IPS\Settings::i()->changeValues( array( 'mp_onboard_complete' => 0 ) );
}
return TRUE;
}
}
@@ -0,0 +1,23 @@
{
"id": 107713,
"name": "4.7.13",
"steps": {
"queries": false,
"lang": true,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,17 @@
{
"normal": {
"added": [
"block_communityhive_display",
"block_communityhive_admin_message"
],
"edited": [
"block_communityhive_desc"
],
"removed": []
},
"js": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,20 @@
{
"html": {
"added": [],
"edited": [
"front\/global\/follow",
"front\/widgets\/communityhive"
],
"removed": []
},
"css": {
"added": [],
"edited": [],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,23 @@
{
"id": 107714,
"name": "4.7.13",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"id": 107715,
"name": "4.7.13",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"id": 107720,
"name": "4.7.14 Beta 1",
"steps": {
"queries": true,
"lang": true,
"theme": true,
"themeSettings": false,
"javascript": true,
"emailTemplates": true,
"hooks": false,
"acpSearchKeywords": false,
"settings": true,
"tasks": false,
"modules": true,
"widgets": false,
"customOptions": false,
"customRoutines": true
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,7 @@
{
"added": [],
"edited": [
"emailWrapper"
],
"removed": []
}
@@ -0,0 +1,17 @@
{
"files": {
"added": [],
"edited": [],
"removed": [
"core\/admin\/controllers\/marketplace\/ips.marketplace.launcher.js",
"core\/admin\/controllers\/marketplace\/ips.marketplace.onboard.js",
"core\/admin\/controllers\/marketplace\/ips.marketplace.onboardRow.js",
"core\/admin\/controllers\/marketplace\/ips.marketplace.search.js"
]
},
"orders": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,179 @@
{
"normal": {
"added": [
"siteprofilelink_x",
"x_text",
"x_hashtag",
"x_hashtag_desc",
"emailstats__contact_verify"
],
"edited": [
"twitter_publish_exception",
"twitter_publish_no_user",
"download_upgrade_initial_resource_explain",
"download_upgrade_initial_resource_upgrade_custom",
"download_upgrade_initial_resource_upgrade_custom_blurb",
"login_handler_Twitter",
"login_twitter",
"login_twitter_name_real",
"login_twitter_name_screen",
"login_handler_Twitter_info",
"import_twitter_id",
"gbw_no_status_import_desc",
"site_twitter_id",
"site_twitter_id_desc",
"site_twitter_id_placeholder",
"profilesync__Twitter",
"twitter_tweet",
"editor_embeds_desc",
"block_twitter",
"block_twitter_desc",
"twitter_name",
"support_third_party_apps_count",
"support_third_party_plugins_count",
"MFA_core_SecurityQuestions",
"promote_tab_twitter",
"promote_twitter_setup_app",
"promote_twitter_setup_app_desc",
"promote_twitter_setup_button",
"promote_twitter_setup_user",
"promote_twitter_setup_user_desc",
"promote_twitter_owned_by_you",
"promote_twitter_owned_by_user",
"promote_twitter_owned_by_you_blurb",
"promote_twitter_owned_by_user_blurb",
"promote_twitter_remove_settings",
"promote_twitter_remove_settings_other",
"promote_twitter_setup_post",
"promote_twitter_setup_post_desc",
"promote_twitter_tags_desc",
"promote_twitter_tags_method_trim",
"promote_twitter_sorted",
"acplogs__promote_changed_twitter",
"promote_acp_blurb",
"gbw_promote_desc",
"promote_social_content_twitter",
"promote_social_content_twitter_desc",
"promote_social_content_twitter_duplicate_tweet",
"complete_profile_twitter",
"profile_twitter",
"acp_notification_PiiDataRequest",
"acp_notification_AccountDeletion"
],
"removed": [
"marketplace_resource_manual_upgrade",
"download_upgrade_initial_resource_upgrade_updates",
"download_upgrade_initial_resource_upgrade_updates_blurb",
"download_upgrade_initial_resource_upgrade_noupdate",
"download_upgrade_initial_resource_upgrade_noupdate_blurb",
"download_upgrade_initial_resource_upgrade_nocheck",
"download_upgrade_initial_resource_upgrade_nocheck_blurb",
"download_upgrade_initial_resource_upgrade_compatible",
"download_upgrade_initial_resource_upgrade_compatible_blurb",
"siteprofilelink_twitter",
"twitter_text",
"twitter_hashtag",
"twitter_hashtag_desc",
"share_autoshare_Twitter",
"share_autoshare_Twitter_desc",
"share_autoshare_Twitter_disabled",
"auto_share_twitter",
"module__core_marketplace",
"menutab__marketplace_icon",
"menu__core_marketplace",
"menutab__marketplace",
"menu__core_marketplace_marketplace",
"marketplace_removal_verbiage",
"marketplace_removal_verbiage_button",
"marketplace_signin",
"marketplace_signedin_as",
"marketplace_signout",
"marketplace_demo_mode",
"marketplace_localhost_mode",
"marketplace_error_no_lkey",
"marketplace_error",
"marketplace_error_wrong_url",
"marketplace_error_no_resources",
"marketplace_communication_error",
"marketplace_sign_in_required",
"marketplace_cannot_purchase",
"marketplace_inactive_license",
"marketplace_newest_files",
"marketplace_popular_applications",
"marketplace_popular_themes",
"marketplace_popular_languages",
"marketplace_recently_updated",
"marketplace_free",
"marketplace_byline",
"marketplace_card_byline",
"marketplace_file_rating",
"marketplace_renew_now",
"marketplace_renew_now_invoice",
"marketplace_renew_now_invoice_id",
"marketplace_resource_not_purchased",
"marketplace_version_short",
"marketplace_must_sign_in",
"marketplace_resource_information",
"marketplace_file_purchases",
"marketplace_file_downloads",
"marketplace_file_submitted",
"marketplace_file_updated",
"marketplace_changes_version",
"marketplace_previous_changes",
"marketplace_buy_now",
"marketplace_install",
"marketplace_update",
"marketplace_already_installed",
"marketplace_buy_another",
"marketplace_purchasing_disabled",
"marketplace_no_phones",
"marketplace_renew_option",
"marketplace_renew_days",
"marketplace_renew_months",
"marketplace_renew_years",
"marketplace_reviews",
"marketplace_add_review",
"marketplace_install_error",
"marketplace_incompatible_file",
"marketplace_extra_resource",
"marketplace_app_ns_conflict",
"marketplace_plugin_conflict",
"marketplace_tab_description",
"marketplace_tab_support",
"marketplace_terms_and_conditions",
"marketplace_author_terms",
"marketplace_agree_and_proceed",
"marketplace_search_placeholder",
"marketplace_onboard_title",
"marketplace_onboard_blurb",
"marketplace_onboard_notification",
"marketplace_onboard_applications",
"marketplace_onboard_plugins",
"marketplace_onboard_themes",
"marketplace_onboard_languages",
"marketplace_onboard_installed",
"marketplace_onboard_possible",
"marketplace_onboard_match",
"marketplace_onboard_no_match",
"marketplace_onboard_no_results",
"marketplace_onboard_search",
"marketplace_onboard_custom",
"marketplace_onboard_confirmed",
"marketplace_onboard_complete",
"marketplace_onboard_already_complete",
"r__marketplace",
"r__marketplace_manage"
]
},
"js": {
"added": [],
"edited": [],
"removed": [
"marketplace_communication_error_js",
"marketplace_authentication_bad_account",
"marketplace_search",
"marketplace_installing",
"marketplace_updating"
]
}
}
@@ -0,0 +1,7 @@
{
"added": [],
"edited": [],
"removed": [
"admin\/marketplace"
]
}
@@ -0,0 +1,156 @@
{
"1": {
"method": "update",
"params": [
"core_share_links",
{
"share_title": "X",
"share_key": "x"
},
[
"share_key=?",
"twitter"
]
]
},
"2": {
"method": "changeIndex",
"params": [
"core_clubs",
"location_lat",
{
"type": "key",
"name": "location_lat",
"columns": [
"location_lat",
"location_long"
],
"length": [
null,
null
]
}
]
},
"3": {
"method": "addIndex",
"params": [
"core_clubs",
{
"type": "key",
"name": "type",
"columns": [
"type"
],
"length": [
null
]
}
]
},
"4": {
"method": "addIndex",
"params": [
"core_clubs",
{
"type": "key",
"name": "name",
"columns": [
"name"
],
"length": [
250
]
}
]
},
"5": {
"method": "addIndex",
"params": [
"core_clubs",
{
"type": "key",
"name": "content",
"columns": [
"content"
],
"length": [
null
]
}
]
},
"6": {
"method": "addIndex",
"params": [
"core_clubs",
{
"type": "key",
"name": "last_activity",
"columns": [
"last_activity"
],
"length": [
null
]
}
]
},
"7": {
"method": "delete",
"params": [
"core_modules",
[
"sys_module_application=? AND sys_module_key=?",
"core",
"marketplace"
]
]
},
"8": {
"method": "delete",
"params": [
"core_sys_conf_settings",
[
"conf_app=? AND conf_key=?",
"core",
"mp_onboard_complete"
]
]
},
"9": {
"method": "dropTable",
"params": [
"core_marketplace_tokens",
true
]
},
"10": {
"method": "dropColumn",
"params": [
"core_applications",
"app_marketplace_id"
]
},
"11": {
"method": "dropColumn",
"params": [
"core_plugins",
"plugin_marketplace_id"
]
},
"12": {
"method": "dropColumn",
"params": [
"core_themes",
"set_marketplace_id"
]
},
"13": {
"method": "dropColumn",
"params": [
"core_sys_lang",
"lang_marketplace_id"
]
}
}
@@ -0,0 +1,10 @@
{
"added": [
"x_hashtag"
],
"edited": [],
"removed": [
"mp_onboard_complete",
"twitter_hashtag"
]
}
@@ -0,0 +1,50 @@
{
"html": {
"added": [
"front\/sharelinks\/x"
],
"edited": [
"admin\/applications\/appRowAdditional",
"admin\/applications\/pluginVersionData",
"front\/clubs\/directory",
"admin\/customization\/langRowAdditional",
"admin\/customization\/themeRowTitle",
"front\/global\/siteSocialProfiles",
"front\/profile\/allFollowers",
"admin\/support\/thirdPartyItems"
],
"removed": [
"admin\/marketplace\/categoryIndex",
"admin\/marketplace\/customHeader",
"admin\/marketplace\/dashboard",
"admin\/marketplace\/fileCard",
"admin\/marketplace\/fileCardList",
"admin\/marketplace\/fileCardMini",
"admin\/marketplace\/fileChangelogGrid",
"admin\/marketplace\/fileView",
"admin\/marketplace\/onboardRow",
"admin\/marketplace\/onboardSearch",
"admin\/marketplace\/onboardTemplate",
"admin\/marketplace\/removalBanner",
"admin\/marketplace\/termsAndConditions",
"admin\/notifications\/marketplaceSetup",
"front\/sharelinks\/twitter"
]
},
"css": {
"added": [],
"edited": [
"front\/core.css"
],
"removed": [
"admin\/marketplace\/marketplace.css"
]
},
"resources": {
"added": [
"global\/logos\/x.svg"
],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,98 @@
<?php
/**
* @brief 4.7.14 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 18 Sep 2023
*/
namespace IPS\core\setup\upg_107720;
/* 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.7.14 Beta 1 Upgrade Code
*/
class _Upgrade
{
/**
* ...
*
* @return bool|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()
{
\IPS\Member\PrivacyAction::resetDeletionAcpNotifications();
return TRUE;
}
/**
* ...
*
* @return bool|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( 'x_hashtag' => \IPS\Settings::i()->twitter_hashtag ) );
return TRUE;
}
/**
* ...
*
* @return bool|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\Settings::i()->site_social_profiles AND $links = json_decode( \IPS\Settings::i()->site_social_profiles, TRUE ) AND \count( $links ) )
{
$newLinks = [];
/* Loop over the links...if we detect twitter, set the flag that we need to update the site links array */
foreach( $links as $link )
{
if( mb_strpos( $link['value'], 'twitter' ) !== FALSE )
{
$link = [
'key' => (string) \IPS\Http\Url::external( $link['key'] )->setHost('x.com'),
'value' => 'x'
];
}
$newLinks[] = $link;
}
if( \count( $newLinks ) )
{
\IPS\Settings::i()->changeValues( array( 'site_social_profiles' => json_encode( $newLinks ) ) );
}
}
return TRUE;
}
/**
* ...
*
* @return bool|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 step4()
{
\IPS\core\AdminNotification::remove( 'core', 'ConfigurationError', 'marketplaceSetup' );
return TRUE;
}
// You can create as many additional methods (step2, step3, etc.) as is necessary.
// Each step will be executed in a new HTTP request
}
@@ -0,0 +1,23 @@
{
"id": 107721,
"name": "4.7.14 Beta 2",
"steps": {
"queries": false,
"lang": false,
"theme": false,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": true,
"modules": false,
"widgets": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,7 @@
{
"added": [],
"edited": [
"sitemapgenerator"
],
"removed": []
}
@@ -0,0 +1,23 @@
{
"id": 107722,
"name": "4.7.14",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"id": 107723,
"name": "4.7.14",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"id": 107724,
"name": "4.7.14",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,22 @@
{
"html": {
"added": [],
"edited": [
"front\/global\/siteSocialProfiles",
"front\/sharelinks\/x"
],
"removed": []
},
"css": {
"added": [],
"edited": [
"front\/core.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,23 @@
{
"id": 107730,
"name": "4.7.15 Beta 1",
"steps": {
"queries": true,
"lang": true,
"theme": true,
"themeSettings": false,
"javascript": true,
"emailTemplates": true,
"hooks": false,
"acpSearchKeywords": false,
"settings": true,
"tasks": true,
"modules": false,
"widgets": false,
"customOptions": false,
"customRoutines": true
},
"forceMainUpgrader": true,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,7 @@
{
"added": [],
"edited": [
"contact_form"
],
"removed": []
}
@@ -0,0 +1,17 @@
{
"files": {
"added": [],
"edited": [
"global\/framework\/common\/ips.controller.js",
"global\/framework\/common\/ui\/ips.ui.editor.js",
"core\/front\/controllers\/profile\/ips.profile.main.js",
"global\/framework\/templates\/ips.core.templates.js"
],
"removed": []
},
"orders": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,23 @@
{
"normal": {
"added": [
"contact_form_referrer",
"contact_form_referrer_plain",
"grouppromotion_error_group",
"grouppromotion_error_group_desc",
"registration_default_group_info"
],
"edited": [
"block_relatedContent_desc",
"rss_import_invalid"
],
"removed": []
},
"js": {
"added": [
"toggle_quote"
],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,22 @@
{
"1": {
"method": "delete",
"params": [
"core_sys_conf_settings",
[
"conf_app =? and conf_key =?",
"core",
"twitter_hashtag"
]
]
},
"2": {
"method": "update",
"params": [
"core_members",
{
"permission_array": null
}
]
}
}
@@ -0,0 +1,7 @@
{
"added": [],
"edited": [
"manifest_details"
],
"removed": []
}
@@ -0,0 +1,7 @@
{
"added": [
"weeklyCleanup"
],
"edited": [],
"removed": []
}
@@ -0,0 +1,29 @@
{
"html": {
"added": [
"front\/system\/contactFormReferrer"
],
"edited": [
"global\/forms\/editorRaw",
"global\/forms\/text",
"front\/global\/error",
"front\/global\/footer",
"global\/global\/includeMeta",
"front\/global\/thumbImage",
"front\/profile\/allFollowers",
"front\/profile\/hovercard",
"front\/system\/coppaForm"
],
"removed": []
},
"css": {
"added": [],
"edited": [],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,61 @@
<?php
/**
* @brief 4.7.15 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 21 Nov 2023
*/
namespace IPS\core\setup\upg_107730;
/* 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.7.15 Beta 1 Upgrade Code
*/
class _Upgrade
{
/**
* ...
*
* @return bool|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()
{
$group = \IPS\Member\Group::load( \IPS\Settings::i()->guest_group );
$group->g_mod_post_unit = 0;
$group->save();
return TRUE;
}
/**
* Set the cache key
*
* @return true
*/
public function step2()
{
$manifest = json_decode( \IPS\Settings::i()->manifest_details, TRUE );
if( !isset( $manifest['cache_key'] ) )
{
$manifest['cache_key'] = time();
}
\IPS\Settings::i()->changeValues( array( 'manifest_details' => json_encode( $manifest ) ) );
return TRUE;
}
// You can create as many additional methods (step2, step3, etc.) as is necessary.
// Each step will be executed in a new HTTP request
}
@@ -0,0 +1,23 @@
{
"id": 107731,
"name": "4.7.15 Beta 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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"id": 107732,
"name": "4.7.15",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"id": 107733,
"name": "4.7.15",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"id": 107734,
"name": "4.7.15",
"steps": {
"queries": false,
"lang": false,
"theme": false,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": true,
"tasks": false,
"modules": false,
"widgets": false,
"customOptions": false,
"customRoutines": true
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,7 @@
{
"added": [],
"edited": [
"manifest_details"
],
"removed": []
}
@@ -0,0 +1,47 @@
<?php
/**
* @brief 4.7.15 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 07 Feb 2024
*/
namespace IPS\core\setup\upg_107734;
/* 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.7.15 Upgrade Code
*/
class _Upgrade
{
/**
* ...
*
* @return bool|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()
{
$manifest = json_decode( \IPS\Settings::i()->manifest_details, TRUE );
if( !is_array( $manifest ) )
{
$manifest = [];
}
$manifest['cache_key'] = time();
\IPS\Settings::i()->changeValues( array( 'manifest_details' => json_encode( $manifest ) ) );
return TRUE;
}
// You can create as many additional methods (step2, step3, etc.) as is necessary.
// Each step will be executed in a new HTTP request
}
@@ -0,0 +1,23 @@
{
"id": 107740,
"name": "4.7.16 Beta 1",
"steps": {
"queries": false,
"lang": true,
"theme": true,
"themeSettings": false,
"javascript": true,
"emailTemplates": true,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"customOptions": false,
"customRoutines": true
},
"forceMainUpgrader": true,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,7 @@
{
"added": [],
"edited": [
"notification_new_badge"
],
"removed": []
}
@@ -0,0 +1,35 @@
{
"files": {
"added": [
"global\/framework\/common\/utils\/ips.utils.history.js"
],
"edited": [
"global\/framework\/common\/ui\/ips.ui.addressForm.js",
"global\/framework\/common\/ui\/ips.ui.map.js",
"global\/framework\/common\/ui\/ips.ui.tabbar.js",
"core\/front\/controllers\/core\/ips.core.articlePages.js",
"global\/front\/controllers\/core\/ips.core.commentFeed.js",
"core\/global\/controllers\/core\/ips.core.coverPhoto.js",
"core\/global\/controllers\/core\/ips.core.genericTable.js",
"core\/global\/controllers\/core\/ips.core.googlemap.js",
"core\/global\/controllers\/core\/ips.core.table.js",
"core\/front\/controllers\/messages\/ips.messages.list.js",
"core\/front\/controllers\/messages\/ips.messages.main.js",
"core\/front\/controllers\/messages\/ips.messages.view.js",
"core\/front\/controllers\/profile\/ips.profile.main.js",
"core\/front\/controllers\/search\/ips.search.main.js",
"core\/front\/controllers\/streams\/ips.streams.main.js",
"core\/admin\/controllers\/system\/ips.system.themeHookEditor.js"
],
"removed": [
"global\/library\/jquery\/jquery.history.js"
]
},
"orders": {
"added": [],
"edited": [
"global\/\/dev\/js\/\/library\/\/jquery"
],
"removed": []
}
}
@@ -0,0 +1,72 @@
{
"normal": {
"added": [
"embed_comment_unavailable_desc",
"modlog__spammer_flagged_stats",
"modlog__spammer_unflagged_stats",
"modlog__action_hide_stats",
"modlog__action_unhide_stats",
"modlog__action_pin_stats",
"modlog__action_unpin_stats",
"modlog__action_feature_stats",
"modlog__action_unfeature_stats",
"modlog__action_lock_stats",
"modlog__action_unlock_stats",
"modlog__action_publish_stats",
"modlog__action_changeauthor_stats",
"modlog__action_delete_stats",
"modlog__action_delete_perm_stats",
"modlog__action_restore_stats",
"modlog__action_restore_hidden_stats",
"modlog__action_move_stats",
"modlog__action_massmove_stats",
"modlog__action_split_stats",
"modlog__comment_edit_stats",
"modlog__comment_edit_title_stats",
"modlog__comment_delete_stats",
"modlog__action_announceactive_stats",
"modlog__action_announceinactive_stats",
"modlog__action_merge_stats",
"modlog__action_merge_comments_stats",
"modlog__item_edit_stats",
"modlog__message_add_stats",
"modlog__message_edit_stats",
"modlog__message_delete_stats",
"modlog__featured_comment_stats",
"modlog__unfeatured_comment_stats",
"modlog__reaction_delete_stats",
"modlog__comment_reaction_delete_stats",
"modlog__widget_configured_stats",
"modlog__item_follow_removed_stats",
"modlog__poll_opened_stats",
"modlog__poll_closed_stats",
"modlog__poll_autoclose_stats",
"modlog__item_moderation_toggled_stats",
"modlog__action_warn_user_stats",
"modlog__best_answer_set_stats",
"modlog__best_answer_unset_stats",
"modlog__action_update_report_status_stats",
"stats_suspended_title",
"stats_moderators_users",
"stats_moderators_actions",
"stats_moderators_actions_users",
"stats_moderators_actions_groups",
"chart_actions",
"chart_groups",
"mod_stats_lang_key",
"mod_stats_ctime",
"mod_stats_member_id",
"wl_moderator",
"wl_member"
],
"edited": [
"promote_social_content_internal_desc"
],
"removed": []
},
"js": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"html": {
"added": [
"global\/embed\/embedCommentUnavailable",
"admin\/global\/userLinkWithPhoto"
],
"edited": [
"global\/forms\/radio",
"admin\/members\/warningTime",
"admin\/tables\/table"
],
"removed": []
},
"css": {
"added": [],
"edited": [],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,47 @@
<?php
/**
* @brief 4.7.16 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 07 Feb 2024
*/
namespace IPS\core\setup\upg_107740;
/* 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.7.16 Beta 1 Upgrade Code
*/
class _Upgrade
{
/**
* ...
*
* @return bool|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()
{
$manifest = json_decode( \IPS\Settings::i()->manifest_details, TRUE );
if( !is_array( $manifest ) )
{
$manifest = [];
}
$manifest['cache_key'] = time();
\IPS\Settings::i()->changeValues( array( 'manifest_details' => json_encode( $manifest ) ) );
return TRUE;
}
// You can create as many additional methods (step2, step3, etc.) as is necessary.
// Each step will be executed in a new HTTP request
}
@@ -0,0 +1,23 @@
{
"id": 107741,
"name": "4.7.16 Beta 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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": true,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,20 @@
{
"files": {
"added": [],
"edited": [
"global\/library\/app.js",
"global\/framework\/common\/ips.controller.js",
"global\/framework\/common\/ui\/ips.ui.tabbar.js",
"global\/framework\/common\/utils\/ips.utils.history.js",
"core\/global\/controllers\/core\/ips.core.table.js",
"core\/front\/controllers\/profile\/ips.profile.main.js",
"global\/front\/mixins\/ips.core.table.js"
],
"removed": []
},
"orders": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,23 @@
{
"id": 107742,
"name": "4.7.16 Beta 3",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": true,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,14 @@
{
"files": {
"added": [],
"edited": [
"global\/library\/app.js"
],
"removed": []
},
"orders": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,23 @@
{
"id": 107743,
"name": "4.7.16 Beta 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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"id": 107744,
"name": "4.7.16 Beta 5",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": true,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,14 @@
{
"files": {
"added": [],
"edited": [
"global\/admin\/mixins\/ips.core.table.js"
],
"removed": []
},
"orders": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,23 @@
{
"id": 107745,
"name": "4.7.16",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"id": 107746,
"name": "4.7.16",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"id": 107747,
"name": "4.7.16",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"id": 107748,
"name": "4.7.16",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,14 @@
{
"files": {
"added": [],
"edited": [
"core\/global\/controllers\/core\/ips.core.table.js"
],
"removed": []
},
"orders": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,23 @@
{
"id": 107749,
"name": "4.7.16",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,14 @@
{
"files": {
"added": [],
"edited": [
"core\/global\/controllers\/core\/ips.core.table.js"
],
"removed": []
},
"orders": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,23 @@
{
"id": 107750,
"name": "4.7.16",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"id": 107751,
"name": "4.7.16",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"id": 107760,
"name": "4.7.17 Beta 1",
"steps": {
"queries": true,
"lang": true,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": true,
"tasks": false,
"modules": false,
"widgets": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"normal": {
"added": [
"ipb_bruteforce_attempts_title",
"ipb_bruteforce_attempts_block_desc",
"bruteforce_global_attempts_title",
"bruteforce_global_attempts_block_desc",
"bruteforce_global_attempts",
"bruteforce_global_attempts_desc",
"bruteforce_global_period",
"form_image_not_null",
"requirements_php_version_advice_max",
"health_check_downgrade_recommended"
],
"edited": [],
"removed": []
},
"js": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,108 @@
{
"1": {
"method": "createTable",
"params": [
{
"name": "core_login_failures",
"columns": {
"login_id": {
"name": "login_id",
"type": "BIGINT",
"length": "20",
"decimals": null,
"values": null,
"allow_null": false,
"default": 0,
"comment": "ID Number",
"unsigned": true,
"auto_increment": true
},
"login_member_id": {
"name": "login_member_id",
"type": "BIGINT",
"length": null,
"decimals": null,
"values": null,
"allow_null": true,
"default": null,
"comment": "",
"unsigned": false,
"auto_increment": false
},
"login_date": {
"name": "login_date",
"type": "INT",
"length": null,
"decimals": null,
"values": null,
"allow_null": false,
"default": 0,
"comment": "",
"unsigned": false,
"auto_increment": false
},
"login_email": {
"name": "login_email",
"type": "VARCHAR",
"length": 150,
"decimals": null,
"values": null,
"allow_null": true,
"default": null,
"comment": "",
"unsigned": false,
"auto_increment": false
},
"login_ip_address": {
"name": "login_ip_address",
"type": "VARCHAR",
"length": 46,
"decimals": null,
"values": null,
"allow_null": false,
"default": "::1",
"comment": "",
"unsigned": false,
"auto_increment": false
}
},
"indexes": {
"PRIMARY": {
"type": "primary",
"name": "PRIMARY",
"columns": [
"login_id"
],
"length": [
null
]
},
"lookup": {
"type": "key",
"name": "lookup",
"columns": [
"login_date",
"login_ip_address",
"login_member_id"
],
"length": [
null,
null,
null
]
},
"member": {
"type": "key",
"name": "member",
"columns": [
"login_member_id"
],
"length": [
null
]
}
}
}
]
}
}
@@ -0,0 +1,8 @@
{
"added": [
"bruteforce_global_attempts",
"bruteforce_global_period"
],
"edited": [],
"removed": []
}
@@ -0,0 +1,29 @@
{
"html": {
"added": [],
"edited": [
"front\/clubs\/header",
"front\/clubs\/members",
"front\/clubs\/view",
"global\/forms\/autocomplete",
"global\/forms\/codemirror",
"global\/forms\/date",
"global\/forms\/upload",
"global\/global\/includeMeta",
"front\/widgets\/whosOnline"
],
"removed": []
},
"css": {
"added": [],
"edited": [
"global\/framework\/layout.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,23 @@
{
"id": 107761,
"name": "4.7.17 Beta 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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"id": 107762,
"name": "4.7.17 Beta 3",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"id": 107763,
"name": "4.7.17",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"id": 107764,
"name": "4.7.17",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"id": 107765,
"name": "4.7.17",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,9 @@
{
"added": [
"app=core&module=membersettings&controller=profiles&tab=profilesettings&searchResult=nexus_prune_history"
],
"edited": [
"app=core&module=membersettings&controller=profiles&tab=profilesettings&searchResult=prune_member_history"
],
"removed": []
}
@@ -0,0 +1,23 @@
{
"id": 107770,
"name": "4.7.18 Beta 1",
"steps": {
"queries": true,
"lang": true,
"theme": true,
"themeSettings": false,
"javascript": true,
"emailTemplates": true,
"hooks": false,
"acpSearchKeywords": true,
"settings": true,
"tasks": false,
"modules": true,
"widgets": true,
"customOptions": false,
"customRoutines": true
},
"forceMainUpgrader": true,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,10 @@
{
"added": [],
"edited": [
"registration_validate",
"email_change",
"lost_password_init",
"mfaRecovery"
],
"removed": []
}
@@ -0,0 +1,14 @@
{
"files": {
"added": [],
"edited": [
"global\/framework\/controllers\/editor\/ips.editor.censorBlock.js"
],
"removed": []
},
"orders": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,66 @@
{
"normal": {
"added": [
"validate_invalid_security_key",
"lostpass_invalid_security_key",
"api__log_blurb_change",
"api__log_blurb_change_cloud",
"api_log_prune_failures",
"api_log_prune_failures_desc",
"api__log_no_cloud",
"mfa_recovery_verify",
"mfavalidate_invalid_security_key",
"cookie_codeVerifier_description"
],
"edited": [
"prune_member_history_desc",
"api_log_prune",
"cookie_member_id_description",
"cookie_language_description",
"cookie_guestTermsDismissed_description"
],
"removed": [
"api_log_blurb_change",
"menu__core_communityhive",
"menu__core_communityhive_settings",
"enhancements__core_Hive",
"enhancements__core_Hive_desc",
"communityhive_enhancements_configure",
"module__core_hive",
"hive_enable_hive_title",
"hive_enable_hive_blurb",
"hive_community_name",
"hive_community_name_desc",
"hive_email_address",
"hive_email_address_desc",
"hive_choose_content",
"hive_choose_content_blurb",
"hive_content_classes",
"hive_activated_blurb",
"hive_continue_activation",
"hive_subscribe_to_hive",
"hive_subscribe_blurb",
"hive_subscribe_blurb2",
"hive_subscribe_button",
"hive_subscriber_email_address",
"hive_follow_anonymously",
"hive_anonymously_desc",
"hive_anonymous_button",
"hive_privacy_policy",
"hive_link",
"block_communityHiveFollow",
"block_communityHiveFollow_desc",
"block_communityhive",
"block_communityhive_display",
"block_communityhive_desc",
"block_communityhive_follow",
"block_communityhive_follow_short",
"block_communityhive_admin_message"
]
},
"js": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,7 @@
{
"added": [],
"edited": [],
"removed": [
"front\/hive"
]
}
@@ -0,0 +1,82 @@
{
"1": {
"method": "addColumn",
"params": [
"core_validating",
{
"name": "security_key",
"type": "TEXT",
"length": null,
"decimals": null,
"values": null,
"allow_null": true,
"default": null,
"comment": "",
"unsigned": false,
"auto_increment": false
}
]
},
"2": {
"method": "addIndex",
"params": [
"core_api_logs",
{
"type": "key",
"name": "cleanup",
"columns": [
"response_code",
"date"
],
"length": [
null,
null
]
}
]
},
"3": {
"method": "changeIndex",
"params": [
"core_member_history",
"log_date",
{
"type": "key",
"name": "log_date",
"columns": [
"log_date",
"log_app"
],
"length": [
null,
null
]
}
]
},
"4": {
"method": "delete",
"params": [
"core_sys_conf_settings",
"conf_key IN ('hive_enabled', 'hive_key', 'hive_site_id', 'hive_site_key','hive_content')"
]
},
"5": {
"method": "delete",
"params": [
"core_modules",
[
"sys_module_application=? AND sys_module_key=?",
"core",
"hive"
]
]
},
"6": {
"method": "dropTable",
"params": [
"core_hive_subscribers",
true
]
}
}
@@ -0,0 +1,13 @@
{
"added": [
"api_log_prune_failures"
],
"edited": [],
"removed": [
"hive_content",
"hive_enabled",
"hive_key",
"hive_site_id",
"hive_site_key"
]
}
@@ -0,0 +1,32 @@
{
"html": {
"added": [],
"edited": [
"front\/global\/follow",
"front\/search\/hints",
"front\/search\/resultStream",
"front\/system\/followForm"
],
"removed": [
"front\/hive\/follow",
"front\/hive\/followButton",
"front\/hive\/signin",
"admin\/hive\/wrapper",
"front\/widgets\/communityhive"
]
},
"css": {
"added": [],
"edited": [],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": [
"admin\/enhancements\/communityhive.svg",
"front\/hive\/communityhive.svg",
"front\/hive\/logo_on_white_background.png"
]
}
}
@@ -0,0 +1,46 @@
<?php
/**
* @brief 4.7.18 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 02 Jul 2024
*/
namespace IPS\core\setup\upg_107770;
/* 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.7.18 Beta 1 Upgrade Code
*/
class _Upgrade
{
/**
* Remove CommunityHive Widget and orphaned JS files
*
* @return bool|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()
{
$allApps = array_keys(\IPS\Application::applications() );
$where= [];
$where[] = array( \IPS\Db::i()->in( 'javascript_app', $allApps, TRUE ) );
$where[] = ['javascript_plugin=?', ''];
\IPS\Db::i()->delete( 'core_javascript', $where );
\IPS\Widget::deprecateWidget('communityhive', 'core' );
return TRUE;
}
// You can create as many additional methods (step2, step3, etc.) as is necessary.
// Each step will be executed in a new HTTP request
}
@@ -0,0 +1,7 @@
{
"added": [],
"edited": [],
"removed": [
"communityhive"
]
}
@@ -0,0 +1,23 @@
{
"id": 107771,
"name": "4.7.18 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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,19 @@
{
"html": {
"added": [],
"edited": [
"front\/system\/notValidated"
],
"removed": []
},
"css": {
"added": [],
"edited": [],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,23 @@
{
"id": 107772,
"name": "4.7.18 Beta 3",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"id": 107773,
"name": "4.7.18",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"id": 107774,
"name": "4.7.18",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,23 @@
{
"id": 107775,
"name": "4.7.18",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,19 @@
{
"html": {
"added": [],
"edited": [
"front\/global\/cachingLog"
],
"removed": []
},
"css": {
"added": [],
"edited": [],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,9 @@
{
"added": [
"app=core&module=settings&controller=login&tab=settings&searchResult=form_login_after_inactivity_notification"
],
"edited": [
"app=core&module=moderation&controller=reportedContentTypes"
],
"removed": []
}
@@ -0,0 +1,23 @@
{
"id": 107780,
"name": "4.7.19 Beta 1",
"steps": {
"queries": true,
"lang": true,
"theme": true,
"themeSettings": false,
"javascript": true,
"emailTemplates": true,
"hooks": false,
"acpSearchKeywords": true,
"settings": true,
"tasks": true,
"modules": false,
"widgets": false,
"customOptions": false,
"customRoutines": true
},
"forceMainUpgrader": true,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,10 @@
{
"added": [
"notification_report_outcome",
"loginAfterInactivity"
],
"edited": [
"_genericContent"
],
"removed": []
}
@@ -0,0 +1,18 @@
{
"files": {
"added": [],
"edited": [
"global\/framework\/common\/ui\/ips.ui.copy.js",
"global\/framework\/common\/ui\/ips.ui.stack.js",
"global\/front\/controllers\/core\/ips.core.comment.js",
"core\/front\/controllers\/modcp\/ips.modcp.reportToggle.js",
"core\/front\/controllers\/streams\/ips.streams.main.js"
],
"removed": []
},
"orders": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,101 @@
{
"normal": {
"added": [
"login_after_inactivity_notification",
"mailsub__core_loginAfterInactivity",
"login_after_inactivity_email_intro",
"login_after_inactivity_delete_text",
"menu__core_moderation_report",
"manage_automatic_rules",
"moderation_reporttypes_desc",
"reporting_content_blurb",
"report_capture_guest_details",
"report_capture_guest_details_desc",
"report_guest_details_name_mandatory",
"report_guest_details_name_mandatory_desc",
"report_content_mandatory",
"report_content_mandatory_desc",
"mailsub__core_notification_report_outcome",
"report_outcome_email_blurb",
"report_outcome_email_prelude",
"notification__report_outcome",
"report_guest_details_store_days",
"report_guest_details_store_unlimited",
"report_capture_guest_details__warning",
"copy_share_link",
"report_message_placeholder_mandatory",
"filter_report_status_4",
"report_status_4",
"menu_report_status_4",
"report_guest_name",
"report_guest_email",
"report_modcp_change_submission_reason",
"report_type_change_log",
"report_type_changed",
"automaticmod_types_notify_complete",
"automaticmod_types_notify_complete_desc",
"automaticmod_types_notify_reject",
"automaticmod_types_notify_reject_desc",
"notifications__core_Moderation_reports",
"notifications__core_Moderation_reports_desc",
"report_toggle_status_confirm_title",
"report_status_changed",
"deprecation_tracker",
"menu__core_support_v5",
"prepare_v5_title",
"v5_php_ready",
"v5_php_fail",
"v5_php_fail_help",
"v5_mysql_ready",
"v5_mysql_fail",
"v5_mysql_fail_help",
"v5_innodb",
"v5_innodb_fail_help",
"v5_deprecate_help",
"v5_deprecate_status",
"v5_deprecate_login",
"v5_deprecate_display_name_login",
"v5_deprecate_open_tagging",
"v5_deprecate_social_promotes",
"v5_deprecate_core_furls",
"v5_deprecate_classic_sockets",
"v5_deprecate_forums_qa",
"v5_deprecate_cp_directory",
"v5_deprecate_physical",
"v5_deprecate_shipping",
"v5_deprecate_support",
"v5_deprecate_gateways",
"v5_deprecate_easypost",
"v5_deprecate_php_blocks",
"support_v5_ready_blurb",
"seo_reduce_links",
"seo_reduce_links_desc",
"notification_account_del_request_rejected"
],
"edited": [
"r__reportedContent",
"r__reportedContentTypes",
"automaticmoderation_type_desc",
"report_status_3",
"menu_report_status_3",
"promote_twitter_owned_by_user"
],
"removed": [
"sitemap_ping_google_fail",
"sitemap_ping_google_success",
"sitemap_ping_bing_fail",
"sitemap_ping_bing_success",
"sitemap_ping_already24",
"menu__core_moderation_reportedContentTypes"
]
},
"js": {
"added": [
"report_status_change_confirm"
],
"edited": [],
"removed": [
"reportStatusChanged"
]
}
}
@@ -0,0 +1,62 @@
{
"1": {
"method": "addColumn",
"params": [
"core_rc_reports",
{
"name": "guest_name",
"type": "VARCHAR",
"length": 255,
"decimals": null,
"values": null,
"allow_null": true,
"default": null,
"comment": "",
"unsigned": false,
"auto_increment": false
}
]
},
"2": {
"method": "addColumn",
"params": [
"core_rc_reports",
{
"name": "guest_email",
"type": "VARCHAR",
"length": 255,
"decimals": null,
"values": null,
"allow_null": true,
"default": null,
"comment": "",
"unsigned": false,
"auto_increment": false
}
]
},
"3": {
"method": "changeColumn",
"params": [
"core_rc_index",
"status",
{
"name": "status",
"type": "ENUM",
"length": 0,
"decimals": null,
"values": [
"1",
"2",
"3",
"4"
],
"allow_null": false,
"default": "1",
"comment": "1 = New report. 2 = Under Review. 3 = Complete. 4 = Closed.",
"unsigned": false,
"auto_increment": false
}
]
}
}
@@ -0,0 +1,14 @@
{
"added": [
"login_after_inactivity_notification",
"report_capture_guest_details",
"report_content_mandatory",
"report_guest_details_name_mandatory",
"report_guest_details_store_days",
"seo_reduce_links"
],
"edited": [],
"removed": [
"sitemap_last_ping"
]
}
@@ -0,0 +1,9 @@
{
"added": [
"nodeRecounts"
],
"edited": [],
"removed": [
"clearUnconfirmed"
]
}
@@ -0,0 +1,39 @@
{
"html": {
"added": [
"admin\/support\/v5"
],
"edited": [
"global\/forms\/checkbox",
"global\/forms\/rating",
"front\/global\/analytics",
"front\/global\/comment",
"front\/global\/commentContainer",
"global\/global\/rank",
"front\/global\/review",
"front\/global\/reviewContainer",
"front\/global\/sharemenu",
"front\/modcp\/report",
"front\/modcp\/reportListOverview",
"front\/modcp\/reportTableDescription",
"front\/modcp\/reportToggle",
"front\/profile\/profileHeader",
"front\/sharelinks\/shareButton",
"admin\/support\/supportBlockList",
"front\/system\/searchResult"
],
"removed": []
},
"css": {
"added": [],
"edited": [
"admin\/support\/dashboard.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,42 @@
<?php
/**
* @brief 4.7.19 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 09 Sep 2024
*/
namespace IPS\core\setup\upg_107780;
/* 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.7.19 Beta 1 Upgrade Code
*/
class _Upgrade
{
/**
* Remove deprecated settings
*
* @return bool|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()
{
\IPS\Db::i()->delete( 'core_sys_conf_settings', "conf_key IN( 'sitemap_last_ping' )" );
return TRUE;
}
// You can create as many additional methods (step2, step3, etc.) as is necessary.
// Each step will be executed in a new HTTP request
}
@@ -0,0 +1,23 @@
{
"id": 107781,
"name": "4.7.19 Beta 2",
"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,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,7 @@
{
"added": [
"notification_report_content_author"
],
"edited": [],
"removed": []
}
Loaded 100 of 1791 files, more files were not shown because too many files have changed in this diff. Show more