[dovecot/core] 441212: imapc: Don't skip listing "INBOX" when INBOX/ name...

GitHub noreply at github.com
Thu Dec 14 21:30:15 EET 2017


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 441212402bb1a0b2af33adb0894ce7185c7d8b4e
      https://github.com/dovecot/core/commit/441212402bb1a0b2af33adb0894ce7185c7d8b4e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

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

  Log Message:
  -----------
  imapc: Don't skip listing "INBOX" when INBOX/ namespace prefix is used.

The INBOX was still listed as part of the autocreated mailboxes, unless
MAILBOX_LIST_ITER_NO_AUTO_BOXES was used.


  Commit: 46f891d4e68ffa2ce761f0deb7abd25bac7910cc
      https://github.com/dovecot/core/commit/46f891d4e68ffa2ce761f0deb7abd25bac7910cc
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

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

  Log Message:
  -----------
  lib-storage: Add mail_namespace_is_inbox_noinferiors()


  Commit: c7e674eebd9bf56eb4e9a657197dafcbd3fe4975
      https://github.com/dovecot/core/commit/c7e674eebd9bf56eb4e9a657197dafcbd3fe4975
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M src/lib-storage/list/mailbox-list-maildir-iter.c

  Log Message:
  -----------
  LAYOUT=Maildir++: List INBOX as \NoInferiors when necessary


  Commit: 7579fa5c04acbafa6d7777cc39c787fc2dfd8a5b
      https://github.com/dovecot/core/commit/7579fa5c04acbafa6d7777cc39c787fc2dfd8a5b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M src/lib-storage/list/mailbox-list-index-iter.c

  Log Message:
  -----------
  LAYOUT=index: List INBOX as \NoInferiors when necessary


  Commit: d54934614ebdb1672e056b6d0f6bd2aae22ff6c8
      https://github.com/dovecot/core/commit/d54934614ebdb1672e056b6d0f6bd2aae22ff6c8
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M src/lib-storage/list/mailbox-list-fs-iter.c

  Log Message:
  -----------
  LAYOUT=fs: List INBOX as \NoInferiors when necessary


  Commit: 7620195ceeea805137cbd1bae104e385eee474a9
      https://github.com/dovecot/core/commit/7620195ceeea805137cbd1bae104e385eee474a9
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M src/lib-storage/list/mailbox-list-fs-iter.c

  Log Message:
  -----------
  LAYOUT=fs: Fix listing prefix/INBOX

Removed some confusing special case code that didn't seem to work very well.
Implemented this now properly so that prefix/INBOX is listed as \NoSelect
mailbox whenever it has children.

It's not actually possible to differentiate between INBOX and prefix/INBOX
in the storage for a inbox=yes namespace, because they both are converted
into the same storage_name=INBOX.


  Commit: 97473a513feb2bbd763051869c8b7b83e24b37fa
      https://github.com/dovecot/core/commit/97473a513feb2bbd763051869c8b7b83e24b37fa
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M src/lib-storage/list/mailbox-list-index-iter.c
    M src/lib-storage/list/mailbox-list-index.h

  Log Message:
  -----------
  lib-storage: mailbox_list_index - List prefix/INBOX if it necessary


  Commit: 7dc367e7dcdabf43d358d1d90c7ba07ac5a0ff58
      https://github.com/dovecot/core/commit/7dc367e7dcdabf43d358d1d90c7ba07ac5a0ff58
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M src/lib-storage/list/mailbox-list-index-sync.c

  Log Message:
  -----------
  lib-storage: mailbox_list_index - indentation cleanup


  Commit: eb044c7cd749d2d203e68b610b10dd1f4b998f6b
      https://github.com/dovecot/core/commit/eb044c7cd749d2d203e68b610b10dd1f4b998f6b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M src/lib-storage/list/mailbox-list-index-sync.c

  Log Message:
  -----------
  lib-storage: mailbox_list_index - Don't overwrite INBOX's flags with prefix/INBOX's

This made the real INBOX appear as if it was \NoSelect


Compare: https://github.com/dovecot/core/compare/5b787c9a0807...eb044c7cd749


More information about the dovecot-cvs mailing list