Packages/TYPO3.CMS.git
7 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
7 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
7 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
7 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
7 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
7 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
7 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
7 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
7 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
7 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
7 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
7 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
7 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
7 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
7 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
7 years ago[BUGFIX] XSS in Recycler
Steffen Gebert [Wed, 27 Jul 2011 10:29:30 +0000 (12:29 +0200)]
[BUGFIX] XSS in Recycler

Change-Id: Ic53e31259e1b79f5f1d602e4b01ce9ddafe9e1af
Resolves: #24519
Reviewed-on: http://review.typo3.org/3758
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[BUGFIX] XSS in browse_links
Georg Ringer [Wed, 27 Jul 2011 10:29:15 +0000 (12:29 +0200)]
[BUGFIX] XSS in browse_links

Change-Id: I20d53d3c5c7b6b8c92f37104832e7a44d1584341
Resolves: #24497
Reviewed-on: http://review.typo3.org/3754
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[BUGFIX] t3lib_div::removeXSS does not remove some XSS
Jigal van Hemert [Wed, 27 Jul 2011 10:28:50 +0000 (12:28 +0200)]
[BUGFIX] t3lib_div::removeXSS does not remove some XSS

Change-Id: I7c546048e986fadcd1b20e74a6c7859fa13cd823
Resolves: #20775
Reviewed-on: http://review.typo3.org/3750
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[BUGFIX] The delay if wrong credentials are provided during backend login can be...
Helmut Hummel [Wed, 27 Jul 2011 10:27:43 +0000 (12:27 +0200)]
[BUGFIX] The delay if wrong credentials are provided during backend login can be circumvented

Change-Id: I14a97fcb21bd9ca1c3640de02934bc53935f711e
Resolves: #24457
Reviewed-on: http://review.typo3.org/3744
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[BUGFIX] Information disclosure during backend login
Helmut Hummel [Wed, 27 Jul 2011 10:27:10 +0000 (12:27 +0200)]
[BUGFIX] Information disclosure during backend login

Change-Id: I02e956d3cb41657f68475a3de861ed13fa8b0eb3
Resolves: #24456
Reviewed-on: http://review.typo3.org/3740
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[TASK] Remove useless function comment
Georg Ringer [Wed, 27 Jul 2011 09:10:17 +0000 (11:10 +0200)]
[TASK] Remove useless function comment

The function getHash in t3lib_page is pointless
and can just be removed, thx to Manual Mitasch for
spotting.

Change-Id: Ifd6182d3476af025b69ec5bc4187fa62a6d33084
Resolves: #28503
Releases: 4.6
Reviewed-on: http://review.typo3.org/3734
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
7 years ago[TASK] Fix deprecation comment for t3lib_div::int_from_ver()
Xavier Perseguers [Tue, 26 Jul 2011 09:48:31 +0000 (11:48 +0200)]
[TASK] Fix deprecation comment for t3lib_div::int_from_ver()

Method t3lib_div::int_from_ver() has been deprecated but the phpDoc
comment is wrong. Problem is that the phpDoc is used in the
deprecation log, thus giving wrong advice to the developer.

Change-Id: Ic15258bb81ae776ce499e1d1151af295cc963daa
Reviewed-on: http://review.typo3.org/3721
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[BUGFIX] Remove duplicate hsc() for title tag at login
Georg Ringer [Thu, 9 Jun 2011 17:56:03 +0000 (19:56 +0200)]
[BUGFIX] Remove duplicate hsc() for title tag at login

htmlspecialchars() is called twice for the title tag
at the backend login page.
Once in typo3/index.php (which is removed with
this change) and one time in t3lib_pagerenderer when
filling the TITLE marker.

Change-Id: I711044c1bcce478c6935cf1fb32fef39097ce6a1
Resolves: #24975
Reviewed-on: http://review.typo3.org/2612
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Mario Rimann
7 years ago[BUGFIX] systemLocale related issues
Steffen Gebert [Mon, 25 Jul 2011 17:06:44 +0000 (19:06 +0200)]
[BUGFIX] systemLocale related issues

* Improve the description of TYPO3_CONF_VARS[SYS][systemLocale] option
* Add a hint to this option in thumbs.php, when thumbnail generation
  fails with the file not being found.

Resolves: #21609
Releases: 4.6, 4.5

Change-Id: I866dd29c941652f4f47492e7b256ae5bf7fed832
Reviewed-on: http://review.typo3.org/3714
Reviewed-by: Xavier Perseguers
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 years ago[BUGFIX] CSH labels are always in English
Xavier Perseguers [Mon, 25 Jul 2011 06:20:27 +0000 (08:20 +0200)]
[BUGFIX] CSH labels are always in English

The CSH labels are always rendered in English because the source
language (English) is used instead of its translation (target).
Only fall back to source if the corresponding label was not
translated.

Change-Id: Icaaa17734b46b49ba48c2949cd7e48ee1c251750
Fixes: #28439
Reviewed-on: http://review.typo3.org/3711
Reviewed-by: Dominique Feyer
Tested-by: Dominique Feyer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[BUGFIX] htmlArea RTE not loading with Safari 5.1
Stanislas Rolland [Sun, 24 Jul 2011 20:36:52 +0000 (16:36 -0400)]
[BUGFIX] htmlArea RTE not loading with Safari 5.1

In Safari 5.1, due to changes related to WebKit2, the RTE may never
load while waiting for stylesheets to become accessible, or it may
load but the editing area remains empty and not editable.

Change-Id: Ife4c8c5b59c93ba749a3bcfe7d72ce755200df47
Resolves: #28360
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3707
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years agoRevert "[BUGFIX] BE User module allows switching to CLI users"
Francois Suter [Sun, 24 Jul 2011 16:48:17 +0000 (18:48 +0200)]
Revert "[BUGFIX] BE User module allows switching to CLI users"
after discussion in the Core list. Switching to CLI users *is* useful.

This reverts commit e6960f21ba07208ca8ab305812d0e4d4a64a7f80

Change-Id: I825f92e5478c5e6c8af90c32d4c4b8a707bfef13
Reviewed-on: http://review.typo3.org/3702
Reviewed-by: Francois Suter
Tested-by: Francois Suter
7 years ago[BUGFIX] Add name of missing file to Exception in thumbs.php
Steffen Gebert [Sun, 24 Jul 2011 11:15:01 +0000 (13:15 +0200)]
[BUGFIX] Add name of missing file to Exception in thumbs.php

Exception #1270853950 only gives a hint that
"Image does not exist and/or MD5 checksum did not match."

It is pretty hard to find out, which image is responsible for this,
without outputting the file name. Thus add the file name of the image.

Change-Id: Ie931f8c797020dad154c6694753e5ea448740ff2
Resolves: #24807
Reviewed-on: http://review.typo3.org/3699
Reviewed-by: Philipp Gampe
Reviewed-by: Mario Rimann
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[BUGFIX] Improve check in t3lib_div::makeInstance
Bjoern Pedersen [Thu, 21 Jul 2011 08:14:57 +0000 (10:14 +0200)]
[BUGFIX] Improve check in t3lib_div::makeInstance

The strict string comparison is not enough to catch
all wrong arguments and throw a correct error.

Change-Id: Id7911229f90d1aa0f6ce5830a434bceb4ab61da5
Resolves: #25047
Releases: 4.6
Reviewed-on: http://review.typo3.org/3446
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[TASK] Remove @author annotation from Caching Framework
Steffen Gebert [Sat, 23 Jul 2011 21:22:08 +0000 (23:22 +0200)]
[TASK] Remove @author annotation from Caching Framework

Change-Id: I5bb4cfeeea9c379b04cbb980e9ba87320473f501
Reviewed-on: http://review.typo3.org/3694
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Chained stdWrap is broken for boolean stdWrap function types
Stefan Neufeind [Fri, 15 Jul 2011 12:52:33 +0000 (14:52 +0200)]
[BUGFIX] Chained stdWrap is broken for boolean stdWrap function types

isExecuted was not correctly set and so stdWrap was
actually called twice.

Thanks to Jo Hasenau.

Change-Id: If35c3bb3572265109207d3835135d9cc5d487a0a
Resolves: #28234
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/3355
Reviewed-by: Jo Hasenau
Tested-by: Jo Hasenau
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[BUGFIX] t3lib_TCEforms is calling deprecated method t3lib_div::testInt()
Xavier Perseguers [Fri, 22 Jul 2011 15:09:22 +0000 (17:09 +0200)]
[BUGFIX] t3lib_TCEforms is calling deprecated method t3lib_div::testInt()

As testInt, calcPriority and calcParenthesis were moved and renamed to
t3lib_utility_Math we have to change the core usages, too.

Change-Id: I13892a7d81fce116b771b75a099dc83342997cd8
Fixes: #28398
Related: #28096
Reviewed-on: http://review.typo3.org/3476
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[BUGFIX] Prevent indexing of Backend login page in search engines
Steffen Gebert [Thu, 21 Jul 2011 13:21:11 +0000 (15:21 +0200)]
[BUGFIX] Prevent indexing of Backend login page in search engines

Change-Id: Id22f34fd39daf33c69f233a54e6d969e4bab1eae
Resolves: #22599
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3453
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[TASK] Add default security settings in .htaccess
Xavier Perseguers [Thu, 21 Jul 2011 21:18:47 +0000 (23:18 +0200)]
[TASK] Add default security settings in .htaccess

Add a new security section within .htaccess to help users secure their
TYPO3 install:

- Restrict access to deleted files in Recycler directories
- Restrict access to TypoScript files in default templates directories
- Restrict access to Private extension directories

Resolves: #28368
Change-Id: I94c09f50616af55cfdd9577097251692b2111ae7
Reviewed-on: http://review.typo3.org/3462
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 years ago[TASK] Remove deprecated parts marked for removal
Xavier Perseguers [Fri, 15 Jul 2011 11:13:02 +0000 (13:13 +0200)]
[TASK] Remove deprecated parts marked for removal

Parts of Core are marked as deprecated and should be removed in
TYPO3 4.6. This patch does this clean-up.

Change-Id: Ib33c649d1b1f31ebbfb0fe6e825bb81b47b185a1
Resolves: #27983
Releases: 4.6
Reviewed-on: http://review.typo3.org/3351
Reviewed-by: Markus Klein
Reviewed-by: Philipp Gampe
Reviewed-by: Georg Ringer
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[BUGFIX] Regression: filelistFolderTree constructor is recursive
Philipp Gampe [Wed, 20 Jul 2011 20:56:55 +0000 (22:56 +0200)]
[BUGFIX] Regression: filelistFolderTree constructor is recursive

After fix of compatibility constructor, the real constructor
(__construct) is missing. This leads to a recursive call on
itself and thus crashes.

Change-Id: Ic788b8dfb9ae42a4ad7c1b9a122f31de1df98741
Fixes: #28354
Releases: 4.6
Reviewed-on: http://review.typo3.org/3445
Reviewed-by: Georg Ringer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[BUGFIX] t3libExtMgm does not cache extension version
Bjoern Pedersen [Fri, 15 Jul 2011 12:14:15 +0000 (14:14 +0200)]
[BUGFIX] t3libExtMgm does not cache extension version

The t3lib_extMgm::getExtensionVersion function includes
the ext_emconf.php file of an extension each time it is called.

The version is cached using the CF runtime cache.

Change-Id: I05502a035a597b5b2b09e60d4027db47d8e2ac71
Resolves: #28233
Releases: 4.6
Reviewed-on: http://review.typo3.org/3353
Reviewed-by: Georg Ringer
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[FEATURE] Enable closing of ExtJS FlashMessages
Kay Strobach [Tue, 28 Jun 2011 17:32:13 +0000 (19:32 +0200)]
[FEATURE] Enable closing of ExtJS FlashMessages

Some of the FlashMessages have such a big space requirement that users
have to wait, until they disappear to continue working in the backend.

This patch makes the ExtJS FlashMessages disappear, if the user clicks
on close icon in the message header.

Change-Id: I270dc0b6b4cfef945aa5802abcf586671db63e8b
Resolves: #27747
Releases: 4.6
Reviewed-on: http://review.typo3.org/2956
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Kay Strobach
Tested-by: Kay Strobach
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX][CONF] Changed default sorting of fe_users in BE
Mario Rimann [Wed, 20 Jul 2011 08:22:17 +0000 (10:22 +0200)]
[BUGFIX][CONF] Changed default sorting of fe_users in BE

The default sorting was missing in TCA for the fe_users table. Not the table is ordered by the username field by default, but the backend user is able to override this via the GUI.

Change-Id: I565be72644d65beaa9f694269ccd3b6d5c077700
Resolves: #25604
Reviewed-on: http://review.typo3.org/3433
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Chris Zepernick
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] Wrong check for existance of translated label
Steffen Gebert [Sun, 17 Jul 2011 11:46:25 +0000 (13:46 +0200)]
[BUGFIX] Wrong check for existance of translated label

While tslib_fe::getLL() checks the existance of a translated label with
isset(), language::getLLL() does this with a strict string comparison.
This is evaluated as TRUE, if the subkey is not set at all, which is an
unexpected behavior.

Thus check, whether the label was translated into the current language
using isset().

Change-Id: I421d541d9aeaa2403052d212c7adba819a4e116f
Resolves: #28264
Releases: 4.6
Reviewed-on: http://review.typo3.org/3380
Reviewed-by: Xavier Perseguers
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
7 years ago[BUGFIX] Cache FileBackend does not respect fileCreateMask
Steffen Gebert [Tue, 19 Jul 2011 20:00:57 +0000 (22:00 +0200)]
[BUGFIX] Cache FileBackend does not respect fileCreateMask

Change-Id: Ia786457dbc4c850c67f7293be38b2591786f1553
Resolves: #28323
Releases: 4.6
Reviewed-on: http://review.typo3.org/3422
Reviewed-by: Fabrizio Branca
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] Increase "maxitems" for media in TCA of pages
Stefan Neufeind [Tue, 19 Jul 2011 12:42:50 +0000 (14:42 +0200)]
[BUGFIX] Increase "maxitems" for media in TCA of pages

Because of type TEXT the database already allows for more
than 5 items. So this patch raises the level in TCA as well.

Change-Id: I7acb4d9bfc38b6d5cef0fabe82560586f0c4eea3
Resolves: #28317
Releases: 4.6
Reviewed-on: http://review.typo3.org/3417
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Chris Zepernick
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[FEATURE] TCA: Allow parameters to be specified for userFunc
Xavier Perseguers [Tue, 19 Jul 2011 12:04:02 +0000 (14:04 +0200)]
[FEATURE] TCA: Allow parameters to be specified for userFunc

Add support for user-supplied parameters when using a userFunc
within a TCA field.

Change-Id: Ic808c7bc067f232d881631b790e41112fe53c44c
Resolves: #28314
Reviewed-on: http://review.typo3.org/3432
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Dominique Feyer
Tested-by: Dominique Feyer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[BUGFIX] htmlArea RTE: htmlArea RTE: Removing class from link in IE8 won't work
Stanislas Rolland [Wed, 20 Jul 2011 04:23:12 +0000 (00:23 -0400)]
[BUGFIX] htmlArea RTE: htmlArea RTE: Removing class from link in IE8 won't work

Removing a class on a link in the link dialogue works in Firefox and IE7 but not in IE8, due to IE8's new conformance to standard name for class attribute.

Change-Id: I304520071d428be5e6fd613252be74dcaadc8b91
Resolves: #28009
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3426
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[BUGFIX] Remove hardcoded limits in T3D export
Georg Ringer [Thu, 9 Jun 2011 17:22:07 +0000 (19:22 +0200)]
[BUGFIX] Remove hardcoded limits in T3D export

The memory_limit is hardcoded to 256m and
max_execution_time to 600.

There is no reason to hardcode those settings,
sometimes a bit more of both is needed.

Change-Id: I3e690eea1a079ed6cadd548230afc405e005b115
Resolves: #27272
Resolves: #17020
Resolves: #17045
Resolves: #18926
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/2610
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Kay Strobach
Tested-by: Kay Strobach
Reviewed-by: Björn Pedersen
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
7 years ago[FEATURE] Add warning for IE6 users
Steffen Gebert [Fri, 8 Jul 2011 19:41:16 +0000 (21:41 +0200)]
[FEATURE] Add warning for IE6 users

As IE6 is not supported anymore, add a warning that the user should
upgrade his browser.

Change-Id: Id7d8411ae38e55dd6fa2747dce2fb85522c7bbc7
Resolves: #20953
Reviewed-on: http://review.typo3.org/3381
Reviewed-by: Stefan Neufeind
Tested-by: Eric Chavaillaz
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[API][!!!] Fix API compatibility break
Xavier Perseguers [Fri, 15 Jul 2011 18:59:22 +0000 (20:59 +0200)]
[API][!!!] Fix API compatibility break

Task #26505 removed old PHP4 constructors without deprecating
them first as required by TYPO3 core rules.
The change was commited to Git here: https://review.typo3.org/1797

The fix: reintroduce the old constructors and deprecate them.

Change-Id: I2fa86c6d2ddb7ffd79fbd5afbbd29eddb975ec01
Resolves: #28246
Releases: 4.6
Reviewed-on: http://review.typo3.org/3371
Reviewed-by: Stefano Kowalke
Reviewed-by: Kay Strobach
Tested-by: Kay Strobach
Reviewed-by: Stefan Neufeind
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 years ago[FEATURE] Enable saltedpasswords by default
Helmut Hummel [Sun, 17 Jul 2011 18:00:35 +0000 (20:00 +0200)]
[FEATURE] Enable saltedpasswords by default

Implement auto-activation of saltedpasswords and rsaauth extension.

Resolves: #28273
Releases: 4.6

Change-Id: If96cbbffec59f436748e331783bc6fc94fb2b87d
Reviewed-on: http://review.typo3.org/3389
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Kay Strobach
Tested-by: Kay Strobach
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[BUGFIX] Unit test checkDateWithInvalidDateValues fails with PHP warning
Steffen Gebert [Sun, 17 Jul 2011 17:33:59 +0000 (19:33 +0200)]
[BUGFIX] Unit test checkDateWithInvalidDateValues fails with PHP warning

If TYPO3 is configured to not suppress PHP warnings, the unit test
'checkDateWithInvalidDateValues with data set "Not Good"'
of Testsuite tx_scheduler_ModuleTest fails.

As it tries to insert non-numeric values into mkstring(), this warning
is raised.

We can safely suppress the output of PHP warnings for the mktime call,
as afterwards its return value is checked.

Change-Id: I7c6b9f587b574334e0096c800de98cb6ffc2033f
Resolves: #28271
Reviewed-on: http://review.typo3.org/3388
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[TASK][DB] Move workspace preview into versioning/workspace
Benjamin Mack [Sun, 17 Jul 2011 11:04:47 +0000 (13:04 +0200)]
[TASK][DB] Move workspace preview into versioning/workspace

As the whole handling of the ADMCMD_preview is related to
version / workspaces, the according code should go in
these extensions, thus it is removed in the core.

Change-Id: Iee2f4ea42aa28825d991df92eff53c7143d93e83
Resolves: #27931
Releases: 4.6
Reviewed-on: http://review.typo3.org/3080
Reviewed-by: Stefan Neufeind
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
7 years ago[BUGFIX] Value 0 in integer fields is not shown in List module anymore
Steffen Gebert [Fri, 15 Jul 2011 17:40:23 +0000 (19:40 +0200)]
[BUGFIX] Value 0 in integer fields is not shown in List module anymore

A side-effect of #27936 is that the value 0 of integer fields is not
shown anymore in the List module. This error was also catched by the
failing Unit Test t3lib_befuncTest::getProcessedValueForZeroStringIsZero

Change-Id: I07da5d05c08a9066e8e9c8ad68d3f83ef6f7dbcb
Resolves: #28218
Relates: #27936
Releases: 4.6, 4.5, 4.4, 4.3
Reviewed-on: http://review.typo3.org/3369
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
7 years ago[FEATURE] RTE rendering: Table cell content wrapped in paragraphs
Stanislas Rolland [Thu, 14 Jul 2011 15:34:33 +0000 (11:34 -0400)]
[FEATURE] RTE rendering: Table cell content wrapped in paragraphs

By default, the content of table cells is always wrapped in
paragraph tags when rendered in the frontend even if no
paragraphs are entered in the RTE.

This RFC changes this default. Non-wrapped content will not
be wrapped in paragraph inside a table cell.

Change-Id: Ia23d0bbab338d6fb0efc90eb60bdd485a2c2c5f8
Resolves: #25084
Reviewed-on: http://review.typo3.org/3327
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[FEATURE] Enable stdWrap for select.where
Stefan Neufeind [Thu, 14 Jul 2011 20:52:34 +0000 (22:52 +0200)]
[FEATURE] Enable stdWrap for select.where

stdWrap was supported at select.andWhere already.

Be careful not to use GPvar with this feature without
securing it (e.g. with stdWrap.intval)

Change-Id: I22c0e2c1c49fdd44ab67b823043a2e07f304e8c8
Resolves: #17881
Reviewed-on: http://review.typo3.org/3337
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[BUGFIX] Styling of security warnings
Johannes Feustel [Wed, 13 Jul 2011 18:16:56 +0000 (20:16 +0200)]
[BUGFIX] Styling of security warnings

* List style is missing.
* Get rid of inline styles.
* Render p instead of li if only one message comes up (e.g. if reports module is installed).

Change-Id: Ic24b92c74eb55cb54cc3f76d2207c3b10ab4cbea
Releases: 4.6, 4.5
Fixes: #28181
Reviewed-on: http://review.typo3.org/3314
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Stefan Neufeind
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[BUGFIX] Fix front end redirect to 1-2-3 installer
Christian Kuhn [Wed, 13 Jul 2011 21:03:05 +0000 (23:03 +0200)]
[BUGFIX] Fix front end redirect to 1-2-3 installer

An empty value in the TYPO3_db constant indicates a not configured installation in
the front end. The front end then redirects to 1-2-3 installer.
This broke with change 89732c4a of #27954 because the check for db constant
is done too late.

Change the order of the checks during database connection and
check if the TYPO3_db constant has a value first.

Change-Id: I0a7003d876a747e16552fecf6385b0449de5617a
Resolves: #28185
Related: #27954
Reviewed-on: http://review.typo3.org/3316
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Stefan Neufeind
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[FEATURE] Implement extbase naming scheme in core autoloader
Xavier Perseguers [Wed, 29 Jun 2011 15:06:04 +0000 (17:06 +0200)]
[FEATURE] Implement extbase naming scheme in core autoloader

The patch enables the core autoloader to find class files that are named
according to the exbase class and file location naming scheme.
This renders ext_autoload.php entries obsolete for class locations
that stick to the extbase scheme even if extbase is not used
for an extension. The autoloaders within fluid and extbase are not
needed anymore.
Additionally, the class-to-file information is cached in the core
autoloader cache in order to reduce the number of file system lookups
for consecutive calls.
The patch is covered by unit tests to verify the complex logic.

Change-Id: I1af68a2d95cfc590eecffe6d06ea4e4eb58e11ec
Resolves: #21144
Related: #28249
Related: #28250
Reviewed-on: http://review.typo3.org/2985
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[BUGFIX] cli_dispatch.phpsh respects path to php
Markus Bucher [Thu, 14 Jul 2011 18:55:16 +0000 (20:55 +0200)]
[BUGFIX] cli_dispatch.phpsh respects path to php

Using '#! /usr/bin/env php' as shebang respects the environment, so
if e.g. /usr/local/bin is in your PATH, this php will be chosen.

Change-Id: Ia5e6c5ed3c3615bec373b3075daf0f43721584ce
Resolves: #24506
Reviewed-on: http://review.typo3.org/3331
Reviewed-by: Andreas Lappe
Tested-by: Andreas Lappe
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Invalidate autoloader cache in em
Christian Kuhn [Thu, 14 Jul 2011 21:58:59 +0000 (23:58 +0200)]
[TASK] Invalidate autoloader cache in em

The autoloader cache should be invalidated by the extension manager
if installing new or removing old extension from extension list to
force a recalculation of available classes on next access.

Change-Id: I485dc62aa2d3644136392b7608c77a11cf408332
Resolves: #28219
Related: #28063
Related: #28186
Related: #28187
Reviewed-on: http://review.typo3.org/3339
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[TASK] Remove XCLASS definitions from cache classes
Christian Kuhn [Thu, 14 Jul 2011 22:39:32 +0000 (00:39 +0200)]
[TASK] Remove XCLASS definitions from cache classes

With #28063 many core cache classes are required directly during bootstrap.
This makes XCLASS impossible since those base classes are not instantiated
with t3lib_div::makeInstance() anymore. t3lib_cache is static and can not be
XCLASSED. The caching framework has a built-in feature to register and use own
implementations. The patch removes all XCLASS definitions of cache classes.

Change-Id: I1e624bb769b899a14491aa3ee1cca9da480ebfb6
Resolves: #28221
Related: #28063
Reviewed-on: http://review.typo3.org/3340
Reviewed-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Localization of a constant string is empty
Xavier Perseguers [Fri, 15 Jul 2011 07:27:03 +0000 (09:27 +0200)]
[BUGFIX] Localization of a constant string is empty

When using a constant string (e.g., "CSS Styled Content") instead of a
localization key (e.g., "LLL:EXT:some_ext/locallang.xml:key"), the constant
string should be returned instead of an empty string.

Change-Id: I409664dc5174d818e875fd03a7e6c6e7fbda9e91
Fixes: #28223
Reviewed-on: http://review.typo3.org/3345
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Dominique Feyer
Tested-by: Dominique Feyer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[BUGFIX][INSTALL] Show description for enableDeprecationLog as <dl>
Steffen Gebert [Sat, 9 Jul 2011 09:38:19 +0000 (11:38 +0200)]
[BUGFIX][INSTALL] Show description for enableDeprecationLog as <dl>

Currently it's listed inline in the text, make it a definition list.

Change-Id: I18c2df10a0e18dbc167b40465192909cf30278e6
Resolves: #28024
Reviewed-on: http://review.typo3.org/3174
Reviewed-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
7 years ago[FEATURE] Add ucfirst to stdWrap
Kilian Hann [Sat, 9 Jul 2011 08:59:41 +0000 (10:59 +0200)]
[FEATURE] Add ucfirst to stdWrap

Extend stdWrap's "case" with "ucfirst" and "lcfirst" keywords to
convert the first letter of a sentence to the corresponding form
using the current Frontend character set.

Change-Id: Ic00989e662724c8a5bdd8c84a6ebdfce79d85319
Resolves: #28018
Reviewed-on: http://review.typo3.org/3171
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Jo Hasenau
Tested-by: Jo Hasenau
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[BUGFIX] stdWrap.hash: Return nothing for non-existing algorithm
Stefan Neufeind [Thu, 14 Jul 2011 10:11:51 +0000 (12:11 +0200)]
[BUGFIX] stdWrap.hash: Return nothing for non-existing algorithm

Return an empty string to prevent disclosing information unhashed.

Change-Id: Id25b85de039797aa7e39225fb0e2b1c75207a505
Resolves: #28120
Reviewed-on: http://review.typo3.org/3324
Reviewed-by: Jo Hasenau
Tested-by: Jo Hasenau
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[API][!!!] Fix API compatibility break in tslib_pibase
Dmitry Dulepov [Thu, 14 Jul 2011 13:23:32 +0000 (15:23 +0200)]
[API][!!!] Fix API compatibility break in tslib_pibase

Revision 50cbf264 removed the old tslib_pibase constructor without
deprecating it first as required by TYPO3 core rules. This breaks
every FE plugin, which overrides the old tslib_pibase constructor.
The change was commited to Git here: https://review.typo3.org/1797

The fix: reintroduce the old constructor and deprecate it.

Change-Id: I66653025b9bf9e2d1e4a0dddb6d0913c50c387c2
Resolves: #28208
Releases: 4.6
Reviewed-on: http://review.typo3.org/3325
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 years ago[TASK] Tag autoloader cache entries
Christian Kuhn [Wed, 13 Jul 2011 21:40:51 +0000 (23:40 +0200)]
[TASK] Tag autoloader cache entries

The autoloader creates cache files in phpcode_cache since #28063. Those
entries are now tagged with 't3lib_autoloader' to allow selective entry
dropping by tag.

Change-Id: Ib0591493307623b19b26de30a2923de9fb9cb662
Resolves: #28186
Related: #28063
Related: #28187
Reviewed-on: http://review.typo3.org/3318
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
7 years ago[FEATURE] Add a value slider as wizard to tceforms
Steffen Kamper [Sun, 13 Mar 2011 21:32:12 +0000 (22:32 +0100)]
[FEATURE] Add a value slider as wizard to tceforms

It can be useful to enter values with a slider. This change
renders values of type time, integer, double or custom items.
A demo extension can be found in the issue tracker.

Change-Id: Ib01f6668058385901c10ec0b1ed1bb79cbc951b3
Resolves: #25315
Reviewed-on: http://review.typo3.org/1164
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
7 years ago[FEATURE] Use caching framework in autoloader
Christian Kuhn [Sun, 10 Jul 2011 21:18:34 +0000 (23:18 +0200)]
[FEATURE] Use caching framework in autoloader

The patch moves the initialization of the caching framework to
config_default.php, prior to the autoload registration. In effect the
autoloader can use the phpcode cache to write a full autoload registry
that can be required directly to reduce file access overhead.
As a side effect the cache system is now always enabled for all access
scopes like FE, BE, CLI and so on.

Change-Id: I7c548fbabeb6e60b8bd9c4098803c1171bbdbec5
Resolves: #28063
Reviewed-on: http://review.typo3.org/3254
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
7 years ago[BUGFIX] Gap between module menu items causes collapse on click
Kay Strobach [Sat, 25 Jun 2011 10:52:05 +0000 (12:52 +0200)]
[BUGFIX] Gap between module menu items causes collapse on click

Transform the margins between entries in the module menu into paddings
to avoid that clicks on this margin cause collapsing of the menu
section.

Change-Id: Id2b75826c91f84904b52567a5e31e240288018fd
Resolves: #27634
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/2925
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Kay Strobach
Tested-by: Kay Strobach
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Tested-by: Georg Ringer
Reviewed-by: Georg Ringer
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
7 years ago[TASK] Set TYPO3 version to 4.6-dev
TYPO3 v4 Release Team [Tue, 12 Jul 2011 15:50:36 +0000 (17:50 +0200)]
[TASK] Set TYPO3 version to 4.6-dev

Change-Id: I64f262cbd1297fb0bbe284cd585a2b9bbe63a61a
Reviewed-on: http://review.typo3.org/3293
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
7 years ago[RELEASE] Release of TYPO3 4.6.0alpha3
TYPO3 v4 Release Team [Tue, 12 Jul 2011 15:50:29 +0000 (17:50 +0200)]
[RELEASE] Release of TYPO3 4.6.0alpha3

Change-Id: I4a20ba6c610ded135472b2b12b81ac426d259775
Reviewed-on: http://review.typo3.org/3292
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
7 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Tue, 12 Jul 2011 15:47:06 +0000 (17:47 +0200)]
[TASK] Raise submodule pointer

Change-Id: Id40808043ee2781645ce113bc61c9cce178487e8
Reviewed-on: http://review.typo3.org/3291
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
7 years ago[TASK] Language handling: splitLabels and locallang.php should be removed
Benjamin Mack [Wed, 6 Jul 2011 16:37:12 +0000 (18:37 +0200)]
[TASK] Language handling: splitLabels and locallang.php should be removed

The TYPO3 core currently handles three types of language labels:
* splitlabels (very very old): Based on the constant TYPO3_languages, a
  string is split by |. The only use was the loginLabels but this was
  changed in 4.3, so they only act as fallback right now.
* locallang.php (very old): An array for each language in a .php file.
* locallang.xml (currently used): An XML file with labels.

Change-Id: Idd6905776af755cf54258fe6723ca1226816655d
Resolves: #26519
Reviewed-on: http://review.typo3.org/3058
Reviewed-by: Stefan Neufeind
Reviewed-by: Oliver Hader
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Tested-by: Oliver Hader
7 years ago[BUGFIX] TCEforms: Localization value boxes are too wide
Andreas Wolf [Sat, 9 Jul 2011 10:15:49 +0000 (12:15 +0200)]
[BUGFIX] TCEforms: Localization value boxes are too wide

Change-Id: I66e57ae0459f76f79c9f9ae19bdb2a14820adc74
Releases: 4.6, 4.5
Resolves: #28030
Reviewed-on: http://review.typo3.org/3198
Reviewed-by: Stefan Neufeind
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[TASK] Remove deprecated methods with deprecation log
Xavier Perseguers [Fri, 20 May 2011 11:46:55 +0000 (13:46 +0200)]
[TASK] Remove deprecated methods with deprecation log

Remove methods and files scheduled for removal since TYPO3 4.5.

Change-Id: I6ea863ae95f0433def4137cd4be1dc01ffc34bce
Resolves: #23010
Reviewed-on: http://review.typo3.org/1988
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Oliver Klee
Reviewed-by: Stefan Neufeind
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 years ago[BUGFIX] Redirect after moving a record
Georg Ringer [Tue, 28 Jun 2011 14:44:55 +0000 (16:44 +0200)]
[BUGFIX] Redirect after moving a record

If a record is moved by using the "reposition
content element" link (e.g in list module),
there is no redirect to the original page

Change-Id: I7520178bcb38ea7af54bb5b46a78db0db0f29459
Resolves: #27742
Reviewed-on: http://review.typo3.org/2950
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Tue, 12 Jul 2011 12:10:11 +0000 (14:10 +0200)]
[TASK] Raise submodule pointer

Change-Id: I0a8fcc1b4b9a64cb97f7b8d88d7d05c1918023e4
Reviewed-on: http://review.typo3.org/3272
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
7 years ago[BUGFIX] Initialize autoloader earlier in the bootstrap
Helmut Hummel [Mon, 11 Jul 2011 22:59:39 +0000 (00:59 +0200)]
[BUGFIX] Initialize autoloader earlier in the bootstrap

Because of the refactoring of t3lib_div the autoloader is needed
earlier in the bootstrap.
Move it right after the inclusion of localconf.php

Resolves: #28099
Relates: #28026
Releases: 4.6

Change-Id: Ie818c9b791a421c9f85705a75bf50be4068fbdd7
Reviewed-on: http://review.typo3.org/3265
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Tue, 12 Jul 2011 11:23:09 +0000 (13:23 +0200)]
[TASK] Raise submodule pointer

Change-Id: Ic189835372dcbdb168fc5292915b51aa03ec8cbd
Reviewed-on: http://review.typo3.org/3270
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
7 years ago[BUGFIX] t3lib_div::cmpIPv6() fails to compare
Stefan Neufeind [Sat, 4 Jun 2011 18:25:37 +0000 (20:25 +0200)]
[BUGFIX] t3lib_div::cmpIPv6() fails to compare

cmpIPv6 makes wrong assumptions about the output of IPv6Hex2Bin().
Also currently only netmasks of /48, /64 and /128 are supported.

Added a cleanup for an E_NOTICE on exploding the bitmask.
Replaced IPv6Hex2Bin() with php function (same output, just quicker).
Added testcases.

Change-Id: I816db2b9ce42d13f61ecd7f87406730c424de52f
Resolves: #27210
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/2519
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[TASK] Move breakLinesForEmail and add some unit tests
Dimitri König [Sat, 9 Jul 2011 10:08:03 +0000 (12:08 +0200)]
[TASK] Move breakLinesForEmail and add some unit tests

Clean-up on t3lib_div by moving out method breakLinesForEmail to
t3lib_utility_Mail.

Change-Id: Icc80c3dc97ebf0af61f1abf9316c840ed53a796e
Resolves: #28028
Reviewed-on: http://review.typo3.org/3181
Reviewed-by: Dimitri Koenig
Tested-by: Dimitri Koenig
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[TASK] Add stdWrap for IMAGE.file.params
Simon Koch [Mon, 11 Jul 2011 16:01:31 +0000 (18:01 +0200)]
[TASK] Add stdWrap for IMAGE.file.params

Add stdWrap for the typoscript function IMAGE.
For content object IMAGE and IMG_RESOURCE.

TypoScript:
file.params = ImageMagick Command line

Change-Id: Icf9b06ebb3c9397220c4e6a17aac0a4e0c6614a4
Resolves: #28032
Reviewed-on: http://review.typo3.org/3211
Reviewed-by: Sebastian Michaelsen
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[TASK] Deprecate Content Object HTML
Ole Hartwig [Sat, 9 Jul 2011 18:55:05 +0000 (20:55 +0200)]
[TASK] Deprecate Content Object HTML

Since TYPO3 4.5 TEXT and HTML behave the same way.
HTML does not really make sense anymore and as such
could be deprecated.

Change-Id: I0080345efd881e273537db8797e31038d185c36c
Resolves: #28015
Releases: 4.6
Reviewed-on: http://review.typo3.org/3210
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Reviewed-by: Sebastian Michaelsen
Reviewed-by: Jo Hasenau
Tested-by: Jo Hasenau
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[TASK] Add a sys_log entry when a BE user clears the language cache
Dominique Feyer [Mon, 11 Jul 2011 09:45:15 +0000 (11:45 +0200)]
[TASK] Add a sys_log entry when a BE user clears the language cache

If a backend user clears the language/localization cache (t3lib_l10n),
the action should be added to sys_log.

Change-Id: I038242092e8aede6d6c23d082a3dcb69982a3514
Resolves: #28086
Reviewed-on: http://review.typo3.org/3241
Reviewed-by: Stefan Neufeind
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[FEATURE] Add hashing algorithms to stdWrap
Fabrizio Branca [Mon, 11 Jul 2011 19:02:04 +0000 (21:02 +0200)]
[FEATURE] Add hashing algorithms to stdWrap

Enable hashing the content through stdWrap using different hashing algorithms

Change-Id: I0673f33a1ca7bcb5784e5ab9f0def8db5ff7ea4b
Resolves: #28095
Releases: 4.6
Reviewed-on: http://review.typo3.org/3257
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[TASK] Disable clear lang cache menu by default
Dominique Feyer [Mon, 11 Jul 2011 09:22:31 +0000 (11:22 +0200)]
[TASK] Disable clear lang cache menu by default

By default the clear lang cache should not be enabled.

You can enable it if needed with this configuration, in localconf.php:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['lang']['cache']['clear_menu'] = TRUE;

Change-Id: I1b7796aca65eb45922d85a6ddd9b6220a3bd89ae
Resolves: #28086
Reviewed-on: http://review.typo3.org/3239
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[TASK] Refactor core usages of testInt, calcPriority, calcParenthesis
Susanne Moog [Mon, 11 Jul 2011 20:21:52 +0000 (22:21 +0200)]
[TASK] Refactor core usages of testInt, calcPriority, calcParenthesis

As testInt, calcPriority and calcParenthesis were moved and renamed to
t3lib_utility_Math we have to change the core usages, too.

Change-Id: Ia828ffbdf92dc72d35a1d3f5919869d043e3bb83
Depends: #28064
Resolves: #28096
Reviewed-on: http://review.typo3.org/3260
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Clean-up round() stdWrap implementation
Xavier Perseguers [Mon, 11 Jul 2011 19:49:37 +0000 (21:49 +0200)]
[TASK] Clean-up round() stdWrap implementation

- Rework PHP documentation to be in-line with other methods
- Declare the method as protected instead of private to allow subclassing
- Add array type to argument $conf

Change-Id: I3ceb2b8c062c5ca2c6df87f32468ecf27c069b6f
Resolves: #28027
Reviewed-on: http://review.typo3.org/3259
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[TASK] Move and rename testInt, calcPriority, calcParenthesis
Susanne Moog [Sat, 9 Jul 2011 23:58:44 +0000 (01:58 +0200)]
[TASK] Move and rename testInt, calcPriority, calcParenthesis

Move and rename testInt, calcPriority, calcParenthesis to
t3lib_utility_Math. Also add corresponding unit tests.

Change-Id: I095b24794e15e16d02e4761c69c8e1e65510bd0c
Resolves: #28064
Reviewed-on: http://review.typo3.org/3235
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
7 years ago[FEATURE] Rounding functionality in stdWrap
Kilian Hann [Sat, 9 Jul 2011 10:01:10 +0000 (12:01 +0200)]
[FEATURE] Rounding functionality in stdWrap

Provides rounding functionality (round, ceil, floor) to stdWrap.

Change-Id: Iec4dd4df61e3e0dcb0556fa4ddeb34adaffa9823
Resolves: #28027
Reviewed-on: http://review.typo3.org/3178
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
7 years ago[TASK][!!!] Improve Backend search
Dmitry Dulepov [Wed, 18 May 2011 11:52:59 +0000 (14:52 +0300)]
[TASK][!!!] Improve Backend search

There are several problems with current Backend search:
* it searches far more fields than necessary (for example, TSConfig)
* it searches "uid" and other numeric fields even if the value is not
  numeric
* it uses LIKE x search on numeric fields and forces DAM to make an
  XCLASS
* it searches all tables even if they do not make sense to be searched
* it is too slow
* it searches only first four levels deep in the page tree

All these problems come from the [wrong] idea that TYPO3 can detect
where it can search. Instead, tables should be marked as "searchable"
and provide a list of fields that make sense to search. Also it makes
sense to search some fields as case insensitive. This task solves all
described issues.

After this change extensions will need to explicitely mark their tables
as searchable. Until that, those table will not be searched.

Search by default is NOT case sensitive. If the developer wants a case
sensitive search on the column, (s)he should ensure proper locale on
that column (as described at http://bit.ly/1zw8dC) and mark the column
as case-sensitive for search (see TYPO3 core API for more details).

Change-Id: I2b194dc1c746a4fc3f7663358ed08d7c9f6e11a8
Resolves: #26829
Releases: 4.6
Reviewed-on: http://review.typo3.org/2189
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Markus Klein
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Kay Strobach
Tested-by: Kay Strobach
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
Reviewed-by: Xavier Perseguers
7 years ago[BUGFIX] BE: remove tag-fragments from text-version of a richtext-field
Stefan Neufeind [Tue, 28 Jun 2011 14:45:47 +0000 (16:45 +0200)]
[BUGFIX] BE: remove tag-fragments from text-version of a richtext-field

The text-version contains the "first attribute of empty tags".
While this might make sense for <LINK ...>-tags it is quite
pointless for all other HTML-tags.

Change-Id: If56dbe3682173e0b4144749430cce6b11e99edcf
Resolves: #27743
Reviewed-on: http://review.typo3.org/2952
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
7 years ago[BUGFIX][Cache] File backend: Create directory after flush()
Christian Kuhn [Mon, 11 Jul 2011 10:32:38 +0000 (12:32 +0200)]
[BUGFIX][Cache] File backend: Create directory after flush()

The file backend does not re-create the cache directory on
flush() which leads to problems if calling flush() and set()
afterwards again. One unit test had to manually clear cache
files because of that and can be simplified now.
This is an issue in TYPO3 v4 only, FLOW3 is not affected.

Change-Id: Ic7756b2c14641789696f10c223d76439ca7e9602
Resolves: #28090
Reviewed-on: http://review.typo3.org/3249
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Move XLIFF handling to t3lib
Xavier Perseguers [Thu, 7 Jul 2011 23:29:41 +0000 (01:29 +0200)]
[TASK] Move XLIFF handling to t3lib

All XLIFF code should better be located within t3lib.

Change-Id: I2bad66f9e2c92015e9aab4a06e8c92e96762ab9a
Resolves: #28055
Reviewed-on: http://review.typo3.org/3217
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[TASK] Clean up phpDoc comments in t3lib_div
Sebastian Michaelsen [Mon, 11 Jul 2011 09:11:21 +0000 (11:11 +0200)]
[TASK] Clean up phpDoc comments in t3lib_div

Clean phpDoc comments are important to make the API understandable to
users and IDEs. t3lib_div is a good point to start with.

Lots of comment changes to comply with CGL especially:
* Provide the variable name in the @param line
* Unify white spaces between @-command, datatype, varname and description
* Correct wrong datatype declarations (default 0/1 to TRUE/FALSE for booleans)
* Add some missing / incomplete phpDoc comments
* Correct some spelling issues

Change-Id: I5265e172b5787a78b2598406eb40b8bcc68e07dc
Resolves: #28087
Releases: 4.6
Reviewed-on: http://review.typo3.org/3242
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] t3lib_div::debugRows doesn't return data
Sebastian Michaelsen [Mon, 11 Jul 2011 08:48:40 +0000 (10:48 +0200)]
[BUGFIX] t3lib_div::debugRows doesn't return data

In TYPO3 4.5 t3lib_div::debugRows() was deprecated
and moved to t3lib_utility_Debug::debugRows().
The problem is, that t3lib_utility_Debug::debugRows()
is just called but not returned, despite the fact
that debugRows() offers an option $returnHTML to
return an HTML table.
So in the (a bit unlikely) case someone relies on
values returned by t3lib_div::debugRows(), 4.5 broke
his code.

Adding a simple "return" will solve this problem.

Change-Id: I4e328db1b78975a7baed386a316dc50f00a0ac40
Resolves: #28085
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3238
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[TASK] Update information in INSTALL.txt to meet requirements
Markus Bucher [Sat, 9 Jul 2011 10:36:12 +0000 (12:36 +0200)]
[TASK] Update information in INSTALL.txt to meet requirements

Change-Id: Ib296b19d98ed1de1830d479a04224f16e660a7b1
Resolves: #28031
Reviewed-on: http://review.typo3.org/3183
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Kilian Hann
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[TASK] Refactor TYPO3.l10n localize handling
Laurent Cherpit [Sat, 9 Jul 2011 20:41:14 +0000 (22:41 +0200)]
[TASK] Refactor TYPO3.l10n localize handling

- Change inclusion Order of the sysext/lang/res/js/be/typo3lang.js jsFile.
- Change TYPO3.l10n to sanitize TYPO3.lang array to store only string on it.
  Therefore use a private array to store a copy of lang objects with will
  be accessed via TYPO3.l10n.localize.

Change-Id: Ie05cd5baf39d8366328f8aa6193e39816721ee1c
Resolves: #28057
Reviewed-on: http://review.typo3.org/3227
Reviewed-by: Sebastian Kurfuerst
Tested-by: Sebastian Kurfuerst
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[BUGFIX] locallangXMLOverride hook has been removed
Dominique Feyer [Thu, 7 Jul 2011 23:29:41 +0000 (01:29 +0200)]
[BUGFIX] locallangXMLOverride hook has been removed

This feature is back with a small addition. We can now override
a specific language only, with this configuration:

$GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']
['fr']['EXT:aboutmodules/mod/locallang_mod.xml'][] = 'fileadmin/fr.locallang_mod.xml';

Change-Id: I0f92542305594c08d883462a4ce504da820e74dc
Resolves: #27923
Reviewed-on: http://review.typo3.org/3120
Reviewed-by: Stefan Neufeind
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[BUGFIX] Correct icon for edit page settings
Stefan Galinski [Sat, 9 Jul 2011 21:01:04 +0000 (23:01 +0200)]
[BUGFIX] Correct icon for edit page settings

Change-Id: I612ad31c2e9ac31b76459f81121028fd0630e5e6
Resolves: #28060
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3228
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[BUGFIX] Fix broken cleanup in t3lib_autoloadTest
Christian Kuhn [Sat, 9 Jul 2011 21:01:30 +0000 (23:01 +0200)]
[BUGFIX] Fix broken cleanup in t3lib_autoloadTest

Change-Id: I275a1ba8abe9f56f940ba3441d8c7e10253cb0e5
Follows: #28037
Reviewed-on: http://review.typo3.org/3226
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn