- Jul 16, 2011
-
-
Stanislas Rolland authored
By default, the content of table cells is always wrapped in paragraph tags when rendered in the frontend even if no paragraphs are entered in the RTE. This RFC changes this default. Non-wrapped content will not be wrapped in paragraph inside a table cell. Change-Id: Ia23d0bbab338d6fb0efc90eb60bdd485a2c2c5f8 Resolves: #25084 Reviewed-on: http://review.typo3.org/3327 Reviewed-by: Susanne Moog Tested-by: Susanne Moog
-
Stefan Neufeind authored
stdWrap was supported at select.andWhere already. Be careful not to use GPvar with this feature without securing it (e.g. with stdWrap.intval) Change-Id: I22c0e2c1c49fdd44ab67b823043a2e07f304e8c8 Resolves: #17881 Reviewed-on: http://review.typo3.org/3337 Reviewed-by: Susanne Moog Tested-by: Susanne Moog
-
Johannes Feustel authored
* List style is missing. * Get rid of inline styles. * Render p instead of li if only one message comes up (e.g. if reports module is installed). Change-Id: Ic24b92c74eb55cb54cc3f76d2207c3b10ab4cbea Releases: 4.6, 4.5 Fixes: #28181 Reviewed-on: http://review.typo3.org/3314 Reviewed-by: Georg Ringer Tested-by: Georg Ringer Reviewed-by: Stefan Neufeind Reviewed-by: Susanne Moog Tested-by: Susanne Moog
-
Christian Kuhn authored
An empty value in the TYPO3_db constant indicates a not configured installation in the front end. The front end then redirects to 1-2-3 installer. This broke with change 89732c4a of #27954 because the check for db constant is done too late. Change the order of the checks during database connection and check if the TYPO3_db constant has a value first. Change-Id: I0a7003d876a747e16552fecf6385b0449de5617a Resolves: #28185 Related: #27954 Reviewed-on: http://review.typo3.org/3316 Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel Reviewed-by: Stefan Neufeind Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Susanne Moog Tested-by: Susanne Moog
-
Xavier Perseguers authored
The patch enables the core autoloader to find class files that are named according to the exbase class and file location naming scheme. This renders ext_autoload.php entries obsolete for class locations that stick to the extbase scheme even if extbase is not used for an extension. The autoloaders within fluid and extbase are not needed anymore. Additionally, the class-to-file information is cached in the core autoloader cache in order to reduce the number of file system lookups for consecutive calls. The patch is covered by unit tests to verify the complex logic. Change-Id: I1af68a2d95cfc590eecffe6d06ea4e4eb58e11ec Resolves: #21144 Related: #28249 Related: #28250 Reviewed-on: http://review.typo3.org/2985 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
Markus Bucher authored
Using '#! /usr/bin/env php' as shebang respects the environment, so if e.g. /usr/local/bin is in your PATH, this php will be chosen. Change-Id: Ia5e6c5ed3c3615bec373b3075daf0f43721584ce Resolves: #24506 Reviewed-on: http://review.typo3.org/3331 Reviewed-by: Andreas Lappe Tested-by: Andreas Lappe Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Stefan Neufeind Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
- Jul 15, 2011
-
-
Christian Kuhn authored
The autoloader cache should be invalidated by the extension manager if installing new or removing old extension from extension list to force a recalculation of available classes on next access. Change-Id: I485dc62aa2d3644136392b7608c77a11cf408332 Resolves: #28219 Related: #28063 Related: #28186 Related: #28187 Reviewed-on: http://review.typo3.org/3339 Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers
-
Christian Kuhn authored
With #28063 many core cache classes are required directly during bootstrap. This makes XCLASS impossible since those base classes are not instantiated with t3lib_div::makeInstance() anymore. t3lib_cache is static and can not be XCLASSED. The caching framework has a built-in feature to register and use own implementations. The patch removes all XCLASS definitions of cache classes. Change-Id: I1e624bb769b899a14491aa3ee1cca9da480ebfb6 Resolves: #28221 Related: #28063 Reviewed-on: http://review.typo3.org/3340 Reviewed-by: Stefan Neufeind Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Xavier Perseguers authored
When using a constant string (e.g., "CSS Styled Content") instead of a localization key (e.g., "LLL:EXT:some_ext/locallang.xml:key"), the constant string should be returned instead of an empty string. Change-Id: I409664dc5174d818e875fd03a7e6c6e7fbda9e91 Fixes: #28223 Reviewed-on: http://review.typo3.org/3345 Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Dominique Feyer Tested-by: Dominique Feyer Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers
-
Steffen Gebert authored
Currently it's listed inline in the text, make it a definition list. Change-Id: I18c2df10a0e18dbc167b40465192909cf30278e6 Resolves: #28024 Reviewed-on: http://review.typo3.org/3174 Reviewed-by: Philipp Gampe Reviewed-by: Stefan Neufeind Reviewed-by: Xavier Perseguers Reviewed-by: Benjamin Mack Tested-by: Benjamin Mack
-
- Jul 14, 2011
-
-
Kilian Hann authored
Extend stdWrap's "case" with "ucfirst" and "lcfirst" keywords to convert the first letter of a sentence to the corresponding form using the current Frontend character set. Change-Id: Ic00989e662724c8a5bdd8c84a6ebdfce79d85319 Resolves: #28018 Reviewed-on: http://review.typo3.org/3171 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Reviewed-by: Jo Hasenau Tested-by: Jo Hasenau Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers
-
Stefan Neufeind authored
Return an empty string to prevent disclosing information unhashed. Change-Id: Id25b85de039797aa7e39225fb0e2b1c75207a505 Resolves: #28120 Reviewed-on: http://review.typo3.org/3324 Reviewed-by: Jo Hasenau Tested-by: Jo Hasenau Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers
-
Dmitry Dulepov authored
Revision 50cbf264 removed the old tslib_pibase constructor without deprecating it first as required by TYPO3 core rules. This breaks every FE plugin, which overrides the old tslib_pibase constructor. The change was commited to Git here: https://review.typo3.org/1797 The fix: reintroduce the old constructor and deprecate it. Change-Id: I66653025b9bf9e2d1e4a0dddb6d0913c50c387c2 Resolves: #28208 Releases: 4.6 Reviewed-on: http://review.typo3.org/3325 Reviewed-by: Jigal van Hemert Tested-by: Jigal van Hemert
-
Christian Kuhn authored
The autoloader creates cache files in phpcode_cache since #28063. Those entries are now tagged with 't3lib_autoloader' to allow selective entry dropping by tag. Change-Id: Ib0591493307623b19b26de30a2923de9fb9cb662 Resolves: #28186 Related: #28063 Related: #28187 Reviewed-on: http://review.typo3.org/3318 Reviewed-by: Georg Ringer Tested-by: Georg Ringer Reviewed-by: Andreas Wolf Tested-by: Andreas Wolf
-
- Jul 13, 2011
-
-
Steffen Kamper authored
It can be useful to enter values with a slider. This change renders values of type time, integer, double or custom items. A demo extension can be found in the issue tracker. Change-Id: Ib01f6668058385901c10ec0b1ed1bb79cbc951b3 Resolves: #25315 Reviewed-on: http://review.typo3.org/1164 Reviewed-by: Andreas Wolf Tested-by: Andreas Wolf
-
- Jul 12, 2011
-
-
Christian Kuhn authored
The patch moves the initialization of the caching framework to config_default.php, prior to the autoload registration. In effect the autoloader can use the phpcode cache to write a full autoload registry that can be required directly to reduce file access overhead. As a side effect the cache system is now always enabled for all access scopes like FE, BE, CLI and so on. Change-Id: I7c548fbabeb6e60b8bd9c4098803c1171bbdbec5 Resolves: #28063 Reviewed-on: http://review.typo3.org/3254 Reviewed-by: Andreas Wolf Tested-by: Andreas Wolf
-
Kay Strobach authored
Transform the margins between entries in the module menu into paddings to avoid that clicks on this margin cause collapsing of the menu section. Change-Id: Id2b75826c91f84904b52567a5e31e240288018fd Resolves: #27634 Releases: 4.6, 4.5 Reviewed-on: http://review.typo3.org/2925 Reviewed-by: Steffen Gebert Tested-by: Steffen Gebert Reviewed-by: Kay Strobach Tested-by: Kay Strobach Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Susanne Moog Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Tested-by: Georg Ringer Reviewed-by: Georg Ringer Reviewed-by: Andreas Wolf Tested-by: Andreas Wolf
-
TYPO3 v4 Release Team authored
Change-Id: I64f262cbd1297fb0bbe284cd585a2b9bbe63a61a Reviewed-on: http://review.typo3.org/3293 Reviewed-by: TYPO3 v4 Release Team Tested-by: TYPO3 v4 Release Team
-
TYPO3 v4 Release Team authored
Change-Id: I4a20ba6c610ded135472b2b12b81ac426d259775 Reviewed-on: http://review.typo3.org/3292 Reviewed-by: TYPO3 v4 Release Team Tested-by: TYPO3 v4 Release Team
-
TYPO3 v4 Release Team authored
Change-Id: Id40808043ee2781645ce113bc61c9cce178487e8 Reviewed-on: http://review.typo3.org/3291 Reviewed-by: TYPO3 v4 Release Team Tested-by: TYPO3 v4 Release Team
-
Benjamin Mack authored
The TYPO3 core currently handles three types of language labels: * splitlabels (very very old): Based on the constant TYPO3_languages, a string is split by |. The only use was the loginLabels but this was changed in 4.3, so they only act as fallback right now. * locallang.php (very old): An array for each language in a .php file. * locallang.xml (currently used): An XML file with labels. Change-Id: Idd6905776af755cf54258fe6723ca1226816655d Resolves: #26519 Reviewed-on: http://review.typo3.org/3058 Reviewed-by: Stefan Neufeind Reviewed-by: Oliver Hader Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers Tested-by: Oliver Hader
-
Andreas Wolf authored
Change-Id: I66e57ae0459f76f79c9f9ae19bdb2a14820adc74 Releases: 4.6, 4.5 Resolves: #28030 Reviewed-on: http://review.typo3.org/3198 Reviewed-by: Stefan Neufeind Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers
-
Xavier Perseguers authored
Remove methods and files scheduled for removal since TYPO3 4.5. Change-Id: I6ea863ae95f0433def4137cd4be1dc01ffc34bce Resolves: #23010 Reviewed-on: http://review.typo3.org/1988 Reviewed-by: Oliver Hader Tested-by: Oliver Hader Reviewed-by: Oliver Klee Reviewed-by: Stefan Neufeind Reviewed-by: Georg Ringer Tested-by: Georg Ringer
-
Georg Ringer authored
If a record is moved by using the "reposition content element" link (e.g in list module), there is no redirect to the original page Change-Id: I7520178bcb38ea7af54bb5b46a78db0db0f29459 Resolves: #27742 Reviewed-on: http://review.typo3.org/2950 Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Stefan Neufeind Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers
-
TYPO3 v4 Release Team authored
Change-Id: I0a8fcc1b4b9a64cb97f7b8d88d7d05c1918023e4 Reviewed-on: http://review.typo3.org/3272 Reviewed-by: TYPO3 v4 Release Team Tested-by: TYPO3 v4 Release Team
-
Helmut Hummel authored
Because of the refactoring of t3lib_div the autoloader is needed earlier in the bootstrap. Move it right after the inclusion of localconf.php Resolves: #28099 Relates: #28026 Releases: 4.6 Change-Id: Ie818c9b791a421c9f85705a75bf50be4068fbdd7 Reviewed-on: http://review.typo3.org/3265 Reviewed-by: Tolleiv Nietsch Tested-by: Tolleiv Nietsch Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers
-
TYPO3 v4 Release Team authored
Change-Id: Ic189835372dcbdb168fc5292915b51aa03ec8cbd Reviewed-on: http://review.typo3.org/3270 Reviewed-by: TYPO3 v4 Release Team Tested-by: TYPO3 v4 Release Team
-
Stefan Neufeind authored
cmpIPv6 makes wrong assumptions about the output of IPv6Hex2Bin(). Also currently only netmasks of /48, /64 and /128 are supported. Added a cleanup for an E_NOTICE on exploding the bitmask. Replaced IPv6Hex2Bin() with php function (same output, just quicker). Added testcases. Change-Id: I816db2b9ce42d13f61ecd7f87406730c424de52f Resolves: #27210 Releases: 4.6, 4.5 Reviewed-on: http://review.typo3.org/2519 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers
-
Dimitri König authored
Clean-up on t3lib_div by moving out method breakLinesForEmail to t3lib_utility_Mail. Change-Id: Icc80c3dc97ebf0af61f1abf9316c840ed53a796e Resolves: #28028 Reviewed-on: http://review.typo3.org/3181 Reviewed-by: Dimitri Koenig Tested-by: Dimitri Koenig Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers
-
Simon Koch authored
Add stdWrap for the typoscript function IMAGE. For content object IMAGE and IMG_RESOURCE. TypoScript: file.params = ImageMagick Command line Change-Id: Icf9b06ebb3c9397220c4e6a17aac0a4e0c6614a4 Resolves: #28032 Reviewed-on: http://review.typo3.org/3211 Reviewed-by: Sebastian Michaelsen Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers
-
Ole Hartwig authored
Since TYPO3 4.5 TEXT and HTML behave the same way. HTML does not really make sense anymore and as such could be deprecated. Change-Id: I0080345efd881e273537db8797e31038d185c36c Resolves: #28015 Releases: 4.6 Reviewed-on: http://review.typo3.org/3210 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Stefan Neufeind Reviewed-by: Sebastian Michaelsen Reviewed-by: Jo Hasenau Tested-by: Jo Hasenau Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers
-
Dominique Feyer authored
If a backend user clears the language/localization cache (t3lib_l10n), the action should be added to sys_log. Change-Id: I038242092e8aede6d6c23d082a3dcb69982a3514 Resolves: #28086 Reviewed-on: http://review.typo3.org/3241 Reviewed-by: Stefan Neufeind Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers
-
Fabrizio Branca authored
Enable hashing the content through stdWrap using different hashing algorithms Change-Id: I0673f33a1ca7bcb5784e5ab9f0def8db5ff7ea4b Resolves: #28095 Releases: 4.6 Reviewed-on: http://review.typo3.org/3257 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers
-
Dominique Feyer authored
By default the clear lang cache should not be enabled. You can enable it if needed with this configuration, in localconf.php: $GLOBALS['TYPO3_CONF_VARS']['SYS']['lang']['cache']['clear_menu'] = TRUE; Change-Id: I1b7796aca65eb45922d85a6ddd9b6220a3bd89ae Resolves: #28086 Reviewed-on: http://review.typo3.org/3239 Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers
-
- Jul 11, 2011
-
-
Susanne Moog authored
As testInt, calcPriority and calcParenthesis were moved and renamed to t3lib_utility_Math we have to change the core usages, too. Change-Id: Ia828ffbdf92dc72d35a1d3f5919869d043e3bb83 Depends: #28064 Resolves: #28096 Reviewed-on: http://review.typo3.org/3260 Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Xavier Perseguers authored
- Rework PHP documentation to be in-line with other methods - Declare the method as protected instead of private to allow subclassing - Add array type to argument $conf Change-Id: I3ceb2b8c062c5ca2c6df87f32468ecf27c069b6f Resolves: #28027 Reviewed-on: http://review.typo3.org/3259 Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers
-
Susanne Moog authored
Move and rename testInt, calcPriority, calcParenthesis to t3lib_utility_Math. Also add corresponding unit tests. Change-Id: I095b24794e15e16d02e4761c69c8e1e65510bd0c Resolves: #28064 Reviewed-on: http://review.typo3.org/3235 Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Georg Ringer Tested-by: Georg Ringer Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers Reviewed-by: Andreas Wolf Tested-by: Andreas Wolf
-
Kilian Hann authored
Provides rounding functionality (round, ceil, floor) to stdWrap. Change-Id: Iec4dd4df61e3e0dcb0556fa4ddeb34adaffa9823 Resolves: #28027 Reviewed-on: http://review.typo3.org/3178 Reviewed-by: Andreas Wolf Tested-by: Andreas Wolf
-
Dmitry Dulepov authored
There are several problems with current Backend search: * it searches far more fields than necessary (for example, TSConfig) * it searches "uid" and other numeric fields even if the value is not numeric * it uses LIKE x search on numeric fields and forces DAM to make an XCLASS * it searches all tables even if they do not make sense to be searched * it is too slow * it searches only first four levels deep in the page tree All these problems come from the [wrong] idea that TYPO3 can detect where it can search. Instead, tables should be marked as "searchable" and provide a list of fields that make sense to search. Also it makes sense to search some fields as case insensitive. This task solves all described issues. After this change extensions will need to explicitely mark their tables as searchable. Until that, those table will not be searched. Search by default is NOT case sensitive. If the developer wants a case sensitive search on the column, (s)he should ensure proper locale on that column (as described at http://bit.ly/1zw8dC) and mark the column as case-sensitive for search (see TYPO3 core API for more details). Change-Id: I2b194dc1c746a4fc3f7663358ed08d7c9f6e11a8 Resolves: #26829 Releases: 4.6 Reviewed-on: http://review.typo3.org/2189 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Reviewed-by: Markus Klein Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Kay Strobach Tested-by: Kay Strobach Reviewed-by: Andreas Wolf Tested-by: Andreas Wolf Reviewed-by: Xavier Perseguers
-
Stefan Neufeind authored
The text-version contains the "first attribute of empty tags". While this might make sense for <LINK ...>-tags it is quite pointless for all other HTML-tags. Change-Id: If56dbe3682173e0b4144749430cce6b11e99edcf Resolves: #27743 Reviewed-on: http://review.typo3.org/2952 Reviewed-by: Georg Ringer Tested-by: Georg Ringer Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Andreas Wolf Tested-by: Andreas Wolf
-