[BUGFIX] EM: TimeSinceLastUpdateViewHelper fatals if never updated

If the repository was never updated (or the update failed) last_update
has the value of zero in the database.
Then NULL->format in the TimeSinceLastUpdateViewHelper leads to the fatal
error.

Resolves: #47726
Releases: 6.2, 6.1, 6.0
Change-Id: Ia41c50f2037fb1c7ef935a8855a200b303347383
Reviewed-on: https://review.typo3.org/21427
Reviewed-by: Philipp Gampe
Reviewed-by: Susanne Moog
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
[BUGFIX] Do not show System Extensions Wizard when done

The check if the wizard has been executed before and
includes all available system extensions have been installed
is wrong. Rather than casting to bool, we should
check if the difference between "seen extensions" and
available system extensions is an empty array.

This correctly shows the wizard when not finished and
hides it when finished.

Resolves: #49256
Releases: 6.2, 6.1, 6.0
Change-Id: I7bd655b2b7eeaaa5b1dd91e80564f150b1d0d038
Reviewed-on: https://review.typo3.org/21509
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] Increase the width of the content element of type Plain HTML

The current editor field for content elements of type HTML is for too
small. Without t3editor it is only 5 lines in height and with t3editor
it is limited to 200px which is not much more.

Increase the default size for tt_content.bodytext to 80x15 and set the
height for t3editor fields to 60% as done in setup.

Resolves: #43112
Releases: 6.2, 6.1, 6.0
Change-Id: Icc27cb013cc3009dace5dedef2f9515af1975ec0
Reviewed-on: https://review.typo3.org/20923
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
[BUGFIX] LocalConfiguration cleanup breaks install process

The method to kick out obsolete settings from LocalConfiguration
in the install tool step installer is called too early and the file
may not exist already. Move the method call below step one of the
installation process that creates the file.

Change-Id: If3d824b6488c7cebfdef2a5b122aea9d47424983
Resolves: #49540
Related: #49299
Reviewed-on: https://review.typo3.org/21765
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Crisp up navigation frames borders

Since UXW 2009 module navigation and tree frame have
soft border / gradient shadow on their right.

On or path to flat backend:
bring super crisp borders.

Also removes vertical gradient behind module menu bar.

Change-Id: I826df77447d782c85f1c08440632ee438c3c37b0
Resolves: #48586
Releases: 6.2
Reviewed-on: https://review.typo3.org/21125
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Move JavaScript files to EXT: backend

This patch moves few JavaScript files to EXT: backend.

Still few JavaScript files remain in /typo3 and /js folder.
Those JavaScript files are used within the backend and
therefore should be moved to EXT: backend.

Change-Id: I62b9861d66f219f34e53afa5dd7a1d9c20073a98
Resolves: #49507
Releases: 6.2
Reviewed-on: https://review.typo3.org/21721
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
[TASK] Cleanup ext:opendocs

* Remove old file from before namespacing
* Fix imagepath in CSS
* Strict comparison for TYPO3_MODE check

Change-Id: I5d6242f4032d83627284f793e9e79ee13d6de8ae
Resolves: #49550
Releases: 6.2
Reviewed-on: https://review.typo3.org/21772
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
[FEATURE] Support @Flow\Inject annotations in Extbase

This patch provides support for the TYPO3.Flow syntax
of property injections:

/**
 * @var Vendor\Ext\FooClass
 * @Flow\Inject
 */
protected $vendorExtFooClass;

Resolves: #49497
Releases: 6.2
Change-Id: Ib5f0ff5e83580cc9c327b7320f49c5a892240eb5
Reviewed-on: https://review.typo3.org/21732
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
[BUGFIX] Check for imageftbbox() existence before usage

Install tool system environment check calls imageftbbox() without
checking if the function exists and may fatal. The patch adds a
function_exists() and introduces an error status message.

Resolves: #49458
Releases: 6.2

Change-Id: Ibb3be59d6506632db18d68e3394fd5a4b048da81
Reviewed-on: https://review.typo3.org/21783
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Alexander Schnitzler
Tested-by: Alexander Schnitzler
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Wrong top/bottom margin rendering in CSC

When a top or bottom margin has been chosen together with section_frame
"no frame" -> 66, no entry is made in the temporary stylesheet.

This patch solves this issue by changing the stdWrap variable to
classStdWrap for the method renderSpace().

Change-Id: Iee6c98537e2a4a8c917dfd450289f26ce50e3ca9
Fixes: #47403
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/20155
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
[TASK] Cleanup ext:setup and ext:tstemplate

* Remove require_once calls
* Move language inclusion to init() for ext:setup

Change-Id: Icdb07a7170e40d57a93fcdc69e788081a47cac6c
Resolves: #49580
Releases: 6.2
Reviewed-on: https://review.typo3.org/21791
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
[BUGFIX] EM: Scheduler task does not persist to database

The scheduler task for updating extension list of the extension
manager does not persist his data to database. As Scheduler is no
extbase extension and the task is no extbase task this peristence
isn't called at end of script.

Change-Id: I75629874f698f45f1b7dab47636857b5865e8d24
Resolves: #49528
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/21760
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
[TASK] Cleanup ext:lowlevel

* Fix path to commands in ext_localconf.php
* Remove require_once calls
* Move code from dbint/index.php to constructor
* Move code from config/index.php to constructor

Change-Id: I288834f66427c2a11836c87b973c92f9621c9c3f
Resolves: #49552
Releases: 6.2
Reviewed-on: https://review.typo3.org/21774
Reviewed-by: Alexander Opitz
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
[TASK] Cleanup ext:recordlist

* Remove ext_autoload.php
* Refactor ext_tables.php
* Move code from mod1/index.php to Classes/RecordList.php

Change-Id: I251ff7631042487aa8d85c1b2483be8db1fb9992
Resolves: #49578
Releases: 6.2
Reviewed-on: https://review.typo3.org/21788
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
[FEATURE] Refactor ElementInfo / show_item

Splits up functionality to represent sections.

Cleanup for html base: h1/paddings/p.

First step for MVC structuring; Render = View.

Brings visual improvements:
- human readable headline: table+title
- increase preview image dimensions
- download link to reference absolute file
- reference list table styling

Implementing folders' info is not in scope.

Change-Id: Ia411404a99df2d07dcce2d959ae324ec39966e04
Resolves: #49164
Releases: 6.2
Reviewed-on: https://review.typo3.org/21469
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[CLEANUP] Use proper Clickmenu API

The proper way to call up the CSM is with Clickmenu.show().
Many places in the Core still use the deprecated
showClickmenu() function. This patch replaces them all.

Resolves: #20326
Releases: 6.2
Change-Id: Ia2d72b97ae9bf09026d9923051b2c5aec617db5d
Reviewed-on: https://review.typo3.org/20174
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
[TASK] DB-Browser: Pagetree shown even though tables only allow rootLevel

If only tables with rootLevel=1 in TCA are allowed
to select records from, the pagetree is irritating.

Resolves: #47436
Releases: 6.2
Change-Id: I10e3d8e50e94243407f859a8c83feae82891a572
Reviewed-on: https://review.typo3.org/20073
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] Invalid cache backend option "compression" for NullBackend

If a Typo3DatabaseBackend is changed to NullBackend, the compression flag
may be set and should be part of the NullBackend interface.

Change-Id: Id70dc582ddbe87eb8388dd79963364c23900e417
Fixes: #49585
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/21795
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
[BUGFIX] Install tool performs all db updates

The update wizard should only perform database
updates for the caching framework tables. At
the moment it silently and automatically executes
all ext_tables.sql files.

Resolves: #49591
Releases: 6.2
Change-Id: I4645d729dfa22917ae56ce03955d2f53a7a70c1c
Reviewed-on: https://review.typo3.org/21799
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
[TASK] Remove empty table at end of list output

Page module, filelist module and element browser are calling
writeBottom() which just adds an empty table which is not needed.

As the function could be used by 3rd party, the function is
deprecated

Releases: 6.2
Resolves: #49593
Change-Id: Iab6af693eda0bec54e3645ec784d2010e751117a
Reviewed-on: https://review.typo3.org/21803
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters