From c7bd2952a8362b184a3c65a188cf49e782d0ffa9 Mon Sep 17 00:00:00 2001 From: aB0t Date: Sat, 20 Jul 2024 22:39:22 +0200 Subject: [PATCH] Release of v4.0.1 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. --- CHANGELOG.md | 74 +++++++++---------- 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 admin/sql/updates/mysql/4.0.1-alpha.sql | 1 - admin/sql/updates/mysql/4.0.1-beta.sql | 1 - componentbuilder.xml | 6 +- componentbuilder_update_server.xml | 46 ++---------- 10 files changed, 54 insertions(+), 100 deletions(-) rename admin/sql/updates/mysql/{3.2.1.sql => 3.2.2.sql} (100%) delete mode 100644 admin/sql/updates/mysql/4.0.1-alpha.sql delete mode 100644 admin/sql/updates/mysql/4.0.1-beta.sql diff --git a/CHANGELOG.md b/CHANGELOG.md index 11285ec7f..311d6c41d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,19 +1,4 @@ -# v4.0.1-rc1 - -- Final testing for stable release! - -# v4.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. - -# v4.0.1-alpha +# v4.0.1 - Fix auto build from SQL in Joomla 4. - 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 # v4.0.0 @@ -76,28 +69,27 @@ - Add the BaseDatabaseModel use statement to custom site view controller. #1119 - Fix the customfolderlist field. #1120 -# 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 71b12508f..26445fb2b 100644 --- a/ComponentbuilderInstallerScript.php +++ b/ComponentbuilderInstallerScript.php @@ -3267,7 +3267,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface echo '
-

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

'; +

Upgrade to Version 4.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 4ce0bdef1..130d774fd 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.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 (4.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*: 4.0.1-rc1 ++ *Last Build*: 20th July, 2024 ++ *Version*: 4.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*: **780751** ++ *Line count*: **780706** + *Field count*: **2104** -+ *File count*: **5464** ++ *File count*: **5462** + *Folder count*: **540** > 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 4ce0bdef1..130d774fd 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.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 (4.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*: 4.0.1-rc1 ++ *Last Build*: 20th July, 2024 ++ *Version*: 4.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*: **780751** ++ *Line count*: **780706** + *Field count*: **2104** -+ *File count*: **5464** ++ *File count*: **5462** + *Folder count*: **540** > 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.1-alpha.sql b/admin/sql/updates/mysql/4.0.1-alpha.sql deleted file mode 100644 index 8b1378917..000000000 --- a/admin/sql/updates/mysql/4.0.1-alpha.sql +++ /dev/null @@ -1 +0,0 @@ - diff --git a/admin/sql/updates/mysql/4.0.1-beta.sql b/admin/sql/updates/mysql/4.0.1-beta.sql deleted file mode 100644 index 8b1378917..000000000 --- a/admin/sql/updates/mysql/4.0.1-beta.sql +++ /dev/null @@ -1 +0,0 @@ - diff --git a/componentbuilder.xml b/componentbuilder.xml index 9fda2718a..420f7effc 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 - 4.0.1-rc1 + 4.0.1 Component Builder (v.4.0.1-rc1) +

Component Builder (v.4.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 053715b42..8daa67f10 100644 --- a/componentbuilder_update_server.xml +++ b/componentbuilder_update_server.xml @@ -5,10 +5,10 @@ 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 + https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v3.2.2.zip stable @@ -41,49 +41,13 @@ pkg_component_builder package site - 4.0.1-alpha + 4.0.1 https://dev.vdm.io - https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.1-alpha7.zip + https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.1.zip - alpha - - Llewellyn van der Merwe - https://dev.vdm.io - - - - Component Builder - Builds Complex Joomla Components - pkg_component_builder - package - site - 4.0.1-beta - https://dev.vdm.io - - https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.1-beta5.zip - - - beta - - Llewellyn van der Merwe - https://dev.vdm.io - - - - Component Builder - Builds Complex Joomla Components - pkg_component_builder - package - site - 4.0.1-rc1 - https://dev.vdm.io - - https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.1-rc1.zip - - - releasecandidate + stable Llewellyn van der Merwe https://dev.vdm.io