#dev 2018-08-17

2018-08-17 UTC
tantek__, Ben6412 and jgmac1106 joined the channel
#
GWG
Is there a scenario where a micropub submission shouldn't have a summary property?
myth0d7 joined the channel
#
KartikPrabhu
or articles without summaries
#
GWG
Okay. What would not have content or a summary?
#
KartikPrabhu
photo post
#
GWG
I thought they were supposed to have one as a fallback
#
KartikPrabhu
not sure why
#
KartikPrabhu
a photo property would be a photo post, a like-of property would be a like; same with bookmarks and reposts
[jgmac1106] joined the channel
#
[jgmac1106]
what if add a a phrase under the photo ?
#
KartikPrabhu
[jgmac1106]: I only meant it is not necessary
#
GWG
I thought there was something about a summary fallback though
#
KartikPrabhu
depends on the client
#
gRegorLove
It's a good idea to have summary, yes, so if the server doesn't understand the other properties it can at least publish that.
#
gRegorLove
There was some discusssion about that at /2018 regarding indiebookclub and m.b
#
GWG
The question that prompted this was about what should be sent in a repost other than the repost-of property
#
gRegorLove
I think summary is a good idea. What's the minimal, plaintext version of a post? The answer to that is a good candidate for summary.
#
gRegorLove
Hmm, that same conversation included /ptd and I feel like there was some small update to that algorithm that was supposed to be made, but no wiki edit. Can't remember the details now.
Guest85049 joined the channel
#
Loqi
[manton] I don't think this really solves the problem, though. If a server implementation prefers `content` over `summary` (which it should), with this example the context of the book title will be lost unless the server is updated to understand `read-of`.
#
mblaney
gRegorLove I feel like tantek and aaronpk came up with a solid way to fallback to the summary during that discussion... but I can't quite remember what it was :-/
#
@severo_bo
El futuro de los comentarios (ojala) son las "menciones web". Estándar oficial W3C, descentralizado, con un concepto genial: comentas un artículo de donde quieres (TW, FB, tu blog) y aparece abajo del artículo original. Desarrollador/a: aquí está la base https://aaronparecki.com/2018/06/30/11/your-first-webmention
(twitter.com/_/status/1030267105919361024)
mblaney1, Moyst11, renem and [chrisaldrich] joined the channel; mblaney1 left the channel
#
aaronpk
Hmm I could have sworn I made a wiki edit somewhere after that discussion
KartikPrabhu and mblaney joined the channel
#
mblaney
ah. found it after a bit of trawling logs: https://github.com/tantek/post-type-discovery/issues/38
#
Loqi
[manton] #38 add new step to use summary when there are unrecognized properties
#
mblaney
manton++ for writing stuff down.
#
Loqi
manton has 16 karma in this channel over the last year (59 in all channels)
#
aaronpk
Oh yay
#
aaronpk
manton++
#
Loqi
manton has 17 karma in this channel over the last year (60 in all channels)
#
gRegorLove
Ah, cool!
#
gRegorLove
didn't think to scroll further down the github issue he linked, hah
#
gregorlove.com
created /ptd (+33) "r"
(view diff)
[asuh], KartikPrabhu, themill17, dystopia_, Captain_Beezay, Guest59136, savoir-faire29, [mrkrndvs], and, TripFandango and [iambismark] joined the channel
#
[iambismark]
huh… I think I found a bug in hackney (https://github.com/benoitc/hackney, popular erlang http client). hackney resolves the redirect from `https://webmention.rocks/test/23/page` to `https://webmention.rocks/test/23/page/page/<guid>` while curl resolves it to `https://webmention.rocks/test/23/page/<guid>`…
#
Loqi
[benoitc] hackney: simple HTTP client in Erlang
[metbril] and Ishaq2 joined the channel
swordsmanz17 joined the channel
#
@ochtendgrijs
Dat ik me maar eens in webmentions en aanverwante technologieën moest gaan verdiepen.
(twitter.com/_/status/1030369961825460225)
Xe24, Pugabyte21, [pfefferle], deathrow1, jgmac1106, gidzit, Matrixiumn, anataex and [grantcodes] joined the channel
#
[grantcodes]
I had a new microsub idea. Someone else can feel free to build it...
#
[grantcodes]
If servers provide the ability to add channels and posts to channels (like aperture does via micropub)
#
[grantcodes]
It would be possible to build a "client" that could look through all your posts every day and create a summary of all the links shared that day in its own channel
#
[grantcodes]
Or maybe some other clever stuff along that line. Would be cool to have.
#
[grantcodes]
And could even recommend stuff that is popular over multiple users.
#
[grantcodes]
Would have to be very explicit about how it reads peoples channels and shares to other users
Napsterbater joined the channel
#
[grantcodes]
Or it even could end up like the discovery functionality that [cleverdevil] initially discussed for together, but could work across any server and reader 🤔
jgmac1106, basic`8 and [jgmac1106] joined the channel
#
[jgmac1106]
[grantcodes] when people were talking about Nuzzel yesterday, this got me thinking what is the IndieWeb version? Sounds alot like you are talking about
#
[jgmac1106]
I was thinking about just how indieweb.xyz, worked. If something like that used rel="follow" could I..get a feed of the top five post that had the most interaction in specific tags (channels in your microsub example)
#
[jgmac1106]
then we can take your idea one step further could there be some way for different folks to tie in their own smtp or other email solution to own their newsletter?..though I prefer my feeds over newsletters. Stay the F out of my inbox
jeremych_, rory5 and mancha22 joined the channel
#
[jgmac1106]
how do I turn this https://jgregorymcverry.com/tag/microcast/feed into a podcast feed?
#
jeremycherfas
I use a plugin; that may not suit you.
#
[jgmac1106]
ooh okay let me search for plugins
#
jeremycherfas
I use blubrry; it give me stats and things for free. Hosting is extra. There might be some that just do the feed.
[kevinmarks] joined the channel
#
[kevinmarks]
needs a bit of auth ;
#
[jgmac1106]
Kevin I was just meeting with their learning team yesterday and I was saying I can't wait until all the building blocks are there for people to learn how to launch their own Indieeb blog
#
[jgmac1106]
they even have some easy database storage tutorials already
#
[jgmac1106]
[kevinmarks] I wonder if you can remix [schmarty] kapowski or webring for indieauth
#
[kevinmarks]
this was based on the lowdb one
#
[kevinmarks]
though it was doing weird amounts of work
#
[jgmac1106]
[jimpick] has some .dat projects on there as well. I am working on making one into a simple .dat page that is an h-card
#
aaronpk
[jgmac1106]: i'm a fan of "Seriously Simple Podcasting"
#
[jgmac1106]
I want to see if I can just add feed=rss2 on the end
#
aaronpk
podcast feeds are picky
#
jgmac1106
yep…I got this: Client error: `GET https://jgregorymcverry.com/tag/microcast/feed=rss2` resulted in a `404 Not Found` response: <!DOCTYPE html> <html lang="en-US" class="no-js"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=d (truncated...)
#
[jgmac1106]
I do wonder if I use the native audio type versus post-kind if that changes anything
#
jeremycherfas
I do often wonder how locked in I am to blubrry. Need to consider alternatives and see what it would take to switch.
#
[jgmac1106]
yeah I don't want to pay anything, I probably have two listeners and don't care if I get more, hosting audio file on my website is fine\
#
aaronpk
try seriously simple podcasting, it is totally self-contained
#
[jgmac1106]
not worth 15 a month to me
#
Loqi
[Castos] Description Seriously Simple Podcasting is an easy-to-use podcasting solution for WordPress that is as powerful as it is simple. It uses a native WordPress interface and has minimal settings so as not to distract you from what you really need to do ...
#
[jgmac1106]
when you click on new, it says sign up, then you click on pricing and it says 15 a month
#
[jgmac1106]
let me try again
#
[kevinmarks]
podcast feeds are fussy yes. I did a very hacky one in unmung
#
aaronpk
try to ignore their hosting offer thing
#
[kevinmarks]
OK, permalinks work in that example now
#
aaronpk
it has a way to host the file on wordpress
#
aaronpk
you don't need to pay them
#
[jgmac1106]
okay will make the account and see what happens
#
aaronpk
account? no wait
#
aaronpk
no account
#
[jgmac1106]
maybe it changed? recently?
#
aaronpk
click "dismiss this message"
#
aaronpk
that's super lame of them
#
aaronpk
welp guess i'm not recommending this plugin anymore
#
[jgmac1106]
wow...yeah icky
#
[jgmac1106]
but I will try it
#
aaronpk
looks like when you dismiss that crap it is the same plugin it used to be
#
[jgmac1106]
I should have seen it...but they hid the dismissal for sure
#
[jgmac1106]
okay will play and add mine
#
[jgmac1106]
aaronpk++
#
Loqi
aaronpk has 105 karma in this channel over the last year (312 in all channels)
#
[kevinmarks]
I could do hfeed to podcast with a bit of tweaking
eli_oat1 joined the channel
#
[jgmac1106]
like all things in WordPress they say its easy: https://codex.wordpress.org/Podcasting
#
aaronpk
huh they say wordpress generates the podcast feed itself?
#
jgmac1106
may try the htaccess thing and see what happens
kashike0 joined the channel
#
sknebel
https://jgregorymcverry.com/tag/microcast/feed at least is a feed with audio files attached that you probably could suscribe to
#
[jgmac1106]
yep @sknebel that worked in all my podcast readers, doesn't recognize the featured image as album art though
#
[jgmac1106]
so will probably move to using plugin@aaronpk shared
[keithjgrant], [xavierroy], AimHere8 and [grantcodes] joined the channel
#
[grantcodes]
Sweet, after seeing [kevinmarks] make a test site on glitch, I set up my micropub endpoint on glitch. And it works! I'm impressed
#
[grantcodes]
glitch.com/edit/#!/careful-banana
#
[grantcodes]
Also it's like sink by Zegnat kind of since there is no auth required 😛
#
GWG
I am getting a lot of refbacks from the wiki
#
aaronpk
How many spam ones have you got yet?
#
GWG
aaronpk, none, though I need to filter Google referrers.
#
GWG
I should add that
#
GWG
But getting mentions from the wiki is great
#
aaronpk
i still need to figure out how the spam ping backs are getting through. Every day the wiki gets one or two.
#
GWG
aaronpk, I did it for the vouch data initially
snarfed joined the channel
#
aaronpk
Is omnibear not requesting scopes from the micropub endpoint?
#
GWG
It sounds like the scope issue is a shared problem
#
aaronpk
GWG: does the IndieAuth plugin issue a token with no scope? Because that would be wrong, and if you refuse to generate a token with no scope that would fix some of these errors
#
[keithjgrant]
[aaronpk] I think we discovered a while back Omnibear doesn't send the scope somewhere that was optional according to spec, but the null value caused the WordPress plugin to throw
#
aaronpk
There’s only one time the client needs to be aware of the scope, and that’s during the request
#
GWG
According to the code, it issues a token with create update if there is no scope
tbbrown joined the channel
#
aaronpk
That’s great, and if that’s the case I don’t understand where the error is coming from then. Are these errors just on old versions of the plugin?
#
GWG
That's the IndieAuth plugin, let me check the Micropub code
#
GWG
aaronpk, I am testing with dev
iasai joined the channel
#
[keithjgrant]
Are scopes sent anywhere to the micropub endpoint, or was this only an auth issue?
#
GWG
The Micropub plugin checks for an empty scope
#
aaronpk
As far as the client is concerned you don’t need to think about it after you make the first request for scopes
#
GWG
But since no token should be issued with one, it should never have that issue
#
aaronpk
internally the authorization endpoint and micropub endpoint need to coordinate on how to know what scopes a token has
#
[keithjgrant]
@GWG if you have a chance to paste your Omnibear log to https://github.com/keithjgrant/omnibear/issues/75, that might be helpful
#
Loqi
[keithjgrant] #75 Send scope types during auth
#
[keithjgrant]
You might have to reproduce the issue after turning logging on first
#
GWG
[keithjgrant]: I'm going to it now
#
aaronpk
[keithjgrant]: I don’t understand that issue. Are you saying you think you need to include the scope values when you send the access token in the micropub request?
ninsei joined the channel
#
GWG
Darn....my ssl cert just expired. One second
#
GWG
aaronpk: I'm confused about that myself, as you don't.
#
[keithjgrant]
oh, my mistake in the way I worded that. Cleaned it up a bit
#
[keithjgrant]
it should be when requesting the token, right?
GWG joined the channel
#
aaronpk
In the start of the OAuth request yeah
#
aaronpk
but as long as you request response_type=code the server can set its own default scope
GWG joined the channel
#
aaronpk
technically it’s not when requesting the token, it’s when you request the authorization code
#
GWG
It is issuing Omnibear a token with scope
#
aaronpk
And it’s still failing?
#
GWG
With the error, insufficient scope
#
aaronpk
is this a CORS error somehow? Maybe the authorization header isn’t getting sent?
#
[keithjgrant]
is it not storing the scope correctly when it falls back to the default?
#
GWG
Then it would say Missing Access Token
#
[grantcodes]
Don't think it's an issue with my part of the code. micropub-helper only sends a scopes as query parameters on the indieauth url. After that it only ever uses the token.
#
GWG
Something is happening in this client that isn't in others though
#
[keithjgrant]
[grantcodes], it looks like you don't include the scope when requesting token at https://github.com/grantcodes/micropub/blob/master/src/main.js#L158
#
[keithjgrant]
you send it when fetching endpoint urls, if i'm reading that right
#
[grantcodes]
Scopes are never sent anywhere
#
GWG
I am getting some sort of argument about the headers in the error log
#
[keithjgrant]
line 264, in getAuthUrl(), it looks like they're added to the payload. but i'm not sure that means anything in that particular request
#
[keithjgrant]
oh, that's not a request
#
[keithjgrant]
that's a promise resolving
#
[grantcodes]
It adds scopes as query parameters to the auth url
#
[grantcodes]
That is the only time micropub-helper touches them. Everything else is just the token
#
[keithjgrant]
I definitely don't see them in my network traffic. Even after explicitly passing them into the micropub helper
#
[grantcodes]
It wont be in network traffic anywhere
#
GWG
[grantcodes]: Still requesting post?
#
[keithjgrant]
i was going to ask about that, too. is that superceded by "create" now?
#
[grantcodes]
GWG: Yeah it includes post by default
#
GWG
Exactly
#
[grantcodes]
both post and create
#
GWG
Post is deprecated
#
[grantcodes]
Should the micropub endpoint not just ignore it in that case?
#
[grantcodes]
It's also an option so onmibear can be set to only request the create scope and not the others
#
[keithjgrant]
okay, so scope does NOT need to be sent when requesting the token (not even optionally), correct? If that's the case, Omnibear is doing everything correctly
#
GWG
Yes, that isn't a problem.
#
GWG
But, something Omnibear is doing is different.
#
GWG
I'm not sure what
pavlushka21 joined the channel
#
[keithjgrant]
man. I wish I could find the discussion we had a while back on this. We knew the line number in the indieweb plugin that was throwing the error
#
GWG
I have it here.
#
[grantcodes]
Could well be something to do with it being sent from frontend js. But that would be strange since the authorization header is sent and works fine with most other endpoints
#
GWG
It is getting the header
#
GWG
I just enhanced the debug log and it shows the header
#
GWG
Somehow, it isn't setting the user.
#
[keithjgrant]
The POST includes client_id "https://omnibear.com" (though it's not sent from there; it's sent from the browser), code, grant_type "authorization_code", me "https://keithjgrant.com" (e.g.), redirect_uri "https://omnibear.com/auth/success"
#
GWG
Wrong level.
#
GWG
The token is fine
#
GWG
It is something about the authorization when posting
#
[grantcodes]
I'm going to set up a wp test environment. Where should I install plugins from GWG? Github master branches?
#
[grantcodes]
Testing plugins that is
#
GWG
[grantcodes]: That's fine. The IndieAuth plugin hasn't had any changes since stable
#
GWG
The master branch of Micropub is fine
#
[grantcodes]
Cool. I'll have a go with them
thomasb9511 joined the channel
#
[grantcodes]
Well issue #1 The indieauth plugin didn't work without switching to pretty permalinks
#
GWG
[grantcodes]: That one is surprising.
#
GWG
I'll have to look why
#
GWG
But it doesn't work with or without it.
#
GWG
I still get insufficient scope even using indieauth.com
#
[grantcodes]
The permalinks thing, may just be my setup to be fair
#
[grantcodes]
But I have got the point where I have everything installed and getting error with posting
#
GWG
[grantcodes]: It happens with or without the IndieAuth plugin
#
[keithjgrant]
Man, I haven't written php in so long
willnorris joined the channel
#
aaronpk
i just installed a new wordpress to test this
#
aaronpk
oh dear, omnibear hard-codes the state parameter lol
#
aaronpk
"very-secret-omnibear-state"
#
sknebel
wait, that wasn't a placeholder?
#
aaronpk
interesting, i was able to use the token that omnibear has and make a post from curl
#
aaronpk
posting from omnibear worked, it just said there was an error
#
[grantcodes]
I've tracked the issue down to static::$scopes being equal to null on line https://github.com/snarfed/wordpress-micropub/blob/master/includes/class-micropub-endpoint.php#L164
#
[keithjgrant]
yeah, that state parameter was a placeholder. that needs fixing 😳
#
GWG
Yes, but why?
#
GWG
It shouldn't be null
#
GWG
It isn't null with any other client I'm testing
#
[grantcodes]
Not got that far yet 😛
#
GWG
I'm not able to figure that it
#
[keithjgrant]
ok, found some earlier discussion
#
Loqi
[miklb] #133 Bug: Posting from Omnibear with IndieAuth fails.
#
[keithjgrant]
notes the same static::$scope being null
#
aaronpk
omnibear logs aren't working for me
#
aaronpk
clicking the + doesn't show anything
#
GWG
Same here. It doesn't show anything
#
[grantcodes]
if you are using chrome right click the onmibear popup thing and inspect that and you can see the network requests and everything
#
GWG
I'm using Firefox.
#
GWG
Should I try switching to Chrome to debug?
#
aaronpk
ok wordpress returned 201, but omnibear says there was an error
#
[keithjgrant]
[aaronpk] do you see a "+" beside every log entry, or just a few?
#
aaronpk
every one
#
[keithjgrant]
interesting. it should only be beside those that can be expanded, which isn't many
#
[keithjgrant]
"syndication targets retreived" is one that can expand
#
[keithjgrant]
same with "note posted successfully"
#
[grantcodes]
I can't remember how you inspect that target in firefox GWG it's in there somehow
#
aaronpk
ok well anyway there is definitely a bug with omnibear, but this sounds like not the same problem you are talking about
#
GWG
No.
#
GWG
This is a scope issue
[tantek] joined the channel
#
GWG
It says it doesn't have any
#
GWG
But I'm not sure why
#
aaronpk
how were you able to reproduce that?
#
aaronpk
i used the live version of indieauth and micropub
#
GWG
aaronpk: Live or dev?
#
GWG
Github or WordPress.org?
#
aaronpk
from wordpress.org
#
[grantcodes]
Ok got it
#
GWG
But the reports exist in a pre-dev version
#
GWG
[grantcodes]: Which?
#
[grantcodes]
It's not running verify_access_token
#
GWG
Why not?
#
[grantcodes]
I reordered the logic in determine_current_user and it worked
[jgmac1106] joined the channel
#
[grantcodes]
Not sure if that is the ideal solution, but it is definitely where there are no scopes set
#
GWG
[grantcodes]: There should be scopes set. The token has scopes
#
GWG
What am I missing?
#
GWG
[grantcodes]: Which logic/lines?
#
aaronpk
i wish i could reproduce this
#
aaronpk
[grantcodes]: what is your wordpress configuration that you were able to trigger the error
#
aaronpk
[keithjgrant]: also it looks like omnibear is failing when the endpoint returns an empty response body
#
[grantcodes]
It returns the user id from the first if block but never stores the scopes
#
GWG
The first if block is if the user id is already set
#
[grantcodes]
When I moved the lines that set $token and $params to the top of the function it works for me
#
GWG
That is strange.
#
[grantcodes]
I don't know how else the scopes are set for other micropub clients, but I would have thought it would happen for all clients
#
[grantcodes]
aaronpk: Total default with just the 2 plugins installed
#
aaronpk
and no pretty urls?
#
[grantcodes]
Pretty urls on
#
aaronpk
plugins installed from github master or wordpress.org?
#
[grantcodes]
master branches
#
[grantcodes]
Ohhhhh I know the issue!
#
aaronpk
what user url are you entering when you log in to omnibear?
#
[grantcodes]
I bet if you log out of your wordpress site in the same browser you use omnibear it will work
#
[grantcodes]
Other clients are fine because they are sent server side and not logged in as you
#
GWG
Yup...there's the problem
#
aaronpk
wait what
#
GWG
I didn't account for cookies
#
aaronpk
that's odd, that doesn't seem to affect my install
#
GWG
I have to think about that one
#
GWG
Shouldn't extensions be isolated from that?
#
aaronpk
depends on how you've got the hooks configured, right?
#
[keithjgrant]
does the micropub helper use fetch?
#
[grantcodes]
Yes it uses fetch
#
[grantcodes]
That is where the issue is for reference
#
[keithjgrant]
fetch() should omit cookies by default if we don't tell it to include them
#
GWG
[grantcodes]: If the person is already logged in, it shouldn't try to execute that code, so my code is correct. I just need to account for this.
#
GWG
Or Omnibear does
#
aaronpk
i wonder if that fetch() behavior is different in chrome and firefox
#
aaronpk
i can't reproduce this error in chrome, and looking at the debug, chrome is not sending the cookie
#
[grantcodes]
I had the issue in ff and chrome
#
[grantcodes]
GWG: Maybe the checks should be skipped but it should still set the scopes maybe?
#
[grantcodes]
Even if the user is logged in
#
GWG
[grantcodes]: How would it know what they are?
#
aaronpk
fwiw there is no "is logged in" in micropub
#
aaronpk
every request needs to include the token
#
aaronpk
so it should always get the info from the token
#
GWG
Let me think about that
#
GWG
aaronpk: I can't short circuit the regular WordPress login
#
aaronpk
make the code dumber and make it *always* extract the user ID and scope from the token in the request
#
GWG
aaronpk: The same code section also does the login in the UI
#
GWG
Let me try something
#
GWG
I think I have an idea.
#
sknebel
yeah, using only the cookie is a wonderful CSRF-vector
#
[grantcodes]
Maybe you don't have the issue aaronpk because you used indieauth to log into the wp admin?
#
aaronpk
[grantcodes]: eh? this is a brand new wp install, i installed the indieauth and micropub plugins, then logged in to omnibear which went through the wp indieauth screen.
#
aaronpk
here's what the chrome inspector shows omnibear sent https://i.imgur.com/itjRO3r.png
#
[grantcodes]
And the response was fine
#
GWG
I'm going to check to see if it is trying to retrieve the endpoints first and return there
#
[grantcodes]
Are you logged into the wp admin in that same chrome window?
[eddie] joined the channel
#
[eddie]
nice domain, aaronpk 😆
#
GWG
This should fix the problem
#
[keithjgrant]
avocado.lol 😆
#
[keithjgrant]
i'm still puzzled why omnibear is sending the cookies in the first place
#
aaronpk
[grantcodes]: yeah i tried both logged in to wp admin and logged out, it worked both times
#
[keithjgrant]
different browser versions -> fetch() polyfill running vs native implementation?
#
[keithjgrant]
(it would have to be a pretty old browser version to need the polyfill though)
#
aaronpk
i'm on chrome Version 67.0.3396.99
#
[grantcodes]
micropub-helper does not attempt to send cookies
#
[grantcodes]
http requests in extensions do very funny and magic things
#
[keithjgrant]
yeah, they do
#
[grantcodes]
ie. In one browser you can read response headers and in another you cant
#
[keithjgrant]
i was wondering if the isomorphic-fetch was interfering somehow
#
[grantcodes]
Shouldn't be if the browser supports fetch (which is all of them now)
#
aaronpk
okay i tried from curl
#
aaronpk
sending both the cookie and the access toekn
#
aaronpk
and sure enough, "insufficient scope"
#
GWG
I'm working on it by playing with the logic.
#
aaronpk
so I am now satisfied that the cookie is the problem, even though it *looks* like it's not being sent by the extension
#
sknebel
in fetch you could explicitly set "credentials":"omit", maybe that works
#
GWG
It never even occurred to me
#
aaronpk
in any case this definitely needs to be fixed in the wordpress plugin
#
GWG
But aaronpk is right, it shouldn't allow access to the resource if the cookie is set
#
GWG
But I have to allow it access to other resources.
#
aaronpk
i would hope there's a way to require the access token for requests to the micropub endpoint
#
GWG
aaronpk: I am doing that now
#
sknebel
(can we think of other endpoints where trusting the cookie would be a security issue?)
jgmac1106 joined the channel
#
[grantcodes]
Only if the micropub and auth endpoints share code I think it would be an issue
#
GWG
It can't be fixed.
snarfed joined the channel
#
GWG
I need to file an issue with WordPress, I think
#
sknebel
what's the issue specifically?
#
sknebel
can't access information at the right point in the flow?
#
GWG
Someone found it three years ago
kayamm18 joined the channel
#
sknebel
so can people make a micropub post with just the cookie?
snarfed joined the channel
#
GWG
sknebel: No, because it wouldn't set a scope
#
[keithjgrant]
i'm guess not since the $scope won't be defined
#
GWG
I'm going to look into that
TripFandango joined the channel
#
GWG
It should explain it
mblaney1 and mblaney joined the channel
#
[grantcodes]
I'm pretty sure there is another way to provide alternative authentication methods for the rest api.
#
GWG
How is that different than what I'm doing?
mblaney and mblaney1 joined the channel
#
[grantcodes]
Not sure to be honest. I just feel it must be solvable somehow. I can test to see if I get micrpub-helper to make sure it's not sending cookies
#
GWG
That is probably safer
#
[keithjgrant]
[grantcodes] try the `credentials: 'omit'` thing on the fetch and see what that does
#
[keithjgrant]
but i'm worried we're in “browser extensions behave weird” land here
#
[grantcodes]
Will do when I have time
#
aaronpk
GWG: can't you literally look for the http header?
#
aaronpk
only in the micropub get/post routes
#
GWG
aaronpk: I am looking for it in all routes, but it is still being overridden somewhere
mblaney joined the channel
#
aaronpk
no i mean actually look for it and don't let it get overridden
plat_25 joined the channel
#
aaronparecki.com
edited /how-to-sponsor (+11) "/* Payment / Contact Information */"
(view diff)
#
aaronparecki.com
edited /how-to-sponsor (+22) "/* Payment / Contact Information */"
(view diff)
#
snarfed
on a related note, fyi all, we're gradually leaning toward moving the wordpress micropub plugin github repo from my account to the indieweb org, maybe after the 2.0.0 release
#
snarfed
GWG++ for his commitment and unflagging dedication and work on it!
#
Loqi
GWG has 33 karma in this channel over the last year (144 in all channels)
#
GWG
And thank you to snarfed for putting up with me
#
GWG
snarfed++
#
Loqi
snarfed has 64 karma in this channel over the last year (117 in all channels)
#
snarfed
aww warm fuzzies
#
GWG
snarfed: Do you use IndieAuth, the plugin?
#
snarfed
should also help grow ownership and encourage more contribution from miklb, pfefferle, and others
#
snarfed
GWG: no, not yet
#
GWG
I'm adding a new feature, because I was in there troubleshooting this Omnibear thing
#
[keithjgrant]
seconded GWG++
#
[keithjgrant]
(do I have to begin the message with the handle & ++ ?)
#
Loqi
GWG has 34 karma in this channel over the last year (145 in all channels)
[jgmac1106], [eddie], cheshire_cat, exezin27, mblaney1, mblaney and jgmac1106 joined the channel
#
Loqi
GWG has 35 karma in this channel over the last year (146 in all channels)
#
Loqi
[dshanske] #98 Improve Token Handling
mblaney1, ovoldemorto and mblaney joined the channel
#
keithjgrant.com
edited /Hugo (+61) "/* IndieWeb Examples */"
(view diff)
gRegorLove, TripFandango, [kevinmarks] and [tantek] joined the channel
#
Loqi
[jd] @eli Then that's the biggest problem I see with Indieweb. The standards are pretty simple but if the use-cases aren't, it's going to hinder adoption. That said, I have nothing but love for all the work folks like @aaronpk have done on the standards....
#
aaronpk
oops scroll up. Meant to paste the start
Davnit26, dindon3, tantek__ and [iambismark] joined the channel
#
[iambismark]
can micro.blog not thread webmentions between multiple externally hosted blogs? seems technically possible with the correct mf, but i can see the complication…
tantek, [kevinmarks], mblaney1, mblaney and [grantcodes] joined the channel
#
[grantcodes]
Ok [keithjgrant] include the new version of micropub-helper and it should post to wordpress fine 🎉
[keithjgrant] joined the channel
#
[keithjgrant]
grantcodes++
#
Loqi
grantcodes has 17 karma in this channel over the last year (26 in all channels)
#
[grantcodes]
I tested with my extension so I'll get a release of that out tonight 🙂
mblaney1, mblaney and A_D1 joined the channel
#
@thorkon
@schnarfed is there a problem with http://Brid.gy and likes on Instagram? Currently I do only receive comments, but not likes.
(twitter.com/_/status/1030571453136216065)
[tantek], [dougbeal] and mblaney1 joined the channel
#
loqi.me
created /Angelfire (+289) "prompted by tantek__ and dfn added by tantek__"
(view diff)
#
kaja.sknebel.net
edited /Angelfire (+2) "linkify ('… is <url>' pattern)"
(view diff)
#
tantek__
I saw a discussion of PTD and summary vs content go by on the archives of dev but I can't seem to find them now. I think manton and aaronpk were discussing, something we forgot to capture post IWS?
#
tantek__
though maybe it got captured in PTD issues on GH?
[iambismark] joined the channel
#
[iambismark]
what is PTD
#
Loqi
Post Type Discovery specifies an algorithm for determining the type of a post by what properties it has and potentially what value(s) they have, which helps avoid the need for explicit post types that are being abandoned by modern post creation UIs https://indieweb.org/PTD
#
GWG
tantek__: I asked about a summary fallback being required for Micropub clients, or at least recommended.
#
loqi.me
edited /Angelfire (+440) "tantek__ added "https://mastodon.social/@benwerd/100565830403344520" to "See Also""
(view diff)
bradenslen, snarfed, eir26, StephenS24, mblaney and richardjohn joined the channel
#
tantek.com
edited /Main_Page (+465) "/* IndieWebCamp */ Oxford, NYC"
(view diff)
matlock, tantek, AbbeyRipstra28 and eli_oat1 joined the channel
#
mblaney
tantek we were trying to remember the ptd change discussed at the summit. turns out manton captured it here: https://github.com/tantek/post-type-discovery/issues/38
#
Loqi
[manton] #38 add new step to use summary when there are unrecognized properties
#
tantek.com
edited /Facebook (+221) "/* How to wean yourself from */ use /events/calendar instead of /events for a more *your* events focused view (instead of being distracted by "suggested events") at the top"
(view diff)
#
tantek__
mblaney++ thank you!
#
Loqi
mblaney has 2 karma in this channel over the last year (4 in all channels)
exio419 and snarfed joined the channel