[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
[TASK] Cast log message to string

PSR-3 expects loggers to accept objects as log message and to
cast them to string.

Resolves: #48877
Releases: 6.2
Change-Id: I7558b6db675704d67048914b79a7d8e405bc55d0
Reviewed-on: https://review.typo3.org/21804
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[TASK] Docheader drop-shadow

Crisps up sections by removing Docheader drop shadow.
Improves hierarchy: Strips docheader from module menu.

Change-Id: I96ceaa4c2080740a77704c57a453165debf1d036
Resolves: #49597
Releases: 6.2
Reviewed-on: https://review.typo3.org/21808
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[TASK] Remove not needed table in permission legend

Resolves: #49599
Releases: 6.2
Change-Id: Ied101a590c9fa99c7f2ec1c75a9a646e0f4cfc81
Reviewed-on: https://review.typo3.org/21807
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[TASK] Clean up TCEforms main table and according CSS definitions

TCEforms has a major table around each editing form element.

In the current version, it creates an ugly background, plus some
wrong borders. This is now replaced by a div container and
some cleanups. Additionally, the labels inside a palette are
ordered now in a better way as well.

Releases: 6.2
Resolves: #49596
Change-Id: Ifa46ce40ff4437b2bb3e7d32e5e4e56caba0caec
Reviewed-on: https://review.typo3.org/21802
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Cleanup entry classes in typo3/ part1

Cleanup the entry classes inside typo3/ with the following
changes:

* Move language include to constructor
* Remove not needed doc-comments
* Make class available in $GLOBALS['SOBE']
* Remove transferData class, which is not used

Change-Id: I03727b4620b9f0242760ad1be37e31a66c4fdb39
Resolves: #49394
Releases: 6.2
Reviewed-on: https://review.typo3.org/21647
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
[TASK] Replace inject methods with @Flow\Inject

Currently we are using inject methods like:

/*
 * @param $foo Foo
 */
public function injectFoo(Foo $foo) {
	$this->foo = $foo;
}

This patch removes these methods and introduces
property annotations:

/**
 * @var Foo
 * @Flow\Inject
 */
protected $foo;

Releases: 6.2
Resolves: #46598
Change-Id: Ied219d465dfa8fce24a819a7fc58a2ff8cb5401c