2017-04-21 UTC
[cleverdevil] joined the channel
KevinMarks_, miklb, tantek_ and [eddie] joined the channel
[kevinmarks], gRegorLove and KevinMarks joined the channel
KevinMarks joined the channel
KevinMarks joined the channel
# 02:28 tantek.com edited /on_this_day (+1315) "start issues section with a couple of possible downsides, add a couple of design brainstorms to possible mitigate the issues" (
view diff )
[kevinmarks] and KartikPrabhu joined the channel
loicm, gRegorLove and [cleverdevil] joined the channel
deathrow1, tantek_, barpthewire and cweiske joined the channel
tantek_ joined the channel
miklb joined the channel
KevinMarks, [kevinmarks], loicm_, singpolyma, KevinMarks_, leg, [cleverdevil], cweiske, miklb and gRegorLove joined the channel
# 17:02 GWG miklb, someone had the same settings issue with Syndication Links, I am going to try to troubleshoot that
# 17:18 GWG Where you had to save the settings page
[kevinmarks] and [cleverdevil] joined the channel
# 17:27 gRegorLove Argh, WordPress. We have a custom login set up and despite calling `remove_action('authenticate', 'wp_authenticate_username_password', 20);` to disable the core authentication method, it's still falling back to it apparently.
# 17:30 GWG I am the community WordPress apologist
# 17:31 miklb right, I assumed not indieweb related, just didn't know if "we" was public knowledge
[chrisaldrich], strk and KevinMarks joined the channel
# 18:01 cweiske strk, I could pack you a .phar file with everything in it
# 18:01 cweiske then you'd only have to deploy one file on your server
# 18:01 cweiske it lets you pack up php applications into one file
# 18:01 strk but sure, it could help (I'm only familiar with apt-get :)
# 18:02 strk I probably won't be here by then, would it make sense to have a download link somewhere ?
# 18:02 strk (ideally on that "homepage" I was looking for...)
# 18:05 ben_thatmustbeme if you mean the reason for the -dev room strk its to keep the #indieweb room inviting to newcomers without being cluttered with plumbing discussions
# 18:06 strk and what's the newcomers coming for ?
# 18:06 strk I mean, all of this sound very techie to me anyway
# 18:07 ben_thatmustbeme some come in just wanting to use existing tools to get stuff on their own site, they don't care about coding, they just want to get in to the community
# 18:07 strk ah, got it, so they get away with the link href=github ...
# 18:09 ben_thatmustbeme in general we tend to take a view of figuring out UX / design before any of the plumbing
# 18:10 ben_thatmustbeme this room also has the wiki log via bot (another thing thats not as welcoming to new people)
# 18:26 gRegorLove Sorted out that WordPress login fallback. There's also an action `wp_authenticate_email_password` that had to be removed. Most of these users have email addresses as usernames, so I guess WP tries both methods.
# 18:48 cweiske phar files are unable to handle HEAD requests, and indieauth.com sends a HEAD request to see if it's really an auth endpoint
# 18:49 strk a GNUSocial implementation doesn't entushiasm you eh ?
# 18:51 cweiske I'm already doing much more for you than I expected to ever work on indieauth-openid
# 18:51 cweiske if (!(SG(request_info).request_method && SG(request_info).request_uri && (!strcmp(SG(request_info).request_method, "GET") || !strcmp(SG(request_info).request_method, "POST"))\
# 18:51 strk I don't really need to be able to login via indieauth anyway
# 18:51 strk was just looking around as I was writing a blog post about OpenID
# 18:52 strk shall I need it, will consider delegating to github
# 18:56 strk pear install net_url2 # install ok: channel://pear.php.net/Net_URL2-2.1.2
# 18:57 strk oh, upgrade ok: channel://pear.php.net/Net_URL2-2.2.1
# 18:58 cweiske that's some pear fuckup. someone released version 2.1.2 after 2.2.1
# 18:58 strk install ok: channel://pear.php.net/HTTP_Request2-2.3.0
# 18:58 strk install ok: channel://pear.php.net/Services_Yadis-0.5.2
# 18:59 strk still: require_once(): Failed opening required 'OpenID.php'
# 18:59 strk previous command only installed the two things above
# 18:59 strk pear/Cache_Lite requires package "pear/PEAR" (version >= 1.10.1), installed version is 1.9.5
# 19:00 strk by the end of it my system would be full of foreign packages, right ?
# 19:00 strk challenging stability of other php apps on the system ?
# 19:01 strk pear/Structures_Graph cannot be installed, conflicts with installed packages
# 19:01 strk pear/PEAR requires package "pear/XML_Util" (recommended version 1.4.2), installed version is 1.2.3
# 19:01 strk this is a no go, now I wonder how to undo all I did so far :/
# 19:01 strk nah, too many moving parts, I really want to stop it here
# 19:03 strk really I recommend you to look at Go, you might like it :)
barpthewire joined the channel
# 19:16 martymcguire[m] cweiske++ for going at this so hard
# 19:16 Loqi cweiske has 10 karma in this channel (84 overall)
# 19:26 Loqi cweiske has 11 karma in this channel (85 overall)
# 19:46 cweiske because my $sqliteFile variable was missing "sqlite:" in front of it
# 19:51 cweiske create a config file indieauth-openid-0.1.0.phar.config.php in the same folder
# 19:51 cweiske then you probably need to configure your webserver to handle .phar files with php
# 19:52 Loqi [Christian Weiske] Enable .phar handling in your web server
# 19:53 strk is the closing ?> tag really needed ?
loicm_ joined the channel
# 19:55 cweiske and especially consumer (webapp that consumes indieauth) complexity is lower than for openid
# 19:59 strk my apache config does not have AddHandler for php
# 19:59 strk but SetHandler application/x-httpd-php
# 19:59 strk which doesn't work even with <FilesMatch "^\.ph(ar|p[345]?|t|tml|ps)$">
# 20:02 strk after <FilesMatch "^\.ph(ar|p[345]?|t|tml|ps)$">
# 20:05 strk change reverted, after finding out I exposed sources of all php things, all broken (friendica/gnusocial/nextcloud/...)
# 20:05 cweiske maybe you have multiple SetHandler lines across your files
# 20:06 strk -<FilesMatch ".+\.ph(p[345]?|t|tml)$">
# 20:06 strk +<FilesMatch ".+\.ph(ar|p[345]?|t|tml)$">
# 20:07 strk # Deny access to files without filename (e.g. '.php')
# 20:07 strk <FilesMatch "^\.ph(p[345]?|t|tml|ps)$">
# 20:07 strk you see it's different, lacks the initial .+
# 20:07 strk just in case you want to update that page you showed me
# 20:09 strk oh, you're right, the page is correct, sorry
# 20:10 Loqi [Tantek Çelik] h-entry is a simple, open format for episodic or datestamped content on the web. h-entry is often used with content intended to be syndicated, e.g. blog posts. h-entry is one of several open microformat standards suitable for embedding data in HTML/H...
# 20:11 cweiske strk, I have no idea if that works with clean urls
# 20:12 cweiske "http://cweiske.de/indieauth-openid-0.1.0.phar/" was not found on the site "http://cweiske.de/". Try re-scanning after checking your rel=me links on your site.
# 20:12 cweiske indieauth.com says that after I changed my auth server
# 20:13 strk DirectoryIndex index.phar # did not help either (entered an infinite redirect look)
# 20:14 strk "indieauth-openid can only be used in the browser "
# 20:14 strk whenever I try to use another name (even a simlink)
# 20:15 aaronpk oh... but if you start the process over you'll see the re-scan link. it's above the list of providers
# 20:15 strk it's just DirectoryIndex which makes it fail with that message
# 20:16 aaronpk if @profiles.length == 1 && @profiles[0]['provider'] == 'indieauth'
# 20:18 aaronpk skipping the screen is good for the whole flow, but i'm not sure how to solve this in that case
# 20:18 aaronpk maybe if it hits this error it should delete the cache?
# 20:18 cweiske in case of this error, remove the provider from the profile and redirect to profile selector
# 20:22 strk how did you build the .phar ? Maybe you can push a Makefile rule for me to rebuild after fixing the .phar ?
marcthiele and KartikPrabhu joined the channel
# 20:22 strk or, how can a .phar be exploded, edited and recomposed ?
# 20:26 cweiske if you remove the .phar from the file, it does not recognize that it's running the .phar from a web browser
# 20:27 strk although... uhm would not be clean url anymore
# 20:37 strk cweiske: for a test I tried using /index.phar which now succeeds at rendering the page, but fails at being used successfully for login
# 20:37 strk just shows me the page, with no query strings
# 20:38 strk I guess it's due to the .phar -> .phar/ redirect, but I'm not sure
# 20:42 cweiske add the slash to the auth endpoint link on your site
# 20:45 strk moves one step forward: Invalid URL in "redirect_uri" parameter: scheme missing
# 20:46 strk query string contains this: redirect_uri=https%253A%252F%252Findieauth.com%252Fauth%252Findieauth%252Fredirect
# 20:47 strk error handling of the proxy could be better (it could tell the user that the rel="authorization_endpoint" does not match the installation url, for example)
# 20:47 strk which explains why I could not use a redirect to get clean url :/
marcthiele joined the channel
# 21:24 Loqi cweiske has 12 karma in this channel (87 overall)
# 21:28 cweiske and during that redirect the parameter gets double-encoded
# 21:29 strk so step forward: Generic error: SQLSTATE[HY000] [14] unable to open database file (PDOException)
# 21:30 strk btw, are you saying that my redirect setup is bogus ? (just to keep a note about it)
# 21:31 cweiske do you have your index.phar.config.php with the dsn inside?
# 21:31 strk it's a rewriterule injected by letsencrypt
# 21:32 strk yes: 'sqlite:/tmp/indieauth-openidtest.sq3';
# 21:32 strk $dsn = 'sqlite:/tmp/indieauth-openidtest.sq3';
# 21:33 strk should probably be aclled index.phar.config.php, right
# 21:34 strk uff, but a symlink breaks again with that "can only be used in the browser"
# 21:35 strk enough for today, thanks so far, I hope you can provide that makefile rule to build the phar so maybe I can help making it more robust
# 21:39 cweiske strk, the symlink problem is a php bug as I wrote before
KevinMarks, KevinMarks_ and [cleverdevil] joined the channel