Component Builder (v.5.1.1-beta5)
+ Component Builder (v.5.1.1-beta6)
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 4aea7aaa2..c2e1534ca 100644
--- a/componentbuilder_update_server.xml
+++ b/componentbuilder_update_server.xml
@@ -8,7 +8,7 @@
3.2.5
https://dev.vdm.io
- https://github.com/vdm-io/pkg-component-builder/archive/refs/tags/v3.2.5.zip
+ https://github.com/joomengine/pkg-component-builder/archive/refs/tags/v3.2.5.zip
stable
@@ -26,7 +26,7 @@
4.1.0
https://dev.vdm.io
- https://github.com/vdm-io/pkg-component-builder/archive/refs/tags/v4.1.0.zip
+ https://github.com/joomengine/pkg-component-builder/archive/refs/tags/v4.1.0.zip
stable
@@ -44,7 +44,7 @@
5.0.0
https://dev.vdm.io
- https://github.com/vdm-io/pkg-component-builder/archive/refs/tags/v5.0.0.zip
+ https://github.com/joomengine/pkg-component-builder/archive/refs/tags/v5.0.0.zip
stable
@@ -62,7 +62,7 @@
5.0.1
https://dev.vdm.io
- https://github.com/vdm-io/pkg-component-builder/archive/refs/tags/v5.0.1.zip
+ https://github.com/joomengine/pkg-component-builder/archive/refs/tags/v5.0.1.zip
stable
@@ -80,7 +80,7 @@
5.0.2
https://dev.vdm.io
- https://github.com/vdm-io/pkg-component-builder/archive/refs/tags/v5.0.2.zip
+ https://github.com/joomengine/pkg-component-builder/archive/refs/tags/v5.0.2.zip
stable
@@ -98,7 +98,7 @@
5.0.3
https://dev.vdm.io
- https://github.com/vdm-io/pkg-component-builder/archive/refs/tags/v5.0.3.zip
+ https://github.com/joomengine/pkg-component-builder/archive/refs/tags/v5.0.3.zip
stable
@@ -116,7 +116,7 @@
5.1.0
https://dev.vdm.io
- https://github.com/vdm-io/pkg-component-builder/archive/refs/tags/v5.1.0.zip
+ https://github.com/joomengine/pkg-component-builder/archive/refs/tags/v5.1.0.zip
stable
@@ -134,7 +134,7 @@
5.1.1-beta
https://dev.vdm.io
- https://github.com/vdm-io/pkg-component-builder/archive/refs/tags/v5.1.1-beta5.zip
+ https://github.com/joomengine/pkg-component-builder/archive/refs/tags/v5.1.1-beta6.zip
beta
@@ -149,10 +149,10 @@
pkg_component_builder
package
site
- 5.1.1-beta5
+ 5.1.1-beta6
https://dev.vdm.io
- https://github.com/vdm-io/pkg-component-builder/archive/refs/tags/v5.1.1-beta5.zip
+ https://github.com/joomengine/pkg-component-builder/archive/refs/tags/v5.1.1-beta6.zip
beta
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Helper/Interpretation.php b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Helper/Interpretation.php
index 509edd39d..1e1a0d7bb 100644
--- a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Helper/Interpretation.php
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Helper/Interpretation.php
@@ -29,6 +29,7 @@ use VDM\Joomla\Componentbuilder\Compiler\Utilities\Indent;
use VDM\Joomla\Componentbuilder\Compiler\Utilities\Line;
use VDM\Joomla\Componentbuilder\Compiler\Utilities\Minify;
use VDM\Joomla\Componentbuilder\Compiler\Helper\Fields;
+use Joomla\CMS\Form\Form;
/**
@@ -17415,7 +17416,7 @@ class Interpretation extends Fields
. " * Method to validate the form data.";
$fix .= PHP_EOL . Indent::_(1) . " *";
$fix .= PHP_EOL . Indent::_(1)
- . " * @param JForm \$form The form to validate against.";
+ . " * @param Form \$form The form to validate against.";
$fix .= PHP_EOL . Indent::_(1)
. " * @param array \$data The data to validate.";
$fix .= PHP_EOL . Indent::_(1)
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/JoomlaThree/Header.php b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/JoomlaThree/Header.php
index e2245ac5e..cc947d4d4 100644
--- a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/JoomlaThree/Header.php
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/JoomlaThree/Header.php
@@ -25,6 +25,7 @@ use VDM\Joomla\Componentbuilder\Compiler\Builder\Tags;
use VDM\Joomla\Utilities\ArrayHelper;
use VDM\Joomla\Utilities\StringHelper;
use VDM\Joomla\Componentbuilder\Compiler\Interfaces\HeaderInterface;
+use Joomla\CMS\Form\FormHelper;
/**
@@ -422,7 +423,7 @@ final class Header implements HeaderInterface
case 'form.custom.field':
$headers[] = 'use Joomla\CMS\HTML\HTMLHelper as Html;';
$headers[] = "jimport('joomla.form.helper');";
- $headers[] = "\JFormHelper::loadFieldClass('###JFORM_extends###');";
+ $headers[] = "FormHelper::loadFieldClass('###JFORM_extends###');";
break;
default:
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/JoomlaPower/Readme/Main.php b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/JoomlaPower/Readme/Main.php
index bcce657a5..a2522d8e9 100644
--- a/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/JoomlaPower/Readme/Main.php
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/JoomlaPower/Readme/Main.php
@@ -78,7 +78,7 @@ You write clean, readable logic — and JCB ensures compatibility under the hood
MD;
// What can be found here
- $readme[] = '### What's in This Repository?';
+ $readme[] = '### What\'s in This Repository?';
$readme[] = << 'TINYINT(1)',
'default' => '1',
'GUID' => '2089f202-667a-4fbd-881c-cc0fe1343ce4',
- 'null_switch' => 'NOT NULL',
+ 'null_switch' => 'NULL',
'unique_key' => false,
'key' => true,
],
@@ -10863,7 +10863,7 @@ class Table extends BaseTable implements TableInterface
'store' => 'json',
'tab_name' => 'Details',
'db' => [
- 'type' => 'TEXT',
+ 'type' => 'MEDIUMTEXT',
'default' => 'EMPTY',
'GUID' => '36edbdce-b9b7-4b89-b2d9-03f91bb56019',
'null_switch' => 'NULL',
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Database/Delete.php b/libraries/vendor_jcb/VDM.Joomla/src/Database/Delete.php
index 731ad428a..18b361803 100644
--- a/libraries/vendor_jcb/VDM.Joomla/src/Database/Delete.php
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Database/Delete.php
@@ -42,7 +42,7 @@ final class Delete extends Database implements DeleteInterface
}
// get a query object
- $query = $this->db->getQuery(true);
+ $query = $this->db->createQuery();
// start the conditions bucket
$_conditions = [];
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Database/Insert.php b/libraries/vendor_jcb/VDM.Joomla/src/Database/Insert.php
index 2cc70b4ed..cf11c39ab 100644
--- a/libraries/vendor_jcb/VDM.Joomla/src/Database/Insert.php
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Database/Insert.php
@@ -219,7 +219,7 @@ final class Insert extends Versioning implements InsertInterface
$this->historyGuid = [];
// get a query object
- $query = $this->db->getQuery(true);
+ $query = $this->db->createQuery();
$table = $this->getTable($table);
// set the query targets
@@ -242,7 +242,7 @@ final class Insert extends Versioning implements InsertInterface
$limit = 300;
// get a query object
- $query = $this->db->getQuery(true);
+ $query = $this->db->createQuery();
// set the query targets
$query->insert($this->db->quoteName($table))->columns($this->db->quoteName(array_keys($columns)));
@@ -334,7 +334,7 @@ final class Insert extends Versioning implements InsertInterface
{
try
{
- $query = $this->db->getQuery(true)
+ $query = $this->db->createQuery()
->select($this->db->quoteName('id'))
->from($this->db->quoteName($table))
->where(
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Database/Load.php b/libraries/vendor_jcb/VDM.Joomla/src/Database/Load.php
index 4dac6532c..5e31cb03c 100644
--- a/libraries/vendor_jcb/VDM.Joomla/src/Database/Load.php
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Database/Load.php
@@ -330,7 +330,7 @@ final class Load extends Database implements LoadInterface
protected function query(array $select, array $tables, ?array $where = null,
?array $order = null, ?int $limit = null): ?object
{
- $query = $this->db->getQuery(true);
+ $query = $this->db->createQuery();
$this->applySelect($query, $select);
$this->applyFromAndJoins($query, $tables);
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Database/Update.php b/libraries/vendor_jcb/VDM.Joomla/src/Database/Update.php
index a88308a22..3eef64a4d 100644
--- a/libraries/vendor_jcb/VDM.Joomla/src/Database/Update.php
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Database/Update.php
@@ -167,7 +167,7 @@ final class Update extends Versioning implements UpdateInterface
$table = $this->getTable($table);
// get a query object
- $query = $this->db->getQuery(true);
+ $query = $this->db->createQuery();
// set the query targets
$query->update($this->db->quoteName($table));
@@ -270,7 +270,7 @@ final class Update extends Versioning implements UpdateInterface
}
// Get a query object
- $query = $this->db->getQuery(true);
+ $query = $this->db->createQuery();
// Prepare the update statement
$query->update($this->db->quoteName($this->getTable($table)))
@@ -317,7 +317,7 @@ final class Update extends Versioning implements UpdateInterface
try
{
- $query = $this->db->getQuery(true)
+ $query = $this->db->createQuery()
->select($this->db->quoteName('id'))
->from($this->db->quoteName($table))
->where($this->db->quoteName('guid') . ' = ' . $this->quote($guid));
diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Utilities/StringHelper.php b/libraries/vendor_jcb/VDM.Joomla/src/Utilities/StringHelper.php
index 69c884d01..a2033d9e9 100644
--- a/libraries/vendor_jcb/VDM.Joomla/src/Utilities/StringHelper.php
+++ b/libraries/vendor_jcb/VDM.Joomla/src/Utilities/StringHelper.php
@@ -87,12 +87,12 @@ abstract class StringHelper
{
// Safely escape output for HTML
$title = self::shorten($string, 400 , false);
- $escapedTitle = htmlspecialchars($title, ENT_QUOTES, 'UTF-8');
- $escapedShort = htmlspecialchars($shortened, ENT_QUOTES, 'UTF-8');
- return ''
- . $escapedShort
- . '';
+ return sprintf(
+ '%s',
+ htmlspecialchars($title, ENT_QUOTES, 'UTF-8'),
+ htmlspecialchars($shortened, ENT_QUOTES, 'UTF-8')
+ );
}
// Return shortened version without tooltip