#known 2018-03-16

2018-03-16 UTC
[kevinmarks], sikkdays, tantek, [cleverdevil], [eddie], [miklb] and mapkyca joined the channel
#
@mapkyca
Fixed a fairly major @withknown bug last night which was preventing tokens from working in some cases, if you were having log in problems or configuration weirdness (modules becoming disabled randomly etc), take an update!
(twitter.com/_/status/974560678563295232)
[kevinmarks] and travis-ci joined the channel
#
travis-ci
idno/Known#4468 (master - a319689 : Marcus Povey): The build is still failing.
travis-ci left the channel
dhtatpap, [eddie], [cleverdevil] and jeremycherfas joined the channel
#
@jeremyjmonroe
@mapkyca @withknown So are you taking over development and updates for Known? Or is the project only leaning towards education usage? Can you or @erinjo or @benwerd clarify plan for public sector? http://known.cloud is based on Known and want to keep it alive #blog #Known #community #art #write
(twitter.com/_/status/974653424422850561)
travis-ci joined the channel
#
travis-ci
mapkyca/idno#327 (master - a319689 : Marcus Povey): The build is still failing.
travis-ci left the channel
[tantek], [eddie], [kim_landwehr], zoglesby, Zegnet, [miklb], aaronpk, [cleverdevil] and [kevinmarks] joined the channel
#
zoglesby
If I wanted to add support for notification other than email (say to matrix, slack, other API) is that something I could do via a plugin or would I need to make changes to the core of Known?
[eddie] joined the channel
#
[cleverdevil]
I added notifications to a micropub endpoint in a plugin.
#
[cleverdevil]
Its not super duper straightforward, but its possible 🙂
#
[cleverdevil]
Its mostly just complicated by the fact that I want to generate custom formatted notifications.
#
[cleverdevil]
If you just want something simple, its pretty easy.
#
[cleverdevil]
TL;DR - `\Idno\Core\site()->addEventHook('notify', function (\Idno\Core\Event $event) {`
#
zoglesby
One of the things I wanted to do was a micropub endpoint for a microsub servers, so that is good to know
#
[cleverdevil]
That's exactly what I am doing.
#
[cleverdevil]
Sending notifications to a Microsub channel.
#
zoglesby
[cleverdevil]: $notifications_endpoint = \Idno\Core\Idno::site()->config()->notifications_endpoint; that is in the config file not a setting?
#
[cleverdevil]
So, that's a line from my plugin.
#
[cleverdevil]
You'll need to create your own plugin that uses that same logic.
#
[cleverdevil]
See the above link to my GItHub repo.
#
zoglesby
yeah, but where are you putting the actual value of notification_endpoint?
#
zoglesby
I already copied your plugin the other day and made changes to it, as I am trying to get the microblog feed template you have working, just did not notice this part of the code.
#
[cleverdevil]
Ah, gotcha.
#
[cleverdevil]
I put it in the config file.
#
[cleverdevil]
(For Known)
#
zoglesby
cool
[cleverdevil] joined the channel
#
zoglesby
[cleverdevil]: I am not sure if this is what you are trying to do, so I will note it here and not in a bug
#
[cleverdevil]
Yeah, its intentional 🙂
#
[cleverdevil]
That code is all pretty gross. But, basically I decided I only wanted to syndicate some content to micro.blog, not everything.
#
zoglesby
yeah, I used to to block other stuff, I just was not sure if you wanted the likes or not as the code to set it up is before that
#
zoglesby
and it took me a moment to figure out why my likes did not show up
#
[cleverdevil]
Gotcha 🙂
[snarfed], tantek, [cleverdevil], raucao and [kevinmarks] joined the channel