From 9fe482346803992b3521582ca812a8bf28be2522 Mon Sep 17 00:00:00 2001 From: aB0t Date: Fri, 15 Mar 2024 12:12:09 +0200 Subject: [PATCH] Release of v4.0.0-alpha4 Fix plugin field selection. Fix plugin params tab layout. Add issue templates. Force autoloader to always load. Fix repeatable layout #1076. --- CHANGELOG.md | 15 ++- ComponentbuilderInstallerScript.php | 2 +- README.md | 10 +- admin/README.txt | 10 +- admin/compiler/joomla_4/ADMIN_VIEW_HTML.php | 1 + .../joomla_4/SITE_ADMIN_VIEW_HTML.php | 1 + admin/config.xml | 2 +- admin/forms/admin_view.xml | 2 +- admin/layouts/repeatablejcb.php | 103 ------------------ admin/layouts/repeatablejcbjfive.php | 82 ++++++++++++++ admin/layouts/sectionjcb.php | 70 ------------ admin/layouts/sectionjcbjfive.php | 63 +++++++++++ .../{3.2.0-beta6.sql => 3.2.0-beta7.sql} | 0 admin/sql/updates/mysql/4.0.0-alpha3.sql | 1 + admin/src/Field/JoomlapluginsField.php | 4 +- admin/src/Helper/ComponentbuilderHelper.php | 4 +- admin/src/View/Admin_custom_tabs/HtmlView.php | 1 + admin/src/View/Admin_fields/HtmlView.php | 1 + .../View/Admin_fields_conditions/HtmlView.php | 1 + .../View/Admin_fields_relations/HtmlView.php | 1 + admin/src/View/Admin_view/HtmlView.php | 1 + admin/src/View/Class_extends/HtmlView.php | 1 + admin/src/View/Class_method/HtmlView.php | 1 + admin/src/View/Class_property/HtmlView.php | 1 + admin/src/View/Compiler/HtmlView.php | 4 +- .../View/Component_admin_views/HtmlView.php | 1 + admin/src/View/Component_config/HtmlView.php | 1 + .../Component_custom_admin_menus/HtmlView.php | 1 + .../Component_custom_admin_views/HtmlView.php | 1 + .../src/View/Component_dashboard/HtmlView.php | 1 + .../View/Component_files_folders/HtmlView.php | 1 + admin/src/View/Component_modules/HtmlView.php | 1 + .../View/Component_mysql_tweaks/HtmlView.php | 1 + .../View/Component_placeholders/HtmlView.php | 1 + admin/src/View/Component_plugins/HtmlView.php | 1 + admin/src/View/Component_router/HtmlView.php | 1 + .../View/Component_site_views/HtmlView.php | 1 + admin/src/View/Component_updates/HtmlView.php | 1 + admin/src/View/Custom_admin_view/HtmlView.php | 1 + admin/src/View/Custom_code/HtmlView.php | 1 + admin/src/View/Dynamic_get/HtmlView.php | 1 + admin/src/View/Field/HtmlView.php | 1 + admin/src/View/Fieldtype/HtmlView.php | 1 + admin/src/View/Help_document/HtmlView.php | 1 + admin/src/View/Joomla_component/HtmlView.php | 1 + admin/src/View/Joomla_module/HtmlView.php | 1 + .../HtmlView.php | 1 + .../View/Joomla_module_updates/HtmlView.php | 1 + admin/src/View/Joomla_plugin/HtmlView.php | 1 + .../HtmlView.php | 1 + .../src/View/Joomla_plugin_group/HtmlView.php | 1 + .../View/Joomla_plugin_updates/HtmlView.php | 1 + admin/src/View/Language/HtmlView.php | 1 + .../View/Language_translation/HtmlView.php | 1 + admin/src/View/Layout/HtmlView.php | 1 + admin/src/View/Library/HtmlView.php | 1 + admin/src/View/Library_config/HtmlView.php | 1 + .../Library_files_folders_urls/HtmlView.php | 1 + admin/src/View/Placeholder/HtmlView.php | 1 + admin/src/View/Power/HtmlView.php | 1 + admin/src/View/Server/HtmlView.php | 1 + admin/src/View/Site_view/HtmlView.php | 1 + admin/src/View/Snippet/HtmlView.php | 1 + admin/src/View/Snippet_type/HtmlView.php | 1 + admin/src/View/Template/HtmlView.php | 1 + admin/src/View/Validation_rule/HtmlView.php | 1 + componentbuilder.xml | 6 +- componentbuilder_update_server.xml | 22 +++- .../Compiler/Power/Autoloader.php | 5 +- 69 files changed, 257 insertions(+), 199 deletions(-) delete mode 100644 admin/layouts/repeatablejcb.php create mode 100644 admin/layouts/repeatablejcbjfive.php delete mode 100644 admin/layouts/sectionjcb.php create mode 100644 admin/layouts/sectionjcbjfive.php rename admin/sql/updates/mysql/{3.2.0-beta6.sql => 3.2.0-beta7.sql} (100%) create mode 100644 admin/sql/updates/mysql/4.0.0-alpha3.sql diff --git a/CHANGELOG.md b/CHANGELOG.md index c5bac9fbb..2b1a3db24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# v4.0.0-alpha4 + +- Fix plugin field selection +- Fix plugin params tab layout +- Add issue templates +- Force autoloader to always load. +- Fix repeatable layout #1076 + # v4.0.0-alpha3 - Add fix to the update script, so that upgrading JCB from Joomla 3 to 4 will not fail. @@ -11,6 +19,9 @@ - First alpha release of Component Builder towards Joomla 4 (very unstable...) -# v3.2.0-beta6 +# v3.2.0-beta7 -- Fix the plug-in installer script builder bug #1068 \ No newline at end of file +- Fix plugin field selection +- Fix plugin params tab layout +- Add issue templates +- Force autoloader to always load \ No newline at end of file diff --git a/ComponentbuilderInstallerScript.php b/ComponentbuilderInstallerScript.php index f0caa6e77..1248617ae 100644 --- a/ComponentbuilderInstallerScript.php +++ b/ComponentbuilderInstallerScript.php @@ -3146,7 +3146,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface echo '
-

Upgrade to Version 4.0.0-alpha3 Was Successful! Let us know if anything is not working as expected.

'; +

Upgrade to Version 4.0.0-alpha4 Was Successful! Let us know if anything is not working as expected.

'; // Add/Update component in the action logs extensions table. $this->setActionLogsExtensions(); diff --git a/README.md b/README.md index e512510bf..2aa07b3c1 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will save you lots of time and money. A real must have! -You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (4.0.0-alpha3) with **ALL** its features and **ALL** concepts totally open-source and free! +You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (4.0.0-alpha4) with **ALL** its features and **ALL** concepts totally open-source and free! > Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45) @@ -144,13 +144,13 @@ TODO + *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io) + *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder) + *First Build*: 30th April, 2015 -+ *Last Build*: 12th March, 2024 -+ *Version*: 4.0.0-alpha3 ++ *Last Build*: 15th March, 2024 ++ *Version*: 4.0.0-alpha4 + *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **725292** ++ *Line count*: **725351** + *Field count*: **2078** -+ *File count*: **5117** ++ *File count*: **5118** + *Folder count*: **518** > This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com). diff --git a/admin/README.txt b/admin/README.txt index e512510bf..2aa07b3c1 100644 --- a/admin/README.txt +++ b/admin/README.txt @@ -9,7 +9,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will save you lots of time and money. A real must have! -You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (4.0.0-alpha3) with **ALL** its features and **ALL** concepts totally open-source and free! +You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (4.0.0-alpha4) with **ALL** its features and **ALL** concepts totally open-source and free! > Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45) @@ -144,13 +144,13 @@ TODO + *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io) + *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder) + *First Build*: 30th April, 2015 -+ *Last Build*: 12th March, 2024 -+ *Version*: 4.0.0-alpha3 ++ *Last Build*: 15th March, 2024 ++ *Version*: 4.0.0-alpha4 + *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **725292** ++ *Line count*: **725351** + *Field count*: **2078** -+ *File count*: **5117** ++ *File count*: **5118** + *Folder count*: **518** > This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com). diff --git a/admin/compiler/joomla_4/ADMIN_VIEW_HTML.php b/admin/compiler/joomla_4/ADMIN_VIEW_HTML.php index d844a3e12..5e4b702cf 100644 --- a/admin/compiler/joomla_4/ADMIN_VIEW_HTML.php +++ b/admin/compiler/joomla_4/ADMIN_VIEW_HTML.php @@ -39,6 +39,7 @@ class HtmlView extends BaseHtmlView { // set params $this->params = ComponentHelper::getParams('com_###component###'); + $this->useCoreUI = true; // Assign the variables $this->form = $this->get('Form'); $this->item = $this->get('Item'); diff --git a/admin/compiler/joomla_4/SITE_ADMIN_VIEW_HTML.php b/admin/compiler/joomla_4/SITE_ADMIN_VIEW_HTML.php index 9a5b4b279..0f3cac219 100644 --- a/admin/compiler/joomla_4/SITE_ADMIN_VIEW_HTML.php +++ b/admin/compiler/joomla_4/SITE_ADMIN_VIEW_HTML.php @@ -39,6 +39,7 @@ class HtmlView extends BaseHtmlView { // set params $this->params = ComponentHelper::getParams('com_###component###'); + $this->useCoreUI = true; // Assign the variables $this->form = $this->get('Form'); $this->item = $this->get('Item'); diff --git a/admin/config.xml b/admin/config.xml index 2b817ab66..0b5497a1e 100644 --- a/admin/config.xml +++ b/admin/config.xml @@ -119,7 +119,7 @@ COM_COMPONENTBUILDER_CONFIG_REPEATABLETABLE_JOOMLA - diff --git a/admin/forms/admin_view.xml b/admin/forms/admin_view.xml index 18da00060..94cc7d3b8 100644 --- a/admin/forms/admin_view.xml +++ b/admin/forms/admin_view.xml @@ -458,7 +458,7 @@ name="source" label="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCE_LABEL" class="btn-group btn-group-yesno" - default="" + default="0" required="true">