Packages/TYPO3.CMS.git
8 years ago[BUGFIX] Changing capitalization of BE module names
Mario Rimann [Tue, 16 Aug 2011 21:19:15 +0000 (23:19 +0200)]
[BUGFIX] Changing capitalization of BE module names

Changes the two-word backend module names to be uppercased (the
first character of both words). This changes the locallang files in setup,
lowlevel and taskcenter system extensions.

Change-Id: I38842f4945dafbf395e35f9a2c1d6a5a917dd403
Resolves: #22256
Reviewed-on: http://review.typo3.org/4384
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
8 years ago[BUGFIX] Enlarge on click for images does not open a popup
Patrick [Wed, 17 Aug 2011 11:31:20 +0000 (13:31 +0200)]
[BUGFIX] Enlarge on click for images does not open a popup

With issue #27983 some deprecated parts were removed but obviously too much. Although $GLOBALS['TSFE']->additionalJavascript is used throughout the core, after this issue it was never rendered anymore in the frontend.

The javascript function openPic was never added to the frontend because of this.

This patch reinstates the responsible lines which were removed for Enlarge on click

Change-Id: I8e182be8e894e49212a5a4249118b44c0e0bd954
Resolves: #29041
Releases: 4.6
Reviewed-on: http://review.typo3.org/4392
Tested-by: Soren Malling
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
8 years ago[BUGFIX] Optimize index of some database tables
Dmitry Dulepov [Sun, 14 Aug 2011 13:32:07 +0000 (15:32 +0200)]
[BUGFIX] Optimize index of some database tables

Some database indexes in TYPO3 tables are not optimal:
they include the sorting field in the wrong position.
MySQL will not use such index for sorting (sorting
field must always be in the end of index).

Change-Id: I9d900013ac5cabb7bdd7130ff2502674ee2c9b2a
Resolves: #21381
Reviewed-on: http://review.typo3.org/4317
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Mario Rimann
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] Use trimExplode() for pageOverlayFields
Georg Ringer [Tue, 16 Aug 2011 06:26:18 +0000 (08:26 +0200)]
[BUGFIX] Use trimExplode() for pageOverlayFields

Currently explode() is used for pageOverLayFields which requires a list
without any whitespaces. Using t3lib_div::trimExplode() improves
the usability for integrators and reduces possibilities of not working
configurations

Change-Id: I7c6c3412c1a1a250aac273169060dbd4aaf4e1ca
Resolves: #28916
Releases: 4.4, 4.5, 4.6
Reviewed-on: http://review.typo3.org/4359
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] Indent/outdent does not work if formatblock button is disabled
Stanislas Rolland [Sun, 14 Aug 2011 14:37:25 +0000 (10:37 -0400)]
[BUGFIX] Indent/outdent does not work if formatblock button is disabled

Problem: If the "formatblock" button is disabled, the current paragraph
gets a css class "indent" but a wrapping div is not created with that
css class.

Solution: When formatblock is not configured, allow all standard block
elements. When formatblock and indent are both configured, ensure div is
allowed.

Change-Id: I8f74e453f96968940f67652e075a976f0104f2c8
Resolves: #28903
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4322
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[BUGFIX] RTE: Table tag left over after cutting table in Firefox
Stanislas Rolland [Tue, 16 Aug 2011 19:26:46 +0000 (15:26 -0400)]
[BUGFIX] RTE: Table tag left over after cutting table in Firefox

Solution: In case of selecting a table in the status bar, select the
whole node.

Change-Id: Ie68210e49fcf9515cf9233b7495d0c440922debd
Resolves: #29023
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4380
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Tue, 16 Aug 2011 10:25:55 +0000 (12:25 +0200)]
[TASK] Raise submodule pointer

Change-Id: I9dd1cd6511e12c70b956e1156018678e6b7e0af0
Reviewed-on: http://review.typo3.org/4363
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Mon, 15 Aug 2011 13:02:01 +0000 (15:02 +0200)]
[TASK] Raise submodule pointer

Change-Id: Ifc538e9c6832f1b6f8a13c8f5e666b0b1885acac
Reviewed-on: http://review.typo3.org/4330
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years ago[BUGFIX] Failing unit test in tslib_adminPanelTest
Christian Kuhn [Sun, 14 Aug 2011 11:53:35 +0000 (13:53 +0200)]
[BUGFIX] Failing unit test in tslib_adminPanelTest

The change from issue #28639 did not refactor the
according unit test which is done now.

Change-Id: I6c7d8389901a7ca867b354a2081af7beb8c2ddc0
Resolves: #28970
Reviewed-on: http://review.typo3.org/4314
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Unit tests for tslib_content query arguments fail
Oliver Hader [Fri, 12 Aug 2011 10:30:19 +0000 (12:30 +0200)]
[BUGFIX] Unit tests for tslib_content query arguments fail

Since security fixes in July 2011 introduced a better encoding of URL
arguments, checks in the unit tests have to be modified as well.

Change-Id: Ifc235840b833723de2818f9b9ccdbec8aa111a9e
Resolves: #28946
Releases: 4.6, 4.5, 4.4
Reviewed-on: http://review.typo3.org/4284
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[BUGFIX] Old EM: t3lib_DB::exec_INSERTquery errors
Jigal van Hemert [Sat, 6 Aug 2011 09:01:04 +0000 (11:01 +0200)]
[BUGFIX] Old EM: t3lib_DB::exec_INSERTquery errors

storeXMLResult() fails to filter non-existing database fields and
tries to insert all fields which it parses from the XML. Solution
is to use a default record structure to only use existing column names.

Change-Id: I80ca3170c2840b44497398b2b9cf48c285dc2215
Fixes: #28637
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4169
Reviewed-by: Rens Admiraal
Reviewed-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] Recycler: fix wrong placed bracked on calls to t3lib_div::fixed_lgd_cs
Marc Bastian Heinrichs [Mon, 8 Aug 2011 22:38:09 +0000 (00:38 +0200)]
[BUGFIX] Recycler: fix wrong placed bracked on calls to t3lib_div::fixed_lgd_cs

Change-Id: Ibb9a6711ab910236a7308f59bc500e2f9045fdf7
Resolves: #28835
Releases: 4.4, 4.5, 4.6
Reviewed-on: http://review.typo3.org/4231
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
8 years ago[BUGFIX] RTE Spellchecker dialogue fails to open in IE
Stanislas Rolland [Mon, 8 Aug 2011 03:58:55 +0000 (23:58 -0400)]
[BUGFIX] RTE Spellchecker dialogue fails to open in IE

ExtJs raises js error in IE due to 'auto' window height.

Change-Id: Ia90b58bfeeb4bbb440037725ca296dd77eaf1169
Fixs: #28820
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4211
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[BUGFIX] RTE Spellchecker invokes deprecated function in TYPO3 4.6
Stanislas Rolland [Mon, 8 Aug 2011 03:34:54 +0000 (23:34 -0400)]
[BUGFIX] RTE Spellchecker invokes deprecated function in TYPO3 4.6

HTMLArea.Plugin.base() is deprecated in TYPO3 4.6

Change-Id: Ie75ceb3c25842d58074512d5dc77665dc60493eb
Fixes: #28819
Releases: 4.6
Reviewed-on: http://review.typo3.org/4209
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[BUGFIX] RTE Find & replace plugin refers to deprecated function in TYPO3 4.6
Stanislas Rolland [Mon, 8 Aug 2011 01:53:00 +0000 (21:53 -0400)]
[BUGFIX] RTE Find & replace plugin refers to deprecated function in TYPO3 4.6

this.base() is deprecated in 4.6.
Interim function also raises js error.

Change-Id: I75dbb7e1d9e91a5eb1d76b4fcd64151c115b381f
Fixes: #28818
Releases: 4.6
Reviewed-on: http://review.typo3.org/4208
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[TASK] Prefix of caching framework tables is hardcoded
Xavier Perseguers [Sat, 6 Aug 2011 16:15:01 +0000 (18:15 +0200)]
[TASK] Prefix of caching framework tables is hardcoded

Prefix "cachingframework_" for caching framework tables is hardcoded
at multiple places within Core.

This makes it hard to keep track of it and prevents DBAL from overriding
it when identifier length is an issue.

Change-Id: Idddcd32879b35a608b363bf8871b82407840dac2
Resolves: #28798
Reviewed-on: http://review.typo3.org/4185
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Stefan Neufeind
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[TASK] Optimizations for IPv6-functions in t3lib_div
Stefan Neufeind [Tue, 2 Aug 2011 11:08:08 +0000 (13:08 +0200)]
[TASK] Optimizations for IPv6-functions in t3lib_div

* speedup by using IPv6-support from PHP if present
* since there is IPv6Hex2Bin(), also add IPv6Bin2Hex()
* since there is normalizeIPv6(), also add compressIPv6()
* normalization also involves converting to lowercase
* extend unit-tests

Change-Id: I7c9eda4de0f2c06f06a530f1180233d592f9dfdc
Resolves: #28669
Releases: 4.6, 4.7
Reviewed-on: http://review.typo3.org/4019
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[BUGFIX] cmpIPv4: prevent E_NOTICE, cleanup compare, testcases
Stefan Neufeind [Mon, 6 Jun 2011 00:17:33 +0000 (02:17 +0200)]
[BUGFIX] cmpIPv4: prevent E_NOTICE, cleanup compare, testcases

Cleanup for an E_NOTICE on exploding the bitmask.
Replaced (correct working, but "unreadable") strcmp().
Add testcases.

Change-Id: I3836d3c53ab6093e3427047c4a5089778dd04ca2
Resolves: #27230
Releases: 4.3, 4.4, 4.5, 4.6
Reviewed-on: http://review.typo3.org/2536
Reviewed-by: Björn Pedersen
Tested-by: Björn Pedersen
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[BUGFIX] RTE Remove format: German fieldset legend does not wrap in IE
Stanislas Rolland [Sat, 6 Aug 2011 14:30:03 +0000 (10:30 -0400)]
[BUGFIX] RTE Remove format: German fieldset legend does not wrap in IE

Workaround IE bug by floating the legend to the left.

Change-Id: I6cdbca368ad3ccd76d65ede97040c807c7f0fb95
Resolves: #25484
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4174
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[BUGFIX] Colors not selectable in RTE table properties with IE 7/8
Stanislas Rolland [Sat, 6 Aug 2011 03:53:23 +0000 (23:53 -0400)]
[BUGFIX] Colors not selectable in RTE table properties with IE 7/8

When having many colors defined, it is only possible to select one
of the first colors. If a color at the end of the list is selected,
nothing happens.

Solution: Fix missing closing span tag in ExtJs template object.

Change-Id: If196228a93125262906e787cb4efa174463cfd4c
Resolves: #28760
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4164
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[BUGFIX] Wrong link if felogin reset password
Francois Suter [Wed, 22 Jun 2011 14:14:35 +0000 (16:14 +0200)]
[BUGFIX] Wrong link if felogin reset password

When the reset password link for felogin is generated (to be sent in
the mail), config.absRefPrefix overrides
plugin.tx_felogin_pi1.feloginBaseURL, but feloginBaseURL is specifically
designed to be used when needing a different base URL. This patch
makes feloginBaseURL prevail.

Thanks to Stephan Bauer for the original patch.

Change-Id: I05e3e63a3ad4628e07396e2dd8f089cd18dfc7f9
Resolves: #22434
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/2881
Reviewed-by: Francois Suter
Tested-by: Francois Suter
8 years ago[BUGFIX] htmlArea RTE: .titleText not localized to English
Stanislas Rolland [Thu, 4 Aug 2011 16:00:47 +0000 (12:00 -0400)]
[BUGFIX] htmlArea RTE: .titleText not localized to English

classesAnchor.[id-string].titleText is not localized when the
language of the content element is English, English being an
alternate language.

Change-Id: I15bf95534c51bcd4f80b08e04ed2bcc9042f3656
Fixes: #28767
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4111
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years agoRevert "[BUGFIX] Send no-cache headers in t3lib_userauth"
Thorsten Kahler [Thu, 4 Aug 2011 09:25:23 +0000 (11:25 +0200)]
Revert "[BUGFIX] Send no-cache headers in t3lib_userauth"

This reverts commit f08aa2f376c826f176c06a73d8b5ffc72a076501

Sorry, hit the wrong button :(

Change-Id: I47a362b47f6aafee06dd8181f27997baa64aa383
Reviewed-on: http://review.typo3.org/4095
Reviewed-by: Thorsten Kahler
Tested-by: Thorsten Kahler
8 years ago[BUGFIX] Send no-cache headers in t3lib_userauth
Alexander Stehlik [Fri, 1 Apr 2011 17:32:21 +0000 (19:32 +0200)]
[BUGFIX] Send no-cache headers in t3lib_userauth

Adjust headers sent by t3lib_userauth to prevent caching, if Internet
Explorer is used when downloading files through PHP.

Resolves: #24125
Releases: 4.3, 4.4, 4.5

Change-Id: I9ebe84174256263b8b0cae6cf9db58da76985a96
Reviewed-on: http://review.typo3.org/1417
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Thorsten Kahler
8 years ago[BUGFIX] Unprivileged backend user can read arbitrarily from database
Helmut Hummel [Wed, 3 Aug 2011 10:55:01 +0000 (12:55 +0200)]
[BUGFIX] Unprivileged backend user can read arbitrarily from database

Change-Id: Ia749f33e0474ae6bcdc5e75ab0acaef51e5f928d
Resolves: #26876
Reviewed-on: http://review.typo3.org/4056
Reviewed-by: Oliver Hader
Reviewed-by: Björn Pedersen
Tested-by: Oliver Hader
8 years ago[TASK] Set TYPO3 version to 4.6-dev
TYPO3 v4 Release Team [Tue, 2 Aug 2011 14:47:35 +0000 (16:47 +0200)]
[TASK] Set TYPO3 version to 4.6-dev

Change-Id: I010ce01adb68181c5ee86ac297db224b1f2c41a2
Reviewed-on: http://review.typo3.org/4034
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years ago[RELEASE] Release of TYPO3 4.6.0beta1
TYPO3 v4 Release Team [Tue, 2 Aug 2011 14:47:25 +0000 (16:47 +0200)]
[RELEASE] Release of TYPO3 4.6.0beta1

Change-Id: I07564e15e427f5f8a2cba307b783523ace4464f8
Reviewed-on: http://review.typo3.org/4033
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years ago[FEATURE] Add stdWrap to each of the properties of TypoScript "select"
cybercraft [Mon, 1 Aug 2011 20:17:59 +0000 (22:17 +0200)]
[FEATURE] Add stdWrap to each of the properties of TypoScript "select"

Change-Id: I5ee1be24a0c7f68cb0833823e9217db87742ab1d
Resolves: #18822
Releases: 4.6
Reviewed-on: http://review.typo3.org/3995
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Xavier Perseguers
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Tue, 2 Aug 2011 14:26:52 +0000 (16:26 +0200)]
[TASK] Raise submodule pointer

Change-Id: Ie881804c1f2f6d7c2c92767660fac6ebb12d2df9
Reviewed-on: http://review.typo3.org/4031
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years ago[FEATURE] Allow overriding ext_typoscript_setup.txt on same level
Tolleiv Nietsch [Fri, 8 Jul 2011 16:17:14 +0000 (18:17 +0200)]
[FEATURE] Allow overriding ext_typoscript_setup.txt on same level

Change-Id: I3f28f9cb3efb46598fcc46c450cec05f94454e97
Resolves: #22169
Releases: 4.6
Reviewed-on: http://review.typo3.org/3009
Reviewed-by: Steffen Kamper
Tested-by: Steffen Kamper
8 years ago[BUGFIX] Improve hook in Admin Panel
Georg Ringer [Mon, 1 Aug 2011 10:56:57 +0000 (12:56 +0200)]
[BUGFIX] Improve hook in Admin Panel

The current implementation is buggy and can be improved.
- Add $moduleContent as argument
- Use '.=' instead of '='

Change-Id: I0cf40a6f09f5233cdbe3edf58ae1fe383d0b7fb5
Resolve: #28639
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3973
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[FEATURE] expandList for stdWrap
Georg Ringer [Wed, 8 Jun 2011 14:43:44 +0000 (16:43 +0200)]
[FEATURE] expandList for stdWrap

expandList can be used to convert a list like
1,3,5-7,10 to 1,3,5,6,7,10

using expandList = 1

Change-Id: I6d25e0ccac47218445713f3b491a2109188ca579
Resolves: #14472
Reviewed-on: http://review.typo3.org/2585
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[FEATURE] Shortcut tooltip should show the id
Stefan Galinski [Sat, 9 Jul 2011 21:53:08 +0000 (23:53 +0200)]
[FEATURE] Shortcut tooltip should show the id

Change-Id: I656b5ae8b21b270bc3ff63f2be6c23d2a2609a28
Resolves: #27525
Releases: 4.6
Reviewed-on: http://review.typo3.org/3230
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[FEATURE] Show localization mode of field in form
Jigal van Hemert [Sun, 19 Jun 2011 00:44:28 +0000 (02:44 +0200)]
[FEATURE] Show localization mode of field in form

Show an icon in the BE edit form if a field has the l10n_mode
'mergeIfNotBlank'. Editors can now easily see if they can leave the
field blank and the value from the default language will be used.

Change-Id: I885ce0b5fb14465ca5114331d9efc4f5e6e41451
Resolves: #27493
Releases: 4.6
Reviewed-on: http://review.typo3.org/2799
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Stefan Neufeind
Tested-by: Steffen Kamper
Reviewed-by: Steffen Kamper
8 years ago[TASK] Rename and deprecate config.minifyJS / config.minifyCSS
Xavier Perseguers [Tue, 2 Aug 2011 12:11:02 +0000 (14:11 +0200)]
[TASK] Rename and deprecate config.minifyJS / config.minifyCSS

For consistency reasons, config.minifyJS should be renamed to config.compressJs
and config.minifyCSS should be renamed to config.compressCss.

Change-Id: I064e1213263dde5cd410177be6cf68646e8b8f8d
Resolves: #28677
Releases: 4.6
Reviewed-on: http://review.typo3.org/4022
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[FEATURE] Improve API for module using the card layout
Kay Strobach [Sun, 31 Jul 2011 17:06:40 +0000 (19:06 +0200)]
[FEATURE] Improve API for module using the card layout

The idea of this feature is not to use t3lib_extMgm::addModule (added param) but provide own functions for adding/removing any module to the card layout.

New functions:
 - t3lib_extMgm::addModuleContentCard
 - t3lib_extMgm::removeModuleContentCard

Change-Id: I4d7b5b3dc95d1694dd397278643f8f01ea03a09e
Resolves: #28616
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3947
Reviewed-by: Steffen Kamper
Tested-by: Steffen Kamper
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Stefan Neufeind
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[FEATURE] Add ExtJS xtype:modulepanel for BE Modules
Kay Strobach [Sun, 24 Jul 2011 08:31:39 +0000 (10:31 +0200)]
[FEATURE] Add ExtJS xtype:modulepanel for BE Modules

This is a follow up change to #12664.
It adds a new Extjs xtype called modulepanel and the required styles.

This way we can have extjs modules which fit the TYPO3 look'n'feel.

The CSS modifies the tbar and the bbar to look like the standard
toolbars in TYPO3.

4.5 is added to releases, as #12644 is the direct parent.

Change-Id: I596962fc81e66368db06059447b2f6a09db4ff73
Resolves: #28384
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3696
Reviewed-by: Georg Ringer
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Kamper
Tested-by: Steffen Kamper
8 years ago[TASK] Clean up form system extension
Oliver Hader [Mon, 1 Aug 2011 20:49:12 +0000 (22:49 +0200)]
[TASK] Clean up form system extension

* remove declare UTF-8 prologue
* remove author from PHPdoc of methods
* change visibility of methods and properties from private to protected

Change-Id: I3cf8a6d22dc524c028de3ae22888ee4d414d0064
Resolves: #28656
Reviewed-on: http://review.typo3.org/4000
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[TASK] Streamline structure of form extension
Oliver Hader [Mon, 1 Aug 2011 15:49:07 +0000 (17:49 +0200)]
[TASK] Streamline structure of form extension

The new system extension form needs some changes:

* move global variable and initialization to tx_form_Common
* rename class name of form controller to reflect directory hierarchy
* move PageTSconfig and TypoScript configuration to Resources/Private/
* remove superfluous configurations and definitions

Change-Id: Iec38b53099edcb170c6d8b802e73b381602ff27d
Resolves: #28655
Reviewed-on: http://review.typo3.org/3998
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[FEATURE][INSTALL] Automatically create INSTALL_TOOL_ENABLE file
Steffen Gebert [Sun, 31 Jul 2011 19:10:41 +0000 (21:10 +0200)]
[FEATURE][INSTALL] Automatically create INSTALL_TOOL_ENABLE file

The INSTALL_TOOL_ENABLE file is automatically created, if a backend
administrator opens the Install Tool from the backend.

Change-Id: I10ccf35f787ffdfec7becfd182b13e986258fe4a
Resolves: #28621
Reviewed-on: http://review.typo3.org/3959
Reviewed-by: Chris Zepernick
Reviewed-by: Ingo Pfennigstorf
Tested-by: Ingo Pfennigstorf
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[FEATURE][INSTALL] Centralize ENABLE_INSTALL_TOOL handling
Steffen Gebert [Sun, 31 Jul 2011 19:10:09 +0000 (21:10 +0200)]
[FEATURE][INSTALL] Centralize ENABLE_INSTALL_TOOL handling

Add a BasicService to the Install Tool, which centralizes the handling
of the ENABLE_INSTALL_TOOL file.

Change-Id: I954d83ca9c17fcbd52a5588024c91290867c744c
Resolves: #28622
Reviewed-on: http://review.typo3.org/3958
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Georg Ringer
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[FEATURE] Group HttpExceptions by Error type
Steffen Gebert [Sun, 31 Jul 2011 20:43:42 +0000 (22:43 +0200)]
[FEATURE] Group HttpExceptions by Error type

Change-Id: I739cc983d280a77e1737d15fe9c2a2e9b30e5771
Resolves: #28624
Reviewed-on: http://review.typo3.org/3960
Reviewed-by: Stefan Neufeind
Reviewed-by: Philipp Gampe
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[FEATURE] Show Exception details only to BE users
Steffen Gebert [Sat, 30 Jul 2011 16:02:40 +0000 (18:02 +0200)]
[FEATURE] Show Exception details only to BE users

Change the ProductionExceptionHandler to show true error messages only
to authenticated Backend users (in Frontend and Backend).

Change-Id: Ic187d51c9cbe4748d4988f930cd3574378ad36b0
Resolves: #24561
Releases: 4.6
Reviewed-on: http://review.typo3.org/3907
Reviewed-by: Stefan Neufeind
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Georg Ringer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[TASK] Add XLIFF Core files
Dominique Feyer [Mon, 1 Aug 2011 18:05:38 +0000 (20:05 +0200)]
[TASK] Add XLIFF Core files

Add translation files in the new XLIFF format.

Change-Id: I6afaeab2f820c112bf99544c94c98037a901952c
Relates: #25397
Reviewed-on: http://review.typo3.org/3986
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[TASK] Update htmlArea RTE version number to 2.2.1
Stanislas Rolland [Mon, 1 Aug 2011 22:59:59 +0000 (18:59 -0400)]
[TASK] Update htmlArea RTE version number to 2.2.1

Change-Id: I2236208cb46af70d564a965e0740422812343e95
Releases: 4.6
Reviewed-on: http://review.typo3.org/4003
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[BUGFIX] RTE: buildStyleSheet() should not be deprecated in TYPO3 4.6
Stanislas Rolland [Mon, 1 Aug 2011 22:49:00 +0000 (18:49 -0400)]
[BUGFIX] RTE: buildStyleSheet() should not be deprecated in TYPO3 4.6

The function will be deprecated in 4.8, because it is processing
deprecated Page TSconfig properties that will be removed only then.

Change-Id: I6872818dada437bd9179e21f23cc9a232fb87eb9
Fixes: #28610
Releases: 4.6
Reviewed-on: http://review.typo3.org/4002
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[BUGFIX] Mirror selection is not respected
Xavier Perseguers [Mon, 1 Aug 2011 20:56:46 +0000 (22:56 +0200)]
[BUGFIX] Mirror selection is not respected

When a specific mirror is selected in Extension Manager,
the method used to return it fails.

Change-Id: Ibb60edec1a7fac4e3c217aad47d9332f7edd5fc6
Resolves: #27755
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3999
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Steffen Kamper
Tested-by: Steffen Kamper
8 years ago[BUGFIX][Form] Remove third-party captcha support of the new form extension
Susanne Moog [Mon, 1 Aug 2011 17:24:21 +0000 (19:24 +0200)]
[BUGFIX][Form] Remove third-party captcha support of the new form extension

The form project checks for third-party extensions to provide captcha
support currently. Remove the whole captcha support until a clean API
for registering third-party extensions is developed.

Change-Id: I1e9a8b8ff065fc091dadb582dcf8e06e7889d890
Resolves: #28651
Reviewed-on: http://review.typo3.org/3985
Reviewed-by: Oliver Hader
Reviewed-by: Xavier Perseguers
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Tested-by: Oliver Hader
8 years ago[FEATURE] Substitute markers and subparts recursively
Jigal van Hemert [Sat, 30 Jul 2011 20:38:00 +0000 (22:38 +0200)]
[FEATURE] Substitute markers and subparts recursively

Introduce new function to substitute markers and (nested) subparts
recursively. The data array defines the structure of single and subpart
markers and the function takes care of handling all the (sub)templates.

Change-Id: Ie746aff506a895c6992d6ecf9acd532704838bbf
Resolves: #28595
Reviewed-on: http://review.typo3.org/3917
Tested-by: Philipp Gampe
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Steffen Kamper
8 years ago[FEATURE] Add support for locales
Xavier Perseguers [Fri, 15 Jul 2011 13:13:34 +0000 (15:13 +0200)]
[FEATURE] Add support for locales

Add a new class t3lib_l10n_Locales that is responsible to handle
locales such as fr_CA within TYPO3 and add support for locales
dependencies in Extension Manager.

Change-Id: If5976fc7bfbe82d347a9d84a5ebac84dcc4c76a2
Resolves: #28239
Reviewed-on: http://review.typo3.org/3359
Reviewed-by: Steffen Kamper
Tested-by: Steffen Kamper
Tested-by: Xavier Perseguers
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
8 years ago[FEATURE] Integrate Form project into Core
Xavier Perseguers [Fri, 22 Jul 2011 13:17:08 +0000 (15:17 +0200)]
[FEATURE] Integrate Form project into Core

Form project should now become a system extension.

Change-Id: Ide145a64ebe9db26a87437c7befd88a1c5081012
Resolves: #28388
Reviewed-on: http://review.typo3.org/3472
Tested-by: Philipp Gampe
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[FEATURE] Use FlashMessage in be_user module
bidau [Thu, 28 Jul 2011 12:26:08 +0000 (14:26 +0200)]
[FEATURE] Use FlashMessage in be_user module

Add FlashMessages:
* info about cached grouplists being updated
* when there are too many users to show

Change-Id: Iedd62f7731e61a6dff7ca9b6d477d75524351828
Resolves: #28543
Reviewed-on: http://review.typo3.org/3817
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Stefan Neufeind
Reviewed-by: Georg Ringer
8 years ago[BUGFIX] group field in TCEforms does not honor size=1 attribute
Dmitry Dulepov [Tue, 28 Jun 2011 08:58:33 +0000 (11:58 +0300)]
[BUGFIX] group field in TCEforms does not honor size=1 attribute

If the field has size=1, it should be shown as a "single entry"
selector box. In all cases it has a 'multiple="multiple"'
attribute hard-coded, which prevents the control from being
single line. The solution is not to add that attribute unless
necessary.

Change-Id: Iab244a0b797f117d270714ca14d88236399ead93
Resolves: #25221
Related: #24256
Reviewed-on: http://review.typo3.org/972
Reviewed-by: Georg Ringer
Reviewed-by: Stefan Neufeind
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
8 years ago[BUGFIX] ImageMagick path detection fails on Mac OS X
Oliver Hader [Sun, 31 Jul 2011 21:50:19 +0000 (23:50 +0200)]
[BUGFIX] ImageMagick path detection fails on Mac OS X

The ImageMagick path detection fails on Mac OS X. If MacPorts
is used the additional folder /opt/local/bin should be checked.

Change-Id: I5da3d4ec4fe614c1f5449604468d8def4ba35285
Resolves: #28625
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3961
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[FEATURE] Monitor peak memory usage
Jigal van Hemert [Thu, 7 Apr 2011 20:34:36 +0000 (22:34 +0200)]
[FEATURE] Monitor peak memory usage

Monitor the peak memory usage during page generation and report if
it exceeds 90% of the memory limit.

Change-Id: Ie0cfed4dce4b2f3e269832a28be7045b972a6867
Resolves: #25836
Reviewed-on: http://review.typo3.org/1507
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Tested-by: Thorsten Kahler
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Jigal van Hemert
8 years ago[FEATURE] Hide translated records from List module
Stefan Geith [Tue, 12 Jul 2011 15:27:37 +0000 (17:27 +0200)]
[FEATURE] Hide translated records from List module

Add the new TSconfig option
  mod.web_list.hideTranslations = *
or
  mod.web_list.hideTranslations = list,of,tables

For those tables, only the records of the default language are shown in
the List module. All translations are hidden.

The 'Localization view', still shows all records, including translated
records.

Change-Id: Iede6697a8ee28155b9fd62153eb7299f738258e6
Resolves: #23198
Releases: 4.6
Reviewed-on: http://review.typo3.org/3289
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[FEATURE] Include HTTP Request2 for better HTTP handling
Philipp Gampe [Fri, 8 Jul 2011 08:12:01 +0000 (10:12 +0200)]
[FEATURE] Include HTTP Request2 for better HTTP handling

Add the pear packages HTTP/Request2 end Net/URL2.
Also add PEAR/Exception.php.

Add t3lib_http_Request as wrapper for Request2.
This sets the default options from TYPO3_CONF_VARS.

Additionally add new TYPO3_CONF_VARS options and deprecate the old
cURL options.

Extend include_path that it also works with pear packages.

Change-Id: I430685159cc966e13f1e833ca19ee8f0c75e400a
Resolves: #28344
Releases: 4.5,4.6
Reviewed-on: http://review.typo3.org/3437
Reviewed-by: Markus Klein
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] The requested URL typo3/undefined was not found on this server
Kay Strobach [Sat, 30 Jul 2011 16:56:55 +0000 (18:56 +0200)]
[BUGFIX] The requested URL typo3/undefined was not found on this server

Wrong handling of module url changes in modulemenu causes false
loadings.

This change changes the loading logic a bit, so that it works again.

Resolves: #28594
Releases: 4.6, 4.5

Change-Id: I1692040e38645d68002ae494e9261fd0ccb4d42d
Reviewed-on: http://review.typo3.org/3909
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[FEATURE] Integrate string replacement to stdWrap
Oliver Hader [Fri, 29 Jul 2011 09:47:45 +0000 (11:47 +0200)]
[FEATURE] Integrate string replacement to stdWrap

Allow to search/replace strings, optionally with preg-regex.

Change-Id: I05a067e06cf6d6d664a178c6cf91e17178d691a8
Resolves: #19347
Reviewed-on: http://review.typo3.org/3855
Reviewed-by: Jo Hasenau
Tested-by: Jo Hasenau
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
8 years ago[BUGFIX] Error when opening TYPO3 manual
Markus Klein [Sun, 24 Jul 2011 19:12:26 +0000 (21:12 +0200)]
[BUGFIX] Error when opening TYPO3 manual

A missing parameter for SC_view_help::render_Table() causes
TYPO3 manual to produce a PHP warning.
This patch makes the second parameter optional.

Change-Id: I2b3e2cf45d4b7b411e7e7b007c7650df0bd79ea8
Resolves: #28330
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3704
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[FEATURE] Enable the GIFBUILDER cObject to render 32-bit PNG images
Georg Grossberger [Sun, 24 Jul 2011 16:53:10 +0000 (18:53 +0200)]
[FEATURE] Enable the GIFBUILDER cObject to render 32-bit PNG images

Introduce the "backColor" value "transparent" to create a PNG file
that has a transparent color as background and enhance the existing
code to keep it until the final image is written to a file.

If "transparent" is set the following conditions must be met:
* png_truecolor must be set to TRUE
* reduceColors must not be set
* format must not be set to jpg or gif

If one of those conditions is not met, GIFBUILDER falls back to
its default behaviour. Already existing backColor features are not
affected by this change.

The options "transparentBackground" and "transparentColor" have no
effect if the backColor is transparent

Change-Id: I0ce9a891710bbe1e7cae935c765aff2aa5640415
Resolves: #28405
Releases: 4.6
Reviewed-on: http://review.typo3.org/3703
Reviewed-by: Jo Hasenau
Reviewed-by: Georg Ringer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
8 years ago[FEATURE] Add UI support for Internationalized Domain Names (IDN)
Steffen Gebert [Wed, 27 Jul 2011 22:08:34 +0000 (00:08 +0200)]
[FEATURE] Add UI support for Internationalized Domain Names (IDN)

Add support for inputting and converting IDN domains in TCEforms.

The domain is still stored and processed as punycode, only the user is
now able to also enter also the IDN with its special chars in the
backend.

Include 3rd-party converter class "IDNA Convert"

Change-Id: I87d275a2f3bcfd321147b6d32a5403db704bdc4d
Resolves: #14500
Releases: 4.6
Reviewed-on: http://review.typo3.org/3804
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[FEATURE] Improve wizard for creating new records
Georg Ringer [Wed, 20 Jul 2011 17:30:08 +0000 (19:30 +0200)]
[FEATURE] Improve wizard for creating new records

Add the possibility to group records together, even
when the extension key is a different one.

Change-Id: I4acb806e27fbad6a240c530085e76bfa001c11cc
Resolves: #28353
Reviewed-on: http://review.typo3.org/3440
Reviewed-by: Kay Strobach
Tested-by: Kay Strobach
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Mueller
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[FEATURE] Add hook to tslib_adminpanel
Georg Ringer [Fri, 29 Jul 2011 13:06:24 +0000 (15:06 +0200)]
[FEATURE] Add hook to tslib_adminpanel

Add a hook to the AdminPanel to allow additional
code beeing added by other extensions

Change-Id: Icec38ca8b91891a515a40ec2e8774a00cf553c40
Resolves: #28568
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3860
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[FEATURE] Enhance info array provided to services
Alexander Stehlik [Thu, 28 Apr 2011 13:10:30 +0000 (15:10 +0200)]
[FEATURE] Enhance info array provided to services

In t3lib_div::makeInstanceService() the info array passed to
the instanciated service class is enhanced with information about
the requested service type, service sub type and the excluded service
keys.

Deprecated references to global vars have been replaced with $GLOBALS
array.

Change-Id: I45d39b3a526ab2c9a2ce273784ecdc4c3f03affd
Resolves: #26410
Reviewed-on: http://review.typo3.org/1776
Reviewed-by: Markus Klein
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
8 years ago[FEATURE] Change t3d exports default export target directory
Mario Rimann [Tue, 26 Jul 2011 21:06:33 +0000 (23:06 +0200)]
[FEATURE] Change t3d exports default export target directory

By default a t3d export ended up in fileadmin/ and the resulting file
was publicly available. This change just changes the default directory
to be fileadmin/_temp_/ which is .htaccess protected and cannot be
accessed from outside.

Change-Id: Ic01e1e38cb96e6f39ea84cd8f71decb046afccb0
Resolves: #17516
Reviewed-on: http://review.typo3.org/3728
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Saving Page Tree states issues in large environments
Jo Hasenau [Sat, 30 Jul 2011 19:59:41 +0000 (21:59 +0200)]
[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.6
Reviewed-on: http://review.typo3.org/3912
Reviewed-by: Jo Hasenau
Tested-by: Jo Hasenau
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Tested-by: Christian Kuhn
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[FEATURE] Use update-query to write fe_session data
Stefan Neufeind [Wed, 15 Jun 2011 22:50:45 +0000 (00:50 +0200)]
[FEATURE] Use update-query to write fe_session data

Use an update-query to write the front end user session data
to the database instead of doing a delete- and insert-query.

Using only one update-query saves resources and avoids
an inconsistent state between the delete- and insert-query
(since no transactions were used).

Original patch by Netresearch.

Change-Id: I58624215b65bced7473923eb6ce1966650c02860
Resolves: #19286
Reviewed-on: http://review.typo3.org/2761
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Xavier Perseguers
Reviewed-by: Markus Klein
Reviewed-by: Mario Rimann
Reviewed-by: Jo Hasenau
Reviewed-by: Georg Ringer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] t3lib_div::cmpFQDN() lacks support for IPv6 and hostnames
Xavier Perseguers [Tue, 12 Jul 2011 08:16:01 +0000 (10:16 +0200)]
[BUGFIX] t3lib_div::cmpFQDN() lacks support for IPv6 and hostnames

Add checks for IPv4 and IPv6. Otherwise take input as hostname.
Implement correct (recursive) wildcard-checks.
Add unit tests.

Change-Id: I721fb6d376ee9ef01352799dfad1813b38e87ded
Resolves: #27217
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/2526
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[FEATURE] Change the way saltedpasswords sets "eval" in ext_tables.php
Laurent Cherpit [Tue, 26 Jul 2011 16:20:42 +0000 (18:20 +0200)]
[FEATURE] Change the way saltedpasswords sets "eval" in ext_tables.php

For the TCA password fields (BE|FE), saltedpasswords overrides the
field used to add some evaluations method. The problem appears when
another evaluation method is added before saltedpasswords extension is
loaded.
Change the way of the available evaluations methods are added by
saltedpasswords.

Change-Id: Ibcc13da492736891937fefbf9e323338229fb1dc
Resolves: #28494
Releases: 4.6
Reviewed-on: http://review.typo3.org/3725
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] Show only not-installed extensions in Upgrade Wizard
Patrick Rodacker [Wed, 25 May 2011 19:15:13 +0000 (21:15 +0200)]
[BUGFIX] Show only not-installed extensions in Upgrade Wizard

Add the same routine from the Upgrade Wizard for new extensions to the
Upgrade Wizard for outsourced extensions to show only not-installed
extensions.

Change-Id: I8e7c0d0d1ff0b5c7f3c6c31fb26d2238730153d3
Resolves: #24914
Releases: 4.6
Reviewed-on: http://review.typo3.org/2371
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX][Cache] Let NullBackend implement PhpCapableBackend
Christian Kuhn [Sat, 30 Jul 2011 19:47:04 +0000 (21:47 +0200)]
[BUGFIX][Cache] Let NullBackend implement PhpCapableBackend

The null backend is very useful to effectivly disable caching
during development. With this change it also implements the
PhpCapableBackend interface and can be used to replace the
FileBackend this way.

This is the v4 backport of FLOW3 changeset
https://review.typo3.org/#change,3910

Additional to the FLOW3 version the null backend is now
required in config_default.php to enable the cache_phpcode
to use this backend in autoloader for development context.

Change-Id: Icca11825742eaa64b1e6f2db2aec48590887cb0b
Resolves: #28598
Related: #28589
Reviewed-on: http://review.typo3.org/3911
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[FEATURE] Session tables: add key for ses_timestamp and simplify timeout-check
Oliver Hader [Thu, 14 Jul 2011 22:50:41 +0000 (00:50 +0200)]
[FEATURE] Session tables: add key for ses_timestamp and simplify timeout-check

* add a key for ses_timestamp (in SQL) to speedup searches
  for sessions within timeout-limit
* simplify the overly-complex timeout-check

Change-Id: I171a63a0a7ec8cdd17c59d34411b41483d672b0f
Resolves: #20877
Reviewed-on: http://review.typo3.org/3341
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] htmlArea RTE: Small improvements for the Upgrade Wizard
Stanislas Rolland [Sun, 31 Jul 2011 02:13:45 +0000 (22:13 -0400)]
[BUGFIX] htmlArea RTE: Small improvements for the Upgrade Wizard

Spell "TSconfig" correctly.

Since only pages are searched for deprecated properties, add a note
that such can also be used in BE groups and BE user records.

Change-Id: I717b63139cf65803ab63e131291e2db1233e610d
Fixes: #28600
Releases: 4.6
Reviewed-on: http://review.typo3.org/3923
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[BUGFIX] Upgrade wizard incorrectly "finds" deprecated properties
Stanislas Rolland [Sat, 30 Jul 2011 22:57:44 +0000 (18:57 -0400)]
[BUGFIX] Upgrade wizard incorrectly "finds" deprecated properties

Make the pattern binary.
Do not select the pattern followed by 's' (do not select RTE.fontSizes)
Remove fontSize from properties that are replaced automatically.

Change-Id: I09d07c056eefc8e80b833fc59d99fb08c5e2a9b7
Fixes: #28597
Releases: 4.6
Reviewed-on: http://review.typo3.org/3920
Reviewed-by: Christopher
Tested-by: Christopher
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[FEATURE] Link Shortcut pages directly to target
Thorben Kapp [Tue, 19 Jul 2011 11:23:31 +0000 (13:23 +0200)]
[FEATURE] Link Shortcut pages directly to target

Menu items of type shortcut link to the target directly now,
even without realurl.

Change-Id: I444d9eddf4c98c9a8712627bbc5bd24a4c6aebc8
Related: #17037
Releases: 4.6
Reviewed-on: http://review.typo3.org/3413
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[FEATURE] htmlArea RTE: Possiblity to set pastetoggle to ON by default
Stanislas Rolland [Sat, 30 Jul 2011 05:41:28 +0000 (01:41 -0400)]
[FEATURE] htmlArea RTE: Possiblity to set pastetoggle to ON by default

Two new Page TSConfig properties are added:

* RTE.default.buttons.pastetoggle.setActiveOnRteOpen
  If set, and if the pastetoggle button is enabled, the button is
  toggled to ON when the RTE opens.

* RTE.default.buttons.pastetoggle.hidden
  If set, and if the pastetoggle button is enabled, the button is hidden
  in both the toolbar and the context menu.
  Hence, if buttons.pastetoggle.setActiveOnRteOpen is also set, all
  paste operations will be performed using the current clean paste
  behaviour.

The manual is updated to document the fact that default and/or
overriding values may be set for the clean paste behaviour.
For example:
  setup.override.rteCleanPasteBehaviour = plainText

Change-Id: I3f479846d5ce373f7f386fd450603faed08f7e8d
Resolves: #25039
Releases: 4.6
Reviewed-on: http://review.typo3.org/3896
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[BUGFIX] htmlArea RTE: Relative url's on pasted links/images in Firefox
Stanislas Rolland [Sat, 30 Jul 2011 20:25:09 +0000 (16:25 -0400)]
[BUGFIX] htmlArea RTE: Relative url's on pasted links/images in Firefox

When copying/pasting an internal link or image from and to the RTE
editing area, Firefox changes the href or src to a relative url.
After save, the url ends up being wrong.

Similar issues arises when moving images or links inside the editing
area and when dropping images in the RTE from the image dialogue
window.

This change works around Firefox issue
https://bugzilla.mozilla.org/show_bug.cgi?id=613517,
by making the url absolute again before saving or toggling
to source text mode, as well as on paste and drop events.

Change-Id: I27024687d897a36133113f47b4d52ca9e0ab6c90
Resolves: #28497, #24852, #27353
Releases: 4.4, 4.5, 4.6
Reviewed-on: http://review.typo3.org/3916
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[FEATURE] Show default text in search form with HTML5 attribute
Mario Rimann [Tue, 26 Jul 2011 20:39:00 +0000 (22:39 +0200)]
[FEATURE] Show default text in search form with HTML5 attribute

Adds a text "Search for" in the search form input
field as long as no text has been searched for
(improves accessibility). If the doctype is set to
"html5", the text is shown as attribute
placeholder="Search for", otherwise as field value
of the input field.

Change-Id: I6944b21d44ea365ac5969e94d7743f5418962ea2
Resolves: #28347
Resolves: #17496
Reviewed-on: http://review.typo3.org/3688
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] Upgrade wizard fails if no deprecated properties are found
Stanislas Rolland [Sat, 30 Jul 2011 16:44:32 +0000 (12:44 -0400)]
[BUGFIX] Upgrade wizard fails if no deprecated properties are found

Upgrade Wizard "Deprecated RTE properties in Page TS Config" fails
when no deprecated properties are used at all.

Make it a success, but keep the information message.

Change-Id: I0e0919cc02536a12d84da3d37cea64afe3af12e3
Resolves: #28593
Releases: 4.6
Reviewed-on: http://review.typo3.org/3908
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[FEATURE] Redirect to Shortcut target page
Thorben [Mon, 18 Jul 2011 13:27:25 +0000 (15:27 +0200)]
[FEATURE] Redirect to Shortcut target page

Redirect directly to the target page in Frontend, if the accessed page
is of type Shortcut and accessed directly via its URL.

Change-Id: I4199cb8c89d6dc5a21dac6f3cd03051245880bd8
Resolves: #28322
Releases: 4.6
Reviewed-on: http://review.typo3.org/3398
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Kay Strobach
Tested-by: Kay Strobach
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX] JSwindow-typolink URLs are encoded twice
Helmut Hummel [Sat, 30 Jul 2011 11:10:39 +0000 (13:10 +0200)]
[BUGFIX] JSwindow-typolink URLs are encoded twice

In #28189 a bug was introduced for JSwindow-typolink URLs.
Because t3lib_div::quoteJSvalue is called without second paramter,
the value passed to it will also be encoded with htmlspecialchars()
which is then done a second time when putting the link together.

Change the t3lib_div::quoteJSvalue call to not encode
the result with htmlspecailchars()

Resolves: #28536
Related: #28189

Releases: 4.3, 4.4, 4.5, 4.6

Change-Id: If6bcad4d2bf1e0a4b3f5a6f04e4718df8e4e7150
Reviewed-on: http://review.typo3.org/3901
Reviewed-by: Torben Hansen
Tested-by: Torben Hansen
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX][!!!] Problems with new Card Layout in backend modules
Kay Strobach [Thu, 28 Jul 2011 11:26:02 +0000 (13:26 +0200)]
[BUGFIX][!!!] Problems with new Card Layout in backend modules

There are warnings with backend modules concerning the new _JSINIT array.
To avoid these problems, this patch improves the way the module array is handled.

Module names starting with an underscore character "_" are not considered anymore.

Change-Id: Id749538dd8ee570581cb49df172800ec76242041
Releases: 4.6, 4.5
Resolves: #28523
Reviewed-on: http://review.typo3.org/3820
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[TASK] Remove workspacemenu.js
Bjoern Pedersen [Thu, 21 Jul 2011 08:28:51 +0000 (10:28 +0200)]
[TASK] Remove workspacemenu.js

typo3/js/workspacemenu.js is outdated and has been superceded by
typo3/sysext/workspaces/Resources/Public/JavaScript/workspacemenu.js

Change-Id: I09f71e38dde6776d1ee75d4d9e75710f5723fe53
Resolves: #25824
Releases: 4.6
Reviewed-on: http://review.typo3.org/3447
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] ExtJS Flashmessages are not shown any more
Philipp Gampe [Tue, 26 Jul 2011 08:01:17 +0000 (10:01 +0200)]
[BUGFIX] ExtJS Flashmessages are not shown any more

Change-Id: Ieac7632e0c4851b28c05bc662fc3855334ac53a4
Resolves: #28462
Releases: 4.6
Reviewed-on: http://review.typo3.org/3719
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Kay Strobach
Tested-by: Kay Strobach
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] Extension Manager: Change the cursor on hover of required extensions
Mario Rimann [Thu, 21 Jul 2011 22:11:44 +0000 (00:11 +0200)]
[BUGFIX] Extension Manager: Change the cursor on hover of required extensions

The new extension manager shows the "hand" cursor when hovering over
the icon of a required extension. This change just disables that by
enforcing the browser to show the default "arrow" cursor.

Change-Id: I05c075710effb9de3de147ba716495362c39da0a
Resolves: #13267
Releases: 4.6
Reviewed-on: http://review.typo3.org/3463
Reviewed-by: Christopher
Tested-by: Christopher
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] htmlArea RTE: localized acronym popup window misses window title
Stanislas Rolland [Fri, 29 Jul 2011 18:43:50 +0000 (14:43 -0400)]
[BUGFIX] htmlArea RTE: localized acronym popup window misses window title

Change-Id: Id5e6dcecdc21aacc0397db9edf91deb32ee0a98e
Resolves: #28575
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/3892
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[FEATURE][!!!][CONF] Deprecate various RTE configuration properties
Stanislas Rolland [Wed, 20 Jul 2011 02:54:55 +0000 (22:54 -0400)]
[FEATURE][!!!][CONF] Deprecate various RTE configuration properties

This feature is a first step at simplifying the RTE configuration.

 * Deprecate various, mostly legacy properties, and restructure
   some others in order to make the configuration structure more
   homogeneous.
 * Remove any deprecated properties from the default RTE
   configurations.
 * Provide an Install tool upgrade wizard for substituting some
   of the deprecated properties by their replacement properties and
   reporting the uid's of pages that specify deprecated properties
   that could not be replaced by the wizard; the wizard warns that
   some deprecated properties may be specified in included external
   files; those will need to be updated by the user.
 * Log to the deprecation log any usage of deprecated properties. Allow to
   disable logging of deprecated properties by setting Page
   TS Config property RTE.default.logDeprecatedProperties.disabled = 1.
   Allow to optionally log also to the BE log by setting
   RTE.default.logDeprecatedProperties.logAlsoToBELog = 1.

Change-Id: I3992d308702500ea39a2e7944eea687150995791
Resolves: #28325
Releases: 4.6
Reviewed-on: http://review.typo3.org/3425
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
Reviewed-by: Georg Ringer
8 years ago[TASK] Properly deprecate direct access to DB and file list
Xavier Perseguers [Thu, 28 Jul 2011 11:34:17 +0000 (13:34 +0200)]
[TASK] Properly deprecate direct access to DB and file list

Change-Id: I5ab30c14c57e0dc777d6faadc48fb762572c1469
Reviewed-on: http://review.typo3.org/3821
Reviewed-by: Philipp Gampe
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[TASK] Deprecation message should be on a single line
Xavier Perseguers [Thu, 28 Jul 2011 11:35:38 +0000 (13:35 +0200)]
[TASK] Deprecation message should be on a single line

Having a deprecation message on multiple lines somehow breaks
the deprecation log entry as only the first line is logged.

Change-Id: I319d66d5e4cae4d9cc8a9a0392d0e68583459ec4
Reviewed-on: http://review.typo3.org/3823
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[FEATURE] Speedup backend and allow compression in frontend
Kai Vogel [Sat, 25 Jun 2011 08:58:05 +0000 (10:58 +0200)]
[FEATURE] Speedup backend and allow compression in frontend

This patch improves the determination of relative paths of include
files, concatenates the jsFiles and jsFooterFiles in backend by
default to speedup the backend and provides a default compressor
for the frontend.

Change-Id: I569d285cc12c7eec808094903d5c8ee2e749f9ec
Resolves: #27694
Reviewed-on: http://review.typo3.org/2924
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Georg Ringer
8 years ago[FEATURE] felogin: Add hook before HTTP redirect
Xavier Perseguers [Fri, 22 Jul 2011 11:14:24 +0000 (13:14 +0200)]
[FEATURE] felogin: Add hook before HTTP redirect

Implement hook into the login process after a successful login if a
redirect is performed. When no redirect is performed, postProcContent
may be used to perform additional actions.

Change-Id: Id6259fb7c843ad08432f1df27a15963276e08611
Resolves: #23671
Releases: 4.6
Reviewed-on: http://review.typo3.org/3471
Reviewed-by: Helmut Hummel
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[TASK] Prepare deprecation of t3lib_div::int_from_ver()
Xavier Perseguers [Wed, 27 Jul 2011 08:06:05 +0000 (10:06 +0200)]
[TASK] Prepare deprecation of t3lib_div::int_from_ver()

Deprecating t3lib_div::int_from_ver() in 4.6 leads to major developer
annoyance because this method is used to switch to compatibility code
for older versions of TYPO3 in extensions and a hocus-pocus is needed
to prevent calling it if using 4.6.

Deprecate this method in two phases:
- TYPO3 4.6: mark it as deprecated
- TYPO3 4.7: use deprecation log to deprecate it really

This method should only be removed in TYPO3 4.9.

Change-Id: I73cfc9a5e15f6f336534e3705e914fc37862472e
Resolves: #28499
Releases: 4.6
Reviewed-on: http://review.typo3.org/3733
Reviewed-by: Benjamin Mack
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[FEATURE] Speed-up Backend with CardLayout
Kay Strobach [Fri, 15 Jul 2011 18:03:26 +0000 (20:03 +0200)]
[FEATURE] Speed-up Backend with CardLayout

This patch adds a cardlayout to the Backend.
BE Modules may register themselves to the page renderer and add cards
directly to the layout.

To achieve that, a new way of adding JavaScript to the BE is available.
$GLOBALS['TBE_MODULES']['_JSINIT']['key'] = 'JSCODE';

This way changing the module is quite fast.

To keep old behaviour the iframe is loaded with the module root
url if the module item of an already opened module is clicked.

The Extension Manager or the About module can be simply reworked to support
that feature.

Other new features like the dashboard depend on this change too.

API hints:

JavaScript
 - in old times we used:
   TYPO3.Backend.ContentContainer.setUrl(uri);

   Now please use
   TYPO3.ModuleMenu.App.openInContentFrame(uri, params);
   The "new" function was available before and knows the current
   module. This function uses the correct iframe - if it is allowed to
   load the module.

PHP
 - added new Parameter to t3lib_extMgm::addModule to disable the card
   autocreation on demand

Change-Id: I2bf206b7154c20575b0d2ce72150621b2dfbdb35
Resolves: #12664
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3370
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Tested-by: Soren Malling
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] Ext Direct API lacks the possibility of adding access control
Stefan Galinski [Wed, 27 Jul 2011 10:51:23 +0000 (12:51 +0200)]
[BUGFIX] Ext Direct API lacks the possibility of adding access control

Change-Id: I069b13ed5a36b60c1b1c03d027680e7bdb2989e7
Resolves: #25307
Reviewed-on: http://review.typo3.org/3782
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[BUGFIX] Untrusted GP data is unserialized in wizard_colorpicker.php and view_help.php
Christian Kuhn [Wed, 27 Jul 2011 10:50:49 +0000 (12:50 +0200)]
[BUGFIX] Untrusted GP data is unserialized in wizard_colorpicker.php and view_help.php

Change-Id: Ib148d040cf4c8eb4b3bde6966fdcd494b9ed7cc4
Resolves: #24577
Reviewed-on: http://review.typo3.org/3779
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[BUGFIX] Unprivileged backend user can read arbitrarily from database
Helmut Hummel [Wed, 27 Jul 2011 10:50:08 +0000 (12:50 +0200)]
[BUGFIX] Unprivileged backend user can read arbitrarily from database

Change-Id: Ie0f19500b713fece84e1fc2caf7d724864965481
Resolves: #26876
Reviewed-on: http://review.typo3.org/3775
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[BUGFIX] Backend user without accordant language permissions can see workspace changes
Michael Klapper [Wed, 27 Jul 2011 10:43:17 +0000 (12:43 +0200)]
[BUGFIX] Backend user without accordant language permissions can see workspace changes

Change-Id: I808c6879b65f3237ecfb47a2d4145f128fc8ffdf
Resolves: #27414
Reviewed-on: http://review.typo3.org/3768
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[BUGFIX] XSS in TYPO3 core when using typolink.parameter JS-Popup Window
Marco Bresch [Wed, 27 Jul 2011 10:30:08 +0000 (12:30 +0200)]
[BUGFIX] XSS in TYPO3 core when using typolink.parameter JS-Popup Window

Change-Id: I1e04d0da3d139eef14d38f3ea4efe86172f4093d
Resolves: #28189
Reviewed-on: http://review.typo3.org/3766
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[BUGFIX] XSS in tcemain flash message
Georg Ringer [Wed, 27 Jul 2011 10:29:52 +0000 (12:29 +0200)]
[BUGFIX] XSS in tcemain flash message

Change-Id: I1ee63a425032165587780354849f4521eccd825d
Resolves: #24535
Reviewed-on: http://review.typo3.org/3762
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader