qtcontacts-tracker:astojiljs-contactsd.git
7 years agoWIP: CDTpStorage::syncAccount ported to qsparql. SaveAvatar still needs to be ported.
aleksandar stojiljkovic [Sat, 29 Jan 2011 14:19:47 +0000 (16:19 +0200)]
WIP: CDTpStorage::syncAccount ported to qsparql. SaveAvatar still needs to be ported.

7 years agoqsparql version for remove contacts
Aleksandar Stojiljkovic [Thu, 27 Jan 2011 14:38:41 +0000 (16:38 +0200)]
qsparql version for remove contacts

7 years agoMore robust way to cleanup empty telepathy contacts
Aleksandar Stojiljkovic [Thu, 27 Jan 2011 07:51:27 +0000 (09:51 +0200)]
More robust way to cleanup empty telepathy contacts

7 years agoQSparql implementation for remove account
Aleksandar Stojiljkovic [Thu, 27 Jan 2011 07:45:54 +0000 (09:45 +0200)]
QSparql implementation for remove account

7 years agoWIP: Remove contacts from tracker without first fetching them - all in one qsparql...
Aleksandar Stojiljkovic [Wed, 26 Jan 2011 11:29:18 +0000 (13:29 +0200)]
WIP: Remove contacts from tracker without first fetching them - all in one qsparql query

- initial sparqlconnectionmanager source copied from qtcontacts-tracker
- tests dont pass - WIP on remove contacts

7 years agoWIP: Initial BuddyManagement DBUS API. skeletons
Aleksandar Stojiljkovic [Mon, 17 Jan 2011 11:52:05 +0000 (13:52 +0200)]
WIP: Initial BuddyManagement DBUS API. skeletons

7 years agoEnabling usage() to be printed to console.
Aleksandar Stojiljkovic [Fri, 14 Jan 2011 06:15:42 +0000 (08:15 +0200)]
Enabling usage() to be printed to console.

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
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
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
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
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
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
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
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
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
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
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 master
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
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()
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
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
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.

7 years agoPrepare: for Release 0.5.43-1
Siraj Razick [Wed, 1 Dec 2010 14:40:19 +0000 (20:10 +0530)]
Prepare: for Release 0.5.43-1

7 years agoUpdates gitignore
Xavier Claessens [Wed, 1 Dec 2010 14:27:26 +0000 (15:27 +0100)]
Updates gitignore

7 years agochanges: Fixes regressions introduced by porting to tpqt4 0.5
Xavier Claessens [Wed, 1 Dec 2010 14:19:44 +0000 (15:19 +0100)]
changes: Fixes regressions introduced by porting to tpqt4 0.5

7 years agoMake tests build with telepathy-qt4 0.5.0.
Andre Moreira Magalhaes (andrunko) [Wed, 24 Nov 2010 14:34:16 +0000 (14:34 +0000)]
Make tests build with telepathy-qt4 0.5.0.

7 years agoRemoved already fixed FIXME.
Andre Moreira Magalhaes (andrunko) [Wed, 24 Nov 2010 13:11:12 +0000 (13:11 +0000)]
Removed already fixed FIXME.

7 years agoUpdate packaging to depend on telepathy-qt4 >= 0.5.0.
Andre Moreira Magalhaes (andrunko) [Wed, 24 Nov 2010 13:00:36 +0000 (13:00 +0000)]
Update packaging to depend on telepathy-qt4 >= 0.5.0.

7 years agoBuild against telepathy-qt4 0.5.0.
Andre Moreira Magalhaes (andrunko) [Wed, 24 Nov 2010 12:59:47 +0000 (12:59 +0000)]
Build against telepathy-qt4 0.5.0.

7 years agoChanges : Enable CITA Friendly test cases
siraj [Tue, 30 Nov 2010 05:25:37 +0000 (10:55 +0530)]
Changes : Enable CITA Friendly test cases

7 years agoChanges : Debian Package support for test cases
Siraj Razick [Wed, 1 Dec 2010 13:55:39 +0000 (19:25 +0530)]
Changes : Debian Package support for test cases

7 years agoMerge branch 'imaccount'
Xavier Claessens [Mon, 29 Nov 2010 10:42:37 +0000 (11:42 +0100)]
Merge branch 'imaccount'

7 years agochanges: Move IMAccount into contactsd's private graph to protect it from being delet...
Xavier Claessens [Tue, 23 Nov 2010 10:22:17 +0000 (11:22 +0100)]
changes: Move IMAccount into contactsd's private graph to protect it from being deleted by malicious qct

Fixes NB#206404, needs tracker >= 0.9.29 for it to work

7 years agochanges: Move XDG redirection before starting the dbus daemon
Xavier Claessens [Thu, 25 Nov 2010 10:54:41 +0000 (11:54 +0100)]
changes: Move XDG redirection before starting the dbus daemon

dbus-activated processes inherit env variables from dbus-daemon process.
So we have to define XDG_* env variables before start dbus-daemon so we are
sure to not write anything outside /tmp

7 years agoVersion Bump
Siraj Razick [Wed, 24 Nov 2010 13:56:44 +0000 (19:26 +0530)]
Version Bump

7 years agoPrepare : release
Siraj Razick [Wed, 24 Nov 2010 13:54:06 +0000 (19:24 +0530)]
Prepare : release

7 years agoChanges : switch to using more readable enum flags.
Siraj Razick [Wed, 24 Nov 2010 09:54:21 +0000 (15:24 +0530)]
Changes : switch to using more readable enum flags.

7 years agochanges: Do not store blocked contacts in tracker
Xavier Claessens [Wed, 24 Nov 2010 12:47:36 +0000 (13:47 +0100)]
changes: Do not store blocked contacts in tracker

7 years agochanges: more cosmetic cleanups
Xavier Claessens [Tue, 23 Nov 2010 12:39:43 +0000 (13:39 +0100)]
changes: more cosmetic cleanups

7 years agochanges: Cleanup queries constructor code
Xavier Claessens [Tue, 23 Nov 2010 12:27:00 +0000 (13:27 +0100)]
changes: Cleanup queries constructor code

7 years agochanges : Add support for Creating coverage reports
Siraj Razick [Mon, 22 Nov 2010 07:48:11 +0000 (13:18 +0530)]
changes : Add support for Creating coverage reports

7 years agochanges: Remove the PersonContact is the im contact is deleted and the genetor still...
Xavier Claessens [Mon, 15 Nov 2010 13:32:24 +0000 (14:32 +0100)]
changes: Remove the PersonContact is the im contact is deleted and the genetor still is "telepathy"

Note: contact-editor should change nie:generator when editing a contact

7 years agoPrepare Release
Siraj Razick [Mon, 15 Nov 2010 10:12:34 +0000 (15:42 +0530)]
Prepare Release