Philip Withnall [Thu, 16 Sep 2010 14:56:42 +0000 (15:56 +0100)]
Add support for disabling backends in the BackendStore using a key file
Using a key file, ~/.local/share/folks/backends.ini, specific backends
can now be disabled.
The key file is of the format:
[telepathy]
enabled=true
[key-file]
enabled=false
Helps: bgo#629081
Philip Withnall [Thu, 16 Sep 2010 14:20:54 +0000 (15:20 +0100)]
Convert BackendStore to use GFiles more uniformly
Philip Withnall [Sun, 31 Oct 2010 14:34:04 +0000 (14:34 +0000)]
Add missing D-Bus GLib dependency to the Telepathy contact list tests
Philip Withnall [Sat, 30 Oct 2010 09:49:29 +0000 (10:49 +0100)]
Fix some gcc warnings in the Telepathy test case library
Philip Withnall [Thu, 16 Sep 2010 12:21:49 +0000 (13:21 +0100)]
Move the Telepathy backend test setup code into a library class
This means that future tests can more easily set up a fake Telepathy backend
to test against.
Travis Reitter [Mon, 25 Oct 2010 23:55:17 +0000 (16:55 -0700)]
Require g-i >= 0.9.12 as 0.9.10 is broken.
Specifically, this version needs to be the one used to build the tp-glib Vala
bindings, but we can't express that requirement directly.
Travis Reitter [Fri, 22 Oct 2010 16:39:45 +0000 (09:39 -0700)]
Remove bogus 'weak' modifier for uints in Tp callbacks.
Travis Reitter [Thu, 21 Oct 2010 17:33:46 +0000 (10:33 -0700)]
Update NEWS for bgo#632564.
Travis Reitter [Wed, 20 Oct 2010 19:10:26 +0000 (12:10 -0700)]
Ensure Individuals replaced due to re-linking emit removed().
It turns out the optimization we're removing, which was meant to coalesce
IndividualAggregator:personas-changed signal emissions, was a little
over-reaching.
Fixes bgo#632564.
Travis Reitter [Wed, 20 Oct 2010 15:58:22 +0000 (08:58 -0700)]
Put more files in CLEANFILES as appropriate.
Travis Reitter [Tue, 19 Oct 2010 21:51:34 +0000 (14:51 -0700)]
Clean up the description of BackendStore a little.
Travis Reitter [Tue, 19 Oct 2010 19:24:14 +0000 (12:24 -0700)]
Document the values of Folks.Presence.PresenceType.
Travis Reitter [Tue, 19 Oct 2010 19:23:49 +0000 (12:23 -0700)]
Document the params for normalise_im_address().
Travis Reitter [Tue, 19 Oct 2010 18:31:31 +0000 (11:31 -0700)]
Break up some long class summaries to simplify the doc index.
Travis Reitter [Mon, 18 Oct 2010 17:57:50 +0000 (10:57 -0700)]
Simplify the Folks doc Makefile.
Travis Reitter [Tue, 19 Oct 2010 16:26:09 +0000 (09:26 -0700)]
Use the proper AM_VALAFLAGS instead of modifying VALAFLAGS for the tests.
Travis Reitter [Tue, 19 Oct 2010 16:22:58 +0000 (09:22 -0700)]
Use per-library VALAFLAGS for the keyfile backend.
Adding to the global VALAFLAGS was incorrect.
Travis Reitter [Mon, 18 Oct 2010 21:23:33 +0000 (14:23 -0700)]
Use automake's Vala support to build libfolks-telepathy.
Travis Reitter [Mon, 18 Oct 2010 20:23:57 +0000 (13:23 -0700)]
Use automake's Vala support to build libfolks.
Travis Reitter [Fri, 15 Oct 2010 21:25:17 +0000 (14:25 -0700)]
Clarify which changes in 0.3.1 were API changes.
Travis Reitter [Fri, 15 Oct 2010 21:23:28 +0000 (14:23 -0700)]
Post-release version bump.
Travis Reitter [Fri, 15 Oct 2010 20:06:20 +0000 (13:06 -0700)]
Release 0.3.1
Travis Reitter [Fri, 15 Oct 2010 20:36:43 +0000 (13:36 -0700)]
Distribute the dummy relationships file to fix distcheck.
Travis Reitter [Fri, 15 Oct 2010 20:05:40 +0000 (13:05 -0700)]
Bump the .so version.
Travis Reitter [Fri, 15 Oct 2010 20:04:09 +0000 (13:04 -0700)]
Make the NEWS file a little more uniform.
Travis Reitter [Thu, 14 Oct 2010 16:20:39 +0000 (09:20 -0700)]
Make Individual implement IMable.
Travis Reitter [Thu, 14 Oct 2010 16:50:42 +0000 (09:50 -0700)]
Alphabetize the test definitions.
Travis Reitter [Thu, 14 Oct 2010 20:38:05 +0000 (13:38 -0700)]
Set up tests with ENVIRONMENT, not wrapper scripts.
Travis Reitter [Thu, 14 Oct 2010 20:18:21 +0000 (13:18 -0700)]
Use a dummy relationships file for Tp tests.
The main purposes are to prevent the key-file backend from reading in the user's
relationships.ini file and to avoid the inconsistency that could entail.
Fixes bgo#632163.
Travis Reitter [Wed, 13 Oct 2010 22:59:02 +0000 (15:59 -0700)]
Actually include all the LDADD flags for our tests.
Thanks to autotools for keeping this hidden for so long.
Fixes bgo#632096.
Travis Reitter [Wed, 13 Oct 2010 21:06:35 +0000 (14:06 -0700)]
Rename the contact-properties test.
Travis Reitter [Wed, 13 Oct 2010 21:00:12 +0000 (14:00 -0700)]
Rename the contact-retrieval test.
Travis Reitter [Wed, 13 Oct 2010 20:20:58 +0000 (13:20 -0700)]
Update the NEWS for the PersonaStore capabilities.
Travis Reitter [Tue, 12 Oct 2010 23:59:08 +0000 (16:59 -0700)]
Add the PersonaStore:can-group-personas property.
Helps bgo#626179.
Travis Reitter [Mon, 11 Oct 2010 17:58:24 +0000 (10:58 -0700)]
Add the PersonaStore:can-alias-personas property.
Helps bgo#626179.
Travis Reitter [Fri, 8 Oct 2010 22:42:18 +0000 (15:42 -0700)]
Add the PersonaStore:can-remove-personas property.
Helps bgo#626179.
Travis Reitter [Mon, 4 Oct 2010 16:00:54 +0000 (09:00 -0700)]
Add the PersonaStore:can-add-personas property.
Helps bgo#626179.
Travis Reitter [Thu, 7 Oct 2010 19:51:22 +0000 (12:51 -0700)]
Add the MaybeBool type.
Travis Reitter [Thu, 7 Oct 2010 20:55:26 +0000 (13:55 -0700)]
Expose the publish and subscribe group flags in the test CM.
Travis Reitter [Mon, 11 Oct 2010 20:33:18 +0000 (13:33 -0700)]
Fix the organization of the new section in NEWS
Travis Reitter [Mon, 11 Oct 2010 20:28:05 +0000 (13:28 -0700)]
Don't assume Personas all have a corresponding Individual in the link map.
This can happen if a Persona is removed (by ID) before its corresponding
Individual has been added to the linked-personas map (which is possible if a
Telepathy account suddenly goes offline before the linking of the given Persona
is complete).
Fixes bgo#631864.
Travis Reitter [Thu, 7 Oct 2010 15:35:54 +0000 (08:35 -0700)]
Clarify that the TpContacts have specific features, not necessarily values.
Travis Reitter [Wed, 6 Oct 2010 22:28:20 +0000 (15:28 -0700)]
Simplify the Tp test Makefile further.
Jonny Lamb [Thu, 30 Sep 2010 14:54:54 +0000 (15:54 +0100)]
tpf-persona-store: add the client types feature to all new TpContacts
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Jonny Lamb [Thu, 30 Sep 2010 14:54:37 +0000 (15:54 +0100)]
configure: depend on new tp-glib
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Travis Reitter [Wed, 6 Oct 2010 18:14:14 +0000 (11:14 -0700)]
Update NEWS for bug fix.
Travis Reitter [Wed, 6 Oct 2010 18:00:22 +0000 (11:00 -0700)]
Fix the CLEANFILES for the Tp tests.
Travis Reitter [Wed, 6 Oct 2010 17:28:59 +0000 (10:28 -0700)]
Relocate Folks.TestCase as a separate library
Travis Reitter [Wed, 6 Oct 2010 00:27:48 +0000 (17:27 -0700)]
React to alias changes coming from Telepathy. Fixes bgo#630431.
Add a test for Tpf.Persona properties (changed through the test CM itself).
This simulates a change coming through Telepathy, vs. one we're triggering
ourselves (as in the last test).
Travis Reitter [Wed, 6 Oct 2010 16:12:07 +0000 (09:12 -0700)]
Simplify the tests Makefile.
Travis Reitter [Tue, 5 Oct 2010 16:10:41 +0000 (09:10 -0700)]
Add a test for Tpf.Persona alias changing (through the Tp backend itself)
Travis Reitter [Tue, 5 Oct 2010 17:59:06 +0000 (10:59 -0700)]
Expose the TpTestContactListConnection's manager.
Travis Reitter [Tue, 5 Oct 2010 23:55:13 +0000 (16:55 -0700)]
Make the TpTest CM emit alias and presence updates.
Travis Reitter [Tue, 5 Oct 2010 23:44:38 +0000 (16:44 -0700)]
Include the contact ID in the TestContactDetails for the Tp test library.
Travis Reitter [Mon, 4 Oct 2010 17:36:00 +0000 (10:36 -0700)]
Bump telepathy-glib requirement to ensure proper g-i.
Travis Reitter [Fri, 1 Oct 2010 19:42:45 +0000 (12:42 -0700)]
Post-release version bump.
Travis Reitter [Fri, 1 Oct 2010 14:49:02 +0000 (07:49 -0700)]
Release 0.3.0
Travis Reitter [Fri, 1 Oct 2010 03:13:50 +0000 (20:13 -0700)]
Fetch TpContact avatar information upon creation.
Fixes bgo#630347.
Travis Reitter [Thu, 30 Sep 2010 17:15:06 +0000 (10:15 -0700)]
Note the TpContact capabilities guarantee in NEWS
Travis Reitter [Thu, 30 Sep 2010 17:09:18 +0000 (10:09 -0700)]
Fetch capabilities when we create TpContacts.
Patch concept by Felix Kaser.
Travis Reitter [Thu, 30 Sep 2010 17:06:02 +0000 (10:06 -0700)]
Factor out a redundant array.
Travis Reitter [Tue, 28 Sep 2010 23:23:32 +0000 (16:23 -0700)]
Prefer to use object members directly instead of accessors.
Patch by Patryk Zawadzki.
Travis Reitter [Mon, 27 Sep 2010 19:01:00 +0000 (12:01 -0700)]
Turn on valac warnings for the KeyFile backend.
Travis Reitter [Mon, 27 Sep 2010 18:28:42 +0000 (11:28 -0700)]
Cut unnecessary D-Bus flags for libfolks-backend-telepathy
Travis Reitter [Mon, 27 Sep 2010 18:13:16 +0000 (11:13 -0700)]
Make a distinction between valac and vapigen flags.
Travis Reitter [Mon, 27 Sep 2010 17:24:33 +0000 (10:24 -0700)]
Turn on stronger error checking for the test library.
Travis Reitter [Mon, 27 Sep 2010 17:13:48 +0000 (10:13 -0700)]
Turn on stronger error checking for libtp-lowlevel.
Travis Reitter [Fri, 24 Sep 2010 01:31:46 +0000 (18:31 -0700)]
Fix use of CPP/CFLAGS for the Telepathy backend libraries.
Travis Reitter [Fri, 24 Sep 2010 01:25:04 +0000 (18:25 -0700)]
Re-use existing autoconf code for setting extra maintainer flags.
Travis Reitter [Mon, 6 Sep 2010 20:37:53 +0000 (13:37 -0700)]
Add a test for adding Personas.
Fixes bgo#629008.
Travis Reitter [Wed, 8 Sep 2010 05:47:59 +0000 (22:47 -0700)]
Explicitly reset the aggregator between tests.
Helps bgo#629008.
Travis Reitter [Tue, 7 Sep 2010 23:40:05 +0000 (16:40 -0700)]
Don't deref a null PersonaStore in a failure case.
Helps bgo#629008.
Travis Reitter [Mon, 6 Sep 2010 20:55:40 +0000 (13:55 -0700)]
Prepare the aggregator asynchronously (as clients will)
Helps bgo#629008.
Travis Reitter [Sat, 4 Sep 2010 00:51:31 +0000 (17:51 -0700)]
Re-use the defined protocol prefix for tests.
Helps bgo#629008.
Travis Reitter [Sat, 4 Sep 2010 00:49:20 +0000 (17:49 -0700)]
Centralize the list of expected test Individuals.
Helps bgo#629008.
Travis Reitter [Thu, 9 Sep 2010 16:24:11 +0000 (09:24 -0700)]
Add Backend.is_prepared and make prepare() idempotent.
Fixes bgo#629331.
Travis Reitter [Thu, 9 Sep 2010 16:10:22 +0000 (09:10 -0700)]
Add IndividualAggregator.is_prepared and make prepare() idempotent.
Helps bgo#629331.
Travis Reitter [Thu, 9 Sep 2010 16:07:11 +0000 (09:07 -0700)]
Add PersonaStore.is_prepared and make prepare() idempotent.
Helps bgo#629331.
Travis Reitter [Wed, 8 Sep 2010 23:15:02 +0000 (16:15 -0700)]
Make BackendStore.load_backends() idempotent.
Helps bgo#629331.
Travis Reitter [Tue, 7 Sep 2010 23:11:30 +0000 (16:11 -0700)]
Clean up the behavior of the add_persona_from_details() functions.
This clarifies when an add fails for a temporary reason (eg, the store is
offline) and can be re-attempted.
Fixes bgo#629006.
Travis Reitter [Wed, 15 Sep 2010 15:55:50 +0000 (08:55 -0700)]
Add STORE_OFFLINE error types for temporary failures.
These are temporary/recoverable failures due to the store being offline.
Helps bgo#629006.
Philip Withnall [Tue, 21 Sep 2010 11:36:36 +0000 (12:36 +0100)]
Cache notifications for IndividualAggregator.user during aggregation
Philip Withnall [Tue, 21 Sep 2010 11:28:33 +0000 (12:28 +0100)]
Ensure a given individual isn't marked as added and replaced at the same time
When linking personas with Persona.is_user == true, it's possible for the
final_individuals during the call to add_personas() to be replaced and added
at the same time (i.e. added, then replaced). This breaks things, but can
be fixed by caching the set of added individuals before it's finalised, and
removing replaced individuals from it as we go.
Philip Withnall [Tue, 21 Sep 2010 10:33:40 +0000 (11:33 +0100)]
Bug 629643 — do not fall back to the id if alias is empty
Only use the display ID as a fallback in Individual: in Tpf.Persona, we
should let empty aliases be exposed, so that the client can (if they so
desire) check whether an Individual's alias is a display ID or a real alias.
Closes: bgo#629643
Philip Withnall [Tue, 21 Sep 2010 10:32:22 +0000 (11:32 +0100)]
Fix an assertion error in IndividualAggregator
Due to the order in which the aggregation functions are called, it's possible
for this.user to not be null when a new user is set. Helps: bgo#627402
Philip Withnall [Wed, 15 Sep 2010 16:44:23 +0000 (17:44 +0100)]
Ensure Individuals are added before they're removed
Rearrange the linking process slightly so that we can guarantee that
Individuals won't be signalled as removed (or replaced) before they're
signalled as added. Closes: bgo#629642
Philip Withnall [Tue, 21 Sep 2010 09:26:19 +0000 (10:26 +0100)]
Update NEWS file for recent commits
Philip Withnall [Mon, 23 Aug 2010 16:26:35 +0000 (17:26 +0100)]
Support the Persona.is_user property in the telepathy backend
Closes: bgo#627402
Philip Withnall [Mon, 23 Aug 2010 16:26:18 +0000 (17:26 +0100)]
Support the Persona.is_user property in the key-file backend
Helps: bgo#627402
Philip Withnall [Mon, 6 Sep 2010 12:49:31 +0000 (13:49 +0100)]
Implicitly trust Personas which are marked as being the user
We assume that the backend is in complete control of its user accounts, so
we can fully trust Personas which have Persona.is_user == true.
Helps: bgo#627402
Philip Withnall [Mon, 23 Aug 2010 15:31:49 +0000 (16:31 +0100)]
Add a "user" property to the IndividualAggregator
This contains the Individual representing the user who owns all the relevant
accounts in each backend. This also changes the linking code so that Personas
with is_user == true are always linked, and only ever linked to other Personas
with is_user == true (i.e. Personas are always linked to Personas with like
is_user values). This ensures that there's only ever one Individual with
is_user == true. Helps: bgo#627402
Philip Withnall [Mon, 23 Aug 2010 15:11:08 +0000 (16:11 +0100)]
Add an "is-user" property to Individual and Persona
This is true iff the Individual or Persona is the owner of the relevant
accounts. Helps: bgo#627402
Philip Withnall [Tue, 31 Aug 2010 14:19:31 +0000 (15:19 +0100)]
Use foreach{} rather than .foreach() in IndividualAggregator.link_personas()
Philip Withnall [Wed, 15 Sep 2010 13:08:03 +0000 (14:08 +0100)]
Use the devhelp doclet to build the documentation
Philip Withnall [Wed, 15 Sep 2010 11:19:55 +0000 (12:19 +0100)]
Add missing documentation
Philip Withnall [Wed, 15 Sep 2010 10:45:25 +0000 (11:45 +0100)]
Remove {@inheritDoc} from folks-telepathy documentation
It's not possible to inherit documentation across packages, so we have to
rely on links instead. Helps: bgo#629526
Philip Withnall [Mon, 13 Sep 2010 15:12:00 +0000 (16:12 +0100)]
Split the documentation into folks and folks-telepathy packages
This means that each documentation package is only scanning files from one
directory, opening us up to the possibility of adding gtk-doc support.
Helps: bgo#629526
Philip Withnall [Mon, 13 Sep 2010 15:24:03 +0000 (16:24 +0100)]
Move debug initialisation to BackendStore
Now that the BackendStore is a singleton, its initialiser will more reliably
be called than the initialiser for IndividualAggregator (since clients can
theoretically not use the IndividualAggregator, but have to use the
BackendStore). Closes: bgo#629096
Philip Withnall [Mon, 20 Sep 2010 11:44:02 +0000 (12:44 +0100)]
Retrospectively update NEWS file
Add NEWS entries from all the releases back to 0.1.9, when we moved to GNOME
infrastructure.
Philip Withnall [Tue, 14 Sep 2010 16:25:03 +0000 (17:25 +0100)]
Bug 629666 — libfolks should not hard autodetect libxml
Add an --enable-import-tool configure option which requires libxml2 when
passed, doesn't require it when --disable-import-tool is passed, and builds
the tool if possible (but doesn't require libxml2) when nothing's passed.
Closes: bgo#629666