summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Removed deprecated private OC_User::createUserRoeland Jago Douma2015-12-1711-37/+22
| | | | | All function calls are replaced with the recommended (which was already the body of the function).
* Remove deprecated function OC_User::getManagerRoeland Jago Douma2015-12-172-4/+4
| | | | | Private deprecated function => removed Replaced all instances with suggested replacement
* Merge pull request #21240 from owncloud/avatar_speedupThomas Müller2015-12-172-17/+40
|\ | | | | Avatar speedup
| * [Avatar] Make the avatar controller use the avatar nodeRoeland Jago Douma2015-12-161-16/+26
| |
| * [Avatars] Add function to get the Node of the avatarRoeland Jago Douma2015-12-161-1/+14
| | | | | | | | | | Since we usually just get the avatar and stream the content to the users there is no need to first create an image in memory.
* | Remove deprecated OC_Helper::linkTo functionRoeland Jago Douma2015-12-171-46/+0
|/
* don't allow to create a federated share if source and target server are the sameBjörn Schießle2015-12-141-0/+37
|
* Merge pull request #20878 from ↵Thomas Müller2015-12-111-13/+0
|\ | | | | | | | | owncloud/proper-htaccess-support-in-code-signing-checker Also run .htaccess routine when installing on another system than Apache
| * Run .htaccess updates in any caseLukas Reschke2015-12-081-13/+0
| | | | | | | | This is the same what we also do in updater.php and thus this aligns the code. Makes the code paths more consistent.
* | Merge pull request #21135 from owncloud/add-polyfillThomas Müller2015-12-112-42/+3
|\ \ | | | | | | Add polyfills for PHP55, PHP56 and PHP70 functionalities
| * | Use PHP polyfillsLukas Reschke2015-12-112-42/+3
| | |
* | | Scrutinizer Auto-FixesScrutinizer Auto-Fixer2015-12-101-1/+3
|/ / | | | | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* | Merge pull request #21072 from owncloud/db-lock-ttlThomas Müller2015-12-101-7/+1
|\ \ | | | | | | Remove all locks after ttl from the db
| * | Remove all locks after ttl from the dbRobin Appelman2015-12-091-7/+1
| | |
* | | Merge pull request #21105 from owncloud/fix-risky-test-commentsThomas Müller2015-12-101-0/+2
|\ \ \ | | | | | | | | Add assertion to test
| * | | Add assertion to testLukas Reschke2015-12-101-0/+2
| | | | | | | | | | | | | | | | This seems to be missing on that test.
* | | | Make compatible with PHPUnit 5.1Lukas Reschke2015-12-101-0/+3
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `addWarning` needs to be defined as well for it: ``` ➜ master git:(master) ✗ bash autotest.sh sqlite Using PHP executable /usr/local/opt/php56/bin/php Parsing all files in lib/public for the presence of @since or @deprecated on each method... Using database oc_autotest Setup environment for sqlite testing on local storage ... Installing .... ownCloud is not installed - only a limited number of commands are available Mac OS X is not supported and ownCloud will not work properly on this platform. Use it at your own risk! -> For the best results, please consider using a GNU/Linux server instead. creating sqlite db ownCloud was successfully installed Testing with sqlite ... No coverage /usr/local/bin/phpunit --configuration phpunit-autotest.xml --log-junit autotest-results-sqlite.xml PHP Notice: Constant PHPUNIT_RUN already defined in /Users/lukasreschke/Documents/Programming/master/apps/firstrunwizard/tests/bootstrap.php on line 6 PHP Stack trace: PHP 1. {main}() /usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar:0 PHP 2. PHPUnit_TextUI_Command::main() /usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar:514 PHP 3. PHPUnit_TextUI_Command->run() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/TextUI/Command.php:106 PHP 4. PHPUnit_TextUI_Command->handleArguments() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/TextUI/Command.php:117 PHP 5. PHPUnit_Util_Configuration->getTestSuiteConfiguration() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/TextUI/Command.php:663 PHP 6. PHPUnit_Util_Configuration->getTestSuite() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/Util/Configuration.php:796 PHP 7. PHPUnit_Framework_TestSuite->addTestFile() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/Util/Configuration.php:926 PHP 8. PHPUnit_Util_Fileloader::checkAndLoad() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/Framework/TestSuite.php:335 PHP 9. PHPUnit_Util_Fileloader::load() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/Util/Fileloader.php:38 PHP 10. include_once() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/Util/Fileloader.php:56 PHP 11. loadDirectory() /Users/lukasreschke/Documents/Programming/master/tests/apps.php:42 PHP 12. require_once() /Users/lukasreschke/Documents/Programming/master/tests/apps.php:20 PHP 13. define() /Users/lukasreschke/Documents/Programming/master/apps/firstrunwizard/tests/bootstrap.php:6 PHP Fatal error: Class StartSessionListener contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPUnit_Framework_TestListener::addWarning) in /Users/lukasreschke/Documents/Programming/master/tests/startsessionlistener.php on line 47 PHP Stack trace: PHP 1. {main}() /usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar:0 PHP 2. PHPUnit_TextUI_Command::main() /usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar:514 PHP 3. PHPUnit_TextUI_Command->run() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/TextUI/Command.php:106 PHP 4. PHPUnit_TextUI_TestRunner->doRun() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/TextUI/Command.php:155 PHP 5. PHPUnit_TextUI_TestRunner->handleConfiguration() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/TextUI/TestRunner.php:153 PHP 6. require_once() phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/phpunit/TextUI/TestRunner.php:805 ```
* | | use expectedException annotation, not via method call, for consistencyArthur Schiwon2015-12-092-13/+29
| | |
* | | use getLastInsertId from query builder for convenienceArthur Schiwon2015-12-091-2/+2
| | |
* | | adjust test's fakemanager to interface changeArthur Schiwon2015-12-091-1/+1
| | |
* | | hardening, add some checks for whitespace-only stringsArthur Schiwon2015-12-091-8/+10
| | |
* | | rework test about overwriting default comments managerArthur Schiwon2015-12-093-18/+48
| | |
* | | namespaces for testsArthur Schiwon2015-12-093-9/+15
| | |
* | | OC not ocArthur Schiwon2015-12-092-8/+8
| | |
* | | different strategy in cleaning up after user was deletedArthur Schiwon2015-12-092-22/+16
| | | | | | | | | | | | | | | | | | | | | | | | we do not listen to deletion hooks anymore, because there is no guarantee that they will be heard - requires that something fetches the CommentsManager first. Instead, in the user deletion routine the clean up method will be called directly. Same way as it happens for files, group memberships, config values.
* | | add icommentsmanger and icomment implementationArthur Schiwon2015-12-094-0/+685
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | register CommentsManager service, allow override, document in config.sample.php don't insert autoincrement ids in tests, because of dislikes from oracle and pgsql specify timezone in null date only accepts strings for ID parameter that can be converted to int replace forgotten hardcoded IDs in tests react on deleted users react on file deletion Postgresql compatibility lastInsertId needs *PREFIX* with the table name do not listen for file deletion, because it is not reliable (trashbin, external storages) add runtime cache for comments
* | | Merge pull request #21068 from owncloud/fix-exit-code-autotest-externalThomas Müller2015-12-091-1/+0
|\ \ \ | |/ / |/| | Fix exit code autotest external
| * | remove deprecated strict settingThomas Müller2015-12-091-1/+0
| | |
* | | Merge pull request #21061 from owncloud/fix-oracle-last-insert-id-testThomas Müller2015-12-091-5/+17
|\ \ \ | |/ / |/| | Fix the last insert id test by changing to an autoincremen…
| * | Fix the last insert id test by changing to an autoincrement tableJoas Schilling2015-12-091-5/+17
| | |
* | | Merge pull request #21038 from owncloud/share-computesharepermissions-notstoreThomas Müller2015-12-093-3/+27
|\ \ \ | |/ / |/| | Fix (re)share permission checks in a few code paths
| * | Fix more unit tests to pass a mock storage instead of null to FileInfoVincent Petry2015-12-083-3/+27
| |/
* | Merge pull request #21030 from owncloud/querybuilder-new-featuresThomas Müller2015-12-081-5/+78
|\ \ | | | | | | Querybuilder new features
| * | Add a method to the get "to use" table and column nameJoas Schilling2015-12-081-1/+21
| | |
| * | Add select distinct to the query builderJoas Schilling2015-12-081-4/+32
| | |
| * | Allow getting the last insert id without much hassleJoas Schilling2015-12-081-0/+25
| |/
* | Merge pull request #20786 from owncloud/systemtags-davThomas Müller2015-12-082-4/+4
|\ \ | | | | | | DAV endpoint for system tags
| * | Fixed system tags DAV and API and docsVincent Petry2015-12-042-4/+4
| | |
* | | Merge pull request #21022 from owncloud/get-rid-of-by-referenceThomas Müller2015-12-081-6/+12
|\ \ \ | | | | | | | | Get rid of by reference
| * | | Add unit test for nested arraysLukas Reschke2015-12-081-6/+12
| | |/ | |/|
* / | Do not trust castingLukas Reschke2015-12-081-0/+2
|/ /
* | Scrutinizer Auto-FixesScrutinizer Auto-Fixer2015-12-072-4/+0
| | | | | | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* | Merge pull request #20981 from ↵Thomas Müller2015-12-071-3/+19
|\ \ | | | | | | | | | | | | owncloud/issue-19848-multiple-emails-for-sharelink Allow sending a share email to multiple users
| * | Add a unit test for single user case as wellJoas Schilling2015-12-071-7/+9
| | |
| * | Allow sending a share email to multiple usersJoas Schilling2015-12-071-3/+17
| | |
* | | Merge pull request #20569 from owncloud/issue_20427Thomas Müller2015-12-071-1/+2
|\ \ \ | | | | | | | | Show external storage status in file list + prompt credentials if different
| * \ \ Merge branch 'master' into issue_20427Jesus Macias Portela2015-12-03121-1359/+5042
| |\ \ \
| * | | | Added some unit tests for the status managerVincent Petry2015-11-201-1/+2
| | | | |
* | | | | Merge pull request #20904 from owncloud/view-mime-filterThomas Müller2015-12-071-0/+35
|\ \ \ \ \ | | | | | | | | | | | | Fix mimetype filter in getDirectoryContent
| * | | | | Fix mimetype filter in getDirectoryContentRobin Appelman2015-12-031-0/+35
| | | | | |