Part of the KDE PIM group is meeting over this weekend in Barcelona in the spacious BlueSystems offices, hacking on all sorts of things. Me and David Edmundson took the oportunity to do some super huge changes to our KPeople library that are needed and as the library is in its dawn, it's better to do it sooner than later. These are all internal and boring changes, but one of the changes we've been working on here is really cool and worth mentioning.
Contact details editing
One of the most requested features in KDE Telepathy is a way to rename a contact, especially a metacontact. Since we're now using KPeople to power our contact list, implementing this has become a lot easier. So we devised a plan, spend some time implementing it and voila, we now have a way to rename contacts in KPeople (and thus in KTp) but also a way to store any arbitrary data for a contact.
Technical details
The boring stuff. Back in the days we were always using directly the contacts coming from Telepathy, so any change in the contact's name would have to be sent back to the server and then synced back, which obviously presents a problem for read-only networks. With KPeople we've created new data layer where the Telepathy contacts is just one of the backends. Thanks to this architecture we can modify the data locally in the KPeople layer and then just provide a way to prefer the local changes over the backend data when displaying things to the user. This data is all stored in Akonadi in a special resource with a special collection. You don't have to do anything for this to work, it's all set up behind the scenes the first time it's used.
This work layed the foundation for full local contacts editing which will come later as it's a bit more complex to get done properly in two days. But basically any custom data can now be stored with your contacts, including a timezone or gpg keys and then reused by any application using KPeople.
As all these changes add new APIs, we're aiming for KPeople 0.3 and KTp 0.9.
Good times ahead.
This sounds great.Great job to everyone participating in the sprint. Do you have any idea of what the status is on integrating kpeople into kaddressbook and the rest of kdepim?
Posted by: Lacsilva | Sunday, 30 March 2014 at 22:42
I'd like to see soon, kde online account KCM, as in Gnome 3, it seems to me that both of Netrunner! Basically the idea is to have a KCM module to put a single account and choose which applications to run it, put only once, and then (Thelepathy, Kmail, Kontact, Kopete etc.)
Posted by: Fabrizio Sirianni (Lazy) | Sunday, 30 March 2014 at 22:57
@Lacsilva - I do :) So for address book, we have an idea and a plan and an upcoming GSoC ;) I myself have pretty much no time left to work on that. As for the rest of PIM, we have a prototype for KMail integration, but it's pretty much the same story - no time.
If someone would like to step up for further integration, we'd be glad to help ^_-
@Fabrizio S. - Support for that comes with the 4.13 release, though I'm not sure if the actual KCM is part of that release or not. But yes, that's a direction we definitely want to expand to :)
Posted by: Marty | Monday, 31 March 2014 at 00:48
Thanks! Renaming contacts is most wanted feature for our company, will wait for 0.9 release, hope this will be not too long time.
Posted by: Alexey Korepov | Monday, 31 March 2014 at 10:49
About quotes:
"Since we're now using KPeople to power our contact list, implementing this has become a lot easier." and "One of the most requested features"
- KDE Telepathy 0.9 is released, but I cannot find rename contact function in it, is it implemented or planned for next versions? If for next - why?
Posted by: Alexey Korepov | Monday, 10 November 2014 at 07:17
It lives in a branch and it was not finished for lack of time. Sorry.
Posted by: Marty | Tuesday, 11 November 2014 at 18:36
I'm really looking forward to rename contact feature, is there any plans or dates when this feature will be released?
Posted by: Alexey Korepov | Wednesday, 24 December 2014 at 08:04
I need the rename contact feature in KDE Telepathy too, please implement it!
Posted by: Lorka Natas | Thursday, 25 December 2014 at 15:29