#LoqiTwitter Poll is a Twitter feature that lets you post a poll question with up to four answers for people to choose https://indieweb.org/Twitter_poll
AngeloGladding, [unoabraham], loicm, cweiske, [kevinmarks] and jeremycherfas joined the channel
#jeremycherfas!tell zegnat Progress! We now get to the next ifelse in common.php.
#jeremycherfasError "error_description "The request lacks valid authentication credentials""
#jeremycherfasAnd in the curl_response "{"me":"http:\/\/localhost:8888\/grav-admin\/","client_id":"https:\/\/omnibear.com","scope":"post create delete update"}"
#jeremycherfasThat ""me" mtches exactly the "me" in Omnibear.
#ZegnatLooks like Mintoken is fixed then! Did you use my alternative branch or the htaccess fix?
#LoqiZegnat: jeremycherfas left you a message 1 minute ago: Progress! We now get to the next ifelse in common.php.
#jeremycherfasChrome. Omnibear has an option to open the Inspector before you send a POST, so you can see the error messages. But it seems that if the response is OK the popup just closes.
#ZegnatI don't understand. Without the json_decode surely response is just a string and all those of checks should fail as they rely on an array
#jeremycherfasLet me run debug again, in case I have confused myself.
#ZegnatOh. Actually. I think it isn't working at all. What is happening is that PHP is throwing an error, which gets send to the browser as a HTTP 200 response.
#ZegnatThe default is just $_SERVER['HTTP_HOST'], which will be without the :8888. So if you are using the default base_url, it is actually comparing `https://localhost/` (the me in the micropub endpoint) to `http://localhost:888/grav-admin/` (the me you gave to token endpoint)
#ZegnatSo it *should* be failing at the $me check, unless you have set a correct base_url in the micropub endpoint
#ZegnatThe micropub endpoint code is assuming that you want your $me to be https:// followed by the bare domain, which is localhost for you. But that isn’t what you have used during the indieauth steps.
#ZegnatAnd then that gets compared to the $response['me']. ($response['me'] is the me-value the token endpoint sends, and completely down the flow, is the original me that was given to the token endpoint when you logged in with selfauth.)
#jeremycherfasSo the value of $me is the value of $base_url
#jeremycherfasSo I guess I need to know what $_Server[http_host] is. Or should I try hard-coding it first?
#jeremycherfasBecause if that works, we know that that is where the problem is, no?
#ZegnatIf base_url on line 10 of your micropub/config.php is set to 'http://localhost:8888/grav-admin/' and it still isn’t passing the $me == $response['me'] check, something is iffy somewhere
#jeremycherfasOK, with base_url hard coded, things are completely different. I now get different errors.
#jeremycherfas{"error":"cannot_mkdir","error_description":"The content directory could not be created."}
#jeremycherfasWhich is great because it means Micropub is trying to make the file, and as I have done nothing yet to give it the right paths and things for Grav versus Hugo, that is entirely to be expected.
#ZegnatThat notice feels somewhat expected, as skippy doesn’t seem to check for the existence of those array keys before using them.
#ZegnatAnd indeed, the mkdir error is good news and sounds like a rights issue only, not a PHP or configuration problem anymore!
#jeremycherfasSo, while it would be nice to get to the bottom of why the $me check fails, I'm happy right now to proceed with base_url hard-coded and move on.
#ZegnatI am just finishing breakfast and getting ready for more tea :)
#jeremycherfasI always like to accomplish something before doing dumb things like opening email and breakfast (or coffee) and this seems like a good moment to pause.
#ZegnatTime to put that PHP course to good use, jeremycherfas! Haha
#Zegnatremembers how he was turned down at his last job application for being “too junior” of a developer, and goes back to mitigating timing attacks against his token endpoint
loicm, [kevinmarks], ben_thatmustbeme, Kyle-K and renem joined the channel
#Zegnat!tell jeremycherfas thanks again for all the debugging! I have pushed v1.1.0 of Mintoken: that includes your README tweaks as well as the Apache fix
#jeremycherfasThanks zegnat. I will pull that and hope to have time this evening to make further progress.
#Loqijeremycherfas: Zegnat left you a message 1 hour, 5 minutes ago: thanks again for all the debugging! I have pushed v1.1.0 of Mintoken: that includes your README tweaks as well as the Apache fix
[jgmac1106] joined the channel
#@calum_ryan↩️ Likewise would be great to have your input on this on IndieWeb slack/irc.
A couple of people joined in interested in knowing more about the features available for sending/receiving Webmentions on static sites. Noted jekyll-webmention_io by @AaronGustafson as one option for Jekyll (twitter.com/_/status/994193666737627136)
#LoqiMorris is a self-hosted PHP service for storing Webmentions from webmention.io in a JSON format that static sites can use to render them without querying webmention.io on each build https://indieweb.org/Morris
#schmarty^ i felt bad hitting webmention.io for every site build, so i started caching them alongside the site source files
#jackythat actually got me curious; what's the load like for webmention.io?
#schmartyjacky: haha, i hadn't used it for any new projects in a while, either. i got inspired after reading a lot of the code in projects from aaronpk, zegnat, and others.
#schmartyi also got frustrated at the extra code organization and server config steps for hosting fresh flask and sinatra apps and decided to give "just slap down a PHP file and get started" a try.
#schmartythat is a great question! i don't recall if aaronpk has published any stats on it.
#[eddie]aaronpk: So I’m thinking about trying to get Indigenous 1.0 released for IWS, but I’d probably need to scale down the current “1.0” feature set. Before I try to attempt figuring out what the final 1.0 would be, I want to see if you think you would be interested in rolling out the short-term Aperture accounts? I imagine you have a lot to do before that so I don’t expect that’s something you have time for
#tantekSince IWS is just over a month away, I figured I'd try to collect a list of particular itches to scratch (features to get working) on my site *before* IWS, to show, and something to build on during
#aaronpk[eddie]: let me think about what it would take to be able to open that up to people
#tantekdoes anyone else have a prioritized shortlist of things they want to build *before* IWS?
#snarfedtantek if you're taking votes, your minimal implementation of rendering rsvps on event posts is awesome...i bet it'd be pretty easy to extend to showing replies on normal posts too! i vote for that :P
#snarfed(and i expect would still mostly avoid spam, since it seems like the majority of that for you is @-mentions, which are sent to your home page, not to posts)
#gRegorLoveNot prioritized, but I have some ideas in my head before IWS.
#tanteksnarfed the RSVPs display on event posts was very much custom CSS just for that
#snarfedsure. if it's just new CSS, that still sounds not too big a project...?
#tantekdepends on how "rich" the content is you want to display, and how well designed you want it to look
#snarfedyou're always good at starting minimal and iterating! :P
#tantekshowing responses on "normal" posts is blocked on figuring out pixelating avatar images (I get likes from sometimes distasteful accounts)
#tantekshowing actual comments (replies) on "normal" posts is similarly blocked on some form of moderation tech since I already get nonsensical (at best) replies which I do not want to show or link to on my site :/
#tantekI realize that these are not typical problems, but eventually we're going to have to solve these problems for folks that tend to get "attacked" more on social media (that is, assuming they want to make backfeed work)
#tantekI could start the other way too, with a whitelist and *only* show responses on "normal" posts from either indieweb or whitelisted (followings?) silo accounts
#snarfedoh yeah i was just thinking replies to start, not necessarily likes/reposts
#jacky.wtfcreated /IndieMark_Scanner (+441) "Created page with "**IndieMark Scanner** is a project started by {{JackyAlcine}} to give IndieWeb participants a way to determine exactly where they fall on the scale of marks. It's like https:/..."" (view diff)
#[eddie]aaronpk: Sounds good. I’ll think more through what my final 1.0 feature set would look like while you think through Aperture and then we can compare notes
#tantekI'm wondering if there's some decent heuristic for Twitter filtering that will get like 90% of unknown "normal" authors
#aaronpk[eddie]: i think big ones for me are going to be whether or not i need to polish up the subscription management UI in aperture
#tanteklike, (5+ years old OR 1k+ followers) *and* followers > followings
#aaronpkif you can preview and subscribe to feeds within Indigenous then people won't really need to interact with the Aperture UI except to create channels, and that sounds like a lot less support I will have to do
#[eddie]Yeah I think those are definitely 1.0 features I would need to add
#[eddie]One of the things I’m doing right now is adding channel settings, and I’ll be adding the ability to add/remove feeds to a channel that way. Preview should be pretty simple since I can reuse the timeline view with the preview data returned from Microsub
[jgmac1106], arush and [eddie] joined the channel; arush left the channel
#[eddie]Hmmm 36 issues for a potential Indigenous 1.0.... about 1 a day to finish in time for IWS?!?!? 😕 haha I guess we’ll see. I definitely need to step it up
#[eddie]Some are harder than others so it might not be as challenging as it seems
#KartikPrabhuwould be hilarious if someone tries to remove their data from BLOCKCHAIN
#tantekKartikPrabhu: I think GDPR may have effectively outlawed use of blockchain for any personal/identifiable data, which is nearly all data these days (account info, photograph etc.)
#@pandemia↩️ Hai ragione Nicola, su Pandemia li ho riaperti insieme a webmention. Su http://lucaconti.it potrei fare la stessa cosa ma non l'ho fatto per pigrizia e perché non mi diverte tanto gestire la parte tecnica. Ora sono a San Francisco. Magari quando torno (twitter.com/_/status/994289171228344320)
#KartikPrabhuI think blockchain should always be in all caps, to denote shouting
#Loqikartikprabhu has 22 karma in this channel (197 overall)
#aaronpkso if someone who has an account at webmention.io contacts me to ask me to delete their account, I will do that, that makes sense
#aaronpkbut what happens if someone who has sent a webmention to someone with a webmention.io account contacts me to delete all their information?
#aaronpki feel like that is not my place to do that, since it would be surprising to the person who has the webmention.io account
#ZegnatI am not sure if having a legitimate interest to handling their data (because a person with an account has requested this of you) makes you exempt from removing said data. I don’t even know if there are exceptions to the right to be forgotten thing.
#aaronpkit seems like that person should contact the account owner to request deletion, and then the account owner could contact me requesting deletion
#ZegnatMaybe, but would that make you a data processor for the account owner? Maybe in the way Google Analytics is reframing things? If so, I wonder if that means you must have DPAs with account owners
#Zegnatshuts up before he starts to be the one spreading FUD
#aaronpkI don't really know, but I see why some companies are just like screw it, we're closed to all EU customers
#tantekI think the requiring ability to delete your account (and any info it gathered) is a good thing
#Zegnatmaybe you should advertise people hosting their own copy of webmention.io more instead, aaronpk. Then they are in charge of their own data and what they do with it
#aaronpkbut my question is what if someone like Zegnat comes to me and says "delete everything about me from webmention.io", does that mean i should also delete the webmentions he has sent to tantek.com that are stored in your account?
#ZegnatI am not sure I would build that tool the same way if I did it today. I see no reason why it would need the whole of jQuery to generate an HTML string.
#[jgmac1106]okay so I am not going crazy, I was thinking same thing.
#tantekZegnat: I see no reason why a generator update from hCard to h-card would need to even ask the questions of what JS framework it was written with, why it would need that framework, and prompt or imply a rewrite far beyond the original scope of a simple update. cc: [jgmac1106]
snarfed joined the channel
#ZegnatWell, you have to update template strings, but they target a 2005 templating system I had never heard about. It doesn’t need changing, but it did mean I had to check what that templating system does/does not support
#Loqi[Jeena] I love the podcast, I didn’t know that it was needed that badly but just listening to people talking about IndieWeb technology and questions I realize that it’s so much easier for me to listen to long ass podcasts for hours than read pages and pa...
#GWGSo, the logic is that if the source URL is on the domain whitelist, auto-approve it. The second level is to check the canonical URL. In future, it may be that I find a way to narrow it down.