Diaspora API Dev Progress Report 28 2018-12-21

Today is a momentous day in the Diaspora API development saga.  Today we have completed primary development of the API, the unit tests, and the external test harness.  There are still two code reviews between that and the real code review for integration into the main development branch, but all of the major work is complete.  What does that mean exactly?

(More ...)
Diaspora API Dev Progress Report 27 2018-12-21

Boy are we really coming down the home stretch now!  All of the scopes are implemented in every API endpoint now with their corresponding tests to confirm that the permissions are working correctly.  The most difficult of those, I thought, was the Streams, again.  After beating my head against a rock a lot yesterday I put the whole project down for the day and then picked it up today.  After warming up on the other endpoints I started working my way through getting Streams working such that it could filter private data.  After a bit of fumbling I finally got a relatively simple solution to the problem and got all the tests passing correctly.

(More ...)
Diaspora API Dev Progress Report 26 2018-12-19

It’s been almost a week since there’s been an update on the API.  I’ve been busy with other things and travel so it didn’t get as much focus as I would have liked to have given it.  However there has been some progress.  Thanks to Frank ’s help we’ve been able to get all of the side branches merged into the core API branch so that we are now coming down the home stretch on getting it ready for integration.  The first order of business for that is getting the OpenID security stuff squared away.  I’m still working on understanding that better and the more I go back to it and work with it here the better that looks.  There is still the question of the "refresh token" workflow but work has been done on it so if anything it’s a small tweak thing or a documentation thing versus a from scratch development thing.  Even in the event that it was a from scratch thing with the code base I have and the examples I mentioned before it shouldn’t be a huge effort to get that working.  Most of the security work is therefore integrating in the much more fine grained security scopes which Senya has been working to hone.

(More ...)
Facebook Messenger Alternatives Redux (Federated and Non-Federated) 2018-12-13

While I post mostly on Fediverse platforms like Diaspora and Mastodon , and am focusing my development efforts there, the instant messaging accessibility of Facebook Messenger has been illusive. I tried Wickr and it’s okay but not the most user friendly. It’s claim to fame is the messages only go from the participant to the receiver without a server between except for authentication. That makes the flow clunky, to say the least.  Which is why leaving Facebook has been one of my least successful aspects.    I wanted to explore other options and in the last week I pulled the trigger and actually did it.

(More ...)
Diaspora API Dev Progress Report 25 2018-12-13 With the documentation changes wrapped up, but holding off on PR’s until things solidify up a bit more from the code scrub process, it was time to move on to the OpenID deep dive and review. (More ...)
Diaspora API Dev Progress Report 24 2018-12-11 Yesterday I said the paging API was complete but needed to be reviewed. The more I talked over some elements with people and in exchanges on Diaspora I realized there were a couple of tweaks I needed to do. (More ...)
Diaspora API Dev Progress Report 23 2018-12-09 After a day of coding the paging is now in every endpoint that should have it. That means that we have paging right now for: Contacts Photos Posts Comments Notifications Conversations (but not messages in conversations) Search Streams Because of the size of the code changes I would imagine there will at least be some tweaking and I could imagine there being some larger refactoring afterward too but it’s in a solid, working, and as performant space as the existing standard endpoints so I’m happy with it. (More ...)
Diaspora API Dev Progress Report 22 2018-12-08 Paging paging and more paging. I haven’t been committing as much time to development the last few days as I’d like. Some of that is frustration with the development process on the paging, which has been a lot of trial and error. (More ...)
Diaspora API Dev Progress Report 21 2018-12-05 Coming up with a paging infrastructure for the API while looking at all of the ways it could be used and abused hasn’t been fun. Not that it hasn’t been totally worthwhile. (More ...)
Diaspora API Dev Progress Report 20 2018-12-04 Now that we’ve hit feature complete status it’s about getting more of the legwork down to get us really ready for integration. The first necessary feature we need before that is paging. (More ...)