Packages/TYPO3.CMS.git
2 years ago[BUGFIX] Avoid version overlay if EXT:version is not loaded 52/50952/5
Claus Due [Tue, 13 Dec 2016 16:31:36 +0000 (17:31 +0100)]
[BUGFIX] Avoid version overlay if EXT:version is not loaded

PlainDataResolver will do semi-expensive operations for
workspaces-enabled tables even if EXT:version (and
therefore EXT:workspaces) is not loaded.

Doing a cheap check can prevent calling two such
operations and saves SQL queries and memory.

Change-Id: I6062538c3c158352b7be5748d407bbe2aad3a641
Resolves: #78982
Releases: master
Reviewed-on: https://review.typo3.org/50952
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
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>
2 years ago[TASK] Consolidate code duplications in form data groups 43/51443/3
Artus Kolanowski [Wed, 25 Jan 2017 00:33:00 +0000 (01:33 +0100)]
[TASK] Consolidate code duplications in form data groups

Introduce a new class `OrderedProviderList` which calls providers
with dependencies given by setter.

Resolves: #79512
Releases: master
Change-Id: Icf97e2e6fa5ed88d7b76b7628bb4e9790b615a38
Reviewed-on: https://review.typo3.org/51443
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Extbase: Fix counting objects on joined tables 20/51320/3
Morton Jonuschat [Sun, 15 Jan 2017 21:21:44 +0000 (13:21 -0800)]
[BUGFIX] Extbase: Fix counting objects on joined tables

While it's normally fine to replace DISTINCT with GROUP BY when counting
objects this results in a different resultset. The GROUP BY statement will
have n rows with the count per grouped combination while the DISTINCT
based query will have one row with the count of unique combinations.

Use a COUNT(DISTINCT uid) to get the expected result.
DISTINCT is supported on MySQL, PostgreSQL, Oracle and MSSQL Server.

Change-Id: If3193113529f1bb01693dba39abccfe349f169b1
Resolves: #79330
Releases: master
Reviewed-on: https://review.typo3.org/51320
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: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[!!!][TASK] Move page module function QuickEdit to EXT:compatibility7 40/51340/10
Artus Kolanowski [Tue, 17 Jan 2017 23:46:33 +0000 (00:46 +0100)]
[!!!][TASK] Move page module function QuickEdit to EXT:compatibility7

To follow the concept of backend apps and provide a lean core by
removing a rarely used feature, which benefit is pretty low for
the editor.

Resolves: #79364
Releases: master
Change-Id: Ic1796aa4f23507ac45b52155c66da02cffc88b3b
Reviewed-on: https://review.typo3.org/51340
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[FEATURE] EXT:Scheduler: Run manually executed tasks on next cron-run 07/45807/16
Michael Oehlhof [Sun, 10 Jan 2016 19:24:47 +0000 (20:24 +0100)]
[FEATURE] EXT:Scheduler: Run manually executed tasks on next cron-run

Added a feature to the scheduler to mark tasks to be run by
next cron job.

Resolves: #45537
Releases: master
Change-Id: I72d0e693821630a0be655159b53c168b1973d886
Reviewed-on: https://review.typo3.org/45807
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[!!!][TASK] Deprecate the field select_key of tt_content 34/49934/8
Georg Ringer [Tue, 13 Sep 2016 18:12:06 +0000 (20:12 +0200)]
[!!!][TASK] Deprecate the field select_key of tt_content

The field `select_key` is not used by the core and
is moved to the EXT:compatibility7.

Resolves: #77934
Releases: master
Change-Id: Ied7fa722c1bccb314fd02229da407613fbce7dfe
Reviewed-on: https://review.typo3.org/49934
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
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] Remove lockHashKeyWords functionality 37/51437/4
Benni Mack [Thu, 26 Jan 2017 16:36:46 +0000 (17:36 +0100)]
[!!!][TASK] Remove lockHashKeyWords functionality

The TYPO3 Core used the "useragent" to create a hashbase
by default to harden the session hijacking functionality.

This very very old feature adds a tiny bit of security on top,
however it has the drawback that users get logged out (of BE or FE)
if their browser updates (due to evergreen browsers or security
updates as the user agent string changes). This is very inconvenient
for websites that use a very long session time for logged in users
in the frontend (or backend) when using TYPO3 as a platform or
application.

It was originally concepted so it could be extended but there is no
hook to do so, and extending all classes does not really make a lot
of sense in the hierarchical PHP class structure.

Resolves: #79513
Releases: master
Change-Id: I78e58210da80c7c1544a644e8e10bc1f667b5bf1
Reviewed-on: https://review.typo3.org/51437
Tested-by: TYPO3com <no-reply@typo3.com>
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>
2 years ago[FEATURE] Add signal to exclude tables from ReferenceIndex 62/51362/11
Thomas Hohn [Thu, 19 Jan 2017 13:38:07 +0000 (14:38 +0100)]
[FEATURE] Add signal to exclude tables from ReferenceIndex

A new signal is introduced to allow the exclusion of tables from the
ReferenceIndex. The checks whether tables or columns should be excluded
are extracted to methods.

Fixes: #79387
Releases: master
Change-Id: I5ef558bc1a1c63553e8a1dc193167d068f235487
Reviewed-on: https://review.typo3.org/51362
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
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] Only perform reindex if data has indeed changed 18/51018/2
Thomas Hohn [Tue, 13 Dec 2016 20:46:38 +0000 (21:46 +0100)]
[BUGFIX] Only perform reindex if data has indeed changed

Change-Id: I889264f34599be556e16b3d37825a3761b681e70
Resolves: #79068
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/51018
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Tested-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Persist traversable domain objects via identifier 87/51287/3
Mathias Brodala [Thu, 12 Jan 2017 13:03:04 +0000 (14:03 +0100)]
[BUGFIX] Persist traversable domain objects via identifier

Objects implementing the DomainObjectInterface must always be
persisted using their identifier, even if they implement the
Traversable interface.

Change-Id: Iccb53d6e7ded9b6b5300e111e8503641b10615f4
Resolves: #79294
Related: #57255
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/51287
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[TASK] Add .php_cs.cache to .gitignore 41/51441/4
Georg Ringer [Thu, 26 Jan 2017 20:24:52 +0000 (21:24 +0100)]
[TASK] Add .php_cs.cache to .gitignore

The php-cs fixer creates a cache file which
should not be commited. Add it to the .gitgnore to avoid
any mistakes.

Resolves: #79510
Releases: master, 7.6
Change-Id: Ia85f825416ad767a07d280de35a18c318e1a5133
Reviewed-on: https://review.typo3.org/51441
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Tested-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[!!!][FEATURE] FormEngine element level refactoring 51/51151/74
Christian Kuhn [Thu, 5 Jan 2017 17:08:27 +0000 (18:08 +0100)]
[!!!][FEATURE] FormEngine element level refactoring

The patch introduces a new API on FormEngine element level
that substitutes the old "wizards" / renderWizard() API
with a more powerful system.

Single wizards are now split into one of three categories:
* An informational wizard
* A control button / icon
* A true wizard with additonal functionality

Method renderWizards() is still called in elements for compatibility
reasons if people added own scrip/popup/userFunc wizards, but all
core wizards are migrated.

The patch significantly cleans the HTML of single elements, especially
HTML stuff that was added by the SingleFieldContainer is now put down
to single elements, while main HTML wraps formerly done by renderWizards()
is fetched "up" to single elements. This gives single elements full
control about the main HTML it is producing, which is a must have
preparation in order to further advance in this area and to switch
single elements to fluid rendering in one of the next steps.

The patch brings a pretty huge list of TCA changes and
simplifications, all TCA changes are supported by TCA migration,
so existing extensions should benefit out of the box and just
get deprecations logged.

Change-Id: I45083e14e45bbf40c06267b51c9d0b7c15e2f7ab
Resolves: #79440
Resolves: #70032
Releases: master
Reviewed-on: https://review.typo3.org/51151
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
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[TASK] Functional test for VariableFrontend cache type 94/51394/3
Manuel Selbach [Sun, 22 Jan 2017 06:13:44 +0000 (22:13 -0800)]
[TASK] Functional test for VariableFrontend cache type

Add a functional test to verify that serialized PHP objects
can be successfully stored in the database without having
encoding/escaping problems.

Resolves: #79452
Releases: master
Change-Id: I97d586cb8a50e571d99ff8b7fc463c0a83e15f36
Reviewed-on: https://review.typo3.org/51394
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: Manuel Selbach <manuel_selbach@yahoo.de>
Tested-by: Manuel Selbach <manuel_selbach@yahoo.de>
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>
2 years ago[TASK] EXT:form - Add CE preview for form plugins 22/51422/5
Ralf Zimmermann [Wed, 25 Jan 2017 10:58:06 +0000 (11:58 +0100)]
[TASK] EXT:form - Add CE preview for form plugins

Render the form label or a placeholder text (if no form is selected)
within the page module.

Resolves: #78834
Releases: master
Change-Id: I5519ce8bec7ae077d22328ff0ad70b29aa1b5af7
Reviewed-on: https://review.typo3.org/51422
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] EXT:form - Optimize frontend templates 26/51426/2
Andreas Steiger [Wed, 25 Jan 2017 15:40:03 +0000 (16:40 +0100)]
[TASK] EXT:form - Optimize frontend templates

* add attribute role="alert" to error hints
* streamline bootstrap 3 error classes
* add attribute formnovalidate to previous button of multistep form
* remove fieldset wrap from element type 'PAGE'

Resolves: #69974
Releases: master
Change-Id: I66336879bed0f94752482404c3ed7cfa7028046d
Reviewed-on: https://review.typo3.org/51426
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[FEATURE] EXT:form - Add form settings button to module header 25/51425/3
Ralf Zimmermann [Wed, 25 Jan 2017 15:10:42 +0000 (16:10 +0100)]
[FEATURE] EXT:form - Add form settings button to module header

Adds a new button into the form editor module header.
Clicking on this buttons shows the form settings within the inspector.

Resolves: #79467
Releases: master
Change-Id: I767c71fcf65ca5bd58b2b530a60fce1caf75e3c9
Reviewed-on: https://review.typo3.org/51425
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Steiger <typo3@andreassteiger.de>
Tested-by: Andreas Steiger <typo3@andreassteiger.de>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] EXT:form - parse finisher values only if string 81/51381/4
Ralf Zimmermann [Sun, 22 Jan 2017 16:40:24 +0000 (17:40 +0100)]
[BUGFIX] EXT:form - parse finisher values only if string

Parse finisher option values only if the referenced formelement value
is a string.

Resolves: #79412
Releases: master
Change-Id: Ie379a396473c31907d52c8aa096168fed803510b
Reviewed-on: https://review.typo3.org/51381
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Daniel Lorenz <daniel.lorenz@extco.de>
Tested-by: Daniel Lorenz <daniel.lorenz@extco.de>
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Improve constant editor 86/51386/3
Georg Ringer [Sun, 22 Jan 2017 20:15:24 +0000 (21:15 +0100)]
[TASK] Improve constant editor

- Skip length check of header
- Use type "number" for integer types
- Apply min & max attributes if available

Resolves: #79421
Releases: master
Change-Id: I508000547214d3d3ca18a8e311ce68dd03dea09b
Reviewed-on: https://review.typo3.org/51386
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Mattias Nilsson <tollepjaer@gmail.com>
Tested-by: Mattias Nilsson <tollepjaer@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Fix SQL error in createEntryData 97/51397/5
Thomas Hohn [Mon, 23 Jan 2017 08:35:45 +0000 (09:35 +0100)]
[BUGFIX] Fix SQL error in createEntryData

The database field definition for ref_string is limited to varchar(200)
and can cause an SQL error when bigger strings are inserted.
In addition it makes sense to add a mb_substr() to avoid an error if
longer strings are inserted.

Fixes: #79425
Releases: master
Change-Id: I1f1e672f610f830ad5e02509cb1f0529c9cbeb41
Reviewed-on: https://review.typo3.org/51397
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: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Access check for delete pages expects array of integers 42/51342/4
Mona Muzaffar [Wed, 18 Jan 2017 13:42:56 +0000 (14:42 +0100)]
[BUGFIX] Access check for delete pages expects array of integers

An error occurs in the createNamedParameter function
which expects an array but gets a string instead.

Change-Id: I393a6a87c912129ded28f677ca65c081fc4205e7
Resolves: #79309
Releases: master
Reviewed-on: https://review.typo3.org/51342
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
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[TASK] Cleanup code of LocalizationController::process 49/51349/3
Manuel Selbach [Wed, 18 Jan 2017 20:12:16 +0000 (21:12 +0100)]
[TASK] Cleanup code of LocalizationController::process

Change-Id: I6db726bfff61c092309a971eb71e074c30cad046
Releases: master, 7.6
Resolves: #79378
Reviewed-on: https://review.typo3.org/51349
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Manuel Selbach <manuel_selbach@yahoo.de>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[TASK] Deprecate visibility for internal variables in Datahandler class 11/51411/6
Thomas Hohn [Tue, 24 Jan 2017 21:00:33 +0000 (22:00 +0100)]
[TASK] Deprecate visibility for internal variables in Datahandler class

This patch marks some internal cache variables in the
Datahandler as deprecated since their visibility should be
changed from public to protected or even be replaced
by a runtime cache. Since this can't be done before
TYPO3 v9 they are marked as deprecated in TYPO3 v8
as a preparation.

Fixes: #79441
Releases: master
Change-Id: I7d35792fb81e6f16b3b729a3841c1cfda109952f
Reviewed-on: https://review.typo3.org/51411
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: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[BUGFIX] Use subselect to update reference index 70/51370/8
Thomas Hohn [Fri, 20 Jan 2017 10:57:04 +0000 (11:57 +0100)]
[BUGFIX] Use subselect to update reference index

Switch updateIndex method to use a subselect based approach
to avoid errors due to huge parameter lists for manually
built NOT IN queries which could exceed the maximum query
length.

Add a warning if the table doesn't share a connection with
the reference index as it can not be updated automatically.

Resolves: #79397
Releases: master
Change-Id: I563dfe607b24ffe949ef5a0e9d2e62b2312ff8f0
Reviewed-on: https://review.typo3.org/51370
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[BUGFIX] Debugger output: split lines before escaping them 69/51369/2
Markus Klein [Fri, 20 Jan 2017 09:16:29 +0000 (10:16 +0100)]
[BUGFIX] Debugger output: split lines before escaping them

This fixes the issue that lines are wrapped within a HTML entity.

Resolves: #79398
Releases: master, 7.6
Change-Id: I0bf1722cb9792fea0f45421fe1f72e1932879002
Reviewed-on: https://review.typo3.org/51369
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Dominique Kreemers <dominique.kreemers@icloud.com>
Tested-by: Dominique Kreemers <dominique.kreemers@icloud.com>
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[TASK] Cleanup ActionService::getVersionedId 51/51351/3
Manuel Selbach [Wed, 18 Jan 2017 20:55:29 +0000 (21:55 +0100)]
[TASK] Cleanup ActionService::getVersionedId

Within the refactoring process the optional parameter $useDeleteClause was missed
to remove from the parameter list of the method, as it is not implemented in the body and
not used anywhere in the core.

Releases: master
Resolves: #79382
Change-Id: I4db104941b78f44573b0b1f51ad216ded93887bf
Reviewed-on: https://review.typo3.org/51351
Tested-by: TYPO3com <no-reply@typo3.com>
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>
2 years ago[BUGFIX] Add parameter types to database writes in functional tests 95/51395/3
Manuel Selbach [Sun, 22 Jan 2017 06:11:12 +0000 (22:11 -0800)]
[BUGFIX] Add parameter types to database writes in functional tests

When writing to database tables with BLOB type columns declare the field
type for the query parameters in functional tests. This is required for
databases that use a different encoding/transport protocol for BLOB
fields.

Resolves: #79453
Releases: master
Change-Id: I1371bb192abaec841be982a1b228cc6b7e6d1cbf
Reviewed-on: https://review.typo3.org/51395
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: Manuel Selbach <manuel_selbach@yahoo.de>
Tested-by: Manuel Selbach <manuel_selbach@yahoo.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Fix title for expand button in workspace module 59/51359/4
Mona Muzaffar [Thu, 19 Jan 2017 11:17:57 +0000 (12:17 +0100)]
[BUGFIX] Fix title for expand button in workspace module

Change-Id: I6a17811dd5dbc5ed285b6040fcbe97e94b416b8b
Releases: master
Resolves: #79321
Reviewed-on: https://review.typo3.org/51359
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[FEATURE] Add new ViewHelper f:variable via Fluid 2.2.0 98/51398/6
Claus Due [Mon, 23 Jan 2017 11:36:32 +0000 (12:36 +0100)]
[FEATURE] Add new ViewHelper f:variable via Fluid 2.2.0

A new Fluid ViewHelper, `f:variable`, has become available
in TYPO3 after raising the minimum required version of the
Fluid engine to 2.2.0.

Change-Id: I4f42030ef586e8d9a3d40c54c64137eb1969384d
Resolves: #79402
Releases: master
Reviewed-on: https://review.typo3.org/51398
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Tested-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] Adjust Cs-Fixer 2.0 hits 28/51428/2
Anja Leichsenring [Wed, 25 Jan 2017 17:37:09 +0000 (18:37 +0100)]
[TASK] Adjust Cs-Fixer 2.0 hits

With the update of cs-fixer to version 2.0, some checks
got minor changes in behaviour. The core follows now in
applying those suggested changes.

Resolves: #79469
Relates: #79361
Releases: master
Change-Id: I5d17b750231dcb386002b3e46b3a89c59eca2989
Reviewed-on: https://review.typo3.org/51428
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
2 years ago[BUGFIX] Fix broken TypeScript compiler setting 04/51404/4
Frank Naegler [Tue, 24 Jan 2017 08:46:54 +0000 (09:46 +0100)]
[BUGFIX] Fix broken TypeScript compiler setting

This patch adds a missing compilerOption to generate subfolder in the
build directory, which fix the copy to final destination problem.

Resolves: #79431
Releases: master
Change-Id: Ie756d47e12d2ff72aa6db397d87db311eed43b59
Reviewed-on: https://review.typo3.org/51404
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
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[FEATURE] EXT:form - Add element selector for text editors 24/51424/3
Ralf Zimmermann [Wed, 25 Jan 2017 14:59:36 +0000 (15:59 +0100)]
[FEATURE] EXT:form - Add element selector for text editors

Adds a new button to the text editors.
This splitbutton opens a list with available form elements.
If a form element is choosen, the form element identifier will be
inserted into the property text editor.

Resolves: #79442
Releases: master
Change-Id: If40114958311200348bde220f6cf62fb6365260b
Reviewed-on: https://review.typo3.org/51424
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Andreas Steiger <typo3@andreassteiger.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[TASK] Update php-cs-fixer to version 2.0 23/51423/5
Anja Leichsenring [Wed, 25 Jan 2017 12:35:02 +0000 (13:35 +0100)]
[TASK] Update php-cs-fixer to version 2.0

Change-Id: Ia32a61238bdf46c01a3856376c0a94d9d09339ee
Resolves: #79361
Releases: master
Reviewed-on: https://review.typo3.org/51423
Tested-by: TYPO3com <no-reply@typo3.com>
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[TASK] Update phpunit to version 5.7.5 20/51420/3
Anja Leichsenring [Wed, 25 Jan 2017 09:11:55 +0000 (10:11 +0100)]
[TASK] Update phpunit to version 5.7.5

Change-Id: I118f4d6b9fd94fcaa0da3cef4e0f290b60c57fc8
Resolves: #79460
Releases: master
Reviewed-on: https://review.typo3.org/51420
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: TYPO3com <no-reply@typo3.com>
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] Update codeception to version 2.2.8 19/51419/3
Anja Leichsenring [Wed, 25 Jan 2017 08:33:20 +0000 (09:33 +0100)]
[TASK] Update codeception to version 2.2.8

We want to use the latest version.

Change-Id: I9f41f2b6e58020e01615569350b80afb34a3a067
Resolves: #79459
Releases: master
Reviewed-on: https://review.typo3.org/51419
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>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] EXT:form - add onSubmit callback for pages 96/50796/3
Ralf Zimmermann [Mon, 28 Nov 2016 16:32:46 +0000 (17:32 +0100)]
[TASK] EXT:form - add onSubmit callback for pages

Add onSubmit callback for toplevel composit elements aka. pages.
The ticket provides an example extension for testing.

Resolves: #78821
Releases: master
Change-Id: Ie521ba75472e426594dae231ee86f68cd241f23d
Reviewed-on: https://review.typo3.org/50796
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Daniel Lorenz <daniel.lorenz@extco.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[TASK] Ext:form - Add update option to saveToDatabase finisher 10/50810/4
Ralf Zimmermann [Wed, 30 Nov 2016 02:08:30 +0000 (03:08 +0100)]
[TASK] Ext:form - Add update option to saveToDatabase finisher

This patch adds an option to the saveToDatabase finisher which makes it
possible to update an existing database record.
The forge issue provides an example extension for testing.

Resolves: #78839
Releases: master
Change-Id: I07d874a72b81a5e43c864f8a468a1310cac57995
Reviewed-on: https://review.typo3.org/50810
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Daniel Lorenz <daniel.lorenz@extco.de>
Tested-by: Daniel Lorenz <daniel.lorenz@extco.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] EXT:form - editor error on mixed option key types 21/51421/2
Ralf Zimmermann [Wed, 25 Jan 2017 10:00:40 +0000 (11:00 +0100)]
[BUGFIX] EXT:form - editor error on mixed option key types

Let the JavaScript 'Inspector-PropertyGridEditor' deal with mixed
option value types (string / int)

Resolves: #79457
Releases: master
Change-Id: I7e9a377d9a5d6e9f1336c25bc114c974a70b7284
Reviewed-on: https://review.typo3.org/51421
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: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] EXT:form - fluid 2.2.0 compatibility 10/51410/8
Claus Due [Tue, 24 Jan 2017 17:29:23 +0000 (18:29 +0100)]
[BUGFIX] EXT:form - fluid 2.2.0 compatibility

With the update of fluid to 2.2.0 (e004145) the backend and frontend
break. This patch fixes these problems.

Change-Id: I74617650c5feff381421e15f50aa84aeaf2f6aad
Resolves: #79439
Releases: master
Reviewed-on: https://review.typo3.org/51410
Tested-by: Andreas Steiger <typo3@andreassteiger.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Daniel Lorenz <daniel.lorenz@extco.de>
Tested-by: Daniel Lorenz <daniel.lorenz@extco.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] Correctly show sub item indicator in svg tree 37/51237/5
Thorben Nissen [Tue, 10 Jan 2017 13:21:56 +0000 (14:21 +0100)]
[BUGFIX] Correctly show sub item indicator in svg tree

Changes the way the svg tree nodes are checked for "indeterminate" state
after the data is loaded, so the initial state. Changes code using "rootNode"
to using list of all nodes. Removes unused code.

Resolves: #79246
Releases: master
Change-Id: I7a076a6d3d2c29f0318598227af5d674caa3642f
Reviewed-on: https://review.typo3.org/51237
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Thomas Maroschik <tmaroschik@dfau.de>
Tested-by: Thomas Maroschik <tmaroschik@dfau.de>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
2 years ago[BUGFIX] Use BLOB type column for uc in be_users table 93/51393/3
Manuel Selbach [Sun, 22 Jan 2017 06:23:30 +0000 (22:23 -0800)]
[BUGFIX] Use BLOB type column for uc in be_users table

The unified handling for frontend and backend users requires
identical SQL column types to properly escape the input data.
Using binary encoding for the uc column in combination with a
TEXT type field in the BE fails on PostgreSQL.

Resolves: #79451
Related: #79324
Releases: master
Change-Id: I08e404ca7050aa169234a4542ffa640cad2cd1ff
Reviewed-on: https://review.typo3.org/51393
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: Manuel Selbach <manuel_selbach@yahoo.de>
Tested-by: Manuel Selbach <manuel_selbach@yahoo.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[BUGFIX] Don't query database with non-numeric uids in RelationHandler 96/51396/3
Manuel Selbach [Sun, 22 Jan 2017 06:08:38 +0000 (22:08 -0800)]
[BUGFIX] Don't query database with non-numeric uids in RelationHandler

Check that a uid is numeric to prevent errors when querying an integer
database field with a string value like NEW123456789.

Resolves: #79455
Releases: master
Change-Id: I03a71f31c537e04bc05fcf13f7153c7f6adb3ae7
Reviewed-on: https://review.typo3.org/51396
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: Manuel Selbach <manuel_selbach@yahoo.de>
Tested-by: Manuel Selbach <manuel_selbach@yahoo.de>
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][DBAL] Fix ExtensionManager repository insertion 08/51108/4
Johannes Goslar [Mon, 2 Jan 2017 16:11:46 +0000 (17:11 +0100)]
[BUGFIX][DBAL] Fix ExtensionManager repository insertion

Resolves: #79143
Releases: master
Change-Id: I3cc6f0cff6980439f8f967f8ea627e074444f28c
Reviewed-on: https://review.typo3.org/51108
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: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[BUGFIX] Convert fe_group in sys_collection to VARCHAR 92/51392/5
Manuel Selbach [Sun, 22 Jan 2017 06:28:23 +0000 (22:28 -0800)]
[BUGFIX] Convert fe_group in sys_collection to VARCHAR

The core methods dealing with frontend group restrictions expect this
field to be of a character based datatype. Comparing an integer based
field with string triggers query errors on PostgreSQL which
does not perform implict type conversions.

Resolves: #79447
Releases: master
Change-Id: Idc937e71d578e5f4a81595124c3aef53d32b2ed7
Reviewed-on: https://review.typo3.org/51392
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Fix early return in addUnionStatement method 90/51290/5
Dominique Kreemers [Tue, 17 Jan 2017 11:19:24 +0000 (12:19 +0100)]
[BUGFIX] Fix early return in addUnionStatement method

Set $propertyPath, $tableName and $className to avoid
unnecessary joins and wrong repository results.

This is a regression fix after the Doctrine migration.

Resolves: #79286
Related: #77379
Releases: master
Change-Id: I64489b46b9ca751535b64482f54ceb7b2da05003
Reviewed-on: https://review.typo3.org/51290
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
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] Render metatags on uncached pages 43/51143/3
Daniel Dorndorf [Thu, 5 Jan 2017 10:11:11 +0000 (11:11 +0100)]
[BUGFIX] Render metatags on uncached pages

Adding metatags on uncached pages using the pagerenderer didn't work
because the metatag array was rendered prior to adding any
entries with the 'render-preProcess' hook.

Resolves: #79162
Releases: master, 7.6
Change-Id: I2142a5c91fcb0840993d9235caa1e883bbb0c2b4
Reviewed-on: https://review.typo3.org/51143
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[TASK] Improve "Create multiple pages" wizard 85/51385/2
Georg Ringer [Sun, 22 Jan 2017 19:41:25 +0000 (20:41 +0100)]
[TASK] Improve "Create multiple pages" wizard

- Use xs instead of sm to support smaller screens
- Add an id to the select field

Resolves: #79418
Releases: master
Change-Id: Ibc0c242d1c9ab54032c2ee383a127b9665cde736
Reviewed-on: https://review.typo3.org/51385
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Riccardo De Contardi <erredeco@gmail.com>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Fix broken links to permission module 30/51330/3
Frank Naegler [Mon, 16 Jan 2017 17:37:05 +0000 (18:37 +0100)]
[BUGFIX] Fix broken links to permission module

This patch fix broken links in ClickMenu and DatabaseRecordList which
exists since the permissions module refactoring:
http://review.typo3.org/33402

Resolves: #79329
Related: #62339
Releases: master, 7.6
Change-Id: Iafe66352a7bac593e249ef09c07f1c9dc9b15359
Reviewed-on: https://review.typo3.org/51330
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
2 years ago[TASK] Disable escaping pidRecordTitle in clickmenu move element 41/51041/4
Gianluigi Martino [Fri, 23 Dec 2016 16:20:37 +0000 (17:20 +0100)]
[TASK] Disable escaping pidRecordTitle in clickmenu move element

Prevent the escaping of pidRecordTitle in click menu move element. The
escaping is already done in the MoveElementController due to the usage
of the third (prep) parameter in BackendUtility::getRecordTitle.

Resolves: #79088
Releases: master
Change-Id: Ib35e9d5a3da7fc76085db910927ada17dbdd0b06
Reviewed-on: https://review.typo3.org/51041
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
2 years ago[TASK] Style select field of BackendUtility::getFuncMenu 84/51384/2
Georg Ringer [Sun, 22 Jan 2017 19:21:50 +0000 (20:21 +0100)]
[TASK] Style select field of BackendUtility::getFuncMenu

The select field of BackendUtility::getFuncMenu must be styled by
the class "form-control".

One example can be found in the template module if multiple
template records are saved on one page.

Resolves: #79417
Releases: master
Change-Id: I84967474aadbd88bd844fe3cb7de0245abebd39f
Reviewed-on: https://review.typo3.org/51384
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
2 years ago[BUGFIX] Remove double escaping in template module 91/51391/2
Georg Ringer [Mon, 23 Jan 2017 06:59:14 +0000 (07:59 +0100)]
[BUGFIX] Remove double escaping in template module

The information of a template (title, site title, description) is
already escaped by using fluid. Therefore the htmlspecialchars() must be
removed in the controller.

This is a fix of the regression of the fluidification of #75031.

Resolves: #79424
Releases: master
Change-Id: Iead09ee8f8f0256eee10c2585408d549dbe5c44c
Reviewed-on: https://review.typo3.org/51391
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
2 years ago[TASK] Render information msg in TS module with a callout 83/51383/3
Georg Ringer [Sun, 22 Jan 2017 19:17:59 +0000 (20:17 +0100)]
[TASK] Render information msg in TS module with a callout

If a template record does not contain any constants, the information
should be rendered by a nice callout.

Resolves: #79416
Releases: master
Change-Id: I6af7b2676d4a7517bc392595948806df9ae7e042
Reviewed-on: https://review.typo3.org/51383
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[TASK] Allow new lines for description field 79/51379/2
Georg Ringer [Sat, 21 Jan 2017 21:52:56 +0000 (22:52 +0100)]
[TASK] Allow new lines for description field

As the description is a textarea, the rendering should support
lines as well.

Resolves: #79406
Releases: master, 7.6
Change-Id: I8774adb07c50aed24b3d3e94e0a0b913aedeb5a9
Reviewed-on: https://review.typo3.org/51379
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
2 years ago[BUGFIX] Fix invalid button group markup in scheduler 65/51365/2
Andreas Fernandez [Thu, 19 Jan 2017 20:56:29 +0000 (21:56 +0100)]
[BUGFIX] Fix invalid button group markup in scheduler

An element with the class `btn-group` must not also have the class `btn`.
Such occurences are fixed in this patch.

Resolves: #79395
Related: #78199
Releases: master
Change-Id: I4793afc984936c2fc7226feac24f03b6ec94794f
Reviewed-on: https://review.typo3.org/51365
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] FormEngine: Do not add <br> to readonly textarea content 72/51372/2
Markus Klein [Fri, 20 Jan 2017 14:57:12 +0000 (15:57 +0100)]
[BUGFIX] FormEngine: Do not add <br> to readonly textarea content

Multiline content is displayed in a textarea "as is" by the browser.
There is no need to add <br> tags.

Resolves: #79399
Releases: master, 7.6
Change-Id: Ia628457231a15318dff4fe36f5d3cd3d990d7dc7
Reviewed-on: https://review.typo3.org/51372
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[TASK] Update Fluid engine dependency to 2.2.0 75/51375/3
Claus Due [Fri, 20 Jan 2017 22:03:41 +0000 (23:03 +0100)]
[TASK] Update Fluid engine dependency to 2.2.0

This raises the required and locked version of Fluid
to 2.2.0. The dependency is also bumped in the
composer manifest to ensure that the new VH
`f:variable` can be trusted to exist.

The Fluid engine patches are as follows:

* [FEATURE] Add variable assigning ViewHelper
* [BUGFIX] Cache did not lfush when compiler disabled
* [BUGFIX] Allow renderSection() to be called directly
* [BUGFIX] Convert bool arguments into BooleanNodes
* [BUGFIX] Disable variable extractors

Change-Id: I4ca2ef35b1f82952ca6ef1932d5b2a7a764ff526
Releases: master
Resolves: #79402
Resolves: #79375
Resolves: #77986
Reviewed-on: https://review.typo3.org/51375
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.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[TASK] Use official TYPO3.Icon repository 77/51377/2
Benjamin Kott [Sat, 21 Jan 2017 11:04:52 +0000 (12:04 +0100)]
[TASK] Use official TYPO3.Icon repository

The backend icon set has been moved and is now under maintenance of the
TYPO3 GitHub Department. https://github.com/TYPO3/TYPO3.Icons

Resolves: #79404
Releases: master, 7.6
Change-Id: I9c4a78bbf52f681d61e69f2e7245fb1c2cac561f
Reviewed-on: https://review.typo3.org/51377
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: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
2 years ago[BUGFIX] Initialize TSFE->config with correct type in PHP 7.1 02/51302/7
Sascha Egerer [Fri, 13 Jan 2017 09:00:16 +0000 (10:00 +0100)]
[BUGFIX] Initialize TSFE->config with correct type in PHP 7.1

The TypoScriptFrontendController->config variable must be of type
array but is initialized with an empty string. Since PHP 7.1 there is
a different handling of invalid array usage. If a variable is
accessed as an array but is not an array the value of that variable
becomes a string 'A'.

PHP 7
php > $config = '';
php > $config['foo'] = 'bar';
php > print_r($config)
Array
(
    [foo] => bar
)

PHP 7.1
php > $config = '';
php > $config['foo'] = 'bar';
> Warning: Illegal string offset 'foo' in php shell code on line 1
php > print_r($config)
A

Related PHP "Bug" (It's not a bug, it's a feature)
https://bugs.php.net/bug.php?id=73081

Change-Id: I6d5b75ed60f0506ecacdead01a318fdc26757394
Resolves: #79052
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/51302
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
2 years ago[BUGFIX] Use proper type in LinkAnalyzer to avoid exceptions 19/51319/3
Georg Ringer [Sun, 15 Jan 2017 19:57:30 +0000 (20:57 +0100)]
[BUGFIX] Use proper type in LinkAnalyzer to avoid exceptions

To avoid exceptions, the proper type must be used.

Resolves: #79166
Releases: master
Change-Id: I00a6d65bee8b8807853461bfad681f354ae02045
Reviewed-on: https://review.typo3.org/51319
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: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[TASK] Adjust namespaces of test classes in dynamicReturnTypesMeta.json 64/51364/2
Markus Klein [Thu, 19 Jan 2017 15:31:41 +0000 (16:31 +0100)]
[TASK] Adjust namespaces of test classes in dynamicReturnTypesMeta.json

Resolves: #79393
Releases: master
Change-Id: Ic8c0ec41b7421873c4dcbaaa89e483b09ad5608a
Reviewed-on: https://review.typo3.org/51364
Reviewed-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>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[FOLLOWUP][BUGFIX] Extbase: Do not mangle SQL query when constraint value is empty 63/51363/2
Daniel Goerz [Thu, 19 Jan 2017 15:02:07 +0000 (16:02 +0100)]
[FOLLOWUP][BUGFIX] Extbase: Do not mangle SQL query when constraint value is empty

Remove a typo from phpdoc.

Change-Id: If5b45a1124294c80fe3b36f8f1c829f293c9d621
Resolves: #79388
Releases: master
Reviewed-on: https://review.typo3.org/51363
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Extbase: Do not mangle SQL query when constraint value is empty 60/51360/2
Markus Klein [Thu, 19 Jan 2017 12:54:30 +0000 (13:54 +0100)]
[BUGFIX] Extbase: Do not mangle SQL query when constraint value is empty

The query parser now throws an exception if the given value for an
IN or CONTAINS expression is invalid, instead of silently converting
it to a "1<>1" condition.
This helps developers when searching for broken queries and prevents
running queries with invalid/useless constraints.

Resolves: #79388
Releases: master
Change-Id: I9868325810ec11c72c994a0106a9e27141d95f3a
Reviewed-on: https://review.typo3.org/51360
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Johannes Kasberger <johannes.kasberger@reelworx.at>
Tested-by: Johannes Kasberger <johannes.kasberger@reelworx.at>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
2 years ago[BUGFIX] Use reflection information in getGettablePropertyNames 97/50197/7
Nicole Cordes [Wed, 12 Oct 2016 15:55:27 +0000 (17:55 +0200)]
[BUGFIX] Use reflection information in getGettablePropertyNames

In \TYPO3\CMS\Extbase\Reflection\ObjectAccess there is a method to get
all available property names of an object. Currently all get/is/has
methods are joined as they can be fetch from Extbase as well. But for
those methods it is necessary to respect their arguments as Extbase
calls those functions without any argument. This can trigger PHP warnings.

The patch uses a class reflection to get public properties and inspect
the method arguments. Only those functions without arguments or only
optional arguments are considered as valid property name.

Resolves: #78270
Releases: master, 7.6
Change-Id: Ie286dca2a249b73d3dc58f7388dda593a678db3d
Reviewed-on: https://review.typo3.org/50197
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: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
2 years ago[BUGFIX] Use BLOB type column for ses_data in be_sessions table 14/51314/2
Morton Jonuschat [Sun, 15 Jan 2017 05:56:36 +0000 (21:56 -0800)]
[BUGFIX] Use BLOB type column for ses_data in be_sessions table

The unified session handling for frontend and backend requires
identical SQL column types to properly escape the input data.
Using binary encoding for session data in combination with a TEXT
type field in the BE fails on PostgreSQL.

Change-Id: I3f3f379b43f873335207232e498f2e9e2c8b35e5
Resolves: #79324
Releases: master
Reviewed-on: https://review.typo3.org/51314
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Manuel Selbach <manuel_selbach@yahoo.de>
Tested-by: Manuel Selbach <manuel_selbach@yahoo.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[BUGFIX] Avoid stripping tags for generating diffs 20/51220/2
Georg Ringer [Mon, 9 Jan 2017 18:16:10 +0000 (19:16 +0100)]
[BUGFIX] Avoid stripping tags for generating diffs

Tags must not be stripped away for creating diffs as
those are essential for editors. Otherwise it is not
possible to see changed links or changing a header from
h1 to h2.

Resolves: #78767
Resolves: #79205
Releases: master, 7.6
Change-Id: Icb174f3522354fa8ef5d2b8ccca039e33ef472e7
Reviewed-on: https://review.typo3.org/51220
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[BUGFIX] Fix minor typo in DateTimePicker.js 46/51346/2
Wouter Wolters [Wed, 18 Jan 2017 15:25:19 +0000 (16:25 +0100)]
[BUGFIX] Fix minor typo in DateTimePicker.js

Heven't replaced with haven't

Resolves: #79376
Releases: master,7.6
Change-Id: I85b252514378eb4db1eb63f93d9b746ca332602e
Reviewed-on: https://review.typo3.org/51346
Reviewed-by: Robert van Kammen <rvkammen@hotmail.com>
Tested-by: Robert van Kammen <rvkammen@hotmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[FEATURE] CLI support for T3D import 77/45977/18
Martin Kutschker [Fri, 15 Jan 2016 21:00:48 +0000 (21:00 +0000)]
[FEATURE] CLI support for T3D import

A new CLI command allows to imoprt t3d/xml files for EXT:impexp.

Resolves: #72749
Releases: master
Change-Id: I8775bcc1d39901c25f0c4613d1d5fc3ff3b8868a
Reviewed-on: https://review.typo3.org/45977
Tested-by: TYPO3com <no-reply@typo3.com>
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] Reorder & Rename entries in CType list 48/49948/5
Georg Ringer [Thu, 15 Sep 2016 17:50:34 +0000 (19:50 +0200)]
[TASK] Reorder & Rename entries in CType list

To improve usability the naming and sorting of content element
types for the content element wizard and the select box are
unified.

Resolves: #77961
Releases: master
Change-Id: I6a0aa4a824992e062ba14931a7712eaafadeb8ab
Reviewed-on: https://review.typo3.org/49948
Reviewed-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Tested-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Claus Due <claus@phpmind.net>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[TASK] Use runtime cache for BackendUtility::isRecordLocked 32/51332/4
Georg Ringer [Tue, 17 Jan 2017 06:49:22 +0000 (07:49 +0100)]
[TASK] Use runtime cache for BackendUtility::isRecordLocked

Instead of using $GLOBALS a runtime cache is used.

Resolves: #79345
Releases: master
Change-Id: I2273051c2d52efff5fa578a82ff636748fe7fdf6
Reviewed-on: https://review.typo3.org/51332
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[TASK] Deprecate ArrayUtility::inArray() 09/51309/5
Wouter Wolters [Fri, 13 Jan 2017 16:09:09 +0000 (17:09 +0100)]
[TASK] Deprecate ArrayUtility::inArray()

Resolves: #79316
Releases: master
Change-Id: Ieb54d51a6d6f15325fc4c1c88ad29c845200c68b
Reviewed-on: https://review.typo3.org/51309
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[TASK] Add linkDetails to the parameters sent in typoLink_PostProc hook 34/51334/2
Phat Hoang [Tue, 17 Jan 2017 10:12:37 +0000 (11:12 +0100)]
[TASK] Add linkDetails to the parameters sent in typoLink_PostProc hook

This can be useful when using the unified referencing syntax.

Resolves: #79349
Releases: master

Change-Id: If822da7a6fd348f71c4f36ecf5f63f0a103bd2f7
Reviewed-on: https://review.typo3.org/51334
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mattias Nilsson <tollepjaer@gmail.com>
Tested-by: Mattias Nilsson <tollepjaer@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Fix typo in CacheManager 34/51234/16
Georg Ringer [Tue, 10 Jan 2017 10:09:03 +0000 (11:09 +0100)]
[BUGFIX] Fix typo in CacheManager

By fixing a typo in the CacheManager empty tag arrays
are detected and intercepted.

Resolves: #79236
Releases: master
Change-Id: I67fccda3755274f3334f0916d26beabbb28b8eb4
Reviewed-on: https://review.typo3.org/51234
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[TASK] Cleanup RTE HTMLArea TSconfig processing options 99/51299/3
Benni Mack [Thu, 12 Jan 2017 23:57:27 +0000 (00:57 +0100)]
[TASK] Cleanup RTE HTMLArea TSconfig processing options

Some obsolete options are found in the documentation, additionally
the RTE.default.proc.exitHTMLparser_db is not enabled by default
anymore, as the functionality to keep non matched tags is not needed.

In case of a site extending the default exitHTMLparser_db configuration of
HTMLArea, it has to be enabled like this:

RTE.default.proc.exitHTMLparser_db = 1
RTE.default.proc.exitHTMLparser_db {
## KEEP ALL TAGS
## Unwanted tags were removed on entry.
## Without this rule, the parser will remove all tags! Presumably, this rule will be more efficient than repeating the allowTags rule
keepNonMatchedTags = 1
}

Resolves: #79346
Releases: master
Change-Id: Ie7208a3fc751b2b712ec773a148c4404965abd99
Reviewed-on: https://review.typo3.org/51299
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: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[!!!][TASK] Prepare richtext configuration 11/51311/11
Christian Kuhn [Fri, 13 Jan 2017 16:55:56 +0000 (17:55 +0100)]
[!!!][TASK] Prepare richtext configuration

Configuring a richtext field in TCA with the "defaultExtras"
setting (which was formerly the 5th showitem parameter) has
been ugly ever since: The DataHandler needed a special _TRANSFORM_
field to trigger required RTE transformations, further config
depends on pageTs settings.

The patch gets rid of "defaultExtras" for richtext elements and
adds a new option "enableRichtext=true" within the config section
for type=text TCA fields.
This setting can be set via "columnsOverrides" for specific types, too.

As an intermediate solution, the configuration class "Richtext" is
added to fetch richtext configuration. This will be extended with
another patch to provide ckeditor configuration on TCA level.

Change-Id: I70f4cb26e2a45629b99680e532d376538afd2b90
Resolves: #79341
Releases: master
Reviewed-on: https://review.typo3.org/51311
Reviewed-by: Frans Saris <franssaris@gmail.com>
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: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[!!!][TASK] Remove vC checks and deprecate veriCode() method 17/51317/4
Tymoteusz Motylewski [Sun, 15 Jan 2017 17:46:52 +0000 (18:46 +0100)]
[!!!][TASK] Remove vC checks and deprecate veriCode() method

Since now all Backend urls have module token in place,
the veriCode is not needed any more.
Thus AbstractUserAuthentication::veriCode() is marked as deprecated,
vC parameter is not checked any more
and vC property is removed from some controllers.

Resolves: #79327
Releases: master
Change-Id: I47e459d95e8f561dcc933a832d22c86ed02aa707
Reviewed-on: https://review.typo3.org/51317
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[TASK] Streamline assignment of current workspace in DataHandler 25/51325/6
Oliver Hader [Mon, 16 Jan 2017 12:42:36 +0000 (13:42 +0100)]
[TASK] Streamline assignment of current workspace in DataHandler

The processing of data structures in DataHandler and RelationHandler
are bound to each other. DataHandler allows to be initialized with a
custom BE_USER instance and thus with a custom workspace, different
to the actual value of the real instance of $GLOBALS['BE_USER'].

This patch streamlines the workspace disposal by explicitly
forwarding the provided workspace to RelationHandler and avoids
fetching the current workspace for processing from global values.

The consideration of workspace related fields in RelationHandler was
bound to the current workspace of the global backend user - however,
this backend user constraint has been removed now.

Resolves: #79339
Releases: master
Change-Id: I3973d55c5b9d99ed2e976b86136338fee79d5f6e
Reviewed-on: https://review.typo3.org/51325
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
2 years ago[TASK] Include constants in TypoScript cache 04/51304/3
Benni Mack [Fri, 13 Jan 2017 09:48:12 +0000 (10:48 +0100)]
[TASK] Include constants in TypoScript cache

In order to work with available constants in TypoScript in Frontend
the parsed TypoScript constants are included in the cache entries
as well.

This ensures a more consistent behaviour of available information
for the TYPO3 Frontend.

This was previously set via $this->backend_info which was
set to "true" in the TYPO3 Backend.

Resolves: #79307
Releases: master
Change-Id: I5f5e024c8df51c4fd43b7bc607855b9b21ebb1dd
Reviewed-on: https://review.typo3.org/51304
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: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[BUGFIX] Extbase: Don't use ORDER BY with COUNT(*) SQL statements 13/51313/2
Morton Jonuschat [Sun, 15 Jan 2017 05:36:02 +0000 (21:36 -0800)]
[BUGFIX] Extbase: Don't use ORDER BY with COUNT(*) SQL statements

Databases that adhere to the SQL92 standard and enforce having all
columns that are using in any part of the query be part of the
SELECT/COUNT field list will throw an error when using COUNT(*) in
combination with ORDER BY.
Since ordering has no influence on the result of COUNT(*) the
ORDER BY query part has been disabled in getObjectCountByQuery().

Change-Id: Idd7c73d172116a83feb653db6a0167fb0bea2023
Resolves: #79322
Releases: master
Reviewed-on: https://review.typo3.org/51313
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: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Manuel Selbach <manuel_selbach@yahoo.de>
Tested-by: Manuel Selbach <manuel_selbach@yahoo.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[BUGFIX] Return all packages with PackageManager::getAvailablePackages 26/51026/3
Nicole Cordes [Thu, 22 Dec 2016 15:29:43 +0000 (16:29 +0100)]
[BUGFIX] Return all packages with PackageManager::getAvailablePackages

Currently the PackageManager loads installed package information by
default only. This patch adds a new flag to ensure all packages are
fetched before all available package information should be returned.

Resolves: #79078
Releases: master
Change-Id: I729c02f7b5c8303ee8d277aa88782274dff23591
Reviewed-on: https://review.typo3.org/51026
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] Make persistent connections available for Redis cache backend 78/50978/9
Kasper Ligaard [Thu, 15 Dec 2016 13:59:26 +0000 (14:59 +0100)]
[BUGFIX] Make persistent connections available for Redis cache backend

The Redis cache backend allows configuration of all connection
setting, except setting persistent connections. This omission
is fixed by this patch. Being unable to use persistent connections
under high load can hurt performance in cloud setups. Persistent
connections has been part of phpredis since 2010 and thus is
broadly available, but is impossible to use with TYPO3.

Resolves: #79005
Releases: master, 7.6
Change-Id: Ie5476e894072bb9979691f28bc7a1e10e86ef454
Reviewed-on: https://review.typo3.org/50978
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Kasper Ligaard <kasperligaard+typo3.org@gmail.com>
Reviewed-by: David Greiner <hallo@davidgreiner.de>
Tested-by: David Greiner <hallo@davidgreiner.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[BUGFIX] Prepend, don't append, configured View paths 83/51283/2
Claus Due [Thu, 12 Jan 2017 12:02:20 +0000 (13:02 +0100)]
[BUGFIX] Prepend, don't append, configured View paths

Avoids an issue where default View paths would
be added LAST instead of FIRST as is intended.

Change-Id: I00413b40e2df529b0c6673226b65924b034c2432
Resolves: #79290
Releases: master
Reviewed-on: https://review.typo3.org/51283
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
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[BUGFIX] Remove outdated PHPDoc comment 08/51308/3
Stefan Rotsch [Fri, 13 Jan 2017 15:47:57 +0000 (16:47 +0100)]
[BUGFIX] Remove outdated PHPDoc comment

The described behavior has been removed with TYPO3 7.6;
the variable is treated as a boolean now.

Resolves: #79314
Releases: master
Change-Id: I456ad1884a9a40c22c2015d19aa5abdd623a1654
Reviewed-on: https://review.typo3.org/51308
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
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] List Module: Hide hidden fields in single table rendering 82/51282/3
Georg Ringer [Thu, 12 Jan 2017 11:50:41 +0000 (12:50 +0100)]
[TASK] List Module: Hide hidden fields in single table rendering

If a field is hidden by using TsConfig, it should also not be
shown in the single table rendering in the record list.

Resolves: #79289
Releases: master
Change-Id: I0366c5ef5da260084367b9881f3a26ef60d5b319
Reviewed-on: https://review.typo3.org/51282
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Ext:form - remove class attribute from flashMessages viewhelper 03/51303/2
Ralf Zimmermann [Fri, 13 Jan 2017 09:09:37 +0000 (10:09 +0100)]
[BUGFIX] Ext:form - remove class attribute from flashMessages viewhelper

https://review.typo3.org/#/c/50285/ breaks the ext:form backend modul.
Remove "class" tag attributes from flashMessages viewHelper tags.

Resolves: #79306
Releases: master
Change-Id: I753cc5bf4deabfa824179c5e025044c65df4e069
Reviewed-on: https://review.typo3.org/51303
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: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[!!!][TASK] Move pages.url_scheme to compatibility7 77/51077/5
Benni Mack [Thu, 12 Jan 2017 14:26:02 +0000 (15:26 +0100)]
[!!!][TASK] Move pages.url_scheme to compatibility7

Adding SSL support on a per-page basis is something that
does not happen very much in 2017 anymore, rather doing this
on a per-domain basis, and based on server-redirects makes
more sense these days.

The field and the functionality for links is moved to
EXT:compatibility7.

Resolves: #79302
Releases: master
Change-Id: I7ae1c59533bee1d015b39811f39d590e5488aabe
Reviewed-on: https://review.typo3.org/51077
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
2 years ago[!!!][TASK] Remove RTE proc.transformBoldAndItalicTags option 89/51289/5
Benni Mack [Thu, 12 Jan 2017 15:41:30 +0000 (16:41 +0100)]
[!!!][TASK] Remove RTE proc.transformBoldAndItalicTags option

The option transformBoldAndItalicTags is there to convert
<i> and <b> tags from the DB to <strong> and <em> for the RTE.

When saving, all tags are converted back to <i> and <b>
before storing the content in the database again.

This is actually a (weird) shortcut due to historical reasons,
and can easily be set up by the HTMLparser directly using
the tags.[tagname].remap = [newtagname].

This syntax can be used directly to enable this functionality
again

RTE.default.proc {
        # make <strong> and <em> tags when sending to the RTE
    HTMLparser_rte {
            tags {
                b.remap = strong
                i.remap = em
            }
    }
        # make <b> and <i> tags when sending to the DB
    HTMLparser_db {
        tags {
            strong.remap = B
            em.remap = I
        }
    }
}

The option is removed and the explicit (and IMHO more understandable)
syntax is used in the RTE configuration of HTMLArea.

If the InlineElements functionality of HTMLarea is enabled,
then the remapping is not done, as any tag (b, i, strong, em)
is kept as is, becoming more flexible.

In any case, any "unification" if necessary, can also be
done the same way via the HTMLparser for the frontend
when outputting the content.

Resolving: #79300
Releases: master
Change-Id: I354b0ccd1948ea7d018c7135c4694e0c0f9b72b8
Reviewed-on: https://review.typo3.org/51289
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
2 years ago[TASK] Move DatabaseL10nModeUpdate to a row updater 77/51277/6
Christian Kuhn [Thu, 12 Jan 2017 00:17:37 +0000 (01:17 +0100)]
[TASK] Move DatabaseL10nModeUpdate to a row updater

The new DatabaseL10nModeUpdate install tool upgrade wizard that
migrates row content for old "mergeIfNotBlank" fields is now
implemented as the first consumer of the new row updater upgrade
wizard.

Change-Id: If7495ef09e06c5fd611fe95feff640c67d3a672b
Resolves: #79281
Related: #79243
Related: #79279
Releases: master
Reviewed-on: https://review.typo3.org/51277
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[FEATURE] Introduce l10n_source field for tt_content 70/51070/26
Tymoteusz Motylewski [Thu, 12 Jan 2017 13:03:46 +0000 (14:03 +0100)]
[FEATURE] Introduce l10n_source field for tt_content

A new field which is a ctrl-based field for any TCA table
called "translationSource" set to a DB field name
(used for the new field tt_content.l10n_source) is added
and filled as it contains the uid of the record of where a
translation record came from.

This is different to "transOrigPointerField" as it
contains not the record to a record in the default language
or the one where a record was copied from, but rather
the information what the translation source was made.

Releases: master
Resolves: #78169
Change-Id: I3ecfeedb656c64681e5e3021cad6b708482520dc
Reviewed-on: https://review.typo3.org/51070
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: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Move legacy indexed_search plugin registration 88/51288/2
Benni Mack [Thu, 12 Jan 2017 14:34:13 +0000 (15:34 +0100)]
[BUGFIX] Move legacy indexed_search plugin registration

When moved to EXT:compatibility7 the pi-based Indexed Search
plugin registration was moved to "Configuration/TCA" but
should go into "Configuration/TCA/Overrides".

Resolves: #79299
Releases: master
Change-Id: Ic9abec2a967b08514a786bc2ee62ce65024a1e32
Reviewed-on: https://review.typo3.org/51288
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[TASK] Always keep <a> instead of <link> tags in RTE transformations 41/49441/5
Benni Mack [Thu, 12 Jan 2017 01:29:23 +0000 (02:29 +0100)]
[TASK] Always keep <a> instead of <link> tags in RTE transformations

The RTE uses <a> tags for handling links, a transformation
that replaces <link> tags to <a> tags is updated to use the
new t3:// linking syntax instead of hard-coding index.php?id=23
or trying to manually resolve the TypoLink functionality
for doing links.

This also means that the RTE now deals with t3:// links,
and HtmlArea is adapted as well.

When saving the links in the database again, the links
are now not transformed into <link> tags again but kept
as proper <a> tags.

Resolves: #79291
Releases: master
Change-Id: Idc002138e1283d6962666dcd44ba3039c464d6ca
Reviewed-on: https://review.typo3.org/49441
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: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years agoRevert "[BUGFIX] Skip main extension repository check in Composer mode" 80/51280/4
Nicole Cordes [Thu, 12 Jan 2017 09:08:51 +0000 (10:08 +0100)]
Revert "[BUGFIX] Skip main extension repository check in Composer mode"

This reverts commit e538ed3f154f447ddbaf78785a31c9ab2ee72a17.

We do need the information about the main repository status as there is
currently no other possibility to get information about the (security)
status of extension besides the TER itself.

Resolves: #79285
Related: #79277
Releases: master, 7.6
Change-Id: Ia769dc95eaeff405f291d5929b7790a50c332a83
Reviewed-on: https://review.typo3.org/51280
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: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
2 years ago[BUGFIX] Skip main extension repository check in Composer mode 67/51267/3
Mathias Brodala [Wed, 11 Jan 2017 14:41:36 +0000 (15:41 +0100)]
[BUGFIX] Skip main extension repository check in Composer mode

Extensions are not installed and updated from the main extension
repository in Composer mode, thus skip this check completely.

Resolves: #79277
Releases: master, 7.6
Change-Id: I6cb209b5ebae04b7e29b55a52ac61ce0f4b261c2
Reviewed-on: https://review.typo3.org/51267
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: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[!!!][TASK] Remove TCA l10n_mode=mergeIfNotBlank 39/51239/14
Oliver Hader [Tue, 10 Jan 2017 13:41:26 +0000 (14:41 +0100)]
[!!!][TASK] Remove TCA l10n_mode=mergeIfNotBlank

The TCA setting "l10n_mode=mergeIfNotBlank" for a single
column is removed from the list of values.

The functionality was there to use the value of a field
of the original record, if the value of the translated record
is empty (or trim'ed empty), and is then overlaid.

The new behaviour is to duplicate the behaviour during
the localize process, and then completely separate.

As a result the related TypoScript setting
config.sys_language_softMergeIfNotBlank is not required
anymore and is removed as well.

Resolves: #79243
Releases: master
Change-Id: I55f3ebd2fe2ddd8412101d5496a0da3c5ab64c68
Reviewed-on: https://review.typo3.org/51239
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: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[!!!][FEATURE] Refactoring of FlashMessage rendering 85/50285/22
Susanne Moog [Mon, 9 Jan 2017 22:04:19 +0000 (23:04 +0100)]
[!!!][FEATURE] Refactoring of FlashMessage rendering

This patch reverts some changes of #73698 and adds some new things:

- Introduce context based FlashMessageRenderer
- Add special FlashMessageViewHelper for the backend
- Cleanup classes related to FlashMessages
- Deprecate some methods from the FlashMessages::class

Resolves: #78477
Related: #73698
Releases: master
Change-Id: I937d5896b0a3d45e59c9174d233410f202add997
Reviewed-on: https://review.typo3.org/50285
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] Filelist: Renaming: Add a better flash message 03/51203/3
Josef Glatz [Sun, 8 Jan 2017 23:01:08 +0000 (00:01 +0100)]
[TASK] Filelist: Renaming: Add a better flash message

Just add another/meaningful message to the flash message
queue if the file/folder was not really renamed. It just gives a
better feedback to the backend user.

Resolves: #79206
Releases: master
Change-Id: Id2378fdd0f24a94c2260cff9fd7e2cb8feb40eaf
Reviewed-on: https://review.typo3.org/51203
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Filelist: Info dialog shows image dimensions 52/51052/6
Michael Oehlhof [Wed, 28 Dec 2016 08:03:36 +0000 (09:03 +0100)]
[TASK] Filelist: Info dialog shows image dimensions

The file info modal now contains the width and height of images

Resolves: #65822
Releases: master, 7.6
Change-Id: Iadb64ae3db4558bf74f15aaeac1fe29848120563
Reviewed-on: https://review.typo3.org/51052
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
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>
2 years ago[TASK] Add update wizard to remove CLI users 66/51266/4
Benni Mack [Wed, 11 Jan 2017 14:36:03 +0000 (15:36 +0100)]
[TASK] Add update wizard to remove CLI users

The new CLI functionality to use one dedicated CLI user
called _cli_ makes all previous users prefixed with _cli_*
obsolete, as they are not in use anymore.

An update wizard in the install tool sets all _cli_* users
to "deleted=1".

Resolves: #79276
Releases: master
Change-Id: Ie9c72595b5c42106f437e59383d2f1ebc9b7f3a0
Reviewed-on: https://review.typo3.org/51266
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] ResourceCompressor does not persist external resources 70/51270/2
Benni Mack [Wed, 11 Jan 2017 17:05:50 +0000 (18:05 +0100)]
[BUGFIX] ResourceCompressor does not persist external resources

The condition in the ResourceCompressor for fetching
external files never worked, as it was a simple typo
to update an external resource.

So the first time the local file did not exist (and thus, the md5
did not match) and the file was fetched but due to the
wrong check, the file never got updated.

Resolves: #79269
Releases: master, 7.6
Change-Id: If6942284ccd46f400e23d199e827d4e7a696961d
Reviewed-on: https://review.typo3.org/51270
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: David Greiner <hallo@davidgreiner.de>
Tested-by: David Greiner <hallo@davidgreiner.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Code cleanup for RteHtmlParser 68/51268/5
Benni Mack [Wed, 11 Jan 2017 15:57:36 +0000 (16:57 +0100)]
[TASK] Code cleanup for RteHtmlParser

Several code parts have been cleaned up and sorted into separate methods
to ensure readability.

Certain options defined by procOptions are now initialized at the very
beginning, before all transformations.

Resolving modes are moved into a separate method, as well as configuring
the entry- and exit-HTML parser, making the main method easier to read.

Cleaning up content and adding <p> tags around "simple" content lines
has been split up as well to avoid code duplication.

Resolves: #79280
Releases: master
Change-Id: Ib734a8cedebff3cc0b415155b6328bf3a77841e9
Reviewed-on: https://review.typo3.org/51268
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@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[FOLLOWUP][FEATURE] Install tool table row updaters 73/51273/3
Christian Kuhn [Wed, 11 Jan 2017 19:56:22 +0000 (20:56 +0100)]
[FOLLOWUP][FEATURE] Install tool table row updaters

Fix a left over hack and improve comment wording at
a couple of places.

Change-Id: Ida005a7d5889e8aa4afd1e39eb66862f85fd3fbc
Resolves: #79279
Releases: master
Reviewed-on: https://review.typo3.org/51273
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[FEATURE] Add possibility to create TRIM expression with Doctrine DBAL 55/51255/5
Oliver Hader [Tue, 10 Jan 2017 22:01:00 +0000 (23:01 +0100)]
[FEATURE] Add possibility to create TRIM expression with Doctrine DBAL

This adds the possibility to create TRIM expressions using the
ExpressionBuilder like shown in the following example:

$queryBuilder->expr()->comparison(
    $queryBuilder->expr()->trim($fieldName),
    ExpressionBuilder::EQ,
    $queryBuilder->createNamedParameter('', \PDO::PARAM_STR)
);

Resolves: #79262
Releases: master
Change-Id: I7813e8a1b0a38ec36797dfbb4fdb02ab78ebe8b2
Reviewed-on: https://review.typo3.org/51255
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: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>