#dev 2016-09-14

2016-09-14 UTC
AngeloGladding, KevinMarks_, singpolyma, KevinMarks and gRegorLove joined the channel
#
gRegorLove
KevinMarks_: Made a new building block for one-way rel-me validation, returns JSON with result: true/false and secure: true/false Demo it at http://gregoreatworld.com/indiewebify-me/web/validate-links-to/?url1=http%3A%2F%2Ftantek.com%2F&url2=http%3A%2F%2Fflickr.com%2Ftantek%2F
#
gRegorLove
Thinking I can improve the rel-me check by using that
tantek joined the channel
#
KevinMarks_
Take a mustbesecure parameter?
#
gRegorLove
My site redirects to https, and the rel-me link is to https twitter.
#
gRegorLove
Thinking the "secure" in the result should only be if url2 is http, but redirects to https?
#
gRegorLove
*only be false, I mean.
#
gRegorLove
Or is it correct to say false with that link ^ because the asserted url2 is not linked securely?
#
gRegorLove
Eh, guess shouldn't really be fetching url2 or redirecting at all for a one-way check
#
gRegorLove
So I think I'll leave 'secure' as whether the scheme of the asserted url2 matches the rel-me link found in url1
#
gRegorLove
Oh, have to follow redirects, forgot t.co.
#
gRegorLove
Ok, enough thinking for tonight.
AngeloGladding, KevinMarks and cweiske joined the channel
#
Zegnat
KevinMarks, sorry for not getting back to you yesterday. But I was playing vegetable on the couch in 30 degCelsius and did not move much ;) I will be trying to set-up HEAD requests with fetch() today and try to run the requests synchronised after each other.
#
Zegnat
If that works out I will put the entire thing on GitHub for scrutiny.
tantek joined the channel
#
KevinMarks
Nice. I think we can do well with multiple implementations
#
KevinMarks
That helps us converge on what matters
#
KevinMarks
Redirect from https to http matters more for indieauth than rel me mapping
#
Zegnat
Yeah, I think I will ignore those for now. First going to focus on actually resolving redirects in as neat a manner as possible
loicm_, KevinMarks_, AngeloGladding and cmal joined the channel
#
cweiske.de
created /Micropub/Clients (+4387) "move micropub clients to own page"
(view diff)
#
cweiske.de
edited /Micropub () "(-4310) /* Clients */ link to clients list"
(view diff)
#
cweiske.de
created /Category:Micropub (+26) "Created page with "[[Micropub]] related pages""
(view diff)
#
cweiske.de
created /Micropub/Servers (+5960) "move micropub endpoints/servers to own page"
(view diff)
#
cweiske.de
edited /Micropub () "(-5874) /* Examples */ move servers out to separate page."
(view diff)
#
cweiske.de
edited /Micropub/Clients (+60) "list shpub"
(view diff)
#
cweiske
do we have icons in the wiki? (green checkmark, red cross etc)
#
Loqi
cweiske: tantek left you a message 13 hours, 30 minutes ago: thanks for the ping on https://github.com/w3c/Micropub/issues/48 - followed up on that and the related h-entry issue with hopefully a sufficient explanation. Likely worthy of an FAQ.
#
cweiske.de
edited /Micropub/Servers (+383) "table with implementation status"
(view diff)
#
cweiske.de
edited /Micropub/Servers (+118) "/* Implementation status */"
(view diff)
#
cweiske
!tell kylewm maybe you can add the micropub implementation status for silo.pub at https://indieweb.org/Micropub/Servers#Implementation_status?
#
Loqi
Ok, I'll tell them that when I see them next
#
cweiske
!tell snarfed maybe you can add the micropub implementation status for silo.pub at https://indieweb.org/Micropub/Servers#Implementation_status?
#
Loqi
Ok, I'll tell them that when I see them next
#
petermolnar
cweiske I don't like the ideas of batchmentions
singpolyma and tantek joined the channel
#
ignaciodenuevo.com
edited /2016/Brighton (+63) "/* Participating */"
(view diff)
doesntgolf and KevinMarks joined the channel
#
cweiske.de
uploaded /File:instagram_location.png "instagram.com showing the location a photo was taken"
#
cweiske.de
edited /location (+206) "instagram"
(view diff)
#
KevinMarks
Cweiske my checkmark and red cross are inline svg
#
KevinMarks
(the 2 long lines)
#
cweiske
hm. maybe as template in mediawiki.
#
cweiske
{{x}} and {{/}}
singpolyma joined the channel
#
KevinMarks
What did you want them for?
kapowaz, cweiske and tantek joined the channel
#
cweiske.de
edited /Micropub/Servers (+3) "/* Implementation status */"
(view diff)
#
kodfabrik.se
edited /Micropub/Servers (+134) "/* Implementation status */ Document implementation status of my endpoint"
(view diff)
#
cweiske
I tried the wordpress simple-location plugin with micropub. the location gets saved, but not displayed at all since the setting "Display Text Location" defaults to "off"
#
voxpelli
cweiske: feel free to update the implementation status of my endpoint if you try it out
#
loqi.me
edited /database-antipattern (+63) "KevinMarks added "https://github.com/gfredericks/quinedb/blob/master/README.md" to "See Also""
(view diff)
loicm_ joined the channel
#
aaronpk
I just realized there's no way to do OAuth Device Auth for IndieWeb sites without running a server side component that the device trusts
#
aaronpk
since the first step of IndieAuth is asking the user who they are in order to find their authorization server
#
aaronpk
there's no way to get their URL on a device with no keyboard
#
aaronpk
Devices that have a keyboard that don't have a web browser can still work though
#
tantek
how is "get their URL on a device" any different from "get their email on a device" ?
#
tantek
or "get their username on a device"?
#
aaronpk
it's the same as "get their email on a device" but different from "username" because getting a username implies the device already knows the service the username is for
#
aaronpk
if you're trying to authorize a device to upload to your youtube account, the device knows the only way it can do that is to go to youtube's OAuth API which it has prior knowledge of
#
aaronpk
if you're trying to authorize a device to post to your own website, it has no way of knowing *which* OAuth API to use until it asks you to identify yourself (by entering your URL) and then it can find your endpoints
gRegorLove joined the channel
#
bear
for chandler we, if I recall correctly code from that far back ..., we used a token that had the url embedded and used it as a onetime token to enable retrieving a longer lived one
#
aaronparecki.com
created /device-auth (+715) "Created page with "{{stub}} '''<dfn>Device Auth</dfn>''' is an OAuth 2.0 extension for logging in on devices that have limited input options or no web browser. == IndieWeb Examples == * ... == ...""
(view diff)
#
bear
but I don't know if that fits with what your trying to do
tantek joined the channel
#
cweiske.de
edited /Micropub/Servers (+384) "/* Implementation status */ properties"
(view diff)
#
cweiske.de
edited /Micropub/Servers (+27) "/* Implementation status */ links"
(view diff)
#
cweiske
aaronpk, "The request MUST also include either a replace, add or delete property containing the updates to make."
#
cweiske
does that mean only one of those is allowed?
#
aaronpk
good question, I remember some discussion of that a while ago
#
tantek
just added h-cite markup to the list of XOXO posts in my most recent blog post: http://pin13.net/mf2/?url=http://tantek.com/2016/257/b1/xoxofest-overviews-personal-perspectives not sure how helpful that is, but there it is.
#
tantek
perhaps some tool that collects structured citations on pages you visit could gather these up and automatically pre-load or suggest further reading
#
tantek
s/these/the h-cite elements
#
gRegorLove
I did that with a tweet collection recently
#
tantek
question is, how hard / much of a pain is it to have to look potentially at any depth in the JSON for the "type": ["h-cite"]
#
cweiske
aaronpk, shall I open an issue?
#
cweiske
https://github.com/w3c/Micropub/issues/14 suggests all of them are allowed at once
#
cweiske
"The idea of the single "edit" is based on the idea of an "edit post", which is similar to a Github pull request. A pull request contains many changes, including replacing, adding and deleting content. "
#
tantek
aaronpk I vaguely remember that being a feature of micropub
#
aaronpk
I vaguely remember that too but now I am not sure if any implementations take advantage of it
#
cweiske
i'm just adding update support to shpub, so I'll find out if known and wordpress-micropub support it
#
gRegorLove
Ok, I'll try updating the composer.lock for indiewebify-me. It should work, since it's pointing to dev-master
#
aaronpk
If you install it locally and run composer update it should find the new version of the library
#
aaronpk
then when you commit that back it'll get deployed
#
KevinMarks
That's better than the ci doing the update?
#
aaronpk
Yeah cause there's no guarantee updating deps won't break everything
#
cweiske
wordpress-micropub does not support JSON requests at all
#
cweiske
thus no update
#
tantek
cweiske: probably worth filing a feature request issue
#
tantek
I'm sure snarfed would consider it!
#
cweiske
known also does not support updates
#
tantek
that's *definitely* worth feature request issue and sharing here
#
cweiske
I've been filling known's issue tracker the last days with micropub issues
#
tantek
awesome
#
cweiske.de
edited /Micropub/Servers (+380) "/* Implementation status */ link bugs"
(view diff)
#
cweiske.de
edited /Micropub/Servers (+61) "/* WordPress */ mention simple-location"
(view diff)
#
tantek
cweiske++
#
Loqi
cweiske has 54 karma (4 in this channel)
#
cweiske.de
edited /Micropub/Servers (+178) "/* Implementation status */"
(view diff)
AngeloGladding, tantek and KevinMarks joined the channel