Packages/TYPO3.CMS.git
2 years ago[BUGFIX] Restore operability for USER displayConds 37/51837/3
Claus Due [Fri, 24 Feb 2017 17:01:33 +0000 (18:01 +0100)]
[BUGFIX] Restore operability for USER displayConds

Parsing of the displayCond value was referencing the
incorrect array, causing the parsed displayCond to no
longer be correct. Referencing the correct array solves
the problem by generating the correct "named
condition array" based on the input.

Change-Id: Ia0cae240387ec8f24ea66b593b6824f9bb6b6dc5
Resolves: #79822
Releases: master
Reviewed-on: https://review.typo3.org/51837
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: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Fix PHP warning in TcaMigration 76/51776/3
Georg Ringer [Tue, 21 Feb 2017 07:17:34 +0000 (08:17 +0100)]
[BUGFIX] Fix PHP warning in TcaMigration

Check if defaultExtras exists before accessing it.

Resolves: #79929
Releases: master
Change-Id: I0a85012b335e10b3744aeb847246e4dabbb23f54
Reviewed-on: https://review.typo3.org/51776
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
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[TASK] Reduce length of a very long .rst filename 66/51866/3
Christian Kuhn [Sun, 26 Feb 2017 22:03:34 +0000 (23:03 +0100)]
[TASK] Reduce length of a very long .rst filename

To reduce headaches on windows, a very long filename
is shortened in length.

Change-Id: I53086fa0018b7628d13a7b1330685c0a4e2f0189
Resolves: #80028
Releases: master
Reviewed-on: https://review.typo3.org/51866
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: TYPO3com <no-reply@typo3.com>
2 years ago[TASK] Remove ses_name from tables fe_sessions and be_sessions 21/51821/12
Thomas Hohn [Fri, 24 Feb 2017 09:10:55 +0000 (10:10 +0100)]
[TASK] Remove ses_name from tables fe_sessions and be_sessions

Both fe_session and be_session table currently have a combined
primary key on ses_id / ses_name which is not needed by the new
session framework.

In addition the field ses_name is dropped.

Resolves: #79720
Releases: master
Change-Id: I4827d4ebfa0e04a303fca21ae865c99188d1a81a
Reviewed-on: https://review.typo3.org/51821
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>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Fix parameter type in BackendModuleRequestHandler 91/51791/3
Markus Hoelzle [Wed, 22 Feb 2017 08:38:40 +0000 (09:38 +0100)]
[BUGFIX] Fix parameter type in BackendModuleRequestHandler

The function
\TYPO3\CMS\Core\Authentication\BackendUserAuthentication
->getPagePermsClause accepts only an integer value as parameter,
but a boolean value is given in
TYPO3\CMS\Backend\Http\BackendModuleRequestHandler->dispatchModule

Resolves: #79949
Releases: master
Change-Id: I6d0e6049ce2f68f361853f5c5ea50984c9448347
Reviewed-on: https://review.typo3.org/51791
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: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Detect the conversion to string "0" in stdWrap_csConv 25/48425/8
Elmar Hinz [Wed, 1 Jun 2016 06:40:09 +0000 (08:40 +0200)]
[BUGFIX] Detect the conversion to string "0" in stdWrap_csConv

Check for the return value of the converter to be of type string or
return the input. The string "0" is detected.

If the return string of the converter is the empty string, return the
input. This is done to keep the previous behaviour apart from the "0"
issue.

Update the method comment.

Resolves: #76413
Releases: master
Change-Id: I1dc214a6b7cad5815d96c9cdb671862ee99b3063
Reviewed-on: https://review.typo3.org/48425
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] Compare password hashes in constant time 53/51853/2
Christian Futterlieb [Sat, 25 Feb 2017 13:33:38 +0000 (14:33 +0100)]
[FOLLOWUP][TASK] Compare password hashes in constant time

Apply constant-time comparison to the fallback password checks as well.

Change-Id: I8d2aa6448c95266a45b2862f12f1a5d8259f4f0b
Releases: master
Resolves: #79888
Related: #79795
Reviewed-on: https://review.typo3.org/51853
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[BUGFIX] Installtool blocked when session file is empty 35/51835/4
Timo Schmidt [Fri, 24 Feb 2017 15:38:36 +0000 (16:38 +0100)]
[BUGFIX] Installtool blocked when session file is empty

When the session information is fetched from the file system it can
happen that the session file is empty.

We should check for the file length and only read it, when the file
length is larger then 0.

Change-Id: I8857efc54f76c56984bc3486064b622b05e488b8
Resolves: #79955
Releases: master
Reviewed-on: https://review.typo3.org/51835
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[BUGFIX] Use correct check in search if list module is available 08/51808/3
Georg Ringer [Thu, 23 Feb 2017 18:25:36 +0000 (19:25 +0100)]
[BUGFIX] Use correct check in search if list module is available

The check if the list module is available for the user must be
extended to check for false as well.

Resolves: #79974
Releases: master, 7.6
Change-Id: Icd1e2c2cff3f37ce6763bc4f64d4011443226a68
Reviewed-on: https://review.typo3.org/51808
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
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[BUGFIX] TCA: Make ###CURRENT_PID### work in foreign_table_where in IRRE 34/50934/5
Nicole Cordes [Mon, 12 Dec 2016 16:53:10 +0000 (17:53 +0100)]
[BUGFIX] TCA: Make ###CURRENT_PID### work in foreign_table_where in IRRE

The patch adds the current database row to the data passed to the select
field rendered by foreign_selector of IRRE.
This data is necessary to properly resolve the ###CURRENT_PID### marker
in a foreign_table_where clause.

Resolves: #78960
Releases: master, 7.6
Change-Id: I17f6b4a78d20c101ef7caab227d23c87f138e8ce
Reviewed-on: https://review.typo3.org/50934
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Jasmina Ließmann <code@frauliessmann.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
2 years ago[BUGFIX] DateTime parse error on edit pages field newUntil 59/51859/3
Joerg Kummer [Sat, 25 Feb 2017 18:28:12 +0000 (19:28 +0100)]
[BUGFIX] DateTime parse error on edit pages field newUntil

Remove TCA config 'max' limit for datetime fields to avoid DateTime
parse errors. No other renderType='inputDateTime' fields in core
TCA have this limit set. Field pages.newUntil should too.

Resolves: #80022
Releases: master
Change-Id: I2b90a1f69d5b3f4f644faa3fab5d15bba6ca67ae
Reviewed-on: https://review.typo3.org/51859
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Kummer <service@enobe.de>
Tested-by: Joerg Kummer <service@enobe.de>
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] Update layout of field 'style' in link wizard (RTE, CKeditor) 43/51843/2
Jasmina Liessmann [Fri, 24 Feb 2017 21:02:53 +0000 (22:02 +0100)]
[TASK] Update layout of field 'style' in link wizard (RTE, CKeditor)

Use Bootstrap grid for form field 'style' in link wizard.

Resolves: #80011
Releases: master
Change-Id: Icb62d5f4e8cc3990b774ddf0ba56ab9fb301d17c
Reviewed-on: https://review.typo3.org/51843
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anders Kostending <aha@systime.dk>
Tested-by: Anders Kostending <aha@systime.dk>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] DB Check causes PHP warnings and errors 13/51813/9
Thomas Hohn [Fri, 24 Feb 2017 07:26:56 +0000 (08:26 +0100)]
[BUGFIX] DB Check causes PHP warnings and errors

In DatabaseIntegrityCheck the method selectNonEmptyRecordsWithFkeys
also needs to take the BLOB into account or else it will fail with
a PHP warning. Furthermore the returned tableColumns list may contain
quoted fields names if the field name can be interpreted as a keyword
for the used connection platform. This patch ensures the correct
column information is received before further processing is started.

Additionally the "Record Statics" module is fixed by checking for an
empty TCA table field which invokes an exception.

Resolves: #79347
Resolves: #79991
Resolves: #79992
Releases: master
Change-Id: Ie455abd2da90d7dabc773ec345b5c8a87b0b5836
Reviewed-on: https://review.typo3.org/51813
Reviewed-by: Christer V <cvi@systime.dk>
Tested-by: Christer V <cvi@systime.dk>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Claus Due <claus@phpmind.net>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Anders Kostending <aha@systime.dk>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Limit maximum key length on sys_refindex 28/51828/2
Claus Due [Fri, 24 Feb 2017 12:55:48 +0000 (13:55 +0100)]
[BUGFIX] Limit maximum key length on sys_refindex

Prevents issues if key length exceeds maximum key
lengt for the SQL server. Keys are now kept below a
255 byte limit.

Change-Id: I8e0c2a167f94695dd728c777368fac9e779678d8
Resolves: #79993
Releases: master
Reviewed-on: https://review.typo3.org/51828
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Tested-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Anders Kostending <aha@systime.dk>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Respect IRRE parent config in Ajax calls 83/51783/3
Helmut Hummel [Sat, 25 Feb 2017 19:32:39 +0000 (20:32 +0100)]
[BUGFIX] Respect IRRE parent config in Ajax calls

The code to transfer the inline parent context to form engine
in Ajax requests exists but is currently non functional in some
situations.

The config is stored as array, which is hashed by serializing
the array, and building the hash on that string. However
that string is not transferred over the wire,
but the json encoded array.

If a float value was present at some place in this array,
json_encode and json_decode will add a slight offset
to these numbers than if the value is serialized.

To avoid such errors, the hmac is now calculated and
checked against the json encoded value.

We also clean up the code in this area to avoid duplication
and improve the hash calculation and comparison.

By doing so, we can clean up and simplify the flex form handling
for IRRE fields as well.

Resolves: #79999
Releases: master
Change-Id: I049d699f9f30edad0a9c8b06bbc3970e2cdac417
Reviewed-on: https://review.typo3.org/51783
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] Improve unstable language tests 32/51832/4
Joerg Kummer [Fri, 24 Feb 2017 13:58:48 +0000 (14:58 +0100)]
[TASK] Improve unstable language tests

The notification js object gets "duration" as additional default value.
This can be increased for acceptance tests to ensure
notifications don't vanish before they are tested.
Activate two ac tests again that were disabled for that reason.

Resolves: #79963
Releases: master
Change-Id: Ib7bf046e7de1999fc693e08eeefc7d4c420bddae
Reviewed-on: https://review.typo3.org/51832
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Kummer <service@enobe.de>
Tested-by: Joerg Kummer <service@enobe.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Prevent installing incompatible extensions without confirmation 34/51834/3
Nicole Cordes [Fri, 24 Feb 2017 15:32:09 +0000 (16:32 +0100)]
[BUGFIX] Prevent installing incompatible extensions without confirmation

Currently it is possible to install incompatible extensions without
confirming the overlay popup. This patch prevents submitting the
overlay if the button is still disabled.

Resolves: #80005
Releases: master, 7.6
Change-Id: Ia68539cb9ce2a82f1e90aef3823f60cfadee2ce1
Reviewed-on: https://review.typo3.org/51834
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jasmina Ließmann <code@frauliessmann.de>
Tested-by: Jasmina Ließmann <code@frauliessmann.de>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[BUGFIX] If User TSConfig disables avatar it gets lost when saved 60/51860/4
Thomas Hohn [Sun, 26 Feb 2017 11:01:33 +0000 (12:01 +0100)]
[BUGFIX] If User TSConfig disables avatar it gets lost when saved

If the user is not allow to modify the avatar it gets
lost since there was no distinction between deleted and
not allowed to modify causing the avatar to be deleted
on save.

Resolves: #80002
Releases: master
Change-Id: I1cf6fa93c2af1122c481b52860990c2433d86594
Reviewed-on: https://review.typo3.org/51860
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: TYPO3com <no-reply@typo3.com>
2 years ago[BUGFIX] Remove indeterministic test ensureCorrectPostOrderingByCategoryTitle 44/51844/2
Morton Jonuschat [Sat, 25 Feb 2017 07:02:00 +0000 (23:02 -0800)]
[BUGFIX] Remove indeterministic test ensureCorrectPostOrderingByCategoryTitle

The test only works on MySQL with disabled SQL MODE ONLY_FULL_GROUP_BY.
All standard conformant database setups fail this test as the result of
the query is not deterministic due to GROUP BY being evaluated before
ORDER BY.

Change-Id: Ib6d4599e0f5682e8b72971d0f35ef00cfa8d3e6a
Resolves: #80014
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/51844
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Johannes Goslar <jogo@kronberger-spiele.de>
Tested-by: Johannes Goslar <jogo@kronberger-spiele.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[BUGFIX] EXT:info_pagetsconfig Optimized view on page 0 43/51043/4
Michael Oehlhof [Sun, 25 Dec 2016 21:57:29 +0000 (22:57 +0100)]
[BUGFIX] EXT:info_pagetsconfig Optimized view on page 0

If there are no pages containing Page TSconfig settings in the page
configuration an info FlashMessage is shown instead of an empty table.

Resolves: #78509
Releases: master
Change-Id: I4a5cda38746187a1147e5500e77b516cb9a85fd6
Reviewed-on: https://review.typo3.org/51043
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
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] Install tool upgrade wizards fail on postgres 62/51862/2
Christian Kuhn [Sun, 26 Feb 2017 16:15:02 +0000 (17:15 +0100)]
[BUGFIX] Install tool upgrade wizards fail on postgres

Controller class UpgradeWizard of install tool method performUpdate()
calls getDatabaseConnection() (old TYPO3_DB) and connects. This was
done in the past to receive the list of executed queries during
upgrade and is now implemented in the single upgrade classes directly.

If running postgres, the connect attempt of old database class tries
to connect to a mysql instance and runs into a timeout.

Remove this TYPO3_DB left over from the install tool to successfully
execute upgrade wizards on non-mysql platforms.

Change-Id: Ia87ae4bce1c4f4992527f0fa6fbddebdb6e3733c
Resolves: #80026
Releases: master
Reviewed-on: https://review.typo3.org/51862
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] Detect TEXT/BLOB changes in schema analyzer 07/51807/10
Thomas Hohn [Thu, 23 Feb 2017 17:54:21 +0000 (18:54 +0100)]
[BUGFIX] Detect TEXT/BLOB changes in schema analyzer

Length changes of TEXT/BLOB type are not analyzed by the Doctrine
schema analyzer as only MySQL has different length version of these
fields. Add a custom column comparator that compares the different
fields length on MySQL to properly detect changes in field type.

Resolves: #79722
Releases: master
Change-Id: I2e448dcde02c3fa370496b4920dfad536fbafcd6
Reviewed-on: https://review.typo3.org/51807
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>
2 years ago[BUGFIX] Avoid duplicates if ReferenceIndex is unable to finish 03/50803/14
Claus Due [Tue, 29 Nov 2016 11:58:38 +0000 (12:58 +0100)]
[BUGFIX] Avoid duplicates if ReferenceIndex is unable to finish

Solves an issue where DB may end up containing duplicates
if the reference indexer is unable to finish, e.g. if memory
or max execution time are exhausted. Such cases would
leave duplicate indexed references. The patch avoids those
duplicates by ensuring that the patch does not contain a
sorting value, which lets the reference indexer retrieve the
original reference even if it has a new sorting.

Further an update wizard is added that allows to rewrite the hash of
existing records.

Resolves: #78829
Releases: master
Change-Id: I145aa60460c5904a83b6c8373f107c7bfce8b434
Reviewed-on: https://review.typo3.org/50803
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[TASK] Update readme of EXT:lowlevel 39/51839/6
Georg Ringer [Fri, 24 Feb 2017 18:31:58 +0000 (19:31 +0100)]
[TASK] Update readme of EXT:lowlevel

The lowlevel CLI tasks have been migrated to symfony commands and
therefore the readme has to be updated as well.

Resolves: #79996
Releases: master
Change-Id: If584569680bfcf769056b39b5472571deeb21807
Reviewed-on: https://review.typo3.org/51839
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: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Don't render header of content element shortcut 08/51708/3
Georg Ringer [Wed, 15 Feb 2017 18:09:04 +0000 (19:09 +0100)]
[BUGFIX] Don't render header of content element shortcut

The header of the element "shortcut" states "not visible in frontend"
and it should not be shown (like it was previously).

Resolves: #79825
Releases: master
Change-Id: I87db1e47211983f259c0323a6b0b684e23f012e2
Reviewed-on: https://review.typo3.org/51708
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: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Remove unused TCA property `localizeReferences` from tests 48/51848/5
Anja Leichsenring [Sat, 25 Feb 2017 10:36:24 +0000 (11:36 +0100)]
[TASK] Remove unused TCA property `localizeReferences` from tests

irre_tuturial test extension uses TCA setting 'localizeReferences',
but that setting does not exist and has no meaning in TCA. Remove it.

Resolves: #80015
Releases: master
Change-Id: I421b392cb7dec2c9530d86f926fd0169efe99b82
Reviewed-on: https://review.typo3.org/51848
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: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Add support for multi-line INSERT statements in static data 54/51854/5
Thomas Hohn [Sat, 25 Feb 2017 14:03:05 +0000 (15:03 +0100)]
[BUGFIX] Add support for multi-line INSERT statements in static data

Join consecutive lines for INSERT statements in ext_tables_static+adt.sql
using a space instead of a linefeed to avoid parser errors.

Resolves: #78892
Releases: master
Change-Id: Ide550419b7ef41109a660a671b8aba65a33eb6b3
Reviewed-on: https://review.typo3.org/51854
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: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
2 years ago[BUGFIX] Fix dynamic variable name parts in Fluid 41/51841/3
Helmut Hummel [Fri, 24 Feb 2017 19:23:24 +0000 (20:23 +0100)]
[BUGFIX] Fix dynamic variable name parts in Fluid

The dynamic variable syntax does currently work in Fluid standalone,
but not with the variable provider used for TYPO3 CMS (as promised)

To fix this, we copy the necessary code to the CMS variable provider
as it is only a few lines.

Cover that with tests and apply it in the image cropper UI as one example.

Resolves: #79997
Releases: master
Change-Id: I3a811b0d496b12191d2ccbaa9c07525f4cf8f340
Reviewed-on: https://review.typo3.org/51841
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anders Kostending <aha@systime.dk>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
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] Init permissions in context menu 52/51852/2
Susanne Moog [Sat, 25 Feb 2017 13:31:15 +0000 (14:31 +0100)]
[BUGFIX] Init permissions in context menu

The current user permissions were not initialized
for the context menu resulting in non-existing
permissions for editors (and no possibility to copy
a page).

Change-Id: I8fe747a1f19b4bea794b7fdbd676e7f366eea695
Resolves: #80019
Releases: master
Reviewed-on: https://review.typo3.org/51852
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Steffen Frese
Tested-by: Steffen Frese
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
2 years ago[BUGFIX] InvalidXmlFileException for invalid locallang.xml 61/51761/9
Sascha Egerer [Sun, 19 Feb 2017 20:34:53 +0000 (21:34 +0100)]
[BUGFIX] InvalidXmlFileException for invalid locallang.xml

Throw a meaningful InvalidXmlFileException when an invalid locallang.xml
file is detected.

Resolves: #79908
Releases: master, 7.6
Change-Id: Idc5586166d2475edeaeef407128525ea57fb9a09
Reviewed-on: https://review.typo3.org/51761
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Anders Kostending <aha@systime.dk>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Faton Haliti <fha@systime.dk>
Tested-by: Faton Haliti <fha@systime.dk>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
2 years ago[BUGFIX] Don't update passwords if left untouched 29/51829/4
Mads Jensen [Sat, 25 Feb 2017 10:58:19 +0000 (11:58 +0100)]
[BUGFIX] Don't update passwords if left untouched

Fixes a bug where editing a backend user record without updating the
password would result in the password being set to
the string literal "*********".

This reverts #79576 because the fix for showing the password hash in the readable
field was wrong and causing this bug.

Instead of forcing the database value in the hidden field to be asterisks,
we now correctly set the type of the human readable field to be password.

This triggers a special handling in the form engine JavaScript, not filling
the human readable field with the database value and switching to type text
when entering a new password.

Resolves: #79714
Reverts: #79576
Releases: master
Change-Id: Ia465293272131c32bbb9fd9b0d3916676e130996
Reviewed-on: https://review.typo3.org/51829
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mads Lønne Jensen <mlj@systime.dk>
Tested-by: Mads Lønne Jensen <mlj@systime.dk>
Reviewed-by: Anders Kostending <aha@systime.dk>
Reviewed-by: Faton Haliti <fha@systime.dk>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
2 years ago[BUGFIX] Opening links in pop-up windows 30/51830/3
Christer Vindberg [Fri, 24 Feb 2017 13:33:34 +0000 (14:33 +0100)]
[BUGFIX] Opening links in pop-up windows

Moved the check for if the target is coded as a JS open window link,
to a later stage in the function.

Since Css Styled Content and Fluid Styled Content was refactored,
the target might not be set until later in the typoLink
function. This caused pop links to stop working, moving the check for a
pop up link target to a later stages fixes the problem.

Resolves: #79918
Releases: master
Change-Id: Ie27fa3142df83c33ba3ad465ecb35c0f6e571f86
Reviewed-on: https://review.typo3.org/51830
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anders Kostending <aha@systime.dk>
Reviewed-by: Faton Haliti <fha@systime.dk>
Reviewed-by: Jasmina Ließmann <code@frauliessmann.de>
Tested-by: Jasmina Ließmann <code@frauliessmann.de>
Reviewed-by: Timo Hund <timo.hund@yahoo.com>
Tested-by: Timo Hund <timo.hund@yahoo.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
2 years ago[BUGFIX] Correct handling of ObjectStorage objects in PaginateController 75/51475/3
Nicole Cordes [Mon, 30 Jan 2017 18:01:32 +0000 (19:01 +0100)]
[BUGFIX] Correct handling of ObjectStorage objects in PaginateController

The current implementation for getting paginated items from ObjectStorage
objects in TYPO3\CMS\Fluid\ViewHelpers\Widget\Controller\PaginateController
enforces null items if the count of objects is lower than the
itemsPerPage count. This patch calculates the correct count and returns
valid items only.

Resolves: #79559
Releases: master, 7.6
Change-Id: I5746d83120474d6246da949f67096459ed1076d7
Reviewed-on: https://review.typo3.org/51475
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jasmina Ließmann <code@frauliessmann.de>
Tested-by: Jasmina Ließmann <code@frauliessmann.de>
Reviewed-by: Christian Matthes
Tested-by: Christian Matthes
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
2 years ago[BUGFIX] Ignore invalid files in LocalDriver::getDirectoryItemList 55/51655/2
Nicole Cordes [Mon, 13 Feb 2017 13:22:39 +0000 (14:22 +0100)]
[BUGFIX] Ignore invalid files in LocalDriver::getDirectoryItemList

Due to some security changes in GeneralUtility::validPathStr some
wrongly encoded files are now returned as invalid. This breaks e.g. the
file list.
This patch adds a try/catch block to ignore invalid files and return the
valid ones.

Resolves: #79776
Releases: master, 7.6, 6.2
Change-Id: Iaa3697b04c123bba61a426fdf39ee3959f68b705
Reviewed-on: https://review.typo3.org/51655
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tobias Liebig <tobias.liebig@typo3.org>
Tested-by: Tobias Liebig <tobias.liebig@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: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
2 years ago[BUGFIX] Fix CSS layout of cropper UI for Firefox 42/51842/3
Raphael Okon [Fri, 24 Feb 2017 15:59:17 +0000 (16:59 +0100)]
[BUGFIX] Fix CSS layout of cropper UI for Firefox

The fix is to remove previously introduced CSS hacks
and provide a cleaner and leaner base

Resolves: #79998
Resolves: #79989
Releases: master
Change-Id: Ic63b3acaf46f50f92a3c44578c28748dfca74351
Reviewed-on: https://review.typo3.org/51842
Tested-by: Jasmina Ließmann <code@frauliessmann.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jasmina Ließmann <code@frauliessmann.de>
Reviewed-by: Anders Kostending <aha@systime.dk>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
2 years ago[TASK] Improve layout of ImageManipulation preview 10/51810/5
jliessmann [Thu, 23 Feb 2017 19:36:23 +0000 (20:36 +0100)]
[TASK] Improve layout of ImageManipulation preview

Use bootstrap grid to arrange image thumbnails

Resolves: #79960
Releases: master
Change-Id: I99ef6fc159c1497ea5464ef33398cf799c91a534
Reviewed-on: https://review.typo3.org/51810
Reviewed-by: Jasmina Ließmann <code@frauliessmann.de>
Tested-by: Jasmina Ließmann <code@frauliessmann.de>
Reviewed-by: Joerg Kummer <service@enobe.de>
Tested-by: Joerg Kummer <service@enobe.de>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
Tested-by: TYPO3com <no-reply@typo3.com>
2 years ago[BUGFIX] Indexed search causes 404 because of missing cHash 09/51809/2
Christer Vindberg [Thu, 23 Feb 2017 19:27:53 +0000 (20:27 +0100)]
[BUGFIX] Indexed search causes 404 because of missing cHash

When [FE][pageNotFoundOnCHashError] = true, searching with Indexed search
 in FE causes an 404, because the POST action is missing the cHash.

Resolves: #79970
Releases: master
Change-Id: If4f205ddfd264b1213ef696265fda0a8a6d9f29c
Reviewed-on: https://review.typo3.org/51809
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anders Kostending <aha@systime.dk>
Tested-by: Jasmina Ließmann <code@frauliessmann.de>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
2 years ago[BUGFIX] Add missing jQuery context for EM modal 26/51826/2
Nicole Cordes [Fri, 24 Feb 2017 11:59:13 +0000 (12:59 +0100)]
[BUGFIX] Add missing jQuery context for EM modal

This patch adds the modal context to be able to confirm the installation
of an incompatible extension.

Resolves: #79995
Releases: master
Change-Id: I84187076684eb1fb4ee69679f8003ec115a6bf2c
Reviewed-on: https://review.typo3.org/51826
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: Jasmina Ließmann <code@frauliessmann.de>
Tested-by: Jasmina Ließmann <code@frauliessmann.de>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
2 years ago[TASK] Remove last references to _cli_lowlevel 14/51814/3
Thomas Hohn [Fri, 24 Feb 2017 07:49:21 +0000 (08:49 +0100)]
[TASK] Remove last references to _cli_lowlevel

Some references to the _cli_lowlevel were still present
and have been removed.

Resolves: #79986
Releases: master

Change-Id: I79473cc422a21761b3474facb4f981501ed7f545
Reviewed-on: https://review.typo3.org/51814
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Christer V <cvi@systime.dk>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anders Kostending <aha@systime.dk>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[BUGFIX] Scale images in content element preview 02/51802/3
Mads Jensen [Thu, 23 Feb 2017 14:09:07 +0000 (15:09 +0100)]
[BUGFIX] Scale images in content element preview

Added CSS to ensure images are contained in parent element.

Resolves: #79971
Releases: master
Change-Id: I38a4038af067166d771d012e2ddc0e2983060513
Reviewed-on: https://review.typo3.org/51802
Reviewed-by: Morten Pless <mpl@systime.dk>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Christer V <cvi@systime.dk>
Reviewed-by: Timo Hund <timo.hund@yahoo.com>
Tested-by: Timo Hund <timo.hund@yahoo.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] Exception when setting "language" to "all" for content elements 04/51804/8
Timo Schmidt [Thu, 23 Feb 2017 13:59:44 +0000 (14:59 +0100)]
[BUGFIX] Exception when setting "language" to "all" for content elements

Currently you get an error in the backend when you try to set the
language to "all" for a new or existing content element (integer was
expected but null received triggers PHP strict type error).

The reason for this is, that the DataMapProcessor tries to sychronize
elements from tt_content with uid 0.

This patch adds an integration test that content elements without an
existing source do not get synronized.

Resolves: #79853
Releases: master
Change-Id: I67d4b35efe1564c13e9faf085c4848f2d0313998
Reviewed-on: https://review.typo3.org/51804
Tested-by: Claus Due <claus@phpmind.net>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Claus Due <claus@phpmind.net>
Reviewed-by: Johannes Goslar <jogo@kronberger-spiele.de>
Reviewed-by: Morten Pless <mpl@systime.dk>
Reviewed-by: Jasmina Ließmann <code@frauliessmann.de>
Tested-by: Jasmina Ließmann <code@frauliessmann.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
2 years ago[TASK] Disable ensureCorrectPostOrderingByCategoryTitle on postgres 18/51818/2
Christian Kuhn [Fri, 24 Feb 2017 08:41:37 +0000 (09:41 +0100)]
[TASK] Disable ensureCorrectPostOrderingByCategoryTitle on postgres

A recently added test in extbase query building reveals a
non-trivial-to-fix issue of the created query with postgres.
This is the last issue we have with functionals on postgres, to
have them running as pre-merge tests we for now disable the offending
tests on that database platform, and handle the real fix in a
separate issue.

Change-Id: I830af04ecdb41fa968421521e9860c388f74d75b
Resolves: #79987
Related: #79988
Related: #79931
Related: #79932
Related: #79330
Releases: master
Reviewed-on: https://review.typo3.org/51818
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: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Deprecate BackendUtility::getRecordsByField 78/51078/9
Morton Jonuschat [Fri, 30 Dec 2016 22:33:58 +0000 (14:33 -0800)]
[TASK] Deprecate BackendUtility::getRecordsByField

Deprecate BackendUtility::getRecordsByField() as it has a flawed design
due to passing SQL fragments. This contradicts the goal of using named
parameters for all queries in the core and requires passing the original
QueryBuilder object in addition to the stringified constraint.

Replace all calls to the method with direct usage of the QueryBuilder and
deprecate the method.

Resolves: #79122
Releases: master
Change-Id: I8b040b98e20271aff84ef16fb89b59a406d54003
Reviewed-on: https://review.typo3.org/51078
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Fix non-302 redirects for PSR-7 response objects 02/51002/2
Benjamin Franzke [Tue, 20 Dec 2016 06:26:42 +0000 (07:26 +0100)]
[BUGFIX] Fix non-302 redirects for PSR-7 response objects

All redirect status codes (e.g. 201,301,303,307) are incorrectly
sent as 302.

We need to set the response code before setting the Location header,
as a call to header('Location: ...'); sets the response code
implicitly to 302 (unless it has already been set to 201 or 3xx) [1].
By settings the status code/header first, header('Location: ..') will
not change the status code, if the PSR-7 response object contains a
proper redirect status code.

[1] http://php.net/manual/en/function.header.php
    The second special case is the "Location:" header.
    Not only does it send this header back to the browser, but it also
    returns a REDIRECT (302) status code to the browser unless the 201
    or a 3xx status code has already been set.

Change-Id: Ifa076e6393c6ed42d93959fe8c3a5b79cee145a4
Fixes: #79043
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/51002
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Marco Huber <mail@marco-huber.de>
Tested-by: Marco Huber <mail@marco-huber.de>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
2 years ago[TASK] Add rowDescription for fe_users 45/51745/2
Josef Glatz [Sat, 18 Feb 2017 19:48:41 +0000 (20:48 +0100)]
[TASK] Add rowDescription for fe_users

Add a description field also for fe_users records which
could be used as for already known other record types.

Resolves: #79894
Releases: master
Change-Id: Ia1d7ad7746a0b7dd3ebb809864e290db97ac228d
Reviewed-on: https://review.typo3.org/51745
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[TASK] Rearrange search form fields in page/list module 12/51812/4
Jasmina Liessmann [Thu, 23 Feb 2017 21:17:12 +0000 (22:17 +0100)]
[TASK] Rearrange search form fields in page/list module

Use Bootstrap grid for arrangement of search form fields.

Resolves: #79848
Releases: master
Change-Id: Ied1b30a2ba81b339ac93a9a874720b43623e6e66
Reviewed-on: https://review.typo3.org/51812
Reviewed-by: Jasmina Ließmann <code@frauliessmann.de>
Tested-by: Jasmina Ließmann <code@frauliessmann.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
2 years ago[TASK] Update jquery match height plugin 11/51811/2
Helmut Hummel [Thu, 23 Feb 2017 20:15:09 +0000 (21:15 +0100)]
[TASK] Update jquery match height plugin

Fix the changed path as well

Resolves: #79980
Releases: master
Change-Id: I5b23e4bb56f47d151b506439c4e46b9c0838bd87
Reviewed-on: https://review.typo3.org/51811
Reviewed-by: Jasmina Ließmann <code@frauliessmann.de>
Tested-by: Jasmina Ließmann <code@frauliessmann.de>
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] Fix functional tests for EXT:impexp on PostgreSQL 74/51774/8
Morton Jonuschat [Mon, 20 Feb 2017 17:14:16 +0000 (09:14 -0800)]
[BUGFIX] Fix functional tests for EXT:impexp on PostgreSQL

Introduce dedicated fixures for the export data based on the database
platform being tested. Due to mysqlnd and PDO based drivers returning
different types of values (mainly int vs string) the resulting XML
is dependent on the database.

Change-Id: I776cfbc28c7355e72c21fa89097077f94225e223
Resolves: #79798
Releases: master
Reviewed-on: https://review.typo3.org/51774
Reviewed-by: Manuel Selbach <manuel_selbach@yahoo.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] Compare password hashes in constant time 37/51737/11
Christian Futterlieb [Sat, 18 Feb 2017 10:51:07 +0000 (11:51 +0100)]
[TASK] Compare password hashes in constant time

In order to avoid time-based hash-based attacks, the native
PHP security functions are used instead of simple string
comparisons, when comparing passwords with hashes.

Change-Id: I0dbe2c12c5017f9d71ea7628ddd35d919510ac12
Releases: master
Resolves: #79888
Related: #79795
Reviewed-on: https://review.typo3.org/51737
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mads Lønne Jensen <mlj@systime.dk>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[TASK] Add missing index on table sys_file_reference 12/51512/4
Thomas Hohn [Thu, 2 Feb 2017 15:43:15 +0000 (16:43 +0100)]
[TASK] Add missing index on table sys_file_reference

During copying of pagetrees various sql statments
are executed. One on sys_file_reference has a bad
performance and can benefit from an index.

Fixes: #79604
Releases: master

Change-Id: I2caa83db6259ad6baad75427b5040a11ece768ba
Reviewed-on: https://review.typo3.org/51512
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 Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Christer V <cvi@systime.dk>
Reviewed-by: Claus Due <claus@phpmind.net>
Tested-by: Claus Due <claus@phpmind.net>
Reviewed-by: Morten Pless <mpl@systime.dk>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[FOLLOWUP][BUGFIX] Hide language switcher if record has no default translation 92/51092/5
Sascha Nowak [Mon, 2 Jan 2017 10:59:58 +0000 (11:59 +0100)]
[FOLLOWUP][BUGFIX] Hide language switcher if record has no default translation

In the current implementation it is not possible to create a new translations outside
of the default translation. So we can readd the new translation option when the record
has a default translation.

Change-Id: I89c4200ff847dadfdeec03b5f43a6577f40702e3
Resolves: #72797
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/51092
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
2 years ago[FEATURE] Allow overriding of image manipulation cropVariants 76/51676/3
Stefan Froemken [Tue, 14 Feb 2017 15:56:56 +0000 (16:56 +0100)]
[FEATURE] Allow overriding of image manipulation cropVariants

It is not possible to change or override cropVariants via TSconfig
for sys_file_reference (e.g. for a specific user or page tree branch),
thus making the cropping functionality a pain for bigger sites.
Setting a FormEngine option as expected like
TCEFORM.sys_file_reference.crop.config.cropVariants.* does now work.

Resolves: #79812
Releases: master
Change-Id: I9d36f6661c2a5ca051b803f06485fdb4c8c8a437
Reviewed-on: https://review.typo3.org/51676
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Jasmina Ließmann <code@frauliessmann.de>
Tested-by: Jasmina Ließmann <code@frauliessmann.de>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
2 years ago[CLEANUP] Ensure variables initalized and fix code smell 42/51742/3
Sascha Egerer [Sat, 18 Feb 2017 15:58:33 +0000 (16:58 +0100)]
[CLEANUP] Ensure variables initalized and fix code smell

* Ensure that variables are correctly initalized.
* Fix some php docs.
* Initalizes for loop iterator variables before the loop if they are
  also used after the for loop is finished.
* Remove superfluous function arguments.

Resolves: #79892
Releases: master
Change-Id: I75109b2914f2b05806a303837b7aad79be8e3707
Reviewed-on: https://review.typo3.org/51742
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Tested-by: Thomas Hohn <thomas@hohn.dk>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christer V <cvi@systime.dk>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Update styleguide to 8.0.6 00/51800/6
Christian Kuhn [Thu, 23 Feb 2017 10:21:39 +0000 (11:21 +0100)]
[TASK] Update styleguide to 8.0.6

Change-Id: I89f5e73ab896d6cd4dac46ebc9e64e14643adbeb
Resolves: #79725
Releases: master
Reviewed-on: https://review.typo3.org/51800
Tested-by: TYPO3com <no-reply@typo3.com>
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>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] Fix append and prepend function of valuePicker 79/51779/4
Mona Muzaffar [Tue, 21 Feb 2017 11:37:43 +0000 (12:37 +0100)]
[BUGFIX] Fix append and prepend function of valuePicker

valuePicker appends and prepends now in the correct order.

Change-Id: Ic97b8a66469d43d9269f67f1de3f0cb40d1e8321
Resolves: #79937
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/51779
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[FEATURE] Add cropVariant support to typoscript rendering of images 53/51753/6
Frans Saris [Sun, 19 Feb 2017 10:46:03 +0000 (11:46 +0100)]
[FEATURE] Add cropVariant support to typoscript rendering of images

The introduction of the new crop variants #75880 broke the handling of
cropped images when using typoscript to render file(reference)'s

This patch fixes the rendering of cropped images and introduces the new
cropVariant option to the typoscript object IMG_RESOURCE

Releated: #75880
Resolves: #79883
Releases: master
Change-Id: Icba77d76c6914d48dcc57d7e8c48471ed27c44b3
Reviewed-on: https://review.typo3.org/51753
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: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Johannes Goslar <jogo@kronberger-spiele.de>
Reviewed-by: Christer V <cvi@systime.dk>
Tested-by: Christer V <cvi@systime.dk>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
2 years ago[TASK] Temporarily skip flaky language tests 98/51798/2
Mona Muzaffar [Thu, 23 Feb 2017 08:15:12 +0000 (09:15 +0100)]
[TASK] Temporarily skip flaky language tests

Skip tests downloadALanguage() and activateAndDeactivateALanguage()
Tests need to be fixed.

Change-Id: I999359a83e0d8e092fda483a7799c70110eb10e4
Resolves: #79962
Releases: master
Reviewed-on: https://review.typo3.org/51798
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] Upgrade migrated allowLanguageSynchronization field names 92/51692/8
Oliver Hader [Wed, 15 Feb 2017 08:33:45 +0000 (09:33 +0100)]
[TASK] Upgrade migrated allowLanguageSynchronization field names

In case TCA field values have not been migrated yet, but their TCA at the
same time already being updated to allowLanguageSynchronization, then the
field values are not considered in the upgrade wizard.

This change now includes manually updated TCA settings as well.

Resolves: #79950
Related: #79658
Releases: master
Change-Id: Id239c569e3731691a54015642e56a6450c09badc
Reviewed-on: https://review.typo3.org/51692
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Cleanup ContextMenu calls 93/51793/3
Benni Mack [Wed, 22 Feb 2017 09:14:33 +0000 (10:14 +0100)]
[TASK] Cleanup ContextMenu calls

There are still some properties and additional method call arguments
that are not evaluated properly anymore and can be omitted.

Resolves: #79959
Releases: master
Change-Id: Ifc4ed71891394af4c80eaa9c4bb987f79c980a73
Reviewed-on: https://review.typo3.org/51793
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
2 years ago[TASK] Update Fluid dependency to version 2.3.1 11/51711/7
Claus Due [Wed, 15 Feb 2017 21:21:46 +0000 (22:21 +0100)]
[TASK] Update Fluid dependency to version 2.3.1

Solves three issues:

* Namespace declaration output in templates without sections
* Potential error from unexpected input argument in sanitizePath
* Rendering of new HeaderAssets / FooterAssets sections in
   uncompiled templates.

Adds two Fluid features:

* Namespace detection is now in sync with TYPO3 CMS.
* Escaping modifier `{escaping off}` now supported.

And allows the removal of two custom Fluid integrations
contained in TYPO3 which are now included in Fluid.

Change-Id: Ic9cd73d1d05688139241c81e6a3fb78998fe9407
Resolves: #79847
Resolves: #79811
Releases: master
Reviewed-on: https://review.typo3.org/51711
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[CLEANUP] Streamline EXT:about 90/51790/3
Benni Mack [Wed, 22 Feb 2017 07:38:47 +0000 (08:38 +0100)]
[CLEANUP] Streamline EXT:about

Streamlined EXT:about extension as a first step to clean up the whole
TYPO3 Core base:

- Moved locallang file to EXT:about, as it is only used in this extension
- Removed usage of TYPO3_LOADED_EXT/ext_emconf.php in favor of PackageManager
(needed to add the authors into each Package)
- Fully added all external libraries in use (not including -dev requirements)
- Moved EqualHeight.js to EXT:about as it is only used in this extension
- Proper usage of Fluid layouts
- Streamlined code, variables, imports and comments
- Reviewed comments in PHP

Resolves: #79948
Releases: master
Change-Id: Ia6c2d6b519bc34847131f06908c2c441b9248a8b
Reviewed-on: https://review.typo3.org/51790
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Simplify ImageCropUpdater 92/51792/2
Christian Kuhn [Wed, 22 Feb 2017 08:51:35 +0000 (09:51 +0100)]
[TASK] Simplify ImageCropUpdater

The ImageCropUpdater of the install tool does not need the
not-yet-migrated TCA it does not rely on any TCA that may
have changed. Remove that section from the code.

Change-Id: I8ed4190fd53d87f368c978b183b99b562dba9444
Resolves: #79951
Releases: master
Reviewed-on: https://review.typo3.org/51792
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Improve preview of InputLinkelement 92/51592/9
Georg Ringer [Wed, 8 Feb 2017 18:49:23 +0000 (19:49 +0100)]
[BUGFIX] Improve preview of InputLinkelement

- Use a div instead of an input field to avoid issues like
  tooltip not shown because of the disabled attribute.
- Trigger onchange from LinkBrowser popup
- If no value found, show the input field, which makes it easier
  to e.g. enter an external url.
- Show helpful title for toggle button on hover

Resolves: #79667
Related: #79670
Releases: master
Change-Id: If00d892d0ae7aebe0dfc5f17f5d43af16d0ee730
Reviewed-on: https://review.typo3.org/51592
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: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[BUGFIX] Select icon added via pageTsConfig not shown 66/51766/3
Christian Kuhn [Mon, 20 Feb 2017 09:30:29 +0000 (10:30 +0100)]
[BUGFIX] Select icon added via pageTsConfig not shown

Fix for issue #78628 fixed "addItems" for TCA trees, but broke them
for select drop downs. Juggle icon providing around a bit to fix.

Change-Id: I3a1077992a7db0d72bc2d7d0247292763cc25958
Resolves: #78747
Related: #78628
Releases: master
Reviewed-on: https://review.typo3.org/51766
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[BUGFIX] Extbase: correct handling of mm relations 82/51782/3
Johannes Kasberger [Tue, 21 Feb 2017 13:27:56 +0000 (14:27 +0100)]
[BUGFIX] Extbase: correct handling of mm relations

This change fixes a regression after the doctrine migration and additionally
fixes a wrong join condition which is also present in version 7

Resolves: #79931
Resolves: #79932
Releases: master
Change-Id: I04a4ce174fb1da3baca9af8ba771a7db70d9a884
Reviewed-on: https://review.typo3.org/51782
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: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[TASK] Deprecate TSFE-related properties and methods 17/51717/7
Benni Mack [Thu, 16 Feb 2017 12:18:20 +0000 (13:18 +0100)]
[TASK] Deprecate TSFE-related properties and methods

There are some methods and properties which are conceptually in the
wrong place or are outdated.

$TSFE->compensateFieldWith (and config.compensateFieldWidth)
are not in use anymore (since TYPO3 7), as this belonged to
the very very old FORM cObject.

$TSFE->excludeCHashVars
was superseeded with cHash calculation in v6, but never removed.

$TSFE->scriptParseTime (and $TSFE->setParseTime())
is a public property and solely there for one use, storing the calculated
time between the request start and end. This does not need to be
located inside TSFE, as the functionality can be the same,
but built in the request handler, removing a cross-dependency.

$TSFE->generatePage_whichScript()
This alternative method to be used for including raw
PHP include files via requireOnce and config.pageGenScript
dates back to the plain PHP files index_ts.php and pagegen.php
which can safely be marked as outdated now via better PHP class
abstraction and hooks.

The overall goal is to achieve better separation of concerns,
and thus TSFE should only contain what it needs (dealing with rendering a
page based on TypoScript settings).

PageGenerator:: pagegenInit()
Unlike the other methods in PageGenerator this method has
one simple job: Setting $TSFE public properties based on TypoScript
settings. This surely needs to be merged into TSFE, as this is one of the
core jobs of TSFE. It also helps to avoid very unsuccessful attempts
to override certain parts of the Frontend Request as the static calls
to PageGenerator cannot be overriden at all.

TSFE->encryptCharcode and TSFE->encryptEmail()
Both are only needed in ContentObejctRenderer and are there
moved as protected methods and used solely there.

Resolves: #79858
Releases: master
Change-Id: Iabd351a0b5fd7c8cc242f66ba1e9799377fb9390
Reviewed-on: https://review.typo3.org/51717
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: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
2 years ago[TASK] Adds notice for lockDomain option in tooltip 51/49751/6
Tomita Militaru [Fri, 2 Sep 2016 11:17:17 +0000 (13:17 +0200)]
[TASK] Adds notice for lockDomain option in tooltip

Notice message for lockDomain option that it can
be circumvented by faking HTTP_HOST

Resolves: #75104
Releases: master
Change-Id: I9b83ab7380123a78a2b99b8ab8127a4fcc69beb4
Reviewed-on: https://review.typo3.org/49751
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
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] Refactor CKEditor to be inline with the AbstractLinkBrowser 60/51760/3
Frans Saris [Sun, 19 Feb 2017 20:28:30 +0000 (21:28 +0100)]
[BUGFIX] Refactor CKEditor to be inline with the AbstractLinkBrowser

The internals of the LinkBrowser and LinkHandler depend on all the
field specific info to be in the P parameter.

Further the DatabaseBrowser used by the RecordBrowser fetches the table
parameter form global url query scope what collides with the params set
by the CKEditor RichTextElement.

To prevent the parameter collision the params set by the RichTextElement
are moved to the P prefix what is also more inline with the other
LinkBrowser implementations.

This patch also resolves the lasts issues related to the new
recordHandler + CKEditor.

Resolves: #79645
Releases: master
Change-Id: Id7cab0f0a012c5de11a2038e1d579d87599d47cd
Reviewed-on: https://review.typo3.org/51760
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[TASK] Add button to reload static database data of an extension 10/51310/6
Nicole Cordes [Fri, 13 Jan 2017 19:16:20 +0000 (20:16 +0100)]
[TASK] Add button to reload static database data of an extension

This patch re-adds the possibility to manually trigger a reload of
static database data an extension might ships. In the EM list view, an
inconspicuous button is added for each extension which has an own
ext_tables_static+adt.sql file. Furthermore the import is changed, so
that a md5 hash of the file content is stored in the database. If the
extension is updated and the content if the file changes, a more visible
button is shown to indicate an update should be considered.

Resolves: #60748
Releases: master, 7.6
Change-Id: I8ccb01d7e1f98a4adfc70a4d1aa80db4e76bbc9d
Reviewed-on: https://review.typo3.org/51310
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Matthes
Tested-by: Christian Matthes
Tested-by: Joerg Kummer <service@enobe.de>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
2 years ago[BUGFIX] Fix runtime-error in traverseFlexFormXMLData 99/51399/4
Thomas Hohn [Mon, 23 Jan 2017 12:08:34 +0000 (13:08 +0100)]
[BUGFIX] Fix runtime-error in traverseFlexFormXMLData

Fix that run-time error will be thrown if
$dataStructureArray['sheets'] is not an array.

Fixes: #79426
Releases: master
Change-Id: I9b7549a5b79d0d5b8b2e27df407879812c1aa491
Reviewed-on: https://review.typo3.org/51399
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[BUGFIX] Add missing break statement in switch case 59/51759/5
Sascha Egerer [Sun, 19 Feb 2017 19:42:30 +0000 (20:42 +0100)]
[BUGFIX] Add missing break statement in switch case

There is a break statement missing in a switch case statement.
Currently this does not have any side effects but to prevent wrong
behavior in the future this should be fixed.

Resolves: #79906
Releases: master
Change-Id: I2adf40adb1f8df5dcfcdb31f8e9ccddd2b885961
Reviewed-on: https://review.typo3.org/51759
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[CLEANUP] Remove invalid :has CSS definition 39/51739/3
Sascha Egerer [Sat, 18 Feb 2017 14:31:59 +0000 (15:31 +0100)]
[CLEANUP] Remove invalid :has CSS definition

There is a css rule containing a `:has()` rule.
This rule is not supported in any browser yet and
there must be also no whitespace between the `:has` and
the opening brace.

Resolves: #79890
Releases: master
Change-Id: Ief60c287f1bd0f95c6b61fde0e6f50704978357f
Reviewed-on: https://review.typo3.org/51739
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Install Tool configuration parser must handle nested config 72/51772/5
Markus Klein [Mon, 20 Feb 2017 13:26:59 +0000 (14:26 +0100)]
[BUGFIX] Install Tool configuration parser must handle nested config

Since TYPO3_CONF_VARS may contain nested arrays and the array keys
for those subarrays may collide with first-level citizens (e.g. BE)
the current description parsing (parsing of PHP source code file)
fail hard for those cases.
The problem is not solvable without writing a dedicated full PHP parser
in order to have proper notion of nesting levels.
For this reason the regex-based parsing is completely removed and a
new and dedicated file for the option descriptions is introduced,
which stores the description into a PHP array.

This frees us from the buggy PHP code parsing with regex and enables us
in the future to enhance this array with more information.
(e.g. extract data type into a dedicated subarray element)

Resolves: #79920
Releases: master
Change-Id: Idb5d3fdd2dee5f3150b52c66e65d06c028750893
Reviewed-on: https://review.typo3.org/51772
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
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[TASK] CSH manual: differentiate copyright notice from help content 46/51746/2
Josef Glatz [Sat, 18 Feb 2017 20:42:39 +0000 (21:42 +0100)]
[TASK] CSH manual: differentiate copyright notice from help content

Improve visual differentiation of content and copyright notice.
A visual hruler is added. Font-size and color is slightly adopted.

Resolves: #79895
Releases: master
Change-Id: Idd7190d860c6083d3333b82dba9a796a0bce0e2c
Reviewed-on: https://review.typo3.org/51746
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[BUGFIX] Only apply image cropping when cropping is set 49/51749/3
Frans Saris [Sun, 19 Feb 2017 08:51:46 +0000 (09:51 +0100)]
[BUGFIX] Only apply image cropping when cropping is set

Resolves: #79836
Releases: master
Change-Id: I29fb6f0f31a54b6f20c937881a8b523b844dde69
Reviewed-on: https://review.typo3.org/51749
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
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[BUGFIX] Setting $checkStoredRecords leads to missing sys_log data 68/51568/5
Thomas Hohn [Tue, 7 Feb 2017 20:59:11 +0000 (21:59 +0100)]
[BUGFIX] Setting $checkStoredRecords leads to missing sys_log data

Setting the property $checkStoredRecords in DataHandler to false leads
to missing information in sys_log for new records since the
$newRecord array is empty.

This patch fills the $newRecord array with the newly inserted or
updated data - however the only thing that can't be retrieved is
the title since this is fetched through the call to
checkStoredRecord that is not executed.

Resolves: #79669
Releases: master
Change-Id: I2a53bc2880402fbb42fad859c9fef2dd7c5ae167
Reviewed-on: https://review.typo3.org/51568
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Claus Due <claus@phpmind.net>
Tested-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[BUGFIX] Fix functional tests for EXT:extbase on PostgreSQL 33/51733/4
Morton Jonuschat [Fri, 17 Feb 2017 09:03:43 +0000 (01:03 -0800)]
[BUGFIX] Fix functional tests for EXT:extbase on PostgreSQL

Fix ExpressionBuilder::inSet() to allow working with columns
on a seondary table on Non-MySQL databases. Fix the usage of
inSet() within Typo3DbQueryParser to properly quote the table
identifier and ensure that all places that use inSet() use it
to compare a string value or a field on a table.

Fix assertions to take string/int differences into account and
ensure consistent order when asserting lists of records.

Change-Id: I9fecd228cde1a7d5a6202702616d806b4354eb4f
Resolves: #79796
Releases: master
Reviewed-on: https://review.typo3.org/51733
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Fix functional tests for EXT:indexed_search on PostgreSQL 65/51765/2
Morton Jonuschat [Mon, 20 Feb 2017 05:21:30 +0000 (21:21 -0800)]
[BUGFIX] Fix functional tests for EXT:indexed_search on PostgreSQL

MySQL has support for backslash escape sequences. Change the tests
to have the expected results without the additional escaping and
add the additional slashes to the expected result if the database
platform running the tests is MySQL.

Change-Id: Ib2e30e95db507501aaea095eb3764a0d37135ec9
Resolves: #79799
Releases: master
Reviewed-on: https://review.typo3.org/51765
Tested-by: TYPO3com <no-reply@typo3.com>
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>
2 years ago[BUGFIX] Fix deleting file from context menu 68/51768/2
Tymoteusz Motylewski [Mon, 20 Feb 2017 11:15:13 +0000 (12:15 +0100)]
[BUGFIX] Fix deleting file from context menu

Since context menu refactoring the file deletion
did not work.
This patch fixes the issue, by adding missing line in JS.

Resolves: #79916
Releases: master
Change-Id: I939f153aa1d5eae22f821ede98329774e63a3757
Reviewed-on: https://review.typo3.org/51768
Reviewed-by: Malte Koitka <malte@cytrus.de>
Tested-by: Malte Koitka <malte@cytrus.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] Fix functional tests for EXT:frontend on PostgreSQL 64/51764/2
Morton Jonuschat [Mon, 20 Feb 2017 05:09:01 +0000 (21:09 -0800)]
[BUGFIX] Fix functional tests for EXT:frontend on PostgreSQL

Replace the MySQL specific backtick quoting with the actual quote
character in test checking for SQL fragments/quoting of fields.

Change assertions that assume integer return values from the
database driver to also accept string types using assertEquals().

Resolves: #79797
Releases: master
Change-Id: I1f78b0b65cdcceeaefa23902d14fa0988198d849
Reviewed-on: https://review.typo3.org/51764
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Manuel Selbach <manuel_selbach@yahoo.de>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Skip another unstable acceptance test 67/51767/3
Christian Kuhn [Mon, 20 Feb 2017 10:18:38 +0000 (11:18 +0100)]
[TASK] Skip another unstable acceptance test

The "addAndDeletePage" acceptance test is still unstable, even with
multiple people trying to stabilize that thing already. To raise acceptance
of acceptance tests during core development, this one is skipped for now.

Resolves: #79913
Releases: master
Change-Id: I55ac9ede4b241a737046d1c0ee16618c314f9d79
Reviewed-on: https://review.typo3.org/51767
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] Use new cropping API for CE preview in the BE page module 52/51752/2
Frans Saris [Sun, 19 Feb 2017 10:27:47 +0000 (11:27 +0100)]
[BUGFIX] Use new cropping API for CE preview in the BE page module

Resolves: #79854
Releases: master
Change-Id: Ib7cc81efda1c59d54ab30af00622456955cf7397
Reviewed-on: https://review.typo3.org/51752
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
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[BUGFIX] L10nModeUpdater: Cast parentId to integer 57/51757/3
Andreas Fernandez [Sun, 19 Feb 2017 18:09:28 +0000 (19:09 +0100)]
[BUGFIX] L10nModeUpdater: Cast parentId to integer

To prevent PHP errors in L10nModeUpdater caused by faulty extensions
whose `transOrigPointerField` field is not an integer, the parentId is
now always cast to an int.

Resolves: #79824
Releases: master
Change-Id: I238b89b6fec476731f16807125eb89e9198f50c4
Reviewed-on: https://review.typo3.org/51757
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: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[TASK] Enhance DataHandler translation and synchronization handling 14/51714/10
Oliver Hader [Wed, 15 Feb 2017 21:47:15 +0000 (22:47 +0100)]
[TASK] Enhance DataHandler translation and synchronization handling

* add more tests for allowLanguageSynchronization & l10n_mode=exclude
* enhance inline children synchronization for non-translatable tables
  using $GLOBALS['TCA'][$tableName]['ctrl']['origUid'] if defined
* bugfix for copying records instead of localizing them - the target
  page-id was missing
* integrate handling of l10n_mode=prefixLangTitle for cloning data
  in memory - DataHandler hooks are not process in that regard

Resolves: #79856
Releases: master
Change-Id: I7f5ef7edba9e80deba6025fe1394d10ee8e2d78c
Reviewed-on: https://review.typo3.org/51714
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: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
2 years ago[BUGFIX] Prevent division by 0 when using image file without dimensions 50/51750/5
Frans Saris [Sun, 19 Feb 2017 09:50:48 +0000 (10:50 +0100)]
[BUGFIX] Prevent division by 0 when using image file without dimensions

Resolves: #79902
Releases: master
Change-Id: I42a126369108434e33d3b00d4fe6b556592dc2c9
Reviewed-on: https://review.typo3.org/51750
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: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
2 years ago[BUGFIX] Fix functional tests for EXT:workspaces on PostgreSQL 31/51731/4
Morton Jonuschat [Fri, 17 Feb 2017 07:07:24 +0000 (23:07 -0800)]
[BUGFIX] Fix functional tests for EXT:workspaces on PostgreSQL

Detect errors during execution of SQL statements using the
exceptions thrown by Doctrine DBAL instead of trying to use
Connection::errorCode().

The previous code doesn't work on MySQL if an actual error
occurs since an exception would be thrown earlier in the
process and the relevant code path would not be reached.

The happy path worked before because MySQL returns 0 as the
code when a statement executed successfully while PostgreSQL
returns '00000' which PHP does not consider to be empty.

Resolves: #79801
Releases: master
Change-Id: I508966b6731d256d1edff2267669d158a8d647bf
Reviewed-on: https://review.typo3.org/51731
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[TASK] Make progress of tasks in scheduler more readable 10/51710/7
Thomas Hohn [Wed, 15 Feb 2017 20:41:56 +0000 (21:41 +0100)]
[TASK] Make progress of tasks in scheduler more readable

Currently it's hard to read the progress of tasks in the
scheduler due to the combination of blue, white and light
grey. Change of background color for progress from f5f5f5
to dedede makes it more readable.

Resolves: #79844
Releases: master

Change-Id: I896e66452e3093d729522c9ca7da6b597e0451c7
Reviewed-on: https://review.typo3.org/51710
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tomas Norre Mikkelsen <tomasnorre@gmail.com>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
2 years ago[BUGFIX] Use correct check to find site root pages 56/51756/3
Georg Ringer [Sun, 19 Feb 2017 17:47:45 +0000 (18:47 +0100)]
[BUGFIX] Use correct check to find site root pages

The change #79857 introduced a wrong check to find the
site root pages. Instead of checking pid == 0, the field
is_siteroot must be used.

Resolves: #79897
Releases: master
Change-Id: Ibfff703fc9506505f860c051f65dc3d31083eb1e
Reviewed-on: https://review.typo3.org/51756
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
2 years ago[BUGFIX] RTE: Determine window object correctly 54/51754/3
Philipp Kerling [Sun, 19 Feb 2017 11:10:16 +0000 (12:10 +0100)]
[BUGFIX] RTE: Determine window object correctly

Resolves: #79904
Related: #77385
Related: #77137
Releases: master
Change-Id: I2036ecfcf380d864438d3e5480ce3aecc96b2634
Reviewed-on: https://review.typo3.org/51754
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
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[BUGFIX] fsc/csc: Fix typolink parameters in parseFunc 55/51755/3
Philipp Kerling [Sun, 19 Feb 2017 11:14:11 +0000 (12:14 +0100)]
[BUGFIX] fsc/csc: Fix typolink parameters in parseFunc

This is a simple typo in the lib.parseFunc of both fluid_styled_content
and css_styled_content. The ATagParams attribute for the typolink
function needs to be written with a capital A in order to work,
otherwise all additional parameters on <a> tags will be dropped in the
rendered output.

Resolves: #79896
Releases: master
Change-Id: I54d5c18fe6934c03b97ae197aba56055394916e5
Reviewed-on: https://review.typo3.org/51755
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
2 years ago[TASK] AC tests: Change default log dir 47/51747/6
Christian Kuhn [Sat, 18 Feb 2017 21:13:38 +0000 (22:13 +0100)]
[TASK] AC tests: Change default log dir

Change acceptance tests log directories for better artifact
building in bamboo with screenshots and adapt two tests to
be less flacky.

Change-Id: Ib86531db23617f8205e5099532249653959662cf
Resolves: #79898
Releases: master
Reviewed-on: https://review.typo3.org/51747
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] Fix assertion in Local Driver Test 41/51741/2
Sascha Egerer [Sat, 18 Feb 2017 14:44:25 +0000 (15:44 +0100)]
[BUGFIX] Fix assertion in Local Driver Test

There are 2 places in the local driver test where a
true assertion is expected. But instead of the correct usage
of `assertTrue()` the method `isTrue()` is being used which
does no assertion.

Resolves: #79891
Releases: master
Change-Id: I68f5e43cb1011dd7aadd2c67479d64810ef88bf3
Reviewed-on: https://review.typo3.org/51741
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] AC tests: Restructure styleguide field tests 43/51743/4
Christian Kuhn [Sat, 18 Feb 2017 17:28:49 +0000 (18:28 +0100)]
[TASK] AC tests: Restructure styleguide field tests

Simplify styleguide "elements basic" acceptance tests to
be easier understandable, split them into two Cest files.

Change-Id: I37ba7a043134e7b2d2291d517c6d0e6aa4c239ae
Resolves: #79893
Releases: master
Reviewed-on: https://review.typo3.org/51743
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] Hide help button in create multiple pages function 36/51736/2
Gianluigi Martino [Fri, 17 Feb 2017 22:05:22 +0000 (23:05 +0100)]
[TASK] Hide help button in create multiple pages function

Hide the empty button in the create multiple pages function
if TYPO3 Manual extension is not loaded.

Resolves: #79884
Releases: master
Change-Id: Ib72ddae96512c982e634280ddf888f490289af01
Reviewed-on: https://review.typo3.org/51736
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: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[TASK] Fix common misspellings 34/51734/4
Wouter Wolters [Fri, 17 Feb 2017 11:38:00 +0000 (12:38 +0100)]
[TASK] Fix common misspellings

Resolves: #79880
Releases: master
Change-Id: Ia4b240614ee2c1c1a220fcea7d0f7d13ad518acb
Reviewed-on: https://review.typo3.org/51734
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[CLEANUP] Initialize variables and fix invalid function calls 25/51725/2
Sascha Egerer [Thu, 16 Feb 2017 21:55:08 +0000 (22:55 +0100)]
[CLEANUP] Initialize variables and fix invalid function calls

* Initialize some uninitialized variables
* Fix invalid argument count on function calls
* Fix case typo in function call
* Fix some phpdoc issues

Resolves: #79865
Releases: master
Change-Id: I4e41940d849daa818735f75169e7cc686ee908c9
Reviewed-on: https://review.typo3.org/51725
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[BUGFIX] Fix functional tests for EXT:recycler on PostgreSQL 32/51732/2
Morton Jonuschat [Fri, 17 Feb 2017 07:30:29 +0000 (23:30 -0800)]
[BUGFIX] Fix functional tests for EXT:recycler on PostgreSQL

Enforce consistent ordering of deleted records.

Change-Id: Ibcb5e61c8cf848b2e25702aef3a2d4ca6bd1cfe6
Resolves: #79800
Releases: master
Reviewed-on: https://review.typo3.org/51732
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: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[FOLLOWUP][TASK] Move typo3/sysext/core/Build/Scripts to Build/Scripts 30/51730/3
Christian Kuhn [Fri, 17 Feb 2017 01:51:01 +0000 (02:51 +0100)]
[FOLLOWUP][TASK] Move typo3/sysext/core/Build/Scripts to Build/Scripts

Fix travis

Change-Id: I3be72d1f892167c884a4ca533dd37633139ef879
Resolves: #79869
Releases: master
Reviewed-on: https://review.typo3.org/51730
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] Move typo3/sysext/core/Build/Scripts to Build/Scripts 29/51729/3
Christian Kuhn [Fri, 17 Feb 2017 01:13:04 +0000 (02:13 +0100)]
[!!!][TASK] Move typo3/sysext/core/Build/Scripts to Build/Scripts

This moves all maintenance / check / test scripts from
typo3/sysext/core/Build/Scripts to Build/Scripts.
This is possible now after the test framework extraction.
The artifical Build folder of typo3/sysext/core vanishes and
all core related integrity and code sanitation scripts are
now located next to all other main core build relevant stuff.

This patch is only breaking for core devs who executed one
of the scripts, most notably the "cglFixMyCommit.sh" script.
Path is now:

./Build/Scripts/cglFixMyCommit.sh

Change-Id: I8272d3d18c5e4164d67df8831168476f315db285
Resolves: #79869
Releases: master
Reviewed-on: https://review.typo3.org/51729
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] Run acceptance tests in parallel 13/51713/7
Tymoteusz Motylewski [Wed, 15 Feb 2017 22:40:42 +0000 (23:40 +0100)]
[TASK] Run acceptance tests in parallel

Provide script for generating files with acceptance tests groups
to allow running them in parallel on different hosts. Very useful
for bamboo.

Usage:

Generating 5 dynamic group files:
./components/testing_framework/Resources/Core/Build/Scripts/splitAcceptanceTests.sh 5

Run tests of group 1:
./bin/codecept run Acceptance -g AcceptanceTests-Job-1 -c ...

Note group numbers start from 1, not 0.

Resolves: #79845
Releases: master
Change-Id: Ib74ec0b457ee927a906a77e648041ae15dc727d2
Reviewed-on: https://review.typo3.org/51713
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>