]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
14 years agolib-storage: mailbox_keyword_is_valid() returns now FALSE if keyword can't be created.
Timo Sirainen [Mon, 5 Sep 2011 07:30:15 +0000 (10:30 +0300)] 
lib-storage: mailbox_keyword_is_valid() returns now FALSE if keyword can't be created.

14 years agolib-storage: Added mailbox.disallow_new_keywords and use it for mailbox_status.
Timo Sirainen [Mon, 5 Sep 2011 07:28:49 +0000 (10:28 +0300)] 
lib-storage: Added mailbox.disallow_new_keywords and use it for mailbox_status.

14 years agostats: Add stats_ prefix to all settings.
Timo Sirainen [Sun, 4 Sep 2011 17:11:33 +0000 (20:11 +0300)] 
stats: Add stats_ prefix to all settings.

14 years agomaster: fifos weren't created with correct user/group.
Timo Sirainen [Sun, 4 Sep 2011 16:00:47 +0000 (19:00 +0300)] 
master: fifos weren't created with correct user/group.

14 years agoimapc: Another compiler warning fix.
Timo Sirainen [Sun, 4 Sep 2011 15:47:30 +0000 (18:47 +0300)] 
imapc: Another compiler warning fix.

14 years agoimapc: Compiler warning fix.
Timo Sirainen [Sun, 4 Sep 2011 15:46:20 +0000 (18:46 +0300)] 
imapc: Compiler warning fix.

14 years agoimapc: Fixed checking if mail is expunged.
Timo Sirainen [Sun, 4 Sep 2011 15:29:38 +0000 (18:29 +0300)] 
imapc: Fixed checking if mail is expunged.

14 years agoimapc: Syncing fixes
Timo Sirainen [Sun, 4 Sep 2011 15:29:21 +0000 (18:29 +0300)] 
imapc: Syncing fixes

14 years agoimapc: Redesigned remote sequence <-> index file record mapping is done.
Timo Sirainen [Sun, 4 Sep 2011 14:59:58 +0000 (17:59 +0300)] 
imapc: Redesigned remote sequence <-> index file record mapping is done.
The previous code didn't work when multiple connections modified the same
index files.

14 years agoimapc: Delay handling new messages and setting uidvalidity/uidnext until sync.
Timo Sirainen [Sun, 4 Sep 2011 13:34:23 +0000 (16:34 +0300)] 
imapc: Delay handling new messages and setting uidvalidity/uidnext until sync.

14 years agoimapc: Never use box->view for syncing related purposes.
Timo Sirainen [Sun, 4 Sep 2011 10:20:27 +0000 (13:20 +0300)] 
imapc: Never use box->view for syncing related purposes.
The view isn't up to date when MAILBOX_SYNC_FLAG_NO_EXPUNGES is used to sync
it. Instead always use a separate sync view.

14 years agolib-index: Fixed reopening index file that was marked as corrupted.
Timo Sirainen [Sun, 4 Sep 2011 09:38:24 +0000 (12:38 +0300)] 
lib-index: Fixed reopening index file that was marked as corrupted.

14 years agoimapc: Fixed handling immediate changes when starting IDLE.
Timo Sirainen [Sun, 4 Sep 2011 09:37:51 +0000 (12:37 +0300)] 
imapc: Fixed handling immediate changes when starting IDLE.

14 years agoimapc: Avoid assert-crashing if a new message's UID is smaller than next_uid.
Timo Sirainen [Sun, 4 Sep 2011 09:29:45 +0000 (12:29 +0300)] 
imapc: Avoid assert-crashing if a new message's UID is smaller than next_uid.

14 years agoimapc: Error logging cleanups.
Timo Sirainen [Sun, 4 Sep 2011 09:04:09 +0000 (12:04 +0300)] 
imapc: Error logging cleanups.
Don't bother to log disconnection errors for NOOP.

14 years agoimapc: Fixed error handling while opening mailbox.
Timo Sirainen [Sun, 4 Sep 2011 09:03:12 +0000 (12:03 +0300)] 
imapc: Fixed error handling while opening mailbox.

14 years agolib-index: When marking index corrupted, delete also transaction log file.
Timo Sirainen [Sun, 4 Sep 2011 08:52:16 +0000 (11:52 +0300)] 
lib-index: When marking index corrupted, delete also transaction log file.

14 years agoimapc: Fixed syncing external changes to mailbox when opening it.
Timo Sirainen [Sun, 4 Sep 2011 08:51:23 +0000 (11:51 +0300)] 
imapc: Fixed syncing external changes to mailbox when opening it.

14 years agoimapc: Added assert.
Timo Sirainen [Sun, 4 Sep 2011 07:55:33 +0000 (10:55 +0300)] 
imapc: Added assert.

14 years agoimapc: Fixed IDLE handling.
Timo Sirainen [Sun, 4 Sep 2011 07:48:46 +0000 (10:48 +0300)] 
imapc: Fixed IDLE handling.

14 years agostats: Minor error message fix.
Timo Sirainen [Sun, 4 Sep 2011 07:40:58 +0000 (10:40 +0300)] 
stats: Minor error message fix.

14 years agoimapc: Use EXAMINE command when possible.
Timo Sirainen [Sun, 4 Sep 2011 07:30:21 +0000 (10:30 +0300)] 
imapc: Use EXAMINE command when possible.

14 years agostats: Don't increase session stats based on command stats.
Timo Sirainen [Sun, 4 Sep 2011 07:25:39 +0000 (10:25 +0300)] 
stats: Don't increase session stats based on command stats.
This was buggy because the session stats were now increased twice. It could
have been possible to keep doing this and on UPDATE-SESSION simply replace
the old session stats, but that might still have caused the session stats to
temporarily go too high and then drop down.

14 years agoanvil: Assert-crashfix at exit when there were fifo connections.
Timo Sirainen [Sun, 4 Sep 2011 07:15:16 +0000 (10:15 +0300)] 
anvil: Assert-crashfix at exit when there were fifo connections.

14 years agostats: Don't assert-crash at exit if there are unfinished commands.
Timo Sirainen [Sun, 4 Sep 2011 07:12:30 +0000 (10:12 +0300)] 
stats: Don't assert-crash at exit if there are unfinished commands.

14 years agolib-sql: Don't link sql libraries to libdovecot-sql.so when building them as plugins.
Timo Sirainen [Sat, 3 Sep 2011 09:04:56 +0000 (12:04 +0300)] 
lib-sql: Don't link sql libraries to libdovecot-sql.so when building them as plugins.

14 years agofts-solr: Don't send delete to Solr if we're quite sure it doesn't exist.
Timo Sirainen [Fri, 2 Sep 2011 04:11:16 +0000 (07:11 +0300)] 
fts-solr: Don't send delete to Solr if we're quite sure it doesn't exist.

14 years agostats: Log more verbosely what happened if stats shrink.
Timo Sirainen [Thu, 1 Sep 2011 14:52:51 +0000 (17:52 +0300)] 
stats: Log more verbosely what happened if stats shrink.

14 years agostats plugin: Get disk I/O from getrusage(), not from /proc/self/io.
Timo Sirainen [Thu, 1 Sep 2011 09:34:11 +0000 (12:34 +0300)] 
stats plugin: Get disk I/O from getrusage(), not from /proc/self/io.
They're pretty much the same values anyway, and getrusage() is more
portable.

14 years agoAdded signature for changeset 8ae243558677
Timo Sirainen [Thu, 1 Sep 2011 08:59:21 +0000 (11:59 +0300)] 
Added signature for changeset 8ae243558677

14 years agoAdded tag 2.1.alpha1 for changeset 8ae243558677
Timo Sirainen [Thu, 1 Sep 2011 08:59:16 +0000 (11:59 +0300)] 
Added tag 2.1.alpha1 for changeset 8ae243558677

14 years agoReleased v2.1.alpha1. 2.1.alpha1
Timo Sirainen [Thu, 1 Sep 2011 08:59:14 +0000 (11:59 +0300)] 
Released v2.1.alpha1.

14 years agoMake static analyzer happy.
Timo Sirainen [Thu, 1 Sep 2011 08:57:59 +0000 (11:57 +0300)] 
Make static analyzer happy.

14 years agodoveadm: Error handling fix
Timo Sirainen [Thu, 1 Sep 2011 08:50:49 +0000 (11:50 +0300)] 
doveadm: Error handling fix

14 years agoNEWS updated
Timo Sirainen [Thu, 1 Sep 2011 08:02:30 +0000 (11:02 +0300)] 
NEWS updated

14 years agoTODO updated
Timo Sirainen [Thu, 1 Sep 2011 07:59:50 +0000 (10:59 +0300)] 
TODO updated

14 years agostats: Keep track of session's PIDs.
Timo Sirainen [Thu, 1 Sep 2011 07:58:41 +0000 (10:58 +0300)] 
stats: Keep track of session's PIDs.

14 years agostats: Keep track of last_update in microsecond precision and export it as such.
Timo Sirainen [Thu, 1 Sep 2011 07:40:17 +0000 (10:40 +0300)] 
stats: Keep track of last_update in microsecond precision and export it as such.

14 years agodoveadm: Change "stats dump" default formatter to "tab".
Timo Sirainen [Thu, 1 Sep 2011 07:39:37 +0000 (10:39 +0300)] 
doveadm: Change "stats dump" default formatter to "tab".

14 years agodoveadm: Initial implementation of "stats top" command.
Timo Sirainen [Thu, 1 Sep 2011 07:39:19 +0000 (10:39 +0300)] 
doveadm: Initial implementation of "stats top" command.
Currently it's hard coded to assume ANSI compatible terminal.

14 years agoIncreased initial memory pool size.
Timo Sirainen [Thu, 1 Sep 2011 07:37:55 +0000 (10:37 +0300)] 
Increased initial memory pool size.

14 years agostats plugin: Send one no-change session update after changes.
Timo Sirainen [Thu, 1 Sep 2011 07:37:35 +0000 (10:37 +0300)] 
stats plugin: Send one no-change session update after changes.
This tells the stats client that the session is idle now.

14 years agostats: Export CPU usecs prefixed with right number of zeros.
Timo Sirainen [Thu, 1 Sep 2011 06:46:05 +0000 (09:46 +0300)] 
stats: Export CPU usecs prefixed with right number of zeros.

14 years agodoveadm stats: Renamed "top" command to "dump" and allow giving any parameters to it.
Timo Sirainen [Thu, 1 Sep 2011 04:25:23 +0000 (07:25 +0300)] 
doveadm stats: Renamed "top" command to "dump" and allow giving any parameters to it.

14 years agostats: Fixed dumping command stats.
Timo Sirainen [Thu, 1 Sep 2011 04:24:25 +0000 (07:24 +0300)] 
stats: Fixed dumping command stats.

14 years agostats: Fixed handling IP address stats.
Timo Sirainen [Thu, 1 Sep 2011 04:21:41 +0000 (07:21 +0300)] 
stats: Fixed handling IP address stats.

14 years agostats plugin: Added stats_refresh and stats_track_cmds settings.
Timo Sirainen [Thu, 1 Sep 2011 03:52:43 +0000 (06:52 +0300)] 
stats plugin: Added stats_refresh and stats_track_cmds settings.
The stats plugin is enabled only when refresh is set to non-zero. The
imap_stats plugin tracks commands only when stats_track_cmds=yes.

14 years agostats plugin: Optimized to lookup statistics only when necessary.
Timo Sirainen [Thu, 1 Sep 2011 03:36:34 +0000 (06:36 +0300)] 
stats plugin: Optimized to lookup statistics only when necessary.

14 years agostats: Don't attempt to track stats for autocreated users.
Timo Sirainen [Thu, 1 Sep 2011 03:13:36 +0000 (06:13 +0300)] 
stats: Don't attempt to track stats for autocreated users.

14 years agolib-storage: Set struct mail_users.autocreated for raw/shared users.
Timo Sirainen [Thu, 1 Sep 2011 03:13:26 +0000 (06:13 +0300)] 
lib-storage: Set struct mail_users.autocreated for raw/shared users.

14 years agostats: Added more statistics fields (syscpu, page faults, context switches).
Timo Sirainen [Thu, 1 Sep 2011 03:02:23 +0000 (06:02 +0300)] 
stats: Added more statistics fields (syscpu, page faults, context switches).

14 years agodoveadm stats top: Don't hang if stats server doesn't send any statistics.
Timo Sirainen [Thu, 1 Sep 2011 02:57:42 +0000 (05:57 +0300)] 
doveadm stats top: Don't hang if stats server doesn't send any statistics.

14 years agolib-storage: Recognize "flags" cache field in MAILBOX_METADATA_PRECACHE_FIELDS.
Timo Sirainen [Wed, 31 Aug 2011 11:25:54 +0000 (14:25 +0300)] 
lib-storage: Recognize "flags" cache field in MAILBOX_METADATA_PRECACHE_FIELDS.

14 years agofts-solr: Fixed updating last indexed uid in fts header.
Timo Sirainen [Wed, 31 Aug 2011 11:23:51 +0000 (14:23 +0300)] 
fts-solr: Fixed updating last indexed uid in fts header.

14 years agofts: Removed unused code.
Timo Sirainen [Wed, 31 Aug 2011 10:58:27 +0000 (13:58 +0300)] 
fts: Removed unused code.

14 years agofts-lucene: Fixed checking if optimize should be done directly or via indexer.
Timo Sirainen [Wed, 31 Aug 2011 10:49:48 +0000 (13:49 +0300)] 
fts-lucene: Fixed checking if optimize should be done directly or via indexer.

14 years agolib-index: Changed mail_cache_view_close() API to take pointer-to-pointer.
Timo Sirainen [Wed, 31 Aug 2011 09:29:21 +0000 (12:29 +0300)] 
lib-index: Changed mail_cache_view_close() API to take pointer-to-pointer.

14 years agoindexer: Send completion% status updates to clients.
Timo Sirainen [Wed, 31 Aug 2011 09:02:29 +0000 (12:02 +0300)] 
indexer: Send completion% status updates to clients.

14 years agoRedesigned mail precaching APIs.
Timo Sirainen [Wed, 31 Aug 2011 08:39:50 +0000 (11:39 +0300)] 
Redesigned mail precaching APIs.
There's no longer a one monolithic mailbox_sync(MAILBOX_SYNC_FLAG_PRECACHE)
call, but rather one mail_precache() call for each mail to be precached.
This allows the callers to show the progress and in general is cleaner.

14 years agofts: Fixed checking settings compatibility with non-INBOX namespaces.
Timo Sirainen [Wed, 31 Aug 2011 08:35:24 +0000 (11:35 +0300)] 
fts: Fixed checking settings compatibility with non-INBOX namespaces.

14 years agolib-index: Added mail_cache_exists()
Timo Sirainen [Wed, 31 Aug 2011 08:33:54 +0000 (11:33 +0300)] 
lib-index: Added mail_cache_exists()

14 years agoauth: Added missing files from recent commit.
Timo Sirainen [Tue, 30 Aug 2011 06:57:08 +0000 (09:57 +0300)] 
auth: Added missing files from recent commit.

14 years agofts: Added lookup_done() API call. Lucene uses it to close the index.
Timo Sirainen [Tue, 30 Aug 2011 04:07:31 +0000 (07:07 +0300)] 
fts: Added lookup_done() API call. Lucene uses it to close the index.
This way it Lucene doesn't keep the index files unnecessarily open forever.

14 years agombox: mailbox_get_guid() does now better error handling when read-only mbox doesn...
Timo Sirainen [Tue, 30 Aug 2011 02:47:41 +0000 (05:47 +0300)] 
mbox: mailbox_get_guid() does now better error handling when read-only mbox doesn't have GUID.

14 years agofts-lucene, fts-solr: Try to optimize searching for existence of header name.
Timo Sirainen [Tue, 30 Aug 2011 02:36:24 +0000 (05:36 +0300)] 
fts-lucene, fts-solr: Try to optimize searching for existence of header name.

14 years agoauth: Added default_fields and override_fields settings to all passdbs and userdbs.
Timo Sirainen [Tue, 30 Aug 2011 02:27:54 +0000 (05:27 +0300)] 
auth: Added default_fields and override_fields settings to all passdbs and userdbs.

14 years agolib-storage: Added MAILBOX_TRANSACTION_FLAG_NO_CACHE_DEC and use it when precaching.
Timo Sirainen [Tue, 30 Aug 2011 01:31:28 +0000 (04:31 +0300)] 
lib-storage: Added MAILBOX_TRANSACTION_FLAG_NO_CACHE_DEC and use it when precaching.
The result is that "doveadm index" no longer changes caching decisions.

14 years agolib-index: Added mail_cache_view_update_cache_decisions()
Timo Sirainen [Tue, 30 Aug 2011 01:31:00 +0000 (04:31 +0300)] 
lib-index: Added mail_cache_view_update_cache_decisions()

14 years agoMerged changes from v2.0 tree.
Timo Sirainen [Tue, 30 Aug 2011 01:21:36 +0000 (04:21 +0300)] 
Merged changes from v2.0 tree.

14 years agoAdded signature for changeset aa68f38c04f0
Timo Sirainen [Mon, 29 Aug 2011 04:08:04 +0000 (07:08 +0300)] 
Added signature for changeset aa68f38c04f0

14 years agoAdded tag 2.0.14 for changeset aa68f38c04f0
Timo Sirainen [Mon, 29 Aug 2011 04:08:02 +0000 (07:08 +0300)] 
Added tag 2.0.14 for changeset aa68f38c04f0

14 years agoReleased v2.0.14. 2.0.14
Timo Sirainen [Mon, 29 Aug 2011 04:08:02 +0000 (07:08 +0300)] 
Released v2.0.14.

14 years agodoveadm: Proxying fix
Timo Sirainen [Mon, 29 Aug 2011 04:04:49 +0000 (07:04 +0300)] 
doveadm: Proxying fix

14 years agodoveadm: Fixed authentication with remote doveadm server.
Timo Sirainen [Mon, 29 Aug 2011 04:03:26 +0000 (07:03 +0300)] 
doveadm: Fixed authentication with remote doveadm server.

14 years agodoveadm: Added "director ring status" command.
Timo Sirainen [Mon, 29 Aug 2011 03:18:26 +0000 (06:18 +0300)] 
doveadm: Added "director ring status" command.

14 years agodirector: Updated DIRECTOR-LIST doveadm command.
Timo Sirainen [Mon, 29 Aug 2011 03:18:16 +0000 (06:18 +0300)] 
director: Updated DIRECTOR-LIST doveadm command.

14 years agodoveadm: Skip mailbox optimizations under OR search terms.
Timo Sirainen [Mon, 29 Aug 2011 02:36:04 +0000 (05:36 +0300)] 
doveadm: Skip mailbox optimizations under OR search terms.
This fixes problem with e.g. "mailbox foo or seen".

14 years agolib-index: Error logging fix to previous commit.
Timo Sirainen [Mon, 29 Aug 2011 02:30:58 +0000 (05:30 +0300)] 
lib-index: Error logging fix to previous commit.

14 years agoconfigure: Added --with-stemmer and output which fts backends are compiled.
Timo Sirainen [Sun, 28 Aug 2011 05:32:44 +0000 (08:32 +0300)] 
configure: Added --with-stemmer and output which fts backends are compiled.

14 years agolib-storage: Replaced MAILBOX_FLAG_KEEP_RECENT flag with reverse MAILBOX_FLAG_DROP_RE...
Timo Sirainen [Sun, 28 Aug 2011 05:15:33 +0000 (08:15 +0300)] 
lib-storage: Replaced MAILBOX_FLAG_KEEP_RECENT flag with reverse MAILBOX_FLAG_DROP_RECENT.
Very few places actually want to drop recent flags, so this way is easier.

14 years agostats plugin: Fixed stats connection reference counting.
Timo Sirainen [Sun, 28 Aug 2011 04:03:45 +0000 (07:03 +0300)] 
stats plugin: Fixed stats connection reference counting.

14 years agodoveadm dump: Updated fts_index_header.
Timo Sirainen [Sun, 28 Aug 2011 03:20:46 +0000 (06:20 +0300)] 
doveadm dump: Updated fts_index_header.

14 years agofts-lucene: If default_language changes, reindex mailbox.
Timo Sirainen [Sun, 28 Aug 2011 03:19:52 +0000 (06:19 +0300)] 
fts-lucene: If default_language changes, reindex mailbox.

14 years agofts: Changed private fts_index_header accessing APIs
Timo Sirainen [Sun, 28 Aug 2011 03:18:54 +0000 (06:18 +0300)] 
fts: Changed private fts_index_header accessing APIs

14 years agostats plugin: Don't crash if stats collecting is disabled.
Timo Sirainen [Sun, 28 Aug 2011 02:49:36 +0000 (05:49 +0300)] 
stats plugin: Don't crash if stats collecting is disabled.

14 years agolib-storage: Default mail_user.service (from NULL) to master_service.name.
Timo Sirainen [Sun, 28 Aug 2011 02:49:06 +0000 (05:49 +0300)] 
lib-storage: Default mail_user.service (from NULL) to master_service.name.

14 years agofts-lucene: Error logging fix.
Timo Sirainen [Sat, 27 Aug 2011 08:48:20 +0000 (11:48 +0300)] 
fts-lucene: Error logging fix.

14 years agostats: Refresh idle timeout whenever session is updated.
Timo Sirainen [Fri, 26 Aug 2011 02:20:01 +0000 (05:20 +0300)] 
stats: Refresh idle timeout whenever session is updated.

14 years agodoveadm: Added initial implementation of "stats top" command.
Timo Sirainen [Fri, 26 Aug 2011 02:15:42 +0000 (05:15 +0300)] 
doveadm: Added initial implementation of "stats top" command.

14 years agoInitial implementation of statistics gathering daemon and plugins to feed it.
Timo Sirainen [Fri, 26 Aug 2011 02:15:12 +0000 (05:15 +0300)] 
Initial implementation of statistics gathering daemon and plugins to feed it.
Some statistics are still missing, some of the code is a bit ugly and the
internal protocols will probably still change.

14 years agolib-master: Don't count FIFOs as clients anymore. We never see them disconnected.
Timo Sirainen [Fri, 26 Aug 2011 02:10:54 +0000 (05:10 +0300)] 
lib-master: Don't count FIFOs as clients anymore. We never see them disconnected.
This fixes a problem with shutdown_clients=no when a closed director process
could hang around forever waiting for the FIFO to close.

14 years agomaster: If fifo already exists, replace it to be sure it has proper permissions.
Timo Sirainen [Fri, 26 Aug 2011 02:09:25 +0000 (05:09 +0300)] 
master: If fifo already exists, replace it to be sure it has proper permissions.

14 years agoimap: Added hooks that can be run always before/after any command handler.
Timo Sirainen [Fri, 26 Aug 2011 02:08:42 +0000 (05:08 +0300)] 
imap: Added hooks that can be run always before/after any command handler.

14 years agoliblib: Added IPADDR_BITS() macro.
Timo Sirainen [Fri, 26 Aug 2011 02:07:53 +0000 (05:07 +0300)] 
liblib: Added IPADDR_BITS() macro.

14 years agolib-storage: Moved all transaction stats_* to struct mailbox_transaction_stats.
Timo Sirainen [Thu, 25 Aug 2011 00:54:50 +0000 (03:54 +0300)] 
lib-storage: Moved all transaction stats_* to struct mailbox_transaction_stats.

14 years agoliblib: Added _FULL versions of all linked list handling macros with prev and next...
Timo Sirainen [Thu, 25 Aug 2011 00:54:18 +0000 (03:54 +0300)] 
liblib: Added _FULL versions of all linked list handling macros with prev and next params.
This allows putting structs into multiple linked lists.

14 years agoMoved GUID code to liblib. Use guid_128_t type consistently everywhere.
Timo Sirainen [Wed, 24 Aug 2011 22:16:11 +0000 (01:16 +0300)] 
Moved GUID code to liblib. Use guid_128_t type consistently everywhere.

14 years agoliblib: Added io_loop_get_current_context()
Timo Sirainen [Wed, 24 Aug 2011 21:27:41 +0000 (00:27 +0300)] 
liblib: Added io_loop_get_current_context()

14 years agoliblib: io_loop_context_remove_callbacks() now requires also callbacks.
Timo Sirainen [Wed, 24 Aug 2011 21:27:10 +0000 (00:27 +0300)] 
liblib: io_loop_context_remove_callbacks() now requires also callbacks.

14 years agoNEWS updated
Timo Sirainen [Wed, 24 Aug 2011 18:37:15 +0000 (21:37 +0300)] 
NEWS updated