generator-razor 14.1.10 → 14.1.12

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 CHANGED
@@ -239,21 +239,15 @@ export default class extends Generator {
239
239
  type: 'select',
240
240
  name: 'Encrypt',
241
241
  message: 'SMTP encrypt?',
242
- default: true,
242
+ // Not stored on purpose: a saved answer would override the port-based default.
243
+ default: answers => /:465$/.test((answers.SmtpServer ?? '').trim()),
243
244
  choices: [{
244
- name: 'true (TYPO3 >= 10 - if port 465 or other)',
245
+ name: 'true (implicit TLS / SMTPS, port 465)',
245
246
  value: true
246
247
  }, {
247
- name: 'false (TYPO3 >= 10 - if port 587)',
248
+ name: 'false (plain, or STARTTLS if offered - ports 25, 587, 1025/Mailpit)',
248
249
  value: false
249
- }, {
250
- name: 'ssl (TYPO3 9.5.x)',
251
- value: 'ssl'
252
- }, {
253
- name: 'tls (TYPO3 9.5.x)',
254
- value: 'tls'
255
- }],
256
- store: true
250
+ }]
257
251
  }, {
258
252
  when: answers => answers.Transport === 'smtp',
259
253
  type: 'input',
@@ -444,7 +444,7 @@ RewriteCond %{HTTP:X-Forwarded-Port} ^[0-9]+$
444
444
  RewriteRule .* - [E=SFC_PORT:%{HTTP:X-Forwarded-Port}]
445
445
 
446
446
  # Full path for redirect
447
- RewriteRule .* - [E=SFC_FULLPATH:typo3temp/tx_staticfilecache/%{ENV:SFC_PROTOCOL}_%{ENV:SFC_HOST}_%{ENV:SFC_PORT}%{ENV:SFC_URI}/index]
447
+ RewriteRule .* - [E=SFC_FULLPATH:typo3temp/assets/tx_staticfilecache/%{ENV:SFC_PROTOCOL}_%{ENV:SFC_HOST}_%{ENV:SFC_PORT}%{ENV:SFC_URI}/index]
448
448
 
449
449
  # Extension (Order: br, gzip, default)
450
450
  RewriteRule .* - [E=SFC_EXT:]
@@ -482,7 +482,7 @@ RewriteCond %{REQUEST_METHOD} GET
482
482
  RewriteRule .* %{ENV:SFC_ROOT}/%{ENV:SFC_FULLPATH} [L]
483
483
 
484
484
  # Do not allow direct call the cache entries
485
- RewriteCond %{ENV:SFC_URI} ^/typo3temp/tx_staticfilecache/.*
485
+ RewriteCond %{ENV:SFC_URI} ^/typo3temp/assets/tx_staticfilecache/.*
486
486
  RewriteCond %{ENV:REDIRECT_STATUS} ^$
487
487
  RewriteRule .* - [F,L]
488
488
 
@@ -444,7 +444,7 @@ RewriteCond %{HTTP:X-Forwarded-Port} ^[0-9]+$
444
444
  RewriteRule .* - [E=SFC_PORT:%{HTTP:X-Forwarded-Port}]
445
445
 
446
446
  # Full path for redirect
447
- RewriteRule .* - [E=SFC_FULLPATH:typo3temp/tx_staticfilecache/%{ENV:SFC_PROTOCOL}_%{ENV:SFC_HOST}_%{ENV:SFC_PORT}%{ENV:SFC_URI}/index]
447
+ RewriteRule .* - [E=SFC_FULLPATH:typo3temp/assets/tx_staticfilecache/%{ENV:SFC_PROTOCOL}_%{ENV:SFC_HOST}_%{ENV:SFC_PORT}%{ENV:SFC_URI}/index]
448
448
 
449
449
  # Extension (Order: br, gzip, default)
450
450
  RewriteRule .* - [E=SFC_EXT:]
@@ -482,7 +482,7 @@ RewriteCond %{REQUEST_METHOD} GET
482
482
  RewriteRule .* %{ENV:SFC_ROOT}/%{ENV:SFC_FULLPATH} [L]
483
483
 
484
484
  # Do not allow direct call the cache entries
485
- RewriteCond %{ENV:SFC_URI} ^/typo3temp/tx_staticfilecache/.*
485
+ RewriteCond %{ENV:SFC_URI} ^/typo3temp/assets/tx_staticfilecache/.*
486
486
  RewriteCond %{ENV:REDIRECT_STATUS} ^$
487
487
  RewriteRule .* - [F,L]
488
488
 
@@ -444,7 +444,7 @@ AddDefaultCharset utf-8
444
444
  # RewriteRule .* - [E=SFC_PORT:%{HTTP:X-Forwarded-Port}]
445
445
 
446
446
  # # Full path for redirect
447
- # RewriteRule .* - [E=SFC_FULLPATH:typo3temp/tx_staticfilecache/%{ENV:SFC_PROTOCOL}_%{ENV:SFC_HOST}_%{ENV:SFC_PORT}%{ENV:SFC_URI}/index]
447
+ # RewriteRule .* - [E=SFC_FULLPATH:typo3temp/assets/tx_staticfilecache/%{ENV:SFC_PROTOCOL}_%{ENV:SFC_HOST}_%{ENV:SFC_PORT}%{ENV:SFC_URI}/index]
448
448
 
449
449
  # # Extension (Order: br, gzip, default)
450
450
  # RewriteRule .* - [E=SFC_EXT:]
@@ -482,7 +482,7 @@ AddDefaultCharset utf-8
482
482
  # RewriteRule .* %{ENV:SFC_ROOT}/%{ENV:SFC_FULLPATH} [L]
483
483
 
484
484
  # # Do not allow direct call the cache entries
485
- # RewriteCond %{ENV:SFC_URI} ^/typo3temp/tx_staticfilecache/.*
485
+ # RewriteCond %{ENV:SFC_URI} ^/typo3temp/assets/tx_staticfilecache/.*
486
486
  # RewriteCond %{ENV:REDIRECT_STATUS} ^$
487
487
  # RewriteRule .* - [F,L]
488
488
 
@@ -444,7 +444,7 @@ AddDefaultCharset utf-8
444
444
  # RewriteRule .* - [E=SFC_PORT:%{HTTP:X-Forwarded-Port}]
445
445
 
446
446
  # # Full path for redirect
447
- # RewriteRule .* - [E=SFC_FULLPATH:typo3temp/tx_staticfilecache/%{ENV:SFC_PROTOCOL}_%{ENV:SFC_HOST}_%{ENV:SFC_PORT}%{ENV:SFC_URI}/index]
447
+ # RewriteRule .* - [E=SFC_FULLPATH:typo3temp/assets/tx_staticfilecache/%{ENV:SFC_PROTOCOL}_%{ENV:SFC_HOST}_%{ENV:SFC_PORT}%{ENV:SFC_URI}/index]
448
448
 
449
449
  # # Extension (Order: br, gzip, default)
450
450
  # RewriteRule .* - [E=SFC_EXT:]
@@ -482,7 +482,7 @@ AddDefaultCharset utf-8
482
482
  # RewriteRule .* %{ENV:SFC_ROOT}/%{ENV:SFC_FULLPATH} [L]
483
483
 
484
484
  # # Do not allow direct call the cache entries
485
- # RewriteCond %{ENV:SFC_URI} ^/typo3temp/tx_staticfilecache/.*
485
+ # RewriteCond %{ENV:SFC_URI} ^/typo3temp/assets/tx_staticfilecache/.*
486
486
  # RewriteCond %{ENV:REDIRECT_STATUS} ^$
487
487
  # RewriteRule .* - [F,L]
488
488
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-razor",
3
- "version": "14.1.10",
3
+ "version": "14.1.12",
4
4
  "description": "Yeoman generator for razor TYPO3 distribution",
5
5
  "license": "MIT",
6
6
  "main": "app/index.js",