Release of v3.2.4-beta1

Fix zip missing working path.
This commit is contained in:
Robot 2024-09-18 23:19:46 +02:00
parent 5a1ad16c9e
commit 9d7ab17df6
Signed by: Robot
GPG Key ID: 14DECD44E7E1BB95
8 changed files with 31 additions and 24 deletions

View File

@ -1,8 +1,6 @@
# v3.2.4-alpha4 # v3.2.4-beta1
- Fix database default fields to allow NULL. #1169 - Fix zip missing working path
- Fix the power list field to allow search. #1167
- Remove Demo component from JCB v3 and added Hello Word component as demo in JCB v3.
# v3.2.4-alpha # v3.2.4-alpha
@ -12,6 +10,9 @@
- Fix search page error due to File class. - Fix search page error due to File class.
- Fix usergrouplist compiler triggers. #1100 - Fix usergrouplist compiler triggers. #1100
- Add field type power integration [init, reset, push] - Add field type power integration [init, reset, push]
- Fix database default fields to allow NULL. #1169
- Fix the power list field to allow search. #1167
- Remove Demo component from JCB v3 and added Hello Word component as demo in JCB v3.
# v3.2.3 # v3.2.3

View File

@ -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! 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 (3.2.4-alpha4) 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 (3.2.4-beta1) 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) > Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
@ -145,12 +145,12 @@ TODO
+ *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder) + *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder)
+ *First Build*: 30th April, 2015 + *First Build*: 30th April, 2015
+ *Last Build*: 18th September, 2024 + *Last Build*: 18th September, 2024
+ *Version*: 3.2.4-alpha4 + *Version*: 3.2.4-beta1
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved. + *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt + *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **848150** + *Line count*: **849009**
+ *Field count*: **2098** + *Field count*: **2098**
+ *File count*: **5778** + *File count*: **5782**
+ *Folder count*: **505** + *Folder count*: **505**
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com). > This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com).

View File

@ -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! 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 (3.2.4-alpha4) 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 (3.2.4-beta1) 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) > Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
@ -145,12 +145,12 @@ TODO
+ *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder) + *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder)
+ *First Build*: 30th April, 2015 + *First Build*: 30th April, 2015
+ *Last Build*: 18th September, 2024 + *Last Build*: 18th September, 2024
+ *Version*: 3.2.4-alpha4 + *Version*: 3.2.4-beta1
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved. + *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt + *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **848150** + *Line count*: **849009**
+ *Field count*: **2098** + *Field count*: **2098**
+ *File count*: **5778** + *File count*: **5782**
+ *Folder count*: **505** + *Folder count*: **505**
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com). > This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com).

View File

@ -7,9 +7,9 @@
<authorUrl>https://dev.vdm.io</authorUrl> <authorUrl>https://dev.vdm.io</authorUrl>
<copyright>Copyright (C) 2015 Vast Development Method. All rights reserved.</copyright> <copyright>Copyright (C) 2015 Vast Development Method. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license> <license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<version>3.2.4-alpha4</version> <version>3.2.4-beta1</version>
<description><![CDATA[ <description><![CDATA[
<h1>Component Builder (v.3.2.4-alpha4)</h1> <h1>Component Builder (v.3.2.4-beta1)</h1>
<div style="clear: both;"></div> <div style="clear: both;"></div>
<p>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. <p>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.

View File

@ -202,13 +202,13 @@
<element>pkg_component_builder</element> <element>pkg_component_builder</element>
<type>package</type> <type>package</type>
<client>site</client> <client>site</client>
<version>3.2.4-alpha4</version> <version>3.2.4-beta1</version>
<infourl title="Component Builder!">https://dev.vdm.io</infourl> <infourl title="Component Builder!">https://dev.vdm.io</infourl>
<downloads> <downloads>
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v3.2.4-alpha4.zip</downloadurl> <downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v3.2.4-beta1.zip</downloadurl>
</downloads> </downloads>
<tags> <tags>
<tag>alpha</tag> <tag>beta</tag>
</tags> </tags>
<maintainer>Llewellyn van der Merwe</maintainer> <maintainer>Llewellyn van der Merwe</maintainer>
<maintainerurl>https://dev.vdm.io</maintainerurl> <maintainerurl>https://dev.vdm.io</maintainerurl>

View File

@ -398,13 +398,13 @@ final class Infusion
$code[] = 'namespace ' . $power->_namespace . ';' . PHP_EOL; $code[] = 'namespace ' . $power->_namespace . ';' . PHP_EOL;
// check if we have header data // check if we have header data
if (StringHelper::check($power->head)) if (isset($power->head) && StringHelper::check($power->head))
{ {
$code[] = PHP_EOL . $power->head; $code[] = PHP_EOL . $power->head;
} }
// add description if set // add description if set
if (StringHelper::check($power->description)) if (isset($power->description) && StringHelper::check($power->description))
{ {
// check if this is escaped // check if this is escaped
if (strpos((string) $power->description, '/*') === false) if (strpos((string) $power->description, '/*') === false)
@ -419,13 +419,13 @@ final class Infusion
$declaration = $power->type . ' ' . $power->class_name; $declaration = $power->type . ' ' . $power->class_name;
// check if we have extends // check if we have extends
if (StringHelper::check($power->extends_name)) if (isset($power->extends_name) && StringHelper::check($power->extends_name))
{ {
$declaration .= ' extends ' . $power->extends_name; $declaration .= ' extends ' . $power->extends_name;
} }
// check if we have implements // check if we have implements
if (ArrayHelper::check($power->implement_names)) if (isset($power->implement_names) && ArrayHelper::check($power->implement_names))
{ {
$declaration .= ' implements ' . implode(', ', $power->implement_names); $declaration .= ' implements ' . implode(', ', $power->implement_names);
} }
@ -434,7 +434,7 @@ final class Infusion
$code[] = '{'; $code[] = '{';
// add the main code if set // add the main code if set
if (StringHelper::check($power->main_class_code)) if (isset($power->main_class_code) && StringHelper::check($power->main_class_code))
{ {
$code[] = $power->main_class_code; $code[] = $power->main_class_code;
} }

View File

@ -50,6 +50,12 @@ abstract class FileHelper
*/ */
public static function zip($workingDirectory, &$filepath): bool public static function zip($workingDirectory, &$filepath): bool
{ {
// check the work directory is set
if (!is_dir($workingDirectory))
{
return false;
}
// store the current joomla working directory // store the current joomla working directory
$joomla = getcwd(); $joomla = getcwd();

View File

@ -10001,7 +10001,7 @@ class Com_ComponentbuilderInstallerScript
echo '<div style="background-color: #fff;" class="alert alert-info"><a target="_blank" href="https://dev.vdm.io" title="Component Builder"> echo '<div style="background-color: #fff;" class="alert alert-info"><a target="_blank" href="https://dev.vdm.io" title="Component Builder">
<img src="components/com_componentbuilder/assets/images/vdm-component.jpg"/> <img src="components/com_componentbuilder/assets/images/vdm-component.jpg"/>
</a> </a>
<h3>Upgrade to Version 3.2.4-alpha4 Was Successful! Let us know if anything is not working as expected.</h3></div>'; <h3>Upgrade to Version 3.2.4-beta1 Was Successful! Let us know if anything is not working as expected.</h3></div>';
// Set db if not set already. // Set db if not set already.
if (!isset($db)) if (!isset($db))