Roberto Rosario
7fbb94a8ae
Migration updates
...
Squash version page migrations.
Add manual OCR and parsing migrations.
Fix tests.
Page search updates.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-10-09 16:38:00 -04:00
Roberto Rosario
f6f9287e33
Add keyword arguments to get_object_or_404 uses
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-11 20:53:33 -04:00
Roberto Rosario
36a51eeb73
Switch to full app paths
...
Instead of inserting the path of the apps into the Python app,
the apps are now referenced by their full import path.
This solves name clashes with external or native Python libraries.
Example: Mayan statistics app vs. Python new statistics library.
Every app reference is now prepended with 'mayan.apps'.
Existing config.yml files need to be updated manually.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-05 02:02:57 -04:00
Michael Price
1fc06a350b
Consolidate the docstring of the API methods into a class docstring.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:22:35 -04:00
Michael Price
4378b28777
Update API vies and serializers for the latest Django REST framework version. Replace DRF Swagger with DRF-YASG.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 18:31:22 -04:00
Michael Price
744976e8a1
Fix flake8 warnings.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 18:30:27 -04:00
Michael Price
b4bf9bfaee
Switch to a resource and service based API from previous app based one.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 18:28:40 -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
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
97bba65668
Code style updates, change lists to tuples.
2015-08-13 15:27:22 -04:00
Roberto Rosario
4527563d89
PEP8 cleanups, specially E501 line too long.
2015-07-22 18:21:37 -04:00
Roberto Rosario
ace76fc69c
Update apps for new ACLs refactor.
2015-07-01 16:36:20 -04:00
Roberto Rosario
1c084aa07b
Split Permission and StoredPermission class and model into different modules. Simplified the Permission class.
2015-06-28 01:03:29 -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
e6754c9a6f
Update the OCR app to work based on document versions not documents, document version are the module which hold the document pages instances. Remove old OCR document queue and replace with a single module for OCR processing error entries. Increase compatibility with Django 1.7 and Python 3.
2015-01-15 03:01:43 -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