summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Fix mounting wrapped storages resulting in many-layered wrapping"Robin McCorkell2015-08-191-21/+0
| | | | This reverts commit 75a5e6e12b18a9f5b7b113cd7e2c9c56c204084d.
* Move avatarcontroller towards Node ApiRoeland Jago Douma2015-08-181-11/+11
|
* Merge pull request #17182 from owncloud/user_ini_upload_sizeRobin McCorkell2015-08-173-0/+202
|\ | | | | Update .user.ini when setting upload size limit
| * Unit test OC_Files::setUploadLimit()Robin McCorkell2015-07-203-0/+202
| | | | | | | | | | | | | | There was also a bug with checking the upper limit on the passed upload size. PHP does funny things with integer vs float comparisons, so our check didn't work. Now the check is much simpler, and ensures the value is sane.
* | [test] more tests for UserController::setMailAddressMorris Jobke2015-08-171-5/+13
| | | | | | | | * fixes #12885
* | Merge pull request #17982 from owncloud/appframework-sanitize-nameThomas Müller2015-08-121-0/+19
|\ \ | | | | | | Sanitize class names before registerService/query
| * | Sanitize class names before registerService/queryRobin McCorkell2015-07-301-0/+19
| | | | | | | | | | | | | | | Leading backslashes are removed, so a `registerService('\\OC\\Foo')` can still be resolved with `query('OC\\Foo')`.
* | | Merge pull request #18127 from owncloud/dav-request-testsThomas Müller2015-08-125-0/+405
|\ \ \ | | | | | | | | add test framework for doing full request webdav tests
| * | | fix setup/teardownRobin Appelman2015-08-111-11/+18
| | | |
| * | | split out creating the sabre dav server to it's own factoryRobin Appelman2015-08-111-31/+13
| | | |
| * | | add test framework for doing full request webdav testsRobin Appelman2015-08-115-0/+416
| | | |
* | | | Merge pull request #17852 from owncloud/register-alias-factoryRobin McCorkell2015-08-112-14/+47
|\ \ \ \ | | | | | | | | | | Add test for factories
| * | | | add test for factoriesBernhard Posselt2015-07-252-14/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use ref for factory test use a factory for registerAlias Ensure we construct SimpleContainer Use single instance of DIContainer in routing tests
* | | | | Merge pull request #17868 from owncloud/x-forwarded-forThomas Müller2015-08-111-1/+48
|\ \ \ \ \ | | | | | | | | | | | | Set default 'forwarded for' headers for reverse proxy
| * | | | | Add setup check for reverse proxy header configurationRobin McCorkell2015-08-101-1/+48
| | | | | |
* | | | | | Merge pull request #17932 from owncloud/fix_move_filesThomas Müller2015-08-111-1/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | make sure that hooks are emitted properly on file move operation
| * | | | | | make sure that we emit the hooks if a file gets moved from a subfolder to ↵Bjoern Schiessle2015-07-291-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the root folder with the nodes API
* | | | | | | Merge pull request #17830 from ↵Joas Schilling2015-08-111-0/+43
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | owncloud/issue-17825-dont-silently-ignore-invalid-consumers-extensions Throw a InvalidArgumentException when a consumer/extension is invalid
| * | | | | | | Throw a InvalidArgumentException when a consumer/extension is invalidJoas Schilling2015-07-231-0/+43
| | | | | | | |
* | | | | | | | Merge pull request #18096 from sualko/patch-1Morris Jobke2015-08-104-56/+56
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | | add data: to allowed image domains
| * | | | | | | add more unit tests for data: as allowed image domainsualko2015-08-103-3/+3
| | | | | | | |
| * | | | | | | add unit test for data: as allowed image domainsualko2015-08-071-53/+53
| | | | | | | |
* | | | | | | | Merge pull request #17919 from rullzer/php_supported_checkThomas Müller2015-08-101-0/+45
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Display warning in security & setup warnings if php version is EOL
| * | | | | | | | Display warning in security & setup warnings if php version is EOLRoeland Jago Douma2015-07-291-0/+45
| | | | | | | | |
* | | | | | | | | Merge pull request #18175 from owncloud/automatic-db-prefix-query-builderThomas Müller2015-08-103-53/+83
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Automatic db prefix query builder
| * | | | | | | | | Remove unnecessary DB prefixes from existing query builder usagesJoas Schilling2015-08-102-19/+19
| | | | | | | | | |
| * | | | | | | | | Automatically prefix table names with *PREFIX* unless specifiedJoas Schilling2015-08-101-34/+64
| | |_|_|_|_|/ / / | |/| | | | | | |
* | | | | | | | | Use DIRoeland Jago Douma2015-08-102-18/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Register OCP\Capability\IManager at DIContainer * Add register capabilities to appframework * Register capabilities in DI way * Make unit test pass again * Remove CapabiltiesManager from OCP
* | | | | | | | | Added Capabilities ManagerRoeland Jago Douma2015-08-102-0/+171
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * This should allow the capabilities to be intergrated into the appframework * Unit tests * Throw exception if closure does not return ICapability instance
* | | | | | | | Merge pull request #18124 from owncloud/share-permwrongvarMorris Jobke2015-08-071-3/+60
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Fix removal of share permissions when share disabled for user
| * | | | | | | | Fix removal of share permissions when share disabled for userVincent Petry2015-08-071-3/+60
| | | | | | | | |
* | | | | | | | | Merge pull request #13641 from owncloud/cache-storage-statusVincent Petry2015-08-072-0/+170
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | Store storage availability in database
| * | | | | | | | Fix mounting wrapped storages resulting in many-layered wrappingRobin McCorkell2015-07-201-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This usually doesn't cause issues, but in unit tests sometimes a wrapped storage is passed to Filesystem::mount() and gets rewrapped, hitting the XDebug function nesting level limit when used.
| * | | | | | | | Store storage availability in databaseRobin McCorkell2015-07-201-0/+149
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Storage status is saved in the database. Failed storages are rechecked every 10 minutes, while working storages are rechecked every request. Using the files_external app will recheck all external storages when the settings page is viewed, or whenever an external storage is saved.
* | | | | | | | Following the spec:Thomas Müller2015-08-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "`statuscode`: The OCS status code of the response, everything except 100 MUST be handled as failure."
* | | | | | | | Merge pull request #18035 from owncloud/ocs-2.0Bernhard Posselt2015-08-053-7/+52
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Adding ocs/v2.php with status code mapper
| * | | | | | | | Return 200 not null - we should return consistent typesThomas Müller2015-08-051-0/+2
| | | | | | | | |
| * | | | | | | | Fix unit test within OCSControllerThomas Müller2015-08-031-4/+8
| | | | | | | | |
| * | | | | | | | Remove duplicate and unused codeThomas Müller2015-08-031-3/+2
| | | | | | | | |
| * | | | | | | | Adding ocs/v2.php with status code mapperThomas Müller2015-08-031-0/+40
| | | | | | | | |
* | | | | | | | | Merge pull request #18057 from owncloud/import_root_certificatesThomas Müller2015-08-051-7/+18
|\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / |/| | | | | | | | disable "ssl root certificate" settings if user can't mount external storages
| * | | | | | | | also block certificate management in the back-end if external storages are ↵Bjoern Schiessle2015-08-041-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | disabled for the user
* | | | | | | | | Use StringUtils::equals on CSRF token and add unit testsLukas Reschke2015-08-041-0/+95
| | | | | | | | |
* | | | | | | | | Remove pointless unit testThomas Müller2015-08-041-7/+0
| |/ / / / / / / |/| | | | | | |
* | | | | | | | always update file cache, the cache can handle partial data correctly if the ↵Bjoern Schiessle2015-07-311-3/+5
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | file doesn't already exists in the file cache
* | | | | | | Merge pull request #17805 from owncloud/avatar-handle-errorsRoeland Douma2015-07-311-4/+17
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | [avatar] add error handlers for avatar setup
| * | | | | | | [avatar] add error handlers for avatar setupMorris Jobke2015-07-301-4/+17
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add colon to translated string use placeholder in t() Adding a size limitation for avatar upload Unit test for file size Fix typo & display server side error message
* | | | | | | Fix incorrect test namingRobin McCorkell2015-07-301-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `tesOverrideService()` was incorrect and wasn't getting called by PHPUnit. Also, the unit test itself was wrong, but went unnoticed because of point 1.
* | | | | | | Merge pull request #17981 from owncloud/correct-regexThomas Müller2015-07-301-0/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Correct regular expressions
| * | | | | | | Add more unit testsLukas Reschke2015-07-301-0/+2
| | | | | | | |