Version 4.7.23
This commit is contained in:
1 parent
7124a02564
commit
25ddeb65d6
1791 files changed
+76990
-44452
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user