#dev 2018-07-08

2018-07-08 UTC
#
@matthewayne
IndieAuth: Eliminate registration for OAuth APIs and use URLs for identity & auth: https://aaronparecki.com/2018/07/07/7/oauth-for-the-open-web
(twitter.com/_/status/1015764770073350144)
dougbeal|mb1, [mrkrndvs] and eli_oat joined the channel
#
GWG
aaronpk++
#
Loqi
aaronpk has 153 karma in this channel (1668 overall)
eli_oat joined the channel
#
aaronpk
haha that "why not openid" tweet was deleted 😂
#
aaronpk
I was gonna reply but not anymore I guess
[mrkrndvs], jjuran and renem joined the channel
[eddie] joined the channel
#
[eddie]
aaronpk++
#
Loqi
aaronpk has 154 karma in this channel (1669 overall)
#
[eddie]
I’m gonna have to program like a madman to catch up with you all!
snarfed joined the channel
#
aaronpk
that's how I feel right now haha
snarfed1 joined the channel
#
[eddie]
Haha 😆
snarfed, jjuran, snarfed1, tantek__ and [mrkrndvs] joined the channel
#
GWG
I just irresponsibly built a media endpoint in the middle of a bigger project. I really should learn to scope better.
[kevinmarks] joined the channel
#
[kevinmarks]
[cleverdevil] you can use unmung as an mf2py service, but running it yourself is better
iasai joined the channel
#
[kevinmarks]
Sounds like they're asking for indieauth
robin2, johnjohnston, [johnjohnston] and [cleverdevil] joined the channel
#
[cleverdevil]
Ooh, that's shiny [aaronpk]. I'll work o adding h-app.
#
[cleverdevil]
I am on a three hour layover in Amsterdam.
#
[cleverdevil]
!tell [aaronpk] I have added the `h-app` microformat to Indiepaper. Let me know if it works for you!
#
Loqi
Ok, I'll tell them that when I see them next
[cleverdevil] and davidmead joined the channel
#
aaronpk
[kevinmarks]: it's kind of a silly argument because there are a bunch of OAuth 2 extensions that bring back most of those security things that were left out of OAuth 2 core
[johnjohnston] joined the channel
#
sknebel
so, for posting issues: do I see it right that currently issues are just replies to a software project?
#
sknebel
does it make sense to have an "issues" page and ask people reply to that to file issues?
#
sknebel
although I guess people might mention/bookmark/like a project page, but replies likely are always issues or at least support requests?
#
aaronpk
I kinda lean towards replying to the issues page
#
aaronpk
tho I think bridgy publish works by replying to the github repo
iasai joined the channel
#
sknebel
apropos github, can you add me to the github indieweb org?
#
aaronpk
whoa are you not there already?
#
sknebel
no, I have membership/rights basically nowhere. not there, not on the microformats stuff
#
aaronpk
whoops
[eddie] joined the channel
#
aaronpk
hm, do people display comment timestamps in the commenter's timezone or the website's timezone or the browser's timezone?
#
sknebel
interesting
#
sknebel
and timely reminder, I got a timezone bug in my site somewhere...
#
GWG
aaronpk, if you have a media endpoint, do you still need to support uploading files otherwise?
#
aaronpk
GWG for fallback purposes yes
#
[eddie]
Sknebel: for Indigenous I am planning on making an “issues/feedback” page. Then add a feedback button that creates a “reply” to the Indigenous feedback page. To allow people to send me feedback from within Indigenous using IndieWeb technologies
#
[eddie]
So that’ll be an interesting experiment in creating issues outside of the GitHub ecosystem
#
aaronpk
considers adding this line of JS to his website to display all dates in the browser's local time
#
aaronpk
$("time").map(function(i, el){ $(el).text((new Date($(el).attr("datetime"))).toLocaleString()) });
#
[eddie]
Oh that’s interesting
#
aaronpk
even better:
#
aaronpk
$("time").map(function(i, el){ $(el).attr("title", $(el).text().trim()); $(el).text((new Date($(el).attr("datetime"))).toLocaleString()); });
#
aaronpk
stashes the original display text in the "title" attribute so you can hover to see the original
#
aaronpk
I think i'm gonna add that to monocle
jgmac1106___ and [kim_landwehr] joined the channel
#
[kim_landwehr]
Image from iOS https://files.slack.com/files-pri/T03QR2B2T-FBLGS4S4U/image_from_ios.jpg?pub_secret=e8a419bf3b&name=Image from iOS.jpg Trying to log in to Monocle and I am getting this, not sure what I need to change or look for.
#
[kim_landwehr]
#
aaronpk
[kim_landwehr]: one sec, let me improve that error message
#
aaronpk
[kim_landwehr]: can you refresh and try again? there should be better information there now to help debug
sketchess joined the channel
#
sketchess
greetings tech corner....
#
[kim_landwehr]
[aaronpk] yeah that worked and help alot in debugging
#
aaronpk
great! were you able to figure it out or still need help with the error message?
iasai joined the channel
#
sketchess
I would appreciate any good advice on a decent sFTP client. Have to find a new one. R.I.P.
#
aaronpk
sketchess: I like Coda 2
#
sketchess
never heard of it...... have to check
#
aaronpk
mac only tho
#
sketchess
aaaaah..... not an option
#
aaronpk
ah well
#
sketchess
I hate times developers stop working.....
#
sketchess
Any other options trustworthy?
leg and snarfed joined the channel
#
sketchess
Hmm. Well search is not quite satisfying, then the log way around it will be for now. Thanks Aarron.
#
sketchess
+n
#
[kim_landwehr]
[aaronpk] I was able to figure it out, thanks again
#
aaronpk
great!
#
[kim_landwehr]
Ok I may have spoken too soon, I can log into Monocle but nothing is loading. I do have several channels set up thru Aperature so something should be showing up.
#
aaronpk
do you see the list of channels in monocle?
barpthewire joined the channel
#
aaronpk
got my first letsencrypt wildcard cert and set up https://overland.p3k.app!
#
snarfed
aaronpk++
#
Loqi
aaronpk has 155 karma in this channel (1670 overall)
#
aaronpk
also pretty happy with this DNS trick for getting wildcard certs
#
aaronpk
gonna do a writeup on that later
#
aaronpk
and https://xray.p3k.app is up now too!
#
aaronpk
those are the easy ones :)
#
aaronparecki.com
edited /p3k (+1) "move xray to xray.p3k.app"
(view diff)
#
aaronparecki.com
edited /XRay (+1) "move to xray.p3k.app"
(view diff)
leg, snarfed and [johnjohnston] joined the channel
#
[kim_landwehr]
[aaronpk] no I am just getting a reload and logout buttons
#
tantek__
!tell sknebel,aaronpk No need to guess, it's right there at the top of the page, post an issue in-reply-to the *issues* page of a repo (project) : https://indieweb.org/issue#How_to_post
#
Loqi
Ok, I'll tell them that when I see them next
#
tantek__
Bridgy supports both to be more forgiving.
#
Loqi
sknebel: tantek__ left you a message 3 minutes ago: No need to guess, it's right there at the top of the page, post an issue in-reply-to the *issues* page of a repo (project) : https://indieweb.org/issue#How_to_post
#
tantek__
I'll add a brief note about Bridgy linking to its docs about it
#
tantek.com
edited /issue (+817) "/* How */ to POSSE POSSE to GitHub"
(view diff)
#
dougbeal
aaronpk: Did you automate the DNS challenge?
[eddie] joined the channel
#
[eddie]
tantek: huh, originally Bridgy didn’t support the issues page. That was fixed?
#
aaronpk
oh I was looking at the bridgy docs, which don't mention the issues page
#
Loqi
aaronpk: tantek__ left you a message 41 minutes ago: No need to guess, it's right there at the top of the page, post an issue in-reply-to the *issues* page of a repo (project) : https://indieweb.org/issue#How_to_post
#
aaronpk
dougbeal: yeah! no way am I going to set myself up to have to do this every 3 months
#
aaronpk
also I use linode for DNS and they only update every 15 minutes so I found a workaround for that too
#
aaronpk
now I have instant verification!
#
dougbeal
aaronpk++
#
Loqi
aaronpk has 156 karma in this channel (1671 overall)
#
tantek.com
edited /issue (+154) "resort brainstorming a bit, add POSSE to Bugzilla"
(view diff)
#
dougbeal
I'm thinking it will be nice having a dev.dougbeal.com that can I can populate from the live wordpress easily for development and upgrade testing
#
tantek__
aaronpk, good catch in the bridgy docs. dougbeal, not sure, I think maybe shortly after snarfed got it working? we discussed it back in February I think (on chat)
sketchess joined the channel
#
dougbeal
tantek__: for private issues?
#
sketchess
:) case solved
#
tantek__
dougbeal: I don't think we figured out private issues, or in particular private issues on a private repo yet
#
dougbeal
tantek__: I was asking about private/comments to myself in wordpress, for an evolving piece
#
sknebel
I think tantek meant to ping eddie?
#
unrelenting.technology
edited /sweetroll (+123) "docs link"
(view diff)
#
tantek__
aaronpk, posted a pull request to update bridgy docs https://github.com/snarfed/bridgy/pull/831 to clearly refer to issues page of a repo
#
Loqi
[tantek] #831 issues should be in-reply-to a repo's issues page
[snarfed] joined the channel
#
[snarfed]
hah that was kinda stealth until you posted a tag-of
#
[snarfed]
still requires it though. go for it!
#
tantek.com
edited /tag-reply (+202) "services / Bridgy"
(view diff)
#
tantek__
snarfed, will do!
#
tantek__
I got stuck down the rabbithole of reconsidering /untag-of posts and /edit posts in general in the context of Micropub updates
#
[snarfed]
heh i saw. no worries
#
GWG
snarfed, I built a media endpoint while redoing the upload code. Sorry
[kevinmarks] joined the channel
#
[snarfed]
GWG: no apology needed! this is all supposed to be fun. you get to choose how you manage your time.
#
[snarfed]
I'm sure it will be straightforward to separate that out into its own PR
#
tantek.com
edited /GeoCities (+110) "pagelogo, note acquisition date, shutdown"
(view diff)
#
tantek.com
edited /GeoCities (-1) "-! for dfn"
(view diff)
#
[snarfed]
oh and I'm sure it has unit tests right? :P
#
aaronpk
oops, mastodon doesn't have mf2 classes on images
[cleverdevil] joined the channel
#
[cleverdevil]
Whew. Finally on the ground. Had a nice productive layover though 😉
#
aaronpk
i'm making progress on indieauth for aperture
davidmead joined the channel
#
[cleverdevil]
I was attempting to get categorization working on the iOS Workflow for Indiepaper but ran out of time. I got individual categories working, but multi category looks like it isn’t doable without changing some things on the backend and I don’t think I’m going to bother.
#
dgold
will you be making that to work in the new shortcuts app, [cleverdevil] ?
#
dgold
(I'm not sure if its comparable, mind)
#
[cleverdevil]
It’s totally compatible already.
#
[cleverdevil]
That’s where I was tinkering to try and get multi-category working.
[kevinmarks] joined the channel
#
[kevinmarks]
You'll have the same issue with CW images too with mastodon
#
aaronpk
muahaha I can log in to quill as an aperture channel now
[schmarty] joined the channel
#
[cleverdevil]
I’d ask to try it but I’ve been in the air for 20 hours. Time to sleep! Nice work [aaronpk]
#
aaronpk
hehe, it's not live yet anyway ;)
#
aaronpk
a few finishing touches... gotta add a media endpoint
iasai_, snarfed and [mrkrndvs] joined the channel
#
GWG
snarfed, I am apologizing because I don't know how to separate it
#
snarfed
GWG: ahhhh
#
snarfed
i'm confident it's doable!
#
GWG
It's because I rewrote the file upload piece and it was easier to add the three extra lines of codr
#
snarfed
oh wow. so many different change all tangled up together!
#
GWG
I had to rewrite every unit test to accommodate the WordPress integration.
#
GWG
snarfed, that's my dilemma
#
snarfed
the file handler sounds separate though
#
snarfed
anyway, no matter. i'm confident you can untangle them!
#
GWG
I may need some advice when I feel I am done on how to submit this thing
#
GWG
On a positive note, I got rid of ?micropub=endpoint
#
Loqi
gwg has 41 karma in this channel (381 overall)
#
snarfed
my first advice would be to pause writing new code immediately and untangle all the different changes you already have
#
snarfed
every new piece of code you add now makes it that much harder to untangle later :P
#
GWG
I will try to backtrack. This is all due to the same reasoning, but it is snowballing
#
GWG
Switching away from parse_query required a lot of unit test changes
#
GWG
I had to fix 5 spec compliance issues on error messages
#
GWG
Probably because the spec wasn't finalized when they were written
#
GWG
I will give it a shot
#
GWG
My guess is that when I am done, this will be a 2.0 release
#
snarfed
definitely! big changes, lots of new risk
#
snarfed
spec compliance/warnings are very low priority. focus on untangling what you already have into separate branches, with tests passing, and submit each of those
#
snarfed
oh and focus on finding a reviewer who knows all the wp stuff
#
snarfed
we'll want at least someone else's eyes on it too who knows that, since i don't
#
GWG
snarfed, I may ask pfefferle. He is probably the most adept in that area.
#
GWG
snarfed, my intention, once I decided to do this, was make it more approachable for new contributors. After this big step/series of steps, I expect to go back down to little PRs
#
GWG
It wasn't the only motivation, but it was a hope. Especially after aaronpk's Indieauth article seemed like a dam breaking
[kim_landwehr], tantek__ and KartikPrabhu joined the channel
#
aaronpk
it woooorks
#
tantek.com
edited /ActivityPub (+67) "W3C REC, ActivityPump, based on pumpio"
(view diff)
#
GWG
What works?
#
aaronpk
indieauth for aperture channels!
#
aaronpk
oh no I can't use indiepaper cause I don't have the latest macos!
#
tantek.com
edited /comments (+119) "/* See Also */ context for tweet about closing comments on a whole blog"
(view diff)
#
aaronpk
[cleverdevil] I just noticed that after logging in on indiepaper.io, the access token appears in the address bar. can you make it not do that?
#
gRegorLove
aaronpk: Have you thought about privacy policy for Teacup? Thinking about it for indiebookclub so thought I'd check for prior art.
#
aaronpk
gRegorLove: I have not yet, but probably need to
#
gRegorLove
I noticed the placeholder page :) https://teacup.p3k.io/privacy
#
aaronpk
looks like I was planning to
#
gRegorLove
what is privacy policy?
#
Loqi
A disclosure is a bit of content, typically on a home page, on an indie web site that proactively discloses some aspect about the site that the site owner wants the user to explicitly be aware of https://indieweb.org/privacy_policy
#
tantek__
aaronpk are you switching p3k from .io to .app completely?
#
aaronpk
eventually yes
#
tantek__
gRegorLove: perhaps ping sgreger for modern good GDPR-aware privacy policy examples?
#
tantek__
also the new law just passed in CA
[kevinmarks] joined the channel
#
Loqi
I swallowed hard. I was looking at a four gigabyte website dump. There was no documentation. There was no version control. Just thousands of php files in dozens of directories, plus a sprawling MySQL database. What had I gotten myself into? The files...
#
tantek__
thousands. shudder
#
tantek__
oh: "heavily customized WordPress installation". sigh.
#
Loqi
[gRegorLove] Include: (via https://ascraeus.org/page/privacy/) > **Cookies and Tracking** > This site does not use cookies, nor does it attempt to fingerprint users in any way. Include: (via https://ascraeus.org/page/privacy/) > **Data Transfer** > This si...