Commit Graph

109 Commits

Author SHA1 Message Date
Roberto Rosario
aca9d8c9eb Remove unused imports, do PEP8 and DeprecationWarning cleanups 2015-01-05 14:40:59 -04:00
Roberto Rosario
be5d5ce5cf Increase ocr node field size from 32 to 256 characters 2015-01-05 04:03:39 -04:00
Roberto Rosario
a45bdc5259 Create the default DocumentQueue 2015-01-05 03:50:42 -04:00
Roberto Rosario
a4d3a73117 Use TransactionTestCase to try to avoid exceptions in a test blocking DB access in others 2015-01-05 03:34:00 -04:00
Roberto Rosario
0b2fe39526 Separate tests again, TestCase encloses the entire test into a single transaction, an error block all other DB access in the test 2015-01-05 03:23:16 -04:00
Roberto Rosario
3cf9143059 Log error when language cleanup backend fails 2015-01-05 03:20:05 -04:00
Roberto Rosario
abee5edc9e Update and improve ocr app tests 2015-01-05 01:27:56 -04:00
Roberto Rosario
84493b7a72 PEP8 Cleanups 2014-11-11 14:58:37 -04:00
Roberto Rosario
6a33b4b131 Close issue #112, Add OCR API endpoints 2014-11-03 02:24:40 -04:00
Roberto Rosario
a08d2c0a0c Remove unused permission 2014-11-03 02:03:46 -04:00
Roberto Rosario
1f0f3adcba Make sure base class method arguments match 2014-11-03 00:16:22 -04:00
Roberto Rosario
9f2692d36a PEP8 cleanup, unused import removal 2014-11-02 21:20:29 -04:00
Roberto Rosario
ba1729106f Pass arguments to the logger the correct way 2014-11-02 20:55:21 -04:00
Roberto Rosario
654022807f Raise the correct exception 2014-11-02 20:16:09 -04:00
Roberto Rosario
8a5f215779 Update translation sources 2014-10-30 11:39:32 -04:00
Roberto Rosario
ae101036eb Update tests 2014-10-30 03:32:20 -04:00
Roberto Rosario
83f4d90fa3 Don't store OCR error log if no document was created 2014-10-29 05:51:23 -04:00
Roberto Rosario
3909d60e9a Issue #56, Remove child_views, child_urls, children_path_regex, children_view_regex link support 2014-10-28 17:41:10 -04:00
Roberto Rosario
9596beac79 Update translation messages sources 2014-10-28 17:21:37 -04:00
Roberto Rosario
2c2dfa88cc Issue #84, Remove template context variable 'object_name' to improve ease of translation 2014-10-28 02:36:43 -04:00
Roberto Rosario
0bed1df64a Issue #92, Make register_multi_item_links class aware 2014-10-27 19:21:05 -04:00
Roberto Rosario
a728690335 Issue #56, #97, Make multi item links a drop down list of actions, remove unused code 2014-10-27 16:26:13 -04:00
Roberto Rosario
546a593e26 Use the new post version upload signal to ensure OCR starts only when all of a new
document version pages have been created
2014-10-27 05:18:25 -04:00
Roberto Rosario
20fb9dffbd Update translation sources 2014-10-25 02:50:31 -04:00
Roberto Rosario
71e8502614 Remove confirmation template's form icon 2014-10-25 02:21:44 -04:00
Roberto Rosario
e31d37ef09 Update source messages 2014-10-22 15:52:54 -04:00
Roberto Rosario
e8762e4792 Issue #87, Per document language selection 2014-10-22 02:35:16 -04:00
Roberto Rosario
549f0fdc87 Issue #75, move OCR queueing from a setting to a DocumentType model field 2014-10-21 16:53:42 -04:00
Roberto Rosario
2441d232ab Issue #86, move south migrations from the 'migrations' to the 'south_migrations' directory 2014-10-21 13:23:05 -04:00
Roberto Rosario
13f8bddeb2 Issue #56, Remove duplicate search feature 2014-10-18 02:37:04 -04:00
Roberto Rosario
0d38a1239d PEP8 cleanups 2014-10-18 00:55:55 -04:00
Roberto Rosario
1f016e6773 Issue #56, Remove obsolete OCR statistics 2014-10-14 05:06:58 -04:00
Roberto Rosario
8200204ddc Convert the 'document_save_to_temp_dir' utility function into a method of the Document model 2014-10-13 17:51:28 -04:00
Roberto Rosario
36694cc5c5 Set the ignore_result option for the tasks that don't return values 2014-10-11 02:05:40 -04:00
Roberto Rosario
9662d14e9c Issue #40, finish remaining '/' hardcoded redirects 2014-10-09 20:05:42 -04:00
Roberto Rosario
c2e35694d8 Unify the method to submit document for OCR, fix OCR error document re-queue view 2014-10-09 14:08:48 -04:00
Roberto Rosario
8bac1525be PEP8 cleanups 2014-10-08 19:39:16 -04:00
Roberto Rosario
379a34dabe Translation file synchronization 2014-10-08 17:31:51 -04:00
Roberto Rosario
f26f202c4d Use different queues for the background tasks 2014-10-03 03:22:35 -04:00
Roberto Rosario
b73ad4ad0c Issue #57, Remove the scheduler and job_processor apps 2014-10-03 02:04:10 -04:00
Roberto Rosario
a613c65fde Update the OCR app to use Celery, remove OCR config options OCR_REPLICATION_DELAY, OCR_NODE_CONCURRENT_EXECUTION, OCR_QUEUE_PROCESSING_INTERVAL 2014-10-03 01:19:59 -04:00
Roberto Rosario
74cf4c413f Import cleanups, reorganization, PEP8 cleanups 2014-10-02 02:01:08 -04:00
Roberto Rosario
06dd1b3368 Issue #39, Explicitly captalize string now that they are not capitalized blindly by the templates 2014-10-02 01:17:27 -04:00
Roberto Rosario
437c74a024 Merge branch 'master' into development 2014-10-01 05:19:51 -04:00
Roberto Rosario
c5d7e4075d Merge pull request #54 from fordguo/master
add the zh_CN support
2014-10-01 03:11:28 -04:00
Roberto Rosario
5f6438ac55 Merge branch 'feature/polish_PR_52' into development 2014-09-30 15:48:42 -04:00
Roberto Rosario
4968051b6d Don't silence OCR errors even if Tesseract is optional otherwise the user won't know happened.
Catch the OSError generic exception and return a friendlier "Tesseract not found" exception
2014-09-30 15:41:00 -04:00
Roberto Rosario
f434720617 Don't silence OCR errors at the API high level, at this layer we don't know what really happened in the backend.
Move exception handling to the backend.
2014-09-30 15:39:36 -04:00
Mathias Behrle
1cbd54dad7 Do not fail, when ocr backend is missing (#50).
- Since tesseract (i.e. an ocr backend) is an optional requiremnt of mayan, we
  shouldn't fail, if it is not found.
- S.a https://github.com/mayan-edms/mayan-edms/issues/50
2014-09-30 15:14:38 -04:00
Ford Guo
fa78a30413 change zh_CN po mo 2014-09-30 11:00:39 +08:00