Commit Graph
75 Commits
Author SHA1 Message Date
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
Ford Guo e4cdc69ca1 add zh_CN mo files 2014-09-26 13:54:49 +08:00
Ford Guo b15100c2ea add zh_CN language 2014-09-26 11:43:53 +08:00
Mathias Behrle 034875a88a 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-25 19:31:46 +02:00
Roberto Rosario d264aac97e Update tests 2014-09-14 08:51:23 -04:00
Roberto Rosario b761037d99 Move all settings files from <app>/conf/settings.py to <app>/settings.py 2014-09-11 05:02:40 -04:00
Roberto Rosario 77acb809b9 Update view references to include namespaces 2014-09-06 17:28:40 -04:00
Roberto Rosario 76b2cdefcc Move app url namespaces updates 2014-09-06 16:30:12 -04:00
Roberto Rosario 5caf616707 German translation files update 2014-09-05 14:40:15 -04:00
Roberto Rosario b42e9badf6 Move common templates to apps/main/templates/main/* 2014-08-26 02:44:49 -04:00
Roberto Rosario 01a0d69a5f Generate new source language files 2014-07-31 20:27:52 -04:00
Roberto Rosario b98dbd83da Synchronize language translations 2014-07-28 01:22:21 -04:00
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