qlog and gravatar.com

Bug #395206 reported by Hector Miuler Malpica Gallegos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Confirmed
Wishlist
Unassigned

Bug Description

=SPANISH===============================
Sería bonito tener el avatar en qlog, al estilo de giggle (git), sacando el avatar de http://www.gravatar.com/

=ENGLISH?===============================
It would be nice to have the avatar in qlog, like Giggle (git), using the avatar of http://www.gravatar.com/

Tags: feature qlog
tags: added: wishlist
Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 395206] [NEW] qlog and gravatar.com

Hector Miuler Malpica Gallegos пишет:
> Public bug reported:
> =ENGLISH?===============================
> It would be nice to have the avatar in qlog, like Giggle (git), using the avatar of http://www.gravatar.com/

Can you provide some screenshots?

Revision history for this message
Hector Miuler Malpica Gallegos (miuler) wrote :

giggle ~ qlog

Revision history for this message
Hector Miuler Malpica Gallegos (miuler) wrote :
Revision history for this message
Alexander Belchenko (bialix) wrote :

Looks interesting, thanks.

Changed in qbzr:
importance: Undecided → Wishlist
status: New → Confirmed
tags: added: feature-request
removed: idea wishlist
tags: added: feature
removed: feature-request
Revision history for this message
Alexander Belchenko (bialix) wrote :

Just saw that query to get image from gravatar is very simple:

        url = "http://www.gravatar.com/avatar/"
        url += hashlib.md5(self.email).hexdigest()
        url += "?s=40&d=identicon"

(from wikkid sources)

s=40 defines the size (40x40 pixels).

Docs: http://gravatar.com/site/implement/url

So for implementing gravatar support we need to have a separate thread or process which can get the icon without blocking main gui and without user-visible errors if there is no internet connection available.

Revision history for this message
Lukáš Lalinský (luks) wrote :

You can use QNetworkAccessManager to download images in a non-blocking way.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.