Packages/TYPO3.CMS.git
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>
3 years ago[TASK] Remove fileinfo as dependency in SystemEnvironment/Check 69/47069/2
Timo Schmidt [Fri, 4 Mar 2016 15:08:22 +0000 (16:08 +0100)]
[TASK] Remove fileinfo as dependency in SystemEnvironment/Check

Currenty 'fileinfo' is listed as required php extension in
SystemEnvironment/Check but it is currently not really required
and prevents from installing TYPO3 on Systems where it is not
present (e.g. Mircosoft Azure Cloud)

The class is currently only used once in the core in
"TYPO3\CMS\Core\Type\File\FileInfo" and only when it exists,
so it is not really a hard dependency.

Also grepping on an installation folder does not find any match
where \finfo is really required.

Resolves: #74177
Releases: master, 7.6
Change-Id: I125cd3e8d0eb6f208641375ea71b89917284f8b3
Reviewed-on: https://review.typo3.org/47069
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[TASK] Replace confirm in FileList->linkClipboardHeaderIcon 67/47067/2
Frank Naegler [Fri, 4 Mar 2016 14:41:51 +0000 (15:41 +0100)]
[TASK] Replace confirm in FileList->linkClipboardHeaderIcon

Resolves: #74178
Releases: master, 7.6
Change-Id: Iaa077ae648375e94abce90923d876128b19a3db7
Reviewed-on: https://review.typo3.org/47067
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] EXT:form - Fix CHECKBOXGROUP and RADIOGROUP in form wizard 66/47066/2
Andreas Häfner [Tue, 22 Dec 2015 16:23:05 +0000 (17:23 +0100)]
[BUGFIX] EXT:form - Fix CHECKBOXGROUP and RADIOGROUP in form wizard

Fixes a JS error, which appeared when adding a CHECKBOXGROUP or
RADIOGROUP within the form wizard.

Furthermore it applies "text" instead of "data" which was already
changed for TEXTAREA and OPTION elements (as discussed in #69369).

Resolves: #72316
Releases: master, 7.6
Change-Id: I758ad36530ea29ca5469e510367fdedde34c5bd6
Reviewed-on: https://review.typo3.org/47066
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Declare ``items`` for each RTE instance 65/47065/2
Florian Busch [Tue, 1 Mar 2016 13:04:59 +0000 (14:04 +0100)]
[BUGFIX] Declare ``items`` for each RTE instance

The variable ``items`` was declared in a prototype instance and thus
shared between all RTE instances. Declare the variable in its own
instance instead.

Change-Id: Ia6f8b5dffb19121ed8995afcc2124b0084be5f7a
Resolves: #68392
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47065
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Avoid error message on unlimited upload_max_filesize 61/47061/2
Andreas Bouche [Thu, 3 Mar 2016 21:33:36 +0000 (22:33 +0100)]
[BUGFIX] Avoid error message on unlimited upload_max_filesize

Resolves: #73214
Releases: master, 7.6
Change-Id: I9496964ffd9daeb2c330f022c876f6aceacced1c
Reviewed-on: https://review.typo3.org/47061
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Add json as composer dependency 57/47057/2
Tymoteusz Motylewski [Fri, 4 Mar 2016 14:49:14 +0000 (15:49 +0100)]
[TASK] Add json as composer dependency

PHP extension json is now listed as dependency
 in composer.json. Extension mysqli is added to
 "suggest" section.

Resolves: #74005
Releases: master, 7.6
Change-Id: Iae0f388a4b10a24e98c392f878381d753971acdb
Reviewed-on: https://review.typo3.org/47057
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[FOLLOWUP][TASK] EXT:form - Update and optimize documentation 53/47053/3
Björn Jacob [Fri, 4 Mar 2016 14:28:40 +0000 (15:28 +0100)]
[FOLLOWUP][TASK] EXT:form - Update and optimize documentation

This patchset changes some meta settings regarding the
documented version.

Resolves: #69346
Releases: 7.6
Change-Id: I4d4ab146277f83fca321967fd93df861c7d7ef32
Reviewed-on: https://review.typo3.org/47053
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[TASK] Add backend routes to configuration module 55/47055/2
Frank Naegler [Fri, 4 Mar 2016 12:57:04 +0000 (13:57 +0100)]
[TASK] Add backend routes to configuration module

This patch add the backend routes to the configuration module, to show all
current active backend routes.

Resolves: #74164
Releases: master, 7.6
Change-Id: I5c191d1d8dc8b002ea1a66a33b6628f7eec9994c
Reviewed-on: https://review.typo3.org/47055
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] Allow overriding of Backend Routes 49/47049/2
Benni Mack [Thu, 3 Mar 2016 11:47:11 +0000 (12:47 +0100)]
[BUGFIX] Allow overriding of Backend Routes

Adding backend routes from Configuration/Backend/Routes.php is
done via "+=" operator which does not allow to override routes with
the same name. This is however a wanted behaviour - allowing extensions
to override core routes.

The patch changes the "+=" operator to a simple array_merge() call
to allow to change existing routes.

Resolves: #74004
Releases: master, 7.6
Change-Id: I7caf1ab5a91f849b4789ea352c20af6239470f2f
Reviewed-on: https://review.typo3.org/47049
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[TASK] Remove usage of Clipboard->confirmMsg() 47/47047/2
Frank Naegler [Mon, 29 Feb 2016 12:06:38 +0000 (13:06 +0100)]
[TASK] Remove usage of Clipboard->confirmMsg()

Resolves: #73743
Releases: master, 7.6
Change-Id: I212cb9eedbe82cb4e346823ba041a63e601ad670
Reviewed-on: https://review.typo3.org/47047
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Change APC cache preset condition 43/47043/2
Thorsten Bringewatt [Tue, 24 Nov 2015 13:13:18 +0000 (14:13 +0100)]
[TASK] Change APC cache preset condition

This commit removes the check for minimum total apc cache size.
It should be enough to check for at least 5 MB free memory.

Change-Id: Ia8f6d2aaf9030c303534f7c27f2c73479aa4632a
Resolves: #71802
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47043
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Check whether contentElementCache for language and colPos is valid 38/47038/2
Andreas Fernandez [Fri, 26 Feb 2016 20:13:17 +0000 (21:13 +0100)]
[BUGFIX] Check whether contentElementCache for language and colPos is valid

It may happen that ``$this->contentElementCache[$lP][$colPos]`` is either not
an array nor null. Wrap the foreach loop with an if condition to catch possible
errors.

Change-Id: I6394ff0eef28a490a54f54d172c601fa9768eb20
Resolves: #73670
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47038
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] EXT:form - Update and optimize documentation 36/47036/2
Björn Jacob [Sat, 23 Jan 2016 16:16:07 +0000 (17:16 +0100)]
[TASK] EXT:form - Update and optimize documentation

The documentation of EXT:form is outdated. The whole documentation has
been proof read and revised. Furthermore, the document has experienced
a huge structural change. The long pages have been split into smaller
parts.

A lot of content was duplicated. Following the DRY principle, the
descriptions of functions/ attributes etc. are now documented at a
central place and references are used.

Resolves: #69346
Releases: master,7.6,6.2
Change-Id: I45ddcf2f93c94f2982ac5fdecd5a942fad2eef21
Reviewed-on: https://review.typo3.org/47036
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
3 years ago[BUGFIX] Fix 'Transfer selection to clipboard' button 35/47035/2
Jan Helke [Thu, 3 Mar 2016 23:23:11 +0000 (00:23 +0100)]
[BUGFIX] Fix 'Transfer selection to clipboard' button

This patch reintroduces the onclick event if the function call has no
warning. This fixes the error with the not working 'Transfer selection
to clipboard' button in the list view, if the user enables every clipboard
but the normal.

Resolves: #74122
Releases: master, 7.6
Change-Id: Iaf133951fa6278778bb468eca601185844f19130
Reviewed-on: https://review.typo3.org/47035
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Inline record in Flexform can attach new record 34/47034/2
Nicole Cordes [Fri, 29 Jan 2016 10:36:17 +0000 (11:36 +0100)]
[BUGFIX] Inline record in Flexform can attach new record

If you click the "create new element" button on an inline record within
a FlexForm field, the passed data information contains the id after
which the new element should be inserted. Currently this id isn't
respected while receiving the configuration from the given data. This
patch adds code to respect a possible given id and allows to fetch
configuration for that element as well.

Resolves: #73004
Releases: master, 7.6
Change-Id: I70263d3ff4a8641b1a8280574521e0671c34a333
Reviewed-on: https://review.typo3.org/47034
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[TASK] Add info about Apache version when using mod_filter 20/47020/2
Eric Chavaillaz [Fri, 22 Jan 2016 10:55:23 +0000 (11:55 +0100)]
[TASK] Add info about Apache version when using mod_filter

Since mod_filter is available since Apache 2.3.7 we need to check for
the apache version in the htaccess file.
Older versions of apache will work as well, even though they do not need
to check for the existence of mod_filter.

A comment is added to inform older Apache versions.

Resolves: #72886
Releases: master, 7.6, 6.2
Change-Id: Ia4905c992b52b2bd540ece0a1c1866aeacf6de85
Reviewed-on: https://review.typo3.org/47020
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Do not scroll on top using actions on multipleSideBySide 14/47014/2
Andreas Fernandez [Mon, 29 Feb 2016 08:07:40 +0000 (09:07 +0100)]
[BUGFIX] Do not scroll on top using actions on multipleSideBySide

This patch prevents scrolling to top when using the actions buttons
in multipleSideBySide elements.

Change-Id: I0841b3f75afca8596725fc6c9e4621eaeeafc641
Resolves: #72973
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47014
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Drag&Drop sorting respects AuthMode 95/46995/2
ajahn [Thu, 18 Feb 2016 11:10:29 +0000 (12:10 +0100)]
[BUGFIX] Drag&Drop sorting respects AuthMode

If an editor is not allowed to edit content elements with a specific
CType (e.g. HTML), drag&drop sorting was still active. Sorting seemed to
work without an error but was blocked in DataHandler due to missing
permissions.
This fix introduces the missing check to deactivate sorting in this case.

Change-Id: Ib40b1e2a2fbbd4694fbb69ed7cda4a2180e15f14
Resolves: #73539
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46995
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Disable 'SwitchUser' link if user is already in su mode 83/46983/2
Markus Hoelzle [Tue, 1 Mar 2016 11:29:35 +0000 (12:29 +0100)]
[BUGFIX] Disable 'SwitchUser' link if user is already in su mode

If you switch the user although you are in the su mode,
and you switch back you are the user from the su mode.

Resolves: #73797
Releases: master, 7.6
Change-Id: Idc10d6afbead80f79f4b51f49a4c52eab7c23456
Reviewed-on: https://review.typo3.org/46983
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Allow OnlineMedia Renderers to override via Fluid 76/46976/2
Benni Mack [Tue, 16 Feb 2016 13:35:44 +0000 (14:35 +0100)]
[BUGFIX] Allow OnlineMedia Renderers to override via Fluid

When using the Online Media (Youtube / Vimeo) then the autoplay
option is always taken from the FileReference, overriding
the option that might be set via Fluid.

A check if the option hasn't been set yet makes the overriding
order clearer.

Resolves: #73484
Releases: master, 7.6
Change-Id: I3fb57c88383445062f5beabd8d8287ff772974d3
Reviewed-on: https://review.typo3.org/46976
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Replace confirm on delete icon in list module table 69/46969/2
Frank Naegler [Mon, 29 Feb 2016 10:31:38 +0000 (11:31 +0100)]
[TASK] Replace confirm on delete icon in list module table

This patch replaces the old JavaScript confirm dialog on the delete button
in list module tables.

Resolves: #73737
Releases: master, 7.6
Change-Id: Ie4a0c25111a04217069793653b9eac16fce2a778
Reviewed-on: https://review.typo3.org/46969
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Improve accessibiity-check of index page in HMENU 'browse' 24/46924/2
Markus Hoelzle [Tue, 16 Feb 2016 14:13:30 +0000 (15:13 +0100)]
[BUGFIX] Improve accessibiity-check of index page in  HMENU 'browse'

The special HMENU 'browse' should check whether the page is
really accessible to avoid sql errors.

Resolves: #73493
Releases: master, 7.6
Change-Id: I5b2d49a094b6495a72d9ce055f6f98c799a9419c
Reviewed-on: https://review.typo3.org/46924
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[FOLLOWUP][BUGFIX] Switch-User feature uses wrong user id for logging 20/46920/2
Christian Kuhn [Fri, 26 Feb 2016 16:20:47 +0000 (17:20 +0100)]
[FOLLOWUP][BUGFIX] Switch-User feature uses wrong user id for logging

For master, the username partial is inlined to the main template to
suppress a whitespace issue with fluid.
For 7.6, the inlining went wrong and a variable change is applied.

Change-Id: Ibe3626b581d0203307be1347e6708bc15cb3db9d
Resolves: 71580
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46920
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Remove deprecated call in InlineRecordContainer 17/46917/2
Frank Naegler [Fri, 26 Feb 2016 15:55:49 +0000 (16:55 +0100)]
[BUGFIX] Remove deprecated call in InlineRecordContainer

This patch removes the usage of the deprecated FlashMessage->render
method and add a custom markup instead.

Resolves: #73703
Releases: master, 7.6
Change-Id: I1c84aa0c353a26fdc62d7d16fca5cdfc22326156
Reviewed-on: https://review.typo3.org/46917
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Sys actions: Removed call to deprecated method render() 15/46915/2
Michael Oehlhof [Sun, 21 Feb 2016 17:28:40 +0000 (18:28 +0100)]
[BUGFIX] Sys actions: Removed call to deprecated method render()

Call of FlashMessage->render() was replaced with appropriate code if

getTask
* the action is not found
* the action had no type defined

viewNewBackendUser
* the action configuration is not finished
* the user has been created

viewSqlQuery
* query is empty (not built)
* query is not configured
* required sysext lowlevel is not installed

viewRecordList
* the action configuration is not finished
* not enough rights to access the list view or the page

Resolves: #73587
Releases: master, 7.6
Change-Id: I9140d337cc52d1be7974771d3929f727266a9cc6
Reviewed-on: https://review.typo3.org/46915
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Removed call to render() after getFlashMessageForMissingFile 14/46914/2
Michael Oehlhof [Sun, 3 Jan 2016 01:30:51 +0000 (02:30 +0100)]
[BUGFIX] Removed call to render() after getFlashMessageForMissingFile

Replace calls to deprecated method render() and to the function
getFlashMessageForMissingFile() with appropriate html code.

Resolves: #72508
Releases: master, 7.6
Change-Id: I90846f8349726e88dfa6aa77ab595fe28280e81b
Reviewed-on: https://review.typo3.org/46914
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Switch-User feature uses wrong user id for logging 89/45489/4
Oliver Hader [Tue, 29 Dec 2015 14:07:12 +0000 (15:07 +0100)]
[BUGFIX] Switch-User feature uses wrong user id for logging

Issue #17643 introduced logging for a simulated backend user
(switch-user) and thus logs by using the original admin user.

This is a regression in PageLayoutController::renderQuickEdit
since the used backend user id is different to the persisted
one. Besides that, all actions are performed with the permissions
of the simulated user - thus, logging with a different user seems
to wrong. The sys_log.log_data field (array) is used to transport
the information of the original (admin) user.

This change reverts the initial change of issue #17643 and adds
the initial intention of that issue as addition to the persisted
data in sys_log.log_data. All affected components are adjusted as
well to visualize that a user has been simulated (log view, record
history and lowlevel_cleaner syslog command).

Resolves: #71580
Releases: master, 7.6
Change-Id: If12df60563afd1f0746d43e62f824b20f139df8c
Reviewed-on: https://review.typo3.org/45489
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Scheduler: Removed call to deprecated method render() 09/46909/2
Michael Oehlhof [Thu, 25 Feb 2016 22:01:45 +0000 (23:01 +0100)]
[BUGFIX] Scheduler: Removed call to deprecated method render()

Call of FlashMessage->render() when configuring a task with the class
"File Abstraction Layer: Extract metadata in storage" for the
"Registered extractors" was replaced with appropriate code.

Resolves: #73685
Releases: master, 7.6
Change-Id: I1265ad845c2e951c9a5a242f74fa336a26645a88
Reviewed-on: https://review.typo3.org/46909
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Module recordlist: Removed call to deprecated method render() 08/46908/2
Michael Oehlhof [Wed, 24 Feb 2016 23:15:30 +0000 (00:15 +0100)]
[BUGFIX] Module recordlist: Removed call to deprecated method render()

Call of FlashMessage->render() was replaced with appropriate code if
a temporary mount point is set in DatabaseBrowser and PageLinkHandler.

Resolves: #73661
Releases: master, 7.6
Change-Id: If11b9b1a6447807ff9e567b2288c198fa0eea961
Reviewed-on: https://review.typo3.org/46908
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Use button instead of question mark for CSH in QuickEdit 07/46907/2
Daniel Goerz [Tue, 23 Feb 2016 08:44:38 +0000 (09:44 +0100)]
[TASK] Use button instead of question mark for CSH in QuickEdit

Change-Id: Ieba334b767e25c586b78dfcbe48ee1e56742596c
Resolves: #73615
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46907
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Field pageIdSelector in RTE link popup is visible when enabled 03/46903/2
Franz Kugelmann [Wed, 3 Feb 2016 13:53:55 +0000 (14:53 +0100)]
[BUGFIX] Field pageIdSelector in RTE link popup is visible when enabled

When pageIdSelector is configured to be enabled,
a new key is added to $fieldDefinitions.
But it has no effect as long as this key is not set additionally in
$this->linkAttributes.
This patch adds this missing piece.

Resolves: #73090
Releases: master, 7.6
Change-Id: I86f83bc3292144e06c7fcc179469c715c80dcb16
Reviewed-on: https://review.typo3.org/46903
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Set selected CSS class on image in RTE 92/46892/2
Markus Klein [Wed, 24 Feb 2016 20:09:55 +0000 (21:09 +0100)]
[BUGFIX] Set selected CSS class on image in RTE

Fix a copy&paste error in the javascript to set the selected class
on the image.

Resolves: #73657
Releases: master, 7.6
Change-Id: I8b7e3580185221f98d16c8fd48fe9f9fc21cfd52
Reviewed-on: https://review.typo3.org/46892
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Stage buttons shown in frontend without user being repsonsible 91/46891/2
Oliver Hader [Thu, 11 Feb 2016 15:12:35 +0000 (16:12 +0100)]
[BUGFIX] Stage buttons shown in frontend without user being repsonsible

The workspace preview in the frontend shows the buttons to the previous
and next stage if the user is not responsible for the current stage.
Clicking the button does not forward the records to the names stage
however - this is caught by DataHandlerHook in EXT:version.

Resolves: #73243
Releases: master, 7.6, 6.2
Change-Id: I233629cb393d5786048ab7ead39cd3316780b488
Reviewed-on: https://review.typo3.org/46891
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
3 years ago[BUGFIX] PageLinkHandler: Fix wrong function casing of sL() call 86/46886/2
Markus Klein [Thu, 25 Feb 2016 06:35:58 +0000 (07:35 +0100)]
[BUGFIX] PageLinkHandler: Fix wrong function casing of sL() call

Resolves: #73662
Releases: master, 7.6
Change-Id: I46561ecfa2186c1b065acbffe154f375b823e839
Reviewed-on: https://review.typo3.org/46886
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] Remove css_styled_content as part of the factory default 79/46879/2
Wouter Wolters [Tue, 23 Feb 2016 18:42:09 +0000 (19:42 +0100)]
[BUGFIX] Remove css_styled_content as part of the factory default

Resolves: #73558
Releases: master, 7.6
Change-Id: Iaf7bdf486a0b0229233181cca8b4c7ef68bf9bbc
Reviewed-on: https://review.typo3.org/46879
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Check if user have permission to cut records 76/46876/2
Gianluigi Martino [Fri, 19 Feb 2016 12:01:51 +0000 (13:01 +0100)]
[TASK] Check if user have permission to cut records

Only show cut icons when the user has write-permissions on the
specific record.

Change-Id: I0d5a1153faf448f9c1c6c0948f2cdf8f78cab8f6
Resolves: #73564, #73472
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46876
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Use proper URL for file list of returnUrl in file_upload 72/46872/2
Benni Mack [Tue, 16 Feb 2016 19:58:36 +0000 (20:58 +0100)]
[BUGFIX] Use proper URL for file list of returnUrl in file_upload

When the file upload controller is called (which is almost
impossible to call these days) and no return URL is given
(which is again almost impossible), then the URL is invalid.

The patch uses the proper getModuleUrl() call which is
sufficient.

Resolves: #73506
Releases: master, 7.6
Change-Id: I49830e84cb10c14ccb84ea932927898899e58e70
Reviewed-on: https://review.typo3.org/46872
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] PageLayoutView: Removed call to deprecated method render() 75/46875/2
Michael Oehlhof [Tue, 23 Feb 2016 23:28:33 +0000 (00:28 +0100)]
[BUGFIX] PageLayoutView: Removed call to deprecated method render()

Call of FlashMessage->render() was replaced with appropriate code if
*CType 'list' list_type has invalid value
*CType not defined

Resolves: #73638
Releases: master, 7.6
Change-Id: Ic6342e8eae8bace4d855d6471dd2ccefd339efc1
Reviewed-on: https://review.typo3.org/46875
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Clipboard: Use new modal confirmation dialog for "Delete Elements" 65/46865/2
Michael Oehlhof [Sat, 16 Jan 2016 11:08:09 +0000 (12:08 +0100)]
[TASK] Clipboard: Use new modal confirmation dialog for "Delete Elements"

Clipboard: Use new modal confirmation dialog for the menu item
"Delete Elements"

Resolves: #72350
Releases: master, 7.6
Change-Id: Icb4a9c428802af4bc09152010b264c1c02b2eb74
Reviewed-on: https://review.typo3.org/46865
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Scheduler: Removed call to deprecated method render() 64/46864/2
Michael Oehlhof [Sun, 14 Feb 2016 19:40:03 +0000 (20:40 +0100)]
[BUGFIX] Scheduler: Removed call to deprecated method render()

Call of FlashMessage->render() if the task object is not valid
was replaced with appropriate code.

Resolves: #73427
Releases: master, 7.6
Change-Id: I2f21e46814d369519756f35b27ee7b546a6b6938
Reviewed-on: https://review.typo3.org/46864
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Translate permission labels in DragUploader 62/46862/2
Wouter Wolters [Tue, 23 Feb 2016 19:40:19 +0000 (20:40 +0100)]
[BUGFIX] Translate permission labels in DragUploader

Resolves: #73464
Releases: master,7.6
Change-Id: Ibe2579552703c30eda2e22c8ef6caf738da18265
Reviewed-on: https://review.typo3.org/46862
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[TASK] Fix old classnames in extensionmanager 60/46860/2
Stephan Großberndt [Tue, 23 Feb 2016 20:11:40 +0000 (21:11 +0100)]
[TASK] Fix old classnames in extensionmanager

Fix documentation in extensionmanager pointing to outdated classnames.

Releases: master, 7.6
Resolves: #73636
Change-Id: Idfd277cde8674dc7a6fae7eb7786150a941ad0ba
Reviewed-on: https://review.typo3.org/46860
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[BUGFIX] Set correct variable type in Extension model 59/46859/2
Wouter Wolters [Tue, 23 Feb 2016 18:20:25 +0000 (19:20 +0100)]
[BUGFIX] Set correct variable type in Extension model

In the Extension model from the extension manager the variable type of
$dependencies is wrong. This should be
\TYPO3\CMS\Extensionmanager\Domain\Model\Dependency
instead of Tx_Extensionmanager_Utility_Dependency.

Resolves: #73624
Releases: master, 7.6
Change-Id: Ibbdd9933ff6c312ad7759574be425b4e57eb1f04
Reviewed-on: https://review.typo3.org/46859
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[BUGFIX] Check correctly if showitem key exists in TcaMigration 55/46855/2
Wouter Wolters [Tue, 23 Feb 2016 19:02:18 +0000 (20:02 +0100)]
[BUGFIX] Check correctly if showitem key exists in TcaMigration

Resolves: #73529
Releases: master, 7.6
Change-Id: Id4f6558b1130bcff8e70f1f0e0dfe38645d33c7f
Reviewed-on: https://review.typo3.org/46855
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[TASK] Set TYPO3 version to 7.6.5-dev 40/46840/2
TYPO3 Release Team [Tue, 23 Feb 2016 11:17:27 +0000 (12:17 +0100)]
[TASK] Set TYPO3 version to 7.6.5-dev

Change-Id: If255350099d2eb3ffdfe2639ac001686c72f6bc2
Reviewed-on: https://review.typo3.org/46840
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>
3 years ago[RELEASE] Release of TYPO3 7.6.4 39/46839/2 7.6.4 TYPO3_7-6-4
TYPO3 Release Team [Tue, 23 Feb 2016 11:16:38 +0000 (12:16 +0100)]
[RELEASE] Release of TYPO3 7.6.4

Change-Id: Ibc16ad8989398404e277236bed6ae5a0f7f6a29f
Reviewed-on: https://review.typo3.org/46839
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>
3 years ago[SECURITY] Limit the search results per page 33/46833/2
Benni Mack [Tue, 23 Feb 2016 10:45:20 +0000 (11:45 +0100)]
[SECURITY] Limit the search results per page

Indexed Search allows to show up to 100.000
entries per page by configuring the paging
entry via a GET/POST variable, leading to a
possible DoS attack.

The max limit is set to 100 entries per page,
as a reasonable limit for the website search
results.

Resolves: #73458
Releases: master, 7.6, 6.2
Security-Commit: 67574fa84acd54260cd824b759e5cd2e6d23e0d5
Security-Bulletins: TYPO3-CORE-SA-2016-005, 006, 007, 008
Change-Id: Ibec1ed2e35ebdca9f443b76ad59871622b230548
Reviewed-on: https://review.typo3.org/46833
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
3 years ago[SECURITY] Escape output of tt_content.default 32/46832/2
Georg Ringer [Tue, 23 Feb 2016 10:45:09 +0000 (11:45 +0100)]
[SECURITY] Escape output of tt_content.default

Escape the value of the field CType in tt_content.default.

Resolves: #73450
Releases: master, 7.6, 6.2
Security-Commit: db808e926a94bfa7364d660ee87ea534d482f4bb
Security-Bulletins: TYPO3-CORE-SA-2016-005, 006, 007, 008
Change-Id: I669b35862108124592f7b05390080c6f47072fbc
Reviewed-on: https://review.typo3.org/46832
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
3 years ago[SECURITY] XML entity expansion 31/46831/2
Benni Mack [Tue, 23 Feb 2016 10:44:59 +0000 (11:44 +0100)]
[SECURITY] XML entity expansion

Remote XML entites can be loaded in places where TYPO3 expects
only local files to be fetched. All places are changed so
the option to load entities is disabled.

Resolves: #61269
Releases: master, 7.6, 6.2
Security-Commit: 982210fb34fc2f9848aa1c478e1fa439949cf746
Security-Bulletins: TYPO3-CORE-SA-2016-005, 006, 007, 008
Change-Id: I9b7c8b81a7cfb0b26092eb6053b69c88415bd46a
Reviewed-on: https://review.typo3.org/46831
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
3 years ago[BUGFIX] RTE Image Wizard 26/46826/2
Markus Klein [Tue, 15 Dec 2015 10:12:32 +0000 (11:12 +0100)]
[BUGFIX] RTE Image Wizard

Make inserting/editing images in RTE possible again.

Resolves: #71494
Releases: master, 7.6
Change-Id: If561562d9330c39544b7bd514a273641538d03f8
Reviewed-on: https://review.typo3.org/46826
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Check correctly for allowed localization action 89/46789/2
Andreas Fernandez [Thu, 18 Feb 2016 11:47:03 +0000 (12:47 +0100)]
[BUGFIX] Check correctly for allowed localization action

The localization wizard currently disallows creating copies if a column
has elements. There are now two flags which influence the allowed
actions. The wizard now checks whether there are translations or
standalone content elements and negates one of the flags.

Change-Id: Ief40d311959943f2f7e901b80e4b29931f2894d2
Resolves: #73538
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46789
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Ralf Merz <info@merzilla.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[TASK] Replace JavaScript confirm dialog in User settings 20/46820/2
Frank Naegler [Mon, 22 Feb 2016 14:36:34 +0000 (15:36 +0100)]
[TASK] Replace JavaScript confirm dialog in User settings

This patch replaces the old JavaScript confirm dialog in user settings
module, which was used on the button "Reset Configuration and
Clear Temporary Data".

Resolves: #73600
Releases: master, 7.6
Change-Id: I24f872c5828aebfa08b2936e64abf57713182fbc
Reviewed-on: https://review.typo3.org/46820
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] IRRE child records cannot be synchronized/localized correctly 19/46819/2
Oliver Hader [Mon, 22 Feb 2016 17:14:29 +0000 (18:14 +0100)]
[BUGFIX] IRRE child records cannot be synchronized/localized correctly

IRRE child records are not synchronized or localized inside a localized
parent record. The DataHandler command contains the target language that
shall be used for the new localized child elements. Since currently an
array is transmitted, all localized children are created for the first
language (sys_language_uid=1), which is the result of "(int)array(123)".

Resolves: #71596
Releases: master, 7.6
Change-Id: Ic34380c7f773449b62bd1e14318f1ea8c081536f
Reviewed-on: https://review.typo3.org/46819
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Remove adodb diff 16/46816/3
Christian Kuhn [Mon, 22 Feb 2016 19:58:33 +0000 (20:58 +0100)]
[TASK] Remove adodb diff

There is a list of patches we applied to adodb manually in
typo3/sysext/adodb/Documentation/Index.rst. This, together
with 'git log' should be enough in case adodb is updated.
The diff file is pain to maintain and also does not
contain all changes that were done to adodb.

Change-Id: If0525ce90b637541d659569f697377f011b8ad37
Resolves: #73607
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46816
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>
3 years ago[BUGFIX] feedit: Double encoding of labels 02/46802/2
Christian Weiske [Tue, 26 Jan 2016 15:08:20 +0000 (16:08 +0100)]
[BUGFIX] feedit: Double encoding of labels

Translated labels containing UTF-8 characters were double-encoded
in frontend editing.

extGetLL() already runs htmlspecialchars() on labels, so we do not have
to do that again in FrontendEditPanel.
This fixes the titles of the admin panel buttons.

Also, since we can expect all pages to be UTF-8 now, we can drop the forced
conversion of UTF-8 characters to XML entities.
This fixes the confirmation popup texts.

Resolves: #63131
Releases: master, 7.6
Change-Id: I49faff20ff4da8434868534d566c0d3da85e30c6
Reviewed-on: https://review.typo3.org/46802
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Marco Huber <mail@marco-huber.de>
Tested-by: Marco Huber <mail@marco-huber.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] User settings: Removed call to deprecated method render() 11/46811/3
Michael Oehlhof [Sat, 20 Feb 2016 22:42:41 +0000 (23:42 +0100)]
[BUGFIX] User settings: Removed call to deprecated method render()

Call of FlashMessage->render() was replaced with appropriate code when
* setup was saved
* temporary data was cleared
* Notice for activated changes
* password is updated
* selected language is not available

Resolves: #73581
Releases: master, 7.6
Change-Id: I68432729334eb905e3aae112d42ae45177a70809
Reviewed-on: https://review.typo3.org/46811
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Add missing method getPidOfUid to RecyclerUtility 95/46795/2
Andreas Fernandez [Sun, 21 Feb 2016 12:40:54 +0000 (13:40 +0100)]
[BUGFIX] Add missing method getPidOfUid to RecyclerUtility

The backport of #70863 requires the method ``RecyclerUtility:: getPidOfUid()``
introduced with an earlier feature for TYPO3 v8 is missed for the released
7.6 branch. This patch backports the method to TYPO3 CMS 7.6.

Change-Id: I393b663633b680ee8ab5cbfd705c098ebbfa550c
Resolves: #73553
Related: #70863
Releases: 7.6
Reviewed-on: https://review.typo3.org/46795
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
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>
3 years ago[BUGFIX] Linkvalidator: Removed call to deprecated method render() 93/46793/2
Michael Oehlhof [Sat, 20 Feb 2016 00:02:16 +0000 (01:02 +0100)]
[BUGFIX] Linkvalidator: Removed call to deprecated method render()

Call of FlashMessage->render() if user not have access to these listings
and when no broken links to be displayed were replaced with appropriate
code.

Resolves: #73576
Releases: master, 7.6
Change-Id: I86ce5c1dd49ea40aeb26be8f9da1060b1f6dc65d
Reviewed-on: https://review.typo3.org/46793
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Form wizard: Removed call to deprecated method render() 85/46785/2
Michael Oehlhof [Thu, 18 Feb 2016 22:59:25 +0000 (23:59 +0100)]
[BUGFIX] Form wizard: Removed call to deprecated method render()

Call of FlashMessage->render() if no reference to record
was replaced with appropriate code.

Resolves: #73546
Releases: master, 7.6
Change-Id: I3fa0285ccd68d7a62d63df60b488bb1fb561a243
Reviewed-on: https://review.typo3.org/46785
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Add missing new_content_element overrides in PageLayoutView 84/46784/2
Richard Haeser [Mon, 15 Feb 2016 19:50:33 +0000 (20:50 +0100)]
[BUGFIX] Add missing new_content_element overrides in PageLayoutView

Add the missing override possibilities in PageLayoutView as introduced
by issue #70055. Also add check if the override attribute of
newContentElementWizard is set in the tsConfig array.

Change-Id: Iaa5952c3dedca2b3dfec84e36d55e453e7ad690e
Resolves: #73444
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46784
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[TASK] Add keyboard binding in install tool for all configuration search 82/46782/2
Frank Naegler [Fri, 19 Feb 2016 11:02:00 +0000 (12:02 +0100)]
[TASK] Add keyboard binding in install tool for all configuration search

If the all configuration module is open and the new filter searchbox is available,
the keyboard shortcuts cmd+f / ctrl+f are used to focus the filter field.

Resolves: #73560
Releases: master, 7.6
Change-Id: Ifeb726819a3b7b1a3e03271be836d4b61aa85fa0
Reviewed-on: https://review.typo3.org/46782
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Avoid session file race-condition in Install Tool 81/46781/2
Markus Klein [Thu, 18 Feb 2016 00:23:24 +0000 (01:23 +0100)]
[BUGFIX] Avoid session file race-condition in Install Tool

Implement proper locking when accessing the session data file
to avoid race-conditions, which cause random logouts.

Resolves: #73531
Releases: master, 7.6
Change-Id: Ibc14ff771602601fd38af582c1b8a15e3f6dfb4b
Reviewed-on: https://review.typo3.org/46781
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[TASK] Make text translatable in ShortcutMenu JavaScript 76/46776/2
Wouter Wolters [Tue, 16 Feb 2016 19:48:30 +0000 (20:48 +0100)]
[TASK] Make text translatable in ShortcutMenu JavaScript

Resolve the todo's for translations and notification.

Resolves: #73505
Releases: master, 7.6
Change-Id: I43cb48fcd7efeb388ed5c54c9df7464ee4e0472d
Reviewed-on: https://review.typo3.org/46776
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[TASK] Move "Save and close" to the last position in scheduler 75/46775/2
Andreas Fernandez [Fri, 19 Feb 2016 11:07:59 +0000 (12:07 +0100)]
[TASK] Move "Save and close" to the last position in scheduler

The "Save and close" link in the split button for scheduler tasks
is moved to the last position to ensure a more consistent UI.

The "Save and close" is at the last position when editing pages,
content elements etc.

Change-Id: I649dd2941a64ea11183eb5e8711b490933481c35
Resolves: #73561
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46775
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Convert slashes in Windows paths for blacklist generation 66/46766/2
Nicole Cordes [Sun, 17 Jan 2016 22:11:37 +0000 (23:11 +0100)]
[BUGFIX] Convert slashes in Windows paths for blacklist generation

The composer ClassMapGenerator expects the blacklist regular expression
to contain forward slashes. As the realpath of a given file is used it
has to be converted before using it in the expression.

Resolves: #72782
Releases: master, 7.6
Change-Id: Ia61a490be4cee4c8b7c492b4514bff2d720343ae
Reviewed-on: https://review.typo3.org/46766
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[BUGFIX] Render correct colPos in section menus again 46/46746/2
Daniel Goerz [Wed, 17 Feb 2016 12:31:12 +0000 (13:31 +0100)]
[BUGFIX] Render correct colPos in section menus again

Resolves: #73521
Related: #71733
Releases: master, 7.6
Change-Id: Iddaea99304a3ab2ae69153a4da12c210adeda6f1
Reviewed-on: https://review.typo3.org/46746
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Fix save and view page for a new page record 44/46744/2
Wouter Wolters [Tue, 16 Feb 2016 22:24:58 +0000 (23:24 +0100)]
[BUGFIX] Fix save and view page for a new page record

The current page id is not set correctly because the popViewId
contains not the uid of the created page. Because it is meant
to fetch the uid of the current page anyway we can
use the record id.

Resolves: #73428
Resolves: #73475
Releases: master,7.6
Change-Id: I4c34547d9a9cf8acd1de01473e931d0fb6a634d8
Reviewed-on: https://review.typo3.org/46744
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Don't convert labels for charsets in Extbase/Fluid 30/46730/2
Benni Mack [Tue, 16 Feb 2016 13:01:45 +0000 (14:01 +0100)]
[BUGFIX] Don't convert labels for charsets in Extbase/Fluid

When Extbase/Fluid initially were introduced, it was possible
to store non-UTF8-data in the database. A charset array within
CharsetConverter checked if a special language (e.g. russian)
had its own character set. The LocalizationUtility then converted
the value from the original character set to utf-8 which is not
needed anymore, as every input data is expected to be UTF-8.

Labels coming from TypoScript are now expected to be UTF-8  as well.

Resolves: #73487
Releases: master, 7.6
Change-Id: I2292c587b7709257d8efcb58f4e5c0a4c191c944
Reviewed-on: https://review.typo3.org/46730
Reviewed-by: Sebastian Fischer <typo3@evoweb.de>
Tested-by: Sebastian Fischer <typo3@evoweb.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Catch submit event while saving shortcut with enter 37/46737/2
Wouter Wolters [Tue, 16 Feb 2016 19:10:17 +0000 (20:10 +0100)]
[BUGFIX] Catch submit event while saving shortcut with enter

To save the shortcut with an enter in the input field we need to
catch the submit event and use the same save mechanism as when
using the submit button.

Resolves: #73477
Releases: master,7.6
Change-Id: Icbe78ca2e3082e9eb9aa7a2b70c362d0aaa43934
Reviewed-on: https://review.typo3.org/46737
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Use correct palettes for pages.media sys_file_references 16/46716/2
Benni Mack [Tue, 16 Feb 2016 13:42:49 +0000 (14:42 +0100)]
[BUGFIX] Use correct palettes for pages.media sys_file_references

When using pages.media and videos / audios, then the wrong
fields for a palette are shown.

The patch changes the palettes to use the same as in e.g.
tt_content.assets.

Resolves: #73489
Releases: master, 7.6
Change-Id: Ifa1fd44e3ffd9a498aaf05dc34f59b6777c8c299
Reviewed-on: https://review.typo3.org/46716
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Set TYPO3 version to 7.6.4-dev 05/46705/2
TYPO3 Release Team [Tue, 16 Feb 2016 11:25:07 +0000 (12:25 +0100)]
[TASK] Set TYPO3 version to 7.6.4-dev

Change-Id: I68876893bbd6773ab66f8264fdf8be37940c5ce7
Reviewed-on: https://review.typo3.org/46705
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>
3 years ago[RELEASE] Release of TYPO3 7.6.3 04/46704/2 7.6.3 TYPO3_7-6-3
TYPO3 Release Team [Tue, 16 Feb 2016 11:24:13 +0000 (12:24 +0100)]
[RELEASE] Release of TYPO3 7.6.3

Change-Id: Ie00c494eb8f5e8e82a4a13e242a275e37b65be23
Reviewed-on: https://review.typo3.org/46704
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>
3 years ago[SECURITY] XSS in Link Validator 97/46697/2
Steffen Müller [Tue, 16 Feb 2016 10:43:58 +0000 (11:43 +0100)]
[SECURITY] XSS in Link Validator

Properly escape error message when showing broken links
in EXT:linkvalidator

Resolves: #72240
Releases: master, 7.6, 6.2
Security-Commit: 889cbad1b45951dbee9dec6d5f0717d443d42182
Security-Bulletinsp: TYPO3-CORE-SA-2016-001, 002, 003, 004
Change-Id: I6eba759ca6b71f3f6ff87daf4f8449b6f4f8ddba
Reviewed-on: https://review.typo3.org/46697
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
3 years ago[TASK] Improve layout of file list in FileBrowser 85/46485/2
Daniel Maier [Sat, 30 Jan 2016 19:20:18 +0000 (20:20 +0100)]
[TASK] Improve layout of file list in FileBrowser

The layout of the FileBrowser is streamlined with the current layout of the
Filelist backend module. The file listing has now a similar layout as
the one in the filelist module, and uses the same icon style.

Resolves: #73040
Releases: master, 7.6
Change-Id: I774ddfa3fdc86dddab8e41395e959a1453b0f3d9
Reviewed-on: https://review.typo3.org/46485
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] ManageReferenceIndex: Removed call to deprecated method render() 72/46672/2
Michael Oehlhof [Sat, 13 Feb 2016 00:07:12 +0000 (01:07 +0100)]
[BUGFIX] ManageReferenceIndex: Removed call to deprecated method render()

Call of FlashMessage->render() was replaced with appropriate code.

Resolves: #73420
Releases: master, 7.6
Change-Id: Id6ec612974a1813bf8becd843d25a48b663766aa
Reviewed-on: https://review.typo3.org/46672
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Recordlist: Removed call to deprecated method render() 71/46671/2
Michael Oehlhof [Sat, 13 Feb 2016 13:52:02 +0000 (14:52 +0100)]
[BUGFIX] Recordlist: Removed call to deprecated method render()

Call of FlashMessage->render() if no records are on the page
was replaced with appropriate code.

Resolves: #73421
Releases: master, 7.6
Change-Id: If10a5a0ec4f71df6008369c83a9ab6a56c812d4e
Reviewed-on: https://review.typo3.org/46671
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Function menu: Removed call to deprecated method render() 70/46670/2
Michael Oehlhof [Wed, 10 Feb 2016 22:12:39 +0000 (23:12 +0100)]
[BUGFIX] Function menu: Removed call to deprecated method render()

Call of FlashMessage->render() if no modules have been registered
was replaced with appropriate code.

Resolves: #73221
Releases: master, 7.6
Change-Id: I982e2d7d5b677e77a7f170a505f426780ac77089
Reviewed-on: https://review.typo3.org/46670
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Add logic to include languageLablelFiles via return structure 69/46669/2
Frank Naegler [Mon, 1 Feb 2016 15:56:43 +0000 (16:56 +0100)]
[TASK] Add logic to include languageLablelFiles via return structure

Adds a structure to accept language files like EXT:foo/bar.xlf
in FormEngine elements that are added in inline ajax and on
page load.

Since it is very hard for FormEngine element developers to
handle this case without bugs in own code and renders label
handling useless otherwise, this patch is requested for 7.6, too.

Resolves: #73072
Releases: master, 7.6
Change-Id: Icbfe707000931037b9579bb8bc6a96dfca023d3e
Reviewed-on: https://review.typo3.org/46669
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Reallow custom request context in getUrl 68/46668/2
Sascha Egerer [Sun, 24 Jan 2016 11:23:40 +0000 (12:23 +0100)]
[BUGFIX] Reallow custom request context in getUrl

In b4813ddb55ab789ddd13e02234f147a44d2af1ed an patch
has been introduced which respects the default stream context
when requesting urls. But the change prevents that custom
stream options (headers) can be set.

The default stream context should be used and extended by the
given custom headers.

Change-Id: I6ec6d23498e194055cefc1c6c63db7c161ee03c6
Resolves: #72907
Related: #70374
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46668
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Restore update wizard to add TER repository in EM 67/46667/3
Wouter Wolters [Thu, 28 Jan 2016 22:29:23 +0000 (23:29 +0100)]
[BUGFIX] Restore update wizard to add TER repository in EM

This adds the update wizard again for TER repository in EM.

Resolves: #72917
Releases: master, 7.6
Change-Id: I1d4d6750c1e989a4ca3fadbcf6e753555ae26f5f
Reviewed-on: https://review.typo3.org/46667
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Enable file upload from Frontend context 64/46664/2
Xavier Perseguers [Fri, 5 Feb 2016 16:31:45 +0000 (17:31 +0100)]
[BUGFIX] Enable file upload from Frontend context

Change-Id: Ie2bf887fc9ec49f39af1ffe85bf0aea69c29fe8c
Releases: master, 7.6
Resolves: #73154
Reviewed-on: https://review.typo3.org/46664
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
3 years ago[BUGFIX] Indexed Search: Data too long for column 'cookie' 48/46648/2
Wouter Wolters [Sat, 13 Feb 2016 16:28:01 +0000 (17:28 +0100)]
[BUGFIX] Indexed Search: Data too long for column 'cookie'

The Extbase version tries to write a 32 character
hash into the column. Make it varchar(32)

Resolves: #72909
Releases: master,7.6
Change-Id: I007e4f6b6c191c3a2d62492d13593e2ae266e446
Reviewed-on: https://review.typo3.org/46648
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[BUGFIX] Data in request may be null instead of an array 40/46640/2
Xavier Perseguers [Mon, 25 Jan 2016 14:24:46 +0000 (15:24 +0100)]
[BUGFIX] Data in request may be null instead of an array

Change-Id: I85f8c80ca29a7795242c9c284f235c6520b2a72d
Releases: master, 7.6
Resolves: #72933
Reviewed-on: https://review.typo3.org/46640
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Fixed Exception when updating the ReferenceIndex 39/46639/2
Michael Oehlhof [Fri, 12 Feb 2016 23:49:19 +0000 (00:49 +0100)]
[BUGFIX] Fixed Exception when updating the ReferenceIndex

Now there is no Exception if a table has no columns definition.

Resolves: #73419
Releases: master,7.6
Change-Id: Iedbdb3073f7b6a72baa7263966dfa3c493bdb89c
Reviewed-on: https://review.typo3.org/46639
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Deduplicate "Hide default translation of page" logic 15/46615/2
Mathias Brodala [Tue, 2 Feb 2016 16:15:47 +0000 (17:15 +0100)]
[BUGFIX] Deduplicate "Hide default translation of page" logic

Resolves: #73083
Releases: master, 7.6, 6.2
Change-Id: I35dfbeb2034990b5746568a733c3e11240a4399d
Reviewed-on: https://review.typo3.org/46450
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
(cherry picked from commit e28c56540792cf19fc3782cd894eb5c9e0af6aa4)
Reviewed-on: https://review.typo3.org/46615

3 years ago[TASK] Remove @inject from ext:fluid 04/46604/3
Wouter Wolters [Fri, 29 Jan 2016 18:59:15 +0000 (19:59 +0100)]
[TASK] Remove @inject from ext:fluid

Use inject methods instead.

Resolves: #73018
Releases: master, 7.6
Change-Id: I087020bcefaa39984cd040896cbc16b700bf3e81
Reviewed-on: https://review.typo3.org/46604
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[FOLLOWUP][BUGFIX] Table wizard: large fields and BR-tags 12/46612/2
Michael Oehlhof [Mon, 18 Jan 2016 00:02:36 +0000 (01:02 +0100)]
[FOLLOWUP][BUGFIX] Table wizard: large fields and BR-tags

Add the missing conversion of LF to <BR> in the frontend output.

Resolves: #72388
Releases: master, 7.6, 6.2
Change-Id: I3ba824904bda6a652c386a8b0fa3e8c1dfbf1859
Reviewed-on: https://review.typo3.org/46040
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 1d2d368f1bdac991f9191eb81670e0bfc14c960e)
Reviewed-on: https://review.typo3.org/46612
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>