D15065: Implement Unified Mailboxes agent

Daniel Vrátil noreply at phabricator.kde.org
Fri Aug 24 23:44:49 BST 2018


dvratil created this revision.
Herald added a project: KDE PIM.
Herald added a subscriber: kde-pim.
dvratil requested review of this revision.

REVISION SUMMARY
  The agent (which in reality is a Resource in order to be able to own
  Collections) creates Inbox, Sent and Drafts virtual Collections and links
  all Items from real special Collections into them. It listens for changes
  in the source collections and updates the virtual Collections accordingly.
  
  Uses can also customize the default unified mailboxes and create their
  own.
  
  The agent can be enabled or disalbed from KMail's Plugins settings like
  other agents. By default the agent is off, however, if KMail detects that
  user has more than one account set up it will ask the user if they want
  to enable the feature. User is only ever asked once, the purpose is to
  make the feature easier to discover without bothering users with only
  one email account.
  
  It appears that the virtual collections are slower to open than regular
  collections, but that's a problem on Akonadi side as querying Items from
  virtual collections requires some extra queries. Other than that it works
  pretty well.

TEST PLAN
  Have been using this for a while + there's some test coverage.

REPOSITORY
  R206 KMail

BRANCH
  dev/unified-mailboxes

REVISION DETAIL
  https://phabricator.kde.org/D15065

AFFECTED FILES
  agents/CMakeLists.txt
  agents/unifiedmailboxagent/CMakeLists.txt
  agents/unifiedmailboxagent/autotests/CMakeLists.txt
  agents/unifiedmailboxagent/autotests/unifiedmailboxmanagertest.cpp
  agents/unifiedmailboxagent/autotests/unittestenv/config.xml
  agents/unifiedmailboxagent/autotests/unittestenv/xdgconfig/akonadi-firstrunrc
  agents/unifiedmailboxagent/autotests/unittestenv/xdgconfig/akonadi_knut_resource_0rc
  agents/unifiedmailboxagent/autotests/unittestenv/xdgconfig/akonadi_knut_resource_1rc
  agents/unifiedmailboxagent/autotests/unittestenv/xdgconfig/akonadi_knut_resource_2rc
  agents/unifiedmailboxagent/autotests/unittestenv/xdglocal/testdata-res1.xml
  agents/unifiedmailboxagent/autotests/unittestenv/xdglocal/testdata-res2.xml
  agents/unifiedmailboxagent/autotests/unittestenv/xdglocal/testdata-res3.xml
  agents/unifiedmailboxagent/common.h
  agents/unifiedmailboxagent/mailkernel.cpp
  agents/unifiedmailboxagent/mailkernel.h
  agents/unifiedmailboxagent/org.freedesktop.Akonadi.UnifiedMailboxAgent.xml
  agents/unifiedmailboxagent/settings.kcfg
  agents/unifiedmailboxagent/settings.kcfgc
  agents/unifiedmailboxagent/settingsdialog.cpp
  agents/unifiedmailboxagent/settingsdialog.h
  agents/unifiedmailboxagent/unifiedmailbox.cpp
  agents/unifiedmailboxagent/unifiedmailbox.h
  agents/unifiedmailboxagent/unifiedmailboxagent.cpp
  agents/unifiedmailboxagent/unifiedmailboxagent.desktop
  agents/unifiedmailboxagent/unifiedmailboxagent.h
  agents/unifiedmailboxagent/unifiedmailboxeditor.cpp
  agents/unifiedmailboxagent/unifiedmailboxeditor.h
  agents/unifiedmailboxagent/unifiedmailboxmanager.cpp
  agents/unifiedmailboxagent/unifiedmailboxmanager.h
  agents/unifiedmailboxagent/utils.h
  src/configuredialog/configureaccountpage.cpp
  src/configuredialog/configureplugins/configurepluginslistwidget.cpp
  src/kmkernel.cpp
  src/kmkernel.h
  src/kmmainwidget.cpp
  src/kmmainwidget.h
  src/settings/kmail.kcfg.cmake

To: dvratil
Cc: kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20180824/799ef9eb/attachment.html>


More information about the kde-pim mailing list