Packages/TYPO3.CMS.git
2 years ago[SECURITY] XSS in TCA type inline 00/47600/2
Frank Naegler [Tue, 12 Apr 2016 09:10:06 +0000 (11:10 +0200)]
[SECURITY] XSS in TCA type inline

This patch fix a XSS vulnerability in TCA type inline.

Resolves: #73460
Releases: master, 7.6
Security-Commit: 8b47f10ac2543ceca5a84121feeddcf8ca17c813
Security-Bulletins: TYPO3-CORE-SA-2016-009, 010, 011, 012
Change-Id: I0fc2ea99698bb8f60b971ff6fcf4d23ec592715b
Reviewed-on: https://review.typo3.org/47600
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
2 years ago[BUGFIX] Load XML files of Extension Manager properly 89/47589/2
Andreas Fernandez [Fri, 11 Mar 2016 14:56:57 +0000 (15:56 +0100)]
[BUGFIX] Load XML files of Extension Manager properly

Since the XEE security fix (I26701fc2ffb5aed7ccbd96c168aef571d012091e),
the XML files in the Extension Manager may are not loaded anymore, depending
on the machine. Change the way how the files are loaded to fix the issue.

Change-Id: I2a3dffd089ed427b965bcbae8aa596c26a81770b
Resolves: #75022
Releases: master, 7.6, 6.2
Reviewed-on: https://review.typo3.org/47589
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
2 years ago[BUGFIX] Set correct width for textarea in file list 87/47587/2
Georg Ringer [Tue, 12 Apr 2016 05:45:51 +0000 (07:45 +0200)]
[BUGFIX] Set correct width for textarea in file list

Change width of the textarea to edit file's content in the
file list module if EXT:t3editor is not installed.

Resolves: #75495
Releases: master, 7.6
Change-Id: I5b05f753cae8a11a7889a6391521fcfd7c0aef51
Reviewed-on: https://review.typo3.org/47587
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Align docheader and pagetree toppanel correctly 72/47572/2
Benjamin Kott [Mon, 11 Apr 2016 13:57:19 +0000 (15:57 +0200)]
[BUGFIX] Align docheader and pagetree toppanel correctly

Releases: master, 7.6
Resolves: #74324
Change-Id: I3432881a896accf94d5a0a101dbcbecbe6027320
Reviewed-on: https://review.typo3.org/47572
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
2 years ago[BUGFIX] "Visibility settings" is broken in language view 61/47561/2
Gianluigi Martino [Sun, 10 Apr 2016 08:25:20 +0000 (10:25 +0200)]
[BUGFIX] "Visibility settings" is broken in language view

Ensure that access settings are shown after clicking on visibility
settings in language view (Clickmenu)

Change-Id: If674e4328086edcc83386539851a42b6b95a1c84
Resolves: #75476
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47561
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[TASK] Optimize CSS clearfix usage 58/47558/2
Benjamin Kott [Sun, 10 Apr 2016 18:06:01 +0000 (20:06 +0200)]
[TASK] Optimize CSS clearfix usage

Releases: master
Resolves: #75483
Change-Id: Ia525a19d87be6a99ca2cc48b8561ebc800e9e34e
Reviewed-on: https://review.typo3.org/47558
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
2 years ago[BUGFIX] Add button to lock install tool 57/47557/2
Frank Naegler [Sun, 10 Apr 2016 19:01:07 +0000 (21:01 +0200)]
[BUGFIX] Add button to lock install tool

This patch adds a button to lock the install tool again, also without login.

Resolves: #56640
Releases: master, 7.6
Change-Id: I6a4368376082288955eb20197ab437e893c93ffc
Reviewed-on: https://review.typo3.org/47557
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
2 years ago[BUGFIX] Load RequireJs in PageRenderer:: addRequireJsConfiguration() 48/47548/2
Andreas Fernandez [Fri, 1 Apr 2016 08:46:30 +0000 (10:46 +0200)]
[BUGFIX] Load RequireJs in PageRenderer:: addRequireJsConfiguration()

``PageRenderer:: addRequireJsConfiguration`` does now load RequireJS
in the backend, as this method is called before ``loadRequireJs()``
otherwise, colliding with how ``loadRequireJs()`` handles RequireJS.

This is not done in frontend, as the output could get broken.

Resolves: #75353
Releases: master, 7.6
Change-Id: I7a1140036dcbf9ab869b361c40fedc3813a887d3
Reviewed-on: https://review.typo3.org/47548
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[BUGFIX] Don't remove spaces from passwords of fe_users 44/47544/2
Daniel Goerz [Thu, 7 Apr 2016 21:40:31 +0000 (23:40 +0200)]
[BUGFIX] Don't remove spaces from passwords of fe_users

Change-Id: I9b33a34ab76b2dd3da0b25763e1b97f845383824
Resolves: #67699
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47544
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
2 years ago[TASK] Update adodb to v5.20.3 43/47543/2
Christian Kuhn [Thu, 7 Apr 2016 16:53:09 +0000 (18:53 +0200)]
[TASK] Update adodb to v5.20.3

This brings a list of bug fixes and better PHP7 compatibility.
This is a "hacked" version from vanilla 5.20.3 where some
local changes are applied that were not yet fixed upstream,
see forge for a diff.

Change-Id: I16a3d601bc0b1bf77ab3bd35311a57df6595a1ed
Resolves: #75447
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47537
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
(cherry picked from commit 07f8caf9be5957ae21e1cc57b50b2f9866a9bcc3)
Reviewed-on: https://review.typo3.org/47543

2 years ago[BUGFIX] Modification date comparison fixed in FAL indexer 33/47533/2
Wouter Wolters [Wed, 6 Apr 2016 17:07:41 +0000 (19:07 +0200)]
[BUGFIX] Modification date comparison fixed in FAL indexer

modification_date is a string from the database and SplFileInfo
mtime is returned as integer. Cast modification_date to
an integer too.

Resolves: #75421
Releases: master,7.6
Change-Id: I7523f9f722af8cc5f4e137e32bf07e2c3105214d
Reviewed-on: https://review.typo3.org/47533
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[BUGFIX] Raise index_rel.first to int(11) 29/47529/2
Benni Mack [Tue, 5 Apr 2016 08:40:48 +0000 (10:40 +0200)]
[BUGFIX] Raise index_rel.first to int(11)

The index_rel.first database table of indexed_search
is used to store the number of occurrences of words,
which could be more in bigger indices.

Resolves: #75406
Releases: master, 7.6
Change-Id: I05b0fc1e2f74e2eb09b3af9d643b3145c0d6db6e
Reviewed-on: https://review.typo3.org/47529
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] WinCache 2.0 and newer have no opcode cache 51/47051/3
Alexander Opitz [Fri, 4 Mar 2016 13:46:45 +0000 (14:46 +0100)]
[BUGFIX] WinCache 2.0 and newer have no opcode cache

Detect WinCache 2.0 and newer not as opcode cache system.

Resolves: #74131
Releases: 7.6, 6.2
Change-Id: If7ce68b884d84638484f7b8225d175f5875fb683
Reviewed-on: https://review.typo3.org/47051
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[TASK] Remove references to non existing convertArgumentValue 23/47523/2
Wouter Wolters [Wed, 6 Apr 2016 19:35:47 +0000 (21:35 +0200)]
[TASK] Remove references to non existing convertArgumentValue

Resolves: #75288
Releases: 7.6
Change-Id: Ic4c09968607b1c7745ecbf0d92a44a009ee0ce7c
Reviewed-on: https://review.typo3.org/47523
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Fix inline array notation in ContainerViewHelper docs 27/47527/2
Wouter Wolters [Wed, 6 Apr 2016 18:44:21 +0000 (20:44 +0200)]
[BUGFIX] Fix inline array notation in ContainerViewHelper docs

Resolves: #75315
Releases: master,7.6
Change-Id: I8721174ed5addd2ec7ff6c27a8e66ec5bdf765c2
Reviewed-on: https://review.typo3.org/47527
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[BUGFIX] Allow running only EXT:form subset of unit tests 09/47509/2
Morton Jonuschat [Fri, 1 Apr 2016 11:06:02 +0000 (13:06 +0200)]
[BUGFIX] Allow running only EXT:form subset of unit tests

Mock the humanReadableDate() method to avoid a call to
LocalizationUtility::translate() which require a CachingBackend
to be set up.

Change-Id: I425da7a1ad815620e04e4cd9645d45dd528d672b
Releases: master, 7.6
Resolves: #75360
Reviewed-on: https://review.typo3.org/47509
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Ignore cURL proxy header block 94/47294/2
Albrecht Köhnlein [Fri, 19 Feb 2016 14:28:46 +0000 (15:28 +0100)]
[BUGFIX] Ignore cURL proxy header block

When cURL is enabled with a proxy, the proxy’s HTTP header (sent as a
response to the client CONNECT request) was not removed correctly for
https requests.

See also RFC 2817.

Resolves: #73567
Releases: master, 7.6, 6.2
Change-Id: I0f11933f523b099dd23a5bef631699904ffcefc8
(cherry picked from commit 09f1f5632e05a9140a7d65ceca0f38caa5f335eb)
Reviewed-on: https://review.typo3.org/47294
Reviewed-by: Jonas Götze <jonnsn@gmail.com>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
2 years ago[TASK] Add bootstrap styling to simulate backend user 96/47496/2
Markus Sommer [Fri, 1 Apr 2016 13:17:53 +0000 (15:17 +0200)]
[TASK] Add bootstrap styling to simulate backend user

Resolves: #75367
Releases: master,7.6
Change-Id: I2e0877564c355526898e5c1b921f9080be1906be
Reviewed-on: https://review.typo3.org/47496
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[BUGFIX] Make ImageService Exception more descriptive 95/47495/2
Benni Mack [Fri, 1 Apr 2016 18:34:37 +0000 (20:34 +0200)]
[BUGFIX] Make ImageService Exception more descriptive

The Extbase FAL ImageService throws an exception if the src
parameter is not resolved to a proper File/FileReference object.

The patch adds the $src parameter to the Exception message
in order to detect in an easier way where something went
wrong.

Resolves: #66106
Releases: master, 7.6
Change-Id: Ia4aa5f9fe5c5c98005e94dd563afbd6e44457056
Reviewed-on: https://review.typo3.org/47495
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[BUGFIX] Repair System Information Panel extendibility 87/47487/2
Patrick Schriner [Sat, 10 Oct 2015 22:35:04 +0000 (00:35 +0200)]
[BUGFIX] Repair System Information Panel extendibility

Contrary to the documentation given for extending the System Information
Panel via SignalSlot only a single item can be added for each slot due to
improper use of the SignalSlot pattern. The return value of both signals is
assumed to be only one item. This patch passes the Controller as an argument
and adds two methods to add items.

The two signals were marked as internal, so this is not considered
a breaking patch.

Resolves: #70567
Releases: master, 7.6
Change-Id: I268296860ac2f0eb2344f84604a096999bdccac0
Reviewed-on: https://review.typo3.org/43973
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
(cherry picked from commit b9d5cf143fbdf373177203d9d4e7b792d43295dc)
Reviewed-on: https://review.typo3.org/47487

2 years ago[BUGFIX] Fix display bug in chrome 50+ 86/47486/2
Markus Sommer [Fri, 1 Apr 2016 09:08:07 +0000 (11:08 +0200)]
[BUGFIX] Fix display bug in chrome 50+

Use transform to keep the hardware rendering after ajax calls

Resolves: #75352
Releases: master, 7.6
Change-Id: Iae1510092cddd40fa6ee7208aa786d76c725911a
Reviewed-on: https://review.typo3.org/47486
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
2 years ago[TASK] EXT:form - Optimize validation in InArrayValidator 84/47484/2
Florian Mast [Sat, 5 Mar 2016 15:21:59 +0000 (16:21 +0100)]
[TASK] EXT:form - Optimize validation in InArrayValidator

The InArrayValidator is currently case sensitive. This
patchset adds a new TypoScript option "ignorecase".

Furthermore, unit tests are added to test the new option
"ignorecase". The patchset also solves an unreported
bug which occurs when using the InArrayValidator in the
form wizard.

Resolves: #69355
Releases: master, 7.6
Change-Id: I9f93b533947bbaef2259c2a53265af452a78924f
Reviewed-on: https://review.typo3.org/47105
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
(cherry picked from commit e8d3853c54fca4198d16f5b1de76a48171740655)
Reviewed-on: https://review.typo3.org/47484

2 years ago[BUGFIX] Indexed Search: Always add L parameter to links 82/47482/3
Tymoteusz Motylewski [Thu, 31 Mar 2016 21:31:58 +0000 (23:31 +0200)]
[BUGFIX] Indexed Search: Always add L parameter to links

Make linkPage method always add language parameter (L) to links
in search results.
This is especially important when you are showing results
from multiple languages on one page.

Resolves: #30852
Releases: master, 7.6
Change-Id: I6ed91335d6e0311a7ff2d98adf5581884d8b9303
Reviewed-on: https://review.typo3.org/47482
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Respect ssl_verify_peer and ssl_verify_host in curl requests 64/47464/2
Daniel Maier [Sun, 13 Mar 2016 18:06:25 +0000 (19:06 +0100)]
[TASK] Respect ssl_verify_peer and ssl_verify_host in curl requests

Make GeneralUtility::getUrl aware of the settings ssl_verify_peer, ssl_verify_host,
ssl_cafile and ssl_capath from DefaultConfiguration.

This ensures that curl requests to https addresses (e.g. TER mirror url) are handled
correctly when tunneled through proxies, considering the specific configuration set
in the install tool.

Resolves: #75038
Releases: master, 7.6
Change-Id: I8f527d5d1b9609bcf3f0853153a2f53367492f24
Reviewed-on: https://review.typo3.org/47464
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Indexed Search: Improve labels in backend module 63/47463/2
Tymoteusz Motylewski [Thu, 31 Mar 2016 07:35:00 +0000 (09:35 +0200)]
[TASK] Indexed Search: Improve labels in backend module

Translate one hardcoded label, improve few others.

Resolves: #75329
Releases: master, 7.6
Change-Id: I027ac51d004fe28e51e1cb6d6ae5296a75da9f36
Reviewed-on: https://review.typo3.org/47463
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[BUGFIX] Preserve parameters for email links in RTE 59/47459/2
Markus Klein [Wed, 30 Mar 2016 23:55:39 +0000 (01:55 +0200)]
[BUGFIX] Preserve parameters for email links in RTE

Resolves: #75326
Releases: master, 7.6
Change-Id: Ia856ef5c2eb90cad5ea925507e52a1ec60a03c95
Reviewed-on: https://review.typo3.org/47459
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] config.locale_all should format floating point values 57/47457/3
Benni Mack [Thu, 31 Mar 2016 11:20:32 +0000 (13:20 +0200)]
[BUGFIX] config.locale_all should format floating point values

The bug with LC_NUMERIC existed in PHP 4.2.3 but is fixed since at least
PHP 5.1.6. The patch uses LC_ALL now.

Change-Id: I08c1600b05ad858d67d2a2e23fd3c0332000527d
Releases: master, 7.6
Resolves: #75141
Reviewed-on: https://review.typo3.org/47457
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Only show inline field if allowed 56/47456/2
Stefan Froemken [Fri, 5 Feb 2016 13:47:31 +0000 (14:47 +0100)]
[BUGFIX] Only show inline field if allowed

If an editor does not have access to fields of a related
record, the rendering should be stopped right then.

Resolves: #73146
Releases: master,7.6
Change-Id: I720c872a8a21d62a6aa48b6d11735f69310b5f6e
Reviewed-on: https://review.typo3.org/47456
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] target to page object must set type parameter 52/47452/2
Jigal van Hemert [Wed, 23 Mar 2016 21:30:57 +0000 (22:30 +0100)]
[BUGFIX] target to page object must set type parameter

Setting typolink.target to the name of a page object must set the
type query parameter to the typeNum of that page object. By initializing
$theTypeP to an empty string the type is not forced to zero.

Resolves: #75245
Releases: master, 7.6
Change-Id: I3aac0e43849f495f00344a07a358c5526bdf339c
Reviewed-on: https://review.typo3.org/47452
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
2 years ago[BUGFIX] PageTree cannot select/expand hidden nodes 43/47443/2
Oliver Hader [Sun, 20 Jul 2014 11:56:35 +0000 (13:56 +0200)]
[BUGFIX] PageTree cannot select/expand hidden nodes

TYPO3.Backend.NavigationContainer.PageTree.select(64) does not
select the correct page, but tries to determine the correct node
levels, fakes the local node states and reloads the page tree.
One thing that might not be considered there is the fact that
pages are represented in hex-values with a leading "p", thus
the integer "64" will be converted to "p40" as node id.

To overcome this scenario and enable custom handling there,
a new generic method is introduced:
TYPO3.Backend.NavigationContainer.PageTree
.invokePageId(pageId, callback, allResults);

The methods "selectPageId" and "expandPageId" show how this
is actually used.

Resolves: #60405
Releases: master, 7.6
Change-Id: If24b1a0ec261e9bcf00d214bf10c4b4a0aa5bed5
Reviewed-on: https://review.typo3.org/47443
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
2 years ago[BUGFIX] Fail with exit code for fatal errors during boot 23/47423/3
Helmut Hummel [Sun, 27 Mar 2016 19:38:37 +0000 (21:38 +0200)]
[BUGFIX] Fail with exit code for fatal errors during boot

Especially for CI environments it is crucial that TYPO3
does not exit cleanly when a fatal error occurs.

Change from die (which exits with return code 0) to exit(1)
and send a http error code as well (in web requests)

Releases: master, 7.6
Resolves: #75280
Change-Id: I473de98366a5ea3629d968e2c1600f241b9e73a1
Reviewed-on: https://review.typo3.org/47423
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
2 years ago[BUGFIX] Stay on edited page after using "Save & Close" 59/47359/3
Martin Vennemann [Tue, 22 Mar 2016 13:54:05 +0000 (14:54 +0100)]
[BUGFIX] Stay on edited page after using "Save & Close"

"Save & Close" after editing a page now uses that edited
page (already highlighted in page tree) for returnUrl.

Resolves: #74180
Releases: master, 7.6
Change-Id: Icf2769263b2d428b86f339778f12b40759d94c13
Reviewed-on: https://review.typo3.org/47359
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
2 years ago[BUGFIX] Re-allow t3d export from ID 0 58/47358/2
Benni Mack [Mon, 21 Mar 2016 19:24:01 +0000 (20:24 +0100)]
[BUGFIX] Re-allow t3d export from ID 0

During the refactoring of the impexp module a check for the
page ID was introduced to show the pagetree and additional
fields only if a page ID was given, which disallows to export
records on ID 0.

Additionally, a minor JavaScript bug which popped up then
is fixed as well.

Resolves: #75183
Releases: master, 7.6
Change-Id: I0adbd933ecc5da938b511d531178ac707cb035c3
Reviewed-on: https://review.typo3.org/47358
Reviewed-by: Bernhard Kraft <kraftb@think-open.at>
Tested-by: Bernhard Kraft <kraftb@think-open.at>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Allow passing null for $methods in getAccessibleMock 34/47434/2
Oliver Klee [Wed, 30 Mar 2016 13:52:55 +0000 (15:52 +0200)]
[BUGFIX] Allow passing null for $methods in getAccessibleMock

The method getMock() in the parent class also allows null for
$methods, meaning "mock no methods".

Releases: master, 7.6
Resolves: #75316
Change-Id: I7e14d4bc4082b41ed52ab967df87876a3755a105
Reviewed-on: https://review.typo3.org/47434
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Treat numbers for comparison in FormEngineValidation as integer 24/47424/3
Andreas Fernandez [Wed, 30 Mar 2016 09:15:44 +0000 (11:15 +0200)]
[BUGFIX] Treat numbers for comparison in FormEngineValidation as integer

This patch fixes the issue that the number-based rules are treated
as strings. The numbers are converted to integers now.

Also, the ``range`` is changed: Instead of defining any fallback
values if either ``lower`` or ``upper`` are not set, the value is now
only compared against those limits when they exist.

Resolves: #75307
Releases: master, 7.6
Change-Id: Iab321a7637e2ccc8c662355ccef1e25bc0b78be7
Reviewed-on: https://review.typo3.org/47424
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[TASK] ResourceStorage->addFile() should not delete orig file if requested 22/47422/2
Christian Kuhn [Thu, 24 Mar 2016 11:32:58 +0000 (12:32 +0100)]
[TASK] ResourceStorage->addFile() should not delete orig file if requested

FALs ResourceStorage->addFile() is the main method to populate a locale
file into a FAL storage. Internally, the method calls the assigned and
protected driver of this storage and calls addFile() on the
driver after checking permissions.
The method *always* deletes the local original file after it has been
added to the storage. This is funny, since addFile() should then call
moveFile(), but moveFile() exists and is only thought to move
files between storages and not from non-storage to storage.
The drivers addFile() however already contains an argument that
suppresses the deletion of the original file, but that argument is
not added to addFile() of the storage ...
The patch now adds this argument to the method signature of
ResourceStorage addFile() to mitigate the issue in a fully
backwards compatible way.
Since the patch is non-destructive and low-risk, the
patch is requested for 7.6, too.

Change-Id: I201c7eac10f7d35db5bdff889b3561ad5b1dce8b
Resolves: #70012
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47422
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[!!!][BUGFIX] Make indexed search plugin PHP7 compatible 16/47416/2
Tymoteusz Motylewski [Mon, 21 Mar 2016 20:51:58 +0000 (21:51 +0100)]
[!!!][BUGFIX] Make indexed search plugin PHP7 compatible

Rename SearchFormController::pi_list_browseresults as it had different
signature than defined in parent AbstractPlugin and there is no
non breaking way to make it PHP7 compatible.

Resolves: #72931
Releases: 7.6, master
Change-Id: I3dc36386a3866b5ca87d48d2869c21b9a37fbfe3
Reviewed-on: https://review.typo3.org/47416
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Show language flags in page module again 12/47412/2
Gianluigi Martino [Sun, 27 Mar 2016 22:29:27 +0000 (00:29 +0200)]
[BUGFIX] Show language flags in page module again

Additionally this patch moves the initialization of TSconfig to an
earlier execution point to have all needed data collected.

Change-Id: I57ab201bae6ffc8acca3ddcc536b3efd09434054
Resolves: #75129
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47412
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
2 years ago[BUGFIX] Use proper quotation in phpdoc of ExtensionManagementUtility::addService() 00/47400/2
Andreas Fernandez [Mon, 28 Mar 2016 16:02:16 +0000 (18:02 +0200)]
[BUGFIX] Use proper quotation in phpdoc of ExtensionManagementUtility::addService()

The patch fixes the quotation in the description of the parameters
``$serviceType`` and ``$serviceKey``.
This ensures a correct rendering by Doxygen.

Resolves: #75283
Releases: master, 7.6, 6.2
Change-Id: Ic7d91c1c108465b50f7637667ff6f3a8b451eb26
Reviewed-on: https://review.typo3.org/47396
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
(cherry picked from commit 2d5e0a4bc6460e02d38957ed2ab7527e223c26f3)
Reviewed-on: https://review.typo3.org/47400

2 years ago[BUGFIX] Fix typo in BooleanNode exception message 98/47398/2
Sascha Egerer [Tue, 29 Mar 2016 09:46:10 +0000 (11:46 +0200)]
[BUGFIX] Fix typo in BooleanNode exception message

Change-Id: I792f5534780675278cbd7d540c96b60568b2647e
Resolves: #75287
Releases: 7.6, 6.2
Reviewed-on: https://review.typo3.org/47398
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Add reference count to delete message 85/47385/2
Gianluigi Martino [Sat, 19 Mar 2016 06:49:56 +0000 (07:49 +0100)]
[BUGFIX] Add reference count to delete message

If you delete a file or folder by using the clickmenu, a confirmation
message without reference count is shown. To streamline the confirmation
message with the one from FileList, the reference count is added with
this patch.

Resolves: #75156
Releases: master, 7.6, 6.2
Change-Id: I84fe8c853199cdb4e0ff422cdb5fc327e4bdc683
Reviewed-on: https://review.typo3.org/47385
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[BUGFIX] FormEngine: Exception on inline/section in flex container 79/47379/2
Christian Kuhn [Wed, 23 Mar 2016 15:18:41 +0000 (16:18 +0100)]
[BUGFIX] FormEngine: Exception on inline/section in flex container

Nesting flex form sections or inline within section containers is
not supported. To not let developers run into hard to track issues
the patch adds an exception to detect these cases.

Additionally, GroupElement contains a preparation that is done by
TcaGroup data provider already, so this part is cleaned up along
the way since this is unreachable code if FormEngine is used without
nested sections.

Change-Id: I2af9140ad0fe1d60d85439bd5598775904b70e52
Resolves: #73125
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47379
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Use `modTSconfig` for default language label, if set 74/47374/2
Andreas Fernandez [Wed, 23 Mar 2016 18:06:28 +0000 (19:06 +0100)]
[BUGFIX] Use `modTSconfig` for default language label, if set

Due to a wrong assignment, modSharedTSconfig is always used
to set the default language label in PageLayoutController, even if
modTSconfig is set.

modTSconfig is now used if possible.

Resolves: #75242
Releases: master, 7.6, 6.2
Change-Id: I517c03f02ffc8d05ed74a865517ee775e1542bfe
Reviewed-on: https://review.typo3.org/47374
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[TASK] Use DocHeader buttons in PermissionController 72/47372/2
Andreas Fernandez [Fri, 11 Mar 2016 08:45:54 +0000 (09:45 +0100)]
[TASK] Use DocHeader buttons in PermissionController

The save / abort buttons in the edit view of the permission controller are
replaced by DocHeader buttons to ensure are more consistent UI.

Change-Id: Ic035f2bd1f5063a8d0b52310b1f011078f7e6c25
Resolves: #68378
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47372
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Break word without spaces in SystemInformation toolbar item 67/47367/2
Wouter Wolters [Tue, 22 Mar 2016 21:38:13 +0000 (22:38 +0100)]
[BUGFIX] Break word without spaces in SystemInformation toolbar item

When dealing with a PHP version like "7.0.4-6+deb.sury.org~trusty+5"
the text overflow the box. Put a word-wrap: break-word; on the dd-tag.

Resolves: #75234
Releases: master,7.6
Change-Id: I0df5f13bfd2d66e8c85eb28f06c248bdca93a182
Reviewed-on: https://review.typo3.org/47367
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[BUGFIX] BackendUtility::dateTimeAge must return correct values 65/47365/2
Georg Ringer [Wed, 23 Mar 2016 05:08:56 +0000 (06:08 +0100)]
[BUGFIX] BackendUtility::dateTimeAge must return correct values

If the 3rd parameter is set to 'date', the age must be returned as
date without any time information.

Resolves: #75235
Releases: master, 7.6
Change-Id: I7ebf76dc635f7dbca42c6486c585eb140832e6c4
Reviewed-on: https://review.typo3.org/47364
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
(cherry picked from commit 5c46ba68ad79034a5daf678b4a41a5882dcbaf60)
Reviewed-on: https://review.typo3.org/47365

2 years ago[BUGFIX] Set correct record information for SaveAndNew 50/47350/2
Nicole Cordes [Mon, 7 Mar 2016 20:02:43 +0000 (21:02 +0100)]
[BUGFIX] Set correct record information for SaveAndNew

This patch ensures the correct record information for saving and
inserting a new record even in a workspace.

Resolves: #70542
Releases: master, 7.6
Change-Id: I3b88b08a55600f8c7bc5e2c2f05444624181db83
Reviewed-on: https://review.typo3.org/47350
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Show button 'add image' after delete inline fails 48/47348/2
Frank Naegler [Mon, 21 Mar 2016 10:29:59 +0000 (11:29 +0100)]
[BUGFIX] Show button 'add image' after delete inline fails

Fix handling of inline records in JavaScript. Prevent wrong count of elements
by adding a trimExplode function intead of usage native split function.

Resolves: #72379
Releases: master, 7.6
Change-Id: Id6cde49eb6179ddc3d5b0ef796a0a6883dfa747e
Reviewed-on: https://review.typo3.org/47348
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Use APCu instead of APC for Caching 44/47344/2
Benni Mack [Thu, 3 Mar 2016 20:11:24 +0000 (21:11 +0100)]
[BUGFIX] Use APCu instead of APC for Caching

PHP 5.5 does not support APC anymore, but instead uses
APCu for everything that is in the userland.

Our code should be adapted to use APCu instead, since
TYPO3 CMS 7 LTS requires PHP 5.5+.

However, there are some edge cases where APCu is available
as APC, so the existing APC code is kept.

Resolves: #63291
Releases: master, 7.6
Change-Id: Ica6bac270b54e5a645d37679e5663479ef36f394
Reviewed-on: https://review.typo3.org/47344
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
2 years ago[BUGFIX] Ensure correct order of @-rules in CSS 36/47336/2
Andreas Fernandez [Mon, 14 Mar 2016 13:39:51 +0000 (14:39 +0100)]
[BUGFIX] Ensure correct order of @-rules in CSS

The ResourceCompressor must ensure the correct order of
@-rules, which is:
1. charset
2. namespace
3. import

If the concatenated CSS contains multiple @charset rules, only
the first one is taken into account.

Change-Id: I8c912874d486eac16505884e68a04b0bba400611
Resolves: #55690
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47336
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Remove competing injects from WidgetRequestHandler 25/47325/2
Alexander Jahn [Wed, 9 Mar 2016 11:12:38 +0000 (12:12 +0100)]
[BUGFIX] Remove competing injects from WidgetRequestHandler

Removing @injects introduced explicit injectFunctions
into WidgetRequestHandler.
These functions were named after the object they inject.
This resulted in two methods injecting different objects into the same
property and in the end the parent class' function reverted the local
implementation.

Change-Id: I345d04f150fe6413ffc67c159c43cdda7e979e7b
Resolves: #74536
Related: #73018
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47325
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
3 years ago[TASK] Stop animation if click again 24/47324/2
Markus Sommer [Fri, 18 Mar 2016 07:54:34 +0000 (08:54 +0100)]
[TASK] Stop animation if click again

Stop the toggle animation an the module headline
first before a new animation is started

Resolves: #75179
Releases: master, 7.6
Change-Id: I1dc683ba7740a0a939d699e6d3c01b154583a00a
Reviewed-on: https://review.typo3.org/47324
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Highlight changes of translation diff in FormEngine again 17/47317/2
Frank Naegler [Mon, 14 Mar 2016 15:33:10 +0000 (16:33 +0100)]
[BUGFIX] Highlight changes of translation diff in FormEngine again

The difference between translation changes of records are now
highlighted again in FormEngine.

Resolves: #73501
Releases: master, 7.6
Change-Id: I88f4a67c5392cf9ddca4410ddb07d57439a26b3a
Reviewed-on: https://review.typo3.org/47317
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
3 years ago[BUGFIX] Enable URLs with spaces in the RTE 16/47316/2
Marco Huber [Thu, 25 Feb 2016 15:04:54 +0000 (16:04 +0100)]
[BUGFIX] Enable URLs with spaces in the RTE

To enable links with spaces and other special chars the service class to
build the correctly escaped <link> tag is used.

Resolves: #73675
Releases: master,7.6
Change-Id: I530cb7569372d2da12d0015e820b458c8299f435
Reviewed-on: https://review.typo3.org/47316
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
3 years ago[BUGFIX] Make preview of translated pages possible 15/47315/2
Heiko Hardt [Mon, 14 Mar 2016 21:45:30 +0000 (22:45 +0100)]
[BUGFIX] Make preview of translated pages possible

This fix solves the problem that hidden page translations not are not
reviewable if logged in and "Show hidden pages" in admin panel is
enabled.

Treat records of "pages_language_overlay" as pages to make use of
the showHiddenPage flag.

Resolves: #75116
Releases: master, 7.6
Change-Id: I083ee3a90230b6c97eb20def93c9e96bfe31c4cb
Reviewed-on: https://review.typo3.org/47315
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Ignore root level restriction on new record 14/47314/2
Benjamin Serfhos [Wed, 16 Mar 2016 14:16:05 +0000 (15:16 +0100)]
[BUGFIX] Ignore root level restriction on new record

When TCA [ctrl][security][ignoreRootLevelRestriction] is enabled, the
root level should be ignored on creation too.

Resolves: #75147
Releases: master,7.6
Change-Id: I55414696838a256d967d410cf523edc031ebe952
Reviewed-on: https://review.typo3.org/47314
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Set page title for record list 11/47311/2
Christian Weiske [Thu, 28 Jan 2016 10:39:13 +0000 (11:39 +0100)]
[BUGFIX] Set page title for record list

Resolves: #72981
Releases: master, 7.6

Change-Id: I75deb2dd8808c0dccfe30b90b2459937b40dbd7c
Reviewed-on: https://review.typo3.org/47311
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Ensure correct sorting when using the localization wizard 99/47299/2
Andreas Fernandez [Tue, 15 Mar 2016 08:08:04 +0000 (09:08 +0100)]
[BUGFIX] Ensure correct sorting when using the localization wizard

Change-Id: I920cab82f1e9304be6c718b33c1a8ce13c745e17
Resolves: #73617
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47264
Reviewed-on: https://review.typo3.org/47299
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Correctly determine previously used language in localization wizard 98/47298/2
Andreas Fernandez [Tue, 15 Mar 2016 10:56:12 +0000 (11:56 +0100)]
[BUGFIX] Correctly determine previously used language in localization wizard

If a column in a certain language has already content, the origin
language of that content is used now for further translation processes.

Change-Id: Ib6e1206adc6ccfd5b1e4816b9eb6562f8fc0e0ef
Resolves: #75126
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47298
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Add missing parameters to getFiles 96/47296/2
Susanne Moog [Wed, 16 Mar 2016 14:07:50 +0000 (15:07 +0100)]
[BUGFIX] Add missing parameters to getFiles

InaccessibleFolder extends Folder and the definition of its methods
should therefor be compatible to each other.

Resolves: #73712
Releases: master, 7.6
Change-Id: I3798841a7349ac7b615238328c26d540cf938d34
Reviewed-on: https://review.typo3.org/47296
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Correct output of "Rollback-Preview" 93/47293/2
Gianluigi Martino [Tue, 15 Mar 2016 21:42:09 +0000 (22:42 +0100)]
[BUGFIX] Correct output of "Rollback-Preview"

Output in "Rollback-Preview" is wrong.
Preview text float over the "Rollback single field" button.

Change-Id: I49c236b15bb62129b5c3a4c5741d0572676e00f1
Resolves: #75137
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47293
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Add reserved area for loading indicator within modules 37/47237/2
Michael Oehlhof [Wed, 9 Dec 2015 23:17:46 +0000 (00:17 +0100)]
[BUGFIX] Add reserved area for loading indicator within modules

The DocHeader has now a reserved area for the nprogress loading
indicator for use within modules. The area has a fixed position to
ensure visibility in every case.

The code of the Recycler and Extension manager have been adjusted
to use that element for the progress bar.

Resolves: #71509
Releases: master, 7.6
Change-Id: I07cacf61a1634357d4da0fe292ea22ba34a6100e
Reviewed-on: https://review.typo3.org/47237
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Don't redirect when you click on "save and view" 36/47236/2
Marco Huber [Fri, 11 Mar 2016 14:24:53 +0000 (15:24 +0100)]
[BUGFIX] Don't redirect when you click on "save and view"

Some more page types which should be opened directly and not
redirect to the rootpage if you click on "Save and view".

Resolves: #75020
Related: #66370
Releases: master, 7.6
Change-Id: I278a917c69565e8fe1e175901df01c4cccf9ef98
Reviewed-on: https://review.typo3.org/47236
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Suggest wizard in FlexForms for new records 35/47235/2
Nicole Cordes [Sat, 12 Mar 2016 11:47:04 +0000 (12:47 +0100)]
[BUGFIX] Suggest wizard in FlexForms for new records

Within new records the suggest wizard doesn't work in FlexForm fields.
Due to unexpected incoming data the field configuration can't be fetched.
This patch ensures sanitized data before fetching FlexForms field
configuration.

Resolves: #73864
Releases: master, 7.6
Change-Id: I7e9a72c2aa6d1efed943845aa2198ce153b75fb8
Reviewed-on: https://review.typo3.org/47235
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
3 years ago[BUGFIX] Fix invalid placeholder in exception message 33/47233/2
Markus Klein [Sun, 13 Mar 2016 16:23:36 +0000 (17:23 +0100)]
[BUGFIX] Fix invalid placeholder in exception message

The message of the ContentRenderingException must use %s
as correct placeholder.

Resolves: #75035
Releases: master, 7.6
Change-Id: Ie78997ead81fc308a4002cffca8dfa0a99b50ac2
Reviewed-on: https://review.typo3.org/47233
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] Store rtehtmlarea_spellchecker in correct route configuration 06/47206/2
Andreas Fernandez [Fri, 11 Mar 2016 17:19:03 +0000 (18:19 +0100)]
[BUGFIX] Store rtehtmlarea_spellchecker in correct route configuration

The RTE route "rtehtmlarea_spellchecker" is an AJAX route, therefore it must
be stored in AjaxRoutes.php.

Change-Id: Ief55ef5e17a72187491d63915e29934e45d5a985
Resolves: #75024
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47206
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Make SingleTasks toggleable from scheduler list view 90/47190/2
Andreas Fernandez [Fri, 19 Feb 2016 11:18:33 +0000 (12:18 +0100)]
[BUGFIX] Make SingleTasks toggleable from scheduler list view

The toggle button for tasks does not work for single tasks. This patch
enables the functionality and registers a single task for execution on
next scheduler run when enabled.

Additionally class constants are introduced for the two available types.

Change-Id: I91c7b24bf141ef6735b3fd38e2859d63634d507e
Resolves: #64708
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47190
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[TASK] Add unit tests for TYPO3SEARCH markers 89/47189/2
Tymoteusz Motylewski [Thu, 10 Mar 2016 13:44:22 +0000 (14:44 +0100)]
[TASK] Add unit tests for TYPO3SEARCH markers

Add two unit tests for Indexer, covering content extraction
from between TYPO3SEARCH_begin and TYPO3SEARCH_end markers.

Add note to documentation that it's possible to have multiple
TYPO3SEARCH marker pairs.

Resolves: #74815
Releases: master, 7.6, 6.2
Change-Id: I37c67dfc055dc30698831eef6d0231d929fef957
Reviewed-on: https://review.typo3.org/47189
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Initialize T3editor properly 88/47188/2
Andreas Fernandez [Mon, 15 Feb 2016 17:35:21 +0000 (18:35 +0100)]
[BUGFIX] Initialize T3editor properly

If a T3editor is instantiated on-the-fly, it is not initialized properly.
Add a callback to the ``Form/Element/T3editorElement`` class and mark
editor instances as initialized to prevent double initialization.

Change-Id: I8c6b692eb2c132180ed0d122b35515276df5acd9
Resolves: #73425
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47188
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Add button styling to clipInsert button 87/47187/2
Andreas Fernandez [Thu, 10 Mar 2016 12:29:33 +0000 (13:29 +0100)]
[BUGFIX] Add button styling to clipInsert button

The button for inserting items from clipboard to a multiselect field has
a proper styling now.

Change-Id: I2360507fb0daedc57e0e1b3a5442af790529039e
Resolves: #74813
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47187
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Check access to cshmanual module 79/47179/2
Marco Huber [Fri, 29 Jan 2016 15:29:57 +0000 (16:29 +0100)]
[BUGFIX] Check access to cshmanual module

Don't render the "more" link in the help popup if the user has no
access to the cshmanual module.

Resolves: #73013
Related: #73009
Releases: master, 7.6
Change-Id: I5b236c08fd505c1f405a3fc0e459c1ac21fbeb84
Reviewed-on: https://review.typo3.org/47179
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Unset default link if set with values from other link handler 78/47178/2
Tim Jungebluth [Wed, 9 Mar 2016 20:21:03 +0000 (21:21 +0100)]
[BUGFIX] Unset default link if set with values from other link handler

Change-Id: I49a19d9ca4e08cea927f5541accfade09320210d
Resolves: #74586
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47178
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] Load XML files of t3editor properly 76/47176/2
Andreas Fernandez [Thu, 10 Mar 2016 13:10:12 +0000 (14:10 +0100)]
[BUGFIX] Load XML files of t3editor properly

Since the XEE security fix (I26701fc2ffb5aed7ccbd96c168aef571d012091e),
the XML files in the t3editor are not loaded anymore. Change the way how
the files are loaded to fix the issue.

Change-Id: I26c622e47ee0f791b998886837f4443f5bddf11b
Resolves: #74508
Releases: master, 7.6, 6.2
Reviewed-on: https://review.typo3.org/47176
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[FOLLOWUP][BUGFIX] Do not scroll on top using actions on multipleSideBySide 56/47156/2
Markus Klein [Tue, 8 Mar 2016 14:50:24 +0000 (15:50 +0100)]
[FOLLOWUP][BUGFIX] Do not scroll on top using actions on multipleSideBySide

Resolves: #72973
Releases: 7.6
Change-Id: Ic75532358600a6e61c9080ffec55e46756989dc6
Reviewed-on: https://review.typo3.org/47156
Reviewed-by: Johannes Kasberger <johannes.kasberger@reelworx.at>
Tested-by: Johannes Kasberger <johannes.kasberger@reelworx.at>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Add urldecode for the forgotHash in FrontendLoginController 54/46454/5
Zsolt Molnar [Wed, 3 Feb 2016 10:48:26 +0000 (12:48 +0200)]
[BUGFIX] Add urldecode for the forgotHash in FrontendLoginController

Resolves: #73060
Releases: master, 7.6
Change-Id: Iffb0db26b591b26ed4c2bf78aa50c8bf1addec2b
Reviewed-on: https://review.typo3.org/46454
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
3 years ago[BUGFIX] Workspace page previews collide with generated preview links 32/47132/2
Oliver Hader [Mon, 14 Dec 2015 21:53:55 +0000 (22:53 +0100)]
[BUGFIX] Workspace page previews collide with generated preview links

Workspace page previews collide with that configuration that might have
been set by using a preview link containing a ADMCMD_prev command. The
keyword "IGNORE" is introduced to actually ignore these configurations
when viewing a page from the workspace module.

Resolves: #72225
Releases: master, 7.6, 6.2
Change-Id: I6a73e860a76308028f0a3b1bcd182e41082adcd6
Reviewed-on: https://review.typo3.org/47132
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
3 years ago[TASK] EXT:form - add unitTests for class TypoScriptToJsonConverter 30/47130/3
Sebastian Wagner [Sat, 5 Mar 2016 21:29:57 +0000 (22:29 +0100)]
[TASK] EXT:form - add unitTests for class TypoScriptToJsonConverter

This patch introduces a first test case for TypoScriptToJsonConverter
of EXT:form. The test case asserts that a protected method internally
triggers adding elements to a given and mocked parent element in the
nested form hierarchy.

Resolves: #74337
Releases: master, 7.6
Change-Id: I191ba8fe41a5829e23303447f86303ae8c6dd081
Reviewed-on: https://review.typo3.org/47130
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
3 years ago[BUGFIX] Fix date conversion of neg timestamps 17/47117/2
Daniel Maier [Sat, 5 Mar 2016 18:57:21 +0000 (19:57 +0100)]
[BUGFIX] Fix date conversion of neg timestamps

Date conversion of TCA fields with eval "date" or "datetime" is now also
handled correctly for dates before 1970, thus having a negative
timestamp. Timezone offset is now also applied for those negative
timestamps, in order to prevent erroneous data for dates before 1970.

Resolves: #73871
Releases: master, 7.6
Change-Id: I4de9911dec3de720992da137fe8afcb3ecbfdad7
Reviewed-on: https://review.typo3.org/47115
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
(cherry picked from commit 7090d9b67735ba10ca3d2e024cb376b991e26366)
Reviewed-on: https://review.typo3.org/47117

3 years ago[BUGFIX] DataHandler: Use the updated field to determine record type 25/47125/2
Hannes Lau [Fri, 22 Jan 2016 17:51:20 +0000 (18:51 +0100)]
[BUGFIX] DataHandler: Use the updated field to determine record type

Use the new, updated field values of the current record, to determine
its type value. This allows to pick the correct RTE configuration
for new records with non-default types.

Fixes: #72898
Releases: master, 7.6
Change-Id: If519a9c9357034977ede40d7b709a7d83a3e92c8
Reviewed-on: https://review.typo3.org/46162
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Reviewed-by: Eugen Lang <laeu1011+gerrit@gmail.com>
Tested-by: Eugen Lang <laeu1011+gerrit@gmail.com>
Tested-by: Jonas Götze <jonnsn@gmail.com>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
(cherry picked from commit 1dab32babef3a841d4281bed6874cc810a3c36bf)
Reviewed-on: https://review.typo3.org/47125

3 years ago[BUGFIX] LocalImageProcessor cannot reuse remote files 27/47127/2
Andreas Wolf [Fri, 26 Feb 2016 09:46:39 +0000 (10:46 +0100)]
[BUGFIX] LocalImageProcessor cannot reuse remote files

The LocalImageProcessor had a check for the storage type, to only do a
check for existing files on local storages, as it needed to fetch an
existing file from the storage to get metadata from it.

This check is now replaced by a proper usage of the FAL API: Fetch the
generated file for local (read-only) processing, which in case of a
local storage means the file is not moved at all. Then, the image
metadata can be extracted from the local file and the file index record
of the processed file can be updated accordingly.

Change-Id: I9fca326fe1d1743cd53a0a85c674ff81e5a051b9
Releases: master, 7.6
Resolves: #67126
Reviewed-on: https://review.typo3.org/47127
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Apply image cropping to click-enlarged images 26/47126/2
Oliver Hader [Sat, 5 Mar 2016 23:26:42 +0000 (00:26 +0100)]
[BUGFIX] Apply image cropping to click-enlarged images

Image cropping is not applied to click-enlarged images, neither if
using the lightbox-mode nor the regular mode using tx_cms_showpic.
Cropping is applied in these scenarios as well with transporting
the accordant crop value of the current image being processed.

Resolves: #72798
Releases: master, 7.6
Change-Id: I3e07fc447ac8a35cbe4fbb43bac9adb9bb7ed506
Reviewed-on: https://review.typo3.org/47126
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
3 years ago[BUGFIX] Set correct max-height for RTE 23/47123/2
Marius David Wieschollek [Sat, 5 Mar 2016 21:18:12 +0000 (22:18 +0100)]
[BUGFIX] Set correct max-height for RTE

Also fixes the spelling mistake in the label of the related Backend User Settings Option

Resolves: #74336
Releases: master, 7.6
Change-Id: I21d00fd2de901eb03111581626c7efc4dec23647
Reviewed-on: https://review.typo3.org/47123
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] Absolute URIs get prefixed with absRefPrefix in typolink 18/47118/2
Oliver Hader [Wed, 20 Jan 2016 18:18:24 +0000 (19:18 +0100)]
[BUGFIX] Absolute URIs get prefixed with absRefPrefix in typolink

An absolute URI (e.g. "/folder/someFile.png") gets prefixed with
absRefPrefix (e.g. "/") which results in "//folder/someFile.png",
which is a schema-less URI notation and thus "folder" is
interpreted as hostname.

Resolves: #72846
Releases: master, 7.6
Change-Id: Ic49c0a24a17f754c6c89186e6041b9857eb967b1
Reviewed-on: https://review.typo3.org/47118
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[TASK] Copy is missing in pagetree context menu without edit permissions 19/47119/2
Gianluigi Martino [Thu, 25 Feb 2016 13:47:38 +0000 (14:47 +0100)]
[TASK] Copy is missing in pagetree context menu without edit permissions

Show copy option in pagetree context menu also without edit permission

Change-Id: Icefaa7ef775fa5eb23652e00fe7643ae863c0e19
Resolves: #73470
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47119
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
3 years ago[BUGFIX] Fix slide function of cObject 16/47116/2
Jo Hasenau [Fri, 4 Mar 2016 21:06:28 +0000 (22:06 +0100)]
[BUGFIX] Fix slide function of cObject

Move variable value association to correct position.

Resolves: #69941
Releases: master, 7.6
Change-Id: I8bca6203f4e994a86b11f5d3be54b83e7dfdd73c
Reviewed-on: https://review.typo3.org/47116
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Check if selected page is available before loading BE module 14/47114/2
Michael Oehlhof [Mon, 23 Nov 2015 23:14:07 +0000 (00:14 +0100)]
[BUGFIX] Check if selected page is available before loading BE module

If a formerly selected page (in page tree) is not available anymore
(e.g. deleted), any access to a backend module will now check
this condition and will avoid an error.
An empty module will be displayed in such a case.

Resolves: #66449
Releases: master, 7.6
Change-Id: I4caf6abf715af2009705caf126f2614ae5cde9ed
Reviewed-on: https://review.typo3.org/47114
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] Ensure t3d compatibility for supported TYPO3 version 90/47090/2
Nicole Cordes [Fri, 4 Mar 2016 09:33:48 +0000 (10:33 +0100)]
[BUGFIX] Ensure t3d compatibility for supported TYPO3 version

This patch fixes an issue with unclean t3d export due to string to array
conversion. This is important to be able to import a t3d files which was
exported with 7.6 and above even in 6.2. This is needed as we do not
have any chance to see which TYPO3 version was used for the export.

Resolves: #74127
Releases: master, 7.6, 6.2
Change-Id: I6ba7b825241c2ca439c485aaf597b019b7ac8997
Reviewed-on: https://review.typo3.org/47090
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[BUGFIX] Show the copy option in the page browser contextual menu 81/46481/4
Anja Leichsenring [Sat, 5 Mar 2016 17:34:35 +0000 (18:34 +0100)]
[BUGFIX] Show the copy option in the page browser contextual menu

Resolves: #33147
Releases: master, 7.6
Change-Id: I98c696eb58c759f6c50dbaf111556b86cffe0e93
Reviewed-on: https://review.typo3.org/46481
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] Reinsert ommitted vars for ternary operators 09/47109/2
Jo Hasenau [Sat, 5 Mar 2016 16:55:38 +0000 (17:55 +0100)]
[BUGFIX] Reinsert ommitted vars for ternary operators

When the check is done with multiple variables omitting the first part
of a ternary operator just inserts the boolean result of the check
but not the variable

Change-Id: If683770435995cac079fb2fd42344ba1cc15a08f
Resolves: #70242
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47109
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Denied file extensions still shown in upload forms 04/47104/2
Marco Huber [Tue, 19 Jan 2016 09:54:54 +0000 (10:54 +0100)]
[BUGFIX] Denied file extensions still shown in upload forms

The list of denied file extensions does not contain a dot, but our
fileDenyPattern by default starts with a dot. Therefore, although a
check is performed, the file extensions will still be displayed even
though uploading files with the extension is forbidden by
fileDenyPattern.

This commit adds the dot before the extension when performing the
check, effectively hiding forbidden extensions.

Resolves: #72803
Releases: master, 7.6
Change-Id: I2ec3d02e096b46309932604a53ea4c416ba9812a
Reviewed-on: https://review.typo3.org/46072
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
(cherry picked from commit 08011314eb18c111804d1d7fd74a47174ecc7a9d)
Reviewed-on: https://review.typo3.org/47104

3 years ago[BUGFIX] Allow images for HtmlArea in demo mode 98/47098/2
Benni Mack [Sat, 5 Mar 2016 10:27:39 +0000 (11:27 +0100)]
[BUGFIX] Allow images for HtmlArea in demo mode

PageTSconfig was only included in Typical and Advanced
mode resulting in an exception when adding images in
the RTE with Demo mode enabled (via Extension Manager).

Resolves: #74314
Releases: master, 7.6
Change-Id: Ieaffc7faa5cca1f910d1b00fd87e4ae4585889d6
Reviewed-on: https://review.typo3.org/47098
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Only show preview of non-hidden images 87/47087/2
Gianluigi Martino [Tue, 16 Feb 2016 22:19:08 +0000 (23:19 +0100)]
[BUGFIX] Only show preview of non-hidden images

Don't show preview of hidden images in backend e.g.
page module.

Change-Id: I11fbfdbdf9767066dbb3380b543d79c239e6c4a2
Resolves: #73481
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47087
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Incompatible declaration of PreviewController::initializeView 86/47086/2
Andreas Fernandez [Wed, 2 Mar 2016 09:37:12 +0000 (10:37 +0100)]
[BUGFIX] Incompatible declaration of PreviewController::initializeView

The declaration of PreviewController::initializeView is changed to be
functional with PHP 7.

Change-Id: I4b59600aa3d98dec6440551f4228c9aad6fd6714
Resolves: #73866
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47086
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] EXT:form - Optimize preview in page module 85/47085/2
Björn Jacob [Fri, 4 Mar 2016 20:01:20 +0000 (21:01 +0100)]
[TASK] EXT:form - Optimize preview in page module

This patchset optimizes the preview of a form
elements in the page module. The output of the bodytext
field has been removed. Instead, the ctype is shown.
This avoids the useless display of TypoScript in the
preview.

Resolves: #28403
Releases: master, 7.6
Change-Id: I09a18e6b8a782a50a2ea7570b41fe2abc10df835
Reviewed-on: https://review.typo3.org/47085
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Avoid memory leak during file searches 78/47078/2
Alexander Schnitzler [Sat, 30 Jan 2016 13:10:11 +0000 (14:10 +0100)]
[BUGFIX] Avoid memory leak during file searches

During the file search in the file module the search result
is only limited to possibly matching folders. That itself
decreases the search over all files in a storage but it
still does not prevent memory leaks, where the result
of possible folders contain a decent amount of files.

Example:
fileadmin has a total of 10.000 files.
fileadmin has a subfolder called foo
fileadmin/foo holds a subset of 1000 files.
fileadmin/foo holds the file bar

A search for bar asks the database for all folders that contain
files with the matching identifier bar. As a result, only the
folder fileadmin/foo is returned which already excludes 9000
possible files.

Still, the resultset contains 1000 files, whoose name is
compared php-wise with the search string. During that
foreach loop each a file object with a decent memory
footprint will be created. This easily exceeds the
available memory limit.

Resolves: #73032
Releases: master, 7.6
Change-Id: Icf46e05274c671db344797d207afefc029c5fb5b
Reviewed-on: https://review.typo3.org/47078
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] EXT:form Validation of email 75/47075/2
Florian Mast [Fri, 4 Mar 2016 14:53:07 +0000 (15:53 +0100)]
[BUGFIX] EXT:form Validation of email

Validation of email should respect empty value

Resolves: #54534
Releases: master,7.6
Change-Id: I40c865b42fe7960dd7ab85f710df1045cd04adf0
Reviewed-on: https://review.typo3.org/47075
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
3 years ago[TASK] Use new confirmation dialog for ClickMenu 72/47072/2
Frank Naegler [Fri, 4 Mar 2016 14:29:30 +0000 (15:29 +0100)]
[TASK] Use new confirmation dialog for ClickMenu

Resolves: #72617
Releases: master, 7.6
Change-Id: I0cf662d55303504d094426dbb82943d437035044
Reviewed-on: https://review.typo3.org/47072
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Adjust UserAgent checks in RTE to detect Edge correctly 71/47071/2
Benjamin Kott [Fri, 4 Mar 2016 10:27:02 +0000 (11:27 +0100)]
[BUGFIX] Adjust UserAgent checks in RTE to detect Edge correctly

Resolves: #70373
Releases: master, 7.6, 6.2
Change-Id: I8cb505a051ecfbc0f423d32cbc121545cec35bf4
Reviewed-on: https://review.typo3.org/47071
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] Keep selected page active after save & close 70/47070/2
Gianluigi Martino [Thu, 3 Mar 2016 21:32:01 +0000 (22:32 +0100)]
[BUGFIX] Keep selected page active after save & close

Keep the currently selected page active when editing the page properties
of another page as non-admin user.

Change-Id: Iad438ad7e20ab8d818286053557ade26542d8216
Reviewed-on: https://review.typo3.org/47070
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
3 years ago[BUGFIX] Solves PHP warning in FileAllowedTypesValidator 57/46457/4
Florian Mast [Fri, 4 Mar 2016 11:44:02 +0000 (12:44 +0100)]
[BUGFIX] Solves PHP warning in FileAllowedTypesValidator

Resolves: #72890
Resolves: #73618
Releases: master, 7.6
Change-Id: Ida8a9ace681b93d1d66b0e06c893a83e549f8411
Reviewed-on: https://review.typo3.org/46457
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>