summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-02-16Bump nano-version to 0.8.15.1telepathy-gabble-0.8Will Thompson1-1/+1
Hopefully we will never have another 0.8 release.
2011-02-16Version 0.8.15telepathy-gabble-0.8.15Will Thompson1-2/+2
2011-02-16News for 0.8.15Will Thompson1-0/+13
2011-02-16[0.8] Ignore google:jingleinfo pushes from contacts.Will Thompson1-0/+16
Previously, Gabble would erroneously process google:jingleinfo updates sent by anybody, rather than only paying attention to those sent by the user's server. This may theoretically allow an attacker to trick Gabble into relaying streamed media through a server of the attacker's choosing, enabling them to intercept, obstruct or modify the user's audio and video calls. This patch addresses this flaw, following the same pattern as the corresponding check in the roster code. Note that even without this flaw, no security guarantees on media in calls can be provided in the presence of malicious network admins or insecure networks: an attacker who can eavesdrop the network traffic still has the ability to intercept the content of the call, as the media is transmitted unencrypted. Fixes: <https://bugs.freedesktop.org/show_bug.cgi?id=34048> Signed-off-by: Will Thompson <will.thompson@collabora.co.uk> Reviewed-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2010-06-14Accept valid Unicode domainsWill Thompson1-5/+12
Previously we did not accept any non-ASCII domains, which meant we dropped perfectly valid messages from perfectly valid contacts. :o This patch accepts any non-ASCII characters in domains. This is still not right — for instance, spaces in domains are properly rejected, but non-breaking spaces are improperly accepted — but it's better than no validation at all (which was my previous attempt at fixing this) and avoids us dropping messages. (Taken from cba01d1 in Wocky, without the test case that commit added.)
2010-06-14Bump nano-version to 0.8.14.1Will Thompson1-1/+1
2010-06-08Version 0.8.14telepathy-gabble-0.8.14Will Thompson1-2/+2
2010-06-08News for 0.8.14Will Thompson1-0/+15
2010-04-29Merge branch 'dont-unblock-on-remove-0.8' into telepathy-gabble-0.8Will Thompson5-74/+514
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2010-04-29Add a test for unblocking, then removing, a contact.Will Thompson1-4/+70
Unblocking is actually not tested anywhere, so this serves as a simple smoke-test for that, as well as testing that unblock followed by remove-from-stored works when the latter is queued.
2010-04-29Update roster* copyright headersWill Thompson4-10/+10
2010-04-29Don't unblock contacts if they're removed from stored.Will Thompson2-18/+271
We want to ensure that clients which don't understand the 'deny' list can remove contacts from other lists without accidentally unblocking them. The only problematic case is 'stored': currently, the XMPP-level response to removing someone from 'stored' is sending a roster update removing them from the roster entirely. Since their blocked-ness is stored on the roster, ... So instead, when we would like to remove a blocked contact from the roster, we instead cancel inbound and/or outbound subscriptions. This has the effect of the server changing their subscription to 'none', at which point they disappear from 'stored' (because on Google Talk we hide subscription='none', ask≠'subscribe' contacts from stored). There are two code paths for editing the roster, depending on whether we have an edit in flight or not. The latter case is reasonably straightforward. For the former case, we can be applying multiple edits at once, so this patch moves the modification of the Google Roster state to before the modification of the subscription state, to ensure that queued modifications to the contact's blocked-ness have been processed before we consider whether to handle removal specially. Fixes fd.o#20597 (Blocked contacts get removed if they are removed from stored)
2010-04-28Add a trivial smoke-test for 'deny'Will Thompson1-6/+20
2010-04-28Break up the Google roster test a bit.Will Thompson1-8/+26
2010-04-28Move some [un]{subscribe,publish} logic to RosterWill Thompson3-33/+122
This matches the functions to add and remove contacts from the roster entirely, and will help avoid code duplication shortly...
2010-04-26Merge branch 'device-idle' into telepathy-gabble-0.8Will Thompson13-0/+643
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2010-04-26Slacker: chain up in dispose; remove finalize stubWill Thompson1-6/+1
2010-04-22Explicitly flush the queue after disabling it.Will Thompson2-18/+39
It seems that the server doesn't send you the queue's contents when you disable it, so we have to explicitly flush it.
2010-04-22Add a test for MCE device idleness supportWill Thompson4-0/+99
2010-04-22Cork presence updates on Google Talk connectionsWill Thompson6-0/+153
2010-04-22Add a watcher for MCE device stateWill Thompson5-0/+375
2010-04-21Bump nano-version to 0.8.13.1Will Thompson1-1/+1
2010-04-16Version 0.8.13telepathy-gabble-0.8.13Will Thompson2-2/+16
2010-04-16test that GetContactAttributes returns an empty location if there is no locationGuillaume Desmottes1-4/+10
2010-04-16location: return an empty hash to GetContactAttributes if there is no locationGuillaume Desmottes1-8/+10
Fix fdo #27694
2010-04-06Disable warnings about deprecated functions for this stable branchSimon McVittie1-0/+11
Since this is a stable branch, we're unlikely to fix uses of deprecated functions, so we shouldn't warn about them. Reviewed-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2010-03-26Expose “MUC full” as Busy on the Group interfaceWill Thompson1-0/+1
There's no group change reason that corresponds exactly to the room being full, but Busy seems like a reasonable approximation. It's certainly better than None. Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2010-03-19start dev of next releaseGuillaume Desmottes1-1/+1
2010-03-19prepare 0.8.12 releasetelepathy-gabble-0.8.12Guillaume Desmottes2-2/+21
2010-03-19NEXS: Fix version of latest releaseGuillaume Desmottes1-1/+1
2010-03-18Use tp_g_hash_table_update instead of re-inventing itGuillaume Desmottes1-14/+6
2010-03-18Fix feature leak if there is not serviceGuillaume Desmottes1-2/+2
2010-03-18gabble_private_tubes_factory_update_caps: pass value_dup function to ↵Guillaume Desmottes1-2/+4
tp_g_hash_table_update Features have to be copied as well as hash table assume their are owning them. Should fix fdo #27131.
2010-03-18private-tubes-factory: factor out copy_capsGuillaume Desmottes1-10/+16
2010-03-03location: remove the 'error' keyGuillaume Desmottes1-1/+0
It has been deprecated.
2010-03-03location: countrycode has been added to XEP-0080Guillaume Desmottes1-1/+0
2010-03-03location: implement the 'accuracy' keyGuillaume Desmottes2-1/+7
We forgot it for some reason.
2010-02-23Merge branch '08-portability-minimal' into telepathy-gabble-0.8Simon McVittie7-5/+77
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2010-02-22Don't advertise support for credentials-passing on platforms where it won't workSimon McVittie1-2/+9
2010-02-22fd.o#22968: GibberUnixTransport: make credential-passing support optional ↵Simon McVittie2-0/+49
and detectable Our implementation only works for Linux so far, so we need to be able to avoid advertising credential-passing on e.g. Darwin.
2010-02-22Stream tube tests: don't assume that stream tubes always support ↵Simon McVittie4-3/+19
credentials-passing That assumption will now fail on non-Linux.
2010-02-22Don't send a content-modify message if the content hasn't been sent yet.Senko Rasic1-5/+11
Backport of commit 5a7757ca53b83ee6904354f02a4caa0ade0a11eb from 0.9.x.
2010-02-22tests: assert that modifying unsignalled content doesn't result in a crashSenko Rasic1-0/+6
2010-02-18Building stanzas with string concat makes me sad.Will Thompson1-12/+7
2010-02-18Fix tests with --enable-is-a-phoneWill Thompson3-15/+26
Not only did two different C source files hardcode that Gabble is a PC, but so did the test suite. This is why the tests passed when I only changed one of the hardcoded C strings; I don't know why I thought they passed when I fixed that, but... they didn't. :)
2010-02-16version 0.8.11.1Dafydd Harries1-1/+1
2010-02-16version 0.8.11telepathy-gabble-0.8.11Dafydd Harries1-2/+2
2010-02-16update NEWSDafydd Harries1-0/+13
2010-02-12Use correct client type when calculating hash.Will Thompson3-7/+8
Previously, if you compiled with --enable-is-a-phone, Gabble would still use "pc" when calculating its own hash. Bzzt. Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2010-02-11Fix a non-UTF-8 string being sent to the debug log.Mike Ruprecht1-2/+4
In the HTTP response for a Google relay session there is a 'magic_cookie' value which contains a binary 'magic' string. This string, contained in the entire response, was being sent to the debug log. If Empathy's debug window was open, this would cause that string to be sent over DBus. Since the string wasn't valid UTF-8, DBus dropped Gabble from the session bus. This patch escapes the binary data in that output.