2018-01-01 UTC
[kevinmarks], KevinMarks, [dgold] and [miklb] joined the channel
# 01:00 GWG snarfed: I do have a question for you of a development nature
# 01:01 GWG snarfed: If both the Micropub and IndieAuth plugins support logging into a WordPress site using IndieAuth, how do we avoid collision?
# 01:02 snarfed the usual answer to "how do two plugins coordinate" is hooks and filters
# 01:03 GWG Right now, they use completely different ways of hooking in. So they can be installed independently. But I'd imagine that coordination will be needed in future.
[colinwalker] joined the channel
# 01:05 Loqi [dshanske] #9 Complete Rewrite of Plugin
# 01:06 tantek forethought on considering indieauth login interactions across plugins
# 01:07 GWG tantek: Micropub uses a query variable to launch its interaction. Which means it preempts all traditional WordPress functions very early on. I hook in higher up.
# 01:07 GWG KartikPrabhu: If only WordPress had dependency management of any kind.
# 01:10 GWG Still trying to figure out what to do with a state parameter
# 01:14 GWG If I'm waiting for a reviewer, does this satisfy a 2018-01-01 commitment?
# 01:18 GWG KartikPrabhu: tantek was talking about the Indieweb Challenge, and Indieweb Commitments....I don't want to disappoint him by not adding it to the list
renem_, tantek and snarfed joined the channel
[9 lines deleted]
snarfed1 and snarfed joined the channel
AngeloGladding joined the channel
# 10:15 Zegnat Hmm, didn’t aaronpk add the anti spam Freenode service?
# 10:19 Loqi [Zegnat] #2 Remove the first spam of 2018
# 10:20 Zegnat aaronpk++ for clearing up the IndieAuth endpoint discovery priorities! That can simplify my code a little :D
# 10:20 Loqi aaronpk has 98 karma in this channel (1519 overall)
KevinMarks and tantek joined the channel
# 11:06 Zegnat Ugh, I keep getting random curl timeouts and I have no clue why. Really making testing my IndieAuth code frustrating.
[kevinmarks], KevinMarks, KevinMarks_, [xavierroy], snarfed and John__ joined the channel
# 15:22 Zegnat What is the problem you are seeing with Micropub, [xavierroy]?
# 15:22 Loqi It looks like we don't have a page for "problem you are seeing with Micropub, [xavierroy]" yet. Would you like to create it? (Or just say "problem you are seeing with Micropub, [xavierroy] is ____", a sentence describing the term)
# 15:22 Loqi [xavierroy] #80 Error: undefined indexes
# 15:26 Zegnat Aah, my knowledge of anything WordPress will keep me from really helping there :(
KevinMarks joined the channel
# 15:30 sknebel aaronpk: reading your itches, why not have both collapsed and extended view on feeds?
tantek and KevinMarks joined the channel
[3 lines deleted]
# 15:49 tantek !tell aaronpk check logs for spam today 07:48 and yesterday 22:16 both PST and please blank.
# 15:49 Loqi Ok, I'll tell them that when I see them next
# 15:52 aaronpk which is fishy because now it looks like my github commits are signed with my own key
KevinMarks joined the channel
# 16:03 Zegnat I was also surprised to see stuff I submitted to be signed, as I don’t have a key associated with my profile at all
# 16:04 aaronpk okay, I installed the ubuntu language packs for all the languages indienews supports, but I can't get php to recognize them!
[kevinmarks] joined the channel
# 16:05 aaronpk I didn't have to do anything special and the copy on my laptop works fine
# 16:09 aaronpk it's nginx reverse proxying to php, so not required
# 16:10 aaronpk I don't see any PHP settings that would let me add these explicitly
# 16:13 Loqi sknebel has 27 karma in this channel (83 overall)
[xavierroy] joined the channel
# 16:17 sebsel I used to just type out a PHP-array like ['01' => 'januari', '02' => 'februari', ...] every time I needed dates... so bad.
KevinMarks joined the channel
# 16:49 Zegnat is now re-re-building the IndieAuth flow of Sink because argh
KevinMarks_ joined the channel
# 17:05 GWG What is the state parameter in Indieauth generally used for other than verifying it doesn't change?
snarfed joined the channel
# 17:06 aaronpk that's the primary use, as a CSRF protection thingy
# 17:06 GWG aaronpk: I thought you were using it for something else. I vaguely remember the conversation.
# 17:06 aaronpk if you don't want to store session info server-side then you can use it to stash info between the initial auth request and the response
KevinMarks joined the channel
# 17:06 GWG aaronpk: Is there anything about using it for session info written out anywhere?
# 17:07 Loqi [aaronpk] #95 use JSON response format for token check
# 17:07 aaronpk I think there's a sentence or two saying approximately that in the book
# 17:08 GWG aaronpk: And I cherish every page of it.
# 17:31 sebsel aaronpk You are using Laravel for your site, right? And you're using a file-system that is indexed by a database? I was wondering... are you using the Eloquent models at all?
# 17:31 sebsel I wrote a sort of HybridModel to handle it, but I am not sure if I still like it.
# 17:31 aaronpk i'm not using the eloquent models for my site, just the DB ORM
# 17:32 aaronpk the classes for my posts are all outside of the Laravel context too
# 17:32 dansup sebsel: Laravel models are really handy
# 17:33 sebsel dansup They are! That's why I like to use them. But I also really want to store the original posts in flat files. :)
# 17:33 aaronpk aw snap I just got the .dev HSTS update in chrome
# 17:33 dansup What about a custom database driver?
# 17:34 aaronpk time to switch over to full wildcard https for my .dev sites
# 17:34 sebsel That sounds even more complicated. I mean: the HybridModel I have now works like a charm, but it just hides so much information about which fields are saved where.
# 17:35 sebsel I am thinking about using a IndexedEntry class which extends Eloquent, and my own Entry class, which does stuff with the file.
# 17:36 sebsel But it also felt like reinventing a wheel aaronpk might have solved, but apparently not, so I'll continue to look for other solutions :)
# 17:36 dansup sebsel: ah, that makes sense.
# 17:38 Loqi [aaronpk] #95 use JSON response format for token check
# 17:38 GWG snarfed: Manual testing, definitely. As for unit tests...I was going to try to write some for the Indieauth plugin. Might as well write a token endpoint verification test and add it to both.
# 17:39 GWG snarfed: I'm still not the best unit test writer.
# 17:39 GWG I'm better at deriving tests from existing ones, as opposed to from scratch, so far
# 17:39 Zegnat I was just messing with token endpoints, never sure how I want to write the tests for it so I just always end up implementing first
# 17:41 GWG Zegnat: These are client tests, not server.
# 17:41 GWG Anyone have some unit tests for indieauth I can derive from then?
# 17:43 Zegnat Ah, yeah, I have never written client code for tokens. Sink is only a client for authentication.
# 17:45 GWG I can't even find any in aaronpk's repos.
# 17:47 sebsel We all keep an eye on aaronpk's repos for the easy way :P
# 17:50 GWG Zegnat: I must feed snarfed's insatiable appetite for unit testing.
# 17:53 Zegnat I can just never come up with every error situation that can happen in these cases
# 17:53 aaronpk dansup: I have a good https setup for *.dev domains now, just hadn't fully switched every hostname over yet
[pfefferle] joined the channel
# 17:54 aaronpk for every live site, I have a copy on my laptop with the same hostname with .dev at the end, e.g. aaronparecki.com.dev and quill.p3k.io.dev
# 17:54 aaronpk I made a bunch of wildcard certs for *.com.dev and *.p3k.io.dev
# 17:54 GWG aaronpk: How high on your list is indieauth.rocks?
# 17:55 aaronpk GWG: it'll probably be a while before I get there
KevinMarks and eli_oat joined the channel
# 19:17 Loqi [David Shanske] Skip to content
David Shanske
The Definitive Location
Menu
...
# 19:27 GWG aaronpk, in 5 to 10 years, every WordPress site could have feature parity with p3k. If you stop iterating, possibly
AngeloGladding, KartikPrabhu, John__ and tantek joined the channel
# 20:46 aaronpk also not sure why your profile URL isn't just your home page
KartikPrabhu, gRegorLove, snarfed and tantek joined the channel
# 21:50 loqi.me edited /best_nine (+422) "tantek added "Brainstorming: It should be possible to build an indieweb version into your own site, or even a service that asked for an indieweb site URL, checked all [[photo ]] posts from the past year, created a grid of the top 9 posts by number of li..." (
view diff )
# 22:28 dansup KartikPrabhu: sure!
KevinMarks, ben_thatmustbeme and [miklb] joined the channel
# 23:10 [miklb] aaronpk weird. I assume that author url is a default WordPress path, should probably look at the template used for that or change the URL. Not sure why the redirects, I’ll look at my logs. I’ve seen some funky stuff with webmention end point and 500 errors. Concerned my config for caching is not properly optimized.
tantek and deathrow1 joined the channel