Packages/TYPO3.CMS.git
2 years ago[TASK] Be more specific about the inputLink wizard migration 42/52042/2
Cedric Ziel [Tue, 14 Mar 2017 15:40:48 +0000 (16:40 +0100)]
[TASK] Be more specific about the inputLink wizard migration

Resolves: #80277
Releases: master
Change-Id: I4aeab3c0c45d88d8e8934407dfaa3e845d6dd376
Reviewed-on: https://review.typo3.org/52042
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Switch to typo3/cms-styleguide 40/51940/3
Christian Kuhn [Fri, 3 Mar 2017 16:08:38 +0000 (17:08 +0100)]
[TASK] Switch to typo3/cms-styleguide

Styleguide moved from 7elix/styleguide to typo3/cms-styleguide

Change-Id: Ib11cd3d21121214ed5828aa26166d4a7b1419a3c
Resolves: #80118
Releases: master
Reviewed-on: https://review.typo3.org/51940
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
2 years ago[BUGFIX] colPos_list gets respected in language view 41/52041/2
Tobias Kretschmann [Tue, 14 Mar 2017 13:55:23 +0000 (14:55 +0100)]
[BUGFIX] colPos_list gets respected in language view

mod.SHARED.colPos_list is now also respected in
Web > Page > Language View.

Since TYPO3 6.2 the setting was only respected in
Page > Columns View, but should also be taken
into account by the Language View as it is a
SHARED setting.

Releases: master, 7.6
Resolves: #80275
Change-Id: Ibdc90103208d5abbcfba1dbbfee3b87d045885f9
Reviewed-on: https://review.typo3.org/52041
Reviewed-by: Steffen Frese
Tested-by: Steffen Frese
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Return to content element after closing 40/52040/2
Georg Ringer [Tue, 14 Mar 2017 13:28:30 +0000 (14:28 +0100)]
[TASK] Return to content element after closing

Add the current content element as section to the edit link.
Since #70074, the edit link in the header has been already
improved but other links have been missing.

Resolves: #80273
Releases: master
Change-Id: Id7cc236819ccd3306d4638cb65e87aee011a35b3
Reviewed-on: https://review.typo3.org/52040
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[TASK] Better positioning of suggest result 34/52034/2
Josef Glatz [Mon, 13 Mar 2017 16:30:49 +0000 (17:30 +0100)]
[TASK] Better positioning of suggest result

The suggest result (which is used for autocomplete) within
the TYPO3 backend is now left aligned which is especially
useful, if the form element fills the entire width of the form.

Releases: master
Resolves: #80254
Change-Id: Id6e166272e2e9b2eb3562edb815bb6d053b7fbe8
Reviewed-on: https://review.typo3.org/52034
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[TASK] Add max to the overrideable fields of type text 35/52035/2
Georg Ringer [Mon, 13 Mar 2017 20:05:15 +0000 (21:05 +0100)]
[TASK] Add max to the overrideable fields of type text

The configuration "max" of TCA type "text" should be overridable
via TsConfig. This makes it possible limit textarea input by using
TsConfig like

TCEFORM.tx_table.teaser.config.max = 20

Resolves: #80265
Releases: master
Change-Id: I84b0dc5ce240b0da1f5619353e8e525fba685e2d
Reviewed-on: https://review.typo3.org/52035
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[TASK] Update 8.6 Documentation 10/52010/4
Michael Oehlhof [Sun, 12 Mar 2017 10:32:22 +0000 (11:32 +0100)]
[TASK] Update 8.6 Documentation

Update and proofread 8.6 docs
Add changes from https://review.typo3.org/#/c/51599/ which is now
abandoned.

Resolves: #80260
Releases: master
Change-Id: If4398ee1a4c9223b4b4072e82a9171b590e9b29b
Reviewed-on: https://review.typo3.org/52010
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[BUGFIX] Add localizationStateSelector to some elements 01/52001/2
Christian Kuhn [Fri, 10 Mar 2017 21:16:31 +0000 (22:16 +0100)]
[BUGFIX] Add localizationStateSelector to some elements

When the localizationStateSelector has been added, it has been
forgotten for some elements. Add the wizard to both RTE's and t3editor.

Change-Id: If1ad3503f4ffde7d1dd8153708bb7da21c87e308
Resolves: #80234
Releases: master
Reviewed-on: https://review.typo3.org/52001
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
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>
2 years ago[BUGFIX] Preview pages with publish dates 23/52023/4
Susanne Moog [Mon, 13 Mar 2017 11:53:08 +0000 (12:53 +0100)]
[BUGFIX] Preview pages with publish dates

Currently pages can be hidden for different reasons:
- page is disabled
- page has a start time in the future
- page has an end time in the past
- page has an access restriction

When previewing a page the fe_groups and disabled restriction are
already ignored when TYPO3 is configured to preview hidden pages.

Start and endtime should be ignored, too, so an editor is able to
preview pages with start or end times set.

Change-Id: I634076af7219b70ccfc46f470ba046417177d29a
Resolves: #66451
Releases: master
Reviewed-on: https://review.typo3.org/52023
Reviewed-by: Tobi Kretschmann <tobi@tobishome.de>
Tested-by: Tobi Kretschmann <tobi@tobishome.de>
Reviewed-by: Steffen Frese
Tested-by: Steffen Frese
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[BUGFIX] Editing start-/end time of scheduled task not working correctly 60/51960/8
Thomas Hohn [Mon, 6 Mar 2017 05:41:53 +0000 (06:41 +0100)]
[BUGFIX] Editing start-/end time of scheduled task not working correctly

The start/end value can now contain either the start-/end time as
unix timestamp or as formatted date when using the datepicker.
In the later case the value must be converted to an unix timestamp
before storing it in the DB.

Resolves: #79814
Related: #77702
Releases: master
Change-Id: I750c1bc6d4634b89423e26a0dea48d2001115f18
Reviewed-on: https://review.typo3.org/51960
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christer V <cvi@systime.dk>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Thomas Maroschik <tmaroschik@dfau.de>
Tested-by: Thomas Maroschik <tmaroschik@dfau.de>
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>
2 years ago[BUGFIX] Fix rendering of select icons 83/51983/4
Georg Ringer [Wed, 8 Mar 2017 19:48:46 +0000 (20:48 +0100)]
[BUGFIX] Fix rendering of select icons

Use floating divs for the select icons instead of
a table with a fixed column count of 12.

Resolves: #79508
Releases: master
Change-Id: I4b4f485753ca33aa71d5c533b437e518da2096ed
Reviewed-on: https://review.typo3.org/51983
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[TASK] Add sys_domain index matching getDomainStartPage query 17/52017/2
Claus Due [Sun, 12 Mar 2017 18:45:24 +0000 (19:45 +0100)]
[TASK] Add sys_domain index matching getDomainStartPage query

The added index optimises the query that executes on every
single page load both cached and uncached.

Change-Id: I67dd28d08322442fcacdc5101e0063d072b25ae2
Resolves: #80247
Releases: master
Reviewed-on: https://review.typo3.org/52017
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Tested-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[BUGFIX] Remove no longer used CSS 86/51986/3
Josef Glatz [Thu, 9 Mar 2017 08:19:34 +0000 (09:19 +0100)]
[BUGFIX] Remove no longer used CSS

Remove obsolete and no longer used css styles concerning `ul.tree`.

This patch make also compiling css with grunt clean again when
executing.

Resolves: #80203
Related: #79803
Releases: master
Change-Id: Icee30a5e7ae1771062e452f70b38ad9f13eef774
Reviewed-on: https://review.typo3.org/51986
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[BUGFIX] Remove default fieldWizard on NoneElement 98/51998/4
Christian Kuhn [Fri, 10 Mar 2017 21:08:01 +0000 (22:08 +0100)]
[BUGFIX] Remove default fieldWizard on NoneElement

The NoneElement is a readOnly field. The fieldWizard API does not
make sense for this element, thus the declaration of default
fieldWizards can be dropped.

Change-Id: I59b0a25a798058858384dcea4fb9e9a33bf2b7ae
Resolves: #80231
Releases: master
Reviewed-on: https://review.typo3.org/51998
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[TASK] EXT:form - add typoscript inline documentation 06/52006/3
Ralf Zimmermann [Sat, 11 Mar 2017 13:01:17 +0000 (14:01 +0100)]
[TASK] EXT:form - add typoscript inline documentation

Resolves: #80142
Releases: master
Change-Id: I9463bf12732966de177816e14fc76c16e8f74783
Reviewed-on: https://review.typo3.org/52006
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
2 years ago[BUGFIX] MM language synchronization is ignored on initial localization 04/52004/7
Oliver Hader [Sat, 11 Mar 2017 09:50:11 +0000 (10:50 +0100)]
[BUGFIX] MM language synchronization is ignored on initial localization

The language synchronization of many-to-many fields (MM) is ignored for
the initial localization command, but is considered again when further
changes happen to source/parent elements of a localized element.

Besides fixing the missing 'config' segment on resolving the foreign
table name of the field to be synchronized, the special handling for
language assignments has been added - albeit it might not been used
in fields different to sys_language_uid.

Change-Id: I8bf02ee117fa41cf5b0425d0e535fced84fb72ca
Resolves: #80211
Releases: master
Reviewed-on: https://review.typo3.org/52004
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Müllenhagen <christianmuellenhagen@yahoo.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Fixed processing of non jpg, png and gif images 51/51751/4
Frans Saris [Sun, 19 Feb 2017 10:11:05 +0000 (11:11 +0100)]
[BUGFIX] Fixed processing of non jpg, png and gif images

Resolves: #79903
Releases: master
Change-Id: I159286a17bbb7dbab9d5ef696608e0e4d8558e7d
Reviewed-on: https://review.typo3.org/51751
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anders Kostending <aha@systime.dk>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
2 years ago[BUGFIX] Use-fine grained request types in Applications 09/52009/2
Benni Mack [Sun, 12 Mar 2017 07:21:06 +0000 (08:21 +0100)]
[BUGFIX] Use-fine grained request types in Applications

The new CLI console application as well as the install tool define
the request type as simulating backend, which is wrong, as they are
a separate application indeed.

In order to use more fine-grained different validations in the future
the request types are set as they are.

Resolves: #80242
Releases: master
Change-Id: Ide7bae5fc4ea2ed591c6f7e24836309a24242106
Reviewed-on: https://review.typo3.org/52009
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Two wrong conditions in FormEngine expansion 99/51999/2
Christian Kuhn [Fri, 10 Mar 2017 21:12:00 +0000 (22:12 +0100)]
[BUGFIX] Two wrong conditions in FormEngine expansion

Two minor condition checks in FormEngine element expansion
classes.

Change-Id: I087b744ee826d9b7174261bc084c4c188920e6c8
Resolves: #80232
Releases: master
Reviewed-on: https://review.typo3.org/51999
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] EXT:form - Change regexp for identifier escaping 96/51996/3
Martin Kutschker [Fri, 3 Mar 2017 22:42:48 +0000 (22:42 +0000)]
[BUGFIX] EXT:form - Change regexp for identifier escaping

Change regexp for identifier escaping of forms to work
for underscores and dashes.

Resolves: #80229
Releases: master
Change-Id: I2d76da7b42039cc13429344ca82120bf60b0ab13
Reviewed-on: https://review.typo3.org/51996
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Ralf Zimmermann <ralf.zimmermann@tritum.de>
Tested-by: Ralf Zimmermann <ralf.zimmermann@tritum.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
2 years ago[BUGFIX] Add allowLanguageSynchronization chain resolving 52/51952/15
Oliver Hader [Sat, 4 Mar 2017 12:39:15 +0000 (13:39 +0100)]
[BUGFIX] Add allowLanguageSynchronization chain resolving

Currently the localization behavior does not consider localization
chains concerning field values to be synchronized over multiple
localization hops that use the relative l10n_state "source".

Imagine the following scenario of content elements:
* { uid:10, sys_language_uid:0, l18n_parent:0, l10n_source:0,
    header:Value, l10n_state:null }
* { uid:11, sys_language_uid:1, l18n_parent:10, l10n_source:10,
    header:Value, l10n_state:{header:parent} }
* { uid:12, sys_language_uid:2, l18n_parent:10, l10n_source:11,
    header:Value, l10n_state:{header:source} }

Now if the record of the default language (uid:10) will be updated and
the header value set to "Modified", only direct dependents would be
synchronized. The automated update of the direct-child localization
record (uid:11) does not trigger another update for the grand-child
localization (uid:12).
To achieve this, the data-map processor has been extended to collect
new modifications to the data-map caused by synchronization processes
- as long as modifications could be determined, another synchronization
round is triggered for the modified items.
This way the localization chain is completely synchronized if required,
depending on the according l10n_state settings.

Change-Id: Ic08460f3ed0071f3dca6c6d1666031895bc3d832
Resolves: #80141
Releases: master
Reviewed-on: https://review.typo3.org/51952
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
2 years ago[TASK] Bypass fetch of database record if already loaded 29/51929/3
Xavier Perseguers [Thu, 2 Mar 2017 14:51:38 +0000 (15:51 +0100)]
[TASK] Bypass fetch of database record if already loaded

Change-Id: I737f76e497ef4a9c2ce1439cfe09b0b1e75afd73
Resolves: #80100
Releases: master
Reviewed-on: https://review.typo3.org/51929
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Wrong variable checked in BrowseLinksController 91/51991/2
Christer Vindberg [Thu, 9 Mar 2017 13:00:14 +0000 (14:00 +0100)]
[BUGFIX] Wrong variable checked in BrowseLinksController

Changed so the correct variable classesAnchorDefaultTitle is checked.

In BrowseLinksController::getTitleField the wrong variable was checked,
which could cause faulty behaviour and an PHP warning since $title could
become null instead of the empty string.

Resolves: #80209
Releases: master
Change-Id: Ie2c82085438d0f0303d0d61ccb0a095ee37da338
Reviewed-on: https://review.typo3.org/51991
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Minor typo and unused use 00/52000/2
Christian Kuhn [Fri, 10 Mar 2017 21:14:51 +0000 (22:14 +0100)]
[BUGFIX] Minor typo and unused use

Change-Id: If3eb8c6d2b0fef265b3030fc1c2ed7ec8958564f
Resolves: #80233
Releases: master
Reviewed-on: https://review.typo3.org/52000
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Make InvalidXmlFileException for language files more verbose 95/51995/2
Andreas Fernandez [Fri, 10 Mar 2017 11:14:45 +0000 (12:14 +0100)]
[TASK] Make InvalidXmlFileException for language files more verbose

The message of the InvalidXmlFileException, thrown when parsing broken
language files now always shows the last occured error in libxml with
the affected file and line.

Resolves: #80224
Releases: master, 7.6
Change-Id: I49949119db73f0c09d997a3e2cf45bf86a9587c8
Reviewed-on: https://review.typo3.org/51995
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Avoid CKEditor RequireJS information loaded in FE 87/51987/2
Benni Mack [Thu, 9 Mar 2017 09:16:16 +0000 (10:16 +0100)]
[BUGFIX] Avoid CKEditor RequireJS information loaded in FE

The CKEditor default configuration for RequireJS path
resolving is only relevant in BE, Frontend Page Rendering
needs to do that separately for now, to avoid
loading of too many unnecessary config files if only
requireJS should be used in the Frontend.

The patch changes the functionality to only load
RequireJS in Backend (and not in CLI mode).

Resolves: #80183
Releases: master
Change-Id: I035ddb6bc83ebfb2a8f45de71fadd8f0e0b2d0a3
Reviewed-on: https://review.typo3.org/51987
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Christer V <cvi@systime.dk>
Tested-by: Christer V <cvi@systime.dk>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[BUGFIX] Fix configuration example in image manipulation rst 93/51993/2
Helmut Hummel [Thu, 9 Mar 2017 21:22:38 +0000 (22:22 +0100)]
[BUGFIX] Fix configuration example in image manipulation rst

The configuration example for cover areas is wrong and needs
to be nested below cropVariants and <cropVariantId>

Resolve: #80218
Releases: master
Change-Id: I5c65fb8657fe93b41a083c01b6bea0a8610177bc
Reviewed-on: https://review.typo3.org/51993
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Fix PageTS config example of CKEditor RTE 70/51770/3
mkoitka [Mon, 20 Feb 2017 12:35:32 +0000 (13:35 +0100)]
[BUGFIX] Fix PageTS config example of CKEditor RTE

Releases: master
Resolves: #79919
Change-Id: Ic47513eddca720e29bc83efccdb6f55854768d37
Reviewed-on: https://review.typo3.org/51770
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
2 years ago[TASK] Remove TCA config 'max' on inputDateTime fields 03/51903/7
Thomas Hohn [Tue, 28 Feb 2017 15:42:39 +0000 (16:42 +0100)]
[TASK] Remove TCA config 'max' on inputDateTime fields

The TCA migration removes the 'max' config option for
renderType="inputDateTime" since this should not be set
for this renderType to avoid performance issues when
storing data in the DB.

Resolves: #80027
Releases: master
Change-Id: Ia8d6d95e0830c6173522757ece5e3f48db618f33
Reviewed-on: https://review.typo3.org/51903
Reviewed-by: Christer V <cvi@systime.dk>
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>
2 years ago[BUGFIX] Make styles.content.get available after major FSC rewrite 84/51884/7
Josef Glatz [Tue, 28 Feb 2017 06:36:35 +0000 (07:36 +0100)]
[BUGFIX] Make styles.content.get available after major FSC rewrite

Since the major rewrite of EXT:fluid_styled_content and
EXT:css_styled_content the following TypoScript setup must
be loaded by default:

* `styles.content.get` can be used as ready2use `CONTENT`
  object for `colPos = 0`
* `tt_content.default` outputs necessary info in the frontend,
  if the CType has currently no rendering definition

Both can be used independently from FSC or CSC.

Including the necessary TypoScript via `addTypoScriptSetup()`
takes care of loading it before any other activated extension.

Resolves: #80044
Related: #79622
Releases: master
Change-Id: I460ed9f57e215be96ee13d6714cd522882fb53eb
Reviewed-on: https://review.typo3.org/51884
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Johannes Kasberger <johannes.kasberger@reelworx.at>
Tested-by: Johannes Kasberger <johannes.kasberger@reelworx.at>
Tested-by: Daniela Grammlich <grammlich@punkt.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[BUGFIX] Skip CKEditor registration on CLI 81/51981/4
Christer Vindberg [Wed, 8 Mar 2017 12:14:29 +0000 (13:14 +0100)]
[BUGFIX] Skip CKEditor registration on CLI

Made sure the CKEditor RequireJS paths are not calculated when running
in a CLI context.

When rte_ckeditor is installed, all caches are cleared
and the first hit to a TYPO3 installation is a CLI command, the
backend RequireJS paths are calculated and saved wrongly
causing the backend to fail afterwards.

How to replicate:

* install rte_ckeditor
* delete var/Cache/
* run typo3/cli_dispatch.phpsh
* visit backend

Resolves: #80183
Releases: master
Change-Id: I5de9462a6f577f2eb6c06adabe44a6a86e3c2592
Reviewed-on: https://review.typo3.org/51981
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Anders Kostending <aha@systime.dk>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
2 years ago[BUGFIX] MediaViewHelper does not render data-focus-area attribute 19/51919/4
Jörg Bösche [Wed, 1 Mar 2017 14:32:59 +0000 (15:32 +0100)]
[BUGFIX] MediaViewHelper does not render data-focus-area attribute

The media view helper should support the new data-focus-area attribute
for image manipulation. Just like the ImageViewHelper does.

Resolves: #80081
Releases: master
Change-Id: I89395ae974b72522d1c4c97d0dae38dd65495ae3
Reviewed-on: https://review.typo3.org/51919
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
Reviewed-by: Claus Due <claus@phpmind.net>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[BUGFIX] Update selected ratio in preview element 79/51979/3
Helmut Hummel [Tue, 7 Mar 2017 19:30:00 +0000 (20:30 +0100)]
[BUGFIX] Update selected ratio in preview element

When selecting a different ratio and accepting the image manipulation,
not only the image thumbnails, but also the selected ratio should be updated.

Also set the selected ratio correctly when initializing the image manipulation
and set the value even if selected ratio is not defined in TCA but is present
in allowed aspect ratios.

Also always set crop area from saved collection.

Resolves: #80169
Releases: master
Change-Id: I63c24e14b724c3f47ff3101afb4bcb56983c1b28
Reviewed-on: https://review.typo3.org/51979
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[BUGFIX] Add possibility to define crop variants per table 51/51951/11
Helmut Hummel [Thu, 2 Mar 2017 13:14:31 +0000 (14:14 +0100)]
[BUGFIX] Add possibility to define crop variants per table

Currently it is not possible to define crop variants per
table or content type. This makes this feature a lot less useful
as it could be.

Add a form data provider to make this possible.

Also fix the issue that the full size image is used instead of
a smaller variant in the interface and hide the cropping
tool if no image size can be determined (happens for some SVGs).

Focus area now also works when no cover areas are defined.

Resolves: #80105
Resolves: #80157
Resolves: #79961
Releases: master
Change-Id: I3333a59c84b6f55f7bf300663ea2ff52bf70e698
Reviewed-on: https://review.typo3.org/51951
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
2 years ago[BUGFIX] Add support for target attribute to form viewhelper 71/51971/2
Susanne Moog [Tue, 7 Mar 2017 07:48:48 +0000 (08:48 +0100)]
[BUGFIX] Add support for target attribute to form viewhelper

<f:form> now supports setting target="" as attribute.

Change-Id: Id6bd5f136b3ca6a4083f08780796b408ceaf0116
Releases: master,7.6
Resolves: #80159
Reviewed-on: https://review.typo3.org/51971
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
2 years ago[TASK] Upgrade d3.js to 4.7.1 61/51961/2
Anders Kostending [Mon, 6 Mar 2017 08:23:55 +0000 (09:23 +0100)]
[TASK] Upgrade d3.js to 4.7.1

Release notes:
4.6.0
 * Add path.measure.
 * Improve d3.pack layout.
 * Fix d3.geoBounds for certain line geometries.
 * Fix d3.geoCentroid for detailed features.
4.7.0
 * Add d3.cross.
 * Allow d3.pairs to take an optional reducer.
 * Add d3.geoContains.
 * Fix invalid transforms when an ordinal axis transition
 is interrupted.
 * Localized number formats can now define numeral systems,
 such as Hindu–Arabic.
 * Fix number formatting of negative infinity.
 * Maybe make rounded arcs a little more robust.
 * Optimize d3.geoCentroid.
4.7.1
 * Fix the Mercator projection’s built-in clipping when
 projection.center is used.
 * Fix the Mercator projection’s built-in clipping when
 projection.clipExtent is used.
 * Ignore small-angle arcs in path.arc to workaround
 rendering bug in Chrome on Ubuntu.
 * Fix escaping of strings containing carriage returns
 in d3-dsv.

 More on https://github.com/d3/d3/releases

Resolves: #80147
Releases: master
Change-Id: I0fd7280b46795c9acd31fb84308fd682494feb30
Reviewed-on: https://review.typo3.org/51961
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
2 years ago[BUGFIX] EM: Highlighting for insecure/outdated extensions 36/51936/6
Josef Glatz [Fri, 3 Mar 2017 14:01:54 +0000 (15:01 +0100)]
[BUGFIX] EM: Highlighting for insecure/outdated extensions

- Fix styles for extensions marked insecure or outdated
  within the TYPO3 extension manager list.
- Fix and update styles for the extension upload form.

Make compiling css with grunt clean again when executing:
* install.css

This patch fixes also the version number of a bower dependency
which should reflect the installed version:
* matchHeight v0.7.0 to v0.7.2

Resolves: #80114
Related: #79803
Releases: master, 7.6
Change-Id: If6b6fbf7331c292605c3e0b17aafbaea301825f7
Reviewed-on: https://review.typo3.org/51936
Tested-by: TYPO3com <no-reply@typo3.com>
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>
2 years ago[TASK] Move version selector view to EXT:compatibility7 77/51777/5
Benni Mack [Tue, 21 Feb 2017 07:01:24 +0000 (08:01 +0100)]
[TASK] Move version selector view to EXT:compatibility7

The functionality for switching between versions and showing
all versions of a record is available through the clickmenu when
EXT:version, but not EXT:workspaces is installed.

It is only used on certain edge cases and therefor moved
to EXT:compatibility7.

Resolves: #79942
Releases: master
Change-Id: Ic54f6ff2641fcb25ab3984ebead44dc44d9d3834
Reviewed-on: https://review.typo3.org/51777
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[BUGFIX] Always use forward slashes in Upgrade Analysis 59/51959/2
Jigal van Hemert [Sun, 5 Mar 2017 22:13:36 +0000 (23:13 +0100)]
[BUGFIX] Always use forward slashes in Upgrade Analysis

In the Upgrade Analysis in the Install Tool only forward slashes
can be used in paths to prevent exceptions from being throws while
checking if the file is inside the documentation directory. If the path
is constructed with realpath() the path contains backslashes on Windows.

Resolves: #80146
Releases: master
Change-Id: Ib3fde8389ca74f7ee60bc7adf261232e58113639
Reviewed-on: https://review.typo3.org/51959
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[FOLLOWUP][BUGFIX] Exception when setting "language" to "all" for content 62/51962/2
Oliver Hader [Mon, 6 Mar 2017 09:06:15 +0000 (10:06 +0100)]
[FOLLOWUP][BUGFIX] Exception when setting "language" to "all" for content

The initial change just hid a misbehavior when dealing with a content
element that was defined for the non-existing "all language". In this
case no localizations are possible and the data-map item shall not be
considered at all. This change makes the exception on language "-1"
more explicit and does not hide these side-effects.

Besides that, the functional tests were extended to check the complete
scenario for the defined language to be tested in the frontend.

Change-Id: I336e0e5c3994e21b9b8a17818b3dc0ab1c2a1b3a
Resolves: #79853
Releases: master
Reviewed-on: https://review.typo3.org/51962
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Joerg Kummer <service@enobe.de>
Tested-by: Joerg Kummer <service@enobe.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
2 years ago[BUGFIX] Respect TypoScript code after not matched include 63/51963/3
Helmut Hummel [Mon, 6 Mar 2017 11:30:46 +0000 (12:30 +0100)]
[BUGFIX] Respect TypoScript code after not matched include

When parsing TypoScript with <INCLUDE which has a condition,
following TypoScript code which is not in an <INCLUDE statement
will be discarded.

Before early returning from a non matched condition, this
code needs to be added.

Resolves: #80150
Releases: master, 7.6
Change-Id: I4ea839012c57e5e7945dde3705aa96839afc58a0
Reviewed-on: https://review.typo3.org/51963
Tested-by: TYPO3com <no-reply@typo3.com>
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: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[TASK] Hide word count in indexed_search backend if mysql fulltext is used 31/51931/2
Georg Ringer [Thu, 2 Mar 2017 20:19:58 +0000 (21:19 +0100)]
[TASK] Hide word count in indexed_search backend if mysql fulltext is used

If mysql fulltext is enabled, the word count is always empty.
Therefore the word count should be always be hidden.

Resolves: #79985
Releases: master
Change-Id: I6463acecbb8935cf51419c5faebd9818da6efc7b
Reviewed-on: https://review.typo3.org/51931
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
2 years ago[TASK] Show actual connect problem in Install tool 48/51948/9
Thomas Hohn [Sat, 4 Mar 2017 07:16:25 +0000 (08:16 +0100)]
[TASK] Show actual connect problem in Install tool

If a connection can't be established to the database show the
actual exception message instead of just asking the user to check.
Can be due to faulty configuration in LocalConfiguration.php

Resolves: #80134
Releases: master
Change-Id: Ib04f4ac74ca8234dd18d5bc9ba71c4d75c28038f
Reviewed-on: https://review.typo3.org/51948
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
2 years ago[BUGFIX] Check for required migrations in silentCacheFrameworkTableSchemaMigration 07/51907/3
Georg Ringer [Tue, 28 Feb 2017 19:14:42 +0000 (20:14 +0100)]
[BUGFIX] Check for required migrations in silentCacheFrameworkTableSchemaMigration

Check that there are tables that need to be migrated instead of blindy
calling the SchemaMigrator.

Resolves: #80065
Releases: master
Change-Id: I6992f4fa1786a27123058ce89f8c8669f13ddabc
Reviewed-on: https://review.typo3.org/51907
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[BUGFIX] Add deleted = 0 to getProcessedValue 55/51955/2
Mathias Schreiber [Sun, 5 Mar 2017 12:50:16 +0000 (13:50 +0100)]
[BUGFIX] Add deleted = 0 to getProcessedValue

The doctrine migration missed a DeletedRestriction.

Resolves: #80143
Releases: master
Change-Id: I391f47ecb61be6ebdcd6f57978cf5cf5b007a2d3
Reviewed-on: https://review.typo3.org/51955
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] CKEditor: UI language should respect BE user language 47/51947/3
Benni Mack [Sat, 4 Mar 2017 06:49:16 +0000 (07:49 +0100)]
[BUGFIX] CKEditor: UI language should respect BE user language

If a backend user has selected a backend language,
CKEditor is not respecting this option, instead calculating
this based on the current browsers' language.

By default, CKeditor checks if the config option "language"
is set and if this is a valid language key, and translation is available
if not, it checks for the browser settings, if nothing matching found
it falls back to to the config option "defaultLanguage".

"defaultLanguage" should be set to "en", as the TYPO3 Backend
does as well.

The config option "language" should be calculated based on the
Backend Users' settings.

Resolves: #80133
Releases: master
Change-Id: I0f095ab7147871c2a4e8c8ea379754749bc1ba98
Reviewed-on: https://review.typo3.org/51947
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[BUGFIX] Catch FileDoesNotExistException in InputLinkElement 22/51922/5
Georg Ringer [Wed, 1 Mar 2017 22:37:41 +0000 (23:37 +0100)]
[BUGFIX] Catch FileDoesNotExistException in InputLinkElement

If a file is linked which does not exist anymore, the UI
must not break.

Resolves: #80086
Releases: master
Change-Id: If95af9bf4b1e6e723e26e412ce7a29d8214fe411
Reviewed-on: https://review.typo3.org/51922
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[TASK] CKEditor: Add quicktable plugin / easier table configuration 45/51945/4
Benni Mack [Sat, 4 Mar 2017 06:25:54 +0000 (07:25 +0100)]
[TASK] CKEditor: Add quicktable plugin / easier table configuration

In order to reduce the dialog popups and ease the pain with tables
within CKEditor, quicktable (https://github.com/ufdada/quicktable)
is added which complements the basic "table" plugin.

The quicktable plugin is modified to add only unstyled tables
instead of the default tables/borders.

Additionally, some styles for tables are added to the default contents.css

Resolves: #80131
Releases: master
Change-Id: I06b619fa89e21cb43ea79ebc8a67238db8d58c66
Reviewed-on: https://review.typo3.org/51945
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[TASK] CKEditor: Use better default alignment classes 46/51946/2
Benni Mack [Sat, 4 Mar 2017 06:39:47 +0000 (07:39 +0100)]
[TASK] CKEditor: Use better default alignment classes

The default alignment classes are adapted to reflect default stylings for
websites, using twitter bootstrap instead of custom classes.

Resolves: #80132
Releases: master
Change-Id: I7ef353d357ee9095f47a8701bbcb2fc5f2b8253b
Reviewed-on: https://review.typo3.org/51946
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Catch exceptions in LinkBrowser 23/51923/3
Georg Ringer [Wed, 1 Mar 2017 22:57:32 +0000 (23:57 +0100)]
[BUGFIX] Catch exceptions in LinkBrowser

If a folder or file is linked which does not exist, the UI must not
break.

Resolves: #80087
Releases: master
Change-Id: I9027234065c33f68db6af24f1dae9735d46d2584
Reviewed-on: https://review.typo3.org/51923
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[BUGFIX] Incorrect usages of string as array in QueryGenerator 15/51915/8
Christer Vindberg [Wed, 1 Mar 2017 11:46:47 +0000 (12:46 +0100)]
[BUGFIX] Incorrect usages of string as array in QueryGenerator

Changed so an empty $queryConfig is always an array.

$queryConfig is declared as an array but can be used as an array or
string, therefore in PHP 7.1 an exception was thrown.

Resolves: #80075
Releases: master, 7.6
Change-Id: Ifd8b89e0ccce4f93a6c7bee5afe10bf52fa73634
Reviewed-on: https://review.typo3.org/51915
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[TASK] Use LanguageService::$moduleLabels as fallback in ModuleLoader 32/51932/2
Nicole Cordes [Thu, 2 Mar 2017 23:18:17 +0000 (00:18 +0100)]
[TASK] Use LanguageService::$moduleLabels as fallback in ModuleLoader

As the property moduleLabels of the LanguageService was deprecated with
8, it should be used as fallback for module labels unless it is removed
completely. This raises compatibility possibilities for extensions as
otherwise an empty module is shown in the module list.

Resolves: #80107
Releases: master
Change-Id: I5fc306b2bd2c2ba221ad877cec3914f07d2ff584
Reviewed-on: https://review.typo3.org/51932
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[BUGFIX] Felogin: Only wrap header/message if not empty 34/51934/3
Benni Mack [Fri, 3 Mar 2017 10:21:16 +0000 (11:21 +0100)]
[BUGFIX] Felogin: Only wrap header/message if not empty

When adding felogin template the wraps defined by default
of EXT:felogin are always outputted even though it just adds
an empty div/h3 tag around, which looks odd in most installations.

The patch adds a proper required tag to see if the value is actually not
empty.

Resolves: #80110
Releases: master, 7.6
Change-Id: Ia9e4c7d3dc294b30db3f10cdde96f95899aa18ef
Reviewed-on: https://review.typo3.org/51934
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[BUGFIX] SchemaMigrator: Don't add indexes on changed columns 28/51928/8
Morton Jonuschat [Fri, 3 Mar 2017 03:15:10 +0000 (19:15 -0800)]
[BUGFIX] SchemaMigrator: Don't add indexes on changed columns

Adding or changing an index on MySQL could sometimes fail due
to a dependency between the index definition and the column types.
On MySQL indexes on TEXT/BLOB types might require defining a
prefix length so that the index does not exceed storage limits.

Implement a check when migrating the database in a mode that
only adds fields and indexes such that added indexes do not touch
columns that require changes.

Also update the detection of required database changes in the
upgrade wizard so it does not get stuck on database changes
which will not be performed in that phase.

Resolves: #80096
Resolves: #80043
Releases: master
Change-Id: I4fa403e8429f9f59a6316d0f425d36673a690e31
Reviewed-on: https://review.typo3.org/51928
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Johannes Kasberger <johannes.kasberger@reelworx.at>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[FOLLOWUP][BUGFIX] Add query restrictions for all tables in query 12/51912/4
Tymoteusz Motylewski [Wed, 1 Mar 2017 14:17:03 +0000 (15:17 +0100)]
[FOLLOWUP][BUGFIX] Add query restrictions for all tables in query

This patch ensures a correct table name is used within the restrictions
to be able to find TCA information.

Resolves: #79615
Releases: master
Change-Id: I1e96531602bfb5debeb0a1202ed91eb90cc31032
Reviewed-on: https://review.typo3.org/51912
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[TASK] Default saltedPWHashingMethod Pbkdf2 35/51935/3
Christian Futterlieb [Fri, 3 Mar 2017 11:59:22 +0000 (12:59 +0100)]
[TASK] Default saltedPWHashingMethod Pbkdf2

Change default saltedPWHashingMethod to Pbkdf2 in order to use the
most secure salting method that is available by default.

Change-Id: I4cd06731fe5aee177f4809fd604c8f770232062f
Releases: master
Resolves: #80112
Reviewed-on: https://review.typo3.org/51935
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Futterlieb <christian@futterlieb.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[TASK] Improve migration steps of BE viewhelper attributes deprecation 27/51927/5
Tymoteusz Motylewski [Thu, 2 Mar 2017 11:59:06 +0000 (12:59 +0100)]
[TASK] Improve migration steps of BE viewhelper attributes deprecation

Resolves: #80097
Releases: master
Change-Id: Ia0d4448bfa257bb3f77f12baaa210bc1af1b6b57
Reviewed-on: https://review.typo3.org/51927
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[CLEANUP] Streamline Avatar-related code in EXT:backend 08/51908/4
Benni Mack [Tue, 28 Feb 2017 19:54:22 +0000 (20:54 +0100)]
[CLEANUP] Streamline Avatar-related code in EXT:backend

- Add proper comments to all PHP code, remove all unnecessary
comments (e.g. "get height" for getHeight() method).
- Move Icon functionality to ViewHelpers instead of doing everything
in PHP.

Resolves: #80066
Releases: master
Change-Id: I5c814824f57112e9603f5994e051f7eb6dd85e45
Reviewed-on: https://review.typo3.org/51908
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Ensure pageTS is overriding on top-level RTE syntax 17/51917/4
Benni Mack [Wed, 1 Mar 2017 11:51:10 +0000 (12:51 +0100)]
[BUGFIX] Ensure pageTS is overriding on top-level RTE syntax

If using RTE.classesAnchor before, the new Richtext class
did not merge the values together. This is now solved by
doing proper overlays.

Resolves: #80078
Releases: master
Change-Id: Ia76696065a22207ed40974cc0da8b2842120c45d
Reviewed-on: https://review.typo3.org/51917
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
2 years ago[TASK] Deprecate \TYPO3\CMS\Core\Core\Bootstrap::loadExtensionTables 18/51918/3
Nicole Cordes [Wed, 1 Mar 2017 12:17:37 +0000 (13:17 +0100)]
[TASK] Deprecate \TYPO3\CMS\Core\Core\Bootstrap::loadExtensionTables

With the patch https://review.typo3.org/51892 we have introduced single
functions to handle loading of information correctly. We can now remove
the wrapper function and call the new ones instead.

Resolves: #80079
Releases: master
Change-Id: I0d61f0d5760ae3c61fa96dc16329365d5f4182a5
Reviewed-on: https://review.typo3.org/51918
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[!!!][TASK] Always include pageId in cHash calculation 83/51883/5
Benni Mack [Tue, 28 Feb 2017 06:17:43 +0000 (07:17 +0100)]
[!!!][TASK] Always include pageId in cHash calculation

The option $TYPO3_CONF_VARS[FE][cHashIncludePageId]
was included as part of a security fix to stay backwards-compatible
with existing installations.

The option was only there as a intermediate step, however
the cHash calculation should always contain the pageID,
so the option is removed and should be enabled by default.

The change removes the option via a silent configuration
updater in the Install Tool, removes the status report and
changes the cHash calculation to always include a pageId,
and if the page ID is not given, an exception is now
thrown all the time.

Resolves: #80050
Releases: master
Change-Id: Iac8eef1273848309da62deb24160f1c14ef338f4
Reviewed-on: https://review.typo3.org/51883
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Deprecate page.insertClassesFromRTE 14/51914/4
Benni Mack [Wed, 1 Mar 2017 11:30:18 +0000 (12:30 +0100)]
[TASK] Deprecate page.insertClassesFromRTE

The TypoScript option which fetches TSconfig to
load RTE specific classes and writes inline CSS
has been marked as deprecated, as the cross-dependency
for RTE/pageTSconfig/TypoScript is superseeded by
modern techniques of having a separate frontend from
the backend styling - using contents.css for that
case, and LESS/SASS/preprocessing for frontend
rendering.

Resolves: #80076
Releases: master
Change-Id: I865174823a358252bd3bb47ab4af274d19795472
Reviewed-on: https://review.typo3.org/51914
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Enable rte_ckeditor instead of rtehtmlarea for new installations 16/51916/3
Christian Kuhn [Wed, 1 Mar 2017 11:47:46 +0000 (12:47 +0100)]
[TASK] Enable rte_ckeditor instead of rtehtmlarea for new installations

To embrace rte_ckeditor instead of rtehtmlarea, ckeditor extension is
now marked as "partOfFactoryDefault" instead of htmlarea, affecting
new instances.
Additionally mark rte_ckeditor as stable and rtehtmlarea as obsolete.

Change-Id: I5da1dcd5e069b32d266003f9c3ce5d86b227d947
Resolves: #80077
Releases: master
Reviewed-on: https://review.typo3.org/51916
Reviewed-by: Anders Kostending <aha@systime.dk>
Reviewed-by: Kasper Ligaard <kasperligaard+typo3.org@gmail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
2 years ago[TASK] Remove unnecessary RTE default configuration 13/51913/3
Benni Mack [Wed, 1 Mar 2017 10:52:12 +0000 (11:52 +0100)]
[TASK] Remove unnecessary RTE default configuration

As the default preset is now always fetched,
the base RTE configuration in FormEngine can be
reduced again, and everything is fetched from the
Yaml/pageTS configuration.

Resolves: #80074
Releases: master
Change-Id: I21b1d4ded26e1b563d60c97b11e1de4eaa65fb19
Reviewed-on: https://review.typo3.org/51913
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Daniel Gorges <daniel.gorges@b13.de>
Tested-by: Daniel Gorges <daniel.gorges@b13.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[TASK] Add language debug mode to All Configuration 56/51856/4
Thomas Hohn [Sat, 25 Feb 2017 14:30:45 +0000 (15:30 +0100)]
[TASK] Add language debug mode to All Configuration

Renamed $TYPO3_CONF_VARS['BE']['lang']['debug'] to
$TYPO3_CONF_VARS['BE']['languageDebug'] in order to
be able to set value in install-tool.

Resolves: #71095
Releases: master
Change-Id: I49cf8516db5d535a8fe2cac6330ce2ebc3aba783
Reviewed-on: https://review.typo3.org/51856
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Better fallback configuration for CKEDITOR 20/51820/8
Anders Kostending [Fri, 24 Feb 2017 09:04:35 +0000 (10:04 +0100)]
[BUGFIX] Better fallback configuration for CKEDITOR

If in TCA ['config']['richtextConfiguration'] is not set,
fall back to 'default' configuration.

Resolves: #79756
Releases: master
Change-Id: I83d90a8bb52cec84257809674b46fdf69f6fb815
Reviewed-on: https://review.typo3.org/51820
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Do not convert special characters to entities in CKEDITOR 10/51910/3
Anders Kostending [Wed, 1 Mar 2017 08:24:22 +0000 (09:24 +0100)]
[BUGFIX] Do not convert special characters to entities in CKEDITOR

Using these configurations æ, ø and å will be
stored the same ways as with RTE HTMLArea.

Resolves: #80032
Releases: master
Related: #79756
Change-Id: Iddf85b3bcde0587361cfc5d2bd09917da04fcb5e
Reviewed-on: https://review.typo3.org/51910
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Make LocalizationRepository handle copied records 06/51406/7
Tymoteusz Motylewski [Tue, 28 Feb 2017 21:25:52 +0000 (22:25 +0100)]
[BUGFIX] Make LocalizationRepository handle copied records

Improve LocalizationRepository queries to handle case
when records were copied from another page (thus t3_origuid)
is pointing to records from the other page.

Now LocalizationRepository uses l10n_source field instead of t3_origuid.
Tests for LocalizationRepository covering the case were added.

Resolves: #79443
Resolves: #78599

Releases: master, 7.6
Change-Id: Ibae4a276ea814f0ce3d453cffef1d22afeff1eb9
Reviewed-on: https://review.typo3.org/51406
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Mächler <admin@bithost.ch>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
2 years ago[BUGFIX] Add query restrictions for all tables in query 02/51902/5
Tymoteusz Motylewski [Tue, 28 Feb 2017 15:51:01 +0000 (16:51 +0100)]
[BUGFIX] Add query restrictions for all tables in query

QueryBuilder::getQueriedTables now returns an array with table
alias as a key and table name as value.
If a table doesn't have an alias, both key and value are containing
table name.

This change is needed to make query restriction classes add restrictions
for all tables in case the self inner join is made.
A test covering the case was added to QueryBuilderTest.

Releases: master
Resolves: #79615
Change-Id: Ibf797189334ed86db0fce1a4ef3f0898cb0ada11
Reviewed-on: https://review.typo3.org/51902
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Patrick Broens <patrick@patrickbroens.nl>
Tested-by: Patrick Broens <patrick@patrickbroens.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[BUGFIX] Streamline cookie options / remove cookieHttpOnly 08/50808/18
Benni Mack [Wed, 1 Feb 2017 05:51:17 +0000 (06:51 +0100)]
[BUGFIX] Streamline cookie options / remove cookieHttpOnly

The TYPO3_CONF_VARS[SYS][cookieHttpOnly] option is removed
as all cookies set by the TYPO3 Core are HttpOnly by default
in order to avoid client side script access.

This option was previously turned on by default but configurable
as old browser did not support this option all the time (see
https://www.owasp.org/index.php/HttpOnly#Browsers_Supporting_HttpOnly
for more details).

The be_lastLoginProvider and workspaces cookies now
set the httpOnly flag properly as well.

Resolves: #78835
Releases: master
Change-Id: I12538508a6f97888d7ad0b2f5f028bcde2844d6d
Reviewed-on: https://review.typo3.org/50808
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[TASK] Add ext:frontend as dependency for CSC/FSC 06/51906/2
Josef Glatz [Tue, 28 Feb 2017 18:13:00 +0000 (19:13 +0100)]
[TASK] Add ext:frontend as dependency for CSC/FSC

EXT:css_styled_content and EXT:fluid_styled_content
must depend on EXT:frontend.

Resolves: #80064
Releases: master
Change-Id: I116209ac78c7cabe6bc0a90512b4526564556d2e
Reviewed-on: https://review.typo3.org/51906
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[TASK] Deprecate jQuery and extJS arguments for BE viewhelpers 94/51794/6
Benni Mack [Wed, 22 Feb 2017 09:24:21 +0000 (10:24 +0100)]
[TASK] Deprecate jQuery and extJS arguments for BE viewhelpers

The BE-related viewhelpers <f:be.container> and <f:be.pageRenderer>
have properties to activate ExtJS and jQuery with various options.

1. ExtJS will be removed in TYPO3 v9, and using ExtJS in custom
backend modules is deprecated.

2. jQuery is now always loaded with DocumentTemplate and
ModuleTemplate, so the option does not work at all. All occurrences
use RequireJS modules which resolve their dependencies to
jQuery within the JS module.

All places in the TYPO3 Core where these options have been
used are removed.

Resolves: #80047
Releases: master
Change-Id: Ie89cb59e8ed7d9bc6cb27a6593a0aaa293fb3538
Reviewed-on: https://review.typo3.org/51794
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[BUGFIX] Correctly parse displayCond FIELD value with colons 36/51836/3
Claus Due [Fri, 24 Feb 2017 16:59:09 +0000 (17:59 +0100)]
[BUGFIX] Correctly parse displayCond FIELD value with colons

This patch prevents exploding match texts which contain
colons before matching the value against the field value.

Change-Id: Iebaf8f4cc440b1d5a07467b6947d7880d0dc9f81
Resolves: #79981
Releases: master
Reviewed-on: https://review.typo3.org/51836
Tested-by: TYPO3com <no-reply@typo3.com>
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>
2 years ago[BUGFIX] FluidStyledContent: use correct partial for audio filetype 05/51905/2
Josef Glatz [Tue, 28 Feb 2017 17:39:24 +0000 (18:39 +0100)]
[BUGFIX] FluidStyledContent: use correct partial for audio filetype

Resolves: #80063
Related: #79622
Releases: master
Change-Id: I13b785b0c1bdd89b2d6a1a89db118ae9d5484065
Reviewed-on: https://review.typo3.org/51905
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Implement connection timeout option for Redis backend 99/51799/4
Arno Schoon [Thu, 23 Feb 2017 09:37:54 +0000 (10:37 +0100)]
[BUGFIX] Implement connection timeout option for Redis backend

Allow an option for connectionTimeout to be set for the Redis cache backend

Resolves: #79966
Releases: master
Change-Id: I9a4d1abb07f4e199a8c1a53a6fc3de6ddf613140
Reviewed-on: https://review.typo3.org/51799
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Richard Haeser <richardhaeser@gmail.com>
Tested-by: Richard Haeser <richardhaeser@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Always use system getFrom() when sending emails 85/51885/3
Benni Mack [Tue, 28 Feb 2017 06:40:09 +0000 (07:40 +0100)]
[BUGFIX] Always use system getFrom() when sending emails

When instantiating MailMessage() and no valid sender is
given, a fallback is used in different places of TYPO3. To ensure
that all mails sent out (e.g. when instantiated via extensions)
have a proper From() header, the default fallback is set
just before sending the emails.

Resolves: #80055
Releases: master
Change-Id: I6b740b2dcf5a84437fac2e9bf60aac3321e91377
Reviewed-on: https://review.typo3.org/51885
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Set file size to 0 instead to string in ImportExport 76/51876/3
Georg Ringer [Mon, 27 Feb 2017 19:28:55 +0000 (20:28 +0100)]
[BUGFIX] Set file size to 0 instead to string in ImportExport

To avoid errors with PHP 7.1 which is more strict regarding
strings and integers, the file size for soft refs must be
set to 0 instead of an empty string.

Resolves: #79644
Releases: master, 7.6
Change-Id: I246e5ac1599da50b97dac3bdb4fcc959af813ce9
Reviewed-on: https://review.typo3.org/51876
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Add helper method to deprecate ViewHelper attributes 07/51707/9
Frank Naegler [Wed, 15 Feb 2017 17:38:56 +0000 (18:38 +0100)]
[TASK] Add helper method to deprecate ViewHelper attributes

This patch introduce a new helper method for deprecations in ViewHelper
classes. The new method can detect the template path and log the path.

Resolve: #79840
Releases: master
Change-Id: Id3f9392e115db846fbfab8daa8158931a5e51d16
Reviewed-on: https://review.typo3.org/51707
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Johannes Kasberger <johannes.kasberger@reelworx.at>
Tested-by: Johannes Kasberger <johannes.kasberger@reelworx.at>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[SECURITY] Prevent possible XSS in Fluid templates 93/51893/2
Nicole Cordes [Tue, 28 Feb 2017 10:23:37 +0000 (11:23 +0100)]
[SECURITY] Prevent possible XSS in Fluid templates

This patch ensures proper encoding of the output of if-ViewHelpers when
using in inline notation.

The regular expression to find possibly affected usages is:
\{\s*f:if\s*\(.+,\s*(?:then|else):(?>\s*)[^']

Resolves: #79911
Releases: master, 7.6
Security-Commit: 25113a810a8b9203f61ef694e0ef0a42dc349a72
Security-Bulletin: TYPO3-CORE-SA-2017-003
Change-Id: I09fea4c7d9dc845d1be23a34627dcc277da089f9
Reviewed-on: https://review.typo3.org/51893
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
2 years ago[SECURITY] Prevent login of restricted users 92/51892/2
Nicole Cordes [Tue, 28 Feb 2017 10:23:24 +0000 (11:23 +0100)]
[SECURITY] Prevent login of restricted users

As the new restriction handling relies on TCA information, we need to
load the TCA before any authentication starts. To prevent double loading
if a backend user is available the bootstrap API for loading TCA and
extension configuration is separated into two own functions.

Furthermore this patch resolves a wrong table parameter handling.

Resolves: #79761
Releases: master
Security-Commit: 936bf33bc337b9a00ca0b1ed4ba4d5d19b0999a1
Security-Bulletin: TYPO3-CORE-SA-2017-002
Change-Id: I2add4e96b9b1308756022c532395ce7bbc160bf2
Reviewed-on: https://review.typo3.org/51892
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
2 years ago[TASK] Mark ExtJS related API calls as deprecated 95/51795/3
Benni Mack [Wed, 22 Feb 2017 09:28:44 +0000 (10:28 +0100)]
[TASK] Mark ExtJS related API calls as deprecated

ExtensionManagementUtility::addExtJSModule
and ExtensionManagementUtility::registerExtDirectComponent
are marked as deprecated, however, as the latter is still
in use, it does not trigger a deprecation log message yet,
but it should be clear for Extension Developers to not depend
on that method anymore.

Resolves: #80048
Releases: master
Change-Id: If8a14d75c8117e9325d2fff0d5c696e967ec873b
Reviewed-on: https://review.typo3.org/51795
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Multiple InlineCSS overrides each other 79/51879/2
Haco [Tue, 21 Feb 2017 12:01:09 +0000 (13:01 +0100)]
[BUGFIX] Multiple InlineCSS overrides each other

The 'Default CSS' (eg. from extensions) & 'Specific Page CSS'
(from TYPO3) can now be used together when "inlineStyle2TempFile = 0"
is set.

Resolves: #77534
Releases: master, 7.6
Change-Id: I22bb68938068a82691ce2132866ef191eac672fd
Reviewed-on: https://review.typo3.org/51879
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[FOLLOWUP][TASK] Update bower components to the latest versions 81/51881/2
Josef Glatz [Tue, 28 Feb 2017 04:30:28 +0000 (05:30 +0100)]
[FOLLOWUP][TASK] Update bower components to the latest versions

The version number of bower dependencies should reflect
the one of the installed version:

* bootstrap-datetimepicker.js v4.17.43 to v4.17.45
* bootstrap-slider.min.js v9.5.3 to v9.7.2
* moment-timezone.js v0.5.10 to v0.5.11

Related: #79803
Releases: master
Change-Id: I57e7f0009a3bfd0fdd5c257967de69fd7c1b531c
Reviewed-on: https://review.typo3.org/51881
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[BUGFIX] Remove deprecated TCA requestUpdate in ctrl section 80/51880/2
Josef Glatz [Tue, 28 Feb 2017 03:58:06 +0000 (04:58 +0100)]
[BUGFIX] Remove deprecated TCA requestUpdate in ctrl section

An already deprecated TCA ctrl field requestUpdate was
apparently introduced by accident while streamlining
FSC and CSC.

Resolves: #80049
Related: #78899
Related: #79622
Releases: master
Change-Id: I41e613ffc99b17124deeb446ff6b5e24ec464f36
Reviewed-on: https://review.typo3.org/51880
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[TASK] Update bower components to the latest versions 66/51666/2
Faton Haliti [Tue, 14 Feb 2017 09:52:21 +0000 (10:52 +0100)]
[TASK] Update bower components to the latest versions

Updates:

* bootstrap-datetimepicker.js
* bootstrap-slider.min.js
* moment-timezone.js

Resolves: #79803
Releases: master
Change-Id: I71774dcf92d802e4da2422d1dd7efec907555877
Reviewed-on: https://review.typo3.org/51666
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anders Kostending <aha@systime.dk>
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>
2 years ago[TASK] Update autocomplete JS widget for BE 81/51781/4
Markus Klein [Mon, 20 Feb 2017 00:41:08 +0000 (01:41 +0100)]
[TASK] Update autocomplete JS widget for BE

Resolves: #79938
Releases: master, 7.6
Change-Id: I50e84f11595ea6e79280084bfbf94d75be646de1
Reviewed-on: https://review.typo3.org/51781
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Only check if a record lives in a workspace if extension is installed 28/49628/5
Andreas Fernandez [Mon, 29 Aug 2016 16:00:28 +0000 (18:00 +0200)]
[BUGFIX] Only check if a record lives in a workspace if extension is installed

The reference index checks if a record type is enabled for workspaces and
if a record exists in the currently selected workspace. However, this is
not required if EXT:workspaces is not installed at all as a lot of useless
queries could be run.

It's now checked whether the extension is installed before doing further
workspace processing of the record.

Resolves: #77676
Related: #64253
Releases: master, 7.6
Change-Id: I94aab84fce72e8b852783820b34065ab1e051ea5
Reviewed-on: https://review.typo3.org/49628
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Remove redundant Fluid overrides 03/51803/3
Claus Due [Thu, 23 Feb 2017 14:14:37 +0000 (15:14 +0100)]
[TASK] Remove redundant Fluid overrides

Since Fluid 2.3.0 is now the minimum required version,
we can drop several of the classes/methods TYPO3
uses to change/extend Fluid's behavior. The features
provided by the classes are now provided by Fluid.

Change-Id: I781ef4e6aeedc7aabb4cd3bac0ec8a7416de1ab9
Resolves: #79972
Releases: master
Reviewed-on: https://review.typo3.org/51803
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christer V <cvi@systime.dk>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Avoid page path floating left in DocHeader 75/51875/3
Georg Ringer [Mon, 27 Feb 2017 07:37:21 +0000 (08:37 +0100)]
[BUGFIX] Avoid page path floating left in DocHeader

Fix the position of the page path in DocHeader.

Resolves: #80045
Releases: master
Change-Id: If50725fcb4342011562b008fd98d248a0367a4be
Reviewed-on: https://review.typo3.org/51875
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[TASK] Add SystemStatusCheck for PostgreSQL 68/51368/6
Manuel Selbach [Fri, 20 Jan 2017 08:59:49 +0000 (09:59 +0100)]
[TASK] Add SystemStatusCheck for PostgreSQL

The SystemStatusCheck for PostgreSQL checks the server and the libpq version.
It’s important to use the correct libpq version as this will lead to problems
if it differs to much from the server version.

Change-Id: I370b57cc8e516624ee7a299b0c3710d834175386
Resolves: #79331
Releases: master
Reviewed-on: https://review.typo3.org/51368
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Manuel Selbach <manuel_selbach@yahoo.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[TASK] Replace FileInfoHook with renderType 74/51874/8
Anja Leichsenring [Mon, 27 Feb 2017 14:00:18 +0000 (15:00 +0100)]
[TASK] Replace FileInfoHook with renderType

Switch a userFunc to a proper renderType used in fileinfo field
of sys_file and sys_file_metadata table.

Resolves: #80039
Releases: master
Change-Id: I7093027716cb43fa2f00044f51d918cc8f91ee6e
Reviewed-on: https://review.typo3.org/51874
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Add addTop/removeTop row in backend layout wizard 70/51870/4
Georg Ringer [Mon, 27 Feb 2017 07:37:21 +0000 (08:37 +0100)]
[TASK] Add addTop/removeTop row in backend layout wizard

Improve the backend layout wizard by providing additional buttons to
add and remove rows at the top.

Resolves: #80009
Releases: master
Change-Id: I85b2361cc63431e59f64265091323b2c6f2cf2b9
Reviewed-on: https://review.typo3.org/51870
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Move CSV fixtures handling to FunctionalTestCase 38/51838/5
Tymoteusz Motylewski [Mon, 27 Feb 2017 08:45:03 +0000 (09:45 +0100)]
[TASK] Move CSV fixtures handling to FunctionalTestCase

Usage of CSV fixtures is now possible for all functional tests.
Previously it was available only for DataHandler tests.
This patch is backward compatible.

Resolves: #80007
Releases: master, 7.6
Change-Id: I6aa69825ac144b8c955b51a61060a822163511ca
Reviewed-on: https://review.typo3.org/51838
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[FOLLOWUP][TASK] Enhance DataHandler translation and synchronization handling 84/51784/5
Oliver Hader [Tue, 21 Feb 2017 20:52:20 +0000 (21:52 +0100)]
[FOLLOWUP][TASK] Enhance DataHandler translation and synchronization handling

Copying a page translation having an 1:n monoglot inline relation leads
to an SQL error which is silently put to sys_log in DataHandler. Besides
that, the inline children are superfluously duplicated since there is no
connection between those copied records anymore.

Resolves: #79856
Releases: master
Change-Id: Ife5cfdea1c1d9dff764ea3d28e0a35a83d5919e1
Reviewed-on: https://review.typo3.org/51784
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
2 years ago[BUGFIX] Upgrade Wizard "Split menu types.." fails 58/51858/7
Thomas Hohn [Sat, 25 Feb 2017 16:11:24 +0000 (17:11 +0100)]
[BUGFIX] Upgrade Wizard "Split menu types.." fails

Show warning if table tt_content doesn't have column
menu_type instead of SQL error.

Resolves: #79813
Releases: master
Change-Id: Ibb6e260f45e65c2fc563be129d2da43c05a9eaf6
Reviewed-on: https://review.typo3.org/51858
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[BUGFIX] Uncaught exception in Install tool 61/51861/7
Thomas Hohn [Sun, 26 Feb 2017 15:05:33 +0000 (16:05 +0100)]
[BUGFIX] Uncaught exception in Install tool

Fixes an uncaught exception in the Install tool if the file
ext_tables_static+adt.sql contains invalid CREATE TABLE
statements.

Resolves: #80025
Releases: master
Change-Id: I8417b34c944f359feb16f5e44277b61fb289eea1
Reviewed-on: https://review.typo3.org/51861
Tested-by: TYPO3com <no-reply@typo3.com>
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>
2 years ago[TASK] Update layout of navigation in DocHeader 31/51831/9
Jasmina Liessmann [Fri, 24 Feb 2017 13:46:26 +0000 (14:46 +0100)]
[TASK] Update layout of navigation in DocHeader

Use Bootstrap grid for arrangement of navigation items.
Shorten the characters of the current page title in DocHeader to
title length defined in user settings or default to '50'.

Resolves: #79849
Releases: master
Change-Id: I0825818cd961b8bb7f928cb1389537506d5ed40b
Reviewed-on: https://review.typo3.org/51831
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Kummer <service@enobe.de>
Tested-by: Joerg Kummer <service@enobe.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] EM: Add title attribute to showAllVersions links 69/51869/3
Josef Glatz [Mon, 27 Feb 2017 06:00:18 +0000 (07:00 +0100)]
[BUGFIX] EM: Add title attribute to showAllVersions links

Add meaningful title attributes to all links which leads to the
showAllVersions action.

Resolves: #80029
Releases: master, 7.6
Change-Id: I85b9ee21514fbffd84734c4149d67237abb19652
Reviewed-on: https://review.typo3.org/51869
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Tested-by: Thomas Hohn <thomas@hohn.dk>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Prevent different constants marker in TS parsing 88/50088/6
Nicole Cordes [Tue, 4 Oct 2016 13:21:57 +0000 (15:21 +0200)]
[BUGFIX] Prevent different constants marker in TS parsing

Currently each time the TypoScript is parsed a new marker for constants,
which are replaces by their value, is generated. This prevents conditions
with replaced constants to be displayed as active. This patch ensures
markers are generated by constants values and therefore stay the same
in different requests.

Resolves: #78142
Related: #72413
Releases: master, 7.6
Change-Id: I4eea83908927ac48930abdd731e7412c04e529c1
Reviewed-on: https://review.typo3.org/50088
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Jasmina Ließmann <code@frauliessmann.de>
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>
2 years ago[TASK] Upgrade wizard to merge fe_session_data to fe_sessions 50/51850/10
Thomas Hohn [Sat, 25 Feb 2017 11:25:11 +0000 (12:25 +0100)]
[TASK] Upgrade wizard to merge fe_session_data to fe_sessions

Added a upgrade wizard to merge fe_session_data to fe_sessions
in order to avoid loosing session data when introducing the
new session framework.

Resolves: #79721
Releases: master
Change-Id: Iee2eb9b3096d8916382c01d7d1ad90fcc150f397
Reviewed-on: https://review.typo3.org/51850
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>