Summary:
For most authors this uses the standing pre-approval from
https://techbase.kde.org/Projects/KDE_Relicensing, explicit
approval is needed from KDAB (hereby granted) and Andras Mantia.
This is the second batch for mailcommon, there's now still a handful
of cases left that need more research.
Reviewers: amantia
Subscribers: kde-pim
Tags: #kde_pim
Differential Revision: https://phabricator.kde.org/D16969
Summary:
Regardless of user's sort order preferences, always show the unified mailboxes
agent first.
The reason is that this is not a real mail resource, so it's hidden from
various lists like the account sorting list etc. and I believe it is
safe to assume that anyone who wants to use unified folders will want
to have them at the top (it's all about easy access to folders after
all).
Reviewers: mlaurent
Reviewed By: mlaurent
Subscribers: ngraham, kde-pim
Tags: #kde_pim
Differential Revision: https://phabricator.kde.org/D15064
Summary:
Makes it easier to reuse the widget in other places that do not need the
extra columns with statistics.
Reviewers: mlaurent
Reviewed By: mlaurent
Subscribers: kde-pim
Tags: #kde_pim
Differential Revision: https://phabricator.kde.org/D14433
Summary:
Use collectionFromId on demand when the resource is needed and wasn't
set in the collection passed to FolderSettings::forCollection.
For instance this happens in KMail::Util::mailingListsFromMessage
which uses item.parentCollection(), where the resource isn't set.
We do this on demand rather than in setCollection() because
in many cases (when other methods of FolderSettings are being called)
we don't actually need the resource.
Test Plan:
Reply followed by Forward-as-attachment would often hit
the assert for me, especially when using the toolbar buttons (probably
unrelated?).
Reviewers: mlaurent, dvratil, vkrause
Reviewed By: vkrause
Subscribers: kde-pim
Tags: #kde_pim
Differential Revision: https://phabricator.kde.org/D14010
Summary:
and dropping a collection to define a new favorite.
BUG: 387873
Test Plan:
Tested all three features, reordering, adding, and dropping a mail.
Two issues left:
- adding a new favourite at a specific position (patch pending
for akonadi's favoritecollectionsmodel)
- the "+" when moving to reorder shouldn't appear, should be MoveAction only,
don't know if that's possible here though.
Reviewers: dvratil, mlaurent, mkoller
Reviewed By: dvratil
Subscribers: #kde_pim
Tags: #kde_pim
Differential Revision: https://phabricator.kde.org/D9403
Summary:
In order to separate favorites from the "entity order" QSFPM
used by the folder tree widget (it was always weird that filtering or
changing the sort order for the folder tree widget would affect favorites),
we need the favorites to get their own "ordering" proxy (otherwise
ordering is random, based on ETM population order). So while at it,
I implemented manual reordering of favorites.
BUG: 376073
FIXED-IN: 18.04
Test Plan:
I can reorder favorites (in listview mode) using DnD
and the order is persisted
Reviewers: dvratil, mlaurent
Reviewed By: mlaurent
Subscribers: #kde_pim
Tags: #kde_pim
Differential Revision: https://phabricator.kde.org/D8884
Summary:
This way the FolderTreeWidgetProxyModel (its source) doesn't get
filtered, which will allow FavoriteCollectionsModel to not get filtered
by the filter lineedit (once it uses FolderTreeWidgetProxyModel
directly).
This also simplifies FolderTreeWidgetProxyModel.
Test Plan: lineedit filtering in kmail still works
Reviewers: dvratil, mlaurent
Reviewed By: mlaurent
Subscribers: #kde_pim
Tags: #kde_pim
Differential Revision: https://phabricator.kde.org/D8818