Add the attachment-only option to a source

The upload request can now contain a boolean for importing only
attachments when e-mails are uploaded. This option is now also added
to a source url.

Refs: #983
This commit is contained in:
eikek
2021-08-23 14:19:11 +02:00
parent 45f6357f49
commit 993a391c13
9 changed files with 71 additions and 7 deletions

View File

@ -584,7 +584,8 @@ trait Conversions {
s.source.folderId,
s.source.fileFilter,
s.source.language,
s.source.created
s.source.created,
s.source.attachmentsOnly
),
TagList(s.tags.length, s.tags.map(mkTag).toList)
)
@ -602,7 +603,8 @@ trait Conversions {
now,
s.folder,
s.fileFilter,
s.language
s.language,
s.attachmentsOnly
)
}
@ -618,7 +620,8 @@ trait Conversions {
s.created,
s.folder,
s.fileFilter,
s.language
s.language,
s.attachmentsOnly
)
// equipment