[TASK] Activate travis also for 6.0 branch


Change-Id: I316add5b375527ffd3e91dfec701c781c376d857
Reviewed-on: http://review.typo3.org/16859
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
[BUGFIX] EM does not update extension list

Currently the Extension Manager looks up the field
in the extension repository repository on how many
extensions are in the system.

Since the result of this getter might be a string
or the number in there might not be up to date,
the EM does not update the extension list.

Change that to a count on the extension table,
which is the wanted behavior here.

Fixes: #43460
Releases: 6.0, 6.1

Change-Id: I3917148852995d0853fbca60848881d6aeacc989
Reviewed-on: http://review.typo3.org/16857
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Remove BE login scrollbars

The BE login should not have scrollbars as long as it fits
on the screen.

Fixes: #43330
Releases: 6.0

Change-Id: I959d1951302e1bccb5b549f86fe39a27e4f75794
Reviewed-on: http://review.typo3.org/16781
Reviewed-by: Ingo Pfennigstorf
Tested-by: Ingo Pfennigstorf
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
[BUGFIX] ContentObjectRenderer instantiates old class names

The content object renderer still instantiates content objects with
tslib_content_ prefix. The patch changes this to the namespaced
class. Additionally, all content objects are now tested for successful
instantiation with additional unit tests. While creating those tests
it became obvious that the ShockwaveFlashObject content object was
named incorrectly, so this is adapted along the way.

Change-Id: Ie12474df270b29e8e2d8d8894fa94d24747d94d8
Fixes: #43456
Releases: 6.1, 6.0
Reviewed-on: http://review.typo3.org/16858
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Form values with newlines escaped in email

nl2br() is executed before htmlspecialchars(). Needs to be
the other way round so the <br/> is not encoded as well.

Change-Id: I2f8fab16e6c605928934267fa9193430ef031bd7
Fixes: #32515
Releases: 6.1, 6.0, 4.7, 4.6
Reviewed-on: http://review.typo3.org/16825
Reviewed-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Page module Drag&Drop broken

Patch '[BUGFIX] Remove BE login scrollbars' for issue #43330 broke
the page module drag&drop for unknown reasons. The patch reverts
the change from #43330.

Change-Id: Ifdf637ed1008f3e8b54cd75c990d2cd6530fc847
Fixes: #43466
Related: #43330
Releases: 6.1, 6.0
Reviewed-on: http://review.typo3.org/16882
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] ClassLoader error after installing extension

When e.g. installing tt_news version 3.4.0 (compatible to
TYPO3 CMS 6.0.0) a fatal error will be shown since tt_news
uses a class in ext_tables.php that requires the autoloader's
registry information.

The following happens on installing an extension:
* flushing the caches (including the class loader cache)
* redirecting to list view of extension manager
* triggering shutdown method in ClassLoader
* updating cache if $cacheUpdateRequired is set

This updates the autoloader registry with old data since
the extension's ext_autoload.php has not been considered at
that time.

The issue is fixed by explicitly reloading the ClassLoader
cache after TYPO3_LOADED_EXT has been reloaded.

Change-Id: Ifd2240bf004dbdfd34ded76618a5650f7af08d0e
Fixes: #43381
Releases: 6.0, 6.1
Reviewed-on: http://review.typo3.org/16832
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Error in configuration of scheduler task

the saltedpassword conversion task has been adopted to the namespace
changes. However the HTTP GET variable must not be namespaced.

Change the GET variable to tx_scheduler again.

Fixes: #40706
Releases: 6.0, 6.1

Change-Id: Ic646bd16600d1eb07e78677dd60dd61eb87f6c88
Reviewed-on: http://review.typo3.org/16876
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Mario Rimann
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] ext:form Unit test all filters

Add several tests for each filter of the form extension.

Resolves: #43473
Releases: 6.1, 6.0

Change-Id: I1c5ebf074cb68cbab12b3ea25cd895853284f686
Reviewed-on: http://review.typo3.org/16877
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Installer: Reference images wrong

The reference images for reading PDF and AI images
in the Install Tool > Image Processing are still
using the old TYPO3 logo.

Replace both images with a freshly generated copy.

Note: The images have been generated with
'gdlib_png' => 1,
'im_version_5' => 'gm',

Change-Id: I90069d89abd8afa9d6dd9d572e4888d9b1b33372
Fixes: #42292
Releases: 4.5, 4.6, 4.7, 6.0, 6.1
Reviewed-on: http://review.typo3.org/16850
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Fix Task examples in scheduler

Fix the Task examples in scheduler. The values cannot be saved
due the namespace change

Change-Id: I091c7982fb08add4c4640d2da32c80f38fbad384
Fixes: #43468
Releases: 6.1, 6.0
Reviewed-on: http://review.typo3.org/16899
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Remove typo3.pageModule.js

Remove typo3.pageModule.js as it is not used in the core

Resolves: #43459
Releases: 6.1, 6.0, 4.7, 4.6, 4.5
Change-Id: I5090c29e99a9ca8ce93e3fa47b46f48ed775a875
Reviewed-on: http://review.typo3.org/16867
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] SqlParser: trim all kinds of whitespaces

SqlParser only trimmed semicolon and newlines
from end of string. Make it strip all characters
usually stripped by trim().

Add a unit test to avoid regressions.

Change-Id: I2ddc1fca2ac0db1b6ca0989c93c37ab39e0675d8
Fixes: #43470
Releases: 4.5, 4.6, 4.7, 6.0, 6.1
Reviewed-on: http://review.typo3.org/16875
Tested-by: Stefan Neufeind
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Fix wrong column title in web>list for field colpos

When activating the field colPos for tt_content elements and using
a backend_layout the wrong column titles are shown, without respect
to a backend_layout set.

Resolves: #25113
Releases: 6.1, 6.0, 4.7, 4.6, 4.5

Change-Id: Ie85bf8ba195343faa2c846aa6eb847646510a13e
Reviewed-on: http://review.typo3.org/16838
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Prevent type hinting for user functions in EM configuration

As user functions have their own output the type adding should be
prevented.

Change-Id: Iee9bec99f746dddeb56c3de8be089011fcfa6e30
Fixes: #43321
Releases: 6.0
Reviewed-on: http://review.typo3.org/16774
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Rename bg-image (login/error) to avoid browser caching issues

Once you upgrade to TYPO3 6.0 your browser might still use the old cached
gray gradient background "images/login/background.png" which doesn't fit
the new login screen layout.

By renaming it, we make sure that browser will fetch the new one.

As the file is also being used by the "error page", we move it to a more
generic location (images/backgrounds instead of images/login).

Releases: 6.1, 6.0
Resolves: #43323
Change-Id: I8e5e96112878006a111d1bff37500c699dd279a3
Reviewed-on: http://review.typo3.org/16864
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Wrong category assignment in sys_note

Wrong category assignment in sys_note. For example select the
"to-do" category and save the note. After saving the category is
called "Template"

Change-Id: I41e2c9e84e3cc8cf8bdcfddb416a7b87b8ce01a7
Fixes: #43433
Releases: 6.1, 6.0
Reviewed-on: http://review.typo3.org/16908
Reviewed-by: Stefan Neufeind
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
[BUGFIX] Misspelled functionname in GeneralUtility

static protected function geImplementationForClass()

Change-Id: Ia6334e533794bbb26c85bce8fb810f03f0d722b4
Fixes: #43510
Releases: 6.0, 6.1
Reviewed-on: http://review.typo3.org/16929
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Errorpage background color (t3skin)

The login screen gradient and background color was changed.
This background image is shared with the error pages.
Now the error page background color must also be adapted.

Also see
EXT: t3skin/stylesheets/visual/login_screen.css
	#typo3-index-php

Change-Id: I9d8acbf97be6affd66e03e29f520e75098756c53
Fixes: #43518
Releases: 6.0, 6.1
Reviewed-on: http://review.typo3.org/16936
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[FEATURE] Expand db function searchQuery to handle AND and OR constraints

The database function searchQuery can build queries for multiple search
words. But those words are expected to be all in the field. Sometimes it
is useful to use an OR constraint. So this function should be extended to
have another parameter to do so.

Change-Id: Ie2d83d5875ce5de6680a4a45b43995be4b48debc
Resolves: #43234
Releases: 6.1
Reviewed-on: http://review.typo3.org/16686
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert