#dev 2022-10-21

2022-10-21 UTC
#
gRegor
aaronpk, getting close on a new release of indieauth-client-php. This might be the last PR: https://github.com/indieweb/indieauth-client-php/pull/24 would you like to review before I make a new release? [schmarty] and GWG have been helping with some code review and I'm pretty sure I've kept it backwards compatible.
#
Loqi
[gRegorLove] #24 Add methods for manual IndieAuth process
#
gRegor
(a couple earlier PRs already merged. Checklist is here https://github.com/indieweb/indieauth-client-php/issues/20
#
Loqi
[gRegorLove] #20 Checklist for next release
#
GWG
Looking good in a visual review gRegor
#
GWG
On my phone in an airport
#
gRegor
Thanks. I'm going to test it out on dev indiebookclub tonight
#
GWG
Great
#
gRegor
Where are you off to? Safe travels.
jacky, slydud and kjs joined the channel
#
[tantek]
Safe travels GWG
slyduda[m] joined the channel
#
slyduda[m]
snarfed, i sent a review of the updated changes also using this message to test the element client because messages aren't loading for some reason
#
[snarfed]
slyduda thanks!
#
[snarfed]
replying now
angelo, bterry1, jacky, [timothy_chambe], [fluffy], IWSlackGateway, gRegor, geoffo, [jeremycherfas], mro, barnaby, Pyroxtheythem[m], AramZ-S[m], KatherineMoss[m], slyduda[m], lqdev[m], h4kor[m], kandr3s[m], jordemort, jeremycherfas, jeremy, lanodan, jonnybarnes, gRegorLove_ and gRegorLove__ joined the channel
#
Loqi
capjamesg has 31 karma in this channel over the last year (98 in all channels)
#
Loqi
[James] Send a Webmention in 10 (or fewer) lines of Python code
#
[snarfed]
out of curiosity, what are the `except/raise` clauses for? I can't tell that they have any effect, other than maybe mildly altering the stack trace
#
barnaby
I imagine they’re there to illustrate what exceptions can be caught without doing anything specific with them
#
barnaby
I think in an example like that, I’d include a print() call which uses values from the exceptions rather than just re-raising them
#
[snarfed]
Or just comments
#
barnaby
I appreciate examples showing what exceptions might be thrown, that’s one of my least favourite things to have to dig around in libraries to find out
EncryptedGiraffe and jacky joined the channel
#
capjamesg
[snarfed] They are more to hint that you can provide custom messages for different reasons why a webmention failed to send.
jacky_ and jacky joined the channel
#
barnaby
having a break from working on my new site this evening to tidy up some taproot/indieauth issues
#
sknebel
shouldnt the response type be called "Sen*t*WebmentionResponse"?
#
jacky
tech-dirt-reduction++
#
Loqi
tech-dirt-reduction has 1 karma over the last year
#
sknebel
hm, ok, I guess it is "response from the call of send_webmention"
#
sknebel
still looks weird to me though
mro joined the channel
#
barnaby
taproot/indieauth now shows client app author information on the consent screen, if available https://user-images.githubusercontent.com/968350/197263996-f863a7b7-1288-41dd-93e6-b0ba1f6909b0.png
#
[snarfed]
as an alternative example API for webmention sending, webutil's just reuses and returns the full `requests.Response` from the HTTP POST, avoids defining a new object but still exposes the result. https://oauth-dropins.readthedocs.io/en/latest/source/oauth_dropins.webutil.html#module-oauth_dropins.webutil.webmention
#
[snarfed]
also capjamesg I assume your `send_webmention` also does discovery? do you plan to let users pass it an endpoint instead? I originally assumed it allowed that since you have a separate `discover_webmention_endpoint` fn
#
[snarfed]
(that's what webutil's does)
mro joined the channel
#
capjamesg
[snarfed] Yes, that function does do discovery.
#
capjamesg
Could you create an issue for that feature [snarfed]?
#
capjamesg
That's a great idea!
#
capjamesg
[snarfed]++ for the great idea!
#
Loqi
[snarfed] has 22 karma in this channel over the last year (50 in all channels)
#
capjamesg
Do you think it's worth writing posts like this for other common IndieWeb things too?
#
[schmarty]
barnaby++ very nice!!
#
Loqi
barnaby has 20 karma in this channel over the last year (35 in all channels)
#
barnaby
[schmarty]: thanks, lots of other taproot/indieauth updates coming this evening ;)
#
barnaby
that’s the only screenshot-worthy one though
jacky joined the channel
#
barnaby
taproot/indieauth v0.3.0 is out! couple of kinda-breaking changes, conformance with the latest version of the indieauth spec, and various QoL and documentation improvements https://github.com/Taproot/indieauth#v030
#
Loqi
[Taproot] indieauth: A PSR-7-compatible PHP IndieAuth Server Implementation
#
capjamesg
barnaby++
#
Loqi
barnaby has 21 karma in this channel over the last year (36 in all channels)
#
capjamesg
Congratulations!
jacky joined the channel
#
[schmarty]
ooh breaking changes! :star-struck: (😭)
#
barnaby
don}t worry, it probably won’t affect you
#
barnaby
other than it being recommended to add an "issuer" key to the setup config
#
jacky
oh interesting re: using h-app -> h-author info
#
barnaby
which only emits an warning if omitted anyway, as previous versions of the spec did not require it and I don’t know of any clients which are strict about it
#
barnaby
jacky: yeah that was jgarber’s idea, and I liked it so implemented it in my library too
#
barnaby
it’s only technically a breaking change because I made some formerly public class memebrs protected, as I changed how they’re used internally
#
barnaby
*members
#
[tantek]
barnaby++ congrats on the release!
#
Loqi
barnaby has 22 karma in this channel over the last year (37 in all channels)
#
barnaby
thanks!
jacky joined the channel