[BUGFIX] Saving Page Tree states issues in large environments

Change the way expanded nodes are saved for be_users back to a simple
key/boolean pair and adjust the size of the uc field to fit the needs of
larger page trees.

Change-Id: Ic926080b0dc0e6e24226ab00554091a5f0ffae66
Resolves: #24884
Releases: 4.5
Reviewed-on: http://review.typo3.org/10348
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Galinski
Tested-by: Stefan Galinski
[TASK] Change hardcoded URL to constant

Change hardcoded typo3.org url to the
constant TYPO3_URL_GENERAL in class.typo3logo.php

Change-Id: Ic56d5c3f1b8cadb408cc3f370526988c21c921e6
Resolves: #34742
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10479
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Localisation update doesn't work

Change-Id: I3353dfa5425fab87186dfbb9174bc71ec0acee86
Fixes: #36027
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10520
Reviewed-by: Stefan Galinski
Tested-by: Stefan Galinski
[TASK] Raise submodule pointer

Change-Id: I5e16e9b814fc6a9fe0fc2e8c2dccb4b082928ba6
Reviewed-on: http://review.typo3.org/10561
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
[SECURITY] XSS in exception handler

Change-Id: Id4c3a2cfeb95f4dbf20a2e50b052b2ab75032211
Releases: 6.0, 4.7, 4.6, 4.5, 4.4
Fixes: #34348
Security-Review: http://review.typo3.org/10312
Security-Commit: 6b2b6590356a4aca7d8cc5dfbdfa3356edee091d
Security-Bulletin: TYPO3-CORE-SA-2012-002
Reviewed-on: http://review.typo3.org/10566
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
[RELEASE] Release of TYPO3 4.5.15

Change-Id: I384bd01320a511cb03235566d4b599e6aee3f084
Reviewed-on: http://review.typo3.org/10573
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
[TASK] Set TYPO3 version to 4.5.16-dev

Change-Id: I49e9f85bbcb68be9e10dcf2ecffcc9733d58f00e
Reviewed-on: http://review.typo3.org/10574
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
[BUGFIX] Backend: Fetch correct overlay-version of page inside workspace

When fetching page-details while using inside a workspace
make sure to fetch the correct overlay.

Change-Id: I4a9b98550a1ca7d032f6bb4382f6e06ae70a9564
Resolves: #27811
Releases: 4.5, 4.6, 4.7, 4.8
Reviewed-on: http://review.typo3.org/9792
Reviewed-by: Stefan Neufeind
Reviewed-by: Timo Webler
Tested-by: Timo Webler
Reviewed-by: Thorsten Kahler
Tested-by: Thorsten Kahler
[BUGFIX] Pagetree broken due to JavaScript exception

Sometimes (especially with empty DB Mount) the Pagetree is
broken and stops with a JavaScript Exception. This is due to
some problems with the state-restore logic, where the state
of not-yet-rendered nodes is applied.

Change-Id: Ie2a48a02341819c7816461b354cec68306bfa35a
Fixes: #28687
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/10626
Reviewed-by: Kay Strobach
Tested-by: Kay Strobach
Reviewed-by: Jo Hasenau
Tested-by: Jo Hasenau
Reviewed-by: Henrik Ziegenhain
Tested-by: Henrik Ziegenhain
Tested-by: Philipp Kitzberger
Reviewed-by: Stefan Rotsch
Tested-by: Stefan Rotsch
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
[BUGFIX] Missing static keyword for addFieldsToUserSettings

All t3lib_extMgm methods are meant to be called statically.
The function addFieldsToUserSettings is missing the static keyword.

Change-Id: I7f2a31958daaddb923dcd451a5792ca93a30fdfc
Fixes: #36399
Releases: 4.5,4.6,4.7,6.0
Reviewed-on: http://review.typo3.org/10676
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Localize command must preserve type

When the TCEmain command "localize" is used on a table that has
a type attribute, this type is not copied automatically. This
may lead to a discrepancy between the parent record and its
translations. The type must be copied when localizing.

Change-Id: I6432b11253f97dccee48d26de45861c4f3742aa3
Fixes: #35361
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10705
Reviewed-by: Francois Suter
Tested-by: Francois Suter
[BUGFIX] Hide relations to deleted records

When displaying a column containing MM-relations in Web > List
view, deleted records will show up, because the MM relations still
exist and the foreign table is not checked for deleted records.

Additionally an empty result in this case should display "N/A"
just like for the other situations.

Change-Id: I71a244929ce69d7fd39c1038cb05d8c8414eb346
Fixes: #21713
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10814
Reviewed-by: Francois Suter
Tested-by: Francois Suter
[BUGFIX] Show phpinfo() header title

This is a no-brainer, fixes the bug with the title of
phpinfo() in the Install Tool being hidden from CSS.

Change-Id: If33a836a606b9c861cbf897a518bd68ed9118d3f
Fixes: #34686
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10847
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Remove duplicate domain from FE copyright comment

Since typo3.com was replaced by typo3.org, current frontend copyright
comment shows duplicate domain in copyright:
TYPO3 is copyright 1998-2012 of Kasper Skaarhoj. Extensions are
copyright of their respective owners. Information and contribution
at http://typo3.org/ and http://typo3.org/

Change-Id: Id0647274974032f20a1b5a050e439ed43213bcdb
Fixes: #36164
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/10850
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Wrong HTTP protocol in combination with a proxy

When a reverse proxy is configured in $TYPO3_CONF_VARS and you call
t3lib_div::getIndpEnv('TYPO3_SSL') it returns the wrong protocol.

You can reproduce this in the following way:
If realUrl has the configuration to take the next higher level in the
page tree in the case of not finding the current page then the protocol
will be changed by the static method t3lib_div::getIndpEnv('TYPO3_SSL')

Change-Id: I6fdf61df8597fb84b822fa840475182643b0b134
Fixes: #36004
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10685
Reviewed-by: Michael Staatz
Tested-by: Michael Staatz
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] cropHTML with dash in html element

Allow dash in regular expression of cropHTML function. It is needed
for recognition of W3C non-standard TYPO3 'link' element syntax.
(e.g. <link email@example.org - mail "Open email window">
email@example.org</link>)

Change-Id: I4bc8c5bfd196f80a3ee6d077ac6a760aa349486e
Fixes: #26915
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10692
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] t3lib_div::getUrl() throws a warning on nonexisting local file

During #35847 the silent operator was removed from file_get_content()
which should not have happend.

Change-Id: Ifb12b5f5b20234f1a218c43d4f3882de16b7f0a0
Related: #35847
Fixes: #36380
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/10868
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] EM: avoid cropping action columns

In some browsers the action icons of the new EM disappear, to be
replaced by an ellipsis (...). This is due to ExtJS using
"text-overflow: ellipsis" and some browsers miscalculating the
width of the column. This text-overflow directive is not necessary
as the icons fit nicely anyway.

Change-Id: I44a59c508dba31a4439302237d055a88463c3f82
Fixes: #30900
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10879
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
[BUGFIX] EM: improve action icons alignment

In both extensions list of the new EM (available and import), the
action icons are flush with the top of each table row. Instead
they should be aligned with the extension icon.

Change-Id: Ied1b60b6fe7bf163636b388aded29ea51a420965
Fixes: #36611
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10977
Reviewed-by: Francois Suter
Tested-by: Francois Suter
[BUGFIX] tx_rsaauth_sv1::authUser() gives PHP notice

PHP Runtime Notice: Declaration of tx_rsaauth_sv1::authUser() should
be compatible with that of tx_sv_auth::authUser().

Change-Id: Idbd7ca2b69d3142497b1770088d991901950a852
Fixes: #30057
Releases: 4.5
Reviewed-on: http://review.typo3.org/9799
Reviewed-by: Philipp Gampe
Reviewed-by: Oliver Klee
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer