Packages/TYPO3.CMS.git
7 years ago[BUGFIX] Missing column in t3lib_TCEmain::getPreviousLocalizedRecordUid
Francois Suter [Tue, 27 Mar 2012 07:52:10 +0000 (09:52 +0200)]
[BUGFIX] Missing column in t3lib_TCEmain::getPreviousLocalizedRecordUid

Method t3lib_TCEmain::getPreviousLocalizedRecordUid() checks for the
"closest" localized record. For content elements it does this per
column, but actually fails because the "colPos" field is not among
the available fields. It must be added to the selection.

Change-Id: I2cd1ca612671aa8ff74599ccf7dd343ae6d86fa8
Fixes: #35260
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9891
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Reviewed-by: Francois Suter
Tested-by: Francois Suter
7 years ago[BUGFIX] Enable XClassing of t3lib_install by replacing new
Kay Strobach [Tue, 27 Mar 2012 11:24:54 +0000 (13:24 +0200)]
[BUGFIX] Enable XClassing of t3lib_install by replacing new

This Fix Replaces 3 occurences of new t3lib_install with
t3lib_div::makeInstance('t3lib_install')

Change-Id: I59c3366de1d7326c8da899d7f48a6125149c6b1f
Fixes: #35272
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9896
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 years ago[BUGFIX] Unused argument in getItemUidList()
Oliver Hader [Tue, 27 Mar 2012 12:03:24 +0000 (14:03 +0200)]
[BUGFIX] Unused argument in getItemUidList()

t3lib_collection_AbstractRecordCollection::getItemUidList() has
a method argument that is not used. The purpose is to have a
combination of table name and uid on demand.

Change-Id: I53f6aa0f87ea87db20d0e2d95cf5b4f5e2bdea81
Fixes: #35277
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/9899
Reviewed-by: Dmitry Dulepov
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[TASK] Introduce processDatamap_beforeStart hook
Oliver Hader [Thu, 22 Mar 2012 19:47:51 +0000 (20:47 +0100)]
[TASK] Introduce processDatamap_beforeStart hook

Introduces processDatamap_beforeStart hook to t3lib_TCEmain
which can be used to individually initialize or pre-filter
the datamap array.

Change-Id: I1862bfe0ecb3e3a1de8ae789a50f9eb6cfd9071b
Resolves: #35161
Releases: 4.7, 6.0
Reviewed-on: http://review.typo3.org/9817
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[BUGFIX] Unknown t3lib_TcaRelationService in StaticRecordCollection
Oliver Hader [Wed, 15 Feb 2012 12:33:03 +0000 (13:33 +0100)]
[BUGFIX] Unknown t3lib_TcaRelationService in StaticRecordCollection

t3lib_collection_StaticRecordCollection::loadContents() tries to
access class t3lib_TcaRelationService which is not available in
the TYPO3 Core. The accordant dependent feature request was
pending for master (see #32148). Since the TcaRelationService
was dropped for 4.7, this fix uses plain MM queries to get the
desired results.

Change-Id: I72fa5f7dc0fcf269ef00f9ec17bff6dd5bd95173
Fixes: #33942
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/9028
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[TASK] Set TYPO3 version to 6.0-dev
Oliver Hader [Tue, 27 Mar 2012 12:50:47 +0000 (14:50 +0200)]
[TASK] Set TYPO3 version to 6.0-dev

Change-Id: I14e2ab3e462556ee2d6181660a3aedd506cc4b53
Releases: 6.0
Reviewed-on: http://review.typo3.org/9907
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[BUGFIX] Creating new pages via drag'n'drop respects page TS
Philipp Kitzberger [Mon, 19 Mar 2012 15:25:25 +0000 (16:25 +0100)]
[BUGFIX] Creating new pages via drag'n'drop respects page TS

When creating a new page node via drag'n'drop shortcuts in pagetree,
the TCAdefaults.pages array from page TsConfig is now being respected.
This allows to preset certain field values for new pages.

Change-Id: I21c2f84951699469b00a745b62d2a95fb114809e
Fixes: #25021
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9747
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Stefan Neufeind
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] t3lib_iconWorks must check if array exists before using it
Jigal van Hemert [Fri, 23 Mar 2012 21:22:59 +0000 (22:22 +0100)]
[BUGFIX] t3lib_iconWorks must check if array exists before using it

A few places in t3lib_iconWorks use variables as arrays without
checking if they are actually arrays. This leads to warnings in
the syslog.

Change-Id: Ibd14796dae648195a630d520ab18d5f8689076f0
Fixes: #24248
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9851
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Oliver Klee
Reviewed-by: Markus Klein
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 years ago[BUGFIX] Tooltips for items in groupfields are not moved
Jigal van Hemert [Sat, 24 Mar 2012 07:01:42 +0000 (08:01 +0100)]
[BUGFIX] Tooltips for items in groupfields are not moved

In groupfields the title attribute of options must also be handled
when moving items.

Change-Id: I82f8d3fabdda8e882087e80d3d8361a9be1b9c51
Fixes: #35176
Releases: 6.0, 4.7, 4.6, 4.5, 4.4
Reviewed-on: http://review.typo3.org/9855
Reviewed-by: Markus Klein
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
7 years ago[TASK] Remove "Disable Popup Context Menus" option
Steffen Gebert [Sat, 17 Dec 2011 11:27:56 +0000 (12:27 +0100)]
[TASK] Remove "Disable Popup Context Menus" option

This option in the User Settings is totally useless, as there aren't
any troubles with modern browsers and this feature anymore.

Change-Id: I27f1796b8e787aec9a673eaf3220115054711000
Resolves: #24584
Releases: 4.8
Reviewed-on: http://review.typo3.org/7334
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
7 years ago[BUGFIX] Fatal error function posix_getgroups is not available
Philipp Gampe [Mon, 6 Feb 2012 20:10:26 +0000 (21:10 +0100)]
[BUGFIX] Fatal error function posix_getgroups is not available

This happens for the mkdirSetsGroupOwnershipOfCreatedDirectory() test in
t3lib_divTest.

Solution, just skip the test if the function does not exists.

Also do same safety check for posix_getegid() as done some tests above.

Change-Id: I18cbebc0b22ae5a7318673ed8abd2bd01003ba57
Fixes: #33718
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/8867
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 years ago[TASK] Code clean-up in t3lib_PageRenderer
Oliver Hader [Thu, 22 Mar 2012 19:38:05 +0000 (20:38 +0100)]
[TASK] Code clean-up in t3lib_PageRenderer

Change-Id: Iafa34e5c40105879afc58fe793bb61086dd19526
Resolves: #35160
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/9816
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[BUGFIX] Blank page after Save+Close in page settings
Stefan Galinski [Thu, 23 Feb 2012 22:16:56 +0000 (23:16 +0100)]
[BUGFIX] Blank page after Save+Close in page settings

Change-Id: Idd7647e0e1aaee607203f64c421d6ca235920268
Fixes: #33791
Releases: 4.8, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9169
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[BUGFIX] Backend: Fetch correct overlay-version of page inside workspace
Stefan Neufeind [Sun, 26 Feb 2012 23:01:29 +0000 (00:01 +0100)]
[BUGFIX] Backend: Fetch correct overlay-version of page inside workspace

When fetching page-details while using inside a workspace
make sure to fetch the correct overlay.

Change-Id: I7cd58201e4e3babf71e89f2ec7fecfd06f27ad21
Resolves: #27811
Releases: 4.5, 4.6, 4.7, 4.8
Reviewed-on: http://review.typo3.org/3391
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
7 years ago[FEATURE] Group task list in scheduler by extension
Philipp Gampe [Mon, 19 Mar 2012 19:22:01 +0000 (20:22 +0100)]
[FEATURE] Group task list in scheduler by extension

To make the long drowdown more readable, group the task list in
schedular (Add Task) by extension and add the description as title
to the corresponding option tag.

Change-Id: Ida7d85298df776c1f604c931aee49bf4f65cd796
Resolves: #35020
Releases: 4.8
Reviewed-on: http://review.typo3.org/9755
Reviewed-by: Felix Kopp
Tested-by: Felix Kopp
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
7 years ago[FEATURE] Styling t3editor for "HTML" configurable
Georg Ringer [Tue, 20 Mar 2012 07:19:39 +0000 (08:19 +0100)]
[FEATURE] Styling t3editor for "HTML" configurable

The styling of t3editor should be configurable for
the content element "HTML". This makes it possible
to use e.g. a custom height

Change-Id: I64cde4382cc1e3b3e2185c52381d538aeb721698
Resolves: #34548
Releases: 4.8
Reviewed-on: http://review.typo3.org/9758
Reviewed-by: Philipp Gampe
Reviewed-by: Tobias Liebig
Tested-by: Tobias Liebig
7 years ago[TASK] Add missing sql_free_result in alt_doc.php
Wouter Wolters [Mon, 19 Mar 2012 20:22:29 +0000 (21:22 +0100)]
[TASK] Add missing sql_free_result in alt_doc.php

Add missing sql_free_result in alt_doc.php to free hanging
records properly.

Change-Id: If2a6f291bd8839d1b7a2a617a192fe1d175f7cde
Resolves: #34771
Releases: 4.8, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9757
Reviewed-by: Philipp Gampe
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 years agoRevert "[BUGFIX] showAccessRestrictedPages doesn't replace links to restricted subpages"
Helmut Hummel [Sun, 11 Mar 2012 20:13:41 +0000 (21:13 +0100)]
Revert "[BUGFIX] showAccessRestrictedPages doesn't replace links to restricted subpages"

Commit 94feeb2596244bc463afd428aab41353eb1740a4 introduced a major
performance overhead and is reverted for now.

Change-Id: Iaaa8895bf2ccfcf875b32e3d0773c111672e80ae
Releases: 4.8, 4.7, 4.6, 4.5
Resolves: #32756
Reviewed-on: http://review.typo3.org/9732
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] RTE: function compareLabel incorrectly declared
Stanislas Rolland [Sat, 10 Mar 2012 21:40:22 +0000 (16:40 -0500)]
[BUGFIX] RTE: function compareLabel incorrectly declared

Problem: Function compareLabel is not correctly declared in
class.tx_rtehtmlarea_microdataschema.php

Change-Id: Ieb2f5c460260c5aa3cc07ae3a5408270fc43011f
Resolves: #34708
Releases: 4.7, master
Reviewed-on: http://review.typo3.org/9536
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Oliver Klee
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[BUGFIX] Fix baseurl handling of IE with RTE htmlArea in FE and realurl
Stanislas Rolland [Fri, 16 Mar 2012 23:50:44 +0000 (19:50 -0400)]
[BUGFIX] Fix baseurl handling of IE with RTE htmlArea in FE and realurl

Problem: IE does not support document.baseURI and document.URL is
incorrect when using realurl.
Solution: Get first base tag and extract href as base for iframe
document.

Change-Id: I845c3f617808235575d3af761e36ad188379c1b0
Resolves: #30847
Releases: 4.5, 4.6,4.7, master
Reviewed-on: http://review.typo3.org/6360
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[BUGFIX] Fatal error 't3lib_lock' does not exist
Oliver Hader [Wed, 14 Mar 2012 09:28:12 +0000 (10:28 +0100)]
[BUGFIX] Fatal error 't3lib_lock' does not exist

The PHP fatal error occurs for the following settings:
$TYPO3_CONF_VARS['SYS']['enableDeprecationLog'] is enabled
$TYPO3_CONF_VARS['BE']['forceCharset'] is not "utf-8" (or empty)
$TYPO3_CONF_VARS['SYS']['enableDeprecationLog'] is set to "file"

Change-Id: If95166c985499ded9764e6f7d6df224110580d95
Fixes: #34662
Releases: 4.5, 4.6, 4.7, 4.8
Reviewed-on: http://review.typo3.org/9643
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Oliver Klee
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[BUGFIX] Remove menu type special.userdefined
Tolleiv Nietsch [Sun, 5 Feb 2012 09:57:03 +0000 (10:57 +0100)]
[BUGFIX] Remove menu type special.userdefined

The manual says that this type has been removed in 4.6 in favor of
userfunctions.
Besides that, the block makes use of includeMakeMenu(), which doesn't
exist anymore.
Therefore I'd say it's safe to remove the block.

Change-Id: I69b33894eff55a8eedd0b04448229a96f6a0d199
Fixes: #25100
Release: 4.7, 4.6
Reviewed-on: http://review.typo3.org/8848
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] Livesearch toolbar should close others
Tolleiv Nietsch [Sat, 4 Feb 2012 09:28:14 +0000 (10:28 +0100)]
[BUGFIX] Livesearch toolbar should close others

When focussing the livesearch in the backend, other menus
should be closed.

Change-Id: Ibc6e9727ab9142f549bef3d5615bcb1426b42ebe
Fixes: #32890
Release: 4.7, 4.6
Reviewed-on: http://review.typo3.org/8837
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Sebastian Fischer
7 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Tue, 13 Mar 2012 15:15:11 +0000 (16:15 +0100)]
[TASK] Raise submodule pointer

Change-Id: I6e7260fcb33f79f81ad2dbc4ae2da23130a009e6
Reviewed-on: http://review.typo3.org/9619
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
7 years ago[BUGFIX] imagecopyresized: correct invalid parameters
Stefan Neufeind [Tue, 22 Nov 2011 13:37:25 +0000 (14:37 +0100)]
[BUGFIX] imagecopyresized: correct invalid parameters

The classes t3lib_stdgraphic and t3lib_iconworks provide
the method imagecopyresized. Those functions got parameters
$w, $h twice in the function-header and therefore the function
only worked in "special cases".

This patch also adds a docblock and improves the (internal)
naming of the variables.

Change-Id: Id43229caa3694e8859f9912946c963f907f92951
Fixes: #26660
Releases: 4.4, 4.5, 4.6, 4.7
Reviewed-on: http://review.typo3.org/2564
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] html5 rendering does handle non-xml documents
Steffen Ritter [Sun, 11 Mar 2012 09:29:43 +0000 (10:29 +0100)]
[BUGFIX] html5 rendering does handle non-xml documents

When selecting html5 in config.doctype and deactivating
config.xmlprologue = none the xmlns-attribute of <html> has
to be omitted and the xhtml-cleaning has to be deactivated.

Furthermore the non XML-Syntax of the charset meta-tag has to
be provided to the renderer.

Change-Id: I5b3d3fe084d745df2a1cc98c614ba1fff173a4db
Fixes: #34730
Releases: 4.8,4.7,4.6
Reviewed-on: http://review.typo3.org/9537
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Ingo Pfennigstorf
Tested-by: Ingo Pfennigstorf
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] Properly check disabled versioning within tcemain
Tolleiv Nietsch [Sat, 4 Feb 2012 08:53:31 +0000 (09:53 +0100)]
[BUGFIX] Properly check disabled versioning within tcemain

Setting $GLOBALS['TCA'][$table]['ctrl']['versioningWS'] = FALSE; isn't
fully working within tcemain because some isset() checks don't
look at the value atm.

Change-Id: I5cfca5fa73a7f30b56342052ef0193f21999bce1
Fixes: #33625
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/8836
Reviewed-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[FEATURE] Add hook to stdWrap_cacheStore
Fabrizio Branca [Mon, 27 Feb 2012 19:36:14 +0000 (20:36 +0100)]
[FEATURE] Add hook to stdWrap_cacheStore

In issue #34299 caching for stdWrap was introduced.

With this patch I'd like to add a hook to the cacheStore method.
Using this patch cache handling can be refined. usecases are
- reuse provided tags for page tags
- memorize lifetimes so that the pages lifetime can be limited
to the shortest stdWrap lifetime

Change-Id: I8faecc465c04810259b335a2cb30ec5a5a6ae52f
Resolves: #34343
Releases: 4.7, 4.6-backports, 4.5-backports
Reviewed-on: http://review.typo3.org/9264
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Daniel Poetzinger
Tested-by: Daniel Poetzinger
Reviewed-by: Simon Schaufelberger
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[FEATURE] Adding hook in flushByTag
Fabrizio Branca [Thu, 1 Mar 2012 23:23:45 +0000 (00:23 +0100)]
[FEATURE] Adding hook in flushByTag

Cache tags could be reused for nc_staticfile cache or even for tagging
varnish cache content. When it is flushed using the caching framework
there should be a hook in place that allows to also purge other
external caches.

Change-Id: I39b85ca31722d66b9af1aeb76d248fc41dc360f6
Resolves: #34475
Releases: 4.8
Reviewed-on: http://review.typo3.org/9327
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[FEATURE] Add hook to t3lib_cache_frontend_VariableFrontend->set()
Fabrizio Branca [Thu, 1 Mar 2012 23:42:12 +0000 (00:42 +0100)]
[FEATURE] Add hook to t3lib_cache_frontend_VariableFrontend->set()

A hook is needed that is processed when storing something
into the cache.

This hook could be used to reuse the page tags in some external caches
like nc_staticfilecache or even varnish. In combination with the
hook introduced in #34475 external caches could easily be synced
to the TYPO3 page cache.

Change-Id: I0452b937c48ec5ab4e4147995da600bf9815f20a
Resolves: #34476
Releases: 4.8
Reviewed-on: http://review.typo3.org/9328
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] unlink issues warnings for lock files
Markus Klein [Sat, 3 Dec 2011 20:08:54 +0000 (14:08 -0600)]
[BUGFIX] unlink issues warnings for lock files

t3lib_lock issues warnings for non-existent lock files.

Change-Id: I069f6d9bdb6e84e7436e81b9fdf94d14ab6065ec
Fixes: #32282
Releases: 4.7, 4.6, 4.5, 4.4
Reviewed-on: http://review.typo3.org/7052
Tested-by: Razakanirina
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[BUGFIX] Mail sending fails with quoted&encoded e-mail addresses
Dmitry Dulepov [Mon, 5 Mar 2012 10:21:18 +0000 (12:21 +0200)]
[BUGFIX] Mail sending fails with quoted&encoded e-mail addresses

Mail sending fails if the name in the e-mail address is quoted
but requires encoding to base64 or quoted-printable. The
t3lib_div::encodeHeader() function encodes the name without
taking quotation into account.

Change-Id: I3f5e7b5074f6ef6dbd9c3e86f95709ae9c6fe235
Resolves: #34526
Releases: 4.5, 4.6, 4.7
Reviewed-on: http://review.typo3.org/9378
Reviewed-by: Philipp Gampe
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Stefan Neufeind
Reviewed-by: Sebastian Fischer
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 years ago[TASK] RTE: Update version to 2.3.0
Stanislas Rolland [Mon, 12 Mar 2012 17:47:02 +0000 (13:47 -0400)]
[TASK] RTE: Update version to 2.3.0

Update manual and NEWS.txt

Change-Id: I4b90fd822d7364d006c65722f54b7c0394a34dcb
Releases: 4.7
Reviewed-on: http://review.typo3.org/9591
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[BUGFIX] RTE: Adapt clickenlarge to rendering of custom attributes
Stanislas Rolland [Mon, 12 Mar 2012 16:58:02 +0000 (12:58 -0400)]
[BUGFIX] RTE: Adapt clickenlarge to rendering of custom attributes

Problem: This is a follow-up to #34371. Now that HTML5 custom
attributes are correctly rendered in frontend, the clickenlarge
feature needs to be adapted.

Change-Id: Ibd0de010609d7365769d10b1596fcaaf21717df3
Resolves: #34764
Releases: 4.7, master
Reviewed-on: http://review.typo3.org/9581
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Mon, 12 Mar 2012 16:10:40 +0000 (17:10 +0100)]
[TASK] Raise submodule pointer

Change-Id: I93bd0295126e622872ea45cac5015bb4ad7d4195
Reviewed-on: http://review.typo3.org/9579
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
7 years ago[BUGFIX] Keep hyphens in custom HTML5 attributes
Jigal van Hemert [Fri, 9 Mar 2012 19:52:39 +0000 (20:52 +0100)]
[BUGFIX] Keep hyphens in custom HTML5 attributes

In frontend rendering hyphens in custom attribute names must be kept.
Use the same regexp as in t3lib_parsehtml keeps allowed special
characters.

Change-Id: Iacc82d8e0620f87ffa7667297b8a06be732d1297
Releases: 4.8, 4.7, 4.6, 4.5
Fixes: #34371
Reviewed-on: http://review.typo3.org/9521
Reviewed-by: Philipp Gampe
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
7 years ago[BUGFIX] Multi-table relationship not recognized in t3lib_loadDBGroup
Markus Opahle [Wed, 22 Feb 2012 14:54:29 +0000 (15:54 +0100)]
[BUGFIX] Multi-table relationship not recognized in t3lib_loadDBGroup

If a multi-table relationship has $MM_oppositeFieldConf['allowed']=='*',
then it is not recognized as such one in t3lib_loadDBGroup::start().

Change-Id: Ifbf8a71af8a9d0a0636d8a2332999c402a717559
Resolves: #34148
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9156
Reviewed-by: Markus Opahle
Tested-by: Markus Opahle
Reviewed-by: Georg Ringer
Reviewed-by: Simon Schaufelberger
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[BUGFIX] process_datamap doesn't handle existing versions by itself
Bart Dubelaar [Fri, 27 Jan 2012 12:54:35 +0000 (13:54 +0100)]
[BUGFIX] process_datamap doesn't handle existing versions by itself

The process_datamap function in TCEmain expects to receive the ids
of the existing offline counterparts of a record whenever operations
are performed in a workspace. This implies that this has taken into
account in all places where the process_datamap function is called.
In some cases this is not properly done, see bug #32780 and related.
The process_cmdmap function does handle this transparently,
so it is desirable to have the same behavior in process_datamap.

This fix implements the translation to versioned records for operations
on a single record. Operations with child records (IRRE) still require
the versioned id's, no bugs are known that would require this behavior
to be changed.

Change-Id: I1e41172b0cc1e04a4822147f3c48ca272b69467c
Fixes: #32780
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/8721
Reviewed-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[BUGFIX] Fatal error if xlf file has wrong format
Jigal van Hemert [Sat, 10 Mar 2012 09:25:51 +0000 (10:25 +0100)]
[BUGFIX] Fatal error if xlf file has wrong format

Check if there is a file->body element before trying to parse it
further.

Change-Id: I07c4f88199c7c8102ad5c02f19675a06f6c67b32
Fixes: #34473
Releases: 4.8, 4.7, 4.6
Reviewed-on: http://review.typo3.org/9530
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[TASK] PHP 5.4 adjustments
Markus Klein [Tue, 6 Mar 2012 10:42:54 +0000 (11:42 +0100)]
[TASK] PHP 5.4 adjustments

Small adjustments for PHP 5.4 compatibility.

Change-Id: I0ce1c8901a940980f2a753ee219fb6b01497cac8
Resolves: #34685
Releases: 4.8, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9511
Reviewed-by: Sebastian Fischer
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] Resolving the correct preview domain
Thomas Layh [Wed, 7 Mar 2012 02:50:20 +0000 (03:50 +0100)]
[BUGFIX] Resolving the correct preview domain

Since the patch #30892 the backend login domain has a higher priority
than the first domain in the rootline.

Changed this behavior to work like in the older TYPO3 version.

Change-Id: Ib6be760eb2707fb0fbf7b3b37464ba9ef9eab744
Fixes: #34698
Releases: 4.8, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9519
Reviewed-by: Philipp Gampe
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Wouter Wolters
7 years ago[BUGFIX] Excludefieds must exclude admin only tables
Georg Ringer [Sat, 3 Mar 2012 13:21:32 +0000 (14:21 +0100)]
[BUGFIX] Excludefieds must exclude admin only tables

The field "allowed excludefields" should not show
fields of tables which are restricted to admins,
either because of the flag adminOnly =1 or
rootLevel = 1

Change-Id: Id9ed03ad33c2c6a83bac44d6d08f36483762ae6a
Resolves: #34460
Releases: 4.8,4.7,4.6,4.5
Reviewed-on: http://review.typo3.org/9337
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] undefined variable imgExt
Simon Schaufelberger [Thu, 1 Mar 2012 14:32:55 +0000 (15:32 +0100)]
[BUGFIX] undefined variable imgExt

reducing colors in getImgResource function fails if not using image-
magic

Change-Id: I99577b8064d8094d47f2735767ad6ea4c8c0d54e
Fixes: #34446
Releases: 4.7, 4.6, 4.5, 4.4
Reviewed-on: http://review.typo3.org/9316
Reviewed-by: Steffen Ritter
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Tested-by: Steffen Ritter
7 years ago[BUGFIX] RTE: Context menu looses current selection in IE9
Stanislas Rolland [Thu, 8 Mar 2012 00:45:41 +0000 (19:45 -0500)]
[BUGFIX] RTE: Context menu looses current selection in IE9

Problem: As of TYPO3 4.7, htmlArea RTE uses the DOM standard API for
selection and range objects newly supported by IE9.
In this context, the current selection may be lost by the context menu.

Change-Id: Ic3481af906ed25672f953e43517e2ccc8d54d6a2
Resolves: #34658
Releases: 4.7, master
Reviewed-on: http://review.typo3.org/9481
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[BUGFIX] Page within a mountpoint using Show Content from Page results in 503 header
Patrick [Mon, 5 Dec 2011 09:00:31 +0000 (10:00 +0100)]
[BUGFIX] Page within a mountpoint using Show Content from Page results in 503 header

When pages:content_from_pid is used, the TSFE for the current object will be cloned to a temporary object for the page to get the content from. In this temporary object, the id for the page will be changed to the contents of content_from_pid. However, the MP variable will not be changed.

This results in a TSFE object with the wrong MP variable connected to the id. Within this temporary object the rootline will be calculated, which will be empty, because of the wrong MP variable. This triggers the 503 header.

This bugfix fixes this by emptying the MP variable.

Change-Id: I380b33e6daf3d36a1799409f484cc2e75290681b
Fixes: #32292
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/7071
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Tested-by: Stefan Neufeind
Tested-by: Steffen Ritter
7 years ago[BUGFIX] redirect to referrer when changing password
Jigal van Hemert [Sun, 1 Jan 2012 22:05:47 +0000 (23:05 +0100)]
[BUGFIX] redirect to referrer when changing password

The referrer and referrerDomains redirect options must be ignored after
changing the password, otherwise you would end up on the page where the
change password form was displayed (which shows an error message now).
An extra option to ignore the referrer redirects is introduced for this.

Change-Id: Iebb5cd67b5d04fe169bdc4d5ec7f9c025a1f7004
Fixes: #21943
Releases: 4.5, 4.6, 4.7
Reviewed-on: http://review.typo3.org/7647
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] Suggest Wizard crashes in Frontend Editing
Dennis Ahrens [Tue, 20 Dec 2011 14:52:23 +0000 (15:52 +0100)]
[BUGFIX] Suggest Wizard crashes in Frontend Editing

As the backpath cannot be resolved, the JS dies.

Change-Id: Iae96a3d16ca3ede7392c85f2a9623dba7d083ea8
Fixes: #25079
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/7452
Reviewed-by: Dennis Ahrens
Tested-by: Dennis Ahrens
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] Shell command arguments are not escaped
Dmitry Dulepov [Mon, 21 Nov 2011 14:54:52 +0000 (16:54 +0200)]
[BUGFIX] Shell command arguments are not escaped

Shell command arguments should be escaped with escapeshellarg()
PHP function, which adds single quotes around the argument and
escapes all single quotes inside the argument.

Change-Id: I4fb655e6496e1d0f09d6386831daa8d2f7a95351
Resolves: #31278
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/6779
Reviewed-by: Oliver Hader
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Andy Grunwald
Reviewed-by: Wouter Wolters
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] Fatal error: Call to undefined function posix_getgid()
Philipp Gampe [Sat, 3 Mar 2012 12:11:21 +0000 (13:11 +0100)]
[BUGFIX] Fatal error: Call to undefined function posix_getgid()

Limit the data to entries which can be created without posix_getgid().

Change-Id: I26f8950e2d69185ff990489f573e3dde8f870aca
Fixes: #34482
Releases: 4.8
Reviewed-on: http://review.typo3.org/9333
Reviewed-by: Oliver Klee
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] Fix idna_convert.class not found
Georg Ringer [Wed, 7 Mar 2012 09:34:26 +0000 (10:34 +0100)]
[BUGFIX] Fix idna_convert.class not found

Since #30311 an additional class is used to check
domains but the call is wrong. This is fixed now

Change-Id: I459b40c4b9fcab5d03d029f03b07385feb49e691
Resolves: #34627
Releases: 4.8, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9448
Reviewed-by: Oliver Klee
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 years ago[BUGFIX] "Allowed excludefields" misses non-tt_content FlexForms
Kai Vogel [Mon, 9 Jan 2012 20:56:27 +0000 (21:56 +0100)]
[BUGFIX] "Allowed excludefields" misses non-tt_content FlexForms

Extend the "Allowed excludefields" in group access lists to also show
FlexForm fields from other tables than tt_content.

Change-Id: Ie0fede48b9b85a60e89e7c6e768ee5b56d19e66f
Fixes: #31831
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/7712
Reviewed-by: Rüdiger Marwein
Tested-by: Rüdiger Marwein
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 years ago[BUGFIX] Toolbar Separator IE8 and FF3.6
Felix Kopp [Sat, 18 Feb 2012 00:34:33 +0000 (01:34 +0100)]
[BUGFIX] Toolbar Separator IE8 and FF3.6

Improves the styling of Toolbar Separator items for Internet Explorer 8
and early Firefox (3.6). Also solves spacing issues and opendoc counter.

Change-Id: Id8389bb4652f15b99abd98cc3b343e50a2c53400
Fixes: #34020
Releases: 4.7
Reviewed-on: http://review.typo3.org/9081
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] Media element does not recognize short YouTube links
Robert Heel [Tue, 17 Jan 2012 13:57:35 +0000 (14:57 +0100)]
[BUGFIX] Media element does not recognize short YouTube links

Change-Id: Id4d67ee57f72a9475abaaa7762cbc42572d38e51
Fixes: #33089
Releases: 4.8, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9408
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] Set filename to downloaded resource in t3lib_compressor
Morton Jonuschat [Wed, 7 Dec 2011 07:00:22 +0000 (08:00 +0100)]
[BUGFIX] Set filename to downloaded resource in t3lib_compressor

Compressor fails to properly reference external URLs.
It should use the downloaded copy of the resource.

Change-Id: I6ce8dc07fff4b056558aa22760a2b5ef126fb55d
Fixes: #32517
Related: #31239
Releases: 4.7, 4.6
Reviewed-on: http://review.typo3.org/7127
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Reviewed-by: Henrik Møller Rasmussen
Tested-by: Henrik Møller Rasmussen
Tested-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] PHP warnings may show up in the List module
Dmitry Dulepov [Thu, 24 Nov 2011 15:19:02 +0000 (17:19 +0200)]
[BUGFIX] PHP warnings may show up in the List module

If the table is defined in $TCA but it misses "columns" array,
there will be a warning in the List module when searching for
any phrase. Implement a check that "columns" entry exists and
write a log message if it does not.

Change-Id: I8b4663ba81f039d4ea416100dc8f2b8e4658cf35
Resolves: #22152
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/6893
Reviewed-by: Philipp Gampe
Reviewed-by: Sebastian Fischer
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
7 years ago[BUGFIX] Make generated thumbnails browser-cachable
Dmitry Dulepov [Wed, 23 Nov 2011 13:50:53 +0000 (15:50 +0200)]
[BUGFIX] Make generated thumbnails browser-cachable

Thumbnail generation code appends current timestamp in each
invocation of the thumbnail generation script. This is useless
because it prevents caching. Removing this timestamp will not
cause any issues with old vs new versions because the URL
includes an md5 checksum of the file size and file timestamp.
So when the file is updated, the md5 sum will change. The
patch also changes short md5 to full md5.

Additionally proper last-modified, expires and etag headers
are sent.

Change-Id: I852e6d8c4a2626c167fa4ea380874b46f17112ca
Fixes: #21481
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/6876
Tested-by: Tolleiv Nietsch
Reviewed-by: Stefan Neufeind
Reviewed-by: Oliver Klee
Reviewed-by: Tolleiv Nietsch
Tested-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] Validation of umlaut URLs and mail addresses
Mario Rimann [Thu, 24 Nov 2011 22:38:16 +0000 (23:38 +0100)]
[BUGFIX] Validation of umlaut URLs and mail addresses

Adds IDN support to t3lib_div's validating methods for email
addresses and URLs.

Change-Id: Iaff6d43c54ce4a2567b46acfe449e33b89136f8d
Resolves: #30311
Releases: 4.8, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/6907
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
7 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.

Change-Id: I94a3f1b7f05e15cef23519f76127114251a3eabc
Fixes: #24125
Releases: 4.4, 4.5, 4.6, 4.7, 4.8
Reviewed-on: http://review.typo3.org/4193
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] RTE: deprecated call-time pass-by-reference
Andreas Bouche [Tue, 6 Mar 2012 17:54:13 +0000 (18:54 +0100)]
[BUGFIX] RTE: deprecated call-time pass-by-reference

The Hook to extend javascript functions in
mod3/class.tx_rtehtmlarea_browse_links.php uses a
deprecated call-time pass-by-reference, which may
lead to an Exception in the link-dialogue.

Change-Id: Ibfdd03467806ba4987519ebad82979ec7796fca2
Fixes: #34601
Releases: 4.7, 4.6
Reviewed-on: http://review.typo3.org/9423
Reviewed-by: Niki Mueller
Tested-by: Niki Mueller
Reviewed-by: Oliver Klee
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 years ago[BUGFIX] Images from TER hosters break SSL
Georg Ringer [Fri, 24 Feb 2012 06:19:13 +0000 (07:19 +0100)]
[BUGFIX] Images from TER hosters break SSL

The logos should be fetched in the same context as the backend.
If https is used there, images are now loaded also via https

Change-Id: I8d210facfe89cbdae2ebd1d07da6cb8c51e5bbdb
Fixes: #34203
Releases: 4.8, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9170
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Oliver Klee
Reviewed-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[TASK] Update copyright year to 2012
Ernesto Baschny [Tue, 6 Mar 2012 17:18:48 +0000 (18:18 +0100)]
[TASK] Update copyright year to 2012

Change-Id: I63902dc8a46dc5576f9a1d1f7e18920606e14105
Resolves: #34600
Releases: 4.4, 4.5, 4.6, 4.7, 4.8
Reviewed-on: http://review.typo3.org/9422
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Oliver Klee
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 years ago[TASK] Remove obsolete sysext/cms/doc
Sebastian Michaelsen [Tue, 6 Mar 2012 14:05:36 +0000 (15:05 +0100)]
[TASK] Remove obsolete sysext/cms/doc

This folder only contains a TODO.txt which was lastly maintained by
Kasper back in 2004.

Change-Id: I843fcdb0370de0243a38bdc31a001a09c8ceac5a
Fixes: 34567
Releases: 4.7, 6.0
Reviewed-on: http://review.typo3.org/9421
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Tue, 6 Mar 2012 10:18:26 +0000 (11:18 +0100)]
[TASK] Raise submodule pointer

Change-Id: I7f186ce4e22e1d02253189da656f2a528fc2543e
Reviewed-on: http://review.typo3.org/9414
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
7 years ago[BUGFIX] Fix translation moving in workspaces
Tolleiv Nietsch [Sun, 12 Feb 2012 05:01:55 +0000 (06:01 +0100)]
[BUGFIX] Fix translation moving in workspaces

Seems that the API changes introduced with changeset 89bd701c
haven't been made everywhere. This caused some issue when
translated records are move in a workspace.

Goes together with a fix in EXT:version which can be found under
https://review.typo3.org/8997

Fixes: #33592
Releases: 4.5, 4.6, 4.7, 4.8

Change-Id: Ie9e54386e328c5ce23c8e3c2373ae90c0a0ffee8
Reviewed-on: http://review.typo3.org/8998
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 years ago[BUGFIX] Misleading error with empty USER_INT
Philipp Gampe [Mon, 13 Feb 2012 17:50:22 +0000 (18:50 +0100)]
[BUGFIX] Misleading error with empty USER_INT

Just skip rendering of a USER_INT which does not have any properties.

Change-Id: I8319f9a13a0d42f91d2e7e09c0993977279db933
Fixes: #23347, #30623
Releases: 4.5,4.6,4.7,4.8
Reviewed-on: http://review.typo3.org/9009
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
7 years ago[BUGFIX] tslib_pibase: Outdated PHPDoc comment for pi_loadLL()
Stefan Rotsch [Fri, 13 Jan 2012 07:57:46 +0000 (08:57 +0100)]
[BUGFIX] tslib_pibase: Outdated PHPDoc comment for pi_loadLL()

The PHPDoc comment for function pi_loadLL() still refers to a
"locallang.php" file, but other file extensions are now in use

Change-Id: I5592568583288507adf3bc73c4c1140e07558655
Fixes: #33160
Releases: 4.8, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/7755
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
7 years ago[TASK] Remove clear cache by id from clearCacheCMD
Fabrizio Branca [Thu, 1 Mar 2012 23:28:45 +0000 (00:28 +0100)]
[TASK] Remove clear cache by id from clearCacheCMD

This issue is related to #34352. There a feature was introduced
that allows to clear the cache by tag and by id from
TCEMAIN.clearCacheCmd.

As discussed (also check comments on https://review.typo3.org/#/c/9266/)
the clear by id should not be part of the public api as a cache
identifier is something internal that's not disposed to the
outside in case of cache_pages.

This patch removes the clear cache by id part
(while keeping the clear cache by tag).

Change-Id: I41957b39775d1f2b9abbca20a9ca37ecf8cea22a
Resolves: #34474
Releases: 4.7, 4.8
Reviewed-on: http://review.typo3.org/9326
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[TASK] Change typo3.com to typo3.org
Georg Ringer [Sat, 3 Mar 2012 13:32:47 +0000 (14:32 +0100)]
[TASK] Change typo3.com to typo3.org

As typo3.com will be redirected to typo3.org
all links inside the Core should be replace too

Change-Id: I5eb6568c6549e89a656036d2e66f0fd207a1ca40
Resolves: #34441
Releases: 4.8,4.7,4.6,4.5
Reviewed-on: http://review.typo3.org/9339
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Stefano Cecere
Reviewed-by: Philipp Gampe
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[TASK] CGL of FAL
Georg Ringer [Sat, 3 Mar 2012 11:27:21 +0000 (12:27 +0100)]
[TASK] CGL of FAL

There is quite a bit what can be improved regarding CGL.

Change-Id: I074c2083604ccf3037e1b7e6441460d81028e71a
Resolves: #34480
Releases: 4.8
Reviewed-on: http://review.typo3.org/9329
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] OpenID login fails if trailing slash is missing
Xavier Perseguers [Sun, 4 Mar 2012 18:51:10 +0000 (19:51 +0100)]
[BUGFIX] OpenID login fails if trailing slash is missing

The authentication process should ensure that the OpenID from database
is properly normalized prior to comparison checks.

Change-Id: I93610fca2491f830859c02b1a94ad65c651a7e3c
Fixes: #34439
Relates: #33518
Releases: 4.8, 4.7, 4.6-backports, 4.5-backports
Reviewed-on: http://review.typo3.org/9354
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 years ago[BUGFIX] Fatal error: Class 't3lib_file_BaseTestCase' not found
Philipp Gampe [Sat, 3 Mar 2012 12:03:44 +0000 (13:03 +0100)]
[BUGFIX] Fatal error: Class 't3lib_file_BaseTestCase' not found

Solution include the file before use.

Change-Id: I0f396de9e16501d5aed23e197a8727862cc2ca47
Fixes: #34481
Releases: 4.8
Reviewed-on: http://review.typo3.org/9331
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 years ago[FEATURE] Integrate File Abstraction Layer API
TYPO3 FAL Team [Sat, 25 Feb 2012 21:52:35 +0000 (22:52 +0100)]
[FEATURE] Integrate File Abstraction Layer API

Change-Id: Id0d5071aed6c9a03b75069bb9ba970ccfa5ca525
Resolves: #33749
Releases: 4.7
Reviewed-on: http://review.typo3.org/9208
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[TASK] Remove typo3/logomenu.php
Christian Kuhn [Wed, 29 Feb 2012 22:30:16 +0000 (23:30 +0100)]
[TASK] Remove typo3/logomenu.php

typo3/logomenu.php contains class SC_logomenu that extends t3lib_topmenubase.
But t3lib_topmenubase does not exist anymore since TYPO3 4.2, so SC_logomenu
is broken.

Change-Id: I7833ee48db25c400f5b651c30016e3182cd9e318
Resolves: #34427
Releases: 4.8, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9310
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[FEATURE] Add hook to tslib_fe->get_cache_timeout()
Fabrizio Branca [Mon, 27 Feb 2012 19:46:34 +0000 (20:46 +0100)]
[FEATURE] Add hook to tslib_fe->get_cache_timeout()

I'd like to have a hook here to influence the calculated cacheTimeout.

This could be used to have the cache lifetime of a page shortened if
there are objects on it with a shorter lifetimes.
(See #34299 and #34343)

Change-Id: I21aa08478f23fb9c6695fb6dfe403be143c98a4d
Resolves: #34346
Releases: 4.7, 4.6-backports, 4.5-backports
Reviewed-on: http://review.typo3.org/9265
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Daniel Poetzinger
Tested-by: Daniel Poetzinger
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 years ago[FEATURE] Add cache_tags to pages table
Fabrizio Branca [Mon, 27 Feb 2012 21:13:49 +0000 (22:13 +0100)]
[FEATURE] Add cache_tags to pages table

By adding a cache_tag field that contains a comma-separated list of tags
that will be attached to the stored content many fine-grained caching
scenarios are possible.

(Also see #34352 that allows to clear pages by tag)

Change-Id: I46ee3a49d0c779f72a84d55882eefa583de6bfe5
Resolves: #34363
Releases: 4.7
Reviewed-on: http://review.typo3.org/9267
Reviewed-by: Jutta Dobner
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 years ago[TASK] Set TYPO3 version to 4.7-dev
TYPO3 v4 Release Team [Tue, 28 Feb 2012 21:50:51 +0000 (22:50 +0100)]
[TASK] Set TYPO3 version to 4.7-dev

Change-Id: I056c71f8cc94b458e2065860add0b4d5ff5e62b0
Reviewed-on: http://review.typo3.org/9289
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
7 years ago[RELEASE] Release of TYPO3 4.7.0beta1
TYPO3 v4 Release Team [Tue, 28 Feb 2012 21:50:42 +0000 (22:50 +0100)]
[RELEASE] Release of TYPO3 4.7.0beta1

Change-Id: Ide35d8f6afd19e5dc0cb388c380f4a891eb5f0e0
Reviewed-on: http://review.typo3.org/9288
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
7 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Tue, 28 Feb 2012 21:22:19 +0000 (22:22 +0100)]
[TASK] Raise submodule pointer

Change-Id: I36320707f82864301167eba2a68e2450d5335247
Reviewed-on: http://review.typo3.org/9284
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
7 years ago[BUGFIX] previewLink generation is broken without domain-record
Steffen Ritter [Tue, 28 Feb 2012 20:51:01 +0000 (21:51 +0100)]
[BUGFIX] previewLink generation is broken without domain-record

Using the previewLink on pages within the backend on a branch
without a domain record defined, the link generation fails.

Therefore the opened window calls URL http://index.php?...

Change-Id: Icf3ff7087776fa4130316073446d983dd3be1026
Fixes: #34396
Releases: 4.5, 4.6, 4.7
Reviewed-on: http://review.typo3.org/9281
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[TASK] Fix setDBinit regression
Michael Stucki [Mon, 27 Feb 2012 22:22:08 +0000 (23:22 +0100)]
[TASK] Fix setDBinit regression

Since #34092 has been merged, a missing setting of
$TYPO3_CONF_VARS[SYS][setDBinit] will cause a die.

This change fixes the behaviour and additionally removes the setting
completely (it was in fact removed already but still listed in the
Install Tool).

Change-Id: Ib58311406e4b512cc2f433dab2bf50fba56eaa39
Resolves: #34369
Releases: 4.7
Reviewed-on: http://review.typo3.org/9268
Reviewed-by: Wouter Wolters
Reviewed-by: Felix Kopp
Tested-by: Felix Kopp
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
7 years ago[FEATURE] Add clearing cache by tag and by identifier clearCacheCMD
Fabrizio Branca [Mon, 27 Feb 2012 20:24:21 +0000 (21:24 +0100)]
[FEATURE] Add clearing cache by tag and by identifier clearCacheCMD

The caching framework supports to remove cache entries by identifier
and by id. If this was supported by the t3lib_tcemain->clear_cacheCmd(),
this feature could also be used in TSConfig's TCEMAIN.clearCacheCmd.

As both require an additional parameter I suggest a syntax like this:

TCEMAIN.clearCacheCmd = cacheTag:firsttag,cacheTag:secondtag
TCEMAIN.clearCacheCmd = cacheId:first,cacheId:anotherid

Change-Id: Ib0936aa9c0f50dc26ebd78417a29b1582d078b46
Fixes: #34352
Releases: 4.7
Reviewed-on: http://review.typo3.org/9266
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
7 years ago[CLEANUP] RTE: Remove useless code when BE is only utf-8
Stanislas Rolland [Mon, 27 Feb 2012 23:14:15 +0000 (18:14 -0500)]
[CLEANUP] RTE: Remove useless code when BE is only utf-8

When the BE is always utf-8 encoded, some code becomes useless.

Change-Id: I72521c47c51dd20d7f598ed9b5bc7e3d0e372882
Resolves: #34370
Releases: 4.7
Reviewed-on: http://review.typo3.org/9271
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[FEATURE] Flexible cHash Calculation
Daniel Pötzinger [Tue, 30 Aug 2011 20:30:24 +0000 (22:30 +0200)]
[FEATURE] Flexible cHash Calculation

Introduces new configuration options for $TYPO3_CONF_VARS['FE']
* cHashRequiredParameters
* cHashExcludedParameters
* cHashExcludedParametersIfEmpty
* cHashOnlyForParameters

Moves the adjusted cHash calculation logic to it's own class
t3lib_cacheHash.

Change-Id: I257ddd2042015622872519db18deee1b5071f950
Resolves: #29365
Releases: 4.7
Reviewed-on: http://review.typo3.org/4704
Reviewed-by: Fabrizio Branca
Tested-by: Fabrizio Branca
Reviewed-by: Daniel Poetzinger
Tested-by: Daniel Poetzinger
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
7 years ago[FEATURE] RTE: Use HTML5-compliant custom attribute for external url's
Stanislas Rolland [Mon, 20 Feb 2012 15:29:50 +0000 (10:29 -0500)]
[FEATURE] RTE: Use HTML5-compliant custom attribute for external url's

htmlArea RTE sets custom attribute "external" on links to external
url's so that they are preserved as external by the RTE
transformation, even though they may look internal.

Use custom attribute "data-htmlarea-external" instead in order to be
HTML5-compliant.

Change-Id: I840f32bc6929debbe92d82731b8afdbec638dc07
Resolves: #34114
Releases: 4.7
Reviewed-on: http://review.typo3.org/9124
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Steffen Ritter
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[BUGFIX] PHP Warning when moving a record
Xavier Perseguers [Mon, 27 Feb 2012 16:45:07 +0000 (17:45 +0100)]
[BUGFIX] PHP Warning when moving a record

Call to t3lib_TCEmain::moveL10nOverlayRecords() misses 4th parameter.

Change-Id: I5e0814497791fd904df809b5c19171f3e5d2936a
Fixes: #34135
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9257
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
7 years ago[FEATURE] Default active tab to first in allowedItems-list
Stefan Neufeind [Fri, 17 Feb 2012 09:21:06 +0000 (10:21 +0100)]
[FEATURE] Default active tab to first in allowedItems-list
 at "Insert image"

There is already functionality in place to fetch the first
item of the allowedItems-list if $this->act is not in the
allowedItems-list. If the allowedItems-list starts with an
item different than "magic" that should automatically become
the default.

Change-Id: Id06f77aa320aea321f6ca2134b00e1844b72eec7
Resolves: #34028
Releases: 4.7
Reviewed-on: http://review.typo3.org/9067
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[FEATURE] Allow to order tabs of "Insert/modify image" in Page TSConfig
Stanislas Rolland [Mon, 20 Feb 2012 16:42:43 +0000 (11:42 -0500)]
[FEATURE] Allow to order tabs of "Insert/modify image" in Page TSConfig

Allow configuring the order of tabs of the "Insert/modify image" dialogue
window via Page TSConfig property: buttons.image.options.orderItems.

Thanks go to Bernd Wilke for the idea.

Change-Id: If1532537d01ca6f51931f6b0bfb0101407dedbf7
Resolves: #34027
Releases: 4.7
Reviewed-on: http://review.typo3.org/9069
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[TASK] Set X-UA-Compatible to IE=9 for Backend
Steffen Gebert [Sat, 8 Oct 2011 13:14:11 +0000 (15:14 +0200)]
[TASK] Set X-UA-Compatible to IE=9 for Backend

To use the rendering engine of IE9 in the Backend of TYPO3, change the
X-UA-Compatible setting from IE=8 to IE=9.

Change-Id: Ieddd6f5bf2b4aa2e47bd98547d79c83c639ddda4
Resolves: #30664
Releases: 4.7
Reviewed-on: http://review.typo3.org/5632
Reviewed-by: Markus Klein
Reviewed-by: Georg Ringer
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[FEATURE] stdWrap caching
Fabrizio Branca [Sun, 26 Feb 2012 20:59:53 +0000 (21:59 +0100)]
[FEATURE] stdWrap caching

Problem:
* Cacheable content is always page specific.
  Pages cannot share cached content.
* Cacheable content has no individual lifetime
  but is bound to the lifetime of the page where it is placed.

Solution:
Introduce new configuration options that will store the
content into the caching framework:

Examples:
5 = TEXT
5 {
  cache.key = mycurrenttimestamp
  cache.tags = tag_a,tag_b,tag_c
  cache.lifetime = 3600
  data = date : U
  strftime = %H:%M:%S
}

or (for page specific cache that doesn't take
other parameters into account)
5 = TEXT
5 {
  cache.key = mycurrenttimestamp_{page:id}
  cache.key.insertData = 1
}

Change-Id: Idd76f9c627a0dcb5eeb391da547ba412f8c72860
Fixes: #34299
Related: #34307
Releases: 4.7, 4.6-backports, 4.5-backports
Reviewed-on: http://review.typo3.org/9245
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
7 years ago[FEATURE] Integrate possibility to overrule types array in TCEforms
TYPO3 FAL Team [Sat, 25 Feb 2012 21:41:27 +0000 (22:41 +0100)]
[FEATURE] Integrate possibility to overrule types array in TCEforms

Possibility to override the
$GLOBALS['TCA'][TABLE]['types'][TYPE]['showitem'] setting

Change-Id: I08202e2a9ffb6a1fffd944b94c5e50edb9190bb2
Resolves: #34281
Releases: 4.7
Reviewed-on: http://review.typo3.org/9205
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[FEATURE] IRRE - Possibility to render custom header controls
TYPO3 FAL Team [Sat, 25 Feb 2012 21:50:05 +0000 (22:50 +0100)]
[FEATURE] IRRE - Possibility to render custom header controls

Render custom header controls by using a render function
defined in TCA field configuration customControls/userFunc

Change-Id: I8a628c9434c540a1cc79156f3bcb4c35b1a3f1c3
Resolves: #34283
Releases: 4.7
Reviewed-on: http://review.typo3.org/9207
Reviewed-by: Ingmar Schlecht
Tested-by: Ingmar Schlecht
Reviewed-by: Steffen Ritter
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 years ago[FEATURE] Add a "virtual root" to pagetree (for mountpoints)
Stefan Neufeind [Sat, 11 Feb 2012 00:17:32 +0000 (01:17 +0100)]
[FEATURE] Add a "virtual root" to pagetree (for mountpoints)

If there is no "root" of pages (page 0) shown, add a
"virtual root" that functions as a root for all mountpoints
below it.

Change-Id: Iab25790db1ac5de4ab333d605163355eb1c62b91
Resolves: #33852
Releases: 4.7
Reviewed-on: http://review.typo3.org/8977
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[TASK] Remove useless code after utf-8 code conversion
Markus Klein [Mon, 20 Feb 2012 09:48:19 +0000 (10:48 +0100)]
[TASK] Remove useless code after utf-8 code conversion

Change-Id: I01af44c694c54adaefa217162af1dd0480f30ce2
Resolves: #34106
Releases: 4.7
Reviewed-on: http://review.typo3.org/9116
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[TASK] Change various functions to use utf-8 by default
Steffen Ritter [Sun, 19 Feb 2012 11:40:55 +0000 (12:40 +0100)]
[TASK] Change various functions to use utf-8 by default

Many functions in TYPO3core expect a character set parameter to be
defined. Their default was iso-8859-1 in the past and is changed to
utf-8 now.

Change-Id: I9c228821e95167b67811c8475880707d5c77bdb7
Resolves: #34094
Releases: 4.7
Reviewed-on: http://review.typo3.org/9101
Reviewed-by: Michael Stucki
Tested-by: Michael Stucki
7 years ago[CLEANUP][CONF!!!] Remove forceCharset option and references
Steffen Ritter [Sun, 19 Feb 2012 11:05:42 +0000 (12:05 +0100)]
[CLEANUP][CONF!!!] Remove forceCharset option and references

In TYPO3 4.5 the forceCharset and setDBinit options have been
deprecated. "forceCharset" was set to be removed in 4.7.

This ChangeSet removes the config option from the install tool
and all references within core to this variable.

If behaviour had been in question, the code has been adapted
to behave like the variable had been set to utf-8 and therefore
like the behaviour had been since 4.5.

Change-Id: Ic8fa9385b59eb127271c4f1a0902bbe8f3ee5499
Resolves: #34092
Releases: 4.7
Reviewed-on: http://review.typo3.org/9099
Reviewed-by: Michael Stucki
Tested-by: Michael Stucki
7 years ago[FEATURE] IRRE - Possibility to avoid rendering of foreign_selector
TYPO3 FAL Team [Sat, 25 Feb 2012 21:46:05 +0000 (22:46 +0100)]
[FEATURE] IRRE - Possibility to avoid rendering of foreign_selector

Introduce TCE column configuration
appearance/showPossibleRecordsSelector for type inline

Change-Id: Ia523f3a9d456c2cfcbc280f249f526dc5bbf1115
Resolves: #34282
Releases: 4.7
Reviewed-on: http://review.typo3.org/9206
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Ingmar Schlecht
Tested-by: Ingmar Schlecht
Reviewed-by: Xavier Perseguers
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 years ago[TASK] Clean-up several whitespaces and PHPdoc comments
Oliver Hader [Sat, 25 Feb 2012 22:20:45 +0000 (23:20 +0100)]
[TASK] Clean-up several whitespaces and PHPdoc comments

Change-Id: I6623a32a427b1ef0a8e9b646441928fbc8ee9270
Releases: 4.7
Reviewed-on: http://review.typo3.org/9213
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
7 years ago[TASK] Update manual with new hook
Jigal van Hemert [Fri, 24 Feb 2012 18:42:26 +0000 (19:42 +0100)]
[TASK] Update manual with new hook

Add information about forgotPasswordMail hook

Change-Id: I6459aa462c5498c468462d4d163abd905f7fc5b3
Resolves: #34234
Releases: 4.7
Reviewed-on: http://review.typo3.org/9193
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 years ago[FEATURE] Add hook to process forgot password mail
Jigal van Hemert [Sat, 24 Dec 2011 11:37:19 +0000 (12:37 +0100)]
[FEATURE] Add hook to process forgot password mail

Hook to change mail content of mail which is sent
if someone forgot his password.

Change-Id: Ia154d28ba07aa112c2b1ecd39ad6281eb57ab1de
Resolves: #17055
Releases: 4.7
Reviewed-on: http://review.typo3.org/7503
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 years ago[TASK] Migrate EXT:about to extbase
Christian Kuhn [Sun, 19 Feb 2012 13:56:48 +0000 (14:56 +0100)]
[TASK] Migrate EXT:about to extbase

Change-Id: If4161ce96038778776bcc654ad8a09b550568d44
Resolves: #34096
Releases: 4.7
Reviewed-on: http://review.typo3.org/9104
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch