summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #23954 from stweil/masterThomas Müller2016-04-131-2/+2
|\ | | | | misc: Fix some typos
| * misc: Fix some typosStefan Weil2016-04-121-2/+2
| | | | | | | | | | | | Some of them were found by codespell. Signed-off-by: Stefan Weil <sw@weilnetz.de>
* | Add testLukas Reschke2016-04-121-0/+40
|/
* Add unit testing capabilities for templates (#23708)Thomas Müller2016-04-122-0/+88
| | | | Add unit testing capabilities for templates
* Migrate post_groupDelete hook to share manager (#23841)Roeland Douma2016-04-121-0/+94
| | | | | | | | The hook now calls the share manager that will call the responsible shareProvider to do the proper cleanup. * Unit tests added Again nothing should change it is just to cleanup old code
* Merge pull request #23856 from owncloud/share_remove_addtogroup_hooksJoas Schilling2016-04-111-115/+0
|\ | | | | Remove pre/post_addToGroup hooks for shares
| * Remove pre/post_addToGroup hooks for sharesRoeland Jago Douma2016-04-081-115/+0
| | | | | | | | | | There is no need to perform the checks for unique targets on add to group as we have to do this all when mounting the shares anyway.
* | Fix mappertestRoeland Jago Douma2016-04-081-3/+4
| |
* | Fix notification testsRoeland Jago Douma2016-04-081-0/+2
| |
* | Fix avatar controller testsRoeland Jago Douma2016-04-081-1/+1
| |
* | Fix ShareManager testsRoeland Jago Douma2016-04-081-1/+1
| |
* | Merge pull request #23553 from owncloud/lock-ttl-execution-timeThomas Müller2016-04-081-2/+2
|\ \ | | | | | | Make lock ttl configurable
| * | Make lock ttl configurableRobin Appelman2016-04-071-2/+2
| | |
* | | Set proper permissions on link shareRoeland Jago Douma2016-04-081-0/+19
| |/ |/| | | | | | | | | | | | | If we do not allow public upload we should limit the permissions on links shares upon retrieval. * Added unit test * Allow fetching federated shares by token as well
* | Merge pull request #23773 from owncloud/share_move_delete_user_hookJoas Schilling2016-04-071-0/+127
|\ \ | |/ |/| Migrate post_userDelete hook to share manager
| * Migrate post_userDelete hook to share managerRoeland Jago Douma2016-04-041-0/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | This makes the post_userDelete hook call the sharemanager. This will cleanup to and from this user. * All shares owned by this user * All shares with this user (user) * All custom group shares * All link share initiated by this user (to avoid invisible link shares) Unit tests are added for the defaultshare provider as well as the federated share provider
* | tests: Fix typos (found by codespell)Stefan Weil2016-04-068-11/+11
| | | | | | | | | | | | Fix also a small grammar issue. Signed-off-by: Stefan Weil <sw@weilnetz.de>
* | Merge pull request #23823 from owncloud/drop-js-based-acceptance-testsThomas Müller2016-04-0630-2344/+0
|\ \ | | | | | | Drop JS based acceptance tests - we have our behat based integration …
| * | Drop JS based acceptance tests - we have our behat based integration tests ↵Thomas Müller2016-04-0630-2344/+0
| | | | | | | | | | | | which are activly maintained
* | | Merge pull request #23819 from owncloud/move-core-completely-to-psr4Roeland Douma2016-04-061-3/+1
|\ \ \ | | | | | | | | Move OC/Core completely to PSR-4
| * | | Remove OC/Core autoloading from old autoloaderLukas Reschke2016-04-061-3/+1
| |/ /
* / / Remove OC/Settings from old autoloaderLukas Reschke2016-04-061-3/+1
|/ /
* / Test locking with strange filenameJörn Friedrich Dreyer2016-04-051-0/+2
|/
* Merge pull request #23707 from owncloud/make-sure-that-encrypted-version-is-setFrank Karlitschek2016-03-311-5/+19
|\ | | | | Make sure that the encrypted version is set
| * Make sure that the encrypted version is setLukas Reschke2016-03-311-5/+19
| | | | | | | | | | | | | | | | The code path called when using external storage with WebDAV is using `\OC\Files\Storage\Wrapper\Encryption::getMetaData` which did not contain the actual encrypted version inside the cache entry version. This lead to the following: 1. User uploaded a file 2. File is created and `\OC\Files\Storage\Wrapper\Encryption::getMetaData` is called. It has an empty `encryptedVersion` but sets `encrypted` to either `true` or `false`. 3. The call when updating the file cache will use the old version.
* | Merge pull request #23675 from ↵Frank Karlitschek2016-03-316-68/+151
|\ \ | | | | | | | | | | | | owncloud/fix_encryption_versions_on_external_storages fix creation of versions of encrypted files on external storages
| * | fix creation of versions of encrypted files on external storagesBjoern Schiessle2016-03-316-68/+151
| |/ | | | | | | | | | | in order to create a 1:1 copy of a file if a version gets created we need to store this information on copyBetweenStorage(). This allows us to by-pass the encryption wrapper if we read the source file.
* | Add unit testsRoeland Jago Douma2016-03-301-0/+93
| | | | | | | | Add some unit tests for setting the internal id and the provider id
* | Add setId and setProviderID to the public interfaceRoeland Jago Douma2016-03-301-1/+1
|/ | | | | | Fixes #23337 We only allow the id to be set once!
* Merge pull request #23628 from owncloud/avatar-removeThomas Müller2016-03-301-2/+1
|\ | | | | only remove avatars from the folder we store them in
| * only remove avatars from the folder we store them inRobin Appelman2016-03-301-2/+1
| |
* | Non moveable mount points should always be UPDATE+DELETE shareableRoeland Jago Douma2016-03-301-0/+11
|/ | | | | | | | | | | | Fixes #23536 The new sharing code is much stricter in checking permissions. However for non moveable mounts the permissions UPDATE+DELETE are not reported on the mount point. This is just a quick fix. * Updated unit tests
* Merge pull request #23154 from owncloud/avatar-save-failureThomas Müller2016-03-241-1/+1
|\ | | | | dont die when we cant save the resized avatar, log instead
| * dont die when we cant save the resized avatar, log insteadRobin Appelman2016-03-111-1/+1
| |
* | Merge pull request #22506 from owncloud/node-get-from-cacheThomas Müller2016-03-232-31/+69
|\ \ | | | | | | Query the cache when checking if a node exists
| * | properly use fileinfo objectsRobin Appelman2016-03-211-18/+63
| | |
| * | pass the fileinfo to the node if availableRobin Appelman2016-03-212-15/+8
| | |
* | | Merge pull request #22895 from owncloud/cleanup_default_share_providerThomas Müller2016-03-231-99/+13
|\ \ \ | | | | | | | | Remove support for old shares in the default share provider
| * | | Remove support for old shares in the default share providerRoeland Jago Douma2016-03-231-99/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In 9.0 we converted the old shares to the new shares. So for 9.1 we can savely remove the fallback code. This code was required when there was no initiator set. * Fixed unit tests
* | | | Merge pull request #23362 from owncloud/fix-l10n-for-themesThomas Müller2016-03-234-4/+28
|\ \ \ \ | |/ / / |/| | | Read available l10n files also from theme folder
| * | | Inject server root - allows proper testing and separation of concernsMorris Jobke2016-03-183-14/+13
| | | |
| * | | Read available l10n files also from theme folderMorris Jobke2016-03-172-0/+25
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | The old behaviour was that only languages could be used for an app that are already present in the apps/$app/l10n folder. If there is a themed l10n that is not present in the apps default l10n folder the language could not be used and the texts are not translated. With this change this is possible and also the l10n files are loaded even if the default l10n doesn't contain the l10n file.
* | | Block group sharing in API and in share managerRoeland Jago Douma2016-03-221-0/+30
| | | | | | | | | | | | * Fix tests
* | | Save the query when we get tags for no objectsJoas Schilling2016-03-221-1/+10
|/ /
* | Ensure that stored version is at least 1 for cross-storage copyLukas Reschke2016-03-161-0/+42
| | | | | | | | | | | | | | | | | | In case of a move operation from an unencrypted to an encrypted storage the old encrypted version would stay with "0" while the correct value would be "1". Thus we manually set the value to "1" for those cases. See also https://github.com/owncloud/core/issues/23078
* | Merge pull request #23157 from owncloud/remove-share-prop-entriesThomas Müller2016-03-151-0/+51
|\ \ | | | | | | remove old share propagation entries from appconfig
| * | remove old share propagation entries from appconfigRobin Appelman2016-03-151-0/+51
| | |
* | | Merge pull request #23164 from owncloud/db-connection-precondition-fixThomas Müller2016-03-151-6/+24
|\ \ \ | | | | | | | | Prevent certain DBs throwing exceptions on same-value updates
| * | | Prevent certain DBs throwing exceptions on same-value updatesRobin McCorkell2016-03-151-6/+24
| | | | | | | | | | | | | | | | | | | | | | | | A PreconditionNotMetException must only be thrown if explicit preconditions are specified for setValues(), not if the value is merely the same as was already in the DB.
* | | | Merge pull request #23250 from owncloud/fix-support-for-php7-in-htaccessThomas Müller2016-03-153-4/+80
|\ \ \ \ | |/ / / |/| | | Fix several .htaccess and .user.ini related problems