Packages/TYPO3.CMS.git
7 years ago[BUGFIX][CONF] Changed default sorting of fe_users in BE
Mario Rimann [Wed, 20 Jul 2011 08:22:17 +0000 (10:22 +0200)]
[BUGFIX][CONF] Changed default sorting of fe_users in BE

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

The fix: reintroduce the old constructors and deprecate them.

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

Implement auto-activation of saltedpasswords and rsaauth extension.

Resolves: #28273
Releases: 4.6

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

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

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

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

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

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

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

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

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

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

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

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

stdWrap was supported at select.andWhere already.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Return an empty string to prevent disclosing information unhashed.

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

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

The fix: reintroduce the old constructor and deprecate it.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Remove methods and files scheduled for removal since TYPO3 4.5.

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

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

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

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

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

Resolves: #28099
Relates: #28026
Releases: 4.6

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

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

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

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

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

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

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

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

TypoScript:
file.params = ImageMagick Command line

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

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

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

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

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

Enable hashing the content through stdWrap using different hashing algorithms

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

By default the clear lang cache should not be enabled.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

All XLIFF code should better be located within t3lib.

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

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

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

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

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

Adding a simple "return" will solve this problem.

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

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

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

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

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

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

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

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

Change-Id: I275a1ba8abe9f56f940ba3441d8c7e10253cb0e5
Follows: #28037
Reviewed-on: http://review.typo3.org/3226
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Deprecate functions in page module
Georg [Thu, 7 Jul 2011 12:18:00 +0000 (14:18 +0200)]
[TASK] Deprecate functions in page module

The page module has a direct a support for extensions
like tt_calendar, tt_guest and others.

Those extensions can use other ways to show records
in page module and no need for it in core.

Change-Id: I037e7ce6e912e7fdf1416747eb9f54353266632b
Resolves: #27940
Reviewed-on: http://review.typo3.org/3104
Reviewed-by: Stefan Neufeind
Reviewed-by: Tolleiv Nietsch
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Add unit test for t3lib_autoloader
Andreas Wolf [Sat, 9 Jul 2011 14:10:22 +0000 (16:10 +0200)]
[TASK] Add unit test for t3lib_autoloader

Change-Id: Id8b4d1c50ab17bd0cd4278dd6e6e487937b1c66d
Resolves: #28037
Releases: 4.6
Reviewed-on: http://review.typo3.org/3196
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[TASK] Add security information to INSTALL.txt
Markus Bucher [Sat, 9 Jul 2011 10:06:53 +0000 (12:06 +0200)]
[TASK] Add security information to INSTALL.txt

Change-Id: I1bfe301a1b7bc5c39d0193ac6d306b447557ba6f
Resolves: #28022
Reviewed-on: http://review.typo3.org/3180
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[TASK] Decouple extMgm::extPath from TYPO3_LOADED_EXT
Christian Kuhn [Sat, 9 Jul 2011 13:22:53 +0000 (15:22 +0200)]
[TASK] Decouple extMgm::extPath from TYPO3_LOADED_EXT

To simplify the bootstrap it is required to make
t3lib_extMgm::extList() work more early. This is achieved
by removing the dependency to $GLOBALS['TYPO3_LOADED_EXT']

Change-Id: I73aa8c3a72979c85bf6f34cf027565199e380920
Resolves: #28034
Reviewed-on: http://review.typo3.org/3191
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[FEATURE] Add PHP code cache
Christian Kuhn [Sat, 9 Jul 2011 14:30:12 +0000 (16:30 +0200)]
[FEATURE] Add PHP code cache

Change-Id: If0f089a749123bce339df900d58c5f310969b1ea
Resolves: #28054
Reviewed-on: http://review.typo3.org/3216
Reviewed-by: Philipp Gampe
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
7 years ago[CLEANUP] Remove deprecated hook XLLfile
Steffen Gebert [Sat, 9 Jul 2011 19:50:27 +0000 (21:50 +0200)]
[CLEANUP] Remove deprecated hook XLLfile

Change-Id: Ic3cbd9ed35423081c713d3144d3cbbbed79e3d7f
Resolves: #28053
Relates: #21496
Reviewed-on: http://review.typo3.org/3214
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[TASK] Remove deprecated usages of intInRange, intval_positive and int_from_ver
Susanne Moog [Sat, 9 Jul 2011 10:05:34 +0000 (12:05 +0200)]
[TASK] Remove deprecated usages of intInRange, intval_positive and int_from_ver

This is part of the t3lib_div refactoring started at T3DD11.

With #28019 these methods have been moved to own utility
classes, now the Core should uses these.

Change-Id: Ib5b0d8f9a4322e5489b148e280993a3579fc21af
Resolves: #28026
Reviewed-on: http://review.typo3.org/3179
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
7 years ago[TASK] Move intInRange, intval_positive and int_from_ver
Susanne Moog [Sat, 9 Jul 2011 09:25:49 +0000 (11:25 +0200)]
[TASK] Move intInRange, intval_positive and int_from_ver

Adds Unit tests for intInRange, intval_positive
and int_from_ver and move them to suitable locations.

Change-Id: Iddcf80ce2e65f686a8e9057a962a4ed2f842d017
Resolves: #28019
Reviewed-on: http://review.typo3.org/3173
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
7 years ago[FEATURE] New caching framework implementation for l10n
Dominique Feyer [Sun, 26 Jun 2011 22:39:15 +0000 (00:39 +0200)]
[FEATURE] New caching framework implementation for l10n

Add custom caching table for parsed l10n file.

Change-Id: Ia59a77757112bccbf7a53ebeec71928f06ebe02a
Resolves: #25397
Reviewed-on: http://review.typo3.org/2930
Reviewed-by: Stefan Neufeind
Reviewed-by: Björn Pedersen
Tested-by: Björn Pedersen
Reviewed-by: Peter Beernink
Tested-by: Peter Beernink
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[BUG] t3lib_div::devLog - PHPDoc Comment does not match method signature
Sebastian Michaelsen [Sat, 9 Jul 2011 18:14:22 +0000 (20:14 +0200)]
[BUG] t3lib_div::devLog - PHPDoc Comment does not match method signature

Change-Id: Iba6222bdd79d62057ba0338ac0a88614583c1690
Resolves: #28050
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3206
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
7 years ago[TASK] Extension Cache Behaviour is messy
Benjamin Mack [Sat, 9 Jul 2011 14:30:52 +0000 (16:30 +0200)]
[TASK] Extension Cache Behaviour is messy

The cache files in typo3conf/temp_CACHED_* were by default set to a hash that
was based on the extensionlist, but this is quite unnecessary, so the extCache
option was removed to be only used once in the typo3conf/ directory in order
to prevent hundreds of temp_CACHED_* files that don't get cleaned up
automatically. From now on the option $TYPO3_CONF_VARS['EXT']['extCache'] can
only be set to 0 or 1.

Change-Id: Ic6081deeb306d8a7ef8b5f3d358c1d63ddb74ae8
Resolves: #28040
Reviewed-on: http://review.typo3.org/3197
Reviewed-by: Georg Ringer
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[BUGFIX] Skip t3lib_divTest::fixPermissionsSetsGroup on MacOS
Oliver Klee [Sat, 9 Jul 2011 09:02:21 +0000 (11:02 +0200)]
[BUGFIX] Skip t3lib_divTest::fixPermissionsSetsGroup on MacOS

This test makes use of posix_getegid which on Mac OS always returns -1,
thus making it useless for getting the effective group ID.

Change-Id: Ic16e52c462429401342f5a5f9705353b48dac1e9
Resolves: #28017
Releases: 4.6, 4.5, 4.4, 4.3
Reviewed-on: http://review.typo3.org/3172
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Localization: Editing in TCEforms shows unstyled original value
Benjamin Mack [Sat, 9 Jul 2011 08:22:50 +0000 (10:22 +0200)]
[BUGFIX] Localization: Editing in TCEforms shows unstyled original value

When editing a translated record in the TCEforms backend, the original
language label is shown below, in a green box. The green box is
definitively from the old skin (3.x) and should be changed.

Change-Id: I1974fa39353ee82f11ef31a1ae8f49a6b5cd1c02
Resolves: #28012
Releases: 4.6, 4.5, 4.4
Reviewed-on: http://review.typo3.org/3169
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Stefan Neufeind
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
7 years ago[BUGFIX] Add removed deprecation message again
Christian Kuhn [Sat, 9 Jul 2011 13:31:04 +0000 (15:31 +0200)]
[BUGFIX] Add removed deprecation message again

Change-Id: I4e099e31e5f8a5b6541fe98bbbedc4e237cf3fc4
Follows: #27985
Reviewed-on: http://review.typo3.org/3192
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[CLEANUP] make TCEmain::getInlineFieldType() more understandable
Andreas Wolf [Sat, 9 Jul 2011 11:24:36 +0000 (13:24 +0200)]
[CLEANUP] make TCEmain::getInlineFieldType() more understandable

With 933254e2e69df05b41ae1f3b026a8f4c6f8fc09d, the method was made more
complicated without an obvious need for that. This patch reverts these
change, plus moving the guard clause to the beginning with an early
return in it, thus making the structure even more obvious.

This change has been integrated into the original patch for 4.5.

Change-Id: I9e7d987158adad089880c2185467555659b1827c
Releases: 4.6
Reviewed-on: http://review.typo3.org/3186
Reviewed-by: Steffen Ritter
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
7 years ago[TASK] Space and tab cleanup for the BE log module
Dominique Feyer [Sat, 9 Jul 2011 10:08:51 +0000 (12:08 +0200)]
[TASK] Space and tab cleanup for the BE log module

Just a cleanup mainly CGL, comment identation, space and tab related

Change-Id: I7ee89ae7be1b3911bae1b90ca9634d2e75bf3466
Reviewed-on: http://review.typo3.org/3182
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
7 years ago[FEATURE] Improve Backend Logging module
Dominique Feyer [Sat, 9 Jul 2011 07:53:10 +0000 (09:53 +0200)]
[FEATURE] Improve Backend Logging module

- Remove the error sign after the error icons

Resolves: #28014
Change-Id: Ibdcfd7e951ec59fed69e42726422169bf05e3684
Reviewed-on: http://review.typo3.org/3168
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
7 years ago[TASK][Install] Move sql handling to own class
Christian Kuhn [Fri, 8 Jul 2011 17:03:20 +0000 (19:03 +0200)]
[TASK][Install] Move sql handling to own class

Decouple sql parsing, compare and update code from
t3lib_install to own t3lib_install_Sql class.

Change-Id: I60b8342f8c0041dddb64da7f48b0aec544dfbe32
Resolves: #27998
Reviewed-on: http://review.typo3.org/3156
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[FEATURE] pagetree dataprovider should enable node postprocessing
Tolleiv Nietsch [Tue, 5 Jul 2011 06:57:21 +0000 (08:57 +0200)]
[FEATURE] pagetree dataprovider should enable node postprocessing

In order to change pagetree node properties the dataprovider should enable
postprocessing of the node-collections. Used e.g. to highlight nodes
when tt_content elements have changed on a page.

Change-Id: I128ece4f659212978b06b65d5486c1124c4bf81e
Resolves: #25255
Reviewed-on: http://review.typo3.org/1037
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[TASK] Unit tests for extMgm::extPath()
Christian Kuhn [Sat, 9 Jul 2011 07:58:51 +0000 (09:58 +0200)]
[TASK] Unit tests for extMgm::extPath()

Change-Id: I42ecefc082f98d899dfa712e9addea9ba2bade17
Resolves: #28011
Reviewed-on: http://review.typo3.org/3167
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] htmlArea RTE: TV CE editing not possible
stan [Sat, 9 Jul 2011 02:42:13 +0000 (22:42 -0400)]
[BUGFIX] htmlArea RTE: TV CE editing not possible

TV CE editing not possible as class.tx_staticinfotables_div.php is required by htmlArea RTE but apparently does not exist, despite the fact that extension Static Info Tables is loaded. No idea how to reproduce such an error.

Change-Id: I6a86c9c22c04488ad7fec3c2cc6b7b90e4f43fac
Fixes: #27819
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/3164
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[BUGFIX] BE User module allows switching to CLI users
Andreas Wolf [Fri, 8 Jul 2011 22:34:15 +0000 (00:34 +0200)]
[BUGFIX] BE User module allows switching to CLI users

The backend user module shows two icons to switch to a given user (with
and without possibility to go back). This is also enabled for CLI users,
which can effectively render the session unusable.

This patch removes the icons if the username starts with _cli_.

Change-Id: Ic99e0ef0bacc6092f0073b5be28b4755e652bbc2
Resolves: #28008
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/3162
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
7 years ago[BUGFIX] Remove editing restriction for elements in workspace-stages
Tolleiv Nietsch [Wed, 22 Jun 2011 12:38:29 +0000 (14:38 +0200)]
[BUGFIX] Remove editing restriction for elements in workspace-stages

Fix bug where a (workspace) element which left the "editing" state can't be edited anymore if the editor doesn't have appropriate permission
for the current stage of the element. Now everyone can edit if they
are member within the workspace.

Change-Id: I172fe8e3f04fbc06ce1d33481032eaeae9532b6b
Resolves: #27643
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/2873
Reviewed-by: Michael Klapper
Tested-by: Michael Klapper
Reviewed-by: Stefan Neufeind
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
7 years ago[BUGFIX] Unit tests for dbbackend throw db errors
Philipp Gampe [Fri, 8 Jul 2011 17:18:10 +0000 (19:18 +0200)]
[BUGFIX] Unit tests for dbbackend throw db errors

When running the unit test for t3lib_cache_backend_dbbackend
eight sql errors are thrown. This could happen if TYPO3_DB is
mocked.

Change-Id: Ie7c55321f2d7825e7af269515ea2b655b581e031
Resolves: #28000
Reviewed-on: http://review.typo3.org/3158
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Localization of child records fails when using MM type relations
Oliver Hader [Tue, 14 Jun 2011 15:35:45 +0000 (17:35 +0200)]
[BUGFIX] Localization of child records fails when using MM type relations

Regular MM references are not localized, however if Inline Relational
Record Editing (IRRE) is used here, it would be the expected behaviour.

Unit tests are available in the irre_tutorial:
http://forge.typo3.org/projects/show/extension-irre_tutorial

Change-Id: I4c1b7254ff48b592e96c0ac584ab3a79d2b7bfce
Resolves: #25131
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/1244
Reviewed-by: Stefan Neufeind
Tested-by: Philipp Gampe
Reviewed-by: Xavier Perseguers
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
7 years ago[BUGFIX] htmlArea RTE: Remove reference to deleted object
stan [Fri, 8 Jul 2011 16:22:51 +0000 (12:22 -0400)]
[BUGFIX] htmlArea RTE: Remove reference to deleted object

HTMLArea.Plugin refers to deleted HTMLArea.Dialog.

Change-Id: Ic16f1a5e953d84bf083972e3a3d60767bf8f10e4
Fixes: #27997
Related: #25009
Releases: 4.6
Reviewed-on: http://review.typo3.org/3155
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[BUGFIX] htmlArea RTE: Text indicator refers to deleted color conversion function...
stan [Fri, 8 Jul 2011 15:34:32 +0000 (11:34 -0400)]
[BUGFIX] htmlArea RTE: Text indicator refers to deleted color conversion function aliases

The function aliases were deleted as part of TYPO3 4.6 cleanup.

Change-Id: I5f386cbd1c7e32e46440b4621fc9279ba1aa7cf8
Resolves: #27994
Related: #25093
Releases: 4.6
Reviewed-on: http://review.typo3.org/3154
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[BUGFIX] Hide versioning icon in list when workspaces is installed
Tolleiv Nietsch [Thu, 7 Jul 2011 05:34:13 +0000 (07:34 +0200)]
[BUGFIX] Hide versioning icon in list when workspaces is installed

Following #25962 the versioning icon in the
list module should be hidden whenever "workspaces" is installed.

Change-Id: Iaeb41a36131568716eeb8a23f54b0b5bf1b7a1df
Resolves: #27969
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3118
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Philipp Gampe
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 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
7 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
7 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
7 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
7 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
7 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
7 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
7 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
7 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
7 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