Commit Graph

58 Commits

Author SHA1 Message Date
Sebastian Meyer ecd8ec8422
Merge branch 'master' into allow-multiple-filegrps 2021-03-23 13:51:13 +01:00
Alexander Bigga 698773c5f4
Update Classes/Plugin/Tools/FulltextTool.php
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2021-03-22 16:44:50 +01:00
Sebastian Meyer 7e23280a1d Make variable names more consistent 2021-02-23 09:26:17 +01:00
Sebastian Meyer 63beb3a21b Allow multiple file groups 2021-02-17 20:08:21 +01:00
Beatrycze Volk ecb817909e Add configuration for fields which need to be highlighted in the image 2021-02-16 12:59:14 +01:00
Sebastian Meyer 2799b9bea2
Merge branch 'master' into use-strong-cryptography 2021-01-26 23:32:45 +01:00
Beatrycze Volk b02f691ed7 Import MathUtility for increase of code readability 2021-01-21 11:35:31 +01:00
Beatrycze Volk 593d8e20e2 Make scroll element for full text scrolling configurable 2021-01-21 11:35:31 +01:00
Sebastian Meyer 6c8b905981 Use AES-256-GCM and SHA256 2021-01-19 14:08:09 +01:00
Scrutinizer Auto-Fixer 3c7332f422 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-12-29 15:42:47 +00:00
Alexander Bigga 319db25411 Sanitize new TypoScript setting activateFullTextInitially 2020-12-29 14:54:16 +01:00
Beatrycze Volk d0b2a572d9 Change launch state to numerical value and add activation on link click 2020-12-29 12:01:14 +01:00
Beatrycze Volk 77a02a0f0a Remove configuration variable dump 2020-12-16 14:34:34 +01:00
Beatrycze Volk 348f18964f Change duplicated plugin to switch which changes full text behavior 2020-12-14 17:52:50 +01:00
Beatrycze Volk 12355f4cd9 Add full text download tool and duplicate full text display for always
active display
2020-12-14 15:26:56 +01:00
Sebastian Meyer 68169be28b
Merge branch 'master' into rework-toolbox 2020-05-19 11:33:42 +02:00
Sebastian Meyer b4c696c580 Fix comment 2020-05-15 10:40:42 +02:00
Sebastian Meyer 62870e1f17 Make container element configurable 2020-05-15 10:26:01 +02:00
Sebastian Meyer 6cbe6c7d2a Remove $hsc parameter from pi_getLL() 2020-05-11 18:13:47 +02:00
Alexander Bigga 94a631297b Show information if nothing was found in SearchInDocument tool. 2020-05-08 17:25:43 +02:00
Alexander Bigga 1409d0714d Replace deprecated ExtensionManagementUtility::siteRelPath()
... by
`PathUtility::stripPathSitePrefix(ExtensionManagementUtility::extPath($extensionKey))`
as mentioned in [Deprecation: #82899 - ExtensionManagementUtility methods](https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.0/Deprecation-82899-ExtensionManagementUtilityMethods.html).

This already works with TYPO3 8.7 LTS. So we can do it right now.
2020-04-27 16:35:44 +02:00
Sebastian Meyer 03581bc3d8 Make usage of absolute links configurable 2020-04-23 12:34:31 +02:00
Alexander Bigga 4d0a384909 Fix the searchInDocument tool on initial page.
If calling a document, the parameter tx_dlf[page] may be empty. In this
case usually page 1 is taken. This is the default behaviour of all
plugins. In searchInDocument this part is missing and the search is
disabled on the initial page.
2020-03-16 14:08:39 +01:00
Sebastian Meyer 57ecf61ae9 Move namespace declaration behind file-level docs 2019-11-13 13:41:26 +01:00
Sebastian Meyer e832d94e20 Use lower case for all reserved types and keywords 2019-11-13 13:09:00 +01:00
Sebastian Meyer 5e4ad588a2 Use short form of type keywords 2019-11-13 12:51:19 +01:00
Sebastian Meyer 36a430bf5e Use short array notation 2019-10-30 15:56:33 +01:00
Sebastian Meyer f1e488278f Capitalize TRUE, FALSE, NULL 2019-10-30 15:56:21 +01:00
Sebastian Meyer 6f48dcb9a5 Use PSR-12 code styling 2019-10-30 15:37:44 +01:00
Sebastian Meyer 9a98cab212 Remove special handling of tool templates 2019-10-21 13:55:10 +02:00
Sebastian Meyer 2315586bf2
Merge pull request #392 from effective-webwork/toolbox_custom_template_workaround
Workaround for toolbox plugin bug (if using custom template)
Fixes #363
2019-10-08 14:47:25 +02:00
Sebastian Meyer 42b6ff0c1e
Remove empty line 2019-10-08 14:42:01 +02:00
Christopher Timm 4a0a5bd824 revert removing pi_wrapInBaseClass from tool plugins 2019-10-08 14:08:34 +02:00
Alexander Bigga dc5050f210
Update Classes/Plugin/Tools/SearchInDocumentTool.php
Co-Authored-By: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2019-10-01 21:05:49 +02:00
Sebastian Meyer e450b54210
Fix Code Style 2019-10-01 11:10:52 +02:00
Sebastian Meyer 68e33d3906
Fix Code Style 2019-10-01 11:10:28 +02:00
Sebastian Meyer 82514b2e9a
Fix Code Style 2019-10-01 11:10:12 +02:00
Sebastian Meyer 98cf67a3f5
Fix Code Style 2019-10-01 11:09:48 +02:00
Sebastian Meyer a969ba293c
Fix Code Style 2019-10-01 11:09:29 +02:00
Alexander Bigga 347301aef5 fix formating 2019-09-30 21:45:51 +02:00
Alexander Bigga 319a051310 do not show the input field if no fulltext is available for the given page 2019-09-30 21:38:28 +02:00
Alexander Bigga dd26e1acd4 Add a new tool "search in document".
This adds a input field to the toolbox in case a fulltext file is
present. The search is executed only in this document. 20 results are
listed and you may page through all results in pages with 20 items.

The search is inspired by the SRU search in DFG-Viewer.

Please note: there is no design provided for this feature (as usual in
Kitodo.Presentation).
2019-09-30 21:01:28 +02:00
Christopher Timm dcb454d9d5 remove comments 2019-09-27 21:11:17 +02:00
Christopher Timm 2307fe94cc add $tool (boolean) parameter for getTemplate in abstractPlugin class to recognize every tool plugin.
If a tool plugin is given getTemplate returns the tool template instead of the toolbox template from "this->conf".
2019-09-27 15:22:39 +02:00
Beatrycze Volk cd9bd7935b Replace deprecated marker related methods and make getTemplate more generic 2019-08-21 17:06:09 +02:00
Sebastian Meyer 8e102a712d
Check for specific array key 2019-07-30 10:33:14 +02:00
Sebastian Meyer e9de8d6bfc
Check for specific array key 2019-07-30 10:32:55 +02:00
Sebastian Meyer 5d6708bd35
Check for specific array key 2019-07-30 10:32:35 +02:00
Sebastian Meyer 6cab219b36
Check for specific array key 2019-07-30 10:32:10 +02:00
Sebastian Meyer 358fade275
Check for specific array key 2019-07-30 10:31:44 +02:00