Version 4.7.13
This commit is contained in:
1 parent
fd22d99e69
commit
7124a02564
954 files changed
+29277
-59308
No files matched your search
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"added": [
|
||||
"app=core&module=members&controller=privacy",
|
||||
"app=core&module=overview&controller=notifications&do=settings",
|
||||
"app=core&module=overview&controller=mycharts",
|
||||
"app=core&module=settings&controller=terms&searchResult=form_cookie_3rdpartynotice"
|
||||
],
|
||||
"edited": [
|
||||
"app=core&module=settings&controller=terms"
|
||||
],
|
||||
"removed": []
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"id": 107690,
|
||||
"name": "4.7.11 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": false,
|
||||
"customOptions": false,
|
||||
"customRoutines": true
|
||||
},
|
||||
"forceMainUpgrader": true,
|
||||
"forceManualDownloadNoCiC": false,
|
||||
"forceManualDownloadCiC": false
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"added": [
|
||||
"notification_pii_data",
|
||||
"account_deletion_confirmation",
|
||||
"notification_pii_data_rejected",
|
||||
"notification_account_del_request_rejected"
|
||||
],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"files": {
|
||||
"added": [
|
||||
"core\/front\/controllers\/core\/ips.core.cookiepage.js"
|
||||
],
|
||||
"edited": [
|
||||
"global\/framework\/common\/utils\/ips.utils.cookie.js",
|
||||
"global\/admin\/controllers\/core\/ips.core.dynamicChart.js",
|
||||
"core\/front\/controllers\/core\/ips.core.guestTerms.js"
|
||||
],
|
||||
"removed": []
|
||||
},
|
||||
"orders": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"normal": {
|
||||
"added": [
|
||||
"reject",
|
||||
"mailsub__core_notification_account_del_request_rejected",
|
||||
"tags_alphabetical",
|
||||
"pf_contains_pii",
|
||||
"pf_contains_pii_desc",
|
||||
"stats_keywords_prune_desc",
|
||||
"no_keywords_to_rebuild",
|
||||
"acplog__statskeywords_rebuilt",
|
||||
"rebuilding_keywords",
|
||||
"keywords_usage_over_time",
|
||||
"keywords_usage_list",
|
||||
"accept_cookies",
|
||||
"analytics_and_stats",
|
||||
"cookie_3rdpartynotice",
|
||||
"cookie_3rdpartynotice_desc",
|
||||
"terms_cookies",
|
||||
"cookieconstent_reject",
|
||||
"cookies_optional_desc",
|
||||
"cookie_oauth_authorize_description",
|
||||
"cookie_referred_by_description",
|
||||
"cookie_login_key_description",
|
||||
"cookie_clearAutosave_description",
|
||||
"cookie_lastSearch_description",
|
||||
"cookie_device_key_description",
|
||||
"cookie_cookie_consent_description",
|
||||
"cookie_member_id_description",
|
||||
"cookie_loggedIn_description",
|
||||
"cookie_IPSSessionFront_description",
|
||||
"cookie_noCache_description",
|
||||
"ext__Statistics",
|
||||
"menu__core_overview_mycharts",
|
||||
"mycharts_blurb",
|
||||
"save_chart",
|
||||
"save_chart_desc",
|
||||
"mychart_remove",
|
||||
"active_members",
|
||||
"popular_days",
|
||||
"top_reacted",
|
||||
"pii_data_request",
|
||||
"pii_requested",
|
||||
"pii_data_request_desc",
|
||||
"download_pii_data",
|
||||
"download_pii_data_request",
|
||||
"pii_download_requested",
|
||||
"menu__core_members_privacy",
|
||||
"request_date",
|
||||
"acplog__piirequest_approved",
|
||||
"acplog__piirequest_rejected",
|
||||
"pii_data_request_adminnotification",
|
||||
"notifications__core_PiiDataRequest",
|
||||
"notifications__core_pii_data_request",
|
||||
"notifications__core_pii_data_request_desc",
|
||||
"notifications__core_pii_data_request_rejected",
|
||||
"notifications__core_pii_data_request_rejected_desc",
|
||||
"notifications__core_account_deletion_rejected",
|
||||
"notifications__core_account_deletion_rejected__desc",
|
||||
"mailsub__core_notification_pii_data",
|
||||
"mailsub__core_notification_pii_data_rejected",
|
||||
"pii_data_request_pending",
|
||||
"account_deletion",
|
||||
"account_deletion_desc",
|
||||
"request_account_deletion",
|
||||
"email_notification_pii_data",
|
||||
"email_notification_pii_data_rejected",
|
||||
"pii_data_request_rejected",
|
||||
"account_deletion_requested",
|
||||
"account_del_request_rejected",
|
||||
"email_account_del_request_rejected",
|
||||
"deletion_request",
|
||||
"pii_data",
|
||||
"account_deletion_pending",
|
||||
"account_deletion_request_adminnotification",
|
||||
"cookies_optional",
|
||||
"pii_request_rejected",
|
||||
"pii_data_ready_notification",
|
||||
"history_account_deletion_request",
|
||||
"history_pii_data_request",
|
||||
"mailsub__core_account_deletion_confirmation",
|
||||
"email_account_deletion_confirm",
|
||||
"email_account_delete_link",
|
||||
"email_account_delete_warning",
|
||||
"account_deletion_cancelled",
|
||||
"account_deletion_confirmed",
|
||||
"emailstats__account_deletion_confirmation",
|
||||
"emailstats__notification_pii_data_rejected",
|
||||
"emailstats__notification_pii_data",
|
||||
"delete_member_confirm",
|
||||
"acp_notification_PiiDataRequest",
|
||||
"acp_notification_AccountDeletion"
|
||||
],
|
||||
"edited": [
|
||||
"login_handler_InvisionCommunity_info",
|
||||
"guest_terms_bar",
|
||||
"guest_terms_bar_text_desc",
|
||||
"cookies_standard"
|
||||
],
|
||||
"removed": [
|
||||
"giphy_custom_apikey",
|
||||
"giphy_custom_apikey_desc",
|
||||
"giphy_custom_apikey_default",
|
||||
"giphy_custom_apikey_custom",
|
||||
"guest_terms_close"
|
||||
]
|
||||
},
|
||||
"js": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"added": [],
|
||||
"edited": [
|
||||
"admin\/smartcommunity"
|
||||
],
|
||||
"removed": []
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
/**
|
||||
* @brief Upgrader: Giphy Default Key deprecation
|
||||
* @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 2 June 2023
|
||||
*/
|
||||
if( \IPS\Settings::i()->giphy_enabled AND \IPS\Settings::i()->giphy_apikey == 'N74I5NtWXp00t2lOwOQn3XunASrJ9wLV')
|
||||
{
|
||||
$message = "The Giphy Default Key setting has been deprecated. Please visit the Giphy API page to obtain a new key.";
|
||||
$message = \IPS\Theme::i()->getTemplate( 'global' )->block( NULL, $message );
|
||||
}
|
||||
@@ -0,0 +1,116 @@
|
||||
{
|
||||
"1": {
|
||||
"method": "createTable",
|
||||
"params": [
|
||||
{
|
||||
"name": "core_member_privacy_actions",
|
||||
"columns": {
|
||||
"id": {
|
||||
"name": "id",
|
||||
"type": "BIGINT",
|
||||
"length": "20",
|
||||
"unsigned": true,
|
||||
"allow_null": false,
|
||||
"default": null,
|
||||
"auto_increment": true,
|
||||
"comment": "ID Number"
|
||||
},
|
||||
"member_id": {
|
||||
"name": "member_id",
|
||||
"type": "BIGINT",
|
||||
"length": null,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": false,
|
||||
"default": 0,
|
||||
"comment": "",
|
||||
"unsigned": false,
|
||||
"auto_increment": false
|
||||
},
|
||||
"request_date": {
|
||||
"name": "request_date",
|
||||
"type": "INT",
|
||||
"length": null,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": false,
|
||||
"default": 0,
|
||||
"comment": "",
|
||||
"unsigned": false,
|
||||
"auto_increment": false
|
||||
},
|
||||
"approved": {
|
||||
"name": "approved",
|
||||
"type": "INT",
|
||||
"length": null,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": true,
|
||||
"default": "0",
|
||||
"comment": "",
|
||||
"unsigned": false,
|
||||
"auto_increment": false
|
||||
},
|
||||
"action": {
|
||||
"name": "action",
|
||||
"type": "ENUM",
|
||||
"length": 0,
|
||||
"decimals": null,
|
||||
"values": [
|
||||
"pii_download",
|
||||
"delete_account",
|
||||
"delete_account_validation"
|
||||
],
|
||||
"allow_null": false,
|
||||
"default": null,
|
||||
"comment": "",
|
||||
"unsigned": false,
|
||||
"auto_increment": false
|
||||
},
|
||||
"vkey": {
|
||||
"name": "vkey",
|
||||
"type": "VARCHAR",
|
||||
"length": 32,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": true,
|
||||
"default": null,
|
||||
"comment": "",
|
||||
"unsigned": false,
|
||||
"auto_increment": false
|
||||
}
|
||||
},
|
||||
"indexes": {
|
||||
"PRIMARY": {
|
||||
"type": "primary",
|
||||
"name": "PRIMARY",
|
||||
"columns": [
|
||||
"id"
|
||||
],
|
||||
"length": [
|
||||
null
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"2": {
|
||||
"method": "addColumn",
|
||||
"params": [
|
||||
"core_pfields_data",
|
||||
{
|
||||
"name": "pf_contains_pii",
|
||||
"type": "TINYINT",
|
||||
"length": null,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": false,
|
||||
"default": 0,
|
||||
"comment": "Can be used to use it while the pii data export",
|
||||
"unsigned": false,
|
||||
"auto_increment": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"added": [
|
||||
"acp_menu_cookie_rebuild",
|
||||
"tags_alphabetical"
|
||||
],
|
||||
"edited": [],
|
||||
"removed": [
|
||||
"giphy_apikey_default"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"html": {
|
||||
"added": [
|
||||
"front\/global\/analytics",
|
||||
"front\/global\/modLog",
|
||||
"admin\/notifications\/accountDeletionRequest",
|
||||
"admin\/notifications\/piiRequest",
|
||||
"admin\/stats\/mycharts",
|
||||
"admin\/stats\/mychartsEmpty",
|
||||
"front\/system\/analyticsItemLink",
|
||||
"front\/system\/settingsPrivacy"
|
||||
],
|
||||
"edited": [
|
||||
"global\/global\/dynamicChart",
|
||||
"front\/global\/footer",
|
||||
"front\/global\/globalTemplate",
|
||||
"front\/global\/guestTermsBar",
|
||||
"global\/global\/includeJS",
|
||||
"front\/moderationLog\/table",
|
||||
"front\/system\/cookies",
|
||||
"front\/system\/searchResultSnippet",
|
||||
"front\/widgets\/relatedContent"
|
||||
],
|
||||
"removed": []
|
||||
},
|
||||
"css": {
|
||||
"added": [],
|
||||
"edited": [
|
||||
"admin\/core\/badges.css",
|
||||
"global\/framework\/engagement.css",
|
||||
"global\/framework\/layout.css"
|
||||
],
|
||||
"removed": []
|
||||
},
|
||||
"resources": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
/**
|
||||
* @brief 4.7.11 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 31 May 2023
|
||||
*/
|
||||
|
||||
namespace IPS\core\setup\upg_107690;
|
||||
|
||||
/* 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.11 Beta 1 Upgrade Code
|
||||
*/
|
||||
class _Upgrade
|
||||
{
|
||||
/**
|
||||
* Charts Menu
|
||||
*
|
||||
* @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()
|
||||
{
|
||||
/* Try and make sure My Charts is added to the top of the stats menu */
|
||||
foreach( \IPS\Db::i()->select( '*', 'core_acp_tab_order' ) AS $order )
|
||||
{
|
||||
$data = json_decode( $order['data'], true );
|
||||
|
||||
if ( isset( $data['stats'] ) )
|
||||
{
|
||||
foreach( $data['stats'] AS $k => $v )
|
||||
{
|
||||
if ( $v === '' OR $v === 'core_overview' )
|
||||
{
|
||||
unset( $data['stats'][ $k ] );
|
||||
}
|
||||
}
|
||||
|
||||
array_unshift( $data['stats'], '', 'core_overview' ); // This looks weird but each entry in the order has a blank entry at the beginning, so preserve that.
|
||||
}
|
||||
|
||||
\IPS\Db::i()->update( 'core_acp_tab_order', array( 'data' => json_encode( $data ) ), array( "`id`=?", $order['id'] ) );
|
||||
}
|
||||
|
||||
/* Set a flag to force ACP order cookies to be reset */
|
||||
/* The setting won't have been inserted yet at this point */
|
||||
\IPS\Db::i()->replace( 'core_sys_conf_settings', array(
|
||||
'conf_key' => 'acp_menu_cookie_rebuild',
|
||||
'conf_value' => '1',
|
||||
'conf_default' => '0',
|
||||
'conf_app' => '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
|
||||
}
|
||||
Reference in new issue
Block a user