Packages/TYPO3.CMS.git
3 years ago[FOLLOWUP][SECURITY] Disallow unauthorized module access 89/41489/3
Nicole Cordes [Thu, 16 Jul 2015 16:21:03 +0000 (18:21 +0200)]
[FOLLOWUP][SECURITY] Disallow unauthorized module access

Fixes unit tests.

Resolves: #68232
Related: #68183
Releases: master
Change-Id: I5144b87a24a8e0452f3976510f219381c76e4d59
Reviewed-on: http://review.typo3.org/41489
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[FOLLOWUP][TASK] Refactor formengine required handling 88/41488/3
Benjamin Mack [Thu, 16 Jul 2015 16:15:50 +0000 (18:15 +0200)]
[FOLLOWUP][TASK] Refactor formengine required handling

Remove leftover styles.

Resolves: #67354
Releases: master
Change-Id: Iac6607b0efbb3b59f120d163418e78b84eff9123
Reviewed-on: http://review.typo3.org/41488
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
3 years ago[TASK] Replace confirm for delete shortcut 82/41482/2
Frank Nägler [Thu, 16 Jul 2015 15:55:00 +0000 (17:55 +0200)]
[TASK] Replace confirm for delete shortcut

Resolves: #68238
Releases: master
Change-Id: Iddcc5a7cb29c929377c414441585be5b46e6dacb
Reviewed-on: http://review.typo3.org/41482
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[!!!][FEATURE] TypoScript select is now translated by default 70/41370/11
Benjamin Mack [Wed, 15 Jul 2015 21:28:05 +0000 (23:28 +0200)]
[!!!][FEATURE] TypoScript select is now translated by default

The TypoScript .select option which is used for Content Objects
like "CONTENT", has the property "languageField". This allows
to set the field that has the information about the sys_language_uid
value in order to have only records shown that are translated or
on -1 (show in all languages).

In the past, this option had to be set explicitly but is now turned
on by default, but can turned off, if this behavior is not desired.

Besides this patch adds some basic unit tests for the function and
resolves and issue with groupBy which popped up because of the tests.

Resolves: #68191
Releases: master
Change-Id: I36765d9e1e8a8b49fdc05700caa1e2e3f613a06d
Reviewed-on: http://review.typo3.org/41370
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
3 years ago[BUGFIX] Catch exception when linked file is deleted 67/41467/2
Benjamin Mack [Thu, 16 Jul 2015 13:34:37 +0000 (15:34 +0200)]
[BUGFIX] Catch exception when linked file is deleted

If a file is linked in the RTE, and the file is deleted afterwards
an exception is thrown, thus making it impossible to change
the link.

Instead, the popup should show up without selecting anything.

Resolves: #66624
Releases: master, 6.2
Change-Id: Iec985b0202002a2c906b4cee43cd4e27e496d4fb
Reviewed-on: http://review.typo3.org/41467
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
3 years ago[SECURITY] Disallow unauthorized module access 77/41477/2
Helmut Hummel [Thu, 16 Jul 2015 15:06:56 +0000 (17:06 +0200)]
[SECURITY] Disallow unauthorized module access

Changing the module dispatcher url from mod.php to index.php introduced a potential security leak,
as some modules could be called even with no user authenticated.

Fix and harden the checks in the module dispatcher to avoid that.

Resolves: #68232
Related: #68183
Releases: master
Change-Id: I60e91c654c6844cd60c2699418e7d816b355c928
Reviewed-on: http://review.typo3.org/41477
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Clean up HTML legacy page tree with CSS3 code 74/41474/2
Benjamin Mack [Thu, 16 Jul 2015 14:50:15 +0000 (16:50 +0200)]
[TASK] Clean up HTML legacy page tree with CSS3 code

Resolves: #68230
Releases: master
Change-Id: I2958503a655b511956c6d81562e7b0e0d24aa569
Reviewed-on: http://review.typo3.org/41474
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
3 years ago[BUGFIX] Flag-Sprite is not loaded 78/41478/2
Steffen Ritter [Thu, 16 Jul 2015 15:08:54 +0000 (17:08 +0200)]
[BUGFIX] Flag-Sprite is not loaded

When the flags have been moved from EXT:t3skin to EXT:core
the inclusion of the actual CSS file has been forgotten.

Resolves: #68217
Releases: master
Change-Id: I8b2840b0fb90859b8485ce624eef4393d77e17db
Reviewed-on: http://review.typo3.org/41478
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
3 years ago[TASK] Retrieve v7-compatible localisation packages 20/41420/4
Xavier Perseguers [Thu, 16 Jul 2015 09:42:51 +0000 (11:42 +0200)]
[TASK] Retrieve v7-compatible localisation packages

Since TYPO3 v7, the translation server is packaging version-dependent localisation
packages containing only XLIFF (and no more ll-XML) and targeted labels without any
obsolete ones anymore.

Change-Id: Idccbe4eb4b1546bc21757361d872c9f1e3a6bf04
Resolves: #68187
Releases: master
Reviewed-on: http://review.typo3.org/41420
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[TASK] Rework position map with CSS3 94/41394/4
Benjamin Mack [Thu, 16 Jul 2015 07:50:26 +0000 (09:50 +0200)]
[TASK] Rework position map with CSS3

Remove 2 unused methods from PagePositionMap too.

Resolves: #56951
Releases: master
Change-Id: I37921c3757f86d74d5e3340522f0a4f3daee0b82
Reviewed-on: http://review.typo3.org/41394
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[FEATURE] Filelist: Show list of conflicting files 70/40270/20
Andreas Fernandez [Mon, 15 Jun 2015 22:05:57 +0000 (00:05 +0200)]
[FEATURE] Filelist: Show list of conflicting files

Show a list of files that cannot be uploaded because
files with the same names already exist.

Resolves: #68197
Resolves: #55781
Related: #67545
Releases: master
Change-Id: I6388ae5533487160d5b9337c1b4a72854af4ec99
Reviewed-on: http://review.typo3.org/40270
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Optimize button in LoginRefresh 00/41300/5
Frank Nägler [Wed, 15 Jul 2015 12:56:21 +0000 (14:56 +0200)]
[TASK] Optimize button in LoginRefresh

Switch order of buttons and logic in LoginRefresh Dialog.

Resolves: #68168
Releases: master
Change-Id: Ie097f647d42a5bfdb2b596f164f9e1fa98d02560
Reviewed-on: http://review.typo3.org/41300
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Do not log out a logged out user 60/41460/2
Helmut Hummel [Thu, 16 Jul 2015 12:48:20 +0000 (14:48 +0200)]
[BUGFIX] Do not log out a logged out user

It can happen that the logout action of the logout
controller is called without a user being logged in.

To avoid a fatal error, we do not call the logoff
code any more and just do the redirect handling.

Releases: master, 6.2
Resolves: #68220
Change-Id: I06f6289d01c681d4b412910ded8e9894f377892d
Reviewed-on: http://review.typo3.org/41460
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[TASK] Add Illustrator files into Build folder 55/41455/3
Frank Nägler [Thu, 16 Jul 2015 12:27:45 +0000 (14:27 +0200)]
[TASK] Add Illustrator files into Build folder

After some discussions we decided to add also the "source" files for
assets into the CMS git repository.

Resolves: #68216
Releases: master
Change-Id: Ibe62eba610f9c10abf6819cacb588c05bc855dae
Reviewed-on: http://review.typo3.org/41455
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[TASK] Replace confirm for delete record in DocHeader 24/41424/2
Frank Nägler [Thu, 16 Jul 2015 10:10:33 +0000 (12:10 +0200)]
[TASK] Replace confirm for delete record in DocHeader

Resolves: #68212
Releases: master
Change-Id: I9bd840c014bec704d8e16faab0cca7abce4cc330
Reviewed-on: http://review.typo3.org/41424
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[!!!][TASK] Remove Cache helper class 00/40500/7
Benjamin Mack [Sat, 20 Jun 2015 20:01:20 +0000 (22:01 +0200)]
[!!!][TASK] Remove Cache helper class

The Cache class that acted as a central point when the caching
framework was optionally enabled for 4.3 is now moved
into separate methods.

The duplicate code for creating the database statement is now
moved from the Install Tool to EXT:core to be used in the Extension
Manager as well.

Resolves: #56319
Releases: master
Change-Id: I871a9a6ea506795335e2e8f5b6a410604feba506
Reviewed-on: http://review.typo3.org/40500
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Provide backend user id in JavaScript backend config 26/41426/3
Frank Nägler [Thu, 16 Jul 2015 10:17:26 +0000 (12:17 +0200)]
[TASK] Provide backend user id in JavaScript backend config

Resolves: #68215
Releases: master
Change-Id: Idbb1ca69be8afad1857eacfdf39c315d75b33860
Reviewed-on: http://review.typo3.org/41426
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Felix Kopp <felix-source@phorax.com>
Tested-by: Felix Kopp <felix-source@phorax.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Reduce SQL queries of page tree in workspaces 28/22528/7
Nicole Cordes [Wed, 15 Jul 2015 19:22:00 +0000 (21:22 +0200)]
[TASK] Reduce SQL queries of page tree in workspaces

Nodes of the page tree are highlighted, if that particular node
has versioned elements in the current workspace. However, this is
determined by iterating over all tables and all records for each
page. If having installed many extensions with many tables and
many records, this will produce a lot of SQL queries.

This patch introduces a new cache for record versions per page which is
fetched once from the database. This cache is located within the
\TYPO3\CMS\Workspaces\Service\WorkspaceService and can be shared between
several other classes as this is implements a SingletonInterface.

Resolves: #50349
Resolves: #66231
Related: #61184
Releases: master, 6.2
Change-Id: Ibaef07bdab87147c6826af8578870c52803dfe03
Reviewed-on: http://review.typo3.org/22528
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[!!!][TASK] Remove RTE transformation for typolist and typohead 79/41379/4
Benjamin Mack [Wed, 15 Jul 2015 22:32:53 +0000 (00:32 +0200)]
[!!!][TASK] Remove RTE transformation for typolist and typohead

The transformation of the tags typolist and typohead are removed.

Resolves: #68206
Releases: master
Change-Id: I78427b0e7b91b2d1acd4405ab4c195ff641ed88b
Reviewed-on: http://review.typo3.org/41379
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
3 years ago[TASK] Ignore test class names and class paths 66/40966/5
Helmut Hummel [Tue, 7 Jul 2015 16:14:05 +0000 (18:14 +0200)]
[TASK] Ignore test class names and class paths

For class map generation in non composer mode,
ignore some folders and class names.

Releases: 7.3, master
Resolves: #67763
Change-Id: Ided9a668a025ffd7371210ac955b278e080980d7
Reviewed-on: http://review.typo3.org/40966
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[FOLLOWUP][FEATURE] Ajax call to check if file already exists 09/41409/2
Frans Saris [Thu, 16 Jul 2015 09:09:16 +0000 (11:09 +0200)]
[FOLLOWUP][FEATURE] Ajax call to check if file already exists

Adjusted unitTest to new result

Resolves: #67545
Releases: master
Change-Id: I59ba5613cd8be324b28c2ddc463e0ccb0e9fe8f0
Reviewed-on: http://review.typo3.org/41409
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
3 years agoRevert "[BUGFIX] Allow symlinked directories in Install Tool" 04/41404/3
Christian Kuhn [Thu, 16 Jul 2015 08:53:16 +0000 (10:53 +0200)]
Revert "[BUGFIX] Allow symlinked directories in Install Tool"

A link is not a directory.

This reverts commit d28bb4270667999d2b82727cbecb8ba7a7fedb8a.

Change-Id: I0d8d33bae922a94dbb525e1fd575defcfb95074f
Resolves: #57706
Releases: master
Reviewed-on: http://review.typo3.org/41404
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Add composer.lock 71/39971/10
Markus Klein [Fri, 5 Jun 2015 10:44:05 +0000 (12:44 +0200)]
[TASK] Add composer.lock

The composer.lock should be shipped in order to ensure correct
versions of dependencies on source checkouts.
Additionally it ensures that the tests are based on the same
versions (of all recursive dependencies).

More details are added to the forge ticket.

Resolves: #59515
Releases: master
Change-Id: Id4d0d5a34a6cce1315089239593143fcdc25e274
Reviewed-on: http://review.typo3.org/39971
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[BUGFIX] Remove whitespaces in the indexed search body description 75/41375/2
Tymoteusz Motylewski [Wed, 15 Jul 2015 21:11:55 +0000 (23:11 +0200)]
[BUGFIX] Remove whitespaces in the indexed search body description

The indexed search body description has a character length limit,
so it's important to remove unnecessary white spaces, so more text
will fit.

Resolves: #46298
Releases: master
Change-Id: Icc7a5833b2d6d22e631e8e376a00df9d3a838511
Reviewed-on: http://review.typo3.org/41375
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
3 years ago[TASK] Remove initialization of $doc->tableLayout in info module 00/41400/3
Georg Ringer [Thu, 16 Jul 2015 08:36:37 +0000 (10:36 +0200)]
[TASK] Remove initialization of $doc->tableLayout in info module

The usage of $doc->tableLayout can be removed as it is not used and
$doc->table() is deprecated as well.

Change-Id: I4a120f165e52ffbfdbffc523a36698f0fab30692
Resolves: #68204
Releases: master
Reviewed-on: http://review.typo3.org/41400
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
3 years ago[FEATURE] Make file conflict mode available for BE file upload 38/41338/6
Frans Saris [Wed, 15 Jul 2015 19:38:43 +0000 (21:38 +0200)]
[FEATURE] Make file conflict mode available for BE file upload

Make is possible to set conflict mode to changeName instead of only
being able to override of chancel when uploading files from backend.

Release: master
Resolves: #63603
Change-Id: I5019337b547d70c99ff4f7a8e8e8fbae2dc1ed8b
Reviewed-on: http://review.typo3.org/41338
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
3 years ago[FOLLOWUP][FEATURE] Ajax call to check if file already exists 98/41398/3
Frans Saris [Thu, 16 Jul 2015 08:28:14 +0000 (10:28 +0200)]
[FOLLOWUP][FEATURE] Ajax call to check if file already exists

The fileExist call now returns all info about a file just like
done after fileupload.

Resolves: #67545
Releases: master
Change-Id: Ie70f1597b98ea0c2b9cb7999686eb8a062b5ecaa
Reviewed-on: http://review.typo3.org/41398
Reviewed-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Frans Saris <franssaris@gmail.com>
3 years ago[FEATURE] Integrate typeahead.js for LiveSearch 19/40419/11
Benjamin Mack [Wed, 17 Jun 2015 17:05:22 +0000 (19:05 +0200)]
[FEATURE] Integrate typeahead.js for LiveSearch

The change removes ExtJS LiveSearch and introduces typeahead.js
as an AMD module alternative. The ExtDirect connector is thus
removed and a regular AJAX handler is added.

The special live search commands (the special treatments starting with #)
are put in the correct extensions where the DB table is set up.

Resolves: #67580
Releases: master
Change-Id: I3f5473164297b2d9121179ffd019af10caec821a
Reviewed-on: http://review.typo3.org/40419
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
3 years ago[FOLLOWUP][TASK] Cleanup LESS 97/41397/2
Georg Ringer [Thu, 16 Jul 2015 08:23:11 +0000 (10:23 +0200)]
[FOLLOWUP][TASK] Cleanup LESS

- Adopt path of images used in the drag 'n' drop of the page tree
* Adopt path of the fonts in the admin panel

Releases: master
Resolves: #68182

Change-Id: I9aa6b6f97d61622ed98cc3175dc8c660cc59da4d
Reviewed-on: http://review.typo3.org/41397
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[!!!][FEATURE] Ajax call to check if file already exists 10/40310/12
Alina Fleser [Tue, 16 Jun 2015 14:33:18 +0000 (17:33 +0300)]
[!!!][FEATURE] Ajax call to check if file already exists

To check if a file already exist we want prior to realuploding uploading
be able to verify the posible file existince using a ajax request.

The ajax request checks the final file name, considering possible
alterations of the name, like sanitization and PreFileAdd signal.

Resolves: #67545
Releases: master
Change-Id: I850694e0d065b674634437bbe51fbeee840c6e39
Reviewed-on: http://review.typo3.org/40310
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Allow symlinked directories in Install Tool 83/41383/3
Georg Ringer [Wed, 15 Jul 2015 22:45:32 +0000 (00:45 +0200)]
[BUGFIX] Allow symlinked directories in Install Tool

If a directory is expected but it is actual a link,
check the linked resource. If this is a directory, allow that
as well.

Change-Id: I85b98a683c987d36a67536050ee595848c7a3b8e
Resolves: #57706
Releases: master
Reviewed-on: http://review.typo3.org/41383
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[FOLLOWUP][TASK] Cleanup LESS 92/41392/3
Andreas Fernandez [Thu, 16 Jul 2015 07:35:11 +0000 (09:35 +0200)]
[FOLLOWUP][TASK] Cleanup LESS

The LESS files were reorganized in #68182, but the path to
the file docheader-split-background.png wasn't adjusted.

Resolves: #68201
Related: #68182
Releases: master
Change-Id: Ia61f05829e45c9852e01908bf9fbc1383365620f
Reviewed-on: http://review.typo3.org/41392
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Drop skinImg in ext:reports 82/41382/2
Wouter Wolters [Wed, 15 Jul 2015 22:45:30 +0000 (00:45 +0200)]
[TASK] Drop skinImg in ext:reports

Resolves: #68195
Releases: master
Change-Id: I425737e83bada6c5634b75fc7042c9be1a28f3fd
Reviewed-on: http://review.typo3.org/41382
Reviewed-by: David Greiner <hallo@davidgreiner.de>
Tested-by: David Greiner <hallo@davidgreiner.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[TASK] Check for typo3/ext only if global installation is allowed 91/41391/2
Georg Ringer [Thu, 16 Jul 2015 06:17:22 +0000 (08:17 +0200)]
[TASK] Check for typo3/ext only if global installation is allowed

Since the change of #67824 the directory typo3/ext is not created
automatically. The check for this directory in the Install Tool,
which is also shown in the reports module, should only be shown
if $GLOBALS['TYPO3_CONF_VARS']['EXT']['allowGlobalInstall'] is
set.

Change-Id: I6d004ac8c8a76d806d74db4622e7967424db4b2e
Resolves: #68196
Releases: master
Reviewed-on: http://review.typo3.org/41391
Reviewed-by: David Greiner <hallo@davidgreiner.de>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[FOLLOWUP][TASK] PHP7 compliance - part 1 85/41385/2
Christian Kuhn [Wed, 15 Jul 2015 22:52:33 +0000 (00:52 +0200)]
[FOLLOWUP][TASK] PHP7 compliance - part 1

The fluid patch triggers funny effects at several
places, this part of the patch is reverted for now.

Change-Id: I8620116a89e48b855200fbc1e34b4c7a21052566
Resolves: #68194
Releases: master
Reviewed-on: http://review.typo3.org/41385
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[!!!][TASK] Drop removeLoginpagesWithContentHash from Indexer.php 71/41371/5
Wouter Wolters [Wed, 15 Jul 2015 21:33:02 +0000 (23:33 +0200)]
[!!!][TASK] Drop removeLoginpagesWithContentHash from Indexer.php

Unused since at least TYPO3 CMS 6.0

Resolves: #68193
Releases: master
Change-Id: I75bf495959d33eff48aeb587aa816dc7947985ef
Reviewed-on: http://review.typo3.org/41371
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[TASK] PHP7 compliance - part 1 74/41274/7
Susanne Moog [Wed, 15 Jul 2015 21:50:19 +0000 (23:50 +0200)]
[TASK] PHP7 compliance - part 1

Fixes or skips unit tests and declaration errors on PHP7.

Change-Id: I45fb09253c7efbc8116c3b2a27586b3f504b71e2
Resolves: #68194
Releases: master
Reviewed-on: http://review.typo3.org/41274
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
3 years ago[TASK] Fix CGL issues in Indexer 69/41369/3
Wouter Wolters [Wed, 15 Jul 2015 21:21:21 +0000 (23:21 +0200)]
[TASK] Fix CGL issues in Indexer

Resolves: #68192
Releases: master
Change-Id: I4fe36807045ac2e3740032454222d6318bc3fc5e
Reviewed-on: http://review.typo3.org/41369
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[BUGFIX] Fix CGL issues in Lexer 63/41363/3
Tymoteusz Motylewski [Wed, 15 Jul 2015 20:35:34 +0000 (22:35 +0200)]
[BUGFIX] Fix CGL issues in Lexer

Fix doc comments, undefined variables.

Resolves: #68189
Releases: master
Change-Id: Iee82675aa6bd80c3cbf066a1c445566022325fd1
Reviewed-on: http://review.typo3.org/41363
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Restore Content Objects in all TYPO3_mode cases 61/41361/4
Steffen Ritter [Wed, 15 Jul 2015 20:20:31 +0000 (22:20 +0200)]
[BUGFIX] Restore Content Objects in all TYPO3_mode cases

When #64386 introduced a new API for registering ContentOjects
the registration of the existing core-shipped ContentObjects
was wrapped in a "if (TYPO3_mode == FE)" clause.

This results in an empty set of ContentObjects in CLI or
Backend context.

Resolves: #68188
Releases: master
Change-Id: Iabf63ae6d861aab1f9e744cf66f3438dec78c300
Reviewed-on: http://review.typo3.org/41361
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Move Backend Module calls to index.php 05/41305/7
Wouter Wolters [Wed, 15 Jul 2015 14:46:19 +0000 (16:46 +0200)]
[TASK] Move Backend Module calls to index.php

The typo3/mod.php entrypoint is removed in favor of
checking for M in all backend requests inside the Backend
Application.

The request object from the server is now enhanced with the
information inside the application which type is now called.

Resolves: #68183
Releases: master
Change-Id: Ia51244bb1a017ac5736c1133d14066b76b3d1f72
Reviewed-on: http://review.typo3.org/41305
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[FOLLOWUP][TASK] Cleanup bootstrap 57/41357/2
Helmut Hummel [Wed, 15 Jul 2015 20:21:38 +0000 (22:21 +0200)]
[FOLLOWUP][TASK] Cleanup bootstrap

Redirect does not work as the application proceeds
and throws an exception even after sending the header.

Die after setting the redirect header to fix this.

Releases: master
Resolves: #67645
Change-Id: I90adcfa4f2f29bbfdb63cc8cf1288879eee5ae78
Reviewed-on: http://review.typo3.org/41357
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
3 years ago[FEATURE] Allow placeholder attribute with stdWrap support 38/32738/10
tritum_rz [Fri, 12 Sep 2014 09:26:09 +0000 (11:26 +0200)]
[FEATURE] Allow placeholder attribute with stdWrap support

Resolves: #61308
Releases: master
Change-Id: Id3a2625d91a821c09865d73c426559ae02bf975e
Reviewed-on: http://review.typo3.org/32738
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[FEATURE] Paths to document root can be specified in composer.json 29/41329/4
Helmut Hummel [Wed, 15 Jul 2015 18:44:20 +0000 (20:44 +0200)]
[FEATURE] Paths to document root can be specified in composer.json

With the new composer installer it is possible to specify the path of the document root
and also the path of the typo3/cms package

It can be specified in the extra section of your composer root package like that:

"extra": {
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"web-dir": "web"
}
}

Releases: master
Resolves: #68184
Change-Id: I6d8680a141087d1d753a63fad168e35656610495
Reviewed-on: http://review.typo3.org/41329
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Correct directory names for Resources 33/41333/3
Stefan Neufeind [Wed, 15 Jul 2015 19:07:39 +0000 (21:07 +0200)]
[TASK] Correct directory names for Resources

Documentation at
http://docs.typo3.org/typo3cms/CoreApiReference/ExtensionArchitecture/FilesAndLocations/Index.html
mentions that directory names should be "Css" and "JavaScript".

Change-Id: I8324cca9a90ca0e83aef682dda98260d63c0b2b6
Resolves: #68185
Releases: master
Reviewed-on: http://review.typo3.org/41333
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[FEATURE] Add recursive option to FolderBasedFileCollection 38/32638/15
Frans Saris [Wed, 24 Dec 2014 00:50:07 +0000 (01:50 +0100)]
[FEATURE] Add recursive option to FolderBasedFileCollection

Adds a new option for FolderBasedFileCollection to fetch files
recursive from selected folder.

Resolves: #45725
Releases: master
Change-Id: I2761568b488599e53594d4f9a14cfcc5842e83e7
Reviewed-on: http://review.typo3.org/32638
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
3 years ago[FEATURE] Adjust trustedHostsPattern during installation 43/41143/4
Nicole Cordes [Mon, 13 Jul 2015 19:28:21 +0000 (21:28 +0200)]
[FEATURE] Adjust trustedHostsPattern during installation

During the installation the trusted hosts pattern check is disabled
by default. This leads to an exception after the installation on entering
the login form. This patch adds hosts checks to install tool and reports
module to ensure the installation is working after install process.

Releases: master
Resolves: #68096
Change-Id: I25a39b36d0922906c0ea2dec34b58b3c3fe805b7
Reviewed-on: http://review.typo3.org/41143
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
3 years ago[TASK] Move vendor/ directory out of contrib/ 17/41317/3
Christian Kuhn [Wed, 15 Jul 2015 17:20:12 +0000 (19:20 +0200)]
[TASK] Move vendor/ directory out of contrib/

typo3/contrib contains only vendor directory handled by
composer. Move vendor one directory up to finally get
rid of contrib/.

Resolves: #68181
Releases: master
Change-Id: I0f579b41db685339fb10b1c7d14bc99ca6fea0b1
Reviewed-on: http://review.typo3.org/41317
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[FEATURE] Add returnCount to split 74/40874/7
Michael Oehlhof [Thu, 2 Jul 2015 20:36:43 +0000 (22:36 +0200)]
[FEATURE] Add returnCount to split

returnCount works like returnKey. It interupts
further processing and directly returns the requested
result. In our case the amount of elements after
the splitting.

Resolves: #67880
Releases: master
Change-Id: Icc50d1e0e4a2ce4d7566ce6f390b09f5e0608f95
Reviewed-on: http://review.typo3.org/40874
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Tested-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
3 years ago[TASK] Clean up tree code 60/41260/5
Benjamin Mack [Wed, 15 Jul 2015 07:21:58 +0000 (09:21 +0200)]
[TASK] Clean up tree code

Remove some last styling topics and leftover snippets.

Resolves: #68147
Releases: master
Change-Id: I2170b5407be897d5e2e28d8a24d668ea5617bc01
Reviewed-on: http://review.typo3.org/41260
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[FOLLOWUP][!!!][TASK] Drop TYPO3_CONF_VARS['SYS]['form_enctype'] 25/41325/2
Georg Ringer [Wed, 15 Jul 2015 18:29:28 +0000 (20:29 +0200)]
[FOLLOWUP][!!!][TASK] Drop TYPO3_CONF_VARS['SYS]['form_enctype']

Fix a typo

Change-Id: Ic36f85e7d6c29a8734cb83d1594e7a909c9646e1
Resolves: #68178
Releases: master
Reviewed-on: http://review.typo3.org/41325
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[TASK] Cleanup LESS 06/41306/6
Benjamin Kott [Wed, 15 Jul 2015 14:49:18 +0000 (16:49 +0200)]
[TASK] Cleanup LESS

Unify the LESS setup to generate more specific
CSS files with reduced weight.

Releases: master
Resolves: #68182
Change-Id: Ia59b2f0a23c2afb478877771d8ed8cc4ab57f00f
Reviewed-on: http://review.typo3.org/41306
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[!!!][TASK] Drop TYPO3_CONF_VARS['SYS]['form_enctype'] 14/41314/4
Christian Kuhn [Wed, 15 Jul 2015 16:10:46 +0000 (18:10 +0200)]
[!!!][TASK] Drop TYPO3_CONF_VARS['SYS]['form_enctype']

The ancient form_enctype setting was a fallback from the old days
when some hosters decided uploading files in PHP is a bad idea.
The fallback was thought to still allow casual data transfer.
This is dropped now, the setting no longer used and removed from
configuration.

Resolves: #68178
Releases: master
Change-Id: If16db4de44c0654b18efc5b1a9f0e3f46e079687
Reviewed-on: http://review.typo3.org/41314
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Check for proper extension key parts 69/28469/9
Pascal Dürsteler [Mon, 17 Mar 2014 13:50:43 +0000 (14:50 +0100)]
[TASK] Check for proper extension key parts

Introduce a check for proper vendor names. If the vendor name of an
extension does not begin with a capital letter, a warning is logged
to the deprecation log.

As improper vendor names lead to errors, this check can be seen as
a first step to restrict the usage of extensions with wrong vendor
names, similar to a deprecation process.

Additionally, a refactoring of copy-pasted checks is made.

Resolves: #56944
Releases: master
Change-Id: I085f63e29c1639c0cc49fa43e225b46049d67003
Reviewed-on: http://review.typo3.org/28469
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[FEATURE] Move CE table options from flexform to tt_content 55/40955/9
Patrick Broens [Thu, 28 May 2015 10:33:13 +0000 (12:33 +0200)]
[FEATURE] Move CE table options from flexform to tt_content

When EXT:css_styled_content isn't installed a Migration wizard is
shown in the install tool to move the flexform values to regular
database fields in the tt_content table.

Resolves: #67950
Releases: master
Change-Id: I45dfd8882b98ed569f738bb2de10da52063a4400
Reviewed-on: http://review.typo3.org/40955
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
3 years ago[BUGFIX] Show remaining chars for InputElement only if defined 12/41312/2
Georg Ringer [Wed, 15 Jul 2015 15:22:47 +0000 (17:22 +0200)]
[BUGFIX] Show remaining chars for InputElement only if defined

If no max is defined in the TCA the remaining characters can not be
determined without checking the DB. It is not a good idea to show a
hardcoded size of 256.

Change the code to be in sync with the TextElement and check the max
configuration first.

Change-Id: Ia74ea88e22b6344e8ce1a44e3795dc11d4466dba
Resolves: #68176
Releases: master
Reviewed-on: http://review.typo3.org/41312
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[TASK] Move codemirror files and template/css to correct location 95/41295/3
Wouter Wolters [Wed, 15 Jul 2015 13:12:51 +0000 (15:12 +0200)]
[TASK] Move codemirror files and template/css to correct location

To remove files from typo3/contrib codemirror is moved now to
ext:t3editor

Resolves: #68169
Releases: master
Change-Id: I1c3f37c8e198281147935226c63020c5576ffbca
Reviewed-on: http://review.typo3.org/41295
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
3 years ago[BUGFIX] Remove usage of storage_pid in query 07/41307/3
Georg Ringer [Wed, 15 Jul 2015 14:49:56 +0000 (16:49 +0200)]
[BUGFIX] Remove usage of storage_pid in query

The field storage_pid has been deprecated with #65790 and a last
usage has been forgotten which is now removed.

Change-Id: Ib43220461a62ad487b9fe2ea3083606f49690617
Resolves: #68172
Releases: master
Reviewed-on: http://review.typo3.org/41307
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[FOLLOWUP][FEATURE] Introduce Data Processor for Files 99/41299/4
Stefan Neufeind [Wed, 15 Jul 2015 13:55:59 +0000 (15:55 +0200)]
[FOLLOWUP][FEATURE] Introduce Data Processor for Files

Make sure the array key of the $files array is numeric
as different parts of the core rely on this.

Resolves: #67662
Releases: master

Change-Id: I617efa59de0de35e3c00a20f2c34af717031502f
Reviewed-on: http://review.typo3.org/41299
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
3 years ago[TASK] Drop typo3/contrib/.htaccess 97/41297/4
Wouter Wolters [Wed, 15 Jul 2015 13:19:47 +0000 (15:19 +0200)]
[TASK] Drop typo3/contrib/.htaccess

Resolves: #68170
Releases: master
Change-Id: I16084ad221651217fa5ad9a7bc6f41112a0ef2ba
Reviewed-on: http://review.typo3.org/41297
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[TASK] Acceptance Test to check if backend login is displayed 62/41262/9
Georg Ringer [Wed, 15 Jul 2015 08:29:04 +0000 (10:29 +0200)]
[TASK] Acceptance Test to check if backend login is displayed

A first acceptance test is added to check if the backend login form
is displayed.

To be able to run tests, you need to follow this steps:
* composer update
* Build the required tester:
  ./bin/codecept build -c typo3/sysext/core/Build/AcceptanceTests.yml
* Start a local web server:
  php -S localhost:8000 &
* Run the test suite
  ./bin/codecept run acceptance
    -c typo3/sysext/core/Build/AcceptanceTests.yml
    typo3/sysext/core/Tests/Acceptance

Change-Id: I06eae24f8356c05e083f268326ea8f9563df6b74
Resolves: #68114
Releases: master
Reviewed-on: http://review.typo3.org/41262
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[TASK] t3editor: Remove Prototype and Scriptaculous 81/41281/6
Andreas Fernandez [Wed, 15 Jul 2015 11:57:21 +0000 (13:57 +0200)]
[TASK] t3editor: Remove Prototype and Scriptaculous

Resolves: #68165
Releases: master
Change-Id: I0fcf3a90913ded4e827cb31fc76152b89b534a5f
Reviewed-on: http://review.typo3.org/41281
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[TASK] Link scheduler class in list 71/41271/2
Georg Ringer [Wed, 15 Jul 2015 11:44:34 +0000 (13:44 +0200)]
[TASK] Link scheduler class in list

To unify the usability of the scheduler and formengine,
the scheduler class should be linked too.

Change-Id: I6533f32e1b48e32dfb23bc7c906734ffde10e58a
Resolves: #68161
Releases: master
Reviewed-on: http://review.typo3.org/41271
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Fix some small issuses of the evalfield patch 73/41273/3
Frank Nägler [Wed, 15 Jul 2015 11:48:50 +0000 (13:48 +0200)]
[BUGFIX] Fix some small issuses of the evalfield patch

This patch fix event binding ordering and handling of password fields.

Resolves: #68162
Related: #67852
Releases: master
Change-Id: I3c28f1decef6915fe2981402a65df2378179d7f9
Reviewed-on: http://review.typo3.org/41273
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Move global functions file out of Classes folder 70/41270/3
Helmut Hummel [Wed, 15 Jul 2015 11:20:10 +0000 (13:20 +0200)]
[TASK] Move global functions file out of Classes folder

Releases: master
Resolves: #68159
Change-Id: Ic69f454cdb17c16d82aea5d2495b9ae795d600f6
Reviewed-on: http://review.typo3.org/41270
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[!!!][TASK] Holding out for a t3editor 35/39635/28
Andreas Fernandez [Wed, 20 May 2015 19:18:36 +0000 (21:18 +0200)]
[!!!][TASK] Holding out for a t3editor

EXT:t3editor is ported from Prototype to jQuery, thus being an AMD
module. The checkbox for toggling the editor is removed, this
will be configurable per user basis in a separate patch.

This patch also refactors the plugins required for TypoScript parsing
and code completion.

Resolves: #68010
Releases: master
Change-Id: I22cfc910dfb7eb1fc71584030787502fefb51eb9
Reviewed-on: http://review.typo3.org/39635
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[FOLLOWUP][TASK] Replace treeline GFX icons with CSS icons 69/41269/2
Benjamin Mack [Wed, 15 Jul 2015 10:46:01 +0000 (12:46 +0200)]
[FOLLOWUP][TASK] Replace treeline GFX icons with CSS icons

Bring back main module icons.

Releases: master
Resolves: #68143
Change-Id: I320ef2ebac22af60362ccdb1e0156cb8d5af00b4
Reviewed-on: http://review.typo3.org/41269
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
3 years ago[TASK] Remove @author lines 64/41264/7
Markus Klein [Wed, 15 Jul 2015 09:13:52 +0000 (11:13 +0200)]
[TASK] Remove @author lines

@author information can be found in version control.
Cluttering our code with these tags does not make much
sense and they are outdated by definition or would sum
up to impressive lists.

As decided on acme 2015, we drop them now.

Releases: master
Resolves: #68152
Change-Id: Iec1ea0f873b44ab6027c94ba8353a9fdb5477bdd
Reviewed-on: http://review.typo3.org/41264
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[FEATURE] Add possibility to provide additional localization files 89/37789/4
Oliver Hader [Thu, 12 Mar 2015 13:27:24 +0000 (14:27 +0100)]
[FEATURE] Add possibility to provide additional localization files

The AdditionalResourceService of the workspace module in the
backend currently allows to define custom JavaScript and
stylesheet resources. However, adding custom localization
files is missing and topic of this change.

Resolves: #65698
Releases: master
Change-Id: Ic9a3f004408b2406ac0e08fa2c96550cf059e3e8
Reviewed-on: http://review.typo3.org/37789
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
3 years ago[TASK] Move Backend AJAX Calls to index.php 47/41247/4
Benjamin Mack [Tue, 14 Jul 2015 21:21:27 +0000 (23:21 +0200)]
[TASK] Move Backend AJAX Calls to index.php

The typo3/ajax.php entrypoint is removed in favor of
checking for ajaxID in all backend requests inside the Backend
Application.

The request object from the server is now enhanced with the
information inside the application which type is now called.

In this course, the GeneralUtility::isInternalRequestType()
is extended to return ture if no request type constant is set
due to early calls to GeneralUtility methods when building the
ServerRequest object with a Uri object.

Resolves: #68141
Releases: master
Change-Id: I27f2e4fce2007981f323d0607c2dfb0b3a17d020
Reviewed-on: http://review.typo3.org/41247
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[!!!][TASK] Remove $GLOBALS['CLIENT'] 61/41261/2
Helmut Hummel [Wed, 15 Jul 2015 08:07:19 +0000 (10:07 +0200)]
[!!!][TASK] Remove $GLOBALS['CLIENT']

The global client information is not useful any more nowadays
and can be removed. It is only used a few times in the core.
These usages are also removed now.

GeneralUtility::clientInfo() is kept for now.

Releases: master
Resolves: #68150
Change-Id: If339ed729b6c441496548cdd15a36c7943c69ae6
Reviewed-on: http://review.typo3.org/41261
Reviewed-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: David Greiner <hallo@davidgreiner.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[TASK] Replace treeline GFX icons with CSS icons 55/41255/2
Benjamin Kott [Tue, 14 Jul 2015 22:23:41 +0000 (00:23 +0200)]
[TASK] Replace treeline GFX icons with CSS icons

Releases: master
Resolves: #68143
Change-Id: Ia65629c68098c781bee6ece263db8a09e6da613f
Reviewed-on: http://review.typo3.org/41255
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[FEATURE] XML parser options for xml2tree() 73/30973/10
Markus Hoelzle [Wed, 24 Dec 2014 01:17:38 +0000 (02:17 +0100)]
[FEATURE] XML parser options for xml2tree()

Allow parser-options for xml_parser_set_option() to
be supplied.

Resolves: #59384
Releases: master
Change-Id: I656b36f6252e7dce4ed94e4b9b916dec0fbe884f
Reviewed-on: http://review.typo3.org/30973
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Workspace grid remains empty due to AJAX timeout 67/26767/3
Stefan Rotsch [Thu, 9 Jan 2014 13:44:23 +0000 (14:44 +0100)]
[BUGFIX] Workspace grid remains empty due to AJAX timeout

With a large amount of unpublished changes, the workspace grid requires
a longer Ajax timeout than the default 30s (similar to the mass
actions).

Resolves: #54922
Releases: master, 6.2
Change-Id: I7e81e1f7ce989599c9fc17a6e698a31a79e474d5
Reviewed-on: http://review.typo3.org/26767
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[TASK] Remove tree code in element browser selection 56/41256/2
Benjamin Mack [Tue, 14 Jul 2015 22:32:47 +0000 (00:32 +0200)]
[TASK] Remove tree code in element browser selection

Resolves: #68144
Releases: master
Change-Id: I37b34fcd132718c18d8c7483d3e9df3b481ec764
Reviewed-on: http://review.typo3.org/41256
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[!!!][FEATURE] Replace file feature for FAL file list 97/40797/10
Sven Hartmann [Wed, 1 Jul 2015 12:19:36 +0000 (14:19 +0200)]
[!!!][FEATURE] Replace file feature for FAL file list

Provides a new button "replace" at the extended view in FAL equal to
DAM. Its possible to replace a file
* with a new one -> old file will be overwritten; identifier of the file
object will be kept
* with a new one -> old file will be deleted; identifier of the file
object will be changed to the new filename

The file replacing also respects unique filenames.

To allow editors to replace files the need the "Files: Replace"
permissing needs to be set.

Change-Id: If5882ef620135d4e7238eb8bb56f020304cd1c0c
Resolves: #56133
Releases: master
Reviewed-on: http://review.typo3.org/40797
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
3 years agoRevert "[!!!][TASK] Use fallbacks for AbstractWidgetController view-configuration" 51/41251/2
Stefan Neufeind [Tue, 14 Jul 2015 21:54:25 +0000 (23:54 +0200)]
Revert "[!!!][TASK] Use fallbacks for AbstractWidgetController view-configuration"

This reverts commit 1c7d7b753e2ed1df7d06461a9304631b1e169b38.

Change-Id: Ie86e38fbb42a029bd28e46f3b10ff3638ea21879
Reviewed-on: http://review.typo3.org/41251
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
3 years ago[BUGFIX] Notify about wrong backend user group setting 16/41116/5
Nicole Cordes [Mon, 13 Jul 2015 09:22:51 +0000 (11:22 +0200)]
[BUGFIX] Notify about wrong backend user group setting

An editor can't edit a plugin as long as the page content type "Insert
Plugin" isn't allowed for the backend user group even if the access to
a plugin is defined. This patch adds a notification about missing
configuration to improve usability for integrators.

Releases: master
Resolves: #61559
Change-Id: Id7c56c2514ec4525f731c101e8e6e7dbade274e1
Reviewed-on: http://review.typo3.org/41116
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[FEATURE] Add signal afterMappingSingleRow 88/41088/3
Thorsten Boock [Fri, 10 Jul 2015 13:39:07 +0000 (15:39 +0200)]
[FEATURE] Add signal afterMappingSingleRow

Change-Id: Ic7144b172c876af8f4ee70573955ac963b152b26
Resolves: #68047
Releases: master
Reviewed-on: http://review.typo3.org/41088
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] Random PHP warning unlinking valid cache file 13/40713/2
Xavier Perseguers [Mon, 29 Jun 2015 08:07:31 +0000 (10:07 +0200)]
[BUGFIX] Random PHP warning unlinking valid cache file

Sometimes, although a valid cache path and filename is given to unlink(),
it generates a PHP warning as if the file did not exist.

Change-Id: I3ff65cafaf22cb925a9ce395aa9d0fb52ee2b529
Resolves: #67802
Releases: master
Reviewed-on: http://review.typo3.org/40713
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[TASK] Hide clipboard menu selector if clipboard is empty 48/41248/3
David Greiner [Tue, 14 Jul 2015 21:28:56 +0000 (23:28 +0200)]
[TASK] Hide clipboard menu selector if clipboard is empty

With this patch the clipboard menu selector becomes visible
if the clipboard is not empty.

Resolves: #68142
Releases: master
Change-Id: I9a0ec271da0b3e5aeeb97cff0b728f8faead9d72
Reviewed-on: http://review.typo3.org/41248
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Fallback to version of ext_emconf.php 33/41133/4
Nicole Cordes [Mon, 13 Jul 2015 15:51:42 +0000 (17:51 +0200)]
[BUGFIX] Fallback to version of ext_emconf.php

To resolve dependencies the ExtensionManager needs a version of an
extension. If the current composer.json fails to provide a version
we should fall back to the ext_emconf.php.

Releases: master
Resolves: #65866
Change-Id: I9e8383de10e2df1b722fda4b55d1379908f13138
Reviewed-on: http://review.typo3.org/41133
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
3 years ago[!!!][TASK] Streamline error and exception handling 44/31844/12
Helmut Hummel [Sat, 26 Jul 2014 11:29:24 +0000 (13:29 +0200)]
[!!!][TASK] Streamline error and exception handling

Remove the possibility for extensions to provide
error and exception handling configuration in
ext_localconf.php of an extension. This only worked
anyway only for errors or exceptions at a later point
in the bootstrap. We now by definition make it only possible
in LocalConfiguration.php (or AdditionalConfiguration.php).

In addition make the configuration more reliable and understandable:

* Register error handler even if exception handling is not configured.
* Remove option 2 for displayErrors option
* Configure everything only once and early in the bootstrap.

Releases: master
Resolves: #68131
Change-Id: I204f17510fcb10fa8601162687793910fbcf4464
Reviewed-on: http://review.typo3.org/31844
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[FOLLOWUP][TASK] Streamline usage of PageRenderer 39/41239/5
Wouter Wolters [Tue, 14 Jul 2015 20:20:22 +0000 (22:20 +0200)]
[FOLLOWUP][TASK] Streamline usage of PageRenderer

Use local variable in FormEngine for PageRenderer,
remove redeclared function in TriggerViewHelper and
solve problem with public getPageRenderer() deprecation.

Releases: master
Resolves: #68074
Change-Id: Ifc7325055189df6c1ff93c308bd8911262d7fe67
Reviewed-on: http://review.typo3.org/41239
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[BUGFIX] Scheduler tasks of deactivated exts should be considered invalid 46/41246/5
Georg Ringer [Tue, 14 Jul 2015 21:05:00 +0000 (23:05 +0200)]
[BUGFIX] Scheduler tasks of deactivated exts should be considered invalid

If a scheduler task is created and the extension which provides the task is
deactivated the task must be shown as invalid in the list- and edit-view.

Change-Id: Iaf63c48c73ddaad64e153046d548eef5bbbcc7ae
Resolves: #68140
Releases: master
Reviewed-on: http://review.typo3.org/41246
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Remove duplicated field "layout" for content element "table" 67/41167/2
Georg Ringer [Tue, 14 Jul 2015 08:38:56 +0000 (10:38 +0200)]
[BUGFIX] Remove duplicated field "layout" for content element "table"

The field "layout" is shown twice for the content element "table".
Remove the one in the tab "Table".

Change-Id: I092c0f273a75af0e5b6fb8847bbb085d851318e8
Resolves: #68104
Releases: master
Reviewed-on: http://review.typo3.org/41167
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
3 years ago[TASK] Move delete button for invalid scheduler tasks 05/41205/2
Georg Ringer [Tue, 14 Jul 2015 14:26:55 +0000 (16:26 +0200)]
[TASK] Move delete button for invalid scheduler tasks

If a class of a task is not available anymore, the
delete button should be on the same position as in other tasks.

Change-Id: I6fb750ca53a434765de8f4be6a7c93299435fcad
Resolves: #68129
Releases: master
Reviewed-on: http://review.typo3.org/41205
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
3 years ago[FOLLOWUP][TASK] Deprecate GeneralUtility:readLLfile 40/41240/3
Christian Kuhn [Tue, 14 Jul 2015 20:26:32 +0000 (22:26 +0200)]
[FOLLOWUP][TASK] Deprecate GeneralUtility:readLLfile

ExtensionManager fatals since the parserFactory object is
not always instantiated as expected.

Resolves: #68122
Releases: master
Change-Id: Ibc1ad2ac4df76b80b529c45ab5c1bf83115abf69
Reviewed-on: http://review.typo3.org/41240
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
3 years ago[BUGFIX] CsvUtility method csvToArray does not handle enclosures right 11/41211/4
Patrick Broens [Tue, 14 Jul 2015 14:24:07 +0000 (16:24 +0200)]
[BUGFIX] CsvUtility method csvToArray does not handle enclosures right

When we have a csv string with enclosures, the string is sometimes not
correctly transformed into a multidimensional array. The cause of this
is the first str_getcsv() function, responsible for exploding the rows.
It returns rows where the first column does not have an enclosure
anymore.

This patch fixes this by using fgetcsv(). A temporary file is created
and written to the typo3temp folder and then passed to fgetcsv(). This
way we get a correct multidimensional array from the csv string.

Change-Id: I042c1ab326ef2b5f5cdd2b1455da76ccefd5ae36
Resolves: #68127
Releases: master
Reviewed-on: http://review.typo3.org/41211
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Patrick Broens <patrick@patrickbroens.nl>
Tested-by: Patrick Broens <patrick@patrickbroens.nl>
3 years ago[TASK] Streamline usage of PageRenderer 31/41131/3
Nicole Cordes [Mon, 13 Jul 2015 15:07:29 +0000 (17:07 +0200)]
[TASK] Streamline usage of PageRenderer

The PageRenderer is a Singleton and only one instance exists during
runtime. This patch cleans up the usage and prevents sharing the
PageRenderer object over public getters. This helps to improve the api
and get rid of unnecessary functions.

Releases: master
Resolves: #68074
Change-Id: I66abd565df96ff0b8fb31d24a04721ca8ecb3f3a
Reviewed-on: http://review.typo3.org/41131
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
3 years ago[TASK] Deprecate GeneralUtility:readLLfile 97/41197/3
Christian Kuhn [Tue, 14 Jul 2015 13:20:12 +0000 (15:20 +0200)]
[TASK] Deprecate GeneralUtility:readLLfile

readLLfile() was just a wrapper around LocalizationFactory.
This is resolved now by adapting all calls and moving a left
over code snippet to the factory method.

Resolves: #68122
Releases: master
Change-Id: Ib416e380f25b06a055b7f25103e19925b29d7fde
Reviewed-on: http://review.typo3.org/41197
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
3 years ago[TASK] Move DB functionality pages.storage_pid to compatibility6 12/37912/7
Benjamin Mack [Tue, 17 Mar 2015 14:51:10 +0000 (15:51 +0100)]
[TASK] Move DB functionality pages.storage_pid to compatibility6

The TCA definitions are moved to the compatibility6
extension, the DB definition as well. Any reference
to the field is marked for deprecation.

Resolves: #65790
Releases: master
Change-Id: Ic9734ba114c6d23a2216b3aabf2e5658c5a3551b
Reviewed-on: http://review.typo3.org/37912
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[FEATURE] Add api for rsaauth encryption 38/40938/20
Nicole Cordes [Sun, 12 Jul 2015 21:53:28 +0000 (23:53 +0200)]
[FEATURE] Add api for rsaauth encryption

This patch introduces new API which eases the use of RSA encryption
across the core and for third party extensions.

For backend encryption a new RequireJS module is included which finds
fields to encrypt automatically by their data attribute.

For frontend encryption the JavaScript was rewritten to work the same
way the RequireJS module works but with plain (vanilla) JavaScript.

Releases: master
Resolves: #67932
Resolves: #34568
Change-Id: Id35dd65d1019a8c16858f03989ff48e3434698e4
Reviewed-on: http://review.typo3.org/40938
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[CLEANUP] FormEngine suggest: Split up AJAX method 22/40422/7
Andreas Wolf [Sun, 4 May 2014 10:07:07 +0000 (12:07 +0200)]
[CLEANUP] FormEngine suggest: Split up AJAX method

This moves parts of the very complex AJAX receiver method to their own
methods, making the original method a lot shorter and easier to
understand.

Resolves: #67593
Releases: master
Change-Id: I2422313e988195c3c12ac9133542f1f6183cc5a4
Reviewed-on: http://review.typo3.org/40422
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Drop usage of SkinImageViewHelper in ext:about 35/41235/2
Wouter Wolters [Tue, 14 Jul 2015 19:46:18 +0000 (21:46 +0200)]
[TASK] Drop usage of SkinImageViewHelper in ext:about

Resolves: #68139
Releases: master
Change-Id: I468fc51a9221261b7fc2dfa02701efa4dbaf0892
Reviewed-on: http://review.typo3.org/41235
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] Catch InvalidPackageManifestException in PackageManager 71/41171/3
Tymoteusz Motylewski [Mon, 13 Jul 2015 17:53:52 +0000 (19:53 +0200)]
[BUGFIX] Catch InvalidPackageManifestException in PackageManager

Prevents TYPO3 from going fatal when ext_emconf.php for some
package is missing.

Releases: master
Resolves: #68082
Change-Id: I646a26e9b952561480241cc06ad918fb64bb3d94
Reviewed-on: http://review.typo3.org/41171
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
3 years ago[BUGFIX] Streamline calls to sysLog 70/41170/5
Tymoteusz Motylewski [Mon, 13 Jul 2015 19:06:16 +0000 (21:06 +0200)]
[BUGFIX] Streamline calls to sysLog

Make all calls to GeneralUtility::sysLog use extkey "core"
instead of "Core".
Use constants for severity levels.
Fix wrong parameters (message instead of extension key).

Resolves: #68088
Releases: master
Change-Id: Iea44cff529b9d609f0815311e86e9549c20f83df
Reviewed-on: http://review.typo3.org/41170
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
3 years ago[TASK] Streamline page tree in Export module 34/41234/2
Benjamin Mack [Tue, 14 Jul 2015 18:47:27 +0000 (20:47 +0200)]
[TASK] Streamline page tree in Export module

Resolves: #68137
Releases: master
Change-Id: Id254bfc0ab5608212af7e92863edefa2b09e270a
Reviewed-on: http://review.typo3.org/41234
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Update sysext:mediace version 31/41231/3
Anja Leichsenring [Tue, 14 Jul 2015 18:08:23 +0000 (20:08 +0200)]
[TASK] Update sysext:mediace version

The version in ext_emconf.php was forgotten during update task.

Change-Id: I7df5d5893c2a9ef81067316efdb50559318ed552
Resolves: #68136
Releases: master
Reviewed-on: http://review.typo3.org/41231
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Hide preview link on delete page in workspaces mode 93/37793/5
Oliver Hader [Thu, 12 Mar 2015 16:12:20 +0000 (17:12 +0100)]
[BUGFIX] Hide preview link on delete page in workspaces mode

If a page is marked to be deleted (delete placeholder) in the
workspace mode, offering a frontend preview does not make much
sense. Thus, the accordant button in the page module won't be
shown in that case.

Resolves: #65699
Releases: master, 6.2
Change-Id: Ib27721c5e4b52dc91872ddb2a2f494649e13dab5
Reviewed-on: http://review.typo3.org/37793
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>