Update permission variable name from
"permission_document_metadata_" to "permission_metadata_".
Fix failing tests.
Add test for same metadata type mixin.
Split metadata add and remove test into test for GET and
POST requests.
Remove use of urlencode and instead use furl.
Simplify view using self.action_count and
self.action_id_list.
Use ExternalObjectMixin to remove repeated code.
Move the repeated code to test for all documents to
be of the same type into its own mixin.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
Now that the automatic OCR, parsing and file metadata processing
are turned off by the test setting file, these overrides in the
tests are not needed anymore.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
Instead of inserting the path of the apps into the Python app,
the apps are now referenced by their full import path.
This app name claves 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>
Perform model validation on document type metadata type and
document type API endpoints.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>