# Changelog
All notable changes to this extension will be documented in this file.

## [1.46.1] - 2022-05-11
### Fixed
- Disabled warnings logs by default

## [1.46.0] - 2022-05-11
### Added
- Added configuration for log files.
- Added command to clean old logs `stratiscommon:clean-logs`.

## [1.45.0] - 22-02-15
### Changed
- Hidden field `tx_fed_page_flexform` for all users.

## [1.44.0] - 22-02-15
### Added
- Added Fe groups restrictions for private storage.

## [1.43.3] - 22-01-04
### Fixed
- Added autoclean broken cache for css/js files from typo3temp.

## [1.43.2] - 2021-11-19
### Fixed
- Added clearing cache by tags for FileBackend.
###### NOTE: replace SimpleFileBackend to FileBackend in cache configurations (`AdditionalConfiguration.cache.php`) to allow cleaning caches by tags.

## [1.43.1] - 2021-10-04
### Fixed
- Fixed proposers without confirmation page

## [1.43.0] - 2021-09-22
### Added
- Added the ability to clear cache by `CType` and `list_type` on saving records

## [1.42.2] - 2021-09-01
### Fixed
- Fixed isMapDisplayed method

## [1.42.1] - 2021-08-27
### Fixed
- Fixed crash when trying to reset the cache outside the root template

## [1.42.0] - 2021-08-20
### Added
- c:tarteaucitronConfig view helper

## [1.41.1] - 2021-08-13
### Fixed
- Added stratis-services to dependencies

## [1.41.0] - 2021-08-05
### Added
- Added clearing the directories specified in the configuration when clearing the cache of the frontend or clearing all caches.

## [1.40.0] - 2021-07-10
### Added
- Tarteaucitron config caching into filesystem.

## [1.39.2] - 2021-06-18
### Fixed
- Return url from `inline-in-inline` fields edit page

## [1.39.1] - 2021-06-14
### Fixed
- Fixed `isMapDisplayed()` condition for news detail page

## [1.39.0] - 2021-05-20
### Changed
- Hide fields "limit" and "itemsPerPage" in news flexform for RoleWebmaster

## [1.38.0] - 2021-04-23
### Added
- Added `isMapDisplayed()` condition for news detail page

## [1.37.8] - 2021-04-22
### Fixed
- Add compatibility for IE11 in stratis.tarteaucitron.services.js

## [1.37.7] - 2021-04-15
### Fixed
- Apply new typo3 conditions for TYPO3 >= 9.4

## [1.37.6] -  2021-03-23
### Fixed
- Fix default value of constant denyAll, add new labels - denyYoutube, denyVimeo, denyDailymotion.

## [1.37.5] -  2021-03-22
### Added
- Add default value of constant denyAll.

## [1.37.4] -  2021-03-20
### Fixed
- Fix stratis.tarteaucitron.services.js

## [1.37.3] -  2021-03-17
### Fixed
- Fix default value of constant alertBigPrivacy.

## [1.37.2] -  2021-03-17
### Added
- Change default value of constant alertBigPrivacy.

## [1.37.1] -  2021-03-17
### Added
- Replace parametrs tarteaucitronForceLanguage and tarteaucitronForceExpire to typoscript.

## [1.37.0] -  2021-03-15
### Added
- Added `fancybox` tarteaucitron service.

## [1.36.0] -  2021-03-15
### Added
- Add notification for cookie expire

## [1.35.0] -  2021-02-25
### Added
- Youtube - correction message Cookies `Interdire tous les cookies`.

## [1.34.0] -  2021-02-23
### Added
- Added `cookieDomain` parameter.

## [1.33.0] -  2021-02-12
### Added
- Added hooks for `TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper->getConstraint`

## [1.32.2] -  2021-02-08
### Fixed
- Flush full cage for parent page when record edited.
- Fixed cleaning cache for specific pages with `TCEMAIN.clearCacheCmd`.

## [1.32.1] -  2020-12-06
### Fixed
- Mode Utilisateurs Frontend to hide for webmaster (admin).

## [1.32.0] - 2020-12-23
### Removed
-  Remove matomo from tarteaucitron

## [1.31.0] - 2020-12-16
### Added
-  Update Tarte au Citron to last release, define mandatory parameter to true, add new parameters: showIcon, iconPosition

## [1.30.0] - 2020-11-04
### Added
- Route for stratis_solr suggest enpoints

## [1.29.1] - 2020-11-02
### Fixed
- Fixed `ConditionFunctionsProvider` for correct inheritance of page layout settings from parent

## [1.29.0] - 2020-10-21
### Added
- Added hooks for `TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper`

## [1.28.0] - 2020-10-09
### Changed
- Add userfunction `Stratis\\Common\\Utility\\ShowInFlexUtility->show_nothing` for message

## [1.27.17] - 2020-10-09
### Changed
- Hide Page Layouts fields for non-Stratis BE users

## [1.27.16] - 2020-09-29
### Fixed
- `TableList` TCA element for file relations

## [1.27.15] - 2020-09-23
### Updated
-  Update Tarte au Citron to last release, remove auto-consent patch, added new services, added new parameters mandatory and DenyAllCta

## [1.27.14] - 2020-09-23
### Fixed
- fixed return type in XClass `ElementBrowserPageTreeView.php` for method `getLanguageContent`

## [1.27.13] - 2020-09-10
### Fixed
- Type error in ExtbasePagePluginEnhancer: overrideByContentFromPid - return type

## [1.27.12] - 2020-09-10
### Fixed
- Type error in ExtbasePagePluginEnhancer: overrideByContentFromPid - input data

## [1.27.11] - 2020-09-10
### Fixed
- Page tree generation for tables without translations

## [1.27.10] - 2020-08-31
### Fixed
- TSConfig cleanup

## [1.27.9] - 2020-08-28
### Fixed
- Page tree view restrictions since TYPO3 v9.5.19

## [1.27.8] - 2020-08-21
### Fixed
- Page tree generation for tables without translations

## [1.27.7] - 2020-08-21
### Fixed
- Fixed isPluginOnThePage check on localized pages

## [1.27.6] - 2020-08-20
### Fixed
- Fixed pages table row size overflow

## [1.27.5] - 2020-08-20
### Fixed
- Fixed page tree issue with new record

## [1.27.4] - 2020-08-18
### Fixed
- Fixed the routing enhancers for News

## [1.27.3] - 2020-08-13
### Fixed
- TCA override via TSConfig

## [1.27.2] - 2020-08-12
### Added
- Added a warning if there is no translation when selecting a link in the RTE

## [1.27.1] - 2020-08-03
### Added
- `Storage->get` user function to be used in proposers

## [1.27.0] - 2020-08-01
### Added
- Ajax controller

## [1.26.0] - 2020-07-06
### Added
- TCA array configuration from page TSConfig feature

## [1.25.6] - 2020-06-25
### Fixed
- Added fixes for version 1.25.5 => added language support

## [1.25.5] - 2020-06-24
### Fixed
- Routes problem when plugin is not exist on the page but page is rendered as detail page.

## [1.25.4] - 2020-06-12
### Fixed
- Moved RegExp validator to JS file
- PHP 7.3.19 compatibility

## [1.25.3] - 2020-06-12
### Fixed
- A condition provider has been fixed where it is checked whether the rootline includes page with provided id.

## [1.25.2] - 2020-05-06
### Added
- Added templates when throwing exceptions

## [1.25.1] - 2020-05-05
### Fixed
 - Return `false` if the page has type 199, 254 or 255 on `isPageHasTemplate` TypoScript condition

## [1.25.0] - 2020-04-30
### Added
 - `isPageHasTemplate` TypoScript condition

## [1.24.17] - 2020-04-29
### Fixed
 - Duplicate removal, cleaning of core content elements is present in the startis_site (/typo3conf/ext/stratis_site/Configuration/TSConfig/Page/TCEFORM.tsconfig:431)

## [1.24.16] - 2020-04-27
### Fixed
 - Wrong variable name on `isFormConfirmedOrSubmitted` TypoScript condition

## [1.24.15] - 2020-04-22
### Fixed
 - Cleared branch history as it required migration workflow

## [1.24.14] - 2020-04-22
### Fixed
 - Fix Matomo ID definition: replace wrong tarteaucitron.user.matomoUa by tarteaucitron.user.matomoId

## [1.24.13] - 2020-04-18
### Fixed
 - `contentExist` method in `ConditionFunctionProvider`, added `hidden` and `deleted` constraints validation

## [1.24.12] - 2020-04-15
### Fixed
 - Normalization of settings `switchableControllerActions` and `persistence.storagePid` on `Stratis\Common\Core\Bootstrap`

## [1.24.11] - 2020-04-14
### Added
 - `Stratis\Common\Core\Bootstrap->run` user function to render  plugin taking into account the settings of a similar plugin on the page

## [1.24.10] - 2020-04-09
### Added
- Add a new parameter to define the position of the cookie banner's HTML code, append or prepend to body-tag
### Deprecated
- Mark tarteaucitronType.60 as deprecated

## [1.24.9] - 2020-04-08
### Changed
- Training feedbacks: update User TSConfig
- Hide help toolbar with cshmanual for non-Stratis users
- Hide non-used page doktypes from pagetree's drag area for non-Stratis users
- Display SolR BE module, except SolR admin module, for webmaster users and above
- Remove useless config

## [1.24.8] - 2020-04-08
### Fixed
- Update TarteAuCitron to last version
- Add new services handling in TypoScript
- Fix auto-consent enabling using a patch on tarteaucitron.js (suggested to author)

## [1.24.7] - 2020-04-07
### Added
- XClass for restrict list of available to display fields that do not exist in the database in the list module

## [1.24.6] - 2020-02-13
### Fixed
- DB column type for `access_forbidden_page` (group TCA type).

## [1.24.5] - 2020-02-12
### Fixed
- Removed deprecated members usage.

## [1.24.4] - 2020-02-11
### Fixed
- Fix/Add tarteaucitron typoscript for clicky, atinternet and facebookpixel services

## [1.24.3] - 2020-01-05
### Fixed
- Possibility to specify internal error handler for `AccessForbiddenErrorHandler`

## [1.24.2] - 2019-12-27
### Fixed
- Adjusted page fetching in `AccessForbiddenErrorHandler`

## [1.24.1] - 2019-12-27
### Fixed
- `PhoneViewHelper`, removed redundant arguments

## [1.24.0] - 2019-12-27
### Added
- Feature - custom page content when user access forbidden.

## [1.23.3] - 2019-12-26
### Fixed
- Fix typoscript dataWrap for tarteaucitron library.

## [1.23.2] - 2019-12-26
### Fixed
- Typo in regexp.

## [1.23.1] - 2019-12-26
### Fixed
- Adjusted phone fields validation, input chars number limitation added.

## [1.23.0] - 2019-12-23
### Fixed
- Tarteaucitron default settings
- Move analytics keys settings to TypoScript
- Disable tarteaucitron on dev instances, for user with BE session and for test space
### Added
- Tarteaucitron library CSS

## [1.22.2] - 2019-11-26
### Fixed
- `PageCacheFlush` hook for pages in workspaces.

## [1.22.1] - 2019-11-25
### Fixed
- Fix old TypoScript conditions in tarteaucitron.typoscript

## [1.22.0] - 2019-11-09
### Added
- Tarteaucitron library

## [1.21.4] - 2019-11-05
### Fixed
- Fix 'func' BE module removal for webmaster

## [1.21.3] - 2019-10-19
### Fixed
- `stratis_tarteaucitron.js` initialization block
- `stratis_tarteaucitron.js` default translations

## [1.21.2] - 2019-10-19
### Removed
- vhs patch

## [1.21.1] - 2019-10-17
### Fixed
- `getTsfe()` method stubs, to avoid unwanted exception on mismatched return type.

## [1.21.0] - 2019-10-07
### Added
- Possibility to use `SinglePhoneElement` as flux form field.
- Global fluid namespace `c`.
- View helper `c:flux.field.phone()`.

## [1.20.1] - 2019-10-04
### Added
- Form element `SinglePhoneElement`.
- Pattern validation for `ListElement`.

## [1.20.0] - 2019-09-17
### Added
- Clear caches for pages that contain replaced content (for example for page #1 when content on page #3 was updated)
### Fixed
- PHP notices when disable image errors feature is not enabled
### Changed
- Changed hooks names to more semantic ones

## [1.19.4] - 2019-09-13
### Fixed
- Fix page preview in workspace, by defining config.disablePreviewNotification=0 instead of 1

## [1.19.3] - 2019-08-31
### Removed
- `SiteFactoryHook` > moved to settings ext:site_factory_css

## [1.19.2] - 2019-08-23
### Removed
- `defaultGetVars.L` > to fix localization problem with typolinks

## [1.19.1] - 2019-08-20
### Fixed
- `SiteFactoryHook` > do not overwrite compiler configuration if it is set in constants

## [1.19.0] - 2019-08-13
### Added
- `stratis_tarteaucitron.js` dynamic file that can be configured via TypoScript

## [1.18.1] - 2019-08-13
### Fixed
- `isContentOnDatabaseColumn` Expression Function for exist content elements

## [1.18.0] - 2019-08-13
### Added
- `isContentOnDatabaseColumn` Expression Function

## [1.17.0] - 2019-08-13
### Added
- `isContentOnFluxColumn` Expression Function

## [1.16.0] - 2019-07-29
### Added
- Add option to ignore exceptions on missing images `$GLOBALS['TYPO3_CONF_VARS']['DDEV']['DISABLE_IMG_ERRORS'] = 1;`

## [1.15.1] - 2019-07-09
### Fixed
- Errors in conditions evaluation in non-FE context

## [1.15.0] - 2019-06-12
### Added
- `getIsContentTypeOnCurrentPageFunction`
- `getIsListTypeOnCurrentPageFunction`
- `getIsPluginOnCurrentPageFunction` set as deprecated
- `getIsWidgetOnCurrentPageFunction` set as deprecated

## [1.14.1] - 2019-06-12
### Fixed
- Missed translations in flex form section delete dialog

## [1.14.0] - 2019-06-08
### Added
- `PseudoSiteFinder` XClass to resolve errors on folders / pages without site
- `BackendLayoutDataProvider` XClass to resolve errors on folders / pages without site

## [1.13.0] - 2019-05-23
### Added
- hasRootLineId expression function

## [1.12.6] - 2019-05-16
### Fixed
- Missed use statements

## [1.12.5] - 2019-05-16
### Fixed
- Behaviour of `isPluginOnCurrentPage` and `isWidgetOnCurrentPage` related to reuse content from different page.
  Field `Page > Appearence > Replace content > Show Content from Page`.
### Added
- BaseUtility
- DbUtility

## [1.12.4] - 2019-05-15
### Added
- Hide Web>Functions BE module for non-Stratis users

## [1.12.3] - 2019-05-13
### Added
- Route for stratis_map geocoding js

## [1.12.2] - 2019-05-06
### Removed
- Obsolete language configuration

## [1.12.1] - 2019-04-23
### Fixed
- Slug user function.

## [1.12.0] - 2019-04-18
### Added
- New user function for making page slugs directly from typoscript.

## [1.11.0] - 2019-04-04
### Added
- New expression function isWidgetOnCurrentPage.

## [1.10.0] - 2019-04-04
### Added
- Custom symfony expression language provider.
### Fixed
- Conditions in typoscript files.

## [1.9.8] - 2019-04-02
### Added
- vhs patch

## [1.9.7] - 2019-03-22
### Fixed
- Stratis\Common\Utility\MenuUtility namespace

## [1.9.6] - 2019-03-18
### Added
- Role Redactor > allow to add date fields in forms : remove date item from TCEFORM.tx_powermail_domain_model_field.type.removeItems

## [1.9.5] - 2019-03-06
### Added
- Disable routes for pxa_survey

## [1.9.4] - 2019-03-04
### Added
- Hide tx_pxasurvey_domain_model_question and tx_pxasurvey_domain_model_answer table in BE for non-admin

## [1.9.3] - 2019-02-26
### Added
- Routes for Poll results

### Removed
- Remove underline in ckeditor's common preset, because of confusion with links (ergonomics)

## [1.9.2] - 2019-02-20
### Fixed
- Fix userFunc TS condition: replace not working == by =
- Rename tx_powermail_domain_model_fields to tx_powermail_domain_model_field in User TSConfig

## [1.9.1] - 2019-02-19
### Fixed
- Common site configuration code format

### Added
- Routes for ext:pxa_survey

## [1.9.0] - 2019-02-19
### Added
- Add common site configuration

## [1.8.0] - 2019-01-29
### Added
- Add a new TypoScript condition to check if Powermail action is confirmation or create

## [1.7.5] - 2019-01-24
### Fixed
- Fix TypoScript conditions: use double-equals (==) instead of simple-equals (=)

## [1.7.4] - 2018-12-19
### Fixed
- In ckeditor configuration, fix 'encadre' class assignation on p-tags

## [1.7.3] - 2018-12-18
### Fixed
- Update conditions because of new RSS/ICS typeNum implementation
- Hide "site configuration" BE module for non-admin users

## [1.7.2] - 2018-12-13
### Fixed
- Show/Hide BE elements for non-Stratis users: hide SolR modules, hide reports module, show/hide/use proper name Info > functions

## Adding
- In CKEditor toolbar, add about, and remove anchor

## [1.7.1] - 2018-12-04
### Fixed
- Remove the useless additional edit icon appended to each content element

## [1.7.0] - 2018-12-04
### Adding
- Add FE customization, hook and TypoScript libraries for custom feedit
- TYPO3 9.4 minimum compatibility

## [1.6.13] - 2018-12-03
### Fixed
- Fix added default wrap for table responsive

## [1.6.12] - 2018-11-30
### Fixed
- Fix 10 numbers for phones and faxes

## [1.6.11] - 2018-11-30
### Fixed
- Fix limits for multiple sheets in JS.

## [1.6.10] - 2018-11-21
### Fixed
- Remove useless TypoScript libraries

## [1.6.9] - 2018-11-20
### Fixed
- Fix TCA modification that moves pages:media from Resources to Metadatas tab

## [1.6.8] - 2018-11-09
### Fixed
- Fix 'Database' (disable 'limit') and 'Storage' userfunction
- Fix be_groups:type field implementation : use this field as a new 'type' where are defined fields to show
- Fix FCEs' groupnames when redefine newContentElement in User TSConfig
- Fix TypoScript conditions : use new symfony's way

### Removed
- Remove adding tsconfig and tsconfig_includes fields in separator page (already done in TYPO3 9)
- Remove moving ext:cooluri fields in page (not used on TYPO3 9)

### Changed
- Use TypoScript conditions in the new symfony's way
- Display paletteMenu fields only in content pages (standard, shortcut, external, mountpoint) properties in BE

## [1.6.7] - 2018-11-09
### Fixed
- TSconfig : Use 'common' preset for news:bodytext field, instead of 'li'

### Added
- Add timeToSecond php class utility

## [1.6.6] - 2018-11-02
### Fixed
- Define RTE preset for news:bodytext

## [1.6.5] - 2018-10-19
### Fixed
- Remove permissions User TSconfig from global call

## [1.6.4] - 2018-10-18
### Fixed
- Fix RTE TSconfig global call

## [1.6.3] - 2018-10-18
### Changed
- Dispatch User TSconfig in several .tsconfig files (cf. TYPO3 recommandations)

## [1.6.2] - 2018-10-18
### Added
- Add full common (common) and limited (li) RTE ckeditor configuration

## [1.6.1] - 2018-05-21
### Added
- Add flux sections max items limit feature

## [1.6.0] - 2018-05-02
### Changed
- Migration to TYPO3 9.x
- Remove obsolete GLOBALS['TYPO3_DB'] call
- Composer install support
- Use '.tsconfig' and '.typoscript' instead of '.ts' config files
