Packages/TYPO3.CMS.git
6 years ago[FEATURE] Refactor ElementInfo / show_item 69/21469/5
Felix Kopp [Sun, 16 Jun 2013 21:08:22 +0000 (23:08 +0200)]
[FEATURE] Refactor ElementInfo / show_item

Splits up functionality to represent sections.

Cleanup for html base: h1/paddings/p.

First step for MVC structuring; Render = View.

Brings visual improvements:
- human readable headline: table+title
- increase preview image dimensions
- download link to reference absolute file
- reference list table styling

Implementing folders' info is not in scope.

Change-Id: Ia411404a99df2d07dcce2d959ae324ec39966e04
Resolves: #49164
Releases: 6.2
Reviewed-on: https://review.typo3.org/21469
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Cleanup ext:recordlist 88/21788/2
Wouter Wolters [Tue, 2 Jul 2013 10:03:28 +0000 (12:03 +0200)]
[TASK] Cleanup ext:recordlist

* Remove ext_autoload.php
* Refactor ext_tables.php
* Move code from mod1/index.php to Classes/RecordList.php

Change-Id: I251ff7631042487aa8d85c1b2483be8db1fb9992
Resolves: #49578
Releases: 6.2
Reviewed-on: https://review.typo3.org/21788
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Cleanup ext:lowlevel 74/21774/3
Wouter Wolters [Mon, 1 Jul 2013 16:29:28 +0000 (18:29 +0200)]
[TASK] Cleanup ext:lowlevel

* Fix path to commands in ext_localconf.php
* Remove require_once calls
* Move code from dbint/index.php to constructor
* Move code from config/index.php to constructor

Change-Id: I288834f66427c2a11836c87b973c92f9621c9c3f
Resolves: #49552
Releases: 6.2
Reviewed-on: https://review.typo3.org/21774
Reviewed-by: Alexander Opitz
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] EM: Scheduler task does not persist to database 60/21760/4
Alexander Opitz [Mon, 1 Jul 2013 11:47:42 +0000 (13:47 +0200)]
[BUGFIX] EM: Scheduler task does not persist to database

The scheduler task for updating extension list of the extension
manager does not persist his data to database. As Scheduler is no
extbase extension and the task is no extbase task this peristence
isn't called at end of script.

Change-Id: I75629874f698f45f1b7dab47636857b5865e8d24
Resolves: #49528
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/21760
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Cleanup ext:setup and ext:tstemplate 91/21791/3
Wouter Wolters [Tue, 2 Jul 2013 10:26:28 +0000 (12:26 +0200)]
[TASK] Cleanup ext:setup and ext:tstemplate

* Remove require_once calls
* Move language inclusion to init() for ext:setup

Change-Id: Icdb07a7170e40d57a93fcdc69e788081a47cac6c
Resolves: #49580
Releases: 6.2
Reviewed-on: https://review.typo3.org/21791
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Wrong top/bottom margin rendering in CSC 55/20155/3
Patrick Broens [Thu, 25 Apr 2013 12:38:50 +0000 (14:38 +0200)]
[BUGFIX] Wrong top/bottom margin rendering in CSC

When a top or bottom margin has been chosen together with section_frame
"no frame" -> 66, no entry is made in the temporary stylesheet.

This patch solves this issue by changing the stdWrap variable to
classStdWrap for the method renderSpace().

Change-Id: Iee6c98537e2a4a8c917dfd450289f26ce50e3ca9
Fixes: #47403
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/20155
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years ago[BUGFIX] Check for imageftbbox() existence before usage 83/21783/3
Christian Kuhn [Tue, 2 Jul 2013 08:39:05 +0000 (10:39 +0200)]
[BUGFIX] Check for imageftbbox() existence before usage

Install tool system environment check calls imageftbbox() without
checking if the function exists and may fatal. The patch adds a
function_exists() and introduces an error status message.

Resolves: #49458
Releases: 6.2

Change-Id: Ibb3be59d6506632db18d68e3394fd5a4b048da81
Reviewed-on: https://review.typo3.org/21783
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Alexander Schnitzler
Tested-by: Alexander Schnitzler
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Support @Flow\Inject annotations in Extbase 32/21732/3
Alexander Schnitzler [Sat, 29 Jun 2013 16:44:00 +0000 (18:44 +0200)]
[FEATURE] Support @Flow\Inject annotations in Extbase

This patch provides support for the TYPO3.Flow syntax
of property injections:

/**
 * @var Vendor\Ext\FooClass
 * @Flow\Inject
 */
protected $vendorExtFooClass;

Resolves: #49497
Releases: 6.2
Change-Id: Ib5f0ff5e83580cc9c327b7320f49c5a892240eb5
Reviewed-on: https://review.typo3.org/21732
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[TASK] Cleanup ext:opendocs 72/21772/2
Wouter Wolters [Mon, 1 Jul 2013 15:50:50 +0000 (17:50 +0200)]
[TASK] Cleanup ext:opendocs

* Remove old file from before namespacing
* Fix imagepath in CSS
* Strict comparison for TYPO3_MODE check

Change-Id: I5d6242f4032d83627284f793e9e79ee13d6de8ae
Resolves: #49550
Releases: 6.2
Reviewed-on: https://review.typo3.org/21772
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[TASK] Move JavaScript files to EXT: backend 21/21721/2
Felix Kopp [Sat, 29 Jun 2013 10:20:24 +0000 (12:20 +0200)]
[TASK] Move JavaScript files to EXT: backend

This patch moves few JavaScript files to EXT: backend.

Still few JavaScript files remain in /typo3 and /js folder.
Those JavaScript files are used within the backend and
therefore should be moved to EXT: backend.

Change-Id: I62b9861d66f219f34e53afa5dd7a1d9c20073a98
Resolves: #49507
Releases: 6.2
Reviewed-on: https://review.typo3.org/21721
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[TASK] Crisp up navigation frames borders 25/21125/3
Felix Kopp [Mon, 27 May 2013 23:37:56 +0000 (01:37 +0200)]
[TASK] Crisp up navigation frames borders

Since UXW 2009 module navigation and tree frame have
soft border / gradient shadow on their right.

On or path to flat backend:
bring super crisp borders.

Also removes vertical gradient behind module menu bar.

Change-Id: I826df77447d782c85f1c08440632ee438c3c37b0
Resolves: #48586
Releases: 6.2
Reviewed-on: https://review.typo3.org/21125
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] LocalConfiguration cleanup breaks install process 65/21765/2
Christian Kuhn [Mon, 1 Jul 2013 12:25:49 +0000 (14:25 +0200)]
[BUGFIX] LocalConfiguration cleanup breaks install process

The method to kick out obsolete settings from LocalConfiguration
in the install tool step installer is called too early and the file
may not exist already. Move the method call below step one of the
installation process that creates the file.

Change-Id: If3d824b6488c7cebfdef2a5b122aea9d47424983
Resolves: #49540
Related: #49299
Reviewed-on: https://review.typo3.org/21765
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Increase the width of the content element of type Plain HTML 23/20923/3
Philipp Gampe [Sun, 19 May 2013 15:55:35 +0000 (17:55 +0200)]
[BUGFIX] Increase the width of the content element of type Plain HTML

The current editor field for content elements of type HTML is for too
small. Without t3editor it is only 5 lines in height and with t3editor
it is limited to 200px which is not much more.

Increase the default size for tt_content.bodytext to 80x15 and set the
height for t3editor fields to 60% as done in setup.

Resolves: #43112
Releases: 6.2, 6.1, 6.0
Change-Id: Icc27cb013cc3009dace5dedef2f9515af1975ec0
Reviewed-on: https://review.typo3.org/20923
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years ago[BUGFIX] Do not show System Extensions Wizard when done 09/21509/5
Helmut Hummel [Sun, 30 Jun 2013 14:34:52 +0000 (16:34 +0200)]
[BUGFIX] Do not show System Extensions Wizard when done

The check if the wizard has been executed before and
includes all available system extensions have been installed
is wrong. Rather than casting to bool, we should
check if the difference between "seen extensions" and
available system extensions is an empty array.

This correctly shows the wizard when not finished and
hides it when finished.

Resolves: #49256
Releases: 6.2, 6.1, 6.0
Change-Id: I7bd655b2b7eeaaa5b1dd91e80564f150b1d0d038
Reviewed-on: https://review.typo3.org/21509
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] EM: TimeSinceLastUpdateViewHelper fatals if never updated 27/21427/4
Alexander Opitz [Fri, 14 Jun 2013 13:22:08 +0000 (15:22 +0200)]
[BUGFIX] EM: TimeSinceLastUpdateViewHelper fatals if never updated

If the repository was never updated (or the update failed) last_update
has the value of zero in the database.
Then NULL->format in the TimeSinceLastUpdateViewHelper leads to the fatal
error.

Resolves: #47726
Releases: 6.2, 6.1, 6.0
Change-Id: Ia41c50f2037fb1c7ef935a8855a200b303347383
Reviewed-on: https://review.typo3.org/21427
Reviewed-by: Philipp Gampe
Reviewed-by: Susanne Moog
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[TASK] Improve error message in NotFoundView to identify source 28/21728/3
Claus Due [Sat, 29 Jun 2013 12:43:54 +0000 (14:43 +0200)]
[TASK] Improve error message in NotFoundView to identify source

The error message before this change would only report the
action name, after this change it will reflect the controller and
extension name as well.

Set to apply to all maintained version since this changes no functions
whatsoever - it only improves error feedback.

Resolves: #49519
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I61dc32a4542b8664ca9443414278e983bc181c4a
Reviewed-on: https://review.typo3.org/21728
Reviewed-by: Cedric Ziel
Tested-by: Cedric Ziel
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Wrong placement of image caption in text with image 84/20884/3
Philipp Gampe [Fri, 17 May 2013 19:02:10 +0000 (21:02 +0200)]
[BUGFIX] Wrong placement of image caption in text with image

If you omit the first caption, then the following captions are shifted
into this position, meaning the the captions are off by the number of
empty captions in front.

This happens because the captions are stored with a newline "\n" as
separator which is removed by a trim = 1.

Remove this trim from tt_content.image.20.caption.1.1 as the trimming of
the actual content happens with
tt_content.image.20.caption.1.stdWrap.trim = 1.

The change also has a few cleanups that popped up in PhpStorm while
investigation the issue.

Resolves: #48354
Releases: 6.2, 6.1, 6.0
Change-Id: I4523fa40cbf991b3941d18145a09e72d5e5254d3
Reviewed-on: https://review.typo3.org/20884
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[FEATURE] Debug register and page with TypoScript 95/21695/3
Lars Peipmann [Thu, 27 Jun 2013 21:11:43 +0000 (23:11 +0200)]
[FEATURE] Debug register and page with TypoScript

Adds the possibility to show the content of
$GLOBALS['TSFE']->register and $GLOBALS['TSFE']->page
with the debug option in getText.

Example:
10 = TEXT
10.data = debug:register
20 = TEXT
20.data = debug:page

Resolves: #49478
Releases: 6.2
Change-Id: I79b118fd2450193a6573569f7ec99b8159f973bc
Reviewed-on: https://review.typo3.org/21695
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[BUGFIX] Fix localization of the BE user module 70/21670/4
Wouter Wolters [Wed, 26 Jun 2013 18:04:39 +0000 (20:04 +0200)]
[BUGFIX] Fix localization of the BE user module

Fix some hardcoded labels by replacing them with
f:translate tags.

Change-Id: Ic75f7bd021ff8353b7709906859d2c02eb452b23
Resolves: #49402
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/21670
Reviewed-by: Chris topher
Tested-by: Chris topher
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[BUGFIX] Rootline utility must respect pageOverlayFields 96/20796/8
Stefan Galinski [Wed, 15 May 2013 14:18:05 +0000 (16:18 +0200)]
[BUGFIX] Rootline utility must respect pageOverlayFields

The rootline calculation always overlays all fields
from the pages table. This causes trouble in e.g. the
case that you want to reuse media images from the default
language in other languages. In the previous implementation
(pre 6.x) only the overlay fields from the
 $GLOBALS['TYPO3_CONF_VARS']['FE']['pageOverlayFields']
setting were overlaid.

Fixes: #48224
Releases: 6.2, 6.1, 6.0

Change-Id: I6f5a10150c916df24542ee83e33663a27bdb593f
Reviewed-on: https://review.typo3.org/20796
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[BUGFIX] ActionController must use namespaced object view pattern 05/21705/3
Alexander Schnitzler [Fri, 28 Jun 2013 12:39:48 +0000 (14:39 +0200)]
[BUGFIX] ActionController must use namespaced object view pattern

The ActionController still uses the old pattern like
Tx_@extension_View_@controller_@action@format for resolving
custom view objects. When using a namespaced extension it
must be possible to also use namespaced view objects.
Therefore a new view object pattern has to be introduced:
@vendor\@extension\View\@controller\@action@format

Releases: 6.2, 6.1, 6.0
Resolves: #47609
Change-Id: Iedc6120469f2277b482c5e1c40b89790404e9bbe
Reviewed-on: https://review.typo3.org/21705
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Fix property mapping of checkbox arrays 85/21685/4
Helmut Hummel [Thu, 27 Jun 2013 18:09:37 +0000 (20:09 +0200)]
[BUGFIX] Fix property mapping of checkbox arrays

If multiple checkboxes are rendered but none of it is
selected, an exception is thrown as the value of the hidden field,
that is submitted is a string.

This must be the case because we need to be able to clear out
selected checkboxes and cannot craft a hidden field that will
be translated to a GET/POST arument which is an empty array.

Because of that the ArrayConverter must be able to convert
empty strings to an empty array, just like the "old"
property mapper did.

Change-Id: I115831014caca4868d1f421eb968e01178e1169b
Resolves: #47832
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/21685
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] stdWrap for special.value applied twice 88/14588/5
Markus Klein [Fri, 14 Sep 2012 07:28:59 +0000 (09:28 +0200)]
[BUGFIX] stdWrap for special.value applied twice

In HMENU the stdWrap for special.value is applied twice.
This patches removes the superfluous call
in HierarchicalMenuContentObject.php.

Furthermore it also moves the stdWrap for excludeUidList
to AbstractMenuContentObject.php for consistency reasons.

Change-Id: Ia6594a76602acdab8b39d50803595343e65f6d02
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Fixes: #40855
Reviewed-on: https://review.typo3.org/14588
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[BUGFIX] ShortcutVH must not ignore options.enableBookmarks 81/21681/2
Georg Ringer [Thu, 27 Jun 2013 08:41:41 +0000 (10:41 +0200)]
[BUGFIX] ShortcutVH must not ignore options.enableBookmarks

Shortcuts/Bookmarks can be disabled for users by using
TsConfig options.enableBookmarks = 0.

This setting must be checked in the ViewHelper too.

Change-Id: I5f53b9cb2863ac8a9e7501e63299482567509f2b
Resolves: #49220
Releases: 6.2
Reviewed-on: https://review.typo3.org/21681
Reviewed-by: Eric Chavaillaz
Tested-by: Eric Chavaillaz
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[BUGFIX] Fix localization of the language module 71/21671/2
Wouter Wolters [Wed, 26 Jun 2013 18:10:51 +0000 (20:10 +0200)]
[BUGFIX] Fix localization of the language module

The table headers are not translatable yet.
Replace them with f:translate tags.

Change-Id: Ibe9fc989eba193f3401f40b1b7f5f8be081189ef
Resolves: #49401
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/21671
Reviewed-by: Chris topher
Tested-by: Chris topher
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
6 years ago[BUGFIX] Fix one language label in the extension manager 58/21658/6
Krzysztof Adaczmyk [Wed, 26 Jun 2013 09:09:24 +0000 (11:09 +0200)]
[BUGFIX] Fix one language label in the extension manager

Make hardcoded "Search:" label translatable.

Change-Id: I006f6b98f45f0d2e82c02c1b40ed549a15ac93fd
Resolves: #49404
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/21658
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Chris topher
Tested-by: Chris topher
Reviewed-by: Markus Klein
Tested-by: Markus Klein
6 years ago[BUGFIX] Wrong result on unequal globalVar condition 61/21661/2
Marc Bastian Heinrichs [Wed, 26 Jun 2013 13:01:31 +0000 (15:01 +0200)]
[BUGFIX] Wrong result on unequal globalVar condition

A TypoScript condition like "[globalVar = LIT:10 != 10]"
returns a true value instead of the expected false value.
The reason for that is a superfluous trinity (type safe)
comparator.

Change-Id: Ib9f468da0a129f08d5d071a4f97bd09904f0c91b
Fixes: #45165
Releases: 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/21661
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[TASK] Backend user management: add delete button 91/21591/7
Krzysztof Adamczyk [Sat, 22 Jun 2013 13:54:44 +0000 (15:54 +0200)]
[TASK] Backend user management: add delete button

Add remove button in the backend users list with
a confirmation dialog.

Resolves: #43053
Releases: 6.2
Change-Id: I5bffc18c4aabdcc597094f4b173c187e8c8ccac2
Reviewed-on: https://review.typo3.org/21591
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
6 years ago[BUGFIX] Fix spelling issue in Install Tool 48/21648/2
Wouter Wolters [Mon, 24 Jun 2013 21:56:49 +0000 (23:56 +0200)]
[BUGFIX] Fix spelling issue in Install Tool

compatibilyt -> compatibility

Change-Id: I3bed3fa4b0477870f393498a44c5cb766d1b7c33
Resolves: #49393
Releases: 6.2, 6.1
Reviewed-on: https://review.typo3.org/21648
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years agoActivate tests for PHP 5.5 on travis 35/21635/2
Helmut Hummel [Mon, 24 Jun 2013 14:34:18 +0000 (16:34 +0200)]
Activate tests for PHP 5.5 on travis

Change-Id: Iff803f329275f17921b26d88eb46d7b323b7c7ee
Reviewed-on: https://review.typo3.org/21635
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[FEATURE] Add task to auto update languages 77/20277/5
Wouter Wolters [Sun, 28 Apr 2013 20:28:23 +0000 (22:28 +0200)]
[FEATURE] Add task to auto update languages

Add a command controller to update the translation
of extensions for selected languages.

It is possible to override the selected languages
to have the full control over the languages and how many
there will be updated. This setting allow to set a comma
separated list of locales.

Change-Id: I9b0b5e1ab1aeffce30db45bb68fdd1421cf68bd2
Resolves: #43703
Releases: 6.2
Reviewed-on: https://review.typo3.org/20277
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Eric Chavaillaz
Tested-by: Eric Chavaillaz
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Stefan Neufeind
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Add unit tests for "outdated" extensions 46/21646/2
Jigal van Hemert [Sun, 23 Jun 2013 18:50:20 +0000 (20:50 +0200)]
[TASK] Add unit tests for "outdated" extensions

Follow up with unit tests for the extended reports.

Change-Id: I097d1241722fdaf57a4a57b6d90f32359e8168f5
Resolves: #49350
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/21646
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[TASK] Add support for "outdated" extensions 20/21620/2
Jigal van Hemert [Sun, 23 Jun 2013 18:50:20 +0000 (20:50 +0200)]
[TASK] Add support for "outdated" extensions

Extension Manager displays installed extensions which are marked as
"outdated" with different styling. Reports module also checks for
installed and available "outdated" extensions.

Change-Id: I3050f3f7142e4153954f1b7f76b4bf64a3066223
Resolves: #49350
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/21620
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] Reports Module links to the standalone install tool 16/21616/4
Wouter Wolters [Sun, 23 Jun 2013 14:55:27 +0000 (16:55 +0200)]
[BUGFIX] Reports Module links to the standalone install tool

Link to the backend module instead of the standalone version.

Change-Id: Icf32b91c1fe6edb2b3fa313c865441a1edc3a731
Resolves: #49353
Related: #49162
Releases: 6.2
Reviewed-on: https://review.typo3.org/21616
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
6 years ago[TASK] Adapt install tool mail functions to use Swiftmailer 22/21622/4
Anja Leichsenring [Sun, 23 Jun 2013 20:20:08 +0000 (22:20 +0200)]
[TASK] Adapt install tool mail functions to use Swiftmailer

The mail sending functions in install tool use PHPs mail() function.
They should use instead the Swiftmailer.

Releases: 6.2
Resolves: #49366
Change-Id: I0d44150a37284804344793bfc34a89847b3ddb4b
Reviewed-on: https://review.typo3.org/21622
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[TASK] Remove Environment Check checkMailCapabilities 07/21607/3
Anja Leichsenring [Sun, 23 Jun 2013 12:09:20 +0000 (14:09 +0200)]
[TASK] Remove Environment Check checkMailCapabilities

The check is removed due to providing sometimes inaccurate error status
based on php.ini settings.
For now the real mail test in Test Setup got some hints in case of
missing test email. Later on the auto configuration tool (that not yet
exists) will take over from here.

Resolves: #49357
Releases: 6.2, 6.1
Change-Id: I290cca3fa4653b3a5310b9f27c2b125d9bfeb460
Reviewed-on: https://review.typo3.org/21607
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
6 years ago[BUGFIX] Call to undefined method ElementConditionMatcher::setRecord() 05/21605/3
Frans Saris [Sun, 23 Jun 2013 11:16:55 +0000 (13:16 +0200)]
[BUGFIX] Call to undefined method ElementConditionMatcher::setRecord()

Wrong usage of the new ElementConditionMatcher which results in a
fatal error.

Releases: 6.1, 6,2
Resolves: #49354
Change-Id: Ic460bb5c9ce81daa2f828866615bf2703ee56fd5
Reviewed-on: https://review.typo3.org/21605
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Reports module link to Install Tool section is incorrect 13/21613/2
Wouter Wolters [Sun, 23 Jun 2013 13:41:17 +0000 (15:41 +0200)]
[BUGFIX] Reports module link to Install Tool section is incorrect

Change the module name in the link and add a new label to
mention the new section name Important Actions.

Change-Id: I75b0698efd759d5a2f679ecceba059f8a8975876
Resolves: #49352
Related: #49162
Releases: 6.2
Reviewed-on: https://review.typo3.org/21613
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] Record history shows two back buttons in docheader 10/21610/2
Wouter Wolters [Sun, 23 Jun 2013 12:46:46 +0000 (14:46 +0200)]
[BUGFIX] Record history shows two back buttons in docheader

The back-button is loaded twice in the record history module.
Also we add back the CSH which was missing too.

Change-Id: Ib509661bdb814f27ebff633d08ef85ada0b8e8ec
Resolves: #49338
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/21610
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Invisible icon blocks mousefocus of non-required inputfields 92/21592/5
Zbigniew Jacko [Sat, 22 Jun 2013 14:05:35 +0000 (16:05 +0200)]
[BUGFIX] Invisible icon blocks mousefocus of non-required inputfields

Set z-index for clear.gif, so a backend user can select the text
inside input fields. Now it's also possible to set focus on the
input field by clicking at the beginning of it.

Fixes: #34042
Releases: 6.0, 6.1, 6.2
Change-Id: Icacbaf99d46da979a4eae715f97108df39e0728e
Reviewed-on: https://review.typo3.org/21592
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[FEATURE] Exclude doktypes from pagetree 20/21520/4
Soren Malling [Thu, 20 Jun 2013 08:32:39 +0000 (10:32 +0200)]
[FEATURE] Exclude doktypes from pagetree

Exclude specific doktypes from the pagetree by setting
a configuration in a user/group TSconfig

Example: Exclude "Folder" pages
  options.pageTree.excludeDoktypes = 254

Example: Exclude "Folder" and "Standard" pages
  options.pageTree.excludeDoktypes = 254,1

Resolves: #49279
Releases: 6.2
Change-Id: I806c9892b07382ce424f656234b6992b349885f1
Reviewed-on: https://review.typo3.org/21520
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[TASK] Install: Update TTFdpi test description text 04/21604/2
Markus Klein [Sun, 23 Jun 2013 10:42:29 +0000 (12:42 +0200)]
[TASK] Install: Update TTFdpi test description text

Resolves: #49267
Releases: 6.2
Change-Id: Iffe09f072bda483ffa5f5be766ff0e84c3e025de
Reviewed-on: https://review.typo3.org/21604
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
6 years ago[FEATURE] Hook for tsfe::checkEnableFields 06/21306/4
Andre Hähnel [Mon, 10 Jun 2013 08:36:13 +0000 (10:36 +0200)]
[FEATURE] Hook for tsfe::checkEnableFields

This hook for tsfe::checkEnableFields allows extensions to provide
additional rules for page visibility when parent pages have
"extend to subpages" activated.

Change-Id: I6ef68802058863c9629333b59c0806dd2ab6c471
Resolves: #48981
Releases: 6.2
Reviewed-on: https://review.typo3.org/21306
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Remove constant PATH_t3lib 99/21599/2
Anja Leichsenring [Sun, 23 Jun 2013 07:05:12 +0000 (09:05 +0200)]
[TASK] Remove constant PATH_t3lib

The directory is gone, so the constant is not needed anymore.

Resolves: #49348
Relates: #49342
Releases: 6.2
Change-Id: I0ecec0dfd985b534e3357b175d6dd1e00cc0e4bd
Reviewed-on: https://review.typo3.org/21599
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Remove last bits of forceCharset handling 84/21584/4
Christian Kuhn [Fri, 21 Jun 2013 21:55:24 +0000 (23:55 +0200)]
[TASK] Remove last bits of forceCharset handling

Core version 4.5 introduced UTF8 only for charset conversion, and
accepted a fallback under special circumstances. The fallback was
removed with 4.7.
This setting is now finally fully removed from the configuration
and not taken into account anymore.

Change-Id: Ic347c3decb985ec63eb499d5d75827fc7f1f7a8a
Resolves: #49336
Related: #49299
Related: #34092
Releases: 6.2
Reviewed-on: https://review.typo3.org/21584
Reviewed-by: Markus Klein
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Skip link validation of RTE filelink 34/21534/4
Visay Keo [Thu, 20 Jun 2013 12:01:35 +0000 (19:01 +0700)]
[BUGFIX] Skip link validation of RTE filelink

When a text is linked to a file using RTE link wizard,
linkvalidator will detect it as internal link.
The validation check for internal page when it is a file will always fail.

This patch just skip validation if it finds a link to the file.

TODO:
* Proper validation of the file need to be applied.

Resolves: #49286
Releases: 6.0, 6.1, 6.2
Change-Id: I1b4901e2ac311ae93442fef044e4f7d7ae415753
Reviewed-on: https://review.typo3.org/21534
Reviewed-by: Visay Keo
Tested-by: Visay Keo
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
6 years ago[FEATURE] MathUtility: Add canBeInterpretedAsFloat 47/21447/2
Stefan Neufeind [Sat, 15 Jun 2013 01:38:21 +0000 (03:38 +0200)]
[FEATURE] MathUtility: Add canBeInterpretedAsFloat

Like canBeInterpretedAsInteger but for float.

Change-Id: I9a44f2505f3702ef754a45f876a8197d2b6e2afb
Resolves: #49144
Releases: 6.2
Reviewed-on: https://review.typo3.org/21447
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Adapt INSTALL.txt to removed t3lib 98/21598/2
Felix Kopp [Sat, 22 Jun 2013 22:49:53 +0000 (00:49 +0200)]
[TASK] Adapt INSTALL.txt to removed t3lib

There is no need to add symlink for t3lib.
We can strip the line from INSTALL help file.

Change-Id: Id5bb17412dc041a50d452734ab6031a7c1b041e2
Resolves: #49346
Releases: 6.2
Reviewed-on: https://review.typo3.org/21598
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Increase size of be_groups table subgroup field 93/21593/5
Krzysztof Adamczyk [Sat, 22 Jun 2013 14:38:56 +0000 (16:38 +0200)]
[FEATURE] Increase size of be_groups table subgroup field

Change field subgroup from varchar(255) to text to allow
storing more subgroups.

Resolves: #36505
Releases: 6.2
Change-Id: Iec8cbc3fa83d03a891d4854fcf67c2418ef39d27
Reviewed-on: https://review.typo3.org/21593
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
6 years ago[FEATURE] Scheduler: Add delete button to edit view 60/20860/4
Philipp Gampe [Fri, 17 May 2013 04:45:06 +0000 (06:45 +0200)]
[FEATURE] Scheduler: Add delete button to edit view

The task edit view misses a delete button similar to the tceforms edit
view.
Add this button for the edit action.

Group the buttons to distinguish close from save and save from delete.

Resolves: #48054
Releases: 6.2
Change-Id: I79997357f1069c53398f813fcd3b66f809fc059e
Reviewed-on: https://review.typo3.org/20860
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] ViewHelper to display file sizes 36/21436/3
Wouter Wolters [Fri, 14 Jun 2013 18:04:11 +0000 (20:04 +0200)]
[FEATURE] ViewHelper to display file sizes

Simple ViewHelper that converts the size of a file to a human
readable string.

Usage:
{fileSize -> f:format.bytes()}

Change-Id: Iffb155e209fe0d2e89aae6d93706e994b4b0b8e7
Resolves: #49139
Related: #49128
Releases: 6.2
Reviewed-on: https://review.typo3.org/21436
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Zbigniew Jacko
Tested-by: Zbigniew Jacko
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Enable chaining of set* funtions 21/21121/5
Daniel Hürtgen [Mon, 29 Apr 2013 08:05:11 +0000 (10:05 +0200)]
[FEATURE] Enable chaining of set* funtions

Applies chaining possibility for set*
handling methods within querysettings api.

Make sure method chaining like
$query->getQuerySettings()->setRespectStoragePage(FALSE)
                          ->setRespectSysLanguage(FALSE)
                          ->setIgnoreEnableFields(TRUE)
                          ->setIncludeDeleted(TRUE);
is possible for all methods.

Releases: 6.2
Resolves: #47684
Change-Id: I3ce6eb3b100cf7762d885ad28f118a17f3268977
Reviewed-on: https://review.typo3.org/21121
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Move ExtJS- & JavaScript from t3lib 95/21595/4
Felix Kopp [Sat, 22 Jun 2013 17:24:40 +0000 (19:24 +0200)]
[TASK] Move ExtJS- & JavaScript from t3lib

Moves JavaScript files and their corresponding includes.
As a result the t3lib directory is removed completely.

Change-Id: I77938f43f15e8293c1439a55b2b7716d764d339b
Resolves: #49342
Releases: 6.2
Reviewed-on: https://review.typo3.org/21595
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Fix two typos in one install tool language label 96/21596/2
Anja Leichsenring [Sat, 22 Jun 2013 20:38:34 +0000 (22:38 +0200)]
[BUGFIX] Fix two typos in one install tool language label

Releases: 6.2, 6.1
Resolves: #49345
Change-Id: I05b62e01e0115e854eb6202a4198ac7ec888f843
Reviewed-on: https://review.typo3.org/21596
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Update URL to the exception collection 86/21586/2
Piotr Molewski [Sat, 22 Jun 2013 12:20:57 +0000 (14:20 +0200)]
[TASK] Update URL to the exception collection

Updated TYPO3_URL_EXCEPTION constant
from http://typo3.org/go/exception/v4/
to http://typo3.org/go/exception/CMS/

Resolves: #49066
Releases: 6.0, 6.1, 6.2
Change-Id: Ibfb36aab1a09a016cda2b378a396390573ff1c6d
Reviewed-on: https://review.typo3.org/21586
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Chris topher
Tested-by: Chris topher
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[TASK] Remove dummy files from ext:wizard_crpages and wizard_sortpages 65/20765/4
Christian Kuhn [Sat, 22 Jun 2013 12:20:57 +0000 (14:20 +0200)]
[TASK] Remove dummy files from ext:wizard_crpages and wizard_sortpages

* Remove dummy files
* Rename old class names to the new ones

Change-Id: I77ea8d6a48d10bc56031231a00999655cbecb487
Resolves: #48155
Related: #47756
Releases: 6.2
Reviewed-on: https://review.typo3.org/20765
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Page module edit icon for language overlay 99/13599/8
Felix Kopp [Mon, 20 May 2013 14:41:11 +0000 (16:41 +0200)]
[TASK] Page module edit icon for language overlay

Page modules brings multiple views to work with multi-language
content: columns / language / quick. In columns mode a single
translation can be fixated by "language" drop down.

Adds ability to edit language overlay record in column view
with only one language.

Change-Id: I04594461cad4c8e4a0a296111c1a4c40e3263b4c
Resolves: #39107
Releases: 6.2
Reviewed-on: https://review.typo3.org/13599
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[TASK] Remove class.* from /typo3/ 84/21284/6
Felix Kopp [Fri, 7 Jun 2013 12:38:19 +0000 (14:38 +0200)]
[TASK] Remove class.* from /typo3/

Removes last few class file wrappers from /typo3/ folder.
Those files were renamed and moved during namespacing.

Few references are adapted in comments only.
- Please also see removed require_once statement.

Change-Id: I25a33aea5adde12ce1bca35e1473ccc1d6ed41b0
Resolves: #48942
Releases: 6.2
Reviewed-on: https://review.typo3.org/21284
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Show unit "Bytes" for file size of Installer test images 83/21583/2
Markus Klein [Fri, 21 Jun 2013 21:26:50 +0000 (23:26 +0200)]
[BUGFIX] Show unit "Bytes" for file size of Installer test images

Resolves: #49269
Releases: 6.2
Change-Id: I7f14e04c6bfe538336e1a3dc27c448eeea7a19d0
Reviewed-on: https://review.typo3.org/21583
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Remove last bits of gdlib_2 setting 82/21582/2
Christian Kuhn [Fri, 21 Jun 2013 20:57:40 +0000 (22:57 +0200)]
[TASK] Remove last bits of gdlib_2 setting

Support for gdlib version 1 was removed with core version 4.4.
The patch removes the last code fragments where the old GFX/gdlib_2
setting was used and activates a key in ext:install to remove
the setting from LocalConfiguration.

Change-Id: Icec65f13468306b80a575996a23cdbbbd21d715c
Resolves: #49335
Related: #22687
Related: #49299
Releases: 6.2
Reviewed-on: https://review.typo3.org/21582
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Markus Klein
Reviewed-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Tested-by: Markus Klein
6 years ago[TASK] Remove last bit of multiplyDBfieldSize handling 81/21581/2
Christian Kuhn [Fri, 21 Jun 2013 20:33:05 +0000 (22:33 +0200)]
[TASK] Remove last bit of multiplyDBfieldSize handling

multiplyDBfieldSize was used in the past to extend the size of
database fields to cope with UTF8 content if the database did
not support it. The setting was deprecated for a long time already
and removed from DefaultConfiguration with version 6.0.
The patch removes still existing handler code from ext:install.
The setting is also removed from LocalConfiguration if found.

Change-Id: Ia36b8c05cab8814c91ffa0d8e8afcd4de5c7060b
Resolves: #49334
Related: #35923
Related: #49299
Releases: 6.2
Reviewed-on: https://review.typo3.org/21581
Reviewed-by: Philipp Gampe
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Markus Klein
Tested-by: Markus Klein
6 years ago[TASK] Cleanup openid extension 35/21035/3
Helmut Hummel [Fri, 24 May 2013 21:42:49 +0000 (23:42 +0200)]
[TASK] Cleanup openid extension

Cleanup remaining CGL issues after namespace change.
Implement some best practices like strict string comparison
or dependency injection pattern where appropriate.

Last but not least make use of use statements for frequently
used class names.

Resolves: #48522
Releases: 6.2
Change-Id: I1f03d2fdf53ea7be42455663b36af56bc479fa21
Reviewed-on: https://review.typo3.org/21035
Reviewed-by: Wouter Wolters
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Install tool: Remove obsolete keys from LocalConfiguration 53/21553/3
Christian Kuhn [Thu, 20 Jun 2013 21:59:11 +0000 (23:59 +0200)]
[FEATURE] Install tool: Remove obsolete keys from LocalConfiguration

Some configuration settings are obsolete, but they have never been
actively removed from LocalConfiguration. The patch introduces a
list of obsolete configuration options (like SYS/extCache) to the
install tool step controller and silently removes those settings
from LocalConfiguration to keep it clean. This also obsoletes
some deprecation code within core bootstrap.

Change-Id: Id422801f5bbedc0f444a0d905bdbb7d736fd82e8
Resolves: #49299
Related: #49162
Releases: 6.2
Reviewed-on: https://review.typo3.org/21553
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Flexform field is available but not passed to sub-function calls 74/21574/5
Claus Due [Fri, 21 Jun 2013 18:47:45 +0000 (20:47 +0200)]
[BUGFIX] Flexform field is available but not passed to sub-function calls

This change fixes three occurrences of calls to FlexForm DS
processing methods which accept a $fieldName argument but in
the current state of the code is given an empty string instead
of the $field variable which exists in all three contexts and
contains the proper value.

Passing the field name along to these sub functions allows hook
subscribers to use the field name - among other things. In any
case this fixes an unexpected behaviour turning it into an
expected one.

Resolves: #49331
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I078b0734f3bfa74a9acd61773c5c380f091286f8
Reviewed-on: https://review.typo3.org/21574
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Follow-up: Add stdWrap for _DEFAULT_PI_VARS 63/21563/4
Philipp Gampe [Fri, 21 Jun 2013 13:09:37 +0000 (15:09 +0200)]
[BUGFIX] Follow-up: Add stdWrap for _DEFAULT_PI_VARS

Fix a broken unit test: Creating default object from empty value

Resolves: #49314
Related: #22045
Releases: 6.2
Change-Id: Iad2582f1949202441086c1d38605be18ac03a20c
Reviewed-on: https://review.typo3.org/21563
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Illegal string offset warning in AjaxLoginHandler 69/21569/2
Markus Klein [Fri, 21 Jun 2013 17:40:21 +0000 (19:40 +0200)]
[BUGFIX] Illegal string offset warning in AjaxLoginHandler

After logout $GLOBALS['BE_USER']->user['uid'] is checked.
This is done without isset() which triggers a warning, as ->user is unset,
if the logout was successful.

Resolves: #49327
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: Ia13af7f2a75090050113ff6a5d388b790df0bab1
Reviewed-on: https://review.typo3.org/21569
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Frontend shows HTML tags in messages 51/21551/4
Anja Leichsenring [Thu, 20 Jun 2013 20:04:40 +0000 (22:04 +0200)]
[BUGFIX] Frontend shows HTML tags in messages

Hardcoded linebreak tags in StatusMessages were not resolved to
linebreaks, but included into the output.
Replacing the <br /> tags with the nl command using the nl2br
viewhelper on the message output solves the problem.

Releases: 6.2
Resolves: #49266
Change-Id: I07f6dd389df1ce3eedb2b2f957da91f14b8f566f
Reviewed-on: https://review.typo3.org/21551
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Misleading label in beuser module 66/21566/2
Markus Klein [Fri, 21 Jun 2013 17:24:08 +0000 (19:24 +0200)]
[BUGFIX] Misleading label in beuser module

Change the wording of "loginBefore" label from
"Login before"
to
"Logged in before".

This should clarify the meaning of this filter.

Resolves: #49318
Release: 6.2, 6.1, 6.0
Change-Id: I1aa15c054630c3f01859fb9ef2a40f3ca0ffad2b
Reviewed-on: https://review.typo3.org/21566
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Add stdWrap for _DEFAULT_PI_VARS 83/14283/14
Stefan Neufeind [Sun, 2 Sep 2012 10:00:54 +0000 (12:00 +0200)]
[FEATURE] Add stdWrap for _DEFAULT_PI_VARS

This feature allows multilevel variables as well.

Example:
plugin.tt_news._DEFAULT_PI_VARS {
  year.stdWrap.data = date:Y
}

Change-Id: I49ae6b420f98cf959f95289c99c49d7636a4ba52
Resolves: #22045
Releases: 6.2
Reviewed-on: https://review.typo3.org/14283
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
6 years ago[BUGFIX] Generation of class information fails with DateTime 57/21557/2
Alexander Schnitzler [Fri, 21 Jun 2013 09:34:14 +0000 (11:34 +0200)]
[BUGFIX] Generation of class information fails with DateTime

If using the class info factory to create a class information
for DateTime an Exception occurs as the reflection api handles
DateTime wrong when reolving constructor arguments. Therefore a
custom class info has to be created.

Releases: 6.2
Resolves: #49307
Change-Id: Ia463776ff992eb0c91bca84710f934ee282355e5
Reviewed-on: https://review.typo3.org/21557
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[FEATURE] Follow up: Add autofocus attribute to BE login 55/21555/2
Markus Klein [Thu, 20 Jun 2013 23:10:42 +0000 (01:10 +0200)]
[FEATURE] Follow up: Add autofocus attribute to BE login

Adding the HTML5 autofocus attribute to the
backend login box's username field.

Additionally adds the attribute to t3skin too.

Resolves: #49228
Releases: 6.2
Change-Id: Ie59a89ae4b4a7d490f1355ce867daa40ea7b2d54
Reviewed-on: https://review.typo3.org/21555
Reviewed-by: Markus Klein
Tested-by: Markus Klein
6 years ago[FEATURE] Install tool: Check xdebug.max_nesting_level 49/21549/3
Christian Kuhn [Thu, 20 Jun 2013 18:40:31 +0000 (20:40 +0200)]
[FEATURE] Install tool: Check xdebug.max_nesting_level

If PHP xdebug extension is loaded, TYPO3 CMS can fail with the
xdebug.max_nesting_level default value of 100. This is easily
triggered by fluid, and since we have fluid in the install tool
we need a check that gives an administrator a nice warning if the
nesting level is not set high enough for our demands.

Change-Id: I4812e7f47b04219d380d7454d51b2e6b74436b6d
Resolves: #49298
Related: #49162
Releases: 6.2
Reviewed-on: https://review.typo3.org/21549
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Cleanup wizard initializing 93/21293/8
Wouter Wolters [Sat, 8 Jun 2013 15:51:41 +0000 (17:51 +0200)]
[TASK] Cleanup wizard initializing

The patch cleans up the initialization of the various
wizards we have in TYPO3 CMS. Things that are improved:

* Add constructor to all controllers
* Move language inclusion to constructor
* Move init() and sometimes printContent() to the constructor
* Make init() protected
* Add controller to $GLOBALS['SOBE']

Change-Id: I9783e347a3bf983fae8b6bbbbc972ecf56f31f83
Resolves: #48963
Releases: 6.2
Reviewed-on: https://review.typo3.org/21293
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Failing FAL unit test 41/21541/2
Christian Kuhn [Thu, 20 Jun 2013 16:47:39 +0000 (18:47 +0200)]
[BUGFIX] Failing FAL unit test

Using 0042 as create mask for files in unit test from issue #49029
triggers a warning and lets the test fail when the test file is
removed again. Relaxing the create mask to 0642 solves the issue.

Change-Id: I1bfdb344df5160505d853a725584c2a98f30494b
Resolves: #49296
Related: #49029
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/21541
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Fix JS error with Context Sensitive Help 18/21518/2
Michel Nederlof [Wed, 19 Jun 2013 21:47:02 +0000 (23:47 +0200)]
[BUGFIX] Fix JS error with Context Sensitive Help

Using the edit form for records in a new pop window leads
to a JS error, as "top" is not defined in the new window.

Resolves: #26588
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I2eab83a2c9df2fed13fd5bcc1c829bf4f2b9a055
Reviewed-on: https://review.typo3.org/21518
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Correct permissions of new files 36/21336/7
Michael Knabe [Tue, 11 Jun 2013 12:26:35 +0000 (14:26 +0200)]
[BUGFIX] Correct permissions of new files

Set the correct file permissions of files created with
FAL according to the fileCreateMask.

Change-Id: I4d6562f926cd79a98c3d6b0545a14915c1d7a766
Resolves: #49029
Releases: 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/21336
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Install tool: Warning in upgrade wizard 16/21516/2
Christian Kuhn [Wed, 19 Jun 2013 20:48:23 +0000 (22:48 +0200)]
[BUGFIX] Install tool: Warning in upgrade wizard

The 'silent' cache framework table upgrade throws a warning that
explode() expects a string but an array is given in
SqlSchemaMigration getStatementArray(). The upgrade wizard uses
a wrong API call, since this method is already called within
getExpectedDatabaseSchema() of the helper class.

Change-Id: I6cdde020265e730faa07a25ebda41917672ccea7
Resolves: #49265
Related: #49162
Releases: 6.2
Reviewed-on: https://review.typo3.org/21516
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Use userInput instead of own broken method 11/21511/4
Alexander Opitz [Wed, 19 Jun 2013 17:14:46 +0000 (19:14 +0200)]
[BUGFIX] Use userInput instead of own broken method

The user data from form post submit is broken after install tool
rewrite. Instead of using own method to gather data changed to
the userInput variable that is set by the calling action.

Resolves: #49260
Related: #49162
Related: #49258
Releases: 6.2
Change-Id: I2ce0b5e4bfcb0ef013039297a9186f0f59413b31
Reviewed-on: https://review.typo3.org/21511
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Update Wizard user input not taken into account 10/21510/2
Alexander Opitz [Wed, 19 Jun 2013 17:01:13 +0000 (19:01 +0200)]
[BUGFIX] Update Wizard user input not taken into account

After reworking the install tool, the form element identifier was broken.

Resolves: #49258
Releases: 6.2
Change-Id: Ia9bae8c23345502ddbd4dd398f523af07dbfa5e1
Reviewed-on: https://review.typo3.org/21510
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Install tool: Code optimization in update wizard action 15/21515/2
Christian Kuhn [Wed, 19 Jun 2013 20:11:04 +0000 (22:11 +0200)]
[TASK] Install tool: Code optimization in update wizard action

An if with only a 'throw Exception' call in it breaks code execution
and acts as a guard clause. The code below does not need to be in
an else case.

Change-Id: Ib24ed4bee06763fb46145b815a0b6f3fdf7bafa6
Resolves: #49263
Related: #49162
Releases: 6.2
Reviewed-on: https://review.typo3.org/21515
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Filelist: Only show paste buttons if clipObj is set 31/21131/3
Philipp Gampe [Tue, 28 May 2013 13:14:19 +0000 (15:14 +0200)]
[BUGFIX] Filelist: Only show paste buttons if clipObj is set

During introduction of the paste buttons for empty folders, I assumed
that the clipboard object is always set.
This might not be the case, e.g. in EXT:sphinx 4.0.0.

Wrap the paste button code with a check if the clibObj is set.

We can not set the clibObj here, because it depends on variables of the
calling class.

Resolves: #48603
Releases: 6.2, 6.1, 6.0
Change-Id: I2c7c322c9cb994cfdfa1511c96e8c7da143dc77a
Reviewed-on: https://review.typo3.org/21131
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Remove duplicate vera.ttf from ext:core 12/21512/2
Christian Kuhn [Wed, 19 Jun 2013 19:05:43 +0000 (21:05 +0200)]
[TASK] Remove duplicate vera.ttf from ext:core

vera.ttf is a font only used in the install tool, it was duplicated
to ext:install with the rewrite patch, but forgotten to be removed
from ext:core along the way. The file is removed from ext:core now
to finish the process.

Change-Id: Ibeb8a459655d51b0d5fd5269060c0a36b47b85fc
Resolves: #49261
Related: #49162
Releases: 6.2
Reviewed-on: https://review.typo3.org/21512
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[!!!][TASK] Rewrite install tool 68/21468/16
Christian Kuhn [Sun, 16 Jun 2013 13:06:31 +0000 (15:06 +0200)]
[!!!][TASK] Rewrite install tool

Main features:
* The god class "Installer" is gone and split into two major parts.
A step controller handling major upgrade and install tasks, and a
tool controller handling the known install tool actions.

* The step controller is designed to be always called prior to the
tool controller, if a step needs execution, it comes up, otherwise
the tool controller will be executed.

* The entry point typo3/install/index.php is gone and substituted
by typo3/sysext/install/Start/Install.php. The file contains a
lengthy comment to document the main request flow and used GET/POST
parameters.

* Most parts of the install tool do not bootstrap the whole system
anymore, in general only the base bootstrap, dbal (if loaded),
extbase and fluid ext_localconf.php are loaded. This makes sure
the install tool can not fatal if some extensions ext_localconf
is broken. The whole install tool runs without any caching, so a fatal
in some cache file can not kill the install tool execution.

* Installing TYPO3 CMS on a dbal enabled system is now handled in
the step installer directly to make the according code easier to
understand.

* Rendering is done with a simplified fluid standalone view.

* All install tool forms are CSRF protected.

* A new and fully unit tested class structure is introduced, designed
to take care of the basic file and folder structure of the instance.
It is used during installation to create the needed structure and
can be called in the install tool to compare and fix the current
instance structure with the expected structure. In effect, the
"dummy" package is obsolete. An instance can be created by just
linking index.php, typo3_src/ and typo3/ within the document root,
the installer takes care of creating everything else.

* The installation procedure is released from the package handling.
Packages will be handled by the extension manager after initial
installation with another patch.

Loose ends:
* The whole package handling needs to be implemented in the
extension manager.

* Not all upgrade wizards work, this code area needs some love.

* A 'core' auto updater could be implemented now. A GSoC project
is currently running to realize this.

* The SQL schema migration API is a mess and should be refactored.
For now, another helper class is introduced to encapsulate some
of the nasty details.

* An auto configuration and configuration suggestion system is
planned and needs to be done. It should suggest best configuration
options in the install tool, and should auto configure the system
during installation in the last install step.

* If the backend or frontend fatals due to some extension that
triggers a fatal in ext_localconf or ext_tables (for example
due to a require() of a no longer existing file), a small helper
action in the install tool could find those extensions and suggest
to unload them.

Change-Id: Ice3248caa903449ad6a83ea4f234c7bd125bdb66
Resolves: #49162
Releases: 6.2
Reviewed-on: https://review.typo3.org/21468
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Tested-by: Alexander Opitz
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Add autofocus attribute to BE login 00/21500/2
Markus Klein [Tue, 18 Jun 2013 20:32:33 +0000 (22:32 +0200)]
[FEATURE] Add autofocus attribute to BE login

Adding the HTML5 autofocus attribute to the
backend login box's username field.

Resolves: #49228
Releases: 6.2
Change-Id: I5a00d5ec260ade81fb83553a50358cddf95eaebb
Reviewed-on: https://review.typo3.org/21500
Reviewed-by: Eric Chavaillaz
Tested-by: Eric Chavaillaz
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
6 years ago[BUGFIX] Raw search can't search inside the pages table 02/21502/2
Stefan Galinski [Wed, 19 Jun 2013 10:26:06 +0000 (12:26 +0200)]
[BUGFIX] Raw search can't search inside the pages table

It's impossible to search the pages table, because a field
definition is wrongly named in the pages TCA.

Fixes: #49242
Releases: 6.2, 6.1, 6.0
Change-Id: I0d1b9eeb4ffdfbff456dfc6249cb23853cb9a357
Reviewed-on: https://review.typo3.org/21502
Reviewed-by: Markus Klein
Tested-by: Markus Klein
6 years ago[BUGFIX] Use correct path in belog modules 80/21480/4
Georg Ringer [Mon, 17 Jun 2013 12:57:47 +0000 (14:57 +0200)]
[BUGFIX] Use correct path in belog modules

Belog module links to history view but path is wrong in
the info module.

Change-Id: I3e45218b2bd8b7d69d75459f41c37512de3dd23f
Releases: 6.2, 6.1, 6.0
Resolves: #49091
Reviewed-on: https://review.typo3.org/21480
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[BUGFIX] Nested FLUIDTEMPLATE doesn't work anymore 85/20585/6
Stefan Galinski [Tue, 7 May 2013 14:53:07 +0000 (16:53 +0200)]
[BUGFIX] Nested FLUIDTEMPLATE doesn't work anymore

It's impossible since version 6.0 to render a
FLUIDTEMPLATE content object inside a
FLUIDTEMPLATE, because the internal fluid view
instance of the parent FLUIDTEMPLATE will be
overridden by the children FLUIDTEMPLATE.

Fixes: #48021
Releases: 6.2, 6.1, 6.0
Change-Id: I776a3b0a388bb47d2995041679e39ec7442459c2
Reviewed-on: https://review.typo3.org/20585
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[TASK] Cleanup ChangeLog 23/21423/2
Michael Stucki [Fri, 14 Jun 2013 12:33:28 +0000 (14:33 +0200)]
[TASK] Cleanup ChangeLog

Remove duplicate lines from ChangeLog
Follow-up to commit:db9efd32b4dfad2952f2725b53fb5e4522740b74

Change-Id: I62b32f9b0b37c3977bc61b2874e37cde289846df
Resolves: #49110
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/21423
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[TASK] Remove unused icons from /gfx 04/21404/2
Felix Kopp [Thu, 13 Jun 2013 20:15:15 +0000 (22:15 +0200)]
[TASK] Remove unused icons from /gfx

Folder /gfx holds image that are used over the backend.
EXT: t3skin brings an override declaration and own icons.

Over the time lots of icons were added and overworked but
no icons were removed - although many should be erased.

Removes unused icons from the main /gfx folder.

Resolves: #49112
Releases: 6.2
Change-Id: Id5e00dd3daec3129caae58ed1bccfd51fb9f610b
Reviewed-on: https://review.typo3.org/21404
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[TASK] Add labels to form fields of admin panel 72/21372/2
Georg Ringer [Wed, 12 Jun 2013 17:51:43 +0000 (19:51 +0200)]
[TASK] Add labels to form fields of admin panel

Labels make it much easier to click check boxes and to
reach fields.

Change-Id: Ib9c42f4859a4fc4e30fc7f03dd525795d0824449
Resolves: #49073
Reviewed-on: https://review.typo3.org/21372
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[BUGFIX] Fix reverse order handling of MediaProvider 71/21471/4
Alexander Opitz [Mon, 17 Jun 2013 07:37:14 +0000 (09:37 +0200)]
[BUGFIX] Fix reverse order handling of MediaProvider

Fixing the variable used to test for valid providers in reverse order.

Resolves: #49136
Releases: 6.2, 6.1, 6.0
Change-Id: Ia80366150b853138fc41c09e59df993e1540b230
Reviewed-on: https://review.typo3.org/21471
Reviewed-by: Markus Klein
Tested-by: Markus Klein
6 years ago[FEATURE] Allow custom record list in element browser 47/21347/5
Alexander Stehlik [Tue, 11 Jun 2013 17:58:26 +0000 (19:58 +0200)]
[FEATURE] Allow custom record list in element browser

Introduces a class variable and a setter for a custom record list
instance in the element browser that can be used to override the
default element browser recordlist.

Resolves: #49037
Releases: 6.2
Change-Id: I41fd3a33f70e72aedef9362ee6bf67de9dcde8ac
Reviewed-on: https://review.typo3.org/21347
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[TASK] Move video-js to contrib 51/21451/3
Felix Kopp [Sat, 15 Jun 2013 13:11:58 +0000 (15:11 +0200)]
[TASK] Move video-js to contrib

To resolve /t3lib few more files should be moved:
Moves video-js styles controls to contrib.

Change-Id: I648d3bdd17ed0414e6ef1041f3630c343c73747d
Resolves: #49152
Releases: 6.2
Reviewed-on: https://review.typo3.org/21451
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Allow non-Admins to delete Records finally 80/10480/6
dkd-egerer Sascha Egerer [Tue, 27 Nov 2012 00:42:59 +0000 (01:42 +0100)]
[BUGFIX] Allow non-Admins to delete Records finally

This patch adds the posibility for non Admins to delete
records finally in the recycler.

Change-Id: I1fda11d621403758f4d78b7fa8f730d7b47d79a7
Fixes: #34156
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/10480
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Illegal string offset 'translations' in DatabaseRecordList 79/19779/3
Philipp Gampe [Wed, 10 Apr 2013 15:41:53 +0000 (17:41 +0200)]
[BUGFIX] Illegal string offset 'translations' in DatabaseRecordList

The return value of TranslationConfigurationProvider->translationInfo
normally is an array, but it is a string in case of an error.
Move the line below the is_array() check, because it is only needed
inside.

Fixes: #47103
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: Ia781eae987d9295bc2b299f83c087669c96dfd00
Reviewed-on: https://review.typo3.org/19779
Reviewed-by: Dmitry Dulepov
Reviewed-by: Alexander Opitz
Reviewed-by: Heiko Kromm
Tested-by: Heiko Kromm
Reviewed-by: Markus Klein
Tested-by: Markus Klein
6 years ago[TASK] Move express-install to contrib (flowplayer) 50/21450/2
Felix Kopp [Sat, 15 Jun 2013 12:58:44 +0000 (14:58 +0200)]
[TASK] Move express-install to contrib (flowplayer)

To resolve /t3lib few more files should be moved:
Moves flowplayer styles for express-install to contrib.

Change-Id: I8d987774c9ff2c9ab13f86ab6086c1d7fb608afa
Resolves: #49151
Releases: 6.2
Reviewed-on: https://review.typo3.org/21450
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Markus Klein
Tested-by: Markus Klein
6 years ago[BUGFIX] Fix template rootline for translated pages 74/21174/4
Alexander Stehlik [Fri, 31 May 2013 15:07:00 +0000 (17:07 +0200)]
[BUGFIX] Fix template rootline for translated pages

The TypoScript template rootline in the Frontend will not be
changed any more if a different sys_language_uid is used.

The data of the current rootLine will be overwritten with the
translated rootLine data.

Resolves: #48300
Releases: 6.2, 6.1
Change-Id: I38bd4a6f3d3c2f15712003b1d1a1334284ebe9b0
Reviewed-on: https://review.typo3.org/21174
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] compressJs returns wrong filenames 45/20845/3
Philipp Gampe [Thu, 16 May 2013 18:23:00 +0000 (20:23 +0200)]
[BUGFIX] compressJs returns wrong filenames

If you enable
    config.concatenateJs = 1
    config.compressJs = 1
then the uncompressed version of the file is linked.

This does not change much, because compression is disabled and the files
will always be uncompressed, however the right link should be generated.

The allows extension to override the compress method and implement
compression without fixing the rest of the code.

The bug is a regression introduced with: #27694 (4.6).

Return the correct filename by overriding the filename with the returned
value of compressJsFile.

Resolves: #48213
Related: #27694
Releases: 6.2, 6.1, 6.0, 4.7
Change-Id: I1f65576db8084b54f9e5a13947ced258eef893d7
Reviewed-on: https://review.typo3.org/20845
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[BUGFIX] Insert rows only once in exec_INSERTmultipleRows 85/21085/2
Jigal van Hemert [Wed, 15 May 2013 19:07:50 +0000 (21:07 +0200)]
[BUGFIX] Insert rows only once in exec_INSERTmultipleRows

For native handler types multiple rows can be inserted using the mysql
INSERTmultipleRows API call. When another handler was used, the operation
was done twice, due to a missing else after the native handler condition.
This resulted in two database records for every INSERT statement.

The patch adds the missing else branch for the condition, preventing
the second run that was only meant to handle non-native handler types.

Change-Id: Ibab98a0c73b379bac063c8d1c19e30e93f38faf4
Resolves: #48220
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Related: #34327
Reviewed-on: https://review.typo3.org/21085
Tested-by: Alexander Opitz
Reviewed-by: Alexander Opitz
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[TASK] Cleanup ChangeLog 03/21403/2
Ernesto Baschny [Thu, 13 Jun 2013 21:10:27 +0000 (23:10 +0200)]
[TASK] Cleanup ChangeLog

Remove mistakenly introduced submodule history in 6.2.0alpha1
release.

Resolves: #49110
Releases: 6.2
Change-Id: I00cb44c5ff718a2bf53f61c5ce7cdf778c783325
Reviewed-on: https://review.typo3.org/21403
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny