From 087e3a7c19ff3ad600bc866939732876c8b04f98 Mon Sep 17 00:00:00 2001 From: aB0t Date: Wed, 2 Jul 2025 19:03:37 +0000 Subject: [PATCH] Release of v5.1.1-rc1 Move all banners to GitHub. Adds library phpspreadsheet to JCB. Adds import item example to demo component. Updates the Superpower class with the GetRemote class in the plugin. Ensures the super power autoloader triggers the correct repositories. Adds the ModalSelect fieldtype to Joomla Component Builder - J5. Adds the Data Import Function to the Demo Component. Adds new country related tables and fields to the Demo Component. Resolves the Database Updating issue in the compiler. #1212,#1209. Adds the Component Commands Plugin to the CLI for Import of spreadsheet data-sets. Add edit and create options to the ModalSelect Field (in Joomla 5). Add all needed Powers to the release package, to speed-up the build of the demo component. Refactor initialization flow to accommodate future scalability and integration with all designated areas. Refactor the Creator Builders class. Refactor the FieldString and FieldXML classes. Add JCB new package engine. Enhance operator support in dynamic get system. Relates to issue #1226. Fixes issue with loading the Component Builder Wiki. Adds advanced version update notice to the Component Builder Dashboard. Completely refactors the class that builds the Component Dashboard. #1134. Fix the FieldXML interface mismatch. #1228. Adds Initialize, Reset, and Push functionality to the Repository entities. Completely refactors the SQL tweaks and SQL dump classes. Fix bug in the filter of Languages by linked entities. #1230. --- CHANGELOG.md | 9 +- ComponentbuilderInstallerScript.php | 2 +- README.md | 6 +- admin/README.txt | 6 +- .../compiler/joomla_4/ADMIN_HELPER_EMAIL.php | 4 +- admin/forms/filter_repositories.xml | 7 + .../en-GB/en-GB.com_componentbuilder.ini | 11 + admin/layouts/exportlanguagetranslations.php | 134 ++++ admin/sql/install.mysql.utf8.sql | 108 +-- admin/sql/updates/mysql/5_1_1-beta.sql | 1 - admin/src/Controller/AjaxController.php | 52 ++ .../src/Field/RepositoriesfiltertypeField.php | 78 +++ admin/src/Helper/ComponentbuilderEmail.php | 4 +- admin/src/Helper/ComponentbuilderHelper.php | 638 +----------------- admin/src/Model/AjaxModel.php | 233 +++++++ admin/src/Model/Language_translationModel.php | 91 --- .../src/Model/Language_translationsModel.php | 100 --- admin/src/Model/RepositoriesModel.php | 126 +++- .../View/Language_translation/HtmlView.php | 10 +- admin/tmpl/language_translation/default.php | 24 - admin/tmpl/language_translations/default.php | 27 + admin/tmpl/language_translations/modal.php | 27 + admin/tmpl/repositories/default_body.php | 10 +- componentbuilder.xml | 6 +- componentbuilder_update_server.xml | 24 +- media/js/language_translation.js | 37 - 26 files changed, 795 insertions(+), 980 deletions(-) create mode 100644 admin/layouts/exportlanguagetranslations.php delete mode 100644 admin/sql/updates/mysql/5_1_1-beta.sql create mode 100644 admin/src/Field/RepositoriesfiltertypeField.php diff --git a/CHANGELOG.md b/CHANGELOG.md index b4d4d0f96..e27cb025f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,4 @@ -# v5.1.1-beta6 - -- Fix bug in the filter of Languages by linked entities. #1230 - -# v5.1.1-beta +# v5.1.1-rc1 - Move all banners to GitHub. - Adds library phpspreadsheet to JCB. @@ -26,7 +22,8 @@ - Completely refactors the class that builds the Component Dashboard. #1134 - Fix the FieldXML interface mismatch. #1228 - Adds Initialize, Reset, and Push functionality to the Repository entities. -- Completely refactors the SQL tweaks and SQL dump classes. +- Completely refactors the SQL tweaks and SQL dump classes. +- Fix bug in the filter of Languages by linked entities. #1230 # v5.1.0 diff --git a/ComponentbuilderInstallerScript.php b/ComponentbuilderInstallerScript.php index 682abf26d..85101c98c 100644 --- a/ComponentbuilderInstallerScript.php +++ b/ComponentbuilderInstallerScript.php @@ -3292,7 +3292,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface echo '
-

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

'; +

Upgrade to Version 5.1.1-rc1 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 95c62cd4e..5fb26e4dd 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ This is a professional-grade [Joomla 5.x](https://extensions.joomla.org/extensio JCB generates native Joomla components, plugins, and modules for Joomla 3.x, 4.x, and 5.x - and is already prepared for Joomla 6. Every compiled project is tailored for the specific version without needing backward compatibility plugins. With integrated version-aware compiling, smart boilerplating, and Git-powered project syncing, JCB is much more than a code generator-it's a **full-stack development pipeline for Joomla extensions**. -You can install this component easily. The latest release (**5.1.1-beta6**) is available on [Releases](https://git.vdm.dev/joomla/pkg-component-builder/releases) and updated frequently with full source access. +You can install this component easily. The latest release (**5.1.1-rc1**) is available on [Releases](https://git.vdm.dev/joomla/pkg-component-builder/releases) and updated frequently with full source access. Upgrades are seamless through Joomla's built-in extension update mechanism. @@ -229,9 +229,9 @@ JCB is developed by developers for developers. Its purpose is to democratize hig * **Company:** [Vast Development Method](https://dev.vdm.io) * **Author:** [Llewellyn van der Merwe](mailto:joomla@vdm.io) * **Component:** [Component Builder](https://git.vdm.dev/joomla/Component-Builder) -* **Created:** 30th April, 2015 · **Last Build:** 1st July, 2025 · **Version:** 5.1.1-beta6 +* **Created:** 30th April, 2015 · **Last Build:** 2nd July, 2025 · **Version:** 5.1.1-rc1 * **License:** GNU General Public License version 2 or later; see LICENSE.txt · **Copyright:** Copyright (C) 2015 Vast Development Method. All rights reserved. -* **Lines:** 1094999 · **Fields:** 2096 · **Files:** 7514 · **Folders:** 728 +* **Lines:** 1094989 · **Fields:** 2096 · **Files:** 7515 · **Folders:** 728 > Generated with [JCB](https://www.joomlacomponentbuilder.com) — The Smartest Way to Build Joomla Extensions. diff --git a/admin/README.txt b/admin/README.txt index 95c62cd4e..5fb26e4dd 100644 --- a/admin/README.txt +++ b/admin/README.txt @@ -9,7 +9,7 @@ This is a professional-grade [Joomla 5.x](https://extensions.joomla.org/extensio JCB generates native Joomla components, plugins, and modules for Joomla 3.x, 4.x, and 5.x - and is already prepared for Joomla 6. Every compiled project is tailored for the specific version without needing backward compatibility plugins. With integrated version-aware compiling, smart boilerplating, and Git-powered project syncing, JCB is much more than a code generator-it's a **full-stack development pipeline for Joomla extensions**. -You can install this component easily. The latest release (**5.1.1-beta6**) is available on [Releases](https://git.vdm.dev/joomla/pkg-component-builder/releases) and updated frequently with full source access. +You can install this component easily. The latest release (**5.1.1-rc1**) is available on [Releases](https://git.vdm.dev/joomla/pkg-component-builder/releases) and updated frequently with full source access. Upgrades are seamless through Joomla's built-in extension update mechanism. @@ -229,9 +229,9 @@ JCB is developed by developers for developers. Its purpose is to democratize hig * **Company:** [Vast Development Method](https://dev.vdm.io) * **Author:** [Llewellyn van der Merwe](mailto:joomla@vdm.io) * **Component:** [Component Builder](https://git.vdm.dev/joomla/Component-Builder) -* **Created:** 30th April, 2015 · **Last Build:** 1st July, 2025 · **Version:** 5.1.1-beta6 +* **Created:** 30th April, 2015 · **Last Build:** 2nd July, 2025 · **Version:** 5.1.1-rc1 * **License:** GNU General Public License version 2 or later; see LICENSE.txt · **Copyright:** Copyright (C) 2015 Vast Development Method. All rights reserved. -* **Lines:** 1094999 · **Fields:** 2096 · **Files:** 7514 · **Folders:** 728 +* **Lines:** 1094989 · **Fields:** 2096 · **Files:** 7515 · **Folders:** 728 > Generated with [JCB](https://www.joomlacomponentbuilder.com) — The Smartest Way to Build Joomla Extensions. diff --git a/admin/compiler/joomla_4/ADMIN_HELPER_EMAIL.php b/admin/compiler/joomla_4/ADMIN_HELPER_EMAIL.php index fb8c6d1f4..a7b6d4bc7 100644 --- a/admin/compiler/joomla_4/ADMIN_HELPER_EMAIL.php +++ b/admin/compiler/joomla_4/ADMIN_HELPER_EMAIL.php @@ -423,7 +423,7 @@ abstract class ###Component###Email '' . htmlspecialchars($subject) . '', '