Packages/TYPO3.CMS.git
4 years ago[BUGFIX] Use "user_auth" index for DataHandler:printLogErrorMessages 92/37692/3
Andreas Fernandez [Tue, 10 Mar 2015 10:41:07 +0000 (11:41 +0100)]
[BUGFIX] Use "user_auth" index for DataHandler:printLogErrorMessages

Add the database field "action" to the SQL query to be able to use
the "user_auth" index and speed up the query.

Resolves: #65634
Releases: master, 6.2
Change-Id: I3371367a2fb7c86ea4cf38ee8f7ce1e8a571ffb8
Reviewed-on: http://review.typo3.org/37692
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
4 years ago[BUGFIX] Respect newlines in ['SYS']['binSetup'] 72/37672/5
Nicole Cordes [Mon, 9 Mar 2015 15:56:39 +0000 (16:56 +0100)]
[BUGFIX] Respect newlines in ['SYS']['binSetup']

If you separate the list of programs by new line (as suggested in the
Install Tool description), the programs aren't found.
The problem is that the newline is saved as string component by
the Install Tool. Therefore the new line separator (LF) has to
be replaced before splitting the value.

Releases: master, 6.2
Resolves: #65624
Change-Id: I39d8634265bf69d58ad4af3fd2eac913a14a3ef5
Reviewed-on: http://review.typo3.org/37672
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[FEATURE] Ask for old password when changing 24/10224/12
Georg Ringer [Thu, 25 Dec 2014 20:36:03 +0000 (21:36 +0100)]
[FEATURE] Ask for old password when changing

Following security best practices, a user should
to be able to update his password only when giving
the previous password. Currently no need to know
the current password when changing it.

Change-Id: Id0c52d8f7e0d06177c0e4f7076b71d5e6fbca466
Resolves: #35807
Releases: master
Reviewed-on: http://review.typo3.org/10224
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Tested-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] EM: Prevent event stacking on update button 57/37657/4
Andreas Fernandez [Mon, 9 Mar 2015 08:12:40 +0000 (09:12 +0100)]
[BUGFIX] EM: Prevent event stacking on update button

Using the text filter calls "bindExtensionListActions" on each change.
This method invokes the registration of the "click" event handler every
time. Register the events in ready() once to solve the event stacking.

Resolves: #65606
Releases: master
Change-Id: Ie080f2e200a7d52af1a1c42dd6198c0567f122c7
Reviewed-on: http://review.typo3.org/37657
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
4 years ago[TASK] Remove nobr CSS class and nobr tags 17/37617/4
Jigal van Hemert [Sun, 8 Mar 2015 22:34:56 +0000 (23:34 +0100)]
[TASK] Remove nobr CSS class and nobr tags

Releases: master
Resolves: #65586
Change-Id: I32758dc4e57072955d3bc7f6a010a35f7253fd80
Reviewed-on: http://review.typo3.org/37617
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
4 years ago[TASK] Remove unused .typo3-red-background CSS class 18/37618/2
Benjamin Kott [Sat, 7 Mar 2015 12:58:10 +0000 (13:58 +0100)]
[TASK] Remove unused .typo3-red-background CSS class

Releases: master
Resolves: #65587
Change-Id: Ic397294ccaf29223df7348760d6d408efb1b20e7
Reviewed-on: http://review.typo3.org/37618
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
4 years ago[BUGFIX] Handle exceptions in Logging API 02/37602/5
Markus Klein [Fri, 6 Mar 2015 17:16:38 +0000 (18:16 +0100)]
[BUGFIX] Handle exceptions in Logging API

Do not run exceptions through json_encode() but convert them to strings
first.

Resolves: #65577
Releases: master, 6.2
Change-Id: I46e743480b32010bff39784a3572a5fe96cf0859
Reviewed-on: http://review.typo3.org/37602
Reviewed-by: Steffen Müller <typo3@t3node.com>
Tested-by: Steffen Müller <typo3@t3node.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
4 years ago[BUGFIX] Fix update button in Extension Manager 12/37612/2
Andreas Fernandez [Fri, 6 Mar 2015 18:39:41 +0000 (19:39 +0100)]
[BUGFIX] Fix update button in Extension Manager

The change If527b0e8fd77a059c8b25db16a926c5c80356331 introduced
a regression which broke the event listeners for the update buttons.
Change the JavaScript code to match the new markup.

Resolves: #65580
Releases: master
Change-Id: Ifbf857c88fad10f6e0411c48dadacf85bcfa425c
Reviewed-on: http://review.typo3.org/37612
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[TASK] Remove deprecated "strict" PHPUnit option 96/37596/4
Mathias Brodala [Fri, 6 Mar 2015 13:43:04 +0000 (14:43 +0100)]
[TASK] Remove deprecated "strict" PHPUnit option

Resolves: #65569
Releases: master, 6.2
Change-Id: Ica1c3e9c90a0e4a97bd47afa1ea092fe9e957ef2
Reviewed-on: http://review.typo3.org/37596
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Install tool image tests broken 94/37594/2
Christian Kuhn [Fri, 6 Mar 2015 12:56:23 +0000 (13:56 +0100)]
[BUGFIX] Install tool image tests broken

Switching the image manipulation from hardcoded cache table to
the caching framework with #28484 triggers a fatal error in
the install tool image tests. This cache was not properly reset
in the install tool initialization.
The patch resolves this by cleaning up the cache initialization
that has been marked as todo since install tool rewrite. This
is solved for now.
The whole situation is still not perfect since bootstrap, install
tool and extensionmanager manipulate this stuff and the static Cache
class with its static properties in front of the caching framework
does not help to encapsulate and separate the different needs. A
further refactoring releasing the system from static dependencies
and direct global access would help here to reduce complexity with
another patch later.

Resolves: #54498
Related: #28484
Releases: master
Change-Id: Ied01a025ce8e5a3cce03732c95d0914e8fa7af23
Reviewed-on: http://review.typo3.org/37594
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[TASK] Rewrite JavaScript of ext:documentation to RequireJS 78/37578/6
Wouter Wolters [Thu, 5 Mar 2015 22:12:33 +0000 (23:12 +0100)]
[TASK] Rewrite JavaScript of ext:documentation to RequireJS

Due to a JavaScript error in the current situation the code
is now ported to RequireJS.

Resolves: #65557
Releases: master
Change-Id: I3dab5fa8ba95088e60acca5d28f3829f201ddf76
Reviewed-on: http://review.typo3.org/37578
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Fix labels in linkvalidator 87/37587/2
Georg Ringer [Fri, 6 Mar 2015 09:39:58 +0000 (10:39 +0100)]
[BUGFIX] Fix labels in linkvalidator

Change the id which is referred in the label to make it
possible to toggle the checkbox by clicking on the label.

Resolves: #65564
Releases: master, 6.2

Change-Id: I4d4b8ac91b324405f5c94e2db7e6fd5205e85462
Reviewed-on: http://review.typo3.org/37587
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Fix broken scheduler tasks 83/37583/3
Andreas Fernandez [Fri, 6 Mar 2015 07:46:11 +0000 (08:46 +0100)]
[BUGFIX] Fix broken scheduler tasks

Fix two broken tasks in the scheduler:
"Remove deleted records" from EXT:recycler refers to the right xlf now.
"System Status Update" belongs to EXT:reports again

Resolves: #65558
Releases: master
Change-Id: I50319632f1a26cd48f36b1ec872d8cf04da8992b
Reviewed-on: http://review.typo3.org/37583
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Make db_new.php dispatched 79/37479/6
Wouter Wolters [Mon, 2 Mar 2015 21:42:23 +0000 (22:42 +0100)]
[TASK] Make db_new.php dispatched

Use dispatching for db_new.php

Resolves: #65288
Releases: master
Change-Id: Ie3ef5c8e4df8dc0181ed5e85dd780c769c2801ca
Reviewed-on: http://review.typo3.org/37479
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[BUGFIX] Allow processed folders in different storage 21/32921/11
Helmut Hummel [Mon, 22 Sep 2014 13:32:52 +0000 (15:32 +0200)]
[BUGFIX] Allow processed folders in different storage

The processingfolder of a storage can now be a combined identifier.
This makes it possible to have the processed files outside of the
storage in case of a read-only storage for instance.

Releases: master, 6.2
Resolves: #61463
Change-Id: I4f0e187db2aede33be40f62df3bb9f63e9706d46
Reviewed-on: http://review.typo3.org/32921
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[TASK] Update jQuery DataTables to version 1.10.5 77/37577/2
Benjamin Kott [Thu, 5 Mar 2015 22:02:12 +0000 (23:02 +0100)]
[TASK] Update jQuery DataTables to version 1.10.5

Releases: master
Resolves: #65056
Change-Id: Iccf505ea4bdcbb4743449e449d184a1995fda680
Reviewed-on: http://review.typo3.org/37577
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[TASK] Update to phpunit 4.5 73/37573/2
Christian Kuhn [Thu, 5 Mar 2015 21:13:28 +0000 (22:13 +0100)]
[TASK] Update to phpunit 4.5

Releases: master, 6.2
Resolves: #65554
Change-Id: I526f4fe39af0d19b26f525b9b062aedb456794f0
Reviewed-on: http://review.typo3.org/37573
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[TASK] Update modernizr to 2.8.3 69/37569/2
Benjamin Kott [Thu, 5 Mar 2015 20:46:02 +0000 (21:46 +0100)]
[TASK] Update modernizr to 2.8.3

- Exclude: Media Queries
- Exclude: html5shiv v3.7.1 w/ printshiv

Releases: master
Resolves: #65553
Change-Id: I85453e8b690c888fa1a79633c552524dba558af9
Reviewed-on: http://review.typo3.org/37569
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Set twbs/bootstrap to version 3.3.2 in composer.json 68/37568/2
Benjamin Kott [Thu, 5 Mar 2015 20:27:28 +0000 (21:27 +0100)]
[TASK] Set twbs/bootstrap to version 3.3.2 in composer.json

Set fix version in composer.json to avoid unwanted updates.

Releases: master
Resolves: #65552
Change-Id: I5852fda78ac831d7d7e1af7fe870001f50eb19c9
Reviewed-on: http://review.typo3.org/37568
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Fix missing spaces and escaping of attributes 43/37543/5
Frank Nägler [Wed, 4 Mar 2015 21:46:34 +0000 (22:46 +0100)]
[BUGFIX] Fix missing spaces and escaping of attributes

The generated HTML code is broken for some input fields in FormEngine
because of missing escape of attribute values.
An unused style attribute is also removed.

Resolves: #65525
Releases: master
Change-Id: I9d9aecd43c0863a3a9f191e5e942bb5587761dde
Reviewed-on: http://review.typo3.org/37543
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[TASK] Update font-awesome to 4.3.0 67/37567/2
Benjamin Kott [Thu, 5 Mar 2015 20:11:34 +0000 (21:11 +0100)]
[TASK] Update font-awesome to 4.3.0

- Not overwritten variables removed
- Superfluous OTF font file for desktop usage removed
- Set fix version in composer.json

Releases: master
Resolves: #65551
Change-Id: I46f034f00a19c9e4ce231f58cc4e7697a8685296
Reviewed-on: http://review.typo3.org/37567
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Catch all errors on adding files of sys_files to export 18/30318/5
Marc Bastian Heinrichs [Thu, 22 May 2014 08:32:03 +0000 (10:32 +0200)]
[BUGFIX] Catch all errors on adding files of sys_files to export

Adding files from sys_file records is not robust enough. For example
sys_file records could exist for already deleted files. In this case a
RuntimeException is thrown, which is not caught currently.

Solution: catch all Exceptions thrown from Resources in
export_addSysFile and report them to the user.

Resolves: #59015
Releases: master, 6.2
Change-Id: If7ce51a2ae756b43dc30d5545b076310972342f4
Reviewed-on: http://review.typo3.org/30318
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[TASK] Followup: Make Scheduler tables responsive 48/37548/3
Andreas Fernandez [Thu, 5 Mar 2015 07:07:26 +0000 (08:07 +0100)]
[TASK] Followup: Make Scheduler tables responsive

Wrap tables in <div class="table-fit"> to make the tables reposonsive.

Resolves: #65532
Releases: master
Change-Id: I76cca7377d7613d560060b17ae3396ca281b99dc
Reviewed-on: http://review.typo3.org/37548
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>
4 years ago[FOLLOWUP][BUGFIX] Prevent wrong ref_index for fields with soft references 11/37511/3
Nicole Cordes [Tue, 3 Mar 2015 21:46:03 +0000 (22:46 +0100)]
[FOLLOWUP][BUGFIX] Prevent wrong ref_index for fields with soft references

Prevent problems with NULL values in reference fields.

Releases: master, 6.2
Resolves: #60226
Change-Id: I168e508ca9d47a3047a7b11bed0c315186ff2e2a
Reviewed-on: http://review.typo3.org/37511
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Mateusz Wojtuła <matw88@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Make t3skin a protected extension 45/37545/2
Benjamin Kott [Wed, 4 Mar 2015 22:12:44 +0000 (23:12 +0100)]
[TASK] Make t3skin a protected extension

To ensure the backend is always in a usable and wellformed
state the t3skin extension needs to be always activated.

Releases: master
Resolves: #65528
Change-Id: I7e873a925834722158085500e2fcf2b80ef54f1e
Reviewed-on: http://review.typo3.org/37545
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
4 years ago[TASK] Streamline Scheduler 10/37110/10
Andreas Fernandez [Mon, 23 Feb 2015 13:15:43 +0000 (14:15 +0100)]
[TASK] Streamline Scheduler

Streamline the layout of the scheduler.

Resolves: #65233
Releases: master
Change-Id: I2f91f187e21359d2228e81efb198b9bf9134d400
Reviewed-on: http://review.typo3.org/37110
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] General code cleanup in ext:sv 99/37299/3
Wouter Wolters [Thu, 26 Feb 2015 22:25:32 +0000 (23:25 +0100)]
[TASK] General code cleanup in ext:sv

Resolves: #65370
Releases: master
Change-Id: If444c38cf263b0e089adb155cf0d2da7eb4dd9f5
Reviewed-on: http://review.typo3.org/37299
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] EM: Fix icon leftovers 14/37514/2
Andreas Fernandez [Wed, 4 Mar 2015 08:10:51 +0000 (09:10 +0100)]
[TASK] EM: Fix icon leftovers

The "Update extension" task uses an FA icon now. The obsolete file
"ExtensionUpdateScript.png" is removed.

Resolves: #65500
Releases: master
Change-Id: If527b0e8fd77a059c8b25db16a926c5c80356331
Reviewed-on: http://review.typo3.org/37514
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
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>
4 years ago[TASK] Code cleanup EXT:backend/Classes/File/*.php 13/37513/3
Michael Oehlhof [Tue, 3 Mar 2015 22:57:25 +0000 (23:57 +0100)]
[TASK] Code cleanup EXT:backend/Classes/File/*.php

- add missing return values
- add missing phpdoc comments
- remove unused variable assingments
- add getter for LanguageService
- add getter for BackendUser

Resolves: #65498
Releases: master
Change-Id: I0314fa03b9ac885c46e281a167d04f060fb10617
Reviewed-on: http://review.typo3.org/37513
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>
4 years ago[BUGFIX] Remove RemoveXSS credit link 34/37534/2
Christian Kuhn [Wed, 4 Mar 2015 18:45:25 +0000 (19:45 +0100)]
[BUGFIX] Remove RemoveXSS credit link

The current link to RemoveXSS project is broken and
no new one can be found. The patch removes the link
from about module but keeps other references in the
source files

Change-Id: Iff9590aae3cd093c17553a94d1d5c88afde54834
Releases: master, 6.2
Resolves: #65485
Reviewed-on: http://review.typo3.org/37534
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Reload extension list after update 02/37502/3
Nicole Cordes [Tue, 3 Mar 2015 14:10:12 +0000 (15:10 +0100)]
[BUGFIX] Reload extension list after update

If an extension was updated the list should be reloaded to show
update information.

Releases: master, 6.2
Resolves: #64733
Change-Id: I27598995fd365745eab14a1e095fd342cd198093
Reviewed-on: http://review.typo3.org/37502
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Regression when scaling/cropping in GIFBUILDER 83/37483/6
Torben Hansen [Tue, 3 Mar 2015 08:34:41 +0000 (09:34 +0100)]
[BUGFIX] Regression when scaling/cropping in GIFBUILDER

The fix for issue #64224 introduced a regression in GIFBUILDER
resulting in problems with image scaling/cropping.

For $fileInfo and $maskInfo: use 'processedFile' for FAL files
if available and correctly distinguish between FAL- and non-FAL files
otherwise by checking for 'origFile'.

Resolves: #65378
Related: #64224
Releases: master, 6.2
Change-Id: Ib472bdcdc7f814e50ebd18e084f5fbe7d09fc410
Reviewed-on: http://review.typo3.org/37483
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Christoph Lehmann <christoph.lehmann@networkteam.com>
Tested-by: Philipp Mueller <philipp.mueller@lavitto.ch>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Remove Closure in signalSlotDispatcher 85/37485/6
Nicole Cordes [Tue, 3 Mar 2015 09:49:34 +0000 (10:49 +0100)]
[BUGFIX] Remove Closure in signalSlotDispatcher

As the classAliasMap is a singleton we don't need to initialize it on
every dispatch, but we can call the method directly on the instance.
This prevents a closure for signalSlotDispatcher which otherwise throws
an exception on serialization.

Releases: master
Resolves: #65473
Change-Id: I1280a4a054f3b63b4b5e71262d4d054b511f001b
Reviewed-on: http://review.typo3.org/37485
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Avoid getTCAtypeValue-calls in DataHandler->fillInFieldArray 27/35227/3
Stephan Großberndt [Wed, 10 Dec 2014 10:13:43 +0000 (11:13 +0100)]
[BUGFIX] Avoid getTCAtypeValue-calls in DataHandler->fillInFieldArray

DataHandler->fillInFieldArray fetches BackendUtility::getTCAtypeValue
for each record but uses the value only if several RTE-transformation-
related conditions are met.

Fetch BackendUtility::getTCAtypeValue only if the RTE-transformation-
related conditions are met for the first time and keep it afterwards.

Resolves: #63728
Releases: master, 6.2
Change-Id: I14b307c45cab2d778968f3fd98c18348b666be3d
Reviewed-on: http://review.typo3.org/35227
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[BUGFIX] Fix access to time tracker in eID scripts 03/37503/2
Mathias Brodala [Tue, 3 Mar 2015 14:44:11 +0000 (15:44 +0100)]
[BUGFIX] Fix access to time tracker in eID scripts

During refactoring of request handling setup of the global time
tracker was removed for eID scripts.

This also fixes the setup order in the frontend request handler
since this happened before the "preprocessRequest" hook was executed
in the old index_ts.php

Resolves: #65488
Releases: master
Change-Id: I5b0c63db37360039fdb9d9e0ff29adfa38da22c5
Reviewed-on: http://review.typo3.org/37503
Reviewed-by: Juan Manuel Vergés Solanas <juanmanuel.vergessolanas@gmail.com>
Tested-by: Juan Manuel Vergés Solanas <juanmanuel.vergessolanas@gmail.com>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[BUGFIX] Reset global ajaxID for ajax requests 93/37493/2
Nicole Cordes [Tue, 3 Mar 2015 12:32:46 +0000 (13:32 +0100)]
[BUGFIX] Reset global ajaxID for ajax requests

Due to patch https://review.typo3.org/#/c/37409/ the global ajaxID
isn't set anymore. This variable is needed by several ajax requests and
expected to be set in global context. This patch sets the given ajaxID
globally.

Releases: master
Resolves: #65477
Change-Id: Id06d9b6a4d7bf41061e917ed6049a3dfefbf32f0
Reviewed-on: http://review.typo3.org/37493
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[TASK] Code cleanup: Clipboard.php 02/37402/2
Michael Oehlhof [Sun, 1 Mar 2015 11:29:26 +0000 (12:29 +0100)]
[TASK] Code cleanup: Clipboard.php

backend/Classes/Clipboard/Clipboard.php
To get it "green" in PhpStorm several changes were made:

- set correct parameter type in PhpDoc comment
- set correct return type in PhpDoc comment
- add missing return values
- add getter for LanguageService
- add getter for BackendUser
- add getter for DatabaseConnection

Resolves: #65428
Releases: master
Change-Id: I3079a845242239325616b682683cc79da36ee4f8
Reviewed-on: http://review.typo3.org/37402
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Do not fetch records from tables without references 91/35191/28
Stephan Großberndt [Tue, 9 Dec 2014 13:42:05 +0000 (14:42 +0100)]
[BUGFIX] Do not fetch records from tables without references

If no field of a table can contain a reference by its TCA definition
do not fetch record from this table at all. For tables with fields
which can possibly contain references fetch only these fields instead
of all.

Cache list of fields which don't have to be checked in the local member
'nonRelationFields' instead of recreating the list for each and every
record.

Don't try to update references for tables sys_log, sys_history and
tx_extensionmanager_domain_model_extension since they cannot contain
references and usually have a big amount of records.

Introduce some early returns to make code more readable.

Improves performance for both bulk inserts and updating the reference
index from the command line.

Resolves: #63676
Resolves: #63782
Releases: master, 6.2
Change-Id: Ibc6f988bfde6042339595bf7b3e18125c64ae72d
Reviewed-on: http://review.typo3.org/35191
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[FEATURE] Additional params for HtmlParser attribute userFunc 35/30935/7
Alexander Stehlik [Sun, 1 Feb 2015 12:34:41 +0000 (13:34 +0100)]
[FEATURE] Additional params for HtmlParser attribute userFunc

Sub parameters passed to the HtmlParser tag configuration like:

fixAttrib.[attribute].userFunc.myparam = test1

will be passed to the configured user function in an array. The
attribute value will be stored in the attributeValue array key.

To keep backward compatibility the attribute value will be passed as
string to the user function when no additional attributes exist.

Releases: master
Resolves: #59712
Change-Id: Ib073dad0759fa2b20a82bf976f8d04f39d9135f0
Reviewed-on: http://review.typo3.org/30935
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[FEATURE] Allow stripping of empty tags in HtmlParser 75/16975/19
Alexander Stehlik [Mon, 2 Mar 2015 19:07:34 +0000 (20:07 +0100)]
[FEATURE] Allow stripping of empty tags in HtmlParser

Add a stripEmptyTags method to the HtmlParser
It can be enabled by TypoScript or TSConfig:

HTMLparser.stripEmptyTags = 1
HTMLparser.stripEmptyTags.tags = h2, h3
HTMLparser.stripEmptyTags.treatNonBreakingSpaceAsEmpty = 1

Resolves: #20555
Releases: master
Change-Id: I640486e9f32da6ac1eba05e3c38d15a0aba41055
Reviewed-on: http://review.typo3.org/16975
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[TASK] Move cache configuration to DefaultConfiguration 68/37468/3
Christian Kuhn [Mon, 2 Mar 2015 18:23:49 +0000 (19:23 +0100)]
[TASK] Move cache configuration to DefaultConfiguration

ext:fluid and ext:exbase configure additional caches in ext_localconf.
Since both extensions are required and always loaded, those cache
configurations are moved to ext:core DefaultConfiguration.php to
have an easier life for admins who reconfigure those caches in
LocalConfiguration.

Resolves: #65467
Releases: master
Change-Id: I63ac633f15d0a0774deffa3620d67a405af1e5df
Reviewed-on: http://review.typo3.org/37468
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[CLEANUP] Unused maxListPerPage property in indexed_search 69/37469/3
Alexander Stehlik [Mon, 2 Mar 2015 18:39:30 +0000 (19:39 +0100)]
[CLEANUP] Unused maxListPerPage property in indexed_search

The maxListPerPage class property in the indexed_search Administration
controller ist not used any more and therefore removed.

Releases: master, 6.2
Resolves: #65468
Change-Id: Ic1e13bf0e6f7426d5efb54b0996323ac681c2ed4
Reviewed-on: http://review.typo3.org/37469
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[TASK] Allow AjaxDataHandler to pick button labels for Modal 67/37467/2
Felix Kopp [Mon, 2 Mar 2015 18:26:10 +0000 (19:26 +0100)]
[TASK] Allow AjaxDataHandler to pick button labels for Modal

Use AjaxDataHandler with Modal API without TYPO3.Language inline.
Allow Modal API to pick button labels when wrapped in AjaxDataHandler

Resolves: #65466
Releases: master
Change-Id: Ibe1385e41a8481620af74a3af6b3c4a49485fe4f
Reviewed-on: http://review.typo3.org/37467
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Properly handle XLF translation file detection 67/37167/6
Markus Klein [Wed, 25 Feb 2015 13:26:51 +0000 (14:26 +0100)]
[BUGFIX] Properly handle XLF translation file detection

The GeneralUtility::llXmlAutoFileName() method will now also correctly
handle paths to files that are not placed within a known directory
(ext, sysext, etc.) if the call is made with $sameFile = TRUE.
This allows placing language files in arbitrary storage.

This change finally re-enables the usage of locallang files in TypoScript
or f:translate-ViewHelpers which use the XLIFF format and are not placed
within an extension.
This has always been working with files in the XML format.

Resolves: #65273
Releases: master, 6.2
Change-Id: Ibb647cea32a9fc04e9dfdf707a5e8690ad399d5c
Reviewed-on: http://review.typo3.org/37167
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[!!!][BUGFIX] Skip cache hash for URIs to non-cacheable actions 94/31594/13
Mathias Brodala [Fri, 11 Jul 2014 11:51:47 +0000 (13:51 +0200)]
[!!!][BUGFIX] Skip cache hash for URIs to non-cacheable actions

When building an URI for a non-cacheable action, while the current
request also is uncached, we can skip the cache hash for the target URI
to avoid unnecessary page cache entries.

Since this is a change in behavior during link generation, which other
code may rely upon, this is marked as breaking change.

Resolves: #60272
Releases: master
Change-Id: I448c33d23b790de1064eff95d0a940878b0299ac
Reviewed-on: http://review.typo3.org/31594
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[TASK] Cache cache_imagesizes using the Caching Framework 86/35686/9
Benjamin Mack [Wed, 31 Dec 2014 00:17:16 +0000 (01:17 +0100)]
[TASK] Cache cache_imagesizes using the Caching Framework

Streamline the code by moving the functionality to cache image sizes
processed by GraphicalFunctions (local-only so far) from the database
table cache_imagesizes to the Caching Framework.

The following changes are done:
* use sha1 instead of md5
* use Caching Framework instead of hardcoded DB table
* store only necessary data in the cache

The new Caching Framework configuration is stored
in a new group called "lowlevel" which is only emptied
when pressing the clear cache button in the install tool.

The former table cache_imagesizes has been filled automatically and
never been cleaned except manually in the Install Tool area "Cleanup".
This means there could be a lot of leftover entries. Now the cache is
cleared when using the common clear caches button in the install tool.

Resolves: #28484
Releases: master
Change-Id: Ia68410eb382163e90654718aeb17165dc48e40cc
Reviewed-on: http://review.typo3.org/35686
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Add property "uidLocal" to extbase FileReference model 17/37417/6
Jost Baron [Sun, 1 Mar 2015 16:07:33 +0000 (17:07 +0100)]
[BUGFIX] Add property "uidLocal" to extbase FileReference model

This is needed so extbase persists FileReferences created in the
frontend correctly. Otherwise the field "uid_local" would always
be set to 0 in the database, creating an invalid file reference.

Resolves: #48965
Related: #5718

Releases: 6.2, master
Change-Id: I1e620c18d60546fdc081410b1d27a1b1de6f3e5b
Reviewed-on: http://review.typo3.org/37417
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[FEATURE] Add scheduler task to remove deleted records 13/9013/22
Philipp Bergsmann [Mon, 13 Feb 2012 18:19:47 +0000 (19:19 +0100)]
[FEATURE] Add scheduler task to remove deleted records

Scheduler task to remove deleted records from
content table(s) which are older than x days.

If a deleted record also contains an upload field,
then the file is also deleted.

Releases: master
Resolves: #32651
Change-Id: I58577c05a1a3b228579c05578cc8fdf2e3b393fa
Reviewed-on: http://review.typo3.org/9013
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Show data of valid columns in element info 60/27360/4
Marc Bastian Heinrichs [Wed, 5 Feb 2014 15:18:42 +0000 (16:18 +0100)]
[BUGFIX] Show data of valid columns in element info

The element information show rows for the data from
the special fields crdate, cruser_id and tstamp also if they
are not defined in TCA. They are also hardcoded and
doesn't rely on the settings in TCA ctrl.

Resolves: #55699
Releases: master, 6.2
Change-Id: I7c9a387c75d367618117ffcb6f04592ee519cecc
Reviewed-on: http://review.typo3.org/27360
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[FEATURE] Add a Format.Case ViewHelper 13/36913/5
Alexander Schnitzler [Sat, 14 Feb 2015 20:02:43 +0000 (21:02 +0100)]
[FEATURE] Add a Format.Case ViewHelper

This adds a Format.Case ViewHelper that changes
a string's case in various manners like uppercase,
lowercase, (un-)capitalization and
each-word-capitalization.

Resolves: #58621
Releases: master
Change-Id: I182fae00a8bf11b6188e73bdd9cf15011ed3620d
Reviewed-on: http://review.typo3.org/36913
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[TASK] Recycler: Rename table to record type 10/36710/3
Frederic Gaus [Fri, 6 Feb 2015 07:56:40 +0000 (08:56 +0100)]
[TASK] Recycler: Rename table to record type

Rename label "table" to "record type" in recycler

Change-Id: I81226203e3bcb705320563bc508d74f69d8142c1
Resolves: #43368
Releases: master
Reviewed-on: http://review.typo3.org/36710
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Fluid RenderViewHelper compilable 53/37453/4
Christian Kuhn [Mon, 2 Mar 2015 11:24:05 +0000 (12:24 +0100)]
[TASK] Fluid RenderViewHelper compilable

Resolves: #65451
Releases: master
Change-Id: Ia08ec9b586a2b080763f07ee2fe6e257ca484397
Reviewed-on: http://review.typo3.org/37453
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[TASK] Code cleanup ContextMenuConfiguration.php 43/37443/3
Michael Oehlhof [Sun, 1 Mar 2015 23:25:53 +0000 (00:25 +0100)]
[TASK] Code cleanup ContextMenuConfiguration.php

backend/Classes/ContextMenu/Pagetree/Extdirect/ContextMenuConfiguration.php
To get it "green" in PhpStorm several changes were made:

- set correct parameter type in PhpDoc comment
- add missing return value

Resolves: #65444
Releases: master
Change-Id: Iebb9c4c789612f229f4d4562cfd1445d98703594
Reviewed-on: http://review.typo3.org/37443
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Invalid back path of ImageViewHelper in TYPO3 backend 07/37407/2
Oliver Hader [Sun, 1 Mar 2015 13:36:27 +0000 (14:36 +0100)]
[BUGFIX] Invalid back path of ImageViewHelper in TYPO3 backend

If rendering an image in the TYPO3 backend, the regular case is
to prepend "../" to an URI with the assumption that the original
HTTP request was handled by typo3/backend.php.

For the page module for instance, the request points to
typo3/sysext/cms/layout/db_layout.php, thus the back path way
does not work anymore.

To overcome that behavior the absolute path shall be used
instead by determining TYPO3_SITE_PATH. For the case that
some custom processing relies on "../" this change might
be breaking.

Resolves: #65433
Releases: master, 6.2
Change-Id: I969f6a3bdd000b7efb7607e533d1117c8d363959
Reviewed-on: http://review.typo3.org/37407
Reviewed-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[TASK] Refactor module dispatcher to RequestHandler 30/37430/7
Helmut Hummel [Mon, 8 Dec 2014 15:21:56 +0000 (16:21 +0100)]
[TASK] Refactor module dispatcher to RequestHandler

In order to move the mod.php global logic into
a unified way, the global code is moved to its
own RequestHandler for modules.

Releases: master
Resolves: #65452
Change-Id: Ic1dedaf7d98b460739da9cb33dcbbf5772ed05d4
Reviewed-on: http://review.typo3.org/37430
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Introduce getters for $GLOBALS in TranslationStatusController 35/37435/2
Wouter Wolters [Sun, 1 Mar 2015 21:09:31 +0000 (22:09 +0100)]
[TASK] Introduce getters for $GLOBALS in TranslationStatusController

Resolves: #65441
Releases: master
Change-Id: Ic9e790d2b2db17e930558dbafe4f458af948fc9a
Reviewed-on: http://review.typo3.org/37435
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[TASK] Introduce getters for $GLOBALS in PageRepository 36/37436/2
Wouter Wolters [Sun, 1 Mar 2015 21:52:18 +0000 (22:52 +0100)]
[TASK] Introduce getters for $GLOBALS in PageRepository

Resolves: #65442
Releases: master
Change-Id: I7493bbae4bee93c7e2957e1d458d22036249de36
Reviewed-on: http://review.typo3.org/37436
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[TASK] Move RemoveXSS to EXT:core 48/37448/3
Benjamin Mack [Mon, 2 Mar 2015 10:50:42 +0000 (11:50 +0100)]
[TASK] Move RemoveXSS to EXT:core

The external library RemoveXSS placed
within typo3/contrib/ is moved to EXT:core
and also loaded via composer in order
to avoid a require_once.

Additionally, some other changes in
the static composer class loader shipped
with typo3/contrib/vendor are updated
as well.

Resolves: #65450
Releases: master
Change-Id: I804754df10288924247f58dc93a8e46f9268aa3b
Reviewed-on: http://review.typo3.org/37448
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Prevent redirection loop for shortcuts 46/37446/2
Nicole Cordes [Mon, 2 Mar 2015 10:05:16 +0000 (11:05 +0100)]
[BUGFIX] Prevent redirection loop for shortcuts

This patch prevents the redirection to another page if the returned
URL is empty which would trigger a redirection loop.

Releases: master, 6.2
Resolves: #65447
Change-Id: Ida0fc65c83d32ca7ae45db2d02b87d7eb0c8d345
Reviewed-on: http://review.typo3.org/37446
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[TASK] Move leftover code from cms to frontend 47/37447/2
Benjamin Mack [Mon, 2 Mar 2015 10:30:56 +0000 (11:30 +0100)]
[TASK] Move leftover code from cms to frontend

Leftover code that registers modules
that are located within EXT:frontend should
be moved from EXT:cms to EXT:frontend

Resolves: #65449
Releases: master
Change-Id: Icde91ae85eee74c5fc5492a7263afcd0bc85c82f
Reviewed-on: http://review.typo3.org/37447
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[TASK] Introduced getter for $GLOBALS in backend/Classes/ContextMenu 44/37444/3
Michael Oehlhof [Sun, 1 Mar 2015 23:36:39 +0000 (00:36 +0100)]
[TASK] Introduced getter for $GLOBALS in backend/Classes/ContextMenu

- add getter for LanguageService
- add getter for BackendUser

Resolves: #65445
Releases: master
Change-Id: I985f9b0aa619ea7f90f35fe169122c26850a73df
Reviewed-on: http://review.typo3.org/37444
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Introduce unified RequestHandling for all requests 09/37409/5
Benjamin Mack [Sun, 1 Mar 2015 13:47:15 +0000 (14:47 +0100)]
[TASK] Introduce unified RequestHandling for all requests

The TYPO3 Bootstrap gets a new function run() to unify
existing entrypoints in FE, BE, CLI and Install Tool.

This way the "visible" part of the bootstrap is reduced
to solely using the new "run()" method, which resolves
to a proper RequestHandler depending on the following
constraints.

* Install Tool
* Frontend: eID
* Frontend: TSFE
* Backend: Regular request
* Backend: AJAX
* Command-Line (CLIkeys)

The interface behaves exactly like TYPO3 Flow.

Unlike Flow, the request handlers are currently hardcoded
inside the bootstrap, but can be extended later.

Each RequestHandler logic is currently put from the global
scope into the main "handleRequest()" method.

Further changes are the deprecation of init.php and
the streamlining of Backend requests, as well as diagram
of the bootstrap process.

Resolves: #65437
Releases: master
Change-Id: I3a2ffe60e59005955c5ef3d3c541b61de2b97526
Reviewed-on: http://review.typo3.org/37409
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[TASK] Make BaseViewHelper Compilable 31/37431/3
Anja Leichsenring [Sun, 1 Mar 2015 19:47:09 +0000 (20:47 +0100)]
[TASK] Make BaseViewHelper Compilable

Change-Id: If0d763b4fb79ffb1584ea5c60804af63d4da3d7b
Resolves: #65440
Releases: master
Reviewed-on: http://review.typo3.org/37431
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[TASK] Make browser.php dispatched 32/37432/2
Wouter Wolters [Sun, 1 Mar 2015 19:56:05 +0000 (20:56 +0100)]
[TASK] Make browser.php dispatched

Use dispatching for browser.php

Resolves: #65289
Releases: master
Change-Id: I8edb2fb1182af39d5a87e8291e8b208067a70a9c
Reviewed-on: http://review.typo3.org/37432
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Use jQuery UI's "sortable" in page module 62/37262/4
Andreas Fernandez [Wed, 25 Feb 2015 10:11:56 +0000 (11:11 +0100)]
[TASK] Use jQuery UI's "sortable" in page module

Port the code to use jQuery UI's "sortable" instead of draggable and
droppable, which solves some issues:

- The element position is stored after dropping it, solving the
"hang" effect.
- In "Languages" view, the elements are now properly movable. Moving
the elements between languages, which is error prone, is now not
possible anymore (it was possible before, but it was not saved).

Resolves: #65311
Releases: master
Change-Id: I5af23e258e057eb8c855760bc2ad5fa6989e6686
Reviewed-on: http://review.typo3.org/37262
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[TASK] Make AliasViewHelper Compilable 28/37428/3
Anja Leichsenring [Sun, 1 Mar 2015 18:45:05 +0000 (19:45 +0100)]
[TASK] Make AliasViewHelper Compilable

Change-Id: Ib3e5093902b5d2b46d4b2c6a3365abf8340da6ed
Resolves: #65438
Releases: master
Reviewed-on: http://review.typo3.org/37428
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[TASK] Remove unused code in PageLayoutView.php 62/25662/9
Jan Helke [Fri, 30 Jan 2015 18:04:25 +0000 (19:04 +0100)]
[TASK] Remove unused code in PageLayoutView.php

Changing the backend view to use grid elements caused an ancient
piece of code in PageLayoutView.php to be never executed. In fact
an if statement in PageLayoutController.php always evaluates to
"FALSE" which lets the code in PageLayoutView.php never get
executed.

Change-Id: I4f97690b54efeb7659f86f1ef15fa8603e97f69b
Resolves: #53898
Releases: master
Reviewed-on: http://review.typo3.org/25662
Reviewed-by: Jo Hasenau <info@cybercraft.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Cleanup EXT:viewpage JavaScript 67/35767/5
Benjamin Mack [Sun, 4 Jan 2015 11:11:21 +0000 (12:11 +0100)]
[TASK] Cleanup EXT:viewpage JavaScript

The Extension viewpage (Web => View)
is still using a mixture of ExtJS and jQuery.

In order to use the logic from the new
Storage API (which replaces the ExtJS Part
for this module) the whole JavaScript
was rewritten in RequireJS.

The shipped jquery-ui JavaScript file
is not necessary anymore, as it is
loaded from the contrib/ directory
as a AMD module (new version).

Resolves: #64103
Releases: master
Change-Id: Ic0cc1dd0eb56b0440a5d8c78c40ac2120aa0f215
Reviewed-on: http://review.typo3.org/35767
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Adjust INSTALL.md to TYPO3 CMS 7 29/37429/2
Wouter Wolters [Sun, 1 Mar 2015 18:47:21 +0000 (19:47 +0100)]
[TASK] Adjust INSTALL.md to TYPO3 CMS 7

Furthermore the copyright year is adjusted.

Resolves: #65439
Releases: master
Change-Id: I332321bd4e84c66e381140caacbd23ef381441e2
Reviewed-on: http://review.typo3.org/37429
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[TASK] Make logout.php dispatched 11/37411/2
Wouter Wolters [Sun, 1 Mar 2015 13:50:48 +0000 (14:50 +0100)]
[TASK] Make logout.php dispatched

Use dispatching for logout.php

Resolves: #65291
Releases: master
Change-Id: Ic003ec6dda083f69da2aaf0373ad48ea3bf4f56f
Reviewed-on: http://review.typo3.org/37411
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[TASK] UnitTests for TranslateViewHelper 16/37416/8
Anja Leichsenring [Sun, 1 Mar 2015 15:19:46 +0000 (16:19 +0100)]
[TASK] UnitTests for TranslateViewHelper

The TranslateViewHelper has no unit tests so far.

Change-Id: Ib7bdedf7e64276fcfcb7280fafc5d48c860f21c8
Resolves: #65436
Releases: master
Reviewed-on: http://review.typo3.org/37416
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
4 years ago[BUGFIX] Let Scheduler handle storage indexing exception 56/37156/3
Francois Suter [Tue, 24 Feb 2015 09:05:43 +0000 (10:05 +0100)]
[BUGFIX] Let Scheduler handle storage indexing exception

The FileStorageIndexingTask should not handle exceptions itself.
Instead it should let them bubble up to let the Scheduler take
care of the reporting.

Resolves: #65248
Releases: 6.2, master
Change-Id: Ib29c20b40de8abd27869682c9f6d4479718d25f5
Reviewed-on: http://review.typo3.org/37156
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[FOLLOWUP][BUGFIX] Respect interfaces as well when checking class existence 23/37423/2
Helmut Hummel [Sun, 1 Mar 2015 17:36:51 +0000 (18:36 +0100)]
[FOLLOWUP][BUGFIX] Respect interfaces as well when checking class existence

Add accidentally forgotten guard clause for case insensitivity.

Releases: master, 6.2
Resolves: #65434
Change-Id: I374a7201f3c5ef356883302fc0825f9a02ef0c30
Reviewed-on: http://review.typo3.org/37423
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Invalid reference count on storing new child records in FlexForm 45/37345/2
Oliver Hader [Sat, 28 Feb 2015 15:08:45 +0000 (16:08 +0100)]
[BUGFIX] Invalid reference count on storing new child records in FlexForm

If creating a new parent record that contains inline child
records as part of a FlexForm configuration, the resulting
reference count is the temporary "NEW..." identifier. The
expected result is to have the number of child references
in that case as well.

Resolves: #58307
Releases: master, 6.2
Change-Id: I36a4dd06a38ad5d9f197190658b97f8a3b5fa234
Reviewed-on: http://review.typo3.org/37345
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>
4 years ago[BUGFIX] Respect interfaces as well when checking class existence 12/37412/2
Helmut Hummel [Sun, 1 Mar 2015 14:22:48 +0000 (15:22 +0100)]
[BUGFIX] Respect interfaces as well when checking class existence

As a backwards compatibility measure, the composer class loader
checked for class existence before requiring a class file, which
could only happen if wrong class name casing was used before.

We now enable this also for interfaces.

Releases: master, 6.2
Resolves: #65434
Change-Id: I6dc1dc6cbf8cb7018ceeff1eb881c80658c11e33
Reviewed-on: http://review.typo3.org/37412
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Streamline extension configuration 93/37093/6
Benjamin Kott [Sun, 22 Feb 2015 14:48:29 +0000 (15:48 +0100)]
[TASK] Streamline extension configuration

- make type color working again
- use wizard_colorpicker instead of farbtastic
- streamline styling with formengine

Releases: master
Resolves: #65427
Change-Id: Ib175a794521ee346341325757a76091b03c52326
Reviewed-on: http://review.typo3.org/37093
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>
4 years ago[BUGFIX] Prevent deletion of closing bracket via INCLUDE_TYPOSCRIPT 38/37038/8
Andreas Allacher [Fri, 20 Feb 2015 09:23:40 +0000 (10:23 +0100)]
[BUGFIX] Prevent deletion of closing bracket via INCLUDE_TYPOSCRIPT

Due to missing check of the last char being a new line, it is
possible that a closing bracket character is removed by
using INCLUDE_TYPOSCRIPT.
This leads to broken typoscript.
By introducing the missing check this kind of error is prevented.

Change-Id: I92ef213d31c4d62ba797e2741d5a0beaa042c6b3
Resolves: #62280
Releases: master
Reviewed-on: http://review.typo3.org/37038
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[!!!][TASK] Remove module URI storage in global variable 06/37406/2
Helmut Hummel [Sun, 1 Mar 2015 12:29:59 +0000 (13:29 +0100)]
[!!!][TASK] Remove module URI storage in global variable

Previously the URI to a module which was dispatched through mod.php was stored
in a global variable $GLOBALS['MCONF']['_']

In terms of cleanup of global variable usage and
module configuration cleanup, this functionality is removed without substitution.

Instead BackendUtility::getModuleUrl() API must be used now.

Releases: master
Resolves: #65432
Change-Id: Iad436056e96d2334357320278cd8243f0f975538
Reviewed-on: http://review.typo3.org/37406
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Code cleanup: ColorpickerController.php 04/37404/3
Michael Oehlhof [Sun, 1 Mar 2015 12:21:26 +0000 (13:21 +0100)]
[TASK] Code cleanup: ColorpickerController.php

backend/classes/Controller/Wizard/ColorpickerController.php
To get it "green" in PhpStorm several changes were made:

- set correct return type in PhpDoc comment
- makeInstance of GraphicalFunctions to call non-static function
  imageCreateFromFile
- change local variable names to lowerCamelCase

Resolves: #65431
Releases: master
Change-Id: I54182c8ed17423e1cbc1c97e424d92a58dd5e3a9
Reviewed-on: http://review.typo3.org/37404
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>
4 years ago[BUGFIX] Code completion in t3editor behind operator 04/36804/2
Frederic Gaus [Tue, 10 Feb 2015 16:02:07 +0000 (17:02 +0100)]
[BUGFIX] Code completion in t3editor behind operator

Fix code completion in t3editor when substituing a value with
completed code behind a typoscript operator.

Change-Id: Id1fbb99aba850ee0787dba4b8562d0a22c119979
Resolves: #25594
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/36804
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[BUGFIX] Check default storage first to find default upload folder 59/37159/2
Frans Saris [Tue, 24 Feb 2015 10:22:34 +0000 (11:22 +0100)]
[BUGFIX] Check default storage first to find default upload folder

Resolves: #65040
Releases: master, 6.2
Change-Id: I14d6d362db1796c90b03254f6339cb131f152a45
Reviewed-on: http://review.typo3.org/37159
Reviewed-by: Viktor Livakivskyi <invisible.kinder@gmail.com>
Tested-by: Viktor Livakivskyi <invisible.kinder@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[CLEANUP] Deprecate DataHandler property stripslashes_values 16/37316/4
Jigal van Hemert [Fri, 27 Feb 2015 10:11:36 +0000 (11:11 +0100)]
[CLEANUP] Deprecate DataHandler property stripslashes_values

The functionality is unnecessary and it's confusing when using
DataHandler that it must be explicitly set to FALSE to handle properly
prepared data. The only place in the core where it was set to TRUE only
handles integer values.

Releases: master
Resolves: #65381
Change-Id: I968fccc9311bb9ad5f9153217ecf84ff4777df4a
Reviewed-on: http://review.typo3.org/37316
Reviewed-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[TASK] Code cleanup RenameFileController.php 98/37398/2
Michael Oehlhof [Sun, 1 Mar 2015 08:07:26 +0000 (09:07 +0100)]
[TASK] Code cleanup RenameFileController.php

backend/Classes/Controller/File/RenameFileController.php
To get it "green" in PhpStorm several changes are made:

- set correct parameter type in PhpDoc comment
- set correct return type in PhpDoc comment
- add getter for LanguageService
- add getter for DocumentTemplate

Resolves: #65426
Releases: master
Change-Id: I1794d12fed33ab06d460c043632139bc30682a76
Reviewed-on: http://review.typo3.org/37398
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[TASK] Make show_item.php dispatched 86/37186/8
Wouter Wolters [Tue, 24 Feb 2015 20:29:26 +0000 (21:29 +0100)]
[TASK] Make show_item.php dispatched

Use dispatching for show_item.php

Resolves: #65283
Releases: master
Change-Id: If70f513ecc50445ea67b7e68bf7cd1df44cbf013
Reviewed-on: http://review.typo3.org/37186
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] t3editor: Add code autocompletion for listNum 93/36793/4
Frederic Gaus [Tue, 10 Feb 2015 14:21:54 +0000 (15:21 +0100)]
[BUGFIX] t3editor: Add code autocompletion for listNum

Add code autocompletion for property listNum and property
preIfEmptyListNum in t3editor.

Resolves: #25732
Releases: master, 6.2
Change-Id: I13c15e2e262a926e8444d7f50933823b27cdcd9d
Reviewed-on: http://review.typo3.org/36793
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[TASK] Introduced getters for $GLOBALS in ext:info_pagetsconfig 07/37307/4
Michael Oehlhof [Thu, 26 Feb 2015 23:53:11 +0000 (00:53 +0100)]
[TASK] Introduced getters for $GLOBALS in ext:info_pagetsconfig

Resolves: #65376
Releases: master
Change-Id: If06b63748fba645f7bdd4dce3938d313e598a1ae
Reviewed-on: http://review.typo3.org/37307
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Move EXT:cms/layout/res/ files to correct location 93/37293/3
Wouter Wolters [Thu, 26 Feb 2015 21:06:57 +0000 (22:06 +0100)]
[TASK] Move EXT:cms/layout/res/ files to correct location

Resolves: #65296
Releases: master
Change-Id: I08a3c8b6f89c029efacad06e13ea137560370e43
Reviewed-on: http://review.typo3.org/37293
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[TASK] Introduced getters for $GLOBALS in ext:func 06/37306/2
Michael Oehlhof [Thu, 26 Feb 2015 23:34:21 +0000 (00:34 +0100)]
[TASK] Introduced getters for $GLOBALS in ext:func

Resolves: #65375
Releases: master
Change-Id: I880f4f467e3a634cbabd375d13cb0e9f0029107c
Reviewed-on: http://review.typo3.org/37306
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Deprecate alias cObjects COBJ_ARRAY and CASEFUNC 79/37379/2
Benjamin Mack [Sat, 28 Feb 2015 21:02:11 +0000 (22:02 +0100)]
[TASK] Deprecate alias cObjects COBJ_ARRAY and CASEFUNC

The alias cObjects COBJ_ARRAY for COA and CASEFUNC
for CASE are moved to compatibility6.

Resolves: #65422
Change-Id: I419997c3b70d0dfd9e23d9bc67bf909295e4faff
Reviewed-on: http://review.typo3.org/37379
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[TASK] Do not respect autoload info if core repo is composer root 73/37373/2
Helmut Hummel [Sat, 28 Feb 2015 20:33:18 +0000 (21:33 +0100)]
[TASK] Do not respect autoload info if core repo is composer root

Doing a composer install directly in typo3 source has been
a requirement for core development for a while and a convenient shortcut
to quickly set up a TYPO3 installation for executing tests for extensions.

Respecting the class loading information generated in that location is
unfortunate however as it would require editing of the core composer.json
if additional classes from the core should respected.

Instead of respecting this as valid composer autoload file location,
we always fall back to the hard coded and committed class loading info
if no autoload file of a composer distribution call is found.

Releases: master, 6.2
Resolves: #65420
Change-Id: I1953303c6d2b5b221017deb7d2d7a0b43e4d08bf
Reviewed-on: http://review.typo3.org/37373
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[FOLLOWUP][BUGFIX] Allow file:// links in Element Browser 70/37370/2
Nicole Cordes [Sat, 28 Feb 2015 19:19:43 +0000 (20:19 +0100)]
[FOLLOWUP][BUGFIX] Allow file:// links in Element Browser

This patch allows the use of links with file scheme in typolink().

Releases: master, 6.2
Resolves: #65358
Change-Id: I25a8ca88637d1ecab4881127cf2228214b6c954a
Reviewed-on: http://review.typo3.org/37370
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Göran Bodenschatz <coding@46halbe.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[FOLLOWUP][TASK] Move Media cObject and CTypes 77/37377/2
Benjamin Mack [Sat, 28 Feb 2015 20:52:45 +0000 (21:52 +0100)]
[FOLLOWUP][TASK] Move Media cObject and CTypes

Missed some removal of old classes,
also make sure that they are registered for FE and BE.

Resolves: #64719
Releases: master
Change-Id: I416d1a9fa19aacb5950e8f33e0e085b020f4d242
Reviewed-on: http://review.typo3.org/37377
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[BUGFIX] SelectViewHelper must respect option(Value|Label)Field for arrays 09/36909/2
Alexander Schnitzler [Sat, 14 Feb 2015 16:32:28 +0000 (17:32 +0100)]
[BUGFIX] SelectViewHelper must respect option(Value|Label)Field for arrays

The SelectViewHelper tries to resolve the value and label
field as long as options are of type object, i.e. domain
objects but that functionality must also exist for arrays
because their structure is similar to objects.

Example:
<f:form.select
options="{items}"
optionValueField="uid"
optionLabelField="title"
/>

$items = array(
    0 => array(
        'uid' => 1,
        'title' => 'Foo'
    ),
);

Currently the view helper tries to use the array key as
value field (i.e. 0) and the array value (i.e. array) as
label and fails calling htmlspecialchars on the array.

This patch allows values to be arrays themselves and to
be treated like domain objects.

Resolves: #65073
Releases: master, 6.2
Change-Id: Ia803ceb38c1f7488d48863f5a6781b229def50c4
Reviewed-on: http://review.typo3.org/36909
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Andy Grunwald <andygrunwald@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[TASK] Move frontend registration from EXT:cms to EXT:frontend 68/37368/2
Benjamin Mack [Sat, 28 Feb 2015 18:56:46 +0000 (19:56 +0100)]
[TASK] Move frontend registration from EXT:cms to EXT:frontend

EXT:cms still registers logic that is completely placed
inside EXT:frontend (classes, content element wizards, tables, CTypes).

These leftovers are moved to EXT:frontend.

Resolves: #65418
Releases: master
Change-Id: I3919340de863a7b1c07149161d2ce758e42de4db
Reviewed-on: http://review.typo3.org/37368
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] General code cleanup in ext:rsaauth 03/37303/2
Wouter Wolters [Thu, 26 Feb 2015 22:50:46 +0000 (23:50 +0100)]
[TASK] General code cleanup in ext:rsaauth

Resolves: #65374
Releases: master
Change-Id: I64d942327a49d6e5cb6d292ee260b4c37b459374
Reviewed-on: http://review.typo3.org/37303
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Prevent wrong ref_index for fields with soft references 86/37086/2
Nicole Cordes [Thu, 19 Feb 2015 09:55:13 +0000 (10:55 +0100)]
[BUGFIX] Prevent wrong ref_index for fields with soft references

If you add a page link to a field which is defined as softrefs, the
ReferenceIndex creates an index to a FAL record if there exists a file
record with the page id. As file links are always prefixed with 'file:'
this patch adds a proper check before generating a file ref_index.

Because the functional tests of impexp extension still use a hardcoded
file path for the header_link field the patch corrects the value to
refer to a file.

Furthermore if you add a file or folder link, the field is referenced
twice for the FAL record. So we have to suppress the softreference for
those records.

Releases: master, 6.2
Resolves: #60226
Change-Id: I969224e2a291491cb7ece1f61b375071bf0eaebc
Reviewed-on: http://review.typo3.org/37086
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Reviewed-by: Göran Bodenschatz <coding@46halbe.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[TASK] Move media libraries to EXT:mediace 67/37367/2
Benjamin Mack [Sat, 28 Feb 2015 18:48:38 +0000 (19:48 +0100)]
[TASK] Move media libraries to EXT:mediace

Files related solely to the media Content Element
are moved from typo3/contrib/ to the
extension itself.

Resolves: #65417
Releases: master
Change-Id: I8223f204ccf35c4f4399760da90a90d6a7d1e46d
Reviewed-on: http://review.typo3.org/37367
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Add back button from info page to element browser wizard 48/36848/4
Stanislas Rolland [Wed, 11 Feb 2015 19:15:52 +0000 (14:15 -0500)]
[BUGFIX] Add back button from info page to element browser wizard

When using the element browser for image insertion in backend form
or in RTE, there should be some Back button on the Info page to go back
to the wizard form.
Currently, one has to close the window and start over.

Releases: master
Resolves: #55787
Change-Id: I909767feaacf260736707b3b28cb34efe2bf82e6
Reviewed-on: http://review.typo3.org/36848
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Escape regex chars when building sWordRegEx 28/37328/2
Alexander Stehlik [Fri, 27 Feb 2015 19:13:53 +0000 (20:13 +0100)]
[BUGFIX] Escape regex chars when building sWordRegEx

The submitted sword_list GET parameters are parsed through
preg_quote() when loaded into  TSFE->sWordRegEx to prevent
invalid regular expressions.

The initialization is moved to a seperate method
PageGenerator::initializeSearchWordDataInTsfe() and unit
tests are added.

Releases: master, 6.2
Resolves: #41728
Change-Id: Id96fd5e201c25b06001f7e1c7811d6c38239aafa
Reviewed-on: http://review.typo3.org/37328
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Allow file:// links in Element Browser 29/37329/2
Nicole Cordes [Fri, 27 Feb 2015 19:20:36 +0000 (20:20 +0100)]
[BUGFIX] Allow file:// links in Element Browser

Due to FAL checks it's not possible to link to a file:// resource as
external link. This patch checks for correct "file:" prefix for FAL
relations and allows the use of file:// as external link scheme.

Furthermore a Javascript error is resolved which prevents the closing
of the Element Browser in Chrome.

Releases: master, 6.2
Resolves: #65358
Change-Id: I706fd975654bf82a0830d9901f08ae9de7cc49bf
Reviewed-on: http://review.typo3.org/37329
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>