#dev 2022-11-22
2022-11-22 UTC
# IWDiscordRelay <jacky#7226> Thank you! Now to make it work (lol)
# IWDiscordRelay <jacky#7226> I have the code for it in tests, but I still need to play with UX
gxt joined the channel
# [snarfed] kongaloosh just fyi, your follow mf2 might have a bug, the u-url seems to have a Python dict embedded in it: https://pin13.net/mf2/?url=https://kongaloosh.com/following/nikolai@mstdn.ca
# gRegor [snarfed], https://indieweb.social/@tchambers/109383220637101265 or other posts by Tim today
geoffo joined the channel
# [snarfed] lots in the spec, https://www.w3.org/TR/activitypub/
# [snarfed] more in that spec, https://www.w3.org/TR/activitystreams-core/
# GWG I think I need https://www.w3.org/TR/activitystreams-vocabulary
gRegorLove_ joined the channel
[chrisaldrich] joined the channel
# [chrisaldrich] That is the question. Whether 'tis nobler in the mind....
# [chrisaldrich] Twitter << A Twitter archive project for [[Eleventy]] https://github.com/tweetback/tweetback
# Loqi ok, I added "A Twitter archive project for [[Eleventy]] https://github.com/tweetback/tweetback" to the "See Also" section of /Twitter https://indieweb.org/wiki/index.php?diff=84561&oldid=84514
# [iambismark] Anyone ever written/come across a puppeteer script for dumping Slack messages? It’s for a restricted workspace so unlikely I could use the API.. not trying to do anything nefarious, I just want a way of grabbing all the tweets I’ve ever shared for archival purposes…
# [iambismark] If not I’ll have to whip one up!
Nuve, Seirdy and joshproehl joined the channel
# [iambismark] meh who needs puppeteer when you’ve got the dev console…
# [iambismark] ```Array.from(document.querySelectorAll(".c-search__container .c-virtual_list__item")).filter(el => el.id.startsWith("messages_")).forEach(elem => {
# [iambismark] let id = elem.id.split("_")[1];
# [iambismark] let text = elem.querySelector('.p-rich_text_section').textContent;
# [iambismark] let ts = elem.querySelector('.c-search_message__gutter a').attributes['data-ts'].value.split(".")[0];
# [iambismark] messages[id] =
{ ts, text }
;# [iambismark] });
# [iambismark] document.querySelector(".c-search .c-scrollbar__hider").scrollBy(
{top: 500}
);```# [iambismark] (please don’t judge my js)
mro, gxt, barnaby, Kaja, Nuve, sciamp[m], AramZ-S[m], ash[m], kandr3s[m], h4kor[m], Kat[m], Zagura[m], gRegorLove_, imachange, [chrisaldrich] and [jeremycherfas] joined the channel
# [aciccarello] I know many people find the www unnecessary, but for sites that redirect the apex domain to a www subdomain, would there be a way in tooling like indieauth and bridgy fed to drop that part at least in UIs?
gxt and mro joined the channel
# IWDiscordRelay <jacky#7226> As someone who's going to transition to that (because I want to host other things), I'm curious about this too
# [aciccarello] I think it makes sense to use the exact domain by default. I'm curious what is so important about the exact domain in mastodon if the top level domain redirects. I know some people with a self hosted mastodon subdomain have it appear in mastodon as the top level domain (@person@social.personal.example is configured to show as @person@personal.example)
# [aciccarello] I'm not sure how you'd configure it (maybe a name attribute on <link rel="authorization_endpoint">?) but yes being able to drop the subdomain on the username. For a mastodon example, I think Zach does this on https://fediverse.zachleat.com/@zachleat which appears as @zachleat@zachleat.com
# Loqi It looks like we don't have a page for "bridgy fed doing to pick the domain it presents" yet. Would you like to create it? (Or just say "bridgy fed doing to pick the domain it presents is ____", a sentence describing the term)
# [aciccarello] Oh interesting
# [aciccarello] Are you talking about https://www.w3.org/TR/indieauth/#redirect-examples
# [aciccarello] The only thing I'm seeing in the new spec is about 301 redirects. See "Basic Redirect" in this section https://indieauth.spec.indieweb.org/#authorization-server-confirmation
# barnaby https://indieauth.spec.indieweb.org/#email-like-identifier would be the perfect path for mastodon to adopt indieauth
# barnaby btw aaronpk the paragraph fragment links to those examples are broken, they all link to https://indieauth.spec.indieweb.org/#authorization-server-confirmation
# sknebel [aciccarello]: https://indieauth.spec.indieweb.org/#access-token-response - "me (required) - the canonical user profile URL for the user this access token corresponds to."
# sknebel and then https://indieauth.spec.indieweb.org/#authorization-server-confirmation - client verifies that this url declares the endpoint as its endpoint
# [aciccarello] Yeah, I saw that. So theoretically I should be able to drop the www from the h-card on my domain to use that as the canonical?
# [snarfed] took a big step just now, switched the Mastdon button on the https://brid.gy/ home page to point to https://fed.brid.gy/, to surface the Fed option more visibly to new users
# [aciccarello] sknebel, oh I think I read the "me value" part wrong. Sounds like that's coming from the authorization endpoint
# sknebel tony finch still wins IMHO: https://dotat.at/ (look at the email address in the footer :D)
# barnaby their blog URL adds yet more confusion https://dotat.at/@/
geoffo joined the channel
# [aciccarello] I'd love to drop all the material design styles from my site and strip it down to a simple stylesheet
# barnaby [jacky]: here’s what I use https://github.com/Taproot/indieauth/blob/main/src/Server.php#L913
# [jacky] https://mblode.github.io/marx/ re: CSS strip down, was thinking of forking, moving to CSS vars where I can and go from there
# barnaby [jacky]: there are some additional headers for the auth form, too https://github.com/Taproot/indieauth/blob/main/src/Server.php#L770
# [aciccarello] Yeah, I'd like to have more element selectors. I have a whole bunch of ideas for css but haven't prioritized it yet. https://github.com/aciccarello/ciccarello.me/issues/105
# aaronpk fyi Pragma is dropped from OAuth 2.1 https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-07
# aaronpk https://www.rfc-editor.org/rfc/rfc7234#section-5.4 "Because the meaning of "Pragma: no-cache" in responses is
# [aciccarello] [jakewilkins] Your welcome? Or I'm sorry? I'm not sure which 😆
# [aciccarello] Oops wrong tag. Thanks slack autocomplete..
geoffo joined the channel
# barnaby ha ha [jacky] I already made an issue about those headers on the indieauth spec https://github.com/indieweb/indieauth/issues/117
jeremycherfas joined the channel
mro joined the channel
# barnaby should the profile URL response also have a no-store header? it doesn’t contain sensitive tokens, but is otherwise similar https://indieauth.spec.indieweb.org/#profile-url-response
jeremycherfas joined the channel
# barnaby I just checked for the token introspection endpoint and clients are allowed to cache those responses, no Cache-Control headers are specified https://datatracker.ietf.org/doc/html/rfc7662#section-2.2
gRegor joined the channel
mro joined the channel
# barnaby yeah I’m definitely in favour of at least mentioning as many relevant things as possible in the spec and providing fleshed-out examples, even if they are non-normative and just link to some of the other OAuth specs. Fragmentation has always been a criticism of OAuth2, and though 2.1 does a lot to fix that, I think indieauth does a good job of being an example of how OAuth extension specs can be written to be clear and mostly self-contained
# [KevinMarks] Anil Dash's site used to be something like dot-anil.dashes.com
[Jeremy_Keith] joined the channel
# [Jeremy_Keith] In the interests of getting many eyeballs on a bug, can anyone figure out why webmention.io returns a status of `no_link_found` here? https://webmention.io/roytang.net/webmention/1e0dOomp9Ms1JcMbvSUh Here’s the source document, which has the target link in the HTML, all marked up in an h-entry: view-source:https://adactio.com/links/19669 What am I doing wrong?
# [Jeremy_Keith] That’s odd!
# [Jeremy_Keith] [aaronpk] That’s probably why I’m getting the same response when I try to send you a webmention too: https://webmention.io/aaronpk/webmention/FkItiZSBlphkNua2pCsV
# [Jeremy_Keith] Well, I guess I won’t be sending any webmentions through webmention.io then.
# [KevinMarks] I tried with mention.tech and it worked:
# [KevinMarks] 32 seconds ago adactio.com/links/19669
# [KevinMarks] mentioned roytang.net/2022/11/word-web-persons/ ✅ 6 seconds ago mention sent '201'
# Loqi It looks like we don't have a page for "406" yet. Would you like to create it? (Or just say "406 is ____", a sentence describing the term)
# [Jeremy_Keith] [tantek] Nope, it’s a standard PHP page returning some HTML.
# aaronpk weird, this fails `curl -H "Accept: text/html" https://adactio.com/links/19669`
tbbrown joined the channel
# [Jeremy_Keith] Hmm …I wonder if this is because Apache is configured with `MultiviewsMatch` for PHP files (so that I can use `/links/...`` in URLs when the actual file is `/links.php/...` (so it’s doing something behind the scenes that’s messing with the accept headers)
# Loqi It looks like we don't have a page for "MultiviewsMatch" yet. Would you like to create it? (Or just say "MultiviewsMatch is ____", a sentence describing the term)
# [KevinMarks] if the conneg barfs, could you retry with a plain GET?
# [Jeremy_Keith] Is it because I have this in my Apache config? `AddType application/x-httpd-php .php` (I think I need that so that .php files are parsed as PHP)
# [Jeremy_Keith] A-ha!
# [Jeremy_Keith] sknebel++
# [Jeremy_Keith] By jove, I think that may have fixed it!
# aaronpk hey cool, xray is parsing the pages now! https://xray.p3k.app/parse?url=https%3A%2F%2Fadactio.com%2Flinks%2F19669&pretty=true
# [Jeremy_Keith] Yay! https://webmention.io/aaronpk/webmention/9UCsNKul-DD1zp7uwwqy
# [Jeremy_Keith] Thanks for the eyeballs, folks!
# [Jeremy_Keith] Yeah, it was definitely a screw-up on my part. It may be something I copied and pasted from a well-meaning but incorrect tutorial about setting up Apache and PHP.
# [Jeremy_Keith] 👋
mro, [manton], [jacky], [Jeremy_Keith], [fluffy] and vilhalmer joined the channel
# IWDiscordRelay <jacky#7226> might be interesting https://github.com/reiver/greatape
mro and bterry joined the channel
# [snarfed] discovered this just now 😆 🤔 https://socialhub.activitypub.rocks/t/about-the-fediverse-enhancement-proposals/1168
jamietanna joined the channel
# jamietanna tantek I ended up writing https://gitlab.com/jamietanna/content-negotiation-test-cases because I wanted consistent (and spec-compliant) test cases for my content negotiation pieces
# jamietanna obligatory conneg++
# jamietanna :P
# jamietanna zalgo++
# jamietanna That is very weird that aaronpk's `accept` above didn't negotiate to activity+json, unless they've also got a preference internally to show HTML over `application/activity+json` / `application/json`
# [jamietanna] Yeah I've definitely had that before, and part of me building that suite was to start seeing if other common implementations match my own usage and reading of it
gxt joined the channel
# [aciccarello] I'd like to watch this later but it seems like it'd be relevant for some of the people here working on ActivityPub interop https://www.youtube.com/watch?v=vnciCz83t70
gRegorLove_ joined the channel
# [tantek] snarfed, there's also this: https://socialhub.activitypub.rocks/c/fediversity/fediverse-futures/58
gRegorLove__ joined the channel
# [tantek] hey has anyone tried this? https://github.com/mwt/apfollow/
# [tantek] like does this work? https://apfollow.mwt.me/?user=tantek.com&instance=tantek.com
# [aciccarello] It works when I put in a mastodon username
[pfefferle] joined the channel
# [pfefferle] oh nice 😍
# [aciccarello] Sounds related to https://github.com/snarfed/bridgy-fed/issues/60
# [aciccarello] Also, I opened https://github.com/snarfed/bridgy-fed/issues/314 for the option to drop subdomains.
# [snarfed] I also don't see its IP in my logs, but looks like it's hosted on https://bunny.net/, and it's CNAMEd to their CDN, so I doubt that IP is static or the same for its server side outbound traffic
[aciccarello]1 and [snarfed]1 joined the channel
sknebel_, lanodan_ and walkah_ joined the channel
# [snarfed]1 right. but as I said ^, I can't know the IP that traffic came from, and it doesn't include its host anywhere
# IWDiscordRelay <jacky#7226> what are webrings
# IWDiscordRelay <jacky#7226> hm
# IWDiscordRelay <jacky#7226> might add https://lib.rs/crates/faery-ring to that page
aaronpk, superkuh, angelo, AramZ-S[m] and Zagura[m] joined the channel
nertzy and ash[m] joined the channel
# Loqi [Christine Lemmer-Webber] If anyone wanted to look at it, the ActivityPub test suite (now down, I know. anyone want to take it over?) was built on Pubstrate, and it also included a kind of interesting set of experimental ideas on which I used to prototype ActivityPub things ... https://assets.octodon.social/media_attachments/files/109/389/753/657/487/322/original/7a4636d42dccd7cf.png
gxt joined the channel