Commit Graph

41 Commits

Author SHA1 Message Date
Sebastian Meyer 63beb3a21b Allow multiple file groups 2021-02-17 20:08:21 +01:00
Sebastian Meyer 5c9d79ae2d Make Solr instantiation more robust 2020-12-21 09:13:19 +01:00
Alexander Bigga d986aa09e7 Remove not used method indexer::delete().
This method is not used since switching to solarium. It's not compatible
with TYPO3 9.5 and should be removed therefore.
2020-02-17 17:21:47 +01:00
Alexander Bigga 9810c2a78b Show flash messages in indexer using the default queue.
Currently, no feedback is shown on updating records in the TYPO3 list
module. This is due to a the flash message rendering in the backend
module. This use the fluid FlashMessagesViewHelper() which get's passed
the default queuei ('core.template.flashMessages').

I didn't find a way to overwrite this queue. In case of Indexer::add(),
this patch adds the default queue. Messages are shown. But with the
default Bootstrap render including the htmlspecialchars() handling.
2020-02-05 17:52:32 +01:00
Sebastian Meyer 7763267a18
Merge pull request #459 from albig/fix-indexing-authors-with-valueURI-2
Fix indexing METS files with linked URIs.
2020-01-22 17:16:06 +01:00
Alexander Bigga cb50a8cc5e Fix indexing METS files with linked URIs.
Introduced with #401 it is possible for author metadata fields to link
to the given valueURI attribute.

Unfortunately this feature is not complete in case you are using the
author field for facets. The Solr query breaks due to the not allowed
character 31. We have to split the string in Indexer::processPhysical()
as well.

We should fix this issue in 2.x, too.
2020-01-22 17:06:34 +01:00
Alexander Bigga 8aaff82428 Fix arguments on calling addMessage().
If Solr errors occure on saving tx_dlf_documents the backend dies with
the following error:

Argument 1 passed to TYPO3\CMS\Core\Messaging\AbstractMessage::setSeverity() must be of the type integer, string given, called in /app/vendor/typo3/cms/typo3/sysext/core/Classes/Messaging/FlashMessage.php on line 68
2020-01-22 15:56:39 +01:00
Sebastian Meyer 97acf54345 Remove obsolete use declarations 2019-11-13 14:09:35 +01:00
Sebastian Meyer 57c40cc7da Fix scrutinizer issue 2019-11-13 14:05:21 +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 cf70dc7d9e check if array exists to avoid PHP warning
Co-Authored-By: Alexander Bigga <alexander.bigga@slub-dresden.de>
2019-11-12 11:38:01 +01:00
Sebastian Meyer 169253f2be Check for errors when loading files 2019-11-06 15:49:34 +01:00
Sebastian Meyer 690dc936c3 Remove type-hinting comment 2019-11-06 15:40:43 +01:00
Sebastian Meyer ea4e14ff78 Use TYPO3 constants in global namespace 2019-11-05 15:00:23 +01:00
Sebastian Meyer 40ba1aedbd Fix code styling 2019-11-05 14:21:40 +01:00
Sebastian Meyer 6f48dcb9a5 Use PSR-12 code styling 2019-10-30 15:37:44 +01:00
Sebastian Meyer 0f1195f5ea
Merge pull request #404 from kitodo/fix-402
Handle HTML entities in fulltext properly
2019-10-30 14:41:59 +01:00
Sebastian Meyer 906c571423
Merge pull request #401 from kitodo/add-gnd-support
Add support for linking URIs
2019-10-21 14:14:18 +02:00
Sebastian Meyer a26f31c578 Handle HTML entities in fulltext properly 2019-10-15 14:33:07 +02:00
Sebastian Meyer 77b9d7a313 Add support for linking URIs 2019-10-14 14:58:57 +02:00
Sebastian Meyer da0ae9c2a6 Add rights fields to index 2019-10-04 14:06:28 +02:00
Alexander Bigga 0fde68cc00 Enable indexing of geospatial information in GeoJSON format. 2019-09-16 13:33:18 +02:00
Beatrycze Volk f993f5a3d1 Add queryBuilder variable information and replace fullQuoteStr method call with literal 2019-08-28 11:08:56 +02:00
Beatrycze Volk 652dbbc0f0 Replace deprecated calls to $GLOBALS['TYPO3'] select 2019-08-27 14:23:04 +02:00
Sebastian Meyer bfd418f618 Remove unnecessary GROUP and ORDER statements 2019-07-17 09:21:43 +02:00
Lutz Helm f65161a90a Remove unnecessary variable declaration 2019-06-17 13:29:54 +02:00
Lutz Helm 127b11ba1f Apply changes from IIIF feature branch - index IIIF text annotations 2019-06-17 12:57:51 +02:00
Sebastian Meyer ae2193a4fc Fix code issues identified by Codacy 2019-03-16 15:08:43 +01:00
Sebastian Meyer 83d6523fe2 Allow HTML tags in flash messages 2019-03-16 13:41:20 +01:00
Sebastian Meyer c149450cf5 Update flashMessage service 2019-03-16 13:04:06 +01:00
Sebastian Meyer da5d8ff337 Switch tabs for whitespaces 2019-03-16 12:03:25 +01:00
Sebastian Meyer 1e41e379a3 Move devLog to Helper 2019-03-15 11:03:54 +01:00
Sebastian Meyer d1b9e09824 Change constants for TYPO3 mode 2019-03-15 09:12:21 +01:00
Sebastian Meyer b3887bdbad Update code style 2019-03-14 22:41:35 +01:00
Sebastian Meyer b26af5249c Update code style 2019-03-14 19:57:18 +01:00
Sebastian Meyer f16b78e3ef Switch to short array notation 2019-03-14 17:39:19 +01:00
Sebastian Meyer 919ee33f82 Move plugins to Classes/Plugins and add namespaces 2019-03-14 15:42:34 +01:00
Sebastian Meyer bb7ac1ba6e Add namespaces to all common classes 2019-03-13 17:55:50 +01:00
Sebastian Meyer 87296bd703 Add namespaces to all common classes 2019-03-13 08:29:51 +01:00