[dovecot/core] 0303b6: lib-storage: Reverse MAIL_SEARCH_ARG_FLAG_USE_TZ h...

GitHub noreply at github.com
Sat Nov 5 15:00:11 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 0303b693b8b3fc35b9daa1ce9cb92d94d1b95205
      https://github.com/dovecot/core/commit/0303b693b8b3fc35b9daa1ce9cb92d94d1b95205
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-04 (Fri, 04 Nov 2016)

  Changed paths:
    M src/lib-storage/index/index-search.c

  Log Message:
  -----------
  lib-storage: Reverse MAIL_SEARCH_ARG_FLAG_USE_TZ handling again.

It wasn't really wrong, it was just confusing. And doveadm's tz-handling
was wrong.

Reverses 059e4ac419224598349704b74cb9f6b49278df46


  Commit: 2fc91862fa8b14dba1ab18c7c7a88e451df46ed0
      https://github.com/dovecot/core/commit/2fc91862fa8b14dba1ab18c7c7a88e451df46ed0
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-04 (Fri, 04 Nov 2016)

  Changed paths:
    M src/doveadm/doveadm-dsync.c
    M src/lib-storage/mail-search-register-human.c
    M src/lib-storage/mail-storage.c
    M src/lib-storage/mail-storage.h

  Log Message:
  -----------
  lib-storage: Fix doveadm search query parsing to use timezones correctly.

When using a date string, e.g. "senton 25-Mar-2007" it should work the same
way as IMAP does and show all mails whose sent date is on 25th, ignoring
whatever the timezone is in the Date header (or in case of received/saved-date
it would be using the timestamps in server's local timezone, again just like
IMAP).

When search with an exact UNIX timestamp or a time interval (e.g.
"3 days"), it should be using UTC times for doing all comparisons.


  Commit: 8fc48a7d4130c2b7c417800a1eeea00563b950ea
      https://github.com/dovecot/core/commit/8fc48a7d4130c2b7c417800a1eeea00563b950ea
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-04 (Fri, 04 Nov 2016)

  Changed paths:
    M src/lib-storage/mail-search.h

  Log Message:
  -----------
  lib-storage: Updated MAIL_SEARCH_ARG_FLAG_USE_TZ comment.


  Commit: 6264b51bcce8ae98efdcda3e55a765d7a13d15ed
      https://github.com/dovecot/core/commit/6264b51bcce8ae98efdcda3e55a765d7a13d15ed
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-04 (Fri, 04 Nov 2016)

  Changed paths:
    M src/lib-storage/index/index-search.c
    M src/lib-storage/mail-search-args-imap.c
    M src/lib-storage/mail-search-register-human.c
    M src/lib-storage/mail-search-register-imap.c
    M src/lib-storage/mail-search.h
    M src/plugins/expire/doveadm-expire.c

  Log Message:
  -----------
  lib-storage: Renamed MAIL_SEARCH_ARG_FLAG_USE_TZ to _FLAG_UTC_TIMES


Compare: https://github.com/dovecot/core/compare/4ff193d240e8...6264b51bcce8


More information about the dovecot-cvs mailing list