Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

squatter: do not hold mailbox locks while calling the attachment extract service #4480

Merged
merged 23 commits into from
Jul 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
1731d30
attachextract: refactor attachment text extractor from index.c
rsto Mar 14, 2023
380885c
attachextract: split extract arguments in content and metadata
rsto Apr 6, 2023
101b589
message_guid: add clone function as alternative to copy
rsto Apr 6, 2023
fa171d1
cassandane: add NoCheckSyslog magic to omit syslog error checks
rsto Apr 12, 2023
8230fc1
dynarray: make initializing dynarrays nicer
rsto Apr 13, 2023
d72ae3b
strarray: add helpers to return newly inserted value
rsto Apr 12, 2023
d865ebf
attachextract: optionally cache extracted attachment text on disk
rsto Apr 14, 2023
6181dfa
TestCase: add strictly less-than and greater-than asserts
rsto Apr 20, 2023
ba7fc3a
squatter: release mailbox lock while extracting attachments
rsto Apr 20, 2023
0646729
attachextract: add options to handle timeout and idle connections
rsto May 15, 2023
2413023
attachextract: reset backend if GET request times out
rsto May 23, 2023
caa7e80
attachextract: fix jump-over-init error
rsto May 24, 2023
8c45f9a
attachextract: log error from HTTP client before resetting it
rsto May 24, 2023
0fd4718
attachextract: log error when HTTP request could not be sent
rsto May 25, 2023
7f639d8
attachextract: reconnect to extractor if connection expired
rsto May 31, 2023
a35219e
attachextract: do not pass charset parameter to extractor
rsto Jun 1, 2023
6a2b42a
index: update list of unwanted attachment mime types
rsto Jun 1, 2023
d7be3a7
attachextract: make syslogs less noisy
rsto Jun 1, 2023
008c834
attachextract: add debug log when reusing open socket
rsto Jun 15, 2023
60a2555
attachextract: retry sending HTTP request on error
rsto Jun 15, 2023
d5a03ff
attachextract: reset extractor connection on any error
rsto Jun 15, 2023
485bd96
squatter: do not index JMAP upload and notification mailboxes
rsto Jun 15, 2023
406fa26
attachextract: do not handle unprocessable content as error
rsto Jun 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,7 @@ cunit_TESTS = \
cunit/mboxname.testc \
cunit/md5.testc \
cunit/message.testc \
cunit/message_guid.testc \
cunit/msgid.testc \
cunit/parseaddr.testc \
cunit/parse.testc \
Expand Down Expand Up @@ -1011,6 +1012,8 @@ imap_libcyrus_imap_la_SOURCES = \
imap/annotate.h \
imap/append.c \
imap/append.h \
imap/attachextract.c \
imap/attachextract.h \
imap/backend.c \
imap/backend.h \
imap/conversations.c \
Expand Down
Loading