#dev 2017-03-10

2017-03-10 UTC
#
jonnybarnes
aaronpk: your Quill client, I’m looking at the code on github, if I try and upload a photo to a media endpoint, is the photo first uploaded to https://quill.p3k.io/micropub/media and then your server POSTs it to the actual media endpoint?
#
aaronpk
correct, haven't added video support yet
#
jonnybarnes
wow Slim code is weird
#
jonnybarnes
as oppose to your correct_photo_rotation
#
aaronpk
that's in there because the iPhone uses exif data to set the rotation rather than writing the image data in the correct order, so that function rewrites the image to the proper orientation without needing exif support
#
jonnybarnes
yeah, and in firefox img { image-orientation: from-image; } rotates the image for you by reading the exif data
#
aaronpk
why isn't that just the default behavior?
#
jonnybarnes
well, this may be a silly question, but when did browsers first start supporting images? and when did image orientation being put in EXIF data become a thing
#
jonnybarnes
it wouldn’t surprise me if images in browsers came first
#
jonnybarnes
and no-ones added it yet, well Firefox have...
#
aaronpk
i guess i'm surprised it's not considered a browser bug
#
aaronpk
that exif orientation is disregarde
#
Loqi
[Seth Fowler] CSS Image Orientation Lands in Firefox 26
#
aaronpk
"Chrome and Safari support it when the image is the top-level document" this is why i'm surprised
tantek joined the channel
#
aaronpk
maybe tantek knows about this
#
aaronpk
oh gosh
#
aaronpk
"Dropping image-orientation in favor of an HTML attribute is already planned"
#
aaronpk
what a mess
#
aaronpk
yeah i don't feel so bad about having that function in quill now
miklb joined the channel
#
aaronpk
btw anyone who has written a micropub client, I'd love to have you try out the new micropub.rocks tests
#
aaronpk
jonnybarnes myfreeweb cweiske ben_thatmustbeme martymcguire[m] ^
tantek joined the channel
#
jonnybarnes
would it be a violation of the spec to write a client that will only use https endpoints?
[chrisaldrich] joined the channel
#
@ChrisAldrich
@megarush1024 Another webmention test both natively and via Twitter.
(twitter.com/_/status/840013524147589121)
#
hugo.soucy.cc
edited /User:Hugo.soucy.cc (+136) "/* Setup */"
(view diff)
#
www.boffosocko.com
created /Webmention_overview (+13303) "Overview of Webmentions written specifically for generations 2+"
(view diff)
[chrisaldrich] and wshakes joined the channel
#
martymcguire[m]
aaronpk: is it possible to get the micropub.rocks token endpoint to return a form-encoded response rather than a JSON payload with the access_token?
#
martymcguire[m]
ah, looks like no.
KartikPrabhu joined the channel
#
aaronpk
ooh I didn't implement content negotiation on that
Guest4533 joined the channel
#
@ChrisAldrich
@megarush1024 Spam folder maybe? Webmentions often go to my spam folder.
(twitter.com/_/status/840054586396311552)
#
martymcguire[m]
i forked and made some updates to kylewm's flask-micropub lib that i use to handle client auth. PR is here if anyone is interested: https://github.com/kylewm/flask-micropub/pull/4
#
martymcguire[m]
i wasn't able to find a spec regarding content negotiation on auth/token endpoints. is that part of oauth2?
#
martymcguire[m]
at any rate, i was able to log in and pass a couple of tests. hooray! https://micropub.rocks/client/B6NUmVpmoH7k8tlz
#
martymcguire[m]
i guess i don't know if that is accessible by other people.
#
martymcguire[m]
probably a good sign that it is time for sleep
loicm_ joined the channel
#
aaronpk
martymcguire[m]: it's not part of OAuth, I am just planning on switching the IndieAuth spec to do JSON responses so I am adding conneg to my endpoints to slowly transition
tantek, tantek_, barpthewire and cweiske joined the channel
#
jonnybarnes
you’d want a token for recent uploads to a media-endpoint? i.e. a client would go “Here’s my token, what have I uploaded recently?”
#
jonnybarnes
and the media endpoint would then return a list of URLs for the client to use
#
cweiske
or, a list of all files, sorted by creation date desc
#
@wbellauthor
RT @ReadersGazette BLOG Indie Author Answers by Jim Heskett http://www.thejugglingauthor.com/indieauth/ Get help writing your book #bookbloggers 95
(twitter.com/_/status/840149978223796229)
#
@mlhutchinson66
RT @ReadersGazette BLOG Indie Author Answers by Jim Heskett http://www.thejugglingauthor.com/indieauth/ Get help writing your book #bookbloggers 95
(twitter.com/_/status/840149882816081920)
barpthewire, [keithjgrant], [terminalpixel] and singpolyma joined the channel
#
aaronpk
I like this idea of listing recent files uploaded
#
aaronpk
I would totally use that. I have a keyboard shortcut to upload a screenshot to my media endpoint, and I often then paste the URL into Quill to add the photo to a post
#
aaronpk
what happened to the certificate info menu in chrome??
#
aaronpk
oh gosh it moved to developer tools??
[keithjgrant] joined the channel
#
aaronpk
oh boy, chrome 57 removed my startcom root
#
aaronpk
ah crap. "Due to a number of technical limitations and concerns, Google Chrome is unable to trust all pre-existing certificates while ensuring our users are sufficiently protected from further misissuance. As a result of these changes, customers of WoSign and StartCom may find their certificates no longer work in Chrome 56." https://security.googleblog.com/2016/10/distrusting-wosign-and-startcom.html
#
aaronpk
welp guess i have to replace my wildcard certs with individual letsencrypt certs now
#
aaronpk
awesome. this is going to be so much fun. :eyeroll:
#
aaronparecki.com
edited /User:Aaronparecki.com (+672) "/* itching */"
(view diff)
miklb joined the channel
#
aaronpk
wahhhh my whole internet is broken
miklb joined the channel
#
[keithjgrant]
oh man that sucks. Sorry ?
tantek joined the channel
#
aaronpk
i wouldn't be so annoyed if I weren't actually taking advantage of the wildcard certs
tantek joined the channel
#
sknebel
aaronpk: on #sandstorm someone recently linked this for affordable wildcard certs: https://www.ssl2buy.com/wildcard-ssl-certificate/ (in case you want one to bridge the time to build something LE-based out properly)
miklb joined the channel
#
aaronpk
i'll probably just do letsencrypt. i have a system pretty well set up for it now.
#
aaronpk
my autorenewals on a cron job are working great, and i have a single command to set up a new cert
loicm_ joined the channel
#
aaronparecki.com
edited /Main_Page (+36) "/* Wiki Resources */ use public/private blocks for login/out links"
(view diff)
#
petermolnar
oh. I just realised I used absolute symlinks for redirect/image stuff instead of relative. So much for portable static site...
miklb, tantek and [chrisaldrich] joined the channel
#
aaronpk
i keep forgetting quill doesn't work with my chrome right now and i keep clicking "reply" to things
#
tantek
you don't also run Firefox?
#
tantek
e.g. Firefox as your Quill runner ;)
#
aaronpk
yeah i have to switch to firefox for this
#
sknebel
in OAuth endpoints (writing an authentication endpoint right now), is there a reason to tolerate unknown parameters?
#
aaronpk
i think that depends on the context
#
aaronpk
extensions are one reason. but there might be security considerations about allowing arbitrary parameters.
#
sknebel
that's why I'm asking. Are there extensions where something useful happens when an endpoint doesn't understand them and falls back to normal behaviour?
#
aaronpk
is this for the authorization endpoint? the interface the user sees?
#
sknebel
for the internal calls. e.g. the initial call I receive with with client_id, redirect_uri, state, response_type, or the token verification call at the end of the indieauth flow
#
sknebel
(internal is a bad word. the calls that applications using the endpoint call)
#
aaronpk
some examples of extension-like things that some providers have done are things like: add a parameter so the app can request the user be required to authenticate again
#
sknebel
hm, and presumably an app might sent that parameter "out of the blue", since it doesn't know if I support it or not
#
aaronpk
the spec does say that new endpoint parameters are allowed https://tools.ietf.org/html/rfc6749#section-8.2
gRegorLove joined the channel
#
loqi.me
edited /tip (+14) "tantek added "[[[[pay]]]]" to "See Also""
(view diff)
#
tantek
chrisaldrich LOL
#
gregorlove.com
edited /Events (+2244) "/* 2017 */ March+April HWCs"
(view diff)
#
jonnybarnes.uk
edited /DNSSEC (+98) "/* Hosted DNS Providers with DNSSEC support */ add dnsimple"
(view diff)
#
gregorlove.com
edited /playlist (+27) "audio/video, not just songs. wiki links"
(view diff)
[dgold] joined the channel
#
www.boffosocko.com
edited /playlist (+98) "XSPF an XML format for sharing playlists"
(view diff)
#
tantek
chrisaldrich does anything actually support XSPF?
#
tantek
or is it a defunct format now?
#
gRegorLove
Fun background on https://soundiiz.com. Click near the dots and you can draw connections
#
[chrisaldrich]
tantek, I'm not aware of anything supporting XSPF, but added it more as an example of something that existed. I haven't heard anything relating to it in over 5 years....
#
[chrisaldrich]
none of the silos support anything close to it, to my knowledge.
#
tantek.com
edited /Instagram (+5) "update: multiphotos support person-tags now"
(view diff)
#
tantek.com
edited /multi-photo (+141) "/* Instagram */ update: multi-photo per-photo person-tag support"
(view diff)
[jeremycherfas], KartikPrabhu, [kevinmarks], tantek and [dgold] joined the channel
#
tantek.com
edited /Webmention-developer (+55) "always explicitly note the user/feature benefit, even for developers"
(view diff)
#
tantek
what is a webmention developer?
#
Loqi
This page documents technical details of Webmention, specifically for Webmention developers so they can support cross-site comments and other responses in their code, or on their site or service https://indieweb.org/Webmention-developer
#
tantek
what is continuous deploy?
#
Loqi
It looks like we don't have a page for "continuous deploy" yet. Would you like to create it?
#
tantek
bear?
#
tantek.com
edited /continuous_integration (+156) "linky [[continuous deploy]], subsections for software and services"
(view diff)
#
tantek
hopes he is classifying things correctly
#
tantek
what is Gratipay
#
Loqi
Gratipay (formerly Gittip) is a payment silo that allows individuals and organizations to receive tips to their Gratipay account which is associated with a number of different silo accounts such as github, bitbucket, twitter, openstreetmap, etc https://indieweb.org/Gratipay
#
tantek.com
edited /tip (+17) "silo examples, fix see also"
(view diff)
#
tantek
what is continuous deploy?
#
Loqi
It looks like we don't have a page for "continuous deploy" yet. Would you like to create it?
#
tantek
bear you used that term as part of your dfn of CI
#
bear
continuous deploy is a software engineering technique where teams develop features in short cycles so that the software is released continuously
#
loqi.me
created /continuous_deploy (+172) "prompted by tantek and dfn added by bear"
(view diff)
#
bear
continuous deploy <<< continuous integration
#
bear
continuous deploy <<< CI
#
tantek.com
edited /tip (+695) "dfn for indieweb, why section, how to stub, silo examples"
(view diff)
#
tantek
whoa triple < ?
#
bear.im
edited /continuous_deploy (+41) "add see-also"
(view diff)
#
tantek
aaronpk, please review my edits to see if they make sense with your intent and implementation: https://indieweb.org/tip
#
bear
oh - did I use the wrong syntax
#
tantek.com
edited /Allo (+36) "see also"
(view diff)
#
tantek.com
edited /Atlas (+16) "linky linky"
(view diff)
#
tantek.com
edited /Atlas (+8) "see also"
(view diff)
#
tantek.com
edited /Jenkins (+32) "dfn linky, fix see also"
(view diff)
[kevinmarks] joined the channel
#
www.boffosocko.com
edited /annotation (+224) "link to spreadsheet of annotation services"
(view diff)
ben_thatmustbeme joined the channel
#
tantek
a google doc for that are you kidding me?
#
www.boffosocko.com
created /pnut (+377) "basic definition"
(view diff)
#
tantek.com
edited /Webmention-developer (+25724) "just copy everything else over because it's nearly all developer centric by default, can clean it up *for developers* here incrementally, How to stubs"
(view diff)
#
gRegorLove
What is IWC Bellingham?
#
gRegorLove
What is IndieWebCamp Bellingham 2017
#
Loqi
It looks like we don't have a page for "IndieWebCamp Bellingham 2017" yet. Would you like to create it?_
#
gRegorLove
Well, it's missing a u-url, which I can fix, but I actually have no idea what php-mf2 is doing to get that u-url. Just using the last link? http://pin13.net/mf2/?id=20170310233344509
#
tantek.com
edited /Webmention-developer (+355) "/* Page To Do */ got some done, add more to do"
(view diff)
#
gRegorLove
Doing the same thing for Dusseldorf. Interesting. http://pin13.net/mf2/?id=20170310233947592
#
gregorlove.com
edited /Events (+45) "/* May */ <a href> + u-url for IWC Bellingham"
(view diff)
#
gregorlove.com
edited /Events (+47) "/* May */ same fix for Düsseldorf"
(view diff)
#
www.funwhilelost.com
created /Gomix (+188) "prompted by tantek"
(view diff)
#
tantek.com
edited /Webmention () "(-20105) trim indieweb examples down to those with screenshots, cut dev-only examples / tools / resources (already on [[Webmention-developer]]), simplify other sections too"
(view diff)
#
tantek
aaronpk, now take a look at /Webmention - I think I'm done with the first major round of coarse edits to make /Webmention more user-centric instead of dev-centric. Mostly involved cutting content rather than writing anything new
#
tantek
the screenshots you added help A LOT and the IndieWeb examples all focus on those
#
aaronpk
oh wow okay
#
tantek.com
edited /Webmention (+197) "see / add to webmention-developer examples instead of this one"
(view diff)
#
tantek
aaronpk: is this more user-friendly linkable now that yesterday? https://indieweb.org/Webmention
#
tantek
*than
#
tantek
it's by no means complete, but I wanted to at least do a first pass to reduce the amount of developer-isms that are likely 'wall of text / tl;dr' turn offs to non-devs
#
aaronpk
this is *much* better
#
tantek.com
edited /Webmention (+22) "expand dfn to include next sentence."
(view diff)
#
gRegorLove
What is Gomix
#
gregorlove.com
edited /Gomix (+17) "dfn"
(view diff)
#
gRegorLove
What is Gomix
#
Loqi
Gomix is a tool by Fog Creek Software to allow you to quickly prototype web applications in a complete IDE with built in version control, sharing, and more https://indieweb.org/Gomix
#
tantek
aaronpk, my goal is to do something similar with all our protocols / formats pages
#
tantek
incrementally over time
#
tantek
such that pages in general are *by default* readable / useful / motivational for gen 1-3 at least
#
tantek
and that anything gen 1 only is *-developer
#
gregorlove.com
edited /Gomix (-7) "link in dfn, link Node.js"
(view diff)
#
tantek
anyway, I'm happy to do this incrementally as you or others see specific pages needing such an upgrade - like you want / need to link to a page on the wiki that describes something so gen 1-3 can grasp and act
#
tantek
hopefully /Webmention & /Webmention-developer are a good start in this regard
#
tantek.com
edited /WordPress_export (+81) "linky, see also"
(view diff)
#
tantek.com
edited /Brave (+52) "see also"
(view diff)
#
tantek
alright, some cleanup of new pages in the newsletter done
#
aaronpk
ahhhh restoring my https websites
#
aaronpk
it's like the life is being breathed back into me