#dev 2017-04-21

2017-04-21 UTC
[cleverdevil] joined the channel
#
loqi.me
created /Nextcloud_Tasks (+252) "prompted by [cleverdevil] and dfn added by [cleverdevil]"
(view diff)
#
loqi.me
created /2Do (+96) "prompted by [cleverdevil] and dfn added by [cleverdevil]"
(view diff)
#
loqi.me
edited /2Do (+42) "/* See Also */ new section"
(view diff)
KevinMarks_, miklb, tantek_ and [eddie] joined the channel
#
loqi.me
created /43Things (+168) "prompted by tantek_ and dfn added by tantek_"
(view diff)
#
loqi.me
edited /43Things (+41) "/* See Also */ new section"
(view diff)
#
loqi.me
edited /43Things (+76) "tantek_ added "example user-profile found on homepage: https://43things.com/u/parunt1987" to "See Also""
(view diff)
[kevinmarks], gRegorLove and KevinMarks joined the channel
#
gregorlove.com
edited /43Things (-1) "link dfn"
(view diff)
KevinMarks joined the channel
#
gregorlove.com
edited /Wunderlist (+241) "link dfn, note about Microsoft To-Do and eventual retirement"
(view diff)
#
tantek.com
edited /Webmention-developer (+308) "/* IndieWeb Examples */ note live examples, add Previous Examples with stub Sandeep Shetty section"
(view diff)
KevinMarks joined the channel
#
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
#
tantek.com
edited /tinbox (+621) "add a few federation related items to consider"
(view diff)
#
tantek.com
edited /federation (+150) "make the implement steps clearer"
(view diff)
loicm, gRegorLove and [cleverdevil] joined the channel
#
@captaxin
ReadersGazette: BLOG Indie Author Answers by Jim Heskett http://www.thejugglingauthor.com/indieauth/ Get help writing your book #bookbloggers 74
(twitter.com/_/status/855291294951718912)
deathrow1, tantek_, barpthewire and cweiske joined the channel
#
gregorlove.com
edited /Webmention-developer (+617) "/* Sandeep Shetty */ expand"
(view diff)
#
gregorlove.com
edited /citation (+44) "/* See Also */ 2013/Citations and Scholarly Markdown"
(view diff)
#
gregorlove.com
edited /timeline (+221) "/* 2013 */ First federated indieweb comments via webmention+h-entry"
(view diff)
#
gregorlove.com
edited /2015/MIT/Schedule (+27) "/* Saturday, November 7, 2015 (Brainstorming) */ session link"
(view diff)
tantek_ joined the channel
#
gregorlove.com
created /2015/MIT/Notifications (+2613) "dump etherpad"
(view diff)
#
tantek.com
edited /on_this_day (+312) "subheads for IndieWeb Examples, add cleverdevil"
(view diff)
#
tantek.com
edited /on_this_day (+262) "/* Brainstorming */ Temporal window or barrier"
(view diff)
#
colinwalker.blog
created /User:Colinwalker.blog (+500) "Created page with "[https://colinwalker.blog Colin Walker] Rebooted the blog in March 2016 with the intent of owning everything I do on the web. Long form, microblog and microcast are all hosted ...""
(view diff)
miklb joined the channel
KevinMarks, [kevinmarks], loicm_, singpolyma, KevinMarks_, leg, [cleverdevil], cweiske, miklb and gRegorLove joined the channel
#
GWG
miklb, someone had the same settings issue with Syndication Links, I am going to try to troubleshoot that
#
deathrow1
sknebel: can not yet tell if it'll work or not
#
deathrow1
work/produce relevant results
#
miklb
GWG settings issue?
#
GWG
Where you had to save the settings page
#
miklb
I vaguely remember that :-)
[kevinmarks] and [cleverdevil] joined the channel
#
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.
#
GWG
Gregorlove, sorry
#
gRegorLove
Not your fault :)
#
miklb
gRegorLove we?
#
GWG
I am the community WordPress apologist
#
gRegorLove
Work-related, not indieweb, miklb
#
miklb
right, I assumed not indieweb related, just didn't know if "we" was public knowledge
[chrisaldrich], strk and KevinMarks joined the channel
#
strk
what's the development focus ?
#
strk
is it on specs ?
#
cweiske
the indieweb development focus?
#
cweiske
it's making things work for yourself
#
cweiske
strk, I could pack you a .phar file with everything in it
#
cweiske
then you'd only have to deploy one file on your server
#
strk
.phar doesn't sound familiar to me
#
cweiske
it lets you pack up php applications into one file
#
strk
but sure, it could help (I'm only familiar with apt-get :)
#
cweiske
give me half an hour
#
strk
I probably won't be here by then, would it make sense to have a download link somewhere ?
#
strk
(ideally on that "homepage" I was looking for...)
#
cweiske
perhaps, i'll see
#
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
#
strk
but what's the plumb ?
#
strk
and what's the newcomers coming for ?
#
strk
I mean, all of this sound very techie to me anyway
#
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
#
strk
ah, got it, so they get away with the link href=github ...
#
strk
(or twitter)
#
ben_thatmustbeme
because from the user perspective, they don't care about anything below that
#
ben_thatmustbeme
in general we tend to take a view of figuring out UX / design before any of the plumbing
#
ben_thatmustbeme
this room also has the wiki log via bot (another thing thats not as welcoming to new people)
#
martymcgui.re
edited /events/2017-05-10-homebrew-website-club (+399) "/* Details */ add Baltimore"
(view diff)
#
gRegorLove
^ wiki edits appear here too
#
gRegorLove
I think it was answered pretty well in chat, but this is also an FAQ: https://indieweb.org/IndieAuth#Is_it_good_to_delegate_auth_to_3rd_parties
#
martymcgui.re
edited /events/2017-05-10-homebrew-website-club (+344) "/* RSVP */ b'more links"
(view diff)
#
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.
#
miklb
gRegorLove good to know
#
cweiske
oh. a php phar bug bites me
#
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
#
strk
a GNUSocial implementation doesn't entushiasm you eh ?
#
strk
it already has an OpenID provider...
#
strk
based on php-openid
#
cweiske
I'm already doing much more for you than I expected to ever work on indieauth-openid
#
strk
yeah, don't worry
#
cweiske
php source code confirms my suspicion :/
#
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"))\
#
cweiske
return;
#
strk
I don't really need to be able to login via indieauth anyway
#
strk
was just looking around as I was writing a blog post about OpenID
#
strk
shall I need it, will consider delegating to github
#
gRegorLove
Why not email, strk?
#
cweiske
strk, try to install net_url2 first alone
#
cweiske
pear install net_url2
#
cweiske
then try again with openid-alpha
#
strk
pear install net_url2 # install ok: channel://pear.php.net/Net_URL2-2.1.2
#
cweiske
try: pear upgrade net_url2-2.2.1
#
strk
oh, upgrade ok: channel://pear.php.net/Net_URL2-2.2.1
#
strk
ok, openid alpha is ok now (I think)
#
cweiske
that's some pear fuckup. someone released version 2.1.2 after 2.2.1
#
strk
install ok: channel://pear.php.net/HTTP_Request2-2.3.0
#
strk
install ok: channel://pear.php.net/Services_Yadis-0.5.2
#
cweiske
and pear can't cope with that ...
#
strk
still: require_once(): Failed opening required 'OpenID.php'
#
strk
ok, pear sucks hard
#
strk
previous command only installed the two things above
#
strk
but not openid-alpha yet
#
strk
now:
#
strk
pear/Cache_Lite requires package "pear/PEAR" (version >= 1.10.1), installed version is 1.9.5
#
cweiske
pear upgrade pear
#
strk
and so on, I guess ?
#
strk
by the end of it my system would be full of foreign packages, right ?
#
strk
challenging stability of other php apps on the system ?
#
cweiske
depends on their include path
#
strk
pear/Structures_Graph cannot be installed, conflicts with installed packages
#
strk
pear/PEAR requires package "pear/XML_Util" (recommended version 1.4.2), installed version is 1.2.3
#
strk
and so on and so on
#
cweiske
pear install -f cache_lite
#
strk
this is a no go, now I wonder how to undo all I did so far :/
#
cweiske
to get around the pear upgrade pear thing
#
strk
nah, too many moving parts, I really want to stop it here
#
strk
never liked pears :)
#
strk
thanks for your time though
#
strk
really I recommend you to look at Go, you might like it :)
barpthewire joined the channel
#
cweiske
makes a php-src patch
#
martymcguire[m]
cweiske++ for going at this so hard
#
Loqi
cweiske has 10 karma in this channel (84 overall)
#
strk
cweiske++ if my vote counts :)
#
Loqi
cweiske has 11 karma in this channel (85 overall)
#
cweiske
but now I found a workaround
#
cweiske
let's try
#
cweiske
cweiske.de/indieauth-openid-0.1.0.phar/
#
cweiske
Ok! Click to authenticate using this provider.
#
cweiske
You Successfully Authenticated!
#
cweiske
there it is
#
strk
20 minutes of handshakes ? :P
#
cweiske
20 minutes of debugging an uncaught exception
#
cweiske
because my $sqliteFile variable was missing "sqlite:" in front of it
#
cweiske
wrongly named variable
#
cweiske
download it, remove the .bin from the filename
#
cweiske
create a config file indieauth-openid-0.1.0.phar.config.php in the same folder
#
cweiske
contents:
#
cweiske
$dsn = 'sqlite:/tmp/indieauth-openidtest.sq3';
#
cweiske
then you probably need to configure your webserver to handle .phar files with php
#
cweiske
I prepared something for you several years ago: http://cweiske.de/tagebuch/phar-webserver.htm
#
Loqi
[Christian Weiske] Enable .phar handling in your web server
#
strk
is the closing ?> tag really needed ?
#
cweiske
I like it, because it balances the world
loicm_ joined the channel
#
cweiske
and especially consumer (webapp that consumes indieauth) complexity is lower than for openid
#
strk
my apache config does not have AddHandler for php
#
strk
but SetHandler application/x-httpd-php
#
strk
which doesn't work even with <FilesMatch "^\.ph(ar|p[345]?|t|tml|ps)$">
#
cweiske
which location is your .phar file now? url?
#
cweiske
and you restarted apache
#
strk
after <FilesMatch "^\.ph(ar|p[345]?|t|tml|ps)$">
#
strk
yes, restarted
#
cweiske
are you using cgi/fpm?
#
strk
change reverted, after finding out I exposed sources of all php things, all broken (friendica/gnusocial/nextcloud/...)
#
cweiske
maybe you have multiple SetHandler lines across your files
#
cweiske
*config files
#
strk
ok now works
#
cweiske
how so?
#
strk
-<FilesMatch ".+\.ph(p[345]?|t|tml)$">
#
strk
+<FilesMatch ".+\.ph(ar|p[345]?|t|tml)$">
#
strk
my fault, copied the wrong line
#
strk
this one:
#
strk
# Deny access to files without filename (e.g. '.php')
#
strk
<FilesMatch "^\.ph(p[345]?|t|tml|ps)$">
#
strk
you see it's different, lacks the initial .+
#
strk
just in case you want to update that page you showed me
#
cweiske
that page is correct
#
strk
now a clear url and I'm done
#
strk
oh, you're right, the page is correct, sorry
#
gRegorLove
rel=author appears to only be "proposed" on http://microformats.org/wiki/h-entry. Should indiewebify.me really be capturing it?
#
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...
#
strk
ok first attempt for clean url failed: https://id.kbt.io/indieauth/
#
cweiske
strk, I have no idea if that works with clean urls
#
cweiske
aaronpk, There was a problem!
#
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.
#
cweiske
indieauth.com says that after I changed my auth server
#
cweiske
I have no way to re-scan
#
strk
DirectoryIndex index.phar # did not help either (entered an infinite redirect look)
#
aaronpk
there should always be a re-scan button there
#
cweiske
strk, try without a clean url for now
#
cweiske
maybe only have indieauth-openid.phar
#
strk
"indieauth-openid can only be used in the browser "
#
cweiske
when renaming?
#
cweiske
aaronpk, the screenshot was for you
#
strk
whenever I try to use another name (even a simlink)
#
strk
uhm, no, a simlink is ok
#
aaronpk
oh... but if you start the process over you'll see the re-scan link. it's above the list of providers
#
strk
it's just DirectoryIndex which makes it fail with that message
#
strk
must be a missing env variable
#
cweiske
aaronpk, I never get the provider list
#
cweiske
probably because it previously only found one
#
cweiske
and skips that now
#
aaronpk
oh! ...
#
aaronpk
sure enough
#
aaronpk
if @profiles.length == 1 && @profiles[0]['provider'] == 'indieauth'
#
cweiske
if that changes, you're out of luck
#
aaronpk
yeah wow oops
#
aaronpk
that's tricky
#
aaronpk
skipping the screen is good for the whole flow, but i'm not sure how to solve this in that case
#
aaronpk
maybe if it hits this error it should delete the cache?
#
cweiske
in case of this error, remove the provider from the profile and redirect to profile selector
#
strk
I wonder where this message comes from: https://id.kbt.io/indieauth/
#
strk
did anyone ever see that ?
#
cweiske
I added this
#
strk
in the .phar ?
#
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
#
strk
or, how can a .phar be exploded, edited and recomposed ?
#
cweiske
strk, this is a php bug
#
cweiske
if you remove the .phar from the file, it does not recognize that it's running the .phar from a web browser
#
strk
so /indieauth.phar should work ? will try that
#
strk
although... uhm would not be clean url anymore
#
cweiske
<cweiske> maybe only have indieauth-openid.phar
#
strk
ah, now I see what you meant
#
strk
but no, I don't like that
#
cweiske
I give up.
#
gregorlove.com
edited /p-name (-2) "dfn"
(view diff)
#
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
#
strk
just shows me the page, with no query strings
#
strk
I guess it's due to the .phar -> .phar/ redirect, but I'm not sure
#
gregorlove.com
edited /Nextcloud (+206) "/* Applications */ subheadings for apps, merge in Nextcloud Tasks"
(view diff)
#
gregorlove.com
edited /Nextcloud_Tasks (-213) "redirect"
(view diff)
#
gregorlove.com
edited /Nextcloud (+96) "/* Nextcloud News */ add app store link"
(view diff)
#
gregorlove.com
edited /Nextcloud_News (-320) "redirect"
(view diff)
#
cweiske
add the slash to the auth endpoint link on your site
#
strk
moves one step forward: Invalid URL in "redirect_uri" parameter: scheme missing
#
cweiske
how do you test?
#
cweiske
on indieauth.com?
#
strk
query string contains this: redirect_uri=https%253A%252F%252Findieauth.com%252Fauth%252Findieauth%252Fredirect
#
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)
#
strk
which explains why I could not use a redirect to get clean url :/
marcthiele joined the channel
#
cweiske
I wonder why it is double-encoded
#
cweiske
aaronpk, ?
#
gRegorLove
cweiske++ for all the indieauth help
#
Loqi
cweiske has 12 karma in this channel (87 overall)
#
Loqi
Christian Weiske
#
martymcgui.re
created /Baltimore (+310) "HWC, IWC mbrs"
(view diff)
#
cweiske
this isn't indieauth.com
#
cweiske
strk, it's your fault :)
#
cweiske
you linked the http version on your homepage
#
cweiske
but have a redirect from http to https
#
cweiske
and during that redirect the parameter gets double-encoded
#
strk
how fragile this web is :)
#
cweiske
oh, now simpleid is showing
#
strk
so step forward: Generic error: SQLSTATE[HY000] [14] unable to open database file (PDOException)
#
strk
btw, are you saying that my redirect setup is bogus ? (just to keep a note about it)
#
cweiske
no idea what's correct for that redirect
#
cweiske
do you have your index.phar.config.php with the dsn inside?
#
strk
it's a rewriterule injected by letsencrypt
#
strk
ok back to auth
#
strk
yes: 'sqlite:/tmp/indieauth-openidtest.sq3';
#
strk
$dsn = 'sqlite:/tmp/indieauth-openidtest.sq3';
#
strk
oh, but wait :)
#
strk
my fault again
#
strk
should probably be aclled index.phar.config.php, right
#
strk
uff, but a symlink breaks again with that "can only be used in the browser"
#
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
#
strk
You Successfully Authenticated!
#
strk
(copy instead of symlink)
#
cweiske
strk, the symlink problem is a php bug as I wrote before
#
cweiske
you can't solve it
#
cweiske
the makefile rule is already there in git
#
cweiske
$ phing phar
#
cweiske
but you need the pear packages installed :)
#
cweiske
so it finally works
KevinMarks, KevinMarks_ and [cleverdevil] joined the channel