Commit graph

14 commits

Author SHA1 Message Date
Thomas Müller
582b33bdf1 Merge pull request #4537 from owncloud/no-realpath
Do not use realpath() on includes.
2013-08-22 01:50:31 -07:00
Andreas Fischer
83afb46205 Use __DIR__ instead of dirname(__FILE__).
This is possible because we require PHP 5.3 or higher.
2013-08-21 11:01:24 +02:00
Andreas Fischer
9753e44ac2 Do not use realpath() on includes.
If the file does not exist, realpath() returns false and "include false;"
produces "Failed opening '' for inclusion" which is a useless error message.

'include' works just fine with symlinks, "./" and "../".
2013-08-21 10:52:22 +02:00
Björn Schießle
9be836814c Merge pull request #4239 from owncloud/decrypt_files_again
Enable user to decrypt files again after encryption app was disabled
2013-08-18 09:51:48 -07:00
kondou
9e8a6b704d Add _many_ newlines at the end of files 2013-08-18 11:06:59 +02:00
Bjoern Schiessle
6c96a5273b fixing some unit tests 2013-07-30 18:21:23 +02:00
Bjoern Schiessle
aca7fbe2c8 adapt unit tests to the modified stream wrapper 2013-07-30 14:18:01 +02:00
Jörn Friedrich Dreyer
c70a0f791d allow 30 sec for testDeleteFile 2013-06-10 14:45:39 +02:00
Jörn Friedrich Dreyer
73fb722a9e add timeouts 3/30/90 to phpunit tests 2013-06-10 09:31:22 +02:00
Florin Peter
9dd277576a added users for tests
reformat code to meet coding guidelines
2013-05-26 20:44:15 +02:00
Florin Peter
c7981abbc9 improved test
- fixed testPermanentDeleteFile sometimes failed
- speed optimization
- reformat code
2013-05-26 03:22:16 +02:00
Florin Peter
fba7200b05 improved trashbin test again 2013-05-24 23:12:16 +02:00
Florin Peter
b32823a96e improved trashbin test 2013-05-24 23:12:07 +02:00
Florin Peter
46c784ccdf added trash bin tests 2013-05-22 23:51:35 +02:00