#indiewebcamp 2016-06-12

2016-06-12 UTC
#
GWG
!tell kylewm, snarfed The Bridgy literature says it returns a 201. It seems to return a 200. 200 is correct according to the webmention specification. The literature seems wrong.
#
Loqi
Ok, I'll tell them that when I see them next
#
snarfed
GWG: thanks for the report! are you talking about publish?
#
snarfed
and by literature, you mean http://brid.gy/about ?
#
GWG
snarfed: Yes, /about.
#
GWG
snarfed: Also, the WordPress recommendation is for the Indieweb plugin...not sure if you want to add to that as it doesn't include the webmention or semantic linkback pieces.
#
GWG
The change to class names necessitated a Bridgy Publish plugin bugfix, so I was looking in the about page for anything else I might do
#
snarfed
you know more about the current state than me, want to send a PR?
#
snarfed
btw i'm pretty sure publish via webmention returns 201. why do you think it returns 200?
#
snarfed
i see your test from tiny.n9n.us just now, it definitely returned 201 :P
#
GWG
snarfed: Receiving a Webmention request, processing it synchronously, and responding with HTTP 200
#
GWG
Receiving a Webmention request, processing it asynchronously, creating a status URL and responding with HTTP 201
#
GWG
You process synchronously, I believe...therefore you should be returning a 200.
#
snarfed
eh yeah, it's debatable
#
snarfed
i understand the 200 argument based on the spec
#
snarfed
bridgy publish is a pretty unusual use of wm, though, and it definitely does create something as a side effect, so 201 is technically more correct for that
#
snarfed
i don't really care either way though. happy to change it to 200, or we can see what aaronpk thinks
#
GWG
snarfed: I know it is an unusual use case. Although if you are still returning 201...it might break people's sites.
#
snarfed
eh. i doubt that in practice - by that argument changing it to 200 would more likely break *existing* users - but i hear you. happy to change it if the community agrees.
#
jakewilkins.com
created /User:Jakewilkins.com (+106) "Created page with "Hi, I'm [http://www.jakewilkins.com Jake Wilkins] I'm just getting started into Indie Web publishing. <3""
(view diff)
#
GWG
snarfed: That was what I meant.
#
GWG
snarfed: Adding some logging code.
#
GWG
snarfed: I also put in a proposal to allow query variables to be sent with a filter in the webmention plugin to support your extra query parameters.
#
GWG
snarfed: Oh, and saw your presentation. Very nice
#
snarfed
aww thanks!
#
GWG
snarfed: What other interesting things could I do with the response object from Bridgy Publish?
#
snarfed
lol. solution in search of a problem?
#
GWG
snarfed: I want to improve the Bridgy Publish plugin. When the query variable filter is stable, I'll likely switch to using it. But always a question of how I can do better.
#
snarfed
love it! i guess i'd just encourage you to start from itches instead of from tools :P
#
GWG
snarfed: I like to know what is possible. I usually make note of it in an issue for future use.
#
GWG
snarfed: Same with the webmention plugin. There, the itch was somewhat intangible.
KevinMarks and gluytium joined the channel
#
ben_thatmustbeme
!tell singpolyma have you make a PR back to gnu social for you webmention fixes yet?
#
Loqi
Ok, I'll tell them that when I see them next
aliasd joined the channel
#
GWG
Hello, ben_thatmustbeme
#
kylewm
snarfed: your talk was really impressive. Lots of information conveyed in a concise and approachable way
#
Loqi
kylewm: GWG left you a message 37 minutes ago: The Bridgy literature says it returns a 201. It seems to return a 200. 200 is correct according to the webmention specification. The literature seems wrong. http://indiewebcamp.com/irc/2016-06-11/line/1465689739846
#
kylewm
I hope you had a good time at the conference!
#
GWG
kylewm: I wrote that poorly. It should return a 200. snarfed and I just discussed it.
#
GWG
And...
#
GWG
snarfed++
#
Loqi
snarfed has 234 karma
#
GWG
I heartily concur.
KevinMarks joined the channel
#
ben_thatmustbeme
!tell aaronpk i fail this test because i use vouch, it returns 449, not 400
#
Loqi
Ok, I'll tell them that when I see them next
#
GWG
ben_thatmustbeme: How many vouches do you get?
#
ben_thatmustbeme
eh, not sure, its all automated, and once i white list someone it basically ignores that
#
ben_thatmustbeme
hold on, i'll check the DB
#
ben_thatmustbeme
i don't get many webmentions honestly other than bridgy
#
GWG
ben_thatmustbeme: Some stats on how much usage Vouch gets would be interesting.
#
ben_thatmustbeme
it looks like i only have 8 where i stored the vouch url, but i'm not sure I store them if they are whitelisted, have to check the code
tantek joined the channel
#
ben_thatmustbeme
yeah, confirmed, i don't keep the vouch if its someone i whitelisted
#
ben_thatmustbeme
so i actually don't know how many i really receieved
#
GWG
I just am curious how widespread vouch is.
#
GWG
I just sent a PR to pfefferle to pass the parameter without doing anything with it.
#
GWG
So, a future step is to actually have a handler.
#
ben_thatmustbeme
who wrote the wordpress webmention plugin exactly?
#
ben_thatmustbeme
need to get it tested with webmention.rocks
#
GWG
ben_thatmustbeme: Matthias Pfefferle.
#
GWG
I have been burying him in commits though.
#
GWG
He just fixed two tests there.
#
ben_thatmustbeme
well not nice about burying him, fixes=nice
KevinMarks_ and KevinMarks joined the channel
#
GWG
ben_thatmustbeme: He was offline for months and told me to keep going.
#
tantek
GWG, glad you're making incremental progress. Your patience is being rewarded.
#
GWG
tantek: I admit to being patience challenged.
#
GWG
Does anyone have an implementation of CSRF tokens for webmentions they can link me to?
#
kylewm
I'm pretty sure the csrf token for silo.pub is "CSRF_TODO"
#
GWG
I like to look at implementations.
#
Loqi
[indieweb] "Move to Moments, or Facebook Will Delete Your Synced Mobile Photos" by David Z. Morris http://fortune.com/2016/06/11/moments-facebook-mobile-photos/
yakker, snarfed and gRegorLove joined the channel
#
gRegorLove
GWG: I've used this for CSRF in some projects https://github.com/BKcore/NoCSRF
#
GWG
gRegorLove: I was curious to see a webmention implementation
#
gRegorLove
Like for a public webmention form? It would be the same as any other form.
#
GWG
gRegorLove: Agreed. Just I like to see how people implemented things
#
gRegorLove
Not sure I see much benefit, since by design a webmention endpoint can receive posts from anywhere
#
GWG
"if a Webmention endpoint does accept requests with additional headers, it SHOULD protect itself against Cross-Site Request Forgery (CSRF) attacks. One way to prevent CSRF attacks is by including a CSRF token in a query string parameter of the Webmention endpoint, so that a Webmention sender finds the token when discovering the endpoint."
#
gRegorLove
That's odd. I don't get it; must be missing something.
#
gRegorLove
Ok, it's in the context of authentication headers or cookies.
#
gRegorLove
Not aware of any implementations doing that
#
GWG
I think aaronpk does it
#
gRegorLove
He's using webmention.io, which doesn't have a csrf token
#
gregorlove.com
edited /token-endpoint (+0) "/* IndieWeb Examples */ fix silo.pub wiki link"
(view diff)
KevinMarks_ joined the channel
#
@lynncyrin
@aurynn I figure you've heard about Quirell and indieweb stuff then ~
(twitter.com/_/status/741823511698673665)
#
@lynncyrin
@aurynn indieweb (and its circle) is about independent / distributed web technologies http://indiewebcamp.com/
(twitter.com/_/status/741824171164848128)
tantek, cyberjar09 and KevinMarks joined the channel
#
tantek.com
edited /Events (+0) "move past June events"
(view diff)
#
tantek
!tell kylewm could you create an indie event and FB POSSE copy for https://indiewebcamp.com/events/2016-06-29-homebrew-website-club SF as well? I'll be back for that one :)
#
Loqi
Ok, I'll tell them that when I see them next
#
tantek
!tell gRegorLove what do you think of the top of https://indiewebcamp.com/events/2016-06-01-homebrew-website-club vs. https://indiewebcamp.com/events/2016-06-29-homebrew-website-club ? Wanted you to compare/contrast when considering how to best replicate HWC pages for July. Note newest image (for "featured" use) https://indiewebcamp.com/events/2016-06-01-homebrew-website-club#Photos
#
Loqi
Ok, I'll tell them that when I see them next
#
gRegorLove
Micropub question: on /token-endpoint the JWT example uses 'date_issued' then later under verification it uses 'issued_at'. Is one of those incorrect, or is it just whatever is set in the JWT initially?
#
Loqi
gRegorLove: tantek left you a message 5 minutes ago: what do you think of the top of https://indiewebcamp.com/events/2016-06-01-homebrew-website-club vs. https://indiewebcamp.com/events/2016-06-29-homebrew-website-club ? Wanted you to compare/contrast when considering how to best replicate HWC pages for July. Note newest image (for "featured" use) https://indiewebcamp.com/events/2016-06-01-homebrew-website-club#Photos http://indiewebcamp.com/irc/2016-06-11/line/1465701607835
#
gRegorLove
tantek: I like it
KevinMarks joined the channel
#
tantek
gRegorLove: cool. I know copy/pasting each month is a bit of a pain, but I do think the lower barrier to experimenting with the format of the page (without risking changing past pages) is helping with iteration to keep improving them
#
tantek
maybe it will settle/converge eventually
#
gRegorLove
Oh, I don't mind. I copy it in a text editor and then do find-and-replace for the dates. It's pretty quick.
Erkan_Yilmaz joined the channel
emmak, wolftune, snarfed and snarfed1 joined the channel
#
Loqi
[indieweb] "Decentralized Web Summit" by Ryan Barrett https://snarfed.org/2016-06-11_decentralized-web-summit
leg, tantek, Pierre-O and arthurspooner joined the channel
#
www.znmeb.mobi
created /User:Www.znmeb.mobi (+428) "Personal page for @znmeb"
(view diff)
Pierre-O, friedcell, KevinMarks_, leg, squeakytoy2, catsup and Yilmaz_Erkan joined the channel
Pierre-O and nitot joined the channel
#
j4y_funabashi
aaronpk: Just going through webmention.rocks and wondering if test 12 should have 2 more not-webmentions, one in the Link header and an extra anchor before the correct one?
frzn, Erkan_Yilmaz, friedcell, kerozene, Rev_Illo, arthurspooner, Kopfstein and tantek joined the channel
#
tantek.com
edited /events/2016-06-08-decentralized-web-summit (+278) "Blog Posts / snarfed post, kevinmarks notes"
(view diff)
#
tantek
is checking for typos since he brought that up
#
@stopsatgreen
@ninjabiscuit Thanks. And it’s x-posted from my own blog :) https://indiewebcamp.com/POSSE — but I generally get more traction from Medium.
(twitter.com/_/status/741996765935771648)
#
tantek
how does one measure "traction"? what does that even mean?
Rev_Illo, Erkan_Yilmaz, Yilmaz_Erkan, friedcell and mlncn joined the channel
#
tantek.com
edited /friendly (+297) "In Progress / Pandoc"
(view diff)
#
tantek
good morning #indiewebcamp!
#
sknebel
good evening tantek!
aliasd joined the channel
#
Loqi
[indieweb] "Recalling #IndieWeb Summit last weekend.
Yilmaz_Erkan joined the channel
#
Loqi
[indieweb] "willnorris starred miklb/jekyll-indieweb" by willnorris https://github.com/miklb/jekyll-indieweb
#
tantek
heh wat
#
tantek
there's a feed of starrings?
#
tantek
or is that some kind of proto-activity-stream post?
KevinMarks and KevinMarks_ joined the channel
#
KevinMarks_
Thanks for the typo fixes tantek
KevinMarks joined the channel
#
tantek
also funny about Cory saying P2P conf was 1999 (I think your 1989 was a typo), when it was actually in 2001
#
KevinMarks
Yes, we had a back and forth on twitter about it
_200ok joined the channel
#
tantek
I missed that
#
KevinMarks
Pretty sure Quinn and Danny's "Emerging Man" inspired Foo camp
wolftune, mlncn and KevinMarks_ joined the channel
#
GWG
I just emailed Akismet about webmention support
leg and gluytium joined the channel
KevinMarks, yakker, Lancey, loic_m, friedcell and KevinMarks_ joined the channel
#
Loqi
[indieweb] "Repost of Ben Werdmüller's post on werd.io" by Rick Mendes https://www.rmendes.net/2016/repost-of-ben-werdm%C3%BCllers-post-on-werdio-5752032e67
#
Loqi
[indieweb] "A un niveau personel, tout un chacun peut appliquer des notions de #platformcoop sur sa présence en ligne, notamment avec #indieweb" by Rick Mendes https://www.rmendes.net/2016/a-un-niveau-personel-tout-un-chacun-peut-appliquer-des
#
Loqi
[indieweb] "I really have to fix my enforcing of TLS on this site, otherwise until I do some #bridgy links don't get sync #indieweb" by Rick Mendes https://www.rmendes.net/2016/i-really-have-to-fix-my-enforcing-of-tls-on
#
Loqi
[indieweb] "Repost of Ben Werdmüller's post on werd.io" by Rick Mendes https://www.rmendes.net/2016/repost-of-ben-werdm%C3%BCllers-post-on-werdio-5ed09a41a3
#
Loqi
[indieweb] "could https://woodwind.xyz/ also have a "client" tab "Quill-like" to post new stuff from the reader? is that even a good idea ? #indieweb" by Rick Mendes https://www.rmendes.net/2016/could-also-have-a-client-tab-quill-like-to-post-new
#
Loqi
[indieweb] "@holden I have read it all before replying, but even before talking RSS (that I heavily use and in fact implement basic monitoring for clients" by Rick Mendes https://www.rmendes.net/2016/holden-i-have-read-it-all-before-replying-but-even
#
Loqi
[indieweb] "wrote some note/ideas a few days ago on how/why to get #journalists/project/community-managers/everyone on #IndieWeb" by Rick Mendes https://www.rmendes.net/2016/wrote-some-noteideas-a-few-days-ago-on-howwhy-to
#
Loqi
[indieweb] "Anyone at #HHconnect ever heard about #indieweb? If you're interested to talk about it (I'm just a participants, not inventor or developper) I'm available anytime" by Rick Mendes https://www.rmendes.net/2016/anyone-at-hhconnect-ever-heard-about-indieweb-if-youre-interested
#
bret
got an errror
arthurspooner joined the channel
#
@kevinmarks
my notes on a few of the lightning talks from Thursday's Distributed Web Summit http://www.kevinmarks.com/decentralweb2016-06-09.html #DWebSummit #indieweb
(twitter.com/_/status/742098180242690048)
#
Loqi
[indieweb] "my notes on a few of the lightning talks from Thursday's Distributed Web Summit http://www.kevinmarks.com/decentralweb2016-06-09.html #DWebSummit #indieweb" by Kevin Marks http://known.kevinmarks.com/2016/my-notes-on-a-few-of-the-lightning-talks-from
frzn_ joined the channel
#
wagle
hmm webmention wordpress plugin is broken
KevinMarks joined the channel
#
@devleakslinks
The #IndieWeb is important - it focuses on You, not the corporations that own the big silo content farms. http://devleaks.com/link/indieweb
(twitter.com/_/status/742114260034170881)
tantek, KevinMarks_, KevinMarks__, KevinMarks and gRegorLove joined the channel
#
gRegorLove
!tell aaronpk Micropub question: on /token-endpoint the JWT example uses 'date_issued' then later under verification it uses 'issued_at'. Is one of those incorrect? Is it OK to use whatever's in the JWT initially, or is 'issued_at' expected?
#
Loqi
Ok, I'll tell them that when I see them next
KevinMarks and KevinMarks_ joined the channel
#
j4y_funabashi
pretty excited to have gotten webmention.rocks tests 1-14 passing!
#
j4y_funabashi
not sure why yet but getting a 405 Method Not Allowed on test 15
#
ben_thatmustbeme
j4y_funabashi++
#
Loqi
j4y_funabashi has 2 karma
#
j4y_funabashi
either way, I am v happy to see my site starting to communicate with other peeps :D
#
ben_thatmustbeme
What are you using to run your site?
#
Loqi
It looks like we don't have a page for "you using to run your site" yet. Would you like to create it? https://indiewebcamp.com/s/10ND
#
ben_thatmustbeme
Nevermind, just saw it on your user page. Cool
#
ben_thatmustbeme
If you have the time, could you submit an implementation report?
#
j4y_funabashi
hey ben_thatmustbeme what do you mean by implementation report?
#
j4y_funabashi
aw no! all webmention.rocks Discovery Tests passing except 15! too tired to fix it now but 20/21 isnt too shabby for one weekend
#
j4y_funabashi
does happy dance
#
ben_thatmustbeme
It's basically just a checklist of things
#
j4y_funabashi
ben_thatmustbeme: I will certainly write something up once it is working + stable, code repo is here: https://github.com/j4y-funabashi/aruna
#
ben_thatmustbeme
Wow, looks really clean. Is that in some framework?
emmak, tantek and [shaners] joined the channel
#
[shaners]
Just a little thing
#
Loqi
[shaners]: tantek left you a message 1 day, 1 hour ago: sure dimensions request is reasonable. I'm going to be biased and ask for iPod Touch 5 (also iPhone 5) first :) 1,136 by 640 http://indiewebcamp.com/irc/2016-06-11/line/1465680972888
#
[shaners]
!tell tantek I’ll make them in whatever order you/other submit them as issues on the GH repo :wink: https://github.com/indieweb/branding/issues
#
Loqi
Ok, I'll tell him that when I see him next
#
aaronpk
good afternoon. catching up on logs...
#
Loqi
aaronpk: ben_thatmustbeme left you a message 22 hours, 57 minutes ago: i fail this test because i use vouch, it returns 449, not 400 http://indiewebcamp.com/irc/2016-06-11/line/1465692335015
#
Loqi
aaronpk: gRegorLove left you a message 1 hour, 20 minutes ago: Micropub question: on /token-endpoint the JWT example uses 'date_issued' then later under verification it uses 'issued_at'. Is one of those incorrect? Is it OK to use whatever's in the JWT initially, or is 'issued_at' expected? http://indiewebcamp.com/irc/2016-06-12/line/1465770133222
#
aaronpk
GWG: snarfed: what is the issue with thhe 200/201 for bridgy? the spec only talks about creating "status page" resources and returning http 201, but it makes sense that if something else is created it would also return 201. it should only return 200 if there is no location header returned
#
aaronpk
ben_thatmustbeme: interesting about the http 449 response. wonder if we should add some leniency to the spec to support extensions like that then
#
aaronpk
GWG: webmention.rocks uses csrf tokens itself
#
ben_thatmustbeme
I figure the extension would specify to override that
#
aaronpk
gRegorLove: the example that has "date_issued" is a self-contained example of one way to create tokens so doesnt relate to the other example with "issued_at" below
#
gRegorLove
aaronpk: So the token verification step, issued_at is optional?
#
aaronpk
j4y_funabashi: did you encounter a specific case where your suggestion would have had different results with your code?
#
emmak
gRegorLove: i didn't bother including the issued date in my tokens
#
emmak
i think its only needed if you want them to expire after a certain time
#
aaronpk
most of how you deal with tokens isnt actually part of the spec
#
gRegorLove
Ok. Just wanted to make sure it wasn't something micropub clients expected
#
aaronpk
clients shouldnt actually know anything about the tokens
#
aaronpk
tokens are just opaque strings to clients