Michael Price
e1956f8d80
Get rids of the APIEndPoint and APIResource classes. Register API url using the 'has_rest_api' AppConfig variable.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 18:30:59 -04:00
Roberto Rosario
26f6152356
Add "ocr_content" accessor to the DocumentVersion class to return
...
the ocr content.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 02:07:58 -04:00
Roberto Rosario
3fe0d47126
Remove the view to submit all document for OCR.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-24 04:04:31 -04:00
Roberto Rosario
15c5a36053
Don't error out when the document has no versions. Record
...
the document version's document as the action object.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-24 03:56:23 -04:00
Roberto Rosario
317d07a355
Refactor OCR app. Removes document parsing. Moves OCR processing to
...
model manager. Add submit and finish events.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-23 02:04:57 -04:00
Roberto Rosario
916c3497c4
Add support for downloading a document's OCR text.
...
Closes GitLab issue #215 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-01 01:07:23 -04:00
Roberto Rosario
b5858ad6f8
Add link to show a document's OCR errors. GitLab issue #291 .
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-06-21 15:57:53 -04:00
Roberto Rosario
739596e4ee
Add task manager app.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-06-21 02:25:28 -04:00
Roberto Rosario
8179c35189
Simplify test runner by adding a new option '--mayan-apps' that
...
automatically tests all Mayan apps that report to have tests.
Change the app flag that indicates when an app has test
from 'test' to the more explicit 'has_test'.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-14 23:47:40 -04:00
Roberto Rosario
6e3d99670c
Complete conversion of download views to CBV views using django-downloadview.
...
This also removes dependency on the filetransfers library.
2016-10-31 01:00:35 -04:00
Roberto Rosario
b8b2e0e929
Initial commit to support per page search.
2016-10-27 02:48:40 -04:00
Roberto Rosario
f66f815ba6
Remove the installation app
2016-10-26 23:04:59 -04:00
Roberto Rosario
27d8644438
Silence 90% of remaining Django 1.8 model warnings.
2016-01-28 05:43:08 -04:00
Roberto Rosario
d5c73eaad6
Rename the 'Content' search label to 'OCR' for proper meaning.
2016-01-28 04:42:26 -04:00
Roberto Rosario
6b3fe7a876
Fix futher Django Warnings.
2016-01-22 04:52:47 -04:00
Roberto Rosario
b19225e95d
Load models by calling AppConfig.get_model method instead.
2016-01-22 03:59:42 -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
976a86947e
Add management command to run tests from app list built dynamically.
2015-10-10 03:24:57 -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
59ae20a867
Make task delay a configurable setting.
2015-09-23 01:09:21 -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
683e54fea1
Replace unused lists with tuples.
2015-08-19 13:57:38 -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
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
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
653a145914
Add tool view to perform OCR on all documents at once.
2015-07-17 13:04:51 -04:00
Roberto Rosario
133fcdc53c
Assign tasks to specific queues. Add support for transient queues. gh-issue #222 , gh-issue #230 .
2015-07-10 21:25:20 -04:00
Roberto Rosario
8727f093e0
Don't initialize a document type's OCR settings via the view, do so via signal on document type creation.
2015-07-06 01:36:17 -04:00
Roberto Rosario
ee1b05fb57
Refactor code to associate a model with a set of permissions. Update related apps.
2015-06-30 22:00:14 -04:00
Roberto Rosario
d26402974a
Allow registering permission from the permission namespace. Replace all permission variables to be lowercase (style guide reserver uppercase variables for constants and literals).
2015-06-28 00:19:49 -04:00
Roberto Rosario
48df3dcafa
PEP8 cleanups
2015-06-24 17:11:24 -04:00
Roberto Rosario
e9282132e5
Split search field registration to their respective apps
2015-06-24 15:19:51 -04:00
Roberto Rosario
72b91b79ac
Move document type's OCR settings from the documents app to the OCR app
2015-06-24 01:52:33 -04:00
Roberto Rosario
b4efd4574e
Refactor register_model_columns into SourceColumn class
2015-06-23 04:12:13 -04:00
Roberto Rosario
e4623fadcd
PEP8 cleanups
2015-06-23 02:23:23 -04:00
Roberto Rosario
78198f3398
Smart settings refactor
2015-06-22 21:04:06 -04:00
Roberto Rosario
50e547dc98
Allow app to auto add their urlpatterns via MayanAppConfig AppConfig subclass
2015-06-19 20:42:34 -04:00
Roberto Rosario
2959539083
Add missing import
2015-06-17 00:25:51 -04:00
Roberto Rosario
9f2f10b702
Register PERMISSION_OCR_CONTENT_VIEW permission to the document model
2015-06-17 00:23:48 -04:00
Roberto Rosario
08a8ae2554
Move document page content code to the OCR app. Prep work for issue #186 .
2015-06-17 00:21:35 -04:00
Roberto Rosario
74bd69b61c
Remove OCR cleanup view
2015-06-09 03:29:15 -04:00
Roberto Rosario
12cdee6de2
Move signal handlers into their own app module
2015-04-07 17:01:07 -04:00
Roberto Rosario
23fc9f1e36
Merge main and common apps, extract authentication functionality to new authentication app. Closes issues #179 and #180
2015-04-06 16:09:54 -04:00
Roberto Rosario
73a24b71b3
Convert more apps to new navigation system
2015-04-04 18:47:16 -04:00
Roberto Rosario
51ce5ca057
Consolidate navigation tags, consolidate setup and tool link
2015-04-03 20:51:02 -04:00
Roberto Rosario
57fd943c9d
Repurpose the installtion app for it's original intent which was let apps report on their dependencies and if they were met. This commit removes two more Python dependencies: GitPython and psutil.
2015-04-01 13:20:35 -04:00