Feed Advanced Search

Apr 11 2020

dvratil committed R165:e902231bf9fe: Make ItemPrivate::mParent managed by QScopedPointer (authored by dvratil).
Make ItemPrivate::mParent managed by QScopedPointer
Apr 11 2020, 12:25 AM
dvratil committed R165:8cade8ed9ea5: Remove constness from some Relation setters (authored by dvratil).
Remove constness from some Relation setters
Apr 11 2020, 12:25 AM
dvratil committed R165:16f0ba83ec8f: Make entities movable (authored by dvratil).
Make entities movable
Apr 11 2020, 12:25 AM
dvratil committed R165:cc6eafa4a527: ResourceBase: use erase-remove for getting list of valid items (authored by dvratil).
ResourceBase: use erase-remove for getting list of valid items
Apr 11 2020, 12:25 AM
dvratil committed R165:26d34d48a72c: ETM: add context to localized strings (authored by dvratil).
ETM: add context to localized strings
Apr 11 2020, 12:25 AM
dvratil committed R165:ed21a3f3e683: Fix the weird coding style in ResourceBasePrivate (authored by dvratil).
Fix the weird coding style in ResourceBasePrivate
Apr 11 2020, 12:25 AM
dvratil committed R165:d807b0179940: Port away from foreach (authored by dvratil).
Port away from foreach
Apr 11 2020, 12:25 AM
dvratil committed R165:dab3cbb247d6: ETM: cleanup the code (authored by dvratil).
ETM: cleanup the code
Apr 11 2020, 12:25 AM
dvratil committed R165:ad398e719be6: ETM: remove some duplicated code (authored by dvratil).
ETM: remove some duplicated code
Apr 11 2020, 12:25 AM
dvratil committed R165:97d1db7cb5bc: Use std::optional instead of akOptional (authored by dvratil).
Use std::optional instead of akOptional
Apr 11 2020, 12:25 AM
dvratil committed R165:134837ca310a: More C++17 cleanup (authored by dvratil).
More C++17 cleanup
Apr 11 2020, 12:25 AM
dvratil committed R165:d30dd8b2f350: Enable C++17 for Akonadi (authored by dvratil).
Enable C++17 for Akonadi
Apr 11 2020, 12:25 AM
dvratil committed R92:cf603679bca0: Adapt to move of some Akonadi attributes to AkonadiMime (authored by dvratil).
Adapt to move of some Akonadi attributes to AkonadiMime
Apr 11 2020, 12:18 AM
dvratil committed R44:4ffc76abba90: Adapt to move of some Akonadi attributes to AkonadiMime (authored by dvratil).
Adapt to move of some Akonadi attributes to AkonadiMime
Apr 11 2020, 12:13 AM
dvratil committed R44:6cdf43de7399: POP3: Remove the singleton pattern from Settings (authored by dvratil).
POP3: Remove the singleton pattern from Settings
Apr 11 2020, 12:13 AM
dvratil closed D28732: POP3: Remove the singleton pattern from Settings.
Apr 11 2020, 12:13 AM · KDE PIM
dvratil committed R206:41cd5da108ae: Adapt to move of some Akonadi attributes to AkonadiMime (authored by dvratil).
Adapt to move of some Akonadi attributes to AkonadiMime
Apr 11 2020, 12:05 AM

Apr 10 2020

dvratil committed R460:7e550aee3ee1: Import NewMailNotifierAttribute and Pop3ResourceAttribute (authored by dvratil).
Import NewMailNotifierAttribute and Pop3ResourceAttribute
Apr 10 2020, 11:57 PM
dvratil requested review of D28732: POP3: Remove the singleton pattern from Settings.
Apr 10 2020, 9:58 PM · KDE PIM
dvratil accepted D28559: Fix "Only resources can modify remote identifiers" when re-editing event.

I don't think we need to revert the other commits.

Apr 10 2020, 6:30 PM · KDE PIM

Apr 9 2020

dvratil requested changes to D28560: [resources] Add a unified Google Groupware Resource.

Great job!

Apr 9 2020, 11:41 AM · KDE PIM
dvratil accepted D28640: Use ecm_setup_qtplugin_macro_names.
Apr 9 2020, 11:13 AM · KDE PIM
dvratil accepted D28648: appstream: fix screenshot URL and size.

Please adjust the commit message as pino suggested, otherwise it's OK.

Apr 9 2020, 11:12 AM · KDE PIM
dvratil committed R1028:3fb633159ca4: Fix build against Qt 5.15 (authored by dvratil).
Fix build against Qt 5.15
Apr 9 2020, 10:49 AM

Apr 6 2020

dvratil closed D28621: Don't hardcode agent DBus service name.
Apr 6 2020, 11:55 AM · KDE PIM
dvratil committed R207:0994e80e8e08: Don't hardcode agent DBus service name (authored by dvratil).
Don't hardcode agent DBus service name
Apr 6 2020, 11:55 AM
dvratil updated the diff for D28621: Don't hardcode agent DBus service name.
  • Use the correct agent type
Apr 6 2020, 11:40 AM · KDE PIM
dvratil updated the diff for D28621: Don't hardcode agent DBus service name.
  • Fix includes
Apr 6 2020, 11:40 AM · KDE PIM
dvratil requested review of D28621: Don't hardcode agent DBus service name.
Apr 6 2020, 11:39 AM · KDE PIM
dvratil committed R42:674dfa14dedc: Discard duplicate results during contact completion (authored by dvratil).
Discard duplicate results during contact completion
Apr 6 2020, 10:41 AM
dvratil closed D28615: Discard duplicate results during contact completion.
Apr 6 2020, 10:41 AM · KDE PIM
dvratil added a comment to D28615: Discard duplicate results during contact completion.

I think any filtering/deduplication should happen in Akonadi Search here - since we are able to store structured data (e.g. split the name and the address into two different fields), Xapian can perform clever deduplication at query time, rather than client code (libkdepim) having to do expensive address parsing for each result.

Apr 6 2020, 10:40 AM · KDE PIM
dvratil updated the diff for D28615: Discard duplicate results during contact completion.
  • Fix includes
Apr 6 2020, 9:48 AM · KDE PIM
dvratil requested review of D28615: Discard duplicate results during contact completion.
Apr 6 2020, 9:36 AM · KDE PIM

Apr 4 2020

dvratil added inline comments to D24443: Add a plugin system.
Apr 4 2020, 12:10 PM · KDE PIM
dvratil requested changes to D28546: Listen IPv4 instead Any as CALLBACK_URL is hardcoded to 127.0.0.1.

Hmm, should we really listen on the "Any" address? It feels wrong, since we are expecting connection on localhost - so I think listening on QHostAddress::LocalHost might be better...

Apr 4 2020, 11:51 AM · KDE PIM

Mar 31 2020

dvratil added a comment to T9416: [KAddressbook] Improve the contacts list.

Hi! Sure :) The underlying data model is Akonadi::ContactsTreeModel which is subclass of Akonadi::EntityTreeModel. Thus, if you have a QModelIndex, you can use the data() function to retrieve data for the Akonadi::EntityTreeModel::ItemRole, which gives you the Akonadi::Item which holds the contact itself: KContacts::Addressee

const auto item = index.data(Akonadi::EntityTreeModel::ItemRole).value<Akonadi::Item>();
if (!item.hasPayload<KContacts::Addressee>()) {
    // error handling
    return;
}
const auto contact = item.payload<KContacts::Addressee>();
Mar 31 2020, 11:58 AM · KDE PIM: Junior Jobs, KDE PIM
dvratil added a comment to R460:cfdd3143fcc9: Optimize 'Empty trash' command.

Not a bugfix, just an optimization

Mar 31 2020, 8:06 AM

Mar 30 2020

dvratil accepted D28432: [Akonadi/PasteHelper] Add support for items linking.

Looking good, thanks 👍

Mar 30 2020, 1:32 PM · KDE PIM
dvratil committed R165:c4cbd336f12b: Deprecate CollectionView and ItemView (authored by dvratil).
Deprecate CollectionView and ItemView
Mar 30 2020, 9:22 AM
dvratil committed R165:bf118e294d6d: Remove the deprecated ItemModel (authored by dvratil).
Remove the deprecated ItemModel
Mar 30 2020, 9:22 AM
dvratil committed R165:4975a22c2843: Remove the deprecated CollectionModel (authored by dvratil).
Remove the deprecated CollectionModel
Mar 30 2020, 9:22 AM
dvratil committed R165:b6b12f7e41dd: Use ETM roles instead of CollectionModel roles (authored by dvratil).
Use ETM roles instead of CollectionModel roles
Mar 30 2020, 9:22 AM
dvratil committed R165:57b17db5c807: Port SubscriptionModel away from the deprecated CollectionModel (authored by dvratil).
Port SubscriptionModel away from the deprecated CollectionModel
Mar 30 2020, 9:22 AM
dvratil committed R206:7b6dccabf63b: Adapt to Akonadi::MessageModel API changes (authored by dvratil).
Adapt to Akonadi::MessageModel API changes
Mar 30 2020, 8:33 AM
dvratil committed R460:b000f02cce02: Port MessageModel to ETM (authored by dvratil).
Port MessageModel to ETM
Mar 30 2020, 8:29 AM
dvratil committed R460:cfdd3143fcc9: Optimize 'Empty trash' command (authored by dvratil).
Optimize 'Empty trash' command
Mar 30 2020, 8:29 AM
dvratil accepted D28361: KCalendarCore: fix fallback to vCalendar loading on iCalendar load failure.
Mar 30 2020, 8:13 AM · KDE PIM

Mar 27 2020

dvratil committed R75:d524a9c1a96e: Remove the unused KCalModel (authored by dvratil).
Remove the unused KCalModel
Mar 27 2020, 3:41 PM
dvratil committed R75:4830eefef4ae: Remove derelict directory from repo-split (authored by dvratil).
Remove derelict directory from repo-split
Mar 27 2020, 3:41 PM
dvratil added a comment to D28248: Use another icon for the user feedback KCModule.

+1, If this is the icon that other KDE apps went for Feedback settings, we should stay consistent with the rest of KDE

Mar 27 2020, 12:27 PM · KDE PIM

Mar 26 2020

dvratil committed R165:679616d2a830: ETM: fix race condition during Collection population (authored by dvratil).
ETM: fix race condition during Collection population
Mar 26 2020, 6:06 PM
dvratil committed R165:aa839a413e23: Remove the outdated README file (there's README.md anyway) (authored by dvratil).
Remove the outdated README file (there's README.md anyway)
Mar 26 2020, 6:06 PM
dvratil committed R165:3b4f4c7b8eb8: Move the akonadi*test_export.h.in to respective subdirs (authored by dvratil).
Move the akonadi*test_export.h.in to respective subdirs
Mar 26 2020, 6:06 PM
dvratil committed R165:1ed38f87a0db: Remove the outdated and irrelevant CodingStyle.txt (authored by dvratil).
Remove the outdated and irrelevant CodingStyle.txt
Mar 26 2020, 6:06 PM
dvratil committed R165:ca4601f2febd: Fix includes in tests (authored by dvratil).
Fix includes in tests
Mar 26 2020, 6:06 PM
dvratil committed R165:f96e64c7552c: Remove the akonadi-prefix.h file (authored by dvratil).
Remove the akonadi-prefix.h file
Mar 26 2020, 6:06 PM
dvratil committed R165:762288c51e9e: Remove unused/dead virtualresource test (authored by dvratil).
Remove unused/dead virtualresource test
Mar 26 2020, 6:06 PM
dvratil committed R165:89fe563b75f8: FakeAkonadiServer: fix flushing notifications before test ends (authored by dvratil).
FakeAkonadiServer: fix flushing notifications before test ends
Mar 26 2020, 4:38 PM
dvratil committed R165:2c482fd0bd5e: Make isolated tests more robust by waiting for monitorReady() (authored by dvratil).
Make isolated tests more robust by waiting for monitorReady()
Mar 26 2020, 4:38 PM
dvratil committed R165:d3cb19a6cf53: Fix flaky linktest (authored by dvratil).
Fix flaky linktest
Mar 26 2020, 2:56 PM
dvratil committed R165:381383837b12: Initialize ETMPrivate::m_rootNode (authored by dvratil).
Initialize ETMPrivate::m_rootNode
Mar 26 2020, 2:34 PM
dvratil committed R165:8389d23dfc18: Fix memory leak in AgentInstanceCreateJob (authored by dvratil).
Fix memory leak in AgentInstanceCreateJob
Mar 26 2020, 2:34 PM
dvratil committed R165:32dade8e86dd: Make item delivery more robust (authored by dvratil).
Make item delivery more robust
Mar 26 2020, 2:34 PM
dvratil committed R165:ea6297e2374a: Fix flaky tagtest (authored by dvratil).
Fix flaky tagtest
Mar 26 2020, 2:34 PM
dvratil committed R165:2356621a7953: Fix QSignalSpy usage in the tag widget tests (authored by dvratil).
Fix QSignalSpy usage in the tag widget tests
Mar 26 2020, 12:42 PM
dvratil committed R165:7c7e8cd4c8c4: Fix DBus::parseInstanceIdentifier for the .upgrading service (authored by dvratil).
Fix DBus::parseInstanceIdentifier for the .upgrading service
Mar 26 2020, 12:42 PM

Mar 25 2020

dvratil committed R165:8e9709caed03: Fix build against Qt < 5.14 (authored by dvratil).
Fix build against Qt < 5.14
Mar 25 2020, 6:25 PM
dvratil committed R165:f3c1ec7ce5a3: Cleanup ManageAccountWidget (authored by dvratil).
Cleanup ManageAccountWidget
Mar 25 2020, 5:16 PM
dvratil committed R165:cf4c23beb578: Fix restoring default favorite name (authored by dvratil).
Fix restoring default favorite name
Mar 25 2020, 5:16 PM
dvratil committed R165:ace70fca129b: Cleanup and simplify RenameFavoriteDialog (authored by dvratil).
Cleanup and simplify RenameFavoriteDialog
Mar 25 2020, 5:16 PM
dvratil committed R165:0fd20954e642: ETM: move initialization of members to header file (authored by dvratil).
ETM: move initialization of members to header file
Mar 25 2020, 5:16 PM
dvratil committed R165:84bd5c079c3a: Use Designer UI file for SubscriptionDialog (authored by dvratil).
Use Designer UI file for SubscriptionDialog
Mar 25 2020, 5:16 PM
dvratil committed R165:ab1cfb6b793d: Monitor: enable subscription signals when monitorAll is true (authored by dvratil).
Monitor: enable subscription signals when monitorAll is true
Mar 25 2020, 5:16 PM
dvratil committed R165:3870f6e7233c: Protocol: fix inconsistent default value for Tag parentId (authored by dvratil).
Protocol: fix inconsistent default value for Tag parentId
Mar 25 2020, 5:16 PM
dvratil committed R165:44163cf9280d: Implement Akonadi unittests for Tag widgets (authored by dvratil).
Implement Akonadi unittests for Tag widgets
Mar 25 2020, 5:16 PM
dvratil committed R165:8e7be806cee7: Workaround broken Tag parentID in notifications (authored by dvratil).
Workaround broken Tag parentID in notifications
Mar 25 2020, 5:16 PM
dvratil committed R165:6ed999e7ffd9: Fix missing newline in C++ generated by ProtocolGen (authored by dvratil).
Fix missing newline in C++ generated by ProtocolGen
Mar 25 2020, 5:16 PM
dvratil committed R165:4e2a1daec500: Fix Tag's QDebug streaming operator (authored by dvratil).
Fix Tag's QDebug streaming operator
Mar 25 2020, 5:16 PM
dvratil committed R165:2dc52fe07412: Make it possible to run isolated tests without installing (authored by dvratil).
Make it possible to run isolated tests without installing
Mar 25 2020, 5:16 PM
dvratil committed R165:384cb13f04a4: Remove the useless TagSelectWidgetTest (authored by dvratil).
Remove the useless TagSelectWidgetTest
Mar 25 2020, 5:16 PM
dvratil committed R165:7608464a3d17: Remove unused autotests directory in src/widgets (authored by dvratil).
Remove unused autotests directory in src/widgets
Mar 25 2020, 5:16 PM
dvratil committed R165:fc4d85cce840: Use Designer UI files for Tag dialogs/widgets (authored by dvratil).
Use Designer UI files for Tag dialogs/widgets
Mar 25 2020, 5:16 PM

Mar 24 2020

dvratil committed R165:ade84d0b35a4: Minor ItemRetriever refactoring/cleanup (authored by dvratil).
Minor ItemRetriever refactoring/cleanup
Mar 24 2020, 1:54 PM
dvratil committed R165:9b4df73f586c: AgentManager: ignore DBus services belonging to other Akonadi instances (authored by dvratil).
AgentManager: ignore DBus services belonging to other Akonadi instances
Mar 24 2020, 1:54 PM
dvratil committed R165:b94b8115f958: Clean up ItemRetriever to clear up ownership of ItemRetrievalRequest (authored by dvratil).
Clean up ItemRetriever to clear up ownership of ItemRetrievalRequest
Mar 24 2020, 1:54 PM
dvratil committed R165:5b8d7d4acc79: Remove DBusConnectionPool (authored by dvratil).
Remove DBusConnectionPool
Mar 24 2020, 1:54 PM
dvratil accepted D28226: KOrgac: Set initial dialog focus on the first selected reminder.

Goo idea

Mar 24 2020, 9:18 AM · KDE PIM

Mar 23 2020

dvratil accepted D28179: [contacts] Populate remoteId of newly created contact.

Thanks!

Mar 23 2020, 3:38 PM · KDE PIM

Mar 22 2020

dvratil added a comment to D28179: [contacts] Populate remoteId of newly created contact.

There seems to be a confusion between remoteId and the vCard UID stored in the contact payload. The ItemModifyJob in changeComitted() only updates the Item's remoteId, it does not update the payload - the contact keeps the default UID generated by KAddressBook. The event returned by Google contains UID generated by Google, so we end up with a conflict.

Mar 22 2020, 12:45 PM · KDE PIM

Mar 21 2020

dvratil accepted D28178: [contacts] Fix ContactCreateJob with a photo.

Please fix the small nitpick before committing. Otherwise good to go. Thanks!

Mar 21 2020, 2:18 PM · KDE PIM
dvratil accepted D28181: [contacts/ContactModifyJob] Avoid race condition.

Thanks!

Mar 21 2020, 2:17 PM · KDE PIM
dvratil added a comment to D21905: [Digital Clock] Open KOrganizer with event details on click.

Ping?

Mar 21 2020, 12:50 PM · Plasma
dvratil added a comment to D21902: Calendar: add method to show event details.

Ping? :)

Mar 21 2020, 12:50 PM · Frameworks
dvratil accepted D27817: [resources/ews] Adjust name of root collection to the name of the resource.
Mar 21 2020, 12:47 PM · KDE PIM
dvratil committed R173:1e240368ed7c: Fix bug where time of single instance of recurring event could not be changed (authored by sjolly).
Fix bug where time of single instance of recurring event could not be changed
Mar 21 2020, 12:46 PM
dvratil closed D28149: Fix bug where time of single instance of recurring event could not be changed.
Mar 21 2020, 12:46 PM · KDE PIM
dvratil requested changes to D28178: [contacts] Fix ContactCreateJob with a photo.

Looks good, thanks. Just a small thing, same as in the other review - move the code to a dedicated function please.

Mar 21 2020, 12:23 PM · KDE PIM
dvratil requested changes to D28181: [contacts/ContactModifyJob] Avoid race condition.

Looks good, thanks for the fix. Just move the code to a separate function, please :)

Mar 21 2020, 12:21 PM · KDE PIM
dvratil requested changes to D28179: [contacts] Populate remoteId of newly created contact.
Mar 21 2020, 12:12 PM · KDE PIM