Re: [Telepathy] ANNOUNCE: Empathy 3.4.2.3

2012-06-27 Thread Ishan Thilina
Thanks for the clarification :-)
--
Thank you..!
-
071-6372089

Ishan's info: www.ishans.info
මගේ සටහන්: www.siblog.ishans.info
Ishan's way: www.blog.ishans.info
-



On Wed, Jun 27, 2012 at 5:36 PM, Guillaume Desmottes <
guillaume.desmot...@collabora.co.uk> wrote:

> Le Wednesday 27 June 2012 à 17:28 +0530, Ishan Thilina a écrit :
> > Sorry for the jumping in. But I thought Empathy 3.5.3 was released
> > before :s
>
>
> It is. 3.5.x is the current set of dev releases that will lead to
> Empathy 3.6 in a few months; see https://live.gnome.org/ThreePointFive
>
> 3.4.x are stable releases containing only important bug fixes.
>
>
>
>G.
>
>
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] A query regarding Presences-update

2012-06-27 Thread Ajay Garg
Bug posted at
https://bugzilla.redhat.com/show_bug.cgi?id=836020


Regards,
Ajay

On Tue, Jun 26, 2012 at 5:17 PM, Ajay Garg  wrote:

> When a contact disconnects (from the telepathy network), the callback
> function --- specified for the signal
> http://telepathy.freedesktop.org/spec/Connection_Interface_Contact_List.html#Signal:ContactsChangedWithID---
>  is NOT hit.
>
> Are you sure that this is intended to work (that is without using the
> experimental, unstable
> http://telepathy.freedesktop.org/spec/Connection_Interface_Keepalive.html)
> ?
>
>
> Regards,
> Ajay
>
>
>
> On Tue, Jun 26, 2012 at 1:55 PM, Xavier Claessens wrote:
>
>> What do you need to know?
>>
>> Le mardi 26 juin 2012 à 13:26 +0530, Ajay Garg a écrit :
>> > Ping ... :)
>> >
>> > Regards,
>> > Ajay
>> >
>> > On Sat, Jun 23, 2012 at 2:32 AM, Ajay Garg 
>> > wrote:
>> > Any updates?
>> > Please.
>> >
>> >
>> > Thanks and Regards,
>> > Ajay
>> >
>> >
>> >
>> >
>> > On Mon, Jun 18, 2012 at 6:42 PM, Ajay Garg
>> >  wrote:
>> > Hi Simon.
>> >
>> > Thanks for the reply.
>> >
>> > On Mon, Jun 18, 2012 at 7:50 AM, Simon McVittie
>> >  wrote:
>> > On 17/06/12 09:41, Ajay Garg wrote:
>> > > When a contact disconnects (from the
>> > telepathy network), the callback
>> > > function --- specified for the signal
>> > >
>> >
>> http://telepathy.freedesktop.org/spec/Connection_Interface_Contact_List.html#Signal:ContactsChangedWithID
>> > > --- is NOT hit.
>> > >
>> > > Are you sure that this is intended to work
>> >
>> >
>> > Yes. If it doesn't, that's a bug in
>> > telepathy-salut (or possibly
>> > telepathy-glib).
>> >
>> > What version of telepathy-glib do you have?
>> >
>> >
>> > For brevity, I am listing all the telepathy
>> > packages ::
>> >
>> >
>> ###
>> > [ajay@localhost ~]$ rpm -qa | grep -i telepathy
>> >
>> >
>> > telepathy-haze-0.6.0-1.fc17.i686
>> > telepathy-idle-0.1.11-2.fc17.i686
>> > telepathy-logger-0.4.0-2.fc17.i686
>> > python-telepathy-0.15.19-4.fc17.noarch
>> > telepathy-farstream-0.4.0-2.fc17.i686
>> > telepathy-filesystem-0.0.2-3.fc17.noarch
>> > telepathy-mission-control-5.12.0-1.fc17.i686
>> > telepathy-glib-0.18.0-1.fc17.i686
>> > telepathy-salut-0.8.0-1.fc17.i686
>> > telepathy-gabble-0.16.0-1.fc17.i686
>> >
>> ###
>> >
>> >
>> >
>> >
>> >
>> > If you connect to the deprecated
>> > ContactsChanged signal instead, does
>> > that one work? (It's older, so old tp-glib
>> > versions will have that but
>> > not the newer version.)
>> >
>> > It did not work.
>> >
>> > One thing I notice is that both - 'ContactChanged' and
>> > 'ContactsChangedWithID' - callbacks are hit when the
>> > buddy comes online, but are NOT hit when the same
>> > buddy goes offline (by disconnecting from the
>> > telepathy-salut wifi network).
>> >
>> > So, I guess I am using the code properly at least, in
>> > case of both 'ContactsChanged' and
>> > 'ContactsChangedWithID'.
>> >
>> > Please let me know if I may try anything else.
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > > (that is without using the
>> > > experimental, unstable
>> > >
>> >
>> http://telepathy.freedesktop.org/spec/Connection_Interface_Keepalive.html)
>> ?
>> >
>> >
>> > KeepAlive is not relevant to telepathy-salut:
>> > it's about whether/how to
>> > keep the connection to a server alive, and in
>> > Salut there is no server.
>> >
>> >
>> > Thanks a ton !!!
>> > That narrows down the things to look for :D
>> >
>> >
>> >
>> > Thanks and Regards,
>> > Ajay
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >S
>> > ___
>> > telepathy mailing list
>> > telepathy@lists.freedesktop.org
>> >
>> http://lists.freedesktop.org/mai

[Telepathy] Bug-Tracker for Telepathy (Salut)

2012-06-27 Thread Ajay Garg
Hi all.

I have googled, but have been unsuccessful.

Kindly let me know the link for (Fedora) Telepathy (Salut) bug-tracker.
I will be  grateful.

Looking forward to a reply.

Thanks and Regards,
Ajay
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] ANNOUNCE: Empathy 3.4.2.3

2012-06-27 Thread Guillaume Desmottes
Le Wednesday 27 June 2012 à 17:28 +0530, Ishan Thilina a écrit :
> Sorry for the jumping in. But I thought Empathy 3.5.3 was released
> before :s


It is. 3.5.x is the current set of dev releases that will lead to
Empathy 3.6 in a few months; see https://live.gnome.org/ThreePointFive

3.4.x are stable releases containing only important bug fixes.



G.

___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] ANNOUNCE: Empathy 3.4.2.3

2012-06-27 Thread Ishan Thilina
Sorry for the jumping in. But I thought Empathy 3.5.3 was released before :s
--
Thank you..!
-
071-6372089

Ishan's info: www.ishans.info
මගේ සටහන්: www.siblog.ishans.info
Ishan's way: www.blog.ishans.info
-



On Wed, Jun 27, 2012 at 5:24 PM, Guillaume Desmottes <
guillaume.desmot...@collabora.co.uk> wrote:

> Empathy 3.4.2.3 is now available for download from:
> http://download.gnome.org/sources/empathy/3.4/
>
> a35af87389e4c47835300871a8b38b12  empathy-3.4.2.3.tar.xz
>
>
> What is it?
> ===
> Empathy is a messaging program which supports text, voice, and video chat
> and file transfers over many different protocols.  Empathy is the default
> chat client in GNOME, and is based on the Telepathy framework, making it
> easier for other GNOME applications to integrate collaboration
> functionality.
>
> You can visit the project web site:
> http://live.gnome.org/Empathy
>
> What's New?
> ===
> This release includes 3 more patches I backported from master and fixing
> other
> potential crashes.
>
> Bugs fixed:
>  - Fixed #677641, Use a weak reference while loading the logs
> asynchronously to detect when the object has been destroyed (Debarshi Ray)
>
> 27 June 2012
> Empathy team
>
>
> ___
> telepathy mailing list
> telepathy@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/telepathy
>
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


[Telepathy] ANNOUNCE: Empathy 3.4.2.3

2012-06-27 Thread Guillaume Desmottes
Empathy 3.4.2.3 is now available for download from:
http://download.gnome.org/sources/empathy/3.4/

a35af87389e4c47835300871a8b38b12  empathy-3.4.2.3.tar.xz


What is it?
===
Empathy is a messaging program which supports text, voice, and video chat and 
file transfers over many different protocols.  Empathy is the default chat 
client in GNOME, and is based on the Telepathy framework, making it easier for 
other GNOME applications to integrate collaboration functionality.

You can visit the project web site:
http://live.gnome.org/Empathy

What's New?
===
This release includes 3 more patches I backported from master and fixing other
potential crashes.

Bugs fixed:
 - Fixed #677641, Use a weak reference while loading the logs asynchronously to 
detect when the object has been destroyed (Debarshi Ray)

27 June 2012
Empathy team


___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] Showing actual image in chat window

2012-06-27 Thread Xavier Claessens
Le mercredi 27 juin 2012 à 11:53 +0100, Simon McVittie a écrit :
> On 27/06/12 10:56, Mithun Shitole wrote:
> > Thanks for the suggestion. I have successfully modified a adium theme
> > to show images.
> [...]
> > Are there any security concerns with this approach?
> 
> I'm concerned about the privacy implications of this feature. If the
> owner of example.com wants to find out whether/when you are online, they
> can send you an IM containing a unique image URL, perhaps something like
> this:
> 
> http://example.com/track/f8177982-3da3-4936-886d-bd8c84dce6f9.jpg
> 
> and then consult the example.com server logs to find out whether/when
> Empathy retrieves that URL. For maximum evil, the image it served would
> be a 1x1 pixel transparent GIF or PNG, and the text of the message would
> look like something innocent (either a message sent to the wrong
> recipient by mistake, or spam).
> 
> To do this, they do not need to be on your contact list or otherwise
> have your permission.
> 
> This would be partially addressed by only showing the image inline if
> the message's sender has been given permission to see your presence
> (publish = Yes on the ContactList interface).
> 
> There are also potential security implications if the image-loading
> library has an exploitable bug (although that would normally be
> considered to be a security bug anyway), or if dereferencing the URL
> causes code execution or side-effects. For instance, you don't want to
> display a "javascript:" URL, and you might not want to display this:
> 
> https://broken.example.org/delete-all-data.php?confirm=yes&x=.jpg
> 
> (Admittedly, that site is already broken if it contravenes the HTTP spec
> by giving a HTTP GET "unsafe" side-effects, because of e.g. prefetching.)

I would just have an expander, it will load the image only when you
click to "expand" the url or something like that.

Regards,
Xavier Claessens.

___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] Showing actual image in chat window

2012-06-27 Thread Simon McVittie
On 27/06/12 10:56, Mithun Shitole wrote:
> Thanks for the suggestion. I have successfully modified a adium theme
> to show images.
[...]
> Are there any security concerns with this approach?

I'm concerned about the privacy implications of this feature. If the
owner of example.com wants to find out whether/when you are online, they
can send you an IM containing a unique image URL, perhaps something like
this:

http://example.com/track/f8177982-3da3-4936-886d-bd8c84dce6f9.jpg

and then consult the example.com server logs to find out whether/when
Empathy retrieves that URL. For maximum evil, the image it served would
be a 1x1 pixel transparent GIF or PNG, and the text of the message would
look like something innocent (either a message sent to the wrong
recipient by mistake, or spam).

To do this, they do not need to be on your contact list or otherwise
have your permission.

This would be partially addressed by only showing the image inline if
the message's sender has been given permission to see your presence
(publish = Yes on the ContactList interface).

There are also potential security implications if the image-loading
library has an exploitable bug (although that would normally be
considered to be a security bug anyway), or if dereferencing the URL
causes code execution or side-effects. For instance, you don't want to
display a "javascript:" URL, and you might not want to display this:

https://broken.example.org/delete-all-data.php?confirm=yes&x=.jpg

(Admittedly, that site is already broken if it contravenes the HTTP spec
by giving a HTTP GET "unsafe" side-effects, because of e.g. prefetching.)

S
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


[Telepathy] ANNOUNCE: Empathy 3.4.2.2

2012-06-27 Thread Guillaume Desmottes
Empathy 3.4.2.2 is now available for download from:
http://download.gnome.org/sources/empathy/3.4/

3e759eccda759e41b4421072eed791cc  empathy-3.4.2.2.tar.xz


What is it?
===
Empathy is a messaging program which supports text, voice, and video chat and 
file transfers over many different protocols.  Empathy is the default chat 
client in GNOME, and is based on the Telepathy framework, making it easier for 
other GNOME applications to integrate collaboration functionality.

You can visit the project web site:
http://live.gnome.org/Empathy

What's New?
===
This releases fixes an empathy-chat crash caused by a race in telepathy-glib.

Bugs fixed:
 - Fixed #678307, irc connection parameters dialog: "apply" button stays 
unsensitive (Guillaume Desmottes)
 - Fixed #678807, empathy-chat crashed with SIGSEGV in 
_tp_base_client_handle_channels() (Guillaume Desmottes)

27 June 2012
Empathy team


___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] Showing actual image in chat window

2012-06-27 Thread Xavier Claessens
Le mercredi 27 juin 2012 à 15:26 +0530, Mithun Shitole a écrit :
> On Wed, May 2, 2012 at 1:12 PM, Danielle Madeley
>  wrote:
> > On Wed, 2012-05-02 at 09:38 +0200, Guillaume Desmottes wrote:
> >
> >> If you just want to play with the code and try a quick hack, this
> >> shouldn't be hard to do by hacking the Adium theme code
> >> libempathy-gtk/empathy-theme-adium.c
> >> But of course you'll have to use an Adium theme to test.
> >
> > You could probably do this in Javascript in an Adium theme. Although
> > I've never tried to hit the network from an Adium theme.
> >
> 
> Thanks for the suggestion. I have successfully modified a adium theme
> to show images. It works great.
> You can find code here https://gist.github.com/3003033 .

That's an amazing idea! I've a few comments though:

1) Empathy ships a default template but each theme could ship their own.
So adding custom JS into the template is not a good idea, it won't apply
to all themes. The same idea is totally doable as C code in
empathy-theme-adium.c. We already have there code that parses messaege
to detect URL and transform them with a  tag. Must be trivial to
check if the URL already detected has ".jpg" suffix and then add an
 tag. The magic happens in empathy_string_replace_link() in
empathy-webkit-utils.c and empathy-string-parser.c.

2) You should add  tag as well, so clicking the image still open the
URL for full size.

3) max-width depends on the size of the chat window.

4) For video shouldn't you put  tag instead of  ? I don't
know how that works...

5) Bonus point for supporting embedding youtube player!!!

6) I guess enabling that should be an option in empathy preferences.

Regards,
Xavier Claessens.

___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] Showing actual image in chat window

2012-06-27 Thread Guillaume Desmottes
Le Wednesday 27 June 2012 à 15:26 +0530, Mithun Shitole a écrit :
> Thanks for the suggestion. I have successfully modified a adium theme
> to show images. It works great.
> You can find code here https://gist.github.com/3003033 .
> 
> I tried videos too but it just plays audio.
> 
> Are there any security concerns with this approach?

Oh that's cool !

Danielle is porting the old chat themes to Adium
( https://bugzilla.gnome.org/show_bug.cgi?id=645921 ) maybe that's
something we could include?

Also, we'd like to have a nice new GNOME 3 spirit default theme
( https://bugzilla.gnome.org/show_bug.cgi?id=645920 ) maybe that's
something you'd be interested working on?


G.

___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] Showing actual image in chat window

2012-06-27 Thread Mithun Shitole
On Wed, May 2, 2012 at 1:12 PM, Danielle Madeley
 wrote:
> On Wed, 2012-05-02 at 09:38 +0200, Guillaume Desmottes wrote:
>
>> If you just want to play with the code and try a quick hack, this
>> shouldn't be hard to do by hacking the Adium theme code
>> libempathy-gtk/empathy-theme-adium.c
>> But of course you'll have to use an Adium theme to test.
>
> You could probably do this in Javascript in an Adium theme. Although
> I've never tried to hit the network from an Adium theme.
>

Thanks for the suggestion. I have successfully modified a adium theme
to show images. It works great.
You can find code here https://gist.github.com/3003033 .

I tried videos too but it just plays audio.

Are there any security concerns with this approach?
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy