#dev 2018-10-11

2018-10-11 UTC
rhiaro and snarfed1 joined the channel
#
AngeloGladding
aaronpk sorry to bother but if you have a second -- i'm on https://webmention.rocks/test/11 and i've confirmed i'm sending a mention to the correct address of the three https://webmention.rocks/test/11/webmention
#
Loqi
[Webmention Rocks!] Discovery Test #11
Ruxton and jmac joined the channel
#
aaronpk
there are only two there
[chrisaldrich] joined the channel
#
AngeloGladding
link header, <link> and <a>
#
AngeloGladding
either way i'm grabbing the one of the three that isn't suffixed with "/error" and sending the same mention there that i've been sending to the others
#
aaronpk
oops misread yeah
#
AngeloGladding
it must be me
#
AngeloGladding
i'll keep looking
#
jgmac1106
@zegnat or anyone looking to add to their resume, vita or GitHub logs. . This ain’t meant to be Tom Sawyering at all, but you may want to help build the webmention platforms, especially if you see academic CS in your immediate or current future. Downes has way more street cred then me, having a few commits or prototypes in your portfolio wouldnt be bad career move
#
aaronpk
i'm pretty sure that test works fine
#
jgmac1106
@chrisaldrich here is the blank template
#
jgmac1106
if enrollment is low we will buid a php form where you drop in name and url to application post.
#
jgmac1106
Learners will do one post in response to the learning activity. they will include the reply-to link to the learning activity
#
jgmac1106
we will send a webmention back as reply to that reply
#
jgmac1106
the other approach…and for some reason I like this…but I don’t know why. I do in like EDU 522 where they do activity and then write an application badge
#
jgmac1106
,…..oohhh I know why I klie that, duh, requires reflection
#
jgmac1106
we send badge back to application
#
jgmac1106
there will also be a tutorial on how to remix the badge template so any participant can remix them and give them out to anyone.
#
AngeloGladding
aaronpk invalid_target
#
AngeloGladding
The target provided does not accept webmentions.
#
jgmac1106
as we are doing this, I Stephen, and whomevever in the class will build a micropub badge creator..probably php as GRSShopper is all perl modules, and Reclaim is going to make install instant.
#
AngeloGladding
am i correct in that the webmention should be sent to: https://webmention.rocks/test/11/webmention
#
jgmac1106
, where I pop in the learning activity, it parses instructor h-card, link to activity, and criteria. There is an svg badge maker included. It spits out an html file that includes links to img, blank space for learner name, blank space for link to learner post, plus a link to a “ledger”
#
jgmac1106
ithe syndication link registers the application, the instructor can then check or uncheck issue, don’t issue, or not required.
#
jgmac1106
hit a button and this and a micropub client publishes the badge post with the learner name and evidence fields not parsed and filled in. Learner and the the ledger recieve webmention badge will be issued
#
aaronpk
AngeloGladding: yes, here's the one i just sent https://telegraph.p3k.io/webmention/12UmcsYu3txbhR1FNk/details
#
aaronpk
are you setting the correct target URL?
#
AngeloGladding
'twas my fault indeed
j12t and [tantek] joined the channel
#
[jgmac1106]
so I have been chewing on the question of post types versus post type discovery as I think about my migration plans....probably will just archive my current blog to keep life easy peasy
#
[jgmac1106]
so it seems like that is major design difference between different platforms, but I could be wrong, didn't want to pam chat mroe than my usual obnoxious daily spamming so blogged about it instead: http://jgregorymcverry.com/when-is-a-pic-is-a-photo-lingering-questions-about-post-type-discovery/
[dmitshur], renem and eli_oat joined the channel
#
[tantek]
Bridgy seems to assume that your posts live at the same root as your authentication for everything else
#
jgmac1106
atleast you figured the issue
#
jgmac1106
okay I need to take my dogs out, sat down at 8:30 and now its 11pm
#
[tantek]
We need to file an issue for that because that should be allowed
[eddie] joined the channel
#
@jgmac1106
Finally realized why educators fell in love with Google+ It was webmentions before we knew what webmentions were. We all had GAFE, we all had Hangouts, we all used Blogger. I posted on my blog and it went to my network. Someone commented on my network… https://jgregorymcverry.com/7847-2/
(twitter.com/_/status/1050233941511290881)
[Rose] joined the channel
#
KartikPrabhu
oh come on! Google+ wasn't webmention!!!
#
KartikPrabhu
it would be webmention if webmetion only worked with one companies software
[pfefferle], [dmitshur], chrisaldrich, [tantek], [asuh], [xavierroy], swentel and [kevinmarks] joined the channel
#
[kevinmarks]
It was richer originally, back when it was opensocial.
#
[kevinmarks]
Particularly Google friend connect
#
[kevinmarks]
That was a bit like bridgy
swentel, [jgmac1106] and [chegalabonga] joined the channel
#
@jgmac1106
Webmentions (well network mentions) were a cool part. Blogger only way to get write access to Google+ but the other tools made UX great. Hangouts, HoA for chat and video, gDocs for writing, gSites for the web. We had everything in different places all… https://jgregorymcverry.com/7849-2/
(twitter.com/_/status/1050335093875765248)
#
[jgmac1106]
I did say network mention but it was the coolest thing when integrated G+ comments came to Blogger and then WordPress
#
[jgmac1106]
When you add in the video chat, audio chat, YouTube, gDocs, glides, still hard for me to think of better network
#
[jgmac1106]
But we were all amazed when you added G+ comments and you had conversations across so many circles pulled back to your blog. For people with nascent tech skills it was amazing
#
[jgmac1106]
Everything I had on Google+ I want on an open web network
#
[jgmac1106]
@swentel at [eddie] noticed issue closed about trying to get reply tweets on Indigenous syndicated to Twitter to thread. Is there anything I can do on my end to make it happen?
#
swentel
when you posted a reply, did the reply link contain the twitter url ?
[eddie] joined the channel
#
[eddie]
jgmac1106 it’s not really best practice for a Micropub client to syndicate to a silo. Lots of overhead. That really needs to be handled on the Micropub server side. I detailed my approach here: https://github.com/swentel/indigenous-android/issues/93#issuecomment-420769290
#
Loqi
[EdwardHinkle] @jgmac1106 The proper way for this is actually to just have the Micropub server automatically syndicate posts to Twitter. For example, my website pings brid.gy on every reply post. Brid.gy then will check the post I am replying to in order to see if ...
#
[eddie]
I know your Wordpress doesn’t work well with Bridgy because of the issues with sending Webmentions (if I remember correctly) so that’s tricky 😕 but getting a website that works with Bridgy for Twitter syndication is probably the smoothest path forward
#
[eddie]
(I know that’s easier said than done 🙁)
[Rose] joined the channel
#
[jgmac1106]
Nope on the way, I had to ask for a dev app from Twitter since Known stripped away convoy, still waiting and waiting... But leaning towards Known..but everyone talking about data storage and post type templates has me doubting
#
[jgmac1106]
. Ooohhh so Bridgy publish works for me bc it's a WordPress plugin, Indigenous does not use said plugin... Now I get it
#
Zegnat
Bridgy Publish should trigger when Indigenous creates a new post, I think?
#
[jgmac1106]
Looking through the wiki it was pretty clear folks don't want people using databases or file templates
#
[jgmac1106]
I would think. I might have it off by default as I selectively cross post to different networks
#
Zegnat
Aah. Maybe it depends on mp-syndicate-to then? And Indeginous would need to send that along? snarfed or GWG would know better, probably :)
#
[jgmac1106]
But still leaning towards Known. Hope to finish WordPress escape plan this weekend... So soon hopefully reply tweets will work for me
#
Zegnat
[eddie], swentel, does Indigenous support the mp-syndicate-to ?
#
Zegnat
Also note, [jgmac1106], that the things we get all heated about w.r.t. Known’s db structure and such is highly arbitrary. I think you should look at UX more than some of our peculiar data storage preferences
#
sknebel
Zegnat: yes, it does support syndication
#
[jgmac1106]
yeah for me it was do I try to learn how to spin up my own, but I would need 2 months of learning and building time, not something during academic year. so it was Known or micro.blog and Known offers more post types that I want, especially bookmarks
#
Zegnat
Known also is further ahead on events, I believe, which is nice
#
GWG
Micropub triggers a WordPress hook for syndicate-to. The Bridgy plugin predates it and doesn't use it. It's something I should fix
#
Zegnat
Ah. So it is true that if [jgmac1106] posts from Indigenous and marks said post for Twitter syndication, that is doesn’t get picked up? Good to know!
#
GWG
It does
#
GWG
The old way was, on publish, it reads the syndicate-to property
#
GWG
It works
#
Zegnat
Then I am again at a loss why [jgmac1106] wouldn’t be seeing syndication happen.
#
GWG
I put the hook in later
#
Zegnat
Ooh, nice
#
Zegnat
backs out of WP talks once more
#
[jgmac1106]
Known has only event UI, and I like idea of community building idno plugins
#
GWG
He seems to have problems I can't explain.
#
Zegnat
May I suggest literal fire as a fix?
#
GWG
I should dive more into why
#
Loqi
yea!
#
sknebel
does syndication not happen, or are replies not threaded on twitter? the github issue was awfully vague
#
GWG
Well, there are always Bridgy issues with people's markup
#
sknebel
if it's the latter, it sounds like the issue miklb hit. but bridgy logs can show you that
#
[jgmac1106]
@sknebel, sorry, I copy a a lik to a tweet, I open indigenous, select reply and post in link to tweet, I publish, the post is a correct reply on my site but it is not a reply to the tweet on Twitter
#
GWG
The issue appears to be the timing
#
GWG
I figured out how to fix the reply problem, but it involves sequence of events
#
jgmac1106
if it is local to me don’t fix, my piublication time is ridously long, can take north of ten seconds to publish a post
[pfefferle] joined the channel
#
[eddie]
jgmac1106 yeah I wouldn’t worry too much about Known’s database. It’s worked well for [cleverdevil] for a long time. At some point you might want to move on, but I think moving to Known gets you a lot of what you want with easy of use
[kevinmarks] joined the channel
#
swentel
Zegnat, yes, you can toggle syndication targets
#
GWG
I have fixes not related to you specifically
#
jgmac1106
[eddie] I have like 46 different Known blogs going right now, very familiar…just reading the anti-pattern and the opost discovery page scared me as its pretty clear which direction we want folks goin gin
#
Zegnat
Known is doing post discovery ...
#
jgmac1106
yeah my biggest worry is broken links, not sure if I should try to import all my post using WordPress Known plugin, very worried about comments and permalinks all over the web, how do folks handle large platform switch, not too much data just over 2 gigs
#
Zegnat
I think petermolnar has a text file mapping old URLs to new URLs and just redirecting. Which is a good way to handle it. Not sure if you can easily generate one of those
#
[eddie]
When I had to do a migration that’s what I did. An old to new url mapping. But I control of the web server (nginx) to be able to set that up outside of software
#
[eddie]
It’s nice though. Because now I just have a file I give to my web server and it handles redirecting people and my CMS can just worry about current sites
#
petermolnar
[eddie]: it's doable with php, which is what I ended up with
#
petermolnar
301 or 302 redirect with php header();
#
petermolnar
doing it with nginx is tedious, I tried that as well
#
petermolnar
nginx needs a reload if/when the mapping changes
#
[Rose]
Peter have you got a link to how you're doing that somewhere?
#
[Rose]
I.e. do you have a PHP file at each of the pages that previously existed?
#
Zegnat
Just provide the PHP file as 404, I guess
#
[Rose]
I wonder if I can do that in Grav
#
[Rose]
(They have redirects built in, but I want a general "if you're looking for /microblog/ then replace xxx.com/microblog with yy.xxx.com)
#
[Rose]
Which I should probably just do in nginx actually
#
aaronpk
That kind of thing is perfect to do in nginx
#
petermolnar
I collect all the gone and redirect urls; gones are one file per slug, redirect is file name to-be-redirected-from, content is target, collected with a glob (*.url, *.ptr files) then rendered into a php file with the python builder; https://github.com/petermolnar/nasg/blob/master/templates/Index.j2.php
#
[Rose]
Great minds think alike?
#
[Rose]
Thanks for the link!
#
petermolnar
it is ok in nginx if it's a one-off, given that nginx can include, but it'll get tricky with apparmor/selinux and to reload automatically if the config changes
#
petermolnar
[Rose]: it's a jinja2 template that generated PHP
#
petermolnar
it's not nice :)
#
Zegnat
Yep. But grav can probably do it too. I expect it routes all nonresolving URLs to its pwn router/index and then finds the page it needs to serve. If it finds nothing, Grav probably serves some 404 page. You'd want to run your redirector right before grab serves a 404
#
[Rose]
Working > nice > great code
#
[Rose]
That's why I'm thinking nginx Zegnat
#
jgmac1106
I was thinking I could just create archive.jgregorymcverry.com and use a find/replace to change every link for my site, and then figure out the redirects…will try the WP->Known importer as well
#
jgmac1106
I will head over to -wordpress but maybe something like this will work: https://wordpress.org/plugins/redirection/
#
Loqi
[John Godley] Description Redirection is the most popular redirect manager for WordPress. With it you can easily manage 301 redirections, keep track of 404 errors, and generally tidy up any loose ends your site may have. This can help reduce errors and improve yo...
#
jeremycherfas
When I moved from Octopress to Grav, I made an htaccess redirect that swaps out the first part of the requested URL because all the slugs stayed the same. But because I haven't moved all the posts over, if you look for something from a link elsewhere, you get a 404 from the new CMS.
#
jeremycherfas
I decided not to attempt to separate out the two kinds of "not found". Not found because it isn't here, vs not found because Jeremy is lazy.
#
jgmac1106
well ye the human cost of closing borders is awful in terms of xenophobia that could easily lead to violence as well
#
jgmac1106
oops wrong channel
[chegalabonga] and [kevinmarks] joined the channel
#
Loqi
[PlaidWeb] Pushl: Push notification adapter for feeds
#
Loqi
ok, I added "https://github.com/PlaidWeb/Pushl" to the "See Also" section of /WebSub https://indieweb.org/wiki/index.php?diff=52784&oldid=51369
#
Loqi
[PlaidWeb] Pushl: Push notification adapter for feeds
#
Loqi
ok, I added "https://github.com/PlaidWeb/Pushl" to the "See Also" section of /Webmention https://indieweb.org/wiki/index.php?diff=52785&oldid=47970
[jgmac1106] and renem joined the channel
#
petermolnar
!tell aaronpk do you keep logs of webhook requests for webmention.io? I set it up a while ago to send notifications with it, but some time ago it seem to have stopped sending. I've added some debug logging to see whenever another happenes if it's my side or webmention.io, but it'd be easier with logs from the other side.
#
Loqi
Ok, I'll tell them that when I see them next
#
aaronpk
i think i only have the stdout log from the worker
#
aaronpk
those web hooks power my own webmentions so i know at least it's not completely broken
#
petermolnar
ack; in which case it's most probably my side
[xavierroy], [Rose], tonz, [kevinmarks], snarfed and [jgmac1106] joined the channel
#
Zegnat
[jgmac1106], PTD is to assign a label to web content. “Is this a note?” “Is this a photo?” Etc. It derives these labels from the data that is at hand.
#
Zegnat
So you as a publisher can influence Post Type Discovery in many ways.
#
jeremycherfas
!tell jgmac1106 Yes. That's the point, You could use a similar heuristic. Has it got lots of words, relative to pictures? Then it is not a photo post. Has it got lots of pictures, relative to words? Then it is a photo post. But the argument seems to be that it is best left to post discovery to decide. At least, that's how I see it.
#
Loqi
Ok, I'll tell them that when I see them next
#
Zegnat
But at the same time, you as publisher do not need to know about the ins and outs of post type discovery. You can just go and publish your thing and let software like readers figure out by themselves
#
jeremycherfas
I think we are in agreement, Zegnat
#
Zegnat
Currently PTD says that something is a photo post if the publisher has marked up a photo specifically. So if you are just putting images into a text post, there is no reason why that would become a photo post.
#
Zegnat
Think so too, jeremycherfas :)
#
jeremycherfas
And on photo vs post, it just doesn't seem too difficult.
#
Zegnat
Are you posting a photo and is the content of the post about said photo? Mark that photo as taking the limelight.
#
Zegnat
Are you posting a photo and is it just part of the content? Don’t mark it as anything special, it is just part of your content.
#
Zegnat
Not sure what the choices around that are like in WordPress, of course :)
#
jeremycherfas
Of course. :)
#
[kevinmarks]
is the photo there to thematically inform the post? use u-featured
#
Zegnat
Right, that’s a third option, hehe
#
jgmac1106
will catch up off to work, ended up hanging with [eddie] a lot longer than I thought, but realized three things got me here open pedagogy ands moocs, Mozilla, and podcasts wityh [Kevinmarks] and gina Tripani (not same showsO through the yearsz
#
Loqi
jgmac1106: jeremycherfas left you a message 6 minutes ago: Yes. That's the point, You could use a similar heuristic. Has it got lots of words, relative to pictures? Then it is not a photo post. Has it got lots of pictures, relative to words? Then it is a photo post. But the argument seems to be that it is best left to post discovery to decide. At least, that's how I see it.
#
[kevinmarks]
does u-featured imply it's not a photo post? If a post has a lot of photos, then using u-featured to mark the representative one also makes sense.
#
sknebel
u-featured afaik doesn't imply anything about PDT
#
Zegnat
goes to double check
#
Zegnat
featured is not used, no
#
Zegnat
So it can be a photo post and have a featured that either matches the photo or is a separate thing
[adamprocter] joined the channel
#
[adamprocter]
worked, Ive advised that is a pretty dirty hack
snarfed, j12t, [tantek] and [grantcodes] joined the channel
#
[grantcodes]
My micropub endpoint is getting close to ready for release 🙂 It's even usable on glitch which is pretty neat
dgold, KartikPrabhu and [jgmac1106] joined the channel
#
[jgmac1106]
Grantcodes++
#
Loqi
Grantcodes has 25 karma in this channel over the last year (33 in all channels)
#
[jgmac1106]
Actually heading to Glitch HQ now for a meet and greet. Going to be highlighting how close we are to having all the building blocks available
snarfed joined the channel
#
mattl
[jgmac1106]: nice... i haven't been to their new new office
#
tantek
[jgmac1106]++
#
Loqi
[jgmac1106] has 6 karma in this channel over the last year (65 in all channels)
jackjamieson, [tantek], [cleverdevil], [pfefferle], [asuh] and chrisaldrich joined the channel
#
snarfed
pleasant surprise: github rest api actually returns http 410 for deleted issues/prs/repos
#
snarfed
410 is so rare, finding it in the wild is like a four leaf clover
#
Zegnat
TIL: four leaf clovers are not a good thing, clovers only grow the fourth leaf because they require it to stay alive in the spot they are growing.
#
Zegnat
takes himself out for going off-topic
jackjamieson, [kevinmarks], [eddie] and [chegalabonga] joined the channel
#
jacky
is there a list of properties one could expect for a h-entry?
#
Loqi
[Tantek Çelik] h-entry is a simple, open format for episodic or datestamped content on the web. h-entry is often used with content intended to be syndicated, e.g. blog posts. h-entry is one of several open microformat standards suitable for embedding data in HTML. ...
#
jacky
excellent
#
snarfed
[eddie]: bridgy bug accidentally paused your account, you'll want to restart it. sorry! https://brid.gy/twitter/EddieHinkle
#
[eddie]
I demand a refund! 😉
#
[eddie]
thanks for the headsup
#
ben_thatmustbeme
a $0 refund is refusing to go through the payment processor API... time to file a bug report :P
snarfed, [tantek], [asuh], [cleverdevil], [Rose], Rose1 and tantek joined the channel
#
@jgmac1106
↩️ > Leave This Blank:Leave This Blank Too:Do Not Change This: > > Your email: > > > > > Clint hit me up anytime with #IndieWeb @WordPress questions. Box you see is from webmention plugins. It is for people who do not have plugins to send a manual… http://jgregorymcverry.com/7857-2/
(twitter.com/_/status/1050497417190301696)
[tantek] joined the channel
#
[jgmac1106]
Must be bad train wifi? Not sure what happened
#
@edtechfactotum
↩️ Thanks! So, if they have webmentions enabled on their blog & write a post that references my site with permalink back to my post somewhere in their post, would it work like pingback/trackback and just automatically appear in my comments?
(twitter.com/_/status/1050500723819966464)
#
@edtechfactotum
↩️ ...and if their blog doesn't have webmentions, they would have to come abck to my original post and enter in the url back to their post in that box. Is that how it works?
(twitter.com/_/status/1050500889201455104)
swentel joined the channel
#
[cleverdevil]
!tell swentel I am trying out Indigenous for Android, and am getting an error "Error: No value for unread"
#
Loqi
Ok, I'll tell them that when I see them next
#
swentel
interesting
#
swentel
[cleverdevil], which microsub server are you using ?
#
[cleverdevil]
Aperture (hosted version)
#
swentel
hmm weird
#
swentel
I'm on aaron's instance, didn't have any problem with that so far
#
swentel
so unread will be empty
#
swentel
while it should contain at least 0 or so heh
#
[cleverdevil]
Happy to do whatever you need to troubleshoot!
#
@jgmac1106
↩️ Yes. Checkout https:// edu522.networkedlearningcollaborative. Taught using webmentions. It was so amazing. Helped reshape my #OpenPedagogy. put link to specific post anywhere and then add their url and drop into box. You get webmention. You can change language of prompt
(twitter.com/_/status/1050501987110924288)
#
[cleverdevil]
I am using cleverdevil.io to login, which seems to work just fine.
#
swentel
[cleverdevil], does the error occur on the the 'channels' list of when you want to go to the posts in a channel ?
#
swentel
s/of/or
#
@jgmac1106
↩️ Yes but if they are on blogger or http://WordPress.com or others they can use Bridgy for webmentions. Currently building a webmention badge platform. What is better endorsement than DNS? And all you need is link to criteria and evidence. Just 2 websites talking together
(twitter.com/_/status/1050502507510804481)
#
[cleverdevil]
I don't even get a list of channels.
#
swentel
right, ok :)
#
swentel
then I know where it happens
#
[cleverdevil]
It also happens when I tap "refresh channels."
#
swentel
[cleverdevil], I'll have to patch the code to ignore the empty 'unread' property in the response of the channels
#
swentel
first time I've heard this one though
#
swentel
downside is that you won't see the number of unread posts per channel
#
swentel
so in a way, it /might/ be a bug in aperture somewhere
#
swentel
but been a while since I checked that code
#
swentel
If you could find the place where it sends the response of the channels and hardcode unread property to 0, the channels should show up
#
snarfed
oh hai swentel
#
swentel
snarfed, answering on #16 :)
#
swentel
'url' also gets the same validation
#
[cleverdevil]
I am guessing it returns the proper unread count sometimes
#
[cleverdevil]
Just maybe not in one case or something
#
swentel
so will be discarded if the url host isn't the same as the actor
#
snarfed
swentel: hmm but does it compare url against actor's url? and id against actor's id?
#
snarfed
so if ids were both fed.brid.gy, and urls both the user's site, then maybe it could all work
#
swentel
where it uses @account.uri
#
swentel
to validate
#
swentel
[cleverdevil], can you open an issue, I can fix it tomorrow and push another release :)
#
swentel
snarfed, I'll send one with id as fed and url as my site, let me check
[tmiller] joined the channel
#
@edtechfactotum
↩️ Odd. I see that I have 2 comments on the post, one being a webmention, but the webmention comment doesn't actually appear in the comment section. Should it? Or maybe it's a theme issue?
(twitter.com/_/status/1050505195224879104)
#
swentel
snarfed, more payloads on the issue
#
@jgmac1106
↩️ The webmention box you are seeing is normal but we can tweak it. Heading to @glitch HQ to hang with folks and talk about how we build learning tools for better future but happy to help anyone with #IndieWeb @WordPress
(twitter.com/_/status/1050506661050355713)
#
swentel
[cleverdevil], this is very interesting, you are actually using the same instance as me .. :)
#
swentel
(I'm user 6)
[chegalabonga] joined the channel
#
swentel
so, in a way there's obviously a bug in aperture somewhere
#
sknebel
swentel: snarfed did you talk to Mastodon about the check that annoys you? e.g. in the PR adding it, there's even the question if it is a good idea due to bridgy! https://github.com/tootsuite/mastodon/pull/6219
#
Loqi
[Gargron] #6219 Fix bad URL schemes being accepted
#
swentel
yeah, I've read that comment too
#
swentel
it's silly
snarfed joined the channel
#
snarfed
thanks swentel! ok, so, the disappointing conclusion is, mastodon requires that AP actor ids are a strict prefix of all of their object ids and urls...?
#
Loqi
[Gargron] #6219 Fix bad URL schemes being accepted
#
swentel
also, check the comment on that issue
#
swentel
it's well .... ironic ....
#
sknebel
so what's the harm in opening an issue "hey, turns out this is actually a problem, could you change it"?
#
snarfed
oh wow yeah
#
snarfed
sknebel: agreed, especially since they figured it would be a problem themselves. https://github.com/tootsuite/mastodon/pull/6219#pullrequestreview-87115563
#
swentel
I think a revert for that url property should be harmless, imho
#
snarfed
swentel: yeah, i'd love to hear more background of why they wanted this, what problem they thought it solved
#
snarfed
also swentel some of the mastodon code i looked at earlier seemed to check for full prefix, not just host. could you tell if it's now just host?
#
swentel
you mean subdomains, or protocol match (or both?)
#
swentel
well, I could check what Addressable::URI.parse(url).host returns of course heh
#
snarfed
oh i meant URL paths
#
snarfed
swentel: feel free to reply to https://github.com/tootsuite/mastodon/pull/6219 and ask them to reconsider or explain! or i'm happy to if you don't feel up to it
#
Loqi
[Gargron] #6219 Fix bad URL schemes being accepted
#
swentel
snarfed, well, maybe it has more weight as a maintainer I guess ?
[grantcodes] joined the channel
#
snarfed
maybe! sure
#
[grantcodes]
swentel & [snarfed] You can switch aperture to not return true / false instead of unread counts. I assume that is the issue
#
[grantcodes]
oops [cleverdevil] not snarfed
#
swentel
also my english isn't always great heh :/
#
snarfed
swentel: it is! but no worries, i'm happy to
#
swentel
yeah, just read the anser
#
[cleverdevil]
I bet I could fix the issue by changing that up.
#
[cleverdevil]
But, I am also guessing that its a bug in Indigenous 🙂
#
swentel
yep indeed :)
#
swentel
forgot about that feature
#
swentel
broken here now too
#
swentel
although ...
#
swentel
one could argue
#
swentel
well .. check the spec first .. :)
#
swentel
s/check/checking
#
swentel
If the server does not support read state tracking, then the server must not return the unread property in the response.
#
swentel
so yeah, indigenous bug ;)
#
swentel
I wonder if [eddie] knows about this one
#
[cleverdevil]
Glad I could help find it!
#
[cleverdevil]
(iOS Indigenous works fine)
#
swentel
aaah heh :)
#
swentel
I do wonder though why it wouldn't send just unread:0
#
swentel
but oh well
#
[cleverdevil]
No big deal!
#
[cleverdevil]
Easy fix, thankfully 🙂
#
[cleverdevil]
(FWIW, you should also likely check for true/false, as that also seems broken)
#
swentel
oh the 'Show unread indicator' ?
#
[cleverdevil]
You need to handle integers, booleans, and the lack of the property entirely.
#
swentel
ok, will check, I don't even know what it does .. :)
#
swentel
but yeah, glad it's an easy one, I sometimes really like subtle bugs like these hehe
#
swentel
ok, time to sleep, laters!
#
snarfed
thanks again swentel!