Revert "[BUGFIX] Broken quoting in arrayExport"

This reverts commit cb9cfc892dfa5a8fe38a075d85eafbe3adab3842.
Revert "[TASK] Clean up phpDoc comments in typo3/sysext/saltedpasswords"

This reverts commit 2b725c981c74df09d643c47f021e28e90de2e68d.
[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
[FEATURE] Update Manual of Form Wizard to include Postprocessors

Adds information about postprocessors and how to configure them to
the manual of the form wizard.

Uses doc_template in version 1.6.1 and fixes some issues with the table
of contents due to faulty formating.

Resolves: #34021
Releases: 6.0

Change-Id: Ifc89f34a65f1479562d7cf2fdbaa9862ad898573
Reviewed-on: http://review.typo3.org/9550
Reviewed-by: Franz Geiger
Tested-by: Franz Geiger
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] IRRE childs don't expand in Internet Explorer

document.getElementsByName doesn't always extend the returned DOM
Elements with prototype.js specific methods in Internet Explorer.
This patch uses the $$() selector to retrieve the needed DOM
Elements, as it always extends the returned Elements with
prototype.js specific methods (e.g. remove())

Change-Id: I083ca8b55a3b95757408a159f39f7b22cacf9c8f
Fixes: #38849
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/12776
Tested-by: Stefan Geith
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Use extbase backend user model in ext:belog

Feature #39145 introduced a backend user model to extbase.
The patch uses this in the belog extension now and removes
the own implementation.

Change-Id: Id50ef8b58a86bc1af01be2ed3126f307649ef318
Fixes: #39452
Releases: 6.0
Reviewed-on: http://review.typo3.org/13416
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[FEATURE] Add Hook to manipulate BE login form

To fully customize the backend login form a hook (signal/slot) is
added which allows manipulation of the markers array.

Change-Id: Idb1b62472e82cfca9575bfbd5514bb930771b723
Resolves: #36669
Releases: 6.0
Reviewed-on: http://review.typo3.org/12417
Reviewed-by: Georg Ringer
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn