Mr. X
4 years ago
new delivery queue - with luck this will work better than the last one.
Mr. X
4 years ago
Everybody OK in the southeast US?
Mr. X
4 years ago
Diaspora folks will be either amused or horrifed that they may start seeing comments on Diaspora from Facebook and Status.Net folks. We'll tag these with a ' [relayed]comment by Joe Blow on Facebook' preamble  as they will otherwise appear to come from their Friendika contacts.

And relax - it's limited to remote comments on Friendika posts, just so important parts of the conversation aren't missing. No Mafia Wars and Farmville crap. And replying to the thread isn't going to get the Diaspora message back to Facebook - although we could theoretically do the same thing on that end.
Mr. X
4 years ago
Mike Macgirvin is now friends with Constantin ✱


Image/photo
Mr. X
4 years ago
Whether they're red or blue, produced by Facebook or Microsoft or America Online. Whether it's email or USENET or Twitter or Diaspora. Whether it's text or audio/video. Whether it's Java or PHP or Ruby. Whether it's MIME or XML or JSON.

In the end, they're only messages.

Quit trying to treat them like they're something mystical or special or different.
Mr. X
4 years ago
It also appears we have a "mis-attribution" issue on Diaspora comments just like we did with Status.Net, though it's something we should have control over.

I'm working on it.
Mr. X
4 years ago
~friendika folks that are having any issues communicating with Diaspora*, please check first - PHP 5.3, no sub-directory path, and have SSL with a browser recognised cert. Enable Diaspora communications in the admin panel.

Make sure your friendika version is running off the latest git master. And don't do this if you're at all squeamish about beta code.

Ensure that both sides are sharing with each other (this might be obvious but i'm trying to cover questions that have already been raised).

Then each type of message on D* goes through a different logic path (clumsy but that's how it is). When reporting issues, we need to know a few things. So is it a top-level post (from which network?), a reply to somebody else's post (where the top-level post originated on which network?), or a reply to your own post?
Same thing for likes. Where did the original post come from? There will probably be some issues with photos since there's no common protocol for sharing private photos which doesn't leak privacy on Friendika. Public photos may work. Videos probably won't work, but the video link might make it through.
6 comments show more
Björn Schießle
4 years ago
>Unfortunately there is no confirmation from Diaspora that your friend request was received and delivered. All we can do is send it and hope.

What I meant was that if I send a friend request to Disapora than the user at Diaspora should get a notification that I (tried to) connect with him. This happens within one network but seems not to work across networks assumed that I really connected the accounts during my tries.

>I'm still uncertain what certs work and what don't.

Do you know a certificate which works for sure and which I could get for free? All certs i know which are recognized by browsers cost some money.

>And read my post again - "the messages doesn't go from one network to the other" isn't good enough. There are twenty different functions for sending a message from one network to another. I need to be able to pin down which specific function or functions are responsible for delivering *this* message

What I did was following:
After connecting to my joindiaspora user. I created a "diaspora" group at friendika and a "friendika" group at Diaspora and moved the contacts to the groups. Now I send a status message at Friendika which is only visible to the group diaspora and the other way around. But no message arrived. Hope this helps tracking down the problem. Please let me know if you need more information.
Mr. X
4 years ago
Thanks - that helps. This particular activity was working, so I'll have to figure out why it stopped.

As for a cert, try startssl - they're free but have to be renewed annually. It's a bit of a pain to set up as they give you an SSLv3 personal client cert to manage the account and if I recall there was a bit of verification. But once that's done it's pretty smooth.
Mr. X
4 years ago
So here's what I'm thinking... if one uses an encrypted transport wrapper tied to webfinger service discovery, such as I described yesterday (https://macgirvin.com/display/mike/28925), with openid as the protocol to access protected resources (photo albums, private profiles, etc.) on other sites, and then uses (drum roll please...) MIME as the payload encapsulation, you've got the perfect marriage betwen traditional messaging and the free social web. In fact, they become extensions of and can co-operate with each other. You can feed your social stream directly into your email inbox and vice versa. The key difference is that your social stream ties into all the resources and knowledge of relationships of said "addresses" on the web - which email by itself doesn't do. This also gives a growth vector for email clients, which can now evolve into social interfaces and get rid of spam (because spammers have no relationships with you). The social interfaces - being free of the burdens of dealing with low-level messaging, can evolve into tools of personal expression.

And that my friends - is the free social web.
Mr. X
4 years ago
Done. I added you on both nets since I'm still doing a bit of debugging on the f/d channel.
Mr. X
4 years ago
Mike Macgirvin is now friends with Sarah Mei


Image/photo
Mr. X
4 years ago
I think the new delivery engine is working - at least nothing has blown up so far. Have also made several fixes to the Diaspora* interface to fix some of the little issues that've cropped up. It seems to be working a bit better all the time.
Mr. X
4 years ago
Oh yeah, the property was wonderful. 15 acres next to a state forest. Nice house, stables, abundant water. (In rural Australia, having a good water source is a big deal.)  Lots of roos in the area. About an hour to the gong.
Mr. X
4 years ago
Mike Macgirvin is now friends with Kevin Kleinman*


Image/photo
Mr. X
4 years ago
Warning for those who are pulling from the master repository... I'm checking in a potentially destabilisng delivery change. If this makes you queasy, please hold off updating until a few of us have been able to see how it behaves in production. I did all the testing I could on a limited test site.
Mr. X
4 years ago
Looks like we've been bitten again by PHP's (lack of) memory management. All of our delivery processing and encryption and what not is chewing through memory in a big way and not all posts are getting delivered by the "notifier" which is responsible for doing this stuff.

This was OK before  - as DFRN clients poll once in a while in case something was missed, and there's also a backup delivery of public posts available via pubsubhubbub.  But Diaspora doesn't have any fallback. If the message isn't delivered the first time, it won't ever get delivered.

Anyway - I'm working now on a quick fix - which will need a thorough rehash later. It may take me a full day - this is not an easy change. Basically every contact will get their own delivery process, spread out by a second or two so we don't swamp the system all at once. Hosting providers are going to hate this, but for now it may be the only way out.

For version 2.4 this all needs to be compartmentalised - basically every transmission to and from our system will have to be a standalone request in its own process space.
Mr. X
4 years ago
Looking at a property out in Sutton Forest today - not too far from Nicole (Kidman) and Keith.
Mr. X
4 years ago
Mike Macgirvin is now friends with CowMan


Image/photo
Mr. X
4 years ago
Mike Macgirvin is now friends with Schœwilliam


Image/photo
Mr. X
4 years ago
Cleaning up the Contacts page
图像/照片
Mr. X
4 years ago
Mike Macgirvin is now friends with Jorge Araya Navarro


Image/photo
Mr. X
4 years ago
No more StatusNet's mis-attribution bug. We've got a lame single-user public feed just for them. Everybody else can use "[feed]/converse".
Mr. X
4 years ago
What I've discovered about "federation" is that every service is a special case and requires lame exceptions. I'm sure others think the same way about Friendika because our protocols are radically different. But on the plus side, since we also implement everybody else's stacks - one can pick and choose how best to communicate with Friendika folks.
Mr. X
4 years ago
Announcing Friendika 2.3 beta1 | Friendika


We are pleased to announce a beta release of Friendika 2.3 - the next generation social platform.

Friendika is a decentralised social networking, communications, and identity platform for the web.

Many people talk about federating the social web, Friendika is doing it. Today.
3 comments show more
Fred
4 years ago
Hi Mike,

I have just used "git clone" and the version is still 2.2.1081 here. Is this the main repository: git://github.com/friendika/friendika.git ?

And FRIENDIKA_VERSION parameter on boot.php is 2.2.1081 too (even on downloadable 2.3 b1 version).
Mr. X
4 years ago
Yes, you're up to date. I couldn't answer "yes" that it would pull in the latest release without knowing for sure if you were running from "master".
Mr. X
4 years ago
Don't know if there is any way to get private photos over to Diaspora since they don't have a way to authenticate remotely to private photos and they don't accept embedded images.

But public photos should more or less work now. These seem to be ripped out of the message and re-attached at the other end so it may not be in the same place in the message that it was here.

Assuming this post doesn't bork completely, I think it's time to declare a beta release of Friendika 2.3.

图像/照片
Mr. X
4 years ago
Sadly it borked completely on the Diaspora side. And each time I fix one thing I notice something else that needs work - such as both sides of remote conversations weren't making it across.

But in any event, I'm going to start making preparations for a beta release. There is enough working that I'm not ashamed of it. We've still got time to fix the little stuff before the final release.
Mr. X
4 years ago
Mustard must like me...

:-(
Mr. X
4 years ago
Hopefully will have photos going back and forth with Diaspora later today.

The translation between systems isn't perfect. Will do the best we can.
Mr. X
4 years ago
Mike Macgirvin is now friends with Zulu*


Image/photo
Mr. X
4 years ago
Just added a function to clean up the formatting on the Diaspora* side a bit. They don't support quite as rich markup as ~friendika, so I just translated the simple structures, and left the more complicated ones as bbcode. - This looks better than raw html and should preserve the links across the wire.

Will also need to extract photos and send them as separate attachment messages. For now I left the links as bbcode until we get that step complete. The links should be clickable. We'll need the extracted attachments to render them inline in Diaspora*.
Mr. X
4 years ago
Not as clean as I'd like it to be, but a lot less ugly than it was. We can improve on this over time.
Mr. X
4 years ago
Mike Macgirvin is now friends with Ticho


Image/photo
Mr. X
4 years ago
Can anybody send me a video of some kind from Diaspora* so I can see what they look like over the wire?
Mr. X
4 years ago
Mike Macgirvin is now friends with Patrick Niedzielski


Image/photo
4 comments show more
Mr. X
4 years ago
Thanks. I guess we'll have to try it and see. Wouldn't be too hard to go from bb2md.
Mr. X
4 years ago
Mike Macgirvin is now friends with Chris


Image/photo
Mr. X
4 years ago
Mike Macgirvin is now friends with Sean Tilley


Image/photo
Mr. X
4 years ago
Here's my current to-do list - priorities could shift or the list annihalated at any time:

Diaspora photos in posts and translate bbcode/html/markdown

Diaspora admin components (enable/disable - it is disabled by default)

Propogate Diaspora comments/likes to other conversants

Release 2.3 beta

Diaspora retract friendship (and add "one-way friendship retractions" to other networks)

Diaspora delete/retract post/comment (I believe we retract "like" activities already but haven't tested)

Update help and documentation - a lot has changed for 2.3

Create a special public feed for statusnet since they apparently can't figure out an Atom "author" tag

Release 2.3

Revamp contact pages and contact overview page. Simplify, cleanup the ugly icons

Diaspora private mail

Try and work around browser timeouts for folks who post to every network via plugins. We also get hit with these a bit on contact 'follow' processing when the remote site doesn't support https
Mr. X
4 years ago
~friendika and Diaspora* now communicate with each other in both directions.
Mr. X
4 years ago
In case you missed the fine print - there will be a few bugs.

Report these through our normal channels.

Some Friendika installation decisions which may affect you:

- domain or sub-domain installation only, no sub-directory path.

- SSL may be required, browser recognised cert preferred over self-sign.

- PHP 5.3 or greater

- private mail and message deletions have not yet been implemented
Tobias Diekershoff
4 years ago
forget the fineprint read the bold print it works! even from my box at home with the CACert :-D
Mr. X
4 years ago
I figured out the !Diaspora comment signing algorithm. !Friendika will absolutely require PHP5.3 to federate, as there is no way to sign/verify SHA on PHP5.2. That's SHA as in SHA-0 or FIPS-180. It's an obsolete hashing algorithm which coincidentally has the same ASN.1 OID as SHA1 - and which is the reason why I didn't solve it earlier. Had to read most all the openssl source code for Ruby to track it down. Fun. :-(
6 comments show more
Mr. X
4 years ago
A few people have responded with options.

I'm humbled by the ability of the community to respond when needed. I love this project.

Anyway I think I've got a way to move forward, but certainly appreciate the offer.
Mr. X
4 years ago
Got the easy one (the 'like' signing format). That should be working now.

I'll start on the hard one after dinner.
Mr. X
4 years ago
For the moment, I'm just going to ignore D* comment/like signature errors and proceed even if they fail to verify. This will let us debug more of the surrounding code until the signing issue gets sorted out. I'm signing these going out with what should be correct, although this is completely different from the spec.

If anybody wants to figure how you can get an SHA-1 (or any) hash of
64b2c95097cd1c17;6aad8f5747fe9780;comment test;macgirvin@diasp.org

to come up with

c63fbfb62f70e3df61336dda0b72f9e18b351fb0

...please let me know how you did it.
Mr. X
4 years ago
图像/照片
Mr. X
4 years ago
"willy peppers"
Mr. X
4 years ago
Just to rehash from my earlier post that got wiped, we've really only got two main issues re: D* federation and I believe I've nearly figured out one of them.

1 - the posted data appears to be double url encoded. However I fixed this and messages are still not getting through from ~f to D*. Still something different on the wire that hasn't been accounted for. Need to look at what D* is sending us and replicate it.

2 - Comments are crypto signed. It took a lot of work to figure out the precise data that was used for salmon signatures, need to do it again for comments. It may be as simple as linefeeds, or a difference in signing either before or after XML encoding the data.

Once that's done, things should move quickly. We'll leave private mail and deletions until after we get the basics -e.g. friending, posts, comments and likes (Diaspora does not support dislikes).

We have friending and posts working from D* to ~f, but issue #1 is currently preventing going the other way.

Any help is appreciated.
Mr. X
4 years ago
oops - seem to have lost a bit of data in a coding mishap. Note to self: make sure the contact you're deleting doesn't say 'self'.

Anyway - that's fixed but I'm not going to bother trying to recover my old posts.

Probably should create a testing account on this server though so I don't put my personal account at such risk.  

We should be a whole lot closer to Diaspora connectivity now, but I'll probably need Tobias to try another follow from ~f to D* and report what's seen in the D* logs.
16 comments show more
Mr. X
4 years ago
Are there any linebreaks that you can tell *inside* the signable string?
Tobias Diekershoff
4 years ago
A longer comment
Dies ist ein ziemlich langer Kommentar
über mehrere Zeilen
und mit Sonderzeichen
"& test <>"

linebreaks after Kommentar, Zeilen and Sonderzeichen.

And the corresponding log++++++++++ pid=22910 time=1313844891
A signable string pid=22910 time=1313844891
'105dee204e30dfc9;55b842319b741ee5;Dies ist ein ziemlich langer Kommentar
über mehrere Zeilen
und mit Sonderzeichen
"& test <>";joesmith@diaspora.dsn-test.com' pid=22910 time=1313844891



In case it get lost during transport, the linebreaks after the three words mentiones above are within the string in the logs.
Tobias Diekershoff
4 years ago

Reallive Treffen der Star Trek Association 2011

Starts: Thursday August 11, 2011 @ 10:00 PM

Finishes: Saturday August 13, 2011 @ 10:00 PM

Location: Berlin

Tobias Diekershoff
4 years ago
*lol* great :-) no I hadn't seen the video - thx!

And yes I'm a Trekkie
Fabio
4 years ago
Great Scott!

*
Happy Birthday, Mike!

* all times are UTC+2
Barbara Decker Bickle
4 years ago
One more question.  Can I upload photos from FB or Photo Gallery?
newer older