Version 5.0.13

This commit is contained in:
Neo committed 2025-12-19 19:04:57 -08:00
1 parent b89858b2ff
commit 5efe744c5f
1407 files changed
+69690 -30177

No files matched your search

@@ -0,0 +1,16 @@
{
"added": [
"app=core&module=clubs&controller=templates",
"app=core&module=moderation&controller=report",
"app=core&module=overview&controller=mycharts&do=communityhealth"
],
"edited": [
"app=core&module=activitystats&controller=overview",
"app=core&module=applications&controller=enhancements",
"app=core&module=applications&controller=enhancements&do=edit&id=core_Postmark",
"app=core&module=moderation&controller=reportedContentTypes"
],
"removed": [
"app=core&module=settings&controller=webapp&searchResult=manifest_display"
]
}
@@ -0,0 +1,22 @@
{
"id": 5000906,
"name": "5.0.10 Beta 1",
"steps": {
"queries": true,
"lang": true,
"theme": true,
"themeeditor": false,
"javascript": true,
"emailTemplates": true,
"acpSearchKeywords": true,
"settings": true,
"tasks": false,
"modules": false,
"widgets": false,
"customOptions": false,
"customRoutines": true
},
"forceMainUpgrader": true,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,7 @@
{
"added": [],
"edited": [
"warning"
],
"removed": []
}
@@ -0,0 +1,40 @@
{
"files": {
"added": [
"global\/framework\/common\/components\/card.js",
"global\/framework\/common\/components\/dropdown.js",
"global\/framework\/common\/components\/pulltorefresh.js",
"global\/framework\/common\/components\/pushNotificationsPrompt.js",
"global\/framework\/common\/components\/pwaInstall.js",
"global\/framework\/common\/components\/pwaLoading.js",
"global\/framework\/common\/components\/themeEditor.js",
"global\/framework\/common\/ui\/ips.ui.pullToRefresh.js",
"global\/framework\/common\/ui\/ips.ui.pwaLoading.js",
"global\/framework\/common\/ui\/ips.ui.webcomponents.js",
"core\/front\/controllers\/core\/ips.core.notificationsMenu.js"
],
"edited": [
"global\/library\/app.js",
"global\/framework\/common\/ui\/ips.ui.autocomplete.js",
"global\/framework\/common\/ui\/ips.ui.form.js",
"global\/framework\/common\/ui\/ips.ui.js",
"global\/framework\/common\/utils\/ips.utils.db.js",
"global\/framework\/common\/utils\/ips.utils.notification.js",
"core\/front\/controllers\/clubs\/ips.clubs.navbar.js",
"global\/front\/controllers\/core\/ips.core.app.js",
"core\/front\/controllers\/core\/ips.core.followForm.js",
"global\/front\/controllers\/core\/ips.core.userbar.js",
"core\/global\/controllers\/customization\/ips.customization.visualLang.js",
"core\/front\/controllers\/modcp\/ips.modcp.reportToggle.js",
"core\/front\/controllers\/system\/ips.system.notificationSettings.js",
"core\/front\/controllers\/widgets\/ips.widgets.manager.js",
"global\/framework\/templates\/ips.core.templates.js"
],
"removed": []
},
"orders": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,104 @@
{
"normal": {
"added": [
"pwa_banner_title",
"pwa_banner_desc",
"pwa_banner_learn",
"pwa_banner_dismiss",
"pwa_popover_desc",
"pwa_popover_ios_title",
"pwa_popover_ios_1",
"pwa_popover_ios_2",
"pwa_popover_ios_3",
"pwa_popover_android_1",
"pwa_popover_android_2",
"pwa_popover_android_3",
"pwa_popover_android_title",
"dropdown_close",
"moderator_actions",
"open_in_new_tab",
"ad_view_type",
"ad_view_type__interval",
"ad_view_type__fixed",
"ad_view_position",
"achievements_title_filter_clubs",
"achievements_title_filter_members",
"achievement_filter_JoinClub_club",
"achievement_filter_JoinClub_club_prefix",
"achievement_filter_JoinClub_club_title_pl",
"achievement_filter_FollowMember_member",
"achievement_filter_FollowMember_member_prefix",
"achievement_filter_FollowMember_member_title",
"achievement_filter_FollowMember_member_title_pl",
"webhook_api_key",
"clubs_templates",
"template_node_class",
"mennu__core_clubs_templates",
"template_template_name",
"clubtemplates_leader_edit",
"clubtemplates_leader_edit_desc",
"mobile_enable_push_button",
"mobile_push_enabled_thanks",
"mobile_push_learn_disable",
"mobile_push_rejected_button",
"mobile_enable_header",
"mobile_enable_chrome",
"mobile_enable_safari",
"mobile_enable_edge",
"mobile_enable_firefox",
"mobile_enable_chrome_android",
"mobile_enable_chrome_desktop",
"mobile_enable_chrome_android_desc",
"mobile_enable_chrome_desktop_desc",
"mobile_enable_safari_ios",
"mobile_enable_safari_macos",
"mobile_enable_safari_ios_desc",
"mobile_enable_safari_macos_desc",
"mobile_enable_edge_android",
"mobile_enable_edge_desktop",
"mobile_enable_edge_android_desc",
"mobile_enable_edge_desktop_desc",
"mobile_enable_firefox_android",
"mobile_enable_firefox_desktop",
"mobile_enable_firefox_android_desc",
"mobile_enable_firefox_desktop_desc",
"webhook_content_assigned",
"webhook_content_unassigned",
"webhook_content_reported",
"webhook_content_followed",
"webhook_content_unfollowed",
"webhook_member_flagged_as_spammer",
"webhook_member_unflagged_as_spammer",
"webhook_ban_filter_added",
"webhook_ban_filter_removed",
"member_ban_state_changed",
"webhook_response_log",
"__api_core_tags"
],
"edited": [
"ftp_err_no_ext",
"ftp_err_no_ssl",
"ftp_err_no_sftp",
"automaticmoderation_disabled_blurb"
],
"removed": [
"manifest_display",
"manifest_fullscreen",
"manifest_fullscreen_desc",
"manifest_standalone",
"manifest_standalone_desc",
"manifest_minimalui",
"manifest_minimalui_desc",
"manifest_browser",
"manifest_browser_desc",
"cookie_theme_editor_vars_description"
]
},
"js": {
"added": [],
"edited": [],
"removed": [
"notificationsUpgradeBlurb"
]
}
}
@@ -0,0 +1,302 @@
{
"1": {
"method": "addColumn",
"params": [
"core_custom_badges",
{
"name": "extra",
"type": "VARCHAR",
"length": 100,
"decimals": null,
"values": null,
"allow_null": true,
"default": null,
"comment": "",
"unsigned": false,
"auto_increment": false
}
]
},
"2": {
"method": "changeColumn",
"params": [
"core_custom_badges",
"extra",
{
"name": "extra",
"type": "VARCHAR",
"length": 100,
"decimals": null,
"values": null,
"allow_null": true,
"default": null,
"comment": "Extra identifier for objects that use multiple badges",
"unsigned": false,
"auto_increment": false
}
]
},
"3": {
"method": "changeIndex",
"params": [
"core_custom_badges",
"record_id",
{
"type": "unique",
"name": "record_id",
"columns": [
"active_record_id",
"class",
"extra"
],
"length": [
null,
250,
null
]
}
]
},
"4": {
"method": "addColumn",
"params": [
"core_groups",
{
"name": "g_quest_join",
"type": "TINYINT",
"length": null,
"decimals": null,
"values": null,
"allow_null": true,
"default": "0",
"comment": "",
"unsigned": false,
"auto_increment": false
}
]
},
"5": {
"method": "addColumn",
"params": [
"core_groups",
{
"name": "g_quest_moderate",
"type": "TINYINT",
"length": null,
"decimals": null,
"values": null,
"allow_null": true,
"default": "0",
"comment": "",
"unsigned": false,
"auto_increment": false
}
]
},
"6": {
"method": "addColumn",
"params": [
"core_groups",
{
"name": "g_quest_view",
"type": "TINYINT",
"length": null,
"decimals": null,
"values": null,
"allow_null": true,
"default": "0",
"comment": "",
"unsigned": false,
"auto_increment": false
}
]
},
"7": {
"method": "createTable",
"params": [
{
"name": "core_theme_editor_sessions",
"columns": {
"member_id": {
"name": "member_id",
"type": "BIGINT",
"length": null,
"decimals": null,
"values": null,
"allow_null": false,
"default": null,
"comment": "",
"unsigned": true,
"auto_increment": false
},
"data": {
"name": "data",
"type": "TEXT",
"length": null,
"decimals": null,
"values": null,
"allow_null": true,
"default": null,
"comment": "",
"unsigned": false,
"auto_increment": false
},
"custom_css": {
"name": "custom_css",
"type": "MEDIUMTEXT",
"length": null,
"decimals": null,
"values": null,
"allow_null": true,
"default": null,
"comment": "",
"unsigned": false,
"auto_increment": false
},
"set_id": {
"name": "set_id",
"type": "BIGINT",
"length": null,
"decimals": null,
"values": null,
"allow_null": false,
"default": "0",
"comment": "",
"unsigned": true,
"auto_increment": false
}
},
"indexes": {
"PRIMARY": {
"type": "primary",
"name": "PRIMARY",
"columns": [
"member_id",
"set_id"
],
"length": [
null,
null
]
}
}
}
]
},
"8": {
"method": "createTable",
"params": [
{
"name": "core_clubs_templates",
"columns": {
"template_id": {
"name": "template_id",
"type": "BIGINT",
"length": "20",
"decimals": null,
"values": null,
"allow_null": false,
"default": 0,
"comment": "ID Number",
"unsigned": true,
"auto_increment": true
},
"template_name": {
"name": "template_name",
"type": "VARCHAR",
"length": 255,
"decimals": null,
"values": null,
"allow_null": true,
"default": null,
"comment": "",
"unsigned": false,
"auto_increment": false
},
"template_position": {
"name": "template_position",
"type": "SMALLINT",
"length": null,
"decimals": null,
"values": null,
"allow_null": true,
"default": null,
"comment": "",
"unsigned": true,
"auto_increment": false
},
"template_node_class": {
"name": "template_node_class",
"type": "VARCHAR",
"length": 255,
"decimals": null,
"values": null,
"allow_null": false,
"default": null,
"comment": "",
"unsigned": false,
"auto_increment": false
},
"template_node_data": {
"name": "template_node_data",
"type": "TEXT",
"length": null,
"decimals": null,
"values": null,
"allow_null": true,
"default": null,
"comment": "",
"unsigned": false,
"auto_increment": false
}
},
"indexes": {
"PRIMARY": {
"type": "primary",
"name": "PRIMARY",
"columns": [
"template_id"
],
"length": [
null
]
}
}
}
]
},
"9": {
"method": "addColumn",
"params": [
"core_clubs_node_map",
{
"name": "template_id",
"type": "BIGINT",
"length": null,
"decimals": null,
"values": null,
"allow_null": true,
"default": "0",
"comment": "",
"unsigned": true,
"auto_increment": false
}
]
},
"10": {
"method": "addIndex",
"params": [
"core_clubs_node_map",
{
"type": "key",
"name": "template_id",
"columns": [
"template_id"
],
"length": [
null
]
}
]
}
}
@@ -0,0 +1,19 @@
{
"added": [],
"edited": [],
"removed": [
"base_url_stored",
"board_slogan",
"countries_block",
"countries_moderate",
"editor_embeds",
"ipb_copy_number",
"ips_cp_purchase",
"itunes_affiliate_string",
"promote_groups",
"promote_members",
"remote_image_cache",
"sixty_second_emails",
"spm_notify"
]
}
@@ -0,0 +1,67 @@
{
"html": {
"added": [
"front\/global\/pwaInstall",
"front\/global\/pwaRefresh",
"front\/system\/pushNotificationInstructionsCard"
],
"edited": [
"admin\/achievements\/badgePreview",
"admin\/achievements\/rulesForm",
"front\/clubs\/view",
"admin\/customization\/mediaFileListing",
"front\/global\/analytics",
"front\/global\/globalTemplate",
"global\/global\/includeCSS",
"global\/global\/includeJS",
"front\/global\/mobileFooterBar",
"front\/global\/mobileNavHeader",
"front\/global\/userBar",
"front\/global\/userMenuAchievements",
"front\/global\/userMenuLink",
"front\/popular\/popularWrapper",
"front\/promote\/promotePublicTableRow",
"front\/system\/followForm",
"front\/system\/notificationsAjax",
"front\/system\/notificationSettingsIndex",
"front\/system\/settings",
"front\/tags\/contentTableRows",
"front\/tags\/pinnedItem",
"front\/themeeditor\/themeEditorTemplate",
"front\/widgets\/mostContributions",
"front\/widgets\/tagRows"
],
"removed": []
},
"css": {
"added": [
"global\/framework\/3-card.css",
"global\/framework\/3-dropdown.css",
"global\/framework\/3-pwa-install.css"
],
"edited": [
"global\/framework\/1-1-reset.css",
"global\/framework\/1-3-variables.css",
"global\/framework\/1-5-global.css",
"global\/framework\/3-data-tables.css",
"global\/framework\/3-editor.css",
"global\/framework\/3-messages.css",
"global\/framework\/3-page-header.css",
"global\/framework\/3-popup.css",
"global\/framework\/3-post-content.css",
"global\/framework\/3-richtext.css",
"global\/framework\/3-tables.css",
"global\/framework\/3-tabs.css",
"global\/framework\/4-header.css",
"global\/framework\/4-mobile-footer.css",
"global\/framework\/4-offcanvas.css",
"front\/styles\/theme_editor.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,67 @@
<?php
/**
* @brief 5.0.10 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 01 Jul 2025
*/
namespace IPS\core\setup\upg_5000906;
use IPS\Application;
use IPS\Db;
use function defined;
use function file_get_contents;
use function json_decode;
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( $_SERVER['SERVER_PROTOCOL'] ?? 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
}
/**
* 5.0.10 Beta 1 Upgrade Code
*/
class Upgrade
{
/**
* We moved app-specific columns in core_groups to the core schema.
* Sync the table so that all columns are present, regardless of
* whether the app is installed.
* @see \IPS\core\modules\admin\developer\schema::resolveSchemaConflicts()
*
* @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() : bool|array
{
$schema = json_decode( file_get_contents( Application::getRootPath( 'core' ) . '/applications/core/data/schema.json' ), true );
$schemaDefinition = $schema['core_groups'];
foreach( $schemaDefinition['columns'] as $column )
{
if ( ! Db::i()->checkForColumn( $schemaDefinition['name'], $column['name'] ) )
{
try
{
Db::i()->addColumn( $schemaDefinition['name'], $column );
}
catch( \Exception $e )
{
/* Something went wrong (classic..) but the database sync at the end of the upgrade should get it,
if not the support tool will nag about it. Either way, blocking the upgrade at this point with no way to recover it
would suck a lot. */
}
}
}
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
}