#dev 2018-02-15
2018-02-15 UTC
# [kevinmarks] in the eu they're legally required to
snarfed joined the channel
gobengo, snarfed and snarfed1 joined the channel
tantek, chimo, eli_oat, renem, [miklb] and leg joined the channel
# grantcodes Added a multi column mode to Together if anyone likes classic feed readers
eli_oat and [eddie] joined the channel
snarfed, [jeremycherfas], barpthewire, jjuran and AngeloGladding joined the channel
# kaja.sknebel.net edited /User:Kaja.sknebel.net/upcoming-hwcs (-308) "update from /Events" (view diff)
tantek, [xavierroy], [jeremycherfas] and treora joined the channel
# Zegnat Hmm, does https://indieweb.org/Microsub-spec#Set_Channel_Order mean a client can only give a) 2 items where the first gets placed before the second, or b) an array of all items?
[kevinmarks] joined the channel
# @xbs A cryptocurrency miner hidden in a favicon.ico - welcome to 2018 via @chrskly https://pbs.twimg.com/media/DWAXuZGX0AAj3uE.jpg (twitter.com/_/status/963796410100604929)
# petermolnar O.O
# petermolnar read the thread
# petermolnar indeed, that's my take away as well
leg and eli_oat joined the channel
# vanderven.se martijn edited /RelMeAuth (-12) "Martijn removed lots of [[rel-me]] from his profile for security reasons." (view diff)
tantek joined the channel
# www.svenknebel.de edited /RelMeAuth (+107) "/* Consolidated identities do not carry inherent trust */" (view diff)
# aaronparecki.com edited /RelMeAuth (+137) "/* Consolidated identities do not carry inherent trust */" (view diff)
# www.svenknebel.de edited /RelMeAuth (+96) "/* Consolidated identities do not carry inherent trust */" (view diff)
# aaronparecki.com edited /RelMeAuth (-1) "presumably you meant authorization_endpoint :)" (view diff)
# aaronparecki.com edited /Microsub-spec (+118) "/* Set Channel Order */ try to be more explicit about the ordering command and use cases" (view diff)
# aaronpk picasa doesn't seem to have the concept of ordering within an album at all https://developers.google.com/picasa-web/docs/3.0/developers_guide_protocol#PostPhotos
# www.svenknebel.de edited /Microsub-spec (-1) "/* Set Channel Order */ method=order, not =delete" (view diff)
# tantek it's an interesting point ( https://chat.indieweb.org/dev/2018-02-07#t1518034782736000 )
# aaronpk there's openid2.local_id from openid http://openid.net/specs/openid-authentication-2_0.html#rfc.section.7.3.3
# tantek is just searching http://microformats.org/wiki/existing-rel-values for _
# tantek.com edited /RelMeAuth (+582) "/* Consolidated identities do not carry inherent trust */ how about authn, as an addition to "me"" (view diff)
# aaronpk Zegnat: does this help? https://aaronparecki.com/2018/02/15/5/
# Zegnat https://github.com/indieweb/indieauth/issues/17 - filed the relation type issue there for future reference
# @nhoizey @STPo @anthony_ricaud @htmlvv Ouaaais, des Webmentions !!! (twitter.com/_/status/964164149973413888)
# aaronparecki.com edited /Microsub-spec (+782) "/* Set Channel Order */ add example of processing the order command on the server https://chat.indieweb.org/dev/2018-02-15#t1518709130562300" (view diff)
[gerwitz], [tantek], gRegorLove, snarfed and [cleverdevil] joined the channel
# [cleverdevil] New build of Indigenous is great! Good job, [eddie]++ 🙂
snarfed, snarfed1 and tantek joined the channel
# [cleverdevil] Also, [grantcodes] continues to make great progress on Together. Now it includes read/unread status, a "classic" view, a more responsive design, and other improvements: https://cleverdevil.io/s/rbTFxamOAH.mp4
[eddie] joined the channel
KartikPrabhu joined the channel
# gRegorLove Loqi, messages?
# [cleverdevil] Is the microsub client in this build?
# [cleverdevil] So, I did that, and the microsub stuff doesn't seem to work for me.
# [cleverdevil] Nope.
# [cleverdevil] Just my website name at the top and then empty white below.
# [cleverdevil] PM'd my debug info.
# [cleverdevil] It fits in my home screen, [aaron_pk]
# [cleverdevil] I wonder if it depends on the device / resolution?
# [cleverdevil] (Same)
# [cleverdevil] Is this a Known thing?
# [cleverdevil] Let me re-login to Aperture
# [cleverdevil] I made some fixes to Known earlier in the week.
# [cleverdevil] Wait, that wouldn't matter would it.
# [cleverdevil] Its strictly on the Known side.
# [cleverdevil] Let me look in the database at what I have stored
# [cleverdevil] Hmm... it shows "Authorized 2018-02-15 with the scope create read" in the UI, now let me look in the database.
# [cleverdevil] Zegnat, your help would be greatly appreciated!
# [cleverdevil] I am trying to put together a little crowdfunding to help make Known an exemplar of IndieWeb.
# grantcodes Hmm, what does it say in the console?
# [cleverdevil] I sort of fumble along and probably bother everyone in here too much with all of my questions 😂
# [cleverdevil] [eddie] what route is being hit on my Known site that returns the scopes improperly?
# [cleverdevil] (everything in the database is correct)
# Zegnat I installed Known not too long ago to test some stuff out and try to help jeremycherfas. I kinda decided Known wasn’t for me, and because of /selfdogfood didn’t want to undertake big support things. But when I see issues like this come up I am swayed a little into thinking I should just offer some support.
# [cleverdevil] Something like Known is so important to really drive IndieWeb adoption, IMO.
# [cleverdevil] I have been considering building my own bespoke site for a while, but I keep sticking with Known because I really want it to succeed as a community project.
# aaronpk this seems to be something to do with Known's profile URLs that look like https://cleverdevil.io/profile/cleverdevil
# [cleverdevil] Https
# aaronpk the token endpoint is returning https://cleverdevil.io/
# [cleverdevil] FWIW, I would prefer to use the shorter version everywhere. I suppose it’s part of Known’s multi user capability.
# [cleverdevil] I don’t think so. But not positive.
# [cleverdevil] Doubt it. But that’s a good idea.
# [eddie] cleverdevil: when you log into Together you use ’https://cleverdevil.io' and when you log into Indigenous you use either ‘cleverdevil.io’ or ‘https://cleverdevil.io’ correct?
# [cleverdevil] I think I’ve always been using the full https URL.
# [cleverdevil] The only changes I made are to the scope part.
# [cleverdevil] No change to anything about the URLs
# [cleverdevil] It’s in Cote
# [cleverdevil] Core
# [cleverdevil] Under IdnoPlugins/IndiePub
# aaronpk k I read through as much of the code I could without actually setting up known and looking at the DB. I suspect that the verify auth code method is returning a different `me` value than the token endpoint returns and that's causing the mismatch. the code got too confusing around looking up the user account for me to follow just by reading it.
jackjamieson joined the channel
# KartikPrabhu what is fragmentioner
# Loqi fragmentioner is a Javascript utility by Kartik Prabhu which gives a pop-up link with the fragmention URL to a piece of selected text https://indieweb.org/fragmentioner
# kartikprabhu.com uploaded /File:fragmentioner-demo.png "UI for fragmentioner https://indieweb.org/File:fragmentioner-demo.png"
# [cleverdevil] [eddie] is it providing it properly and consistently?
# [cleverdevil] I'd love to fix it, but I am not sure what precisely is wrong.
# [eddie] token endpoint returns https://cleverdevil.io/
# [eddie] auth endpoint returns https://cleverdevil.io/profile/username
# [cleverdevil] Gotcha. I wonder if I logged in with the longer-form URL, if it would work.
# [cleverdevil] My guess is "probably."
# [cleverdevil] Still, I don't really want to do that 😕
# [cleverdevil] I'd prefer to actually fix this.
# kartikprabhu.com edited /fragmentioner (+257) "add demo UI screeshot and self-example" (view diff)
# [cleverdevil] LOLs
# [eddie] For your local install you could of course just hard-code the auth endpoint. But if you want to do something that can be put back into Known, you probably want to either add a config for the plugin that allows you to make all authentication requests as root, or you would want do do a global config where Known is identified as a “single-user install”, and then based on that, the plugin could return root if single user site
# [cleverdevil] So, here is the other idea.
# [cleverdevil] I could store the "me" that was used to generate the original code, and then return that back rather than looking it up on the user.
# [cleverdevil] Also, Known has this feature: https://cleverdevil.io/s/4lHoYZfl4i.png
# [cleverdevil] But, it doesn't seem to be used for this purpose.
# [cleverdevil] So, I suppose I *could* enhance for that.
# [cleverdevil] Let me see if I can figure out how to fetch that setting.
# [cleverdevil] Nice: `if (!$this->getOwner() && \Idno\Core\Idno::site()->config()->single_user) {`
# [cleverdevil] Should be relatively straightforward to simply return the root URL in that case.
# [cleverdevil] So, you said its the `me` that is being returned from the Auth endpoint, right?
# [cleverdevil] I think can fix it centrally in the `Auth::verifyCode` static function.
# [cleverdevil] I'm gonna try now, we'll see how it goes 🙂
# [cleverdevil] So, now I just need to figure out how to pull the URL from the config.
# [cleverdevil] OK
# [cleverdevil] Try now.
# [cleverdevil] Wait.
# [cleverdevil] OK, will do.
# [cleverdevil] Sec.
# [cleverdevil] Oh, OK.
# [cleverdevil] OK
# [cleverdevil] invalid url
# [cleverdevil] Sorry, you do not have an account here
# [cleverdevil] Now I get "indieauth error
# [cleverdevil] The authoriation code was not able to be verified"
# [cleverdevil] I might have to make this same tweak elsewhere in the code.
# [cleverdevil] Good news is that its a really small, simple piece of code to add:
# [cleverdevil] Ugh, I've made that change pretty much everywhere that `me` is mentioned, and its still giving the same error in Aperture.
# [cleverdevil] I am clearly missing *something* somewhere.
# [cleverdevil] New idea.
# [cleverdevil] It looks like its using $user->getURL() as the way to identify `me`.
# [cleverdevil] So, I'll edit the user class to return the root URL for `me` in the case of single user.
KartikPrabhu and [kevinmarks] joined the channel
# [kevinmarks] I wonder if this explains why quill stopped working with my hosted known site
# [cleverdevil] Yeah, that edit breaks other things.
# [cleverdevil] Sigh.
# [cleverdevil] Another another idea...
# [cleverdevil] Added a new method called $user->getIndieAuthURL()
# [cleverdevil] And use that within IndieAuth plugin instead.
# [cleverdevil] HAHA!
# [cleverdevil] Fixed 🙂
# [cleverdevil] Now, I'm gonna try to logout/in to Indigenous
# [cleverdevil] BOOM
# [cleverdevil] Microsub love.
# [cleverdevil] I'll work this into a PR for Known later this evening.
# grantcodes [eddie]: aaronpk Is there a public url you can give me that I can subscribe to to test the instagram crashing thing. (never use instagram myself)
# [cleverdevil] [eddie] are you going to evolve Indigenous to be a full-blown reader?
# [cleverdevil] [eddie] I used to love Reeder before I went all-in on Indieweb.
# [cleverdevil] Make it look as nice and functional as that 🙂
# [kevinmarks] I am missing woodwind
# [cleverdevil] Thanks, @Zegnat! Feels good to be growing my skillset.
# [cleverdevil] [kevinmarks], you really should try Together. Its getting pretty good 🙂
# [cleverdevil] Yeah, I was curious about Lire as well.
# [cleverdevil] Honestly, I think you should really consider pitching Indigenous to Brent Simmons as the iOS version of Evergreen and merge the projects.
# [cleverdevil] That could have a huge impact on adoption.
# [eddie] [cleverdevil] I think his skillset in iOS surpasses mine so much, I think the real route for that would be for me to contribute my microsub/micropub library code to the Evergreen iOS project. Having read his programming guides for Evergreen on macOS, I don’t think he would want to use Indigenous as the base of Evergreen 🙂
# grantcodes aaronpk: either that or example mf2 objects would be great. I guess the posts are just missing a property that I assume exists
# [cleverdevil] [eddie] point taken, but that's also the beauty of open source. People who are willing to contribute are generally welcome. Regardless of how quickly they can come up to speed!
# [cleverdevil] Have you at least pinged him to let him know about Indigenous? He may find it interesting.
# [cleverdevil] As much as he is an expert in iOS, you're more of an expert in Indieweb.
# [cleverdevil] He may appreciate 🙂
# [cleverdevil] Do it!
# [cleverdevil] I think you underestimate your value 😉
# grantcodes Probably not.
# grantcodes I didn't really realize what granary did before. It's like a magical new world!
# grantcodes snarfed++
# grantcodes Huh weird, the test data [eddie] sent me works fine for me
# grantcodes At some point someone (maybe me) should make really long jsonfeed example of every conceivable post type, would be super helpful for people building readers
# [cleverdevil] It'd be cool to provide a way for people to connect Together with Facebook, Twitter, and Instagram via granary so you can use it as a centralized reader.
# [cleverdevil] Not sure that's easily possible.
# [cleverdevil] Yeah.
# [cleverdevil] I'd take the consumption side as a good start.
# grantcodes I think just reading is quite possible, only took me 2m to set up my twitter feed after realising it was a possibility
# [cleverdevil] I really like how in Quill, when I "like" a Twitter permalink on my site, it also pushes the "Like" out to Twitter natively.
# [cleverdevil] (Same with repost)
# [cleverdevil] Yeah, I think its fine for Twitter, since you can simply use timeline and native lists.
# [cleverdevil] Instagram doesn't really have that capability natively anyway.
# grantcodes I'd be fine with needing to use twitter lists if they were importable through granary
# [cleverdevil] It would be even cooler if you could just subscribe to individual Twitter users and Instagram users.
# [cleverdevil] And put them in channels.
# [cleverdevil] If you added them, then it could transform that person's timeline via granary into an individual user feed, and optionally do the corresponding "follow" or "add to list" on the other side.
# grantcodes And the thing with syndicating likes may be a bit strange, like for example my site handles that syndication
# [cleverdevil] Right. That may be a better way to go about it.
# jackjamieson grantcodes++
# jackjamieson Chiming in to say I'd be very keen on a test suite like you describe :)
# grantcodes Yeah would love to be able to follow arbitrary twitter & ig users, even some sort of middleman service would work for that.
# [cleverdevil] Love it. Gonna have to come up with a new project name, [aaron_pk] 😄
snarfed joined the channel
# snarfed the UI doesn't support it yet, but i can take a feature request. consider the UI a trailing indicator of its functionality. full docs are https://granary.readthedocs.io/en/latest/#using-the-rest-api
# [cleverdevil] Do you already have it available as a service somewhere, snarfed?
# snarfed also for reading your full silo "news feed" or a twitter list, i recommend https://twitter-atom.appspot.com/ and friends over granary
# grantcodes I've not looked into how aperture works really yet, but thought it would be smart for any microsub server to support plugins that would do parsing for certain urls. EG. make a plugin that could parse twitter.com/* Then it becomes exensible for future silos
# [cleverdevil] Also, I am shopping for a domain for the hosted version of together.
# [cleverdevil] Feel free to make suggestions!
# grantcodes Awesome. Totally going to try my twitter lists
# [cleverdevil] together.ist is available, that's sort of fun,
# snarfed oh [eddie] based on https://github.com/snarfed/granary/issues/125 i'm guessing you were trying @username? yeah that's oddly broken right now. username (no @) works.
tantek joined the channel
# snarfed yay. for the logs, here's e.g. the url for aaronpk's IG: https://granary.io/instagram/aaronpk/@self/@app/?format=atom
# [cleverdevil] There's also together.express.
# [cleverdevil] Yeah, this is awesome.
# grantcodes I think I just need to figure out how to send notifications to aperture then I have a pretty full functioning reader
# [cleverdevil] Oh, cool. What would notifications be used for?
# [cleverdevil] If I could stop having to use Tweetbot and Micro.blog's client app, and have everything consolidated into Together?
# [cleverdevil] Oh man.
# [cleverdevil] So great 🙂
# [eddie] [cleverdevil]: I have a working micro.blog mention to micropub converter running on my server. I’m hoping to put a UI on it soon so you could login with micro.blog and paste an access token from aperture and automatically have your micro.blog mentions forwarded to an aperture channel. I’m running the backend code currently and it seems to be working, so any micro.blog mentions show up in my Notifications channel on microsub
# [cleverdevil] Epic.
# [cleverdevil] If it’s as easy as you say I could likely do all notifications from Known via a plugin.
# KartikPrabhu wait why is mf2py orphaned?
# KartikPrabhu snarfed: aah I haven't had the time to work on it.
# tantek http://bodyshop.com/ -> <h1>Bad Request (Invalid Hostname)</h1>
# KartikPrabhu and I think same with kylewm and tommorris
# [eddie] [cleverdevil] Yeah, notifications are super easy. I added support so my website. When my website does rebuilds, it sends those updates to a Website Notifications channel. When I get webmentions, those forward to my Notifications channel right alongside my micro.blog mentions. Eventually hopefully Twitter mentions as well
# [cleverdevil] Adding to my todo list 😀
# KartikPrabhu snarfed: ok, maybe I'll go back to python programming on weekends :P I'll fork up the current mf2py and maybe you can help me prioritise the issues
# KartikPrabhu cool. I'll put that for this weekend
# KartikPrabhu I basically haven't been doing a lot of indieweb stuff due to actual work :P
# snarfed just fyi personally i vote for new implied p-name rules (https://github.com/microformats/microformats2-parsing/issues/6) and for https://github.com/tommorris/mf2py/issues/83
# KartikPrabhu my articles list is kind sad from a timeline perspective https://kartikprabhu.com/#latest-articles
# KartikPrabhu oh are there others in there?
# KartikPrabhu yeah
# KartikPrabhu my fork is way behind for sure
# KartikPrabhu tommorris I think
# snarfed btw KartikPrabhu re writing (articles), i'm right there with you. https://snarfed.org/tag/essay don't feel bad! everything goes in cycles, if you write less sometimes, that's totally ok. no obligation. vive la difference.
# KartikPrabhu I made some issues on my fork, but I can see if they are still relevant
# KartikPrabhu snarfed: yes of course. My philosphy with articles is exactly that. Notes are more frequent
# KartikPrabhu aside funny that microformats.org repo has a fragmention fork, which seems totally unrelated
# gRegorLove I only know a bit of python, but have been wanting to tinker more. I might be able to contribute some to mf2py at some point, but it wouldn't be in the near future
# gRegorLove I'm in favor of mf2py under microformats repo
# KartikPrabhu gRegorLove: I did most of my python learning while writing code for mf2py :P
# gRegorLove Hehe, nice
# KartikPrabhu snarfed: yes, which I made while starting to learn python
# gRegorLove I started learning it with the crypto pals challenges several years ago: https://cryptopals.com but I got busy/distracted
# [cleverdevil] [grantcodes] I have this icon I made for Together -> https://cleverdevil.io/s/e4L4BQWjje.png
# [cleverdevil] Not in love with it.
# [cleverdevil] But, its there 🙂
# KartikPrabhu that looks a lot like twitter's t
# [cleverdevil] Agreed. Not super happy about that bit 🙂
# KartikPrabhu Helvetica?
# [cleverdevil] Next Bold
# [cleverdevil] Errr.. Nexa
# KartikPrabhu hmm
# [cleverdevil] I can easily edit it to be whatever.
# [cleverdevil] [eddie] how do you forward the webmention to Aperture?
# [cleverdevil] Do you transform the webmention into a "post" and add it to the channel?
# [cleverdevil] Gotcha.
# [cleverdevil] Oh, so you literally just micropub over to the channel itself.
# [cleverdevil] Looking at how I might implement that for Known.
# [cleverdevil] Thinking I could actually leverage the existing email notifications code here: https://github.com/idno/Known/blob/master/Idno/Entities/User.php#L82
# [cleverdevil] Hook into the same event, and then send something to Aperture.
# [cleverdevil] That's what I am thinking. Notification objects have everything I need, clearly: https://github.com/idno/Known/blob/master/Idno/Entities/Notification.php
# [cleverdevil] I am not sure that Known has a Micropub client built-in or not, though.
# [cleverdevil] But, it definitely has a little HTTP client for sending requests.
# [cleverdevil] I use it to ping Micro.blog when I publish something new, since I was having flakiness with WebSub.
# [cleverdevil] Yup.
# [cleverdevil] So, I would essentially just send a Micropub POST to "https://aperture.p3k.io/channel/34", which is my Notifications channel?
# [cleverdevil] Ah, right of course.
[kevinmarks] joined the channel
# [kevinmarks] I can have a look at mf2py again - I use it for unmung etc.
# [kevinmarks] Also if you want feed examples, feedparser has lots
# [kevinmarks] Making feedparser deal with h-feed is one of my itches
# [kevinmarks] I agree moving it to microformats repo would be good.
# [kevinmarks] (mf2py that is, feedparser is a bigger can of worms)
# [cleverdevil] [aaron_pk] when you say "Using a token you generate from within the notifications channel," what exactly do you mean?
# [cleverdevil] I suppose I could use this: https://gimme-a-token.5eb.nl
# [cleverdevil] Oh?
# [cleverdevil] Looking...
# [cleverdevil] Ah!
# [cleverdevil] I see it 🙂
# [cleverdevil] Thanks
KartikPrabhu joined the channel
# [cleverdevil] My brain hurts.
# [cleverdevil] Hmm... I am getting an Unauthorized response with that token.
# [cleverdevil] Can I just pass it as a "Authorization: Bearer XXXX"?
# [cleverdevil] Hmm... maybe I am screwing something up.
# [cleverdevil] I'll try sending the same request to a requestbin.
# [cleverdevil] Hmm, yeah, its on me.