Search

Results for: Gravatar

damevonwelt@pod.geraspora.de
9 years ago from Diaspora

Sprengstoff-Anschlag auf Freitaler Stadtrat



"In der Nacht zu Montag hat es einen Anschlag auf das Auto des Fraktionsvorsitzenden im Stadtrat in Freital, Michael Richter (39), gegeben. Wie “Die Linke Region Freital” am Montag bei Facebook schreibt, “ist auf das Auto unseres Fraktionsvorsitzenden im Stadtrat Freital ein Sprengstoffanschlag verübt wurden.” MOPO24 erreichte Richter am Montagmorgen. Der Fraktionsvorsitzende wurde in der Nacht um 0:45 Uhr durch einen lauten Knall vor seinem Haus geweckt. Beim Blick aus dem Fenster sah er dann wohl eine schwarze Rauchwolke über seinem Auto. “Ich dachte zuerst an einen Böller hinter dem Haus. Aber dafür war der Knall und der Rauch viel zu heftig.” Sofort eilten die Einsatzkräfte nach Freital, begannen mit der Spurensicherung. Die Polizei behandelt den Anschlag unter dem Aktenzeichen 3956/15/129110 wegen des Verdachts eines Sprengstoff-Anschlags. Das gesprengte Auto, das vor dem Haus des Fraktionsvorsitzenden geparkt war, hat die Polizei wegen kriminaltechnischer Untersuchungen beschlagnahmt"

Sprengstoff-Anschlag auf Freitaler Stadtrat

In der Nacht zu Montag hat es einen Anschlag auf das Auto des Fraktionsvorsitzenden im Stadtrat in Freital, Michael Richter (39), gegeben. Wie "Die Linke Region Freital" am Montag bei Facebook schr...
Hacker News
9 years ago from feed2diasp.pl

Safari is the new IE



Hacker News Comments: https://news.ycombinator.com/item?id=9804533

Source: http://nolanlawson.com/2015/06/30/safari-is-the-new-ie/

#hackernews

Read the Tea Leaves: Safari is the new IE (Nolan Lawson)

Last weekend I attended EdgeConf, a conference populated by many of the leading lights in the web industry. It featured panel talks and breakout sessions with a focus on technologies that are just ...
Klaus Weidenbach
12 years ago
New Libravatar addon
Just updated and finished the Libravatar addon for ~friendica ~friendica. #Libravatar is a free and #federated avatar hosting service and can replace the Gravatar addon.
The Libravatar addon is based on the MIT licensed Services Libravatar PHP-library by Melissa Draper.
Please test and give feedback if somthing is wrong or not working correctly. Unfortunately I did not get libravatar running on my CentOS server to test the lookup on other instances than the central on. Had some problems to solve dependencies, but for Debian there are complete install instructions to set up your own Libravatar instance.

Pull Request #67: Libravatar addon by dawnbreak · friendica/fri

This pull request adds a new avatar addon for Libravatar. It can be used instead of gravatar to look up avatar images. Libravatar is a free and open replacement for gravatar. You can also host it on your own server if you like.
It also includes a che...
Klaus Weidenbach
12 years ago
Adding Libravatar support
@Friendica Support @Mike

I would like to add Libravatar lookup as an optional replacement for Gravatar in ~friendica ~friendica. But I have some questions how it would be done best:

#Libravatar is a #federated #avatar hosting service. There is a central service comparable to #Gravatar, but you could also run your own instance of it. Unfortunately it is not so easy to set the hosting service up on your own server, but I would like to add support to query Libravatar. There exists a PHP class to query Libravatar that I would need to use. It is MIT licensed so that should be no problem to include. It requires PHP5.3 would that be a problem?

There is a config option to enable Gravatar support right now. So I thought if it would make sense to implement Gravatar support and then also Libravatar support as plugins?

I just looked shortly into the code and it seems that there is only 1 function I would need to hook into and this function is only used in 2 places. I have thought to rename the function gravatar_img($email) in include/network.php to a more generic avatar_img($email) and placing the hook inside that function that the plugin would use then.
I would also like to add options to the Gravatar plugin then to select the image-rating and default-image. Right now friendica's Gravatar implementation allows pg-rated images hardcoded. Libravatar only allows g-rated images and also only looks these up as a fallback at Gravatar. So no pg-rated images would be possible with the Libravatar plugin anymore as a downside. And a maybe bit slower lookup to find the right hosting service trough DNS or if it needs to fall back to Gravatar. But I don't think that should be a problem and the admin could anyway switch back to Gravatar-only lookup with the Gravatar plugin.

In include/Scrape.php the function gravatar_img() is also called once, but there is no check if $use_gravatar is enabled at all. Was there a special reason for that? Would it break if no avatar is returned?

How would a migration work? Friendica core and the addons would need to be updated at the same time and then there should be an update function that checks if $use_gravatar was enabled before and then enable the Gravatar plugin? Would that work somehow automatically? What if someone forgets to update the addons at the same time?
What would be the right way to check that only one of these two plugins is loaded at any time?

Would like to hear your comments about how this should be implemented in a correct way.

Thank you very much!
Categories: friendica [remove] , Libravatar [remove] , federated [remove]
Filed under: friendica [remove]
newer older