#dev 2018-05-23

2018-05-23 UTC
#
[manton]
Cool. I need to figure out what to do then because this breaks people using OwnYourGram with Micro.blog if they use Twitter auth. Hmm. I might need to bump up the priority on Micro.blog becoming an auth provider.
#
GWG
[manton]: Lately, for me, it seems like I've broken too many people's sites.
eli_oat, Drew and [miklb] joined the channel
#
[miklb]
GWG on that ticket, is entry-content the class on the article or a div inside the article?
#
GWG
A div inside, I believe
#
[miklb]
commented
#
jgmac1106
[GWG] Please know people don’t really think that at all. You make our sites happen
#
GWG
I meant on the IndieAuth front
#
jgmac1106
On any front, when you play in other people’s backgrounds rules change and thing sbreak noone expects a one man army to hold the line all the time
#
jgmac1106
If I put a url behind a wrapper would it get a different kind of markup or still u-url?
tantek and [kevinmarks] joined the channel
#
[kevinmarks]
What's a wrapper in this context?
renem, leg, eli_oat, cweiske and snarfed joined the channel
#
snarfed
oh boy the twitter html changes broke bridgy/granary's scraping too 😭
oodani, snarfed, jjuran_ and AngeloGladding joined the channel
#
aaronpk
oh noooo
#
aaronpk
[manton]: yes please and I will gladly walk you through making that happen
#
aaronpk
I promise it won't be as hard as it sounds
#
Ruxton
aaronpk: I read that and wrote half it already ;)
#
aaronpk
excellent
#
aaronpk
everybody gets an indieauth server
#
Ruxton
if i get it finished :P
#
Ruxton
oh wait, confused that wth something else from other chan :P
#
Ruxton
too many channels! :)
#
aaronpk
haha what are you doing then
#
Ruxton
i saw this https://github.com/dshanske/indieweb-post-kinds/issues/165 somewhere earlier and started coding it, completely unrelated
#
Loqi
[scottmallinson] #165 Alternative URL to /kind/
#
aaronpk
haha cool
#
@bastianallgeier
↩️ 😱 And afterwards he’s going to hang out with you to discuss the OAuth implementation on his website and that he wants to integrate webmentions next but still isn’t sure if his PHP skills are enough. 😱😱😱
(twitter.com/_/status/999178159139491840)
swentel, jeremycherfas and sherab1 joined the channel
[mrkrndvs] and [kevinmarks] joined the channel
#
Zegnat
jgmac1106, just read your blog post, and am wondering about those ledgers. Can those be defined in some non-centralised way? Are they just an overview or are they essential for making the ecosystem work?
gRegorLove_ joined the channel
#
Zegnat
Going to give this some thought over lunch and possibly write a reply :)
#
jgmac1106
[zegnat] ny university would want record
#
jgmac1106
it is also how the badging ecosystem works, so my mind may have been stuck, you have issuers and then folks have a display like Mozilla BackPack
#
jgmac1106
but I was thinking if I did shut down my site, or my student shut down her site, I would like evidence of the badge to live on
gRegorLove_ joined the channel
#
jgmac1106
[zegnat] not sure if a double webmention, plus a parser is possible, there is no markup on my site for criteria and evidence, all theoretical with little to no understanding of how the plumbing works
[unoabraham], tantek, [kevinmarks], [jgmac1106], barpthewire, [wiobyrne], sherab, [Sherab] and snarfed joined the channel
#
skippy
re: post-type-discovery -- in a general sense, can a "note" contain a photo without making that a photo post?
#
sknebel
yes, don't mark it up as a photo property
#
skippy
i'm trying to figure out how to discern in my Micropub endpoint whether an item with a photo is a photo post, or an article with a photo, or a note with a photo....
#
skippy
"if it has a name, and more than 50 characters of text, it's an article" seems easy. but "no name with more than 50 characters of text makes it a note with a photo" seems a little more arbitrary...
snarfed joined the channel
#
sknebel
yeah, micropub is a bit annoying there. the client could upload a photo to the media endpoint and then link it from an <img> tag in the html content to create a post containing a photo
tbbrown joined the channel
#
sknebel
no photo property set -> not a photo post
#
skippy
but not all micropub clients support media endpoints in that way. some of them only do form-encoded photo uploads along with the body of the text
#
sknebel
then they can't create non-photo posts
#
skippy
that seems ... sub-optimal.
#
[jgmac1106]
i stick photos in non-photo posts alot
#
snarfed
lots more research on the twitter HTML changes that removed the likes i scrape for bridgy. plenty of dead ends; no closer to a solution. :/
#
Loqi
[snarfed] more research, based on viewing https://twitter.com/schnarfed/status/627581493137637376 while logged out: facepile in the html includes both retweets and likes, and doesn't distinguish between them: ```html <li class="avatar-row js-face-pile-c...
#
petermolnar
fyi: self hosted, pre-trained image recognition in python: https://opensource.com/article/18/5/getting-started-luminoth - from my initial tests, it requires a significant amount of resources, but the "fast" set is reasonable
[miklb] joined the channel
#
[miklb]
!tell [eddie] I’m still having an issue authenticating with Indigenous and my WP site. How best should I debug/troubleshoot? Quill authenticates just fine as a reference.
#
Loqi
Ok, I'll tell them that when I see them next
#
skippy
waves at [miklb]
#
[miklb]
howdy skippy!
#
skippy
hi hi!
#
[miklb]
I forget who developed Omnibear
#
[jgmac1106]
[unoabraham] this is 9.2 (didn't have sftp set up on work laptop) but made this: https://bookmarks.jgregorymcverry.com/
#
skippy
Keith Grant I think
#
[jgmac1106]
yes Kieth Grant
#
[jgmac1106]
[unoabraham] I can set it to public or private and then add the WordPress plug-in when a bookmark goes from private to public if I want to share
#
[miklb]
!tell [keithjgrant] Omnibear hangs retrieving the access token for my WP site. Quill authenticates fine as a reference. Any suggestions on how to debug/troubleshoot?
#
Loqi
Ok, I'll tell them that when I see them next
#
[miklb]
I think they both are hanging on a redirect, but I’m not sure how/where to look.
#
[miklb]
I suspect I should try disabling my 2fa plugin, though Quill handles it just fine.
[keithjgrant] joined the channel
#
[keithjgrant]
Are you on FF or Chrome?
#
[miklb]
I tested FF Nightly & Canary, both same behavior
#
[miklb]
want me to test stable?
#
[keithjgrant]
No, that shouldn't matter
#
[miklb]
it hangs on teh “retrieving access token…” screen
#
[jgmac1106]
I get hung up here: Authentication successful Retrieving access token... as well, but I know my micropub endpoints are broken
#
[keithjgrant]
In FF, go to about:debugging
#
[keithjgrant]
Check enable add-on debugging
#
[keithjgrant]
Then open debugger for Omnibear
#
[keithjgrant]
You can inspect the network requests
#
[keithjgrant]
See if anything pops out there
#
[miklb]
with a full code
#
[keithjgrant]
omnibear.com is returning 304?
#
[keithjgrant]
Does your endpoint return syndicate-to data?
#
[miklb]
it should
#
[miklb]
it should == yes, I have syndicate-to targets
maingo joined the channel
#
[keithjgrant]
Oh, 304 means not modified. Should be ok.
#
[keithjgrant]
If you open up settings, do you have any Authentication details set?
#
[miklb]
it’s not getting the token it appears
#
[miklb]
in the settings.
#
[keithjgrant]
I think my next task is going to be better logging
#
[keithjgrant]
A lot of these issues, but no visibility into what's happening
#
[keithjgrant]
(that and fixing reply-to, because that big is just embarrassing)
#
sknebel
logging++
#
Loqi
logging has 1 karma in this channel (2 overall)
#
[miklb]
no worries, just checking if anything I can do on my side. Had a few minutes to update a few things and test where they stand.
#
skippy
i'm waiting for syndication to work before i can use omnibear regularly.
#
skippy
i very much want to use it, so i dont have to copy-paste tweet URLs into quill
[eddie] joined the channel
#
[eddie]
[miklb] You're using the latest IndieAuth plugin code? Are you using the rel-me or self-hosted endpoint?
#
[miklb]
self hosted.
#
[miklb]
I think. Not sure I follow the question.
#
[miklb]
Eddie, after it authenticates, it reloads the 2fa screen.
#
[eddie]
Hmmmm. 🤔 I'm trying to think how to debug this
#
[eddie]
I'm almost wondering if the 2fa is messing with state
#
[eddie]
But it works with quill
#
[miklb]
I do see in the auth screen from WP “warning the redirect URL this app is using does not match the domain of the client ID”
#
[eddie]
That might be it
#
[eddie]
The wordpress IndieAuth plugin doesn
#
[eddie]
doesn't check for the redirect_uri from the client_id's website
#
[miklb]
should I file an issue for that?
#
Loqi
[dshanske] #41 Redirect_URI whitelist
#
[eddie]
It's that one
#
[eddie]
So maybe just +1 it or something :)
#
Zegnat
Anyone ever used selfauth with Indigenous? Now I am wondering about compatibility with everything.
#
[eddie]
I'm not sure, that's a great question
#
skippy
i still dont have a microsub server, so cant test indigenous.
#
skippy
though I DID use Indigenous for Android with selfauth, now that I think about it.
#
skippy
still waiting on an Indigenous for iOS invite...
#
[eddie]
I should probably remove the "24 hour" thing from the email form. haha It's been more like once a week
#
[eddie]
I see your registration :) I'll add you
#
Loqi
definitely
#
skippy
:heart: thanks!
#
[eddie]
My pleasure :) (also both Indigenous apps should work without microsub, but only for posting not reading)
#
swentel
can confirm :)
#
skippy
aye. i have a desire for microsub; but i did use (and will use) micropub
#
Zegnat
I should test the Android one for Micropubbing to my offline micropub set up. But I am not sure I even have the app.
#
Zegnat
What is Indigenous?
#
Loqi
Indigenous is a set of native apps for iOS and Android currently in beta that supports posting your website using Micropub and a built-in reader that supports Microsub https://indieweb.org/Indigenous
#
swentel
Zegnat, if you have gmail address, I can add you
#
swentel
or you can even download it from github
#
swentel
I always put the apks on there too
#
skippy
f-droid!
#
Loqi
I agree
#
swentel
that's the plan, haven't got there yet
#
swentel
bit of a hassle to set it up
#
swentel
(or I'm reading it wrong)
#
Zegnat
It has to build on their build servers for it to be on FDroid, right?
#
Zegnat
I do have a gmail address. Let me /msg you, swentel
#
skippy
no clue. never tried to publish an app; only ever installed.
#
[jgmac1106]
@indigenous is awesome
#
swentel
yeah, it needs to be build there
#
swentel
which is fine
leg and jgmac1106_ joined the channel
#
GWG
What's the redirect uri issue?
#
GWG
It doesn't check the headers and just issues a warning if not on the same domain?
#
sknebel
but it's supposed to do the redirect anyways?
#
GWG
It does
#
GWG
I got the idea from aaronpk because no one seems to be adding headers
#
sknebel
so https://github.com/indieweb/wordpress-indieauth/issues/41 is outdated? (last post by aaronpk shows an error message?)
#
Loqi
[dshanske] #41 Redirect_URI whitelist
#
GWG
It still redirects
#
sknebel
ok, the {"error":"invalid_grant","error_description":"Redirect not on same host as client"} sounded different
#
GWG
That message was removed in favor of aaronpk's warning suggestion
#
GWG
But it still doesn't check headers
#
GWG
I just wonder if I bit off more than I can chew with an IndieAuth endpoint
#
[keithjgrant]
Indieauth.com isn't reading rel=me links on Twitter. Is the t.co redirect breaking it?
#
sknebel
no, they changed their markup
#
sknebel
no rel=me anymore
#
GWG
I need to work with Micropub clients and people having problems to make it work
#
sknebel
GWG: don't think so, it seems like it's mostly working just fine, and most issues don't seem to be with your work
#
[jgmac1106]
and this is probably why all my webmentions from myself are being marked as spam comments
#
GWG
It works for me
#
jgmac1106_
micropub doesn’t work for me for other unknown reasons
#
pstuifzand
skippy, did you try to use ekster?
#
skippy
pstuifzand: i wasnt able to figure out how to tie all the pieces together.
#
pstuifzand
did docker-compose up not work?
#
skippy
it did, but then what? how do i integrate it with my site?
#
pstuifzand
I think you use nginx-proxy right?
#
skippy
i use Caddy
#
pstuifzand
what is caddy?
#
Loqi
Caddy is an HTTP/2 web server, built for designers, bloggers and developers, with a simple configuration and automatic TLS https://indieweb.org/Caddy
#
pstuifzand
Can you proxy a port with that?
snarfed joined the channel
#
pstuifzand
I created a virtual host with "microsub.example.com" as domainname
#
pstuifzand
and added https://microsub.example.com/microsub as on microsub endpoint on my website
#
pstuifzand
like this: <link rel="microsub" href="https://microsub.stuifzandapp.com/microsub">
#
www.boffosocko.com
edited /use_case (+33) "onboarding and personas links in see also"
(view diff)
#
skippy
ok. let me try.
#
[keithjgrant]
@sknebel really? I see rel="me nofollow noopener" on my Twitter profile
#
Zegnat
[keithjgrant], how are you viewing that HTML? Have you tried curl? ;)
#
[keithjgrant]
Seriously, they're serving different markup to the browser than curl? 😩
#
aaronpk
changed the error on indieauth.com to hopefully tell people it's not their fault twitter isn't working
#
aaronpk
[keithjgrant]: even with "view source" in my browser I just see a tiny bit of HTML that does a weird redirect
#
aaronpk
they set a cookie then make you reload the page with that cookie
#
aaronpk
which is like... no
#
aaronpk
how many ways can they try to break the web
#
Zegnat
In other words, they always want to have a session going for every visitor? I guess is what that does
#
skippy
pstuifzand: welp, now alltogethernow.io is telling me it cant find an auth URL, even though indieauth.com works fine...
#
skippy
so i cant even see if ekster is working.
#
pstuifzand
did you add the microsub link ?
#
pstuifzand
which url do you use?
#
pstuifzand
and monocle?
#
pstuifzand
what is monocle?
#
Loqi
Monocle is an open source IndieWeb-enabled reader developed by Aaron Parecki https://indieweb.org/Monocle
snarfed joined the channel
#
skippy
missing_endpoint
#
skippy
We didn't find a Micropub endpoint at your website
#
skippy
monocle needs both pub and sub
#
sknebel
hm... add a dummy one?
#
pstuifzand
I see ekster running, it responds with the very helpful: Can't validate token
#
skippy
yeah, let me get micropub going on this domain.
#
sknebel
maybe even any url works
#
sknebel
assuming it handles failures for config lookups gracefully
#
pstuifzand
micropub itself is not needed, but I guess no one uses it without one
#
aaronpk
oh did I make monocle require a micropub endpoint?
#
skippy
ok, with a micropub endpoint defined, monocle lets me log in
#
aaronpk
I thought it was optional
#
aaronpk
whoops
#
pstuifzand
skippy, do you see some of the predefined channels?
#
skippy
i do.
#
skippy
Friends and Family
#
pstuifzand
so that part is working
#
pstuifzand
monocle doesn't have the interface for adding feeds, but Together does
#
pstuifzand
Can you login with Together?
#
skippy
ah, with micropub i can get into together, now.
#
pstuifzand
I think that should be optional as well
#
skippy
it should be, but is not.
#
aaronpk
file an issue on monocle for that for me?
#
pstuifzand
you can add feeds with the (+) on the right
#
pstuifzand
the easiest is to input the full url of something that has MF2 html, or some sort of feed: RSS, Atom, Json feed
#
skippy
how do i refresh the feed i added?
#
pstuifzand
you can't
#
pstuifzand
Together uses a two step approach for adding feeds
#
pstuifzand
First you search and second you preview one the feeds
#
skippy
got that. then i follow it.
#
pstuifzand
So you can see if the url contains something that works with the microsub server
#
skippy
ive added two feeds, but nothing is hsowing up in Together
#
pstuifzand
sometimes you need to click one of the other channels
#
skippy
ah, there we go.
#
pstuifzand
Also you can few the feeds in Monocle as well now
#
pstuifzand
s/few/view/
#
pstuifzand
added the issue
#
Loqi
[pstuifzand] #20 Make "micropub" endpoint optional when signing in
#
skippy
neat. thanks.
#
pstuifzand
it will now try to fetch the feeds every hour
#
pstuifzand
which should be made smarter
#
pstuifzand
also if the feeds support WebSub or Pubsubhubbub, it will subscribe to the hub
#
skippy
whoops, thought i was commenting on the together repo, not monocole!
#
skippy
deleted thgat comment
#
skippy
i dont know what that means.
#
pstuifzand
Some feeds support websub, added items will be fetched in realtime when a post was added
#
pstuifzand
what is websub
#
Loqi
WebSub (previously known as PubSubHubbub or PuSH, and briefly PubSub) is a notification-based protocol for web publishing and subscribing to streams and legacy feed files in real time https://indieweb.org/WebSub
#
skippy
oh. ok.
#
pstuifzand
I have to go now, bye!
#
skippy
thank you!
#
aaronpk
pstuifzand: oh nice you implemented websub support?
#
skippy
monocle is not showing the new categories i've created in Together.
#
aaronpk
monocle refreshes the channels only periodically. if you mark something as read it'll trigger an update too
#
aaronpk
there's also a reload button here https://monocle.p3k.io/debug
#
skippy
no change after clikcing that. hrm.
#
aaronpk
er, there are two reload buttons
#
aaronpk
scroll down to "cached channels"
#
skippy
yeah, i did.
#
mylesb.ca
edited /Mastodon (+152) "rel=me is now supported in Mastodon 2.4.0"
(view diff)
#
tantek.com
moved /2018/Sessions to /2018/Schedule "that's where it has been in previous year"
#
tantek.com
deleted /2018/Schedule "Deleted to make way for move from "[[2018/Sessions]]""
snarfed, chrisaldrich and KartikPrabhu joined the channel
#
tantek.com
edited /MediaWiki:Sidebar (+2) "summit emoji"
(view diff)
renem joined the channel
#
www.boffosocko.com
edited /micro.blog (+179) "/* Resources */ great list of Micro.wiki, Resources for Micro.blog"
(view diff)
#
snarfed
woo, found a fix for scraping twitter likes! i have to send a user agent that pretends i'm a browser. whee.
#
aaronpk
hm is it that easy? I thought indieauth.com was already sending headers like that
[tantek] joined the channel
#
[tantek]
Maybe I need to read logs but did Twitter profile rel=me markup change recently?
#
aaronpk
yep like 2 days ago
#
[tantek]
(Just saw a failure from the RelMeAuth library)
#
aaronpk
not even markup change, completely breaking http requests
#
aaronpk
view source in your browser and you'll see it too
#
[tantek]
Whoa - like blocking curl?
#
snarfed
aaronpk: i've only tested browser user agent with the favorites endpoint, eg https://twitter.com/i/activity/favorited_popup?id=998777664868532224
KartikPrabhu and [miklb] joined the channel
#
[tantek]
Wat so they want us to forge http referer?
#
KartikPrabhu
wth! did twitter do to the source!
#
[tantek]
It’s got to be an anti crawling measure against bots
#
[tantek]
Arms race!
#
KartikPrabhu
lol! twitter profiles now don't evne load without JS
#
KartikPrabhu
twitter--
#
Loqi
twitter has -1 karma in this channel (-9 overall)
#
swentel
Ooh, that's why likes were not coming in anymore possibly with bridgy snarfed? Or that link is not related?
#
Loqi
[snarfed] #823 twitter html changes broke scraping for likes
#
swentel
stupid twitter
#
[tantek]
Hey they have a noscript tag with a link “Continue”
#
aaronpk
I think it still relies on cookies
#
[tantek]
How? Is it setting them in the http header?
[keithjgrant] joined the channel
#
[keithjgrant]
What a cluster
tglobe joined the channel
#
tglobe
doing all the clicking you get to the mobile site (https://mobile.twitter.com/argovaerts for example)
#
[tantek]
snarfed are you seeing the Bridgy Publish errors trying to react 🎉 to a comment?
#
snarfed
[tantek]: just now yes. haven't investigated
#
Loqi
[Tantek Çelik] 🎉
#
[tantek]
First time I’ve tried that particular reaction with bridgy publish
#
snarfed
the emoji itself is fine
#
snarfed
github api is returning 404 to the "create reaction" request
#
snarfed
can't tell if that implies they don't think the comment exists (even though it does in the issue page)
#
[tantek]
Are they blocking it because the issue is closed?
#
[tantek]
Worth filing a bug against the Github API? You already doing that or?
#
snarfed
doubt it. i made that reaction myself manually just now, worked fine
#
[tantek]
(Yeah manually the UI lets me)
#
[tantek]
Sounds like api big
#
snarfed
yeah maybe
#
[tantek]
Bug - wow autocorrect really doesn’t like that word
#
[tantek]
autocorrect—
#
[tantek]
autocorrect--
#
Loqi
autocorrect has -1 karma in this channel (-8 overall)
#
snarfed
try again in a bit, or tomorrow? if it's still broken then we can report somehow
#
[tantek]
Haha! Silly autocorrect trying to stop me from --
#
snarfed
try re-authing github on bridgy?
#
snarfed
[tantek]: also have you ever bridgy published anything on that repo before? this says orgs can block API write access: https://developer.github.com/changes/2015-01-19-an-integrators-guide-to-organization-application-policies/
#
[tantek]
Hmm never tried on that repo before
#
[tantek]
Trying re-with
#
[tantek]
re-auth
#
[tantek]
if org is blocking then the error should be 403 not 404
#
[tantek]
re-authing didn’t help
#
snarfed
thanks for trying
#
[tantek]
So either way they (gh api) have a bug 🐛
#
snarfed
yeah, either that or something we don't know yet
#
snarfed
sknebel: thanks! if we knew it was an auth problem, maybe yes, but we haven't concluded that (yet)
#
Loqi
[snarfed] #824 404s from github API for publish
#
sknebel
but if the repo is in there that'd be a sign that it's something else
#
snarfed
sure. eg a bug
#
[tantek]
Ok switching my reaction to target that bug snarfed
Kyle-K joined the channel
#
[tantek]
So that worked. So I can at least react with 🎉
tantek_ joined the channel
#
tantek_
:sadface:
#
tantek_
does the mobile version have the rel=me markup?
#
gRegorLove_
No rel-me on mobile :/
#
tantek_
I'm pasting a URL in the Web chat UI and it's mucking it up with that target= garbager
#
tantek_
huh that worked
#
tantek_
so if a URL has an @ in it, it screws up the web chat UI here
#
tantek_
what is 405
#
Loqi
It looks like we don't have a page for "405" yet. Would you like to create it? (Or just say "405 is ____", a sentence describing the term)
#
tantek_
looks to see if chrisaldrich is around and tempted to insert a defunition relating to LA
#
tantek_
oh wait what about the intent profile
#
tantek_
view source
#
tantek_
<a class="url external" rel="me" href="https://t.co/imeZHaJsth">http://tantek.com/</a>
#
tantek_
SOOOOOO tempted to update CASSIS auto_link to now link @-names to the twitter intent profiles
#
KartikPrabhu
will they last?
#
tantek_
you'll have to ask benward
#
tantek_
does anything "last"?
#
tantek_
point being, it works today, while "normal" profiles don't. therefore it is a workaround
#
KartikPrabhu
I meant even in the short term given that Twitter is already mucking around with HTML
[miklb] joined the channel
#
Zegnat
Ooh, that page even has hcard support?!
#
tantek_
oh yeah
#
tantek_
thanks again to benward
#
tantek_
benward++
#
Loqi
benward has 1 karma in this channel (6 overall)
#
Zegnat
Seems to work decently, not sure why the URL to your website is an adr: https://pin13.net/mf2-dev/?url=https%3A%2F%2Ftwitter.com%2Fintent%2Fuser%3Fscreen_name%3Dt
[jgmac1106] joined the channel
#
pstuifzand
aaronpk, re: websub support in ekster. yes, but it's not complete, still needs resubscribing and better hub url finding in feeds
#
pstuifzand
it only support huburls in HTTP Link headers with rel="hub"
#
aaronpk
Cool, you're one step ahead of Aperture at least!
#
pstuifzand
How much of the Microsub protocol does Aperture support?
#
aaronpk
Everything except mute/block
#
aaronpk
But it doesn't do WebSub at all, it's all polling
#
pstuifzand
mute and block I also skipped for now
#
pstuifzand
WebSub is pretty cool to see working the first time
#
tantek_
I've changed my twitter rel=me link to use the intent profile URL on my home page
#
tantek_
now looking into seeing if RelMeAuth can work with that
#
pstuifzand
Write a post, switch to Monocle and it's already there
#
tantek_
aaronpk can you see if IndieAuth (the service) is able to do rel=me confirmation on tantek.com -> new twitter profile?
#
tantek_
(and if not, why? e.g. t.co problem or what)
gRegorLove__ joined the channel
#
Zegnat
I am not an IndieAuth.com expert, but I am guessing it doesn’t work because the intent URL does not match this regex: https://github.com/aaronpk/IndieAuth.com/blob/b0376a1f55d3eec533906f1f306a97b085e3b7a9/models/provider.rb#L33
#
aaronpk
correct, plus I just disabled twitter completely on it
#
aaronpk
it has to know it's a twitter URL in order to do Twitter auth, so there isn't really any point in doing the bidirectional rel=me check for links it doesn't know about, which is why that URL regex is in there in the first place
[grantcodes] joined the channel
#
[grantcodes]
Hmm I just realised if micropub supports proper querying, that is like the final part of it becoming usable as a headless cms of sorts 🤔
#
Zegnat
I thought aaronpk is already effectively using p3k as a “headless” cms?
#
aaronpk
depends on your definition
#
aaronpk
[grantcodes]: the other way to think about it is using micropub + microsub to make a headless CMS. https://stream.indieweb.org is actually a microsub channel for example.
#
[grantcodes]
Yeah, potentially
#
[grantcodes]
But that would be strange I think because microsub has a different goal
#
[grantcodes]
For a cms you don't need the reader parts (unread etc)
#
[grantcodes]
Also to meet the spec there would need to be the juggling between mf2 and jf2
#
aaronpk
yeah again it depends on your definition of "headless cms"
#
aaronpk
I'm pretty sure I'm gonna switch the wiki over to indielogin.com as soon as I finish email authentication on it
#
[grantcodes]
My personal definition is it is completely decoupled and handles storing, updating and retrieving data. The test is if it can run on a different server to the frontend of the site
#
[grantcodes]
Sort of along the lines of what [cleverdevil] is working on, not sure how he is planning to retrieve the data from his micropub endpoint
[cleverdevil] joined the channel
#
[cleverdevil]
// a wild cleverdevil appears //
#
[cleverdevil]
I sort of abandoned the approach because it would require a lot more API design.
#
[miklb]
!tell [eddie] seems disabling my 2fa plugin I was able to authenticate with my WP site.
#
Loqi
Ok, I'll tell them that when I see them next
#
aaronpk
oh gosh, there are 50 people who have used PGP auth on indieauth.com in the last few months. I might have to launch that on indielogin.com too then
#
[miklb]
no such luck with Omnibear
#
[cleverdevil]
I'd like to see Micropub be expanded to include some additional querying features (or maybe another standard?) that makes it much easier to create headless CMS
#
[cleverdevil]
(In fact, it would enable developers to simply adopt an existing Micropub server and then create a lightweight CMS on top!)
#
aaronpk
we just need a few more people to start doing it https://indieweb.org/Micropub-brainstorming#Query_for_post_list
#
[cleverdevil]
I'll likely take a crack at some point, but I've been so busy lately I haven't had time to iterate on puny much 😕
#
[miklb]
!tell [eddie] strike that, it just logged me into my WP site, didn’t redirect back
#
Loqi
Ok, I'll tell them that when I see them next
#
[grantcodes]
[miklb] If you have issues with omnibear and together it is likely to do with my micropub library
#
[miklb]
[grantcodes] no, just trying to use it as a micropub client in the browser
#
[miklb]
I haven’t gotten around to setting things up to use Together or microsub (websub?)
#
[miklb]
me too 🙂
[eddie] joined the channel
#
[eddie]
[miklb] aww :( I was excited thinking it was working lol
#
[miklb]
but I can eliminate the 2fa plugin from the equation now at least
#
[grantcodes]
Ah well I mean omnibear uses my library for auth and micropub posting
#
[eddie]
grantcodes: is the redirect uri the same domain as the client Id for omnibear
#
[eddie]
Or are you redirecting to a local browser url?
#
Zegnat
redirect uri should be the same. I believe the addon intercepts it, that’s how it can get away with just using the omnibear domain
#
[grantcodes]
Not 100% sure how [keithjgrant] set that part up but it definitely redirects to a http(s) url
#
Zegnat
is working from memory though
#
www.boffosocko.com
edited /Indieweb_for_Journalism (+250) "I Annotate conference 2018"
(view diff)
[keithjgrant] joined the channel
#
[keithjgrant]
Yeah, it redirects to a page on Omnibear.com
#
[eddie]
Ohhh hmmm
#
[eddie]
That’s not the issue of with omnibear then
#
[grantcodes]
[miklb] you're running the current version of omnibear from the chrome / firefox store?
#
[miklb]
I assume so. I’m not that familiar with Firefox these days and how extensions get updated. I thought it was automatic
#
[keithjgrant]
Yeah, it should be automatic (within a day or so)
#
[miklb]
last updated 4/23
#
[keithjgrant]
Hoping to push an update soon with better logging for debugging
#
gRegorLove__
Huh, interesting. How is/are the Twitter intent profiles uses?
#
gRegorLove__
s/are/were/
#
[grantcodes]
Hmm well if it gets as far as the redirect but doesn't close that page it is probably something to do with fetching the token from the token endpoint
marcthiele joined the channel
#
[grantcodes]
So [miklb] if you are able to see a request to your token endpoint when debugging, that is probably where to look
#
[keithjgrant]
There have been some reports of issues fetching syndication endpoints. Though I believe if that fails, closing and re-opening the extension should still have you logged in
marcthiele1 joined the channel
#
skippy
I, too, am curious about the intent profiles.
#
skippy
"Web Intents provide popup-optimized flows for working with Tweets & Twitter Users: Tweet, Reply, Retweet, Like, and Follow. They make it possible for users to interact with Twitter content in the context of your site, without leaving the page or having to authorize a new app just for the interaction. Web intents are mobile web friendly, include native app handlers on iOS and Android when the Twitter app is installed, and are super easy to impleme
#
KartikPrabhu
eh! more twitter JS to include in your own site
#
grant.codes
edited /Micropub-brainstorming (+593) "/* Query for post list */ Add more details on the type of queries that would be useful"
(view diff)
#
[miklb]
[grantcodes] it doesn’t seem to fetch the token and fill it in the settings. I’ll look at my logs again.
[grantcodes] joined the channel
#
[grantcodes]
hmm since I store my posts in a mongo database as mf2 json I got my micropub endpoint to support queries using the mongo syntax in like 5 minutes work
#
[grantcodes]
Not sure it is exactly useful for the rest of the indieweb but works a charm
[jeremycherfas] joined the channel
#
KartikPrabhu
what is mongo?
#
Loqi
MongoDB is server-side database software used for storage in some CMSes https://indieweb.org/Mongo
[cleverdevil] joined the channel
#
[cleverdevil]
I was hoping to do something similar, just with S3, grantcodes.
#
[cleverdevil]
But, it required too much wrangling.
#
[grantcodes]
Yeah aws is all a mystery to me
#
[cleverdevil]
I still wish there was an equivalent of SQLite, but for JSON documents.
#
[grantcodes]
In what way? Just a super lightweight database?
#
[cleverdevil]
Something that requires no server.
#
snarfed
[cleverdevil]: sounds like jq!
#
[cleverdevil]
what is jq?
#
Loqi
jQuery is a popular JavaScript framework https://indieweb.org/jq
#
[cleverdevil]
gives Loqi the evil eye
#
Loqi
Thanks, [cleverdevil]!
#
[cleverdevil]
Oooh, shiny.
#
[cleverdevil]
I'll read up on this on my flight this evening 🙂
#
snarfed
and jsonpath
#
[cleverdevil]
Yeah, ideally, I'd want something that has language bindings, and a nice simple query language, and works on a directory full of JSON files.
#
[cleverdevil]
Indexing would be great, too.
#
[cleverdevil]
So, its not just having to scan every time.
#
snarfed
[cleverdevil]: i'd be curious to see actual perf benchmarks, on your dataset, to quantify the difference
[jgmac1106] joined the channel
#
snarfed
premature optimization and all
#
[jgmac1106]
Do folks think my Micropub htaccess and header authorization will work itself out if I switch shared hosting providers? Could just dump it all into EC2 or an S3 bucket on AWS. Trying to copy a link to a tweet into the WordPress editor on FF for Android is painstakingly difficult.
snarfed and sherab joined the channel
#
[grantcodes]
So many possibilities with these micropub queries! Now I can use it to sync my browser bookmarks 2 ways, create a journaling app that can display my private journal posts, create a micropub admin ui etc...
#
[cleverdevil]
Good point 😉
[eddie] joined the channel
#
[eddie]
That is awesome grantcodes! I totally have adding that to my list of things I want to do on my site
#
[grantcodes]
The problem is going to be defining an actual standard 😬
#
[eddie]
Yeah definitely
#
[eddie]
But from what I’ve been seeing is we have to put it on our sites to create the standard
#
[eddie]
then once we get something working, someone (*cough* aaronpk? *cough) can pretty it up?
#
[eddie]
Hmm, question I’ve been thinking about. The common accepted idea is simple apps are better. Currently Indigenous supports IndieWeb technologies, but nothing else. I have ideas of ways I want to add in support for some micro.blog stuff.
#
[eddie]
The thing I’m trying to think through is it better to add micro.blog specific support into Indigenous (thus making it potentially a little more complicated, supporting things like the native micro.blog api) or keep Indigenous for iOS IndieWeb tech only and make a seperate micro.blog app 🤔
#
[eddie]
One makes Indigenous more complicated but the other creates two projects to “maintain”
#
[grantcodes]
The mongo query syntax is obviously great for querying json stores so it makes a lot of sense, but I could see it being a total pain to setup if your storage doesn't natively support it
#
[eddie]
Yeah, Mongo and I don’t like each other much
#
[eddie]
My plan is mf2 json files that stay as my storage and then a database cache
#
[eddie]
ohhhh that does make some of the querying more challenging
#
swentel
[eddie], I'd vote two separate apps imo
#
swentel
especially if the api's differ much
#
[grantcodes]
Where is the micro.blog api documented? I should take a look
#
swentel
with a nice interface
#
swentel
and then classes implementing the stuff depending whether it's indieweb or microblog
#
swentel
why not
#
[eddie]
swentel, Yeah, I’ve been thinking more and more that’s probably the right approach. it’s tough though. I keep going back and forht in my mine
#
[eddie]
Yeah so what I currently have in iOS is I have a set of controllers that deal with the IndieWeb communication and it ends up creating a native Indigenous “Channel” or “Post”
#
[eddie]
Which are mainly based on the IndieWeb standards, but essentially the plan would be that if it was joint, the micro.blog controller would just query the api and output the same format
#
swentel
makes sense
#
swentel
I guess the difference isn't that big
#
swentel
looking at the api docs from micro.blog
#
[eddie]
Yeah it’s not huge.
#
[eddie]
I think the biggest thing I start running into is when I start thinking of features that benefit micro.blog but not IndieWeb tech. Example: Right now Microsub has channels, micro.blog does not. So then I start thinking how I can make “Channels” for micro.blog? So then I would end up having this micro.blog configuration and management section to create channels that is totally different than microsub
#
swentel
and if something else comes along, in theory, writing two classes implementing an interface and it's done .. :)
#
[grantcodes]
Ah ok, no real query stuff in micro.blog yet
#
[eddie]
Yeah, just looking at the timeline and mentions really
#
[eddie]
They did add a “photo timeline” which is kind of a query
#
[eddie]
Oh, dinner time. 👋
#
swentel
sleeping time :)
#
[cleverdevil]
So, I believe that MySQL and PostgreSQL use either very similar or identical query languages (maybe defined as part of a SQL standard?) for querying JSON documents.
#
[cleverdevil]
That might be a reasonable thing to consider.
#
aaronpk
I need to upgrade my MySQL so I can start using that
#
[cleverdevil]
It’s pretty great.
#
aaronpk
Would definitely come in handy for adding search to Aperture
#
[cleverdevil]
So it’s an ISO standard.
#
[grantcodes]
I followed some links and got to the "modern sql" site which is one of the least modern sites I have seen in a while 😛
#
[grantcodes]
Maybe a bit harsh. It is responsive at least
#
[cleverdevil]
Hehe. Yeah and the ISO standard hides behind a terms and conditions link.
#
[grantcodes]
And a pdf in a zip
#
[cleverdevil]
I’m planning on working on Puny at IWS this year.
#
[cleverdevil]
If I can find others to join me 😀
#
[cleverdevil]
I really like the idea of headless CMS!
#
[cleverdevil]
With a defined and eventually standard API for frontends to build upon.
#
KartikPrabhu
sounds like micropub
#
[cleverdevil]
Micropub plus plus
#
KartikPrabhu
what is headless CMS?
#
Loqi
headless CMS is a Content Management System that only handles the backend parts of a traditional CMS (storage, editing interface, APIs, ...), with the visitor-facing side handled by a different system https://indieweb.org/headless_CMS
#
[cleverdevil]
Mediumpub?
#
[grantcodes]
It would certainly make it easier / more appealing for other (developers at least) to join the indieweb if there was a "micropub as a service" of sorts
#
KartikPrabhu
what's "micropub as service" ?
#
KartikPrabhu
a micropub client is a service
#
[grantcodes]
Yeah dumb term. But it would be a hosted micropub endpoint that supports querying as well
#
KartikPrabhu
so it will host the content for you?
#
KartikPrabhu
do we really need another silo :P
#
[grantcodes]
Yeah but just as json
#
[grantcodes]
Ha well the ideal would be self hosted
#
sknebel
so like one of the projects for SSGs, but storing the mf2 json instead of a converted format?
#
[grantcodes]
sknebel kind of I guess
#
[grantcodes]
I don't know what the best example would be but I'm pretty sure [cleverdevil] and I have the same idea of how it would work
#
[cleverdevil]
I think Puny could evolve to become this.
#
[cleverdevil]
It currently uses MySQL with JSON columns for storage. With simple indexing.
#
[grantcodes]
Maybe https://getcockpit.com/ is kind of an example, except it wouldn't need a ui since you can use micropub clients
#
[cleverdevil]
Interesting. I hadn’t seen cockpit before.
#
[cleverdevil]
Does it support Micropub?
#
[grantcodes]
No chance
#
gRegorLove__
what is puny?
#
Loqi
Puny is an experimental Micropub server, including Media Endpoint, written in Python by Jonathan LaCour https://indieweb.org/Puny
#
[grantcodes]
That and strapi.io seem the most interesting open source ones to me
#
[cleverdevil]
Okay. Five hour flight time for me. I’ll check back in maybe after I’m in the air 😀
#
grant.codes
edited /headless_CMS (+429) "Add more example headless content management systems"
(view diff)
#
tristanhavelick.com
edited /IRC_People (+61) "Added Natris1979"
(view diff)
tantek, KartikPrabhu, [miklb] and eli_oat joined the channel