[FEATURE] Add several testcases for validators

This adds several testcases for the provided validators.

Change-Id: Ie7a056cadaf767dbc306a980561c15e70d9698d8
Resolves: #35333
Releases: 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/10067
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
[BUGFIX] FAL: Default storage is created multiple times

The "auto-creation" of the first file storage should only be
triggered once. Currently this happens whenever there is no
record for a user (thus a loop).

By checking the DB table for any record, which is done once
before the actual DB query, the auto-creation is really done
just a single time - when sys_file_storage is empty.

Change-Id: I6cd84bb68af15caffa3185f0a8541dcb30eecdaf
Releases: 6.0
Resolves: #39785
Reviewed-on: http://review.typo3.org/15451
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
[BUGFIX] Element Browser uses non-namespaced code

Followup to #36817, where an old patch was moved to
the new namespaced code, but without refactoring the
code itself (my fault). The change fixes this.

Change-Id: I9e25a86af68dace1f605d6dfd6bf917350939f31
Releases: 6.0
Resolves: #41834
Reviewed-on: http://review.typo3.org/15482
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
[BUGFIX] StorageRepository should ignore not found driver class

If a driver doesn't exist anymore, the storage repository shouldn't load
it.

Most drivers will be implemented by extensions but if this extension is
deactived, the StorageRepository still tries to load this driver which is
not possible anymore and this ends in an uncaught exception in BE.
Therefore it should be checked if an implementation is available.

Change-Id: Ib71bef82a53096746cff4bd9577d6adbeae90ac5
Fixes: #39789
Releases: 6.0
Reviewed-on: http://review.typo3.org/13643
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
[TASK] CleanUp AjaxIDs and registration in ConfigDefault

The registration of AjaxIds referred to old file names and
some of the AjaxIds have been replaced by a namespaced
class name in JavaScript which resulted in a failing
FlashUploader.

Change-Id: Id6f4943adc2b520817660ae85a656b06985e1674
Releases: 6.0
Fixes: #41829
Reviewed-on: http://review.typo3.org/15477
Reviewed-by: Wouter Wolters
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
[TASK] File: add getNameWithoutExtension() method

There is currently no way to get the filename without its extension,
e.g. to create a new name for a file converted to another format. This
commits adds such a method, together with tests and a fix for names like
somefile.tar.gz.

Resolves: #41768
Releases: 6.0
Change-Id: Iad924d1be4100cf798e36f25a22a32b221b8aef7
Reviewed-on: http://review.typo3.org/15427
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
[TASK] FAL: Hard-coded flexform on storage creation

The StorageRepository creates FlexForm not through
the API calls, but with a static string. The attached
patch changes this.

Change-Id: Iba4fb6bb534c58755b10d69ee31b8bee57c45f1f
Resolves: #41716
Releases: 6.0
Reviewed-on: http://review.typo3.org/15444
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
[BUGFIX] FollowUp Tests to #41768

The UnitTest has not been completely adapted.
Fix the tests.

Change-Id: I00e14a4c9d94a8549eb889bb1def8050d4d8736e
Releases: 6.0
Fixes: #41768
Reviewed-on: http://review.typo3.org/15487
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
[BUGFIX] Fatal error when copying file or folder

When copying a file or folder, a fatal error is thrown if anything went
wrong. This happens because the error message was written to the log,
but the ExtendedFileUtility class also tried to output a (wrong) success
message containing the (not existing) target object.

Change-Id: If825e241ad60b7a2a65bd0826133005a3ba91091
Resolves: #41292
Releases: 6.0
Reviewed-on: http://review.typo3.org/15258
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
[BUGFIX] sort versions of ext in descending order

Versions of the same extension are sorted in descending order in the
PHP code, but the initial jQuery sorting must match that order.

Change-Id: Ic508fdf36b43e6209c83ca61bcf18917ae5ec3f3
Fixes: #41518
Releases: 6.0
Reviewed-on: http://review.typo3.org/15336
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Split jQuery and DataTables into separate files

This patch removes the combined jQuery file and adds two separate files
for the main jQuery library and the plugin DataTables.

Fixes: #40498
Releases: 6.0

Change-Id: I9b75597c7183e1a620a036420f2c3841f7a62ec5
Reviewed-on: http://review.typo3.org/15500
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Merge ext:integrity with ext:lowlevel

System extension integrity was created with the namespace switch and
contains the cli classes from ext:lowlevel. It turns out that this
change was not so useful, so for now the cli classes are moved back
to ext:lowlevel.

Resolves: #40950
Releases: 6.0

Change-Id: I22020736e91d7d0079ecf47e9b7d30a758f98e4c
Reviewed-on: http://review.typo3.org/14954
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Fix SQL error in Livesearch with empty TCA sortby setting

If a searchable TCA field has a sortby setting which contains an empty
string or NULL, then BE Livesearch creates a query with one or more
'ORDER BY' without value, generating an SQL error. This fixes that.

Change-Id: I63aabfe860cd37645d9ac2905ed020d572629a1b
Fixes: #40816
Releases: 6.0
Reviewed-on: http://review.typo3.org/14526
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
[BUGFIX] Rename ExtdirectTreeDataProvide to ExtdirectTreeDataProvider

During the namespace change a class named ExtdirectTreeDataProvide
had been introduced into the backend system extension. The more
appropriate name whould be ExtdirectTreeDataProvider.

The patch adds the missing r to filename, classname and all references
in code and comments.

Fixes: #41866
Relates: #41052
Releases: 6.0

Change-Id: If048682a058ae899711361e731c4a83b02eee933
Reviewed-on: http://review.typo3.org/15503
Reviewed-by: Wouter Wolters
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
[BUGFIX] LocalDriver can be instantiated without basePath

The Local driver of FAL does not check if its configuration contains a
base path, leading to some hard-to-track errors when no path is given.

Resolves: #40505
Releases: 6.0
Change-Id: Id90a005f6cc9c167e3ab8df06a896cd078867e0a
Reviewed-on: http://review.typo3.org/14258
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
[TASK] Fix travis.yml to start memcache daemon

Change-Id: Iba6de218fdc221fc996d69637711afbc68a22b28
Reviewed-on: http://review.typo3.org/15519
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
[BUGFIX] Add pid column to extension manager tables

Extbase relies on the pid column to exist for all
persistent domain models.

Add this column and at the same time ignore it
in created queries.

Change-Id: I2b23f44685b7a6712663458b6a776ec7870cf802
Resolves: #41917
Releases: 6.0
Reviewed-on: http://review.typo3.org/15520
Reviewed-by: Oliver Hader
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
[TASK] Disable Memcache tests for now

Travis Ci changed the infrastructure, leading
to failures in our memcache tests.

Disable the tests until we figured out the exact problem

Change-Id: I641af27a2253b8abe478dd3b97635a222a713e6e
Reviewed-on: http://review.typo3.org/15521
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
[BUGFIX] Support 'input' type in ext_conf_template.txt

Some older extensions use the type 'input' instead of 'string' in
ext_conf_template.txt . Although it was never documented the TS parser
which was used by the extension manager in previous version did support
this by using the default text field for it.
To improve backwards compatibility the undocumented type is added to the
new EM.

Change-Id: Ibed468b1363f2178c6c22dc0210c816739c8800a
Fixes: #41281
Releases: 6.0
Reviewed-on: http://review.typo3.org/15379
Reviewed-by: Philipp Gampe
Reviewed-by: Mattias Nilsson
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
add memcache tests again

Change-Id: Ibc10cfab71b8ecdf3a3cb6abf5c757f5da0e2d52