#dev 2024-12-30
2024-12-30 UTC
# 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] One sec.
# capjamesg[d] Mind trying again?
# capjamesg[d] Your account settings should say that you are authenticated with your domain.
# 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!
# capjamesg[d] Will fix the timezone bug too.
# capjamesg[d] Yay!
# capjamesg[d] It's a lot of work to add all of the authentication / verification / authorization parts to an app 😅
[morganm] and bterry1 joined the channel
gRegor, AcesAndEights, claudine, grufwub, gRegorLove_, GuestZero and nemonical joined the channel
# capjamesg[d] This is the authentication flow:
# capjamesg[d] Or:
# 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
# jeremycherfas http://microformats.org might be helpful
# 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 <cophee>
# IWDiscord <cophee>
# cophee The javascript for the colour toggles are in the theme-switcher button component here
# IWDiscord <cophee>
# cophee The code was adapted from this guide here: dev.to/whitep4nth3r/the-best-lightdark-mode-theme-toggle-in-javascript-368f
# IWDiscord <cophee>
# 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 <cophee>
# 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
# 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
# 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
# [schmarty] *yep
[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 must match the URL of the document https://www.ietf.org/archive/id/draft-parecki-oauth-client-id-metadata-document-01.html#name-client-metadata
# capjamesg[d] aaronpk++
# capjamesg[d] Thank you!
# capjamesg[d] I was a bit confused.
[Joe_Crawford] and ttybitnik joined the channel
thegreekgeek joined the channel
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
# [Joe_Crawford] I find when I tell people what they meant they dislike it. I stopped doing that.
rossabaker joined the channel
# [mattl] aaronpk: do you have edit access to https://indieweb.org/wiki/index.php?title=MediaWiki:Sidebar&action=edit?
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...
# 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
ttybitnik joined the channel
[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
# vikanezrimaya !tell jacky also microformats-rs seems to struggle with https://indiepass.app/
# 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 FOUND IT
# vikanezrimaya i had an older version of microformats-types stuck in my cargo.lock i guess
aaronpk, mary1 and ttybitnik joined the channel