Commit Graph

48 Commits

Author SHA1 Message Date
Roberto Rosario
7321b12c7d Update remaining exception syntaxes 2014-07-20 22:44:12 -04:00
Roberto Rosario
6b169b4526 Modernize exception handling, and improves Python 3.x compatibility 2014-07-20 16:42:30 -04:00
Roberto Rosario
a078fd1dbc Add initial migration for the ocr app 2014-07-18 20:00:59 -04:00
Roberto Rosario
144db6364c The post_migrate signal is different than the post_syncdb so adjust accordingly 2014-07-18 19:59:06 -04:00
Roberto Rosario
5f61dac179 Simplify signal handler 2014-07-18 18:35:37 -04:00
Roberto Rosario
ba71c80b32 Don't use the post_syncdb signal use the post_migrate signal instead 2014-07-18 13:32:07 -04:00
Roberto Rosario
f47a5eb9eb Switch tests from django.utils.unittest.TestCase to django.test.TestCase 2014-07-18 03:02:27 -04:00
Mathias Behrle
f67176aa9f Removing unused variable from language correction files. 2014-07-14 14:57:03 +02:00
Mathias Behrle
8bae464841 Re-adding migrated french language correction file, 2014-07-14 14:49:56 +02:00
Mathias Behrle
79f03d9907 Removing double variable definition. 2014-07-14 14:48:12 +02:00
Mathias Behrle
e90a60efe3 Adding missing argument to german language correction file. 2014-07-14 14:21:21 +02:00
Roberto Rosario
e48edd46c4 Update test for python 2.6 compatibility 2014-07-13 14:55:57 -04:00
Roberto Rosario
b0a33ada2b Update OCR test to test for different language settings, issue #16 2014-07-13 14:45:05 -04:00
Roberto Rosario
8fca5e2789 Remove the French OCR cleanup backend for now, a patchset seems to be missing. 2014-07-13 11:34:08 -04:00
Roberto Rosario
1f3fed2182 Update the German OCR cleanup backend to be a class not a function 2014-07-13 11:32:41 -04:00
Roberto Rosario
2b2cd80a18 Fix and improve the existing tests 2014-07-11 01:35:00 -04:00
Mathias Behrle
53ab7a23e6 Adding french cleanup file. 2014-07-11 01:08:11 +02:00
Mathias Behrle
506d65c93e Adding language correction file for Germany (deu). 2014-07-11 00:56:15 +02:00
Roberto Rosario
3bed82fc16 PEP8 cleanup, unused imports, missing imports, style cleanups 2014-07-10 02:45:19 -04:00
Roberto Rosario
c753d74e46 More clear exception handling 2014-07-10 01:28:21 -04:00
Roberto Rosario
d19f3da730 Backport statistics app, remove statistic code from the main app, convert the documents and ocr apps to use the new statictics app code 2014-07-04 01:46:16 -04:00
Roberto Rosario
78bf95f25f Update all the source string files 2014-07-03 21:38:25 -04:00
Roberto Rosario
75266c7c31 Update the documents app and the document_signatures app to use the new method of loading backends 2014-07-03 17:32:32 -04:00
Roberto Rosario
3db1e35c19 Use SH to call unpaper, allow OCR pipeline to work without unpaper installed 2014-07-02 17:45:10 -04:00
Roberto Rosario
04f616ffaf Only store the full OCR error stack trace when in DEBUG mode 2014-07-02 17:44:22 -04:00
Roberto Rosario
d850b268d3 Don't fail when there is no DB available to reset the OCR queue stale processing document 2014-07-01 00:50:35 -04:00
Roberto Rosario
a5d75fc95a Add OCR test 2014-07-01 00:45:42 -04:00
Roberto Rosario
1dd36089cf Add missing 'self' to language backends 2014-07-01 00:45:15 -04:00
Roberto Rosario
c51a3be65a Cleanups 2014-07-01 00:26:19 -04:00
Roberto Rosario
867c6827dc Reset documents that were being processed on further restarts 2014-07-01 00:23:55 -04:00
Roberto Rosario
da785c343c Lower the lock timeout period, store the entire stack trace when OCR fails 2014-07-01 00:23:18 -04:00
Roberto Rosario
a9390d55ba Unify the way backends are defined and loaded, unify the fs_cleanup function 2014-07-01 00:22:31 -04:00
Roberto Rosario
6a659741af PEP8 cleanups 2014-06-30 00:57:53 -04:00
Roberto Rosario
d640eacec8 Update usage of datetime.now to Django timezone aware now() 2014-06-29 17:00:07 -04:00
Roberto Rosario
ecb6733cd4 PEP8 cleanups, unused imports cleanups 2014-06-29 14:14:27 -04:00
Roberto Rosario
0a0756380b Update transaction handling as changed in Django 1.6 2014-06-27 20:22:14 -04:00
Roberto Rosario
9187e7c5f8 Remove use of backported object_list generic function view 2014-06-26 15:57:11 -04:00
Roberto Rosario
3b73936723 Update patterns, url imports in all of the project's urls.py files 2014-06-26 15:27:03 -04:00
Roberto Rosario
3ec31a890e Remove all OCR queue transformation code 2014-06-25 10:44:43 -04:00
Roberto Rosario
ac061f2203 PEP8 Cleanups, simple sintax errors fixes 2014-06-25 02:53:12 -04:00
Roberto Rosario
0209d13150 Change quotation char usage, remarked code cleanups 2014-06-25 02:22:11 -04:00
Roberto Rosario
e0347785b7 Initial implementation of OCR pluggable backends 2014-06-24 22:48:16 -04:00
Roberto Rosario
73245e66f4 Update and enable all language translations 2014-06-21 02:01:16 -04:00
Roberto Rosario
cf49f64676 Romanian language translation sync and enabling 2014-06-21 00:23:30 -04:00
Roberto Rosario
076797ff24 Added Bosnian translation files and enable Bosnian language selection 2014-06-21 00:16:38 -04:00
Roberto Rosario
956bf0f9d8 Move OCR app links to their own module 2014-06-20 20:04:31 -04:00
Roberto Rosario
eda2592106 Cleanup import, quoting style 2014-06-20 19:59:33 -04:00
Roberto Rosario
ec1745b50b Initial changes to support the new Django 1.6 project structure 2014-06-15 13:13:21 +02:00