2020-04-07 17:54:18 +02:00
|
|
|
imports:
|
|
|
|
- { resource: Backend/DashboardWidgets.yaml }
|
|
|
|
|
2020-02-07 10:27:07 +01:00
|
|
|
services:
|
|
|
|
_defaults:
|
|
|
|
autowire: true
|
|
|
|
autoconfigure: true
|
|
|
|
public: false
|
|
|
|
|
|
|
|
DanielSiepmann\Tracking\:
|
|
|
|
resource: '../Classes/*'
|
2020-04-07 17:54:18 +02:00
|
|
|
exclude: '../Classes/Dashboard/*'
|
2020-02-07 10:27:07 +01:00
|
|
|
|
2020-04-07 17:54:18 +02:00
|
|
|
dbconnection.tx_tracking_pageview:
|
|
|
|
class: 'TYPO3\CMS\Core\Database\Connection'
|
2020-02-13 12:26:43 +01:00
|
|
|
factory:
|
|
|
|
- '@TYPO3\CMS\Core\Database\ConnectionPool'
|
|
|
|
- 'getConnectionForTable'
|
|
|
|
arguments:
|
|
|
|
- 'tx_tracking_pageview'
|
2020-04-07 17:54:18 +02:00
|
|
|
|
|
|
|
querybuilder.tx_tracking_pageview:
|
|
|
|
class: 'TYPO3\CMS\Core\Database\Query\QueryBuilder'
|
2020-02-24 14:49:31 +01:00
|
|
|
factory:
|
|
|
|
- '@TYPO3\CMS\Core\Database\ConnectionPool'
|
|
|
|
- 'getQueryBuilderForTable'
|
|
|
|
arguments:
|
|
|
|
- 'tx_tracking_pageview'
|
|
|
|
|
2020-07-29 10:07:14 +02:00
|
|
|
dbconnection.tx_tracking_recordview:
|
|
|
|
class: 'TYPO3\CMS\Core\Database\Connection'
|
|
|
|
factory:
|
|
|
|
- '@TYPO3\CMS\Core\Database\ConnectionPool'
|
|
|
|
- 'getConnectionForTable'
|
|
|
|
arguments:
|
|
|
|
- 'tx_tracking_recordview'
|
|
|
|
|
|
|
|
querybuilder.tx_tracking_recordview:
|
|
|
|
class: 'TYPO3\CMS\Core\Database\Query\QueryBuilder'
|
|
|
|
factory:
|
|
|
|
- '@TYPO3\CMS\Core\Database\ConnectionPool'
|
|
|
|
- 'getQueryBuilderForTable'
|
|
|
|
arguments:
|
|
|
|
- 'tx_tracking_recordview'
|
|
|
|
|
2021-08-16 09:56:19 +02:00
|
|
|
dbconnection.tx_tracking_tag:
|
|
|
|
class: 'TYPO3\CMS\Core\Database\Connection'
|
|
|
|
factory:
|
|
|
|
- '@TYPO3\CMS\Core\Database\ConnectionPool'
|
|
|
|
- 'getConnectionForTable'
|
|
|
|
arguments:
|
|
|
|
- 'tx_tracking_tag'
|
|
|
|
|
2020-02-07 10:27:07 +01:00
|
|
|
DanielSiepmann\Tracking\Domain\Repository\Pageview:
|
|
|
|
public: true
|
|
|
|
arguments:
|
2020-04-07 17:54:18 +02:00
|
|
|
- '@dbconnection.tx_tracking_pageview'
|
2020-02-13 12:26:43 +01:00
|
|
|
|
2020-07-29 10:07:14 +02:00
|
|
|
DanielSiepmann\Tracking\Domain\Repository\Recordview:
|
|
|
|
public: true
|
|
|
|
arguments:
|
|
|
|
- '@dbconnection.tx_tracking_recordview'
|
|
|
|
|
2021-08-16 09:56:19 +02:00
|
|
|
DanielSiepmann\Tracking\Domain\Repository\Tag:
|
|
|
|
public: true
|
|
|
|
arguments:
|
|
|
|
- '@dbconnection.tx_tracking_tag'
|
|
|
|
|
2020-02-13 12:26:43 +01:00
|
|
|
DanielSiepmann\Tracking\Middleware\Pageview:
|
|
|
|
public: true
|
|
|
|
arguments:
|
|
|
|
$rule: >
|
|
|
|
not (context.getAspect("backend.user").isLoggedIn())
|
2020-09-28 12:48:15 +02:00
|
|
|
and not (context.getAspect("frontend.preview").isPreview())
|
2020-04-01 21:04:32 +02:00
|
|
|
|
2020-07-29 10:07:14 +02:00
|
|
|
DanielSiepmann\Tracking\Middleware\Recordview:
|
|
|
|
public: true
|
|
|
|
arguments:
|
|
|
|
$rules: []
|
|
|
|
|
2020-04-01 21:04:32 +02:00
|
|
|
DanielSiepmann\Tracking\Command\UpdateDataCommand:
|
|
|
|
tags:
|
|
|
|
- name: 'console.command'
|
|
|
|
command: 'tracking:updatedata'
|
2021-08-16 09:56:19 +02:00
|
|
|
description: 'Updates existing data.'
|