#@hubertlepickiJunior developer: "I will just copy over this code to reuse it" Middle developer: "I will make it DRY with code sharing/inheritance/macros" Senior developer: "I will just copy over this code to reuse it" (twitter.com/_/status/946725454043598849)
[kevinmarks], [colinwalker], John__ and KevinMarks joined the channel
#dgoldi am getting increasingly annoyed with mastodon
#dgoldkind of hard to programatically recognise when a reply/repost/like is of a mastodon post
#dgoldsnarfed: from your docs - "To like, repost or reply to a post on a fedsocnet, create an indie like, repost, or reply as usual, and include a link to https://fed.brid.gy/ in that post."
#dgoldbut in the docs: "By default, Miniflux uses Sqlite, if you would like to use Postgres or MySQL instead you will have to modify your config.php file."
#ZegnatI didn’t use Miniflux, but sad to see a PHP project die. It is still infinitely easier to run a PHP self-hosted anything than almost everything else in my experience. Because shared hosting will often only offer PHP.
#petermolnarwhile I did develop a love for python, php-fpm is certainly a simpler thing than any python wrapper
#ZegnatBut I think several other packages (including XRay?) are using the PHP feed parser that was built for Miniflux? That library losing support might be worse than just Miniflux moving to go.
#[eddie]So I had a question/though. Is there anyway to detect that websites a given identity can edit provided a URL? My first thought was if it was part of your identity url, like https://eddiehinkle.com can be assumed to be able to edit anything at https://eddiehinkle.com but this would not be the case for Zegnat where identity url and blog url at different domains.
#[eddie]So has there been any thoughts as to be able to determine if blog post xyz.example/post can be edited by identity.example?
#aaronpk[eddie]: I think that kind of thing is very implementation-dependent
#ZegnatNo. There exists no connection between those two things. xyz.example/post can be edited by anyone with a token (with correct update scopes) for the xyz.example micropub endpoint
#aaronpkit's also possible that someone may be able to edit a site and doesn't want that information made public
#ZegnatOnly xyz.example (or its token endpoint) knows what tokens are valid for updates.
#aaronpkZegnat: I already forked picofeed to make a minor change, and he merged the PR right before deprecating the library. sadly didn't publish a new release to packagist tho.
#aaronpki'm not sure I want to actually maintain the library though, so I will probably just find a new one when I need to
#snarfedhey aaronpk did the chat.indieweb.org css change recently? i'm now seeing the sidebar on mobile, on top of the transcript...but only for the main channel, not others
#[eddie]I basically was trying to figure out if there was a way for Indigenous to know if it should display an edit option or not.
#ZegnatIt is still broken for me. Not sure how I can force a CSS refresh.
#snarfedi'm on android. refresh doesn't fix it. waiting until tomorrow will though, i'll just do that :P
#aaronpkI can never get hard refresh to work on mobile devices
#[eddie]But if there’s no way to detect that, I guess I could always show the edit button, and when you click edit, it could try a source query against the Micropub endpoint. If it fails then it returns that you can edit that post
#snarfedoh also aaronpk nudge on counting wm.io wms! not urgent, i expect it's on your todo list
#aaronpk[eddie]: whoa are you building in editing support?
#ZegnatThat’s probably the only way [eddie]. You have to know the Micropub endpoint for the specific post and then know if your client has a token stored for that endpoint.
#[eddie]I am laying the foundation for it. Editing won’t be in the next version but it will likely be within the next month or two and I’m trying to make sure things like up correctly
#ZegnatBut note that separate post URLs might not even expose their Micropub endpoint :/
#aaronpkZegnat: that sounds like a good reason for post URLs to advertise a micropub endpoint!
#aaronpklike how wordpress and mediawiki both link to their edit URLs
#[eddie]I do have a list of all Micropub endpoints that are authorized within the app so that seems like a good solution
#[eddie]I know all my posts have Micropub endpoint displayed
#aaronpkyeah the client should know which micropub endpoints it has a token for, and whether the token has the "update" scope, so if a post advertises a micropub endpoint that matches one then the client can assume it can edit the post
#ZegnatI think I am going to expose my micropub endpoint in the HTTP header domain-wide, so mine will have it too.
#Zegnatis it safe for the client to check for a specific scope value, aaronpk? Is there an authoritative list of scopes that Micropub servers must adhere to?
#Zegnat(Sink just sets a single scope value "all".)
#sknebelthere is a list of common ones, but nothing explicitly demanded in the spec
#aaronpkthe spec doesn't list them out but that's just because I didn't want to hard-code the list so early
#aaronpkthe goal is to standardize on them eventually
#LoqiRealtime generally refers to a user experience where content is updated live; for example: a new comment shows up on a page while you're viewing it, or chat notification "your friend is typing a message." https://indieweb.org/Realtime
#tantekgRegorLove: ^^^ not sure if there's a way for you to capture a screenshot (e.g. if it outlined the comment or something in a colored border), but feel free to add any commentary about your experience in seeing that