leg, KartikPrabhu, [miklb], eli_oat and [keithjgrant] joined the channel
#gRegorLoveHmm, I was trying to use https://licit.li to test my wm endpoint discovery and make sure it followed the redirect, but having issues getting a response from the server with PHP fopen, wget, or curl.
#Loqi[gRegorLove] Hmm, I was trying to use https://licit.li to test my wm endpoint discovery and make sure it followed the redirect, but having issues getting a response from the server with PHP fopen, wget, or curl.
renem, baxter, tbbrown, snarfed, [miklb], [tantek], snarfed1, KartikPrabhu, angelo and tantek joined the channel
#Zegnat!tell gRegorLove You having trouble accessing licit.li from your webmention sender is an – uuh – feature. Result of asking “what ifs” after midnight after IWC while setting up the server.
#LoqigRegorLove: Zegnat left you a message 24 minutes ago: You having trouble accessing licit.li from your webmention sender is an – uuh – feature. Result of asking “what ifs” after midnight after IWC while setting up the server.
#gRegorLoveIt seems to be any type of get request from the command line. I didn't tinker with UA, so thought maybe it was blocking on that.
#tantekZegnat, I meant to say earlier, the use-case of limited-bandwidth at certain times, and wanting to "queue up" watching of videos (or any higher bandwidth usage) for later makes a lot of sense to me and is something I'd use myself
#Loqitantek: aaronpk left you a message 8 hours, 22 minutes ago: regarding removing img tags in the content of photo posts, I'm curious about your thoughts on handling the use case discussed here https://chat.indieweb.org/dev/2017-12-23#t1514022441624700
#ZegnatThe reason that it is failing is hard to spot gRegorLove. Some people who I thought would be on to me in seconds took a while to get it. It isn’t obvious at all.
#ZegnatIt is just me being very annoying, basically. I might make licit.li more available again later :P
#gRegorLoveOh, so this is a riddle or something? Heh
#tantekaaronpk - not too worried about it - because sounds more theoretical (actual photo posts with image emojis) based on two distinct use-cases in the wild (photos, or text notes with image emojis)
#ZegnatgRegorLove, yeah. Though it would be harder to figure out for you if curl also isn’t working.
#Zegnattantek, yeah, for me the consuming PostTypeDiscovery case is much more pressing than any theoretical argument on how to publish video posts. So I am just focusing on that :)
#ZegnatI am supporting all the usual ciphers. I wanted to support less ciphers actually, but can’t do that in nginx because whatever ciphers you set are enabled for all domains. And I do not want to cripple access to the family site :(
#gRegorLoveand -v indicates it's using TLS1.2. The dreamhost server doesn't indicate that.
#Zegnatgrantcodes, think of it this way: who needs unit tests when you have me around?
snarfed, KevinMarks, snarfed1 and [eddie] joined the channel
#[eddie]Zegnat: That xray commit will actually be very useful because right now when I parse a podcast url from overcast, I have custom logic in my site, but on my list is adding an overcast podcast info parser to my local xray, so I can use your commit as a guide! 🙂
#aaronpkXRay can already parse podcast feeds directly tho so if you know the actual feed URL you can use that
#ZegnatI wonder if there is some sort of clever autoloading possible, so any PHP classes in the Formats directory (that implement some sort of interface) could automatically register themselves.
#aaronpkdeclaring the new format class in one file isn't too much to ask
#Zegnatnew XRay([Formats\XKCD::class, new Formats\YouTube($apikey)]); - maybe something like that?
#ZegnatMeans people using XRay as a library can write their own Formats and they do not need to change any files deep inside their vendor directory.
#ZegnatThat can also neatly encapsulate API keys, as you can pass them through the construct to only the class that needs them.
#Zegnatgoes back to his Micropub workings. Feeling very productive today.
#aaronpkwaits for a 1.6gb sql dump to restore to his laptop
#schmartySpeaking of refactoring, I got stuck on some PHP meta programming stuff yesterday. Wondering if other folks have played with the idea here.
#schmartyMy goal is to have a bunch of handlers that can process new files, but to only load the ones specified in a config file.
#aaronpkthere's probably a bunch of different ways to do that
#ZegnatMaybe look at some sort of event processing flows? Event = new file of type X is created, then all listeners configured for that event go off sequentially?
#schmartyI would like to avoid having to list them all in a registry. I was thinking of trying some autoload magic but didn’t get too far before I was interfering with composer
#aaronpkyou might have to do it outside of composer
#ZegnatYeah, without some magic auto instantiating of an entire folder or something to have them register themselves, you are going to need some sort of registry/list I think.
#schmartyaaronpk: I’m doing this inside a Caterpillar job, so I should probably be able to do the setup once inside a worker, I guess
#ZegnatAnd the magic part I don’t know how to do, else I would have looked at it for XRay :(
#aaronpkif you have your autoload config set up right then Caterpillar will use that already without having to first pre-declare the classes
#aaronpkCaterpillar just expects to be able to call a static method on a class. so if you can set up an autoload rule to find that file then you don't need to declare each class individually
#schmartyI tried a really silly thing where I named the php file after the config key, had the php file return the class name that it created, saved the result of the require in a string, and instantiated from that class name
#schmartyIt worked but I needed to make sure I only required it once and got tripped up on the Caterpillar job being static and not being able to think of where to stash the key to class name mapping
#schmartyI think I need to learn more about autoload config
#aaronpkdo you have this code somewhere I could peek at?
#schmartyI was up too late banging on this in silly ways and only thought “composer’a autoloader probably solves this” as my head hit the pillow
#schmartyI’m AFK at the moment and it’s all private repos for now. but this conversation has been helpful!!
#Loqiaaronpk has 97 karma in this channel (1513 overall)
#[eddie]Zegnat: I listen to all my podcasts in Overcast, and when I finish listening to an episode, I manually send a “listen” post to my website using Indigenous. I parse Overcast so that my h-cite can be actual information on the podcast. It’s how I generate these pretty listen posts: https://eddiehinkle.com/2017/12/21/14/listen/
#Loqi[Eddie Hinkle] 🎧 Listened to 253: I Think I Ordered One
#aaronpkI kind of forgot how well silo.pub's github integration works, I should really use that more often
KevinMarks, KevinMarks_ and tantek joined the channel
#LoqiPoke (or alternately tap, nudge, yo, hi, hello, ping, wink, flirt, pat, wave, etc.) is a relatively common social feature that ostensibly serves as a method to say hello, attract some one's attention, annoy them, or say "I'm thinking about you" https://indieweb.org/poke
#LoqiIt looks like we don't have a page for "gesture" yet. Would you like to create it? (Or just say "gesture is ____", a sentence describing the term)
#tantekI really dislike citing a quora URL for something, they have such ugly JS
#aaronpk[eddie]: happen to be working on that push notification feature?
#ZegnatNow I kinda wish I had an iPhone ... does the app work on iPad?
j12t_ joined the channel
#[eddie]Zegnat: Work, yes. Look at all pretty? No. However, I do have an iPad that I use frequently so it’s definitely on the list to make it look better.
#[eddie]aaronpk: I was actually thinking about that recently and had some thoughts/questions
#ZegnatNo worries. My first task is to get the Micropub server up before the new year.
#LoqiMumble is open-source voice chat software, with clients available for both desktop and mobile, as well as web browsers https://indieweb.org/Mumble
#[eddie]or if I should build a side door for notifications since microsub isn’t wide spread yet
#aaronpk[eddie]: my thoughts are to get all my notification content to show up in the notifications Microsub channel, and then have some way to get those to my phone as push notifications
#[eddie]Yeah that’s my plan as well. So I definitely have been thinking through how to get push notifications for the notification channel of a microsub server
#aaronpkI could see having some sort of setup in Monocle where you tell Monocle how to deliver push notifications, and then I'd put in this Indigenous push URL in the settings there
#aaronpkthen any time Monocle added something to the notifications channel it would know to also go send that to the push server
#aaronpktbh the easiest thing would probably be to make your endpoint speak Micropub
#aaronpkthen if anyone else built a push notification server they could also make it speak Micropub and then everything would work together
#[eddie]If that’s the case, I don’t need to really work on making the server side speak microsub, because at that point it’s up to the microsub server to push the micropub request to the endpont
#aaronpkyeah I think that'd be the most flexible in the end
#[eddie]I had been thinking through whether I should be pulling from a microsub notification channel or waiting for a push
#[eddie]So that definitely seems like a good direction and prevents me from having to work through microsub stuff
#aaronpkand by "speak micropub" I mean just a subset of properties of course: content, name, photo?
#[eddie]Yeah, I’m thinking content, name, photo and u-url
#LoqiA birthday is the date when someone is born, however in the context of the indieweb, it is a feature displayed on some silos' user profiles that you can (or must) enter, and some prominently present to your friends on the month and day of your birthday, like Facebook's "BIRTHDAYS THIS WEEK" feature at the top of their events page https://indieweb.org/birthday
#grantcodesHa no problem, I have silo notifications switched off, it's the webmention notifications I get 👍
#LoqiIt looks like we don't have a page for "birthdays" yet. Would you like to create it? (Or just say "birthdays is ____", a sentence describing the term)
#tantekbirthdays is a feature on some social media [[silos]] that shows a page of people with current birthdays (today, recently, or soon), sometimes with how old they are, and UI to interact with them, sometimes with a daily notification of whose / how many people's birthday it is. E.g. https://www.facebook.com/events/birthdays/ (needs screenshot)
#ZegnatWhich is something I didn’t expect. I’ll do some tests with Quill.
#@colinstrickland@davehodg Vaguely thinking about adding webmention support. I think comments are pretty broken. I turned them off when I killed WordPress. I don't think I ever got more than ten useful ones in a decade. (twitter.com/_/status/946108566397685761)
#[eddie]!tell aaronpk: This isn’t something that HAS to be fixed, but if native micropub apps become more common, I wonder if redirect_uri on micropub.rocks should be expanded beyond http or https? (https://slack-files.com/T03QR2B2T-F8KP03FUJ-4845d82503)
#Zegnatredirect_uri is IndieAuth right? Those are specifically limited to HTTP.
#[eddie]Well the issue with that (and I realize there might be a slight bias against native apps in this community ;)) is that for native apps to login using OAuth you literally CAN’T use http as a redirect uri
#[eddie]or at least not without making it very complicated using a domain and deep linking
#[eddie]Well at least for iOS. Not sure how Android works
#aaronpkI thought we allowed non http redirects for IndieAuth
#Loqiaaronpk: [eddie] left you a message 18 minutes ago: This isn’t something that HAS to be fixed, but if native micropub apps become more common, I wonder if redirect_uri on micropub.rocks should be expanded beyond http or https? (https://slack-files.com/T03QR2B2T-F8KP03FUJ-4845d82503)
#aaronpkIt's just the client id that has to be http
#[eddie]Zegnat: The main thing that worries me is you mentioned Omnibear not working with relative URLS and I don’t know if Indigenous works with relative urls. I think that’s the only problem I would be concerned about
#ZegnatOh, I took out the relative URLs from sink, for testint purposes.
#ZegnatI wrote everything around a config file that contains the domain it is on. So I can always change that to just / for testing, or move it to different hosts. Sink’s own code doesn’t care.
#sknebelWasn't omnibear fixed, or does it stumble somewhere else
#ZegnatIt only resolves URLs in the HTML parser/scraper, not for Link headers.
#Zegnataaronpk, is a logo a required property for h-app? I wasn’t too sure reading the IndieAuth spec, so I added one just in case.
#aaronpknot required no, but it makes indieauth.com a little prettier
#sknebel... wasn't that also in the code we fixed together? Hm...
#[eddie]aaronpk: When the accept header to the micropub.rocks site is application/x-www-form-urlencoded I get back “Content-Type” = “text/html; charset=UTF-8"
#schenkenberg.nlcreated /User:Schenkenberg.nl (+417) "Created page with "This is the user page for Tom Schenkenberg. I'm a personal technology enthusiast and co-founder of Ibuildings, a web application software development company in the Netherland..."" (view diff)
KartikPrabhu, j12t, [roshanvid], KevinMarks and tantek joined the channel
#ZegnatHmm. q=config is a SHOULD (not a MUST) in spec. So Screech maybe shouldn’t count on it being there for all servers always.
#ZegnatBut I will add it tomorrow and try again. Thanks for the quick debug!
#schmartyi don't have detailed values in the logs but given that error message i think screech has some strange value for your micropub endpoint.
[eddie] joined the channel
#[eddie]!tell aaronpk: Does micropub.rocks include the ability to do token revocation? I got a 400 error and I wasn’t sure if I did something wrong or if it isn’t supported. I seemed to get a 200 from indieauth.com’s token endpoint for eddiehinkle.com so I’m assuming the micropub.rocks token endpoint just doesn’t have that built it?
#schmartynot sure how it got to that point, so worth debugging if i get around to it! thanks for the test case. :}
#ZegnatI think it is doing a request for the q=config, trying to parse the HTML page it gets back as JSON (as if it succeeded) and then trying to take a media endpoint from the fauly-parsed JSON.
[tantek] joined the channel
#ZegnatI might be able to see something in my access logs. But again. That’ll be tomorrow :)
#ZegnatIf you want to test it yourself, just try to login to sink.zegnat.net. Everyone can post to it and see what happens with their Micropub clients :D
#Loqiaaronpk: [eddie] left you a message 8 minutes ago: Does micropub.rocks include the ability to do token revocation? I got a 400 error and I wasn’t sure if I did something wrong or if it isn’t supported. I seemed to get a 200 from indieauth.com’s token endpoint for eddiehinkle.com so I’m assuming the micropub.rocks token endpoint just doesn’t have that built it?
#schmartya-ha! a combination of composer's autoload psr-4 configuration plus giving my handlers a namespace seems to work.
#GWGschmarty: I tried out your screech client, by the way
#schmartyi think this means i can start pulling logic out of jekyll plugins and into my publishing hook 🎉
#GWGIt inspired me to do some tweaks to support it
#GWGschmarty: What properties do you wish you supported?
#schmartyfor screech? i want to add support for a poster image (probably just a u-photo). there are other things i have in mind but i need time to think of them before i just rattle off a bunch of plumbing ideas.