#known 2019-05-24

2019-05-24 UTC
[jgarber], benwerd, [eddie], [Rose], jbove, [tonz], [frank], [calumryan], [jeremycherfas] and [jgmac1106] joined the channel
#
[jgmac1106]
jbove there are some glitches with micropub clients some time, I find I just lkeep Known on my home screen as a PWA to be more reliable
[kimberlyhirsh], [Rose], [tonz], [grantcodes], [jeremycherfas], jbove and egoexpress joined the channel
#
sknebel
jbove: those issues are all closed?
[jgarber], [jeremycherfas], [tonz], [tantek], [aaronpk], [schmarty], [kimberlyhirsh], [frank], [Rose], [jgmac1106], [Ana_R], benwerd, [anomalily], [chrisaldrich], [eddie], [cleverdevil] and jbove joined the channel
#
jbove
sknebel: Yes, that true. I believe my issue to be related.
#
jbove
sknebel: I'm trying to learn how Indigenous actually POST things on Known. I don't know at the moment where to see what is happening. In my Apache server logs, I only see the requests, but not the payloads. Where does Known keep log of these pubsub requests?
#
aaronpk
servers typically don't log the contents of POST requests
[cleverdevil] joined the channel
#
[cleverdevil]
Known doesn't.
#
[cleverdevil]
You can drop into the plugin and add some logs, if you like.
#
Loqi
[cleverdevil]: [jgmac1106] left you a message 2 weeks, 3 days ago: can you take a look at this: https://github.com/cleverdevil/Known-Food/pull/5
#
[cleverdevil]
The entire IndiePub plugin could really benefit from a rebuild, though.
#
jbove
Looking at this: \Idno\Core\Idno::site()->logging()->debug("MicroPub endpoint pinged: " . print_r($_REQUEST, true));
#
jbove
Where is this logged?
#
jbove
cleverdevil: your site rocks by the way, almost as good as aaronpk's ;-) All truly inspirational
#
jbove
setting pedantic_mode to true ...
#
jbove
cleverdevil: What would you do differently in the rebuild for the IndiePub plugin?
#
sknebel
jbove: you can use something like https://sink.zegnat.net/ to see what kind of data indigenous posts
#
jbove
sknebel: Thanks for the pointer to sink. Will test it out. :+1:
[chrisaldrich], [Rose] and [cleverdevil] joined the channel
#
[cleverdevil]
Sorry, @jbove, was away from Slack or a bit.
#
[cleverdevil]
Thanks for the compliments on my site!
#
[cleverdevil]
What would I do differently on IndiePub?
#
[cleverdevil]
For IndieAuth, I'd make it smarter about not generating new tokens when a token for a specific application already exists. My database is absolutely littered with tokens for repeated authorizations of a ton of different tools. In addition, I'd make the approval screen much prettier, including the `h-app` information for the application that is requesting a token. Finally, I'd fix the bug where a request for a token that is made before the use
#
[cleverdevil]
doesn't work after login.
#
[cleverdevil]
On Micropub, I'd likely throw it all away 🙂
#
[cleverdevil]
Its sort of a jumbled mess as it stands. I'd delegate as much as possible to plugins, so they could add new capabilities without having to modify the IndiePub plugin itself. That's sorta possible now, but its totally undocumented as far as I can tell, and I've never been able to get it working.
#
[cleverdevil]
Some of that is currently outside of my capabilities at the moment, when it comes to PHP.
[tantek] joined the channel