2015-08-28 UTC
rMdes joined the channel
# 00:48 kylewm ben_thatmustbeme: the float makes it wrap oddly in my firefox -- looks much better without .h-entry time { float:left; }
# 00:49 kylewm ah, it's because something is blocking the facebook avatars
# 00:53 kylewm (still think it looks better without the float :P)
tantek, mlncn, benwerd, shiflett, zz_tridnguyen, Kongaloosh, voxpelli_, sensiblemn, Unifex and mblaney joined the channel
# 03:32 mblaney I've been reading about indie-config, which is really cool.
halorgium, reidab and minsky joined the channel
# 03:34 mblaney I took some steps to register a protocol handler, added <indie-action> tags to some links, and then waited for the magic to happen....
# 03:35 mblaney then after some more reading, I realised <indie-action> requires the shim that indie-config supplies.
# 03:36 mblaney so I'm wondering why people would add <indie-action> tags without the shim? are they waiting for web components to handle it for them?
niamu joined the channel
# 03:48 kylewm (they used to just be called <action> until someone -- adactio i think -- pointed out that web components need to be hyphenated)
# 03:50 mblaney aaah nice. thanks kylewm! another piece of the puzzle.
# 03:55 mblaney do you know if the browser extension gets preference of the javascript shim?
# 03:56 Loqi mblaney meant to say: do you know if the browser extension gets preference over the javascript shim?
ScruffyDan, indie-visitor, glennjones, shiflett, loic_m, yoroy, eschnou, friedcell, almereyda, benborges, hidgw and tantek joined the channel
# 07:34 Jeena Zegnat, yep, the names are right, thanks!
benborges, tantek and pfefferle joined the channel
pfefferle, lewisnyman and friedcell joined the channel
pfefferle, tvn and pfefferl_ joined the channel
# 09:21 Loqi CORS is an acronym for "cross-origin resource sharing," a mechanism for allowing browsers to make JavaScript requests to fetch resources from other domains https://indiewebcamp.com/CORS
j12t, pfefferl_ and pfefferle joined the channel
# 09:50 tantek goes down the Content-Security-Policy rabbithole
pfefferle joined the channel
# 09:56 tantek both YouTube and Vimeo redirect to https. Youtube has a "http:" rel-canonical, while Vimeo has "/" relative rel-canonical (thus implied "https:" canonical by the redirect)
# 09:57 tantek I'm considering always upgrading http: youtube and vimeo links to https: links (and embeds when requested) in CASSIS auto_link
# 10:01 myfreeweb consider always upgrading links that match the HTTPS Everywhere rulesets
j12t joined the channel
# 10:05 tantek myfreeweb: for now I'm only consider the existing hardcoded domains in cassis.js auto_link
minsky, Unifex, MrClaw, MylesBraithwait-, Nowaker, anm, reidab, halorgium, sensiblemn, Kongaloosh, KartikPrabhu, tommorris and jonnybarnes joined the channel
reidab, halorgium, sensiblemn, Kongaloosh, KartikPrabhu, tommorris, jonnybarnes and pfefferle joined the channel
# 10:42 myfreeweb this should mention unsafe-inline and data: URIs
# 10:44 myfreeweb hmmmm what's child-src? never heard of it
j12t joined the channel
# 10:44 myfreeweb there's frame-src
modem_, pfefferle and LanceyWork joined the channel
pfefferle joined the channel
modem and frzn joined the channel
# 11:22 myfreeweb that's a recent editor's draft, i'm not sure this directive is implemented anywhere
# 11:22 myfreeweb anyway, you don't need to allow web workers from youtube and vimeo, only frames
pfefferle joined the channel
j12t joined the channel
pfefferl_ joined the channel
pfefferle, pfefferl_, nedorito, friedcell, BjornW, mlncn, j12t and nitot joined the channel
pfefferle joined the channel
Pierre-O joined the channel
# 12:26 GWG pfefferle: I just commented on Semantic Linkbacks Issue #35. Curious what you think.
# 12:28 GWG pfefferle: There are two ways for it to be better. Either Semantic Linkbacks permanently changes the comment_text instead of using a filter or uses the notification_text filter to edit the notification output
# 12:29 GWG The notification functiosn use the raw comment_text without a filter
# 12:30 pfefferle GWG but this can't be the problem, because the comment-text is never completly empty
# 12:31 GWG pfefferle: The other plugin was blanking it out.
# 12:33 GWG I looked at the code for it. To get 'nicer' emails it wraps the output from the functions as opposed to generating custom notification code.
# 12:34 pfefferle GWG ok, but the comment-text is not empty, the webmention plugin always adds some text that is saved in the db
# 12:35 GWG pfefferle: My position is that there isn't a problem that wasn't there before.
# 12:36 GWG The comment notification email was messed up before the change, and is still messed up after the change, but at least now the comment author shows correctly, which is useful.
# 12:36 pfefferle GWG agreed, the email text shouldn't be completely empty, so I think this might be a bug in the email plugin
# 12:36 GWG pfefferle: When he turned it off, he got the comment I got in testing.
# 12:38 GWG pfefferle: Maybe I should write a simple plugin called Better Semantic Linkbacks Notification Emails that uses the prettified versions. Not sure that belongs in the main plugin
# 12:39 pfefferle GWG what do you mean with prettified version? saving the content to the DB, using the classic notification hooks or using the custom hooks of the email plugin?
# 12:41 GWG Saving the content to the database
# 12:42 pfefferle this would be very sad, because it would lower the possibilities
# 12:43 pfefferle GWG hmmm, I should really have a look at that notification stuff...
# 12:45 pfefferle GWG ah ok, there might be cases that the comment might be empty... have to have a more detailed look at the webmention plugin...
j12t joined the channel
# 12:55 GWG pfefferle: I agree with not saving to the database.
# 12:59 GWG pfefferle: I will see about writing code for better display. I tried that, if you recall. I thought it was too much
pfefferl_, pfefferle and benborges joined the channel
# 13:11 pfefferle GWG it would be nice if we could reuse the functions to replace the content, to replace the email content
# 13:11 GWG pfefferle: The filter available filters the entire text, not just the comment output.
# 13:12 GWG So we'd have to generate an entirely new email text to address
# 13:12 GWG That is the code I put in the pull request.
# 13:13 GWG pfefferle: I am thinking of submitting a ticket to WordPress about it
# 13:14 GWG I was submitting multiple tickets about it when I left
# 13:14 pfefferle GWG not that deep into the notification stuff that I perhaps should be ;)
# 13:14 GWG This was the only one that I finished
# 13:18 tantek is naming another URL piece related function and making the problem worse.
# 13:19 pfefferle GWG ah ok, had a quick look at the code and now I can understand why you did, what you did... this is really not perfect :(
pfefferl_ and pfefferle joined the channel
# 13:25 tantek just named a new cassis function relative_uri_hash as the least divergent/bikeshedding / maximum term re-use alternative he could think of for "everything in the URL after the protocol". :/
pfefferle, j12t, eschnou, glennjones and snarfed joined the channel
# 13:36 GWG pfefferle: Not sure there is a better way
# 13:36 tantek voxpelli: the sad part is I am STILL running into the problems documented in that post
# 13:37 tantek ok looks like https upgrading of vimeo and youtube links is working in cassis locally so...
pfefferle and eschnou joined the channel
# 13:45 tantek and my GitHub app is in a odd state of not running, and yet when I right-click on it in the dock, it shows current projects as it if was open. hmm.
snarfed, fourtonfish, eschnou, pfefferl_, pfefferle, j12t and glennjones joined the channel
# 14:22 Loqi Ok, I'll tell her that when I see her next
mlncn and pfefferle joined the channel
# 14:26 GWG pfefferle: I may bump up a proof of concept plugin for improving notifications.
yoroy and benwerd joined the channel
# 14:39 tantek has climbed up out of various nested rabbitholes back to the CSP rabbithole and is ready to try it on his site.
pfefferle and indie-visitor joined the channel
# 14:53 Loqi Welcome, indie-visitor! Set your nickname by typing /nick yourname
# 14:53 tentonbricks Good morning, all.
# 15:00 tantek well this is interesting, in testing my CSP header on my *local* version of my site, I see that what I put breaks mystyling
# 15:00 tantek thus wondering, where are my style sheets coming from ...
pfefferle joined the channel
# 15:02 kylewm !tell elliottucker it looks like your ssl certificate on elliottucker.net expired
# 15:02 Loqi Ok, I'll tell them that when I see them next
# 15:08 voxpelli aaronpk: how do you handle the fact that Quill sometimes sends you html and sometimes plain-text?
shiflett joined the channel
# 15:08 aaronpk I'm pretty sure I'm going to change the way it sends html
# 15:09 voxpelli I'm thinking I would want to treat html as html and convert it to markdown while I would want to treat plain text as markdown
# 15:09 voxpelli (and yes, I'm aware that markdown is controversial – but it's what I use elsewhere on my blog so makes it more consistent)
# 15:10 aaronpk I often write blog posts in markdown, but my notes are just plaintext
# 15:10 aaronpk and sometimes I use html in blog posts, but technically that also counts as markdown
# 15:10 tantek the fact that you have to distinguish "markdown" from "just plaintext" means markdown has failed its first principle
# 15:10 aaronpk with my plain notes, I don't want any processing of the text
# 15:11 tantek and before you know it, you're building a subset of auto-markdown
# 15:11 aaronpk I don't autoembed, I put those things at the end of the post outside the content
# 15:11 voxpelli the problem with not being able to distinguish between html and plaintext/markdown is that auto-paragraphing becomes impossible
# 15:12 aaronpk when I type <b> in a note, I want it to be rendered as <b>
# 15:12 voxpelli aaronpk: there was some discussion about whether to make html in micropub map to the "e-content" style – right?
# 15:12 aaronpk but if I type <b> in a article, I want it to literally be <b>
# 15:13 aaronpk so yeah if we look at how microformats handles this, it's p-content vs e-content
# 15:13 aaronpk with p-content, there is only a string value, but with e-content there's an object with "html" and "value" properties
# 15:13 voxpelli and micropub should pretty much be JSON/form-data -> microformats while a microformats parser is the reverse
# 15:13 aaronpk so basically i'm thinking micropub clients should send "content":{"html":"<b>Hello World</b>"}
if they want to send html content
pfefferle joined the channel
# 15:14 voxpelli I wonder how much of a breaking change that will be in the community
# 15:14 aaronpk otherwise "content":"<b>Hello World</b>" should be interpreted as plaintext and the website should render those as escaped html tags <b:gt;Hello World</b:gt;
# 15:14 tantek voxpelli: it is solved with p-content vs e-content
# 15:15 tantek it drove me to write a new auto_space() function specifically to convert whitespace into markup
# 15:15 voxpelli can't we fundraise a community blogger that blogs small focused updates? ;)
# 15:16 voxpelli tantek: do you publish cassis-methods as npm modules?
# 15:16 tantek aaronpk, yes on micropub clients *must* send content: ... html: ... etc.
# 15:16 tantek I don't know how to publish cassis as an npm module
# 15:17 tantek pretty sure we solved all the auto-space/para and auto-escape issues with the white-space discussion last week
# 15:17 voxpelli tantek: you have a package.json so I think "npm login" and "npm publish"
# 15:17 aaronpk so if I go change Quill to do this right now, what will happen is it will definitely break people using the quill html editor
# 15:18 voxpelli tantek: + adding a node.js module wrapper around the code
# 15:18 aaronpk and I have a feeling most peoples' micropub endpoints are not escaping plaintext content, since that's basically how the html editor was able to get html to show up on ppls' sites
# 15:18 tantek voxpelli: sure! be sure to edit the contributors file as part of your PR
# 15:18 tantek I think some other packaging thing is in there too that someone else did
# 15:19 voxpelli aaronpk: make it as a propertly like you did in OwnYourGram?
# 15:19 tantek because cassis is both JS and PHP, it has lots of packaging potential
# 15:22 aaronpk don't know how i completely forgot i had added that to the wiki a month ago
# 15:24 tantek aaronpk - hence why it's always good to check the wiki first - you may find that your past self put something there ;)
# 15:24 voxpelli one can also set it up so that eg. Travis CI auto-publishes
# 15:24 tantek voxpelli: I don't use Node so I'm not worried about how to publish them
# 15:24 tantek I'm happy to accept PRs for folks that do however!
# 15:25 voxpelli tantek: I can help with publishing then if anyone feels a need for it – I will see if I make use of the methods myself
pfefferle joined the channel
# 15:26 voxpelli aaronpk: I will go ahead and adapt my endpoint module to the html attribute then
friedcell joined the channel
# 15:28 voxpelli aaronpk: shouwl one support anything else but the "html" attribute – like if the "html" isn't there, should one pick "value" or should one expect that if it's an object then there's always supposed to be an "html" property?
# 15:29 aaronpk for now I think if it's an object there should always be an "html" property
# 15:29 aaronpk microformats fallback rules would say to use the value as plaintext if you don't recognize the object
# 15:30 aaronpk that seems better. so the code would look for content.html, content.value, content
friedcell1 joined the channel
wolftune joined the channel
# 15:36 tantek got my CSP working across Firefox, Chrome, Safari!
pfefferle joined the channel
# 15:37 tantek time to share my CSP directive to the wiki I suppose
# 15:50 tantek which is to say, auto_space does nothing to tabs. per ignore things you don't care about. :)
# 15:50 aaronpk wow, I didn't realized CloudFlare is effectively a free and easy way to get an SSL cert
# 15:50 oddvar KevinMarks, inserts spaces instead, no?
# 15:51 tantek if you use tabs in your HTML source, you're going to have a bad time
# 15:51 KevinMarks I know you don't approve of them, wondering about people on the tabs side of the debate and what they expect to happen
# 15:57 voxpelli aaronpk: took a stab at documenting the content[value] fallback
# 15:59 tantek KevinMarks: currently there are zero people who publish plain text content with tabs and expect it to "work" with white-space:pre-wrap
j12t joined the channel
# 16:00 tantek I don't care about people on the "tabs side of the debate" who are not actually using tabs as part of presentational whitespace on their own site.
# 16:00 tantek Once they ship, then we can consider. Until then, they can debate amongst themselves in email.
ttepasse joined the channel
cleverdevil joined the channel
# 16:05 tantek ok, fully documented the /CSP I deployed with reasons why for each directive
# 16:07 Loqi Ok, I'll tell them that when I see them next
# 16:11 myfreeweb why are you using twitter's javascript? does it even do anything?
# 16:12 myfreeweb i see the same behavior of reply/retweet/like buttons with and without javascript on your site
# 16:13 GWG I have too many things that I want to do
fkooman joined the channel
snarfed joined the channel
# 16:33 tantek myfreeweb: for the "Tweet" buttons on my blog posts with tweeted counts
# 16:38 tantek myfreeweb++ thanks for the CSP review and questions!
benwerd, benwerd_ and stream7 joined the channel
# 16:52 myfreeweb it's included with "//"
# 16:52 myfreeweb your site is not https
# 16:52 myfreeweb result: it tries to load them from http
# 16:53 tantek now checking to see if that's my fault (the twitter http)
# 16:53 myfreeweb twitter loads on the same protocol as your site
# 16:54 myfreeweb there's no explicit http:// twitter. you explicitly allowed only https:// twitter in CSP, twitter's script is js.src="//platform.twitter.com/widgets.js"
j12t joined the channel
# 16:54 myfreeweb (do you really need that tweet count button?)
nedorito joined the channel
# 16:57 tantek myfreeweb: good question - I'll re-evaluate the design decision later
snarfed, mlncn, j12t, KevinMarks_, ttepasse and yoroy joined the channel
wolftune joined the channel
shiflett, eschnou and glennjones joined the channel
# 19:23 kylewm tantek: kind of you to say, but I am so far from a security expert, security expert is a dot to me. your recommendations make sense though!
benwerd and lordabdul joined the channel
davbo joined the channel
# 19:56 benborges dumb question but, if i use the reply-to against a FB url, does it land on the comment section on FB like on twitter ?
# 19:57 benborges KartikPrabhu, i'm using Known
benwerd joined the channel
# 20:01 benwerd The answer is: not right now, but that would be neat
# 20:02 kylewm benborges: it's very difficult to do because of restrictions in the facebook API
# 20:03 kylewm it's nigh impossible to find the facebook ID of a post from its URL
# 20:04 benborges thanks for the answers though :)
cleverdevil and KevinMarks joined the channel
friedcell and cleverdevil- joined the channel
# 21:01 KevinMarks I see timezone issues too - woodwind was saying 'a day ago' for Amy's posts that were an hour ago
# 21:01 KartikPrabhu does one really need millisecond precision for anything on the Web? specially communication?
# 21:02 kylewm Woodwind also sometimes says "a day from now" for adactio's posts
# 21:02 aaronpk relative times are only useful for very recent posts
# 21:03 aaronpk because "a day ago" loses all context of the time of day they posted, which might be significant to the post
# 21:03 bear I like relative only if the bumps are hour, hours and then day, days
# 21:04 bear otherwise > 3 hrs and you think your a day late to the flow
# 21:04 kylewm lol at Gillmor: "Thanks to Robert Scoble, do you get paid by Facebook, by the way?"
wolftune joined the channel
# 21:05 KartikPrabhu I mean really don't care if kylewm replies 200 milliseconds before aaronpk
# 21:05 kylewm KevinMark's Amy's posts don't show up as a day ago anymore, do they?
# 21:05 aaronpk I like showing relative times with two units, so "1 day 3 hours ago" or "4 hours 30 minutes ago"
# 21:06 bear I avoid the minutes in some of the code i've written by adding in "or so" to the text :)
# 21:06 aaronpk but beyond 2 days I would just put the actual date
# 21:07 aaronpk because then you start losing more context, "4 days ago".. was that monday or tuesday?
# 21:08 KevinMarks is their local time better communicated by 'in the morning' etc
# 21:09 bear personally I find morning/evening to be confusing because I'm time shifted so cannot assume that the other people are (or are not)
yoroy joined the channel
# 21:10 KartikPrabhu for instance to me 1700 is afternoon but people here in the US seem to call it evening
# 21:11 aaronpk definitely evening for me, maybe slightly less so in the summer since it's light until 2130 sometimes
# 21:11 bear yea, that's borderline for me also - I have friends who eat their evening meal at 1800 and I'm just boggled by that
# 21:12 KartikPrabhu so "evening/morning" etc is too subjective and not useful to show relative times
# 21:12 bear i'm so EU centric in my dining habits - I don't think about dinner until after 2000
# 21:12 aaronpk omg so late. I'm in bed by 2100 if I can help it.
# 21:13 bear madrid was the most fun city I ever visited
# 21:13 KevinMarks you can go there from SF and not shift your timezone about when breakfast and dinner are
# 21:14 bear yea, my habits are definitely from working with west coast folks for the last 2 decades
# 21:14 KartikPrabhu also notice how using 24 hour in this discussion was pretty unambiguous ;)
# 21:18 bear as long as your waking up normally and don't require any heavy-handed alarm
# 21:19 bear oh my word - yes, they make great alarms
# 21:19 bear regular feeding at 6am ... *no* one will be asleep at 0550
friedcell joined the channel
# 21:26 Kongaloosh I'm trying to get the templating to point to the right place...
# 21:26 aaronpk the template is for the little inline icons. just copy someone else's
# 21:27 bear I think everyone except 2 people have done that - I know I did
# 21:32 KartikPrabhu no. the actual statement goes think => am and not necessarily equivalent to its inverse
# 21:35 KartikPrabhu just thought "what if someone uses a nick 'micropub'" would they get all of micropub's karma?
Kongaloosh joined the channel
wolftune joined the channel
scoates, sparverius, tantek and benwerd joined the channel
# 22:33 tantek let's see if I can track down this last http twitter js access...
# 22:37 myfreeweb i'm probably going to put a CSP soon
# 22:37 Loqi Content-Security-Policy (abbreviated CSP) is an HTTP directive that a site can use to restrict what external resources are retrieved by a browser, to mitigate some XSS and injection attacks https://indiewebcamp.com/CSP
Unifex joined the channel
djwesto joined the channel
# 22:40 myfreeweb my favorite is "A Modern Space Cadet"
# 22:45 tantek I disagree with it but I love the way it is written, especially the, hey, two spaces works better in vim!
wolftune joined the channel
# 22:46 myfreeweb i'm too lazy to use two spaces but i like the vim thing, makes sense
# 22:53 KevinMarks I like the way his crossheads go into the margin once they scroll off the top
# 22:57 myfreeweb WTF moment: PubSubHubbub 0.4 doesn't define any publishing format. "The hub and the publisher can agree on any mechanism, as long as the hub is eventually able send the updated payload to the subscribers" o_0
# 22:58 myfreeweb Google's hub says hub.url can be repeated, Superfeedr says it's hub.url[] if you repeat it
# 22:59 myfreeweb yeah that's what I said first
# 23:00 aaronpk personally I prefer the [] version since most server-side environments don't accept multiple values of a parameter without []
# 23:01 myfreeweb looks like sending multiple pings is the best way to support the "just specify a hub URL in settings" experience... oh well
# 23:01 kylewm myfreeweb: Google's hub doesn't really work with 0.4
# 23:01 kylewm and superfeedr will accept either format of hub.url (either multivalued as an array or comma-separated)
tvn_ joined the channel
# 23:02 kylewm myfreeweb: I would definitely recommend sending one ping if you have several feeds that update at once
# 23:03 KevinMarks the template fro that page is lots of table rows like <td ><input name="letr" value="{{letr.pop(0)}}
"></td>
wolftune joined the channel
# 23:33 tantek ok read Twitter's docs and there doesn't seem to be any way to force widgets.js to ALWAYS iframe src platform.twitter.com/widgets/tweet_button.(etc) over https.
# 23:35 tantek sigh, going to have to add an insecure iframe just to Twitter
Lancey joined the channel
# 23:43 tantek in case benward is watching for mentions --- ^^^ any way to force widgets.js to always use an https iframe for platform.twitter.com/widgets/tweet_button... ?
# 23:43 tantek right now it seems like it defaults to page protocol relative - which means http for me now, but I'd prefer to use widgets.js from https and have it also load/reference everything over https
snarfed joined the channel
# 23:44 snarfed i don't really know CSP at all, so i'll have to defer that one, sorry
# 23:48 tantek snarfed: you serve https-only right? as in redirect all http to https?
# 23:48 tantek then I'm not sure you need to bother with CSP
# 23:49 tantek though I suppose it adds an extra layer of security even if something accidentally enables an xss on your site etc.
scoates and wolftune joined the channel
# 23:56 KevinMarks snarfed did you capture our chat about this from the other day?
# 23:56 snarfed KevinMarks: privately yes. haven't written up yet. on my todo list
# 23:58 bear tantek - it can be hard for someone not familiar with your code to evaluate your CSP. your unsafe-inline usage could be mitigated by using an <script nonce='...' wrapper