[FEATURE] Reorder configuration and loading mechanisms for requireJS

Change-Id: I4d9dc03ca1384d64284ae947a27572ea855784f0
[FEATURE] Add wincache as a cache backend

Add wincache as a cache backend for TYPO3 installations
running on a windows machine

Change-Id: I3089939f87d2597001120d9d3831f4e9ddb913bd
Resolves: #35818
Releases: 6.0
Reviewed-on: http://review.typo3.org/10204
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[FEATURE] EXT: viewpage open in blank window

Adds link to backend module docheader within EXT: viewpage
to open the current page in a new window.

Change-Id: I89c4a6f38bfb61fd9d5456e463840e7c9ecc5c9a
Fixes: #38918
Releases: 6.0
Reviewed-on: http://review.typo3.org/12777
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Warning on fetching undefined category definitions

Calling t3lib_category_Registry::getDatabaseTableDefinition()
for an extension that does not register any categories, will
cause a PHP Warning.

Change-Id: Id44022bcdca4484a2798777bcb9139fe070935e0
Fixes: #39155
Releases: 6.0
Reviewed-on: http://review.typo3.org/12968
Reviewed-by: Oliver Klee
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Generate random key is not updating in install tool

The button to generate a new random key is not updating
anymore due to the refactoring of the localconf.php file

Change-Id: I07b8aeb9921b6e0ecabf3cad5333ace02afaa1ae
Fixes: #39306
Releases: 6.0
Reviewed-on: http://review.typo3.org/13086
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] RTE: Installation of AllowClipboardHelper is not triggered

Problem: When using Firefox, if a copy/cut/paste button is hit and
access to the clipboard is not allowed, installation of Firefox add-on
AllowClipboardHelper should be triggered.

Solution: Report the exception raised by Firefox and take action.

Change-Id: I5eff1f4fba496a5b984db8e26e307f585ac0d985
Resolves: #39338
Releases: 4.7, 6.0
Reviewed-on: http://review.typo3.org/13214
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
[BUGFIX] Broken quoting in arrayExport

Tick (') must be quoted to \'

Change-Id: I006173f0d5e1e17de1ff8801c71c6167fd96087d
Resolves: #39346
Releases: 6.0
Reviewed-on: http://review.typo3.org/13225
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
[TASK] Make some final classes non-final to allow mocking

We need to be able to subclass some classes for the unit tests:

a) classes that need to be used with getMock
b) classes that we subclass to overwrite static methods

Change-Id: Ib31bb18a1d90144699bc9c30311f26a2dbb42a7b
Releases: 6.0
Resolves: #39353
Reviewed-on: http://review.typo3.org/13321
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
[TASK] Add more unit tests for t3lib_tree_pagetree_DataProvider

Clean up the class a bit and add unit tests for getRoot().

Change-Id: I9a60c9531bca8683708ddfb7e898926fb2c7d5c5
Releases: 6.0
Resolves: #39348
Reviewed-on: http://review.typo3.org/13320
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
[!!!][BUGFIX] *_user table password field is to short

When using the hash-algorithm "blowfish" in saltedpasswords
the hash is 60 chars long - therefore the field length has
been set to 60 characters in SQL, too.
Actually when converting old MD5 passwords to salted
copies, an additional identifer char (M or C) is added to
the hash which results in a 61 character hash.

The result is that login is not possible anymore after
converting the passwords like suggested by the reports
module - the database field has to be increased.

To be safe and because varchar only takes as much space
as really needed increase the field length to 100 chars.

Change-Id: I70646fe7939d41f1a7056376a85c506d10148480
Fixes: #39356
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/13324
Reviewed-by: Oliver Klee
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
[TASK] Move buttons in user setting into advanced functions

The buttons "clear configuration" and "reset
temporary data" are advanced functions and should
therefore be moved to the advanced tab.

Additionally the buttons divert the attention, so that
it is very hard to notice the save button on the
top.

The patch moves the buttons to the advanced tab and
additionally aligns the select box(es) with the
input and button fields.

Change-Id: I5c5552d3a20b68e458b6523bfb5e939000cd4f9a
Related: #632
Releases: 6.0
Resolves: #38523
Reviewed-on: http://review.typo3.org/12504
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Improve sys_note code

Code of sys_note can be highly improved:
* Use fluid
* Move xlf files to Resources
* Add kind-of repository

Change-Id: Ia89acb29ddbc0919901570f6bdd1575376863c4a
Resolves: #39221
Releases: 6.0
Reviewed-on: http://review.typo3.org/13021
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Admin fields not shown in setup module

The admin functions are currently not shown in User->setup module.
Affected is for example the 'Display debug messages in a new
browser window' checkbox, that is never shown if an admin is logged in.

This regression was introduced by a wrong refactoring in issue #39164,
the class prefix patch. Looking at the code before and after, the
regression is obvious.

Change-Id: Ic892c830f1ca0cfaccf3e53648d405b35d463377
Releases: 6.0
Related: #39164
Resolves: #39365
Reviewed-on: http://review.typo3.org/13333
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] BE User Settings cannot be saved by clicking enter

After moving the save button to the top row of the form, hitting
enter within a text input field of the user's settings did not save
the entered data.

Change-Id: Ic71749026efdab482455be2ae47c5815057dce9f
Fixes: #39203
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/13216
Reviewed-by: Steffen Ritter
Reviewed-by: Oliver Klee
Tested-by: Oliver Klee
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[FEATURE] arrayExport() should recognize int keys

t3lib_utility_Array::arrayExport() currently exports array keys always
as strings. With the patch integer array keys are now recognized and
written as integers. Additionally, if all array keys are integers and
consecutive from zero to n, the key is left out completly. See the
unit tests for details.

This is useful for the extListArray in LocalConfiguration, which now
misses the array key and makes the array even more easy to handle.

Change-Id: I6233798a8d22257f542c575791f95226220703ca
Resolves: #39134
Releases: 6.0
Reviewed-on: http://review.typo3.org/13317
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[FEATURE] New hook for managing page cache

When pages are cached using some extra system (e.g. nc_staticfilecache)
it is useless to store these as well in whatever cache backend is used.
Thanks to a new hook, storage of a page in cache can be disabled
selectively.

Change-Id: Ie2e3fb61f06a4c0c3238d0644d45895b875686ff
Fixes: #39228
Releases: 6.0
Reviewed-on: http://review.typo3.org/13032
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Julien Henchoz
Tested-by: Julien Henchoz
Reviewed-by: Francois Suter
Tested-by: Francois Suter
[TASK] Remove non-core modules in sysfolders

Sysfolders can contain modules and some are shipped with the core:
* shop
* approvals
* board
* news

only fe_users needs to stay

Change-Id: Idd7678fcecda0977a7227e9d3d7933584a69b680
Resolves: #39394
Releases: 6.0
Reviewed-on: http://review.typo3.org/13349
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] CleanUp the Reference-List in title-tooltip

file list and record list module show the references to the
record in a reference column using the title-tag of a link.
This code is duplicated in both classes.

This patch moves the logic, which is used in both classes
to the shared base-class.

Change-Id: Ifd39913671527a435888175c3b556da011e8d7da
Resolves: #39362
Releases: 6.0
Reviewed-on: http://review.typo3.org/13327
Reviewed-by: Oliver Klee
Reviewed-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Raise extbase submodule pointer

Change-Id: I6d67b3a0670d9ad99b8a718894274c59202e0a60
Reviewed-on: http://review.typo3.org/13403
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] t3lib_db::exec_SELECTgetRows method annotation

The function returns a NULL value if a sql error occurs.

Change-Id: Ic508aa5ba2034c0a230f5fad56690979ed576bf4
Fixes: #39417
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/13386
Reviewed-by: Oliver Klee
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn