[BUGFIX] Object passed to date()

Function date() expects a timestamp as second parameter, not
an object.

Fixes: #52759
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I6821bafa51372c50d8903c63d62ea44933bc12b3
Reviewed-on: https://review.typo3.org/24707
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
[FEATURE] Split file permission for be_users and be_groups

Since TYPO3 6.0 you can set specific file and folder permissions by
userTSconfig. This patch adds a new field for every table to be able to
set detailed access in the backend record. Any userTSconfig will take
privilege over user and group data. An update step converts the
old binary values to string list.
Deprecated functions to support the binary values of the old fields
are removed completly. Unit tests were adapted.

Resolves: #52716
Resolves: #50574
Releases: 6.2
Change-Id: I064887c60e215e9c394d484a4afd3faef51ee324
Reviewed-on: https://review.typo3.org/24613
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
[TASK] Bootstrap for Unit Tests

Until now we still needed the phpunit extension
to be installed and cli access to be configured
to execute unit tests.

This change introduces a bootstrap file which
can be used to execute the unit test suite
without the extension.

It is of course still possible to use the PHPUnit
and VHS framework files present in the extension.

This change also splits user initialization into
separate bootstrap methods and allows the PATH_site
and PATH_thisScript constants to be set outside
the bootstrap.

Activate Travis CI to make use of this.

Resolves: #51436
Releases: 6.2
Change-Id: I43f51896fd9895ead8d0084f37d34f3347f1c5e5
Reviewed-on: https://review.typo3.org/23396
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Tested-by: Philipp Gampe
Reviewed-by: Philipp Gampe
Tested-by: Markus Klein
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
[BUGFIX] Followup Bootstrap for Unit Tests

There was a typo in the environment variable
check which prevented it from being evaluated.

This change fixes that.

Releases: 6.2
Change-Id: I05798ab00805e7c035dcf4635cf32c0e207822d3
Reviewed-on: https://review.typo3.org/24716
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
[TASK] Improve classLoader compatibility for Windows systems

On Windows systems the (absolute) paths are different to unix ones. The
core already provides functions to catch both cases in different checks.
This patch enables the use of those functions in classLoader.

Resolves: #52774
Releases: 6.2
Change-Id: I7dd4b2f7a88b07281222995a58962deeb27e8869
Reviewed-on: https://review.typo3.org/24722
Reviewed-by: Wouter Wolters
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
[BUGFIX] Detect unix-styled absolute paths on Windows systems

Currently PathUtility::isAbsolutePath and GeneralUtility::isAbsPath
only the for ":\" to detect absolute paths on Windows systems. This
patch provides even ":/" as unix-styled paths are mostly used now.

Resolves: #52773
Releases: 6.2, 6.1, 6.0
Change-Id: I1e132bbe74394861af4bf02a22287c9496953150
Reviewed-on: https://review.typo3.org/24721
Reviewed-by: Thomas Maroschik
Reviewed-by: Wouter Wolters
Reviewed-by: Sascha Egerer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
[TASK] Follow-up: Add filter for available records, CGL

Resolves: #49739
Releases: 6.2
Change-Id: Iee24b073e0f5fdf7da469c289f21219b35c62928
Reviewed-on: https://review.typo3.org/24727
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[FEATURE] Add option to set an alternative domain for preview

Make it possible to set an alternative domain for preview with
TCEMAIN.viewDomain = example.com
in PageTS. It is useful for multidomain sites.

Resolves: #30889
Documentation: #30889
Releases: 6.2
Change-Id: If00dabcd8c3c32685bd89707ba60f31be26a6dca
Reviewed-on: https://review.typo3.org/24626
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
[BUGFIX] Cannot fetch documentation on Windows

TYPO3's internal methods expect forward slashes when computing
absolute filenames.

Fixes: #52745
Releases: 6.2
Change-Id: I00df69f280fa8ddfd59ae1a41c1919003b74362a
Reviewed-on: https://review.typo3.org/24673
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Wouter Wolters
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
[FEATURE] stdWrap for list of results

Adding the TS property
plugin.tx_indexedsearch.resultlist_stdWrap -> stdWrap
which allows passing the list of results through stdWrap

Resolves: #16386
Releases: 6.2
Change-Id: I9b17b0036d21e880747d7d03a58349969c87effb
Reviewed-on: https://review.typo3.org/20192
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Revert "[FEATURE] Add option to set an alternative domain for preview"

Errors in commit-msg. Patch itself okay. Will repush.

This reverts commit 989dc485492927daeeebab67200f43df49bd1d17

Change-Id: I549dfdf33dd75d8a2dcbf1d09132951d8b8d86eb
Reviewed-on: https://review.typo3.org/24729
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
[FEATURE] Improve userFunc parameter parsing in conditions

userFunc TypoScript conditions can be improved to use CSV-like
syntax for parameters.

Resolves: #47301
Related: #47159
Releases: 6.2
Change-Id: Ia2a170d0b8eb160607fbd39bd9afbe6ffab679a5
Reviewed-on: https://review.typo3.org/20007
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Markus Klein
Tested-by: Markus Klein
[FEATURE] Add option to set an alternative domain for preview

Make it possible to set an alternative domain for preview with
TCEMAIN.previewDomain = example.com
in PageTS. It is useful for multidomain sites.

Change-Id: If69115e877be310225c0e21685df210ca7973164
Resolves: #30889
Documentation: #52781
Releases: 6.2
Reviewed-on: https://review.typo3.org/24730
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
[FEATURE] Make frame sizes in viewpage module configurable

Available sizes in viewpage module can be configured with Page
TSConfig mod.web_view.previewFrameWidths. Defining a height
property is optional.

Change-Id: I7900959bc76fc2c586307c0fd4200f9665876dd3
Resolves: #51865
Documentation: #52783
Releases: 6.2
Reviewed-on: https://review.typo3.org/23720
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] Hint to the correct unit test runner

Running the test suite with the cli dispatcher
does not work as the bootstrap is executed twice.

Give a hint to the correct command instead
of letting it fatal.

Releases: 6.2
Resolves: #52787
Change-Id: Ic1def6ed40959128282ef2b6093066218012aa77
Reviewed-on: https://review.typo3.org/24720
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
[BUGFIX] Adapt IndexerService to new table structures

When introducing sys_file_metadata and rearranging FAL
to do so some parts of the IndexerService have been
forgotten.
The IndexerService is now adapted to not do SQL itself
anymore and to push the imagesizes to the metadata table.

Resolves: #52765
Releases: 6.2
Change-Id: I692bbf26e99639d9174ce02603f19955a16cc12e
Reviewed-on: https://review.typo3.org/24726
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
[BUGFIX] PackageStates is not updated in EM

Introduces a signal in the EM that emits right before extensions
will be installed. The package manager reacts on this signal and
scans the extension folders for new extensions.

Fixes: #52766
Releases: 6.2
Change-Id: Ida1146d98b2c7f280a079c7ce6737111186c95ac
Reviewed-on: https://review.typo3.org/24714
Reviewed-by: Sascha Egerer
Tested-by: Nicole Cordes
Reviewed-by: Markus Klein
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
[TASK] Remove unused TYPO3_CONF_VARS['FE']['logfile_dir']

Resolves: #52786
Releases: 6.2
Change-Id: Ib30f60bfa1b673a815edfa241089447d951dfd24
Reviewed-on: https://review.typo3.org/24735
Reviewed-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
[TASK] Install Tool: Remove misleading password hint

There is no default install tool password any more
thus we need to change the login message text.

Releases: 6.2
Resolves: #52808
Change-Id: I02b435b951c582a1e1ff466ca9bd8e5e157141e3
Reviewed-on: https://review.typo3.org/24740
Reviewed-by: Wouter Wolters
Reviewed-by: Stefano Kowalke
Tested-by: Stefano Kowalke
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] PackageManager fails on empty array entries in conflicts

Use the same solution as depends some lines above, skip those entries.

Resolves: #52753
Releases: 6.2
Change-Id: Icd7b154be90afe11e9e19dac70ee78eb09a6d1dd
Reviewed-on: https://review.typo3.org/24698
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Xavier Perseguers
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel