Packages/TYPO3.CMS.git
8 years ago[FEATURE] Allow user-defined additional backend languages
Xavier Perseguers [Wed, 7 Sep 2011 17:16:29 +0000 (19:16 +0200)]
[FEATURE] Allow user-defined additional backend languages

At the moment, any language may be used for Frontend output. But in Backend, the list
of supported languages is hardcoded at various places. This prevents additional
languages to be defined locally, for instance when translating TYPO3 into a new
language, before it gets officially supported by the Core.

Change-Id: I66cd9149c860746356e249c778a5303211076d37
Resolves: #29513
Releases: 4.6
Reviewed-on: http://review.typo3.org/4830
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Dominique Feyer
Tested-by: Dominique Feyer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[TASK] Encrypt password transmission in user setup
Helmut Hummel [Mon, 22 Aug 2011 06:36:56 +0000 (08:36 +0200)]
[TASK] Encrypt password transmission in user setup

If extension rsaauth is enabled, the password transmission
when saving the user settings form should be encrypted.

Resolves: #29143
Releases: 4.6

Change-Id: Icdbc63306289387690a5a71b96eb481c9515d233
Reviewed-on: http://review.typo3.org/4462
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[FEATURE] Allow user-defined additional backend languages
Xavier Perseguers [Tue, 6 Sep 2011 13:23:42 +0000 (15:23 +0200)]
[FEATURE] Allow user-defined additional backend languages

At the moment, any language may be used for Frontend output. But in Backend, the list
of supported languages is hardcoded at various places. This prevents additional
languages to be defined locally, for instance when translating TYPO3 into a new
language, before it gets officially supported by the Core.

Change-Id: Ibd3236a82790f9f20c91ff3663d6625694ef7cf6
Resolves: #29513
Releases: 4.6
Reviewed-on: http://review.typo3.org/4797
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[BUGFIX] Typo in $TYPO3_CONF_VARS['BE']['lang']['debug']
Xavier Perseguers [Tue, 6 Sep 2011 11:55:58 +0000 (13:55 +0200)]
[BUGFIX] Typo in $TYPO3_CONF_VARS['BE']['lang']['debug']

'debug' is wrongly written 'degug' in default configuration.

Change-Id: I0d47fe0234b81b5b6a8b6ab13ee1d07a2854ddad
Releases: 4.6
Reviewed-on: http://review.typo3.org/4794
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[TASK] Clean up t3lib_message_ErrorPageMessage
Steffen Gebert [Mon, 8 Aug 2011 16:07:13 +0000 (18:07 +0200)]
[TASK] Clean up t3lib_message_ErrorPageMessage

Change-Id: I598acfa2b2c15b1fb290827504a23462c90b374d
Resolves: #29494
Reviewed-on: http://review.typo3.org/4775
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[TASK] Add missing XCLASS to the t3lib_l10n_* classes
Xavier Perseguers [Mon, 5 Sep 2011 06:43:54 +0000 (08:43 +0200)]
[TASK] Add missing XCLASS to the t3lib_l10n_* classes

The t3lib_l10n_* classes lack the XCLASS definition even though
they are instantiated with makeInstance().

Change-Id: I5304552a6ce8ad943dcd27d977754d055e60c694
Resolves: #29473
Releases: 4.6
Reviewed-on: http://review.typo3.org/4763
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] Add missing files for HTTP_Request2
Philipp Gampe [Tue, 30 Aug 2011 06:19:18 +0000 (08:19 +0200)]
[BUGFIX] Add missing files for HTTP_Request2

Some files have been forgotten while committing HTTP_Request2,
because they are in a different directory and rarely used.

Change-Id: Ifc11dfdbdac5378fed6db33ccd434a0341bbf35f
Fixes: #29337
Releases: 4.6
Reviewed-on: http://review.typo3.org/4671
Reviewed-by: Xavier Perseguers
Reviewed-by: Björn Pedersen
Tested-by: Xavier Perseguers
8 years ago[TASK] XLIFF: Add translation hint to labels, which must not be
Christopher Stelmaszyk [Wed, 31 Aug 2011 05:33:39 +0000 (07:33 +0200)]
[TASK] XLIFF: Add translation hint to labels, which must not be
translated

In the Core there are several labels, which contain strings, which
must not be translated. However, people on the Translation Server
translate them as sentences, which breaks functionality. The best
way to prevent this is to add translation hints to those labels
pointing out that they must not be changed.

Change-Id: Ibb765b53fc6093b087d22a1ba5f34efebd4db43b
Resolves: #29335
Reviewed-on: http://review.typo3.org/4708
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Dominique Feyer
Tested-by: Dominique Feyer
8 years ago[BUGFIX] High CPU load in IE8/9 when using context menu in htmlArea RTE
Stanislas Rolland [Thu, 1 Sep 2011 17:08:20 +0000 (13:08 -0400)]
[BUGFIX] High CPU load in IE8/9 when using context menu in htmlArea RTE

Cleanup event listeners.

Change-Id: I1280ec790a3b4c97c1b867b451b719f297bb625a
Resolves: #29361
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4733
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[BUGFIX] RTE context menu adds unwanted id attribute to target
Stanislas Rolland [Thu, 1 Sep 2011 14:04:44 +0000 (10:04 -0400)]
[BUGFIX] RTE context menu adds unwanted id attribute to target

The context menu plugin uses Ext.get on the target element. ExtJs thus adds an unwanted id attribute to content.

Solution: Use Ext.fly rather than Ext.get.

Change-Id: Id91f6dfa4ed7a1f5f2591eb7ff2e24ba594fedc2
Resolves: #29421
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4720
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[BUGFIX] Incorrect behaviour of style selector in RTE
Stanislas Rolland [Wed, 24 Aug 2011 15:15:08 +0000 (11:15 -0400)]
[BUGFIX] Incorrect behaviour of style selector in RTE

When all classes allowed on an element have been assigned to a single
element, the block/text style selector becomes disabled. It is then not
possible to remove the assigned classes from this element.

Change-Id: Ifc5ca8e4fc07c8627a07fe94854ceda056b2e557
Resolves: #27801
Releases: 4.4, 4.5, 4.6
Reviewed-on: http://review.typo3.org/4572
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[TASK] Set TYPO3 version to 4.6-dev
TYPO3 v4 Release Team [Tue, 30 Aug 2011 12:37:21 +0000 (14:37 +0200)]
[TASK] Set TYPO3 version to 4.6-dev

Change-Id: I30e3d3cadcbb04c6038f64193c573b9ad7be4342
Reviewed-on: http://review.typo3.org/4682
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years ago[RELEASE] Release of TYPO3 4.6.0beta2
TYPO3 v4 Release Team [Tue, 30 Aug 2011 12:37:13 +0000 (14:37 +0200)]
[RELEASE] Release of TYPO3 4.6.0beta2

Change-Id: I67fda92ae7fb9b161c17a0c9b8d4df1876ec7fbf
Reviewed-on: http://review.typo3.org/4681
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years ago[TASK] Change dimension of extjs message icons from 16x16 to 32x32
Kay Strobach [Thu, 4 Aug 2011 17:04:27 +0000 (19:04 +0200)]
[TASK] Change dimension of extjs message icons from 16x16 to 32x32

This changeset just increases the width and height of the icons in
Ext.Msg based messages to make the type of the message better
noticeable.

Fabien Udriot has created the icons - thanks.

Resolves: #28772
Releases: 4.6

Change-Id: I3c3c48ec51abb50657ae3bf8f5ff7dc799b1380b
Reviewed-on: http://review.typo3.org/4154
Reviewed-by: Fabien Udriot
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Oliver Hader
8 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Tue, 30 Aug 2011 12:24:28 +0000 (14:24 +0200)]
[TASK] Raise submodule pointer

Change-Id: I53b389b9dd17b5c6ac3f73e75313e2f0d71d0dfd
Reviewed-on: http://review.typo3.org/4680
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years ago[BUGFIX] Bring back recStatInfoHooks hook in Page Tree
Georg Ringer [Tue, 30 Aug 2011 12:03:14 +0000 (14:03 +0200)]
[BUGFIX] Bring back recStatInfoHooks hook in Page Tree

There was a hook 'recStatInfoHooks' in class.webpagetree.php, which is
missing in the current implementation with ExtJS.

Change-Id: I5cae926c7cfe623ba945e9a044b2d4128d889df4
Resolves: #27247
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/2546
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] Cannot use own translation with XLIFF
Xavier Perseguers [Mon, 29 Aug 2011 06:55:55 +0000 (08:55 +0200)]
[BUGFIX] Cannot use own translation with XLIFF

XLIFF files contains the definition for a single language. Additional languages cannot
be stored as when using ll-XML (locallang*.xml) files.

Allow localization files to be stored next to the main locallang*.xlf file, by prefixing
its name with the language key, just as for localization files retrieved from TYPO3
translation server.

Change-Id: If930350527077be33bdbeced9672f13793d1d8f4
Fixes: #29248
Releases: 4.6
Reviewed-on: http://review.typo3.org/4601
Reviewed-by: Björn Pedersen
Reviewed-by: Dominique Feyer
Tested-by: Dominique Feyer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] Externally-referenced ll-XML files are not parsed
Xavier Perseguers [Mon, 29 Aug 2011 07:41:24 +0000 (09:41 +0200)]
[BUGFIX] Externally-referenced ll-XML files are not parsed

It is not possible to load an externally-referenced localization file
as explained in the documentation:

<languageKey index="fr">EXT:yourext/path/to/fr.locallang.xml</languageKey>

Change-Id: I2461a77c98779165bf6a39b0d73fdda4984a1399
Fixes: #29313
Releases: 4.6
Reviewed-on: http://review.typo3.org/4651
Reviewed-by: Dominique Feyer
Tested-by: Dominique Feyer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[TASK] Merge linkvalidator for beta2
Philipp Gampe [Tue, 30 Aug 2011 06:46:46 +0000 (08:46 +0200)]
[TASK] Merge linkvalidator for beta2

Changes:
0c69001 [TASK] Release linkvalidator 1.0.4
defb32e [TASK] Fix phpdoc and method signatures
2f1f5e0 [BUGFIX] Fatal error with E_STRICT: Declarations of
fetchType and checkLink must be compatible with interface
64769ad [BUGFIX] XLIFF: Approved attribute is on wrong element
11b6535 [TASK] Unify table layouts
fb76d81 [TASK] Update ChangeLog
5096f76 [TASK] Refactor to t3lib_http_Request for external URLs
ad08acf [TASK] Add XLIFF files
267122e [TASK] Fix localization handling to support XLIFF
2a9f3ff [TASK] Merge changes from 4.5 upstream to master
6b026f3 [BUGFIX] Correct initialisation of BACK_PATH
79e5177 [TASK] Add .gitignore file.

Change-Id: I9efee664ffeb5174f8d5c382411d1b1abc6a26a4
Resolves: #29339
Releases: 4.6
Reviewed-on: http://review.typo3.org/4673
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] Fix HTTP Request Exceptions with SSL certificates
Philipp Gampe [Sun, 31 Jul 2011 18:46:15 +0000 (20:46 +0200)]
[BUGFIX] Fix HTTP Request Exceptions with SSL certificates

HTTP_Request2 expects the default value for ssl_cafile, ssl_capath,
ssl_local_cert and ssl_passphrase to be NULL, and not ''.

As the Install Tool is not able to handle this, we need to check if
those values are empty and set them NULL accordingly.

Additionally the socket adapter has trouble with ssl_verify_peer.
Therefore change ssl_verify_peer to FALSE by default

Change-Id: I065c649a671d4360c9a51ab4be40fb0eb58d6ec6
Resolves: #28619
Reviewed-on: http://review.typo3.org/3949
Reviewed-by: Stefan Neufeind
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[TASK] Convert XLIFF files to Tab indentation
Steffen Gebert [Sun, 28 Aug 2011 15:46:53 +0000 (17:46 +0200)]
[TASK] Convert XLIFF files to Tab indentation

Change-Id: If71429224f5c1f79b497987b70135b96c2a5d86a
Reviewed-on: http://review.typo3.org/4636
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[TASK] Improve filename in *.t3d export
Mario Rimann [Tue, 16 Aug 2011 20:34:47 +0000 (22:34 +0200)]
[TASK] Improve filename in *.t3d export

Change the default date format in the filename when exporting
a T3D file to be YYYY-MM-DD_HH-MM in order to make the
exported files sortable.

Change-Id: Idc463cbf0e33757152dc7f906a49068d6827f097
Resolves: #28777
Releases: 4.6
Reviewed-on: http://review.typo3.org/4383
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] RTE breaks mailto links in Firefox
Stanislas Rolland [Mon, 29 Aug 2011 16:22:36 +0000 (12:22 -0400)]
[BUGFIX] RTE breaks mailto links in Firefox

mailto link are incorrectly prefixed with base url

Change-Id: If97e99143666428dfced2bb7e129e1494c84f17e
Resolves: #29141
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4666
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[TASK] Improve description of $TYPO3_CONF_VARS['SYS']['no_pconnect']
Christopher [Sun, 28 Aug 2011 17:58:33 +0000 (19:58 +0200)]
[TASK] Improve description of $TYPO3_CONF_VARS['SYS']['no_pconnect']

Improve the description of $TYPO3_CONF_VARS['SYS']['no_pconnect'],
so that people at least get a keyword, which they can put into
Google, when they don't know, what to set here.

Change-Id: Ifde0587bdc9bf554b5f8497c7aae05347349ba2e
Resolves: #29304
Reviewed-on: http://review.typo3.org/4642
Reviewed-by: Kestutis
Tested-by: Kestutis
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] HTMLparser, treat fixAttrib.unset as boolean
Markus Klein [Thu, 25 Aug 2011 18:12:37 +0000 (13:12 -0500)]
[BUGFIX] HTMLparser, treat fixAttrib.unset as boolean

HTMLparser_tags fixAttrib.unset is documented to be boolean, but is
currently treated as string.
This patch corrects for the expected behavior.

Change-Id: I608debf23280dd7d3816fe1ee05421cc88efc752
Resolves: #29246
Releases: 4.6, 4.5, 4.4, 4.3
Reviewed-on: http://review.typo3.org/4605
Reviewed-by: Christopher
Tested-by: Christopher
Reviewed-by: Egbert van der Hout
Reviewed-by: Björn Pedersen
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
8 years ago[BUGFIX] Add DB structure update pre-processing hook in EM
Xavier Perseguers [Fri, 26 Aug 2011 10:04:27 +0000 (12:04 +0200)]
[BUGFIX] Add DB structure update pre-processing hook in EM

Extension Manager lacks a way to perform actions prior to modifying the database
structure (create new tables or add additional fields in existing ones) when
installing an extension.

This would be very handy for DBAL to let user update mapping definition from within
TYPO3 without the need to first manually edit typo3conf/localconf.php.

This is a bugfix as the feature had been accepted for 4.5.0beta1 and was wrongly
removed during Extension Manager refactoring task. In fact, the interface is still
here but never used.

Change-Id: I4de8490a6ad61f0068525fda07f41a8601be9c6c
Fixes: #23877
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4614
Reviewed-by: Björn Pedersen
Reviewed-by: Philipp Gampe
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
8 years ago[BUGFIX] Message about missing db credentials is misleading
Christopher [Sat, 27 Aug 2011 16:24:11 +0000 (18:24 +0200)]
[BUGFIX] Message about missing db credentials is misleading

If persistent connections are not allowed by MySQL the error message "Can only
select database if username/password/host is correctly set first." is shown.
Add an explanation that $TYPO3_CONF_VARS['SYS']['no_pconnect'] must be set 0
if persistent connections are not allowed.

Change-Id: I28f373c1e771f00d1584eff5080bfa51cf48ed96
Fixes: #29245
Releases: 4.6
Reviewed-on: http://review.typo3.org/4633
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
8 years ago[BUGFIX] Check for PHP 5.3
Wouter Wolters [Sat, 27 Aug 2011 12:14:33 +0000 (14:14 +0200)]
[BUGFIX] Check for PHP 5.3

Minimum PHP version to check for is now 5.3. The fix for the exec()
function in PHP lower than 5.3 on Windows is removed.

Change-Id: I62530c75ebbed592bbf0a6503ccadd229bb1c923
Fixes: #29285
Releases: 4.6
Reviewed-on: http://review.typo3.org/4630
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
8 years ago[BUGFIX] 'Update settings' button does not work in new em
Susanne Moog [Mon, 22 Aug 2011 18:55:28 +0000 (20:55 +0200)]
[BUGFIX] 'Update settings' button does not work in new em

After installing an extension you get a popup where you can
update the configuration settings of an extension. In the new
extension manager the update button there will not work as it
is a submit button but the form around the fields is missing.

Attached patch simply inserts the form in this case, too.

Change-Id: I9c4d5c1f1b84f1b6d7c3e1e1be33ee63752d09e9
Resolves: #29172
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4536
Reviewed-by: Björn Pedersen
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] XLIFF: Approved attribute is on wrong element
Xavier Perseguers [Fri, 26 Aug 2011 07:41:41 +0000 (09:41 +0200)]
[BUGFIX] XLIFF: Approved attribute is on wrong element

Attribute "approved" is currently put on "target" element instead
of "trans-unit".

Change-Id: I550eebbdcd549ada4a00c9cba4e45f690262381e
Fixes: #29262
Releases: 4.6
Reviewed-on: http://review.typo3.org/4607
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] Livesearch does not find all pages
Udo Leimberger [Mon, 22 Aug 2011 06:19:34 +0000 (08:19 +0200)]
[BUGFIX] Livesearch does not find all pages

If you are a BE user with various mount points (no admin), live search
does not find all pages.

Change-Id: Ie4c9c41f65d8a84722fa3847921912c7fb5a18f1
Resolves: #29086
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4460
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[TASK] Streamline class prefix handling in the core
Susanne Moog [Mon, 22 Aug 2011 15:53:51 +0000 (17:53 +0200)]
[TASK] Streamline class prefix handling in the core

At the moment the frontend option userFuncClassPrefix is also checked in
various backend scenarios (for example the registry) and in general
everywhere t3lib_div::hasValidPrefix is called. Therefore it should be a system
option. Additionally to ensure "user_" is working as a prefix this was given
hardcoded as additionalPrefix to the function in some cases.

This patch streamlines the handling of prefixes, introduces a [SYS] option
additionalAllowedClassPrefixes, deprecates the [FE] option and allows
the prefixes 'tx_', 'Tx_', 'user_' and 'User_' by default.

Change-Id: I70fa89120dbe8c7790e3d6de4b173b69beb8a6f9
Resolves: #29166
Releases: 4.6
Reviewed-on: http://review.typo3.org/4526
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] exec_SELECTcountRows returns string
Georg Ringer [Tue, 23 Aug 2011 04:04:06 +0000 (06:04 +0200)]
[BUGFIX] exec_SELECTcountRows returns string

PHPdoc states that return value is either FALSE if
something strange happened or integer with the count of
records.

MySql returns strings, so an intval is needed to have integers

Change-Id: I521db73e7e9a85c2f616d869f50b3d012cdb1dcb
Resolves: #29169
Releases: 4.6, 4.5, 4.4
Reviewed-on: http://review.typo3.org/4540
Reviewed-by: Oliver Klee
Reviewed-by: Xavier Perseguers
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[TASK] Fix invalid class reference in deprecation message
Xavier Perseguers [Wed, 24 Aug 2011 12:19:59 +0000 (14:19 +0200)]
[TASK] Fix invalid class reference in deprecation message

References to tx_lang_parser_* should be replaced by t3lib_l10n_parser_*

Change-Id: I529227db91a126ccea25b58211c381c3c5d429f7
Reviewed-on: http://review.typo3.org/4565
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] INTincScript_process: array check too late
Bjoern Pedersen [Mon, 8 Aug 2011 11:20:28 +0000 (13:20 +0200)]
[BUGFIX] INTincScript_process: array check too late

The array check for the configuration has been moved before
the first usage.

Change-Id: Ia1355206b2a2e7bdc1cfa9b15402abb2ef3f36d5
Resolves: #28833
Releases: 4.6
Reviewed-on: http://review.typo3.org/4215
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX] Extension Manager Cleanup
Steffen Kamper [Tue, 2 Aug 2011 09:02:21 +0000 (11:02 +0200)]
[BUGFIX] Extension Manager Cleanup

Beside some type hintings and indent correction there is now a check
in response for timeout with fetching translation, so the UI is not
blocked anymore if a timeout occurs.

Change-Id: I670a2df4fddab0be6b0cb05e69e009c08db5e1fa
Resolves: #28667
Reviewed-on: http://review.typo3.org/4012
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Clean up API of t3lib_cache
Christian Kuhn [Mon, 22 Aug 2011 18:11:40 +0000 (20:11 +0200)]
[BUGFIX] Clean up API of t3lib_cache

This cleans up some loose ends of the caching framework by default patch series
for 4.6: Some methods in t3lib_cache are not static and there is still a check
for isCachingFrameworkInitialized() in tcemain.

Change-Id: I5725672849db185eaa6683ee9749cc9295d4ef01
Resolves: #29171
Reviewed-on: http://review.typo3.org/4529
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[TASK] Move aboutmodules files into extension directory
Steffen Kamper [Tue, 2 Aug 2011 11:56:56 +0000 (13:56 +0200)]
[TASK] Move aboutmodules files into extension directory

There are two classes in typo3 directory which belong to the "aboutmodules" module:
alt_intro.php
class.alt_menu_functions.inc

Move them into the extension's directory, cleanup a bit and use the module
dispatcher to call the module.

Change-Id: I2c398d985339bd1b35d15755cfec43b6e2c42eb5
Resolves: #28676
Reviewed-on: http://review.typo3.org/4021
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[CLEANUP] Remove code duplication in saltedpasswords
Andreas Wolf [Mon, 6 Jun 2011 21:12:45 +0000 (23:12 +0200)]
[CLEANUP] Remove code duplication in saltedpasswords

There is some duplicate code in tx_saltedpasswords_sv1::authUser().
This patch removes the code, making it more readable.

Change-Id: Ie461059bcc699936774a8e41475a9cbbc98d9606
Resolves: #29157
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/3039
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX] Remove check for invalid prefix in addService
Christian Kuhn [Mon, 22 Aug 2011 14:53:17 +0000 (16:53 +0200)]
[BUGFIX] Remove check for invalid prefix in addService

t3lib_extMgm::addService() checks that $serviceType (eg. 'auth') does not start
with a valid class prefix. While it is probably not a good idea to prefix a
service type with 'user_' or 'tx_', there is no technical reason to enforce
this. The check especially leads to problems if
TYPO3_CONF_VARS['FE']['userFuncClassPrefix'] is set to an empty string.
This patch removes the check.

Change-Id: I078078eef5147cb267483a0d8d04ab113a24f7e9
Resolves: #29165
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/4525
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[TASK] Remove array duplication in T3_SERVICES
Christian Kuhn [Mon, 22 Aug 2011 14:43:13 +0000 (16:43 +0200)]
[TASK] Remove array duplication in T3_SERVICES

These informations are important for a service:

* Extension name of a service implementation (e.g. 'saltedpasswords')
* Service type (eg. 'auth')
* Class implementing the service
  (service key, e.g. 'tx_saltedpasswords_sv1').

t3lib_extMgm::addService() registers a service in global array
$T3_SERVICES[type][key].
Additionally it registers the same service as $T3_SERVICES[key][key].

The latter registration is actually never used by any other service
method in the core and can be removed to simplify this handling.

Change-Id: I2c8c53bb763b0a41e5c2488bbcef96f7e1505c9f
Resolves: #29164
Reviewed-on: http://review.typo3.org/4522
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[TASK] Use autoloader in rsaauth system extension
Helmut Hummel [Mon, 22 Aug 2011 00:51:28 +0000 (02:51 +0200)]
[TASK] Use autoloader in rsaauth system extension

Resolves: #29142
Releases: 4.6

Change-Id: I5ee0161a49d22c9d29b82bebfce6a16d3f1a439d
Reviewed-on: http://review.typo3.org/4461
Reviewed-by: Georg Ringer
Reviewed-by: Xavier Perseguers
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX] Fix isAbsPath() on Windows
Daniel Hoffmann [Mon, 25 Jul 2011 06:45:42 +0000 (08:45 +0200)]
[BUGFIX] Fix isAbsPath() on Windows

Paths starting with a slash are absolute on Windows, too.

Change-Id: Ie34449b8fc9f5e5a203044457baa64283412cf66
Resolves: #16798
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/3712
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] Broken links representation gets saved to the database
Stanislas Rolland [Mon, 15 Aug 2011 20:25:28 +0000 (16:25 -0400)]
[BUGFIX] Broken links representation gets saved to the database

Solution: Avoid wrapping the a tag with span tag when style attribute
is set when rteerror attribute is also set.

Change-Id: I0f517b9f01deec05c9d31661a5fcf13f60ea0d37
Resolves: #25302
Releases: 4.4, 4.5, 4.6
Reviewed-on: http://review.typo3.org/4351
Reviewed-by: Georg Ringer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX] TYPO3 tries to connect to typo3.org on every login
Susanne Moog [Sun, 21 Aug 2011 15:42:31 +0000 (17:42 +0200)]
[BUGFIX] TYPO3 tries to connect to typo3.org on every login

The extension manager tries to establish a connection to the TER
as soon as user credentials for a user are given.

This patch changes that behavior so that it is only done for
the functions that actually need a TER call.

Additionally I did some cleanup.

Change-Id: I4424f71d1b645ffdb46b3319409a48dbe00c7e70
Resolves: #28949
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/4453
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Labels of modules extending t3lib_extobjbase not loaded
Christian Kuhn [Sun, 21 Aug 2011 12:53:13 +0000 (14:53 +0200)]
[BUGFIX] Labels of modules extending t3lib_extobjbase not loaded

Modules that extend t3lib_extobjbase currently do not show any label.
Affected are for example the function wizards like sort pages and sub modules
of the info module like info_pagetsconfig. The patch fixes this by changing
t3lib_extobjbase to look for .xlf files as well.

Change-Id: Id7faa5bb7e125b1857b07c28df561a760752e9ad
Resolves: #29134
Reviewed-on: http://review.typo3.org/4447
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX] t3lib_lock: Clean up constructor and add unit tests
Christian Kuhn [Sun, 21 Aug 2011 09:28:13 +0000 (11:28 +0200)]
[BUGFIX] t3lib_lock: Clean up constructor and add unit tests

t3lib_lock can be cleaned up a bit: The constructor currently returns values
which is impossible, one error case is turned into an exception.
The constructor is additionally covered with unit tests.

Change-Id: I86b2d7e2c1329cefd6a00952c9a024fd926d5abf
Resolves: #29132
Reviewed-on: http://review.typo3.org/4444
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX] Setting userFuncClassPrefix to empty string does not work
Susanne Moog [Sun, 21 Aug 2011 09:40:29 +0000 (11:40 +0200)]
[BUGFIX] Setting userFuncClassPrefix to empty string does not work

Setting $GLOBALS['TYPO3_CONF_VARS']['FE']['userFuncClassPrefix']
to an empty string - to allow all prefixes - does not work as
expected as the check in t3lib_div expects a valid string with
length > 0. Adjust t3lib_div::hasValidClassPrefix to also
allow empty prefix var.

Change-Id: Idbd8cf7a547d9549f1c31dadd731eda48f52fcec
Resolves: #29133
Releases: 4.6
Reviewed-on: http://review.typo3.org/4445
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Problems with Cardlayout
Kay Strobach [Mon, 8 Aug 2011 20:13:14 +0000 (22:13 +0200)]
[BUGFIX] Problems with Cardlayout

This fix contains several parts:

1. alt_file_navframe.php
   changed top.TYPO3.Backend.ContentContainer.setUrl()
   to new function
   top.TYPO3.ModuleMenu.App.openInContentFrame()

   This fix solves the problem in the filemodule

2. iframepanel.js
   added small delay to ensure, that the panel is rendered with correct
   size before applying the mask (force centering of loading indicator)

3. modulemenu.js
   make tree detect changed ids

4. modulemenu.js
   refactoring of the following functions:
   - loadModuleComponents
   - openInContentFrame
   this has been done to reduce redundant code

Change-Id: Ibccd5d6880e1e957d5de232fdc8f4ad168cd16ab
Resolves: #28851
Releases: 4.6
Reviewed-on: http://review.typo3.org/4299
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Fix security level "normal" for backend login
Helmut Hummel [Sat, 20 Aug 2011 17:02:45 +0000 (19:02 +0200)]
[BUGFIX] Fix security level "normal" for backend login

Only change the object property to something different than "superchallenged"
if the configuration is not set to a "standard" security level.

Resolves: #29130
Releases: 4.6, 4.5, 4.4, 4.3

Change-Id: Ibf1194d04a7159ade9ef33701e92930f98cfb90e
Reviewed-on: http://review.typo3.org/4452
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Add admin-note to tab-description of extension-manager
Stefan Neufeind [Sun, 21 Aug 2011 14:47:42 +0000 (16:47 +0200)]
[BUGFIX] Add admin-note to tab-description of extension-manager

All other admin-modules already have this under "About modules".

Change-Id: I54cc1ee2d3505f797623b5b9708174ee3e9df50e
Resolves: #21528
Reviewed-on: http://review.typo3.org/2788
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX] sys_action: Fix Record List page switching
Thomas Maroschik [Sun, 21 Aug 2011 12:22:04 +0000 (14:22 +0200)]
[BUGFIX] sys_action: Fix Record List page switching

If a list-records-task lists more than 100 records, the singe table page turning
functionality is shown on top of the table. If you want to switch the page (or
enter a page number) nothing happens or you get elsewhere than you are supposed
to be.

This happens due to wrong link generation. The Listmodule has been refactored, but the
sys_actions Module stayed the same. Link generation was broken.

This patch fixes the issues with sys_actions and list link generation by subclassing
the localRecordList class and adopting the link generation to sys_actions needs.

Change-Id: Ie84ec59ce632dbe4a74df8236eab777b23f3bd53
Resolves: #23567
Reviewed-on: http://review.typo3.org/2992
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[TASK] Use a larger preview image in show_item (launchView)
Felix Kopp [Sat, 13 Aug 2011 20:43:08 +0000 (22:43 +0200)]
[TASK] Use a larger preview image in show_item (launchView)

Increase the size of the image in show_item (launchView).
This window is displayed when a image in list or file_list is clicked.

Change-Id: I5b347a15c04b082b015d99fb2e80d486667a3398
Resolves: #28963
Releases: 4.6
Reviewed-on: http://review.typo3.org/4307
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[TASK] Increase size of thumbnails
Felix Kopp [Sat, 13 Aug 2011 20:59:55 +0000 (22:59 +0200)]
[TASK] Increase size of thumbnails

Increase the size of thumbnails (page, list, filelist) from 54x54px to 64x64px.

Change-Id: Ia830771e2e630d1fb5e4f624220cb6504ceb98a1
Resolves: #29136
Releases: 4.6
Reviewed-on: http://review.typo3.org/4309
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[TASK] Use proper localization API
Xavier Perseguers [Wed, 17 Aug 2011 07:22:32 +0000 (09:22 +0200)]
[TASK] Use proper localization API

Use of TYPO3.lang has been deprecated. Use TYPO3.l10n.localize() instead.

Change-Id: I68f968df3f3d105ee566987c000e3dafb97b9fe3
Resolves: #29028
Releases: 4.6
Reviewed-on: http://review.typo3.org/4388
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[TASK] Remove usage counts in method comments
Christian Kuhn [Sun, 21 Aug 2011 13:24:54 +0000 (15:24 +0200)]
[TASK] Remove usage counts in method comments

Issue #27985 removed the function indexes from class files and most
usage counts from method comments. This patch removes some missing matches.

Change-Id: Id53769839517e50b977cc01d7f6008beb74b5896
Resolves: #29135
Reviewed-on: http://review.typo3.org/4449
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX] Remove cache_pages from table garbage collection task
Christian Kuhn [Sun, 21 Aug 2011 11:54:56 +0000 (13:54 +0200)]
[BUGFIX] Remove cache_pages from table garbage collection task

table cache_pages does not exist anymore and must is removed from
the default configuration of the task.

Change-Id: I328c624bc328f99a93fa895ff54a668a16099aa8
Resolves: #29131
Reviewed-on: http://review.typo3.org/4446
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[TASK] Clean up API of tx_scheduler_CronCmd_Normalize
Christian Kuhn [Thu, 18 Aug 2011 22:42:15 +0000 (00:42 +0200)]
[TASK] Clean up API of tx_scheduler_CronCmd_Normalize

The only public API method in tx_scheduler_CronCmd_Normalize is normalize().
The patch makes all non API methods protected and uses an accessible proxy
class in unit tests to make the low level methods testable. This cleans
up the API and still gives detailed unit tests.

Change-Id: I6845d049523b68e6f57d86ad03ef0a48c453df81
Resolves: #29100
Reviewed-on: http://review.typo3.org/4421
Reviewed-by: Björn Pedersen
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Clean up caching framework garbage collection task
Christian Kuhn [Fri, 19 Aug 2011 12:23:27 +0000 (14:23 +0200)]
[BUGFIX] Clean up caching framework garbage collection task

Clean up some obsolete code from the garbage collection task since the
caching framework was enabled by default. Additionally fixes the
additional fields provider to find registered cache backends.

Change-Id: I242a9ccb904f9e692025336a6e302df673078050
Resolves: #28062
Reviewed-on: http://review.typo3.org/4427
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX] feedit: Use skinImage for edit icons
Bjoern Pedersen [Thu, 21 Jul 2011 09:19:24 +0000 (11:19 +0200)]
[BUGFIX] feedit: Use skinImage for edit icons

Replace hardcoded icons with t3lib_iconWorks::skinImage calls

Change-Id: I02236b36facb53222ccc8e0bfc17adf7b2ac7ae4
Resolves: #24920
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/3448
Reviewed-by: Steffen Kamper
Tested-by: Steffen Kamper
Reviewed-by: Stefan Neufeind
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX] After merge of #29029 flexform display is broken
Susanne Moog [Sat, 20 Aug 2011 09:53:41 +0000 (11:53 +0200)]
[BUGFIX] After merge of #29029 flexform display is broken

After #29029 flexforms display is broken because of the added
display:inline-block. Fix it by changing it for flexforms
back to display:block.

Change-Id: I020ad66647c1abc2958a201a61f51eaecdfdafbb
Resolves: #29126
Releases: 4.6
Reviewed-on: http://review.typo3.org/4433
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Also check if cache files are not empty
Jigal van Hemert [Thu, 18 Aug 2011 21:23:10 +0000 (23:23 +0200)]
[BUGFIX] Also check if cache files are not empty

If the temp_CACHED* files exist, but they are empty a lot of functions
produce incorrect result due to missing TCA data. Checking the fileSize
prevents the use of empty cache files.

Change-Id: I855034048eca142153badd2567fb2bf6dfbc2629
Resolves: #29075
Branches: 4.6, 4.5, 4.4, 4.3
Reviewed-on: http://review.typo3.org/4420
Reviewed-by: Björn Pedersen
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Some TCEforms elements are displaced
Francois Suter [Wed, 17 Aug 2011 08:50:55 +0000 (10:50 +0200)]
[BUGFIX] Some TCEforms elements are displaced

When a TCEforms field is part of a palette, a specific span tag
is added around it. A similar span tag must be added around fields
which are not part of a palette, so that we have similar behaviors.

Change-Id: If13c130423c4839b89c7f03e015feffd8ae3bd94
Resolves: #29029
Related: #28030
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/4390
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX] Suggest wizard missing in FE users / groups
Jigal van Hemert [Thu, 18 Aug 2011 17:17:59 +0000 (19:17 +0200)]
[BUGFIX] Suggest wizard missing in FE users / groups

For the redirect page field in the records for FE users and FE groups
the suggest wizard is missing.

Change-Id: I2d65f2d0215b38ed39df70ee33a0b504849bae2d
Resolves: #21723
Branches: 4.6, 4.5
Reviewed-on: http://review.typo3.org/4411
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] "New record" button in Template mod broken
Jigal van Hemert [Thu, 18 Aug 2011 09:18:16 +0000 (11:18 +0200)]
[BUGFIX] "New record" button in Template mod broken

Recent browsers follow HTML5 standards for submitting image input
elements. The result is that the name of the image input element is
not submitted anymore, only the name with the x and y coordinates.
Checking for createExtension_x or createExtension being set makes the
button work again.

Change-Id: Id6424c44978be807c51bcdd842d11761d9aa947e
Resolves: #28455
Branches: 4.6, 4.5
Reviewed-on: http://review.typo3.org/4405
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX] Unify table layouts
Felix Kopp [Fri, 19 Aug 2011 08:44:45 +0000 (10:44 +0200)]
[BUGFIX] Unify table layouts

Tables are styled with different layouts. These are unified and follow the
standard style (list, page, …). Style was taken from db_list.
These tables are rebrushed:

* file_list: folder and file list
* Scheduler: tasks table and information table
* TS-analyzer: template overview
* Web > Info / pagetree overview
* Move element / position map

Change-Id: Ia563e49fdfc6a06c706d4004454168ee177fdc36
Resolves: #28188
Releases: 4.6
Reviewed-on: http://review.typo3.org/4318
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Autoloader Cache is not updated
Oliver Hader [Thu, 18 Aug 2011 18:51:58 +0000 (20:51 +0200)]
[BUGFIX] Autoloader Cache is not updated

The patch adds the current TYPO3 version to the cache identifier.
This ensures a new cache file if upgrading TYPO3.

Change-Id: I4fa47178016925f39ff2168f65afb1ae357be556
Resolves: #28589
Reviewed-on: http://review.typo3.org/3903
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX] starttime / endtime l10n_mode exclude in core tables
Stefan Neufeind [Mon, 1 Aug 2011 16:46:48 +0000 (18:46 +0200)]
[BUGFIX] starttime / endtime l10n_mode exclude in core tables

starttime/endtime can be set different in localisations
but are (usually) not respected. This patch modifies
the behaviour inside localisations to show a readonly
value of the original starttime/endtime-values.

Change-Id: If7e32b0c8a628698115c60ec570c2526e5bb3546
Resolves: #24211
Reviewed-on: http://review.typo3.org/3984
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Björn Pedersen
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX] Thumbnail placeholder: image-not-rendered is unreadable
7elix [Sat, 13 Aug 2011 20:54:41 +0000 (22:54 +0200)]
[BUGFIX] Thumbnail placeholder: image-not-rendered is unreadable

If a thumbnail can not be created (im/gm mis-configuration or
inability to convert image format), a placeholder is rendered.
This placeholder contains text with further details.
This text is not readable, with white text on yellow background.
This patch changes: Black text on White background.

Change-Id: I3fa52b620a758caa0c864105203b314783319692
Resolves: #28962
Releases: 4.6
Reviewed-on: http://review.typo3.org/4308
Reviewed-by: Christopher
Tested-by: Christopher
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Remove unused parameter in array utility
Christian Kuhn [Thu, 18 Aug 2011 18:18:10 +0000 (20:18 +0200)]
[BUGFIX] Remove unused parameter in array utility

The recursive call in t3lib_utility_Array::filterByValueRecursive()
has a third, but unused parameter.

Change-Id: I33c61e5a4ff0a1d47452bc59bbf6d392a6cf727e
Resolves: #29098
Reviewed-on: http://review.typo3.org/4416
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Handle cache tables in install tool and em
Christian Kuhn [Sun, 14 Aug 2011 16:17:01 +0000 (18:17 +0200)]
[BUGFIX] Handle cache tables in install tool and em

This patch moves the needed table definition for a cache from the caching
framework to the install tool and the extension manager. This way the cf
tables are handled just like every other table and show up for example in
compare wizard of install tool and if an extension is installed that
registers own caches (like extbase).

Change-Id: I61e7dd1b1fbe970529810876bc7137986f9ae656
Resolves: #28973
Reviewed-on: http://review.typo3.org/4323
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
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