#wordpress 2018-08-18

2018-08-18 UTC
rigel5, [grantcodes], Sheraf, tantek, j12t, GorillaWarfare15, mist23, slackjeff, Jguy, Xenthys26, tantek__, Deusdeorum9, Vlad, MetBril, ben_zen13, Evidlo7, meme1, tafthartharath, Xenthys11, [kevinmarks], Guest89349, hggdh7, jgmac1106_, Yes_ma`am, [metbril], ori29 and [jgmac1106] joined the channel
#
[jgmac1106]
[acegiak] the new plugin uses rel="alternative" and kind of skips the theme itself
jgmac1106 and acegiak joined the channel
#
acegiak
just updates whisperfollow to display in the backend rather than in the frontend like a weirdo
Alina-malina15 joined the channel
#
jgmac1106
weird there is no where to play the audio on the podcast episode
#
jgmac1106
I guess I have to manually add the file to the body of the post
jimby25, [kevinmarks], Janusz26, Guest56779, rs-afk, jgmac1106, [eddie], [jgmac1106], robotroll and [chrisaldrich] joined the channel
#
GWG
[chrisaldrich]: How is the Micropub github master working for you?
#
[jgmac1106]
keep bumping into plugins and theme features that share urls from http and not https
#
GWG
[jgmac1106]: Example?
#
[jgmac1106]
not your theme but look at the url the podcasting app generates http://jgregorymcverry.com/series/2toponder/
#
[jgmac1106]
happens to me sometimes on file uploads, will try to document
#
GWG
[jgmac1106]: Auto-rewrite URLs sounds like a great plugin for WordPress
#
jgmac1106
hypothetical or real plug-in?
#
[chrisaldrich]
I've seen a few spurious errors, but have noticed it seems like more micropub clients seem to work now... I need to file some of the things I've run across as errors. Hopefully will have some time this morening to continue on...
#
[chrisaldrich]
I've been running on a test server. I think I'll put it on my production site today.
#
GWG
I think we keep knocking them down
#
[chrisaldrich]
[jgmac1106] the manual endpoint from your question earlier is here: http://ceouimet.com/wp-json/webmention/1.0/endpoint
#
jgmac1106
I need to go poke around her thme. Cheri says she doesn’;t even see the box to add the manual webmention form field, but that makes no sense
#
[chrisaldrich]
iirc some of [jackjamieson]'s early work with Yarns was built on acegiak's work on WisperFollow. It's so exciting to see how far things have come in such a relatively short amount of time
#
[chrisaldrich]
I know there were some issues in which JetPack was completely taking over the rendering of the comments section output that were causing problems with that manual webmention form field, but I think they fixed it 6+ months ago.
#
Loqi
[chrisaldrich] #7357 Comments: Removes all actions on comment_form_after
#
GWG
He also used my parser, so he has some feedback
HarryS18 joined the channel
#
aaronpk
GWG: acegiak brings up a good question... is there a way that other plugins can take advantage of the indieauth plugin already having verified the access token?
#
GWG
aaronpk, easily. I should add that to the readme
#
aaronpk
that's great!
#
GWG
You just ask for the current user at the least
#
aaronpk
and getting the scope of the token somehow?
#
GWG
There's a filter for that, but I will add a function
#
GWG
A global function
#
aaronpk
awesome
#
aaronpk
that means writing for example a microsub server plugin doesn't have to deal with any of the back and forth of the authorization flow
#
acegiak
That would be amazing
#
GWG
Yarn already works with it
#
GWG
acegiak, will have a PR before the day is out
#
acegiak
Great, quotable example!
#
GWG
Need a reviewer though
#
GWG
pfefferle is usually mine
#
acegiak
I should not review code. You've seen what my code looks like
#
GWG
yarn uses a lot of code from other indieweb plugins
#
GWG
I consider it a validation of the work we've all done
#
GWG
But having someone look over PRs is a good move for stability
#
GWG
But the less technical people using WordPress can't troubleshoot to the degree others might
[stefp] joined the channel
#
[stefp]
Still trying to work out why the Indieauth plugin won’t work for me
#
GWG
How can I help you troubleshoot?
#
[stefp]
there are no errors in the debug log but an error appears in the cPanel log when I try to use it
#
GWG
What does it say?
#
[stefp]
they all look like this…
ForexTrader joined the channel
#
[stefp]
2018-08-18 14:44:25.707496 [INFO] [82.34.95.106:50457:HTTP2-75] File not found [/home/stephenp/public_html/403.shtml]
#
GWG
That I cannot explain. It seems unrelated
#
GWG
It seems like the server is redirecting failures
#
GWG
Who is the provider?
#
[stefp]
Krystal Hosting in the UK
#
[stefp]
I asked them if any changes had been made but they said no
#
[stefp]
the plugin worked perfectly and then stopped
#
GWG
Strange.
#
GWG
Do you remember what version it failed at?
#
[stefp]
the last one I can use is 2.1.1
#
[stefp]
it works with github etc
#
[stefp]
just wont work with my own site
jgmac1106 joined the channel
#
GWG
GitHub? IndieAuth doesn't require GitHub.
#
[stefp]
doesn’t this older version use the rel=me links to authorise?
#
GWG
Not since before 2.0, when it used IndieAuth.com
#
[stefp]
2.1.1 still has a setting for Indieauth.com
#
[stefp]
It’s the built in endpoint that won’t work
#
GWG
Yes, we took it out due confusion. Disabling the plugin makes it use IndieAuth.com when you use Micropub
#
[stefp]
I see
#
[stefp]
It’s strange that the built in endpoint worked and then just stopped
#
GWG
That is what I am curious about.
#
GWG
We made changes to address people's issues, but I wonder what happened.
suim4 joined the channel
#
GWG
aaronpk suggested we make a list of different configurations
#
[stefp]
sounds like a good idea
#
[stefp]
I’ll keep using indieauth.com in the meantime
#
aaronpk
[stefp]: what in particular is failing?
#
GWG
That's fine. It's there for a reason.
#
GWG
I'd like to fix it if I can
#
GWG
Silent failure
#
aaronpk
at what point?
#
aaronpk
is it the missing authorization header again?
#
[stefp]
I only get a 403 forbidden error
#
[stefp]
no other details
#
GWG
The new PR does a header check if WP_DEBUG is enabled. Waiting for merge
idn18 joined the channel
#
[stefp]
I have have a second Wordpress site I’m trying on a new dedicated WP hosting setup with Krystal
#
[stefp]
I just tested the plugin there and it’s working
#
GWG
Strange. How are you checking?
#
[stefp]
it’s a brand new installation with only Micropub and Indieauth installed
#
GWG
I meant, are you using a Micropub client?
#
aaronpk
Is that an error visible from an app like Quill? Or is this error happening while you're trying to log in somewhere?
#
[stefp]
sorry I logged into Quil
#
[stefp]
Quill
#
aaronpk
And you can log in successfully?
#
[stefp]
aaronpk I can on the second site
#
[stefp]
the error doesn’t appear in Quill
#
[stefp]
it’s a server error page
#
[stefp]
must be something in my current installation
#
aaronpk
how far into the login process do you get before you see the error?
#
[stefp]
I get to the authorize/scope page. Clicking Authorize leads to the error
#
aaronpk
great, thats helpful
jgmac1106 joined the channel
#
aaronpk
do you have any other security plugins installed on this site?
#
GWG
Or caching
#
[stefp]
I have Sucuri Security. No caching.
#
[stefp]
try turning that off though
#
GWG
Just for testing
#
aaronpk
that sounds familiar, didn't we have this same problem before?
#
GWG
Plugin conflicts?
#
aaronpk
aha i remember tracking this down before
#
aaronpk
it's the security plugin freaking out about the client_id parameter being a URL
#
Loqi
[aaronpk] interesting... changing the client_id to not be a URL gets rid of the error
#
sknebel
except 4 lines "turned it off an no difference"?
#
aaronpk
oh maybe not the sucuri plugin then
#
aaronpk
so maybe it's something on the web server
#
GWG
Something is.
#
aaronpk
i know sometimes things freak out if query string parameters with html or links end up getting included in the content of the page
#
GWG
But some servers do reject get requests with url parameters
#
GWG
You could disable everything and reenable one by one
#
aaronpk
i'm thinking this is not something in wordpress
#
aaronpk
but at the web server level
#
GWG
But another site on the same server works
#
aaronpk
i thought that was on a different server
jgmac1106 joined the channel
#
GWG
Same provider, will wait for clarification
#
[stefp]
It’s a new dedicated WP hosting service whatever that means
#
GWG
So, likely different configuration
#
[stefp]
From the same provider
#
GWG
Can you migrate the old?
#
[stefp]
I’m just testing it
#
aaronpk
and the one it's failing in is not in the dedicated WP hosting service?
#
[stefp]
That’s right
#
[stefp]
I’m going to investigate the details of the test server. See what’s different.
#
[stefp]
If anything
#
GWG
Is there a reason not to use their customized WordPress service for your main site? Is it more of a cost?
#
[stefp]
It’s a brand new service and still in beta.
#
GWG
Just curious.
#
GWG
Good reason
#
[stefp]
No prices yet
#
GWG
They should be able to tell you what might cause it. Probably a mod_security rule or such
#
[stefp]
I could try importing the main site and see what happens
#
GWG
I would wait if it is in beta
#
GWG
And ask their support people
#
[stefp]
Yeah I just meant as a test but I should just wait
#
GWG
I would email them and tell them that something works on their new thing but not their old and it seems to be blocking queries with urls
#
GWG
See what they say
ArsenArsen12 joined the channel
#
[stefp]
I’ll try that.
#
[stefp]
Thanks for taking the time to try and fix this.
#
GWG
[stefp]: It's 1:28AM here, and I have the night off, so I'm free.
[pfefferle] joined the channel
#
[pfefferle]
Aaronpk have you seen my questions?
#
aaronpk
i missed them
#
GWG
[pfefferle]: Can I ask for some PR love?
#
[pfefferle]
Micropub?
#
GWG
IndieAuth and Webmentions
#
GWG
I added Last Accessed to Tokens in IndieAuth
#
GWG
And I still have the Vouch PR
#
[pfefferle]
Webmentions are still some open things, that you wanted to fix or am I wrong?
#
GWG
[pfefferle]: I submitted two new commits to that for your consideration
#
GWG
But, for IndieAuth, I may have some more. I was just asked to add a developer's guide, but I was going to do that separately.
Skunky23 joined the channel
#
[pfefferle]
Ok, I will have a look... might take some time, because I am at a wedding atm.
#
[pfefferle]
Some time means tomorrow ;)
#
GWG
[pfefferle]: Why are you logged on at a wedding?
joepie9126, jgmac1106 and jwhisnant14 joined the channel
#
Loqi
[dshanske] #102 Add developer documentation and functions
#
GWG
You can read it in the interim.
#
GWG
It explains how to use the plugin for your own needs.
#
aaronpk
GWG++ nice
#
Loqi
GWG has 72 karma in this channel over the last year (147 in all channels)
#
GWG
aaronpk: There is even a function that you asked for, that retrieves the me property from the token response and returns it
#
aaronpk
awesome
#
GWG
I added in 4 helper functions to make it even easier.
jgmac1106, [kevinmarks] and [pfefferle] joined the channel
#
[pfefferle]
GWG always online!
#
GWG
Same here
#
GWG
I am thinking of doing Indieauth client discovery, if you read dev
elkalamar5, hsiktas18, deltab6, F4RR3LL, AlwaysHigh28, ms782121, limbo, MikeoftheEast, manish20, raynold, [kevinmarks], hggdh14, weaksauce15 and [pfefferle] joined the channel
#
[pfefferle]
aaronpk I have some questions regarding your ActivityPub implementation: Is your Outbox functional? if so, how can I request your posts? ...
#
[pfefferle]
What feed is mastodon using? And how is the discovery working?
#
aaronpk
Nope, outbox wasn't required for it to work with stuff so I just didn't implement it
#
aaronpk
AP works the other way where I send posts to my followers
#
aaronpk
Discovery works via webfinger even though that isn't part of ActivityPub
iamtakingiteasy joined the channel