Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Removed the archive tag, as it wasnt really used anyway.

Jonas Winkler5b9f38d39891
diff --git a/src/documents/management/commands/document_retagger.py b/src/documents/management/commands/document_retagger.py
index b5853441b..2a9f32c13 100755
--- a/src/documents/management/commands/document_retagger.py
+++ b/src/documents/management/commands/document_retagger.py
@@ -51,7 +51,7 @@ class Command(Renderable, BaseCommand):
queryset = Document.objects.filter(tags__is_inbox_tag=True)
else:
queryset = Document.objects.all()
- documents = queryset.exclude(tags__is_archived_tag=True).distinct()
+ documents = queryset.distinct()
logging.getLogger(__name__).info("Loading classifier")
try:
diff --git a/src/documents/migrations/0022_workflow_improvements.py b/src/documents/migrations/0022_workflow_improvements.py
old mode 100644
new mode 100755
index cdaf4504c..20820c32c
--- a/src/documents/migrations/0022_workflow_improvements.py
+++ b/src/documents/migrations/0022_workflow_improvements.py
@@ -15,11 +15,6 @@ class Migration(migrations.Migration):
name='archive_serial_number',
field=models.IntegerField(blank=True, db_index=True, help_text='The position of this document in your physical document archive.', null=True, unique=True),
),
- migrations.AddField(
- model_name='tag',
- name='is_archived_tag',
- field=models.BooleanField(default=False, help_text='Marks this tag as an archive tag: All documents tagged with archive tags will never be modified automatically (i.e., modifying tags by matching rules)'),
- ),
migrations.AddField(
model_name='tag',
name='is_inbox_tag',
diff --git a/src/documents/mixins.py b/src/documents/mixins.py
old mode 100644
new mode 100755
diff --git a/src/documents/models.py b/src/documents/models.py
index 18fb3462a..ce5ece338 100755
--- a/src/documents/models.py
+++ b/src/documents/models.py
@@ -83,13 +83,6 @@ class Tag(MatchingModel):
"documents will be tagged with inbox tags."
)
- is_archived_tag = models.BooleanField(
- default=False,
- help_text="Marks this tag as an archive tag: All documents tagged "
- "with archive tags will never be modified automatically "
- "(i.e., modifying tags by matching rules)"
- )
-
class DocumentType(MatchingModel):