From e4d8b043c249a0cbc2c563608627173752ac8598 Mon Sep 17 00:00:00 2001 From: aB0t Date: Sat, 20 Jul 2024 22:40:37 +0200 Subject: [PATCH] Release of v5.0.1 Fix auto build from SQL in Joomla 5. Fix permission issue for admin views. Add in JCB gitea push feature to help maintain JCB core features. Add extending options to interfaces. Change the extendsinterfaces field to allow null, #1139. Update the Schema class to also update null mismatching if needed. Add repositories for better integration with gitea. Refactored the Data classes. Add new Data classes. Add new subform classes. Fix registry class methods return type. Update all list and custom fields to use the new layouts. Add push options to Joomla Power. Complete the Joomla Power Init and Reset features. Fix Gitea Contents class functions. Fix subform set methods. Improved the Joomla Power Push path. Fix the metadata, metadesc, metakey database issue. Fix function mismatch call in the compiler power class. Fix init feature to only add missing powers. Fix controller postSaveHook function, for correct model class in Joomla 4 and 5. Fix app instances (mismatch) in the install script and schema class when installing from CLI. Add option to use placeholders in Joomla Power namespaces. Fix subform layout of uikit in JCB. --- CHANGELOG.md | 141 +++++++----------- ComponentbuilderInstallerScript.php | 2 +- README.md | 10 +- admin/README.txt | 10 +- admin/layouts/repeatablejcbjfive.php | 4 +- .../updates/mysql/{3.2.1.sql => 3.2.2.sql} | 0 .../updates/mysql/{4.0.0.sql => 4.0.1.sql} | 0 admin/sql/updates/mysql/5.0.1-alpha.sql | 1 - admin/sql/updates/mysql/5.0.1-beta.sql | 1 - componentbuilder.xml | 6 +- componentbuilder_update_server.xml | 48 +----- 11 files changed, 80 insertions(+), 143 deletions(-) rename admin/sql/updates/mysql/{3.2.1.sql => 3.2.2.sql} (100%) rename admin/sql/updates/mysql/{4.0.0.sql => 4.0.1.sql} (100%) delete mode 100644 admin/sql/updates/mysql/5.0.1-alpha.sql delete mode 100644 admin/sql/updates/mysql/5.0.1-beta.sql diff --git a/CHANGELOG.md b/CHANGELOG.md index d097807c7..48a9ef515 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,19 +1,4 @@ -# v5.0.1-rc1 - -- Final testing for stable release! - -# v5.0.1-beta - -- Fix subform set methods -- Improved the Joomla Power Push path -- Fix the metadata, metadesc, metakey database issue -- Fix function mismatch call in the compiler power class. -- Fix init feature to only add missing powers -- Fix controller postSaveHook function, for correct model class in Joomla 4 and 5 -- Fix app instances (mismatch) in the install script and schema class when installing from CLI -- Add option to use placeholders in Joomla Power namespaces. - -# v5.0.1-alpha +# v5.0.1 - Fix auto build from SQL in Joomla 5. - Fix permission issue for admin views. @@ -30,7 +15,15 @@ - Add push options to Joomla Power - Complete the Joomla Power Init and Reset features - Fix Gitea Contents class functions -- Last Alpha release (feature block) +- Fix subform set methods +- Improved the Joomla Power Push path +- Fix the metadata, metadesc, metakey database issue +- Fix function mismatch call in the compiler power class. +- Fix init feature to only add missing powers +- Fix controller postSaveHook function, for correct model class in Joomla 4 and 5 +- Fix app instances (mismatch) in the install script and schema class when installing from CLI +- Add option to use placeholders in Joomla Power namespaces. +- Fix subform layout of uikit in JCB # v5.0.0 @@ -76,72 +69,54 @@ - Add the BaseDatabaseModel use statement to custom site view controller. #1119 - Fix the customfolderlist field. #1120 -# v4.0.0 +# v4.0.1 -- Fix the plug-in installer script builder bug #1067 -- Fix Event triggers for Joomla 4 and 5 builds. -- Add fix to the update script, so that upgrading JCB from Joomla 3 to 4 will not fail. -- Fix plugin field selection -- Fix plugin params tab layout -- Add issue templates -- Force autoloader to always load. -- Fix repeatable layout #1076 -- Add Factory class to the J5 Event class. #1093 -- Fix customfilelist field to conform to the new namespacing conventions. #1094 -- Add menus for languages, servers, get snippets to J4 #1095 -- Fix [Set String Value] in placeholder table to store the value as a base64 string. -- Fix the search area layout. -- Fix the search area code line selection. -- Fix the input edit button for custom fields. -- Add the new layout to list fields (GUI UPDATE) -- Start fixing the field view in Joomla 4. #1096 -- Add power path override option on component level. -- Fix the sql build feature. #1032 -- Add the compiler menu back. -- Fix the CustomfolderlistField #1094 -- Add view list and single name fix. -- Add component code name fix. -- Add reset list of powers. -- Add Joomla powers for namespace dynamic management. -- Add fallback option to ensure that all JCB tables and fields exist. -- Move the powers autoloader to its own file. -- Fix the media field size limitation. #1109 -- Add dynamic datatype update to schema field check. -- Fix version_update column size. -- Improved the Schema Table update engine. -- Improved the Schema Table update engine (more). -- Fix autoloader timing, and loading. -- Implement the Joomla Powers in JCB code, to move away from JClasses. -- Remove the SQL update, to only use the Schema updates of table columns to avoid collusion. -- Fix the admin.css file loading on dashboard. #1112 -- Fix dynamic get data-type default to 0. #1110 -- Fix the missing model call. #1114 -- Fix the wrong $date call. #1115 -- Add the BaseDatabaseModel use statement to custom site view controller. #1119 -- Fix the customfolderlist field. #1120 +- Fix auto build from SQL in Joomla 4. +- Fix permission issue for admin views. +- Add in JCB gitea push feature to help maintain JCB core features. +- Add extending options to interfaces. +- Change the extendsinterfaces field to allow null, #1139 +- Update the Schema class to also update null mismatching if needed +- Add repositories for better integration with gitea +- Refactored the Data classes +- Add new Data classes +- Add new subform classes +- Fix registry class methods return type +- Update all list and custom fields to use the new layouts +- Add push options to Joomla Power +- Complete the Joomla Power Init and Reset features +- Fix Gitea Contents class functions +- Fix subform set methods +- Improved the Joomla Power Push path +- Fix the metadata, metadesc, metakey database issue +- Fix function mismatch call in the compiler power class. +- Fix init feature to only add missing powers +- Fix controller postSaveHook function, for correct model class in Joomla 4 and 5 +- Fix app instances (mismatch) in the install script and schema class when installing from CLI +- Add option to use placeholders in Joomla Power namespaces. +- Fix subform layout of uikit in JCB -# v3.2.1 +# v3.2.2 -- Add power path override option on component level. -- Fix the sql build feature. #1032 -- Add view list and single name fix. -- Add component code name fix. -- Add reset list of powers. -- Fix missing Factory class in plugin. #1102 -- Fix plugin code display when methods and properties are missing. -- Add Joomla powers for namespace dynamic management. -- Add fallback option to ensure that all JCB tables and fields exist. -- Move the powers autoloader to its own file. -- Fix the media field size limitation. #1109 -- Add dynamic datatype update to schema field check. -- Fix version_update column size. -- Improved the Schema Table update engine. -- Improved the Schema Table update engine (more) -- Fix autoloader timing, and loading. -- Implement the Joomla Powers in JCB code, to move away from JClasses. -- Remove many of the SQL updates, to only use the Schema updates of table columns to avoid collusion. -- Fix the admin.css file loading on dashboard. #1112 -- Fix the missing model call. #1114 -- Fix the wrong $date call. #1115 -- Add the BaseDatabaseModel use statement to custom site view controller. #1119 -- Fix the customfolderlist field. #1120 \ No newline at end of file +- Fix auto build from SQL in Joomla 4 and 5. +- Fix permission issue for admin views. +- Add extending options to interfaces. +- Update the Schema class to also update null mismatching if needed +- Add repositories for better integration with gitea +- Refactored the Data classes +- Add new Data classes +- Add new subform classes +- Fix registry class methods return type +- Update all list and custom fields to use the new layouts +- Add push options to Joomla Power +- Complete the Joomla Power Init and Reset features +- Fix Gitea Contents class functions +- Fix subform set methods +- Improved the Joomla Power Push path +- Fix the metadata, metadesc, metakey database issue +- Fix function mismatch call in the compiler power class. +- Fix init feature to only add missing powers +- Fix controller postSaveHook function, for correct model class in Joomla 4 and 5 +- Fix app instances (mismatch) in the install script and schema class when installing from CLI +- Add option to use placeholders in Joomla Power namespaces. +- Fix subform layout of uikit in JCB \ No newline at end of file diff --git a/ComponentbuilderInstallerScript.php b/ComponentbuilderInstallerScript.php index f6827f0dc..a144cf4d5 100644 --- a/ComponentbuilderInstallerScript.php +++ b/ComponentbuilderInstallerScript.php @@ -3267,7 +3267,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface echo '
-

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

'; +

Upgrade to Version 5.0.1 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 6ff921ed5..a71e8e40f 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 (5.0.1-rc1) 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 (5.0.1) 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*: 19th July, 2024 -+ *Version*: 5.0.1-rc1 ++ *Last Build*: 20th July, 2024 ++ *Version*: 5.0.1 + *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **781306** ++ *Line count*: **781244** + *Field count*: **2110** -+ *File count*: **5485** ++ *File count*: **5483** + *Folder count*: **552** > 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 6ff921ed5..a71e8e40f 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 (5.0.1-rc1) 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 (5.0.1) 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*: 19th July, 2024 -+ *Version*: 5.0.1-rc1 ++ *Last Build*: 20th July, 2024 ++ *Version*: 5.0.1 + *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **781306** ++ *Line count*: **781244** + *Field count*: **2110** -+ *File count*: **5485** ++ *File count*: **5483** + *Folder count*: **552** > 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/layouts/repeatablejcbjfive.php b/admin/layouts/repeatablejcbjfive.php index 82f6e73b4..84b45abec 100644 --- a/admin/layouts/repeatablejcbjfive.php +++ b/admin/layouts/repeatablejcbjfive.php @@ -70,12 +70,12 @@ $sublayout = 'sectionjcbjfive'; $form) : - echo $this->sublayout($sublayout, ['form' => $form, 'basegroup' => $fieldname, 'group' => $fieldname . $k, 'buttons' => $buttons]); + echo LayoutHelper::render($sublayout, ['form' => $form, 'basegroup' => $fieldname, 'group' => $fieldname . $k, 'buttons' => $buttons]); endforeach; ?> diff --git a/admin/sql/updates/mysql/3.2.1.sql b/admin/sql/updates/mysql/3.2.2.sql similarity index 100% rename from admin/sql/updates/mysql/3.2.1.sql rename to admin/sql/updates/mysql/3.2.2.sql diff --git a/admin/sql/updates/mysql/4.0.0.sql b/admin/sql/updates/mysql/4.0.1.sql similarity index 100% rename from admin/sql/updates/mysql/4.0.0.sql rename to admin/sql/updates/mysql/4.0.1.sql diff --git a/admin/sql/updates/mysql/5.0.1-alpha.sql b/admin/sql/updates/mysql/5.0.1-alpha.sql deleted file mode 100644 index 8b1378917..000000000 --- a/admin/sql/updates/mysql/5.0.1-alpha.sql +++ /dev/null @@ -1 +0,0 @@ - diff --git a/admin/sql/updates/mysql/5.0.1-beta.sql b/admin/sql/updates/mysql/5.0.1-beta.sql deleted file mode 100644 index 8b1378917..000000000 --- a/admin/sql/updates/mysql/5.0.1-beta.sql +++ /dev/null @@ -1 +0,0 @@ - diff --git a/componentbuilder.xml b/componentbuilder.xml index 17dda771f..8646718c3 100644 --- a/componentbuilder.xml +++ b/componentbuilder.xml @@ -1,15 +1,15 @@ COM_COMPONENTBUILDER - 19th July, 2024 + 20th July, 2024 Llewellyn van der Merwe joomla@vdm.io https://dev.vdm.io Copyright (C) 2015 Vast Development Method. All rights reserved. GNU General Public License version 2 or later; see LICENSE.txt - 5.0.1-rc1 + 5.0.1 Component Builder (v.5.0.1-rc1) +

Component Builder (v.5.0.1)

The Component Builder for [Joomla](https://extensions.joomla.org/extension/component-builder/) is highly advanced tool that is truly able to build extremely complex components in a fraction of the time. diff --git a/componentbuilder_update_server.xml b/componentbuilder_update_server.xml index 9365efe32..f3220ce5e 100644 --- a/componentbuilder_update_server.xml +++ b/componentbuilder_update_server.xml @@ -5,7 +5,7 @@ pkg_component_builder package site - 3.2.1 + 3.2.2 https://dev.vdm.io https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v3.2.1.zip @@ -23,10 +23,10 @@ pkg_component_builder package site - 4.0.0 + 4.0.1 https://dev.vdm.io - https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.0.zip + https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.1.zip stable @@ -59,49 +59,13 @@ pkg_component_builder package site - 5.0.1-alpha + 5.0.1 https://dev.vdm.io - https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v5.0.1-alpha7.zip + https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v5.0.1.zip - alpha - - Llewellyn van der Merwe - https://dev.vdm.io - - - - Component Builder - Builds Complex Joomla Components - pkg_component_builder - package - site - 5.0.1-beta - https://dev.vdm.io - - https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v5.0.1-beta5.zip - - - beta - - Llewellyn van der Merwe - https://dev.vdm.io - - - - Component Builder - Builds Complex Joomla Components - pkg_component_builder - package - site - 5.0.1-rc1 - https://dev.vdm.io - - https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v5.0.1-rc1.zip - - - releasecandidate + stable Llewellyn van der Merwe https://dev.vdm.io