]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Thu, 4 Aug 2011 13:16:20 +0000 (16:16 +0300)]
fts-lucene: Don't crash when trying to search an unsearchable word.
Timo Sirainen [Thu, 4 Aug 2011 12:49:49 +0000 (15:49 +0300)]
fts-lucene: Fixed checking if we need to track expunges or optimize.
Timo Sirainen [Thu, 4 Aug 2011 12:44:33 +0000 (15:44 +0300)]
fts-lucene: Fixed handling expunges
Timo Sirainen [Thu, 4 Aug 2011 12:40:30 +0000 (15:40 +0300)]
fts: Clear updating flag on update deinit.
Timo Sirainen [Thu, 4 Aug 2011 12:08:44 +0000 (15:08 +0300)]
fts: Define pkglibexecdir explicitly in Makefile.am, since older automakes don't.
Timo Sirainen [Thu, 4 Aug 2011 11:49:36 +0000 (14:49 +0300)]
fts: Added a bit more error checking to decode2text.sh
Timo Sirainen [Thu, 4 Aug 2011 11:13:39 +0000 (14:13 +0300)]
fts: force-resync now calls optimize on the backend.
This mainly works with Lucene backend to recheck what messages actually
exist.
Timo Sirainen [Thu, 4 Aug 2011 11:12:56 +0000 (14:12 +0300)]
fts: NULs weren't still handled correctly in message headers.
Timo Sirainen [Thu, 4 Aug 2011 11:12:30 +0000 (14:12 +0300)]
fts-lucene: Don't crash if optimize can't open the index.
Timo Sirainen [Thu, 4 Aug 2011 11:12:11 +0000 (14:12 +0300)]
fts-lucene: If optimize doesn't find an index, set all UIDs as missing.
Timo Sirainen [Thu, 4 Aug 2011 10:48:14 +0000 (13:48 +0300)]
fts-lucene: Delete stale write locks.
Timo Sirainen [Thu, 4 Aug 2011 10:42:49 +0000 (13:42 +0300)]
fts: Install decode2text to libexecdir.
Timo Sirainen [Thu, 4 Aug 2011 10:40:43 +0000 (13:40 +0300)]
fts: decode2text added support for openxml and opendocument formats
Timo Sirainen [Thu, 4 Aug 2011 10:38:51 +0000 (13:38 +0300)]
fts: Added xml2text binary
Timo Sirainen [Thu, 4 Aug 2011 10:05:26 +0000 (13:05 +0300)]
fts: HTML parser now makes sure space is added for each <tag>
This could be smarter though, like not doing this for <span>, but it gets a
bit complex..
Timo Sirainen [Wed, 3 Aug 2011 17:44:43 +0000 (20:44 +0300)]
lib-storage: Don't crash listing subscription entry of "ns prefix" without separator.
Timo Sirainen [Wed, 3 Aug 2011 17:29:53 +0000 (20:29 +0300)]
doveadm server: Non-proxying mode may not have worked.
Timo Sirainen [Wed, 3 Aug 2011 17:29:16 +0000 (20:29 +0300)]
eacces_error_get*(): Handle non-int struct stat.st_mode properly.
Timo Sirainen [Wed, 3 Aug 2011 16:06:37 +0000 (19:06 +0300)]
Merged changes from v2.0 tree.
Timo Sirainen [Wed, 3 Aug 2011 15:59:07 +0000 (18:59 +0300)]
fts: Don't pass NUL bytes to FTS backend. It can confuse them.
Timo Sirainen [Wed, 3 Aug 2011 15:58:45 +0000 (18:58 +0300)]
fts: Fixed a crash in HTML parser.
Timo Sirainen [Wed, 3 Aug 2011 15:54:19 +0000 (18:54 +0300)]
fts: Crashfix.
Timo Sirainen [Tue, 2 Aug 2011 10:29:47 +0000 (13:29 +0300)]
i_getgr*(): OpenBSD workaround is now only used for <5.0.
Patch by Brad.
Timo Sirainen [Fri, 29 Jul 2011 11:30:32 +0000 (14:30 +0300)]
lib-storage: mailbox_list_mailbox() now returns INBOX as nonexistent if it physically doesn't exist.
This is important for MAILBOX_LIST_ITER_NO_AUTO_BOXES to work correctly with
Maildir++ layout INBOX.
Timo Sirainen [Fri, 29 Jul 2011 11:29:01 +0000 (14:29 +0300)]
lib-storage: Added auto_boxes parameter to mailbox_exists().
Timo Sirainen [Fri, 29 Jul 2011 11:21:13 +0000 (14:21 +0300)]
lib-storage: Unit test fix
Timo Sirainen [Fri, 29 Jul 2011 10:41:04 +0000 (13:41 +0300)]
dsync: Crashfix
Timo Sirainen [Fri, 29 Jul 2011 09:25:52 +0000 (12:25 +0300)]
lib-storage: renaming mailboxes under different parent was broken in fs layout
If alt storage was used with sdbox or if index or control dirs were used,
renaming "foo" to "bar/foo" would result "foo" not being renamed for those
directories.
Timo Sirainen [Thu, 28 Jul 2011 21:04:20 +0000 (00:04 +0300)]
lib-storage: Removed unnecessary NULL checks.
Timo Sirainen [Thu, 28 Jul 2011 14:46:37 +0000 (17:46 +0300)]
lib-storage: Fixed crashing on "NOT <nonexistent sequence>" search.
Timo Sirainen [Thu, 28 Jul 2011 14:23:01 +0000 (17:23 +0300)]
fts: Added attachment decoding via an external script.
Timo Sirainen [Thu, 28 Jul 2011 14:01:26 +0000 (17:01 +0300)]
lib-mail: Added message_decoder_set_return_binary()
Timo Sirainen [Thu, 28 Jul 2011 14:01:09 +0000 (17:01 +0300)]
lib-storage: mail->saving was set too late, which could have caused crashes.
Timo Sirainen [Thu, 28 Jul 2011 14:00:29 +0000 (17:00 +0300)]
lmtp: Crashfix
Timo Sirainen [Thu, 28 Jul 2011 13:59:56 +0000 (16:59 +0300)]
"script" service API changed to provide more functionality.
Timo Sirainen [Thu, 28 Jul 2011 09:23:06 +0000 (12:23 +0300)]
mdbox: Crashfix
Timo Sirainen [Thu, 28 Jul 2011 09:08:10 +0000 (12:08 +0300)]
imap: FETCH BODY[HEADER.FIELDS (..)] may have tried to fetch garbage field names.
Such situations were quite likely to cause a crash though.
Timo Sirainen [Wed, 27 Jul 2011 16:46:01 +0000 (19:46 +0300)]
imap-quota: Don't crash if invalid mailbox name is given to GETQUOTAROOT.
Timo Sirainen [Wed, 27 Jul 2011 14:58:27 +0000 (17:58 +0300)]
fts: Strip text/html mails to plaintext before sending them to FTS backend.
Timo Sirainen [Wed, 27 Jul 2011 11:53:52 +0000 (14:53 +0300)]
solr-schema: Version number is Solr's schema version, not Dovecot version.
Timo Sirainen [Tue, 26 Jul 2011 12:09:02 +0000 (15:09 +0300)]
IMAP: Implemented the rest of FUZZY extension.
Timo Sirainen [Tue, 26 Jul 2011 12:04:57 +0000 (15:04 +0300)]
lib-storage: Sorting by relevancy returned messages in reverse order.
Timo Sirainen [Tue, 26 Jul 2011 11:11:23 +0000 (14:11 +0300)]
s/search score/search relevancy/
Timo Sirainen [Tue, 26 Jul 2011 11:10:47 +0000 (14:10 +0300)]
fts-lucene: Added fuzzy search support.
Timo Sirainen [Tue, 26 Jul 2011 11:10:41 +0000 (14:10 +0300)]
fts-solr: Added fuzzy search support.
Timo Sirainen [Tue, 26 Jul 2011 11:09:49 +0000 (14:09 +0300)]
lib-storage: Added FUZZY search key that adds fuzzy=TRUE to its child args.
Timo Sirainen [Tue, 26 Jul 2011 10:55:22 +0000 (13:55 +0300)]
lib-storage: Search query building no longer converts strings to decomposed titlecase.
Timo Sirainen [Tue, 26 Jul 2011 10:54:23 +0000 (13:54 +0300)]
fts-squat: Convert search key to decomposed titlecase instead of assuming it is.
Timo Sirainen [Tue, 26 Jul 2011 10:52:20 +0000 (13:52 +0300)]
lib-mail: message_search_init() now converts search key to decomposed titlecase.
Timo Sirainen [Tue, 26 Jul 2011 10:38:35 +0000 (13:38 +0300)]
fts: Convert input text to decomposed titlecase only for Squat backend.
Lucene and Solr can handle case-insensitivity internally.
Timo Sirainen [Fri, 22 Jul 2011 10:52:27 +0000 (13:52 +0300)]
doveadm dump: Added fts support.
Timo Sirainen [Fri, 22 Jul 2011 10:52:16 +0000 (13:52 +0300)]
fts: Make sure build_more() is called at least once, even when message is 0 bytes.
Timo Sirainen [Fri, 22 Jul 2011 10:51:57 +0000 (13:51 +0300)]
fts: Make sure fts_index_get_last_uid() gets the latest value from index.
Timo Sirainen [Fri, 22 Jul 2011 10:21:59 +0000 (13:21 +0300)]
fts: Redesigned/enhanced FTS API and how virtual plugin works with it.
The changes include:
- Only indexer process and "doveadm index" do FTS indexing now. Other
processes connect to the indexer process via UNIX socket and request
indexing a specific mailbox.
- FTS backends can now index/search any search key. Current backends
implement indexing for some specific header fields (Subject, From, To, Cc,
Bcc), but it would also be possible to add indexing for e.g. message size
or date.
- CLucene support is fixed and fully functional.
- Solr is split to "solr" and "solr_old" backends. The new "solr" backend
supports the new header fields. It also uses mailbox GUIDs as mailbox
identifiers, so that renaming a mailbox doesn't require reindexing.
The "solr_old" uses the old Solr schema and doesn't support any new features.
Timo Sirainen [Fri, 22 Jul 2011 10:13:29 +0000 (13:13 +0300)]
Added uni_utf8_strlen().
Timo Sirainen [Fri, 22 Jul 2011 10:11:26 +0000 (13:11 +0300)]
lib-storage: mailbox_exists() now returns NOSELECT for invalid mailbox names instead of error.
Timo Sirainen [Fri, 22 Jul 2011 10:10:41 +0000 (13:10 +0300)]
lib-storage: Error handling fix for FS layout.
Timo Sirainen [Fri, 22 Jul 2011 10:10:09 +0000 (13:10 +0300)]
lib-mail: Added message_header_is_address()
Timo Sirainen [Fri, 22 Jul 2011 10:09:40 +0000 (13:09 +0300)]
indexer: Fixed loading some plugins when using configure --without-shared-libs.
Timo Sirainen [Fri, 22 Jul 2011 10:09:14 +0000 (13:09 +0300)]
indexer: Send OK reply to client with the given tag.
Timo Sirainen [Fri, 22 Jul 2011 10:08:39 +0000 (13:08 +0300)]
indexer: When worker disconnects, forget which user it was attached to.
This fixes an assert crash.
Timo Sirainen [Tue, 12 Jul 2011 06:59:34 +0000 (09:59 +0300)]
lib-lda: Do INBOX GUID deduplication based on mailbox GUID, not username.
This should be a bit more reliable.
Timo Sirainen [Tue, 12 Jul 2011 06:58:29 +0000 (09:58 +0300)]
lib-mail: Make a mail_guid_128_t typedef.
Timo Sirainen [Sat, 2 Jul 2011 04:08:26 +0000 (07:08 +0300)]
lib-storage: Renamed mail_search_arg.not to match_not.
C++ compilers don't like the "not".
Timo Sirainen [Sat, 2 Jul 2011 02:40:54 +0000 (05:40 +0300)]
lib-storage: Made mailbox_list_mkdir_root() public
Timo Sirainen [Sat, 2 Jul 2011 02:38:45 +0000 (05:38 +0300)]
lib-storage: mkdir APIs changed.
Timo Sirainen [Thu, 30 Jun 2011 05:54:04 +0000 (08:54 +0300)]
Fixed compiling ldap/sql/gssapi plugins.
I couldn't figure out any way to disable NOPLUGIN_FLAGS only for those
plugins, so those flags are now always disabled for lib-sql library and auth
binaries.
Timo Sirainen [Thu, 30 Jun 2011 05:35:43 +0000 (08:35 +0300)]
lmtp: Error message update
Timo Sirainen [Thu, 30 Jun 2011 05:34:28 +0000 (08:34 +0300)]
lmtp client: Do corking when sending message data.
Timo Sirainen [Thu, 30 Jun 2011 05:27:32 +0000 (08:27 +0300)]
lmtp: Log the current state in disconnect message.
Timo Sirainen [Thu, 30 Jun 2011 05:00:07 +0000 (08:00 +0300)]
lib-storage: Fixed /chroot/./home style chrooting from userdb home.
Timo Sirainen [Thu, 30 Jun 2011 04:26:01 +0000 (07:26 +0300)]
liblib: Don't try to send a log prefix to log process if there is none.
Timo Sirainen [Wed, 29 Jun 2011 19:03:24 +0000 (22:03 +0300)]
imapc: Fixed previous UID EXPUNGE fix.
Timo Sirainen [Wed, 29 Jun 2011 09:34:53 +0000 (12:34 +0300)]
imapc: Fixed using UID EXPUNGE for multiple messages
Timo Sirainen [Tue, 28 Jun 2011 00:59:26 +0000 (03:59 +0300)]
doveadm: Fixed displaying output when using -A or -u wildcards.
Timo Sirainen [Tue, 28 Jun 2011 00:31:22 +0000 (03:31 +0300)]
doveadm acl: Updated usage string.
Timo Sirainen [Mon, 27 Jun 2011 23:49:46 +0000 (02:49 +0300)]
lib-storage: Changed userdb +key=value to key+=value
Timo Sirainen [Mon, 27 Jun 2011 23:41:06 +0000 (02:41 +0300)]
lib-lda: waitpid() for executed sendmail binary wasn't called correctly.
It may have failed with -ECHILD, if the sendmail binary itself forked other
processes.
Timo Sirainen [Mon, 27 Jun 2011 23:31:12 +0000 (02:31 +0300)]
imap: Don't crash if mailbox UIDVALIDITY is zero when SELECTing a mailbox.
Timo Sirainen [Mon, 27 Jun 2011 23:23:10 +0000 (02:23 +0300)]
mdbox: Minor code cleanup.
Timo Sirainen [Mon, 27 Jun 2011 23:22:58 +0000 (02:22 +0300)]
mdbox: Log an error if uidvalidity=0 unexpectedly.
Timo Sirainen [Mon, 27 Jun 2011 20:48:06 +0000 (23:48 +0300)]
fts: Replaced unnecessary lock()/unlock() from API with refresh()
Timo Sirainen [Mon, 27 Jun 2011 20:40:13 +0000 (23:40 +0300)]
fts: Removed the separation of "substring" and "fast" fts backends and search keys.
No one wants to use two separate backends and it just makes the code more
difficult.
Timo Sirainen [Mon, 27 Jun 2011 20:03:00 +0000 (23:03 +0300)]
doveadm index: Added -q option to do indexing via the new indexer service.
Timo Sirainen [Mon, 27 Jun 2011 20:02:40 +0000 (23:02 +0300)]
Added "indexer" service, which uses worker processes to perform queued mailbox indexing.
Only a single worker process will index the same user at the same time. This
avoids lock waits, especially when doing full text search indexing with
backends that require locking.
Timo Sirainen [Mon, 27 Jun 2011 19:58:49 +0000 (22:58 +0300)]
liblib: Added [tp]_strsplit_tabescaped()
Timo Sirainen [Mon, 27 Jun 2011 19:58:31 +0000 (22:58 +0300)]
lib-master: Added master_service_set_idle_die_callback()
Timo Sirainen [Mon, 27 Jun 2011 19:57:56 +0000 (22:57 +0300)]
master process now tells its children their service's process_limit.
Timo Sirainen [Sun, 26 Jun 2011 16:34:00 +0000 (19:34 +0300)]
Merged changes from v2.0 tree.
Timo Sirainen [Sun, 26 Jun 2011 16:11:52 +0000 (19:11 +0300)]
doveadm: Minor code cleanup
Timo Sirainen [Thu, 23 Jun 2011 17:00:16 +0000 (20:00 +0300)]
lib-storage: Error message fix.
Timo Sirainen [Thu, 23 Jun 2011 17:00:04 +0000 (20:00 +0300)]
lib-storage: Treat "INBOX" in INBOX/children also case-insensitively.
Timo Sirainen [Wed, 22 Jun 2011 17:26:24 +0000 (20:26 +0300)]
lib-storage: Fixed +key=value support to actually work.
Timo Sirainen [Wed, 22 Jun 2011 17:16:16 +0000 (20:16 +0300)]
lib-storage: MAILBOX_SYNC_FLAG_PRECACHE did nothing when mail_debug=yes
Timo Sirainen [Thu, 16 Jun 2011 13:37:42 +0000 (16:37 +0300)]
ssl-params: Make sure we don't leak a timeout.
Timo Sirainen [Tue, 14 Jun 2011 13:59:57 +0000 (16:59 +0300)]
Moved the main functionality from "doveadm index" to MAILBOX_SYNC_FLAG_PRECACHE
This also allows plugins to hook into the sync and implement their own
precaching easily. fts indexing is now done this way rather than kludging.
Timo Sirainen [Tue, 14 Jun 2011 13:28:55 +0000 (16:28 +0300)]
Merged changes from v2.0 tree.
Timo Sirainen [Mon, 13 Jun 2011 14:17:59 +0000 (17:17 +0300)]
lmtp: Fixed parsing quoted strings with spaces as local-part for MAIL FROM and RCPT TO.
Timo Sirainen [Fri, 10 Jun 2011 16:11:00 +0000 (19:11 +0300)]
lib-storage: When "Recent flags state corrupted" happens, avoid assert-crashing afterwards.
Timo Sirainen [Wed, 8 Jun 2011 13:05:32 +0000 (16:05 +0300)]
lib-storage: Allow appending to existing settings via userdb extra fields.
"foo=bar" replaces the setting, while "+foo=bar" appends to the setting.