Packages/TYPO3.CMS.git
8 years ago[FEATURE] Add table garbage collection scheduler task
Christian Kuhn [Thu, 31 Mar 2011 21:44:19 +0000 (23:44 +0200)]
[FEATURE] Add table garbage collection scheduler task

This feature was implemented during T3BOARD11 bug auction. It is
kindly sponsored with 100 beers by jweiland.net and is called the
'Schnaps Hans scheduler task'

Change-Id: Id7c58d28e4f6e82a708513a3ce9761baf36c06cd
Resolves: #25343
Releases: 4.6
Reviewed-on: http://review.typo3.org/1376
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Cache toolbar items have incorrect width
Andreas Wolf [Thu, 9 Jun 2011 07:19:17 +0000 (09:19 +0200)]
[BUGFIX] Cache toolbar items have incorrect width

The items in the clear cache toolbar do not span the full width of the
menu. This is because a float:left; that was inserted for the top-level
items of the toolbar also affects these items.

Change-Id: Ic17fc2b00aeba3e150630da6895a18e38b02987a
Releases: 4.6
Resolves: #27323
Reviewed-on: http://review.typo3.org/2593
Reviewed-by: Markus Klein
Reviewed-by: Philipp Gampe
Reviewed-by: Mario Rimann
Tested-by: Mario Rimann
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[FEATURE] Make t3lib_BEfunc::calcAge() support singular/plural
Stefan Neufeind [Fri, 17 Jun 2011 18:34:25 +0000 (20:34 +0200)]
[FEATURE] Make t3lib_BEfunc::calcAge() support singular/plural

This was already supported in tslib_content::calcAge() and is now in
sync with this patch.

Change-Id: Id07a1a4ca1e598c35aff2842a1ae3012adab7cba
Resolves: #21601
Reviewed-on: http://review.typo3.org/2787
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[TASK] Cleanup unnecessary calls to reset() or current()
Stefan Neufeind [Fri, 17 Jun 2011 22:36:55 +0000 (00:36 +0200)]
[TASK] Cleanup unnecessary calls to reset() or current()

Change-Id: I055760fdd1960dbfa8b574523c8b88ea84f619f8
Resolves: #27530
Reviewed-on: http://review.typo3.org/2792
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[TASK] Cleanup foreach() by using references
Stefan Neufeind [Fri, 17 Jun 2011 19:53:52 +0000 (21:53 +0200)]
[TASK] Cleanup foreach() by using references

Using references for foreach-values makes handling
easier in some cases.
Also added (according to php-documentation) unset()
after foreach() on the variable used for the reference.

Change-Id: I7137c50d49a3f7aa812b8cbd1c4098e481b8376f
Resolves: #27529
Reviewed-on: http://review.typo3.org/2791
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[TASk] Add tests for t3lib_div addSlashesOnArray and stripSlashesOnArray
Christian Kuhn [Sat, 18 Jun 2011 13:53:15 +0000 (15:53 +0200)]
[TASk] Add tests for t3lib_div addSlashesOnArray and stripSlashesOnArray

Change-Id: If20a37d2074009edbae9d77d84af468288f2626d
Resolves: #27532
Reviewed-on: http://review.typo3.org/2796
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Caching framework: Remove flushByTags() and findIdentifiersByTags()
Christian Kuhn [Fri, 29 Apr 2011 10:43:22 +0000 (12:43 +0200)]
[BUGFIX] Caching framework: Remove flushByTags() and findIdentifiersByTags()

Change-Id: I37f35a724be320a89cbf4a7b0d2533e60e2ef839
Resolves: #26499
Reviewed-on: http://review.typo3.org/1794
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Björn Pedersen
Reviewed-by: Stefan Neufeind
Tested-by: Björn Pedersen
Tested-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Call to stdWrap() of non-existant $this->cObj in GifBuilder
Steffen Gebert [Mon, 18 Apr 2011 20:19:06 +0000 (22:19 +0200)]
[BUGFIX] Call to stdWrap() of non-existant $this->cObj in GifBuilder

A PHP Fatal Error occurs in tslib_gifBuilder::checkTextObj(), because
$this->cObj is not set, however this->cObj->stdWrap() is called.

A few lines later, a local variable $cObj is initialized. This
initialization should be moved before the stdWrap() call.

Change-Id: Ia6fb6a57ba5e4c4bf83e54d720bd1353143ab66d
Resolves: #26091
Reviewed-on: http://review.typo3.org/1651
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX] TCEforms Suggest doesn't search static tables as user
Thomas Maroschik [Wed, 13 Apr 2011 10:02:57 +0000 (12:02 +0200)]
[BUGFIX] TCEforms Suggest doesn't search static tables as user

As a backend user, when using a suggest form next to a select
or group field containing entries from a static table I won't
get any results from this table. The pid 0 is not accessible
for regular users, and thus checks against
t3lib_BEfunc::readPageAccess are unneccessary.

Added a condition in t3lib_TCEforms_Suggest_DefaultReceiver::
checkRecordAccess() that checks for an is_static declaration in
TCA ctrl section of the affected table.

Change-Id: Id4a43f07c7d324b1c9c63a610db741b552df6f18
Fixes: #25938
Reviewed-on: http://review.typo3.org/1592
Reviewed-by: Stefan Neufeind
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
Reviewed-by: Björn Pedersen
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[BUGFIX] Throw HttpStatusExceptions in tslib_fe
Steffen Gebert [Fri, 1 Apr 2011 10:25:14 +0000 (12:25 +0200)]
[BUGFIX] Throw HttpStatusExceptions in tslib_fe

Change #25697 added an Exception Hierarchy for HTTP statuses. This
change makes use of them in tslib_fe.

Change-Id: If3d30be37c97c9125d69dd3d98c41ea67deeb5c8
Resolves: #25698
Reviewed-on: http://review.typo3.org/1397
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[TASK] htmlArea RTE: Remove references to safe mode
stan [Wed, 15 Jun 2011 02:08:55 +0000 (22:08 -0400)]
[TASK] htmlArea RTE: Remove references to safe mode

safe_mode is not supported in TYPO3 4.6.

Change-Id: I5fdefc9595ee65bc911711851ae6e20c9f381e25
Resolves: #27408
Releases: 4.6
Reviewed-on: http://review.typo3.org/2749
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[TASK] Set TYPO3 version to 4.6-dev
TYPO3 v4 Release Team [Wed, 15 Jun 2011 06:50:23 +0000 (08:50 +0200)]
[TASK] Set TYPO3 version to 4.6-dev

Change-Id: I13e3623c00be4b9884a0d4a05b231cb64cbe4eae
Reviewed-on: http://review.typo3.org/2753
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years ago[RELEASE] Release of TYPO3 4.6.0alpha2
TYPO3 v4 Release Team [Wed, 15 Jun 2011 06:50:15 +0000 (08:50 +0200)]
[RELEASE] Release of TYPO3 4.6.0alpha2

Change-Id: Iae20fa7a558b3b6cbbdbd3cee92203c751cfae3b
Reviewed-on: http://review.typo3.org/2752
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years agoRevert "[RELEASE] Release of TYPO3 4.6.0alpha2"
Oliver Hader [Tue, 14 Jun 2011 21:08:59 +0000 (23:08 +0200)]
Revert "[RELEASE] Release of TYPO3 4.6.0alpha2"

This reverts commit f855741ea53da81a0713029e69cfd5012f271ae5.

Change-Id: If73a721a601ded3bc0d4764b25849575e5568aca
Reviewed-on: http://review.typo3.org/2748
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[RELEASE] Release of TYPO3 4.6.0alpha2
TYPO3 v4 Release Team [Tue, 14 Jun 2011 20:03:58 +0000 (22:03 +0200)]
[RELEASE] Release of TYPO3 4.6.0alpha2

Change-Id: I4eec17d8e9c90f03890e1df5fbcc67cc62c713d9
Reviewed-on: http://review.typo3.org/2746
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Tue, 14 Jun 2011 20:00:21 +0000 (22:00 +0200)]
[TASK] Raise submodule pointer

Change-Id: Icd87bb0c28325308c6a0f42f6096bb0fc1d271c5
Reviewed-on: http://review.typo3.org/2745
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Tue, 14 Jun 2011 18:30:48 +0000 (20:30 +0200)]
[TASK] Raise submodule pointer

Change-Id: Ifdd9737accef7f7d0b45a5dbc7a7e1bff4d96dd9
Reviewed-on: http://review.typo3.org/2744
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years ago[TASK] Integrate external projects Fluid and Extbase as Git submodules
Oliver Hader [Tue, 14 Jun 2011 17:58:03 +0000 (19:58 +0200)]
[TASK] Integrate external projects Fluid and Extbase as Git submodules

Change-Id: I6637620820258b3b5c78b650ee6cd94871b9892b
Resolves: #27446
Reviewed-on: http://review.typo3.org/2739
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[FEATURE] Add XLIFF translation support (l10n)
Xavier Perseguers [Mon, 13 Jun 2011 11:09:47 +0000 (13:09 +0200)]
[FEATURE] Add XLIFF translation support (l10n)

Add a parser to support XLIFF + LLXML file as localization file format.

This patch includes:

* A parser factory to support multiple internationalization formats
(actually LLXML and XLIFF, parser for PHP array is not implemented,
yet). New parsers can be added in the future.
* A new parser for XLIFF (supporting plurals, based on the parser of
FLOW3)
* Autoload for sysext 'lang'
* Update the existing localization method (FE, BE, Extbase) to support
the new format of the LOCAL_LANG array
* New caching class based on the caching framework or file based
* Autodetection igbinary for cache un/serialization
* htmlArea RTE: update of the localization API

Currently the localization method works as before (only key-based
localization).

More functionality will be implemented in the new localization API
(plurals, ...). The current parser can be used on a TYPO3 instance with
LLXML and/or XLIFF files. However if an extension uses XLIFF, the
language pack (typo3conf/l10n) MUST use the same format.

The parser and the format priority (by default: xlf, xml, php), can be
configured in $TYPO3_CONF_VARS['SYS']['lang'].

Change-Id: I84d0a463f1b5448b4bca3f7d200315f397f4ea18
Resolves: #25397
Reviewed-on: http://review.typo3.org/2572
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] Scheduler: Show running icon during execution
Andy Grunwald [Mon, 30 May 2011 16:30:47 +0000 (18:30 +0200)]
[BUGFIX] Scheduler: Show running icon during execution

When tasks are executed manually via the Scheduler BE module, their
status icons should be changed to "running".

Change-Id: Iae0140f5d9b8a9b622a189fbe12a55bc2d0032c5
Resolves: #25669
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/2449
Reviewed-by: Francois Suter
Tested-by: Francois Suter
8 years ago[BUGFIX] Replace deprecated unit test method
Francois Suter [Tue, 14 Jun 2011 11:31:49 +0000 (13:31 +0200)]
[BUGFIX] Replace deprecated unit test method

The new Scheduler module unit test class uses the assertType() method
from phpUnit, which is deprecated. Replace it with
assertInternalType() as recommended by phpUnit.

Change-Id: I268a14c6b4cd4f9e24eab67d70adcc8e968fba6c
Reviewed-on: http://review.typo3.org/2735
Reviewed-by: Francois Suter
Tested-by: Francois Suter
8 years ago[TASK] Cleanup tx_scheduler_ModuleTest
Oliver Hader [Tue, 14 Jun 2011 10:18:51 +0000 (12:18 +0200)]
[TASK] Cleanup tx_scheduler_ModuleTest

Change-Id: I15a309c36c41c3152c73058cf3e3251c4ddff870
Reviewed-on: http://review.typo3.org/2734
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[FEATURE] Scheduler: Change visibility of tx_scheduler_Module::checkDate()
Andy Grunwald [Mon, 30 May 2011 15:51:01 +0000 (17:51 +0200)]
[FEATURE] Scheduler: Change visibility of tx_scheduler_Module::checkDate()

The visibility of tx_scheduler_Module::checkDate($string) is changed from protected to public
to make it possible to use this method in custom DataFieldProviders (Scheduler custom fields).

Furthermore this makes it possible to test this method with unit tests.

Change-Id: I9c97f64c6461b38ce29ac57e5421be0134726a06
Resolves: #25668
Releases: 4.6
Reviewed-on: http://review.typo3.org/2445
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[FEATURE][CONF] Options for pages in new record wizard
Francois Suter [Tue, 31 May 2011 09:01:58 +0000 (11:01 +0200)]
[FEATURE][CONF] Options for pages in new record wizard

Pretty much everything is configurable in the new record wizard
(typo3/db_new.php), except for the three links to create new pages
(after, inside and select position).

This change introduces new Page TSconfig options to that effect.

Change-Id: I7efd0fb710f8026b34c1c9cbbbe8f8f1d43693cc
Resolves: #24616
Releases: 4.6
Reviewed-on: http://review.typo3.org/2450
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Francois Suter
Tested-by: Francois Suter
8 years ago[FEATURE] Move "Appearance" tab before "Access" tab
Soren Malling [Fri, 10 Jun 2011 09:50:46 +0000 (11:50 +0200)]
[FEATURE] Move "Appearance" tab before "Access" tab

The use of settings in the "Appearance" tab are most likely related to
setting in tabs placed before the "Access" tab.

The "Appearance" should be moved before the "Access" tab to give a
correct workflow

Change-Id: I1cd6683f11d79e8b5684f06310b4c1649295049a
Resolves: #27345
Reviewed-on: http://review.typo3.org/2628
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[FEATURE] Add support for FlexForm file reference
Rens Admiraal [Tue, 15 Mar 2011 16:29:05 +0000 (17:29 +0100)]
[FEATURE] Add support for FlexForm file reference

Now t3lib_befunc->getFlexFormDS supports pointers to a file, or to
a table containing the XML for the datastructure. I'm currently in
the need of storing a file location in this reference table, which
is not possible in current method.

My suggestion would be to validate the datastructure field in the
database to see if it's a file or XML, and handle it depending on
the outcome. Suggestion for a solution can be found in this changeset.

See the mantis bug report for a test extension to reproduce this.

Change-Id: Iae7b096b3b722dfc9eb2b59da10527e5f8febbf8
Resolves: #M17532
Reviewed-on: http://review.typo3.org/1175
Reviewed-by: Rens Admiraal
Tested-by: Rens Admiraal
Reviewed-by: Julian Hofmann
Reviewed-by: Tolleiv Nietsch
Reviewed-by: Christian Mueller
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[FEATURE] t3lib_FlashMessage: separate message-classes from rendering
Stefan Neufeind [Fri, 10 Jun 2011 21:31:22 +0000 (23:31 +0200)]
[FEATURE] t3lib_FlashMessage: separate message-classes from rendering

Separate class-fetching from HTML-rendering.

Change-Id: Ic8994aebaf4c1c22919054b7a6720b51bdcbc4c5
Resolves: #27367
Reviewed-on: http://review.typo3.org/2646
Reviewed-by: Markus Klein
Reviewed-by: Kay Strobach
Tested-by: Kay Strobach
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[BUGFIX] Toolbar menus have no hover
Andreas Wolf [Thu, 9 Jun 2011 07:54:10 +0000 (09:54 +0200)]
[BUGFIX] Toolbar menus have no hover

All toolbar menu items currently have no hover. This patch adds a hover
to tr and li classes inside these menus.

Original patch by Steffen Kamper.

Change-Id: If6b2ceb6df6977c8b92d1871f115d710107854da
Resolves: #18397
Releases: 4.6
Reviewed-on: http://review.typo3.org/2594
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Kay Strobach
Tested-by: Kay Strobach
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[BUGFIX] Handle IDN domain names correctly
Johannes Feustel [Sun, 5 Jun 2011 13:41:29 +0000 (15:41 +0200)]
[BUGFIX] Handle IDN domain names correctly

Backend fails if using an IDN (international domain name) like täst.org

Change-Id: Iddd0f821bdf61d98f898fd3cdf07b0af83e081d3
Resolves: #20519
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/2528
Reviewed-by: Georg Ringer
Reviewed-by: Kay Strobach
Tested-by: Kay Strobach
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Fri, 10 Jun 2011 19:38:42 +0000 (21:38 +0200)]
[TASK] Raise submodule pointer

Change-Id: I494fa0bbb4228bbd0c53c100c5a85c64ecb6ba6a
Reviewed-on: http://review.typo3.org/2638
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years ago[BUGFIX] noScale is called noRescale in t3editor
Georg Ringer [Thu, 9 Jun 2011 17:32:45 +0000 (19:32 +0200)]
[BUGFIX] noScale is called noRescale in t3editor

There is a little confusion in the files of t3editor
as the name of the setting noScale is called once
noScale and once noRescale. The correct name is
noScale.

Nobrainer.

Change-Id: I6164882bece82c80d9b856666776e92348932999
Resolves: #26534
Reviewed-on: http://review.typo3.org/2611
Reviewed-by: Mario Rimann
Reviewed-by: Stephan Petzl
Tested-by: Stephan Petzl
Reviewed-by: Tobias Liebig
Tested-by: Tobias Liebig
8 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Thu, 9 Jun 2011 14:37:33 +0000 (16:37 +0200)]
[TASK] Raise submodule pointer

Change-Id: I2792f416d35069d838740b190345fd5f36c0071f
Reviewed-on: http://review.typo3.org/2608
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years ago[FEATURE] Add option to remove default CSS from extensions
Susanne Moog [Fri, 29 Apr 2011 18:34:22 +0000 (20:34 +0200)]
[FEATURE] Add option to remove default CSS from extensions

Currently there is no way to disable the output of the
default CSS from extensions (_CSS_DEFAULT_STYLE). You
can only disable it per extension. This change adds
a config option - removeDefaultCss - which allows to
disable it globally.

Change-Id: I1bf2566e14b2f50e16ee0ed4b64a29c3acc1f563
Resolves: #17634
Reviewed-on: http://review.typo3.org/1810
Reviewed-by: Markus Klein
Reviewed-by: Stefan Neufeind
Tested-by: Markus Klein
Reviewed-by: Dmitry Dulepov
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[FEATURE] Evaluate starttime and stoptime fields as datetime
Steffen Gebert [Sun, 5 Jun 2011 19:18:45 +0000 (21:18 +0200)]
[FEATURE] Evaluate starttime and stoptime fields as datetime

As we now can rely on the cache lifetimes of TYPO3's page cache (thanks
to #20473), we can now safely enable editors to also define start and
stop times with a precision of a minute, not only per day. Thus evaluate
the fields as datetime, not only as date.

Change-Id: I1a6a63cc4dd60d51139562979553a4f432ef6642
Resolves: #27228
Reviewed-on: http://review.typo3.org/2534
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[FEATURE] Streamline element browser in tree, upload & create folder form
Thomas Juhnke [Mon, 14 Mar 2011 17:44:24 +0000 (18:44 +0100)]
[FEATURE] Streamline element browser in tree, upload & create folder form

This patch makes the element browser more conform in the three parts by
adding padding to the upload/create folder forms. And move the "display
thumbnails" checkbox to the top of the right tree navigation (right
below the bulk actions).

Furthermore, the three parts are visually splitted by a border which
made it necessary to add new id attributes to the both forms in order
to make them adressable in the stylesheets.

Resolves #25320

Change-Id: I80211a8ace933fe4c44002a5eeb504bfa3360439
Reviewed-on: http://review.typo3.org/1165
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[BUGFIX] t3lib_extjs_ExtDirectDebug::__destruct() missing
Bjoern Pedersen [Tue, 8 Mar 2011 09:53:55 +0000 (10:53 +0100)]
[BUGFIX] t3lib_extjs_ExtDirectDebug::__destruct() missing

In the Developer Logs there are complaints about the missing destructor.
Fix: add it.

Change-Id: I42595a7ebbc3c941bf64bc0699ff908059c107bb
Resolves: #25278
Reviewed-on: http://review.typo3.org/1092
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Oliver Klee
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
8 years ago[BUGFIX] Incorrect TYPO3 environment check
Rens Admiraal [Tue, 15 Mar 2011 16:25:48 +0000 (17:25 +0100)]
[BUGFIX] Incorrect TYPO3 environment check

class.t3lib_tstemplate.php uses if (is_object($GLOBALS['TSFE'])) to check
for the frontend environment, this should be if (TYPO3_MODE == 'FE')

This patch already has a +1 on the core list. Made this changeset to get
it into gerrit.

Change-Id: I57fbbc9258b6db4af20a983791b38087f71ed31d
Resolves: #M17725
Reviewed-on: http://review.typo3.org/1174
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[BUGFIX] Wrong stdWrap keys used in fe_login
Georg Ringer [Mon, 6 Jun 2011 17:18:01 +0000 (19:18 +0200)]
[BUGFIX] Wrong stdWrap keys used in fe_login

logoutHeader_stdWrap and logoutMessage_stdWrap do exist, but are not
used.

Change-Id: I8f12b10ec8f4fd0165904a38d7be913b97242a8d
Resolves: #26758
Reviewed-on: http://review.typo3.org/2547
Reviewed-by: Markus Klein
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
8 years ago[BUGFIX] showAccessRestrictedPages doesn't replace links to restricted subpages
Sven Teuber [Thu, 17 Mar 2011 10:25:28 +0000 (11:25 +0100)]
[BUGFIX] showAccessRestrictedPages doesn't replace links to restricted subpages

When creating a menu with showAccessRestrictedPages set to any PID, links to pages
that inherit an access restriction ("include subpages" set on a parent page)
won't be substituted.

Change-Id: I98ea123ccdf1e370f28103546191b0a7234076f4
Resolves: #15984
Reviewed-on: http://review.typo3.org/1186
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Christian Mueller
Reviewed-by: Georg Ringer
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[BUGFIX] phpTimeZone not correctly set from localconf.php
Patrick Schriner [Mon, 23 May 2011 12:39:41 +0000 (14:39 +0200)]
[BUGFIX] phpTimeZone not correctly set from localconf.php

There's a bug in the PHP time zone implementation - set in
t3lib/config_default.php and overridden in localconf.php.

The timeZone variable used to set the default timezone takes the value
from TYPO3_CONF_VARS[phpTimeZone], which does not exist. It needs to be
corrected to TYPO3_CONF_VARS[SYS][phpTimeZone].

The effect is that the time zone for TYPO3 is always set to the server
time zone and is not set by the localconf.php / Install Tool value of
phpTimeZone.

This looks like it may have been an issue since phpTimeZone was added.

Thanks to Todd Hossack for the patch

Resolves: #26779
Releases: 4.6, 4.5
Change-Id: I599e06c63747a089aefebc4d5745452383dfd8af
Reviewed-on: http://review.typo3.org/2301
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[BUGFIX] pageNotFound_handling error with relative paths
Markus Klein [Sat, 21 May 2011 14:52:22 +0000 (16:52 +0200)]
[BUGFIX] pageNotFound_handling error with relative paths

This patch fixes the handling of relative paths of pageNotFound_handling.
Due to a missing check, the relative path is prefixed with http_host only,
causing a wrong Location header.

Change-Id: I664250d34b05a26bdaf1e2a839027b80c1e4f607
Resolves: #25725
Releases: 4.6, 4.5, 4.4
Reviewed-on: http://review.typo3.org/1712
Reviewed-by: Kurt Kunig
Tested-by: Kurt Kunig
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[FEATURE] Capitalizing with stdWrap (TypoScript)
Benjamin Mack [Thu, 26 May 2011 21:28:03 +0000 (23:28 +0200)]
[FEATURE] Capitalizing with stdWrap (TypoScript)

Add another stdWrap case option "capitalize"

Change-Id: I05e4c8850a80b302a9789415e4fe15a3127692b4
Resolves: #17896
Reviewed-on: http://review.typo3.org/2381
Reviewed-by: Fabien Udriot
Tested-by: Fabien Udriot
Reviewed-by: Stefan Neufeind
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Andy Grunwald
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[BUGFIX][INSTALL] Selecting existing database should check radio button
Steffen Gebert [Thu, 2 Jun 2011 13:52:50 +0000 (15:52 +0200)]
[BUGFIX][INSTALL] Selecting existing database should check radio button

Due to a JavaScript error the corresponding radio button in Step 2 of
the 1-2-3 wizard is not automatically checked, when the dropdown menu
to select an existing database changes.

Change-Id: Idc7c65a268bd7dd67004a88a4c49457f11c022de
Resolves: #11765
Reviewed-on: http://review.typo3.org/2505
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[BUGFIX] Flexform sheet description should be editable via TSConfig
Kai Vogel [Wed, 11 May 2011 18:56:49 +0000 (20:56 +0200)]
[BUGFIX] Flexform sheet description should be editable via TSConfig

Flexform sheet description, short description and language meta settings are now editable via TSConfig.

Change-Id: Ib60c96eb74494444aff14a80d677e52895102f84
Resolves: #26771
Reviewed-on: http://review.typo3.org/2086
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[TASK] Cleanup of includes
Bjoern Pedersen [Mon, 6 Jun 2011 07:24:07 +0000 (09:24 +0200)]
[TASK] Cleanup of includes

* Some spaces where missing
* The session handling had been buried inside the
update classes.

Change-Id: I73fe6f24bc6dae1fb926259acae07984f92cb9c2
Resolves: #27235
Releases: 4.6
Reviewed-on: http://review.typo3.org/2537
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
8 years ago[BUGFIX] TCEFORM language selector: wrong relations
Thorsten Kahler [Sun, 13 Mar 2011 08:50:39 +0000 (09:50 +0100)]
[BUGFIX] TCEFORM language selector: wrong relations

The language selector in the top of BE forms is intended to show (and
switch between) all translations of a certain record. All records in
non-default languages, that are not bound to a record in the default
language are shown as translations of each other.
The patch adds a distinction between translated records and records in
a non-default language to render the dropdowns labels and functions.
Additionally fixes PHPDoc and indentation of SC_alt_doc::languageSwitch().

Change-Id: Iec7ee3dffbeab2e1fce45cd96c17ceffcc75f7aa
Resolves: #24958
Reviewed-on: http://review.typo3.org/1141
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[BUGFIX] Detect Android systems properly
Francois Suter [Tue, 10 May 2011 15:38:04 +0000 (17:38 +0200)]
[BUGFIX] Detect Android systems properly

Android system is not properly detected by
t3lib_utility_Client::getBrowserInfo() because it currently detects
Android devices as variants of a Linux system. However some browsers
don't send "Linux" in the User-Agent, so Android does not get detected
at all. This patch moves Android detection outside of the Linux
detection block. It also comes before Linux detection, so that
Android devices don't get rolled up into Linux computers.

Change-Id: I0d870a0b8e7a00bce0dbbf964338f1e83ca821cc
Resolves: #26734
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/2000
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Fedir RYKHTIK
Tested-by: Fedir RYKHTIK
Reviewed-by: Georg Ringer
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[TASK] Overwork NEWS.txt for TYPO3 4.6
Oliver Hader [Wed, 11 May 2011 12:09:33 +0000 (14:09 +0200)]
[TASK] Overwork NEWS.txt for TYPO3 4.6

Cleanup the NEWS.txt for TYPO3 4.6 and add accordant information.

Change-Id: I2f4bd78feaf2e29e064562f7a9181a081ae9e39c
Reviewed-on: http://review.typo3.org/2071
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[FEATURE][CONF] Starttime/endtime is not taken into account when caching
Steffen Müller [Fri, 27 May 2011 13:21:50 +0000 (15:21 +0200)]
[FEATURE][CONF] Starttime/endtime is not taken into account when caching

If a content element has a starttime/endtime or a tt_news item has such
dates, they are not taken into account when cached.

This change adds an automatism for tt_content records. Records in other
tables can be defined as tablename:pid in TypoScript, to be taken into
account while calculating the page's cache lifetime.

Change-Id: I75479d193772905093f53fcd24299df849478fba
Resolves: #20473
Releases: 4.6
Reviewed-on: http://review.typo3.org/2393
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Stefan Neufeind
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[BUGFIX] sysext recycler: Typo in language label
Stefan Neufeind [Sat, 4 Jun 2011 20:07:41 +0000 (22:07 +0200)]
[BUGFIX] sysext recycler: Typo in language label

Replaced "Create" with "Created". Date refers to when the record was "created".

Change-Id: I68d991af19acbb87a132cb2706841e4f4cbb6a51
Resolves: #5539
Releases: 4.4, 4.5, 4.6
Reviewed-on: http://review.typo3.org/2522
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[FEATURE] Make table labels for import static clickable
Markus Klein [Mon, 23 May 2011 22:36:08 +0000 (00:36 +0200)]
[FEATURE] Make table labels for import static clickable

An extension that provides static data shows up in the extension manager
with a list of checkboxes for each table to import.
The table names are not clickable, one has to target the tiny checkbox.

This fix adds the missing <label> tags around the table names.

Thanks to Christian Weiske for providing this patch.

Change-Id: Icba748674a854cb3bda032cdfc797c4ad5584639
Resolves: #26926
Releases: 4.6
Reviewed-on: http://review.typo3.org/2322
Reviewed-by: Christian Weiske
Tested-by: Christian Weiske
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
8 years ago[BUGFIX][DB] Fixed pages_language_overlay DB definition
Mario Rimann [Fri, 3 Jun 2011 15:08:23 +0000 (17:08 +0200)]
[BUGFIX][DB] Fixed pages_language_overlay DB definition

This is to make the media field of the pages_language_overlay
table behave the same as the media field in the pages table (TCA for both
are identical)

Change-Id: I05298e8429384da7af6ffdef78587198532030f0
Resolves: #26142
Reviewed-on: http://review.typo3.org/2513
Reviewed-by: Björn Pedersen
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
8 years ago[BUGFIX] Fixed typo in TBE_browser_recordList
Mario Rimann [Fri, 3 Jun 2011 13:31:01 +0000 (15:31 +0200)]
[BUGFIX] Fixed typo in TBE_browser_recordList

Change-Id: I317234a5d90d41785f9f9338459fc39a64e85663
Resolves: #26360
Reviewed-on: http://review.typo3.org/2512
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[TASK] Overwork typo3/sysext/README.txt
Ernesto Baschny [Wed, 1 Jun 2011 18:58:47 +0000 (20:58 +0200)]
[TASK] Overwork typo3/sysext/README.txt

Change-Id: Ie76570ebce5ea227a947132180e8555c79fbcc48
Resolves: #27173
Reviewed-on: http://review.typo3.org/2494
Reviewed-by: Mario Rimann
Tested-by: Mario Rimann
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] Do not suppress parse errors in ext_emconf.php files
Steffen Gebert [Thu, 2 Jun 2011 12:54:46 +0000 (14:54 +0200)]
[BUGFIX] Do not suppress parse errors in ext_emconf.php files

In case of parse errors in an ext_emconf.php file, the error message
has been suppressed because of an @include(). Nevertheless, the EM
stops working with a blank page (without any error log entry).

Removing the @ shows the warning so that it easier for the user to
identify the erroneous extension.

Change-Id: I971da980ace41d91dc99f466f1eb137bb0a46add
Resolves: #17506
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/2503
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Steffen Kamper
Tested-by: Steffen Kamper
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] Natural sort with t3lib_div::naturalKeySortRecursive()
Susanne Moog [Thu, 2 Jun 2011 09:23:20 +0000 (11:23 +0200)]
[BUGFIX] Natural sort with t3lib_div::naturalKeySortRecursive()

This fix changes the used compare function for
t3lib_div::naturalKeySortRecursive() from strcasecmp to strnatcasecmp.
This ensures >natural< sorting especially in conjunction with
numbers in strings.

Change-Id: Ia9cd9a36da2bc0b6111a025e73b5bf8d26319c08
Resolves: #26485
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/1787
Reviewed-by: Markus Klein
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[BUGFIX] Show correct record title
Xavier Perseguers [Mon, 30 May 2011 07:18:59 +0000 (09:18 +0200)]
[BUGFIX] Show correct record title

Show correct record title in backend module using t3lib_BEfunc::getRecordTitle()
in template.php and beuser module.

Change-Id: I07bb88509f37a3218d89149a71705054ed75985d
Resolves: #27100
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/2409
Reviewed-by: Markus Klein
Reviewed-by: Stefan Neufeind
Reviewed-by: Andy Grunwald
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX] BE UI: Warning when creating multiple pages should be removed
Benjamin Mack [Sat, 28 May 2011 09:48:08 +0000 (11:48 +0200)]
[BUGFIX] BE UI: Warning when creating multiple pages should be removed

When creating multiple new pages through the functions => wizard, and you'll create the pages you always get a JS question if you really want to do this. This is poor usability and stops the workflow because by that time, everyone should know what he's/she's doing. Additionally, this behaviour is very-"Windows"-like and is not really done in the same way on many other spots of the CMS.

Change-Id: I3990af110785f06b431ad1bdb8d93147397fbf4a
Resolves: #27104
Reviewed-on: http://review.typo3.org/2415
Reviewed-by: Patrick Rodacker
Tested-by: Patrick Rodacker
Reviewed-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Reviewed-by: Björn Pedersen
Reviewed-by: Andy Grunwald
Tested-by: Andy Grunwald
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX] content FORM: wrong layout for label
Markus Klein [Tue, 17 May 2011 20:11:30 +0000 (22:11 +0200)]
[BUGFIX] content FORM: wrong layout for label

Layout configuration of FORM fields with type LABEL is taken from type
CHECK when no stdWrap options are defined.
Thanks to Alexander Claes for this fix.

Change-Id: I260afc718acaa027a8b2c2636d6c366459e55691
Resolves: #26867
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/2191
Reviewed-by: Christopher
Tested-by: Christopher
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
8 years ago[BUGFIX] Fix typo "PHP sessions availiable" in Install Tool
Stephan Großberndt [Mon, 23 May 2011 08:58:54 +0000 (10:58 +0200)]
[BUGFIX] Fix typo "PHP sessions availiable" in Install Tool

Change-Id: I0de40afe0c1253bef8194ce99675a6cd3895e5de
Resolves: #26914
Releases: 4.4, 4.5, 4.6
Reviewed-on: http://review.typo3.org/2299
Reviewed-by: Oliver Klee
Reviewed-by: Björn Pedersen
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Andy Grunwald
Tested-by: Andy Grunwald
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] Remove calls to PHP4 constructors from core
Stefano Kowalke [Tue, 24 May 2011 09:31:15 +0000 (11:31 +0200)]
[BUGFIX] Remove calls to PHP4 constructors from core

After moving from PHP4 to PHP5 constructors fatal PHP error occurs because core still calling PHP4 constructors.

Change-Id: I5633413553431d85955282b2e1b9ef869aa8b7c2
Resolves: #27001
Related: #26505
Releases: 4.6
Reviewed-on: http://review.typo3.org/2331
Reviewed-by: Oliver Klee
Reviewed-by: Patrick Rodacker
Tested-by: Patrick Rodacker
Reviewed-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] Missing XCLASS statement for class LiveSearch
Steffen Gebert [Wed, 1 Jun 2011 17:18:17 +0000 (19:18 +0200)]
[BUGFIX] Missing XCLASS statement for class LiveSearch

Change-Id: I6472d853b71aff2bde27ce054fec275f7c68fa95
Resolves: #27152
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/2488
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] Scheduler: use img title-tags for mouse-over at status legend
Andy Grunwald [Mon, 30 May 2011 16:11:07 +0000 (18:11 +0200)]
[BUGFIX] Scheduler: use img title-tags for mouse-over at status legend

The 'Status Legend' in the Scheduler backend module does not use
<img title="" /> tags. Only <img alt=""> tags.
This patch writes the value from alt=""-Tag to title="" tag.

Thanks to Qitec for the original patch.

Change-Id: I401e3a129d8ef1dd7ea8c9d1130d1ed5ed1f6339
Resolves: #25661
Releases: 4.6
Reviewed-on: http://review.typo3.org/2446
Reviewed-by: Andy Grunwald
Tested-by: Andy Grunwald
Reviewed-by: Francois Suter
Tested-by: Francois Suter
8 years ago[TASK] Update caching framework to latest FLOW3 version
Susanne Moog [Sun, 29 May 2011 14:58:28 +0000 (16:58 +0200)]
[TASK] Update caching framework to latest FLOW3 version

Except to a database structure change of the experimental PDO backend all
changes are backwards compatible for existing extensions usages if the
current API is not misused.

Notable changes:
- A new "context" variable for backends constructors was introduced. In v4 it
  is always set to "production" in production environment and to "Testing" for
  unit tests. Other than that it is unused and was ported to keep v4 and
  FLOW3 in sync.
- File backend now uses different directories for a code and data caches.
- Files created by the file backend have a .php suffix for code caches.
- In file backend, FLOW3 removed the cacheDirectory() method. It is kept
  for v4 to enable us to have cache directories outside of the document root.
- File backend unit tests use vfs (virtual file system). This way no more
  files are created by unit tests in the file system that must be cleaned up.
- t3lib_cache_Manager has a new method injectCacheFactory(), used by
  t3lib_cache_Factory. t3lib_cache, tslib_fe and init.php reflect this change.
- t3lib_cache_Factory calls initializeObject() of frontends and backends if the
  method exists. Some __construct() calls are moved to this method.
- Some code and unit tests now use name spacing for global objects.
- t3lib_cache_Manager has new protected methods to call all configured caches
  on flushCaches() and flushCachesByTag().
- Pdo backend changed its database structure and uses a "context" field instead
  of "scope" now.
- Lots of minor variable renamings, comment changes and annotation fixes.

Change-Id: Ib1be85fbbe0cb198201fb09bbdb9f9e42c097d35
Resolves: #26263
Reviewed-on: http://review.typo3.org/1722
Reviewed-by: Björn Pedersen
Tested-by: Björn Pedersen
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX] compileWhereClause causes Extbase errors with DBAL
Patrick Schriner [Tue, 5 Apr 2011 12:20:24 +0000 (14:20 +0200)]
[BUGFIX] compileWhereClause causes Extbase errors with DBAL

t3lib_sqlparser::compileWhereClause iterates over the where subparts. It is called from
DBAL when running DBAL in native (MySQL) mode.

It does however resets its output string whenever the subpart is either FIND_IN_SET or
IFNULL. This causes the queries built by Extbase to fail.

Change-Id: Iea3d6f02cc9b8151f9fd6454f393ff6089567a03
Fixes: #25488
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/1458
Reviewed-by: Stefan Neufeind
Reviewed-by: Georg Schönweger
Tested-by: Georg Schönweger
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] Add stdWrap for excludeUidList for HMENU.
Roland Waldner [Fri, 29 Apr 2011 20:03:41 +0000 (22:03 +0200)]
[BUGFIX] Add stdWrap for excludeUidList for HMENU.

Change-Id: I10a9814366e69dfdbf87e8ab404ab4d2ce02f4c3
Resolves: #26483
Reviewed-on: http://review.typo3.org/1813
Reviewed-by: Stefan Neufeind
Reviewed-by: Markus Klein
Reviewed-by: Christopher
Tested-by: Christopher
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX] Meta charset tag adjustment for html5 doctype
Susanne Moog [Sat, 21 May 2011 13:30:29 +0000 (15:30 +0200)]
[BUGFIX] Meta charset tag adjustment for html5 doctype

The meta charset tag is not fully compatible with html5.
Remove the namespace to avoid the validator warning.

Change-Id: I8275b677e5394f59dbd1efc65ced93f57149ebae
Resolves: #24212
Reviewed-on: http://review.typo3.org/2280
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[TASK] Refactor conditions in t3lib_extFileFunc
Andreas Wolf [Tue, 8 Mar 2011 07:00:37 +0000 (08:00 +0100)]
[TASK] Refactor conditions in t3lib_extFileFunc

t3lib_extFileFunc has a lot of deeply nested conditions. These
conditions make understanding the code really hard.

Most of the else-branches only contain a log call, so it helps a lot to
invert the conditions, move the log call inside the if-branch and add a
break statement afterwards. The else branch can then be removed to
streamline the code.

Change-Id: Ic900fe3294142ebc89be4c3d420bb729a24d5452
Resolves: #24218
Reviewed-on: http://review.typo3.org/1087
Reviewed-by: Francois Suter
Tested-by: Francois Suter
Reviewed-by: Stefan Neufeind
8 years ago[TASK] Remove extension commerce specific code in TYPO3 Core
Marcus Krause [Wed, 25 May 2011 09:15:05 +0000 (11:15 +0200)]
[TASK] Remove extension commerce specific code in TYPO3 Core

Class tslib_feUserAuth contains TER specific code. This issue is about
to remove this piece of code.

In specific this is EXT:commerce related code which has been
introduced with the TYPO3 Core Session Fixation Security Fix.

Whether fixed or not in commerce, Core should not fix code for
TER listed extensions. However, as commerce list currently very active
it should be possible for the contributors to fix problems if still
existing.

Change-Id: I2dae9c6f5fa24ce11f43ebd612523a00101e2990
Resolves: #27027
Reviewed-on: http://review.typo3.org/2364
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[FEATURE][CONF][!!!] Deprecate PHP_SCRIPT* objects
Francois Suter [Fri, 20 May 2011 12:10:38 +0000 (14:10 +0200)]
[FEATURE][CONF][!!!] Deprecate PHP_SCRIPT* objects

PHP_SCRIPT, PHP_SCRIPT_INT and PHP_SCRIPT_EXT objects are old
TypoScript content objects which really shouldn't be used anymore.
Mark them as deprecated.

Change-Id: I6f17728e6202291ba5594fa9e1af8d05112acfe8
Resolves: #26936
Releases: 4.6
Reviewed-on: http://review.typo3.org/2269
Reviewed-by: Xavier Perseguers
Reviewed-by: Christopher
Tested-by: Christopher
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Francois Suter
Tested-by: Francois Suter
8 years ago[BUGFIX] Allow Tx_ as class prefix
Andreas Kiessling [Fri, 29 Apr 2011 15:07:48 +0000 (17:07 +0200)]
[BUGFIX] Allow Tx_ as class prefix

Although extbase urges to use Tx_ as prefix for class name, this prefix
is not accepted in all places of the core.

Change-Id: Icb46d875fdf66eaf6f51367cf3ef5030c07a4128
Resolves: #22594
Releases: 4.6, 4.5, 4.4, 4.3
Reviewed-on: http://review.typo3.org/1609
Tested-by: Philipp Gampe
Reviewed-by: Kay Strobach
Tested-by: Kay Strobach
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Jigal van Hemert
8 years ago[TASK] Update RTE manual with description of buttons
stan [Thu, 19 May 2011 04:34:01 +0000 (00:34 -0400)]
[TASK] Update RTE manual with description of buttons

Thanks to Christian Hennecke.

Change-Id: Ie3a6b285e3a1d79f71baa975e836a447c3449681
Resolves: #26724
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/2220
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[BUGFIX] TCA definition is not available in upgrade wizards
Steffen Gebert [Tue, 10 May 2011 21:09:42 +0000 (23:09 +0200)]
[BUGFIX] TCA definition is not available in upgrade wizards

The global TCA definition is empty in some upgrade wizards.
This was caused by a general clean-up to remove PHP global
statements that did not seem to be required anymore. However,
if PHP files get included inside a method or function accessing
$TCA did not happen in a global context.

Change-Id: I17df6b3caeda0ff2b5a7399c457ccebc57627882
Resolves: #26515
Reviewed-on: http://review.typo3.org/1809
Reviewed-by: Steffen Gebert
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[TASK] Raise submodule pointer
Xavier Perseguers [Fri, 13 May 2011 13:11:44 +0000 (15:11 +0200)]
[TASK] Raise submodule pointer

Change-Id: Ib9458084608ef938ab28a961d24a69cc29b7c45b
Reviewed-on: http://review.typo3.org/2111
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUG] Constant TYPO3_URL_DONATE defined twice
Xavier Perseguers [Thu, 12 May 2011 11:48:54 +0000 (13:48 +0200)]
[BUG] Constant TYPO3_URL_DONATE defined twice

Constant TYPO3_URL_DONATE is defined twice. Once with
the old, simulate static URL, and once with the new, current
URL.

Change-Id: If7d2ead0e86ac93d18251db38a7c226af5903355
Resolves: #26781
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/2094
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] Fix stdWrap for Click-to-enlarge
Markus Klein [Wed, 11 May 2011 13:54:34 +0000 (15:54 +0200)]
[BUGFIX] Fix stdWrap for Click-to-enlarge

Due to a syntax error, stdWrap for the target attribute of
the click-to-enlarge image link is broken. (Nobrainer)

Change-Id: Ie107fe9d4ddcfe04d341755834c049487e205c2d
Resolves: #26757
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/2079
Reviewed-by: Björn Pedersen
Reviewed-by: Stefano Kowalke
Tested-by: Stefano Kowalke
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[TASK] Set TYPO3 version to 4.6-dev
TYPO3 v4 Release Team [Wed, 11 May 2011 10:17:44 +0000 (12:17 +0200)]
[TASK] Set TYPO3 version to 4.6-dev

Change-Id: I2c120b64734eafd24fa848f9728edb2ebd572a97
Reviewed-on: http://review.typo3.org/2062
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years ago[RELEASE] Release of TYPO3 4.6.0alpha1
TYPO3 v4 Release Team [Wed, 11 May 2011 10:17:39 +0000 (12:17 +0200)]
[RELEASE] Release of TYPO3 4.6.0alpha1

Change-Id: I42a88d82c1f1e252946f15d0ae53e037fe3ddfb1
Reviewed-on: http://review.typo3.org/2061
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years agoRevert "[RELEASE] Release of TYPO3 4.6.0alpha1"
Oliver Hader [Wed, 11 May 2011 10:11:33 +0000 (12:11 +0200)]
Revert "[RELEASE] Release of TYPO3 4.6.0alpha1"

This reverts commit be13ba38a59478436f51169a31e1c87c8e78de4d.

Change-Id: I1f16e8bd6d5853fd0153cea8f8d128dff4e289e2
Reviewed-on: http://review.typo3.org/2059
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[RELEASE] Release of TYPO3 4.6.0alpha1
TYPO3 v4 Release Team [Wed, 11 May 2011 10:05:59 +0000 (12:05 +0200)]
[RELEASE] Release of TYPO3 4.6.0alpha1

Change-Id: I56b4964444f4320fd76be3473e97a9e076b1fc41
Reviewed-on: http://review.typo3.org/2057
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years agoRevert "[RELEASE] Release of TYPO3 4.6.0alpha1"
Oliver Hader [Wed, 11 May 2011 10:03:10 +0000 (12:03 +0200)]
Revert "[RELEASE] Release of TYPO3 4.6.0alpha1"

This reverts commit 2512e8324952ae27ab33a5f91085bf5e2ccbe0e1.

Change-Id: Ie706762dcd844984c0031f01813f2c71f98da20d
Reviewed-on: http://review.typo3.org/2056
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[RELEASE] Release of TYPO3 4.6.0alpha1
TYPO3 v4 Release Team [Wed, 11 May 2011 10:00:40 +0000 (12:00 +0200)]
[RELEASE] Release of TYPO3 4.6.0alpha1

Change-Id: I952e21e466288b77fba172e0561004b4bec26f39
Reviewed-on: http://review.typo3.org/2055
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years agoRevert "[RELEASE] Release of TYPO3 4.6.0alpha1"
Oliver Hader [Wed, 11 May 2011 09:57:52 +0000 (11:57 +0200)]
Revert "[RELEASE] Release of TYPO3 4.6.0alpha1"

This reverts commit fab9e6626f6b28e0c7c64b0f6bf0fc0b6806f9fc.

Change-Id: I7fd68d23f6b259171b7af337281f76b8a187e2f3
Reviewed-on: http://review.typo3.org/2054
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[RELEASE] Release of TYPO3 4.6.0alpha1
TYPO3 v4 Release Team [Wed, 11 May 2011 09:52:48 +0000 (11:52 +0200)]
[RELEASE] Release of TYPO3 4.6.0alpha1

Change-Id: I8a466e03172f2bbd2fd1fe6c79f4d40efa3da028
Reviewed-on: http://review.typo3.org/2053
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years ago[TASK] Set ImageMagick v6 as default
Xavier Perseguers [Wed, 11 May 2011 09:13:53 +0000 (11:13 +0200)]
[TASK] Set ImageMagick v6 as default

IM4 and IM5 support has been deprecated and is scheduled for
removal in TYPO3 4.6. Default empty setting for im_version_5
meant IM4. It should now reflect v6 instead.

Change-Id: Idcebd41d9cf6059ea61363a8965fef9d526e9d00
Resolves: #24146
Reviewed-on: http://review.typo3.org/2049
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[TASK] Remove support for ImageMagick 4 and 5
Xavier Perseguers [Wed, 4 May 2011 18:48:18 +0000 (20:48 +0200)]
[TASK] Remove support for ImageMagick 4 and 5

IM4 and IM5 support has been deprecated and is scheduled for
removal in TYPO3 4.6.

Change-Id: Ib7610a3666e764e32c854fb04b5d80ef3030dad3
Resolves: #24146
Reviewed-on: http://review.typo3.org/1989
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
8 years ago[TASK] Use PHP5 constructors
Stefano Kowalke [Wed, 4 May 2011 18:48:18 +0000 (20:48 +0200)]
[TASK] Use PHP5 constructors

Using the new PHP5 constructors (__construct) instead of PHP4 variants.

Change-Id: Iab19b1be570cde143dacbbe244aedaf2dd8ce1a6
Resolves: #26505
Releases: 4.6
Reviewed-on: http://review.typo3.org/1797
Reviewed-by: Stefan Neufeind
Reviewed-by: Oliver Klee
Tested-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[TASK] Use external Core Project DBAL as Git submodule
Oliver Hader [Tue, 10 May 2011 21:01:26 +0000 (23:01 +0200)]
[TASK] Use external Core Project DBAL as Git submodule

Change-Id: Iaae5e6978096de060a1253f14de01b763048645c
Resolves: #26738
Releases: 4.2, 4.3, 4.4, 4.5, 4.6
Reviewed-on: http://review.typo3.org/2016
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[BUGFIX] Removing child records in a workspace does not work
Oliver Hader [Thu, 17 Mar 2011 17:58:19 +0000 (18:58 +0100)]
[BUGFIX] Removing child records in a workspace does not work

These parts are not working with IRRE in workspaces:
Removing children in TCEforms
Removing children in the list view
Reverting changes in the workspace module

Change-Id: I91313235e57c193e7103d065c02d2005ef74ab86
Resolves: #25352
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/1195
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[BUGFIX] Variable was wrongly initialized
Stefano Kowalke [Wed, 4 May 2011 18:48:18 +0000 (20:48 +0200)]
[BUGFIX] Variable was wrongly initialized

Variable $codeLines should be initialized prior to being used
in a concatenation within the loop.

Change-Id: Ife0b44b937a33040f46402492a5ede6e99d39668
Resolves: #26622
Releases: 4.6
Reviewed-on: http://review.typo3.org/1927
Reviewed-by: Markus Klein
Reviewed-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[TASK] Raised submodule pointers of external projects
Oliver Hader [Tue, 10 May 2011 11:18:31 +0000 (13:18 +0200)]
[TASK] Raised submodule pointers of external projects

Affected projects: version, workspaces

Change-Id: Ic0229c0a25e450d4aae96843965bd7629780cce8
Reviewed-on: http://review.typo3.org/1981
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[TASK] Use external Core Projects workspaces and version as Git submodules
Oliver Hader [Fri, 6 May 2011 17:06:14 +0000 (19:06 +0200)]
[TASK] Use external Core Projects workspaces and version as Git submodules

Part 2/2

Change-Id: If78cf29e57c7ab560082826cbc395ad35fad0097
Resolves: #26581
Reviewed-on: http://review.typo3.org/1948
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
8 years ago[TASK] Use external Core Projects workspaces and version as Git submodules
Oliver Hader [Fri, 6 May 2011 17:00:27 +0000 (19:00 +0200)]
[TASK] Use external Core Projects workspaces and version as Git submodules

Part 1/2

Change-Id: I13ba0ff933510e5ee83fc719fb87933555ac3e70
Resolves: #26581
Reviewed-on: http://review.typo3.org/1947
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Stefan Neufeind
8 years ago[BUGFIX] Cannot redeclare class backend_toolbaritem
Xavier Perseguers [Sun, 1 May 2011 13:55:30 +0000 (15:55 +0200)]
[BUGFIX] Cannot redeclare class backend_toolbaritem

Because of a PHP bug on some systems, login to TYPO3 backend
fails because the interface backend_toolbaritem is included
twice, once with a relative path and the other one with an
absolute one.

Change-Id: I91f993935155af6d50dd99498c9d19b684f99b69
Resolves: #26535
Reviewed-on: http://review.typo3.org/1820
Tested-by: Steffen Gebert
Reviewed-by: Steffen Gebert
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[TASK] Each PHP statement must be on a line by itself
Stefano Kowalke [Thu, 5 May 2011 06:52:33 +0000 (08:52 +0200)]
[TASK] Each PHP statement must be on a line by itself

There are several places where two or more statements are in one line
like "if (condition) do something;" or just to semicolons at the end of
a line "$foo = 42;;"

Change-Id: I9e587751676fee8db27226c751483c1070de935d
Resolves: #26626
Release: 4.6
Reviewed-on: http://review.typo3.org/1932
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] Also crop when maxCharacters < first word
Peter Beernink [Fri, 25 Mar 2011 11:20:27 +0000 (12:20 +0100)]
[BUGFIX] Also crop when maxCharacters < first word

When maxCharacters is equal or less then the length of the first word,
the whole string was returned when 'crop to word' is enabled instead of
the only the cropped part.

Change-Id: I0a7ec720b12a7999245b183f36daff5cdd7a8ace
Resolves: #25368
Reviewed-on: http://review.typo3.org/1274
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] Display correct lost records count in record statistics
Susanne Moog [Sun, 10 Apr 2011 08:32:16 +0000 (10:32 +0200)]
[BUGFIX] Display correct lost records count in record statistics

The module DB Check > Record statistics counts the deleted pages
instead of the lost pages and displays that number. As the links
for adopting orphaned records should correlate to the count of
lost records, we should display the correct number.

Change-Id: Ie793aa337b56503f6f37ffd9cc6fbb8d052c1540
Resolves: #25863
Releases: 4.6, 4.5, 4.4
Reviewed-on: http://review.typo3.org/1531
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Stefan Neufeind
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Tested-by: Stefan Neufeind
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[FEATURE] Add hook to override icon status overlay
Francois Suter [Tue, 5 Apr 2011 13:12:39 +0000 (15:12 +0200)]
[FEATURE] Add hook to override icon status overlay

Icons status overlays are defined in t3lib_iconWorks::
mapRecordOverlayToSpriteIconName(). However it is necessary
for "external" process (e.g. versioning) to override the
icon status. Currently a deleted record in a workspace will
not appear properly overlaid because only deleted = 1 is
checked and not also t3ver_state = 2. This hook makes it
possible for the version sysext to hook into the process and
set the right status.

Change-Id: I349012e402ab349ad810c57e46b0a7d5f8a46b03
Resolves: #25765
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/1459
Tested-by: Oliver Hader
Reviewed-by: Stefan Neufeind
Reviewed-by: Oliver Hader
8 years ago[TASK] Change "false" into "FALSE"
Stefano Kowalke [Sat, 30 Apr 2011 11:55:48 +0000 (13:55 +0200)]
[TASK] Change "false" into "FALSE"

Booleans should be written in uppercase.

Change-Id: I5c6e07ceb53deb128f82dc67948925f5cb99dd91
Resolves: #26347
Releases: 4.6
Reviewed-on: http://review.typo3.org/1792
Reviewed-by: Peter Beernink
Tested-by: Peter Beernink
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Abandon one time CSRF tokens
Helmut Hummel [Sun, 20 Mar 2011 18:15:57 +0000 (19:15 +0100)]
[BUGFIX] Abandon one time CSRF tokens

Abandon the extra security feature of having one time tokens and create tokens
which are valid during a whole login session. Additionally create only one random token,
store it in the session and create the real URL and form tokens by hashing the scope strings
with the secret session token.

To enable re-login, store the session token in the registry and retrieve it in case a
re-login happens.

Thanks to Marion Eher (Bluechip.at) for sponsoring
this fix with 75 beers during the bug auction at T3BOARD11.

Resolves: #25359
Change-Id: If37990fbc1ae3701777e8218cc1bc8760a4d6a55
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/1364
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel