Diffusion KMail 52eee4a475ad

Merge branch 'dev/unified-mailboxes'

Authored by dvratil on Sep 10 2018, 6:41 PM.

Description

Merge branch 'dev/unified-mailboxes'

The Unified Mailboxes 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.

CHANGELOG: Unified mailboxes in KMail
FEATURE: 397649

Test Plan:

Reviewers: mlaurent

Reviewed By: mlaurent

Subscribers: lueck, ngraham, mlaurent, kde-pim

Tags: KDE PIM

Differential Revision: https://phabricator.kde.org/D15065

Details

Committed
dvratilSep 10 2018, 6:42 PM
Reviewer
mlaurent
Differential Revision
D15065: Implement Unified Mailboxes agent
Parents
R206:5ab658aef00b: USe new syntax
R206:06f6cae02b11: Trim box name before checking or saving it
Branches
Unknown
Tags
Unknown

Merged Changes

CommitAuthorDetailsCommitted
06f6cae02b11dvratil
Trim box name before checking or saving it 
Sep 9 2018
410345d02503dvratil
Give settings dialog config groups more descriptive names 
Sep 9 2018
ffcaa9ad7fc8dvratil
More const QSharedPointers 
Sep 9 2018
739a96da73c8dvratil
Pass shared pointer as const reference 
Sep 4 2018
bb9ddb3dc823dvratil
Save and restore dialog sizes from a config file 
Sep 3 2018
3ac383a4e718dvratil
Add org.kde.pim.unifiedmailboxagent logging category to kmail.categories 
Sep 3 2018
4207d62f5a02dvratil
Add Messages.sh 
Sep 3 2018
116aad1602a6dvratil
Ask whether to enable Unified Mailboxes when more than 1 account is detected 
Aug 5 2018
9c32898d1995dvratil
KMail: exclude autostarting resources from Receiving settings tab 
Aug 5 2018
276dcbc3261fdvratil
Fix unused variable warning 
Aug 5 2018
705140dc0e7advratil
Add the Unified Inbox agent into KMail plugins configuration 
Jul 30 2018
b44642b4ec97dvratil
Rename "exp" namespace to "stdx" to avoid conflict with exp() 
Jul 30 2018
589b80d444a9dvratil
Use qOverload 
Jul 30 2018
6fda2e7c9643dvratil
Fix crash when special collections that's not our source is removed 
Jul 29 2018
25dc6b301e3cdvratil
Ignore top-level collection when discovering boxes 
Jul 29 2018
39cbfe725870dvratil
I can haz std::experimental::optional! 
Jul 29 2018
9a216f6e71fbdvratil
Add isolated unittests for UnifiedMailboxManager 
Jul 29 2018
67c25b5c459fdvratil
Remove the lastEvent optimization 
Jul 28 2018
9bed2d578b6fdvratil
Move string constants to a separate file 
Jul 28 2018
f6d006450525dvratil
Move responsibility of loading from KConfig to UnifiedMailbox 
Jul 28 2018
fa36af13b8eedvratil
Refactor handling of UnifiedMailboxes and subscription 
Jul 28 2018
068a1d6fc616dvratil
Handle changes in monitored Collections 
Jul 28 2018
0c4f42e96d34dvratil
Fix collection filter in UnifiedMailboxEditor 
Jul 28 2018
47177acdde01dvratil
Allow deleting items from unified mailbox 
Jul 28 2018
29a840e7ac62dvratil
Refactor unified mailbox manager 
Jul 27 2018
6ab7629bd308dvratil
Add support for user-defined unified mailboxes 
Jul 25 2018
87cb432bd516dvratil
Initial version of Unified Mailboxes agent 
Jul 23 2018