@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | */ |
| 38 | 38 | public function getIdentifier() : string |
| 39 | 39 | { |
| 40 | - return 'aimeos'; |
|
| 40 | + return 'aimeos'; |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | */ |
| 49 | 49 | public function getTitle() : string |
| 50 | 50 | { |
| 51 | - return 'Aimeos database migration'; |
|
| 51 | + return 'Aimeos database migration'; |
|
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | */ |
| 60 | 60 | public function getDescription() : string |
| 61 | 61 | { |
| 62 | - return 'Updates the Aimeos database tables and migrates data if necessary'; |
|
| 62 | + return 'Updates the Aimeos database tables and migrates data if necessary'; |
|
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | |
@@ -1,89 +1,89 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | return array( |
| 4 | - 'jqadm' => array( |
|
| 5 | - 'url' => array( |
|
| 6 | - 'batch' => array( |
|
| 7 | - 'controller' => 'Jqadm', |
|
| 8 | - 'action' => 'batch', |
|
| 9 | - 'config' => array( |
|
| 10 | - 'BE' => true, |
|
| 11 | - ), |
|
| 12 | - ), |
|
| 13 | - 'copy' => array( |
|
| 14 | - 'controller' => 'Jqadm', |
|
| 15 | - 'action' => 'copy', |
|
| 16 | - 'config' => array( |
|
| 17 | - 'BE' => true, |
|
| 18 | - ), |
|
| 19 | - ), |
|
| 20 | - 'create' => array( |
|
| 21 | - 'controller' => 'Jqadm', |
|
| 22 | - 'action' => 'create', |
|
| 23 | - 'config' => array( |
|
| 24 | - 'BE' => true, |
|
| 25 | - ), |
|
| 26 | - ), |
|
| 27 | - 'delete' => array( |
|
| 28 | - 'controller' => 'Jqadm', |
|
| 29 | - 'action' => 'delete', |
|
| 30 | - 'config' => array( |
|
| 31 | - 'BE' => true, |
|
| 32 | - ), |
|
| 33 | - ), |
|
| 34 | - 'export' => array( |
|
| 35 | - 'controller' => 'Jqadm', |
|
| 36 | - 'action' => 'export', |
|
| 37 | - 'config' => array( |
|
| 38 | - 'BE' => true, |
|
| 39 | - ), |
|
| 40 | - ), |
|
| 41 | - 'get' => array( |
|
| 42 | - 'controller' => 'Jqadm', |
|
| 43 | - 'action' => 'get', |
|
| 44 | - 'config' => array( |
|
| 45 | - 'BE' => true, |
|
| 46 | - ), |
|
| 47 | - ), |
|
| 48 | - 'import' => array( |
|
| 49 | - 'controller' => 'Jqadm', |
|
| 50 | - 'action' => 'import', |
|
| 51 | - 'config' => array( |
|
| 52 | - 'BE' => true, |
|
| 53 | - ), |
|
| 54 | - ), |
|
| 55 | - 'save' => array( |
|
| 56 | - 'controller' => 'Jqadm', |
|
| 57 | - 'action' => 'save', |
|
| 58 | - 'config' => array( |
|
| 59 | - 'BE' => true, |
|
| 60 | - ), |
|
| 61 | - ), |
|
| 62 | - 'search' => array( |
|
| 63 | - 'controller' => 'Jqadm', |
|
| 64 | - 'action' => 'search', |
|
| 65 | - 'config' => array( |
|
| 66 | - 'BE' => true, |
|
| 67 | - ), |
|
| 68 | - ), |
|
| 69 | - ), |
|
| 70 | - ), |
|
| 71 | - 'jsonadm' => array( |
|
| 72 | - 'url' => array( |
|
| 73 | - 'controller' => 'Jsonadm', |
|
| 74 | - 'action' => 'index', |
|
| 75 | - 'config' => array( |
|
| 76 | - 'absoluteUri' => true, |
|
| 77 | - 'BE' => true, |
|
| 78 | - ), |
|
| 79 | - 'options' => array( |
|
| 80 | - 'controller' => 'Jsonadm', |
|
| 81 | - 'action' => 'index', |
|
| 82 | - 'config' => array( |
|
| 83 | - 'absoluteUri' => true, |
|
| 84 | - 'BE' => true, |
|
| 85 | - ), |
|
| 86 | - ), |
|
| 87 | - ), |
|
| 88 | - ), |
|
| 4 | + 'jqadm' => array( |
|
| 5 | + 'url' => array( |
|
| 6 | + 'batch' => array( |
|
| 7 | + 'controller' => 'Jqadm', |
|
| 8 | + 'action' => 'batch', |
|
| 9 | + 'config' => array( |
|
| 10 | + 'BE' => true, |
|
| 11 | + ), |
|
| 12 | + ), |
|
| 13 | + 'copy' => array( |
|
| 14 | + 'controller' => 'Jqadm', |
|
| 15 | + 'action' => 'copy', |
|
| 16 | + 'config' => array( |
|
| 17 | + 'BE' => true, |
|
| 18 | + ), |
|
| 19 | + ), |
|
| 20 | + 'create' => array( |
|
| 21 | + 'controller' => 'Jqadm', |
|
| 22 | + 'action' => 'create', |
|
| 23 | + 'config' => array( |
|
| 24 | + 'BE' => true, |
|
| 25 | + ), |
|
| 26 | + ), |
|
| 27 | + 'delete' => array( |
|
| 28 | + 'controller' => 'Jqadm', |
|
| 29 | + 'action' => 'delete', |
|
| 30 | + 'config' => array( |
|
| 31 | + 'BE' => true, |
|
| 32 | + ), |
|
| 33 | + ), |
|
| 34 | + 'export' => array( |
|
| 35 | + 'controller' => 'Jqadm', |
|
| 36 | + 'action' => 'export', |
|
| 37 | + 'config' => array( |
|
| 38 | + 'BE' => true, |
|
| 39 | + ), |
|
| 40 | + ), |
|
| 41 | + 'get' => array( |
|
| 42 | + 'controller' => 'Jqadm', |
|
| 43 | + 'action' => 'get', |
|
| 44 | + 'config' => array( |
|
| 45 | + 'BE' => true, |
|
| 46 | + ), |
|
| 47 | + ), |
|
| 48 | + 'import' => array( |
|
| 49 | + 'controller' => 'Jqadm', |
|
| 50 | + 'action' => 'import', |
|
| 51 | + 'config' => array( |
|
| 52 | + 'BE' => true, |
|
| 53 | + ), |
|
| 54 | + ), |
|
| 55 | + 'save' => array( |
|
| 56 | + 'controller' => 'Jqadm', |
|
| 57 | + 'action' => 'save', |
|
| 58 | + 'config' => array( |
|
| 59 | + 'BE' => true, |
|
| 60 | + ), |
|
| 61 | + ), |
|
| 62 | + 'search' => array( |
|
| 63 | + 'controller' => 'Jqadm', |
|
| 64 | + 'action' => 'search', |
|
| 65 | + 'config' => array( |
|
| 66 | + 'BE' => true, |
|
| 67 | + ), |
|
| 68 | + ), |
|
| 69 | + ), |
|
| 70 | + ), |
|
| 71 | + 'jsonadm' => array( |
|
| 72 | + 'url' => array( |
|
| 73 | + 'controller' => 'Jsonadm', |
|
| 74 | + 'action' => 'index', |
|
| 75 | + 'config' => array( |
|
| 76 | + 'absoluteUri' => true, |
|
| 77 | + 'BE' => true, |
|
| 78 | + ), |
|
| 79 | + 'options' => array( |
|
| 80 | + 'controller' => 'Jsonadm', |
|
| 81 | + 'action' => 'index', |
|
| 82 | + 'config' => array( |
|
| 83 | + 'absoluteUri' => true, |
|
| 84 | + 'BE' => true, |
|
| 85 | + ), |
|
| 86 | + ), |
|
| 87 | + ), |
|
| 88 | + ), |
|
| 89 | 89 | ); |
@@ -1,13 +1,13 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | return array( |
| 4 | - 'common' => array( |
|
| 5 | - 'media' => array( |
|
| 6 | - // Mime icon related settings |
|
| 7 | - 'mimeicon' => array( |
|
| 8 | - // File extension of mime type icons |
|
| 9 | - 'extension' => '.png', |
|
| 10 | - ), |
|
| 11 | - ), |
|
| 12 | - ), |
|
| 4 | + 'common' => array( |
|
| 5 | + 'media' => array( |
|
| 6 | + // Mime icon related settings |
|
| 7 | + 'mimeicon' => array( |
|
| 8 | + // File extension of mime type icons |
|
| 9 | + 'extension' => '.png', |
|
| 10 | + ), |
|
| 11 | + ), |
|
| 12 | + ), |
|
| 13 | 13 | ); |
@@ -4,40 +4,40 @@ |
||
| 4 | 4 | $driver = $defaultConnection['driver'] ?? null; |
| 5 | 5 | |
| 6 | 6 | switch($driver) { |
| 7 | - case 'mysql': |
|
| 8 | - case 'mysqli': |
|
| 9 | - case 'pdo_mysql': $manager = 'MySQL'; break; |
|
| 10 | - case 'pgsql': |
|
| 11 | - case 'pdo_pgsql': $manager = 'PgSQL'; break; |
|
| 12 | - case 'sqlsrv': |
|
| 13 | - case 'pdo_sqlsrv': $manager = 'SQLSrv'; break; |
|
| 14 | - default: $manager = 'Standard'; |
|
| 7 | + case 'mysql': |
|
| 8 | + case 'mysqli': |
|
| 9 | + case 'pdo_mysql': $manager = 'MySQL'; break; |
|
| 10 | + case 'pgsql': |
|
| 11 | + case 'pdo_pgsql': $manager = 'PgSQL'; break; |
|
| 12 | + case 'sqlsrv': |
|
| 13 | + case 'pdo_sqlsrv': $manager = 'SQLSrv'; break; |
|
| 14 | + default: $manager = 'Standard'; |
|
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | return [ |
| 18 | - 'customer' => [ |
|
| 19 | - 'manager' => [ |
|
| 20 | - 'name' => 'Typo3', |
|
| 21 | - ], |
|
| 22 | - ], |
|
| 23 | - 'index' => [ |
|
| 24 | - 'manager' => [ |
|
| 25 | - 'name' => $manager, |
|
| 26 | - 'attribute' => [ |
|
| 27 | - 'name' => $manager, |
|
| 28 | - ], |
|
| 29 | - 'catalog' => [ |
|
| 30 | - 'name' => $manager, |
|
| 31 | - ], |
|
| 32 | - 'price' => [ |
|
| 33 | - 'name' => $manager, |
|
| 34 | - ], |
|
| 35 | - 'supplier' => [ |
|
| 36 | - 'name' => $manager, |
|
| 37 | - ], |
|
| 38 | - 'text' => [ |
|
| 39 | - 'name' => $manager, |
|
| 40 | - ], |
|
| 41 | - ], |
|
| 42 | - ], |
|
| 18 | + 'customer' => [ |
|
| 19 | + 'manager' => [ |
|
| 20 | + 'name' => 'Typo3', |
|
| 21 | + ], |
|
| 22 | + ], |
|
| 23 | + 'index' => [ |
|
| 24 | + 'manager' => [ |
|
| 25 | + 'name' => $manager, |
|
| 26 | + 'attribute' => [ |
|
| 27 | + 'name' => $manager, |
|
| 28 | + ], |
|
| 29 | + 'catalog' => [ |
|
| 30 | + 'name' => $manager, |
|
| 31 | + ], |
|
| 32 | + 'price' => [ |
|
| 33 | + 'name' => $manager, |
|
| 34 | + ], |
|
| 35 | + 'supplier' => [ |
|
| 36 | + 'name' => $manager, |
|
| 37 | + ], |
|
| 38 | + 'text' => [ |
|
| 39 | + 'name' => $manager, |
|
| 40 | + ], |
|
| 41 | + ], |
|
| 42 | + ], |
|
| 43 | 43 | ]; |
@@ -7,82 +7,82 @@ |
||
| 7 | 7 | $driver = $defaultConnection['driver'] ?? null; |
| 8 | 8 | |
| 9 | 9 | switch($driver) { |
| 10 | - case 'mysqli': |
|
| 11 | - case 'pdo_mysql': $adapter = 'mysql'; break; |
|
| 12 | - case 'pdo_oci': $adapter = 'oracle'; break; |
|
| 13 | - case 'pdo_pgsql': $adapter = 'pgsql'; break; |
|
| 14 | - case 'pdo_sqlite': $adapter = 'sqlite'; break; |
|
| 15 | - case 'pdo_sqlsrv': $adapter = 'sqlsrv'; break; |
|
| 16 | - default: $adapter = $driver; |
|
| 10 | + case 'mysqli': |
|
| 11 | + case 'pdo_mysql': $adapter = 'mysql'; break; |
|
| 12 | + case 'pdo_oci': $adapter = 'oracle'; break; |
|
| 13 | + case 'pdo_pgsql': $adapter = 'pgsql'; break; |
|
| 14 | + case 'pdo_sqlite': $adapter = 'sqlite'; break; |
|
| 15 | + case 'pdo_sqlsrv': $adapter = 'sqlsrv'; break; |
|
| 16 | + default: $adapter = $driver; |
|
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | switch($adapter) { |
| 20 | - case 'mysql': $stmt = ["SET SESSION sort_buffer_size=2097144; SET NAMES 'utf8'; SET SESSION sql_mode='ANSI'; SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED"]; break; |
|
| 21 | - default: $stmt = []; |
|
| 20 | + case 'mysql': $stmt = ["SET SESSION sort_buffer_size=2097144; SET NAMES 'utf8'; SET SESSION sql_mode='ANSI'; SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED"]; break; |
|
| 21 | + default: $stmt = []; |
|
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | return [ |
| 25 | - 'db' => [ |
|
| 26 | - 'adapter' => $adapter, |
|
| 27 | - 'host' => $defaultConnection['host'] ?? null, |
|
| 28 | - 'port' => $defaultConnection['port'] ?? null, |
|
| 29 | - 'socket' => $defaultConnection['socket'] ?? null, |
|
| 30 | - 'database' => $defaultConnection['dbname'] ?? null, |
|
| 31 | - 'username' => $defaultConnection['user'] ?? null, |
|
| 32 | - 'password' => $defaultConnection['password'] ?? null, |
|
| 33 | - 'stmt' => $stmt, |
|
| 34 | - 'defaultTableOptions' => [ |
|
| 35 | - 'charset' => $defaultConnection['tableoptions']['charset'] ?? 'utf8', |
|
| 36 | - 'collate' => $defaultConnection['tableoptions']['collate'] ?? 'utf8_unicode_ci', |
|
| 37 | - ], |
|
| 38 | - 'limit' => 3, |
|
| 39 | - ], |
|
| 40 | - 'fs' => [ |
|
| 41 | - 'adapter' => 'Standard', |
|
| 42 | - 'baseurl' => '/uploads/tx_aimeos', |
|
| 43 | - 'basedir' => $publicPath . '/uploads/tx_aimeos', |
|
| 44 | - 'tempdir' => $publicPath . '/typo3temp', |
|
| 45 | - ], |
|
| 46 | - 'fs-media' => [ |
|
| 47 | - 'adapter' => 'Standard', |
|
| 48 | - 'baseurl' => '/uploads/tx_aimeos', |
|
| 49 | - 'basedir' => $publicPath . '/uploads/tx_aimeos', |
|
| 50 | - 'tempdir' => $publicPath . '/typo3temp', |
|
| 51 | - ], |
|
| 52 | - 'fs-mimeicon' => [ |
|
| 53 | - 'adapter' => 'Standard', |
|
| 54 | - 'baseurl' => $assetPath . '/Images/Mimeicons', |
|
| 55 | - 'basedir' => $assetPath . '/Images/Mimeicons', |
|
| 56 | - 'tempdir' => $publicPath . '/typo3temp', |
|
| 57 | - ], |
|
| 58 | - 'fs-theme' => [ |
|
| 59 | - 'adapter' => 'Standard', |
|
| 60 | - 'baseurl' => $assetPath . '/Themes', |
|
| 61 | - 'basedir' => $assetPath . '/Themes', |
|
| 62 | - 'tempdir' => $publicPath . '/typo3temp', |
|
| 63 | - ], |
|
| 64 | - 'fs-admin' => [ |
|
| 65 | - 'adapter' => 'Standard', |
|
| 66 | - 'basedir' => $publicPath . '/uploads/tx_aimeos/.secure/admin', |
|
| 67 | - 'tempdir' => $publicPath . '/typo3temp', |
|
| 68 | - ], |
|
| 69 | - 'fs-export' => [ |
|
| 70 | - 'adapter' => 'Standard', |
|
| 71 | - 'basedir' => $publicPath . '/uploads/tx_aimeos/.secure/export', |
|
| 72 | - 'tempdir' => $publicPath . '/typo3temp', |
|
| 73 | - ], |
|
| 74 | - 'fs-import' => [ |
|
| 75 | - 'adapter' => 'Standard', |
|
| 76 | - 'basedir' => $publicPath . '/uploads/tx_aimeos/.secure/import', |
|
| 77 | - 'tempdir' => $publicPath . '/typo3temp', |
|
| 78 | - ], |
|
| 79 | - 'fs-secure' => [ |
|
| 80 | - 'adapter' => 'Standard', |
|
| 81 | - 'basedir' => $publicPath . '/uploads/tx_aimeos/.secure', |
|
| 82 | - 'tempdir' => $publicPath . '/typo3temp', |
|
| 83 | - ], |
|
| 84 | - 'mq' => [ |
|
| 85 | - 'adapter' => 'Standard', |
|
| 86 | - 'db' => 'db', |
|
| 87 | - ], |
|
| 25 | + 'db' => [ |
|
| 26 | + 'adapter' => $adapter, |
|
| 27 | + 'host' => $defaultConnection['host'] ?? null, |
|
| 28 | + 'port' => $defaultConnection['port'] ?? null, |
|
| 29 | + 'socket' => $defaultConnection['socket'] ?? null, |
|
| 30 | + 'database' => $defaultConnection['dbname'] ?? null, |
|
| 31 | + 'username' => $defaultConnection['user'] ?? null, |
|
| 32 | + 'password' => $defaultConnection['password'] ?? null, |
|
| 33 | + 'stmt' => $stmt, |
|
| 34 | + 'defaultTableOptions' => [ |
|
| 35 | + 'charset' => $defaultConnection['tableoptions']['charset'] ?? 'utf8', |
|
| 36 | + 'collate' => $defaultConnection['tableoptions']['collate'] ?? 'utf8_unicode_ci', |
|
| 37 | + ], |
|
| 38 | + 'limit' => 3, |
|
| 39 | + ], |
|
| 40 | + 'fs' => [ |
|
| 41 | + 'adapter' => 'Standard', |
|
| 42 | + 'baseurl' => '/uploads/tx_aimeos', |
|
| 43 | + 'basedir' => $publicPath . '/uploads/tx_aimeos', |
|
| 44 | + 'tempdir' => $publicPath . '/typo3temp', |
|
| 45 | + ], |
|
| 46 | + 'fs-media' => [ |
|
| 47 | + 'adapter' => 'Standard', |
|
| 48 | + 'baseurl' => '/uploads/tx_aimeos', |
|
| 49 | + 'basedir' => $publicPath . '/uploads/tx_aimeos', |
|
| 50 | + 'tempdir' => $publicPath . '/typo3temp', |
|
| 51 | + ], |
|
| 52 | + 'fs-mimeicon' => [ |
|
| 53 | + 'adapter' => 'Standard', |
|
| 54 | + 'baseurl' => $assetPath . '/Images/Mimeicons', |
|
| 55 | + 'basedir' => $assetPath . '/Images/Mimeicons', |
|
| 56 | + 'tempdir' => $publicPath . '/typo3temp', |
|
| 57 | + ], |
|
| 58 | + 'fs-theme' => [ |
|
| 59 | + 'adapter' => 'Standard', |
|
| 60 | + 'baseurl' => $assetPath . '/Themes', |
|
| 61 | + 'basedir' => $assetPath . '/Themes', |
|
| 62 | + 'tempdir' => $publicPath . '/typo3temp', |
|
| 63 | + ], |
|
| 64 | + 'fs-admin' => [ |
|
| 65 | + 'adapter' => 'Standard', |
|
| 66 | + 'basedir' => $publicPath . '/uploads/tx_aimeos/.secure/admin', |
|
| 67 | + 'tempdir' => $publicPath . '/typo3temp', |
|
| 68 | + ], |
|
| 69 | + 'fs-export' => [ |
|
| 70 | + 'adapter' => 'Standard', |
|
| 71 | + 'basedir' => $publicPath . '/uploads/tx_aimeos/.secure/export', |
|
| 72 | + 'tempdir' => $publicPath . '/typo3temp', |
|
| 73 | + ], |
|
| 74 | + 'fs-import' => [ |
|
| 75 | + 'adapter' => 'Standard', |
|
| 76 | + 'basedir' => $publicPath . '/uploads/tx_aimeos/.secure/import', |
|
| 77 | + 'tempdir' => $publicPath . '/typo3temp', |
|
| 78 | + ], |
|
| 79 | + 'fs-secure' => [ |
|
| 80 | + 'adapter' => 'Standard', |
|
| 81 | + 'basedir' => $publicPath . '/uploads/tx_aimeos/.secure', |
|
| 82 | + 'tempdir' => $publicPath . '/typo3temp', |
|
| 83 | + ], |
|
| 84 | + 'mq' => [ |
|
| 85 | + 'adapter' => 'Standard', |
|
| 86 | + 'db' => 'db', |
|
| 87 | + ], |
|
| 88 | 88 | ]; |