gRegor`Perms should be as locked down as possible. Typically the scripts execute as user "nobody" but your files are owned by "tantek" so it would require broader permissions to read/write. suPHP or FastCGI can be used to execute scripts as your username, though, so then you could lock them down to not be world read/writeable.
gRegor`Running the scripts as your user can be a security trade-off, too. If there's a vulnerability in your script, an attacker could then do things on the server as "tantek" instead of "nobody"
barnabywaltersJust released php-mf2 v0.2.9 http://waterpigs.co.uk/notes/4XUAQb/ — from now on, I’m going to sign the tags for it (and eventually for all my other projects), so I added a guide to the installation instructions for how to get my key and verify the tag
barnabywaltersI’d greatly appreciate feedback on how clear this is — if there are any security-minded or security-curious php-mf2 users who don’t have GPG set up it’d be great to walk you through the process to find any obvious stumbling blocks/points for improvements
ShaneHudsonEvery few weeks I wish I could move away from Wordpress, it is so heavy on ram etc. But there is nothing that wouldn't require a tonne of work. Flat file sounds nice but then adding indieweb stuff gets even harder... can't win lol
simsketch, scor, charl, jsilvestre and fourtonfish joined the channel
jonnybarnesbarnabywalters: from a securoty point of view, would it be ok to run compouser update on a local maching and verify the tag locally, then check the composer.lock file into version control, deploy to production and run composer install
barnabywaltersjonnybarnes: I’m not actually sure. IIRC composer stores the hash of the checkout in composer.lock, so it should be fine to verify locally and install clean on the server
cuibonobo, brianloveswords, eschnou, chrissaad, Acidnerd, ShaneHudson, glennjones, julien51, snarfed, simsketch and fourtonfish joined the channel
gRegor`!tell tantek Glad you got it to work. I tend to think it's something the webhost should resolve in a shared server situation, instead of the software creating a new directory. In your instance the session save path was under your directory, but a lot of times it isn't, so code to auto-create isn't going to work.
Loqitantek: gRegor` left you a message 42 minutes ago: Glad you got it to work. I tend to think it's something the webhost should resolve in a shared server situation, instead of the software creating a new directory. In your instance the session save path was under your directory, but a lot of times it isn't, so code to auto-create isn't going to work.
ShaneHudsonaaronpk: I don't really have much time at the moment (never have time!) although that does sound good. Thinking about migrating to Craft, that has a very nice interface and easily adds custom post types etc.
ShaneHudsonaaronpk: hmm that is tempting, but don't thik I can commit to that at the moment, sorry! If I do migrate to craft though I will make sure to open source any indieweb plugins :) So far on Wordpress I've been using other people's
bretjekyll decided that subfolders in its _posts directory were actually suppsoed to assign category (like a tag but ends up in the url) where it used to just flatten any directory structure on compile time
gRegor`Often the session save path is outside of the user's space, e.g. requires root access. If session_start failed with /usr/tmp/ your code wouldn't be able to create it. (And it likely doesn't need to be created... some other problem.)
gRegor`Basically, on a shared host, session_start should work out of the box and, personally, I would be inclined to just have the webhost fix whatever the problem is, not have software attempt to create the directory.
tantekalso, I have yet to see a situation where a) session dir does not exist, AND b) software is unable to create it - so if you know when that has happened, please provide specifics (e.g. hosting provider)
gRegor`Wasn't necessarily saying it's a downside. A preference. If the *default* session.save_path on a shared host is not working, I would prefer the webhost set it up properly.
gRegor`I'm still surprised / curious about the cause of your session directory not existing. :) I've never seen that before, much less a scenario where b) needs to happen
Loqitantek meant to say: gRegor`: well, b) *did* happen, so now my software is patched in case it were to happen to someone else (or on another server) in the future.
Jeenabut the protocol didn't let me, the upgrade procedure from 0.3 to 0.4 Server fucked up the relations to everybody and there was no way to refollow because they already followed my domain. The only way was to remove my entry from their databases but nobody had access to the one providers database
cuibonobobret: the justification was that self-hosting would lead to technically-minded people eventually hosting tent servers for their friends, but that posed a security risk
cuibonobobret: tent currently functions under a "trust the server" model, where stuff is stored on the server unencrypted. so the pivot was so that only "serious hosters" would take the time and effort
tantekbret re: "tent has a pretty web page" - just goes to show how a pretty marketingy designery web page for a project means nothing in the long term (1 yr+)
gRegor`If (part of) your goal is to avoid issues with other people installing Falcon and their PHP setup being messed up, I think you should go the extra mile and check if mkdir failed and display a user friendly message. Again, a preference. Obviously if your current code fails, they'll get the same message as if your code wasn't there.
gRegor`This is why my preference would be to have the shared host fix their PHP setup, so your software isn't responsible for attempting to fix various installs.
tantekgRegor`: I think it is useful to reduce the number of situations where the user sees an error and/or has to file a support ticket. the logic is that simple.
aaronpki'm trying to not add any further post management UI to p3k right now, instead building those UIs as separate services that communicate via micropub
tantekI too am not adding any (further) post (***) UI to Falcon, instead building support for more publishing features to replace my Twitter use-cases.
Loqisnarfed: kylewm left you a message 2 hours, 10 minutes ago: for finding twitter replies, do you remember why bridgy uses search/tweets instead of statuses/mentions_timeline?
tantekalso as each email reply on a public list typically has a permalink URL, that has to be useful in some regard for post->POSSE->email->reply->backfeed->post
snarfedit's not an itch for me personally right now, so we'd have to find someone else to implement it in bridgy (tantek? npdoty?), but there's a big chunk of up front design work before that anyway…and the design work may be valuable enough on its own
cuibonobo"Concerning the structural richness of the published data, we found out that many websites only use a small set of rather generic properties to describe entities."
tantekrdfa support was claimed but not actually supported for many months (maybe late 2009 or early 2010). and no microdata support til 2011. so they're obviously going to be way behind.
tantekwe don't know if/when google et al will (or is) parsing uf2. they've expressed interest in various channels due to the simpler parsing model and canonical JSON/data output of uf2 (makes it quite easy for them to add support)
mlinksva_i'd love to see uf2 data too. i looked to see if in latest webdatacommons extract and no. i believe path to get there would be to add uf2 parser to any23 there's an open issue https://issues.apache.org/jira/browse/ANY23-207
Loqisnarfed: techlifeweb left you a message 8 minutes ago: Look's like you are getting around the brid.gy quirk "incoming webmentions come from me" on your site. How? Template code?
cuibonobomlinksva: i did not realize you were Mike Linksvayer!! I follow your blog and really love your copyright stuff. It has been a huge influence on me!
techlifewebsnarfed: no problem. pfefferle was mentioned somewhere along the line as I was setting things up and it got confusing (mostly because I'm still wrapping my mind around the various indieweb terms). I've got a Google Doc I'm writing up things as I get them configured in Wordpress so I'll post that someday soon when thing smooth out on my site.
techlifewebtantek: I installed indieweb plugin then when I signed up for brid.gy it said my webmention endpoint was not correct as I think he's looking for the <a rel="webmention" href="https://www.brid.gy/webmention/wordpress"></a>
snarfedkylewm: :P nah it's just confusing. this is one of the sanity checks for when you're signing up as a wp.com blog, and we tell you to add the endpoint to your html, and then we check that you did it right
techlifeweb!tell tantek I installed indieweb plugin then when I signed up for brid.gy it said my webmention endpoint was not correct as I think he's looking for the <a rel="webmention" href="https://www.brid.gy/webmention/wordpress"></a>
Loqitantek: techlifeweb left you a message 1 minute ago: I installed indieweb plugin then when I signed up for brid.gy it said my webmention endpoint was not correct as I think he's looking for the <a rel="webmention" href="https://www.brid.gy/webmention/wordpress"></a>