All notable changes to this project will be documented in this file.
- Changed: added ListConfiguration instance to ListBeforeRenderItemEvent
- Changed: adjusted tl_list_config palette
- Changed: throw a exception if dca is empty for selected datacontainer in DefaultList
- Fixed: do not throw exception in backend if a template is not found
- Fixed: free text sorting
- Fixed: warnings
- Fixed: add select to query instead of overwriting
- Added: support encore contracts (#14)
- Added: missing license file
- Fixed: pagination not initialized in some cases
- Fixed: js path in
FrontendAsset
- Fixed: missing ptable setting in tl_list_config dca
- Added: mixed content for ajax pagination return values
- Fixed: list preselect allows selecting parent list element
- Fixed: endless recursion if preselect element has parent list element selected
- Fixed: issues in frontend module leading to mixing of data when multiple list rendered together
- Fixed: non-empty list evaluated as empty when doNotRender option checked
- Changed: migrate module to frontend module controller ([#15])
- Changed: (possible BC break!) ListCompileEvent signature changed due module migration
- Changed: raised min php version to 7.4
- Changed: list module now located with applications category in backend select
- Fixed: do not render empty option not working
- Changed: added rel attribute to pagination template
- Changed: set robots meta tag to noindex,follow for paginated list on pages > 1
- Changed: pass ListConfiguration to ListModifyQueryBuilderForCountEvent
- Changed: deprecated ListModifyQueryBuilderForCountEvent::getListConfig
- Fixed: js query ajax next button
- Fixed: exception with dc_multilingual and categories
- Added: ListExtension infrastructure (currently only experimental) (#12)
- Changed: refactored DC_Multilingual integration (#12)
- Fixed: possible issues with DC_Multilingual and mysql ANY_VALUES (#12)
- Fixed: php8 warnings
- Fixed: parsed Items keys not always same as raw items
- Fixed: query builder for dc_multilingual
- Fixed: type hint being too strict
- Fixed: array isset check
- Fixed: masonry with ajax filter
- Added: symfony/polyfill-80 dep
- Fixed: recipientEmail in submission config type
- Added: check to submit the right submission
- Fixed: array index issues in php 8+
- Removed: truncate-html and twig extra bundles
- Fixed: Twig type hint for symfony 5+
- Fixed: querybuilder parameter colons for symfony 5+
- Fixed: transChoice() call for symfony 5+
- Removed: call to Utf8 functions
- Fixed: config for symfony 5+
- Removed: twig extension service definitions
- Added: support for contao 4.13
- Changed: minimum contao version is now 4.9
- Changed: supported symfony versions to
^4.4||^5.4
- Changed: replaced
twig/extensions
bytwig/extra-bundle
- Fixed: ajax pagination with masonry
- Added: support for custom relationTable for tag-based
RelateConfigElementType
- Fixed: service registration for symfony 4+
- Added: new option to list frontend module for showing reader module instead of list module. Needs reader bundle installed and reader config item retrival mode is set to auto_item
- Added: modal load error js event
- Added: modal link clicked js event
- Changed: enhanced modal javascript evaluation code
- Fixed: response javascript not evaluated on modal open
- Added: modal show javascript event
- Added: stopwatches for symfony debug bar (huh.list.*)
- Changed: small performance enhancement
- Fixed: replaced a template util leftover with twig support bundle
- Fixed: performance optimization for counting items
- Added: ListBeforeApplyConfigElementsEvent
- Fixed: formatted return values of config element types not correctly handled
- Added: paginationData to DefaultList
- Added: RandomPagination::getTemplate()
- Fixed: wrong scope in ajax pagination (case: multiple lists on one page)
- Fixed: searchable pages generation for empty
$intRoot
parameter
- Fixed: php8 support
- Fixed: quotes in js
- Added: php8 support
- Fixed: BS5 modal support for javascript
- Added: BS5 modal support for javascript
- Added: BS5 modal templates
- fixed support for multilingual initial filter field values for list preselect
- added support for multilingual initial filter field values for list preselect
- removed jscroll library(#9)
- added null check in preselect
- added Polish translations
- added support for multilingual initial filter field values
- fixed multilingual jump to pages (not entirely dependent on dc multilingual)
- fixed optional support for heimrichhannot/contao-multilingual-fields-bundle
- fixed image size callback
- fixes for contao 4.9
- fixed typed properties
- fixed typed properties
- fixed close button in
submission_form_modal_bootstrap5.html.twig
- replace all service aliased with classed in tl_list_config_element
- extend submission config element with template choice and dynamic field mapping
- allow twig-support-bundle ^1.0
- added optional support for heimrichhannot/contao-multilingual-fields-bundle
- made ajax list optional for async filter (a filter can also be used without a list)
- fixed tl_list_config not found when migrating
- fixed types in attributes (incompatible in some php versions)
- fixed sql issue (ambiguous pid)
- added a new visual presentation for nested list configurations which should be way easier to read
- fixed missing
addDetails
inlist_table_default.html.twig
- fixed autocompletion issues in make command
- fixed sorting issue in table template
- fixed issue concerning modal handling and ajax pagination
- fixed redirect issue in
TagsConfigElementType
- fixed ctable definition in tl_list_config was not an array
- changed: get fields for select definition of queryBuilder in
DefaultList
from event
- fix tl_list_config_element.templateVariable not mandatory for instances of ConfigElementTypeInterface (#4)
- Add live region for asynchronous list pagination (#5)
- added more context to pagination template
- added missing dependency
- added new symfony command
huh-list:make
for easier creating list modules containing a list config and a filter
- fixed list preselect
- added multilingual details pages regardless of whether DC_Multilingual is installed (since this isn't the point)
- enhanced the README.md (now contains info about items and image config elements)
- moved to twig support bundle for templates
- updated callback services
- fixed missing space at list modal templates
- fixed missing template comments for list templates
- fixed template var issue
- added heimrichhannot/contao-config-element-type-bundle dependency
- ConfigElementTypeInterface is now the default way to implement ConfigElementTypes
- deprecated ListConfigElementTypeInterface and ListConfigElementData
- added template comments in dev mode
- fixed an issue in ImageConfigElementType
- fixed fields for video config element
- added customization of templateContainerVariable for config elements
- removed php 7.4 typing
- added
VideoConfigElementType
- added bootstrap row list template
- added option to open images processed by
ImageConfigElement
s in a lightbox
- fixed bug concerning dc_multilingual and frontend preview
- fixed typo in
SearchListener
- fixed negative limit issue
- restored the list config after every list config element rendering
- skipped dc for default template
- added category mode for
RelatedConfigElementType
- fixed
TagsConfigElementType
- fixed
TagsConfigElementType
- fixed
RelatedConfigElementType
- added new list config elements:
RelatedConfigElementType
,TagsConfigElementType
- added the data container to the module's generated css class
- fixed image config element for svg files
- increased row size of
sortingMode
to 32
- fixed type hint issue
- added new implementation for opening list items in modals (and deprecated the old modal module-based one)
- added
decodeEntities
tosortingText
- increased
sortingText
size to 255
- fixed dca issues for contao 4.9
- fixed default value for addOverview
- fixed dca labels for contao 4.9
- fixed some non-public service
- added
huh.list.list_update_complete
javascript event - improved documentation
- fixed some non-public service
- fixed localizations
- added title attribute to links in list_item_default template
- fixed load_callback to support callables
- enhanced events
- added field dependent placeholder images
- fixed exception when multilingual jump to page not set
- fixed search index issues
- added support for multilingual jump to pages in sitemap generation
- changed default value for doNotIndex and doNotSearch to 1
- added shortcut for list configs
- added support for multilingual details and overview pages
- fixed group by issue for multilingual
- fixed group by issue for multilingual
- fixed group by issue for multilingual
- fixed dc_multilingual related bug with order fields
- fixed dc_multilingual related bug
- fixed multifileupload related bug
- fixed dc_multilingual related bug
- some methods not working on Item properties (like empty) (implemented _isset method)
- jscroll offset rounding issue
- filter js integration
- list preselect option escaping issue
- list preselect to also take into account the filter and the sorting of the associated list config
- moved getCurrentSorting to ListManager
- made more select fields in backend "chosen"s
- submission form
- select options for customized overview label
- exception handling
- customize jumpTo overview label
- optional jumpTo overview page
- fixed form bug
- renamed contact form config element type to submission form config element type
- contact form config element type
- inheritance issues
- random placeholder session persistence
- pagination wrapper support for ajax pagination (.ajax-pagination can now have a wrapper div with the class " .pagination")
- reset the list config while parsing the items since it might have been reset in parsing process
- random placeholder mode for image config element type
- search listener issues
- ajax pagination template
- refactored js to es6 class including webpack support
- list config wizard to list module
- possible type error in ImageConfigElementType
This release brings a new and easier way to register config element types. The old way (register the types in the config) is now deprecated and will be removed in the next major version. Please review the readme for introduction how to add config element types now. Upgrade old elements should be as easy as implement the new Interface, call the already existing method from the inherit method and register the class as service.
- config element types can now be registered the "symfony way"
- config element type is now shown in the backend list
- updated the tl_list_config_element backend module header (filter and sort)
- refactored some methods
- option to disable adding item details pages to the list of searchable pages
- updated list config search and filter settings for backend