Convert half the widget to HTML widgets.
Rename links and views to use the nomeclature _template_
and _instance_ to differenciate between index instances
and index templates.
Update URL parameters to use the "_id" form.
Add more tests.
Add model permission inheritance to the IndexTemplateNode,
and IndexInstanceNode models.
Remove the level and document count display from the
instance node. Display instead the total items.
Use a FilteredSelectionForm subclass to display the list
of index templates to rebuild.
Add missing icons.
Add keyword arguments to links.
Modernize tests to use the document test mixin.
Update the permission requirements for the index template
document type selection screen. The document type view
permission is now required in addition to the index
template edit permission.
Use ExternalObjectMixin to reduce the code in all views.
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>
Use Jinja2 to render the templates of the indexing,
workflows, smart links, user mailer and metadata apps.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
Add support for reindexing documents when their base properties like
the label and description are edited.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>