#dev 2017-02-11

2017-02-11 UTC
#
loqi.me
created /repath (+127) "prompted by tantek and dfn added by tantek"
(view diff)
#
gRegorLove
what is path?
#
Loqi
Path is a content hosting silo for private sharing of information among a small (limit 150) group of friends https://indieweb.org/Path
#
tantek
what is Angular?
#
Loqi
It looks like we don't have a page for "Angular" yet. Would you like to create it?_s
#
tantek
ok by me
#
tantek
what is Ember
#
Loqi
Ember.js (sometimes called just Ember) is a JavaScript framework that uses MVC (model view controller) in the browser (using Mustache as its templating language) https://indieweb.org/ember
#
gRegorLove
what is mustache?
#
Loqi
It looks like we don't have a page for "mustache" yet. Would you like to create it?_t
#
tantek
what is a template?
#
Loqi
A template is a file used to generate a page https://indieweb.org/template
#
tantek.com
edited /framework (+460) "more examples, add Criticism with PPK talk and Holovaty blog / tweet thereof"
(view diff)
#
tantek.com
edited /framework (+13) "subhead JS"
(view diff)
#
tantek
what is jquery
#
Loqi
jQuery is a popular JavaScript framework https://indieweb.org/jQuery
#
tantek.com
edited /framework (+7) "/* Examples */ jQuery"
(view diff)
#
tantek.com
edited /Ember (+1) "--r"
(view diff)
#
tantek
what is Mustache?
#
Loqi
It looks like we don't have a page for "Mustache" yet. Would you like to create it?_v
#
tantek
what is MVC?
#
Loqi
It looks like we don't have a page for "MVC" yet. Would you like to create it?_w
#
tantek.com
edited /Ember.js (+8) "linky a couple of terms that need expansion / definition"
(view diff)
#
tantek
what is Ember?
#
Loqi
Ember.js (sometimes called just Ember) is a JavaScript framework that uses MVC (model view controller) in the browser (using Mustache as its templating language) https://indieweb.org/ember
[kevinmarks] joined the channel
#
tantek
what is a PWA?
#
Loqi
Progressive Web App is a web site that a client can progressively enhance into a standalone app that's comparable with a native app https://indieweb.org/PWA
#
tantek.com
edited /pushups (+488) "note series of posts for prev indieweb examples, add a proto-pushup example as note"
(view diff)
KartikPrabhu joined the channel
#
tantek.com
edited /pushups (+172) "another example post, with multiple sets"
(view diff)
#
tantek
Twitter wants to translate my 100pushups post "from Haitian Creole" WTF
#
@t
#100DoPP d22: ✅ #100pushupchallenge week 4: M:21/25/21/21/40 W:25/30/25/25/42 F:29/33/29/29/42 http://hundredpushups.com/week4.html (ttk.me t4mn1)
(twitter.com/_/status/830226537475616769)
singpoly1a and miklb joined the channel
#
gregorlove.com
edited /domain_name_registrar (+4) "/* Registrars */ Name.com wiki link"
(view diff)
#
gregorlove.com
created /Name.com (+125) "stub"
(view diff)
#
gRegorLove
what is name.com
#
Loqi
Name.com is a domain name registrar and web host https://indieweb.org/Name.com
#
tantek
what is a domain name registrar?
#
Loqi
A domain name registrar is an organization that will register domain names for you typically for an annual fee https://indieweb.org/domain_name_registrar
#
tantek
what is a web host?
#
Loqi
Web hosting can be the primary regular cost in maintaining an IndieWeb site; this page lists several options from free on up depending on your publishing needs, like a static, shared, private, or dedicated server https://indieweb.org/web_host
#
Loqi
giggles
#
gregorlove.com
edited /web_hosting (-5) "/* Shared Hosting */ +Name.com"
(view diff)
#
gregorlove.com
edited /domain_name_registrar (+17) "/* Registrars */ whois privacy protection price increase, noted date"
(view diff)
#
Loqi
ahahaha
#
gregorlove.com
edited /Feedly (+527) "/* Issues */ Collapsed whitespace around HTML, placeholders for screenshots"
(view diff)
#
gregorlove.com
edited /Feedly (+4) "/* Collapsed whitespace around HTML */"
(view diff)
KevinMarks, KevinMarks_, tantek, KartikPrabhu, [cdevroe] and singpolyma joined the channel
#
sebsel
I'm trying to do some IndieAuth login thing on my site
#
sebsel
https://indieauth.com/developers < following this, I setup a redirect_uri, which is set to /auth in the example
#
sebsel
I would like the visitor to return to the (private) post where they started logging in
#
sebsel
should I use that, and let every page accept ?code=xx ?
#
aaronpk
Use a secondary redirect
#
sebsel
yeah, but how does /auth know the page?
#
aaronpk
cookie?
#
sebsel
hm, yeah, cookie
#
aaronpk
encode it in the state
[keithjgrant] joined the channel
#
[keithjgrant]
@voxpelli are you on?
#
voxpelli
[keithjgrant]: yes :)
#
[keithjgrant]
I'm trying to test micropub-to-github integration with those filename changes you made to format-microformat
#
voxpelli
sebsel: aaronpk: redirect state in cookie? wouldn't that share state between many different tabs/windows?
#
aaronpk
yeah that's why using the state parameter might be better
#
voxpelli
[keithjgrant]: ok, what problem are you having? I haven't published a new version yet, so it won't work out ot the box right now
#
[keithjgrant]
I changed package.json to link directly to the repository
#
voxpelli
right, so it's the fact that I haven't published the version :) You can change the package.json to point the version to "voxpelli/node-format-microformat#master" instead I believe, and it will pick the latest master
#
[keithjgrant]
in Heroku Settings, I set MICROPUB_FILENAME_STYLE = /notes/:year/:month/:slug and MICROPUB_PERMALINK_STYLE = /notes/:year/:month/:slug
#
[keithjgrant]
but Quill still redirects me to the default url path... so I'm not sure I'm using Heroku correctly
#
sebsel
aaronpk voxpelli: but I need the state *and* a cookie, right? seblog.nl/auth also can't know the state otherwise.
#
aaronpk
you can encode data int the state parameter using JWT or similar. otherwise yeah a cookie is a common way of doing it
#
voxpelli
[keithjgrant]: maybe turn off autoconfiguration and see if that works? MICROPUB_OPTION_NO_AUTO_CONFIGURE
#
voxpelli
autoconfiguration looks at the Jekyll configuration to configure permalinks
#
[keithjgrant]
ok. Set that to 'true' ?
#
voxpelli
true, 1 or something similar :)
#
[keithjgrant]
In Heroku, do I need to redeploy after making config changes?
#
sebsel
aaronpk but /auth has to send the 'state' parameter to IndieAuth in order to get a response? So I need to store it in a cookie? It's not like an extra 'info' field that gets send along, right?
#
voxpelli
[keithjgrant]: it restarts the service automatically
#
sebsel
it's all in all more of a puzzle than I expected :)
#
aaronpk
sebsel: the state comes back from the authorization server
#
sebsel
checks the requests and responses again
#
[keithjgrant]
No change ?
#
voxpelli
[keithjgrant]: ok, weird, maybe add some console.log() in there and see if the permalink_style is actually sent in correctly?
#
[keithjgrant]
where can I view the log?
#
voxpelli
[keithjgrant]: if you have the Heroku CLI tools installed, then "heroku logs --tail" is a good one, but you can also view them through Heroku.com
#
sebsel
okay, I totally missed that we return to /auth?code=xx&state=hi :') thanks!
#
[keithjgrant]
cool, thanks. signing off for a bit, but I'll keep poking
[dgold] joined the channel
#
sebsel
aaronpk does IndieAuth abstract from https and ending in a /?
#
aaronpk
indieauth.com? and what do you mean exactly?
#
sebsel
Ah yeah, .com indeed. And I mean: if I whitelist people, do I have to check that list for variants like https://seblog.nl, http://seblog.nl/ etc?
#
Loqi
Sebastiaan Andeweg h
#
aaronpk
i believe indieauth.com won't modify whatever the user types in
#
aaronpk
so if they enter "http://seblog.nl/" to start with, that's what will be returned, as long as they have any appropriate redirects in place of course
#
Loqi
Sebastiaan Andeweg h
#
sebsel
hm, that means I would have to check variants if I want to give that option.
#
aaronpk
i think it adds the root slash if no slash was present, since it's not a full URL otherwise
#
sebsel
it seems like it does that, because I didn't type it.
#
aaronpk
but it will return http if the user typed http, and https if the user typed https
#
sebsel
and www. if the user typed that. but that's a different story I guess.
#
aaronpk
yeah that's a whole different domain
lukasros joined the channel
#
loqi.me
created /Now (+65) "prompted by lukasros and dfn added by lukasros"
(view diff)
#
Loqi
[Sebastiaan Andeweg] Day 27: private posts
KevinMarks joined the channel
#
Zegnat
test post looks awesome!
tantek and KevinMarks_ joined the channel
#
tantek.com
edited /link-preview (+1065) "expand how to for publishing and parsing"
(view diff)
[dgold], sandro_ and KevinMarks joined the channel
#
loqi.me
created /selfoss (+95) "prompted by tantek and dfn added by aaronpk"
(view diff)
#
aaronparecki.com
edited /reader (-78) "link to [[selfoss]]"
(view diff)
KartikPrabhu joined the channel
#
aaronparecki.com
edited /feed_reader (-23) "/* Examples */"
(view diff)
#
aaronparecki.com
edited /selfoss (+49) "see also"
(view diff)
KevinMarks_, miklb, KevinMarks and [kevinmarks] joined the channel
#
loqi.me
edited /Now (+90) "/* See Also */ new section"
(view diff)
#
loqi.me
edited /Now (+17) "tantek added "[[Google Now]]" to "See Also""
(view diff)
#
[kevinmarks]
Nice sebsel - I was able to login in the web view inside slack
#
sebsel
oh nice!
#
sebsel
well in the end it's just IndieAuth.com!
#
loqi.me
created /privacy_policy (+184) "prompted by sebsel and dfn added by sebsel"
(view diff)
#
loqi.me
edited /privacy (+21) "sebsel added "[[privacy policy]]" to "See Also""
(view diff)
#
loqi.me
edited /privacy_policy (+31) "/* See Also */ new section"
(view diff)
#
KevinMarks
Yes, that's more that webviews have got better recently, but still encouraging
#
seblog.nl
edited /privacy (+4) "linky privacy policy"
(view diff)
#
sebsel
well, it took some time to redirect to the right page after login, so if that's smooth I did a good job :)
#
KevinMarks
So would I be cookied now if I try again?
#
KevinMarks
Yes, that works
#
sebsel
I use a session yes, and that uses a cookie.
#
sebsel
there's a logout in the upper right corner :)
#
seblog.nl
edited /privacy_policy (-192) "redirect to disclosure"
(view diff)
#
@kevinmarks
A challenge is that we have been working on public tools more than private ones @IdentityWoman @benwerd @girlziplocked @evanpro
(twitter.com/_/status/830088946235297792)
#
sebsel
this is not #dev anymore, but yeah, that is a thing.
#
sebsel
I intend to extend my private post stuff a bit in the coming 100days (74 left?), but that's still just getting to the level where aaronpk &co already where a few years ago
#
aaronpk
i did lose that functionality with my new site
#
sebsel
oh! okay
#
aaronpk
i have private posts via webmention right now, but you can't log in to my site
#
sebsel
I was thinking about detecting wether a URL starts with twitter.com, and then do a oauth with twitter for access, so my silofriends can join in too.
#
aaronpk
yeah good idea
#
sebsel
IndieAuth does not work the other way, right? entering your twitter and login with Github :P
#
aaronpk
that does actually work
#
sebsel
tries
#
aaronpk
if you link your twitter to your github and vice versa
#
sebsel
yeah, I get a t.co/CaFScuyhGi > This is not a supported authentication provider.
#
aaronpk
oh, it doesn't follow the redirects at that step yeah.
#
aaronpk
it should work with entering your github then
#
sebsel
that does! it finds seblog.nl
#
sebsel
still no support, but yeah
#
aaronpk
right but if your github points to your twitter account then you can log in :)
#
sebsel
oh, yeah and twitter has to link back to github ofcourse...
#
sebsel
edit all the rel=me's
#
sebsel
also: you have to do multiple password things to change a e-mail
#
sebsel
but urls... all ok.
#
sebsel
yep, this works
#
sebsel
but you can't login with twitter if the profile is ON twitter.
#
sebsel
twitter does not link to itself.
#
sebsel
not sure if you want that... it makes IndieAuth just a wrapper for twitter OAuth, I guess.
#
sebsel
but if it checks itself, I can just add a 'twitter' button that fills the form with https://twitter.com/ and that's it.
#
aaronpk
i'm not sure i want to change indieauth.com to do that
#
sebsel
I was afraid so :) I will try and make my own twitter-thing. Might be more trusted too.
#
sebsel
'seblog.nl want access to: your PMs'
#
tantek
KevinMarks: meh. private tools handwringing round n of m. (yawn)
#
tantek
looks into a couple of references
#
tantek
What is SpiderOak?
#
Loqi
It looks like we don't have a page for "SpiderOak" yet. Would you like to create it?
#
tantek
SpiderOak is http://spideroak.com https://twitter.com/SpiderOak which claims to be a "confidential cloud" with "end-to-end encrypted backup, group chat, file sharing".
#
loqi.me
created /SpiderOak (+199) "prompted by tantek and dfn added by tantek"
(view diff)
#
KevinMarks
You can use silo.pub to login with Twitter
#
KevinMarks
Also bridges micropub
#
KevinMarks
That should already work, but you can probably make it more transparent with redirects
#
tantek
what is Semaphor?
#
Loqi
It looks like we don't have a page for "Semaphor" yet. Would you like to create it?
#
KevinMarks
!tell sebsel look at silo.pub for twitter login
#
Loqi
Ok, I'll tell them that when I see them next