Release of v3.2.1-beta3
Fix version_update column size. Improved the Schema Table update engine.
This commit is contained in:
@@ -433,6 +433,22 @@ class Data
|
||||
}
|
||||
unset($view->addtables);
|
||||
|
||||
// Make sure the icon is only an icon path
|
||||
if (strpos($view->icon, '#') !== false)
|
||||
{
|
||||
$view->icon = strstr($view->icon, '#', true);
|
||||
}
|
||||
// Make sure the icon_add is only an icon_add path
|
||||
if (strpos($view->icon_add, '#') !== false)
|
||||
{
|
||||
$view->icon_add = strstr($view->icon_add, '#', true);
|
||||
}
|
||||
// Make sure the icon_add is only an icon_add path
|
||||
if (strpos($view->icon_category, '#') !== false)
|
||||
{
|
||||
$view->icon_category = strstr($view->icon_category, '#', true);
|
||||
}
|
||||
|
||||
// set custom tabs
|
||||
$this->customtabs->set($view);
|
||||
|
||||
|
@@ -404,6 +404,12 @@ final class Data
|
||||
)
|
||||
);
|
||||
|
||||
// Make sure the image is only an image path
|
||||
if (strpos($component->image, '#') !== false)
|
||||
{
|
||||
$component->image = strstr($component->image, '#', true);
|
||||
}
|
||||
|
||||
// set the website and autor for global use (default to VDM if not found)
|
||||
$this->config->set('project_website', $component->website ?? 'https://dev.vdm.io');
|
||||
$this->config->set('project_author', $component->author ?? 'VDM');
|
||||
|
@@ -243,6 +243,12 @@ class Data
|
||||
'jcb_ce_onBeforeModelCustomViewData', [&$item, &$id, &$table]
|
||||
);
|
||||
|
||||
// Make sure the icon is only an icon path
|
||||
if (strpos($item->icon, '#') !== false)
|
||||
{
|
||||
$item->icon = strstr($item->icon, '#', true);
|
||||
}
|
||||
|
||||
// set GUI mapper
|
||||
$guiMapper = [
|
||||
'table' => $table,
|
||||
|
@@ -9598,7 +9598,7 @@ class Table extends BaseTable implements Tableinterface
|
||||
'store' => 'json',
|
||||
'tab_name' => 'Updates',
|
||||
'db' => [
|
||||
'type' => 'TEXT',
|
||||
'type' => 'MEDIUMTEXT',
|
||||
'default' => 'EMPTY',
|
||||
'null_switch' => 'NOT NULL',
|
||||
'unique_key' => false,
|
||||
@@ -10526,7 +10526,7 @@ class Table extends BaseTable implements Tableinterface
|
||||
'store' => 'json',
|
||||
'tab_name' => 'Updates',
|
||||
'db' => [
|
||||
'type' => 'TEXT',
|
||||
'type' => 'MEDIUMTEXT',
|
||||
'default' => 'EMPTY',
|
||||
'null_switch' => 'NOT NULL',
|
||||
'unique_key' => false,
|
||||
@@ -10734,7 +10734,7 @@ class Table extends BaseTable implements Tableinterface
|
||||
'store' => 'json',
|
||||
'tab_name' => 'Updates',
|
||||
'db' => [
|
||||
'type' => 'TEXT',
|
||||
'type' => 'MEDIUMTEXT',
|
||||
'default' => 'EMPTY',
|
||||
'null_switch' => 'NOT NULL',
|
||||
'unique_key' => false,
|
||||
|
Reference in New Issue
Block a user