summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * Improve unit tests for Cache\UpdaterRobin Appelman2014-10-142-281/+416
| |
| * Refactor Cache\Updater to work outside of the users homeRobin Appelman2014-10-141-1/+0
| |
* | Adding test helper to test private methodsClark Tomlinson2014-10-151-0/+28
| |
* | Refactor MailSettings controllerLukas Reschke2014-10-102-0/+197
|/ | | | | | - Do not store the password (fixes https://github.com/owncloud/core/issues/11385) - Refactor to AppFramework - Add unit tests
* Merge pull request #11375 from owncloud/fix_files_external_amazon_s3_stat_callVincent Petry2014-10-081-6/+6
|\ | | | | Fix files external amazon s3
| * make some storage tests explain what went wrongJörn Friedrich Dreyer2014-10-011-6/+6
| |
* | Merge pull request #11299 from owncloud/barkport-10934Lukas Reschke2014-10-021-19/+72
|\ \ | | | | | | [stable7] Don't complain about non-writable datadirs before we're installed
| * | Don't complain about non-writable datadirs before we're installedRobin Appelman2014-09-301-0/+37
| | | | | | | | | | | | | | | Conflicts: lib/private/util.php
| * | Inject config into checkserver and cleanup testsRobin Appelman2014-09-301-19/+35
| | | | | | | | | | | | | | | Conflicts: lib/private/util.php
* | | fix unit testsBjoern Schiessle2014-10-012-5/+22
| | |
* | | unit tests for grouping of shares pointing to the same sourceBjoern Schiessle2014-10-011-12/+80
| | |
* | | Merge pull request #11364 from owncloud/fix_unit_test_oc7Lukas Reschke2014-10-011-0/+2
|\ \ \ | |_|/ |/| | make sure that the users file system is initialized before we emit the post hook
| * | make sure that we re-load the file system after the quota was setBjoern Schiessle2014-10-011-0/+2
| | |
* | | Add flock to configLukas Reschke2014-10-011-37/+93
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a file lock to the config in hope that this prevents race conditions as reported in https://github.com/owncloud/core/issues/11070 Testplan: - [ ] Delete config.php and make it read-only => Error is thrown that it is not writeable - [ ] Installation still works - [ ] Changing config settings works (i.e. using the SMTP config switches in the administration menu) - [ ] Your PC didn't blow up - [ ] Installing the news app and the "Disable AppCode checker" app did not destroy your installation Only skip the main config Otherwise read only additional configs might not be processed Test on tmpdir
* / don't clean up the test environment if a data provider was finishedBjoern Schiessle2014-09-301-14/+17
|/
* Fix dav permissions for folders without create permissionsRobin Appelman2014-09-261-0/+55
|
* Merge branch 'stable7' into backport-11211Lukas Reschke2014-09-231-0/+88
|\ | | | | | | | | Conflicts: config/config.sample.php
| * Do only follow HTTP and HTTPS redirectsLukas Reschke2014-09-231-0/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We do not want to follow redirects to other protocols since they might allow an adversary to bypass network restrictions. (i.e. a redirect to ftp:// might be used to access files of a FTP server which might be in a secure zone and not be reachable from the net but from the ownCloud server) Get final redirect manually using get_headers() Migrate to HTTPHelper class and add unit tests Conflicts: apps/files/ajax/newfile.php lib/private/files/storage/dav.php lib/private/server.php lib/private/util.php lib/public/iservercontainer.php
* | Add a configuration switch for enabled preview mimetypesLukas Reschke2014-09-233-23/+0
|/ | | | Backport of https://github.com/owncloud/core/pull/11211 to stable7
* WebDAV now throws 403 when deletion did not workVincent Petry2014-09-232-5/+122
| | | | | | | | Assume a permission issue whenever a file could not be deleted. This is because some storages are not able to return permissions, so a permission denied situation can only be triggered during direct deletion.
* Merge pull request #11230 from owncloud/fix-failing-mountconfig-tests-stable7Morris Jobke2014-09-231-0/+4
|\ | | | | Load apps in test situations
| * Load apps in test situationsRobin McCorkell2014-09-221-0/+4
| |
* | add seek and tell to streamwrapper testJörn Friedrich Dreyer2014-09-221-0/+10
|/
* Backport of #9225voxsim2014-09-221-11/+299
| | | | | | | | | | | | fix in displayNamesInGroup: when specified limit N, we did complex search only in the first N users change logic in displayNamesInGroup and add some unit tests add more logic in displayNamesInGroup for big user bases 1. remove sizeof($filteredUsers) > 0 as condition 2. use count instead of sizeof. Latter is an alias to first one, practically we stick to count everywhere. Having it consistent helps with readability. 3. move whitespace so we have $groupUsers[] = $filteredUser; instead of $groupUsers []= $filteredUser;
* Don't rely on the sorting the database gives us for testsRobin Appelman2014-09-202-5/+12
|
* Prevent updates between multiple major versionsLukas Reschke2014-09-191-0/+34
| | | | Ref https://github.com/owncloud/core/issues/11078
* Add timeout to user and group deletion notificationVincent Petry2014-09-181-1/+9
| | | | | | | | | | | | | | | | | | | | Added timeout in DeleteHandler to auto-delete after a delay. Fixed issue where OC.Notification.hide() was called twice in a row when deleting multiple entries, causing the second notification to disappear. Fixed issue where "undo" click event handler was registered multiple times when calling setNotifications() twice. Added JS unit tests for the DeleteHandler class. Refix undo users, groups feature Timeout is now cleared in cancel(). Fixed click handler name for "undo" to be able to work with multiple DeleteHandler instances (in our case one for users and one for groups) so that there is no conflict. Backport of 0d9f24a0efef20b9041e40817b10822a4700532d from master
* Merge pull request #11053 from owncloud/baskport-11041-stable7Vincent Petry2014-09-161-0/+2
|\ | | | | content size checks are not valid for LOCK
| * content size checks are not valid for LOCKThomas Müller2014-09-121-0/+2
| |
* | Preserve transparency when loading from a filekondou2014-09-161-0/+3
|/ | | | Fix #7148 - again :)
* make objectstore tests check fileid on renameJörn Friedrich Dreyer2014-09-091-0/+83
|
* Added unit tests for cache of enabled appsVincent Petry2014-09-041-10/+74
|
* Added test for needUpgrade for coreVincent Petry2014-09-041-0/+19
|
* Fix upgrade process when apps enabled for specific groupsVincent Petry2014-09-042-0/+165
| | | | | | | Fix issue where the currently logged user was causing side-effects when upgrading. Now setting incognito mode (no user) on update to make sure the whole apps list is taken into account with getEnabledApps() or isEnabled().
* add unit test for #8325Jörn Friedrich Dreyer2014-08-201-17/+80
|
* return null instead of throwing an exceptionRobin Appelman2014-08-071-4/+2
|
* Fix Folder::getByIdRobin Appelman2014-08-071-0/+129
|
* use id instead of resourceIdBernhard Posselt2014-08-071-2/+2
|
* dont strip the s from the resourceBernhard Posselt2014-08-071-4/+4
|
* only if the environment variable RUN_OBJECTSTORE_TESTS is set the object ↵Thomas Müller2014-07-311-0/+3
| | | | store unit test will be executed
* add unit testBjoern Schiessle2014-07-301-0/+26
|
* migration test for sqlite - adding type mapping for 'tinyint unsigned'Thomas Müller2014-07-302-1/+40
|
* remove share permission if user is excluded from sharingBjoern Schiessle2014-07-291-0/+33
|
* function declaration did not matchThomas Müller2014-07-291-4/+4
|
* function declaration did not matchThomas Müller2014-07-281-1/+1
|
* add OCS api call to set expire date for link sharesBjoern Schiessle2014-07-281-11/+37
|
* ownCloud users are exported as address bookThomas Müller2014-07-281-0/+95
|
* Adding test which breaks because bit and/or enum datatypes are usedThomas Müller2014-07-241-0/+39
|
* Added test of OCS privatedata to trigger key duplicationVincent Petry2014-07-201-0/+25
|
* Make MySQL return "number of found rows" instead of number of "affected rows".Andreas Fischer2014-07-201-0/+41
|