generator-razor 3.1.4 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/index.js +28 -18
- package/app/templates/115/_.htaccess-dev +679 -0
- package/app/templates/115/_.htaccess-dev-ssl +679 -0
- package/app/templates/115/db.sql +1742 -0
- package/app/templates/115/fileadmin/.htaccess +4 -0
- package/app/templates/115/fileadmin/_temp_/.htaccess +15 -0
- package/app/templates/115/fileadmin/_temp_/index.html +7 -0
- package/app/templates/115/fileadmin/user_upload/.htaccess +33 -0
- package/app/templates/115/fileadmin/user_upload/_temp_/importexport/.htaccess +15 -0
- package/app/templates/115/fileadmin/user_upload/_temp_/importexport/index.html +7 -0
- package/app/templates/115/fileadmin/user_upload/_temp_/index.html +0 -0
- package/app/templates/115/fileadmin/user_upload/index.html +0 -0
- package/app/templates/115/typo3conf/Local.php +9 -0
- package/app/templates/115/typo3conf/LocalConfiguration.php +118 -0
- package/app/templates/115/typo3conf/PackageStates.php +91 -0
- package/app/templates/115/typo3temp/index.html +0 -0
- package/app/templates/115/typo3temp/var/.htaccess +15 -0
- package/app/templates/115/typo3temp/var/log/.htaccess +13 -0
- package/package.json +2 -1
- package/app/templates/95/uploads/.DS_Store +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# This file restricts access to the fileadmin/_temp_ directory. It is
|
|
2
|
+
# meant to protect temporary files which could contain sensible
|
|
3
|
+
# information. Please do not touch.
|
|
4
|
+
|
|
5
|
+
# Apache < 2.3
|
|
6
|
+
<IfModule !mod_authz_core.c>
|
|
7
|
+
Order allow,deny
|
|
8
|
+
Deny from all
|
|
9
|
+
Satisfy All
|
|
10
|
+
</IfModule>
|
|
11
|
+
|
|
12
|
+
# Apache ≥ 2.3
|
|
13
|
+
<IfModule mod_authz_core.c>
|
|
14
|
+
Require all denied
|
|
15
|
+
</IfModule>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# This file applies Content-Security-Policy (CSP) HTTP headers
|
|
2
|
+
# to directories containing (user uploaded) resources like
|
|
3
|
+
# /fileadmin/ or /uploads/
|
|
4
|
+
|
|
5
|
+
<IfModule mod_headers.c>
|
|
6
|
+
# matching requested *.pdf files only (strict rules block Safari showing PDF documents)
|
|
7
|
+
<FilesMatch "\.pdf$">
|
|
8
|
+
Header set Content-Security-Policy "default-src 'self' 'unsafe-inline'; script-src 'none'; object-src 'self'; plugin-types application/pdf;"
|
|
9
|
+
</FilesMatch>
|
|
10
|
+
# matching anything else, using negative lookbehind pattern
|
|
11
|
+
<FilesMatch "(?<!\.pdf)$">
|
|
12
|
+
Header set Content-Security-Policy "default-src 'self'; script-src 'none'; style-src 'none'; object-src 'none';"
|
|
13
|
+
</FilesMatch>
|
|
14
|
+
|
|
15
|
+
# =================================================================
|
|
16
|
+
# Variations to send CSP header only when it has not be set before.
|
|
17
|
+
# Adjust all `Header set` instructions above
|
|
18
|
+
# Header set Content-Security-Policy "<directives>"
|
|
19
|
+
# with substitutes shown below
|
|
20
|
+
#
|
|
21
|
+
# -----------------------------------------------------------------
|
|
22
|
+
# a) for Apache 2.4 (having `setifempty`)
|
|
23
|
+
# -----------------------------------------------------------------
|
|
24
|
+
# Header setifempty Content-Security-Policy "<directives>"
|
|
25
|
+
#
|
|
26
|
+
# -----------------------------------------------------------------
|
|
27
|
+
# b) for Apache 2.2 (using fallbacks)
|
|
28
|
+
# -----------------------------------------------------------------
|
|
29
|
+
# Header append Content-Security-Policy ""
|
|
30
|
+
# Header edit Content-Security-Policy "^$" "<directives>"
|
|
31
|
+
#
|
|
32
|
+
# =================================================================
|
|
33
|
+
</IfModule>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# This file restricts access to the fileadmin/user_upload/_import_export_ directory. It is
|
|
2
|
+
# meant to protect temporary files which could contain sensible
|
|
3
|
+
# information. Please do not touch.
|
|
4
|
+
|
|
5
|
+
# Apache < 2.3
|
|
6
|
+
<IfModule !mod_authz_core.c>
|
|
7
|
+
Order allow,deny
|
|
8
|
+
Deny from all
|
|
9
|
+
Satisfy All
|
|
10
|
+
</IfModule>
|
|
11
|
+
|
|
12
|
+
# Apache ≥ 2.3
|
|
13
|
+
<IfModule mod_authz_core.c>
|
|
14
|
+
Require all denied
|
|
15
|
+
</IfModule>
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport'] = '###TRANSPORT###';
|
|
4
|
+
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport_smtp_encrypt'] = '###SMTP_ENCRYPT###';
|
|
5
|
+
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport_smtp_password'] = '###SMTP_PASS###';
|
|
6
|
+
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport_smtp_server'] = '###SMTP_SERVER###';
|
|
7
|
+
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport_smtp_username'] = '###SMTP_USER###';
|
|
8
|
+
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['defaultMailFromAddress'] = '###SMTP_EMAIL###';
|
|
9
|
+
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['defaultMailFromName'] = '###SMTP_NAME###';
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
return [
|
|
3
|
+
'BE' => [
|
|
4
|
+
'debug' => false,
|
|
5
|
+
'explicitADmode' => 'explicitAllow',
|
|
6
|
+
'installToolPassword' => '###PASS###',
|
|
7
|
+
'passwordHashing' => [
|
|
8
|
+
'className' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\Argon2iPasswordHash',
|
|
9
|
+
'options' => [],
|
|
10
|
+
],
|
|
11
|
+
],
|
|
12
|
+
'DB' => [
|
|
13
|
+
'Connections' => [
|
|
14
|
+
'Default' => [
|
|
15
|
+
'charset' => 'utf8mb4',
|
|
16
|
+
'dbname' => '###DBNEW###',
|
|
17
|
+
'driver' => 'mysqli',
|
|
18
|
+
'host' => '###HOST###',
|
|
19
|
+
'password' => '###DBNEW###',
|
|
20
|
+
'tableoptions' => [
|
|
21
|
+
'charset' => 'utf8mb4',
|
|
22
|
+
'collate' => 'utf8mb4_unicode_ci',
|
|
23
|
+
],
|
|
24
|
+
'user' => '###DBNEW###',
|
|
25
|
+
],
|
|
26
|
+
],
|
|
27
|
+
],
|
|
28
|
+
'EXTENSIONS' => [
|
|
29
|
+
'backend' => [
|
|
30
|
+
'backendFavicon' => '',
|
|
31
|
+
'backendLogo' => '',
|
|
32
|
+
'loginBackgroundImage' => '',
|
|
33
|
+
'loginFootnote' => '',
|
|
34
|
+
'loginHighlightColor' => '',
|
|
35
|
+
'loginLogo' => '',
|
|
36
|
+
'loginLogoAlt' => '',
|
|
37
|
+
],
|
|
38
|
+
'extensionmanager' => [
|
|
39
|
+
'automaticInstallation' => '1',
|
|
40
|
+
'offlineMode' => '0',
|
|
41
|
+
],
|
|
42
|
+
],
|
|
43
|
+
'FE' => [
|
|
44
|
+
'debug' => false,
|
|
45
|
+
'disableNoCacheParameter' => true,
|
|
46
|
+
'passwordHashing' => [
|
|
47
|
+
'className' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\Argon2iPasswordHash',
|
|
48
|
+
'options' => [],
|
|
49
|
+
],
|
|
50
|
+
],
|
|
51
|
+
'GFX' => [
|
|
52
|
+
'jpg_quality' => 80,
|
|
53
|
+
'processor' => 'ImageMagick',
|
|
54
|
+
'processor_allowTemporaryMasksAsPng' => false,
|
|
55
|
+
'processor_colorspace' => 'sRGB',
|
|
56
|
+
'processor_effects' => true,
|
|
57
|
+
'processor_enabled' => true,
|
|
58
|
+
'processor_path' => '/usr/local/bin/',
|
|
59
|
+
'processor_path_lzw' => '/usr/local/bin/',
|
|
60
|
+
],
|
|
61
|
+
'MAIL' => [
|
|
62
|
+
'transport' => 'sendmail',
|
|
63
|
+
'transport_sendmail_command' => '/usr/sbin/sendmail -t -i ',
|
|
64
|
+
'transport_smtp_encrypt' => '',
|
|
65
|
+
'transport_smtp_password' => '',
|
|
66
|
+
'transport_smtp_server' => '',
|
|
67
|
+
'transport_smtp_username' => '',
|
|
68
|
+
],
|
|
69
|
+
'SYS' => [
|
|
70
|
+
'caching' => [
|
|
71
|
+
'cacheConfigurations' => [
|
|
72
|
+
'hash' => [
|
|
73
|
+
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend',
|
|
74
|
+
],
|
|
75
|
+
'imagesizes' => [
|
|
76
|
+
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend',
|
|
77
|
+
'options' => [
|
|
78
|
+
'compression' => true,
|
|
79
|
+
],
|
|
80
|
+
],
|
|
81
|
+
'pages' => [
|
|
82
|
+
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend',
|
|
83
|
+
'options' => [
|
|
84
|
+
'compression' => true,
|
|
85
|
+
],
|
|
86
|
+
],
|
|
87
|
+
'pagesection' => [
|
|
88
|
+
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend',
|
|
89
|
+
'options' => [
|
|
90
|
+
'compression' => true,
|
|
91
|
+
],
|
|
92
|
+
],
|
|
93
|
+
'rootline' => [
|
|
94
|
+
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend',
|
|
95
|
+
'options' => [
|
|
96
|
+
'compression' => true,
|
|
97
|
+
],
|
|
98
|
+
],
|
|
99
|
+
],
|
|
100
|
+
],
|
|
101
|
+
'devIPmask' => '*',
|
|
102
|
+
'trustedHostsPattern' => '.*',
|
|
103
|
+
'displayErrors' => 1,
|
|
104
|
+
'encryptionKey' => '###ENCRYPTION_KEY###',
|
|
105
|
+
'exceptionalErrors' => 20480,
|
|
106
|
+
'features' => [
|
|
107
|
+
'felogin.extbase' => true,
|
|
108
|
+
'fluidBasedPageModule' => true,
|
|
109
|
+
'rearrangedRedirectMiddlewares' => true,
|
|
110
|
+
'unifiedPageTranslationHandling' => true,
|
|
111
|
+
'yamlImportsFollowDeclarationOrder' => true,
|
|
112
|
+
],
|
|
113
|
+
'sitename' => '###PROJECTNAME###',
|
|
114
|
+
'systemMaintainers' => [
|
|
115
|
+
1,
|
|
116
|
+
],
|
|
117
|
+
],
|
|
118
|
+
];
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
# PackageStates.php
|
|
3
|
+
|
|
4
|
+
# This file is maintained by TYPO3's package management. Although you can edit it
|
|
5
|
+
# manually, you should rather use the extension manager for maintaining packages.
|
|
6
|
+
# This file will be regenerated automatically if it doesn't exist. Deleting this file
|
|
7
|
+
# should, however, never become necessary if you use the package commands.
|
|
8
|
+
|
|
9
|
+
return [
|
|
10
|
+
'packages' => [
|
|
11
|
+
'core' => [
|
|
12
|
+
'packagePath' => 'typo3/sysext/core/',
|
|
13
|
+
],
|
|
14
|
+
'extbase' => [
|
|
15
|
+
'packagePath' => 'typo3/sysext/extbase/',
|
|
16
|
+
],
|
|
17
|
+
'fluid' => [
|
|
18
|
+
'packagePath' => 'typo3/sysext/fluid/',
|
|
19
|
+
],
|
|
20
|
+
'frontend' => [
|
|
21
|
+
'packagePath' => 'typo3/sysext/frontend/',
|
|
22
|
+
],
|
|
23
|
+
'fluid_styled_content' => [
|
|
24
|
+
'packagePath' => 'typo3/sysext/fluid_styled_content/',
|
|
25
|
+
],
|
|
26
|
+
'install' => [
|
|
27
|
+
'packagePath' => 'typo3/sysext/install/',
|
|
28
|
+
],
|
|
29
|
+
'recordlist' => [
|
|
30
|
+
'packagePath' => 'typo3/sysext/recordlist/',
|
|
31
|
+
],
|
|
32
|
+
'backend' => [
|
|
33
|
+
'packagePath' => 'typo3/sysext/backend/',
|
|
34
|
+
],
|
|
35
|
+
'filelist' => [
|
|
36
|
+
'packagePath' => 'typo3/sysext/filelist/',
|
|
37
|
+
],
|
|
38
|
+
'form' => [
|
|
39
|
+
'packagePath' => 'typo3/sysext/form/',
|
|
40
|
+
],
|
|
41
|
+
'reports' => [
|
|
42
|
+
'packagePath' => 'typo3/sysext/reports/',
|
|
43
|
+
],
|
|
44
|
+
'redirects' => [
|
|
45
|
+
'packagePath' => 'typo3/sysext/redirects/',
|
|
46
|
+
],
|
|
47
|
+
'setup' => [
|
|
48
|
+
'packagePath' => 'typo3/sysext/setup/',
|
|
49
|
+
],
|
|
50
|
+
'rte_ckeditor' => [
|
|
51
|
+
'packagePath' => 'typo3/sysext/rte_ckeditor/',
|
|
52
|
+
],
|
|
53
|
+
'about' => [
|
|
54
|
+
'packagePath' => 'typo3/sysext/about/',
|
|
55
|
+
],
|
|
56
|
+
'adminpanel' => [
|
|
57
|
+
'packagePath' => 'typo3/sysext/adminpanel/',
|
|
58
|
+
],
|
|
59
|
+
'belog' => [
|
|
60
|
+
'packagePath' => 'typo3/sysext/belog/',
|
|
61
|
+
],
|
|
62
|
+
'beuser' => [
|
|
63
|
+
'packagePath' => 'typo3/sysext/beuser/',
|
|
64
|
+
],
|
|
65
|
+
'extensionmanager' => [
|
|
66
|
+
'packagePath' => 'typo3/sysext/extensionmanager/',
|
|
67
|
+
],
|
|
68
|
+
'info' => [
|
|
69
|
+
'packagePath' => 'typo3/sysext/info/',
|
|
70
|
+
],
|
|
71
|
+
'lowlevel' => [
|
|
72
|
+
'packagePath' => 'typo3/sysext/lowlevel/',
|
|
73
|
+
],
|
|
74
|
+
'seo' => [
|
|
75
|
+
'packagePath' => 'typo3/sysext/seo/',
|
|
76
|
+
],
|
|
77
|
+
'sys_note' => [
|
|
78
|
+
'packagePath' => 'typo3/sysext/sys_note/',
|
|
79
|
+
],
|
|
80
|
+
't3editor' => [
|
|
81
|
+
'packagePath' => 'typo3/sysext/t3editor/',
|
|
82
|
+
],
|
|
83
|
+
'tstemplate' => [
|
|
84
|
+
'packagePath' => 'typo3/sysext/tstemplate/',
|
|
85
|
+
],
|
|
86
|
+
'viewpage' => [
|
|
87
|
+
'packagePath' => 'typo3/sysext/viewpage/',
|
|
88
|
+
],
|
|
89
|
+
],
|
|
90
|
+
'version' => 5,
|
|
91
|
+
];
|
|
File without changes
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# This file restricts access to the typo3temp/var/ directory. It is
|
|
2
|
+
# meant to protect temporary files which could contain sensible
|
|
3
|
+
# information. Please do not touch.
|
|
4
|
+
|
|
5
|
+
# Apache < 2.3
|
|
6
|
+
<IfModule !mod_authz_core.c>
|
|
7
|
+
Order allow,deny
|
|
8
|
+
Deny from all
|
|
9
|
+
Satisfy All
|
|
10
|
+
</IfModule>
|
|
11
|
+
|
|
12
|
+
# Apache ≥ 2.3
|
|
13
|
+
<IfModule mod_authz_core.c>
|
|
14
|
+
Require all denied
|
|
15
|
+
</IfModule>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "generator-razor",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"description": "Yeoman generator for razor TYPO3 distribution",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "app/index.js",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"argon2": "0.27.2",
|
|
24
24
|
"chalk": "^4.1.0",
|
|
25
25
|
"copy-dir": "^1.3.0",
|
|
26
|
+
"fs-extra": "^10.0.0",
|
|
26
27
|
"fs-symlink": "^1.2.1",
|
|
27
28
|
"mysql": "^2.18.1",
|
|
28
29
|
"npm": "^7.10.0",
|
|
Binary file
|