freunde.ma-nic.de

Marco R. friendica
Die Franzosen betreiben auch massive Realitätsverweigerung...

Krisenstab eingesetzt: Atomdesaster in Frankreich nimmt seinen Lauf

https://www.heise.de/tp/features/Krisenstab-eingesetzt-Atomdesaster-in-Frankreich-nimmt-seinen-Lauf-7205304.html


Marco R. friendica
!Friendica Developers
Hello, I am looking for a reason why I see no contacts in the API api/friends/list (see https://git.friendi.ca/lubuwest/Friendiqa/issues/29). According to my database the column 'follows' is false for all entries.
The only function that can change this is the discoverByUrl function in src/Model/Contact/Relation.php. This function is only called by src/Worker/ContactDiscovery.php. This is called by src/Model/Contact.php updateFromProbeArray.
Somehow I think this is never called. The discoverByUrl function does some logging, whenever called. But I never find a 'Discover contacts' entry in my log file, even after days. Do I have to wait longer? I even tried to update the contact via the button in the frontend (the profile page of the contact) with nothing in the logs.

Marco R. friendica

Issue 4072 can be closed

!Friendica Developers

I just had a look at the issues labeled API at github. I think issue 4072 (https://github.com/friendica/friendica/issues/4072)
can be closed as followers_count and friends_count are now returned in that API.
Hypolite Petovan friendica (via ActivityPub)
Done, thanks!

Marco R. friendica

APIs to create, amend and delete events

Hi !Friendica Developers
As I am sick at home, I created two new APIs for events: Create and Delete.
The code is here at my Nextcloud: https://daten.ma-nic.de/index.php/s/47KKkZHXE5wo5x4
It would be nice if someone has a look at it and integrates it into the develop branch. They work for me so far (except the ACL for the Create API, the allow_gid seems to get ignored). I have no account at Github, so I can not open issues for them or create a PR (or can I do PRs from git.friendi.ca?). I hope I did everything correct and didn't introduce security holes.
Feel free to ask questions.
Marco R. friendica
That would be great!

Marco R. friendica
Schon krass, wie die Bundeswehr in den letzten Jahrzehnten runtergewirtschaftet wurde.

Lage der Nation - der Politik-Podcast aus Berlin: LdN299 "Ist die Bundeswehr eine Schrott-Armee?"

Eva Högl (Wehrbeauftragte des Deutschen Bundestages) Webseite der Episode: https://lagedernation.org/podcast/ldn299-ist-die-bundeswehr-eine-schrott-armee-eva-hoegl-wehrbeauftragte-des-deutschen-bundestages/

Marco R. friendica
!Friendica Developers
Hello, I have another API question. According to lin 99 to 102 of https://git.friendi.ca/friendica/friendica/src/branch/develop/src/Module/Api/Twitter/Statuses/Update.php
the privacy settings of a new message are taken from the Account settings and not from the API. In earlier versions of Friendica there existed allow_cid, allow_gid, deny_cid and deny_gid parameters in the API. Is it possible to reintroduce them as first priority for the privacy setting (and account settings as second priority) or would that break something?
Cheers, Marco!
Tobias friendica (via ActivityPub)
I would love to see the old behavior restored 😀

Marco R. friendica
Hi !Friendica Developers the APIs api/friends/list,api/followers/list,api/followers/ids and /api/statuses/friends, /accounts/[id]/followers, /accounts/[id]/following are still not working in Friendica 06/2022 (see https://git.friendi.ca/lubuwest/Friendiqa/issues/29). They make a request on the table 'contact-relation' with the filter follow=true. However, for all 60000 entries on my server this value is false and follow-updated is always '0001-01-01 00:00:00'. So the return is always an empty list. I also did not found a function in the code that touches these columns.
In src/Model/Contact.php they only deal with the 'contact' table and change the rel column. Wouldn't it be better to query this table instead in the APIs?
Greetings, Marco.
Roland Häder reshared this.
Roland Häder friendica (via ActivityPub)
@Marco R. Hmm, my contact-relation has records where follow is 1 and also follow-updated is set.
Marco R. friendica
Oh, according to the code in SRC/Model/Contact/Relation.php this list only gets updates, if profile['hide-friends'] is empty. I guess I have set that to true, thats why all entriss have follow=false.
I didn't know that the hiding relates to the relationship-table being incomplete and the APIs (which require login) returning an empty array. I find that misleading...
Roland Häder friendica (via ActivityPub)
@Marco R. Please do maximum run SELECT statements and no UPDATE or DELETE on Friendica's tables. You might cause bugs with it. There are sometimes tables, that don't have a foreign key set because it isn't possible (e.g. cache).
Marco R. friendica
I think that this condition in line 180 to 183 of src/Model/Contact/Relationship.php is an error.
How long does it take for the contacts to be refetched and can I test if that condition was the error? Now the setting 'hide friends' is unchecked.

Marco R. friendica
Seit Wochen bin ich der einzige in Meetings, der eine Maske trägt 😷 . Und dennoch muss ich jetzt daheim eine Maske tragen! Das Leben ist echt nicht fair...😞

Marco R. friendica
Hello @Friendica Support When I use the API /api/v1/accounts/verify_credentials with the wrong password, it returns a 401 error and as responseText a html page. According to this documentation https://git.friendi.ca/friendica/friendica/src/branch/develop/doc/api.md it should return a JSON as responseText. In earlier versions it returned a JSON. Will that be corrected in the future or should I handle the 401 error? In that case the documentation probably needs an update.
Tobias friendica (via ActivityPub)
I filed a bug report (11738) for the issue and put it into the current milestone.
Marco R. friendica
In line 184 of https://git.friendi.ca/friendica/friendica/src/branch/develop/src/Security/BasicAuth.php it throws this Exception. I think a JSON return would be better, but I don't know how other clients handle this.

Marco R. friendica

API for personal notes

Hello !Friendica Developers ! Is it possible to create an API for personal notes similar to src/Module/Api/Twitter/Favorites.php but with condition 'post-type' => Item:😛T_PERSONAL_NOTE instead of 'starred' (and perhaps 'uid' => local_user() instead of 'uid' = ?)?
Thank you for your help!

Btw. Is it possible to replace colon and p only with an emoji if it is surrounded by whitespaces? 😕
This entry was edited (1 month ago)
Michael Vogel friendica (via ActivityPub)
I could imagine that we extend the API command to create posts via the Mastodon-style API, where you already can define the type of privacy. This could simply be extended with the type "note".
Marco R. friendica
Yes, that would be great. I think I switch to the Mastodon API in Friendiqa now.

Marco R. friendica
@Friendica Developers I created a new page "use cases" for the wordpress site friendi.ca. The page is currently set to private. Please have a look at it and set it to public if you find it okay.
Marco R. friendica
Die sind von Unsplash.com. Laut deren Webseite ist kein Hinweis auf die Quelle notwendig, aber erwünscht. Der Dateiname besteht aus dem Namen des Fotografen und ein eindeutiges Kürzel. Ich weiß leider nicht, wie man in Wordpress Quellenangaben macht.
Tobias friendica (via ActivityPub)
jepp, der Medien-Manager ist eher unübersichtlich @Marco R. ich werde nachher oder am WE mal einen Blick drauf werfen welches Feld für was steht.

Marco R. friendica
Ich habe gerade meinen Matrix-Account gelöscht, da der Server demnächst abgeschaltet wird. Ich habe auch nicht viele öffentliche Matrix-Server gefunden, zu denen ich umziehen könnte. Wahrscheinlich ist der Serverbetrieb zu Resourcen-aufwendig.
Ich habe auch einen eigenen XMPP-Server für Family and Friends. Bisher habe ich noch nicht den großen Vorteil von Matrix gegenüber XMPP gesehen, der für einen Umstieg auf einen eigenen Matrix-Server und für ein Umlernen von Family and Friends spricht. Diskussionsräume, die mich interessieren (Linux, Datenschutz), stehen auch auf XMPP zur Verfügung.
Wie seht ihr das? Geht der Zug eindeutig Richtung Matrix? Lohnt der Umstieg auf einen (resourcen-sparsamen) eigenen Matrix-Server?
ij mastodon (AP)
Hier ist der Ressourcenvergleich, den @bavatar meinte: https://blog.windfluechter.net/2021/05/01/the-fediverse-what-about-ressources/

Matrix hat eine sehr gute & laute Marketingabteilung. Der einzige Vorteil, den ich bei Matrix sehe, ist, dass sie mit Element auf allen Plattformen eine Referenzimplementation haben.
Der Vorteil eines einheitlichen Protokolls wird sich auch relativieren, wenn es mehr Clients und Server gibt, die den Standard interpretieren. Das ist ein Zustand, wie ihn XMPP schon vor Jahren gelöst hat.

Ich überlege auch,
ij mastodon (AP)
... meinen eigenen Matrix-Server abzuschalten. Ich nutze ihn kaum und er verbrät ziemlich viel Ressourcen dafür, dass er nicht genutzt wird.

Interessant kann es werden, wenn iMessage & WhatsApp, durch den Digital Markets Act gezwungen, ihre XMPP-Federation wieder öffnen würden. Das wäre für beide vermutlich die einfachste Art und Weise...
Oliver microhive (AP)
Schaut euch mal Conduit an, läuft bei mir (auf einem Uberspace) zuverlässig und unproblematisch als Ein-User-Instanz.

Marco R. friendica
Die Ferengi wollen sich mal wieder nicht an Koalitions-Absorachen halten!

Lindners Vertragsbruch: Ausverkauf öffentlichen Eigentums stoppen! | WeAct https://weact.campact.de/petitions/vertragsbruch-stoppe-lindner-beim-ausverkauf-offentlichen-eigentums

Since early this year you can follow people in gitea! Just put for example https://git.friendi.ca/lubuwest.rss in the contact search field in Friendica and get all the news! Awesome 😍

Weekend saved 😎


Marco R. friendica
!Friendica Support Ehen I change my profile and add custom fields, I don't see them anywhere in the frontend. I can see them in the API. Is it planned to show them in the frontend?
Gidi Kroon friendica (via ActivityPub)
@Marco R. In the Frio theme they do show up in the frontend, I can see your (and mine) custom fields. It looks like you're using another theme and I don't know whether custom fields are planned for that one.
Marco R. friendica
I am using Vier. Probably that theme won't be adapted.
Tobias friendica (via ActivityPub)
@Marco R. I'm using vier as well. Custom fields are showing up in my profile... but I'll check if new fields are shown as well.

Are you on stable or the develop branch?
Marco R. friendica
I am using the 2022-06 stable branch.
Tobias friendica (via ActivityPub)
@Marco R. it's working for me on the develop branch. The "test" section in my profile was just created.
Marco R. friendica
Now I see it in the subdirectory /profile (https://freunde.ma-nic.de/profile/pankraz/profile). Thanks!
Tobias friendica (via ActivityPub)
You wanted to add stuff into the short profile displayed in the side bar @Marco R.? That is mostly all the "Personal -> Description" field (you can use BBCode in it, which is really ugly in the one line input field).
Marco R. friendica
Yes, I would expect it at https://freunde.ma-nic.de/profile/pankraz. I don't even know how I get to /profile. When I click on my name or profile image and click "show profile" I land at https://freunde.ma-nic.de/profile/pankraz/profile.

I just pushed a new commit for the Nextcloud Talk desktop client: https://codeberg.org/CarlSchwan/harbour-nextcloud-talk/pulls/1
It is somewhat usable now.
Now I check the current state of the Friendica APIs...

Weiss jemand, wie man die Impfzertifikate in der CCTG verlängert?


Marco R. friendica
@Friendica Support Is it possible to improve the main site of the project (https://friendi.ca)? I find it rather technical and low on images. It think, some usecase would be great in the upper part like: Hobbies: find likeminded people in public or private forums or in the global directory. Organisations: organise your group with images, calendars, forums. And so on... The technical details with access control lists and federation is not interesting to most (nontechnical) people.
Tobias friendica (via ActivityPub)
Could you send me your email, I'll give you access.
Marco R. friendica
I created a markdown for the content: https://daten.ma-nic.de/index.php/s/JG9HNCqAaQRmofy
If someone has more ideas, feel free to add things. The part for families/organisations is a bit light on content.
I am looking for images for each of the usecases.

Pralinen aus der #. Mal sehen, wie die schmecken...




Jetzt mein # Favorit: #!!!

# # erinnert mich irgendwie an den Film "Eurovision" mit Will Ferrell.

# Countdown startet auf One und Barbara Schöneberger sieht mal wieder echt Hammer aus!

Coole DVD von meinem Lieblings-Videoverleih #.

#


Marco R. friendica
@Friendica Support

The API /account/verify_credentials shows an http error page "Unauthorized" when the password is wrong. I think it should return a JSON accoring to /help/api. Was that changed lately?

In the latest GWO Podcast the author struggles to understand the concept of KActivities. Just as almost every @KDE user, I guess...

GNU World Order Linux Cast: gnuWorldOrder_456

Mediendatei: http://gnuworldorder.info//audiophile/gnuWorldOrder_456_ogg.ogg
@KDE

Marco R. friendica
!Linux On Mobile

Nice overview for apps in mobile Linux:

https://linuxphoneapps.org/apps/

Marco R. friendica

Friendica Forum for Linux on mobile

Hi there,
I just created a forum for all topics around Linux on Mobile: !Linux On Mobile
Comments, questions,... are welcome!

# daily driver challenge

Wow! Gnome Weather with nice overview and data provided by my favorite meteorological institute ☺



Librem5 daily driver challenge 4

I switched from Gnome Podcasts to Kasts. It has no OPML import yet, but a nice search function. There are far more options for episode handling and even a sync with a Nextcloud app! Gnome Podcasts becomes unusable after a while as there is no right click on the phone (which is needed for episode deletion, and there is no auto deletion!).

@Purism Where can I help with the translation of the # GUI? And how do I get my app Friendiqa into the store?

I really love that GNOME Web/Epiphany, one of my favourite browsers, is also the default browser on # .

#Librem5 daily driver challenge 5

Many dialogs are not fitted to the screen as one can see in this screenshot. 😞


#Librem5 daily driver challenge 3

Screen got blank, probably due to low power, but didn't react after plugged in. Took me some time to find out that you have to held down the power button for a whole 15-18 seconds to reboot!

#Librem5 Daily Driver challenge 2

5.5 hours battery life with continued podcast listening and some light surfing. Not in the range of a modern Android phone, but not bad either.😀
Later posts Earlier posts