benwerd, snarfed, gRegorLove_, [cleverdevil] and KevinMarks joined the channel
#schmartytoday i re-learned how simple micropub is for form-encoded data >_<
#Loqischmarty: [eddie] left you a message 1 hour, 24 minutes ago: Nope, haven’t gotten to that yet. The biggest thing around that is I need to extend my Xray instance to parse Overcast. (Originally I built the Overcast parsing directly into my micropub server)
#schmartyi had been putting off adding a featured image upload option to /Screech thinking i should tackle that along with micropub media endpoint support
#schmartybut instead of that i just added an input type="file" name="photo"
#schmartyand for my micropub handler that should be GOOD ENOUGH.
[keithjgrant], [miklb] and benwerd joined the channel
#KartikPrabhuschmarty: for featured image why not name="featured" ?
#KartikPrabhusince then the form encoding should give you that under the variable "featured" which seems more appropriate
#schmartyKartikPrabhu: i'm open to using "featured" instead, but am not sure what micropub server support for that attribute would be (vs. "photo" which i think is more widely supported)
#gRegorLoveRe: Indieauth naming stuff, I have a plugin for logging into a ProcessWire site using indieauth.com. What would be the clearest name for it going forward? Currently it's IndieAuth for ProcessWire. IndieLogin?
#KartikPrabhuschmarty: yes, fair enough. But to me "photo" implies it should be used as a u-photo in the post and not necessarily a "u-featured"
#schmartywhen rendering, my site display that photo with u-featured
#KartikPrabhugRegorLove: the current name sounds pretty descrptive
#gRegorLoveYeah, but indieauth.com is being renamed to differentiate. I forget what it's going to be though.
#KartikPrabhugRegorLove: then I would call it <insert new name for indieauth.com> for ProcessWire
#schmartygRegorLove: i think the "defer my site's auth" aspect will be at myindieauth.com
#schmartyi *think* myindieauth.com is going to be for cases like the indieweb wiki, where you have a service and you want to let people login w/ their own sites.
#schmartyi'd wait until aaronpk has actually launched the renamed sites to find out ;}
#gRegorLoveThat's what this plugin does, though only for existing accounts in ProcessWire, not just any domain.
#schmartyKartikPrabhu: regarding featured vs photo - i am going to stick with the more common attribute name for now, since i have not seen another micropub client that sends "featured"
#schmarty(and because i am self-dogfooding and know of no other users at the moment)
#aaronpkthe question is is this plugin something that the user trusts the site it's delegating to?
[kevinmarks] joined the channel
#aaronpklike with the wiki, users logging in have no reason to trust the wiki, so they wouldn't add a link tag to something to be able to log in
#aaronpkwhereas if you want to just not deal with managing a password to your own site, or if you want to take advantage of the oauth stuff that the service provides, then you choose an authorization server and delegate your site to it. that's myindieauth.com
syp1 joined the channel
#gRegorLoveIt's the latter I think. It's a narrow use-case of letting existing users in ProcessWire log in using their domain. It's hard-coded to use the indieauth.com authorization endpoint right now in the plugin, so I think the user logging in only needs the rel-me.
#gRegorLoveSo MyIndieAuth for ProcessWire sounds right once that launches.
#aaronpkI guess that's actually kind of a third use Case
#aaronpklogging in to your own site without a password
#aaronpkThat's closer to indielogin.com, the relmeauth service
#aaronpkDoes this plugin add the <link rel=authorization_endpoint> tag? So that logging in to apps that support IndieAuth will use this site's configured auth endpoint?
#gRegorLoveNo, but I had already added that <link> on my site so I probably didn't think through that fully at the time. The login form posts directly to https://indieauth.com/auth, the plugin verifies the code with the same URL, then uses the "me" param to find the PW user.
benwerd_ and tantek joined the channel
#aaronpkI think the main differentiator is going to be whether the site has a <link> tag or not
[miklb] joined the channel
#gRegorLoveNow that I think about it, is the "me" param that indieauth.com returns after verifying the code safe to use?
#tantek.comedited /tip (+320) "now I have a tip page too, linked from my home page, emojicon" (view diff)
cweiske, loicm and jeremycherfas joined the channel
#ZegnatMan, I do not envy [keithjgrant]. Documentation of some of these webextension APIs is abysmal.
#sknebelhm, am I missing something or can you not directly get the information which tab was active when the extension button was clicked in the popup? I guess you could message your background script which then could check focus and assume that happens fast enough, but ugh...
#sknebelalso: lol does the js mf parser get confused by keithjgrands post
#ZegnatI am actually not sure if the popup allows me to trigger code with tab access. I figured out how to track navigation though
#ZegnatWas also able to stop relying on a window focus event within the page, and instead use actual tab focus change event from the API
#sknebelpopup can send messages to the background script pretty sure
#sknebelguess the node-DOM doesn't respect that - wonder if the in-browser one does
#ZegnatOne of those things where you have to keep reminding yourself that you aren’t working with just a DOM tree for microformats, but working with HTML.
#ZegnatHere is a fun one for the webextension people: closing the front most browser window will automatically bring you to the window behind it and focus the last focussed tab there, all without triggering the “onActivated” event on said tab.
#ZegnatSo now I also need a way to track when the user changes window or something. Guess the popup method has to be tried first.
#[eddie]miklb awesome! I also added a debug view in settings where if something isn’t working we can have a way for people to send me more details about what their account is doing
#Loqi[eddie]: [miklb] left you a message 18 minutes ago: new version installed and syndication targets appear. 🎉 Still need to test
#[miklb]awesome. I only poked around a bit pre-morning coffee, so will take a closer look. I see a few UI things still, but suspect some are related to my larger text. Quite a bit of iOS doesn’t play well with that.
#[eddie]Ohhh yeah I definitely haven’t optimized for larger text yet but it’s great to have a user that has larger text! Definitely let me know any of that stuff you find 👍