Version 5.0.0 beta 2
This commit is contained in:
1 parent
15c7beabc5
commit
f61b0da85d
181 files changed
+3182
-1533
No files matched your search
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"id": 5000027,
|
||||
"name": "5.0.0 Beta 2",
|
||||
"steps": {
|
||||
"queries": false,
|
||||
"lang": true,
|
||||
"theme": true,
|
||||
"themeeditor": true,
|
||||
"javascript": true,
|
||||
"emailTemplates": false,
|
||||
"acpSearchKeywords": false,
|
||||
"settings": true,
|
||||
"tasks": false,
|
||||
"modules": false,
|
||||
"widgets": false,
|
||||
"customOptions": false,
|
||||
"customRoutines": true
|
||||
},
|
||||
"forceMainUpgrader": true,
|
||||
"forceManualDownloadNoCiC": false,
|
||||
"forceManualDownloadCiC": false
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"files": {
|
||||
"added": [
|
||||
"global\/framework\/common\/utils\/ips.utils.fileDownload.js"
|
||||
],
|
||||
"edited": [
|
||||
"global\/framework\/common\/ui\/ips.ui.dialog.js",
|
||||
"global\/framework\/common\/ui\/ips.ui.editorv5.js",
|
||||
"global\/framework\/common\/utils\/ips.utils.iconpicker.js",
|
||||
"core\/front\/controllers\/core\/ips.core.onlineUsersWidget.js",
|
||||
"global\/admin\/templates\/ips.core.templates.js",
|
||||
"global\/framework\/templates\/ips.core.templates.js"
|
||||
],
|
||||
"removed": [
|
||||
"global\/framework\/common\/ui\/ips.ui.toggle.js"
|
||||
]
|
||||
},
|
||||
"orders": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"normal": {
|
||||
"added": [
|
||||
"notification_account_del_request_rejected",
|
||||
"theme_editor_custom_css_done",
|
||||
"theme_editor_custom_css_revert",
|
||||
"theme_editor_lightness",
|
||||
"theme_editor_chroma",
|
||||
"theme_editor_hue",
|
||||
"theme_light_mode",
|
||||
"theme_dark_mode",
|
||||
"theme_system"
|
||||
],
|
||||
"edited": [],
|
||||
"removed": [
|
||||
"standard_emoji",
|
||||
"emoji_style",
|
||||
"emoji_style_desc",
|
||||
"emoji_style_native",
|
||||
"emoji_style_native_desc",
|
||||
"emoji_style_twemoji",
|
||||
"emoji_style_twemoji_desc",
|
||||
"emoji_style_disabled",
|
||||
"emoji_utf8mb4_required",
|
||||
"emoji_utf8mb4_required_cic",
|
||||
"emoji_shortcodes",
|
||||
"emoji_shortcodes_desc"
|
||||
]
|
||||
},
|
||||
"js": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": [
|
||||
"emoji_style"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"html": {
|
||||
"added": [],
|
||||
"edited": [
|
||||
"admin\/api\/webhookselector",
|
||||
"global\/forms\/autocomplete",
|
||||
"admin\/forms\/checkbox",
|
||||
"global\/forms\/checkboxset",
|
||||
"global\/forms\/color",
|
||||
"global\/forms\/date",
|
||||
"global\/forms\/dateRange",
|
||||
"global\/forms\/interval",
|
||||
"global\/forms\/matrixRows",
|
||||
"global\/forms\/number",
|
||||
"front\/forms\/popupRegisterTemplate",
|
||||
"admin\/forms\/radio",
|
||||
"admin\/forms\/select",
|
||||
"front\/forms\/select",
|
||||
"global\/forms\/text",
|
||||
"global\/forms\/textarea",
|
||||
"global\/forms\/uploadFile",
|
||||
"global\/forms\/widthheight",
|
||||
"front\/global\/footer",
|
||||
"front\/global\/globalTemplate",
|
||||
"front\/global\/loginPopupForm",
|
||||
"front\/global\/navColumn",
|
||||
"front\/global\/prefix",
|
||||
"front\/global\/reactionOverview",
|
||||
"front\/modcp\/report",
|
||||
"admin\/promotion\/imageMaximums",
|
||||
"front\/system\/loginForm",
|
||||
"front\/system\/register",
|
||||
"front\/tags\/contentTableRows",
|
||||
"front\/themeeditor\/themeEditorTemplate"
|
||||
],
|
||||
"removed": []
|
||||
},
|
||||
"css": {
|
||||
"added": [],
|
||||
"edited": [
|
||||
"global\/framework\/1-1-reset.css",
|
||||
"global\/framework\/1-2-settings.css",
|
||||
"global\/framework\/1-4-colors.css",
|
||||
"global\/framework\/3-boxes.css",
|
||||
"global\/framework\/3-buttons.css",
|
||||
"global\/framework\/3-color-scheme-changer.css",
|
||||
"global\/framework\/3-data-tables.css",
|
||||
"global\/framework\/3-editor.css",
|
||||
"global\/framework\/3-entries.css",
|
||||
"global\/framework\/3-images.css",
|
||||
"global\/framework\/3-page-header.css",
|
||||
"global\/framework\/3-richtext.css",
|
||||
"global\/framework\/3-tags.css",
|
||||
"global\/framework\/3-typography.css",
|
||||
"global\/framework\/4-breadcrumb.css",
|
||||
"global\/framework\/4-header.css",
|
||||
"global\/framework\/4-mobile-footer.css",
|
||||
"global\/framework\/4-navigation-panel.css",
|
||||
"global\/framework\/4-offcanvas.css",
|
||||
"global\/framework\/5-flex-grid-gap.css",
|
||||
"global\/framework\/5-margin.css"
|
||||
],
|
||||
"removed": []
|
||||
},
|
||||
"resources": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"categories": {
|
||||
"added": [],
|
||||
"edited": [
|
||||
"lightDarkMode",
|
||||
"logos",
|
||||
"pageLayouts",
|
||||
"typography",
|
||||
"header",
|
||||
"sidePanel",
|
||||
"content",
|
||||
"footer",
|
||||
"mobileNavigation",
|
||||
"textLogo",
|
||||
"imageLogoDesktop",
|
||||
"imageLogoMobile",
|
||||
"desktopHeader",
|
||||
"mobileHeader",
|
||||
"body",
|
||||
"contentBoxes",
|
||||
"desktopFooter"
|
||||
],
|
||||
"removed": []
|
||||
},
|
||||
"settings": {
|
||||
"added": [],
|
||||
"edited": [
|
||||
"set__i-default-scheme",
|
||||
"i-footer--co",
|
||||
"set__i-logo-text",
|
||||
"set__i-design-border",
|
||||
"set__i-layout-width",
|
||||
"set__i-sidebar-ui-header--he",
|
||||
"set__i-mobile-header--he",
|
||||
"set__i-mobile-icons-location",
|
||||
"set__i-position-logo",
|
||||
"set__logo-light",
|
||||
"set__i-font-family",
|
||||
"layout_global_view_mode",
|
||||
"set__mobile-logo-light",
|
||||
"set__mobile-logo-dark",
|
||||
"set__logo-dark",
|
||||
"set__i-font-size",
|
||||
"i-footer--ba-co",
|
||||
"set__i-change-scheme",
|
||||
"set__i-mobile-footer-labels",
|
||||
"set__i-position-navigation",
|
||||
"set__i-design-radius",
|
||||
"set__i-logo-slogan",
|
||||
"set__i-flip-sidebar",
|
||||
"i-headerMobile--ba-co",
|
||||
"i-dashHeader--ba-co",
|
||||
"set__i-mobile-logo--he",
|
||||
"set__i-logo--he",
|
||||
"i-color_root",
|
||||
"i-mobileFooter--ba-co",
|
||||
"set__i-position-user",
|
||||
"set__i-design-shadow",
|
||||
"set__i-avatar-radius",
|
||||
"set__i-logo--fo-fa",
|
||||
"i-dashHeader--co",
|
||||
"i-headerMobile--co",
|
||||
"set__i-sidebar-ui-logo--he",
|
||||
"i-color_soft",
|
||||
"set__i-position-breadcrumb",
|
||||
"i-mobileFooter--co",
|
||||
"set__i-link-panels",
|
||||
"i-body--ba-co",
|
||||
"i-navPanelLinkHover--co",
|
||||
"set__i-logo--fo-we",
|
||||
"set__i-desktop-logo--fo-si",
|
||||
"i-mobileFooter-active--co",
|
||||
"i-navPanelLinkActive--ba-co",
|
||||
"set__i-sticky-sidebar",
|
||||
"i-box--ba-co",
|
||||
"set__i-position-search",
|
||||
"i-color_hard",
|
||||
"i-mobileFooter-active--ba-co",
|
||||
"i-navPanel--ba-co",
|
||||
"set__i-sidebar-ui-logo--fo-si",
|
||||
"set__i-header-primary--he",
|
||||
"i-box--bo-co",
|
||||
"i-link--co",
|
||||
"i-navPanel--co",
|
||||
"i-boxHeader--ba-co",
|
||||
"set__i-mobile-logo--fo-si",
|
||||
"i-link-hover--co",
|
||||
"set__i-header-secondary--he",
|
||||
"i-navPanelLinkActive--co",
|
||||
"i-boxHeader--co",
|
||||
"set__i-nav-bar-icons",
|
||||
"set__i-user-content-font-size",
|
||||
"i-widget-header--ba-co",
|
||||
"i-headerTop--ba-co",
|
||||
"i-widget-header--co",
|
||||
"i-headerTop--co",
|
||||
"i-headerPrimary--ba-co",
|
||||
"i-headerPrimary--co",
|
||||
"i-headerSecondary--ba-co",
|
||||
"i-headerSecondary--co",
|
||||
"set__i-header-top--he"
|
||||
],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
/**
|
||||
* @brief 5.0.0 Beta 2 Upgrade Code
|
||||
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
|
||||
* @copyright (c) Invision Power Services, Inc.
|
||||
* @license https://www.invisioncommunity.com/legal/standards/
|
||||
* @package Invision Community
|
||||
|
||||
* @since 11 Oct 2024
|
||||
*/
|
||||
|
||||
namespace IPS\core\setup\upg_5000027;
|
||||
|
||||
use IPS\Application;
|
||||
use IPS\Db;
|
||||
use function defined;
|
||||
|
||||
/* 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.0 Beta 2 Upgrade Code
|
||||
*/
|
||||
class Upgrade
|
||||
{
|
||||
/**
|
||||
* Remove any invalid core menu rows for the core application, in our case the Promote extension
|
||||
*
|
||||
* @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
|
||||
{
|
||||
foreach( Application::applications() as $app )
|
||||
{
|
||||
$current = array_keys( $app->extensions( 'core', 'FrontNavigation', false ) );
|
||||
|
||||
Db::i()->delete( 'core_menu', [
|
||||
[ 'app=?', $app->directory ],
|
||||
[ Db::i()->in( 'extension', $current, true ) ]
|
||||
] );
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
public function step2() : bool|array
|
||||
{
|
||||
/* Remove old-style language strings for theme editor categories and settings */
|
||||
Db::i()->delete( 'core_sys_lang_words', "word_key regexp '^themeeditor\\_var\\_\\d'" );
|
||||
Db::i()->delete( 'core_sys_lang_words', "word_key regexp '^themeeditor\\_cat\\_\\d'" );
|
||||
|
||||
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,22 @@
|
||||
{
|
||||
"id": 5000028,
|
||||
"name": "5.0.0 Beta 2",
|
||||
"steps": {
|
||||
"queries": false,
|
||||
"lang": false,
|
||||
"theme": false,
|
||||
"themeeditor": true,
|
||||
"javascript": false,
|
||||
"emailTemplates": false,
|
||||
"acpSearchKeywords": false,
|
||||
"settings": false,
|
||||
"tasks": false,
|
||||
"modules": false,
|
||||
"widgets": false,
|
||||
"customOptions": false,
|
||||
"customRoutines": false
|
||||
},
|
||||
"forceMainUpgrader": false,
|
||||
"forceManualDownloadNoCiC": false,
|
||||
"forceManualDownloadCiC": false
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"categories": {
|
||||
"added": [],
|
||||
"edited": [
|
||||
"lightDarkMode",
|
||||
"logos",
|
||||
"pageLayouts",
|
||||
"typography",
|
||||
"header",
|
||||
"sidePanel",
|
||||
"content",
|
||||
"footer",
|
||||
"mobileNavigation",
|
||||
"textLogo",
|
||||
"imageLogoDesktop",
|
||||
"imageLogoMobile",
|
||||
"desktopHeader",
|
||||
"mobileHeader",
|
||||
"body",
|
||||
"contentBoxes",
|
||||
"desktopFooter"
|
||||
],
|
||||
"removed": []
|
||||
},
|
||||
"settings": {
|
||||
"added": [],
|
||||
"edited": [
|
||||
"set__i-default-scheme",
|
||||
"i-footer--co",
|
||||
"set__i-logo-text",
|
||||
"set__i-design-border",
|
||||
"set__i-layout-width",
|
||||
"set__i-sidebar-ui-header--he",
|
||||
"set__i-mobile-header--he",
|
||||
"set__i-mobile-icons-location",
|
||||
"set__i-position-logo",
|
||||
"set__logo-light",
|
||||
"set__i-font-family",
|
||||
"layout_global_view_mode",
|
||||
"set__mobile-logo-light",
|
||||
"set__mobile-logo-dark",
|
||||
"set__logo-dark",
|
||||
"set__i-font-size",
|
||||
"i-footer--ba-co",
|
||||
"set__i-change-scheme",
|
||||
"set__i-mobile-footer-labels",
|
||||
"set__i-position-navigation",
|
||||
"set__i-design-radius",
|
||||
"set__i-logo-slogan",
|
||||
"set__i-flip-sidebar",
|
||||
"i-headerMobile--ba-co",
|
||||
"i-dashHeader--ba-co",
|
||||
"set__i-mobile-logo--he",
|
||||
"set__i-logo--he",
|
||||
"i-color_root",
|
||||
"i-mobileFooter--ba-co",
|
||||
"set__i-position-user",
|
||||
"set__i-design-shadow",
|
||||
"set__i-avatar-radius",
|
||||
"set__i-logo--fo-fa",
|
||||
"i-dashHeader--co",
|
||||
"i-headerMobile--co",
|
||||
"set__i-sidebar-ui-logo--he",
|
||||
"i-color_soft",
|
||||
"set__i-position-breadcrumb",
|
||||
"i-mobileFooter--co",
|
||||
"set__i-link-panels",
|
||||
"i-body--ba-co",
|
||||
"i-navPanelLinkHover--co",
|
||||
"set__i-logo--fo-we",
|
||||
"set__i-desktop-logo--fo-si",
|
||||
"i-mobileFooter-active--co",
|
||||
"i-navPanelLinkActive--ba-co",
|
||||
"set__i-sticky-sidebar",
|
||||
"i-box--ba-co",
|
||||
"set__i-position-search",
|
||||
"i-color_hard",
|
||||
"i-mobileFooter-active--ba-co",
|
||||
"i-navPanel--ba-co",
|
||||
"set__i-sidebar-ui-logo--fo-si",
|
||||
"set__i-header-primary--he",
|
||||
"i-box--bo-co",
|
||||
"i-link--co",
|
||||
"i-navPanel--co",
|
||||
"i-boxHeader--ba-co",
|
||||
"set__i-mobile-logo--fo-si",
|
||||
"i-link-hover--co",
|
||||
"set__i-header-secondary--he",
|
||||
"i-navPanelLinkActive--co",
|
||||
"i-boxHeader--co",
|
||||
"set__i-nav-bar-icons",
|
||||
"set__i-user-content-font-size",
|
||||
"i-widget-header--ba-co",
|
||||
"i-headerTop--ba-co",
|
||||
"i-widget-header--co",
|
||||
"i-headerTop--co",
|
||||
"i-headerPrimary--ba-co",
|
||||
"i-headerPrimary--co",
|
||||
"i-headerSecondary--ba-co",
|
||||
"i-headerSecondary--co",
|
||||
"set__i-header-top--he"
|
||||
],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user