forked from joomla/Component-Builder
Release of v3.2.0-beta9
Fix [Set String Value] in placeholder table to store the value as a base64 string.
This commit is contained in:
parent
91df280520
commit
02a5e42bb5
@ -1,3 +1,7 @@
|
||||
# v3.2.0-beta9
|
||||
|
||||
- Fix [Set String Value] in placeholder table to store the value as a base64 string.
|
||||
|
||||
# v3.2.0-beta8
|
||||
|
||||
- Add Factory class to the J5 Event class. #1093
|
||||
|
@ -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 (3.2.0-beta8) 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.0-beta9) 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*: 3.2.0-beta8
|
||||
+ *Version*: 3.2.0-beta9
|
||||
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
|
||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||
+ *Line count*: **738862**
|
||||
+ *Line count*: **738901**
|
||||
+ *Field count*: **2078**
|
||||
+ *File count*: **5202**
|
||||
+ *File count*: **5203**
|
||||
+ *Folder count*: **459**
|
||||
|
||||
> 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 (3.2.0-beta8) 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.0-beta9) 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*: 3.2.0-beta8
|
||||
+ *Version*: 3.2.0-beta9
|
||||
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
|
||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||
+ *Line count*: **738862**
|
||||
+ *Line count*: **738901**
|
||||
+ *Field count*: **2078**
|
||||
+ *File count*: **5202**
|
||||
+ *File count*: **5203**
|
||||
+ *Folder count*: **459**
|
||||
|
||||
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com).
|
||||
|
@ -163,6 +163,12 @@ class ComponentbuilderModelPlaceholder extends AdminModel
|
||||
$item->metadata = $registry->toArray();
|
||||
}
|
||||
|
||||
if (!empty($item->value))
|
||||
{
|
||||
// base64 Decode value.
|
||||
$item->value = base64_decode($item->value);
|
||||
}
|
||||
|
||||
|
||||
if (empty($item->id))
|
||||
{
|
||||
@ -893,6 +899,12 @@ class ComponentbuilderModelPlaceholder 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']))
|
||||
{
|
||||
|
@ -142,6 +142,8 @@ class ComponentbuilderModelPlaceholders extends ListModel
|
||||
continue;
|
||||
}
|
||||
|
||||
// decode value
|
||||
$item->value = base64_decode($item->value);
|
||||
}
|
||||
}
|
||||
|
||||
@ -307,6 +309,8 @@ class ComponentbuilderModelPlaceholders 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);
|
||||
|
1
admin/sql/updates/mysql/3.2.0-beta8.sql
Normal file
1
admin/sql/updates/mysql/3.2.0-beta8.sql
Normal file
@ -0,0 +1 @@
|
||||
|
@ -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>3.2.0-beta8</version>
|
||||
<version>3.2.0-beta9</version>
|
||||
<description><![CDATA[
|
||||
<h1>Component Builder (v.3.2.0-beta8)</h1>
|
||||
<h1>Component Builder (v.3.2.0-beta9)</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.
|
||||
|
||||
|
@ -1667,4 +1667,22 @@
|
||||
<maintainerurl>https://dev.vdm.io</maintainerurl>
|
||||
<targetplatform name="joomla" version="3.*"/>
|
||||
</update>
|
||||
<update>
|
||||
<name>Component Builder</name>
|
||||
<description>Builds Complex Joomla Components</description>
|
||||
<element>pkg_component_builder</element>
|
||||
<type>package</type>
|
||||
<client>site</client>
|
||||
<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-beta9.zip</downloadurl>
|
||||
</downloads>
|
||||
<tags>
|
||||
<tag>beta</tag>
|
||||
</tags>
|
||||
<maintainer>Llewellyn van der Merwe</maintainer>
|
||||
<maintainerurl>https://dev.vdm.io</maintainerurl>
|
||||
<targetplatform name="joomla" version="3.*"/>
|
||||
</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',
|
||||
],
|
||||
],
|
||||
|
@ -9618,7 +9618,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">
|
||||
<img src="components/com_componentbuilder/assets/images/vdm-component.jpg"/>
|
||||
</a>
|
||||
<h3>Upgrade to Version 3.2.0-beta8 Was Successful! Let us know if anything is not working as expected.</h3></div>';
|
||||
<h3>Upgrade to Version 3.2.0-beta9 Was Successful! Let us know if anything is not working as expected.</h3></div>';
|
||||
|
||||
// Set db if not set already.
|
||||
if (!isset($db))
|
||||
|
Loading…
Reference in New Issue
Block a user