Commit Graph

4141 Commits

Author SHA1 Message Date
Beatrycze Volk 8d6fc51b52 Move page setting to own method 2023-09-15 16:21:36 +02:00
Beatrycze Volk f51e8bf98f Move value translation for search facet to the own method 2023-09-15 16:18:17 +02:00
Beatrycze Volk e12a9e87a1 Move build of IIIF data to separated method 2023-09-15 16:18:17 +02:00
Beatrycze Volk 97374799da Add doc property to increase code readability 2023-09-15 16:18:17 +02:00
Beatrycze Volk 799742ff12 Move setup of default values to own method
Avoid list of ifs with the same functionality
2023-09-15 16:18:17 +02:00
Sebastian Meyer a77a42fd7a Move sanitation to separate method 2023-09-15 16:18:17 +02:00
Sebastian Meyer 083dfee01d Log variable before unsetting it 2023-09-15 16:10:05 +02:00
Sebastian Meyer 39138c7992 Add helper function for validity check 2023-09-15 16:10:05 +02:00
Sebastian Meyer 51082b783f Update Classes/Controller/AbstractController.php
Co-authored-by: Beatrycze Volk <beatrycze.volk@slub-dresden.de>
2023-09-15 16:10:05 +02:00
Sebastian Meyer ea82442dfd Fix XSS vulnerability 2023-09-15 16:10:05 +02:00
Beatrycze Volk 26958186e7 Move setPage to AbstractController 2023-09-15 16:10:05 +02:00
Beatrycze Volk 705a9adb44 Add class property doc to shorten usage of $this->document->getDoc() 2023-09-15 16:10:05 +02:00
Beatrycze Volk a97a78b251 Move setPage out of else statement 2023-09-15 16:10:05 +02:00
Beatrycze Volk 2e69ba8886 Move page setting to own method 2023-09-15 16:10:05 +02:00
Beatrycze Volk 262bea0dce Rename render tool functions to match the naming standards 2023-09-15 16:10:05 +02:00
Sebastian Meyer 05ce87dfe0 Add additional check for empty core name 2023-09-15 16:10:05 +02:00
Sebastian Meyer 763256d979 Prevent db record when core fails 2023-09-15 16:10:05 +02:00
Sebastian Meyer f3b8004f33 Add flash message for Solr core creation 2023-09-15 16:10:05 +02:00
Sebastian Meyer c4232496db Make Solr core name mandatory 2023-09-15 16:10:05 +02:00
Beatrycze Volk 109c48581f
[BUGFIX] Display issues correctly in ToC plugin (#964)
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-09-01 12:07:13 +02:00
dependabot[bot] 87be4c44eb
[DEPENDENCY] Bump typo3/testing-framework from 6.16.8 to 6.16.9 (#996)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-08-07 11:56:51 +02:00
dependabot[bot] b4faa7a9ad
[DEPENDENCY] Bump typo3/html-sanitizer from 2.1.1 to 2.1.3 (#995)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 11:39:12 +02:00
Beatrycze Volk 38b64cad5d
[BUGFIX] Minor fixes in ToolboxController (#993)
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-07-21 18:46:28 +02:00
Beatrycze Volk 0869183cf1
[BUGFIX] Minor fixes in Helper class (#992)
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-07-21 18:43:28 +02:00
Beatrycze Volk f1451a42db
[BUGFIX] Remove not needed call to createDocument function (#991)
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-07-21 18:38:24 +02:00
Beatrycze Volk 43ce528fa6
[BUGFIX] Use $forceReload parameter in getInstance (#989)
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-07-21 18:16:30 +02:00
Beatrycze Volk c4a6fd0b84
[BUGFIX] Remove not existing getUid and getLocation (#988) 2023-07-21 18:02:42 +02:00
Beatrycze Volk c5a92681c5
[BUGFIX] Resolve link to the parent if the parent is multivolume_work or multipart_manuscript (#985)
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-07-20 18:01:22 +02:00
Beatrycze Volk e3d09d8f06
[MAINTENANCE] Fix and move Solr classes (#982)
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-07-20 16:18:19 +02:00
Beatrycze Volk 613ade190f
[BUGFIX] Fix return type for getTableOfContentsFromDb function (#986)
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-07-20 16:05:49 +02:00
Beatrycze Volk 2daf3dfe8a
[BUGFIX] Fix variable type and remove deprecations in FileLocationUpdater (#981)
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-07-20 15:43:59 +02:00
Beatrycze Volk f78b6b3162
[FEATURE] Use order in case volume_sorting is empty (#984) 2023-07-20 15:15:37 +02:00
Christopher 53c5b99dac
[BUGFIX] Persist collection to prevent duplicates (#983) 2023-07-11 10:52:18 +02:00
Beatrycze Volk e1f382168f
[BUGFIX] Fix logger docs in API classes (#980)
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-06-27 13:31:46 +02:00
Beatrycze Volk fe09c74637
[BUGFIX] Fixes in Doc class (#979) 2023-06-27 12:51:26 +02:00
Beatrycze Volk 5e3251d2d3
[BUGFIX] Fix SolrSearch implementation (#978)
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-06-26 19:42:52 +02:00
Beatrycze Volk e2fc256067
[MAINTENANCE] Improve readability in SearchController (#977)
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-06-26 19:26:44 +02:00
Beatrycze Volk 5fcc99def2
[MAINTENANCE] Remove unused imports and declarations (#976)
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-06-26 19:21:49 +02:00
Beatrycze Volk 20e09bd08f
[FEATURE] Make amount of children rows configurable (#970)
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-06-26 18:36:45 +02:00
Michael Kubina 72acb39756
[FEATURE] Add more search operators and fix highlighting (#948)
Co-authored-by: Michael Kubina <michael.kubina@sub.uni-hamburg.de>
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-06-26 18:34:17 +02:00
Beatrycze Volk d0e29dae1d
[MAINTENANCE] Initialize metadata array with empty values in abstract Doc class (#961)
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-06-26 18:26:40 +02:00
Beatrycze Volk 7bda98d227
[MAINTENANCE] Adjust deprecated calls for database queries (#975)
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-06-26 16:37:18 +02:00
Beatrycze Volk ea1e2998e5
[BUGFIX] Display volumes correctly in ToC plugin (#957)
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-06-22 15:08:21 +02:00
Beatrycze Volk c81db52202
[BUGFIX] Check if result returned from suggester is iterable before passing it to the array (#973)
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-06-22 12:22:15 +02:00
Beatrycze Volk 70fbfce45e
[BUGFIX] Check for getDoc equal null in DocumentTypeFunctionProvider (#972)
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-06-22 11:41:35 +02:00
Beatrycze Volk cdc55ffa48
[BUGFIX] Fix error Illegal string offset 'id' (#971) 2023-06-22 11:23:26 +02:00
Sebastian Meyer bc68218565
[BUGFIX] Revert #967 "Increase the amount of metadata loaded in collection view" (#969) 2023-06-12 18:13:13 +02:00
Beatrycze Volk 4256816e41
[BUGFIX] Increase the amount of metadata loaded in collection view (#967)
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-05-24 21:58:10 +02:00
Michael Kubina 9d9b7cec68
[BUGFIX] Prevent attempted indexing of improper dateformats (#963)
Co-authored-by: Michael Kubina <michael.kubina@sub.uni-hamburg.de>
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-05-24 21:52:45 +02:00
Beatrycze Volk 95c820dd73
[MAINTENANCE] Use parentHref for getting parent document uid while indexing (#958)
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-05-24 21:34:20 +02:00