#[miklb]I mean, on second read, I see where you explain where a user might be familiar with using OAuth, and you mention OAuth limiting in WP. Then mention REST API not having authentication methods. But I’m not sure you tie the two together. But might also be my still less than 100% following of the development.
renem joined the channel
#[miklb]I would put sirens and bells around the statement “this is a working OAuth authentication method for the REST API”. I think.
#aaronpkI don't think I know enough about WordPress to know that wasn't already possible
#aaronpkAlso can someone please explain wpoauth.com to me? It looks like a very splashy marketing page and I can't tell what it actually does or how it relates to this IndieAuth plugin
#GWGaaronpk, the WordPress REST API shipped without anything but cookie authentication. Other authentication was supposed to come later, but all we have are some infrequently maintained plugins
#snarfedhey GWG, on a different note...i don't really use the micropub plugin myself, or micropub in general, so i'm really the wrong person to maintain this plugin solo. want to be added as a committer on the repo? and help manage it, cut releases, etc?
#GWGsnarfed: I'm happy to take it on. But, do you want to transfer the github repo to the indieweb community? Then it would require community review for any merge.
#snarfedhey, great! glad to hear it! let's take one step at a time. maybe community eventually!
#snarfedGWG: eh low priority. first, mind doing a basic manual smoke test on current head, both basic features and all your new features? after we confirm they all work, we can start cutting a release
#GWGWell, the category and syndication hook need things built to test them fully.
#GWGI suppose I can do a custom curl for location-visibility, as I'm building it now.
#snarfedyup! curl instructions in the comment at the top of the file
#snarfeddon't worry about testing the hooks. test the user-visible features. location visibility, category query, renamed properties, default post status, etc
#snarfed(this is what i do before i cut a new release)
#snarfedcool. OYG is a good candidate, since evidently it's broken w/wordpress-micropub right now?
#GWGsnarfed: Because of the empty post-status field, which shouldn't happen again. Not sure I have a photo to post this time of night, but will have a look.
j12t joined the channel
#snarfedfeel free to use a separate testing account. i do on pretty much all silos :P
#GWGI don't have one for Instagram. I do for Twitter.
#[miklb]I just pulled master into my live site, will test as well
#GWGsnarfed: Slug change working, as is syndication change.
#GWGCategory query working as expected with manual curl
#GWGAlso gives me a chance to test the Indieauth stuff
#[miklb]getting error connecting ownyourgram `Please check that you're handling the expected parameters and returning the "Location" header and try again.`
#swentel!tell aaronpk Do you have an idea why a source is not getting new entries anymore in aperture ? In this case, it's my personal timeline, still only has the first 10 entries from the initial import.
#Loqiaaronpk: swentel left you a message 1 hour, 28 minutes ago: Do you have an idea why a source is not getting new entries anymore in aperture ? In this case, it's my personal timeline, still only has the first 10 entries from the initial import.
#Loqi[dshanske] #118 Add Support for Legacy and New Scopes
#GWGSo, how does the Micropub community decide on these things?
#aaronpkcreate/update/delete/undelete are the ones that are most widely supported. 'post' is legacy and the only reason any clients still support it is for the few servers that haven't updated (wordpress and known i think)
#aaronpkthe scope values should be documented on the wiki, i think the spec even links to the page
#ZegnatAlso, since scopes may be server dependent, you as the WP server developer probably know what scopes make the most sense in addition to the “default” ones
AngeloGladding joined the channel
#aaronpkscopes are server-dependent but there also need to be some common set that clients understand so they can request appropriate scopes
#aaronpkthe server can limit token abilities using alternative methods, like my own auth endpoint which lets me limit which channels a client can post to
#aaronpkbut scope is meant to be the thing that clients and servers agree on in order to provide a good experience to users
#GWGaaronpk: So, you are suggesting we don't support scope? WordPress ignores everything. THat's the issue I'm trying to fix.
#Loqi[dshanske] #118 Add Support for Legacy and New Scopes
#ZegnatI was working with some feature-scopes, aaronpk, like “can overwrite author”. If a client was authorised with that, the server would accept the author object in the mf2 body. If not it would use the author according to the user that authorised the client.
#aaronpkZegnat: nice. do you think that's something that clients should be able to indicate they want the ability for? or is that just an internal thing?
#ZegnatI am treating it as an internal thing. But maybe at some point? It was meant to enable “replaying” micropub requests. I could crawl an HTML version of a site and submit mp requests for every post, but that would require a client to post as different authors. While for all usual clients you would not want them to spoof author information.
#ZegnatI had one like that for pubdate as well. Normally the server would attach the time-of-posting, but for a replay, I wanted a specific authorisation that would allow pubdate to come from the client.
#aaronpkinteresting, my server allows any client to set the published date
#ZegnatStill part of my eternal tinkering on Sink though, nothing stable enough to publish
#GWGAlso wondering if in the Indieauth plugin, I should go beyond that.
#ZegnatFor a multi-user system, like Sink, if I gave you access to post to my site, I might not want you to post anywhere into the timeline and only create posts in the now. That’s the reason for splitting it, aaronpk.
#aaronpkZegnat: if it's limiting what a user can do, that's beyond the ... scope ... of scope
#GWGIs there any way under Indieauth to limit permissions of a token to a specific endpoint?
#snarfedalso GWG i just noticed the micropub plugin skips the scope check if the IndieAuth plugin is installed. is that right?! i'm happy to defer to it for login, but we should still check scopes, right?
#GWGsnarfed: The new scope code moves the scope check to where it checks user permissions
#aaronpkit would be nice if it didn't appear in the UI unless a client specifically requested it, to encourage clients to support the create/update/delete ones
#[miklb]and so if I’m a super admin on the site, but I want to limit the micropub to only create, not edit or delete, that would be where scope comes into play?
#aaronpkah if they can always delete their own posts then it still makes sense to let clients request delete scope
#snarfedGWG: sorry, i guess i don't understand why we'd optionally defer micropub scope checking to a different, non-micropub plugin :P let's always do it in mp
#[miklb]I had to refresh my memory on the caps. It’s broken down on that link I shared above
#[miklb]and that’s just the default roles & caps. there are options to create new roles with more granular caps.
#GWGsnarfed, I will figure out how to address that.
#snarfedgreat! thank you! let's maybe get the existing 1.4 release out first though?
#GWGsnarfed, the Indieauth plugin isn't yet released. I will save it for 1.5
#aaronpkthere's enough changes in the micropub plugin to do a release now right? even without the scope stuff?
[snarfed] joined the channel
#[snarfed]yes! we did pretty much all the manual testing i want last night
#[cleverdevil]I think that convincing Daniel Jalkut to add Micropub support to MarsEdit could have a big impact on Micropub adoption...
#dgold[cleverdevil]: there was something on those lines recently on m.b
#[cleverdevil]Its that constant catch 22... more CMSs will implement when more clients exist, and more clients will implement when more CMSs implement.
#dgoldsomeone was talking about implementing an XML-RPC wrapper on micropub
#[cleverdevil]XML-RPC is pretty easy to work with, at least from Python.
eli_oat and [snarfed] joined the channel
#[snarfed]ugh. xml-rpc really puts "bridge all the things" to the rest.
#[snarfed]pro: bridge all the things. con: xml-rpc. 😂
#@fhemberger@aaronpk Hi Aaron, I'm trying to implement webmentions on my site. Unfortunately, @netlify doesn't support encrypted env vars, so I'm not sure if pushing the API token to GitHub in clear text is a good idea. Any thoughts? (twitter.com/_/status/983043552962908161)
#Zegnat[kevinmarks], I am authoring posts in HTML (https://grapefruit.zegnat.net/) and it would be nice if I could do a little automatic tweaking of said HTML.
#ZegnatGo seems to have a solid HTML parser, so I was kinda hoping I could use that. But I might be better of sticking to PHP for my needs, where I know how to tweak such things
#kaushalmodiYeah, that makes better sense.. I resorted to that partial because I don't know JS, PHP, etc.
#ZegnatE.g. to be able to add microformats, I need to insert a wrapper div inside all article elements. But I would need to make sure it isn’t already there. That is easy to do if I can just work on the DOM tree. We’ll see
#kaushalmodiHugo uses the Blackfriday package to convert Markdown to HTML.
#kaushalmodiSo if I understand correctly, it doesn't have hooks to directly play with HTML elements
#kaushalmodiThe best way is to design a Hugo theme to insert the microformats at the right places
#ZegnatBut that’s not possible if I am authoring posts as HTML blobs
#ZegnatHugo probably just isn’t the right builder for me
[miklb] joined the channel
#[miklb]skippy is there any front matter on the tweet posts you can use to filter on the home page?
#GWGSo, when he tries to use notiz.blog's token and auth endpoint to log into pfefferle.org, it is using the pfefferle.org settings, not the notiz.blog settings.
#Loqiswentel: aaronpk left you a message 5 hours, 2 minutes ago: could be on a low polling tier. you're using aperture.p3k.io right? Mind telling me the feed in question? I can take a look.