Skip to main content


 
@Friendica Support
Eine kleine Sache habe ich für euch noch für den #Hackathon.

Wenn ich ein Bild hochlade unter /photos und die Option Keine Status-Mitteilung für diesen Beitrag anzeigen einschalte wird das Photo nicht als extra Beitrag veröffentlicht. So weit, so gut.

Wenn ich aber nun ein Event oder einen Beitrag mit diesem Photo veröffentliche, wird zusätlich zu diesem Event oder Beitrag noch einmal seperat ein Beitrag mit dem Photo veröffentlicht. Dieser extra Photobeitrag erscheint aber nicht im eigenen Stream, sondern nur auf im Stream der Remote Seite.

Vielleicht könnt ihr da mal rein schauen.

LG
Stimmt, war mir wieder aus dem Kopf gefallen ;-) Kannst du da ein Issue für auf machen und den 2018.12er Milestone eintragen?




 
Heute hat das Landgericht Halle das Urteil gegen das soziokulturelle Zentrum @Hasi (Socialcenter) gesprochen (PM der HaSi zum Urteil). Mit Inkrafttreten kann die stadteigene Wohnungsgesellschaft HWG das Projekt räumen.
Die HaSi hat eine Online Petition gestartet um auf den Stadtrat einzuwirken und doch noch die Räumung zu verhindern. Bitte unterzeichnet die Petition. Schickt sie an Bekannte und Verwandte. Helft mit den letzten halleschen selbstverwalteten Freiraum in der Innenstadt zu bewahren. Link zum Projekt: https://hafenstrasse7.noblogs.org

Link zur Petition: #hasibleibt


 

Issue with contact deletion


@Friendica Support

Can someone confirm (test) the following issue for Friendica RC?

Contact A does have a mutual friendship with contact B. Both are Friendica contacts. If contact A deletes contact B, contact B is removed from the contact list of contact A.
But contact A won't be removed from contact B contact list.

I have been touching the unfollow feature for one-way relationships in the RC, can you please try unfollowing another sharing-only Friendica contact to make sure it works?

It is possibly fixed: https://github.com/friendica/friendica/pull/5722

I hadn't got time this morning to test this intensively. Additionally I possibly won't have time for tests this evening as well, since I will be on some political protest.

OK testing results.
Dropping contacts works like a charm again. So here is everything fine again.

I don't know how unfollowing was intended.
At the moment it seems to work this way: Contact A unfollows contact B and contact B becomes a fan in contact A's contact list. Contact A is still a mutual friendship in contact B's contact list.
If contact A wants he/she can visit the contact entry of contact B in his/her own contact list and can upgrade the relationship again to a mutual friendship.

Like I said the only thing which is unpolished is that contact B isn't noticed when contact A degrades contact B to a fan. But maybe we can implement something similar like it is done for dissolving (https://github.com/friendica/friendica/blob/develop/mod/dfrn_notify.php#L122)
Dieser Beitrag wurde bearbeitet. (vor 3 Monate)

Sending an unfollow should change the displayed relationship status on both sides.

this doesn't happen.

That's a bug - and I think it is blocking. I already detected the primary source but have to dig further.



 
1455 #NoG20 | Pfarrer der Johanneskirche duldet Barrio auf Wiese seit 12:00. Noch viel Platz in St.Pauli, Max-Brauer-Allee, Sternbrücke
#yeswecamp #schlaflosinHH


 
1400 #NoG20 | 1. Barrio in Hamburg steht seit 12Uhr in St.Pauli, Max-Brauer-Allee, Johanneskirche an der SternbrückeBild/Foto
#yeswecamp #schlaflosinHH


 
Die Erklärung,
"Immer wenn wir solche Camps hatten, ist es zu schweren Ausschreitungen gekommen"

ist ein bisschen wie die Tatsache, dass in Regionen mit mehr Störchen auch mehr Kinder geboren werden.
Bild/Foto
#noG20 #YesWeCamp #schlaflosinHH



 
@Friendica Developers

Hi @Michael Vogel I have a problem with dba::select(). It seems that this function doesn't work without parameters. E.g.:
$g = dba::select('photo',
	array('width', 'height'),
	array(
		'resource-id' => $image_id,
		'uid' => local_user(),
		'scale' => 2
	)
);

gives me no result. It seems that the $sql (query) is constructed correctly in dba:select()but something happens while executing dba::p() so dba::select() don't output the result.
Or is this an intended behavior?
Ahh ok, this may be the cause of the error,



 
@Friendica Developers
Just to demonstrate how helpful our #doxygen docu could be while writing code

Bild/Foto

Bild/Foto

Bild/Foto
I can't see the full-size images since your SSL certificate has been revoked according to Chrome.

Works for me. Firefox 53.0.3

Yes newer versions of FF and Chrome revoke the WoSign CA certificates.
Problem is that I'm on a shared host (netcup) and don't get LetsEncrypt certificates in an easy way (with automatic renew)

If anybody knows a very simple way to create LetsEncrypt certificates (for all my subdomains) with a reminder after 3 months to update the certificates, let me know.



 
@Friendica Developers

I have just realized that when I open a profile page from the "new" global directory, the zrl parameter isn't transmitted anymore to the opened profile.

@Hypolite Petovan
Can you have a look on this issue

The fix has been deployed on dir.friendica.social, thanks for your vigilance!



 

notifications/intros module don't seem to work


@Friendica Support

can anybody confirm the issue that notifications/intros don't work.

Everytime I try to call that page I get a 500 Internal Server Error. The php error log don't show any errors.

I use the latest 3.5.2RC

Thank you very much @Michael Vogel for taking the time to fix it.
I did a small improvement for notifications/intros page. https://github.com/friendica/friendica/pull/3509

Since there is the chance that we have the data already in our db, there is no need to probe everytime. In case of unreachable instances (of the contact) this does save a lot of time when loading the page. So I would treat it as a bugfix

I haven't checked why the probing is done. Of course this could be done asynchronous in the background.

Should I close the PR?

No. I think it could be changed like proposed there.



 
@Friendica Developers
Can anybody explain to me how the browser desktop notifications work in friendica? Every time when I log into friendica I get over half an hour different desktop notifications.

OK. I have created a PR - https://github.com/friendica/friendica/pull/3308
You will find the description of the issue in the PR description.

@Steffen K9 My friendica network stream isn't very active. Can you have a look if everything does work as expected after the PR got accepted?

I have pulled from develop. I looks fine. I'll watch it.

Hello @Rabuzarus
the good news is there is no desktop notification flood anymore. The bad news is I don't get any desktop notifications now. I just tested this with some mentions and a comment. I tried it with Firefox and Chromium. I get the notifications but no desktop notifications.

:-(
can you please have a look at the browser dev tools in the js console if it does print any error when a desktop notification should arrive. (And like always after the PR a browser cache refresh needs to be done)

Yesterday I got one desktop notification

There was nothing in the dev console. But I'm glad you found something. :-)

I have it :-)
https://github.com/friendica/friendica/blob/develop/js/main.js#L252

The notification e.seen can be false but also 0 (next to 1 -> don't know if we have cases where it is true)

I would like to know if would be better to fix it in the php code. Simple js fix would be && (!e.seen || e.seen == 0) instead of && !e.seen.
But maybe we should have only two states true or false or 0 and 1.

I don't know. The bool values (false) seems to be used for connection requests while the integer (0) seems to be used for post/comments

What do the other devs say?


but.. but.. in js you can use 0 or false.. and
≫ x = 0
← 0
≫ !x
← true


:-)

But the former PR with !e.seen didn't work as expected



 
@Friendica Developers @Hypolite Petovan
after moving Text_Highlighter to composer vendor directory the sample.css is missing. It was loaded in view/theme/templates/head.tpl and view/theme/frio/templates/head.tpl .
Is it really useful since it's a sample? My plan is to get rid of Text_Highlighter for something lighter that doesn't require PEAR. Ideally something in Javascript so that we don't generate complicated HTML that we have to skip to send to Diaspora for example.

Is it really useful since it's a sample?


Yes because it is for color highlighting. Otherwise we would need to write it by our own
  1.  function hallo($a, $test = true) {
  2.   $var = t('test for colors through sample.css');
  3.   return false



My plan is to get rid of Text_Highlighter for something lighter that doesn't require PEAR.

Good idea, because Text_Highlighter isn't maintained anymore.
But can we restore the original behavior until we have the replacement? Does mean including the sample.css.

Only if the JS is doing it's job also with LibrJS enabled ;-) Also remember the people who have JS disabled for Malware protection.

I didn't know LibreJS but it's worth checking if Highlight.js, the library I was eyeing, is compatible with.

Furthermore, syntax highlighting is just display sugar, I don't see an issue with it being absent if Javascript is disabled.

Also remember the people who have JS disabled for Malware protection.

The basic core function should also work without js. But on the other side we should make it possible to have good js implementations to have a comfortable modern GUI. The syntax highlighting e.g. is such a case. We shouldn't hardcode such stuff. It federates very bad with other networks and we are bound to a specific library and its way of generating html.

I'm interested in how you will solve the problem with new added content (e.g.infinite scrolling)

Either the highlighting script is automatically triggered for each DOM change, or we can manually trigger it in the /update callback.



 
@Friendica Support

While I did some searching with friendicas fulltext search and tag search I noticed that there are many top-level posts from diaspora users in my stream. So I looked in the db. And I noticed that I'm the only person on my instance who does have connections with diaspora users (and this two contacts are not real diaspora contacts. They are hubzilla contacts.)
Social relay is disabled.

So why do I have that many top-level posts from diaspora users who no one knows?

SELECT COUNT( `a`.`id`) AS `total` 
FROM `item` a 
LEFT JOIN `item` `b` ON `a`.`id` = `b`.`id` 
INNER JOIN `contact` ON `a`.`contact-id` = `contact`.`id` 
WHERE `a`.`id` = `b`.`parent` AND `contact`.`uid` = 0 AND `contact`.`network` = 'dspr'

-
total
------
1867

some report from the logging (Yesterday unit now).

I got ca. 50 "Unwanted messages" from diaspora users.
Until 3h ago the messages did come from 3 diaspora contact where I have rejected their connection request some time ago.

3h ago I rejected another connection request from a diaspora users who has been marked 2 weeks as pending contact. And as a result I get now also "unwanted messages" from this user since 3h (note: @Michael Vogel PR is working. The messages were not saved in the db).

But there is one strange thing. To test my thesis from some posts above I registered an account on iliketoast.net to reproduce this. I sent a connection request to this account and did send a public message from the dspr account. Nothing happend. Afterwards I rejected the connection request on the friendica side and did send a new public messages. Again nothing happens.

According to the logs the public messages from my dspr account were discarded because thy were sent directly to the user (and not to receive/public).

The only difference in the handlin... mehr anzeigen
Dieser Beitrag wurde bearbeitet. (vor 2 Jahre)

Sounds there's also some space for improvements for Diaspora as well. They can reduce the traffic and spare the bandwith and computing time when they don't send out the messages. But it's their decision for sure.



 
@Friendica Support

Fulltext search doesn't work on my system anymore. The logfile says
2017-02-08 21:06:37@ll7dsh4pv24o7a5a29ii32ed47  [NORMAL]:dba.php:257:q  DB Error (Connected) 1191: Can't find FULLTEXT index matching the column list
2017-02-08 21:06:37@ll7dsh4pv24o7a5a29ii32ed47  [NORMAL]:dba.php:290:q  dba: SELECT `item`.`author-link`, `item`.`author-name`, `item`.`author-avatar`,
                `item`.`owner-link`, `item`.`owner-name`, `item`.`owner-avatar`,
                `item`.`contact-id`, `item`.`uid`, `item`.`id`, `item`.`parent`,
                `item`.`uri`, `item`.`thr-parent`, `item`.`parent-uri`,
                `item`.`commented`, `item`.`created`, `item`.`edited`,
                `item`.`verb`, `item`.`object-type`, `item`.`postopts`, `item`.`plink`,
                `item`.`guid`, `item`.`wall`, `item`.`private`, `item`.`starred`,
                `item`.`title`, `item`.`body`, `item`.`file`, `item`.`ev
... mehr anzeigen

The option to use it can be deactivated. BTW: This full text search doesn't really work on a little bit larger servers due to our database structure.



 

Tech Preview - Frio Album Gallery


@Friendica Support @Friendica Developers @UX Watchdogs @Friendica Theme Developers

LIke I mentioned already in other threads the last really "big" missing thing in the Frio theme is the template for the photo view (and related templates like for uploading and editing photos). I was very unsatisfied how the other themes do handle the photo view. Though I'm not active at the commercial social networks I like how fb and g+ does presenting the images in the album.

Last year, I often sat in front of my computer for a long time and tried several approaches to have a modern photo view in Frio but I always had to give up because it didn't work.

It seems that I have made some progress now.

Bild/Foto

... mehr anzeigen
Dieser Beitrag wurde bearbeitet. (vor 2 Jahre)
OK I have to change to the developer branch. So this tech preview will be no longer available.



 
Bild/Foto

Your comment has created this public post. I've uploaded the picture with the option to not posting it to the wall. But I guess that this option isn't saved with the picture in the db.

We create an item for every photo - they just aren't all visible. The comment doesn't create it, it just lets you see it.



 
@Friendica Developers

The last days I transferred some developer documentation from the friendica github wiki to the help section in friendica.

Some question came to my mind:
How can we lower the barrier for users to participate at the user documentation?
How can we avoid to have different data at different platforms (to lower maintenance work)?

There exist a possibility to sync the github wiki between any source:
https://coderwall.com/p/3aamsa/sync-documentation-between-source-and-wiki-on-github

This would give the regular users the possibility to know nothing about git and to use the wysiwyg editor for participating at the documentation. He/she would only need an account at github

We just should not get tied to close to github, should they turn into sourceforge... but as the Wiki is then part of the repository that should not be a problem.

Right. But this would rather mean that we have to take care that we don't depend in critical areas on github.

I would say documentation is critical ;-) but as it in a repository and we have copies of it that are pushable elsewhere I think it is ok in this case.

I would say documentation is critical


Yes, yes true. What I meant was that there have to be always the possibility to take our stuff and move on to other services (meaning to have no dependences on "github only" features)



 
@Friendica Developers

Please have a look at: https://github.com/friendica/friendica/blob/develop/mod/dfrn_request.php#L87

Is there a reason why we need (`url` = '%s' OR `nurl` = '%s'). Why do we need to include url into this query?

I'm asking because I have two connection request from Tim Schlotfeldt. One with http scheme and one with https scheme. But it is the same profile.

I would like to remove url in dfrn_request.php to avoid this behavior. Just want to be sure if anybody knows about possible side effects.
I haven't looked closely enough at recent work to know for sure, but based on my historical knowledge that's probably safe. There was a time long ago when we needed to look at both because nurl was added later and we compared against the url for backward compatibility. But that's going back a very long time now.