#dev 2019-01-29

2019-01-29 UTC
dustyweb, [eddie], eduardm, [asuh], snarfed, benwerd and [davidmead] joined the channel
#
[davidmead]
!tell aaronpk Using Quill bookmark feature it passes tags to Known, that show up in a p class=tag-row, but when I edit that post they disappear. How are they being passed?
#
Loqi
Ok, I'll tell them that when I see them next
[chrisaldrich], [jgmac1106] and [tantek] joined the channel
#
[tantek]
Way too quiet in here. So here's a good thread for today: https://twitter.com/jensimmons/status/1089611136666927106
#
jgmac1106
that is such a good thread, that though been scratching at my head and I couldn’t get it out. Jen captured it so perfectly….going to add it to the HTML, React or Blockchain..Do you need that framework? Case study we were working on…this was abotu carbon footprint. Going to start on scrip tin terms of frameworks and priviledge
#
aaronpk
Wow the comments on that thread demonstrate perfectly the war going on
#
Loqi
aaronpk: [davidmead] left you a message 49 minutes ago: Using Quill bookmark feature it passes tags to Known, that show up in a p class=tag-row, but when I edit that post they disappear. How are they being passed?
#
aaronpk
[davidmead]: quill sends the "category" property via micropub, I have no idea how known works with that internally
#
[davidmead]
thanks aaronpk. I’ll take it to #known or #dev as I’m slowly picking apart how this works
djmoch joined the channel
#
djmoch
hello!
#
jgmac1106
davidmead here is a Known tag on a note using Indigenous: <p class="p-name e-content entry-content">Test<p class="tag-row"><i class="icon-tag"></i> <a href="https://quickthoughts.jgregorymcverry.com/tag/Test" class="p-category" rel="tag">#Test</a></p>
#
Loqi
Greg McVerry
#
jacky
I wonder if people would find value from more "micro" service bits of the IndieWeb
#
jacky
there's quite a few libraries for things
#
jgmac1106
hey djmoch you can get help here I am gonna step out know as you are going to be over my head
#
jgmac1106
What is building blocks?
#
Loqi
Building blocks are key design-patterns, technologies, and methods for building and improving your independent website https://indieweb.org/building-blocks
#
djmoch
jgmac1106: no worries. thanks
#
jgmac1106
is a design feature jacky, mix and match modular make your own
#
jacky
ooh I've heard of this but never looked at the page
#
Loqi
[Aaron Parecki] Live demo of #SWAT0 at IndieWebCamp 2015 https://aaronparecki.com/2015/07/14/7/photo.jpeg [video]
#
[davidmead]
thx jgmac1106 It’s seems patchy to me that the code is the same but when and where they show up isn’t. Also no plugin or edit screen has a space for them
#
[jgmac1106]
That's because support is native. Though it does mean every tag is inside the content
#
[jgmac1106]
Any #hashtag gets converted to link with p-category and rel=tag
#
[jgmac1106]
... Though heard there is bug with Instagram and OYG
#
[davidmead]
I can’t get OYG to post to Known, though aaronpk changed something that got a couple of photos to post, then nothing
#
[davidmead]
Makes sense about tags. I may try to add a field for them in plugins (maybe a theme) for my own consistancy
#
[jgmac1106]
Check with Cleverdevil he is OYG/Known expert
#
[jgmac1106]
You could add an input field to any plugin if you wanted to add tags outside of content.... Though do not know enough about micropub innards to tell you how to handle the handshake
#
[davidmead]
that’s the bit that scares me…
#
[davidmead]
though i did manage to pull apart the Listen plugin and put it back together 😉
#
[davidmead]
as long as the field was optional so people could still add tags in the content too
snarfed, [eddie] and benwerd joined the channel
#
Loqi
Ok, I'll tell them that when I see them next
#
jeremycherfas
!tell [davidmead] I have been struggling with Known removing the tag from content and putting it in the tag row when receiving via OYG. Raised an issue but no word yet.
Val2, snarfed, benwerd, [metbril], KartikPrabhu, ichoquo0Aigh9ie, swentel, eduardm, [jgmac1106], rubenverborgh, [svandragt] and [kevinmarks] joined the channel
#
[kevinmarks]
@djmoch mention.tech is a python webmention handler - it is a bit bound to appengine but you could reuse some of it if you want to run your own
[metbril], jeremych_ and KartikPrabhu joined the channel
#
jeremycherfas
!tell aaronpk Is benwerd the only person who can do whatever is needed to bridge the #known channel in Slack to #knownchat?
#
Loqi
Ok, I'll tell them that when I see them next
KartikPrabhu, [jgmac1106] and [davidmead] joined the channel
#
[davidmead]
[jeremycherfas] ah right. The few posts that worked for me did leave the first tag in the content which was strange.
barpthewire joined the channel
#
Zegnat
Hmm. Loqi has +o in #knownchat, so stuff should just work
#
jeremycherfas
Alas, it doesn't. I see messages from jgmac1106, metbril and svandragt today in Slack that I do not see in #knownchat.
benwerd, petermolnar and [kevinmarks] joined the channel
#
aaronpk
Yes I believe Ben is the only one who has privileges to turn off that channel mode
#
Loqi
aaronpk: jeremycherfas left you a message 1 hour, 53 minutes ago: Is benwerd the only person who can do whatever is needed to bridge the #known channel in Slack to #knownchat?
#
aaronpk
I guess I can make a thing where Loqi +v's everyone when they join but we really need the channel mode changed
#
jgmac1106
aaronpk I can ping Ben on Mastodon later if need be, seems to be fastest way to gewt him lately
KartikPrabhu joined the channel
#
[jgmac1106]
https://quickthoughts.jgregorymcverry.com/2019/01/29/why-does-this-keep-happening-knownchat does anyone see any glaring errors in my markup...trying to figure out why all my links break
#
[jgmac1106]
why my url would get injected
#
@hafelg
↩️ As @ChrisAldrich explained in https://alistapart.com/article/webmentions-enabling-better-communication-on-the-internet, @ mentions are broken across platforms. Webmentions to the rescue? As soon as I could use them across @instagram, @Twitter, @facebook,...
(twitter.com/_/status/1090231340807671809)
#
@jgmac1106
↩️ You can use webmentions with twitter and instagram but facebook took away their "read" and "write" APIs solidifying their silo monopoly under guide of "security" ...but facebook can break instagram and Twitter being more and more restrictive. (https://quickthoughts.jgregorymcverry.com/s/19mYCT)
(twitter.com/_/status/1090232183644712960)
#
@jgmac1106
↩️ Beautiful part about webmentions you do need to rely on data silos like @facebook and instagram that destroy local media, allow attacks on democracy, prey on children through mobile payments, lie about selling your data, lie about giving access to data… https://quickthoughts.jgregorymcverry.com/2019/01/29/beautiful-part-about-webmentions-you-do-need
(twitter.com/_/status/1090232715977392129)
#
[kevinmarks]
[jgmac1106] I think you mean "don't"
#
jgmac1106
yeah oops
KartikPrabhu, petermolnar, bradenslen, [schmarty], benwerd, deathrow1, snarfed and [davidmead] joined the channel; mail and petermolnar left the channel
#
[davidmead]
submitted my second pull request in GitHub. I’m on a roll 🙂
petermolnar, KartikPrabhu, eli_oat1, [tantek] and [schmarty] joined the channel; petermolnar left the channel
#
[tantek]
davidmead++
#
Loqi
davidmead has 1 karma in this channel over the last year (4 in all channels)
benwerd, nloadholtes, snarfed, KartikPrabhu, [kevinmarks], leg, [tantek], [asuh], [Rose], jeremych_, swentel, petermolnar and [frank] joined the channel; petermolnar left the channel
#
[frank]
What is isso?
#
Loqi
isso is a commenting server similar to disqus https://indieweb.org/isso
[eddie], snarfed, ben_thatmustbeme, rubenverborgh and [metbril] joined the channel; petermolnar left the channel
#
[metbril]
How can I retrieve which Micropub client has posted? The $_SERVER['REMOTE_ADDR'] gives an IP, but that does not really discriminate. Any tips?
#
swentel
you can't really tell afaics
#
snarfed
there may be a way to get client id from the token, w/some token providers...? [hand wave]
#
swentel
is there something in the micropub spec which allows to send an 'origin' property or so ?
user2 and KartikPrabhu joined the channel
#
swentel
mm right
#
swentel
if you control your indieauth endpoint
#
swentel
you know the client id
#
[eddie]
Yeah currently the token is how you do it
#
swentel
can you retrieve token info from indieauth/login.com ?
#
[eddie]
You wouldn't ever want to include the Micropub app in the properties. If anything, you could do something like send the micropub app in an mp-origin property of the POST
#
swentel
do you send something along in indigenous ios?
#
[eddie]
I don't
#
[eddie]
Because I own my token endpoint
#
swentel
ah hehe
#
swentel
yeah, me too nowadays
#
[eddie]
This could be used. If your micropub endpoint uses the access token to verify with the Token Endponit
#
[eddie]
it receives me, client_id and scope back
#
[eddie]
which, I think a Micropub endpoint should be doing this anyway to verify the token is authentic
#
[eddie]
so that client_id should be pretty easy to add to Micropub endpoints that want to
snarfed joined the channel
#
swentel
mmm also true
#
[eddie]
So I think that's probably the recommended method for now rather than adding anything new
#
swentel
it's amazing how fast you forget implementations in your own code after a while
#
[eddie]
yep! haha
#
swentel
must be that it runs well :)
#
swentel
(or I have an enormous security hole somewhere haha)
#
swentel
but I have tests, so I think I'm safe
#
[metbril]
Thanks. I understand I need/should be able to get the 'client_id' from indieauth, then?
#
swentel
but even then, I sometimes forget what kind of tests I have
#
swentel
[metbril], yes, when doing the verification of the token
#
[eddie]
metbril did you build your own micropub endpoint or are you using an existing library or piece of software?
jgmac1106 and benwerd joined the channel
#
aaronpk
Yes please only use the client_id in the token for that
#
aaronpk
anything else will be easy to spoof/hack and is redundant
#
[metbril]
I've already tested it with the Grav endpoint. It works perfectly. It shouldn't be too hard to show it in the post meta now.
#
[eddie]
Awesome! great to hear metbril!
#
aaronpk
And if you're rolling your own token endpoint then store the client_id somewhere associated with the token
#
[eddie]
Yeah, I think to date everyone using the client_id has done their own token endpoints, so it was good to see the token verification also provides the client_id for those that aren't rolling their own
#
[eddie]
client_id's for everyone!! 🎉
petermolnar joined the channel
#
[metbril]
I use IndieAuth. I still have a lot of itches with Grav and try to focus on what's not working yet. But if anyone finds the time to upgrade my basic IndieAuth plugin to become an endpoint, then be my guest. PR's are very welcome. 😀
#
Loqi
[metbril] grav-plugin-indieauth: Basic IndieAuth support for Grav CMS
benwerd, [jgmac1106], eli_oat, [tantek], snarfed, eduardm, [schmarty] and [kevinmarks] joined the channel; petermolnar left the channel