All notable changes to this project will be documented in this file.
- 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()