Packages/TYPO3.CMS.git
8 years ago[BUGFIX] sys_action: Fix Record List page switching
Thomas Maroschik [Sun, 21 Aug 2011 12:22:04 +0000 (14:22 +0200)]
[BUGFIX] sys_action: Fix Record List page switching

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Replace hardcoded icons with t3lib_iconWorks::skinImage calls

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Change-Id: I61e7dd1b1fbe970529810876bc7137986f9ae656
Resolves: #28973
Reviewed-on: http://review.typo3.org/4323
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Changing capitalization of BE module names
Mario Rimann [Tue, 16 Aug 2011 21:19:15 +0000 (23:19 +0200)]
[BUGFIX] Changing capitalization of BE module names

Changes the two-word backend module names to be uppercased (the
first character of both words). This changes the locallang files in setup,
lowlevel and taskcenter system extensions.

Change-Id: I38842f4945dafbf395e35f9a2c1d6a5a917dd403
Resolves: #22256
Reviewed-on: http://review.typo3.org/4384
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
8 years ago[BUGFIX] Enlarge on click for images does not open a popup
Patrick [Wed, 17 Aug 2011 11:31:20 +0000 (13:31 +0200)]
[BUGFIX] Enlarge on click for images does not open a popup

With issue #27983 some deprecated parts were removed but obviously too much. Although $GLOBALS['TSFE']->additionalJavascript is used throughout the core, after this issue it was never rendered anymore in the frontend.

The javascript function openPic was never added to the frontend because of this.

This patch reinstates the responsible lines which were removed for Enlarge on click

Change-Id: I8e182be8e894e49212a5a4249118b44c0e0bd954
Resolves: #29041
Releases: 4.6
Reviewed-on: http://review.typo3.org/4392
Tested-by: Soren Malling
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
8 years ago[BUGFIX] Optimize index of some database tables
Dmitry Dulepov [Sun, 14 Aug 2011 13:32:07 +0000 (15:32 +0200)]
[BUGFIX] Optimize index of some database tables

Some database indexes in TYPO3 tables are not optimal:
they include the sorting field in the wrong position.
MySQL will not use such index for sorting (sorting
field must always be in the end of index).

Change-Id: I9d900013ac5cabb7bdd7130ff2502674ee2c9b2a
Resolves: #21381
Reviewed-on: http://review.typo3.org/4317
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Mario Rimann
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] Use trimExplode() for pageOverlayFields
Georg Ringer [Tue, 16 Aug 2011 06:26:18 +0000 (08:26 +0200)]
[BUGFIX] Use trimExplode() for pageOverlayFields

Currently explode() is used for pageOverLayFields which requires a list
without any whitespaces. Using t3lib_div::trimExplode() improves
the usability for integrators and reduces possibilities of not working
configurations

Change-Id: I7c6c3412c1a1a250aac273169060dbd4aaf4e1ca
Resolves: #28916
Releases: 4.4, 4.5, 4.6
Reviewed-on: http://review.typo3.org/4359
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] Indent/outdent does not work if formatblock button is disabled
Stanislas Rolland [Sun, 14 Aug 2011 14:37:25 +0000 (10:37 -0400)]
[BUGFIX] Indent/outdent does not work if formatblock button is disabled

Problem: If the "formatblock" button is disabled, the current paragraph
gets a css class "indent" but a wrapping div is not created with that
css class.

Solution: When formatblock is not configured, allow all standard block
elements. When formatblock and indent are both configured, ensure div is
allowed.

Change-Id: I8f74e453f96968940f67652e075a976f0104f2c8
Resolves: #28903
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4322
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[BUGFIX] RTE: Table tag left over after cutting table in Firefox
Stanislas Rolland [Tue, 16 Aug 2011 19:26:46 +0000 (15:26 -0400)]
[BUGFIX] RTE: Table tag left over after cutting table in Firefox

Solution: In case of selecting a table in the status bar, select the
whole node.

Change-Id: Ie68210e49fcf9515cf9233b7495d0c440922debd
Resolves: #29023
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4380
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Tue, 16 Aug 2011 10:25:55 +0000 (12:25 +0200)]
[TASK] Raise submodule pointer

Change-Id: I9dd1cd6511e12c70b956e1156018678e6b7e0af0
Reviewed-on: http://review.typo3.org/4363
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Mon, 15 Aug 2011 13:02:01 +0000 (15:02 +0200)]
[TASK] Raise submodule pointer

Change-Id: Ifc538e9c6832f1b6f8a13c8f5e666b0b1885acac
Reviewed-on: http://review.typo3.org/4330
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years ago[BUGFIX] Failing unit test in tslib_adminPanelTest
Christian Kuhn [Sun, 14 Aug 2011 11:53:35 +0000 (13:53 +0200)]
[BUGFIX] Failing unit test in tslib_adminPanelTest

The change from issue #28639 did not refactor the
according unit test which is done now.

Change-Id: I6c7d8389901a7ca867b354a2081af7beb8c2ddc0
Resolves: #28970
Reviewed-on: http://review.typo3.org/4314
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Unit tests for tslib_content query arguments fail
Oliver Hader [Fri, 12 Aug 2011 10:30:19 +0000 (12:30 +0200)]
[BUGFIX] Unit tests for tslib_content query arguments fail

Since security fixes in July 2011 introduced a better encoding of URL
arguments, checks in the unit tests have to be modified as well.

Change-Id: Ifc235840b833723de2818f9b9ccdbec8aa111a9e
Resolves: #28946
Releases: 4.6, 4.5, 4.4
Reviewed-on: http://review.typo3.org/4284
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[BUGFIX] Old EM: t3lib_DB::exec_INSERTquery errors
Jigal van Hemert [Sat, 6 Aug 2011 09:01:04 +0000 (11:01 +0200)]
[BUGFIX] Old EM: t3lib_DB::exec_INSERTquery errors

storeXMLResult() fails to filter non-existing database fields and
tries to insert all fields which it parses from the XML. Solution
is to use a default record structure to only use existing column names.

Change-Id: I80ca3170c2840b44497398b2b9cf48c285dc2215
Fixes: #28637
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4169
Reviewed-by: Rens Admiraal
Reviewed-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] Recycler: fix wrong placed bracked on calls to t3lib_div::fixed_lgd_cs
Marc Bastian Heinrichs [Mon, 8 Aug 2011 22:38:09 +0000 (00:38 +0200)]
[BUGFIX] Recycler: fix wrong placed bracked on calls to t3lib_div::fixed_lgd_cs

Change-Id: Ibb9a6711ab910236a7308f59bc500e2f9045fdf7
Resolves: #28835
Releases: 4.4, 4.5, 4.6
Reviewed-on: http://review.typo3.org/4231
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
8 years ago[BUGFIX] RTE Spellchecker dialogue fails to open in IE
Stanislas Rolland [Mon, 8 Aug 2011 03:58:55 +0000 (23:58 -0400)]
[BUGFIX] RTE Spellchecker dialogue fails to open in IE

ExtJs raises js error in IE due to 'auto' window height.

Change-Id: Ia90b58bfeeb4bbb440037725ca296dd77eaf1169
Fixs: #28820
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4211
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[BUGFIX] RTE Spellchecker invokes deprecated function in TYPO3 4.6
Stanislas Rolland [Mon, 8 Aug 2011 03:34:54 +0000 (23:34 -0400)]
[BUGFIX] RTE Spellchecker invokes deprecated function in TYPO3 4.6

HTMLArea.Plugin.base() is deprecated in TYPO3 4.6

Change-Id: Ie75ceb3c25842d58074512d5dc77665dc60493eb
Fixes: #28819
Releases: 4.6
Reviewed-on: http://review.typo3.org/4209
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[BUGFIX] RTE Find & replace plugin refers to deprecated function in TYPO3 4.6
Stanislas Rolland [Mon, 8 Aug 2011 01:53:00 +0000 (21:53 -0400)]
[BUGFIX] RTE Find & replace plugin refers to deprecated function in TYPO3 4.6

this.base() is deprecated in 4.6.
Interim function also raises js error.

Change-Id: I75dbb7e1d9e91a5eb1d76b4fcd64151c115b381f
Fixes: #28818
Releases: 4.6
Reviewed-on: http://review.typo3.org/4208
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[TASK] Prefix of caching framework tables is hardcoded
Xavier Perseguers [Sat, 6 Aug 2011 16:15:01 +0000 (18:15 +0200)]
[TASK] Prefix of caching framework tables is hardcoded

Prefix "cachingframework_" for caching framework tables is hardcoded
at multiple places within Core.

This makes it hard to keep track of it and prevents DBAL from overriding
it when identifier length is an issue.

Change-Id: Idddcd32879b35a608b363bf8871b82407840dac2
Resolves: #28798
Reviewed-on: http://review.typo3.org/4185
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Stefan Neufeind
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[TASK] Optimizations for IPv6-functions in t3lib_div
Stefan Neufeind [Tue, 2 Aug 2011 11:08:08 +0000 (13:08 +0200)]
[TASK] Optimizations for IPv6-functions in t3lib_div

* speedup by using IPv6-support from PHP if present
* since there is IPv6Hex2Bin(), also add IPv6Bin2Hex()
* since there is normalizeIPv6(), also add compressIPv6()
* normalization also involves converting to lowercase
* extend unit-tests

Change-Id: I7c9eda4de0f2c06f06a530f1180233d592f9dfdc
Resolves: #28669
Releases: 4.6, 4.7
Reviewed-on: http://review.typo3.org/4019
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[BUGFIX] cmpIPv4: prevent E_NOTICE, cleanup compare, testcases
Stefan Neufeind [Mon, 6 Jun 2011 00:17:33 +0000 (02:17 +0200)]
[BUGFIX] cmpIPv4: prevent E_NOTICE, cleanup compare, testcases

Cleanup for an E_NOTICE on exploding the bitmask.
Replaced (correct working, but "unreadable") strcmp().
Add testcases.

Change-Id: I3836d3c53ab6093e3427047c4a5089778dd04ca2
Resolves: #27230
Releases: 4.3, 4.4, 4.5, 4.6
Reviewed-on: http://review.typo3.org/2536
Reviewed-by: Björn Pedersen
Tested-by: Björn Pedersen
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
8 years ago[BUGFIX] RTE Remove format: German fieldset legend does not wrap in IE
Stanislas Rolland [Sat, 6 Aug 2011 14:30:03 +0000 (10:30 -0400)]
[BUGFIX] RTE Remove format: German fieldset legend does not wrap in IE

Workaround IE bug by floating the legend to the left.

Change-Id: I6cdbca368ad3ccd76d65ede97040c807c7f0fb95
Resolves: #25484
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4174
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[BUGFIX] Colors not selectable in RTE table properties with IE 7/8
Stanislas Rolland [Sat, 6 Aug 2011 03:53:23 +0000 (23:53 -0400)]
[BUGFIX] Colors not selectable in RTE table properties with IE 7/8

When having many colors defined, it is only possible to select one
of the first colors. If a color at the end of the list is selected,
nothing happens.

Solution: Fix missing closing span tag in ExtJs template object.

Change-Id: If196228a93125262906e787cb4efa174463cfd4c
Resolves: #28760
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4164
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[BUGFIX] Wrong link if felogin reset password
Francois Suter [Wed, 22 Jun 2011 14:14:35 +0000 (16:14 +0200)]
[BUGFIX] Wrong link if felogin reset password

When the reset password link for felogin is generated (to be sent in
the mail), config.absRefPrefix overrides
plugin.tx_felogin_pi1.feloginBaseURL, but feloginBaseURL is specifically
designed to be used when needing a different base URL. This patch
makes feloginBaseURL prevail.

Thanks to Stephan Bauer for the original patch.

Change-Id: I05e3e63a3ad4628e07396e2dd8f089cd18dfc7f9
Resolves: #22434
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/2881
Reviewed-by: Francois Suter
Tested-by: Francois Suter
8 years ago[BUGFIX] htmlArea RTE: .titleText not localized to English
Stanislas Rolland [Thu, 4 Aug 2011 16:00:47 +0000 (12:00 -0400)]
[BUGFIX] htmlArea RTE: .titleText not localized to English

classesAnchor.[id-string].titleText is not localized when the
language of the content element is English, English being an
alternate language.

Change-Id: I15bf95534c51bcd4f80b08e04ed2bcc9042f3656
Fixes: #28767
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4111
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years agoRevert "[BUGFIX] Send no-cache headers in t3lib_userauth"
Thorsten Kahler [Thu, 4 Aug 2011 09:25:23 +0000 (11:25 +0200)]
Revert "[BUGFIX] Send no-cache headers in t3lib_userauth"

This reverts commit f08aa2f376c826f176c06a73d8b5ffc72a076501

Sorry, hit the wrong button :(

Change-Id: I47a362b47f6aafee06dd8181f27997baa64aa383
Reviewed-on: http://review.typo3.org/4095
Reviewed-by: Thorsten Kahler
Tested-by: Thorsten Kahler
8 years ago[BUGFIX] Send no-cache headers in t3lib_userauth
Alexander Stehlik [Fri, 1 Apr 2011 17:32:21 +0000 (19:32 +0200)]
[BUGFIX] Send no-cache headers in t3lib_userauth

Adjust headers sent by t3lib_userauth to prevent caching, if Internet
Explorer is used when downloading files through PHP.

Resolves: #24125
Releases: 4.3, 4.4, 4.5

Change-Id: I9ebe84174256263b8b0cae6cf9db58da76985a96
Reviewed-on: http://review.typo3.org/1417
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Thorsten Kahler
8 years ago[BUGFIX] Unprivileged backend user can read arbitrarily from database
Helmut Hummel [Wed, 3 Aug 2011 10:55:01 +0000 (12:55 +0200)]
[BUGFIX] Unprivileged backend user can read arbitrarily from database

Change-Id: Ia749f33e0474ae6bcdc5e75ab0acaef51e5f928d
Resolves: #26876
Reviewed-on: http://review.typo3.org/4056
Reviewed-by: Oliver Hader
Reviewed-by: Björn Pedersen
Tested-by: Oliver Hader
8 years ago[TASK] Set TYPO3 version to 4.6-dev
TYPO3 v4 Release Team [Tue, 2 Aug 2011 14:47:35 +0000 (16:47 +0200)]
[TASK] Set TYPO3 version to 4.6-dev

Change-Id: I010ce01adb68181c5ee86ac297db224b1f2c41a2
Reviewed-on: http://review.typo3.org/4034
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years ago[RELEASE] Release of TYPO3 4.6.0beta1
TYPO3 v4 Release Team [Tue, 2 Aug 2011 14:47:25 +0000 (16:47 +0200)]
[RELEASE] Release of TYPO3 4.6.0beta1

Change-Id: I07564e15e427f5f8a2cba307b783523ace4464f8
Reviewed-on: http://review.typo3.org/4033
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years ago[FEATURE] Add stdWrap to each of the properties of TypoScript "select"
cybercraft [Mon, 1 Aug 2011 20:17:59 +0000 (22:17 +0200)]
[FEATURE] Add stdWrap to each of the properties of TypoScript "select"

Change-Id: I5ee1be24a0c7f68cb0833823e9217db87742ab1d
Resolves: #18822
Releases: 4.6
Reviewed-on: http://review.typo3.org/3995
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Xavier Perseguers
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Tue, 2 Aug 2011 14:26:52 +0000 (16:26 +0200)]
[TASK] Raise submodule pointer

Change-Id: Ie881804c1f2f6d7c2c92767660fac6ebb12d2df9
Reviewed-on: http://review.typo3.org/4031
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
8 years ago[FEATURE] Allow overriding ext_typoscript_setup.txt on same level
Tolleiv Nietsch [Fri, 8 Jul 2011 16:17:14 +0000 (18:17 +0200)]
[FEATURE] Allow overriding ext_typoscript_setup.txt on same level

Change-Id: I3f28f9cb3efb46598fcc46c450cec05f94454e97
Resolves: #22169
Releases: 4.6
Reviewed-on: http://review.typo3.org/3009
Reviewed-by: Steffen Kamper
Tested-by: Steffen Kamper
8 years ago[BUGFIX] Improve hook in Admin Panel
Georg Ringer [Mon, 1 Aug 2011 10:56:57 +0000 (12:56 +0200)]
[BUGFIX] Improve hook in Admin Panel

The current implementation is buggy and can be improved.
- Add $moduleContent as argument
- Use '.=' instead of '='

Change-Id: I0cf40a6f09f5233cdbe3edf58ae1fe383d0b7fb5
Resolve: #28639
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3973
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[FEATURE] expandList for stdWrap
Georg Ringer [Wed, 8 Jun 2011 14:43:44 +0000 (16:43 +0200)]
[FEATURE] expandList for stdWrap

expandList can be used to convert a list like
1,3,5-7,10 to 1,3,5,6,7,10

using expandList = 1

Change-Id: I6d25e0ccac47218445713f3b491a2109188ca579
Resolves: #14472
Reviewed-on: http://review.typo3.org/2585
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[FEATURE] Shortcut tooltip should show the id
Stefan Galinski [Sat, 9 Jul 2011 21:53:08 +0000 (23:53 +0200)]
[FEATURE] Shortcut tooltip should show the id

Change-Id: I656b5ae8b21b270bc3ff63f2be6c23d2a2609a28
Resolves: #27525
Releases: 4.6
Reviewed-on: http://review.typo3.org/3230
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[FEATURE] Show localization mode of field in form
Jigal van Hemert [Sun, 19 Jun 2011 00:44:28 +0000 (02:44 +0200)]
[FEATURE] Show localization mode of field in form

Show an icon in the BE edit form if a field has the l10n_mode
'mergeIfNotBlank'. Editors can now easily see if they can leave the
field blank and the value from the default language will be used.

Change-Id: I885ce0b5fb14465ca5114331d9efc4f5e6e41451
Resolves: #27493
Releases: 4.6
Reviewed-on: http://review.typo3.org/2799
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Stefan Neufeind
Tested-by: Steffen Kamper
Reviewed-by: Steffen Kamper
8 years ago[TASK] Rename and deprecate config.minifyJS / config.minifyCSS
Xavier Perseguers [Tue, 2 Aug 2011 12:11:02 +0000 (14:11 +0200)]
[TASK] Rename and deprecate config.minifyJS / config.minifyCSS

For consistency reasons, config.minifyJS should be renamed to config.compressJs
and config.minifyCSS should be renamed to config.compressCss.

Change-Id: I064e1213263dde5cd410177be6cf68646e8b8f8d
Resolves: #28677
Releases: 4.6
Reviewed-on: http://review.typo3.org/4022
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[FEATURE] Improve API for module using the card layout
Kay Strobach [Sun, 31 Jul 2011 17:06:40 +0000 (19:06 +0200)]
[FEATURE] Improve API for module using the card layout

The idea of this feature is not to use t3lib_extMgm::addModule (added param) but provide own functions for adding/removing any module to the card layout.

New functions:
 - t3lib_extMgm::addModuleContentCard
 - t3lib_extMgm::removeModuleContentCard

Change-Id: I4d7b5b3dc95d1694dd397278643f8f01ea03a09e
Resolves: #28616
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3947
Reviewed-by: Steffen Kamper
Tested-by: Steffen Kamper
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Stefan Neufeind
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[FEATURE] Add ExtJS xtype:modulepanel for BE Modules
Kay Strobach [Sun, 24 Jul 2011 08:31:39 +0000 (10:31 +0200)]
[FEATURE] Add ExtJS xtype:modulepanel for BE Modules

This is a follow up change to #12664.
It adds a new Extjs xtype called modulepanel and the required styles.

This way we can have extjs modules which fit the TYPO3 look'n'feel.

The CSS modifies the tbar and the bbar to look like the standard
toolbars in TYPO3.

4.5 is added to releases, as #12644 is the direct parent.

Change-Id: I596962fc81e66368db06059447b2f6a09db4ff73
Resolves: #28384
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3696
Reviewed-by: Georg Ringer
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Kamper
Tested-by: Steffen Kamper
8 years ago[TASK] Clean up form system extension
Oliver Hader [Mon, 1 Aug 2011 20:49:12 +0000 (22:49 +0200)]
[TASK] Clean up form system extension

* remove declare UTF-8 prologue
* remove author from PHPdoc of methods
* change visibility of methods and properties from private to protected

Change-Id: I3cf8a6d22dc524c028de3ae22888ee4d414d0064
Resolves: #28656
Reviewed-on: http://review.typo3.org/4000
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[TASK] Streamline structure of form extension
Oliver Hader [Mon, 1 Aug 2011 15:49:07 +0000 (17:49 +0200)]
[TASK] Streamline structure of form extension

The new system extension form needs some changes:

* move global variable and initialization to tx_form_Common
* rename class name of form controller to reflect directory hierarchy
* move PageTSconfig and TypoScript configuration to Resources/Private/
* remove superfluous configurations and definitions

Change-Id: Iec38b53099edcb170c6d8b802e73b381602ff27d
Resolves: #28655
Reviewed-on: http://review.typo3.org/3998
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[FEATURE][INSTALL] Automatically create INSTALL_TOOL_ENABLE file
Steffen Gebert [Sun, 31 Jul 2011 19:10:41 +0000 (21:10 +0200)]
[FEATURE][INSTALL] Automatically create INSTALL_TOOL_ENABLE file

The INSTALL_TOOL_ENABLE file is automatically created, if a backend
administrator opens the Install Tool from the backend.

Change-Id: I10ccf35f787ffdfec7becfd182b13e986258fe4a
Resolves: #28621
Reviewed-on: http://review.typo3.org/3959
Reviewed-by: Chris Zepernick
Reviewed-by: Ingo Pfennigstorf
Tested-by: Ingo Pfennigstorf
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[FEATURE][INSTALL] Centralize ENABLE_INSTALL_TOOL handling
Steffen Gebert [Sun, 31 Jul 2011 19:10:09 +0000 (21:10 +0200)]
[FEATURE][INSTALL] Centralize ENABLE_INSTALL_TOOL handling

Add a BasicService to the Install Tool, which centralizes the handling
of the ENABLE_INSTALL_TOOL file.

Change-Id: I954d83ca9c17fcbd52a5588024c91290867c744c
Resolves: #28622
Reviewed-on: http://review.typo3.org/3958
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Georg Ringer
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[FEATURE] Group HttpExceptions by Error type
Steffen Gebert [Sun, 31 Jul 2011 20:43:42 +0000 (22:43 +0200)]
[FEATURE] Group HttpExceptions by Error type

Change-Id: I739cc983d280a77e1737d15fe9c2a2e9b30e5771
Resolves: #28624
Reviewed-on: http://review.typo3.org/3960
Reviewed-by: Stefan Neufeind
Reviewed-by: Philipp Gampe
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[FEATURE] Show Exception details only to BE users
Steffen Gebert [Sat, 30 Jul 2011 16:02:40 +0000 (18:02 +0200)]
[FEATURE] Show Exception details only to BE users

Change the ProductionExceptionHandler to show true error messages only
to authenticated Backend users (in Frontend and Backend).

Change-Id: Ic187d51c9cbe4748d4988f930cd3574378ad36b0
Resolves: #24561
Releases: 4.6
Reviewed-on: http://review.typo3.org/3907
Reviewed-by: Stefan Neufeind
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Georg Ringer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[TASK] Add XLIFF Core files
Dominique Feyer [Mon, 1 Aug 2011 18:05:38 +0000 (20:05 +0200)]
[TASK] Add XLIFF Core files

Add translation files in the new XLIFF format.

Change-Id: I6afaeab2f820c112bf99544c94c98037a901952c
Relates: #25397
Reviewed-on: http://review.typo3.org/3986
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[TASK] Update htmlArea RTE version number to 2.2.1
Stanislas Rolland [Mon, 1 Aug 2011 22:59:59 +0000 (18:59 -0400)]
[TASK] Update htmlArea RTE version number to 2.2.1

Change-Id: I2236208cb46af70d564a965e0740422812343e95
Releases: 4.6
Reviewed-on: http://review.typo3.org/4003
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[BUGFIX] RTE: buildStyleSheet() should not be deprecated in TYPO3 4.6
Stanislas Rolland [Mon, 1 Aug 2011 22:49:00 +0000 (18:49 -0400)]
[BUGFIX] RTE: buildStyleSheet() should not be deprecated in TYPO3 4.6

The function will be deprecated in 4.8, because it is processing
deprecated Page TSconfig properties that will be removed only then.

Change-Id: I6872818dada437bd9179e21f23cc9a232fb87eb9
Fixes: #28610
Releases: 4.6
Reviewed-on: http://review.typo3.org/4002
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[BUGFIX] Mirror selection is not respected
Xavier Perseguers [Mon, 1 Aug 2011 20:56:46 +0000 (22:56 +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: Ibb60edec1a7fac4e3c217aad47d9332f7edd5fc6
Resolves: #27755
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3999
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Steffen Kamper
Tested-by: Steffen Kamper
8 years ago[BUGFIX][Form] Remove third-party captcha support of the new form extension
Susanne Moog [Mon, 1 Aug 2011 17:24:21 +0000 (19:24 +0200)]
[BUGFIX][Form] Remove third-party captcha support of the new form extension

The form project checks for third-party extensions to provide captcha
support currently. Remove the whole captcha support until a clean API
for registering third-party extensions is developed.

Change-Id: I1e9a8b8ff065fc091dadb582dcf8e06e7889d890
Resolves: #28651
Reviewed-on: http://review.typo3.org/3985
Reviewed-by: Oliver Hader
Reviewed-by: Xavier Perseguers
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Tested-by: Oliver Hader
8 years ago[FEATURE] Substitute markers and subparts recursively
Jigal van Hemert [Sat, 30 Jul 2011 20:38:00 +0000 (22:38 +0200)]
[FEATURE] Substitute markers and subparts recursively

Introduce new function to substitute markers and (nested) subparts
recursively. The data array defines the structure of single and subpart
markers and the function takes care of handling all the (sub)templates.

Change-Id: Ie746aff506a895c6992d6ecf9acd532704838bbf
Resolves: #28595
Reviewed-on: http://review.typo3.org/3917
Tested-by: Philipp Gampe
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Steffen Kamper
8 years ago[FEATURE] Add support for locales
Xavier Perseguers [Fri, 15 Jul 2011 13:13:34 +0000 (15:13 +0200)]
[FEATURE] Add support for locales

Add a new class t3lib_l10n_Locales that is responsible to handle
locales such as fr_CA within TYPO3 and add support for locales
dependencies in Extension Manager.

Change-Id: If5976fc7bfbe82d347a9d84a5ebac84dcc4c76a2
Resolves: #28239
Reviewed-on: http://review.typo3.org/3359
Reviewed-by: Steffen Kamper
Tested-by: Steffen Kamper
Tested-by: Xavier Perseguers
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
8 years ago[FEATURE] Integrate Form project into Core
Xavier Perseguers [Fri, 22 Jul 2011 13:17:08 +0000 (15:17 +0200)]
[FEATURE] Integrate Form project into Core

Form project should now become a system extension.

Change-Id: Ide145a64ebe9db26a87437c7befd88a1c5081012
Resolves: #28388
Reviewed-on: http://review.typo3.org/3472
Tested-by: Philipp Gampe
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[FEATURE] Use FlashMessage in be_user module
bidau [Thu, 28 Jul 2011 12:26:08 +0000 (14:26 +0200)]
[FEATURE] Use FlashMessage in be_user module

Add FlashMessages:
* info about cached grouplists being updated
* when there are too many users to show

Change-Id: Iedd62f7731e61a6dff7ca9b6d477d75524351828
Resolves: #28543
Reviewed-on: http://review.typo3.org/3817
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Stefan Neufeind
Reviewed-by: Georg Ringer
8 years ago[BUGFIX] group field in TCEforms does not honor size=1 attribute
Dmitry Dulepov [Tue, 28 Jun 2011 08:58:33 +0000 (11:58 +0300)]
[BUGFIX] group field in TCEforms does not honor size=1 attribute

If the field has size=1, it should be shown as a "single entry"
selector box. In all cases it has a 'multiple="multiple"'
attribute hard-coded, which prevents the control from being
single line. The solution is not to add that attribute unless
necessary.

Change-Id: Iab244a0b797f117d270714ca14d88236399ead93
Resolves: #25221
Related: #24256
Reviewed-on: http://review.typo3.org/972
Reviewed-by: Georg Ringer
Reviewed-by: Stefan Neufeind
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
8 years ago[BUGFIX] ImageMagick path detection fails on Mac OS X
Oliver Hader [Sun, 31 Jul 2011 21:50:19 +0000 (23:50 +0200)]
[BUGFIX] ImageMagick path detection fails on Mac OS X

The ImageMagick path detection fails on Mac OS X. If MacPorts
is used the additional folder /opt/local/bin should be checked.

Change-Id: I5da3d4ec4fe614c1f5449604468d8def4ba35285
Resolves: #28625
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3961
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
8 years ago[FEATURE] Monitor peak memory usage
Jigal van Hemert [Thu, 7 Apr 2011 20:34:36 +0000 (22:34 +0200)]
[FEATURE] Monitor peak memory usage

Monitor the peak memory usage during page generation and report if
it exceeds 90% of the memory limit.

Change-Id: Ie0cfed4dce4b2f3e269832a28be7045b972a6867
Resolves: #25836
Reviewed-on: http://review.typo3.org/1507
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Tested-by: Thorsten Kahler
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Jigal van Hemert
8 years ago[FEATURE] Hide translated records from List module
Stefan Geith [Tue, 12 Jul 2011 15:27:37 +0000 (17:27 +0200)]
[FEATURE] Hide translated records from List module

Add the new TSconfig option
  mod.web_list.hideTranslations = *
or
  mod.web_list.hideTranslations = list,of,tables

For those tables, only the records of the default language are shown in
the List module. All translations are hidden.

The 'Localization view', still shows all records, including translated
records.

Change-Id: Iede6697a8ee28155b9fd62153eb7299f738258e6
Resolves: #23198
Releases: 4.6
Reviewed-on: http://review.typo3.org/3289
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[FEATURE] Include HTTP Request2 for better HTTP handling
Philipp Gampe [Fri, 8 Jul 2011 08:12:01 +0000 (10:12 +0200)]
[FEATURE] Include HTTP Request2 for better HTTP handling

Add the pear packages HTTP/Request2 end Net/URL2.
Also add PEAR/Exception.php.

Add t3lib_http_Request as wrapper for Request2.
This sets the default options from TYPO3_CONF_VARS.

Additionally add new TYPO3_CONF_VARS options and deprecate the old
cURL options.

Extend include_path that it also works with pear packages.

Change-Id: I430685159cc966e13f1e833ca19ee8f0c75e400a
Resolves: #28344
Releases: 4.5,4.6
Reviewed-on: http://review.typo3.org/3437
Reviewed-by: Markus Klein
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] The requested URL typo3/undefined was not found on this server
Kay Strobach [Sat, 30 Jul 2011 16:56:55 +0000 (18:56 +0200)]
[BUGFIX] The requested URL typo3/undefined was not found on this server

Wrong handling of module url changes in modulemenu causes false
loadings.

This change changes the loading logic a bit, so that it works again.

Resolves: #28594
Releases: 4.6, 4.5

Change-Id: I1692040e38645d68002ae494e9261fd0ccb4d42d
Reviewed-on: http://review.typo3.org/3909
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[FEATURE] Integrate string replacement to stdWrap
Oliver Hader [Fri, 29 Jul 2011 09:47:45 +0000 (11:47 +0200)]
[FEATURE] Integrate string replacement to stdWrap

Allow to search/replace strings, optionally with preg-regex.

Change-Id: I05a067e06cf6d6d664a178c6cf91e17178d691a8
Resolves: #19347
Reviewed-on: http://review.typo3.org/3855
Reviewed-by: Jo Hasenau
Tested-by: Jo Hasenau
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
8 years ago[BUGFIX] Error when opening TYPO3 manual
Markus Klein [Sun, 24 Jul 2011 19:12:26 +0000 (21:12 +0200)]
[BUGFIX] Error when opening TYPO3 manual

A missing parameter for SC_view_help::render_Table() causes
TYPO3 manual to produce a PHP warning.
This patch makes the second parameter optional.

Change-Id: I2b3e2cf45d4b7b411e7e7b007c7650df0bd79ea8
Resolves: #28330
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3704
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[FEATURE] Enable the GIFBUILDER cObject to render 32-bit PNG images
Georg Grossberger [Sun, 24 Jul 2011 16:53:10 +0000 (18:53 +0200)]
[FEATURE] Enable the GIFBUILDER cObject to render 32-bit PNG images

Introduce the "backColor" value "transparent" to create a PNG file
that has a transparent color as background and enhance the existing
code to keep it until the final image is written to a file.

If "transparent" is set the following conditions must be met:
* png_truecolor must be set to TRUE
* reduceColors must not be set
* format must not be set to jpg or gif

If one of those conditions is not met, GIFBUILDER falls back to
its default behaviour. Already existing backColor features are not
affected by this change.

The options "transparentBackground" and "transparentColor" have no
effect if the backColor is transparent

Change-Id: I0ce9a891710bbe1e7cae935c765aff2aa5640415
Resolves: #28405
Releases: 4.6
Reviewed-on: http://review.typo3.org/3703
Reviewed-by: Jo Hasenau
Reviewed-by: Georg Ringer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
8 years ago[FEATURE] Add UI support for Internationalized Domain Names (IDN)
Steffen Gebert [Wed, 27 Jul 2011 22:08:34 +0000 (00:08 +0200)]
[FEATURE] Add UI support for Internationalized Domain Names (IDN)

Add support for inputting and converting IDN domains in TCEforms.

The domain is still stored and processed as punycode, only the user is
now able to also enter also the IDN with its special chars in the
backend.

Include 3rd-party converter class "IDNA Convert"

Change-Id: I87d275a2f3bcfd321147b6d32a5403db704bdc4d
Resolves: #14500
Releases: 4.6
Reviewed-on: http://review.typo3.org/3804
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[FEATURE] Improve wizard for creating new records
Georg Ringer [Wed, 20 Jul 2011 17:30:08 +0000 (19:30 +0200)]
[FEATURE] Improve wizard for creating new records

Add the possibility to group records together, even
when the extension key is a different one.

Change-Id: I4acb806e27fbad6a240c530085e76bfa001c11cc
Resolves: #28353
Reviewed-on: http://review.typo3.org/3440
Reviewed-by: Kay Strobach
Tested-by: Kay Strobach
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Mueller
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[FEATURE] Add hook to tslib_adminpanel
Georg Ringer [Fri, 29 Jul 2011 13:06:24 +0000 (15:06 +0200)]
[FEATURE] Add hook to tslib_adminpanel

Add a hook to the AdminPanel to allow additional
code beeing added by other extensions

Change-Id: Icec38ca8b91891a515a40ec2e8774a00cf553c40
Resolves: #28568
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3860
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[FEATURE] Enhance info array provided to services
Alexander Stehlik [Thu, 28 Apr 2011 13:10:30 +0000 (15:10 +0200)]
[FEATURE] Enhance info array provided to services

In t3lib_div::makeInstanceService() the info array passed to
the instanciated service class is enhanced with information about
the requested service type, service sub type and the excluded service
keys.

Deprecated references to global vars have been replaced with $GLOBALS
array.

Change-Id: I45d39b3a526ab2c9a2ce273784ecdc4c3f03affd
Resolves: #26410
Reviewed-on: http://review.typo3.org/1776
Reviewed-by: Markus Klein
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
8 years ago[FEATURE] Change t3d exports default export target directory
Mario Rimann [Tue, 26 Jul 2011 21:06:33 +0000 (23:06 +0200)]
[FEATURE] Change t3d exports default export target directory

By default a t3d export ended up in fileadmin/ and the resulting file
was publicly available. This change just changes the default directory
to be fileadmin/_temp_/ which is .htaccess protected and cannot be
accessed from outside.

Change-Id: Ic01e1e38cb96e6f39ea84cd8f71decb046afccb0
Resolves: #17516
Reviewed-on: http://review.typo3.org/3728
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] Saving Page Tree states issues in large environments
Jo Hasenau [Sat, 30 Jul 2011 19:59:41 +0000 (21:59 +0200)]
[BUGFIX] Saving Page Tree states issues in large environments

Change the way expanded nodes are saved for be_users back to a simple
key/boolean pair and adjust the size of the uc field to fit the needs of
larger page trees.

Change-Id: Ic926080b0dc0e6e24226ab00554091a5f0ffae66
Resolves: #24884
Releases: 4.6
Reviewed-on: http://review.typo3.org/3912
Reviewed-by: Jo Hasenau
Tested-by: Jo Hasenau
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Tested-by: Christian Kuhn
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[FEATURE] Use update-query to write fe_session data
Stefan Neufeind [Wed, 15 Jun 2011 22:50:45 +0000 (00:50 +0200)]
[FEATURE] Use update-query to write fe_session data

Use an update-query to write the front end user session data
to the database instead of doing a delete- and insert-query.

Using only one update-query saves resources and avoids
an inconsistent state between the delete- and insert-query
(since no transactions were used).

Original patch by Netresearch.

Change-Id: I58624215b65bced7473923eb6ce1966650c02860
Resolves: #19286
Reviewed-on: http://review.typo3.org/2761
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Xavier Perseguers
Reviewed-by: Markus Klein
Reviewed-by: Mario Rimann
Reviewed-by: Jo Hasenau
Reviewed-by: Georg Ringer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] t3lib_div::cmpFQDN() lacks support for IPv6 and hostnames
Xavier Perseguers [Tue, 12 Jul 2011 08:16:01 +0000 (10:16 +0200)]
[BUGFIX] t3lib_div::cmpFQDN() lacks support for IPv6 and hostnames

Add checks for IPv4 and IPv6. Otherwise take input as hostname.
Implement correct (recursive) wildcard-checks.
Add unit tests.

Change-Id: I721fb6d376ee9ef01352799dfad1813b38e87ded
Resolves: #27217
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/2526
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[FEATURE] Change the way saltedpasswords sets "eval" in ext_tables.php
Laurent Cherpit [Tue, 26 Jul 2011 16:20:42 +0000 (18:20 +0200)]
[FEATURE] Change the way saltedpasswords sets "eval" in ext_tables.php

For the TCA password fields (BE|FE), saltedpasswords overrides the
field used to add some evaluations method. The problem appears when
another evaluation method is added before saltedpasswords extension is
loaded.
Change the way of the available evaluations methods are added by
saltedpasswords.

Change-Id: Ibcc13da492736891937fefbf9e323338229fb1dc
Resolves: #28494
Releases: 4.6
Reviewed-on: http://review.typo3.org/3725
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
8 years ago[BUGFIX] Show only not-installed extensions in Upgrade Wizard
Patrick Rodacker [Wed, 25 May 2011 19:15:13 +0000 (21:15 +0200)]
[BUGFIX] Show only not-installed extensions in Upgrade Wizard

Add the same routine from the Upgrade Wizard for new extensions to the
Upgrade Wizard for outsourced extensions to show only not-installed
extensions.

Change-Id: I8e7c0d0d1ff0b5c7f3c6c31fb26d2238730153d3
Resolves: #24914
Releases: 4.6
Reviewed-on: http://review.typo3.org/2371
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[BUGFIX][Cache] Let NullBackend implement PhpCapableBackend
Christian Kuhn [Sat, 30 Jul 2011 19:47:04 +0000 (21:47 +0200)]
[BUGFIX][Cache] Let NullBackend implement PhpCapableBackend

The null backend is very useful to effectivly disable caching
during development. With this change it also implements the
PhpCapableBackend interface and can be used to replace the
FileBackend this way.

This is the v4 backport of FLOW3 changeset
https://review.typo3.org/#change,3910

Additional to the FLOW3 version the null backend is now
required in config_default.php to enable the cache_phpcode
to use this backend in autoloader for development context.

Change-Id: Icca11825742eaa64b1e6f2db2aec48590887cb0b
Resolves: #28598
Related: #28589
Reviewed-on: http://review.typo3.org/3911
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
8 years ago[FEATURE] Session tables: add key for ses_timestamp and simplify timeout-check
Oliver Hader [Thu, 14 Jul 2011 22:50:41 +0000 (00:50 +0200)]
[FEATURE] Session tables: add key for ses_timestamp and simplify timeout-check

* add a key for ses_timestamp (in SQL) to speedup searches
  for sessions within timeout-limit
* simplify the overly-complex timeout-check

Change-Id: I171a63a0a7ec8cdd17c59d34411b41483d672b0f
Resolves: #20877
Reviewed-on: http://review.typo3.org/3341
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
8 years ago[BUGFIX] htmlArea RTE: Small improvements for the Upgrade Wizard
Stanislas Rolland [Sun, 31 Jul 2011 02:13:45 +0000 (22:13 -0400)]
[BUGFIX] htmlArea RTE: Small improvements for the Upgrade Wizard

Spell "TSconfig" correctly.

Since only pages are searched for deprecated properties, add a note
that such can also be used in BE groups and BE user records.

Change-Id: I717b63139cf65803ab63e131291e2db1233e610d
Fixes: #28600
Releases: 4.6
Reviewed-on: http://review.typo3.org/3923
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[BUGFIX] Upgrade wizard incorrectly "finds" deprecated properties
Stanislas Rolland [Sat, 30 Jul 2011 22:57:44 +0000 (18:57 -0400)]
[BUGFIX] Upgrade wizard incorrectly "finds" deprecated properties

Make the pattern binary.
Do not select the pattern followed by 's' (do not select RTE.fontSizes)
Remove fontSize from properties that are replaced automatically.

Change-Id: I09d07c056eefc8e80b833fc59d99fb08c5e2a9b7
Fixes: #28597
Releases: 4.6
Reviewed-on: http://review.typo3.org/3920
Reviewed-by: Christopher
Tested-by: Christopher
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[FEATURE] Link Shortcut pages directly to target
Thorben Kapp [Tue, 19 Jul 2011 11:23:31 +0000 (13:23 +0200)]
[FEATURE] Link Shortcut pages directly to target

Menu items of type shortcut link to the target directly now,
even without realurl.

Change-Id: I444d9eddf4c98c9a8712627bbc5bd24a4c6aebc8
Related: #17037
Releases: 4.6
Reviewed-on: http://review.typo3.org/3413
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[FEATURE] htmlArea RTE: Possiblity to set pastetoggle to ON by default
Stanislas Rolland [Sat, 30 Jul 2011 05:41:28 +0000 (01:41 -0400)]
[FEATURE] htmlArea RTE: Possiblity to set pastetoggle to ON by default

Two new Page TSConfig properties are added:

* RTE.default.buttons.pastetoggle.setActiveOnRteOpen
  If set, and if the pastetoggle button is enabled, the button is
  toggled to ON when the RTE opens.

* RTE.default.buttons.pastetoggle.hidden
  If set, and if the pastetoggle button is enabled, the button is hidden
  in both the toolbar and the context menu.
  Hence, if buttons.pastetoggle.setActiveOnRteOpen is also set, all
  paste operations will be performed using the current clean paste
  behaviour.

The manual is updated to document the fact that default and/or
overriding values may be set for the clean paste behaviour.
For example:
  setup.override.rteCleanPasteBehaviour = plainText

Change-Id: I3f479846d5ce373f7f386fd450603faed08f7e8d
Resolves: #25039
Releases: 4.6
Reviewed-on: http://review.typo3.org/3896
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[BUGFIX] htmlArea RTE: Relative url's on pasted links/images in Firefox
Stanislas Rolland [Sat, 30 Jul 2011 20:25:09 +0000 (16:25 -0400)]
[BUGFIX] htmlArea RTE: Relative url's on pasted links/images in Firefox

When copying/pasting an internal link or image from and to the RTE
editing area, Firefox changes the href or src to a relative url.
After save, the url ends up being wrong.

Similar issues arises when moving images or links inside the editing
area and when dropping images in the RTE from the image dialogue
window.

This change works around Firefox issue
https://bugzilla.mozilla.org/show_bug.cgi?id=613517,
by making the url absolute again before saving or toggling
to source text mode, as well as on paste and drop events.

Change-Id: I27024687d897a36133113f47b4d52ca9e0ab6c90
Resolves: #28497, #24852, #27353
Releases: 4.4, 4.5, 4.6
Reviewed-on: http://review.typo3.org/3916
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
8 years ago[FEATURE] Show default text in search form with HTML5 attribute
Mario Rimann [Tue, 26 Jul 2011 20:39:00 +0000 (22:39 +0200)]
[FEATURE] Show default text in search form with HTML5 attribute

Adds a text "Search for" in the search form input
field as long as no text has been searched for
(improves accessibility). If the doctype is set to
"html5", the text is shown as attribute
placeholder="Search for", otherwise as field value
of the input field.

Change-Id: I6944b21d44ea365ac5969e94d7743f5418962ea2
Resolves: #28347
Resolves: #17496
Reviewed-on: http://review.typo3.org/3688
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
8 years ago[BUGFIX] Upgrade wizard fails if no deprecated properties are found
Stanislas Rolland [Sat, 30 Jul 2011 16:44:32 +0000 (12:44 -0400)]
[BUGFIX] Upgrade wizard fails if no deprecated properties are found

Upgrade Wizard "Deprecated RTE properties in Page TS Config" fails
when no deprecated properties are used at all.

Make it a success, but keep the information message.

Change-Id: I0e0919cc02536a12d84da3d37cea64afe3af12e3
Resolves: #28593
Releases: 4.6
Reviewed-on: http://review.typo3.org/3908
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland