Export any component completely mapped in JCB and import into another JCB with owner control

This commit is contained in:
2017-03-31 10:18:33 +02:00
parent cca07258d6
commit 5dc3f97f15
207 changed files with 374 additions and 1004 deletions

View File

@ -1 +0,0 @@

View File

@ -1 +0,0 @@
ALTER TABLE `#__componentbuilder_field` CHANGE `type` `fieldtype` INT( 11 ) NOT NULL DEFAULT '0';

View File

@ -1 +0,0 @@

View File

@ -1 +0,0 @@
ALTER TABLE `#__componentbuilder_component` ADD `add_email_helper` TINYINT(1) NOT NULL DEFAULT '0' AFTER `add_css`;

View File

@ -1 +0,0 @@

View File

@ -1 +0,0 @@

View File

@ -1,2 +0,0 @@
ALTER TABLE `#__componentbuilder_custom_admin_view` ADD `icon` CHAR(64) NOT NULL DEFAULT '' AFTER `dynamic_get`;
ALTER TABLE `#__componentbuilder_component` CHANGE `version_update` `version_update` MEDIUMTEXT NOT NULL;

View File

@ -1 +0,0 @@

View File

@ -1,2 +0,0 @@
ALTER TABLE `#__componentbuilder_admin_view` ADD `add_php_getitems_after_all` TINYINT(1) NOT NULL DEFAULT '0' AFTER `add_php_getitems`;
ALTER TABLE `#__componentbuilder_admin_view` ADD `php_getitems_after_all` MEDIUMTEXT NOT NULL AFTER `php_getitems`;

View File

@ -1 +0,0 @@

View File

@ -1,4 +0,0 @@
ALTER TABLE `#__componentbuilder_admin_view` ADD `add_php_before_publish` TINYINT(1) NOT NULL DEFAULT '0' AFTER `add_php_before_delete`;
ALTER TABLE `#__componentbuilder_admin_view` ADD `php_before_publish` MEDIUMTEXT NOT NULL AFTER `php_before_delete`;
ALTER TABLE `#__componentbuilder_admin_view` ADD `add_php_after_publish` TINYINT(1) NOT NULL DEFAULT '0' AFTER `add_php_after_delete`;
ALTER TABLE `#__componentbuilder_admin_view` ADD `php_after_publish` MEDIUMTEXT NOT NULL AFTER `php_after_delete`;

View File

@ -1 +0,0 @@

View File

@ -1 +0,0 @@

View File

@ -1,4 +0,0 @@
ALTER TABLE `#__componentbuilder_admin_view` ADD `add_custom_button` INT(1) NOT NULL DEFAULT '0' AFTER `add_css_views`,
ADD `custom_button` TEXT NOT NULL AFTER `css_views`,
ADD `php_controller` MEDIUMTEXT NOT NULL AFTER `php_before_publish`,
ADD `php_model` MEDIUMTEXT NOT NULL AFTER `php_import_setdata`;

View File

@ -1,10 +0,0 @@
ALTER TABLE `#__componentbuilder_component` ADD `add_php_postflight_install` TINYINT(1) NOT NULL DEFAULT '0' AFTER `add_php_helper_site`,
ADD `add_php_method_uninstall` TINYINT(1) NOT NULL DEFAULT '0' AFTER `add_php_postflight_install`,
ADD `add_php_postflight_update` TINYINT(1) NOT NULL DEFAULT '0' AFTER `add_php_method_uninstall`,
ADD `add_php_preflight_install` TINYINT(1) NOT NULL DEFAULT '0' AFTER `add_php_postflight_update`,
ADD `add_php_preflight_update` TINYINT(1) NOT NULL DEFAULT '0' AFTER `add_php_preflight_install`,
ADD `php_postflight_install` MEDIUMTEXT NOT NULL AFTER `php_helper_site`,
ADD `php_method_uninstall` MEDIUMTEXT NOT NULL AFTER `php_postflight_install`,
ADD `php_postflight_update` MEDIUMTEXT NOT NULL AFTER `php_method_uninstall`,
ADD `php_preflight_install` MEDIUMTEXT NOT NULL AFTER `php_postflight_update`,
ADD `php_preflight_update` MEDIUMTEXT NOT NULL AFTER `php_preflight_install`;

View File

@ -1,2 +0,0 @@
ALTER TABLE `#__componentbuilder_admin_view` ADD `add_php_document` TINYINT( 1 ) NOT NULL AFTER `add_php_before_delete` ,
ADD `php_document` MEDIUMTEXT NOT NULL AFTER `php_before_delete` ;

View File

@ -1,4 +0,0 @@
ALTER TABLE `#__componentbuilder_admin_view` ADD `add_custom_import` TINYINT( 1 ) NOT NULL AFTER `add_css_views`,
ADD `php_import_save` MEDIUMTEXT NOT NULL AFTER `php_getlistquery`,
ADD `php_import_setdata` MEDIUMTEXT NOT NULL AFTER `php_import_save`,
ADD `html_import_view` MEDIUMTEXT NOT NULL AFTER `description` ;

View File

@ -1 +0,0 @@

View File

@ -1 +0,0 @@
ALTER TABLE `#__componentbuilder_admin_view` ADD `php_import` MEDIUMTEXT NOT NULL AFTER `php_getlistquery`;

View File

@ -1 +0,0 @@

View File

@ -1 +0,0 @@
ALTER TABLE `#__componentbuilder_admin_view` ADD `php_import_display` MEDIUMTEXT NOT NULL AFTER `php_import`;

View File

@ -1 +0,0 @@
ALTER TABLE `#__componentbuilder_admin_view` ADD `add_fadein` TINYINT(1) NOT NULL DEFAULT '0' AFTER `add_custom_import`;

View File

@ -1 +0,0 @@

View File

@ -1 +0,0 @@
ALTER TABLE `#__componentbuilder_component` ADD `update_server_target` TINYINT(1) NOT NULL DEFAULT '1' AFTER `update_server_ftp`;

View File

@ -1,2 +0,0 @@
ALTER TABLE `#__componentbuilder_site_view` CHANGE `alias` `codename` VARCHAR(255) NOT NULL DEFAULT '';
ALTER TABLE `#__componentbuilder_custom_admin_view` CHANGE `alias` `codename` VARCHAR(255) NOT NULL DEFAULT '';

View File

@ -1 +0,0 @@

View File

@ -1,2 +0,0 @@
ALTER TABLE `#__componentbuilder_component` ADD `add_php_helper_both` TINYINT(1) NOT NULL DEFAULT '0' AFTER `add_php_helper_admin`,
ADD `php_helper_both` MEDIUMTEXT NOT NULL AFTER `php_helper_admin`;

View File

@ -1 +0,0 @@

View File

@ -1,2 +0,0 @@
ALTER TABLE `#__componentbuilder_component` ADD `buildcomp` TINYINT(1) NOT NULL DEFAULT '0' AFTER `bom`,
ADD `buildcompsql` MEDIUMTEXT NOT NULL AFTER `buildcomp`;

View File

@ -1,32 +0,0 @@
CREATE TABLE IF NOT EXISTS `#__componentbuilder_custom_code` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`asset_id` INT(255) UNSIGNED NOT NULL DEFAULT '0',
`code` MEDIUMTEXT NOT NULL,
`component` INT(11) NOT NULL DEFAULT '0',
`from_line` VARCHAR(100) NOT NULL DEFAULT '',
`path` TEXT NOT NULL,
`to_line` VARCHAR(100) NOT NULL DEFAULT '',
`type` TINYINT(1) NOT NULL DEFAULT '0',
`params` TEXT NOT NULL,
`published` TINYINT(1) NOT NULL DEFAULT '1',
`created_by` INT(11) NOT NULL DEFAULT '0',
`modified_by` INT(11) NOT NULL DEFAULT '0',
`created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
`modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
`checked_out` INT(11) NOT NULL,
`checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
`version` INT(11) NOT NULL DEFAULT '1',
`hits` INT(11) NOT NULL DEFAULT '0',
`access` INT(11) DEFAULT NULL,
`ordering` INT(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_access` (`access`),
KEY `idx_checkout` (`checked_out`),
KEY `idx_createdby` (`created_by`),
KEY `idx_modifiedby` (`modified_by`),
KEY `idx_state` (`published`),
KEY `idx_component` (`component`),
KEY `idx_type` (`type`),
KEY `idx_from_line` (`from_line`),
KEY `idx_to_line` (`to_line`)
) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;

View File

@ -1 +0,0 @@
ALTER TABLE `#__componentbuilder_custom_code` ADD `hashtarget` VARCHAR(65) NOT NULL DEFAULT '' AFTER `from_line`;

View File

@ -1 +0,0 @@
ALTER TABLE `#__componentbuilder_custom_code` ADD `hashendtarget` VARCHAR(65) NOT NULL DEFAULT '' AFTER `hashtarget`;

View File

@ -1,2 +0,0 @@
ALTER TABLE `#__componentbuilder_component` ADD `add_placeholders` TINYINT(1) NOT NULL DEFAULT '0' AFTER `add_php_preflight_update`;
ALTER TABLE `#__componentbuilder_component` ADD `mvc_versiondate` TINYINT(1) NOT NULL DEFAULT '0' AFTER `license_type`;

View File

@ -0,0 +1 @@
ALTER TABLE `#__componentbuilder_joomla_component` CHANGE `export_key` `export_key` TEXT NOT NULL;