#dev 2018-12-07
2018-12-07 UTC
[grantcodes], snarfed, iasai, oodani, iamJeffPerry, [eddie], ichoquo0Aigh9ie and cweiske joined the channel
# kisik21 Ported over ALL content. Now the only thing I need to do to have feature parity with the static version of my site is webmention support...
# kisik21 yay
iasai, barpthewire, swentel and aleksip joined the channel
# aleksip swentel: added $settings['reverse_proxy'] = TRUE; and $settings['reverse_proxy_addresses'] = array($_SERVER['REMOTE_ADDR']); to settings.php and now og:url shows as https!
# swentel so if you edit my webmention: type => webmention, target => https://www.aleksip.net/trying-out-the-indieweb-module, published status to 0
# swentel source is probably https://realize.be/comment/indieweb/4365, that's fine
# aleksip what do i put in 'property'? it is now 'no_link_found'
# aleksip ok!
# aleksip did not help, unfortunately... type changes to 'link_not_found'
# aleksip yes, although a comment was never created
# aleksip but the type changed correctly and the webmention was published
# aleksip ok, thanks, let's try that
# aleksip yes it worked! :)
# aleksip yes! although looks like i will have to configure how it is displayed properly
# aleksip a nice avatar and everything! great!
# aleksip thanks so much for all the help!
# aleksip ah probably some permissions issue
# aleksip yes, that was it!
# aleksip :)
# aleksip hope to find some time to get everything else like twitter integration working soon
# aleksip nice! :)
# aleksip would love to see this in core some day configured as much as possible to just work out of the box. would be great for indieweb.
# aleksip it is good to have dreams! :) and really great that dries is excited about it.
# aleksip swentel, maybe the reprocess failed because of the 'link_not_found' in 'property'? it was something else in when it worked.
[jgmac1106] joined the channel
# aleksip ok. i still need to learn how all this indieweb magic works! :D
[Khurt] joined the channel
# aleksip swentel, just checking if it is ok to drop the webmention_entity table since you mentioned it is not used any more? any other beta tables that can be dropped?
# aleksip ok, thanks!
jgmac1106 joined the channel
aleksip_ joined the channel
aleksip1 joined the channel
# aleksip how does one leave the channel from the web interface? couldn't find a way. maybe an operator could kick aleksip1 out of here? :)
# aleksip ah, looks like it just did! :D
[jgmac1106] joined the channel
# [jgmac1106] Any women or non binary folk near the NYC area (or have ability to uproot) https://www.recurse.com/blog/145-fellowships-for-women-working-on-open-source-programming-projects-research-and-art
# aleksip swentel, looks like the new webmention notification email is completely empty
# aleksip no
# aleksip :)
[Vincent] joined the channel
# aleksip well it is a nice-to-have feature that could be implemented outside of the indieweb module i guess...
# aleksip i was pleasantly surprised to see that module offered this feature, but then again i'd like to have notifications for regular comments as well, so then i would need two solutions
# aleksip great!
jgmac1106 joined the channel
snarfed and [Serena] joined the channel
# [jgmac1106] @zegnat tumblr>json>mf2 cite [cleverdevil] work....Micropub as Migration tool be so cool
# [jgmac1106] check to see how well post type disvocery works with exported tumblr material
# [jgmac1106] for tags I think they have rel=tags or a p-category or inserting those wouldn't be too bad
# [jgmac1106] actually I will try to respons but feel free to correct my errors...have crazy day at office first....who schedules all day meetings the first friday after classes end....grrrrr
[kimberlyhirsh] and eli_oat joined the channel
eli_oat1 joined the channel
[eddie] joined the channel
[schmarty] and ben_thatmustbeme joined the channel
[tantek] joined the channel
iasai joined the channel
snarfed joined the channel
eli_oat, snarfed, iasai, [jgmac1106], KartikPrabhu, aleksip, barpthewire and [Khurt] joined the channel
KartikPrabhu, [pfefferle], [eddie], iasai, eli_oat1, eli_oat, ben_thatmustbeme, snarfed, jackjamieson and gRegorLove joined the channel
snarfed1 joined the channel
# kisik21 IT WORKS
# kisik21 https://fireburn.ru/
# kisik21 oh wait
KartikPrabhu joined the channel
# kisik21 oh, I didn't set all endpoints correctly
# kisik21 Sorry to the people who were on my site now, I've restarted it
# kisik21 reload the page... and better clear the cache... I had a simple mistake in my config
# kisik21 the thing should point onto webmention.io, but was pointing at the incorrectly-set URL of non-existing endpoint on my server
# kisik21 I'm just looking at the logs and trying to count how many of you people are trying to get on my site now
# kisik21 sknebel: um, yeah
# kisik21 it still has JS comments
# kisik21 I plan on getting rid of it
# kisik21 when I migrate to my own webmention endpoint
# kisik21 by the way, sknebel, do you use an iPhone, a Mac or a Windows 10 PC?
# kisik21 ok
# kisik21 then who was using an iPhone and a Mac?
# kisik21 reading server logs is fun
# kisik21 Ok my micropub endpoint is broken
# kisik21 because my token checker is broken
aleksip joined the channel
# kisik21 It's literally my first serious foray into Flask
# kisik21 and it's broken
# snarfed1 everythingisbroken++
# kisik21 it's just so much of a shame that the Micropub endpoint was the FIRST THING there, and now it's broken for some reason... and the part that is broken is the part that didn't change
# kisik21 the token validation
# kisik21 sorry, I'll be debugging in production... expect massive server instabilities and temporary downtime
[Khurt] joined the channel
# kisik21 yep
# kisik21 that's an easy fix, I just need to change the json file...
# kisik21 ugh I'm so ashamed ><
# kisik21 it was just a missing import!
[eddie] joined the channel
[manton] and [grantcodes] joined the channel
iasai joined the channel
# kisik21 snarfed: I know
# kisik21 unit tests are a thing that I need to make
eduardm joined the channel
# kisik21 sknebel: did you receive a webmention?
# kisik21 Oh wait
# kisik21 no
# kisik21 you shouldn't have a webmention
# kisik21 Another bug has crawled
# kisik21 sknebel: ping! check your notifications, a wild webmention should appear
# kisik21 sknebel: yay
# Zegnat Here is a challenge, send a webmention to https://licit.li/
# kisik21 lol why
# kisik21 I use telegraph.p3k.io for webmentions currently. aaronpk, does it follow redirects on endpoints?
# snarfed ok aaronpk, i've deployed the fix for https://github.com/snarfed/granary/issues/158
# kisik21 snarfed++
# kisik21 who went to www.fireburn.ru?
# kisik21 there is no such site
# kisik21 only fireburn.r
# kisik21 s/r$/ru/
# kisik21 Zegnat: it didn't recognize the @mention... debugging
# kisik21 Zegnat: mf2py pulls rel= urls, means I could make my own telegraph
# kisik21 and I mean "my Micropub endpoint didn't recognize the syntax for mentioning a person"
# kisik21 Zegnat: I get "connection aborted" errors from Python but can access your site from the browser
# kisik21 Zegnat: what's up with your server, I can't curl your homepage
# kisik21 it drops the connection
# kisik21 I don't need magic! I need our software to interoperate!
# kisik21 are you http/2 only?
# kisik21 oops
# kisik21 yep, my tools don't do http/2
# kisik21 why did you decide to drop http/1.1?
# kisik21 Well... now I need to recompile ALL of my software on a weakling Raspberry Pi 2. Are you satisfied?
# kisik21 another good reason to switch OS on my server btw
# kisik21 also you're messing with me :3
strugee joined the channel
# Zegnat I wonder if https://h2o.examp1e.net/ might do the right ALPN thing
[relapse] joined the channel
# gRegorLove Haha, the http/2 thing can almost be an FAQ section on your user page, Zegnat
# kisik21 please remind me - what's a rel for the old webmention spec?
# gRegorLove :)
jgmac1106 joined the channel
# kisik21 Zegnat: oh, I still remember those times when what you curl is what you browse... when HTTP was still version 1.1
# kisik21 or even 1.0, I'm not sure
# kisik21 heck, I even had an ADSL modem a long time ago
iasai joined the channel
# kisik21 and I have unlimited data on my phone. The only caveat is that I should pay 50 rubles ($1 ~ 65 rubles) if I connect other devices to it via the hotspot (probably I could change TTL to evade this)
# kisik21 50 rubles a day, I mean
# kisik21 but that's more for #chat...
# kisik21 Who else other than Zegnat can challenge me to mention them?
# kisik21 Zegnat: no offense, I'd like to beat that challenge but it would require me several days of non-stop compiling
[jgmac1106] and leg joined the channel
# gRegorLove kisik21, webmention you mean? you can send me one, gregorlove.com
# [jgmac1106] Webmention everyone... Actually I do not know what happens to generic webmentions on Known... Send one to https://quickthoughts.jgregorymcverry.com
# kisik21 gRegorLove: huh, I seem to have made a silly assumption that the h-card is always on the main page
# kisik21 wait no it is there
# gRegorLove I do have an h-card there, however it's an odd one since it's inside the h-feed (kind of accidentally)
# gRegorLove It should be found via the representative h-card algorithm though.
# kisik21 that's a nice challenge for my hcardify(url) function!
# kisik21 > if a page contains an h-card with a url property value which also has a rel=me relation
# kisik21 can someone clarify?
# kisik21 do I need to recursively parse the page for an element containing a rel=me link which appears to be an h-card?
snarfed joined the channel
# gRegorLove The mf2 parser returns a list of rels. If you go through each h-card in order, the first one you find that has a u-url matching a rel=me is the rep. h-card
# kisik21 yeah
# gRegorLove No recursive parsing
# kisik21 but seems like I need to do that recursively for all items
# gRegorLove rels are page-scoped
# kisik21 rels are page-scoped
# kisik21 but h-cards need to be searched for recursively
# gRegorLove So it doesn't need to appear within the HTML of the h-card
# gRegorLove Ah, I think I understand. I guess so, depending which parser / helper libs you're using.
# kisik21 mf2py
# gRegorLove The one I use for PHP can give me all the h-cards in a page, so I can just iterate through them.
# gRegorLove (The helper lib does that, that is.
# kisik21 because it searches recursively
# gRegorLove )
# gRegorLove This should work https://github.com/microformats/mf2py##Filter+by
# kisik21 THIS WAS IN THE LIBRARY??!?!!!!!
# kisik21 I feel dumber than ever...
# kisik21 gRegorLove: by the way that doesn't work
# gRegorLove The filter doesn't return the h-card?
# gRegorLove That documentation is about the extent of my knowledge with mf2py, heh.
# gRegorLove sknebel or KartikPrabhu can probably help more, though
# gRegorLove Don't feel dumb! :)
# KartikPrabhu the filter_by_type functions only filters top-level items
# KartikPrabhu that could be fixed I suppose feel free to file issue or send a PR https://github.com/microformats/mf2py/blob/master/mf2py/parser.py#L478
# kisik21 gRegorLove: I got two h-cards by recursive parsing. Now I only need to apply the algorithm to it...
# KartikPrabhu one reason to avoid this would be that the nesting of a h-card is important
# KartikPrabhu you don't want a nested h-card in a h-cite (for instance) to be mistaken for a top-level h-card
# kisik21 representative h-card algo helps with that
# gRegorLove True, might be better for a helper lib, like it is in php-mf-cleaner. Not part of the parsing spec.
# kisik21 I think I'll have this lib soon
# KartikPrabhu there is also mf2util which is a helper lib for mf2py
snarfed joined the channel