Skip to content

Commit

Permalink
1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtificialOwl committed May 16, 2019
1 parent c0d88a3 commit cb37019
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Changelog


### 1.2.3

- Fixing small typo


### 1.2.2

- OCR PDF files
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cert_dir=$(HOME)/.nextcloud/certificates
github_account=daita
branch=master
codecov_token_dir=$(HOME)/.nextcloud/codecov_token
version+=1.2.2
version+=1.2.3

all: appstore

Expand Down
4 changes: 2 additions & 2 deletions appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ which is a wrapper for the command line program [Tesseract OCR](https://github.c
Tesseract must be installed locally, and configured.
]]>
</description>
<version>1.2.2</version>
<version>1.2.3</version>
<licence>agpl</licence>
<author>Maxence Lange</author>
<namespace>Files_FullTextSearch_Tesseract</namespace>
Expand All @@ -27,7 +27,7 @@ Tesseract must be installed locally, and configured.
<repository>https://github.com/daita/files_fulltextsearch_tesseract.git</repository>
<screenshot>https://raw.githubusercontent.com/nextcloud/fulltextsearch/master/screenshots/0.3.0.png</screenshot>
<dependencies>
<nextcloud min-version="15" max-version="16"/>
<nextcloud min-version="15" max-version="17"/>
</dependencies>

<settings>
Expand Down
4 changes: 2 additions & 2 deletions lib/Service/TesseractService.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
use OCP\Files\Node;
use OCP\Files\NotFoundException;
use OCP\Files_FullTextSearch\Model\AFilesDocument;
use OCP\FullTextSearch\Model\IndexDocument;
use OCP\FullTextSearch\Model\IIndexDocument;
use OCP\FullTextSearch\Model\ISearchRequest;
use Spatie\PdfToImage\Exceptions\PageDoesNotExist;
use Spatie\PdfToImage\Pdf;
Expand Down Expand Up @@ -158,7 +158,7 @@ private function extractContentUsingTesseractOCR(AFilesDocument &$document, File
return;
}

$document->setContent(base64_encode($content), IndexDocument::ENCODED_BASE64);
$document->setContent(base64_encode($content), IIndexDocument::ENCODED_BASE64);
}


Expand Down

0 comments on commit cb37019

Please sign in to comment.