All notable changes to this project will be documented in this file.
- Added: form_submission_html_all token
- Fixed: Issue with removing query string parameters on Php8
- Fixed: compatibility issues with haste 5
- Fixed: infinite loop in StringUtil
- Added: support for haste 5
- Added: dynamically load either StringUtil or StringParser methods based on which version of contao-haste is installed
- Changed: adapt StringUtil to haste 5 changes
- Fixed: invalid return type
- Fixed: invalid syntax
- Changed: allow phpfastcache 7 for usage in projects with php 8
- Changed: adapt usage of phpfastcache to work with the new version
- Changed: allow phpfastcache 6 due security issues with version 5
- Fixed: translation issue
- Fixed: General::getFields() inputType filter returned wrong values
- Fixed: warnings in php 8
- Fixed: warnings in php 8
- Fixed: warnings in php 8
- Fixed: warnings in php 8
- Fixed: static call of non static method in cache component
- Fixed: clear php fast cache issue
- Fixed: array index issues in php 8+
- Fixed: array index issues in php 8+
- Fixed: static call in GoogleMaps
- Added: support for php 8
- fixed
composer.json
- increased dependency to contao 4.4.52 (security)
- added support for divers gender-based salutations
- loading order in debug mode (#15) (thanks to fritzmg)
- array_search Error thown by 1.13.1
FormSubmission::prepareSpecialValueForOutput
values with no reference check only against key ifisAssociative
from dca eval orarray_is_assoc($arrOptions)
is true, otherwise array_search will performed
- replaced
html2text/html2text
withsoundasleep/html2text
due to GPL licence (html2text/html2text
) incompatibility - replaced
roderik/pwgen-php
withhackzilla/password-generator
due to GPL licence (roderik/pwgen-php
) incompatibility
- GNU LESSER GENERAL PUBLIC LICENSE
FormSubmission::prepareSpecialValueForOutput
values formultiColumnEditor
inputType formatted with linebreaks and tabs
FormSubmission::prepareSpecialValueForPrint
multiColumnEditor support when usingHeimrichHannotContaoMultiColumnEditorBundle
- added missing package
line
togoogle_chart.html5
- added missing package
bar
togoogle_chart_column.html5
- include google chart
loader.js
only once uuid
support for kml files inGoogleMapOverlay
- check in
dlh_googlemaps_haste.html5
if marker is defined beforemarkers.push
is called
- added some polish translations
- updated dependency
tijsverkoyen/css-to-inline-styles
to ^2.2
FormSubmission
prevent outlook line break remover within text emails (add "\t\n" for new lines after each line instead of "\n" that will be removed on lines less than 40 characters (see: https://stackoverflow.com/a/1638608)
- could not load data container error even if data container defined
- apply change from 1.11.0 to
General::findFuzzyAddressOnGoogleMaps
- updated
General::findAddressOnGoogleMaps
api url and add api key ifdlh_googlemaps
is installed and key provided in settings
- fixed an palette error in tl_settings (#11)
PaymentUtil
classPaymentUtil::generateSEPAMandateReference
InvalidArgumentException
InputRangeException
HeimrichHannot\Haste\Util\StringUtil::generate()
$
(jQuery ) undefined error indlh_googlemaps_haste.html5
template
HeimrichHannot\Haste\Util\Url::getUriWithoutParameters()
now supports non scheme urls like //youtube.com/embed/…
HeimrichHannot\Haste\Database\QueryHelper::createWhereForSerializedBlob()
HeimrichHannot\Haste\Util\FormSubmission::prepareSpecialValueForSave()
now properly decodes values ifallowHtml
,rte
,preserveTags
or inpuType isfileTree
- memory issues provided by
GoogleMapOverlay
inGoogleMap
- performance issues provided by
GoogleMapOverlay
, added cache for marker icons, overlay images and shadow images
- google maps [marker clustering] (https://developers.google.com/maps/documentation/javascript/marker-clustering) use
GoogleMap::enableCluster()
tl_settings.loadGoogleMapsAssetsOnDemand
options to prevent invoking google maps assets when no maps in xhr content are used
FormSubmission::prepareSpecialValueForPrint()
throws error in case field is of typemultiColumnEditor
but value has no arrays as rows
'delahaye\googlemaps\Googlemap' not found
exception
- always invoke googlemaps assets in order to load maps inside modal windows or elements that are loaded via ajax
- googlemaps setZoom
- namespace issue
- namespace issue
- security issue
- salutations
- pdf handling
- some missing english translations
- licence LGPL-3.0+ is now LGPL-3.0-or-later
- General::getConfigByArrayOrCallbackOrFunction for Contao 4
- added
Encryption::decrypt
toprepareSpecialValueForPrint
if encription is set
DateUtil::formatPhpDateToJsDate
- General::valueChangedInCallback(), General::getModelInstancePropertyValue()
- General::addOverridableFields -> eval of checkbox field can now be extended
- General::addOverridableFields -> field now not mandatory anymore (you should have the opportunity to override with null)
- General::getDataContainers() for Contao 4
sanitizeFileName
id prefix remover was to greedy
- test for
sanitizeFileName
- updates to documentation
- Container::getProjectDir()
- Container::getWebDir()
- fixed file path in config.php for components 2.0
- updated config.php for contao-components 2.0
- improved General::generateAlias method signature
- don't set an id prefix to file- or foldernames
- Image::getSizedImagePath()
- edit links for Contao 4
- already set headers warning in contao 4.4 in
HttpResponse
- documented not working x-frame-options in contao 4
- jquery loading to late
- backend jquery load error when loading haste_plus after another module which set
['TL_JAVASCRIPT']['jquery']
- Container::getGet, Container::getPost
- frontend gender localization
- FileCache timeout -> see README for changing
StringUtil::nl2p
js
invokation in front end mode is now handled withheimrichhannot/contao-components
strict
mode parameter can now be provided withinHeimrichHannot\Haste\Util\Arrays::insertInArrayByName
forwardedarray_search
- StringUtil::replaceNonXmlEntities
- documentation for StringUtil::replaceNonXmlEntities
- StringUtil::convertGermanSpecialLetters
- documentation for StringUtil::convertGermanSpecialLetters
- keepUmlauts now also covers "ß" in Generate::generateAlias
- General::doAddAliasButton for Contao 4
- keepUmlauts option for Generate::generateAlias
phpFastCache
symfony support for within contao 4
- Container util class containing shortcuts: isFrontend, isBackend and getRequest
- General::checkUrl
- Member::getMembersAsOptionsIncludingEmailAndIdByGroups
- General::checkUrl
- Number functions
- Member::getMembersAsOptionsIncludingEmailAndId
InsertTags
class and two new inserttags{{trimsplit::,::2,1}} & {{encrypt::SECRET_VALUE}}
- empty line in config.php
- Url::redirect (contao 3 redirect behavior -> no exception thrown as in contao 4)
- jquery loading order
- Curl
- fixed
jquery
js path for contao 4
- dlh_marker template
width
% and pcnt dimension support fordlh_googlemaps_haste.html
tl_settings
palette invokation
dlh_googlemaps_haste
maps_marker
element was changed to_overlay
, changed back to_marker
HeimrichHannot\Haste\Util\DOMUtil::createAttributes
to create string tag attributes from array
dlh_googlemaps_haste
maps_marker
element was changed to_overlay
- maps marker undefined check
- QueryHelper::computeCondition() now works correctly with blobs
- added an action to the custom control
- you can now create your own custom control button for the google map
- undefinded check
- HeimrichHannot\Haste\Util\GeoLocation
- General::getModalEditLink(), General::getArchiveModalEditLink()
- contao 4 support for paths
- bounds check in GoogleMapsOverlay
- php 7 support
- Curl::prepareHeaderArrayForPrint
- DateUtil::checkFormat()
- QueryHelper computeCondition() (broken operators & check for string in case of "like")
- Support for Exif/Iptc data handling
- getCurrentLocation bug
- General::getOptionsFromDca
- English locales
- update google visualization api loader code and remove jsapi as it generates
Parser-blocking
message within https-secure websites
- added rgxp
maxlength::[length]
to validate html input values
- tl_settings.headerXFrameSkipPages can now hold multiple pages
- return value fixed for
\HeimrichHannot\Haste\Cache\Cache::getInstance()
- geo.js
- util.js -> call()
- General::findFuzzyAddressOnGoogleMaps()
- Check within
HeimrichHannot\Haste\Dca\General
methods that model class exists
- Url::generateAbsoluteUrl() -> now correct handling of collections
price
rgxp andHeimrichHannot\Haste\Util\Validator::isPrice
validation fixed
- Added
HeimrichHannot\Haste\Util\Validator
class withIBAN
andBIC
validation globalcitizen/php-iban
dependency added- added rgxp
iban
to validate input values - added rgxp
bic
to validate input values
- RemoteImageCache
- curl header issue
- QueryHelper::createWhereForSerializedBlob()
- enhanced Curl
- Added price, customDate widget rgxp within
HeimrichHannot\Haste\Util\Widget::addCustomRegexp()
- Moved posfloat rgxp from
HeimrichHannot\Haste\Util\Numbers::positiveFloatRegExpHook()
toHeimrichHannot\Haste\Util\Widget::addCustomRegexp()
- enhanced Curl::request()
- FormSubmission::prepareSpecialValueForPrint() for non-associative option arrays
- FormSubmission::prepareSpecialValueForSave() checks for eval option
skipPrepareForSave
to skip preparation
- QueryHelper::doBulkInsert(), add missing white space for
UPDATE ON DUPLICATE KEY
part
- QueryHelper::processInPieces(), process big result data from queries in pieces (working with bulksize to free memory again)
- QueryHelper::doBulkInsert(), insert multiple entities wisely (working with bulksize to free memory again)
- General::setDefaultsFromDca() added
- General::getConfigByArrayOrCallbackOrFunction()
- HeimrichHannot\Haste\Util\DOMUtil::convertToInlineCss, prevent inlining inside conditional comments
- FormSubmission::tokenizeData(), set ##form_value_[fieldname]## to ##form_plain_[fieldname]## for binary values or values that call json_encode to fail
- check within Files::getFileFromUuid against dir
- JS-Helper: HASTE_PLUS.isTruthy()
- JS-Helper: HASTE_PLUS.parseQueryString()
- JS-Helper: HASTE_PLUS.getParameterByName()
- HeimrichHannot\Haste\Dca\General::setAuthorIDOnCreate does no check if PROPERTY_AUTHOR and PROPERTY_AUTHOR_TYPE instead of PROPERTY_SESSION_ID (typo)
- added Curl class
- removed preset skipFields in getFields()
- added General::getModelInstanceIfId()
- made all overridden fields mandatory -> else user won't check "overrideFieldName"
- performance tweaks
- added DC_HastePlus
- multiColumnEditor support
- Replaced array() by []
- General::addOverridableFields() and General::getOverridableProperty()
- add headerXFrameSkipPages to tl_settings configuration and do not set "X-Frame-Options: SAMEORIGIN" for this pages
- Salutations
- StringUtil::html2Text()
- Stringutil::generateEmailWithName()
- Stringutil::generateEmailWithName()
- Added new eval rgxp
posfloat
- FormSubmission::prepareSpecialValueForPrint, check that varValue is no array
- FormSubmission::prepareData will now add all fields (also empty) to $arrSubmissionData. Otherwise
##form_submission_*##
tokens that are not present within token array, will stay in notification center e-mails. If the field is empty,##form_submission_*##
will be replaced with an empty string, field label wont be added.
- Model::setDefaultsFromDca()
- Files::getFileLineCount()
- General::getLocalizedFieldname()
- Widget class
- QueryHelper
- StringUtil::camelCaseToDashed()
- General::getArchiveModalEditLink()
- fixed static call error in StringUtil::str_replace_once()
- added foreignKey-support for FormSubmission::prepareSpecialValueForPrint()
- Files::getFolderFromDca uuid fix, now return correct folder path if varValue is uuid
- added skipFields to General::getFields()
- fixed phpfastcache 5 composer dependency
- phpfastcache upgrade from 4 to 5, please adjust your modules!
- General::getModelInstances()
- General::getTableArchives()
- Files::sanitizeFileName() makes usage of contao standardize() function, and extension will now always be lower case
- Files::addUniqIdToFilename()
- Files::getUniqueFileNameWithinTarget()