Merge branch 'dev' into feature-permissions

This commit is contained in:
Michael Shamoon committed 2022-12-09 03:31:26 -08:00
commit 8fad13b500
10 files changed
+380 -64

No files matched your search

+3
View File
@@ -300,6 +300,9 @@ class Document(ModelWithOwner):
return open(self.archive_path, "rb")
def get_public_filename(self, archive=False, counter=0, suffix=None) -> str:
"""
Returns a sanitized filename for the document, not including any paths.
"""
result = str(self)
if counter: