#dev 2018-02-02

2018-02-02 UTC
benwerd, snarfed, gRegorLove_, [cleverdevil] and KevinMarks joined the channel
#
schmarty
today i re-learned how simple micropub is for form-encoded data >_<
#
Loqi
schmarty: [eddie] left you a message 1 hour, 24 minutes ago: Nope, haven’t gotten to that yet. The biggest thing around that is I need to extend my Xray instance to parse Overcast. (Originally I built the Overcast parsing directly into my micropub server)
#
schmarty
i had been putting off adding a featured image upload option to /Screech thinking i should tackle that along with micropub media endpoint support
#
schmarty
but instead of that i just added an input type="file" name="photo"
#
schmarty
and for my micropub handler that should be GOOD ENOUGH.
[keithjgrant], [miklb] and benwerd joined the channel
#
KartikPrabhu
schmarty: for featured image why not name="featured" ?
#
KartikPrabhu
since then the form encoding should give you that under the variable "featured" which seems more appropriate
#
schmarty
KartikPrabhu: i'm open to using "featured" instead, but am not sure what micropub server support for that attribute would be (vs. "photo" which i think is more widely supported)
#
gRegorLove
Re: Indieauth naming stuff, I have a plugin for logging into a ProcessWire site using indieauth.com. What would be the clearest name for it going forward? Currently it's IndieAuth for ProcessWire. IndieLogin?
#
KartikPrabhu
schmarty: yes, fair enough. But to me "photo" implies it should be used as a u-photo in the post and not necessarily a "u-featured"
#
schmarty
when rendering, my site display that photo with u-featured
#
KartikPrabhu
gRegorLove: the current name sounds pretty descrptive
#
gRegorLove
Yeah, but indieauth.com is being renamed to differentiate. I forget what it's going to be though.
#
KartikPrabhu
gRegorLove: then I would call it <insert new name for indieauth.com> for ProcessWire
#
schmarty
gRegorLove: i think the "defer my site's auth" aspect will be at myindieauth.com
#
schmarty
actually nope i got it backwards.
#
gRegorLove
Was there an indielogin.com in the mix?
#
schmarty
it'll be indielogin.com
#
gRegorLove
It redirects to indieauth.com now
#
gRegorLove
Ok, sounds right.
#
schmarty
i *think* myindieauth.com is going to be for cases like the indieweb wiki, where you have a service and you want to let people login w/ their own sites.
#
schmarty
i'd wait until aaronpk has actually launched the renamed sites to find out ;}
#
gRegorLove
That's what this plugin does, though only for existing accounts in ProcessWire, not just any domain.
#
gRegorLove
Yeah, will do :)
#
gRegorLove
He told meat Bmore but I've slept since.
#
schmarty
KartikPrabhu: regarding featured vs photo - i am going to stick with the more common attribute name for now, since i have not seen another micropub client that sends "featured"
#
schmarty
(and because i am self-dogfooding and know of no other users at the moment)
#
aaronpk
Oh gosh
#
aaronpk
other way around
#
aaronpk
The wiki will use indielogin.com
#
aaronpk
if you have to add anything to your site it will be myIndieAuth.com
eli_oat joined the channel
#
schmarty
haha >_<
#
Loqi
schmarty: lol
#
gRegorLove
This plugin posts to https://indieauth.com/auth to let people sign in, so eventually that will become myindieauth.com/auth (or similar)?
#
aaronpk
the question is is this plugin something that the user trusts the site it's delegating to?
[kevinmarks] joined the channel
#
aaronpk
like with the wiki, users logging in have no reason to trust the wiki, so they wouldn't add a link tag to something to be able to log in
#
aaronpk
whereas if you want to just not deal with managing a password to your own site, or if you want to take advantage of the oauth stuff that the service provides, then you choose an authorization server and delegate your site to it. that's myindieauth.com
syp1 joined the channel
#
gRegorLove
It's the latter I think. It's a narrow use-case of letting existing users in ProcessWire log in using their domain. It's hard-coded to use the indieauth.com authorization endpoint right now in the plugin, so I think the user logging in only needs the rel-me.
#
gRegorLove
So MyIndieAuth for ProcessWire sounds right once that launches.
#
aaronpk
I guess that's actually kind of a third use Case
#
aaronpk
logging in to your own site without a password
#
aaronpk
That's closer to indielogin.com, the relmeauth service
#
aaronpk
Does this plugin add the <link rel=authorization_endpoint> tag? So that logging in to apps that support IndieAuth will use this site's configured auth endpoint?
#
gRegorLove
No, but I had already added that <link> on my site so I probably didn't think through that fully at the time. The login form posts directly to https://indieauth.com/auth, the plugin verifies the code with the same URL, then uses the "me" param to find the PW user.
benwerd_ and tantek joined the channel
#
aaronpk
I think the main differentiator is going to be whether the site has a <link> tag or not
[miklb] joined the channel
#
gRegorLove
Now that I think about it, is the "me" param that indieauth.com returns after verifying the code safe to use?
#
gRegorLove
nvm, confirmed in spec
j12t, deathrow1, renem and tantek joined the channel
#
tantek.com
edited /Portable_Contacts (-31) "rm old dead redlink (only occurence)"
(view diff)
#
tantek.com
edited /Portable_Contacts (+152) "note PoCo was vCard compat JSON, before mf2 JSON or h-card, note domain died then zombied"
(view diff)
j12t and AngeloGladding joined the channel
#
loqi.me
edited /Twitter (+232) "tantek added "2018-01-27 New York Times: [https://www.nytimes.com/interactive/2018/01/27/technology/social-media-bots.html The Follower Factory] / Everyone wants to be popular online. Some even pay for it. Inside social media’s black market." to "See..."
(view diff)
benwerd joined the channel
#
tantek.com
edited /Twitter (+527) "Devumi quote"
(view diff)
j12t, benwerd and tantek joined the channel
#
@niels_k
Trying out a MicroPub-client with IndieAuth…
(twitter.com/_/status/959296633040076801)
AngeloGladding, ben_thatmustbeme and KevinMarks joined the channel
#
tantek.com
edited /MediaWiki:Sidebar (+0) "next hwc"
(view diff)
#
tantek.com
edited /next-hwc (+0) "next"
(view diff)
#
tantek.com
edited /trends (+87) "don't bury the lede, AKA put current criticism in dfn"
(view diff)
#
tantek
in other news I added a /tip page and linked to that from my home page instead of /pay. Felt more right
barpthewire and benwerd joined the channel
#
tantek.com
edited /👏 (-4) "applause is more like tip than payment"
(view diff)
#
tantek.com
edited /tip (+320) "now I have a tip page too, linked from my home page, emojicon"
(view diff)
cweiske, loicm and jeremycherfas joined the channel
#
Zegnat
Man, I do not envy [keithjgrant]. Documentation of some of these webextension APIs is abysmal.
#
sknebel
hm, am I missing something or can you not directly get the information which tab was active when the extension button was clicked in the popup? I guess you could message your background script which then could check focus and assume that happens fast enough, but ugh...
#
sknebel
also: lol does the js mf parser get confused by keithjgrands post
#
Zegnat
I am actually not sure if the popup allows me to trigger code with tab access. I figured out how to track navigation though
#
Zegnat
Was also able to stop relying on a window focus event within the page, and instead use actual tab focus change event from the API
#
sknebel
popup can send messages to the background script pretty sure
#
Zegnat
https://gist.github.com/Zegnat/616e25cdc3092fb1434eaee5ee068676 is what I was testing now, that atleast seems to work. I’ll take a look at the popup window thing.
#
sknebel
.... oh lol, I bet that's the template tags
#
sknebel
that's one for the parsing algorithm I guess
#
Zegnat
Yeah, I think so too
#
sknebel
php already ignores it it seems
#
sknebel
as does python
#
Loqi
[Tantek Çelik] microformats2 parsing specification
#
sknebel
guess the node-DOM doesn't respect that - wonder if the in-browser one does
#
Zegnat
One of those things where you have to keep reminding yourself that you aren’t working with just a DOM tree for microformats, but working with HTML.
#
Zegnat
Here is a fun one for the webextension people: closing the front most browser window will automatically bring you to the window behind it and focus the last focussed tab there, all without triggering the “onActivated” event on said tab.
#
Zegnat
So now I also need a way to track when the user changes window or something. Guess the popup method has to be tried first.
#
sknebel
TIL libraries called xxx-react can also be server-side PHP using https://reactphp.org/
jonnybarnes, benwerd and raretrack joined the channel
#
hans.gerwitz.com
edited /User:Hans.gerwitz.com (+2054) "I edit, therefore I am."
(view diff)
#
hans.gerwitz.com
edited /User:Hans.gerwitz.com (+1152) "/* Itches */"
(view diff)
#
hans.gerwitz.com
edited /User:Hans.gerwitz.com (+200) "/* Value-Add */"
(view diff)
[keithjgrant] joined the channel
#
[keithjgrant]
@zegnat documentation on chrome extensions is better, and that _mostly_ lines up with WebExtension
loicm, eli_oat and [miklb] joined the channel
#
[miklb]
!tell eddie new version installed and syndication targets appear. 🎉 Still need to test
#
Loqi
Ok, I'll tell them that when I see them next
tantek and [eddie] joined the channel
#
[eddie]
miklb awesome! I also added a debug view in settings where if something isn’t working we can have a way for people to send me more details about what their account is doing
#
Loqi
[eddie]: [miklb] left you a message 18 minutes ago: new version installed and syndication targets appear. 🎉 Still need to test
#
[miklb]
awesome. I only poked around a bit pre-morning coffee, so will take a closer look. I see a few UI things still, but suspect some are related to my larger text. Quite a bit of iOS doesn’t play well with that.
#
[eddie]
Ohhh yeah I definitely haven’t optimized for larger text yet but it’s great to have a user that has larger text! Definitely let me know any of that stuff you find 👍
#
[miklb]
even Reminders b0rks ¯\_(ツ)_/¯
#
[miklb]
seems something inherit to line height and padding in CSS terms
#
[eddie]
Ohhhhhh yeah that makes sense
#
[miklb]
it will be a few days until I can get in and really test, blogging/web stuff on hold while I do home repairs
#
[eddie]
I’m not surprised, I don’t think reminders gets a lot of love from Apple lol
#
[miklb]
it’s like, great, you have this really cool accessibility feature, but your own apps don’t play nice with it. but I digress
benwerd joined the channel
#
[eddie]
Haha no, that is pretty sad. Of all apps, Apples should be the ones that work great
#
Loqi
[eddie]: lol
leg and snarfed joined the channel
#
[eddie]
miklb whenever you do get around to testing Indigenous out fully, feel free to open Issues for any UI issues you see with the larger text size
[kevinmarks] and snarfed joined the channel
#
eddiehinkle.com
edited /mood (+1121) "/* Silo Examples */ +gyroscope"
(view diff)
#
aaronpk
what the heck is emotionml
#
aaronpk
wonders when someone will make a JSON version of that
benwerd joined the channel
#
petermolnar
<emo:></emo>, gotta love that though
benwerd, raretrack, raretrack_ and [kevinmarks] joined the channel
#
[kevinmarks]
I did an ignite on faces and emotional markup ages ago
raretrack joined the channel
#
aaronparecki.com
edited /App.net (+726) "change to past tense, replace app.net links with web archive since domain is under new ownership"
(view diff)
benwerd, snarfed, gRegorLove, [kevinmarks], raretrack, raretrack_, syp1, j12t and j12t_ joined the channel
benwerd and loicm joined the channel
#
snarfed
interesting. huffduffer itself seems to download a full copy (ie the mp3 file) of every podcast that gets huffduffed. i wonder why.
benwerd, leg, snarfed, KevinMarks and [miklb] joined the channel
#
Zegnat
It does? That means adactio is sitting on a huge audio archive?
#
snarfed
i don't know that he's keeping them all, or for how long
AngeloGladding, chrisaldrich, tantek and [kevinmarks] joined the channel
snarfed, KartikPrabhu and [cleverdevil] joined the channel
#
tantek.com
edited /presentations_about (+188) "/* 2014 */ PDF14 Why We Need the #IndieWeb"
(view diff)
#
tantek.com
edited /Personal_Democracy_Forum_2014 (+886) "note original links, archive link, add h-event for talk"
(view diff)
AngeloGladding joined the channel
KartikPrabhu joined the channel
#
tantek
why I hate JS frameworks, reason #5247: data-lf-anchor-id="cffe3541ffa942493b0eea48457bbd81:0" when just "id" attribute would do.
#
tantek
Y THO
#
GWG
Hmm..the issue with the vulnerable dependency, jkphl was the maintainer.
[chrisaldrich] and KartikPrabhu joined the channel
#
tantek.com
edited /Personal_Democracy_Forum_2014 (+333) "tweets with photos, storify"
(view diff)
#
tantek.com
edited /Personal_Democracy_Forum_2014 (+94) "archive html of storify"
(view diff)
[eddie] and [kevinmarks] joined the channel
#
www.svenknebel.de
edited /Storify (+381) "easier way of getting HTML export"
(view diff)
deathrow1 joined the channel
#
loqi.me
created /ThoughtStreams (+172) "prompted by tantek and dfn added by sknebel"
(view diff)
#
kaja.sknebel.net
edited /ThoughtStreams (+1) "linkify ('… is <url>' pattern)"
(view diff)
#
loqi.me
edited /bitcoin (+229) "tantek added "2018-02-02 The Guardian: [https://www.theguardian.com/technology/2018/feb/02/bitcoin-biggest-bubble-in-history-says-economist-who-predicted-2008-crash Bitcoin biggest bubble in history, says economist who predicted 2008 crash]" to "See Also""
(view diff)
gRegorLove joined the channel
#
loqi.me
edited /Facebook (+374) "tantek added "2018-02-01 Digiday: [https://digiday.com/media/facebook-execs-turn-twitter-publisher-charm-offensive/ The Facebook execs who turn to Twitter for publisher charm offensive]<blockquote>…an acknowledgment that Twitter is beloved by one of..."
(view diff)
#
tantek.com
edited /Facebook (+58) "via tweet"
(view diff)