forked from joomla/Component-Builder
Release of v4.0.0-alpha6
Fix [Set String Value] in placeholder table to store the value as a base64 string.
This commit is contained in:
parent
e8c2c17dc7
commit
543fb2b2e2
@ -1,3 +1,7 @@
|
||||
# v4.0.0-alpha6
|
||||
|
||||
- Fix [Set String Value] in placeholder table to store the value as a base64 string.
|
||||
|
||||
# v4.0.0-alpha5
|
||||
|
||||
- Add Factory class to the J5 Event class. #1093
|
||||
@ -25,6 +29,6 @@
|
||||
|
||||
- First alpha release of Component Builder towards Joomla 4 (very unstable...)
|
||||
|
||||
# v3.2.0-beta8
|
||||
# v3.2.0-beta9
|
||||
|
||||
- Add Factory class to the J5 Event class. #1093
|
||||
- Fix [Set String Value] in placeholder table to store the value as a base64 string.
|
@ -3165,7 +3165,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
||||
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"/>
|
||||
</a>
|
||||
<h3>Upgrade to Version 4.0.0-alpha5 Was Successful! Let us know if anything is not working as expected.</h3></div>';
|
||||
<h3>Upgrade to Version 4.0.0-alpha6 Was Successful! Let us know if anything is not working as expected.</h3></div>';
|
||||
|
||||
// Add/Update component in the action logs extensions table.
|
||||
$this->setActionLogsExtensions();
|
||||
|
@ -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-alpha5) 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-alpha6) 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)
|
||||
|
||||
@ -145,12 +145,12 @@ TODO
|
||||
+ *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
||||
+ *First Build*: 30th April, 2015
|
||||
+ *Last Build*: 20th March, 2024
|
||||
+ *Version*: 4.0.0-alpha5
|
||||
+ *Version*: 4.0.0-alpha6
|
||||
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
|
||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||
+ *Line count*: **725003**
|
||||
+ *Line count*: **725042**
|
||||
+ *Field count*: **2078**
|
||||
+ *File count*: **5119**
|
||||
+ *File count*: **5120**
|
||||
+ *Folder count*: **518**
|
||||
|
||||
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com).
|
||||
|
@ -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-alpha5) 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-alpha6) 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)
|
||||
|
||||
@ -145,12 +145,12 @@ TODO
|
||||
+ *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
||||
+ *First Build*: 30th April, 2015
|
||||
+ *Last Build*: 20th March, 2024
|
||||
+ *Version*: 4.0.0-alpha5
|
||||
+ *Version*: 4.0.0-alpha6
|
||||
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
|
||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||
+ *Line count*: **725003**
|
||||
+ *Line count*: **725042**
|
||||
+ *Field count*: **2078**
|
||||
+ *File count*: **5119**
|
||||
+ *File count*: **5120**
|
||||
+ *Folder count*: **518**
|
||||
|
||||
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com).
|
||||
|
1
admin/sql/updates/mysql/4.0.0-alpha5.sql
Normal file
1
admin/sql/updates/mysql/4.0.0-alpha5.sql
Normal file
@ -0,0 +1 @@
|
||||
|
@ -195,6 +195,12 @@ class PlaceholderModel extends AdminModel
|
||||
$item->metadata = $registry->toArray();
|
||||
}
|
||||
|
||||
if (!empty($item->value))
|
||||
{
|
||||
// base64 Decode value.
|
||||
$item->value = base64_decode($item->value);
|
||||
}
|
||||
|
||||
|
||||
if (empty($item->id))
|
||||
{
|
||||
@ -946,6 +952,12 @@ class PlaceholderModel extends AdminModel
|
||||
// add the padding (needed)
|
||||
$data['target'] = '[[[' . trim($data['target']) . ']]]';
|
||||
|
||||
// Set the value string to base64 string.
|
||||
if (isset($data['value']))
|
||||
{
|
||||
$data['value'] = base64_encode($data['value']);
|
||||
}
|
||||
|
||||
// Set the Params Items to data
|
||||
if (isset($data['params']) && is_array($data['params']))
|
||||
{
|
||||
|
@ -192,6 +192,8 @@ class PlaceholdersModel extends ListModel
|
||||
continue;
|
||||
}
|
||||
|
||||
// decode value
|
||||
$item->value = base64_decode($item->value);
|
||||
}
|
||||
}
|
||||
|
||||
@ -358,6 +360,8 @@ class PlaceholdersModel extends ListModel
|
||||
continue;
|
||||
}
|
||||
|
||||
// decode value
|
||||
$item->value = base64_decode($item->value);
|
||||
// unset the values we don't want exported.
|
||||
unset($item->asset_id);
|
||||
unset($item->checked_out);
|
||||
|
@ -7,9 +7,9 @@
|
||||
<authorUrl>https://dev.vdm.io</authorUrl>
|
||||
<copyright>Copyright (C) 2015 Vast Development Method. All rights reserved.</copyright>
|
||||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
|
||||
<version>4.0.0-alpha5</version>
|
||||
<version>4.0.0-alpha6</version>
|
||||
<description><![CDATA[
|
||||
<h1>Component Builder (v.4.0.0-alpha5)</h1>
|
||||
<h1>Component Builder (v.4.0.0-alpha6)</h1>
|
||||
<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.
|
||||
|
||||
|
@ -5,10 +5,10 @@
|
||||
<element>pkg_component_builder</element>
|
||||
<type>package</type>
|
||||
<client>site</client>
|
||||
<version>3.2.0-beta8</version>
|
||||
<version>3.2.0-beta9</version>
|
||||
<infourl title="Component Builder!">https://dev.vdm.io</infourl>
|
||||
<downloads>
|
||||
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v3.2.0-beta8.zip</downloadurl>
|
||||
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v3.2.0-beta9.zip</downloadurl>
|
||||
</downloads>
|
||||
<tags>
|
||||
<tag>beta</tag>
|
||||
@ -107,4 +107,22 @@
|
||||
<maintainerurl>https://dev.vdm.io</maintainerurl>
|
||||
<targetplatform name="joomla" version="4\.[1234]"/>
|
||||
</update>
|
||||
<update>
|
||||
<name>Component Builder</name>
|
||||
<description>Builds Complex Joomla Components</description>
|
||||
<element>pkg_component_builder</element>
|
||||
<type>package</type>
|
||||
<client>site</client>
|
||||
<version>4.0.0-alpha6</version>
|
||||
<infourl title="Component Builder!">https://dev.vdm.io</infourl>
|
||||
<downloads>
|
||||
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.0-alpha6.zip</downloadurl>
|
||||
</downloads>
|
||||
<tags>
|
||||
<tag>alpha</tag>
|
||||
</tags>
|
||||
<maintainer>Llewellyn van der Merwe</maintainer>
|
||||
<maintainerurl>https://dev.vdm.io</maintainerurl>
|
||||
<targetplatform name="joomla" version="4\.[1234]"/>
|
||||
</update>
|
||||
</updates>
|
@ -4059,7 +4059,7 @@ class Table extends BaseTable implements Tableinterface
|
||||
'type' => 'textarea',
|
||||
'title' => false,
|
||||
'list' => 'placeholders',
|
||||
'store' => NULL,
|
||||
'store' => 'base64',
|
||||
'tab_name' => 'Details',
|
||||
],
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user