2019-04-11 UTC
jjuran, [jgmac1106], stevestreza, ichoquo0Aigh9ie, dougbeal|mb1, [kenbauer] and KartikPrabhu joined the channel
# 01:48 GWG If you are always storing location, how do you know when to show it or not?
eli_oat, [kenbauer], [fluffy], cweiske and ingoogni joined the channel
# 07:03 Zegnat Sounds like a UI question? E.g. aaronpk is always showing his location through his background map image
[audioundergroun, [kevinmarks], swentel, gRegorLove, GWG, KartikPrabhu and [Rose] joined the channel
# 08:53 [Rose] GWG: How about store a location visibility property? In the case of your plugin, perhaps "default", and then "public" and "private" would be the set values, so if I change my default setting the posts that didn't get an explicit setting before go with the flow.
# 09:43 Loqi Ok, I'll tell them that when I see them next
# 10:43 GWG [Rose]: I do that now. The absence of the property means the default is used. But there appears to be an issue with Micropub
# 10:45 GWG Which means checkins from OYS aren't showing a location
[Rose] joined the channel
# 10:57 GWG The other option is to use the logic that if the location comes from Micropub without the visibility property to assume public.
# 10:58 GWG Or to set checkins to always be public
krychu joined the channel
# 11:24 GWG I think I may have to stop my other project before I go back to webmention stuff
ingoogni and eli_oat joined the channel
# 12:04 GWG Also got a bugfix to Micropub I may push if the reporter doesn't find others in a day or so
[kevinmarks] and [eddie] joined the channel
# 12:12 [eddie] GWG I would definitely think a checkin post type via Micropub that isn’t a private visibility should show the location by default
[grantcodes] joined the channel
# 12:13 Zegnat GWG, let me know when you fix that bug that takes up all the hours of the day. I am experiencing that too
# 12:14 GWG Zegnat, what repository do I file the issue in?
# 12:16 GWG [eddie]: I have never used post type discovery to set location visibility
# 12:18 GWG Micropub doesn't do PTD, nor does Location.
# 12:20 GWG So it is for me not only a problem and a solution, but where it goes
# 12:21 GWG I have a file in each plugin for integrations with another plugin
# 12:23 GWG Should I assume all Micropub posts with a location property that don't explicitly set location as private are public?
# 12:24 GWG This is more a general behavioral assumption that I would want to codify into the location visibility proposal
# 12:25 Loqi [dshanske] #16 New Property: location-visibility
# 12:26 [eddie] Yeah that makes sense and it matches the existing “visibility” behavior
# 12:27 [eddie] And that doesn’t mean someone can’t set an app’s default location visibility to private, so that every request sends private
[stefp] joined the channel
# 12:27 [eddie] So I don’t think it’s a privacy concern. I think that’s the right step from the spec side and the rest is about UI
# 12:28 GWG [eddie]: All I need is for Indigenous for iOS to support location visibility
# 12:28 GWG Or any client other than Indigenous for Android
# 12:35 [eddie] Makes sense. It’s on the list. Albeit, I’ll be honest, not SUPER high. There are some larger more broad scope issues within Indigenous for iOS in terms of usability that are higher priority
# 12:35 GWG That and query for supported Properties
# 12:35 GWG [eddie]: Just hoping it will catch on.
# 12:36 [eddie] I DEFINITELY need to get some of the queries in there like supported properties, post types, etc
# 12:36 GWG You could be the first client to support querying for queries and properties
# 12:36 GWG Though I may try another PR to Quill someday
# 12:37 GWG No one is doing profile in Indieauth support except Quill and WordPress I think
# 12:37 GWG I also want to have expiring tokens, but no client supports them
[Rose] joined the channel
# 12:37 [Rose] GWG what do you need? I could fork Quill, add the features and open a PR.
# 12:37 [Rose] And I would then also have my own install of Quill which I want.
# 12:38 GWG [Rose]: Just want to add support for some experimental ideas
# 12:38 swentel yeah, have an issue open in indigenous to look for it if it exists
# 12:41 [Rose] If you could throw me a list then I can put it in my task manager.
# 12:41 swentel there's a lot I could do actually which are supported by drupal/wordpress I think: pkce, queries and properties, indieauth profile
# 12:42 GWG The issue with refresh tokens is what do we do for backcompat?
# 12:42 GWG Which means that those clients will start failing
# 12:42 [Rose] How do they handle an invalid token? Could that be used?
# 12:42 GWG Not sure if oauth2 has a solution
# 12:43 GWG OYG and OYS just stop and you have to notice
# 12:43 swentel of course, if the token is invalid, I could just restart the auth screen
# 12:43 GWG For a client, it would just fail, but even Indigenous for Android didn't explain why well
# 12:44 [Rose] Maybe expiring tokens would only be given to clients which explicitly say they support it?
# 12:45 GWG Also, subject to abuse if you allow clients to always get long lived tokens
# 12:45 [Rose] I wouldn't see this as a long term solution, just as an interim one.
# 12:45 [Rose] The same config that tells you where the media endpoint is for clarity.
# 12:58 sknebel [Rose]: that's server config, not client config ;)
# 13:00 swentel well, it could be in the q=config response, 'allows_refresh' or something like that
# 13:03 [Rose] That's what I meant. Doesn't Q config also say where the media endpoint is?
# 13:28 [Rose] I'm having one of those days. But I made it to the airport!
swentie, swentel, [schmarty] and [eddie] joined the channel
# 14:25 [eddie] Yeah by time you do q=config you already have a token 🙂
snarfed, [jgmac1106], [schmarty], sebsel, [dougbeal], jackjamieson and ingoogni joined the channel
[stefp], snarfed and leg joined the channel
# 17:43 snarfed i have a narrow niche use case for the proxy html+mf2 pages that bridge services like bridgy and bridgy fed render for silo posts
# 17:44 snarfed i want webmention receivers to fetch and handle them normally, but it might be nice for browsers to get redirected to the silo pages themselves
# 17:44 snarfed i could use an HTML meta redirect tag, which in practice i expect would do what i want
# 17:44 snarfed the question is: does that sound like an ok idea?
# 17:48 Loqi [snarfed] #253 support HTML meta http-equiv=refresh redirects
# 17:56 sknebel I seem to remember some library somewhere actually did handle meta tags as redirects, but I'd not commonly expect it
# 17:57 snarfed hmm! how would that work? if wm discovery code followed meta redirects, i expect it wouldn't care about the timeout, right?
ingoogni joined the channel
# 18:06 sknebel I feel like I remember code making a difference between an immediate redirect and a delayed one
# 18:16 snarfed helpful first step might be to say explicitly whether meta redirects should be followed, in either the wm spec or fetch spec or wherever. cc aaronpk
[schmarty] joined the channel
# 18:25 [schmarty] !tell [manton] a bunch of my posts at micro.blog/schmarty show no content, which is true that they have no content! they have u-bookmark-of, u-read-of, etc. makes sense that m.b doesn't support all of those, but i *do* include a p-summary that could be displayed.
# 18:25 Loqi Ok, I'll tell them that when I see them next
# 18:28 [schmarty] i'm trying to find where this has been discussed before and having trouble.
[manton] joined the channel
# 18:28 [manton] [schmarty] I was just looking at this. Micro.blog is reading your JSON Feed (converted from Granary). It does have a summary but the content is blank, which is really unusual.
# 18:28 [manton] The spec says: "content_html and content_text are each optional strings — but one or both must be present."
# 18:29 [schmarty] and thanks for that catch! it seems the issue i need to make sure granary picks up my summaries
# 18:31 [manton] Yeah, I think in this case the feed is technically valid but it seems weird not to have anything in the content. Micro.blog could use the summary instead... But why is there a summary if there's nothing being summarized? 🙂
# 18:32 [schmarty] but mf2 summary can (should?) be used as a fallback when there are unexpected mf2 properties, so i'd expect granary to map that to content_text.
# 18:33 snarfed sounds like granary's emit invalid jsonfeed. should it maybe be stricter on jsonfeed output and fail (return http 400) if there's no content?
[grantcodes] joined the channel
# 18:36 [manton] [schmarty] What do you do in an RSS feed for these types of posts?
swentel joined the channel
# 18:40 [schmarty] [manton]: i use granary for that as well. for RSS it looks like summary becomes the item description. atom feeds end up with empty content.
# 18:43 [schmarty] unless snarfed would be interested in taking PRs to have granary fall back to summary if content would be empty in JSON feed and/or ATOM.
# 18:44 snarfed although technically the atom content feed is optional, so i'm not sure i'd add the fallback there
# 18:45 snarfed fallback (or error) for jsonfeed sounds good though
# 18:47 [schmarty] oh that's interesting re: content in ATOM feed. is there an expectation that granary does something like post-type-discovery to determine the content from an html+mf2 source?
# 18:49 snarfed somewhat, yes, but that doesn't currently include summary
ingoogni, KartikPrabhu, [Rose], [dougbeal], [schmarty], [kevinmarks], eli_oat and [eddie] joined the channel
# 21:43 GWG aaronpk, the expiring/refresh token question...is there a precedent in Oauth2 for how we move from non expiring to expiring?
# 21:43 aaronpk in oauth, apps pretty much always have to be prepared to handle expired tokens and do the refresh flow
# 21:47 GWG aaronpk, but since no Indieauth client currently supports it to my knowledge, what will be the concerns if the server does?
# 21:47 aaronpk the clients will treat it as a generic error when trying to post, and what happens next depends greatly on the client
# 21:48 GWG Which is a problem. Most don't handle it well
# 21:49 aaronpk if an app doesn't handle it well, the "fix" that the user can do is to log out and back in again
# 21:49 aaronpk like right now in quill it would show an error message if you try to post, and then i'd tell someone they have to log out of quill and log back in and then it will start working again
# 21:51 Loqi [snarfed] i have a narrow niche use case for the proxy html+mf2 pages that bridge services like bridgy and bridgy fed render for silo posts
# 21:52 aaronpk i know we've talked about the html meta tags for other HTTP status codes especially 410, but I don't remember any discussion about this for redirects yet
# 21:53 GWG aaronpk, I guess I just need a client to implement them
# 21:53 aaronpk GWG: there are plenty of other reasons an access token can become invalid other than a natural expiration
# 21:53 aaronpk so you shouldn't treat this as something that you have to wait for a client to implement
# 21:54 GWG I just think there needs to be a better response on some clients
[stefp] joined the channel
# 21:54 aaronpk definitely, but you could always lead the charge by implementing that on the server first :)
# 21:54 GWG I already support expiring tokens because I expire authorization codes
ingoogni, tomasparks, [schmarty], treora, stevestreza, sknebel, snarfed and [kevinmarks] joined the channel
# 23:50 [kevinmarks] RSS is ambiguous about the summary/content distinction - Atom made it explicit. Ideally JSON Feed would follow Atom on this.
# 23:52 [kevinmarks] (the original RSS use case had description for links, so was closer to summary than content - the difference was never properly addressed)