- Unify all conditional YAML load under utils.smart_yaml_load.
- Update all setting migrations to use the smart setting test
mixin to create the test config file.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
- Support multiple STORE commands. Defaults to +FLAGS (\Deleted)
to conserve current behavior.
- Support custom search criteria. Defaults to NOT DELETED
to converse current behavior.
- Support enabling/disabling IMAP expunge command
after each message. Defaults to True to conserve
current behavior.
- Increase functionality of the MockIMAPServer
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
- Comment field help text.
- Remove create_document_form_form.
- Use static NewVersionForm.
- Update sources document upload and new version upload view names.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
Code now resides in common.serialization in the form
of two new functions: yaml_load and yaml_dump.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
The feature can now work on emails with nested parts.
Also the metadata.yaml attachment no longer needs to be the
first attachment.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
Python's documentation is incorrect, argument name is flag_list.
Closes GitLab issue #606. Thanks to Samuel Aebi (@samuelaebi)
for the report and debug information.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
Add keyword arguments. Sort arguments and models.
Move literals to their own module. Prepend handler_ to
signal handlers.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
The setting COMMON_TEMPORARY_DIRECTORY is now
STORAGE_TEMPORARY_DIRECTORY.
Move file related utilities to the storage app.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
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>
Add support for subfolder scanning to watch folders. Closes
GitLab issue #498 and #563.
This commit adds a new field to watch folders called
"include_subdirectories".
The directory walk was also updated to use pathlib2.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
Thanks to Robert Schoeftner (@robert.schoeftner)for the report
and solution. GitLab issue #574.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>