silverstripe-framework/tests
Sam Minnee b401d39aec NEW: Move temp data into a user-specific subfolder, to stop temp-permission bugs from occurring.
Anyone who has run "sudo -u www-data ./framework/sake dev/build" knows that SilverStripe's temp
folder permissions can be very brittle.  This patch resolves this by making the temp folder
user-specific.

To minimise directory pollution it first creates a chmod 777 parent folder with the same name
as the current folder.  It then creates a subfolder of this with the same name as the current
user.

The positive impact of this change is that sake can be used without fear of messing up file
permissions.  This means, among other things, that we can put a Composer post-update-cmd into
the installer to run dev/build.  Progress!

The negative impact is that you will get two caches if you run sake as a different user.  However,
that is much better than the current situation - which is a bunch of bugs - and if you're concerned
about that, you still have the option of running sake as www-data.
2013-05-15 12:54:55 +02:00
..
api SimpleXML string casting in tests for older PHPUnit 2012-12-17 15:52:01 +01:00
behat Add codesniffer that ensures indentation is with tabs. 2012-12-12 00:12:11 +13:00
cache Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
control API Remove content-length setting in HTTPResponse 2013-02-27 10:07:54 +01:00
core NEW: Move temp data into a user-specific subfolder, to stop temp-permission bugs from occurring. 2013-05-15 12:54:55 +02:00
dev Added test cases for exception error logging 2013-01-24 09:36:42 +01:00
filesystem Fixed PHPUnit assertions for incomplete tests in core 2012-11-23 15:16:39 +01:00
forms l10n key to make "yes" and "no" translatable (see #1749) 2013-04-12 01:11:24 +02:00
i18n BUG Graceful handling of sprintf with too few params in i18n::_t() 2012-12-21 11:46:39 +01:00
injector FIX issue with Injector::create not passing args 2013-02-15 10:24:47 +11:00
integration BUG Fixing regression in 26d70d6fca with formatted output in SS_HTMLValue 2012-10-16 11:59:30 +13:00
javascript Add codesniffer that ensures indentation is with tabs. 2012-12-12 00:12:11 +13:00
model Added test for lazy-loading edge-case in Money field. 2013-04-22 11:50:57 +12:00
oembed FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
parsers FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
phpcs Add codesniffer that ensures indentation is with tabs. 2012-12-12 00:12:11 +13:00
search Add codesniffer that ensures indentation is with tabs. 2012-12-12 00:12:11 +13:00
security BUGFIX Keep Member.PasswordEncryption setting on empty passwords 2013-02-17 23:30:41 +01:00
tasks Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
templates BUG Only include processed requirements at the top level. (Fixes #7847) 2012-11-04 17:54:09 +13:00
testing NEW FixtureFactory separated out from YamlFixture 2012-12-11 17:06:27 +01:00
view Add codesniffer that ensures indentation is with tabs. 2012-12-12 00:12:11 +13:00
Bare.yml MINOR: Added small fixture YML that just lets you log in, for bootstrapping browser automation tests. 2011-02-02 14:17:57 +13:00
bootstrap.php Setting SapphireTest::is_running_test() in PHPUnit bootstrap 2013-01-09 23:31:10 +01:00
FakeController.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
MemoryLimitTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
PhpSyntaxTest.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00