Packages/TYPO3.CMS.git
7 years ago[BUGFIX] Moving files in filelist renames file to "1"
Steffen Ritter [Tue, 14 Aug 2012 14:23:08 +0000 (16:23 +0200)]
[BUGFIX] Moving files in filelist renames file to "1"

On integrating the FAL an small adaption within the clip-
board was missed which leads to a malfunction in the file
module: Moving files renames them to "1"

Adapt the function creating the PasteCmdArray accordingly.
Resolves: #39804
Releases: 6.0

Change-Id: Ia7b4301b04ec207fda4947b4a989669e35f708de
Reviewed-on: http://review.typo3.org/13650
Reviewed-by: Wouter Wolters
Reviewed-by: Mario Rimann
Tested-by: Mario Rimann
Tested-by: Marcel Burkhalter
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
7 years ago[TASK] Refactor t3lib_pageSelect::getRootline
Steffen Ritter [Sat, 28 Jul 2012 19:43:09 +0000 (21:43 +0200)]
[TASK] Refactor t3lib_pageSelect::getRootline

t3lib_pageSelect::getRootline is a function called many
times during frontend rendering and link generation.
The complete levelfield logic (incl. levelmedia) is based
on the result of this function.

The function itself has very fuzzy code, hard to read
conditions an in its current implementation a n² complexity.
Furthermore the current structure allows only very basic
caching, which does not fulfill todays needs.

The refactoring moves the "Rootline" to its own class and
splits the logic in many small chunks and helper functions.
Additionally the get(), and generateRootline() use the
CachingFramework to Cache the rootline.
Ancient "Failure Messages" in Rootline have been migrated
to useful RuntimeExceptions.
In addition as a new feature/bugfix levelfields resolve
relations so that levelmedia works with FAL again.

Change-Id: Ief215400c6552480603038966207fa29a26fe5b1
Releases: 6.0
Resolves: #39352
Reviewed-on: http://review.typo3.org/13322
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Tested-by: Marcel Burkhalter
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
7 years agoRevert "[FEATURE] Allow .ts file extension for static typoscript templates"
Susanne Moog [Sun, 19 Aug 2012 13:42:27 +0000 (15:42 +0200)]
Revert "[FEATURE] Allow .ts file extension for static typoscript templates"

This reverts commit b1ca7b4e4c449042138c7330960aff3474f0ee6d
because all extbase plugin rendering is broken after this
patch. I guess because of a wrong order of TS inclusion.

Change-Id: Ic238771c9cc6156e6a81dc059ade3229c14ad2b4
Reviewed-on: http://review.typo3.org/13930
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[FEATURE] Add a Category Collection as part of the Category API
Fabien Udriot [Sat, 14 Jul 2012 13:14:43 +0000 (15:14 +0200)]
[FEATURE] Add a Category Collection as part of the Category API

Category should make use of the Collection API as a cornerstone for
fetching and storing records related to a category. The Abstract
Collection object implements various PHP Interfaces such as
Iterator, Serializable, Countable , etc... that the Collection
Category will inherit and make the developer happy.

Category Collection enables this code:

$categoryUid = 1;
$tableName = 'tt_content';
$collection = t3lib_category_Collection_CategoryCollection::load(
    $categoryUid, TRUE, $tableName);
echo $collection->count();

Change-Id: Ieac9ee0225595d01e539678284b18ecd35541138
Resolves: #38773
Releases: 6.0
Reviewed-on: http://review.typo3.org/12791
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Fabien Udriot
Tested-by: Fabien Udriot
Reviewed-by: Oliver Hader
Reviewed-by: Christian Kuhn
Tested-by: Oliver Hader
7 years ago[TASK] Execute only Unit tests in UnitTests.xml
Christian Kuhn [Sun, 19 Aug 2012 12:41:25 +0000 (14:41 +0200)]
[TASK] Execute only Unit tests in UnitTests.xml

Functional tests are not executed in this suite.

Change-Id: Iac470a2bf1196e9dc593cab4351495d541467a88
Related: #39965
Related: #39964
Reviewed-on: http://review.typo3.org/13927
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Raise submodule pointer
Christian Kuhn [Sun, 19 Aug 2012 11:40:01 +0000 (13:40 +0200)]
[TASK] Raise submodule pointer

Change-Id: Ibb8bb0ebfb0ec17a4468a577119c0d0ca4f73ece
Reviewed-on: http://review.typo3.org/13917
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Execute Extbase and Fluid tests on travis
Helmut Hummel [Sat, 30 Jun 2012 12:50:02 +0000 (14:50 +0200)]
[TASK] Execute Extbase and Fluid tests on travis

Until now no tests from system extensions are executed
on travis ci.

Add a phpunit configuration file and add Extbase and Fluid
tests as test suites. Be aware that travis currently uses
the current submodule pointer and does not check out master
of submodules.

Resolves: #39954
Releases: 6.0
Change-Id: I949a65b0f1628fdfa4515e3fb4536517430dccac
Reviewed-on: http://review.typo3.org/13912
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Wrong nested extension configuration handling
Oliver Hader [Sun, 19 Aug 2012 10:33:54 +0000 (12:33 +0200)]
[BUGFIX] Wrong nested extension configuration handling

Nested default configurations and specific system configuration
of an extension are not merged correctly. This affects reading
configuration properties and persisting them.

Change-Id: I3a68a5acfb380236e644dd42de78619cc2e605a1
Fixes: #39952
Releases: 6.0
Reviewed-on: http://review.typo3.org/13911
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[FEATURE] Add possibility to flatten array
Oliver Hader [Sun, 19 Aug 2012 09:55:44 +0000 (11:55 +0200)]
[FEATURE] Add possibility to flatten array

A commonly used task in TYPO3 is to convert and work with
several types of arrays. This change allows to flatten a
nested multidimensional array to a flat key-value array.

array('first.' => array('second' => 1))
will become
array('first.second' => 1)

Change-Id: Ia41c53b87ac984bb6b29741ce461e4af70b6215f
Resolves: #39951
Releases: 6.0
Reviewed-on: http://review.typo3.org/13910
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[BUGFIX] Error occurred while call updateExtensionListFromTerAction
Susanne Moog [Sun, 19 Aug 2012 09:12:52 +0000 (11:12 +0200)]
[BUGFIX] Error occurred while call updateExtensionListFromTerAction

The argument forceUpdateCheck is optional and is just set if
a user actively clicks on the update link. As it is set to
required in the code the automatic update fails as it does not
set the argument.

Change-Id: I27be68656faa4ac0c40bdc395915a9f6ecd7744f
Fixes: #39946
Releases: 6.0
Reviewed-on: http://review.typo3.org/13908
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[FEATURE] UI changes to "Page" module
Soren Malling [Tue, 7 Aug 2012 21:10:51 +0000 (23:10 +0200)]
[FEATURE] UI changes to "Page" module

This patch covers the following changes

 * Move default column layout to a backend_layout configuration (#39603)
 * Change the db_layout code, to use the default backend_layout (#39603)
 * Make UI changes to the columns rendering (#38013)

The move of default column layout to a backend_layout
is in order to ease the styling.

Change-Id: Idc888f910f5e6b86d86d15ee0cb8acd5417e9bb9
Fixes: #38013
Fixes: #39603
Releases: 6.0
Reviewed-on: http://review.typo3.org/13510
Reviewed-by: Stefan Neufeind
Tested-by: Philipp Gampe
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 years ago[TASK] Cleanup pageRenderer USER_INT handling
Helmut Hummel [Sun, 19 Aug 2012 09:06:31 +0000 (11:06 +0200)]
[TASK] Cleanup pageRenderer USER_INT handling

Change-Id: Ib02fffa1d02553d84d2f6e8fcad78b3eeea2836b
Resolves: #39950
Relates: #22273
Releases: 6.0
Reviewed-on: http://review.typo3.org/13907
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[BUGFIX] Do not fetch extension list on every request
Helmut Hummel [Sat, 18 Aug 2012 22:25:04 +0000 (00:25 +0200)]
[BUGFIX] Do not fetch extension list on every request

Due to comparing a DateTime object with an integer
the extension list is fetched every time when switching
to the get extensions tab in the extension manager.

Convert the DateTime object to a timestamp first and
add a test which ensure this works.

Additionally clean up the doc comment of that
property in the model and use forceUpdateCheck
as action parameter in the controller.

Change-Id: I71f6599a6fa41115515c1764deb26e8e56762f4f
Resolves: #39944
Releases: 6.0
Reviewed-on: http://review.typo3.org/13905
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[BUGIX] Fix SQL Injection possibility in Extensionmanager
Helmut Hummel [Sat, 18 Aug 2012 19:22:24 +0000 (21:22 +0200)]
[BUGIX] Fix SQL Injection possibility in Extensionmanager

Quote the search string in findByTitleOrAuthorNameOrExtensionKey method.

Change-Id: Ifd2694a91d580e303fa366077f1f316864f974e3
Fixes: #39942
Releases: 6.0
Reviewed-on: http://review.typo3.org/13904
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[FEATURE] Function for correct item label in BE
Georg Ringer [Fri, 27 Jul 2012 13:21:18 +0000 (15:21 +0200)]
[FEATURE] Function for correct item label in BE

The function t3lib_befunc::getLabelFromItemList() gets you the label of
a tca field in the BE. This works nicely but ignores changes done with
TsConfig with code like
TCEFORM.<table>.<field>.addItems.<key> = New value or
TCEFORM.<table>.<field>.aldLabels.<ke> = Change me

The new function will handle it all

Change-Id: Ifd99d321943d72ecb4e16c4974aaa8cddf481b2f
Resolves: #39327
Releases: 6.0
Reviewed-on: http://review.typo3.org/13098
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[BUGFIX] sys_template: Can't save "basedOn" configuration
Susanne Moog [Sat, 18 Aug 2012 20:43:48 +0000 (22:43 +0200)]
[BUGFIX] sys_template: Can't save "basedOn" configuration

Since the merge of the resources-removal
TypoScript templates can't save "basedOn"
changes because of a SQL error, as the
resources field is still referenced by
the tca and ext_tables.php.

Change-Id: I548af5a41375b69563c3822a7c8b96687bdf9487
Fixes: #39937
Releases: 6.0
Reviewed-on: http://review.typo3.org/13903
Reviewed-by: Philipp Gampe
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[FEATURE] Scheduler: Allow execution using "at"-daemon
Stefan Neufeind [Fri, 24 Feb 2012 12:05:50 +0000 (13:05 +0100)]
[FEATURE] Scheduler: Allow execution using "at"-daemon

Add possibility to execute scheduler via "at"-daemon instead of via cron.
This allows the scheduler more flexibility when to be invoked next.

This can be useful in environments where no cronjob can be set easily,
but access to at daemon is possible.

Change-Id: Ib450e59d76e23eb2eeb1ab4769f49d8ba8bd96b5
Resolves: #34227
Releases: 6.0
Reviewed-on: http://review.typo3.org/9177
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[FEATURE] Allow .ts file extension for static typoscript templates
Sebastian Michaelsen [Mon, 19 Mar 2012 10:38:12 +0000 (11:38 +0100)]
[FEATURE] Allow .ts file extension for static typoscript templates

At the moment the following static typoscript filenames are allowed:

setup.txt
constants.txt
include_static.txt
include_static_files.txt

* Allow ".ts" as file extensions
* Allow mixed usage of .ts and .txt
* .ts precedes .txt

Change-Id: I0ffd9ef50a07dfbaa8388d525c5ced09d5070103
Fixes: #34922
Releases: 4.8
Reviewed-on: http://review.typo3.org/9736
Reviewed-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Simon Schaufelberger
Tested-by: Simon Schaufelberger
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[TASK] Update extension configuration of saltedpasswords
Susanne Moog [Sat, 18 Aug 2012 18:20:23 +0000 (20:20 +0200)]
[TASK] Update extension configuration of saltedpasswords

Saltedpasswords is using user functions in the ext_conf_template which
use type hinting for the config object. As the new extension manager
handles the rendering of the configuration form differently, the type
hints have to be removed.

Change-Id: I00abd45523ca833799bb3101cdc8262e977750a1
Resolves: #39935
Releases: 6.0
Reviewed-on: http://review.typo3.org/13901
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[FEATURE] Trigger execution of a specific task from CLI
Philipp Gampe [Sat, 30 Jun 2012 16:03:10 +0000 (18:03 +0200)]
[FEATURE] Trigger execution of a specific task from CLI

Make it possible run a specific task by providing an additional
parameter -i and the uid of the task on the command line.

./typo3/cli_dispatch.phpsh scheduler -i <uid>

Use the parameter -f to force the execution even if the task is
disabled or no execution is scheduled.

Change-Id: I6226ea41fbb391a56f9eee3d3de919cc116157bc
Resolves: #31073
Relates: #38506
Releases: 6.0
Reviewed-on: http://review.typo3.org/12481
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[FEATURE] Allow ext_icon.png as extension icon besides ext_icon.gif
Ingo Renner [Sat, 18 Aug 2012 15:36:07 +0000 (17:36 +0200)]
[FEATURE] Allow ext_icon.png as extension icon besides ext_icon.gif

Follow-Up to #37595

Fixes two things found during the review. Due to an unfortunate
timely intersection the original patch set was merged without
these fixes.

Change-Id: Ic9c69f09c1e92c628cd29c5c303e1807022a2a8e
Fixes: #37595
Releases: 6.0
Reviewed-on: http://review.typo3.org/13898
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Ingo Renner
Tested-by: Ingo Renner
7 years ago[TASK] Rename table cache_extensions
Christian Kuhn [Sat, 18 Aug 2012 11:03:21 +0000 (13:03 +0200)]
[TASK] Rename table cache_extensions

Table cache_extensions is handled by ext:extensionmanager and should be
moved to its namespace. It is now in line with the according extbase
model and called tx_extensionmanager_domain_model_extension.

Change-Id: I9d8e0981bf5ff35c38c3254672b8b8015c72ff47
Resolves: #39922
Related: #39726
Releases: 6.0
Reviewed-on: http://review.typo3.org/13884
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[FEATURE] Allow ext_icon.png as extension icon besides ext_icon.gif
Johannes Feustel [Sat, 18 Aug 2012 11:34:49 +0000 (13:34 +0200)]
[FEATURE] Allow ext_icon.png as extension icon besides ext_icon.gif

Search for ext_icon.png and ext_icon.gif and store to
$GLOBALS['TYPO3_LOADED_EXT'][$_EXTKEY]['ext_icon']

Change-Id: I4867ba9c46b3c9d1674d91313599b2aada5e9295
Resolves: #37595
Releases: 6.0
Reviewed-on: http://review.typo3.org/13888
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Make PageRenderer work with USER_INT plugins
Helmut Hummel [Wed, 21 Dec 2011 13:21:40 +0000 (14:21 +0100)]
[BUGFIX] Make PageRenderer work with USER_INT plugins

Currently the PageRenderer renders all the page content before
USER_INT plugins are substituted in the cached output.
This leads to the situation, that adding header or footer data using
the PageRenderer does not work for USER_INT plugins.

If you for example try to use tt_content.media.20 in a
USER_INT plugin, the JS library and the inline JS, is not
included.

This change solves the problem, by adding the header and footer data
of the PageRenderer during USER_INT processing.

Resolves: #22273
Releases: 6.0
Change-Id: I97609684ccacdab1bd0853b9ccd6608716706f87
Reviewed-on: http://review.typo3.org/7465
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[BUGFIX] Fix wrong path in EXT:cms/ext_autoload.php
Georg Ringer [Fri, 17 Aug 2012 06:05:50 +0000 (08:05 +0200)]
[BUGFIX] Fix wrong path in EXT:cms/ext_autoload.php

One path is wrong in ext_autoload and should be fixed

Change-Id: I8a84ed8bec8f877dee491127c43ffa5ca0bc3757
Fixes: #37478
Releases: 6.0
Reviewed-on: http://review.typo3.org/13837
Reviewed-by: Wouter Wolters
Reviewed-by: Ingo Renner
Tested-by: Ingo Renner
7 years ago[FEATURE] Support custom width in TCA tree
Dominique Feyer [Tue, 17 Jul 2012 23:22:49 +0000 (01:22 +0200)]
[FEATURE] Support custom width in TCA tree

Introduce setting ['config']['treeConfig']['appearance']['width']
to apply custom width for TCA select fields that use the tce tree.

Change-Id: I757745e51f650c20f23e60aa6c4a9b7b0fca6b99
Releases: 6.0
Resolves: #39046
Reviewed-on: http://review.typo3.org/12860
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Require PHP setting register_globals set to Off
Helmut Hummel [Sat, 18 Aug 2012 10:17:27 +0000 (12:17 +0200)]
[TASK] Require PHP setting register_globals set to Off

Die early in the bootstrap if register_globals is On.

Change-Id: Icd2541447c190db7f1a6d01cd9da624568018b41
Resolves: #39920
Releases: 6.0
Reviewed-on: http://review.typo3.org/13882
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[TASK] Add sys_notes to info module again
Georg Ringer [Thu, 16 Aug 2012 11:35:05 +0000 (13:35 +0200)]
[TASK] Add sys_notes to info module again

Once sys_note records have been shown in the info module but
after changing the code, this didn't work anymore.

This patch adds a hook which is then used by sys_note

Change-Id: Ib73db81a508ec88b9502a41c1405e6a47c056c61
Resolves: #39234
Releases: 6.0
Reviewed-on: http://review.typo3.org/13813
Reviewed-by: Wouter Wolters
Reviewed-by: Felix Kopp
Tested-by: Felix Kopp
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[FEATURE] Report status check for file and folder create mask
Christian Kuhn [Fri, 17 Aug 2012 19:54:55 +0000 (21:54 +0200)]
[FEATURE] Report status check for file and folder create mask

In sane server setups, it is usually not a good idea to configure TYPO3
to create files and folders with writable bit for 'others'. The
introduction package actually sets fileCreateMask and folderCreateMask
to 666 and 777, but this is to ease the installation process and make
the introduction package work in curious setups as well without problems.

Therefore we now add a warning to the reports module instead, if the
write bit for others is set, so an administrator is informed on the
possible security impact, while the installation process is still smooth.

Change-Id: Iae75a9f9492d8b784a3e1ea2c754a14abbc58f3e
Releases: 6.0
Resolves: #39912
Reviewed-on: http://review.typo3.org/13874
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[BUGFIX] Fix skipped test for t3lib_log_Logger
Helmut Hummel [Fri, 17 Aug 2012 21:42:49 +0000 (23:42 +0200)]
[BUGFIX] Fix skipped test for t3lib_log_Logger

One test for t3lib_log_Logger is marked as skipped
because it was unclear how to do the test.
Implement the test correctly and remove the skip.

Change-Id: Iad5b56b0fdbc96bf4c20509de0ada80a1e7c8908
Fixes: #39916
Releases: 6.0
Reviewed-on: http://review.typo3.org/13878
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Adopt standard list layout for page records list
Wouter Wolters [Sun, 8 Jul 2012 12:55:05 +0000 (14:55 +0200)]
[TASK] Adopt standard list layout for page records list

Make record list on pages flexible and conform with list layout.
Before this patch the table width was forced to 480px.

Also adds header for each record list with total count and title.
Moves the click menu and edit link to standard positions in table.
Now includes the record list hover styles and standard paddings.

CSS styles for previous non-standard table style are removed:
there were no further references for ".typo3-page-stdlist".

Change-Id: I9245442f174a5c82cd5c1cb0ab41dc0ea680fb24
Resolves: #38368
Releases: 6.0
Reviewed-on: http://review.typo3.org/12709
Reviewed-by: Ingo Renner
Tested-by: Ingo Renner
Reviewed-by: Stefan Neufeind
Reviewed-by: Felix Kopp
Tested-by: Felix Kopp
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 years ago[FEATURE] Add styling to extension manager
Hans Christian Reinl [Fri, 17 Aug 2012 17:38:34 +0000 (19:38 +0200)]
[FEATURE] Add styling to extension manager

The styling of the extension manager is not completed.
The CSS will follow step by step.

First part is the styling of manage extensions.

Change-Id: Id5d48cdf92b645cfe5188072d1af1bc226833326
Releases: 6.0
Resolves: #39909
Reviewed-on: http://review.typo3.org/13870
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Extensions without description displayed wrong
Susanne Moog [Fri, 17 Aug 2012 19:14:37 +0000 (21:14 +0200)]
[BUGFIX] Extensions without description displayed wrong

Extensions without descriptions are displayed
wrong because of the empty title tag which is
falsely interpreted by the tooltip plugin.

Change-Id: Ie3f44152252ecb2dfa3e4400e27a7de66190f330
Fixes: #39911
Releases: 6.0
Reviewed-on: http://review.typo3.org/13873
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Rename getTypo3Version to getCurrentTypo3Version
Wouter Wolters [Fri, 17 Aug 2012 17:46:01 +0000 (19:46 +0200)]
[TASK] Rename getTypo3Version to getCurrentTypo3Version

Rename getTypo3Version to getCurrentTypo3Version

Change-Id: I3cfd951e78ac45575022e5ce3c67ca81b438de37
Resolves: #39901
Releases: 6.0
Reviewed-on: http://review.typo3.org/13871
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Remove old em
Christian Kuhn [Fri, 17 Aug 2012 16:53:47 +0000 (18:53 +0200)]
[TASK] Remove old em

Change-Id: Ieb3823ad72fe41875484dfc25c8f1eea1feef917
Resolves: #39906
Related: #39726
Reviewed-on: http://review.typo3.org/13869
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[FEATURE] Make CSS for sysext form configurable
Lorenz Ulrich [Wed, 1 Aug 2012 10:54:31 +0000 (12:54 +0200)]
[FEATURE] Make CSS for sysext form configurable

Move the default styles of ext:form to TS in
plugin.tx_form._CSS_DEFAULT_STYLE. This way it can be disabled with
TypoScript either via plugin.tx_form._CSS_DEFAULT_STYLE >, and also
respects the config.removeDefaultCss setting.

Change-Id: Ie2b0c397124f06ec32114983e78dd60b4229ce97
Resolves: #32480
Releases: 6.0
Reviewed-on: http://review.typo3.org/11932
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[FEATURE] Add new extension manager to the core
Susanne Moog [Sun, 12 Aug 2012 12:29:09 +0000 (14:29 +0200)]
[FEATURE] Add new extension manager to the core

For 6.0 a new extension manager based on
extbase was developed. Goal of this extension
manager is not to be the most feature rich
but easy to use extension managers.

Therefore the whole extension manager was
restructured and some features where removed:
* language handling -> will be an own extension
* file editing -> can be done via other extensions
* upload extension -> will be integrated into extdeveval

This patch adds the base extension manager.
Styling and JS fine tuning will be done afterwards.

Please test the given functionality carefully and
report as many bugs as you can find to the project
at forge (TYPO3 6.0 > Extension Manager).

Change-Id: I28ef14401f40e239e5ea235af2be3e431fb8789d
Resolves: #39726
Releases: 6.0
Reviewed-on: http://review.typo3.org/13612
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[FEATURE] Add support for native date/time fields
Xavier Perseguers [Sun, 15 Jul 2012 15:01:23 +0000 (17:01 +0200)]
[FEATURE] Add support for native date/time fields

TYPO3 stores date and date/time values as a Unix timestamp.
This feature allows native database types to be used instead.

Native fields must be marked in the TCA using the key "dbType":

'my_native_date' => array(
    'exclude' => 0,
    'label' => 'My native date',
    'config' => array(
        'dbType'   => 'date',
        'type'     => 'input',
        'size'     => '8',
        'max'      => '20',
        'eval'     => 'date',
        'checkbox' => '0',
        'default'  => '0'
    )
),

Supported types for "dbType" are: date, datetime

Change-Id: I078047abd7a93e16cfca7f1fec3fe52109c6d347
Resolves: #38965
Releases: 6.0
Reviewed-on: http://review.typo3.org/12808
Reviewed-by: Marcus Schwemer
Tested-by: Marcus Schwemer
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[BUGFIX] Fix failing t3lib_log tests
Ingo Renner [Fri, 17 Aug 2012 10:57:56 +0000 (12:57 +0200)]
[BUGFIX] Fix failing t3lib_log tests

Some tests for t3lib_log are failing in some cases, because
the fixture classes are not available. They are available
when executing the tests with the phpunit backend module
because the files are named *_test.php, recognized as
test files and thus required.

To avoid this confusion, the fixture classes are now moved
to a fixture directory and renamed so that they not end with *_test.php
To be consistent the class names are also renamed.

Change-Id: Ia5efce2909111b79ed6c836c4c704a78faacdc65
Fixes: #39885
Releases: 6.0
Reviewed-on: http://review.typo3.org/13854
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[FEATURE] TypoScript: Allow easy comparison against multiple values
Stefan Neufeind [Sat, 11 Aug 2012 01:53:25 +0000 (03:53 +0200)]
[FEATURE] TypoScript: Allow easy comparison against multiple values

Allow easy comparison like:
[globalVar = TSFE:id = 10|12|15]   (in list)
[globalVar = TSFE:id != 10|12|15]  (not in list)

Change-Id: Iae920720ae6058c2cd741f74204c2fbce779e00f
Resolves: #39700
Releases: 6.0
Reviewed-on: http://review.typo3.org/13589
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Ingo Renner
Tested-by: Ingo Renner
7 years ago[FEATURE][DB][CONF]: Add a central logging API
Steffen Müller [Sun, 12 Aug 2012 01:54:56 +0000 (03:54 +0200)]
[FEATURE][DB][CONF]: Add a central logging API

Change-Id: I58ec40a9ede4458374a33317e861a3064e518e2b
Resolves: #39712
Depends: #39738 (Documentation)
Releases: 6.0
Reviewed-on: http://review.typo3.org/13604
Reviewed-by: Ingo Renner
Tested-by: Ingo Renner
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 years ago[FEATURE] HMENU - sectionIndex: where clause should be configurable
Stefan Galinski [Wed, 25 Jul 2012 11:27:29 +0000 (13:27 +0200)]
[FEATURE] HMENU - sectionIndex: where clause should be configurable

This changeset implements the sectionIndex setting
"useColPos" that can be used to change the colPos
query filter. A negative value drops the filter
completely. Only integers are allowed as values
and stdWrap is possible.

Example:
tt_content.menu.20.3.1.sectionIndex.useColPos = -1

Change-Id: Ic65cdee014aa7972e3d28504a678a001355ed312
Resolves: #21142
Releases: 6.0
Reviewed-on: http://review.typo3.org/11251
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Stefan Galinski
Tested-by: Stefan Galinski
7 years ago[SECURITY] XSS in install tool
Mario Rimann [Wed, 15 Aug 2012 10:22:16 +0000 (12:22 +0200)]
[SECURITY] XSS in install tool

In the "Basic Configuration" section, some configuration values are
rendered without proper escaping both as input fields or as
regular content of the page. These values are htmlspecialchars-
treated now.

For the "All Configuration" form, all input fields and text area fields get now htmlspecialchars-treated.

Change-Id: I141efa5ad610bda4608f65c136af472cc3c4ec73
Fixes: #21634
Releases: 6.0, 4.7, 4.6, 4.5
Security-Commit: 1063d380e3532b69c24800f20b1127af70f820a0
Security-Bulletin: TYPO3-CORE-SA-2012-004
Reviewed-on: http://review.typo3.org/13774
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[SECURITY] Page Link Target vulnerable to XSS
Markus Bucher [Wed, 15 Aug 2012 10:22:05 +0000 (12:22 +0200)]
[SECURITY] Page Link Target vulnerable to XSS

This patch adds htmlspecialchars to page link target to prevent
XSS.

Change-Id: I5e9f07ec7465cd8658c4761328b394559cf9a53b
Fixes: #32653
Releases: 6.0, 4.7, 4.6, 4.5
Security-Commit: 5de8ebf8a53e744fa9ce06a9e02835c7a637a664
Security-Bulletin: TYPO3-CORE-SA-2012-004
Reviewed-on: http://review.typo3.org/13773
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[SECURITY] XSS in validateForm
Markus Bucher [Wed, 15 Aug 2012 10:21:56 +0000 (12:21 +0200)]
[SECURITY] XSS in validateForm

Properly quote the form name and field list
for the JavaScript validation

Fixes: #25052
Releases: 6.0, 4.7, 4.6, 4.5

Change-Id: I328a3a39e3034c55de96d403994a450d9397f389
Security-Bulletin: TYPO3-CORE-SA-2012-004
Reviewed-on: http://review.typo3.org/13772
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[SECURITY] XSS in TCE forms
Christian Kuhn [Wed, 15 Aug 2012 10:21:47 +0000 (12:21 +0200)]
[SECURITY] XSS in TCE forms

Properly encode field labels that are set via TSConfig.

Fixes: #25356
Releases: 6.0, 4.7, 4.6, 4.5

Change-Id: Ie61322d25c28cf953d3662fbd78febf64a21a970
Security-Bulletin: TYPO3-CORE-SA-2012-004
Reviewed-on: http://review.typo3.org/13771
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[SECURITY] XSS in Scheduler Example Task
Mario Rimann [Wed, 15 Aug 2012 10:21:35 +0000 (12:21 +0200)]
[SECURITY] XSS in Scheduler Example Task

The scheduler test-task that sends an email does not properly
sanitize the input of the email field when rendering the editing
form of that task.

Change-Id: Ic77e50b339488acb5b811e35aaa558e26ac6193e
Fixes: #30967
Releases: 6.0, 4.7, 4.6, 4.5
Security-Commit: d72a6e273edb2e249c1f544f0d6b7139aecdc825
Security-Bulletin: TYPO3-CORE-SA-2012-004
Reviewed-on: http://review.typo3.org/13770
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[SECURITY] HTML5 support in RemoveXSS
Franz G. Jahn [Wed, 15 Aug 2012 10:21:26 +0000 (12:21 +0200)]
[SECURITY] HTML5 support in RemoveXSS

Add support for HTML5 tags and attributes in RemoveXSS.

Change-Id: I4c51967b213b9bfe532887767a9b1cdcb182e9d7
Fixes: #37127
Releases: 6.0, 4.7, 4.6, 4.5
Security-Commit: 6ad77fddb6e264cd2ef763446c79a30a6cee0a2a
Security-Bulletin: TYPO3-CORE-SA-2012-004
Reviewed-on: http://review.typo3.org/13769
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[SECURITY] Information Disclosure in the Configuration Module
Mario Rimann [Wed, 15 Aug 2012 10:21:16 +0000 (12:21 +0200)]
[SECURITY] Information Disclosure in the Configuration Module

The configuration module showed the encryption key as plaintext.
For this view, the encryption key is masked and it's length is
shown instead, e.g. "***** (length: 96 characters)"

Change-Id: I16145e76a60d15d8e9575ef0cc5cf3cd54b1b6b1
Fixes: #39345
Releases: 6.0, 4.7, 4.6, 4.5
Security-Commit: c9b4932c07d1b95c47e5c184b74c2d3493db3b06
Security-Bulletin: TYPO3-CORE-SA-2012-004
Reviewed-on: http://review.typo3.org/13768
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[SECURITY] Untrusted GP data is unserialized in old CSH handling
Marcus Krause [Wed, 15 Aug 2012 10:21:04 +0000 (12:21 +0200)]
[SECURITY] Untrusted GP data is unserialized in old CSH handling

Using the old and already deprecated CSH handling in TYPO3 backend,
untrusted GP data is unserialized. There's no longer a code path
in TYPO3 to generate the GP data. So we can safely remove all
leftovers.

Change-Id: I522cc774e65754ebbf05e6d1df65da41e7ab3f8a
Fixes: #33520
Releases: 6.0, 4.7, 4.6, 4.5
Security-Commit: ac048ef7f8a789b218c2fa170747122beb594277
Security-Bulletin: TYPO3-CORE-SA-2012-004
Reviewed-on: http://review.typo3.org/13767
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[SECURITY] XSS in Indexed Search statistics
Steffen Gebert [Wed, 15 Aug 2012 10:20:54 +0000 (12:20 +0200)]
[SECURITY] XSS in Indexed Search statistics

Indexed Search statistics module is vulnerable to
persistent XSS attack injected by arbitrary frontend users.

Change-Id: Ieb87cfff20a5e49522a2410d24a3b2ae141535a0
Fixes: #31927
Releases: 6.0, 4.7, 4.6, 4.5
Security-Commit: 9aa89980af0db90bfc535f4858fc61036c3d8170
Security-Bulletin: TYPO3-CORE-SA-2012-004
Reviewed-on: http://review.typo3.org/13766
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[SECURITY] t3lib_div::quoteJSvalue allows XSS
Helmut Hummel [Wed, 15 Aug 2012 10:20:47 +0000 (12:20 +0200)]
[SECURITY] t3lib_div::quoteJSvalue allows XSS

When t3lib_div::quoteJSvalue() was used with second
parameter set to TRUE closing HTML script tags were
not escaped correctly.

Now every character except harmless ones is encoded
to a hex representation.

Change-Id: I4ce17c924458bc4db659b2d37e7932cc9b0c340d
Releases: 6.0, 4.7, 4.6, 4.5
Fixes: #23226
Security-Commit: ee1778ab0c7b4525dbabab4fcb94eb112b767e69
Security-Bulletin: TYPO3-CORE-SA-2012-004
Reviewed-on: http://review.typo3.org/13765
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[TASK] Raise submodule pointer
TYPO3 Release Team [Wed, 15 Aug 2012 10:14:25 +0000 (12:14 +0200)]
[TASK] Raise submodule pointer

Change-Id: I5484ffc0b383ccf14fdf9252514a324c26bc74e0
Reviewed-on: http://review.typo3.org/13734
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
7 years ago[TASK] Abstract t3lib_file_exception_abstractFileOperationException
Christian Kuhn [Tue, 14 Aug 2012 22:16:05 +0000 (00:16 +0200)]
[TASK] Abstract t3lib_file_exception_abstractFileOperationException

Class t3lib_file_exception_abstractFileOperationException is never
thrown itself and only extended. It should be abstract.

Change-Id: I98611945801259cb9aa9ee24e6aa6649d327e179
Releases: 6.0
Resolves: #39817
Reviewed-on: http://review.typo3.org/13696
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Declare t3lib_treeView abstract
Christian Kuhn [Tue, 14 Aug 2012 22:03:36 +0000 (00:03 +0200)]
[TASK] Declare t3lib_treeView abstract

t3lib_treeView is the base class for trees and is always
extended by other classes for specific trees.
The patch adds the abstract keyword to the class declaration.

Change-Id: I5a54f1339ccf84c16671d0dd19bb4bc9d1f5747c
Resolves: #39816
Releases: 6.0
Reviewed-on: http://review.typo3.org/13695
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Declare t3lib_recordList abstract
Christian Kuhn [Tue, 14 Aug 2012 21:53:08 +0000 (23:53 +0200)]
[TASK] Declare t3lib_recordList abstract

Class t3lib_recordList is a base class for record lists
that is only extended by other classes. It can not be used
standalone and should be abstract.

Change-Id: I35ea02164726c6befda4edaa0d5c3eed027b18c0
Releases: 6.0
Resolves: #39815
Reviewed-on: http://review.typo3.org/13694
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Declare t3lib_extobjbase abstract
Christian Kuhn [Tue, 14 Aug 2012 21:35:21 +0000 (23:35 +0200)]
[TASK] Declare t3lib_extobjbase abstract

The base class of sub-sub-modules is always exentended
by specific classes and should be declared abstract.

Additionally, some reformatting of the main comment
header is done.

Change-Id: Ib95005f906a5c7c5fc30ae38ba07f99f9b6b8611
Releases: 6.0
Resolves: #39813
Reviewed-on: http://review.typo3.org/13693
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Merge t3lib_userAuthGroup to t3lib_beUserAuth
Christian Kuhn [Sun, 5 Aug 2012 16:15:15 +0000 (18:15 +0200)]
[TASK] Merge t3lib_userAuthGroup to t3lib_beUserAuth

t3lib_userAuthGroup is an abstract class that is only extended by
t3lib_beUserAuth. The comment states for ages that the two classes
could be merged. The patch merges all properties and methods from
t3lib_beUserAuth to t3lib_userAuthGroup and deprecates the latter.

Change-Id: Iaf12dd6b3f3aba36f5b87efc38ae60962a5f5bd9
Resolves: #39538
Releases: 6.0
Reviewed-on: http://review.typo3.org/13467
Reviewed-by: Oliver Klee
Reviewed-by: Wouter Wolters
Reviewed-by: Felix Kopp
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] autoloader should ignore non existing extensions
Georg Ringer [Thu, 9 Aug 2012 13:56:08 +0000 (15:56 +0200)]
[BUGFIX] autoloader should ignore non existing extensions

When building the core registry a call to t3lib_extMgm::extPath() is done
for every extension of the LocalConfiguration/localconf.php
Sometimes the extension is not installed anymore which was never a problem
in earlier versions.

The change catches the exception and ignores this extension when building
the registry.

Change-Id: I79e34758617675957c732bbd533302adbb2edab0
Resolves: #39649
Releases: 6.0, 4.7, 4.6
Reviewed-on: http://review.typo3.org/13541
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Oliver Klee
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] replace non-free jsmin.php with hook
Christian Welzel [Tue, 15 Nov 2011 20:09:30 +0000 (21:09 +0100)]
[BUGFIX] replace non-free jsmin.php with hook

jsmin.php has a non free license. See referenced bug report for
details. This patch replaces jsmin.php with a hook to provide a
way for extensions to implement own compression algorithms.

Change-Id: I1fc5bfe29aaa20692c4323dd28d5c0a95863cf3d
Fixes: #31832
Releases: 6.0
Reviewed-on: http://review.typo3.org/6682
Reviewed-by: Marcus Schwemer
Tested-by: Marcus Schwemer
Reviewed-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] config.pageTitleSeparator not known by t3editor
Jigal van Hemert [Sun, 12 Aug 2012 13:50:57 +0000 (15:50 +0200)]
[BUGFIX] config.pageTitleSeparator not known by t3editor

Change-Id: Ia055fb8aceb50271bf25e5d15b56d9dcde13a5aa
Fixes: #39600
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/13613
Reviewed-by: Tobias Liebig
Tested-by: Tobias Liebig
Reviewed-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 years ago[TASK] Cleanup multiple classes of "localPageTree": EXT:impexp
Andy Grunwald [Sun, 8 Jul 2012 13:03:08 +0000 (15:03 +0200)]
[TASK] Cleanup multiple classes of "localPageTree": EXT:impexp

The TYPO3 core has more than one class with the name "localPageTree"
This is not very good, because this classes can`t be loaded via
autoloader due to same names.
The autoloader don`t know which must be loaded.

Solution: Lets clean this mess up!

This patch will handle the localPageTree class in EXT:impexp

Change-Id: I439ddfce66a6d68ddbc774f36e1f285c41cd62e0
Fixes: #38756
Related: #38754
Releases: 6.0
Reviewed-on: http://review.typo3.org/12710
Reviewed-by: Wouter Wolters
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Stefan Neufeind
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 years ago[TASK] Update graphics in install tool to match recent guidelines
Ingo Pfennigstorf [Fri, 6 Jul 2012 08:14:32 +0000 (10:14 +0200)]
[TASK] Update graphics in install tool to match recent guidelines

Created new AI and PDF files for the install tool image processing
section with the current TYPO3 Logo and the Share Font.

Change-Id: I5e552ce5294d80e5fc80670d90557b64985c9038
Fixes: #37720
Releases: 6.0
Reviewed-on: http://review.typo3.org/12658
Reviewed-by: Mario Rimann
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Felix Kopp
Tested-by: Felix Kopp
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 years ago[TASK] Update jQuery to 1.8.0 (final)
Stefan Neufeind [Sat, 11 Aug 2012 13:14:53 +0000 (15:14 +0200)]
[TASK] Update jQuery to 1.8.0 (final)

TYPO3 shipped with 1.8b1 already.
Final is out meanwhile.

Change-Id: Ia418fb63d22f518a9224ad1cc4c183817acdd12a
Resolves: #39705
Releases: 6.0
Reviewed-on: http://review.typo3.org/13591
Reviewed-by: Daniel Sattler
Tested-by: Daniel Sattler
Reviewed-by: Philipp Gampe
Reviewed-by: Helmut Hummel
Reviewed-by: Felix Kopp
Tested-by: Felix Kopp
Reviewed-by: Marcus Schwemer
Tested-by: Marcus Schwemer
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 years ago[TASK] Reports module based on extbase
Georg Ringer [Tue, 31 Jul 2012 16:48:29 +0000 (18:48 +0200)]
[TASK] Reports module based on extbase

The reports module can be done with extbase

Change-Id: I6f40dca7d3d5dc84af0788a573f1caa669d773ec
Resolves: #39427
Releases: 6.0
Reviewed-on: http://review.typo3.org/13418
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[FEATURE][DB] Change tinyint to int in standard tables
Marcus Schwemer [Mon, 13 Aug 2012 20:23:36 +0000 (22:23 +0200)]
[FEATURE][DB] Change tinyint to int in standard tables

At the moment it's not possible to use higher IDs as 255 for e.g.
section_frame or layout. Higher integer ranges for ids are useful to
structure your work on bigger installations.

Change-Id: I389dd2c2d32f4d80fa74d1065fb148c75accd782
Resolves: #39773
Releases: 6.0
Reviewed-on: http://review.typo3.org/13636
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Correct PHPdoc comments in t3lib_utility_Math
Steffen Gebert [Mon, 13 Aug 2012 06:54:22 +0000 (08:54 +0200)]
[TASK] Correct PHPdoc comments in t3lib_utility_Math

Change-Id: Icddd3a865af52e5ca4e6ef60839fbd53b37a833d
Releases: 6.0
Reviewed-on: http://review.typo3.org/13619
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
7 years ago[BUGFIX] CE with "All languages" doesn't show with every lang
Marcus Schwemer [Tue, 19 Jun 2012 06:55:48 +0000 (08:55 +0200)]
[BUGFIX] CE with "All languages" doesn't show with every lang

The page module should also list the content elements
with language set to "All". Now elements set to "All" are displayed
in all languages, not only with the default language.

Change-Id: I2b0875e1993b3af29fbdec4f700b16a7c56696d8
Fixes: #24087
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/12185
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Stefan Neufeind
Reviewed-by: Felix Kopp
Tested-by: Felix Kopp
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 years ago[FEATURE] Add t3lib_utility_Math::isIntegerInRange
Steffen Gebert [Sun, 12 Aug 2012 17:59:39 +0000 (19:59 +0200)]
[FEATURE] Add t3lib_utility_Math::isIntegerInRange

Change-Id: Icf8567dc009d86b9795823009572555422f5c7ad
Resolves: #39739
Releases: 6.0
Reviewed-on: http://review.typo3.org/13617
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 years ago[BUGFIX] Test failures in cli context
Christian Kuhn [Sun, 12 Aug 2012 09:45:36 +0000 (11:45 +0200)]
[BUGFIX] Test failures in cli context

Patch 1ad2cb85d9ebd441 for issue #39706 broke some iconWorks tests in
cli context. Solution is to make the initialize method of the sprite
manager a bit smarter. This allows a delayed initialization,
for example in unit tests that need it.

Change-Id: Ib1f85446cf5304b03c29e52e5be588ed12f9b0de
Resolves: 6.0
Releases: #39717
Related: #39706
Reviewed-on: http://review.typo3.org/13606
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Sprite manager cache race condition
Christian Kuhn [Sat, 11 Aug 2012 13:45:38 +0000 (15:45 +0200)]
[BUGFIX] Sprite manager cache race condition

If the sprite manager is initialized in the frontend with empty caches,
the cache content will not be rendered correctly due to missing
information in frontend scope.
Solution is to not initialize the sprite manager in frontend and cli
context at all, they are not needed anyway. feedit works as before.

Change-Id: I5949f10d2383f4c259e0d86efe85960589ccf1a1
Resolves: #39706
Releases: 6.0
Reviewed-on: http://review.typo3.org/13592
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Avoid logout when changing the encryption key
Helmut Hummel [Fri, 10 Aug 2012 12:30:08 +0000 (14:30 +0200)]
[BUGFIX] Avoid logout when changing the encryption key

Due to the change to hmac to generate the hash for
the session save path in #39653 one is now logged out
of the install tool when changing the encryption key.

Change the encryption key at runtime and ensure that the
new session directory is created to avoid the logout.

Change-Id: Ia4625105b5c26fb7bfafd92f51d22a4466f5ca34
Fixes: #39688
Relates: #39653
Releases: 6.0
Reviewed-on: http://review.typo3.org/13569
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[BUGFIX] Warning in list module
Philipp Gampe [Thu, 9 Aug 2012 15:08:12 +0000 (17:08 +0200)]
[BUGFIX] Warning in list module

The function addElement needs to have an array as third argument.

Change-Id: Ief786c358476da4d691cb89212b19c397b4a353f
Fixes: #39678
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/13559
Reviewed-by: Michael Cannon
Reviewed-by: Mattias Nilsson
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[TASK] NEWS.txt entry for EXT:beuser refactoring
Christian Kuhn [Thu, 9 Aug 2012 21:08:23 +0000 (23:08 +0200)]
[TASK] NEWS.txt entry for EXT:beuser refactoring

Change-Id: I4e4747ceb4470bec97e640b1c36d8da7df922722
Resolves: #39670
Releases: 6.0
Reviewed-on: http://review.typo3.org/13553
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Increase log_data field size to prevent corrupted data
Bart Dubelaar [Thu, 9 Aug 2012 08:46:00 +0000 (10:46 +0200)]
[BUGFIX] Increase log_data field size to prevent corrupted data

Stage change data is corrupted when comments longer than ~250 characters
are entered. The comment itself is lost aswell as the stage id.
This is fixed by choosing a more suitable (larger) field type for
sys_log.log_data.

Issue also exists in 4.7, 4.6, 4.5 but fix is probably not
backportable due to the change in the table definition.

Change-Id: I104bb2dbed75ebca6c063334ada543ef544f7b10
Fixes: #38403
Releases: 6.0
Reviewed-on: http://review.typo3.org/13531
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Steffen Müller
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Cleanup Install Tool session class
Helmut Hummel [Thu, 9 Aug 2012 14:39:00 +0000 (16:39 +0200)]
[TASK] Cleanup Install Tool session class

The InstallTool session class may add several session folders
in typo3temp. Make these folders to be subdirectory of
InstallToolSessions and use hmac to calculate the folder name.
Additionally cleanup some doc comments.

Change-Id: I247fe202e2ea7578653641abff5dc2bd3bea28d1
Releases: 6.0
Resolves: #39653
Reviewed-on: http://review.typo3.org/13546
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[TASK] Raise submodule pointer
TYPO3 Release Team [Wed, 8 Aug 2012 12:32:54 +0000 (14:32 +0200)]
[TASK] Raise submodule pointer

Change-Id: I9ce1f0e03d9e37271d969e1281ed0bd7552ba6e6
Reviewed-on: http://review.typo3.org/13520
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
7 years ago[TASK] Fix typos in core
Georg Ringer [Wed, 8 Aug 2012 05:43:37 +0000 (07:43 +0200)]
[TASK] Fix typos in core

Fix more typos in the core

Resolves: #39606
Releases: 6.0

Change-Id: I0e6c3e59ead3e55623c7a5e13692889fe7dc9ac3
Reviewed-on: http://review.typo3.org/13513
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[BUGFIX] EXT:beuser must have frontend root TS template
Christian Kuhn [Tue, 7 Aug 2012 21:50:27 +0000 (23:50 +0200)]
[BUGFIX]  EXT:beuser must have frontend root TS template

Due to the current bootstrap structure of extbase, an extbase
based backend module must have a TypoScript frontend root template.
The patch introduces a descriptive exception message in case
this is not given.

Furthermore, the dependency injection configuration is moved
to an own file within the extension and moved to module.beuser
TS instead of global extbase scope.

Change-Id: Id621b856a3ad2297a20612e911186be473a63602
Resolves: #39602
Releases: 6.0
Reviewed-on: http://review.typo3.org/13509
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Fix PHP warning in EXT:beuser
Georg Ringer [Tue, 7 Aug 2012 08:48:49 +0000 (10:48 +0200)]
[BUGFIX] Fix PHP warning in EXT:beuser

Initialize moduleData compareUserList as array to
not trigger a warning if method getCompareUserList array_keys()
is called for the first time on a not previously initialized
data object.

Change-Id: Ic80df4937bb7e74a6ba27697791cfd7c0d7a2d54
Resolves: #39577
Releases: 6.0
Reviewed-on: http://review.typo3.org/13492
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Page module FlashMessage position
Felix Kopp [Fri, 3 Aug 2012 09:47:41 +0000 (11:47 +0200)]
[BUGFIX] Page module FlashMessage position

Moves the FlashMessages in Page backend module underneath the page title.
Also moves the message text from the message title to the message body.

Change-Id: Ia0b2fe25450b30cfc008b274a072a3308c092b7c
Resolves: #39507
Releases: 6.0
Reviewed-on: http://review.typo3.org/13436
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Use simple file backend for core php cache
Christian Kuhn [Sun, 5 Aug 2012 16:54:15 +0000 (18:54 +0200)]
[TASK] Use simple file backend for core php cache

This patch adds a new php cache to the core that is exclusivly used
by the core for php code. It uses the quicker simple file cache backend.
This backend has no tagging functionality. If an entry needs to be
dropped, the whole cache is flushed now.

Change-Id: I33c9e1dc01c6a8c6ec463cd795657833a4ea7646
Resolves: #39539
Releases: 6.0
Reviewed-on: http://review.typo3.org/13468
Reviewed-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] sectionIndex menu is not i18n ready
Stefan Galinski [Wed, 16 May 2012 15:42:36 +0000 (17:42 +0200)]
[BUGFIX] sectionIndex menu is not i18n ready

Change-Id: I34281d801f292530a1618d8b38eafac22b02b511
Fixes: #36616
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/11249
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Markus Klein
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Fix more typos in the core
Georg Ringer [Tue, 7 Aug 2012 05:25:15 +0000 (07:25 +0200)]
[TASK] Fix more typos in the core

Change-Id: I69e63dd7bd03ad03bca3b825fbd4b5b2376386a0
Resolves: #39565
Releases: 6.0
Reviewed-on: http://review.typo3.org/13490
Reviewed-by: Oliver Klee
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Exception "Could not create directory"
Michael Klapper [Tue, 7 Aug 2012 11:46:08 +0000 (13:46 +0200)]
[BUGFIX] Exception "Could not create directory"

The thrown exception is not that helpful while information
about the path is missing.

Change-Id: I3d3411a4ebcce8b1bfecbeb12aba58ceafa89ce4
Fixes: #39583
Releases: 6.0, 4.7, 4.6
Reviewed-on: http://review.typo3.org/13495
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
7 years ago[TASK] Deprecate t3lib_ajax
Christian Kuhn [Sun, 5 Aug 2012 12:14:04 +0000 (14:14 +0200)]
[TASK] Deprecate t3lib_ajax

Class t3lib_ajax is of little use and was never finished.
The only use in the core is adapted and the class deprecated.

Change-Id: I4b6f8d49f823ae01f1172a34de600c05312a51c8
Resolves: #39536
Releases: 6.0
Reviewed-on: http://review.typo3.org/13464
Reviewed-by: Wouter Wolters
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[FEATURE] Migrate EXT: beuser to Extbase
Felix Kopp [Fri, 20 Jul 2012 17:23:34 +0000 (19:23 +0200)]
[FEATURE] Migrate EXT: beuser to Extbase

This patchset includes a new backend user administration.

Based on extbase a model for BackendUsers is included.
All users can be listed and the listing can be filtered by
* username
* usergroup
* admin/non-admin
* active/inactive
* ever logged in.

The user listing includes the last login column also the
limit of 1.000 users was removed and pagination integrated.

Selected users can be compared in a table view.
All active backend user sessions are listed - can be terminated.

Of course the SU/change user feature was migrated.
Clickmenu was widely integrated to allow editing right away.

Change-Id: I32569c848581a49b3948e093d717dad50e973c5d
Resolves: #39141
Resolves: #5288
Resolves: #37949
Resolves: #33427
Resolves: #18602
Resolves: #15494
Releases: 6.0
Reviewed-on: http://review.typo3.org/12935
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] backColor transparent causes black background or flickering
Georg Grossberger [Fri, 17 Feb 2012 10:17:51 +0000 (11:17 +0100)]
[BUGFIX] backColor transparent causes black background or flickering

When a GIFBUILDER object has set its backColor option to transparent,
the background may be black when adding a IMAGE object to it, and inner
areas of TEXT elements may be completly transparent, ignoring the
transparency by underlying elements.

This patch, removes the "imagealphablending" function calls, which
caused the latter issue and adds an additional check to the
tslib_stdGraphic::imagecopyresized method to prevent useage of the
imagecopyresized_fix workaround when working with transparency, as
it is responsible for the black background.

Backwards compatibility is not affected, since upgraded systems will
not have a backColor=transparent setting, thus have the property
saveAlphaLayer set to FALSE in any case.

Change-Id: I938802373b9afea03cb49a5e034d82bec0d6c664
Fixes: #32781
Releases: 6.0, 4.7, 4.6
Reviewed-on: http://review.typo3.org/9070
Reviewed-by: Wouter Wolters
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 years ago[TASK] Remove unused interface t3lib_File_Service_Publishing_Publisher
Christian Kuhn [Sun, 5 Aug 2012 13:10:25 +0000 (15:10 +0200)]
[TASK] Remove unused interface t3lib_File_Service_Publishing_Publisher

This interface hangs around in the core but is never used.
It is removed until it gives a real benefit and the FAL "publishing"
concept stabilized.

Change-Id: I88b7a2653ec7ca9b8a9f5c7df409dd906c4e68d1
Resolves: #39537
Releases: 6.0
Reviewed-on: http://review.typo3.org/13465
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[-FEATURE] Remove xml export in fullsearch, deprecate t3lib_xml
Christian Kuhn [Sun, 5 Aug 2012 11:58:14 +0000 (13:58 +0200)]
[-FEATURE] Remove xml export in fullsearch, deprecate t3lib_xml

Class t3lib_xml was thought as a base class to export arbitrary records
as XML. Its current state is semi useful and more a loose collection of
somehow related methods without a real concept. The XML export
functionality in the lowlevel dbint fullsearch module is its only usage.

The export feature is dropped from the fullsearch module now (there is
still a csv export). t3lib_xml is then unused and deprecated.

Change-Id: I781197d6f0ddb6a68f87f033c4d652e2096e0d72
Resolves: #39535
Releases: 6.0
Reviewed-on: http://review.typo3.org/13463
Reviewed-by: Georg Ringer
Reviewed-by: Oliver Klee
Reviewed-by: Wouter Wolters
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Remove "Page Information"
Felix Kopp [Fri, 3 Aug 2012 19:42:19 +0000 (21:42 +0200)]
[TASK] Remove "Page Information"

Removes the Page Information function from page backend module.
Also removes the Page Information table from within the Info>Pagetree.
Deprecates the function to show the info box.

The show_item function from within (i) icon already includes all infos.

Change-Id: I2f84fe6129f8c57c29610443b20064993ae0736c
Resolves: #37935
Releases: 6.0
Reviewed-on: http://review.typo3.org/13443
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 years ago[BUGFIX] Incorrect search-results when searching for part of word
Tymoteusz Motylewski [Fri, 27 Jul 2012 21:17:47 +0000 (23:17 +0200)]
[BUGFIX] Incorrect search-results when searching for part of word

Added missing 'self::' before constants. Now search will also find
matches for parts of words.

Credit goes to Mats Svensson and Andreas Kiessling for spotting
the issue and providing patch.

Change-Id: Iddb3a6e10406895a69010b67ddb8b07066229a62
Fixes: #38548
Releases: 4.7, 6.0
Reviewed-on: http://review.typo3.org/13215
Reviewed-by: Oliver Salzburg
Tested-by: Oliver Salzburg
Reviewed-by: Oliver Klee
Reviewed-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Possible fatal if sys_notes table is broken
Anja Leichsenring [Sat, 4 Aug 2012 16:44:59 +0000 (18:44 +0200)]
[BUGFIX] Possible fatal if sys_notes table is broken

Change-Id: I581f48bd031344aa43aa227f7c5e0a34e1cd3ea8
Fixes: #39528
Releases: 6.0
Reviewed-on: http://review.typo3.org/13451
Reviewed-by: Markus Günther
Tested-by: Markus Günther
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Pass $fieldName when processing FlexForm DS in t3lib_transferData
Claus Due [Sat, 4 Aug 2012 15:57:52 +0000 (17:57 +0200)]
[BUGFIX] Pass $fieldName when processing FlexForm DS in t3lib_transferData

This change simply adds $fieldName to the "real" call to process
the FlexForm's DS. The argument is already supported on the target
class and the value of the argument for the dispatching method in
t3lib_transferData already is properly filled with the correct name.

Change-Id: Ief2f07bca064ae4eed248bb058b4884bcdc7ed96
Releases: 4.5, 4.6, 4.7, 6.0
Fixes: #39527
Reviewed-on: http://review.typo3.org/13450
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 years ago[TASK] Follow-up: Remove record_list icon
Felix Kopp [Sat, 4 Aug 2012 16:36:02 +0000 (18:36 +0200)]
[TASK] Follow-up: Remove record_list icon

Removes the record_list icon from the docHeader in modules:

* info
* functions
* permissions/access
* tstemplate
* import/export
* new page wizard
* quickedit
* version (submodule)

This icon links to List module but does not bring the backend
to a consistent state. The module bar is e.g. not updated.

The decision to remove the icon was taken at UX sprint 2012.

Change-Id: I0cb6b6c01ec567cb279db089dfcc6b061430fef4
Releases: 6.0
Resolves: #38828
Reviewed-on: http://review.typo3.org/13452
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[!!!][-FEATURE] Remove page hit statistics
Mario Rimann [Sat, 28 Jul 2012 15:37:21 +0000 (17:37 +0200)]
[!!!][-FEATURE] Remove page hit statistics

The feature of logging each page request either to a database
table or to an "apache-style"-logfile is rarely used these days
and the functionality can be replaced by the well-known tools
that act on client side (e.g. Google Analytics or Piwik).

Change-Id: Idd69bb485a968ba136b456577a3a5a086dbd3dfa
Resolves: #39347
Releases: 6.0
Reviewed-on: http://review.typo3.org/13229
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Philipp Gampe
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] Description of pidSelect in class.db_list.inc is misleading
cybercraft [Mon, 16 Apr 2012 11:46:07 +0000 (13:46 +0200)]
[BUGFIX] Description of pidSelect in class.db_list.inc is misleading

Tell the user that this is not just a list of IDs but a query part with
the fieldname and the operator.

Change-Id: I45df860dca66b81620dc74884f9b39fbe5bf80ad
Fixes: #36154
Releases: 6.0
Reviewed-on: http://review.typo3.org/10549
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] t3lib_db - expects parameter 1 to be resource, boolean given
Michael Klapper [Fri, 3 Aug 2012 10:23:35 +0000 (12:23 +0200)]
[BUGFIX] t3lib_db - expects parameter 1 to be resource, boolean given

The method t3lib_db::debug_check_recordset should use
"is_resource" to be sure we have a proper database resource object.

Change-Id: I18f25760d53d3bd3d8e396b40dbf3727b3bf33c8
Fixes: #39509
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/13438
Reviewed-by: Michael Klapper
Tested-by: Michael Klapper
Reviewed-by: Oliver Klee
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Fix typo 'usefull' => 'useful'
Georg Ringer [Fri, 3 Aug 2012 05:51:37 +0000 (07:51 +0200)]
[BUGFIX] Fix typo 'usefull' => 'useful'

Several times usefull is used instead of useful.

Change-Id: Id8377d99fd94a20f4dd6261069f3b3dbb417d21d
Fixes: #39499
Releases: 6.0
Reviewed-on: http://review.typo3.org/13431
Reviewed-by: Stefan Busemann
Tested-by: Stefan Busemann
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 years ago[FEATURE] Swap doc header rows in all backend modules
Felix Kopp [Sat, 14 Jul 2012 20:07:30 +0000 (22:07 +0200)]
[FEATURE] Swap doc header rows in all backend modules

Swaps all docHeader rows for the backend modules.

Function menu and CSH are moved to the top row while
buttons (save, close and shortcut) are moved underneath.

Also includes a compatibility layer for non-core legacy
extensions that don't include expected template structure.
These non-standard docHeaders are reformated by CSS.
To deliver fall-back logic the HTML structure was redefined.

Change-Id: I345646b053a1587b0f82a9bde43b479b8ca4767e
Resolves: #38759
Resolves: #33508
Releases: 6.0
Reviewed-on: http://review.typo3.org/12788
Reviewed-by: Max Roesch
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn