@@ -77,7 +77,7 @@ |
||
77 | 77 | |
78 | 78 | $cacheName = \Aimeos\Aimeos\Base::getExtConfig('cacheName', 'Typo3'); |
79 | 79 | if (isset($GLOBALS['TSFE']) && $GLOBALS['TSFE']->headerNoCache()) { |
80 | - $cacheName = 'None'; |
|
80 | + $cacheName = 'None'; |
|
81 | 81 | } |
82 | 82 | |
83 | 83 | switch ($cacheName) { |
@@ -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 | ); |
@@ -4,67 +4,67 @@ |
||
4 | 4 | $defaultConnection = $GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']; |
5 | 5 | |
6 | 6 | return [ |
7 | - 'db' => [ |
|
8 | - 'adapter' => 'mysql', |
|
9 | - 'host' => $defaultConnection['host'] ?? null, |
|
10 | - 'port' => $defaultConnection['port'] ?? null, |
|
11 | - 'socket' => $defaultConnection['socket'] ?? null, |
|
12 | - 'database' => $defaultConnection['dbname'] ?? null, |
|
13 | - 'username' => $defaultConnection['user'] ?? null, |
|
14 | - 'password' => $defaultConnection['password'] ?? null, |
|
15 | - 'stmt' => ["SET SESSION sort_buffer_size=2097144; SET NAMES 'utf8'; SET SESSION sql_mode='ANSI'; SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED"], |
|
16 | - 'defaultTableOptions' => [ |
|
17 | - 'charset' => $defaultConnection['tableoptions']['charset'] ?? 'utf8', |
|
18 | - 'collate' => $defaultConnection['tableoptions']['collate'] ?? 'utf8_unicode_ci', |
|
19 | - ], |
|
20 | - 'limit' => 3, |
|
21 | - ], |
|
22 | - 'fs' => [ |
|
23 | - 'adapter' => 'Standard', |
|
24 | - 'baseurl' => '/uploads/tx_aimeos', |
|
25 | - 'basedir' => $publicPath . '/uploads/tx_aimeos', |
|
26 | - 'tempdir' => $publicPath . '/typo3temp', |
|
27 | - ], |
|
28 | - 'fs-media' => [ |
|
29 | - 'adapter' => 'Standard', |
|
30 | - 'baseurl' => '/uploads/tx_aimeos', |
|
31 | - 'basedir' => $publicPath . '/uploads/tx_aimeos', |
|
32 | - 'tempdir' => $publicPath . '/typo3temp', |
|
33 | - ], |
|
34 | - 'fs-mimeicon' => [ |
|
35 | - 'adapter' => 'Standard', |
|
36 | - 'baseurl' => '/typo3conf/ext/aimeos/Resources/Public/Images/Mimeicons', |
|
37 | - 'basedir' => $publicPath . '/typo3conf/ext/aimeos/Resources/Public/Images/Mimeicons', |
|
38 | - 'tempdir' => $publicPath . '/typo3temp', |
|
39 | - ], |
|
40 | - 'fs-theme' => [ |
|
41 | - 'adapter' => 'Standard', |
|
42 | - 'baseurl' => '/typo3conf/ext/aimeos/Resources/Public/Themes', |
|
43 | - 'basedir' => $publicPath . '/typo3conf/ext/aimeos/Resources/Public/Themes', |
|
44 | - 'tempdir' => $publicPath . '/typo3temp', |
|
45 | - ], |
|
46 | - 'fs-admin' => [ |
|
47 | - 'adapter' => 'Standard', |
|
48 | - 'basedir' => $publicPath . '/uploads/tx_aimeos/.secure/admin', |
|
49 | - 'tempdir' => $publicPath . '/typo3temp', |
|
50 | - ], |
|
51 | - 'fs-export' => [ |
|
52 | - 'adapter' => 'Standard', |
|
53 | - 'basedir' => $publicPath . '/uploads/tx_aimeos/.secure/export', |
|
54 | - 'tempdir' => $publicPath . '/typo3temp', |
|
55 | - ], |
|
56 | - 'fs-import' => [ |
|
57 | - 'adapter' => 'Standard', |
|
58 | - 'basedir' => $publicPath . '/uploads/tx_aimeos/.secure/import', |
|
59 | - 'tempdir' => $publicPath . '/typo3temp', |
|
60 | - ], |
|
61 | - 'fs-secure' => [ |
|
62 | - 'adapter' => 'Standard', |
|
63 | - 'basedir' => $publicPath . '/uploads/tx_aimeos/.secure', |
|
64 | - 'tempdir' => $publicPath . '/typo3temp', |
|
65 | - ], |
|
66 | - 'mq' => [ |
|
67 | - 'adapter' => 'Standard', |
|
68 | - 'db' => 'db', |
|
69 | - ], |
|
7 | + 'db' => [ |
|
8 | + 'adapter' => 'mysql', |
|
9 | + 'host' => $defaultConnection['host'] ?? null, |
|
10 | + 'port' => $defaultConnection['port'] ?? null, |
|
11 | + 'socket' => $defaultConnection['socket'] ?? null, |
|
12 | + 'database' => $defaultConnection['dbname'] ?? null, |
|
13 | + 'username' => $defaultConnection['user'] ?? null, |
|
14 | + 'password' => $defaultConnection['password'] ?? null, |
|
15 | + 'stmt' => ["SET SESSION sort_buffer_size=2097144; SET NAMES 'utf8'; SET SESSION sql_mode='ANSI'; SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED"], |
|
16 | + 'defaultTableOptions' => [ |
|
17 | + 'charset' => $defaultConnection['tableoptions']['charset'] ?? 'utf8', |
|
18 | + 'collate' => $defaultConnection['tableoptions']['collate'] ?? 'utf8_unicode_ci', |
|
19 | + ], |
|
20 | + 'limit' => 3, |
|
21 | + ], |
|
22 | + 'fs' => [ |
|
23 | + 'adapter' => 'Standard', |
|
24 | + 'baseurl' => '/uploads/tx_aimeos', |
|
25 | + 'basedir' => $publicPath . '/uploads/tx_aimeos', |
|
26 | + 'tempdir' => $publicPath . '/typo3temp', |
|
27 | + ], |
|
28 | + 'fs-media' => [ |
|
29 | + 'adapter' => 'Standard', |
|
30 | + 'baseurl' => '/uploads/tx_aimeos', |
|
31 | + 'basedir' => $publicPath . '/uploads/tx_aimeos', |
|
32 | + 'tempdir' => $publicPath . '/typo3temp', |
|
33 | + ], |
|
34 | + 'fs-mimeicon' => [ |
|
35 | + 'adapter' => 'Standard', |
|
36 | + 'baseurl' => '/typo3conf/ext/aimeos/Resources/Public/Images/Mimeicons', |
|
37 | + 'basedir' => $publicPath . '/typo3conf/ext/aimeos/Resources/Public/Images/Mimeicons', |
|
38 | + 'tempdir' => $publicPath . '/typo3temp', |
|
39 | + ], |
|
40 | + 'fs-theme' => [ |
|
41 | + 'adapter' => 'Standard', |
|
42 | + 'baseurl' => '/typo3conf/ext/aimeos/Resources/Public/Themes', |
|
43 | + 'basedir' => $publicPath . '/typo3conf/ext/aimeos/Resources/Public/Themes', |
|
44 | + 'tempdir' => $publicPath . '/typo3temp', |
|
45 | + ], |
|
46 | + 'fs-admin' => [ |
|
47 | + 'adapter' => 'Standard', |
|
48 | + 'basedir' => $publicPath . '/uploads/tx_aimeos/.secure/admin', |
|
49 | + 'tempdir' => $publicPath . '/typo3temp', |
|
50 | + ], |
|
51 | + 'fs-export' => [ |
|
52 | + 'adapter' => 'Standard', |
|
53 | + 'basedir' => $publicPath . '/uploads/tx_aimeos/.secure/export', |
|
54 | + 'tempdir' => $publicPath . '/typo3temp', |
|
55 | + ], |
|
56 | + 'fs-import' => [ |
|
57 | + 'adapter' => 'Standard', |
|
58 | + 'basedir' => $publicPath . '/uploads/tx_aimeos/.secure/import', |
|
59 | + 'tempdir' => $publicPath . '/typo3temp', |
|
60 | + ], |
|
61 | + 'fs-secure' => [ |
|
62 | + 'adapter' => 'Standard', |
|
63 | + 'basedir' => $publicPath . '/uploads/tx_aimeos/.secure', |
|
64 | + 'tempdir' => $publicPath . '/typo3temp', |
|
65 | + ], |
|
66 | + 'mq' => [ |
|
67 | + 'adapter' => 'Standard', |
|
68 | + 'db' => 'db', |
|
69 | + ], |
|
70 | 70 | ]; |
@@ -1,14 +1,14 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | return [ |
4 | - 'customer' => [ |
|
5 | - 'manager' => [ |
|
6 | - 'name' => 'Typo3', |
|
7 | - ], |
|
8 | - ], |
|
9 | - 'index' => [ |
|
10 | - 'manager' => [ |
|
11 | - 'name' => 'MySQL', |
|
12 | - ], |
|
13 | - ], |
|
4 | + 'customer' => [ |
|
5 | + 'manager' => [ |
|
6 | + 'name' => 'Typo3', |
|
7 | + ], |
|
8 | + ], |
|
9 | + 'index' => [ |
|
10 | + 'manager' => [ |
|
11 | + 'name' => 'MySQL', |
|
12 | + ], |
|
13 | + ], |
|
14 | 14 | ]; |
@@ -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 | ); |
@@ -16,12 +16,12 @@ |
||
16 | 16 | ->class(\Aimeos\Aimeos\Widgets\LatestOrderWidget::class) |
17 | 17 | ->arg('$view', new \Symfony\Component\DependencyInjection\Reference('dashboard.views.widget')) |
18 | 18 | ->tag('dashboard.widget', [ |
19 | - 'identifier' => 'aimeos-latestorders', |
|
20 | - 'title' => 'LLL:EXT:aimeos/Resources/Private/Language/extension.xlf:widgets.dashboard.latestorder.title', |
|
21 | - 'description' => 'LLL:EXT:aimeos/Resources/Private/Language/extension.xlf:widgets.dashboard.latestorder.description', |
|
22 | - 'iconIdentifier' => 'aimeos-widget-latestorders', |
|
23 | - 'height' => 'medium', |
|
24 | - 'width' => 'large' |
|
19 | + 'identifier' => 'aimeos-latestorders', |
|
20 | + 'title' => 'LLL:EXT:aimeos/Resources/Private/Language/extension.xlf:widgets.dashboard.latestorder.title', |
|
21 | + 'description' => 'LLL:EXT:aimeos/Resources/Private/Language/extension.xlf:widgets.dashboard.latestorder.description', |
|
22 | + 'iconIdentifier' => 'aimeos-widget-latestorders', |
|
23 | + 'height' => 'medium', |
|
24 | + 'width' => 'large' |
|
25 | 25 | ]); |
26 | 26 | } |
27 | 27 | }; |