Commit Graph

251 Commits

Author SHA1 Message Date
Roberto Rosario
31846a739d Change the document OCR tab label and view title from 'Content' to 'OCR', to eliminate confusion of OCR text vs. original document content. 2015-10-25 01:59:07 -04:00
Roberto Rosario
475ceb054f OCR errors are deleted at the next successfull retry, remove redundant option to delete OCR log entries. 2015-10-21 04:07:20 -04:00
Roberto Rosario
71ac2cbf79 With full document OCR queue and per document type OCR queuing, re_queueing OCR errors is redundant, removing. 2015-10-21 03:58:09 -04:00
Roberto Rosario
df7a5c6e1c Reorganize tests literals and move then to their respective apps. 2015-10-20 21:14:07 -04:00
Roberto Rosario
f9940f1fd0 Add default_app_config value to each app. Closes issue GL #216. 2015-10-19 02:57:00 -04:00
Roberto Rosario
976a86947e Add management command to run tests from app list built dynamically. 2015-10-10 03:24:57 -04:00
Roberto Rosario
86ff835839 PEP8 Cleanups. 2015-10-07 22:24:44 -04:00
Roberto Rosario
c9d9f90cac Improve OCR API views code. 2015-10-07 03:13:46 -04:00
Roberto Rosario
a814448c81 Change OCR API CBV class names to match rest of the project. 2015-10-07 02:44:55 -04:00
Roberto Rosario
41ede494db Add API views to submit documents for OCR and to retrieve document page OCR content. 2015-10-06 23:22:08 -04:00
Roberto Rosario
942b6af502 Add admin views for document ocr content. 2015-10-06 23:21:31 -04:00
Roberto Rosario
14184b8c76 Add view to queue document for OCR by document type. 2015-09-27 01:37:57 -04:00
Roberto Rosario
500f870c78 Do a force pull of all translations and a compile. 2015-09-25 04:18:04 -04:00
Roberto Rosario
8629e6495e Translation source files updates. Add translator comments. Thanks to Berny for these. 2015-09-24 16:30:19 -04:00
Roberto Rosario
c9b981f07a Update translation sources and compiles files. 2015-09-24 01:44:03 -04:00
Roberto Rosario
59ae20a867 Make task delay a configurable setting. 2015-09-23 01:09:21 -04:00
Roberto Rosario
079c06c207 Don't reference document_version in error messages as if might not exists yet. 2015-09-19 22:07:52 -04:00
Roberto Rosario
bc66c68450 Add a 1 second delay to automatic OCR to avoid tasking OCR before document version is available in DB. 2015-09-19 21:47:59 -04:00
Roberto Rosario
60e64b92fd PEP8 Cleanup (495 warnings). 2015-09-16 09:33:16 -04:00
Roberto Rosario
6ca6cd9f21 PEP8 Cleanusp (549 warnings). 2015-09-16 04:15:10 -04:00
Roberto Rosario
e1a04d9838 Convert document trash view to CBV. Improve ConfirmView based CBVs. 2015-09-15 02:02:38 -04:00
Roberto Rosario
02353927db Improve admin interfaces. 2015-09-08 18:13:22 -04:00
Roberto Rosario
3e3eca4c0e Update all tests to use setting value overriding. 2015-09-06 04:01:40 -04:00
Roberto Rosario
f59b96ac5e Update the document type auto ocr value to be defined at runtime by turning it into a setting. 2015-09-06 04:00:37 -04:00
Roberto Rosario
574f3d2d66 Synchronize and compile translation files. 2015-08-27 01:33:14 -04:00
Roberto Rosario
709e9208aa Update source translation files. 2015-08-27 01:25:33 -04:00
Roberto Rosario
d007214d39 Update language translations. 2015-08-24 01:40:22 -04:00
Roberto Rosario
2c93c5d8c2 Update translation source files. 2015-08-24 00:34:08 -04:00
Roberto Rosario
fa3633fbe8 Remove empty language files locales: sq, zh_TW, hr_HR, de_CH, lv, nb, tr_TR. 2015-08-20 19:40:05 -04:00
Roberto Rosario
c030b91528 Update translation files. 2015-08-20 19:35:24 -04:00
Roberto Rosario
f2ccfa16d5 Update source language files. Make lock manager and storage translatable. 2015-08-20 15:35:06 -04:00
Roberto Rosario
93553e84c2 Text string tweaks as per translation discussions. Thanks to Berny. 2015-08-20 14:41:00 -04:00
Roberto Rosario
683e54fea1 Replace unused lists with tuples. 2015-08-19 13:57:38 -04:00
Roberto Rosario
4fb86fba14 Re-estructure tests to cleanup the apps' namespace. 2015-08-18 23:06:26 -04:00
Roberto Rosario
60bc327756 Improve SourceColumn workflow by allowing explicit functions as columns. Remove usage of encapsulate. Move instances of 'extra_columns' to SourceColumn. 2015-08-16 14:26:41 -04:00
Roberto Rosario
561b56b12a Replace usage of get_context_data with get_extra_context. 2015-08-15 03:02:02 -04:00
Roberto Rosario
f7f2135cad Convert OCR error entry list view to CBV. 2015-08-14 14:54:32 -04:00
Roberto Rosario
97bba65668 Code style updates, change lists to tuples. 2015-08-13 15:27:22 -04:00
Roberto Rosario
d04117d345 PEP8 and code style cleanups. Replace lists with tuples. 2015-08-12 04:41:59 -04:00
Roberto Rosario
3fd73739a6 Update translation source files and language processing script. 2015-08-11 02:27:18 -04:00
Roberto Rosario
bec85f38f4 Text parsers and OCR backends are now used in tandem for each document. 2015-08-08 04:49:08 -04:00
Roberto Rosario
cf00ba2c40 PEP8 and minor cleanups, fixes. 2015-08-07 03:45:46 -04:00
Roberto Rosario
960d60c39d Refactor rest_api app and the method end points are registered. All apps API URL endpoints are now registered under the 'rest_api' namespace.
Update DRF and DRF swagger versions. Update all apps API registration method.
2015-08-06 02:56:17 -04:00
Roberto Rosario
8382df91a6 Update PDF text parser classes. Remove SlateParser and substitute with a PDFMiner based parser. 2015-07-31 02:09:48 -04:00
Roberto Rosario
1361ea9b42 Remove dependency on slate to calculate page number in PDF files. 2015-07-31 02:09:10 -04:00
Roberto Rosario
fc9f9f1e68 Replace more unnecessary lists with tuples. 2015-07-28 01:41:45 -04:00
Roberto Rosario
3b728328ad PEP8 cleanups, E501. 2015-07-23 04:05:29 -04:00
Roberto Rosario
4527563d89 PEP8 cleanups, specially E501 line too long. 2015-07-22 18:21:37 -04:00
Roberto Rosario
eea163be5a Grab language code directly from language choices. 2015-07-18 04:05:44 -04:00
Roberto Rosario
ec9d7d09a1 Include in context the document for which OCR will be queued. 2015-07-18 03:57:45 -04:00