Packages/TYPO3.CMS.git
8 years ago[TASK] TTFdpi should default to 96
Xavier Perseguers [Fri, 8 Jul 2011 08:59:24 +0000 (10:59 +0200)]
[TASK] TTFdpi should default to 96

Use 96 dpi instead of 72 as default value for
$TYPO3_CONF_VARS['GFX']['TTFdpi']

Change-Id: Ib668537cbd9f0acf25011b453ad60121f1a5376c
Resolves: #27978
Reviewed-on: http://review.typo3.org/3121
Reviewed-by: Dominique Feyer
Tested-by: Dominique Feyer
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] getLLL needs to fallback to default language
Dominique Feyer [Fri, 8 Jul 2011 10:36:35 +0000 (12:36 +0200)]
[BUGFIX] getLLL needs to fallback to default language

Change-Id: I592cbcbbfa60d08ddd7ebf928136a8b9c4fbe1da
Resolves: #27673
Reviewed-on: http://review.typo3.org/3127
Reviewed-by: Georg Ringer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] TCA Tree should respect requestUpdate and type
Marco Huber [Thu, 24 Mar 2011 08:50:04 +0000 (09:50 +0100)]
[BUGFIX] TCA Tree should respect requestUpdate and type

TCA Tree should respect $TCA['myTable']['ctrl']['requestUpdate']
and $TCA['myTable']['type'], but the onChange Javascript is missing.

Change-Id: I46b9513413cbb61660609bbf73eb3551c5ce7a24
Resolves: #25382
Reviewed-on: http://review.typo3.org/1251
Reviewed-by: Stefan Neufeind
Reviewed-by: Fabien Udriot
Reviewed-by: Steffen Ritter
Tested-by: Thorsten Kahler
Tested-by: Steffen Ritter
8 years ago[TASK] Cleanup draft workspace usages
Tolleiv Nietsch [Wed, 6 Jul 2011 21:53:08 +0000 (23:53 +0200)]
[TASK] Cleanup draft workspace usages

The draft workspace is deprecated since 4.4, this patch
makes sure nobody is able to continue using it and
cleans up the related codes.

Change-Id: I9f3a51a822e3af5a80a6fede24ed5f94bd7fbee4
Resolves: #27947
Releases: 4.6
Reviewed-on: http://review.typo3.org/3105
Reviewed-by: Benjamin Mack
Reviewed-by: Oliver Klee
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[TASK] Remove function index
Christian Kuhn [Fri, 8 Jul 2011 11:29:03 +0000 (13:29 +0200)]
[TASK] Remove function index

The function index in the head of core classes is not maintained
and not useful in the time of powerful IDE's anymore.

Change-Id: If4e327b4e78f3b6fb74a3011d8c2eb5090abe690
Resolves: #27985
Reviewed-on: http://review.typo3.org/3128
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] LLXML Parser does not support localized label in the main LLXML
Dominique Feyer [Thu, 7 Jul 2011 22:21:46 +0000 (00:21 +0200)]
[BUGFIX] LLXML Parser does not support localized label in the main LLXML

Many extension use the main LLXML file to provide default language and
others languages (fr, de, ...). The parser must support that.

This patch add this support. The priority is always given to the
language pack found in typo3conf/l10n. If a language pack is found
the localized label in the main LLXML file are not parsed.

Change-Id: I27e2ba03679ed4cf00c23c6140d243cf6aba2256
Resolves: #27972
Reviewed-on: http://review.typo3.org/3119
Reviewed-by: Björn Pedersen
Tested-by: Björn Pedersen
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] Wrong usage of Ext.encodeURL in TBE_EDITOR.rawurlencode
Marco Huber [Thu, 2 Jun 2011 19:22:23 +0000 (21:22 +0200)]
[BUGFIX] Wrong usage of Ext.encodeURL in TBE_EDITOR.rawurlencode

If we want to use Ext.encodeURL() here, we have to change many other
things, too. Better use encodeURIComponent() here.
Ext.encodeURL() was introduced with #25350.

Change-Id: I1f5df4abe014e61ac463d5c12b9c240a6f2b7ccc
Resolves: #27028
Reviewed-on: http://review.typo3.org/2509
Reviewed-by: Stefan Neufeind
Reviewed-by: Stefan Aebischer
Tested-by: Stefan Aebischer
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[TASK] lang: hscAndCharConv is not needed anymore.
Benjamin Mack [Thu, 7 Jul 2011 20:40:23 +0000 (22:40 +0200)]
[TASK] lang: hscAndCharConv is not needed anymore.

The functionality is not needed anymore, and is
now only a wrapper for htmlspecialchars().

Change-Id: I71d4fc210105d128de315d5777abbc555067deaf
Resolves: #27965
Reviewed-on: http://review.typo3.org/3115
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[TASK] Adhere to CGL: t3lib_div::getUrl() instead of t3lib_div::getURL()
Ernesto Baschny [Thu, 7 Jul 2011 18:55:11 +0000 (20:55 +0200)]
[TASK] Adhere to CGL: t3lib_div::getUrl() instead of t3lib_div::getURL()

Change-Id: If9ad418a4a70985cd661d1dd9c6f07498e833d95
Resolves: #24551
Releases: 4.6
Reviewed-on: http://review.typo3.org/3111
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] Date of 1970-01-01 is shown in unset date fields
Benjamin Mack [Thu, 7 Jul 2011 09:34:43 +0000 (11:34 +0200)]
[BUGFIX] Date of 1970-01-01 is shown in unset date fields

The backend shows 1970-01-01 since TYPO3 4.3, even though this
value is empty. I know that there is a problem with mySQL that
cannot differentiate between "0" and NULL, and that this is a
more difficult problem. In any case, even though showing
1970-01-01 is "valid", this is just a bad thing in terms of
usability and user-friendly-ness.

Change-Id: I780cd5e500378c06ddc680db6015a124b66820ca
Resolves: #27936
Releases: 4.6, 4.5, 4.4, 4.3
Reviewed-on: http://review.typo3.org/3098
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] Exclude E_DEPRECATED from exceptionalErrors
Helmut Hummel [Thu, 7 Jul 2011 08:26:40 +0000 (10:26 +0200)]
[BUGFIX] Exclude E_DEPRECATED from exceptionalErrors

To avoid exceptions in case an extension uses PHP functions
that have been deprecated in PHP 5.3, E_DEPRECATED messages have to
also be excluded from $TYPO3_CONF_VARS['SYS']['exceptionalErrors']

Change-Id: I3b5b4c8ec1738f9a3a9be146bb7e3a8a005087f3
Resolves: #27935
Reviewed-on: http://review.typo3.org/3088
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[TASK] Remove tslib/publish.php
Christian Kuhn [Wed, 6 Jul 2011 19:12:41 +0000 (21:12 +0200)]
[TASK] Remove tslib/publish.php

The patch removes the script itself, together with the 'publish'
section in the admin panel since these features have been unmaintained
for the last few TYPO3 versions. Besides that it relies on the system
extension simulatestatic and is not compatible with e.g. RealURL.

Change-Id: I46b11e79431d60eb594a60f46abaa28ec200b014
Resolves: #27927
Reviewed-on: http://review.typo3.org/3069
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[TASK] Remove global declarations inside methods
Stefan Neufeind [Tue, 14 Jun 2011 07:15:55 +0000 (09:15 +0200)]
[TASK] Remove global declarations inside methods

Global declaration such as global $TCA or global $BE_USER should
be changed to $GLOBALS['TCA'], $GLOBALS['BE_USER'], ...

(And applied minor CGL-fixes which appeared on the way.)

Change-Id: Ic75c591bcf8433ca520d6860b8615d106d63db82
Relates: #25334
Reviewed-on: http://review.typo3.org/2730
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] Installer: Filesize column of "Edit files" too small.
Markus Klein [Thu, 7 Jul 2011 14:43:06 +0000 (16:43 +0200)]
[BUGFIX] Installer: Filesize column of "Edit files" too small.

Filesize column size of "Edit files" listing is too small.

Change-Id: Ie8f5a06223e3781597e199e0de4ab724d4a4834c
Resolves: #27949
Releases: 4.6
Reviewed-on: http://review.typo3.org/3107
Reviewed-by: Qitec
Tested-by: Qitec
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[TASK] Change usage of t3lib_DB->sql_pconnect to t3lib_DB->connectDB
Thomas Maroschik [Wed, 6 Jul 2011 16:35:44 +0000 (18:35 +0200)]
[TASK] Change usage of t3lib_DB->sql_pconnect to t3lib_DB->connectDB

Currently many entry points that connect to the database use sql_pconnect
for that. This method is a low level sql method that skips hook initialization.
Also duplicate code was spread all over the entry points and are rewritten
to use the exceptions from t3lib_DB->connectDB.

Change-Id: I5b3cdecfed018be43236d1d54feac47a29333213
Resolves: #27954
Reviewed-on: http://review.typo3.org/3059
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Björn Pedersen
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[TASK] Rename reference to php locallang files
Georg [Wed, 6 Jul 2011 15:32:36 +0000 (17:32 +0200)]
[TASK] Rename reference to php locallang files

Even when the locallang file is a xml file
already, there are still the references to php
files.

Change-Id: Idf89a90c3f0dc865fc829c8e9f374776e9286214
Resolves: #27918
Reviewed-on: http://review.typo3.org/3052
Reviewed-by: Stefan Neufeind
Tested-by: Björn Pedersen
Reviewed-by: Björn Pedersen
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[TASK] Frontend: BE User Initialization should be encapsulated
Benjamin Mack [Wed, 6 Jul 2011 15:06:37 +0000 (17:06 +0200)]
[TASK] Frontend: BE User Initialization should be encapsulated

The handling of the Backend User initialization should be encapsulated
into TSFE.
This way, it's easier to extend it - and to exchange this code.

Change-Id: If28fcb7123ed0fc3bd34682e4a686eecb5178d3b
Resolves: #27917
Releases: 4.6
Reviewed-on: http://review.typo3.org/3051
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[TASK] Raise submodule pointer
Oliver Hader [Thu, 7 Jul 2011 12:20:09 +0000 (14:20 +0200)]
[TASK] Raise submodule pointer

Change-Id: I69e4c8aec330493a48c5ea70ffe33911dc273cab
Reviewed-on: http://review.typo3.org/3103
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[TASK] Add information for DBAL users
Xavier Perseguers [Thu, 7 Jul 2011 07:50:26 +0000 (09:50 +0200)]
[TASK] Add information for DBAL users

When using DBAL, hook INSERTmultipleRows_preProcessAction() will
not be called. Add relevant information to ease proper fallback
implementation.

Change-Id: Iee30a78a0a65889be9291fc7dba0f8535912f7d7
Reviewed-on: http://review.typo3.org/3081
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] Make the t3lib_DB interfaces usable
Thomas Maroschik [Wed, 6 Jul 2011 15:04:35 +0000 (17:04 +0200)]
[BUGFIX] Make the t3lib_DB interfaces usable

The pre- and postprocess interfaces introduced into t3lib_db were not
usable at moment due to the fact that the given parameters couldn't be
modified.

This change changes the signature of the interfaces and introduces
passing the arguments by reference.

Change-Id: Id4923f89a013e9479eb39348b2a3bdf9fcc0c30c
Resolves: #13579
Reviewed-on: http://review.typo3.org/3037
Reviewed-by: Philipp Gampe
Reviewed-by: Björn Pedersen
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[FEATURE][htmlArea RTE] Better Remove Format for MS Word
stan [Thu, 7 Jul 2011 05:52:43 +0000 (01:52 -0400)]
[FEATURE][htmlArea RTE] Better Remove Format for MS Word

Remove some additional MS-specific elements.

Change-Id: I80d3589f47653e2a83f1e0173a5bd43421fca349
Resolves: #25895
Releases: 4.6
Reviewed-on: http://review.typo3.org/3071
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[BUGFIX][htmlArea RTE] Localization is broken
stan [Thu, 7 Jul 2011 05:28:19 +0000 (01:28 -0400)]
[BUGFIX][htmlArea RTE] Localization is broken

As a result of Feature #25397: Adding XLIFF support as the default format for translation

Change-Id: Id9ad26a43ca46418a78692fbb11db351243a6851
Resolves: #27928
Releases: 4.6
Reviewed-on: http://review.typo3.org/3070
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[BUGFIX] Cache table layout - Intermediate fix
Christian Kuhn [Wed, 6 Jul 2011 16:27:45 +0000 (18:27 +0200)]
[BUGFIX] Cache table layout - Intermediate fix

Intermediate patch to fix current broken backend login
if upgrading to latest 4.6

Change-Id: Id78b98ee413e425e8c9908ffbbb3bf72446a341f
Resolves: #27921
Reviewed-on: http://review.typo3.org/3057
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
8 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Wed, 6 Jul 2011 15:13:14 +0000 (17:13 +0200)]
[TASK] Raise submodule pointer

Change-Id: I8def28e353e671cbc71f7d456465eb1171bf5b97
Reviewed-on: http://review.typo3.org/3047
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years ago[API][CONF][!!!] Make the name of cookies configurable
Christian Jul Jensen [Wed, 25 May 2011 14:11:00 +0000 (16:11 +0200)]
[API][CONF][!!!] Make the name of cookies configurable

To avoid different scenarios with clashing cookies on same-domain
sites, make the name of cookies used for BE and FE login
configurable.
To achieve this:
* add configuration options
* add setting of name in relevant classes with proper fallback
* change all uses of the names to API calls
* change time tracking start algorithm to detect BE user login

Change-Id: I8078bd284cdf5d1413ddce8bc004e25f855ba6c5
Resolves: #23872
Reviewed-on: http://review.typo3.org/2373
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Jul Jensen
Tested-by: Christian Jul Jensen
8 years ago[FEATURE] Add Parser for PHP locallang array
Xavier Perseguers [Fri, 24 Jun 2011 07:01:41 +0000 (09:01 +0200)]
[FEATURE] Add Parser for PHP locallang array

Implement the parser to support LLPHP file as localization file format.

Change-Id: I4e4d66e73d92eae57663b8e905db33a17da5cb2a
Resolves: #27673
Reviewed-on: http://review.typo3.org/2903
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
8 years ago[BUGFIX] Backend doctype 'xhtml_trans' is broken
Steffen Gebert [Wed, 29 Jun 2011 17:40:32 +0000 (19:40 +0200)]
[BUGFIX] Backend doctype 'xhtml_trans' is broken

Since introducing HTML5 as default backend doctype (#23639), two
mistakes make it impossible to use 'xhtml_trans' as doctype for the
Backend output.

Change-Id: Icf66e03903ab07b56fec7fb12a7401b1818f4c1d
Resolves: #27774
Resolves: #27745
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/2990
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Oliver Klee
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
8 years ago[BUGFIX] Translation handling module broken
Steffen Gebert [Mon, 4 Jul 2011 15:25:09 +0000 (17:25 +0200)]
[BUGFIX] Translation handling module broken

Since introduction of XLIFF translations, the Translation Module of the
Extension Manager is broken.

Change-Id: I5d87a52af33b589462c429522b17361494a9bcde
Resolves: #27832
Reviewed-on: http://review.typo3.org/3036
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] Re-Introduce removed API method and mark it deprecated
Helmut Hummel [Sat, 2 Jul 2011 12:54:44 +0000 (14:54 +0200)]
[BUGFIX] Re-Introduce removed API method and mark it deprecated

After the refactoring of the form protection framework the API method persitTokens()
has been removed.

To not break existing extensions, re-introduce this method and
mark it as deprecated.

Change-Id: I2ef23724a3be8d3266d884506b066c587e332d9b
Fixes: #27809
Related: #25359
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3016
Reviewed-by: Oliver Klee
Reviewed-by: Stefan Neufeind
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
8 years ago[FEATURE] Show the faulty URL when an extension cannot be fetched
Xavier Perseguers [Wed, 29 Jun 2011 07:01:43 +0000 (09:01 +0200)]
[FEATURE] Show the faulty URL when an extension cannot be fetched

When EM fails to fetch an extension, it returns an error message
without showing the faulty URL which makes it difficult to adapt
firewall configuration if needed.

Change-Id: I9cf5a49f2e2bcf4ca4b367903e86cd0aa1e0b22d
Resolves: #27753
Reviewed-on: http://review.typo3.org/2975
Reviewed-by: Andy Grunwald
Reviewed-by: Mario Rimann
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] Mirror selection is not respected
Xavier Perseguers [Wed, 29 Jun 2011 07:42:03 +0000 (09:42 +0200)]
[BUGFIX] Mirror selection is not respected

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

Change-Id: I6beffd665e28f5e5061bcc55be1632641fd29224
Resolves: #27755
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/2976
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[TASK] Remove override of authentication fields
Xavier Perseguers [Sun, 15 May 2011 14:12:41 +0000 (16:12 +0200)]
[TASK] Remove override of authentication fields

Many class fields in tslib_feUserAuth override the ones from
parent class t3lib_userAuth. This makes refactoring complicated.
Change default value inside a constructor instead.

Change-Id: I61d2ba24e9ea9917acbd1ec6e56252f13be9ffdf
Resolves: #26826
Reviewed-on: http://review.typo3.org/2114
Reviewed-by: Oliver Klee
Reviewed-by: Dmitry Dulepov
Reviewed-by: Georg Ringer
Reviewed-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] Caching framework: Improve configuration handling
Christian Kuhn [Fri, 24 Jun 2011 19:54:14 +0000 (21:54 +0200)]
[BUGFIX] Caching framework: Improve configuration handling

The cache manager takes care of correct cache configurations
given to the cache factory. The patch improves the handling of
default configuration for lazy cache setups.

Registration of new cache frontends or backends in TYPO3_CONF_VARS
is removed, new cache frontends or backends of extensions can be
defined by registering them to the autoloader only.

Change-Id: I62fd755b16d84dae2d13f0aab0062c95df2232c7
Resolves: #27689
Reviewed-on: http://review.typo3.org/2921
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] Fix warnings in db backend unit tests
Christian Kuhn [Fri, 24 Jun 2011 22:03:18 +0000 (00:03 +0200)]
[BUGFIX] Fix warnings in db backend unit tests

Change-Id: I2e83a0ec6c81c07b0b051d7074ee2ac928a6beb5
Resolves: #27693
Reviewed-on: http://review.typo3.org/2922
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] Fix warning in file backend unit tests
Steffen Gebert [Fri, 24 Jun 2011 22:05:01 +0000 (00:05 +0200)]
[BUGFIX] Fix warning in file backend unit tests

Change-Id: Ib38f602723826340a5c3afd0a9f79cc9aa1dae66
Resolves: #27692
Reviewed-on: http://review.typo3.org/2923
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[FEATURE] Add random functionality to listNum
Mario Rimann [Mon, 6 Jun 2011 11:20:48 +0000 (13:20 +0200)]
[FEATURE] Add random functionality to listNum

Add the ability to get a random item by setting listNum to "rand".

Change-Id: I55efef8ed714eaa1545f9f179e18260661407de7
Resolves: #16180
Reviewed-on: http://review.typo3.org/2538
Reviewed-by: Georg Ringer
Reviewed-by: Mario Rimann
Reviewed-by: Stefan Neufeind
Tested-by: Georg Ringer
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] Use runtime cache in TCEmain
Christian Kuhn [Fri, 24 Jun 2011 15:34:07 +0000 (17:34 +0200)]
[BUGFIX] Use runtime cache in TCEmain

Change-Id: I675b1998d255ea4b9fda3e7725b9fd9d96a0f1d6
Resolves: #27685
Depends: #27208
Reviewed-on: http://review.typo3.org/2911
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX] Use runtime cache in tslib_fe::get_cache_timeout
Steffen Gebert [Sat, 4 Jun 2011 16:51:56 +0000 (18:51 +0200)]
[BUGFIX] Use runtime cache in tslib_fe::get_cache_timeout

Thanks to #20473, start and stop times of records are now taken into
account during a page's cache lifetime calculation.
To prevent repeated computations, the value is cached inside
tslib_fe::get_cache_timeout(), using a class variable
getCacheTimeoutCache.

The Runtime Cache (#27208) not only offers a cleaner way to do so, it
also provides a remedy against the currently existing problem that
get_cache_timeout() does its job exactly twice: Once during menu
generation (which seems to work with a cloned copy of TSFE) and once
before putting the page contents into the cache. As both class instances
share the runtime cache, the second calculation can be safed.

Change-Id: I0b241749639a678ba6c1addd8d57e2256cf52bc2
Resolves: #27227
Depends: #27208
Reviewed-on: http://review.typo3.org/2531
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[FEATURE] Add a runtime cache
Steffen Gebert [Fri, 24 Jun 2011 15:10:18 +0000 (17:10 +0200)]
[FEATURE] Add a runtime cache

Add a runtime cache (cache_runtime) based on the TransientMemoryBackend
to save and retrieve values, which are required several times during a
single request.

Change-Id: If47420cac6c6bec2f912e6aabcfacf3b93a2cb32
Resolves: #27208
Reviewed-on: http://review.typo3.org/2530
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX] Deprecate initCache* methods in t3lib_cache
Christian Kuhn [Fri, 24 Jun 2011 15:52:20 +0000 (17:52 +0200)]
[BUGFIX] Deprecate initCache* methods in t3lib_cache

They are obsolete since cacheManager->getCache() initializes caches
on its own if needed.

Change-Id: I1684db0405799031beffb29782361061c262a56f
Resolves: #27686
Reviewed-on: http://review.typo3.org/2912
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] Improve deprecation handling of useCachingFramework
Christian Kuhn [Fri, 24 Jun 2011 13:30:00 +0000 (15:30 +0200)]
[BUGFIX] Improve deprecation handling of useCachingFramework

Change-Id: I0578331909143ee646cace697852eb6082a3a19b
Resolves: #27681
Reviewed-on: http://review.typo3.org/2909
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[TASK] Scheduler: Code clean up
Francois Suter [Fri, 24 Jun 2011 16:14:44 +0000 (18:14 +0200)]
[TASK] Scheduler: Code clean up

Clean up code in the Scheduler system extension: phpDoc,
CGLs compliancy, spelling mistakes, type hinting.

Change-Id: I59cb7450fd31f714590b81df33e2986397be2545
Resolves: #27687
Releases: 4.6
Reviewed-on: http://review.typo3.org/2917
Reviewed-by: Francois Suter
Tested-by: Francois Suter
8 years ago[BUGFIX] Use t3lib_cache_frontend_VariableFrontend as fallback frontend
Xavier Perseguers [Fri, 24 Jun 2011 08:39:39 +0000 (10:39 +0200)]
[BUGFIX] Use t3lib_cache_frontend_VariableFrontend as fallback frontend

According to wiki documentation, integrators are told to define both
'frontend' and 'backend' in their caching configuration.

This hardly makes sense as the frontend input format is the responsibility
of the extension developer, not the integrator and should not be forced
to be defined. Instead, it should fallback to the VariableFrontend if not
explicitly set.

Without fallback, t3lib_div::makeInstance() is called with an empty
class name which throws an exception when instantiated using reflection.

Change-Id: Iaf59864d86483e2d0a08b92c54dad579e2f81347
Resolves: #27677
Reviewed-on: http://review.typo3.org/2905
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Susanne Moog
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[FEATURE] Enable caching framework by default
Christian Kuhn [Thu, 23 Jun 2011 22:00:18 +0000 (00:00 +0200)]
[FEATURE] Enable caching framework by default

The caching framework matured and is ready for default use. The patch
defines TYPO3_UseCachingFramework to true, removes old core cache tables
and cleans up current cache usage in the core.

Change-Id: Ib49d8e43f535e9984e8a22ee3a8454392980035b
Resolves: #25106
Reviewed-on: http://review.typo3.org/2902
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[FEATURE] Add task to delete files in recycler folders
Kai Vogel [Mon, 13 Jun 2011 16:31:53 +0000 (18:31 +0200)]
[FEATURE] Add task to delete files in recycler folders

Adds a scheduler task to cleanup old files in _recycler_
directories in fileadmin. Thanks to Guiamo Programming (Yomo Guiamo)
for sponsoring 125 beers during the bug auction on T3BOARD11.

Change-Id: I093550416d2d0f6897c55871c9e4ff3bc628e711
Resolves: #25342
Releases: 4.6
Reviewed-on: http://review.typo3.org/1385
Reviewed-by: Francois Suter
Tested-by: Francois Suter
8 years ago[BUGFIX] Caching framework: Reduce code duplication in db backend
Christian Kuhn [Thu, 23 Jun 2011 20:41:14 +0000 (22:41 +0200)]
[BUGFIX] Caching framework: Reduce code duplication in db backend

Change-Id: I791e7171adedf2737f38adecac52e428ed63da90
Resolves: #27671
Reviewed-on: http://review.typo3.org/2901
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Disabled empty number of days field in table garbage
Kai Vogel [Tue, 21 Jun 2011 21:57:49 +0000 (23:57 +0200)]
[BUGFIX] Disabled empty number of days field in table garbage
collection scheduler task

This patch reactivates the number of days field even if it is
empty if a default number is provided by the selected table.

Change-Id: I58afb4f9c9430802477fd93d8b387497e1dd698b
Resolves: #27632
Reviewed-on: http://review.typo3.org/2868
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Missing parentheses in code break two stdWraps
Markus Klein [Tue, 21 Jun 2011 14:24:51 +0000 (16:24 +0200)]
[BUGFIX] Missing parentheses in code break two stdWraps

Missing parentheses around isset() checks in string concatenation break
functionality.

Change-Id: I2349f8608ab7a1ffc23685c81a394fddce64d427
Resolves: #27409
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/2862
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Christopher
Tested-by: Christopher
Reviewed-by: Tolleiv Nietsch
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] Caching framework db backend: Remove wildcard tag dropping
Christian Kuhn [Sun, 19 Jun 2011 13:38:50 +0000 (15:38 +0200)]
[BUGFIX] Caching framework db backend: Remove wildcard tag dropping

Change-Id: I75fdee1cf996aa21d7c6b71502ade54fd9fa957f
Resolves: #27548
Depends: #27506
Depends: #27536
Depends: #25119
Reviewed-on: http://review.typo3.org/2812
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Stefan Neufeind
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Oliver Klee
Reviewed-by: Björn Pedersen
Tested-by: Björn Pedersen
8 years ago[FEATURE] Caching framework db backend: better db layout
Björn Pedersen [Sun, 19 Jun 2011 13:09:08 +0000 (15:09 +0200)]
[FEATURE] Caching framework db backend: better db layout

Introduce a better indexable database layout that allows
effective use of indices.

Change-Id: Ie97563e1612d64759bcbd2ee4db005a6d5a33812
Resolves: #25119
Depends: #27506
Depends: #27536
Reviewed-on: http://review.typo3.org/1083
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Stefan Neufeind
Reviewed-by: Björn Pedersen
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[TASK] Caching framework db backend: Use own namespace
Christian Kuhn [Sat, 18 Jun 2011 21:00:34 +0000 (23:00 +0200)]
[TASK] Caching framework db backend: Use own namespace

The layout of needed database tables for cache tables is
handled by the caching framework backend internally:
- Extensions using db backend must not define tables in ext_tables.sql anymore
- Updates to table layouts can be handled by the backend itself
- Defining data and tags table in cacheConfigurations is obsolete
- Cache tables start with 'cachingframework_' and are ignored in install tool
- Table handling is fully backwards compatible

Change-Id: Ic522c6ad99752b2f8161c2330e5a764d2f74e58d
Depends: #27506
Resolves: #27536
Related: #25119
Reviewed-on: http://review.typo3.org/2800
Reviewed-by: Stefan Neufeind
Reviewed-by: Björn Pedersen
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Tested-by: Björn Pedersen
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Installer - Wrong value for CGI
Markus Klein [Mon, 23 May 2011 22:59:11 +0000 (00:59 +0200)]
[BUGFIX] Installer - Wrong value for CGI

In "Basic Configuration"->"System Information" the wrong value for
"UNIX/CGI" is displayed, when using fcgid.
The reason is that class.tx_install.php uses an old condition
for determining this.

Thanks to Stephan Grossberndt for discovering this.

Change-Id: I644a50af9cf966d1b8923bb94a8a52a0aba0090d
Resolves: #26913
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/2323
Reviewed-by: Stephan Grossberndt
Tested-by: Stephan Grossberndt
Reviewed-by: Stefan Neufeind
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
8 years ago[FEATURE] Upgrade ExtJS to version 3.4.0
Steffen Gebert [Mon, 13 Jun 2011 14:34:08 +0000 (16:34 +0200)]
[FEATURE] Upgrade ExtJS to version 3.4.0

Change-Id: Ia24cbb72388ad35bdf37b2254c067cec4212630d
Resolves: #27407
Reviewed-on: http://review.typo3.org/2710
Tested-by: Stefan Neufeind
Tested-by: Susanne Moog
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] Caching Framework: Flush all caches in 'clear all caches'
Christian Kuhn [Thu, 16 Jun 2011 22:08:24 +0000 (00:08 +0200)]
[BUGFIX] Caching Framework: Flush all caches in 'clear all caches'

The caching framework Manager method flushCashes() flushs only
instantiated caches. The patch puts the new setCacheConfigurations()
method into use when intializing the caching framework to declare all
available caches to the cache manager. In effect,
typo3_cache_Manager->flushCaches() now calls flush() on all caches,
even if they were not instantiated yet.

Change-Id: I368faf156c5c4898ba62a777d1a5d21edfe4110f
Resolves: #27506
Reviewed-on: http://review.typo3.org/2776
Reviewed-by: Stefan Neufeind
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Tested-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Incompatible call to debug_backtrace() prior to PHP 5.3.5
Oliver Hader [Mon, 20 Jun 2011 11:08:57 +0000 (13:08 +0200)]
[BUGFIX] Incompatible call to debug_backtrace() prior to PHP 5.3.5

The additional parameter to debug_backtrace() was introduced
with PHP 5.3.6. To stay compatible with PHP 5.3.0, it shall be
removed again - besides that the behaviour stays the same.

Change-Id: Icab51963bae4e5f72c14404828cd3c9b9231796f
Resolves: #27348
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/2836
Reviewed-by: Markus Klein
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] FE-Error "NO entry in the $TCA-array..."
Nicole Cordes [Fri, 17 Jun 2011 09:33:56 +0000 (11:33 +0200)]
[BUGFIX] FE-Error "NO entry in the $TCA-array..."

Fix a possible race condition during a FE call if a BE user
'clears all cache' at the same time.

Change-Id: I4fe5e0256093df8190eb6f1a2754edf1e3aba405
Resolves: #22928
Releases: 4.6, 4.5, 4.4, 4.3
Reviewed-on: http://review.typo3.org/2834
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Oliver Klee
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
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