#dev 2019-04-23

2019-04-23 UTC
#
GWG
What would you suggest?
#
GWG
It isn't a WordPress problem specifically. But happy to improve the response
#
chrisaldrich
Part of the key is helping to uncover to the user that it isn't an WordPress or Aperture problem, but a problem with their host.
#
chrisaldrich
My current issue is appearing on 1&1, but I'll try some quick tests with the two other hosts I've got as I think one of them had an issue as well.
#
GWG
I think all clients have this challenge, so maybe we can write the error messages together
#
aaronpk
All the client can do is surface error messages from the IndieAuth server
#
aaronpk
But it's not reasonable to ask clients to add additional debugging and troubleshooting code
#
aaronpk
The best thing is to use the `error_description` field to give users enough information to find a path to resolve the issue, and encourage clients to display that to users
#
GWG
aaronpk, I was thinking of getting help with the error_description field
#
GWG
I need to lay out the scenarios and what responses/resolutions might be 4
#
aaronpk
Well since you know you're writing a wordpress plugin, and you know a very common issue is hosts blocking that header, it seems like it'd be helpful to explicitly point that out to users
#
aaronpk
have you heard of any other situation in which the token endpoint returns a 403 incorrectly?
#
GWG
Not common ones
#
GWG
Some odd plugin interactions I think got fixed
#
aaronpk
Then it seems worth calling this one out in the text
#
GWG
I think I need to look at all the error messages at the same time
#
chrisaldrich
or you could have the initial set up check the https://example.com/wp-content/plugins/indieauth/authdiag.php endpoint directly and surface the problem before they even log into the client?
#
GWG
I may have to write my own on that
#
chrisaldrich
perhaps this is something the microsub plugin might do? or if it's common enough in the micropub process?
#
GWG
Zegnat's exists outside of WordPress
#
[tantek]
good suggestion [chrisaldrich] - the sooner that a plugin can warn a user about a known / existing problem, the sooner the user can take action, the less time they've wasted, the less they're likely to be upset
#
GWG
I need someone who has the problem to test it, but will think about how to implement it
#
aaronpk
You can simulate the problem by making an htaccess file with the opposite rule, or just send a request without the header
#
GWG
I run nginx. But point taken
#
GWG
I still want someone with the problem to field test it
GWG and KartikPrabhu joined the channel
#
chrisaldrich
GWG, do you have to be logged in to test the IndieAuth tool? If not, then you might try it yourself: https://www.starshipchangeling.net/wp-content/plugins/indieauth/authdiag.php
KartikPrabhu, gRegorLove, [tantek] and tbbrown joined the channel
#
Ruxton
late to the party but, couldn't the indieauth plugin just run a test on activation to see if the headers are working appropriately and warn/provide direction from there?
#
gRegorLove
Should be able to, yeah
#
aaronpk
"The protocol is decently simple" <3
#
aaronpk
that's what I like to hear
ingoogni, cweiske and gRegorLove joined the channel
#
Ruxton
GWG: if yu want to re-create in nginx you can set 'proxy_hide_header Authorization;
[tonz], [kevinmarks], swentel, swentie, [jgmac1106] and dougbeal|mb1 joined the channel
[Rose] joined the channel
#
@kevinmarks
↩️ Webmentions? You can allow anonymous comments with http://commentpara.de and use http://webmention.herokuapp.com or https://webmention.io or http://mention.tech to receive them for you and show with minimal js
(twitter.com/_/status/1120681657617539072)
iasai, eli_oat and dougbeal|mb1 joined the channel
tbbrown, dougbeal|iOS, snarfed and [schmarty] joined the channel
#
petermolnar
interesting find from yesterday: IE11 doesn't understand ch width properly
#
petermolnar
(I spun up a win7 virtual machine to test a static offline site builder named mobirise, and since it had ie11, I tested my site)
#
petermolnar
on the same note, max-width: 80ch equals to max-width: 50em
#
petermolnar
with monotype fonts
sebsel, jjuran, jackjamieson and snarfed joined the channel
#
snarfed
looks like twitter's unofficial evergreen profile image URLs (eg https://twitter.com/schnarfed/profile_image ) finally died entirely, at least in browsers
#
snarfed
must be user agent sniffing; they're still working for non-browsers
[schmarty] joined the channel
#
[schmarty]
:table flip emoji:
#
snarfed
!tell tantek just fyi the twitter profile pictures in your sidebar on https://tantek.com/ are broken in browsers now. twitter finally killed those unofficial URLs. more: https://chat.indieweb.org/dev/2019-04-23#t1556036770545600
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
Tantek Çelik
#
snarfed
eh they were unofficial and unsupported
#
snarfed
heh yay bridgy is unaffected 😎
#
sknebel
petermolnar: doesn't that depend on the specific font?
[kevinmarks] joined the channel
#
[kevinmarks]
I have seen a chrome bug with the twitter images https://bugs.chromium.org/p/chromium/issues/detail?id=867300
#
snarfed
[kevinmarks]: yeah they used to work. i expect this is more recent. i'm on firefox anyway
#
KartikPrabhu
yeah same on my FF too. Bridgy ones do work
#
snarfed
(bridgy doesn't use the evergreen URLs)
#
KartikPrabhu
aah that is why some older ones don't show up anymore :P
#
GWG
The http authorization thing strikes again
#
sknebel
That really needs to be promoted automatically somewhere
#
sknebel
Or even happen automatically when someone tries to use indieauth at first
#
jackjamieson
Argh, didn't know about that issue at all
#
sknebel
When it gets missed even by people active here in chat
#
sknebel
Like, if someone tries to use indieauth for the first time, run that test
#
sknebel
And only stop once it's been successful
#
snarfed
KartikPrabhu: yup. better tradeoff though. if bridgy still used the evergreen URLs, *all* twitter profile pictures it had sent would now be dead.
#
snarfed
long term longevity is arguably the receivers' job
#
sebsel
"long term longevity" :)
#
jackjamieson
GWG - Is there a distinction between how micropub and microsub use the authorization headers? I can still post to my site with micropub even though I'm getting an error with Yarns
#
GWG
With what client?
#
GWG
Quill sends both a header and in the body
#
GWG
This is why I need to explain the error better
#
sknebel
I'd suggest putting the check in the login flow
#
sknebel
If it hasn't succeeded in the past or been opted-out, send the user to a test page before the login form
#
sknebel
At least for authorization requests
#
sknebel
(if that's possible to do)
#
jackjamieson
Ah, interesting. Naive question: Is it feasible for microsub and/or other clients using indieauth to adopt Monocle's approach? The requirement to edit .htaccess seems like a strong barrier for some users
#
GWG
In the query body over the header?
#
GWG
I think the access header is standard
#
GWG
I was thinking about how to check that
#
GWG
Maybe on one of the redirects
#
jackjamieson
I don't know the authorization process well. Is my situation of having a problem with the headers common?
snarfed joined the channel
#
GWG
Annoyingly so
#
GWG
Lots of hosts seem to filter them
#
GWG
To the point it's in the readmes
#
GWG
I think it needs to be even more noticeable
#
GWG
We were just discussing it last night
#
sknebel
GWG: I'd add it to the authorization request. at that point, you know a) what's requesting access b) that it wants authorization, not just authentication and c) have full control over the users browser
#
sknebel
before you show the confirmation screen, check if it is confirmed that it works for the user. if not, show a (skippable) prompt to run the check. if it succeeds, you can remember that for the future and skip the step automatically
#
GWG
Wonder if anyone else does that
#
GWG
There are only a few other self hosted implementations
#
GWG
And WordPress is unique
#
GWG
Should ask about Drupal
#
sknebel
and the biggest
#
jackjamieson
As an additional step, I could try adding a notification to Yarns if auth fails. A pretty frustrating error and I don't think I would have figured it out myself, so I'd like to make it high visibility
snarfed joined the channel
#
GWG
Yarns can't notify as it is a server, not a client. It needs to pass it to the client.
#
jackjamieson
I mean show a warning message in the wordpress dashboard. Additionally, a more descriptive error message would be useful too
#
@MCorbettWilson
↩️ Hi Ken! I posted somewhere in ACI that I'd like to learn more about pingbacks and webmentions. I hope we can have that discussion inside the platform.
(twitter.com/_/status/1120739717723541504)
snarfed, gRegorLove and [grantcodes] joined the channel
#
[grantcodes]
!tell [cleverdevil] I'm messing around with all my hosting, so will probably need to update the alltogethernow.io dns at some point
#
Loqi
Ok, I'll tell them that when I see them next
[cleverdevil] joined the channel
#
[cleverdevil]
No problem. LMK when you've got details and I'll make it happen!
#
[grantcodes]
Cool, probably going to do it this week, then I am working on completely rebuilding the backend so that may be another change. But I'll let you know
#
[grantcodes]
I'm giving graphql a go. Works pretty well with microsub so far.
iasai joined the channel
#
sebsel
graphql is cool. would be nice to make a sort of micropub/sub to graphql bridge, which should not be hard, just for the blogpost you can write about it ;)
#
sebsel
more eyes for the Indieweb
#
KartikPrabhu
hmm what does graphql to micropub bridge mean?
#
KartikPrabhu
i thought graphql was some data-query format
#
sebsel
hm, that one might be less obvious than microsub indeed.
#
sebsel
no it has actions too
#
sebsel
mutations they call it
#
sebsel
I believe I saw tantek hinting at an XRay-like GraphQL service?
#
sebsel
could be a cool project too
#
sebsel
what is GraphQL?
#
Loqi
GraphQL is a query language for APIs and a runtime for fulfilling those queries with existing data https://indieweb.org/GraphQL
#
sebsel
yea it's on there, under brainstorming
#
sebsel
It was [cleverdevil]'s idea according to wiki-history :D
KartikPrabhu joined the channel
#
aaronpk
GWG++ for continuing to troubleshoot on that github thread
#
Loqi
GWG has 42 karma in this channel over the last year (169 in all channels)
#
GWG
aaronpk, I need someone to review an Indieauth PR if I write one
#
GWG
To improve checking
#
GWG
No merges are allowed without a reviewer
#
GWG
Wonder if I should add something else at the same time
#
GWG
I will check my list of issues
[grantcodes] joined the channel
#
[grantcodes]
sebsel: Yeah what I end up with will hopefully be pretty close to a bridge to microsub with graphql, the really nice thing about it so far is the built in polling and pagination. Makes live loading data really easy (at least with the client I am using)
DarKwins joined the channel
#
aaronpk
GWG: smaller PRs are easier to review
[tantek] and [Rose] joined the channel
#
GWG
aaronpk, I was thinking of the release
#
GWG
As in, do a few Indieauth things, merge them for a release
[cleverdevil] joined the channel
#
[cleverdevil]
That sounds great, [grantcodes].
#
[cleverdevil]
One of these days we should move Together into a different place so people don't assume that I do all the actual work since you *actually* do it all, haha 🙂
#
[grantcodes]
Ha well if if this thing actually works the backend and frontend could probably be split into 2 repos as people could theoretically use just the backend as a graphql server
#
[cleverdevil]
We could just create a new GitHub org for it and related projects.
#
[cleverdevil]
Anyway, just making it clear that I am totally open to whatever 🙂
#
[grantcodes]
Eh I don't really care too much. If anyone is *really* worried about who makes something on GitHub they can looks at the contributers tab or some other stat 😛
#
[cleverdevil]
Good point.
#
[cleverdevil]
Oh, [aaronpk] do you have any thoughts on this? https://github.com/indieweb/microsub/issues/23
#
Loqi
[sknebel] #23 Have editable feed names
#
aaronpk
oh yeah i saw that
#
[cleverdevil]
Also thinking a bit about major "traditional" feed reader apps that will likely want a little more capability around metadata, organization, etc.
#
aaronpk
makes sense
#
[cleverdevil]
Ideally, servers would populate as much as they can automatically at subscription time, and clients could edit.
#
sknebel
most of my issues go in that direction I think
#
sknebel
(which reminds me I still haven't done more with my Inoreader bridge... sigh)
#
@ChangelingMx
All I wanted to do was get my microsub endpoint working. Instead, I’m now pondering transferring my domain to a less annoying hosting platform. I’m also giving serious thought to revisiting http://micro.blog for managing my content. I’m completely exhausted.
(twitter.com/_/status/1120799564821409793)
#
[cleverdevil]
That sounds fun.
#
[cleverdevil]
Happy we have Micro.blog for the next generation of IndieWebbers.
[schmarty] joined the channel
#
@manton2
↩️ Let us know if you have any http://Micro.blog questions! (http://Micro.blog also supports Microsub clients like Monocle and Together for reading the timeline and mentions… I'd love to do more with Microsub in the future.)
(twitter.com/_/status/1120803186405720065)
[manton] joined the channel
#
[manton]
I decided to jump in and reply. I haven't heard much feedback about Microsub support since IndieWebCamp Austin... Would be cool to expand it.
#
GWG
[manton]: I still have that Syndication request
#
@fncll
Just misread weblamentations instead of webmentions...and I think they’d be even more useful.
(twitter.com/_/status/1120807511710285825)
iasai joined the channel
#
[manton]
@GWG Still no progress on that. It has been hard to prioritize but I hope to make time for it.
#
GWG
[manton]: I understand. I was supposed to be working on something else, but I switched based on community need
snarfed and [cleverdevil] joined the channel
#
jacky
xray++
#
Loqi
xray has 2 karma over the last year
#
Loqi
jacky: [eddie] left you a message 1 day, 1 hour ago: I think tags and mentions can both be seen in the silo world as well. It's the same as hashtags and @-mentions
chimo joined the channel
#
[cleverdevil]
[manton] one idea for you: send a webmention to folks when they have a post featured in Micro.blog "discover".
#
[cleverdevil]
It'd be nice to see a little notification pop up in Together when one of my posts shows up there 😉
#
[manton]
That's a neat idea!
#
[cleverdevil]
And if your push notification system on iOS / macOS reacts to webmentions, you'll get that as a bonus feature.
snarfed, [tantek] and [chrisaldrich] joined the channel