qtcontacts-tracker:contactsd.git
7 years agoPrepare for release harmattan/0.5.51-1
Xavier Claessens [Tue, 15 Feb 2011 11:25:50 +0000 (12:25 +0100)]
Prepare for release

7 years agoFixes: NB#227721 - Not able to add a IM buddy
Xavier Claessens [Tue, 15 Feb 2011 11:22:47 +0000 (12:22 +0100)]
Fixes: NB#227721 - Not able to add a IM buddy

Make sure to correctly update account and account's IMAddress

7 years agoChanges: Make avatar URL start with file://
Xavier Claessens [Mon, 14 Feb 2011 18:15:31 +0000 (19:15 +0100)]
Changes: Make avatar URL start with file://

7 years agoprepare for release harmattan/0.5.50-1
Xavier Claessens [Mon, 14 Feb 2011 17:51:19 +0000 (18:51 +0100)]
prepare for release

7 years agoFixes: NB#202165 - Gtalk contacts having status 'offline' are shown with default...
Xavier Claessens [Mon, 14 Feb 2011 17:44:36 +0000 (18:44 +0100)]
Fixes: NB#202165 - Gtalk contacts having status 'offline' are shown with default avatar

Request avatar and ContactInfo first time we see a contact

7 years agoChanges: use "telepathy:<account path>!self" for the account's IMAddress
Xavier Claessens [Mon, 14 Feb 2011 17:16:02 +0000 (18:16 +0100)]
Changes: use "telepathy:<account path>!self" for the account's IMAddress

This is to avoid confusion if roster contains user himself

7 years agoMake contact creation a little bit faster
Xavier Claessens [Mon, 14 Feb 2011 16:26:59 +0000 (17:26 +0100)]
Make contact creation a little bit faster

7 years agoGroup insertions per resource
Xavier Claessens [Mon, 14 Feb 2011 16:01:05 +0000 (17:01 +0100)]
Group insertions per resource

7 years agoChanges: Skip '<' and '>' from contact ids
Xavier Claessens [Mon, 14 Feb 2011 13:57:12 +0000 (14:57 +0100)]
Changes: Skip '<' and '>' from contact ids

tp-ring uses "<SelfHandle>" as contactId for the self contact, but that does not make a good URL.

7 years agoMake it work with larger roster
Xavier Claessens [Mon, 14 Feb 2011 12:27:04 +0000 (13:27 +0100)]
Make it work with larger roster

When creating a new contact, try as much as possible to not have to
bind to a ?imContact variable, otherwise we soon hit a tracker limit

7 years agoMinor cleanup. Print time elapsed to execute queries
Xavier Claessens [Fri, 11 Feb 2011 13:34:14 +0000 (14:34 +0100)]
Minor cleanup. Print time elapsed to execute queries

7 years agoChanges: Implement DBus interface to add/remove buddy
aleksandar stojiljkovic [Fri, 11 Feb 2011 12:48:37 +0000 (13:48 +0100)]
Changes: Implement DBus interface to add/remove buddy

Store buddies to be removed into a redlist and process them once
the account gets online. Remove them from tracker directly.

7 years agoDelete only when it is needed, and delete once for all contacts/accounts
Xavier Claessens [Thu, 10 Feb 2011 11:29:54 +0000 (12:29 +0100)]
Delete only when it is needed, and delete once for all contacts/accounts

Instead of deleting properties for each account/contact one by one, it's preferable
to use a variable and use a FILTER IN for example.

This improve performance a LOT.

7 years agoImplement mutable ContactList on test CM
Xavier Claessens [Wed, 9 Feb 2011 13:23:41 +0000 (14:23 +0100)]
Implement mutable ContactList on test CM

7 years agoUpdate test CM from telepathy-glib
Xavier Claessens [Wed, 9 Feb 2011 12:07:33 +0000 (13:07 +0100)]
Update test CM from telepathy-glib

7 years agoChanges: When creating an account, also ensure default-contact-me exists
Xavier Claessens [Tue, 8 Feb 2011 15:02:01 +0000 (16:02 +0100)]
Changes: When creating an account, also ensure default-contact-me exists

7 years agoEmit again syncStarted/syncEnded signals
Xavier Claessens [Tue, 8 Feb 2011 12:09:42 +0000 (13:09 +0100)]
Emit again syncStarted/syncEnded signals

It is tricky to know how many contacts got created/removed though,
so for now we just pretent all contacts were new.

7 years agoChanges: Use factories to define features needed on Account/Connection/Contact
Xavier Claessens [Mon, 7 Feb 2011 13:49:00 +0000 (14:49 +0100)]
Changes: Use factories to define features needed on Account/Connection/Contact
Changes: When an account/contact change, update only necessary fields

This simplify our code since we don't have to wait for objects to become
ready anymore. When adding a new account, all its contacts are already
prepared.

7 years agoChanges: port remove contact/account to raw sparql query
Xavier Claessens [Fri, 4 Feb 2011 10:12:22 +0000 (11:12 +0100)]
Changes: port remove contact/account to raw sparql query

Drop qttracker dependency

7 years agoMinor cleanup
Xavier Claessens [Thu, 3 Feb 2011 06:07:57 +0000 (07:07 +0100)]
Minor cleanup

7 years agoDo not "leak" avatar's DataObject in tracker
Xavier Claessens [Thu, 3 Feb 2011 00:02:38 +0000 (01:02 +0100)]
Do not "leak" avatar's DataObject in tracker

7 years agoChanges: Port account creation/update to raw sparql query
Xavier Claessens [Wed, 2 Feb 2011 17:20:17 +0000 (18:20 +0100)]
Changes: Port account creation/update to raw sparql query

7 years agoKeep imAccount properties into the private graph
Xavier Claessens [Wed, 2 Feb 2011 16:13:30 +0000 (17:13 +0100)]
Keep imAccount properties into the private graph

7 years agoChanges: Port contact creation/update to raw sparql query
Xavier Claessens [Wed, 2 Feb 2011 15:58:49 +0000 (16:58 +0100)]
Changes: Port contact creation/update to raw sparql query

7 years agoChanges: Do not assume nco:IMAccount inherit from nco:IMAddress
Xavier Claessens [Mon, 31 Jan 2011 08:51:30 +0000 (09:51 +0100)]
Changes: Do not assume nco:IMAccount inherit from nco:IMAddress

This was deprecated and droped in tracker 0.9.36

7 years agoPackages now depends on libqtsparql
Xavier Claessens [Fri, 28 Jan 2011 08:43:08 +0000 (09:43 +0100)]
Packages now depends on libqtsparql

7 years agoPrepare FeatureCapabilities on Tp::Account since we use it
Xavier Claessens [Thu, 27 Jan 2011 11:32:03 +0000 (12:32 +0100)]
Prepare FeatureCapabilities on Tp::Account since we use it

7 years agoAdd a copy of SparqlConnectionManager from qtcontacts-tracker
Xavier Claessens [Wed, 26 Jan 2011 13:07:34 +0000 (14:07 +0100)]
Add a copy of SparqlConnectionManager from qtcontacts-tracker

7 years agoFixes: NB#203933 - Set account caps when the there is no connection
Xavier Claessens [Tue, 25 Jan 2011 15:21:27 +0000 (16:21 +0100)]
Fixes: NB#203933 - Set account caps when the there is no connection

7 years agoChanges: Plugins does not need to implement hasActiveImports
Xavier Claessens [Tue, 25 Jan 2011 15:30:18 +0000 (16:30 +0100)]
Changes: Plugins does not need to implement hasActiveImports

Keep it with trivial implementation to preserve ABI

7 years agostart new dev
Xavier Claessens [Fri, 21 Jan 2011 15:14:30 +0000 (16:14 +0100)]
start new dev

7 years agoprepare for release harmattan/0.5.49-1
Xavier Claessens [Fri, 21 Jan 2011 15:13:48 +0000 (16:13 +0100)]
prepare for release

7 years agoProperly wait for the AM to appear on the bus instead of the racy sleep
Xavier Claessens [Fri, 21 Jan 2011 14:44:00 +0000 (15:44 +0100)]
Properly wait for the AM to appear on the bus instead of the racy sleep

7 years agoMake possible to silent fake CM debug output
Xavier Claessens [Fri, 21 Jan 2011 13:57:58 +0000 (14:57 +0100)]
Make possible to silent fake CM debug output

7 years agoFixes: NB#220851 - Crash when an IM contact has special postal address
Xavier Claessens [Fri, 21 Jan 2011 12:00:23 +0000 (13:00 +0100)]
Fixes: NB#220851 - Crash when an IM contact has special postal address

7 years agoFix make check
Xavier Claessens [Fri, 21 Jan 2011 11:44:41 +0000 (12:44 +0100)]
Fix make check

7 years agoFixes: NB#215021 - Contactsd gets incorrect names for importing IM services
Xavier Claessens [Thu, 20 Jan 2011 16:56:30 +0000 (17:56 +0100)]
Fixes: NB#215021 - Contactsd gets incorrect names for importing IM services

Use the provider name from the account's profile. And fallback to use the service
name because profiles are not yet supported in most systems

7 years agoCleanup a bit packaging depedencies
Xavier Claessens [Thu, 20 Jan 2011 14:31:59 +0000 (15:31 +0100)]
Cleanup a bit packaging depedencies

7 years agoPrepare harmattan/0.5.48-2 harmattan/0.5.48-2
Tan Miaoqing [Thu, 20 Jan 2011 15:34:55 +0000 (17:34 +0200)]
Prepare harmattan/0.5.48-2

7 years agoChanges: Update contentLastModified on me-contact when account change
Xavier Claessens [Thu, 20 Jan 2011 12:26:09 +0000 (13:26 +0100)]
Changes: Update contentLastModified on me-contact when account change

7 years agoChanges: generator is optional, me-contact does not have it
Xavier Claessens [Thu, 20 Jan 2011 10:21:19 +0000 (11:21 +0100)]
Changes: generator is optional, me-contact does not have it

7 years agoEnable log-console if CONTACTSD_DEBUG env is set
Xavier Claessens [Thu, 20 Jan 2011 08:55:29 +0000 (09:55 +0100)]
Enable log-console if CONTACTSD_DEBUG env is set

7 years agoRefactoring of telepathy plugin unit tests
Xavier Claessens [Thu, 20 Jan 2011 08:53:31 +0000 (09:53 +0100)]
Refactoring of telepathy plugin unit tests

They can now be run one by one and gets included into contactsd-tests package
to be executed on CITA

7 years agoChanges: correctly connect publishStateChanged signal
Xavier Claessens [Tue, 18 Jan 2011 08:23:58 +0000 (09:23 +0100)]
Changes: correctly connect publishStateChanged signal

7 years agoStart new dev
Xavier Claessens [Mon, 17 Jan 2011 08:57:34 +0000 (09:57 +0100)]
Start new dev

7 years agoprepare for release 0.5.48 harmattan/0.5.48-1
Xavier Claessens [Mon, 17 Jan 2011 08:56:31 +0000 (09:56 +0100)]
prepare for release 0.5.48

7 years agochanges: Update the copy of fake CM we have for unit tests from tp-glib
Xavier Claessens [Fri, 14 Jan 2011 14:18:16 +0000 (15:18 +0100)]
changes: Update the copy of fake CM we have for unit tests from tp-glib

7 years agoMerge branch 'deprecated'
Xavier Claessens [Fri, 14 Jan 2011 14:13:15 +0000 (15:13 +0100)]
Merge branch 'deprecated'

7 years agoMerge branch 'local-pending'
Xavier Claessens [Fri, 14 Jan 2011 11:42:35 +0000 (12:42 +0100)]
Merge branch 'local-pending'

7 years agoMerge branch 'contact-info'
Xavier Claessens [Thu, 13 Jan 2011 18:12:14 +0000 (19:12 +0100)]
Merge branch 'contact-info'

7 years agoMove tel: and emailto: resources into default graph
Xavier Claessens [Thu, 13 Jan 2011 18:10:26 +0000 (19:10 +0100)]
Move tel: and emailto: resources into default graph

7 years agochanges: Do not import local-pending contacts 15
Xavier Claessens [Wed, 12 Jan 2011 15:14:08 +0000 (16:14 +0100)]
changes: Do not import local-pending contacts

7 years agochanges: Do not use deprecated tp-qt4 signals
Xavier Claessens [Thu, 13 Jan 2011 11:08:04 +0000 (12:08 +0100)]
changes: Do not use deprecated tp-qt4 signals

7 years agoDo not print warning if a file is not the expected plugin type
Xavier Claessens [Thu, 13 Jan 2011 11:06:56 +0000 (12:06 +0100)]
Do not print warning if a file is not the expected plugin type

Only print qDebug() otherwise it makes unit tests not pass with fatal warnings

7 years agochanges: support more fields from ContactInfo
Xavier Claessens [Tue, 11 Jan 2011 15:47:06 +0000 (16:47 +0100)]
changes: support more fields from ContactInfo

7 years agoFixes: NB#217560 - Tests.xml file missing in contactsd-tests package 13
Jens Georg [Tue, 11 Jan 2011 10:06:22 +0000 (11:06 +0100)]
Fixes: NB#217560 - Tests.xml file missing in contactsd-tests package

Package ut_contactsd, ut_telepathyplugin and tests.xml. Package was empty
before.

RevBy: TrustMe

7 years agochanges: Link an IMAddress to a PersonContact via an affiliation instead of directly
Xavier Claessens [Fri, 7 Jan 2011 12:57:08 +0000 (13:57 +0100)]
changes: Link an IMAddress to a PersonContact via an affiliation instead of directly

7 years agochanges: Use the displayName of the account instead of serviceName for import status
Xavier Claessens [Thu, 6 Jan 2011 16:05:36 +0000 (17:05 +0100)]
changes: Use the displayName of the account instead of serviceName for import status

7 years agoStart new dev
Xavier Claessens [Wed, 5 Jan 2011 16:12:30 +0000 (17:12 +0100)]
Start new dev

7 years agoprepare for release harmattan/0.5.47-1
Xavier Claessens [Wed, 5 Jan 2011 16:11:14 +0000 (17:11 +0100)]
prepare for release

7 years agochanges: Correctly emit syncStarted and syncEnded signals
Xavier Claessens [Wed, 5 Jan 2011 16:01:09 +0000 (17:01 +0100)]
changes: Correctly emit syncStarted and syncEnded signals

7 years agoWrap update queries to display errors and get a signal when operation is done
Xavier Claessens [Wed, 5 Jan 2011 12:22:34 +0000 (13:22 +0100)]
Wrap update queries to display errors and get a signal when operation is done

7 years agoSplit out select queries into cdtpquery.cpp and share better the code
Xavier Claessens [Wed, 5 Jan 2011 10:19:05 +0000 (11:19 +0100)]
Split out select queries into cdtpquery.cpp and share better the code

7 years agoChanges: make the storage responsible of telling when import is starting/ending
Xavier Claessens [Wed, 22 Dec 2010 11:52:10 +0000 (12:52 +0100)]
Changes: make the storage responsible of telling when import is starting/ending

Since operation is async, only the storage can know when it's done.

7 years agochanges: Use SharedPtr for CDTpAccountPtr as we do for CDTpContactPtr
Xavier Claessens [Wed, 22 Dec 2010 11:48:00 +0000 (12:48 +0100)]
changes: Use SharedPtr for CDTpAccountPtr as we do for CDTpContactPtr

Note that CDTpContact keeps only a C pointer to avoid ref cycle

7 years agoSet state of all importing accounts to Imported after timeout.
Tan Miaoqing [Thu, 30 Dec 2010 14:51:23 +0000 (16:51 +0200)]
Set state of all importing accounts to Imported after timeout.

7 years agoFixes : NB#11621 - contactsd: ut_telepathyplugin build fails (meego-bug)
Siraj Razick [Mon, 27 Dec 2010 04:27:40 +0000 (09:57 +0530)]
Fixes : NB#11621 - contactsd: ut_telepathyplugin build fails (meego-bug)

Review-by: TrustMe
7 years agoprepare 0.5.46-5 harmattan/0.5.46-5
Aleksandar Stojiljkovic [Thu, 23 Dec 2010 13:10:52 +0000 (15:10 +0200)]
prepare 0.5.46-5

7 years agoprepare release 0.5.46-4 harmattan/0.5.46-4
Aleksandar Stojiljkovic [Thu, 23 Dec 2010 13:00:37 +0000 (15:00 +0200)]
prepare release 0.5.46-4

7 years agoprepare harmattan/0.5.46-3 harmattan/0.5.46-3
Aleksandar Stojiljkovic [Thu, 23 Dec 2010 12:45:40 +0000 (14:45 +0200)]
prepare harmattan/0.5.46-3

7 years agoprepare 0.5.46-2 harmattan/0.5.46-2
Aleksandar Stojiljkovic [Thu, 23 Dec 2010 12:22:19 +0000 (14:22 +0200)]
prepare 0.5.46-2

7 years agoRemove obsolet comment
Xavier Claessens [Wed, 22 Dec 2010 12:18:53 +0000 (13:18 +0100)]
Remove obsolet comment

7 years agochanges: Add benchmarking test, doing operations on 5000 contacts
Xavier Claessens [Fri, 17 Dec 2010 11:06:46 +0000 (12:06 +0100)]
changes: Add benchmarking test, doing operations on 5000 contacts

7 years agochanges: Limit to 999 queries that have a isMemberOf() otherwise tracker says query...
Xavier Claessens [Fri, 17 Dec 2010 11:05:01 +0000 (12:05 +0100)]
changes: Limit to 999 queries that have a isMemberOf() otherwise tracker says query is too big

7 years agochanges: Set a limit of update queue size to avoid reaching tracker limits
Xavier Claessens [Wed, 15 Dec 2010 08:35:04 +0000 (09:35 +0100)]
changes: Set a limit of update queue size to avoid reaching tracker limits

7 years agoPrepare: release 0.5.46-1 harmattan/0.5.46-1
Tan Miaoqing [Tue, 21 Dec 2010 11:36:54 +0000 (13:36 +0200)]
Prepare: release 0.5.46-1

7 years agoAdd a safety check in stopImportTimer() 11
Tan Miaoqing [Mon, 20 Dec 2010 14:46:25 +0000 (16:46 +0200)]
Add a safety check in stopImportTimer()

7 years agoAdd import timeout.
Tan Miaoqing [Mon, 20 Dec 2010 14:26:35 +0000 (16:26 +0200)]
Add import timeout.

7 years agoPrepare: release 0.5.45-1 harmattan/0.5.45-1
Siraj Razick [Mon, 20 Dec 2010 04:53:23 +0000 (10:23 +0530)]
Prepare: release 0.5.45-1

7 years agoEmit ImportStarted signal when a new account is ready.
Tan Miaoqing [Thu, 16 Dec 2010 11:06:29 +0000 (13:06 +0200)]
Emit ImportStarted signal when a new account is ready.

7 years agoTelepathy plugin emits ImportStarted signal when an account is newly created.
Tan Miaoqing [Wed, 15 Dec 2010 14:39:07 +0000 (16:39 +0200)]
Telepathy plugin emits ImportStarted signal when an account is newly created.

7 years agoFixes : NB#210977 Skype contacts are not shown
Siraj Razick [Fri, 17 Dec 2010 11:12:44 +0000 (16:42 +0530)]
Fixes : NB#210977 Skype contacts are not shown

7 years agoBump Version
Siraj Razick [Wed, 15 Dec 2010 16:40:33 +0000 (22:10 +0530)]
Bump Version

7 years agoPrepare: release 0.5.44-1 harmattan/0.5.44-1
Siraj Razick [Wed, 15 Dec 2010 16:32:30 +0000 (22:02 +0530)]
Prepare: release 0.5.44-1

7 years agoMerge branch 'master' of git@gitorious.org:/qtcontacts-tracker/contactsd
Siraj Razick [Wed, 15 Dec 2010 16:07:42 +0000 (21:37 +0530)]
Merge branch 'master' of git@gitorious.org:/qtcontacts-tracker/contactsd

7 years agoChanges : contactsd unit tests for coverage improvments
Siraj Razick [Tue, 7 Dec 2010 14:30:39 +0000 (20:00 +0530)]
Changes : contactsd unit tests for coverage improvments

7 years agoChanges : replace Plugin Daemon Instance wrapper with the plugin loader for better...
Siraj Razick [Mon, 6 Dec 2010 05:31:06 +0000 (11:01 +0530)]
Changes : replace Plugin Daemon Instance wrapper with the plugin loader for better unit tests

7 years agoChanges : enable/disable coverage from configure script and some test cases to improv...
Siraj Razick [Fri, 3 Dec 2010 10:58:31 +0000 (16:28 +0530)]
Changes : enable/disable coverage from configure script and some test cases to improve coverage

7 years agochanges: Make ContactList operations on a set of contacts at once
Xavier Claessens [Wed, 15 Dec 2010 08:33:19 +0000 (09:33 +0100)]
changes: Make ContactList operations on a set of contacts at once

7 years agoUse TpBaseContactList to add support for ContactList on the fake connection
Xavier Claessens [Tue, 14 Dec 2010 11:21:24 +0000 (12:21 +0100)]
Use TpBaseContactList to add support for ContactList on the fake connection

7 years agochanges: Add some more debug messages and fix coding style
Xavier Claessens [Mon, 6 Dec 2010 15:53:33 +0000 (16:53 +0100)]
changes: Add some more debug messages and fix coding style

7 years agochanges: Take fake connection presence/nickname/normalizedName from self contact
Xavier Claessens [Mon, 6 Dec 2010 14:58:39 +0000 (15:58 +0100)]
changes: Take fake connection presence/nickname/normalizedName from self contact

7 years agotrivial cleanup in script
Xavier Claessens [Thu, 2 Dec 2010 13:15:14 +0000 (14:15 +0100)]
trivial cleanup in script

7 years agoMake sure to cleanup tests tmp files
Xavier Claessens [Thu, 2 Dec 2010 13:00:40 +0000 (14:00 +0100)]
Make sure to cleanup tests tmp files

7 years agochanges: Set all contacts offline at startup if an account is offline
Xavier Claessens [Thu, 2 Dec 2010 12:36:52 +0000 (13:36 +0100)]
changes: Set all contacts offline at startup if an account is offline

Fixes NB#185265

7 years agochanges: clear QHash in destructor
Xavier Claessens [Thu, 2 Dec 2010 09:05:24 +0000 (10:05 +0100)]
changes: clear QHash in destructor

7 years agochanges: delay a bit updates to let a chance to group them for performance
Xavier Claessens [Wed, 1 Dec 2010 14:45:45 +0000 (15:45 +0100)]
changes: delay a bit updates to let a chance to group them for performance

This also unify contact addition and update code paths

7 years agochanges: Add unit tests for ContactInfo
Xavier Claessens [Tue, 30 Nov 2010 14:18:33 +0000 (15:18 +0100)]
changes: Add unit tests for ContactInfo

7 years agochanges: Move ContactInfo resources/properties into their own graph
Xavier Claessens [Tue, 30 Nov 2010 14:16:31 +0000 (15:16 +0100)]
changes: Move ContactInfo resources/properties into their own graph

The graph is simply the IMAddress URI it belongs to. This makes easy
to delete all ContactInfo stuff from an IMAddress.

7 years agochanges: remove resource lists to simplify the code
Xavier Claessens [Tue, 30 Nov 2010 10:13:13 +0000 (11:13 +0100)]
changes: remove resource lists to simplify the code

It also seems to modify imContact for some reason, maybe a Qttracker bug.