silverstripe-framework/tests
Sam Minnee 5779097939 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-03-24 18:39:50 +13:00
..
api FIX CDATA sections in HTML5 are invalid so remove from test 2013-02-18 17:02:11 +13:00
behat NEW Show the allowed extensions as a toggle tip as per trac 7993 2012-12-19 17:00:39 +01:00
cache Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
control Merge remote-tracking branch 'origin/3.0' into 3.1 2013-02-27 10:27:22 +01:00
core NEW: Move temp data into a user-specific subfolder, to stop temp-permission bugs from occurring. 2013-03-24 18:39:50 +13:00
dev Added test cases for exception error logging 2013-01-24 09:36:42 +01:00
filesystem Fixed deprecated GD usage 2013-03-19 10:51:39 +01:00
forms BUG: ampersand escaping 2013-03-11 09:58:14 +01:00
i18n Merge remote-tracking branch 'origin/3.0' into 3.1 2012-12-21 15:04:17 +01:00
injector Merge remote-tracking branch 'origin/3.0' into 3.1 2013-02-18 14:15:42 +01:00
integration API Make HTMLValue replace-able via DI 2013-03-14 12:49:02 +13:00
javascript Add codesniffer that ensures indentation is with tabs. 2012-12-12 17:33:31 +13:00
model Merge pull request #1292 from tractorcow/3.1-validationexception-fixes 2013-03-20 03:55:42 -07:00
oembed FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
parsers FIX Make ShortcodeParser obey error_behavior in attribute scope 2013-02-22 11:34:15 +13:00
phpcs Add codesniffer that ensures indentation is with tabs. 2012-12-12 17:33:31 +13:00
search Removed deprecated NegationFilter tests, rewrote ExactMatchMultiFilter tests 2013-03-19 12:58:14 +01:00
security Merge remote-tracking branch 'origin/3.0' into 3.1 2013-02-18 14:31:57 +13:00
tasks Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
templates BUG: Pass named include argument as objects. 2013-02-14 18:31:40 +11:00
testing Removed deprecated YamlFixture->saveIntoDatabase() usage 2013-03-19 12:58:15 +01:00
travis Merge remote-tracking branch 'origin/3.0' into 3.1 2013-02-27 10:27:22 +01:00
view Fixed deprecated usage of <% control %> 2013-03-19 12:58:14 +01: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