Roberto Rosario
7be25df7d0
Remove star import from the ACL and Common apps
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-15 18:45:25 -04:00
Roberto Rosario
456c322c19
Move add_to_class functions to their own module
...
* The new module is called methods.py and found on each app.
* Add keyword arguments to add_to_class instances.
* Remove catch all exception handling for the check in and
check out views.
* Improve checkouts tests code reducing redundant code.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-11 18:03:53 -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
Roberto Rosario
0f8825454d
Add link and view to show the content of parsed text for each document page.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-05 23:47:10 -04:00
Roberto Rosario
a076c751ad
Add support for reindexing document on content parsing changes.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-03 15:13:19 -04:00
Roberto Rosario
03c54395cc
Refactor the ModelAttribute class into two separate classes: ModelAttribute for executable model attributes and ModelField for actual ORM fields. Expose more document fields for use in smart links.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 02:43:04 -04:00
Roberto Rosario
3eb68db323
Instead of the document content view, the document type parsing setup permissions is now required to view the parsing error list. The document type parsing setup permission can now be granted for individual document types.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-27 03:52:26 -04:00
Roberto Rosario
b5d79f42a9
Add the option to enable or disable parsing when uploading a document for each document type. Add a new setting option to enable automatic parsing for each new document type created.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-10 04:02:41 -04:00
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
a11d274d16
Add the "content" accessor to the DocumentVersion model to
...
return the parsed content.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 02:08:29 -04:00
Roberto Rosario
a7eaf6b368
Finish the document parsing app.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-24 03:54:07 -04:00
Roberto Rosario
e9591c92f9
Initial commit of the document parsing app.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-23 02:23:14 -04:00