summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #14503 from owncloud/quota-preventdatalossforfailedmoveLukas Reschke2015-02-262-0/+73
|\ | | | | Fix file move/copy when storage space is not enough
| * Delete target file for unsuccessful copy/renameVincent Petry2015-02-261-0/+51
| |
| * Properly detect streamCopy errorsVincent Petry2015-02-251-0/+22
| | | | | | | | Now checking whether the written bytes match the number of read bytes.
* | Merge pull request #14300 from owncloud/commandbusMorris Jobke2015-02-262-1/+185
|\ \ | | | | | | Add async command system to handle asynchronous operations
| * | prevent phpunit from messing with the bound $thisRobin Appelman2015-02-251-6/+17
| | |
| * | Add FileAccess trait for commandsRobin Appelman2015-02-251-0/+25
| | |
| * | Add async command system to handle asynchronous operationsRobin Appelman2015-02-252-1/+149
| | |
* | | Merge pull request #14502 from owncloud/failing-mysql-master-testsThomas Müller2015-02-262-3/+0
|\ \ \ | | | | | | | | Failing mysql master tests
| * | | Extend the class so the Filesystem is cleaned upJoas Schilling2015-02-252-3/+0
| |/ /
* | | remove IDb interface from core class usageBernhard Posselt2015-02-251-1/+1
| | |
* | | fix tabs and spacesBernhard Posselt2015-02-251-119/+119
| | |
* | | fix mappertestutilityBernhard Posselt2015-02-251-116/+120
| | |
* | | use IDBConnection and close cursors after insert/update/deleteBernhard Posselt2015-02-252-47/+48
| | |
* | | Return null when requesting tags for null userVincent Petry2015-02-251-0/+10
| |/ |/| | | | | | | The TagManager->load() now returns null if the user is not authenticated instead of failing with an error.
* | Cleanup garbage collection for global file cacheRobin Appelman2015-02-251-0/+73
|/
* Merge pull request #14458 from owncloud/revive/11157Thomas Müller2015-02-251-0/+21
|\ | | | | Get the real protocol behind several proxies
| * Get the real protocol behind several proxiesLukas Reschke2015-02-241-0/+21
| | | | | | | | | | | | X-Forwarded-Proto contains a list of protocols if ownCloud is behind multiple reverse proxies. This is a revival of https://github.com/owncloud/core/pull/11157 using the new IRequest public API.
* | Merge pull request #14151 from owncloud/update-sabre2.1Thomas Müller2015-02-2510-150/+721
|\ \ | | | | | | Sabre Update to 2.1
| * | Sabre Update to 2.1Vincent Petry2015-02-2310-150/+721
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - VObject fixes for Sabre\VObject 3.3 - Remove VObject property workarounds - Added prefetching for tags in sabre tags plugin - Moved oc_properties logic to separate PropertyStorage backend (WIP) - Fixed Sabre connector namespaces - Improved files plugin to handle props on-demand - Moved allowed props from server class to files plugin - Fixed tags caching for files that are known to have no tags (less queries) - Added/fixed unit tests for Sabre FilesPlugin, TagsPlugin - Replace OC\Connector\Sabre\Request with direct call to httpRequest->setUrl() - Fix exception detection in DAV client when using Sabre\DAV\Client - Added setETag() on Node instead of using the static FileSystem - Also preload tags/props when depth is infinity
* | | Merge pull request #14213 from ↵Vincent Petry2015-02-251-9/+95
|\ \ \ | | | | | | | | | | | | | | | | AW-UC/naturalsort_defaultcollator-patch-file-sorting Update naturalsort_defaultcollator.php. Fixes #13982
| * | | Add PHPunit test for DefaultCollatorAW-UC2015-02-241-9/+95
| | | | | | | | | | | | | | | | | | | | This extends Test_NaturalSort to include a basic test for \OC\NaturalSort_DefaultCollator()
* | | | Merge pull request #14195 from ↵Lukas Reschke2015-02-241-43/+45
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | owncloud/activity-manager-performance-improvements Activity manager performance improvements
| * | | | Fix test with the invalid filter check being addedJoas Schilling2015-02-131-43/+45
| |/ / /
* | | / 3rd-party apps are disabled on upgrade - refs #14026Thomas Müller2015-02-241-2/+2
| |_|/ |/| |
* | | Merge pull request #14416 from owncloud/setup-commandThomas Müller2015-02-231-3/+3
|\ \ \ | |_|/ |/| | Setup command
| * | Fix namespace of OC_Setup -> \OC\SetupThomas Müller2015-02-231-3/+3
| | |
* | | Merge pull request #13439 from owncloud/app-filterThomas Müller2015-02-231-1/+5
|\ \ \ | |/ / |/| | Make the search box filter apps
| * | Added unit test for app filterVincent Petry2015-02-231-1/+5
| | |
* | | Merge pull request #13829 from owncloud/appmanager-listVincent Petry2015-02-234-60/+79
|\ \ \ | | | | | | | | Better caching for enabled apps
| * | | allow overwriting the appmanager in oc_util by subclassingRobin Appelman2015-02-181-26/+27
| | | |
| * | | better name for getAppsEnabledForUserRobin Appelman2015-02-171-1/+1
| | | |
| * | | Test improvementsRobin Appelman2015-02-172-37/+16
| | | |
| * | | Use the app manager from oc_appRobin Appelman2015-02-161-3/+10
| | | |
| * | | Add getInstalledApps and getAppsForUser to the app managerRobin Appelman2015-02-161-0/+32
| | | |
* | | | Check for PHP configuration before executing unit testsThomas Müller2015-02-211-2/+5
| | | |
* | | | Merge pull request #13777 from owncloud/close-cursorLukas Reschke2015-02-202-16/+22
|\ \ \ \ | | | | | | | | | | Close cursor for appframework and manipulation queries if applicable
| * | | | fix indentionBernhard Posselt2015-01-291-7/+6
| | | | |
| * | | | add tests for closing the cursorBernhard Posselt2015-01-292-10/+16
| | | | |
| * | | | ignore cursorclosingBernhard Posselt2015-01-291-8/+9
| | | | |
* | | | | Prevent directory traversals in ctr of \OC\Files\ViewLukas Reschke2015-02-181-0/+17
| |_|/ / |/| | | | | | | | | | | This prevents a misusage of \OC\Files\View by calling it with user-supplied input. In such cases an exception is now thrown.
* | | | Merge pull request #13989 from owncloud/enhancment/security/11857Clark Tomlinson2015-02-184-6/+250
|\ \ \ \ | | | | | | | | | | Allow AppFramework applications to specify a custom CSP header
| * | | | Rename to allowEvalLukas Reschke2015-02-161-2/+2
| | | | |
| * | | | Allow AppFramework applications to specify a custom CSP headerLukas Reschke2015-02-164-6/+250
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change allows AppFramework applications to specify a custom CSP header for example when the default policy is too strict. Furthermore this allows us to partially migrate away from CSS and allowed eval() in our JavaScript components. Legacy ownCloud components will still use the previous policy. Application developers can use this as following in their controllers: ```php $response = new TemplateResponse('activity', 'list', []); $cspHelper = new ContentSecurityPolicyHelper(); $cspHelper->addAllowedScriptDomain('www.owncloud.org'); $response->addHeader('Content-Security-Policy', $cspHelper->getPolicy()); return $response; ``` Fixes https://github.com/owncloud/core/issues/11857 which is a pre-requisite for https://github.com/owncloud/core/issues/13458 and https://github.com/owncloud/core/issues/11925
* | | | Merge pull request #14207 from owncloud/propfind-optimizeMorris Jobke2015-02-181-0/+30
|\ \ \ \ | | | | | | | | | | Optimize quota calculation for propfind
| * | | | add unit test for webdav quotaRobin Appelman2015-02-131-0/+30
| |/ / /
* | | | Refactor OC_Request into TrustedDomainHelper and IRequestLukas Reschke2015-02-1614-379/+924
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset removes the static class `OC_Request` and moves the functions either into `IRequest` which is accessible via `\OC::$server::->getRequest()` or into a separated `TrustedDomainHelper` class for some helper methods which should not be publicly exposed. This changes only internal methods and nothing on the public API. Some public functions in `util.php` have been deprecated though in favour of the new non-static functions. Unfortunately some part of this code uses things like `__DIR__` and thus is not completely unit-testable. Where tests where possible they ahve been added though. Fixes https://github.com/owncloud/core/issues/13976 which was requested in https://github.com/owncloud/core/pull/13973#issuecomment-73492969
* | | | fixing unit tests in UsersControllerTestThomas Müller2015-02-161-11/+11
| | | |
* | | | Merge pull request #13750 from owncloud/enhanced-code-checkerThomas Müller2015-02-166-0/+85
|\ \ \ \ | | | | | | | | | | Implement php code checker to detect usage of not allowed private ...
| * | | | implement php code checker to detect usage of not allowed private APIs - ↵Thomas Müller2015-02-106-0/+85
| | | | | | | | | | | | | | | | | | | | including console command to check local code to be used by developers
* | | | | Merge pull request #13269 from owncloud/issue/13211-cache-array-implementationJoas Schilling2015-02-161-0/+17
|\ \ \ \ \ | |_|_|_|/ |/| | | | Add an array implementation of cache and use it if we are not debugging