#wordpress 2017-08-17

2017-08-17 UTC
satamusic, davidmead, drkokandy, tantek, chimo, Kaja_, petermolnar, aaronpk, Ruxton, Zegnat, ben_thatmustbeme, wagle, sknebel, GWG, doubleloop[m], sebsel, Kaja and [jeremycherfas] joined the channel
#
ashersilberman.com
edited /WordPress (+215) "/* Jetpack Requires Login */"
(view diff)
tantek, chimo, jeremycherfas, arush, [kevinmarks], davidmead, jeremycherfas_, [miklb] and snarfed joined the channel
#
aaronpk
attempting to install the micropub plugin in wordpress
#
aaronpk
apparently it also requires rel=me links?
#
snarfed
aaronpk: ...? the plugin? not afaik
#
snarfed
[miklb]: so the response headers that quill shows...Location isn't there?
#
snarfed
(must not be, i guess i'm just still surprised)
#
aaronpk
well i can't log in to anything cause it says the authorization endpoint is indieauth.com which requires rel=me links to authenticate
#
snarfed
ah. you can change that. see the Authentication and Authorization section: https://wordpress.org/plugins/micropub/
#
Loqi
[Ryan Barrett] Description A Micropub server plugin. From micropub.net: Micropub is an open API standard that is used to create posts on one’s own domain using third-party clients. Web apps and native apps (e.g. iPhone, Android) can use Micropub to post short...
#
snarfed
if you run it on localhost it can skip auth entirely
#
aaronpk
attempts define('MICROPUB_LOCAL_AUTH', '1')
#
aaronpk
i can't edit that from the web interface can i
#
[miklb]
snarfed, testing from iOS I’m not seeing any response headers, just the error message.
#
snarfed
aaronpk: doubtful. it goes in wp-config.php
#
snarfed
(or easiest, just run both wp and quill locally...but may not be possible on your end)
#
snarfed
[miklb]: hrmph
#
aaronpk
seems like maybe these would be good to put in a settings panel?
#
snarfed
yes! if i knew how
#
snarfed
but yes agreed
#
aaronpk
maybe i am missing something. I set define('MICROPUB_LOCAL_AUTH', '1') in the config but it still says the authorization endpoint is indieauth.com
#
[miklb]
snarfed knew how to add a settings panel?
#
snarfed
hey [miklb] do you get the same error message if you post a note without a photo?
#
snarfed
([miklb]: yes)
#
[miklb]
snarfed actually, now I am!
#
[miklb]
I was actually little behind master on my live site, so after pulling latest, I get the error on all attempts from my phone.
#
[miklb]
snarfed, I’d be happy to help add a settings page.
#
snarfed
very weird. i tested manually just now against master head, a note with photo, and it worked and returned the Location header
#
snarfed
curl -v -H 'Authorization: Bearer ...' -F h=entry -F name=foo -F content=bar -F photo=@gallery/snarfed.gif 'http://localhost/w/?micropub=endpoint'
#
snarfed
[miklb]: ooh great! sure!
#
[miklb]
trying to test desktop w/Quill, but IndieAuth is a little slow today
#
[miklb]
and a 504 gateway time out.
#
aaronpk
uhoh that's weird, i'm seeing a github error in the indieauth.com loogs
#
[miklb]
second time through worked. But am getting the location error message when attempting to just post a note now even from desktop
#
aaronpk
i got the timeout too using github auth
#
[miklb]
yeah, for some reason now, nothing is posting from Quill to WordPress.
#
[miklb]
snarfed, if you open an issue for what you’d like the settings page to have, and tag me, I can take a look.
#
aaronpk
well looks like i'm diving into indieauth.com rubygem land for a while. if you figure out if quill is doing something wrong let me know
#
snarfed
i wonder if something is stripping the Location header somewhere. hard to believe, but...
#
snarfed
thanks [miklb], will do
#
[miklb]
not seeing anything in my access or error logs
snarfed joined the channel
#
aaronpk
oh hey, those settings have to go not at the bottom of wp-config.php
#
aaronpk
[miklb]: there was an error with the Quill PR I just merged
[manton] joined the channel
#
aaronpk
[miklb]: so I fixed that bug, but now i'm getting a 302 redirect to the login page for any micropub request, even on the command line
tantek and [miklb] joined the channel
#
[miklb]
arronpk with the WP micropub endpoint or indieauth/quill w/GitHub?
#
aaronpk
with the wordpress micropub endpoint
#
[miklb]
yeah, I’m unable to post text notes not to mention images now.
#
aaronpk
it's like my wordpress install isn't getting the access token at all
#
[miklb]
heh, I checked the endpoint URL and that’s the message you get “missing access token”
#
aaronpk
i don't *think* my server is preventing the header from coming through
#
[miklb]
with inkstone I’m able to post a note, but image didn’t work. No visible errors.
davidmead, [aarongustafson] and tantek joined the channel