#dev 2024-12-28

2024-12-28 UTC
#
[fluffy]
I am finally implementing bluesky auth for Authl. Gosh this is a slog.
dustinm` joined the channel
#
[fluffy]
I really wish there were just an existing atproto_oauth library for Python, but all of the bluesky/atproto clients I can find use app-specific passwords, which are very much NOT reasonable for Authl, and meanwhile the only bsky-oauth implementation I can find is the “cookbook” thing which is super low-level
#
[fluffy]
Unless someone here knows of something?
#
aaronpk
they used mostly existing oauth building blocks so you might be able to find libraries that do the various parts of it
grufwub and [aciccarello] joined the channel
#
doesnm
remembered about one isp which disallow irc on his servers. By searching i found what it's very many isp-s...
#
doesnm
does anyone make mastodon api to indieauth or i can make this?
#
[tantek]
Make it!
Guest6 and nemonical joined the channel
#
sebbu
doesnm, many isp disallow smtp (port 25)
#
sebbu
i know goat, but it's in go
#
doesnm
sebbu: spam mitigation?
#
doesnm
sebbu: maybe i will use your page for rel=me links parser
#
sebbu
yes, spam mitigation, most people with open port 25 were also anonymous/unauthenticates smtp server, thoses who do it correctly use tls and port 465 so it's not a real issue
ttybitnik joined the channel
#
doesnm
sadly that mastodon api are hardcode redirect_uris
#
jeremycherfas
!tell sknebel Unable to reach sturdy-backbone. Any chance you could restart it?
#
Loqi
Ok, I'll tell them that when I see them next
AcesAndEights joined the channel
#
doesnm
don't have github so trying to answer here: What if recognizing url as Mastodon if it contain url like instance.com/@username. Afaik it's actual to other implementation which implemented Mastodon API
#
Loqi
[preview] [aswathrao] #97 Support for Fediverse login
Daijo, ttybitnik, jonnybarnes, Xe and Daijo_ joined the channel
#
[tantek]
doesnm, last comment in that issue looks like it's Mastodon that we're waiting for to implement the standard so that IndieLogin doesn't have to add any Masto proprietary code
Daijo joined the channel
#
sknebel
jeremycherfas: it's on glitch, so it's not done with just restarting something, needs probably a code update of some kind
#
Loqi
sknebel: jeremycherfas left you a message 3 hours, 57 minutes ago: Unable to reach sturdy-backbone. Any chance you could restart it?
#
doesnm
[tantek]: ok, waiting
#
[tantek]
doesnm, you could also help out with the Mastodon side of things, helping them implement the standard
#
doesnm
not sure
#
GWG
Hmm...what is the best way to test code that interfaces with someone else's API?
[KevinMarks] and [Joe_Crawford] joined the channel
#
[Joe_Crawford]
Typically you'd want to mock that API.
Daijo_ joined the channel
#
GWG
[Joe_Crawford]: I think it might have changed since I last wrote the code.
#
GWG
I'm going to have to read the specs again
#
[tantek]
Has anyone successfully exported their maps/.me bookmarks and imported them to their personal site?
#
[tantek]
I just tried to "share" them via email and sent myself a "My Places.kmz" file which I have yet to explore to see what format it is
#
[tantek]
What is kmz?
#
Loqi
It looks like we don't have a page for "kmz" yet. Would you like to create it?_V (Or just say "kmz is ____", a sentence describing the term)
#
[tantek]
Ok I guess this is going to take some work
#
[Joe_Crawford]
GWG your question is reminding me I have some webmention code that relies, obviously, on http://webmention.io. I might add mocking to a unit test of that class.
#
GWG
I need to be better with testing things. I always say it
#
[KevinMarks]
Looks like kmz is zipped up kml files
[mattl] and ttybitnik joined the channel
#
[tantek]
Is there a web service that unpacks them shows them to you in a nice browsable list format?
sebbu2 and rrix joined the channel
#
[KevinMarks]
There's code in leaflet. I think http://organicmaps.app imports kml etc too
#
carrvo[d]
GWG For testing 3rd party I know of 3 approaches that can be used in combination: 1) mock their interfaces to unit test just your code, 2) write tests against their API (helps with both learning and ability to test compatibility of new releases), and 3) write a wrapper around their API so that you have an interface that makes sense for your app (and only expose what you want).
#
[KevinMarks]
Google earth always supported it, it's the keyhole format from before acquisition
[morganm] and bterry1 joined the channel
#
capjamesg[d]
aaronpk I think I am going to use this UX:
Xe joined the channel
#
capjamesg[d]
I'm hoping to get this live in a few days for people to test and use!