Compare commits
5 Commits
features/d
...
nightly
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
091f0d1cfd | ||
|
|
d2affdcf21 | ||
|
|
885d430b98 | ||
|
|
575e42357a | ||
|
|
f6ad579829 |
@@ -1,6 +1,11 @@
|
|||||||
|
Importer branch
|
||||||
|
===============
|
||||||
|
* Add a reusable task to upload documents.
|
||||||
|
* Add MVP of the importer app.
|
||||||
|
|
||||||
3.2.4 (2019-06-XX)
|
3.2.4 (2019-06-XX)
|
||||||
==================
|
==================
|
||||||
* Support configurable GUnicorn timeouts. Defaults to
|
* Support configurable GUnicorn timeouts. Defaults to
|
||||||
current value of 120 seconds.
|
current value of 120 seconds.
|
||||||
|
|
||||||
3.2.3 (2019-06-21)
|
3.2.3 (2019-06-21)
|
||||||
@@ -8,7 +13,7 @@
|
|||||||
* Add support for disabling the random primary key
|
* Add support for disabling the random primary key
|
||||||
test mixin.
|
test mixin.
|
||||||
* Add a reusable task to upload documents.
|
* Add a reusable task to upload documents.
|
||||||
* Add MVP of the importer app.
|
* Add MVP of the importer app.
|
||||||
* Fix mailing profile log columns mappings.
|
* Fix mailing profile log columns mappings.
|
||||||
GitLab issue #626. Thanks to Jesaja Everling (@jeverling)
|
GitLab issue #626. Thanks to Jesaja Everling (@jeverling)
|
||||||
for the report.
|
for the report.
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ Remove deprecated requirements::
|
|||||||
|
|
||||||
Type in the console::
|
Type in the console::
|
||||||
|
|
||||||
$ pip install mayan-edms==3.2.1
|
$ pip install mayan-edms==3.2.2
|
||||||
|
|
||||||
the requirements will also be updated automatically.
|
the requirements will also be updated automatically.
|
||||||
|
|
||||||
@@ -104,5 +104,6 @@ Bugs fixed or issues closed
|
|||||||
|
|
||||||
- :gitlab-issue:`614` change type exception
|
- :gitlab-issue:`614` change type exception
|
||||||
- :gitlab-issue:`615` TypeError: success() got an unexpected keyword argument 'requrest'
|
- :gitlab-issue:`615` TypeError: success() got an unexpected keyword argument 'requrest'
|
||||||
|
- :gitlab-issue:`617` Watcher Task not running
|
||||||
|
|
||||||
.. _PyPI: https://pypi.python.org/pypi/mayan-edms/
|
.. _PyPI: https://pypi.python.org/pypi/mayan-edms/
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ def task_upload_new_document(self, document_type_id, shared_uploaded_file_id, ex
|
|||||||
)
|
)
|
||||||
|
|
||||||
metadata_type, created = MetadataType.objects.get_or_create(
|
metadata_type, created = MetadataType.objects.get_or_create(
|
||||||
label=pair['name'], defaults={'name': name}
|
label=pair['name'], name=name
|
||||||
)
|
)
|
||||||
if not new_document.document_type.metadata.filter(metadata_type=metadata_type).exists():
|
if not new_document.document_type.metadata.filter(metadata_type=metadata_type).exists():
|
||||||
logger.debug('Metadata type created')
|
logger.debug('Metadata type created')
|
||||||
|
|||||||
Reference in New Issue
Block a user