Remove the duplicated setting pdftotext_path from the OCR path. This is now handled by the document parsing app.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-09-01 02:12:08 -04:00
parent 607d178e94
commit c312a2a304
2 changed files with 2 additions and 13 deletions

View File

@@ -2,12 +2,7 @@
================
- Improve database vendor migration support
- Add convertdb management command.
- Fix crop transformation argument parsing. Thanks to Jordan Wages
(@wagesj45). Closes GitLab issue #490
- Add error checking to the crop transformation arguments.
- Fix post login redirection to honor the ?next= URL query string
argument. Thanks go to K.C. Wong(@dvusboy1). Closes GitLab
issue #489.
- Update dropzone.js' timeout from 30 seconds to 120 to allow upload
of large files on slow connections.
- Increase gunicorn's timeout from 30 seconds to 120.
@@ -126,6 +121,8 @@
- The document type parsing setup permission can now be granted for
individual document types.
- Add link to view a specific page's OCR content.
- Remove the duplicated setting pdftotext_path from the OCR path.
This is now handled by the document parsing app.
3.0.3 (2018-08-17)
==================

View File

@@ -6,14 +6,6 @@ from smart_settings import Namespace
namespace = Namespace(name='ocr', label=_('OCR'))
setting_pdftotext_path = namespace.add_setting(
global_name='OCR_PDFTOTEXT_PATH', default='/usr/bin/pdftotext',
help_text=_(
'File path to poppler\'s pdftotext program used to extract text '
'from PDF files.'
),
is_path=True
)
setting_ocr_backend = namespace.add_setting(
global_name='OCR_BACKEND', default='ocr.backends.pyocr.PyOCR',
help_text=_('Full path to the backend to be used to do OCR.')