Kitodo.Presentation 5.0.0
sebastian-meyer
released this
23 May 12:52
·
135 commits
to master
since this release
Major Release
This release contains security improvements and bugfixes. It is also the first release for the 5.x branch (supporting TYPO3 v10 and v11).
New features include support for ALTO v3 and v4, a reintroduction of in-document search and improvements in newspaper support.
What's Changed
- [MAINTENANCE] TYPO3 v11 compatibility by @chrizzor in #885
- [MAINTENANCE] Bump guzzlehttp/psr7 from 2.4.3 to 2.6.1 by @dependabot in #1016
- [MAINTENANCE] Bump typo3/testing-framework from 6.16.9 to 7.0.4 by @dependabot in #1017
- [BUGFIX] PageRepository class moved to Core by @chrizzor in #1020
- [MAINTENANCE] Change initialization of DocumentRepository in DocumentTypeFunctionProvider by @beatrycze-volk in #960
- [MAINTENANCE] Rename Doc class to AbstractDocument by @beatrycze-volk in #990
- [DOCUMENTATION] Fix documentation for toolbox by @beatrycze-volk in #999
- [BUGFIX] Reassign viewData['requestData'] after page is validated by @beatrycze-volk in #1000
- [BUGFIX] Fix returns in controllers' main functions by @beatrycze-volk in #1001
- [FEATURE] Reimplement SearchInDocument tool to create results' links in backend by @beatrycze-volk in #1002
- [MAINTENANCE] Remove not needed sanitize for double parameter by @beatrycze-volk in #1006
- [MAINTENANCE] Use Middlewares instead of eID scripts by @beatrycze-volk in #1003
- [FEATURE] Use getFileInfo function for getting file url and mime type by @beatrycze-volk in #1008
- Display and index hyphenated words as normal words by @beatrycze-volk in #1009
- [MAINTENANCE] Consistently use namespace declaration and avoid namespaces in code by @beatrycze-volk in #1010
- [MAINTENANCE] Remove {@inheritdoc} from functions by @beatrycze-volk in #1011
- [MAINTENANCE] Unify and improve PHPDocs for classes by @beatrycze-volk in #1012
- [MAINTENANCE] Unify and improve PHPDocs for class properties by @beatrycze-volk in #1013
- [MAINTENANCE] Unify and improve PHPDocs for functions by @beatrycze-volk in #1014
- [MAINTENANCE] Consistently use type declaration for parameters and return values - part 1 by @beatrycze-volk in #1018
- [BUGFIX] Fix calls for Indexer::add function by @beatrycze-volk in #1019
- [BUGFIX] Fix returns in functions of IiifManifest class by @beatrycze-volk in #1027
- [BUGFIX] Fix initialization and checks for rawData in API profiles by @beatrycze-volk in #1025
- [BUGFIX] Fix getting AbstractDocument instance from cache by @beatrycze-volk in #1026
- [BUGFIX] Remove documentRepository from Indexer constructor by @beatrycze-volk in #1028
- [MAINTENANCE] Update MetadataController with AbstractDocument usage by @beatrycze-volk in #1030
- [BUGFIX] Fix call findOneByIndexName by @beatrycze-volk in #1031
- [MAINTENANCE] Adds curly braces around blocks in loops and conditionals by @frank-ulrich-weber in #1032
- [BUGFIX] Fix property type for feCruserId in Collection model by @beatrycze-volk in #1033
- [BUGFIX] Fix namespaces in DocumentTypeFunctionProvider class by @beatrycze-volk in #1034
- [BUGFIX] Remove check for $this->document not null by @beatrycze-volk in #1035
- [BUGFIX] Fix var declaration for PageRender by @beatrycze-volk in #1036
- [BUGFIX] Adds missing semicolons by @frank-ulrich-weber in #1037
- [BUGFIX] Removes unnecessary semicolons by @frank-ulrich-weber in #1038
- [BUGFIX] Change check for empty result set by @beatrycze-volk in #1039
- [SECURITY] Fixes security issues #4526, #4523 und #4522 reported by CodeQL by @frank-ulrich-weber in #1041
- [BUGFIX] Fixes incorrect usage of getFileLocation() instead of getFileInfo() by @frank-ulrich-weber in #1051
- [DOCUMENTATION] Fixes in docs of Solr classes by @beatrycze-volk in #1046
- [MAINTENANCE] Check object properties before using them by @frank-ulrich-weber in #1043
- [MAINTENANCE] Fixes ESLint_camelcase warnings by @frank-ulrich-weber in #1044
- [MAINTENANCE] Fix docs and types in AbstractDocument and its child classes by @beatrycze-volk in #1047
- [MAINTENANCE] Fixes Phpmd CamelCaseParameterName Warnings by @frank-ulrich-weber in #1048
- [MAINTENANCE] Fixes Phpmd CamelCaseMethodName warnings by @frank-ulrich-weber in #1049
- [BUGFIX] Fixes wrong type and missing initialization of $recordId by @frank-ulrich-weber in #1050
- [MAINTENANCE] Consistently use type declaration for parameters and return values - part 2 by @beatrycze-volk in #1045
- [BUGFIX] Fixes incomplete renaming $index_name to $indexName of #1048 by @frank-ulrich-weber in #1058
- [BUGFIX] Type must be string, null given in Classes/Controller/SearchController.php by @BFallert in #1056
- [BUGFIX] Fix getOaiDocumentList() by @beatrycze-volk in #1057
- [BUGFIX] Do not assume that return value from
Extbase\Persistence\Repository::findOneByRecordId
is not null by @csidirop in #1062 - [BUGFIX] Make Toolbox render again by @frank-ulrich-weber in #1024
- [FEATURE] Display ORDERLABEL as year in the search results if the structure type is year by @beatrycze-volk in #1005
- [MAINTENANCE] Introduce usage of PHPStan checks for new PR by @beatrycze-volk in #1052
- [BUGFIX] Rename tool to tools in typoscript setup by @beatrycze-volk in #1063
- [MAINTENANCE] Added format unit tests. by @haogatyp in #894
- [MAINTENANCE] Added additional repository functional test instead of unit tests. by @haogatyp in #895
- [MAINTENANCE] Add ViewHelper functional tests instead of unit tests. by @haogatyp in #902
- [MAINTENANCE] Add test for IiifUrlReader by @oliver-stoehr in #909
- [MAINTENANCE] Complete tests for MetsDocument by @oliver-stoehr in #919
- [BUGFIX] Fix a typo in a condition, {{ insted of { by @BFallert in #1066
- [MAINTENANCE] Convert database XML fixtures into CSV format by @beatrycze-volk in #1064
- [MAINTENANCE] Additional fixes in the test classes by @beatrycze-volk in #1065
- [BUGFIX] Fix call to extension configuration by @csidirop in #1067
- [BUGFIX] Remove assignment of nonexistent $widgetPage by @beatrycze-volk in #1068
- [BUGFIX] Cast
$min
and$max
to int in CalendarController by @beatrycze-volk in #1070 - [BUGFIX] Move assignment of
storagePid
into try block to avoid undefined error by @beatrycze-volk in #1071 - [BUGFIX] Define
$scheme
to avoid undefined warning by @beatrycze-volk in #1072 - [BUGFIX] Remove second
if
checking the same condition by @beatrycze-volk in #1073 - [BUGFIX] Make
useOriginalIiifManifestMetadata
class parameter by @beatrycze-volk in #1074 - [MAINTENANCE] Rename getTitledata to getToplevelMetadata by @beatrycze-volk in #1081
- [MAINTENANCE] Split code in calendarAction into own functions by @beatrycze-volk in #1083
- [BUGFIX] DataHandler: Change uid type from
int
tostring
by @csidirop in #1080 - [BUGFIX] Fix missing pagination between first and last page by @BFallert in #1076
- [BUGFIX] Fix for "Typed property AbstractController::$document must not be accessed before initialization" by @beatrycze-volk in #1085
- [BUGFIX] Remove double check for not null on
$document
property by @beatrycze-volk in #1086 - [MAINTENANCE] Reorder keywords and abstract functions in AbstractDocument class by @beatrycze-volk in #1079
- [BUGFIX] Fix search middleware to use right method by @frank-ulrich-weber in #1088
- [BUGFIX] Use paginator in 'SearchController.php' and 'CollectionController.php' by @csidirop in #1087
- [BUGFIX] The function
errorAction()
needs to exists inNewTenantController
by @beatrycze-volk in #1091 - [BUGFIX] Fix calls to
ExtensionUtility::configurePlugin
by @beatrycze-volk in #1097 - [FEATURE] Enhance fulltext retrieval on virtual collections by providing database independent identifier by @michaelkubina in #1090
- [BUGFIX] Change way of key generation for collection by @beatrycze-volk in #1069
- [BUGFIX] Fix call to
ExtensionUtility::registerModule
by @beatrycze-volk in #1098 - [MAINTENANCE] Remove usage of deprecated
addQueryStringMethod
by @beatrycze-volk in #1099 - [BUGFIX] Fix wrong caching backend and default lifetime by @michaelkubina in #1100
- [MAINTENANCE] Add tests for Common package by @oliver-stoehr in #953
- [BUGFIX] Fix calendar view by @beatrycze-volk in #1109
- [BUGFIX] Cast
uid
to int for searching title data and provide alternative source for title by @beatrycze-volk in #1110 - [BUGFIX] Revert changes on
errorAction
to fix #1082 by @csidirop in #1111 - [MAINTENANCE] Use generators for reading calendar issues by @beatrycze-volk in #1112
- [BUGFIX] Query children metadata in batches to avoid OutOfMemoryException by @beatrycze-volk in #1113
- [MAINTENANCE] Replace
fetchAll()
withfetchAllAssociative()
by @beatrycze-volk in #1114 - [BUGFIX] Fix pagination in DFG-Viewer GridView by @BFallert in #1102
- [BUGFIX] Fix parameter type for
$collections
inCollectionController
by @beatrycze-volk in #1108 - [BUGFIX] Fix scrolling of text in #tx-dlf-fulltextselection to the text under the cursor by @BFallert in #1116
- [MAINTENANCE] Improvements in MetsDocument class by @beatrycze-volk in #1118
- [BUGFIX] Add property for SOLR Core Repository in
SolrSearchQueryTest
class by @beatrycze-volk in #1124 - [BUGFIX] reassign requestData to viewData after assigning default values by @fschoelzel in #1143
- [BUGFIX] Display paginated results only if there are some results by @beatrycze-volk in #1148
- [MAINTENANCE] Translate language code in own function by @beatrycze-volk in #1126
- [MAINTENANCE] Return values without assign to variables by @beatrycze-volk in #1128
- [MAINTENANCE] Improvements in IiiFManifest class by @beatrycze-volk in #1129
- [MAINTENANCE] Improvements in Indexer class by @beatrycze-volk in #1131
- [MAINTENANCE] Improvements in Solr class by @beatrycze-volk in #1132
- [MAINTENANCE] Improvements in AbstractController class by @beatrycze-volk in #1133
- [MAINTENANCE] Improvements in MetadataController class by @beatrycze-volk in #1135
- [MAINTENANCE] Improvements in CalendarController class by @beatrycze-volk in #1137
- [MAINTENANCE] Improvements in OaiPmhController class by @beatrycze-volk in #1136
- [MAINTENANCE] Improvements in AbstractDocument class by @beatrycze-volk in #1138
- [MAINTENANCE] Improvements in Mods class by @beatrycze-volk in #1139
- [BUGFIX] Add fallback to location if there is no record id in METS file by @beatrycze-volk in #1141
- [MAINTENANCE] Remove usage of getDocumentType with 3D View plugin by @beatrycze-volk in #1144
- [MAINTENANCE] Remove deprecated commands configuration by @beatrycze-volk in #1145
- [MAINTENANCE] Replace exits and returns in commands' execute functions by @beatrycze-volk in #1146
- [BUGFIX] Fix and improve SolrSearch class by @beatrycze-volk in #1123
- [MAINTENANCE] Improvements in BaseCommand class by @beatrycze-volk in #1130
- [MAINTENANCE] Add missing license headers in test classes by @beatrycze-volk in #1152
- [MAINTENANCE] Fix license header in
PageGridPaginator
class by @beatrycze-volk in #1153 - [MAINTENANCE] Remove unused imports from test classes by @beatrycze-volk in #1154
- [BUGFIX] Change
$solrCoreRepository
to function's variable by @beatrycze-volk in #1155 - [BUGFIX] Assign correct html id to
fullTextScrollElement
by @csidirop in #1156 - [BUGFIX] Add condition one more time inside the section tag by @beatrycze-volk in #1157
- [MAINTENANCE] Minor improvements in Helper class by @beatrycze-volk in #1160
- [MAINTENANCE] Minor improvements in IiifManifest class by @beatrycze-volk in #1161
- [MAINTENANCE] Minor improvements in MetsDocument class by @beatrycze-volk in #1162
- [MAINTENANCE] Fix some typos (most of them found by codespell) by @stweil in #1163
- [MAINTENANCE] Document function magicGetMetadataArray as a "magic" function by @stweil in #1164
- [MAINTENANCE] Replace calls of function sizeof by calls of function count by @stweil in #1166
- [BUGFIX] Add missing translations for metadata by @beatrycze-volk in #1170
- [MAINTENANCE] Suppress Codacy warnings for private methods... by @stweil in #1171
- [MAINTENANCE] Update GitHub actions by @stweil in #1173
- [SECURITY] Update dependencies to fix security issues by @sebastian-meyer in #1174
- [BUGFIX] Fix problems with translation of database records by @beatrycze-volk in #1169
- [BUGFIX] Add missing fields to to metadata format table by @beatrycze-volk in #1179
- [BUGFIX] Show only specific range of pages in pagination, add "..." by @BFallert in #1103
- [MAINTENANCE] Minor improvements in test classes by @beatrycze-volk in #1159
- [MAINTENANCE] Update path for Docker images to work also with podman by @stweil in #1180
- [BUGFIX] Fix wrong sorting of volumes in listview and toc by @michaelkubina in #931
- [BUGFIX] Fixes incomplete renaming page.nIndex to page.label of #1103 by @BFallert in #1181
- [BUGFIX] Fix search word highlighting by @csidirop in #1185
- [BUGFIX] Check if
$this->documentRepository
is set by @beatrycze-volk in #1190 - [BUGFIX] Fix
NULL
exception for emptytitle_sorting
by @beatrycze-volk in #1192 - [BUGFIX] Fix saving to database for documents with many authors by @beatrycze-volk in #1193
- [FEATURE] Add support for ALTO v3 and v4 by @michaelkubina in #1117
- [MAINTENANCE] Refactor metadata extraction by @beatrycze-volk in #1195
- [MAINTENANCE] Replace registry with cache by @beatrycze-volk in #1196
- [MAINTENANCE] Clear state of persistence manager to avoid memory exhaustion by @beatrycze-volk in #1197
- [MAINTENANCE] Use intermediate variables to decrease accessing the array by @beatrycze-volk in #1200
- [FEATURE] Add option for reindexing documents in chunks by @beatrycze-volk in #1201
- [MAINTENANCE] Remove unnecessary casts
$cPid
toint
by @beatrycze-volk in #1198 - [MAINTENANCE] Remove unnecessary parentheses by @beatrycze-volk in #1199
- [BUGFIX] Rename reindex options to be able use one letter shorts by @beatrycze-volk in #1203
- [BUGFIX] Clear state of the persistence memory after given chunk of data was indexed by @beatrycze-volk in #1202
- [BUGFIX] fix incomplete renaming reindexing option "index-start" to "index-begin" by @BFallert in #1204
- [MAINTENANCE] Replace
chr(31)
withpack('C', 31)
by @beatrycze-volk in #1207 - [MAINTENANCE] Use Dotenv for accessing environmental variables by @beatrycze-volk in #1206
- [BUGFIX] Add
languageUid
toindex_name
to make it unique by @csidirop in #1186 - [BUGFIX] Add
sorting
key to metadata by @csidirop in #1184 - [MAINTENANCE] Add support for PHP 8.3.x by @stweil in #1172
- Prepare Release 5.0 by @sebastian-meyer in #1210
New Contributors
- @oliver-stoehr made their first contribution in #909
- @fschoelzel made their first contribution in #1143
Full Changelog: v4.1.0...v5.0.0