qtcontacts-tracker:contactsd.git
7 years agoPrepare Release harmattan/0.5.41-1
Siraj Razick [Mon, 15 Nov 2010 10:12:34 +0000 (15:42 +0530)]
Prepare Release

7 years agoChanges: Update changelog
Jens Georg [Mon, 15 Nov 2010 08:35:27 +0000 (09:35 +0100)]
Changes: Update changelog

RevBy: TrustMe

7 years agoFixes: Move accounts plugins to suggests
Jens Georg [Mon, 15 Nov 2010 08:26:30 +0000 (09:26 +0100)]
Fixes: Move accounts plugins to suggests

Bug: NB#203354
RevBy: TrustMe

7 years agochanges: Add support for type parameters on ContactInfo
Xavier Claessens [Fri, 12 Nov 2010 13:39:24 +0000 (14:39 +0100)]
changes: Add support for type parameters on ContactInfo

7 years agoMerge branch 'contact-info'
Xavier Claessens [Fri, 12 Nov 2010 12:09:52 +0000 (13:09 +0100)]
Merge branch 'contact-info'

7 years agochanges: Cleanup and fix the way ContactInfo are stored into PersonContact
Xavier Claessens [Thu, 11 Nov 2010 15:57:31 +0000 (16:57 +0100)]
changes: Cleanup and fix the way ContactInfo are stored into PersonContact

7 years agoChanges : Enable Console Logging for test cases
Siraj Razick [Fri, 12 Nov 2010 09:33:26 +0000 (15:03 +0530)]
Changes : Enable Console Logging for test cases

7 years agoFixes: NB#200288 - contactsd throws lots of garbage debug
Siraj Razick [Fri, 12 Nov 2010 09:17:11 +0000 (14:47 +0530)]
Fixes: NB#200288 - contactsd throws lots of garbage debug

7 years agochanges: Add unit test for removing IM contacts
Xavier Claessens [Thu, 11 Nov 2010 11:35:33 +0000 (12:35 +0100)]
changes: Add unit test for removing IM contacts

7 years agoPrepare: Release 0.5.40-5 harmattan/0.5.40-5
Siraj Razick [Thu, 11 Nov 2010 11:01:20 +0000 (16:31 +0530)]
Prepare: Release 0.5.40-5

7 years agoFixes: NB#203200 - All the service related information gets removed from the service...
Siraj Razick [Thu, 11 Nov 2010 10:31:17 +0000 (16:01 +0530)]
Fixes: NB#203200 - All the service related information gets removed from the service contact when marked as favourite

7 years agochanges: Actually use a slot that exist when deleting an account
Xavier Claessens [Thu, 11 Nov 2010 09:55:53 +0000 (10:55 +0100)]
changes: Actually use a slot that exist when deleting an account

7 years agoPrepare for 0.5.40-4 harmattan/0.5.40-4
Siraj Razick [Wed, 10 Nov 2010 14:41:15 +0000 (20:11 +0530)]
Prepare for 0.5.40-4

7 years agochanges: Do not remove self contact when purging tracker from deleted contacts
Xavier Claessens [Wed, 10 Nov 2010 14:25:36 +0000 (15:25 +0100)]
changes: Do not remove self contact when purging tracker from deleted contacts

When an account gets online, we delete from tracker all contacts that are not in it
anymore. But that query was deleting the self contact too.

7 years agochanges: Add CDTpContactPtr for shared ptr
Xavier Claessens [Tue, 9 Nov 2010 15:56:58 +0000 (16:56 +0100)]
changes: Add CDTpContactPtr for shared ptr

If we get from telepathy an update on a contact, then the contact is removed,
that produced an error because the CDTpContact* was deleted while we resolve
the contact, so when onContactUpdateResolverFinished is called the CDTpContact*
was invalid. Using SharedPtr we make sure the object survive, and we set a flag on
it to know the contact was removed so we can skip the update.

7 years agoPrepare for Release 0.5.40-3 harmattan/0.5.40-3
Siraj Razick [Tue, 9 Nov 2010 05:40:54 +0000 (11:10 +0530)]
Prepare for Release 0.5.40-3

7 years agoChanges : Remove adding hasPostalAddress/hasPhone Numbers to imContact with the wrong Url
Siraj Razick [Mon, 8 Nov 2010 17:08:55 +0000 (22:38 +0530)]
Changes : Remove adding hasPostalAddress/hasPhone Numbers to imContact with the wrong Url

7 years agochanges: remove CDTpStorageRemoveAccount, we can actually do without it
Xavier Claessens [Mon, 8 Nov 2010 14:19:06 +0000 (15:19 +0100)]
changes: remove CDTpStorageRemoveAccount, we can actually do without it

7 years agochanges: Fix to completely delete imAccount and imAddress entities
Xavier Claessens [Mon, 8 Nov 2010 13:34:57 +0000 (14:34 +0100)]
changes: Fix to completely delete imAccount and imAddress entities

previously we were deleting only their type field, which leave all other info
inside tracker.

7 years agochanges: Remove from tracker contacts that does not exist anymore when an account...
Xavier Claessens [Mon, 8 Nov 2010 12:15:18 +0000 (13:15 +0100)]
changes: Remove from tracker contacts that does not exist anymore when an account becomes online

and cleanup various queries to make them simpler.

7 years agoBump Version
Siraj Razick [Sun, 7 Nov 2010 17:26:09 +0000 (22:56 +0530)]
Bump Version

7 years agoPrepare for Version 0.5.40-2 harmattan/0.5.40-2
Siraj Razick [Sun, 7 Nov 2010 17:23:30 +0000 (22:53 +0530)]
Prepare for Version 0.5.40-2

7 years agoContact Info Cleanups
Siraj Razick [Tue, 2 Nov 2010 15:31:54 +0000 (21:01 +0530)]
Contact Info Cleanups

7 years agoChanges : delete properties list of resources
Siraj Razick [Tue, 26 Oct 2010 17:34:00 +0000 (23:04 +0530)]
Changes : delete properties list of resources

7 years agoChanges : Fix and improve CotactInfo Patch
Siraj Razick [Sun, 7 Nov 2010 16:35:29 +0000 (22:05 +0530)]
Changes : Fix and improve CotactInfo Patch

7 years agoMerge Upstream
Siraj Razick [Tue, 2 Nov 2010 15:31:54 +0000 (21:01 +0530)]
Merge Upstream

7 years agoChanges : delete properties list of resources
Siraj Razick [Tue, 26 Oct 2010 17:34:00 +0000 (23:04 +0530)]
Changes : delete properties list of resources

7 years agoChanged the enum values in CDTpContact::Change so that the bit wise AND works correctly.
Abhijit Bera [Tue, 2 Nov 2010 05:04:31 +0000 (10:34 +0530)]
Changed the enum values in CDTpContact::Change so that the bit wise AND works correctly.
Values 0x16 and 0x32 give incorrect binary values. They have been changed to 0x10 and 0x20.

Removed whitespaces, comments and done formatting.

Added the infoChanged signal so that information gets updated when it is changed in a contact
profile.

7 years agoCleaned up unwanted output.
Abhijit Bera [Sun, 31 Oct 2010 18:03:46 +0000 (23:33 +0530)]
Cleaned up unwanted output.

7 years agoRemoved unwanted commented code.
Abhijit Bera [Sun, 31 Oct 2010 17:44:29 +0000 (23:14 +0530)]
Removed unwanted commented code.

7 years agoAdded support for inserting additional details for a Skype profile into tracker.
Abhijit Bera [Sat, 30 Oct 2010 18:58:33 +0000 (00:28 +0530)]
Added support for inserting additional details for a Skype profile into tracker.

7 years agochanges: simplify a lot the way we purge deleted accounts at startup
Xavier Claessens [Fri, 5 Nov 2010 11:43:15 +0000 (12:43 +0100)]
changes: simplify a lot the way we purge deleted accounts at startup

We can actually ask tracker for the list of dangling imAccount directly, instead of
querying all accounts then filter ourself. isMemberOf().not_() FTW.

7 years agochanges: Fix the query to remove an account and all its contacts
Xavier Claessens [Fri, 5 Nov 2010 11:10:33 +0000 (12:10 +0100)]
changes: Fix the query to remove an account and all its contacts

7 years agoSimplify the query to remove an account
Xavier Claessens [Thu, 4 Nov 2010 16:25:06 +0000 (17:25 +0100)]
Simplify the query to remove an account

7 years agochanges: Fix remove IMAccount if it has no contact
Xavier Claessens [Thu, 4 Nov 2010 15:35:31 +0000 (16:35 +0100)]
changes: Fix remove IMAccount if it has no contact

The delete query for IMAccount was inside the loop for all contacts. That means
that if we have more than one contact, the query was repeated, and if we have no
contacts the query was not made at all.

Had to create the CDTpStorageRemoveAccount class to keep the AccountObjectPath for
the callback. Otherwise in the case we have no contact, it is impossible to know
the object path.

7 years agochanges: Removed accounts that does not exist anymore at startup
Xavier Claessens [Wed, 3 Nov 2010 14:52:19 +0000 (15:52 +0100)]
changes: Removed accounts that does not exist anymore at startup

7 years agoPrepare for 0.5.40-1 harmattan/0.5.40-1
Siraj Razick [Mon, 1 Nov 2010 11:26:25 +0000 (16:56 +0530)]
Prepare for 0.5.40-1

7 years agoChanges: imProtocol fix
Siraj Razick [Fri, 29 Oct 2010 06:29:02 +0000 (11:59 +0530)]
Changes: imProtocol fix

RevBy: TrustMe

7 years agoFix typo in gitignore
Xavier Claessens [Thu, 28 Oct 2010 12:32:51 +0000 (14:32 +0200)]
Fix typo in gitignore

7 years agoPrepare 0.5.39-2 harmattan/0.5.39-2
Siraj Razick [Thu, 28 Oct 2010 12:20:54 +0000 (17:50 +0530)]
Prepare 0.5.39-2

7 years agoMerge branch 'deletions'
Xavier Claessens [Thu, 28 Oct 2010 11:41:55 +0000 (13:41 +0200)]
Merge branch 'deletions'

7 years agochanges: Correctly delete contentLastModified when account going offline.
Xavier Claessens [Thu, 28 Oct 2010 11:41:11 +0000 (13:41 +0200)]
changes: Correctly delete contentLastModified when account going offline.

7 years agoChanges : delete properties list of resources harmattan-test/0.5.39-2
Siraj Razick [Tue, 26 Oct 2010 17:34:00 +0000 (23:04 +0530)]
Changes : delete properties list of resources

7 years agoUpdate gitignore
Xavier Claessens [Wed, 27 Oct 2010 10:27:34 +0000 (12:27 +0200)]
Update gitignore

7 years agoPrepare for 0.5.39-1 harmattan/0.5.39-1
Siraj Razick [Tue, 26 Oct 2010 08:50:17 +0000 (14:20 +0530)]
Prepare for 0.5.39-1

7 years agoReview comment fix
Tan Miaoqing [Tue, 26 Oct 2010 08:07:02 +0000 (11:07 +0300)]
Review comment fix

7 years agoCDTpController set serviec name and object path of an account to importStarted and...
Tan Miaoqing [Mon, 25 Oct 2010 12:27:30 +0000 (15:27 +0300)]
CDTpController set serviec name and object path of an account to importStarted and importEnded signal.

7 years agoAdd unit test for ImportState::activeImportingServices() function
Tan Miaoqing [Sun, 24 Oct 2010 14:36:08 +0000 (17:36 +0300)]
Add unit test for ImportState::activeImportingServices() function

7 years agomodify com.nokia.contacts.importprogress D-Bus interface
Tan Miaoqing [Sun, 24 Oct 2010 14:28:53 +0000 (17:28 +0300)]
modify com.nokia.contacts.importprogress D-Bus interface

7 years agoStore each account's contacts import state using QSettings.
Tan Miaoqing [Fri, 22 Oct 2010 13:34:17 +0000 (16:34 +0300)]
Store each account's contacts import state using QSettings.

7 years agoImportState only keeps track of service and account id information, but not plugin...
Tan Miaoqing [Tue, 19 Oct 2010 08:13:33 +0000 (11:13 +0300)]
ImportState only keeps track of service and account id information, but not plugin name.

7 years agoAdapt cdtpplugin to new importStarted and importEnded signal.
Tan Miaoqing [Tue, 19 Oct 2010 08:11:38 +0000 (11:11 +0300)]
Adapt cdtpplugin to new importStarted and importEnded signal.

7 years agoAdd account to import state management
Tan Miaoqing [Mon, 18 Oct 2010 12:41:59 +0000 (15:41 +0300)]
Add account to import state management

7 years agoAdd unit test for import state
Tan Miaoqing [Thu, 14 Oct 2010 15:14:03 +0000 (18:14 +0300)]
Add unit test for import state

7 years agoSimplify state management.
Tan Miaoqing [Thu, 14 Oct 2010 13:56:11 +0000 (16:56 +0300)]
Simplify state management.

7 years agoInstall com.nokia.contacts.importprogress.xml instead of contactsimportprogressinterf...
Tan Miaoqing [Wed, 13 Oct 2010 14:22:16 +0000 (17:22 +0300)]
Install com.nokia.contacts.importprogress.xml instead of contactsimportprogressinterface.h to contactsd-dev. Program that needs to use ContactsImportProgressInterface should generate .h/.cpp files from xml.

7 years agoContactsdPluginInterface can't extend QObject because of the meta-object linking...
Tan Miaoqing [Wed, 13 Oct 2010 11:53:00 +0000 (14:53 +0300)]
ContactsdPluginInterface can't extend QObject because of the meta-object linking issue.

7 years agoProperly define the new com.nokia.contacts.importprogress interface and generate...
Tan Miaoqing [Wed, 13 Oct 2010 11:39:52 +0000 (14:39 +0300)]
Properly define the new com.nokia.contacts.importprogress interface and generate interface and adaptor code from xml files. Remove the hardcoded old adaptor code.

7 years agoAdd ImportState class, which is used by ContactsdPluginLoader to manage contacts...
Tan Miaoqing [Tue, 12 Oct 2010 14:54:14 +0000 (17:54 +0300)]
Add ImportState class, which is used by ContactsdPluginLoader to manage contacts importing state.

7 years agoPrepare for 0.5.38-3 harmattan/0.5.38-3
Siraj Razick [Mon, 25 Oct 2010 14:17:45 +0000 (19:47 +0530)]
Prepare for 0.5.38-3

7 years agochanges: Set contentLastModified when creating new imContact, and update it if it...
Xavier Claessens [Mon, 25 Oct 2010 13:38:51 +0000 (15:38 +0200)]
changes: Set contentLastModified when creating new imContact, and update it if it already exists

7 years agoFix a little build warning
Xavier Claessens [Mon, 25 Oct 2010 10:15:42 +0000 (12:15 +0200)]
Fix a little build warning

7 years agochanges: do not write nco:photo anymore, and do not set avatar on self contact if...
Xavier Claessens [Fri, 22 Oct 2010 14:55:34 +0000 (16:55 +0200)]
changes: do not write nco:photo anymore, and do not set avatar on self contact if it is empty

7 years agoenable avatar unit test
Xavier Claessens [Fri, 22 Oct 2010 12:58:32 +0000 (14:58 +0200)]
enable avatar unit test

7 years agochanges: remove unused magical value for self contact
Xavier Claessens [Mon, 25 Oct 2010 09:52:59 +0000 (11:52 +0200)]
changes: remove unused magical value for self contact

7 years agoFix typo in debug message
Xavier Claessens [Mon, 25 Oct 2010 08:58:59 +0000 (10:58 +0200)]
Fix typo in debug message

7 years agoPrepare release harmattan/0.5.38-2
Siraj Razick [Sun, 24 Oct 2010 19:39:42 +0000 (01:09 +0530)]
Prepare release

7 years agochanges: Fix build of unit tests with glib 2.26
Xavier Claessens [Fri, 22 Oct 2010 15:16:33 +0000 (17:16 +0200)]
changes: Fix build of unit tests with glib 2.26

7 years agoChanges: Support saving to the same graph as qtcontact-tracker is using
Siraj Razick [Fri, 22 Oct 2010 06:41:00 +0000 (12:11 +0530)]
Changes: Support saving to the same graph as qtcontact-tracker is using

7 years agoFix issues in unit tests with the self contact
Xavier Claessens [Fri, 22 Oct 2010 08:21:27 +0000 (10:21 +0200)]
Fix issues in unit tests with the self contact

7 years agochange: Make sure to not save account before first connection, as it does not yet...
Xavier Claessens [Thu, 21 Oct 2010 08:28:27 +0000 (10:28 +0200)]
change: Make sure to not save account before first connection, as it does not yet have needed info

7 years agoRemove FIXME from tests
Xavier Claessens [Wed, 20 Oct 2010 14:58:16 +0000 (16:58 +0200)]
Remove FIXME from tests

7 years agochanges: Make sure to define imContact before setting contactLastModified on it,...
Xavier Claessens [Thu, 21 Oct 2010 08:45:23 +0000 (10:45 +0200)]
changes: Make sure to define imContact before setting contactLastModified on it, and don't redefine its type and hasIMAddress if it already exists

7 years agoPrepare release harmattan 0.3.38-1 harmattan/0.5.38-1
Siraj Razick [Thu, 21 Oct 2010 05:12:28 +0000 (10:42 +0530)]
Prepare release harmattan 0.3.38-1

7 years agochange: isEmpty already check for isNull
Xavier Claessens [Wed, 20 Oct 2010 11:51:05 +0000 (13:51 +0200)]
change: isEmpty already check for isNull

7 years agoChanges : Handle updates for imAddress correctly
Siraj Razick [Fri, 15 Oct 2010 06:54:57 +0000 (12:24 +0530)]
Changes : Handle updates for imAddress correctly

7 years agoChanges : Handle updates in the resolved contacts
Siraj Razick [Mon, 18 Oct 2010 12:04:07 +0000 (17:34 +0530)]
Changes : Handle updates in the resolved contacts

7 years agoChanges: Fix the query when adding a new IM Contact, if it is already bound to a...
Xavier Claessens [Mon, 18 Oct 2010 15:13:08 +0000 (17:13 +0200)]
Changes: Fix the query when adding a new IM Contact, if it is already bound to a local contact

7 years agoChanges : Handle updates for imAddress correctly
Siraj Razick [Fri, 15 Oct 2010 06:54:57 +0000 (12:24 +0530)]
Changes : Handle updates for imAddress correctly

7 years agoPrepare for harmattan 0.5.37-3 harmattan/0.5.37-3
Siraj Razick [Fri, 15 Oct 2010 12:37:38 +0000 (18:07 +0530)]
Prepare for harmattan 0.5.37-3

7 years agochanges: Fix build warnings
Xavier Claessens [Fri, 15 Oct 2010 09:21:15 +0000 (11:21 +0200)]
changes: Fix build warnings

7 years agoPrepare for release 0.5.37-2 harmattan/0.5.37-2
Siraj Razick [Wed, 13 Oct 2010 13:07:18 +0000 (18:37 +0530)]
Prepare for release 0.5.37-2

7 years agoChanges : use imProtocol
Siraj Razick [Wed, 13 Oct 2010 12:45:12 +0000 (18:15 +0530)]
Changes : use imProtocol

RevBy : TrustMe

7 years agoRevert "Change: Make sure to not store the account until we have its normalized name"
Siraj Razick [Wed, 13 Oct 2010 12:23:30 +0000 (17:53 +0530)]
Revert "Change: Make sure to not store the account until we have its normalized name"

This reverts commit 6679cd18343844201cf01550f47b0ba063316caa.

7 years agoFixes : NB#191414 - Default avatar is displayed under 'info' tab after configuring...
Siraj Razick [Wed, 13 Oct 2010 07:50:43 +0000 (13:20 +0530)]
Fixes : NB#191414 -  Default avatar is displayed under 'info' tab after configuring gtalk account

Rev-By : TrustMe

Note : This patch needs to be reverted once imAvatar support is merged with qtcontact-tracker plugin

7 years agoFixes: description of contactsd-dev package was "Debug symbols", not "Development...
Friedrich W. H. Kossebau [Mon, 11 Oct 2010 12:57:49 +0000 (14:57 +0200)]
Fixes: description of contactsd-dev package was "Debug symbols", not "Development headers"

RevBy: Jens Georg

7 years agoprepare harmattan/0.5.37-1 harmattan/0.5.37-1
Jens Georg [Mon, 11 Oct 2010 10:08:58 +0000 (12:08 +0200)]
prepare harmattan/0.5.37-1

7 years agoChange: Make sure to not store the account until we have its normalized name
Xavier Claessens [Fri, 8 Oct 2010 08:32:46 +0000 (11:32 +0300)]
Change: Make sure to not store the account until we have its normalized name

7 years agochange: Fix AccountPath field not appearing on self contact
Xavier Claessens [Thu, 7 Oct 2010 09:07:39 +0000 (12:07 +0300)]
change: Fix AccountPath field not appearing on self contact

RevBy: Siraj

7 years agoImprove a bit unit tests
Xavier Claessens [Wed, 6 Oct 2010 19:44:18 +0000 (22:44 +0300)]
Improve a bit unit tests

7 years agoStore the authorization status in tracker, using the new ontologies on imAddress
Xavier Claessens [Fri, 1 Oct 2010 12:21:34 +0000 (14:21 +0200)]
Store the authorization status in tracker, using the new ontologies on imAddress

7 years agoPrepare for release : Fix date in change log harmattan/0.5.36-7
Siraj Razick [Wed, 6 Oct 2010 10:36:10 +0000 (16:06 +0530)]
Prepare for release : Fix date in change log

7 years agoPrepare for Harmattan 0.5.36-7 Release
Siraj Razick [Wed, 6 Oct 2010 10:32:55 +0000 (16:02 +0530)]
Prepare for Harmattan 0.5.36-7 Release

7 years agoFixes : NB#193964 - [Hamsin IM] Avatars are not displayed
Siraj Razick [Wed, 6 Oct 2010 10:25:01 +0000 (15:55 +0530)]
Fixes : NB#193964 - [Hamsin IM] Avatars are not displayed

7 years agoBump Version
Siraj Razick [Thu, 30 Sep 2010 14:57:17 +0000 (20:27 +0530)]
Bump Version

7 years agoPrepare for Harmattan/0.5.36-6 harmattan/0.5.36-6
Siraj Razick [Thu, 30 Sep 2010 14:52:00 +0000 (20:22 +0530)]
Prepare for Harmattan/0.5.36-6

7 years agoChanges : Mark contacts presene as unknown once the account goes offline
Siraj Razick [Thu, 30 Sep 2010 13:23:42 +0000 (18:53 +0530)]
Changes : Mark contacts presene as unknown once the account goes offline

7 years agoTests: Support verifying only parts of the contact info, and add expectation for...
Xavier Claessens [Thu, 30 Sep 2010 12:09:03 +0000 (14:09 +0200)]
Tests: Support verifying only parts of the contact info, and add expectation for disconnection case

7 years agoAdd initial test case for connection going offline
Xavier Claessens [Thu, 30 Sep 2010 11:52:06 +0000 (13:52 +0200)]
Add initial test case for connection going offline

7 years agosimple-account: Remove the connection when it gets invalidated
Xavier Claessens [Thu, 30 Sep 2010 11:36:22 +0000 (13:36 +0200)]
simple-account: Remove the connection when it gets invalidated