replication: Don't trigger replication on changes not visible to dsync For example if there's a write to .cache file, it doesn't require replication.
lib-storage: Replace mail_transaction_commit_changes.changed with changes_mask This allows better finding out what changed in the transaction.
replication: Don't send notification for changes done by dsync transactions
replication: Check ruser for NULL Satisfies static analyzers
Updated copyright notices to include the year 2018.
global: stop including fd-set-nonblock.h & fd-close-on-exec.h directly
global: use i_close_fd{,_path}() instead of open-coding them
replication-plugin: Debug-log mailbox transaction reason
Updated copyright notices to include the year 2017.
replication plugin: Error handling code cleanup The old code happened to work in all cases, but it was more of an accident.
global: freshen copyright git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/'
Remove now-unnecessary direct stdlib.h #includes.
replication plugin: s/transction/transaction/ in debug log messages
replication plugin: Fixed handling EAGAIN errors when writing to replication-pipe.
replication plugin: Added debug logging when mail_debug=yes
replication plugin: A small optimization to check the user's "dsyncing" status only once.
replication plugin: Don't crash for users who don't have replication enabled.
global: freshen copyright Robomatically: git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-4]/$1-2015/g;s/ (201[0-4]) Dovecot/ $1-2015 Dovecot/' Happy 2015 everyone! Signed-off-by: Phil Carmody <phil@dovecot.fi>
replication plugin: Use low priority for mail copying operations.
replication plugin: Actually, use empty mail_replica as "replication is disabled".
replication plugin: Added replication_disabled setting.
replication plugin: Synchronous notification timeout error wasn't logged as intended. Found by Coverity
Updated copyright notices to include year 2014.
replication plugin: Hide write(fifo) EPIPE errors, which just mean a server restart.
replicator plugin: And crashfix for the previous change..
replication plugin: Notify replicator also for changes in public mailboxes.
Oops :) Update copyrights to 2013 without breaking all .c files.
Updated copyright notices to include year 2013.
replicator plugin: Use non-blocking open for the replicator fifo. This fixes an infinite hang if the replicator process isn't running.
Renamed network.[ch] to net.[ch]. The function prefixes already started with net_ instead of network_. And icecap wants to use network.h for other purpose. :)
Renamed str_tabescape_write() to str_append_tabescaped()
lib-storage: Removed rename_children parameter from mailbox_rename() The children are now always renamed. The only reason this feature was added in the first place was to make dsync's job easier, but this is no longer needed.
Use timeout_add_short() for sub-second timeouts. Fail at compile time if timeout_add() is <1s. In future timeout_add() could perhaps also be made less precise, so that it would try to group timeouts to run around at the same time.
replication plugin: Don't try to close fifo if it wasn't even opened.
replication plugin: Handle shared namespaces better, skip public namespaces. These will be handled better later, maybe in v2.2.
replication plugin: Use one shared notification fifo for all users.
Initial implementation of dsync-based replication.