#dev 2024-12-30

2024-12-30 UTC
#
[snarfed]
I'm still getting Failed to redeem code
#
gRegor
Oh, I think your code_challenge may not be quite correct Base64URL format. Noticed the trailing `=` on it. https://indieauth.spec.indieweb.org/#authorization-request
#
capjamesg[d]
Mind trying again?
#
gRegor
Progress! I think I got in
#
capjamesg[d]
Your account settings should say that you are authenticated with your domain.
#
gRegor
capjamesg[d]++
#
Loqi
capjamesg[d] has 42 karma in this channel over the last year (224 in all channels)
#
gRegor
Minor, but it didn't remember the timezone I selected during signup, went back to UTC
#
capjamesg[d]
You will always have the option to add an email address and password or a passkey as authentication as alternatives to / in addition to IndieAuth.
#
capjamesg[d]
You can also enable 2FA with an OTP.
#
capjamesg[d]
gRegor++ for all the testing help!
#
Loqi
gRegor has 30 karma in this channel over the last year (126 in all channels)
#
capjamesg[d]
Will fix the timezone bug too.
#
gRegor
Added my email, verified. Looking good!
#
gRegor
Will poke around the actual reader aspect later :)
#
Loqi
yay!
#
capjamesg[d]
It's a lot of work to add all of the authentication / verification / authorization parts to an app 😅
#
gRegor
I bet! I've only done the IndieAuth part of that. Passkeys are on my list to play around with though.
[morganm] and bterry1 joined the channel
#
GWG
I have passkeys on my site, but I didn't write the code
gRegor, AcesAndEights, claudine, grufwub, gRegorLove_, GuestZero and nemonical joined the channel
#
capjamesg[d]
This is the authentication flow:
#
capjamesg[d]
The app screenshots on the homepage change depending on whether you are in dark/light mode and whether you are on desktop vs. mobile 😄
RapidRotator, ttybitnik and glacier joined the channel
#
capjamesg[d]
aaronpk is it necessary to encrypt OTP secrets at rest?
#
capjamesg[d]
And, out of curiosity, how would one do that?
#
capjamesg[d]
Password-based key derivation?
ttybitnik and nemonical joined the channel
#
cozisx
hey, I'm trying to learn about micropub but the website's https is broken for me https://micropub.spec.indieweb.org/
Guest6 joined the channel
#
capjamesg[d]
I love this 😄
#
cophee
So for my darkmode (continuing from #indieweb)
#
cophee
I kept my colour changes all in this file:
#
cophee
would've preferred to do it per component-based, but it got troublesome since I had to do two sets of css changes (based on system pref + if user toggled the button -- I'm a noob so I'm sure there's a better way of doing this)
#
IWDiscord
<c​ophee>
#
IWDiscord
<c​ophee>
#
cophee
The javascript for the colour toggles are in the theme-switcher button component here
#
IWDiscord
<c​ophee>
#
cophee
The code was adapted from this guide here: dev.to/whitep4nth3r/the-best-lightdark-mode-theme-toggle-in-javascript-368f
#
IWDiscord
<c​ophee>
#
cophee
with some help from ChatGPT 😊 (I am a noob and it helped a lot when it came to making sure that I actually applied changes made to the storage to the UI + DOM itself)
#
cophee
The code was adapted from this guide here: dev.to/whitep4nth3r/the-best-lightdark-mode-theme-toggle-in-javascript-368f
#
IWDiscord
<c​ophee>
#
cophee
with some help from ChatGPT 😊 (I am a noob and it helped a lot when it came to making sure that I actually applied changes made to the storage to the UI + DOM itself)
#
jeremycherfas
I've been reding about a dark/light switch that makes use of `:has()`
#
funkylarma
Yes, :has is a great way to keep the styles clean. Think I then used a media query and used scss mixin to help keep things organised.
#
jeremycherfas
Wondering, though, about how to actually choose the colour values for light and dark. Not as simple as swtiching black for white and vice versa.
#
cophee
funkylarma[d]: will try it out tomorrow! wanted to see how much I can get away with using the light-dark() css function that was introduced recently
#
funkylarma
Nope it is not just a negative inverse. I did some beta testing for a cycling computer brand when they were developing a dark mode and we quickly learnt the nuances of light/dark
#
jeremycherfas
As someone who almost always prefers light mode, that will be difficult.
#
cophee
jeremycherfas: Same hahaha
#
Loqi
hahaha
#
cophee
I have mild astigmatism so darkmode is very painful a lot of the times 😦
JadedBlueEyes joined the channel
#
jeremycherfas
Colour palette will come very late in my redevelopment
ttybitnik joined the channel
#
aaronpk
sorry @cozisx the cert is fixed now
#
aaronpk
i don't understand where this is failing, but for some reason now the cert autorenewal script isn't triggering nginx to reload. so the new cert is there, but nginx doesn't know about it
#
capjamesg[d]
GWG Is there a well-known URL I need to set up for the OAuth Client ID Metadata Document?
#
capjamesg[d]
Oh, wait.
#
capjamesg[d]
Is the `client_id` in the authorization request supposed to be a JSON file in the OAuth metadata format?
[schmarty] joined the channel
#
[schmarty]
capjamesg[d]: yp
[mattl] joined the channel
#
capjamesg[d]
Thank you!
#
capjamesg[d]
What should the `client_id` key be in the JSON doc? Should it be the root domain for the project or the link to the JSON file itself?
#
capjamesg[d]
I'm a bit confused by that key. I understand the others.
#
aaronpk
that sentence is awkward tho, i should fix it
#
aaronpk
this is on the agenda for an IETF interim meeting next week
#
GWG
aaronpk: Anything else interesting on the agenda?
#
aaronpk
no just that
#
GWG
capjamesg[d]: Since I am not putting it at .well-known tell me if there are any issues
#
aaronpk
there are topic-specific meetings for the next few weeks
#
capjamesg[d]
aaronpk++
#
Loqi
aaronpk has 39 karma in this channel over the last year (123 in all channels)
#
capjamesg[d]
Thank you!
#
capjamesg[d]
I was a bit confused.
[Joe_Crawford] and ttybitnik joined the channel
#
GWG
aaronpk: Anything with interesting indieauth applicability?
#
aaronpk
this is just part of me trying to pick apart indieauth into pieces so that eventually indieauth is made up entirely of OAuth specs
thegreekgeek joined the channel
#
GWG
aaronpk: You make that sound like a bad thing
sebbu2 joined the channel
#
[Joe_Crawford]
That's not how I read it. It read as neutral to me, with perhaps a soupçon of "I'm breaking down this larger thing into more easily understood pieces"
jonnybarnes5 joined the channel
#
GWG
It may be the phrase pick apart that I focused on
#
[Joe_Crawford]
I find when I tell people what they meant they dislike it. I stopped doing that.
#
GWG
I may read too much into words sometimes
rossabaker joined the channel
#
[mattl]
Can you let me edit it? Or can you fix the developer chat link to point to /discuss?
#
aaronpk
i just fixed the link. MW permissions are confusing and that was faster
#
[mattl]
thanks
Byron, barnaby, shoesNsocks and gRegor joined the channel
#
rdg
I just wrote this RFC to support Unix sockets in URLs https://dillo-browser.github.io/rfc/003-unix-sockets/, initially for Dillo but may be used by other software
#
carrvo[d]
aaronpk++ sounds like you are trying to replace IndieAuth duplication of OAuth with OAuth directly to aid in both understanding and compatibility. Or I am just reading too far into your words...
#
Loqi
aaronpk has 40 karma in this channel over the last year (124 in all channels)
#
carrvo[d]
Which would be nice. It would give a better picture of the specific things that IndieAuth extends OAuth with. (Though self-contained is nice too...)
#
havenmatt
Hi! I'm working on MicroPub for my private blogging system (https://havenweb.org) and trying to test it with Quill (https://quill.p3k.io). It looks like the spec (https://micropub.spec.indieweb.org/#create) calls for defining type with an 'h' parameter that has a value of 'entry', but I'm seeing Quill send a 'type' parameter with a value of 'h-entry'. Am I interpreting the spec correctly? or is there an extension that I sho
#
havenmatt
[edit] Hi! I'm working on MicroPub for my private blogging system (https://havenweb.org) and trying to test it with Quill (https://quill.p3k.io). It looks like the spec (https://micropub.spec.indieweb.org/#create) calls for defining type with an 'h' parameter that has a value of 'entry', but I'm seeing Quill send a 'type' parameter with a value of 'h-entry'. Am I interpreting the spec correctly? or is there an extension tha
GuestZero_, sebbu and ttybitnik joined the channel
#
gRegor
Hi, havenmatt! I think the type=h-entry is part of the JSON syntax for Micropub: https://micropub.spec.indieweb.org/#json-syntax
#
gRegor
`h=entry` is for the form-encoded syntax
ttybitnik joined the channel
#
gRegor
It looks like Quill uses the JSON syntax if you're publishing HTML content
[jeremycherfas] joined the channel
#
vikanezrimaya
!tell jacky hey, what's the status of microformats-rs? i see new releases on crates.io, but no corresponding activity in the gitlab repo; also 0.13 and 0.14 seem to be broken for me for some reason
#
Loqi
Ok, I'll tell them that when I see them next
#
vikanezrimaya
!tell jacky also microformats-rs seems to struggle with https://indiepass.app/
#
Loqi
Ok, I'll tell them that when I see them next
#
vikanezrimaya
i should really file an issue about that, but given i can't find the source in the usual place on gitlab...
#
vikanezrimaya
oh i think i have it figured out
#
vikanezrimaya
microformats-types might've updated but haven't had a release
#
vikanezrimaya
and since jacky has the entire workspace checked out, everything works when built locslly, but fails out of crates.io
#
vikanezrimaya
i had an older version of microformats-types stuck in my cargo.lock i guess
aaronpk, mary1 and ttybitnik joined the channel