aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Adding unit test which shows insertIfNotExists to fall apart in certain ↵Thomas Müller2015-03-092-11/+91
| | | | situations
* Merge pull request #14429 from ↵Morris Jobke2015-03-091-3/+18
|\ | | | | | | | | owncloud/issue/14176-validate-timezone-before-using Etc timezones don't exist for .5 and .75 offsets
| * Etc timezones don't exist for .5 and .75 offsetsJoas Schilling2015-03-031-3/+18
| |
* | Merge pull request #13368 from owncloud/memcache_lowlatencyLukas Reschke2015-03-051-0/+110
|\ \ | | | | | | Refactor \OC\Memcache\Factory
| * | Refactor \OC\Memcache\FactoryRobin McCorkell2015-03-051-0/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Caches divided up into two groups: distributed and local. 'Low latency' is an alias for local caches, while the standard `create()` call tries to get distributed caches first, then local caches. Memcache backend is set in `config.php`, with the keys `memcache.local` and `memcache.distributed`. If not set, `memcache.distributed` defaults to the value of `memcache.local`.
* | | Add a test for ObjectStore\NoopScannerJoas Schilling2015-03-041-0/+76
|/ /
* | Merge pull request #14651 from ↵Morris Jobke2015-03-041-71/+0
|\ \ | | | | | | | | | | | | owncloud/add-some-headers-to-htaccess-for-my-best-friend-jenkins Let users configure security headers in their Webserver
| * | Let users configure security headers in their WebserverLukas Reschke2015-03-021-71/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Doing this in the PHP code is not the right approach for multiple reasons: 1. A bug in the PHP code prevents them from being added to the response. 2. They are only added when something is served via PHP and not in other cases (that makes for example the newest IE UXSS which is not yet patched by Microsoft exploitable on ownCloud) 3. Some headers such as the Strict-Transport-Security might require custom modifications by administrators. This was not possible before and lead to buggy situations. This pull request moves those headers out of the PHP code and adds a security check to the admin settings performed via JS.
* | | Merge pull request #14674 from owncloud/fix-l10n-getlanguagecode-2Joas Schilling2015-03-031-0/+16
|\ \ \ | | | | | | | | Jenkins #14650
| * | | Add a test of what everyone thinks should be the result of this methodJoas Schilling2015-03-031-0/+16
| | |/ | |/|
* | | Merge pull request #14574 from owncloud/fix-irequest-for-older-php-versionsThomas Müller2015-03-031-72/+0
|\ \ \ | | | | | | | | Read from IRequest instead of reading twice
| * | | Read from IRequest instead of reading twiceLukas Reschke2015-02-271-72/+0
| | | | | | | | | | | | | | | | Potentially fixes https://github.com/owncloud/core/issues/14541 and https://github.com/owncloud/core/issues/14506
* | | | Merge pull request #14638 from owncloud/issue/14538-repairstep-drop-old-tablesThomas Müller2015-03-032-0/+62
|\ \ \ \ | |_|/ / |/| | | Add a repair step to delete old tables
| * | | Add a test for dropping the tablesJoas Schilling2015-03-032-0/+62
| | | |
* | | | Merge pull request #14615 from kampka/cron-commandLukas Reschke2015-03-021-0/+58
|\ \ \ \ | |_|_|/ |/| | | Allow configuring background job mode from the console
| * | | Allow configuring background job mode from the consoleChristian Kampka2015-03-021-0/+58
| | | |
* | | | Merge pull request #14573 from owncloud/enc-migrate-disable-updaterVincent Petry2015-03-021-0/+30
|\ \ \ \ | |_|/ / |/| | | Disable the cache updater when doing the encryption migration
| * | | add some tests for disabled updaterRobin Appelman2015-02-271-0/+30
| |/ /
* / / Disable bootstrap.php checks when HHVM is usedLukas Reschke2015-02-281-3/+5
|/ /
* | Merge pull request #14575 from owncloud/cache-rename-overwriteMorris Jobke2015-02-271-0/+13
|\ \ | | | | | | Fix cache update when doing a rename that overwrites the target
| * | Fix cache update when doing a rename that overwrites the targetRobin Appelman2015-02-271-0/+13
| |/
* | Merge pull request #13616 from owncloud/streamresponseBernhard Posselt2015-02-272-13/+128
|\ \ | |/ |/| AppFramework StreamResponse
| * AppFramework StreamResponseBernhard Posselt2015-02-272-13/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First stab at the StreamResponse, see #12988 The idea is to use an interface ICallbackResponse (I'm not 100% happy with the name yet, suggestions?) that allow the response to output things in its own way, for instance stream the file using readfile Unittests are atm lacking, plan is to check if a mock of ICallbackResponse will be used by calling its callback (also unhappy with this name) method Usage is: $response = new StreamResponse('path/to/file'); rename io to output, add additional methods and handle error and not modified cases when using StreamResponse fix indention and uppercasing, also handle forbidden cases fix indention fix indention no forbidden, figuring out if a file is really readable is too complicated to get to work across OSes and streams remove useless import remove useless import fix intendation
* | Merge pull request #14437 from owncloud/node-check-fileinfoThomas Müller2015-02-271-0/+15
|\ \ | | | | | | Check if we have a proper fileinfo
| * | Add unit testRobin Appelman2015-02-261-0/+15
| | |
* | | Merge pull request #14529 from owncloud/intuitive-version-checkThomas Müller2015-02-271-3/+18
|\ \ \ | |_|/ |/| | Make version check work on the lowest common version denominator
| * | make version check work on the lowest common version denominatorBernhard Posselt2015-02-261-3/+18
| | |
* | | 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
| |/ / /