Packages/TYPO3.CMS.git
20 months ago[BUGFIX] Fix unset bits in options.alertPopup bitmask 23/50223/11
Mathias Brodala [Fri, 14 Oct 2016 08:29:27 +0000 (10:29 +0200)]
[BUGFIX] Fix unset bits in options.alertPopup bitmask

The validation in JsConfirmation did not allow for a value
based on JsConfirmation:ALL with some bits unset.

Change-Id: I74d43d59ee3cd06498bbebd6b7b7682ca1d79cd5
Resolves: #78240
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/50223
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Reiner Teubner <rteubner@me.com>
Tested-by: Reiner Teubner <rteubner@me.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
20 months ago[TASK] Rewrite eID handling as PSR-15 middleware 96/55596/6
Benjamin Franzke [Wed, 7 Feb 2018 19:57:30 +0000 (20:57 +0100)]
[TASK] Rewrite eID handling as PSR-15 middleware

Releases: master
Resolves: #83803
Change-Id: Id704c5235e5e844d8e42482dd55948e0ad4a2162
Reviewed-on: https://review.typo3.org/55596
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
20 months ago[TASK] Show warning when deleting an element which has references 95/50895/8
Anja Leichsenring [Wed, 7 Feb 2018 20:19:30 +0000 (21:19 +0100)]
[TASK] Show warning when deleting an element which has references

Show the same warning in the page module as done in the list module,
except without the title and the table:uid combination, as this is
not needed in page module. It will always be tt_content records there.

Resolves: #78912
Releases: master
Change-Id: I4dea94204475e322fabf30d7a0772dc5e30edb60
Reviewed-on: https://review.typo3.org/50895
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Steffen Frese <steffenf14@gmail.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
20 months ago[BUGFIX] Deprecate broken buildQueryParameters hook 12/55512/7
Frank Naegler [Wed, 31 Jan 2018 15:09:33 +0000 (16:09 +0100)]
[BUGFIX] Deprecate broken buildQueryParameters hook

This change deprecates the "buildQueryParameters" hook in three
different classes and adds two new hooks in DatabaseRecordList
and PageLayoutView to modify the current query.

With #82334 a cleanup of AbstractRecordList has introduced
the same hook into multiple classes, which breaks existing
hooks, because of the sixth parameter which can be one of three
different classes without a common parent class or interface.
This makes it impossible to use a type hint in the hook class.

Another problem is: an extension which implements the hook
for the list module and uses a type hint will break the page module.

The same query manipulation can be achieved with the two
new hooks, which have a separate identifier.

Resolves: #83740
Related: #82334
Releases: master
Change-Id: Ie3b2c8082f86c6632400a8194dca4ca244b428bc
Reviewed-on: https://review.typo3.org/55512
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
20 months ago[TASK] Add backwards-compatibility for old BE modules 89/55589/3
Benni Mack [Wed, 7 Feb 2018 18:46:35 +0000 (19:46 +0100)]
[TASK] Add backwards-compatibility for old BE modules

Handling of "&M" parameters is added back in order to make
the transition for Backend modules easier.

Resolves: #83800
Related: #82406
Releases: master
Change-Id: Iaa237b62254804d78314b48d80dfbea563fd7af4
Reviewed-on: https://review.typo3.org/55589
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[BUGFIX] Remove wrong phpDoc for defineTypo3RequestTypes function 93/55593/3
Wouter Wolters [Wed, 7 Feb 2018 20:37:57 +0000 (21:37 +0100)]
[BUGFIX] Remove wrong phpDoc for defineTypo3RequestTypes function

There is no return value, drop the @return tag.
Also add @param int $requestType to setRequestType

Resolves: #83801
Releases: master
Change-Id: I1f371effb5a56c02860af716ca4071ac3db3c4da
Reviewed-on: https://review.typo3.org/55593
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[TASK] Rewrite the redirect handler as PSR-15 HTTP middleware 39/55539/5
Benjamin Franzke [Wed, 24 Jan 2018 19:31:28 +0000 (20:31 +0100)]
[TASK] Rewrite the redirect handler as PSR-15 HTTP middleware

The code is restructured to clearly distinct between aborting
the middleware chain – returning an own response – and forwarding
the request to the next middleware/request handler.

Change-Id: I51d88b9f9fae8d2aafca343da1e67bf60182d765
Releases: master
Resolves: #83727
Reviewed-on: https://review.typo3.org/55539
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[BUGFIX] Fix timetracker and pre-process middleware sequence 94/55594/4
Benjamin Franzke [Wed, 7 Feb 2018 20:30:39 +0000 (21:30 +0100)]
[BUGFIX] Fix timetracker and pre-process middleware sequence

Correct middleware configuration to preserve the ordering
timetracker initialization and pre-process hook had prior
the re-implementation as middleware.
The timetracker initialization needs to be first, pre-process second.

Change-Id: Ieecfff459000566f75b692516f27f5d7e176149b
Resolves: #83802
Releases: master
Reviewed-on: https://review.typo3.org/55594
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[TASK] Implement runtime_cache for DataHandler->recUpdateAccessCache 19/51019/4
Thomas Hohn [Mon, 19 Dec 2016 05:48:49 +0000 (06:48 +0100)]
[TASK] Implement runtime_cache for DataHandler->recUpdateAccessCache

Removes "public internal" cache variable and implements runtime_cache
instead.

Change-Id: I8262a699d60db9e9eb04f23c3f7da78ef7e1149d
Resolves: #79071
Releases: master
Reviewed-on: https://review.typo3.org/51019
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[TASK] Use existing js listeners in page module 65/53265/4
Daniel Windloff [Sun, 4 Jun 2017 17:29:27 +0000 (19:29 +0200)]
[TASK] Use existing js listeners in page module

Resolves: #81466
Releases: master, 8.7
Change-Id: Icf9dace3b00667e4d6a17cc5d3559782beffb725
Reviewed-on: https://review.typo3.org/53265
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
20 months ago[TASK] Reenable all additionals in video tag 56/53356/3
Markus Sommer [Thu, 29 Jun 2017 14:36:16 +0000 (16:36 +0200)]
[TASK] Reenable all additionals in video tag

Enable all additionalAttributes and additionalConfig’s to cover w3c and special spacs.

Resolves: #81743, #81741
Releases: master, 8.7
Change-Id: Ibfce2bd66e6de95eeb7c05eab160eec40ae437ef
Reviewed-on: https://review.typo3.org/53356
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[TASK] Unify layout of tables in submodules 79/53479/5
Jasmina Ließmann [Fri, 14 Jul 2017 16:38:56 +0000 (18:38 +0200)]
[TASK] Unify layout of tables in submodules

Use the same layout for tables in submodules of module 'Info'.

Resolves: #81457
Releases: master
Change-Id: I1135bbf57eaa033fd09538c242192907b5b20ee4
Reviewed-on: https://review.typo3.org/53479
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
20 months ago[TASK] Improve prevention of redirect loop 77/53977/5
Christoph Lehmann [Thu, 7 Sep 2017 20:24:17 +0000 (22:24 +0200)]
[TASK] Improve prevention of redirect loop

This prevents a redirect loop with realurl where an editor
doesn't see the pagetree of his login domain in his workspace
and opens his login domain in the FE. As result he sees the
requested page.

Resolves: #82297
Releases: master, 8.7
Change-Id: Ie948f6defa21e3e1d8766533f54a48769d2220c9
Reviewed-on: https://review.typo3.org/53977
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Sascha Rademacher <sascha.rademacher+typo3@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Henning Liebe <h.liebe@neusta.de>
Reviewed-by: Steffen Frese <steffenf14@gmail.com>
Reviewed-by: Reiner Teubner <rteubner@me.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[TASK] Properly select Chinese (Simplified) in DatePicker.js 61/51161/3
David Wong [Fri, 6 Jan 2017 08:02:51 +0000 (09:02 +0100)]
[TASK] Properly select Chinese (Simplified) in DatePicker.js

The language identifier key for Chinese in TYPO3s backend is ‘ch’.
The valid identifier should be ‘zh-cn’, but we cannot change the entire translation server
in a meaningful way.

Releases: master
Resolves: #79179
Change-Id: I5fee14f2eceacc5676588bdb8cac2aeceb88fff6
Reviewed-on: https://review.typo3.org/51161
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
20 months ago[TASK] Use TSFE->isBackendUserLoggedIn() instead of public variable 75/55575/2
Benni Mack [Tue, 6 Feb 2018 12:01:35 +0000 (13:01 +0100)]
[TASK] Use TSFE->isBackendUserLoggedIn() instead of public variable

The public method TSFE->isBackendUserLoggedIn() instead of
TSFE->beUserLogin (public property).

Resolves: #83785
Releases: master
Change-Id: I1e54b7365b3b6810b606e93b0f888a7790492014
Reviewed-on: https://review.typo3.org/55575
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Tobi Kretschmann <tobi@tobishome.de>
Tested-by: Tobi Kretschmann <tobi@tobishome.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
20 months ago[TASK] Move frontend pre-process functionality to PSR-15 middleware 84/55584/2
Benni Mack [Sat, 3 Feb 2018 20:53:48 +0000 (21:53 +0100)]
[TASK] Move frontend pre-process functionality to PSR-15 middleware

This patch moves logic out of the RequestHandlers into PSR-15 compatible
middleware classes to call a hook and initialize the time tracker.

Resolves: #83765
Releases: master
Change-Id: I200fdc80390625fb45564a4c09cecd00d846fad8
Reviewed-on: https://review.typo3.org/55584
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[FEATURE] Add support for PSR-15 HTTP middlewares 44/55544/7
Benjamin Franzke [Sat, 3 Feb 2018 22:56:37 +0000 (23:56 +0100)]
[FEATURE] Add support for PSR-15 HTTP middlewares

PSR-15 middlewares are hooks on steroids for HTTP requests.
Due to chaining middlewares and the core request handler(s),
middlewares can execute code before and after the application.

Middlewares may return early, that means they can prevent
consecutive middleware and the core application from being executed
at all.

A full middleware coverage for *all* requests will need
a lot of changes to the core and extensions.
We'll eventually need to stop using header()/exit()/die()
or HttpUtility::{redirect,sendRespose}(). Those method calls
need to be replaced by manipulation of PSR-7 message objects.

PSR-15 interfaces are provided by psr/http-server-middleware:

composer require psr/http-server-middleware:^1.0

Change-Id: Ia906d51da2e4309a37fb47a7966b52f873782d8f
Releases: master
Resolves: #83725
Reviewed-on: https://review.typo3.org/55544
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[BUGFIX] Replace calls to the deprecated PHP function each() 10/55510/20
Reiner Teubner [Wed, 31 Jan 2018 14:30:21 +0000 (15:30 +0100)]
[BUGFIX] Replace calls to the deprecated PHP function each()

This patch replaces the calls to the PHP function each() as it is
marked as deprecated in PHP 7.2. Additionally it adds unit tests for
QueryGenerator::getSubscript().

Resolves: #83737
Releases: master, 8.7, 7.6
Change-Id: Ie61a6d44fcdbd4ce6105a6c185085a3a68866fd8
Reviewed-on: https://review.typo3.org/55510
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Reiner Teubner <rteubner@me.com>
Tested-by: Reiner Teubner <rteubner@me.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Tobi Kretschmann <tobi@tobishome.de>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
20 months ago[BUGFIX] Only scan package base paths if subdirectories exist 18/55018/11
Michael Oehlhof [Sun, 10 Dec 2017 21:58:46 +0000 (22:58 +0100)]
[BUGFIX] Only scan package base paths if subdirectories exist

Include possible package base paths only if subdirectories are available.
Otherwise no extension can be found in the base path anyway.

Resolves: #83070
Releases: master, 8.7, 7.6
Change-Id: I503623c607554a60bd144c83e3f69e78fe5a7ea0
Reviewed-on: https://review.typo3.org/55018
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
20 months ago[BUGFIX] Forward header in DebugUtility:debug to renderDump 73/55473/4
Georg Ringer [Sun, 28 Jan 2018 11:37:17 +0000 (12:37 +0100)]
[BUGFIX] Forward header in DebugUtility:debug to renderDump

Improve the debug output by forwarding the given title.

Resolves: #83688
Releases: master, 8.7
Change-Id: I160b5676c5ff70c056319446733c9549a663569a
Reviewed-on: https://review.typo3.org/55473
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Henning Liebe <h.liebe@neusta.de>
Reviewed-by: Sascha Rademacher <sascha.rademacher+typo3@gmail.com>
Reviewed-by: Steffen Frese <steffenf14@gmail.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Reiner Teubner <rteubner@me.com>
Tested-by: Reiner Teubner <rteubner@me.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Tobi Kretschmann <tobi@tobishome.de>
Tested-by: Tobi Kretschmann <tobi@tobishome.de>
Reviewed-by: Jan Stockfisch <jan.stockfisch@googlemail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[TASK] Update screenshots in 'TYPO3 Manual' 16/54316/3
Jasmina Liessmann [Sat, 7 Oct 2017 12:22:56 +0000 (14:22 +0200)]
[TASK] Update screenshots in 'TYPO3 Manual'

Resolves: #82442
Releases: master
Change-Id: I90b596839a85c43c59c2d45870b344c09e59769d
Reviewed-on: https://review.typo3.org/54316
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Björn Jacob <bjoern.jacob@tritum.de>
Tested-by: Björn Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
20 months ago[BUGFIX] EXT:form - fix array overrules within YAML preprocessing 87/55487/7
Ralf Zimmermann [Mon, 29 Jan 2018 13:56:45 +0000 (14:56 +0100)]
[BUGFIX] EXT:form - fix array overrules within YAML preprocessing

If you use the "__inheritance" operator within an EXT:form configuration
file, configuration keys of the parent element can be deleted in the
child element by giving the configuration key in the child element
the value NULL.
See https://docs.typo3.org/typo3cms/extensions/form/latest/Concepts/
Configuration/Index.html#inheritances for further information.

Before the "__inheritance" operators are executed, all configuration
files are merged using
TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule().

However, this does not work if you are using several configuration files.

Let's assume the configuration key in the previous configuration file is
an array. mergeRecursiveWithOverrule() does not delete this
configuration key, if the configuration key in the overriding
configuration file is not an array (for example: NULL). This is simply
ignored by mergeRecursiveWithOverrule().

This patch fixes this issue by adding a variation of
array_merge_recursive().

Resolves: #82051
Releases: master, 8.7
Change-Id: Id9d256226a3eb82f6bc3fd03904f944719e525e7
Reviewed-on: https://review.typo3.org/55487
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Tobi Kretschmann <tobi@tobishome.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Peter Kraume <peter.kraume@gmx.de>
Tested-by: Peter Kraume <peter.kraume@gmx.de>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
20 months ago[BUGFIX] Add missing DOM ready checks in filelist 90/55390/12
Frank Naegler [Wed, 17 Jan 2018 22:43:50 +0000 (23:43 +0100)]
[BUGFIX] Add missing DOM ready checks in filelist

Some modules in the filelist are missing DOM ready checks.
This patch adds the missing checks to prevent loading issues.

Resolves: #78976
Releases: master, 8.7
Change-Id: Iee328808a89cf92f4fde1afd59167ae9fa7280be
Reviewed-on: https://review.typo3.org/55390
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
20 months ago[BUGFIX] Improve ErrorHandlerTest handleErrorFetchesDeprecations 62/55562/3
Nicole Cordes [Mon, 5 Feb 2018 11:32:06 +0000 (12:32 +0100)]
[BUGFIX] Improve ErrorHandlerTest handleErrorFetchesDeprecations

The patch decouples the ErrorHandler test from MySQL and some internal
deprecated function.

Related: #83770
Releases: master
Change-Id: Id3b9ed3486d0c5c8a4f6ba030a25f1f8aee75b97
Reviewed-on: https://review.typo3.org/55562
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
20 months ago[TASK] Apply code formating for all JavaScript files 21/55521/9
Frank Naegler [Thu, 1 Feb 2018 14:38:07 +0000 (15:38 +0100)]
[TASK] Apply code formating for all JavaScript files

This is the first step for introduce CGL for JavaScript files.
The settings of the .editorconfig file is now applied to all
JavaScript files. This will prevent merge conflicts for the
next patches.

Resolves: #83752
Releases: master, 8.7
Change-Id: Ie84691e7f7f3a3974f3c62133895a62377b22f67
Reviewed-on: https://review.typo3.org/55521
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
20 months ago[BUGFIX] Page module: Respect connected mode during drag & drop 53/55453/5
Andreas Fernandez [Thu, 25 Jan 2018 09:20:11 +0000 (10:20 +0100)]
[BUGFIX] Page module: Respect connected mode during drag & drop

This patch adjusts the drag and drop handling on the page module.
Localized content element can't get moved anymore when they are in
connected mode. Languages without a `l18n_parent` may be freely
moved.

Resolves: #83470
Related: #66540
Releases: master, 8.7
Change-Id: I7dcb61279d4bfeb094dcb0e2fbffd416da9c787b
Reviewed-on: https://review.typo3.org/55453
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Armin Vieweg <armin@v.ieweg.de>
Tested-by: Armin Vieweg <armin@v.ieweg.de>
Reviewed-by: Reiner Teubner <rteubner@me.com>
Tested-by: Reiner Teubner <rteubner@me.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
20 months ago[TASK] Update typo3fluid/fluid to 2.5.0 60/55560/2
Christian Kuhn [Sun, 4 Feb 2018 20:09:20 +0000 (21:09 +0100)]
[TASK] Update typo3fluid/fluid to 2.5.0

Fixes various issues, brings PHP 7.2 compatibility
to v8 core branch of standalone fluid.

composer command used:
composer update typo3fluid/fluid

Change-Id: I52c3a97e7dc8dafd7b0dee1e07df5105f29cdbde
Resolves: #83774
Resolves: #82227
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/55560
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Jan Stockfisch <jan.stockfisch@googlemail.com>
Tested-by: Jan Stockfisch <jan.stockfisch@googlemail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
20 months ago[BUGFIX] Prevent enforcing opened database connection with initCommands 48/55548/8
Nicole Cordes [Sun, 4 Feb 2018 11:20:05 +0000 (12:20 +0100)]
[BUGFIX] Prevent enforcing opened database connection with initCommands

This patch moves the execution of configured initCommands to the end
of connect function. This prevents a database connection from being
opened by default due to the execution of commands right after class
initialization and still ensures a connection is configured properly
before first command execution.

Furthermore this patch adds a new functional test for the ErrorHandler.
The test uses some predefined initCommands to enforce the strict mode
of MySQL database to be set. Due to the predefined initCommands the
test failed before as the connection was forced to be opened. For
further information see the referenced forge ticket.

Resolves: #83770
Releases: master, 8.7
Change-Id: I2287600959b3ec06d338e26373562850307ce0b1
Reviewed-on: https://review.typo3.org/55548
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
20 months ago[BUGFIX] Add possibility to use session data in TS conditions 08/55408/12
Wolfgang Klinger [Tue, 9 Jan 2018 19:17:56 +0000 (20:17 +0100)]
[BUGFIX] Add possibility to use session data in TS conditions

Bring back the possibility to access FE session data in
TypoScript conditions:
[globalVar = TSFE:fe_user|sesData|some_key > 10]

Resolves: #83506
Releases: master, 8.7
Change-Id: I77f6bc73a6d9160b7074d39a948e94a59b51e521
Reviewed-on: https://review.typo3.org/55408
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Timo Pfeffer <pfeffer.timo+typo3@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
20 months ago[BUGFIX] Re-apply colorspace to resulting image 91/50791/4
Stefan Neufeind [Mon, 28 Nov 2016 10:33:30 +0000 (11:33 +0100)]
[BUGFIX] Re-apply colorspace to resulting image

When using filters the colorspace is not always applied.
A quickfix is to add the colorspace-setting again before
writing the output-image.
Multiple colorspace-settings on the commandline will be
executed in order. For example the grayscale-filter uses
"-colorspace GRAY". The final output-image can then be
converted to "-colorspace sRGB" again so the brightness
appears correct (not too dark) again.

Resolves: #78816
Releases: master, 8.7
Change-Id: I3fcabf8fdbb8d43f15662532b881501ebb43b1dd
Reviewed-on: https://review.typo3.org/50791
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
20 months ago[FEATURE] Add toggle switches to FormEngine 51/55351/29
Mathias Schreiber [Sat, 13 Jan 2018 17:26:01 +0000 (18:26 +0100)]
[FEATURE] Add toggle switches to FormEngine

In order to give FormEngine a fresher look we add the following
renderTypes to type=checkbox

* checkboxToggle
* checkboxLabeledToggle

Furthermore, checkboxes are now displayed with icons
provided via the IconFactory and can be changed.

Resolves: #83556
Release: master
Change-Id: I24570dc4ee8cb672a5f961399b709fe7da05e2f0
Reviewed-on: https://review.typo3.org/55351
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
20 months ago[BUGFIX] Provide Foldername in InaccessibleException 41/55541/3
Mathias Schreiber [Sat, 3 Feb 2018 22:17:37 +0000 (23:17 +0100)]
[BUGFIX] Provide Foldername in InaccessibleException

The central InsufficientFolderReadPermissionsException now
displays the name of the folder in question to ease tracing down
errors.

Resolves: #82342
Releases: master
Change-Id: I968c74e6b2e210b07964f7ebb141155525c26ee5
Reviewed-on: https://review.typo3.org/55541
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
20 months ago[BUGFIX] Catch InvalidPathException for FileStorages 51/55551/3
Mathias Schreiber [Sun, 4 Feb 2018 16:06:12 +0000 (17:06 +0100)]
[BUGFIX] Catch InvalidPathException for FileStorages

Editing faulty FileStorages is possible again due to catching the
respective exception and piping it into a FlashMessage

Resolves: #83762
Releases: master, 8.7
Change-Id: I5081d86fd73076359b1d9eba954ba07c50bcb7b2
Reviewed-on: https://review.typo3.org/55551
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
20 months ago[BUGFIX] Access parent element in Element Browser correctly 11/55511/9
Andreas Fernandez [Wed, 31 Jan 2018 15:01:00 +0000 (16:01 +0100)]
[BUGFIX] Access parent element in Element Browser correctly

When the element browser is opened in a popup window, the parent element
(=popup) is now accessed properly.

This patch also fixes the case for `list_frame` which didn't work in
Firefox.

Resolves: #83693
Releases: master
Change-Id: I2436942a239b868cd1e3e269c6161a9df92e05ff
Reviewed-on: https://review.typo3.org/55511
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
20 months ago[FEATURE] Allow flexible search in Suggest Wizard 46/55546/4
Mathias Schreiber [Sun, 4 Feb 2018 10:08:31 +0000 (11:08 +0100)]
[FEATURE] Allow flexible search in Suggest Wizard

The Suggest Wizard now allows to search for multiple
terms in field by splitting the searchterm by +.

This allows to search for a combination of values which
is helpful when dealing with large data sets.

Resolves: #61981
Releases: master
Change-Id: I764039a575ca5d9ccbd97dd3dc57f3947906a5c3
Reviewed-on: https://review.typo3.org/55546
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
20 months ago[BUGFIX] Don’t show translated pages in SuggestWizard 50/55550/4
Mathias Schreiber [Sun, 4 Feb 2018 13:56:47 +0000 (14:56 +0100)]
[BUGFIX] Don’t show translated pages in SuggestWizard

The SuggestWizard no longer returns translated pages.
For the sake of database relations, relating directly to a translated
page makes no sense and will most likely result in unintended
behavior.

Resolves: #83771
Releases: master
Change-Id: Ibfa8dfa3082245726e0a519e77f26849507e421b
Reviewed-on: https://review.typo3.org/55550
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
20 months ago[TASK] Increase cache db backend blob 49/55549/2
Christian Kuhn [Sun, 4 Feb 2018 13:45:48 +0000 (14:45 +0100)]
[TASK] Increase cache db backend blob

Sets the typo3 database cache backend "content" field
from mediumblob to longblob.
Mediumblob on mysql equals 16MB max storage, which can
be too small for cache entries. Switching to longblob
increases single cache row size to 4GB and costs only
one additional byte per row.

Change-Id: I1ab5b84b6845280e77e339cbe4a59e0043f84cc2
Resolves: #83772
Releases: master
Reviewed-on: https://review.typo3.org/55549
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
20 months ago[TASK] Revert "Add support for PSR-15 HTTP middlewares" 43/55543/2
Benni Mack [Sat, 3 Feb 2018 22:45:04 +0000 (23:45 +0100)]
[TASK] Revert "Add support for PSR-15 HTTP middlewares"

This reverts commit f22792eceea631b8f01fbe0fcbf3e62b52246cad
reviewed on https://review.typo3.org/#/c/55528/
due to a fault of mine removing the original ownership of the commit.

Change-Id: Idd8b09754ec124047bd620c7529b0937c823e6b1
Resolves: #83767
Reverts: #83725
Releases: master
Reviewed-on: https://review.typo3.org/55543
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[TASK] Revert "Move frontend pre-process functionality to PSR-15 middleware" 42/55542/2
Benni Mack [Sat, 3 Feb 2018 22:27:31 +0000 (23:27 +0100)]
[TASK] Revert "Move frontend pre-process functionality to PSR-15 middleware"

This reverts commit a1f5a2320cdcf50bf4e5670a191baa116a550310
due to author conflicts.

https://review.typo3.org/#/c/55537/

Change-Id: Ie6003a41e75d395a1214904ecce8994ec63ac798
Resolves: #83766
Reverts: #83785
Releases: master
Reviewed-on: https://review.typo3.org/55542
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[TASK] Move frontend pre-process functionality to PSR-15 middleware 37/55537/6
Benni Mack [Sat, 3 Feb 2018 20:53:48 +0000 (21:53 +0100)]
[TASK] Move frontend pre-process functionality to PSR-15 middleware

This patch moves logic out of the RequestHandlers into PSR-15 compatible
middleware classes to call a hook and initialize the time tracker.

Resolves: #83765
Releases: master
Change-Id: Ibe2435833a8cbf0fb19cfe1fddd519d47147707e
Reviewed-on: https://review.typo3.org/55537
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
20 months ago[FEATURE] Add support for PSR-15 HTTP middlewares 28/55528/15
Benni Mack [Sat, 3 Feb 2018 20:03:58 +0000 (21:03 +0100)]
[FEATURE] Add support for PSR-15 HTTP middlewares

PSR-15 middlewares are hooks on steroids for HTTP requests.
Due to chaining middlewares and the core request handler(s),
middlewares can execute code before and after the application.

Middlewares may return early, that means they can prevent
consecutive middleware and the core application from being executed
at all.

A full middleware coverage for *all* requests will need
a lot of changes to the core and extensions.
We'll eventually need to stop using header()/exit()/die()
or HttpUtility::{redirect,sendRespose}(). Those method calls
need to be replaced by manipulation of PSR-7 message objects.

Change-Id: I075639835115f7cf28f18c3814ef6dd190fdf29b
Releases: master
Resolves: #83725
Reviewed-on: https://review.typo3.org/55528
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[BUGFIX] Element Browser should only render default language pages 36/55536/2
Benni Mack [Sat, 3 Feb 2018 19:57:43 +0000 (20:57 +0100)]
[BUGFIX] Element Browser should only render default language pages

The Browseable Trees (Element Browser) show pages with
language > 0 (page translations), due to a missing fix
during the pages_language_overlay refactoring.

The patch adds the restriction on deleted pages
and sys_language_uid=0 pages, just like PageTreeView
and the new page tree do it.

Resolves: #83764
Releases: master
Change-Id: I90d76a37a0ee146ea549adcbb3aeff027fe42d26
Reviewed-on: https://review.typo3.org/55536
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
20 months ago[BUGFIX] D3.js uses basic authentication credentials cached in browser 34/55534/2
Tymoteusz Motylewski [Fri, 2 Feb 2018 16:15:57 +0000 (17:15 +0100)]
[BUGFIX] D3.js uses basic authentication credentials cached in browser

Chrome 64 changed the behaviour regarding xhr.open() calls when passing
null values as password and username.
The d3.js file is manually patched.
Once PR https://github.com/d3/d3-request/pull/34/files is merged we can
use official d3.js version again.

Resolves: #83741
Releases: master, 8.7
Change-Id: I9b83d953ecd19afb9fa5039e1782d094111b0125
Reviewed-on: https://review.typo3.org/55534
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[TASK] Require "fluid" for "fluid_styled_content" 31/55531/5
Thomas Löffler [Fri, 2 Feb 2018 10:04:56 +0000 (11:04 +0100)]
[TASK] Require "fluid" for "fluid_styled_content"

When requiring fluid_styled_content in an extension
by composer, the extension fluid should be required and
installed, too.

Releases: master
Resolves: #83756
Change-Id: I1cdd00e842e4b0918db0746ccdf58bb871b8790c
Reviewed-on: https://review.typo3.org/55531
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Reiner Teubner <rteubner@me.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[BUGFIX] Apply proper button class to BE Layout Modal 32/55532/2
Mathias Schreiber [Fri, 2 Feb 2018 12:42:29 +0000 (13:42 +0100)]
[BUGFIX] Apply proper button class to BE Layout Modal

The modal “OK” button of the BE layout column assignment now sports the correct color
for the button.

Resolves: #83662
Releases: master
Change-Id: I13587241f5f79a555ef7edab6071d1d3f0265ad0
Reviewed-on: https://review.typo3.org/55532
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jan Delius <me@jandelius.eu>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Henrik Elsner <helsner@dfau.de>
Tested-by: Henrik Elsner <helsner@dfau.de>
Reviewed-by: Reiner Teubner <rteubner@me.com>
Tested-by: Reiner Teubner <rteubner@me.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Rico Drexler <rico.drexler@gmx.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
20 months ago[TASK] Ensure HTTP RequestHandlers always return a PSR-7 Repsonse 98/55498/10
Benjamin Franzke [Wed, 24 Jan 2018 21:25:52 +0000 (22:25 +0100)]
[TASK] Ensure HTTP RequestHandlers always return a PSR-7 Repsonse

This is in preparation for PSR-15 middleware support which
will require PSR-7 RespnseInterface return type declarations
for request handlers.

As TSFE powers a concept of outputting nothing [see isOutputting()]
we need to add NullResponse (which implements the PSR-7 ResponseInterface)
which Core/Bootstrap can detect, to stop invoking header() and echo.

Change-Id: Ie3169a4365a85d0472523138cc73bb47cbbcb70f
Releases: master
Resolves: #83724
Reviewed-on: https://review.typo3.org/55498
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
20 months ago[BUGFIX] Fix "Select & upload files" button for FAL in flexform 16/55516/6
Armin Vieweg [Thu, 1 Feb 2018 09:20:15 +0000 (10:20 +0100)]
[BUGFIX] Fix "Select & upload files" button for FAL in flexform

Fix regular expression in escapeCssSelector method, to convert
e.g. "." to "\.".

Resolves: #83747
Branches: master, 8.7
Change-Id: I0fe19fb3590e28cafce6e2fd0cbf9a63f4375954
Reviewed-on: https://review.typo3.org/55516
Reviewed-by: Armin Vieweg <armin@v.ieweg.de>
Tested-by: Armin Vieweg <armin@v.ieweg.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
20 months ago[FOLLOWUP][BUGFIX] Remove uglify of jquery-ui/sortable.js 17/55517/4
Frank Naegler [Thu, 1 Feb 2018 10:32:01 +0000 (11:32 +0100)]
[FOLLOWUP][BUGFIX] Remove uglify of jquery-ui/sortable.js

This patch removes the uglify task of jquery-ui/sortable.js.
With https://review.typo3.org/#/c/55389/ the lib was patched
and already uglified. This patch prevents a double uglify of the file.

Resolves: #83593
Releases: master, 8.7
Change-Id: I16edd94fc8d3165159b4dc0a47ac7365ff34e37f
Reviewed-on: https://review.typo3.org/55517
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
20 months ago[TASK] Set TYPO3 version to 9.2.0-dev 05/55505/5
Oliver Hader [Tue, 30 Jan 2018 15:33:03 +0000 (16:33 +0100)]
[TASK] Set TYPO3 version to 9.2.0-dev

Change-Id: I221d472b3bd9ac035221cb804601740cf77847b0
Reviewed-on: https://review.typo3.org/55505
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
20 months ago[RELEASE] Release of TYPO3 9.1.0 04/55504/2 v9.1.0
Oliver Hader [Tue, 30 Jan 2018 15:30:49 +0000 (16:30 +0100)]
[RELEASE] Release of TYPO3 9.1.0

Change-Id: I8ebeca67eb5524682846a2fb7d55ee8bbde1a318
Reviewed-on: https://review.typo3.org/55504
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
20 months ago[BUGFIX] Avoid JS error when using 'eval' => 'int,nospace' in TCA 00/55500/3
Stephan Großberndt [Tue, 30 Jan 2018 11:12:43 +0000 (12:12 +0100)]
[BUGFIX] Avoid JS error when using 'eval' => 'int,nospace' in TCA

By casting the JavaScript variable to string this patch avoids an error
if 'eval' => 'int,nospace' is used in a TCA column definition.

Resolves: #83731
Releases: master, 8.7
Change-Id: I5be79bf6cd748ac184505f0aa4bd97c7d934eebd
Reviewed-on: https://review.typo3.org/55500
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Sascha Rademacher <sascha.rademacher+typo3@gmail.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
20 months ago[BUGFIX] Fix example code for TCA "fieldControl" 01/55501/2
Stephan Großberndt [Tue, 30 Jan 2018 14:22:13 +0000 (15:22 +0100)]
[BUGFIX] Fix example code for TCA "fieldControl"

Resolves: #83732
Releases: master, 8.7
Change-Id: I7dccb42445dba584ed1c9a814f62525335d26ab1
Reviewed-on: https://review.typo3.org/55501
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
20 months ago[BUGFIX] EXT:filelist Canceling the file exists already modal works now 18/55418/3
Michael Oehlhof [Sun, 21 Jan 2018 01:49:04 +0000 (02:49 +0100)]
[BUGFIX] EXT:filelist Canceling the file exists already modal works now

When renaming a file with the name of an existing file a modal is shown.
Pressing the cancel button no longer renames the file with an unique name.

Resolves: #83624
Releases: master
Change-Id: I9963f6ce0b476f63043056d74e38af251ea0cd3e
Reviewed-on: https://review.typo3.org/55418
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Henning Liebe <h.liebe@neusta.de>
Tested-by: Henning Liebe <h.liebe@neusta.de>
Reviewed-by: Steffen Frese <steffenf14@gmail.com>
Tested-by: Steffen Frese <steffenf14@gmail.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
20 months ago[DOCS] 1/1 9.1 Documentation 65/55465/8
Mathias Schreiber [Fri, 26 Jan 2018 19:58:59 +0000 (20:58 +0100)]
[DOCS] 1/1 9.1 Documentation

Proofread documentation for CMS 9.1.

Two rst snippets remain in Changelog/master in order to ease a scheduled
revert by @helhum.

Resolves: #83700
Releases: master
Change-Id: Iebf3db03bd95a6f20b0b786e9776fc84b77d6e3b
Reviewed-on: https://review.typo3.org/55465
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
20 months agoRevert "[FEATURE] EXT:form - introduce YAML "imports"" 22/55422/5
Helmut Hummel [Sun, 21 Jan 2018 17:40:15 +0000 (18:40 +0100)]
Revert "[FEATURE] EXT:form - introduce YAML "imports""

While the intended feature is great (having the possiblity
to extract and re-use parts of the form definition),
implementation wise it needs some rework.

To be able to release 9.1 as stable as possible,
we now revert this implementation for now
and bring it in for 9.2 again.

This reverts commit a52a99220ca24251186ea88d11b3db43436a8156.

Reverts: #82089
Resolves: #83729
Releases: master
Change-Id: I850401d232b642e712801613d3780816f873966a
Reviewed-on: https://review.typo3.org/55422
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
20 months ago[FEATURE] Option to globally enable redirect hit count 97/55497/2
Susanne Moog [Mon, 29 Jan 2018 19:15:27 +0000 (20:15 +0100)]
[FEATURE] Option to globally enable redirect hit count

Most websites probably use custom analytics for page
hit statistics or are not interested in the count of
hits on a redirect. Therefor the redirect hit count
has been disabled by default. The option to enable
the hit count globally via LocalConfiguration has been
added.

Change-Id: I71c57784d8c6e0f17c81b1f899aa43e91d37cd76
Resolves: #83677
Releases: master
Reviewed-on: https://review.typo3.org/55497
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
20 months ago[TASK] Improved extension configuration API 34/55434/10
Christian Kuhn [Tue, 23 Jan 2018 12:42:43 +0000 (13:42 +0100)]
[TASK] Improved extension configuration API

The patch implements feedback from the new
ExtensionConfiguration API.
get() now falls back to a parsing of ext_conf_template,
so the parser is moved from the install tool
to the ext:core class. This prevents a chicken-egg
issue in early setup phases.

The move of the synchronize* methods forces a raise
of the testing-framework:

composer require --dev typo3/testing-framework ^2.0.3

Change-Id: I9a6700fc66fe78d9df09038a89ea95f8dba81031
Resolves: #83666
Releases: master
Reviewed-on: https://review.typo3.org/55434
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
20 months ago[BUGFIX] NewContentElementWizardController to NewContentElementController 79/55479/6
Oliver Hader [Sun, 28 Jan 2018 22:38:22 +0000 (23:38 +0100)]
[BUGFIX] NewContentElementWizardController to NewContentElementController

NewContentElementWizardController, which has been introduced for TYPO3 v9
to render the new content element process in a dedicated modal was just a
duplicate of the existing NewContentElementController class with some
minor adjustments and code flow enhancements (names, empty checks).

However, there have been several side effects like:
* hook implementing NewContentElementWizardHookInterface would have been
  called by both object instances, having different public properties -
  the most common access to $parentObject->id or ~->sys_language would
  have failed to to property visibility and change names
* the JavaScript closure callback to adjust the URL when interacting in
  the browser was hard-coded to modal rendering, with still having the
  possibility to render the old behavior e.g. in the web>list view

To overcome these flaws both mentioned classes have been merged since the
functionality was not that much different anyway. Besides that different
JavaScript client scopes ('window' or 'list_frame') are forwarded to the
according object instances.

Resolves: #83705
Releases: master
Change-Id: I472a7ec8a5d06c05e6c7053bf98b5cfacb69f9d9
Reviewed-on: https://review.typo3.org/55479
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
20 months ago[BUGFIX] Invalid session token on creating content element in admin panel 88/55488/2
Oliver Hader [Mon, 29 Jan 2018 15:29:33 +0000 (16:29 +0100)]
[BUGFIX] Invalid session token on creating content element in admin panel

When creating a new content element in the frontend using the according
button in the "editing" section of the admin panel, the request to the
TYPO3 backend is rejected due to an invalid XSRF session token:

Validating the security token of this form has failed.
Please reload the form and submit it again.

The reason is, that the URL after issue #70055 looks like the following
"token=<hash>id=<id>" instead of "token=<hash>&id=<id>" - the id became
part of the XSRF session token.

Resolves: #83719
Releases: master, 8.7, 7.6
Change-Id: Ibdd252b2e59d9e8de78bb0be14a95e0789dc0d17
Reviewed-on: https://review.typo3.org/55488
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
20 months ago[BUGFIX] Correct example in redirects feature documentation 91/55491/2
Benjamin Kott [Mon, 29 Jan 2018 17:17:55 +0000 (18:17 +0100)]
[BUGFIX] Correct example in redirects feature documentation

Resolves: #83723
Releases: master
Change-Id: I010796bd056e6c70d21010ef649f127c4d006a21
Reviewed-on: https://review.typo3.org/55491
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
20 months ago[BUGFIX] Properly check `serialized_executions` to avoid warnings with PHP 7.2 74/55474/5
Georg Ringer [Sun, 28 Jan 2018 11:42:17 +0000 (12:42 +0100)]
[BUGFIX] Properly check `serialized_executions` to avoid warnings with PHP 7.2

To avoid warnings with PHP 7.2, `serialized_executions` must be checked
for being not an empty value.

Resolves: #83691
Releases: master, 8.7, 7.6
Change-Id: I5855a03d6669ec0e82931cfc0110c2b7ca134ad4
Reviewed-on: https://review.typo3.org/55474
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
20 months ago[BUGFIX] EXT:filelist Fixed exception when creating new text file 19/55419/2
Michael Oehlhof [Sun, 21 Jan 2018 11:50:51 +0000 (12:50 +0100)]
[BUGFIX] EXT:filelist Fixed exception when creating new text file

The exception does not occur with the LocalDriver.
For testing use the driver mentioned in the forge issue.

Resolves: #83627
Releases: master, 8.7
Change-Id: Iae5fef2cc1ca704998975aba4fb6f5e48aeec4b1
Reviewed-on: https://review.typo3.org/55419
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Henning Liebe <h.liebe@neusta.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Jan Stockfisch <jan.stockfisch@googlemail.com>
Tested-by: Jan Stockfisch <jan.stockfisch@googlemail.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
20 months ago[BUGFIX] Change documentation of [BE][interfaces] 78/55478/2
Susanne Moog [Sun, 28 Jan 2018 18:14:04 +0000 (19:14 +0100)]
[BUGFIX] Change documentation of [BE][interfaces]

The order of the options given is irrelevant as
they will always be rendered in the same order.

The documentation was updated to reflect that fact.

Change-Id: I409e8a26a3b1186a12761cbb84a4f6afe94b464b
Resolves: #82431
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/55478
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
20 months ago[BUGFIX] Add preview icon in overview and link to record edit 81/55481/2
Frank Naegler [Mon, 29 Jan 2018 09:26:29 +0000 (10:26 +0100)]
[BUGFIX] Add preview icon in overview and link to record edit

In the overview table of the redirects module the source path now links
to edit record view (like everywhere in the backend) and a new preview icon
is now available in case the source path is not a RegExp.

Resolves: #83709
Related: #83708
Releases: master
Change-Id: Ie92e434f675a5f66e5e779e0d739d75a0a774caa
Reviewed-on: https://review.typo3.org/55481
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
20 months ago[TASK] Show language mode in Page module 64/55464/8
Mathias Schreiber [Fri, 26 Jan 2018 18:43:23 +0000 (19:43 +0100)]
[TASK] Show language mode in Page module

Editors can now immediately see whether a page is in Free, Connected or
Mixed mode in a certain language.

Resolves: #83696
Releases: master, 8.7
Change-Id: I2985c2094e83535df636fa124aea962aa7ca105d
Reviewed-on: https://review.typo3.org/55464
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
20 months ago[BUGFIX] Use fallback for source link in wildcard redirects 55/55455/9
Jigal van Hemert [Thu, 25 Jan 2018 11:45:38 +0000 (12:45 +0100)]
[BUGFIX] Use fallback for source link in wildcard redirects

If a wildcard source host is used in a redirect record the link in
the list of redirects the view domain for the first page in the
page tree is used now.

Resolves: #83658
Releases: master
Change-Id: Id7d64711c359ad744639ebd7159581ad606bf097
Reviewed-on: https://review.typo3.org/55455
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Reiner Teubner <rteubner@me.com>
Tested-by: Reiner Teubner <rteubner@me.com>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
20 months ago[TASK] Make ext:redirect part of factory default 70/55470/2
Christian Kuhn [Sat, 27 Jan 2018 13:24:06 +0000 (14:24 +0100)]
[TASK] Make ext:redirect part of factory default

The extension is now loaded by default when installing
the system.

Change-Id: I9bd887b3e4d8779c2591ddec171de627899fd073
Resolves: #83701
Releases: master
Reviewed-on: https://review.typo3.org/55470
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Reiner Teubner <rteubner@me.com>
Tested-by: Reiner Teubner <rteubner@me.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
20 months ago[BUGFIX] Add renderType to redirect target statuscode field 62/55462/3
Mathias Brodala [Fri, 26 Jan 2018 14:58:39 +0000 (15:58 +0100)]
[BUGFIX] Add renderType to redirect target statuscode field

Change-Id: I029e0a9e3522adde7c35a82349ecd15c595848d7
Resolves: #83692
Releases: master
Reviewed-on: https://review.typo3.org/55462
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Reiner Teubner <rteubner@me.com>
Tested-by: Reiner Teubner <rteubner@me.com>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
20 months ago[BUGFIX] Fix incomplete validation of source_host field 67/55467/3
Frank Naegler [Fri, 26 Jan 2018 21:50:52 +0000 (22:50 +0100)]
[BUGFIX] Fix incomplete validation of source_host field

This patch complete the validation of source_host field and
add some tests for the server side validation.
Also a client side validation / manipulation is added.

Resolves: #83659
Releases: master
Change-Id: I5117bd353d116f1366ca779c37ba868fec9f34c8
Reviewed-on: https://review.typo3.org/55467
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
20 months ago[BUGFIX] Catch DatabaseRecordException when editing record with deleted relation 97/55197/8
Andreas Fernandez [Fri, 22 Dec 2017 10:35:05 +0000 (11:35 +0100)]
[BUGFIX] Catch DatabaseRecordException when editing record with deleted relation

Editing a record with a deleted related record leads to an uncaught
DatabaseRecordException. This patch catches the exception and
ignores such records, but logs a warning.

Due to possible errors occurring with certain DBMS (e.g. MySQL
strict) columns may require a default value now in TCA.

Resolves: #83412
Releases: master, 8.7
Change-Id: I5adaf385443350ce245dd83da6e5f1a16d9c9afb
Reviewed-on: https://review.typo3.org/55197
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Reiner Teubner <rteubner@me.com>
Tested-by: Reiner Teubner <rteubner@me.com>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
20 months ago[TASK] use horizontal ellipsis instead of 3 dots 63/55463/2
Daniel Ruf [Fri, 26 Jan 2018 18:32:55 +0000 (19:32 +0100)]
[TASK] use horizontal ellipsis instead of 3 dots

Releases: master
Resolves: #83697
Change-Id: I6f7217f8a479298249a92ff43eb650638077d8e5
Reviewed-on: https://review.typo3.org/55463
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
20 months ago[BUGFIX] Only reference existing locallang files 66/55466/3
Daniel Goerz [Fri, 26 Jan 2018 21:36:30 +0000 (22:36 +0100)]
[BUGFIX] Only reference existing locallang files

Resolves: #83698
Releases: master, 8.7
Change-Id: I7bfe3c32c5fec6e7098462dcbe0353afd9258900
Reviewed-on: https://review.typo3.org/55466
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Kummer <typo3@enobe.de>
Tested-by: Joerg Kummer <typo3@enobe.de>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
20 months ago[TASK] Timebased redirects shown correctly 42/55442/9
Reiner Teubner [Wed, 24 Jan 2018 10:08:02 +0000 (11:08 +0100)]
[TASK] Timebased redirects shown correctly

When a timebased redirect is not active now a
sheduled-end icon with additional information
is displayed.

Resolves: #83663
Releases: master
Change-Id: I345364ec9a83c8af317ac2cafe2e7a70d570a159
Reviewed-on: https://review.typo3.org/55442
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
20 months ago[BUGFIX] Remove validation for field source_path 60/55460/2
Frank Naegler [Fri, 26 Jan 2018 14:38:19 +0000 (15:38 +0100)]
[BUGFIX] Remove validation for field source_path

This patch removes the validation of the source_path field.
It is not possible to validate the input because a RegExp is
allowed for this field which can’t be validated with this checks.

Resolves: #83660
Releases: master
Change-Id: I9420997ba35e3fc312ad2eb4b0a439d56e7b2fe7
Reviewed-on: https://review.typo3.org/55460
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Reiner Teubner <rteubner@me.com>
Tested-by: Reiner Teubner <rteubner@me.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
20 months ago[TASK] Use SVG icons in EXT:redirects 56/55456/2
Jigal van Hemert [Thu, 25 Jan 2018 15:01:35 +0000 (16:01 +0100)]
[TASK] Use SVG icons in EXT:redirects

The module icon is in SVG format with a background color from
the TYPO3 icon set. A similar icon for the record type has been
added too. The old PNG icons were removed.
In a future clean-up of the TYPO3 icon set these will be added to the
collection.

Resolves: #83653
Releases: master
Change-Id: Iec1a8b0344b91c43e501efa4deea9584ddf8b561
Reviewed-on: https://review.typo3.org/55456
Reviewed-by: Reiner Teubner <rteubner@me.com>
Tested-by: Reiner Teubner <rteubner@me.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
20 months ago[BUGFIX] Fix system maintainer checkbox size 58/55458/2
Mathias Brodala [Fri, 26 Jan 2018 13:24:17 +0000 (14:24 +0100)]
[BUGFIX] Fix system maintainer checkbox size

Change-Id: Ibdd234c7f6c32c5edb9af25ea5e5e74ef91feb57
Resolves: #83690
Releases: master
Reviewed-on: https://review.typo3.org/55458
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
20 months ago[BUGFIX] Set correct PHPDoc hint for addPageTSConfig and addUserTSConfig 57/55457/3
Frans Saris [Fri, 26 Jan 2018 09:02:46 +0000 (10:02 +0100)]
[BUGFIX] Set correct PHPDoc hint for addPageTSConfig and addUserTSConfig

Resolves: #83687
Releases: master, 8.7
Change-Id: Ifa705340bc0523e914c688eea00dbb2812bbedd0
Reviewed-on: https://review.typo3.org/55457
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Kummer <typo3@enobe.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
20 months ago[BUGFIX] Show and hide arrow correctly in page tree 37/55437/2
Manuel Selbach [Tue, 23 Jan 2018 14:22:56 +0000 (15:22 +0100)]
[BUGFIX] Show and hide arrow correctly in page tree

This will set the attribute "visibility" to the correct value "visible"
or "hidden" instead of "collapse" so the arrow icon of the page tree
acts accordingly in all browsers.

Resolves: #83585
Releases: master
Change-Id: I17b8705ed9f7e0f0ac966294572ede5c9a151857
Reviewed-on: https://review.typo3.org/55437
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
20 months ago[BUGFIX] Add language parameter to preview url in list module 41/52341/9
Gianluigi Martino [Mon, 3 Apr 2017 14:18:22 +0000 (16:18 +0200)]
[BUGFIX] Add language parameter to preview url in list module

The language parameter was not set if the "View webpage" button was used
within the context menu of an element in the page module or the
"View webpage" button in the record list of a desired language.

Resolves: #80599
Releases: master, 8.7
Change-Id: I40fb5749cbd56c0075a8aa2c5ec3b2d8dea66501
Reviewed-on: https://review.typo3.org/52341
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Reiner Teubner <reiner.teubner@me.com>
Tested-by: Reiner Teubner <reiner.teubner@me.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
20 months ago[TASK] Display ApacheThreadStackSize message correctly during installation 98/55198/3
Gianluigi Martino [Fri, 22 Dec 2017 12:25:16 +0000 (13:25 +0100)]
[TASK] Display ApacheThreadStackSize message correctly during installation

With this patch the html chars inside the
"ApacheThreadStackSize" flashmessage during the installation are displayed
correctly

Resolves: #83413
Releases: master
Change-Id: If49ea5cd96ca8c0ef005e7a23b917b44149a88cd
Reviewed-on: https://review.typo3.org/55198
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
20 months ago[TASK] Migrate getPagesTSconfig to runtime cache 33/54133/10
Stefan Froemken [Wed, 13 Sep 2017 12:11:14 +0000 (14:11 +0200)]
[TASK] Migrate getPagesTSconfig to runtime cache

BackendUtility::getPagesTSconfig() uses local
method static properties as cache.
This prevents dedicated flushing, which may
be needed in rare cases to prevent for instance
from exceeded memory during huge imports.
The patch switches that to cache framework
cache_runtime which is already used at other
places within BackendUtility.

Resolves: #82473
Related: #63629
Releases: master, 8.7
Change-Id: I4d54819f05a6c7b8ce175bc827b626277e2d4c04
Reviewed-on: https://review.typo3.org/54133
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
20 months ago[TASK] Hide redirect table header when no records exist 43/55443/8
Reiner Teubner [Wed, 24 Jan 2018 10:37:20 +0000 (11:37 +0100)]
[TASK] Hide redirect table header when no records exist

Resolves: #83661
Release: master
Change-Id: I8a7307986896fa2d68b5013d1defc235eff1d3e4
Reviewed-on: https://review.typo3.org/55443
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
20 months ago[BUGFIX] Use correct default value for field data_page_reg1 28/55428/2
Georg Ringer [Tue, 23 Jan 2018 04:22:48 +0000 (05:22 +0100)]
[BUGFIX] Use correct default value for field data_page_reg1

The field data_page_reg1 of table index_phash is defined as integer.
Therefore the default value must be 0 instead of an empty string.

Resolves: #83641
Releases: master, 8.7, 7.6
Change-Id: I4c1f115b8c8bbcb961627d7f5a5a413a8d5cf419
Reviewed-on: https://review.typo3.org/55428
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Reiner Teubner <reiner.teubner@me.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
20 months ago[TASK] Use … instead of dots for a correct typography 41/55441/2
Georg Ringer [Wed, 24 Jan 2018 09:37:11 +0000 (10:37 +0100)]
[TASK] Use … instead of dots for a correct typography

The correct typography is to use  the character "…"
instead of "...".

Resolves: #83614
Releases: master, 8.7
Change-Id: I151db0f1edb290d2a3aeff3236e1be1e9c19fa8a
Reviewed-on: https://review.typo3.org/55441
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Reiner Teubner <reiner.teubner@me.com>
Tested-by: Reiner Teubner <reiner.teubner@me.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
20 months ago[BUGFIX] EXT:filelist Removed cut and copy buttons from "Extended view" 69/55369/2
Michael Oehlhof [Mon, 15 Jan 2018 23:06:32 +0000 (00:06 +0100)]
[BUGFIX] EXT:filelist Removed cut and copy buttons from "Extended view"

The cut and copy buttons were shown twice in filelist module.
Once in “Extended view” and once in “Show clipboard”

Resolves: #83575
Releases: master, 8.7
Change-Id: I8cbb9b516aaa1ff42a363d4daf4ffa7e20c9d461
Reviewed-on: https://review.typo3.org/55369
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Reiner Teubner <reiner.teubner@me.com>
Tested-by: Reiner Teubner <reiner.teubner@me.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
20 months ago[TASK] EXT:form - set of additional unit tests 24/54024/18
Marcel Jürgen Falk [Fri, 8 Sep 2017 13:58:11 +0000 (15:58 +0200)]
[TASK] EXT:form - set of additional unit tests

Resolves: #82386
Releases: master
Change-Id: I40b83041149b8955b51c3a2c54d8690392356ae1
Reviewed-on: https://review.typo3.org/54024
Reviewed-by: Reiner Teubner <reiner.teubner@me.com>
Tested-by: Reiner Teubner <reiner.teubner@me.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
20 months ago[TASK] EXT:redirects - Wrong variable name in phpdoc of class SourceHost 40/55440/6
Joerg Boesche [Wed, 24 Jan 2018 07:54:06 +0000 (08:54 +0100)]
[TASK] EXT:redirects - Wrong variable name in phpdoc of class SourceHost

- Resolves a wrong variable definition in phpdoc
- Adds type safe method parameter
- Adds return type string to method

Resolves: #83665
Releases: master
Change-Id: I0ed52e0b2086d6d006885964f480b3c99b7942e7
Reviewed-on: https://review.typo3.org/55440
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Henning Liebe <h.liebe@neusta.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
20 months ago[BUGFIX] Process large uid lists in chunks in RelationHandler 93/53193/19
Sascha Egerer [Mon, 12 Jun 2017 14:57:33 +0000 (16:57 +0200)]
[BUGFIX] Process large uid lists in chunks in RelationHandler

Uid lists in the relation handler can be very big. To avoid exceeding
query limits like maximum number of placeholder per query or the max
allowed statement length these large lists are split into chunks of
safe length before processing.

Change-Id: I176acb85feb91c6162a77016c1918cf5a992625c
Resolves: #81555
References: #80875
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/53193
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Manuel Selbach <manuel_selbach@yahoo.de>
Tested-by: Manuel Selbach <manuel_selbach@yahoo.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
20 months ago[FEATURE] Add drawHeaderHook to EXT:recordlist 23/55423/2
Georg Ringer [Mon, 22 Jan 2018 09:11:29 +0000 (10:11 +0100)]
[FEATURE] Add drawHeaderHook to EXT:recordlist

Add an additional hook to the EXT:recordlist which makes
it possible to add content above any other content.

Resolves: #61170
Releases: master
Change-Id: I2f6ad79cfb5ff19f57da63346735b743947ddf99
Reviewed-on: https://review.typo3.org/55423
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Peter Kraume <peter.kraume@gmx.de>
Tested-by: Peter Kraume <peter.kraume@gmx.de>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
20 months ago[TASK] Add LICENSE.txt to ext:redirects 38/55438/2
Christian Kuhn [Tue, 23 Jan 2018 17:18:32 +0000 (18:18 +0100)]
[TASK] Add LICENSE.txt to ext:redirects

Change-Id: I59846db22964a26f610a304fab85f570884b063d
Resolves: #83651
Releases: master
Reviewed-on: https://review.typo3.org/55438
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
20 months ago[TASK] Specific exception in ArrayUtility::removeByPath() 24/55424/3
Christian Kuhn [Mon, 22 Jan 2018 13:36:42 +0000 (14:36 +0100)]
[TASK] Specific exception in ArrayUtility::removeByPath()

Similar to getValueByPath(), removeByPath() now throws
a specific exception if the path to remove does not
exist in given array to avoid catching global \RuntimeException'
in consuming code.
The same "MissingArrayPathException" is used here since
both cases have identical semantic.

Change-Id: I69447c47d24e28110cf03929ea5ed28cf5e43024
Resolves: #83636
Related: #83615
Releases: master
Reviewed-on: https://review.typo3.org/55424
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Reiner Teubner <reiner.teubner@me.com>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
20 months ago[!!!][TASK] Remove sys_domain redirect functionality 27/55427/5
Benni Mack [Mon, 22 Jan 2018 15:43:37 +0000 (16:43 +0100)]
[!!!][TASK] Remove sys_domain redirect functionality

The existing functionality of sys_domain database records that redirect to a
different target has been migrated into the new "redirects" core extension.

An upgrade wizard ensures that old (and even deleted) sys_domain records
with a redirect target (database field "redirectTo") are properly migrated into
the redirects extension.

The following database fields have been dropped:
- sys_domain.redirectTo
- sys_domain.redirectHttpStatusCode
- sys_domain.prepend_params

These values are not evaluated anymore in the TYPO3 Frontend.

Resolves: #83638
Releases: master
Change-Id: I0577a5bfb9db9e0b5d06b7c5f2d0c6f428c8a4ba
Reviewed-on: https://review.typo3.org/55427
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
20 months ago[BUGFIX] Set focus on the search input field in page tree 36/55436/2
Tymoteusz Motylewski [Tue, 23 Jan 2018 14:14:16 +0000 (15:14 +0100)]
[BUGFIX] Set focus on the search input field in page tree

After clicking on the filter button in the page tree,
the focus is set on the input field allowing to type
search word right away.

Resolves: #83535
Releases: master
Change-Id: I78c9b81e7c9e23efb4f9e8bf2d2a222a5e97436c
Reviewed-on: https://review.typo3.org/55436
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
20 months ago[FEATURE] Add system extension "redirects" 58/55358/50
Benni Mack [Sat, 13 Jan 2018 21:31:58 +0000 (22:31 +0100)]
[FEATURE] Add system extension "redirects"

A new system extension "redirects" is added, which ships a flexible
handling of HTTP redirects, useful both for marketeers and
site administrators.

It adds a new module called "Site Management => Redirects".

Site Management will be the starting point also for templating and
domain setups in the future.

A new DB table "sys_redirect" is added, which allows to configure
a redirect from a source (host+path) to a destination target.
The destination target can be any kind of Uri
(used by the LinkService).

In the short run, redirects superseeds the redirect logic from
sys_domain.redirectTo (see followup patch), but more features
are already sketched out, however, this change only
adds the basic functionality.

Any time a redirect is added or modified, a list
of all redirects is added to the cache management,
allowing to fetch all redirects at once,
reducing the number of queries to the DB in the
frontend to 1 query (or to one query to the FS, as
the power lies in the caching framework).

A simple hit statistics counter is implemented as well.

The redirects functionality later will serve
for URL Routing if a page will be registered under
a different URL, and a redirect could automatically be added.

Further improvements (out of scope for this change):
- Move icons into the TYPO3 iconset
- Check for recursive / loops, or existing redirects
- Add further conditions for redirects
- Export redirects as VCL, nginx or .htaccess rules for performance reasons
- Bulk import of redirects
- Selection of existing sys_domain redirects in source_
- Sanitize source_host to only include a domain name, and/or allow ports
- Allow query parameters in source_path

Resolves: #83631
Releases: master
Change-Id: Ibf25c2ee07f41edbaf14b97a7f115d36f901cc62
Reviewed-on: https://review.typo3.org/55358
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Reiner Teubner <reiner.teubner@me.com>
Tested-by: Reiner Teubner <reiner.teubner@me.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Tobi Kretschmann <tobi@tobishome.de>
Tested-by: Tobi Kretschmann <tobi@tobishome.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
20 months ago[BUGFIX] Show correct file reference information 58/55158/5
Nicole Cordes [Tue, 19 Dec 2017 10:15:48 +0000 (11:15 +0100)]
[BUGFIX] Show correct file reference information

This patch corrects how file references (from softrefs) are stored in
sys_refindex table as this was changed with patch
https://review.typo3.org/53219/.

Resolves: #81831
Related: #80991
Related: #80988
Releases: master, 8.7
Change-Id: I776d2db47dffd83217a3c5527860093ddbca58c6
Reviewed-on: https://review.typo3.org/55158
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Benjamin Kluge <b.kluge@neusta.de>
Tested-by: Benjamin Kluge <b.kluge@neusta.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Reiner Teubner <reiner.teubner@me.com>
Tested-by: Reiner Teubner <reiner.teubner@me.com>
Reviewed-by: Henning Liebe <h.liebe@neusta.de>
Tested-by: Henning Liebe <h.liebe@neusta.de>
Reviewed-by: Sascha Rademacher <sascha.rademacher+typo3@gmail.com>
Tested-by: Sascha Rademacher <sascha.rademacher+typo3@gmail.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
20 months ago[BUGFIX] Fix minor typos in ReST of #83637 29/55429/2
Andreas Fernandez [Tue, 23 Jan 2018 07:42:12 +0000 (08:42 +0100)]
[BUGFIX] Fix minor typos in ReST of #83637

Resolves: #83644
Related: #83637
Releases: master
Change-Id: Ifdee387950181b869c9dfa1df2644bd5b51e6ce0
Reviewed-on: https://review.typo3.org/55429
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
20 months ago[BUGFIX] Fresh tag in TypoScriptConstantsViewHelper per call 73/55273/5
steffenk [Fri, 5 Jan 2018 09:32:37 +0000 (10:32 +0100)]
[BUGFIX] Fresh tag in TypoScriptConstantsViewHelper per call

With current fluid, the TypoScriptConstantsViewHelper is
instantiated only once and re-used if called multiple times.
$this->tag is then polluted from previous runs and creates
funny results.
Fix by re-initializing that property each call.

Resolves: #83319
Releases: master
Change-Id: Idf9e14ca69e76278bd0d6eaca1fec9b93c238fd5
Reviewed-on: https://review.typo3.org/55273
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Henning Liebe <h.liebe@neusta.de>
Reviewed-by: Jan Stockfisch <jan.stockfisch@googlemail.com>
Reviewed-by: Reiner Teubner <reiner.teubner@me.com>
Tested-by: Reiner Teubner <reiner.teubner@me.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
20 months ago[FEATURE] Execute hooks on backend user login 19/55319/7
Michael Schams [Fri, 19 Jan 2018 05:27:57 +0000 (16:27 +1100)]
[FEATURE] Execute hooks on backend user login

When a user successfully logs in to the backend of TYPO3, registered
hooks are executed. This allows for the development of further actions
such as notification services.

Resolves: #83529
Releases: master
Change-Id: I26b060463ae76075a4d40f25c8e695534fe69875
Reviewed-on: https://review.typo3.org/55319
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Michael Schams <typo3@2018.schams.net>
Tested-by: Michael Schams <typo3@2018.schams.net>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Henning Liebe <h.liebe@neusta.de>
Tested-by: Henning Liebe <h.liebe@neusta.de>
Reviewed-by: Reiner Teubner <reiner.teubner@me.com>
Tested-by: Reiner Teubner <reiner.teubner@me.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
20 months ago[FEATURE] Add new main module "Site" 25/55425/3
Benni Mack [Mon, 22 Jan 2018 15:32:29 +0000 (16:32 +0100)]
[FEATURE] Add new main module "Site"

A new main module for the TYPO3 Backend is introduced, named "site",
which serves a main entry point for integrators and site admins to configure
the "Frontend" and the "How" of a TYPO3 website, and not the "what" (= content).

The site management module's purpose for now is to include Redirect Management,
but will be extended during v9 development to also contain Domain/Site/404
URL handling, TypoScript and Templating / Fluid configuration.

Resolves: #83637
Releases: master
Change-Id: I06c88d09fa16a40fa8c0f6176ed05f002629498c
Reviewed-on: https://review.typo3.org/55425
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Reiner Teubner <reiner.teubner@me.com>
Tested-by: Reiner Teubner <reiner.teubner@me.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
20 months ago[TASK] Add getter for TemplateService->rootId 15/55415/3
Benni Mack [Sat, 20 Jan 2018 13:32:47 +0000 (14:32 +0100)]
[TASK] Add getter for TemplateService->rootId

The rootID holds the page ID where the root sys_template
record was found.

As this is crucial for some hooks this property
should be publically available but is marked as
deprecated during v9 development, a getter is added
to provide a public API.

Resolves: #83619
Releases: master
Change-Id: Ief651f2e2d758350f0620b3104dd47e0c06fa2f4
Reviewed-on: https://review.typo3.org/55415
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>