summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add a unit test for "share a file inside a folder that is already shared"Joas Schilling2015-11-241-0/+33
|
* Make the JobList test more robust by sorting the result of getAll before ↵Joas Schilling2015-11-231-11/+23
| | | | comparison
* Add test for special character during moveRobin Appelman2015-11-201-0/+48
|
* Prevent moving mount point into already shared folder (outgoing)Vincent Petry2015-11-041-19/+112
| | | | | | | | It is already not allowed to share a folder containing mount points / incoming shares. This fixes an issue that made it possible to bypass the check by moving the incoming share mount point into an existing outgoing share folder.
* Merge pull request #19773 from owncloud/stable8.1-proppatch-lastmodifiedMorris Jobke2015-11-021-3/+3
|\ | | | | [stable8.1] Fix mtime PROPPATCH to be "lastmodified" instead of "getlastmodified"
| * Fix mtime PROPPATCH to be "lastmodified" instead of "getlastmodified"Vincent Petry2015-10-141-3/+3
| | | | | | | | | | | | | | Fix regression that makes PROPPATCH of mtime work like it did in OC <= 8.0. The PROPPATCH must be done on the "lastmodified" property. The "getlastmodified" now return 403 again.
* | Setup sendmail transportLukas Reschke2015-10-141-1/+1
|/ | | | Replaces https://github.com/owncloud/core/pull/19047 and fixes https://github.com/owncloud/enterprise/issues/854 and https://github.com/owncloud/core/issues/19110
* Do not print exception messageLukas Reschke2015-10-131-3/+19
| | | | | | In case of an error the error message often contains sensitive data such as the full path which potentially leads to a full path disclosure. Thus the error message should not directly get displayed to the user and instead be logged.
* Do not update mime types for folders with extensionVincent Petry2015-10-121-0/+17
| | | | | | Some folders might have an extension like "test.conf". This fix prevents to overwrite the folder's mime type with another mime type while running the mimetype repair step.
* Merge pull request #18855 from owncloud/memcached-fix-stable8.1Morris Jobke2015-10-091-0/+23
|\ | | | | [stable8.1] Fallback to complete Memcached flush if getAllKeys fails
| * Fallback to complete Memcached flush if getAllKeys failsRobin McCorkell2015-09-061-0/+23
| | | | | | | | | | | | | | Newer Memcached's do not support the underlying protocol commands that getAllKeys() is implemented with. We should fallback to clearing everything in that case, as causing (temporary) performance problems for other applications on the server is better than having stale cached data.
* | Add unit test for searching in storage rootRobin Appelman2015-10-091-0/+39
| | | | | | | | (cherry picked from commit e28a2ff)
* | Clear the shares after the test like storages and filesMorris Jobke2015-10-061-0/+12
| | | | | | | | * adjusted to stable8.1 backport of #19574
* | Add blob: scheme to default CSP policyLukas Reschke2015-09-294-56/+56
| | | | | | | | | | Fixes https://github.com/owncloud/core/issues/19438 (cherry picked from commit e735a99)
* | Restrict upgrades to explicit allowed versionVincent Petry2015-09-181-10/+64
| | | | | | | | | | | | | | | | | | version.php now contains the previous ownCloud version from which upgrades are allowed. Any other upgrades will show a message that the upgrade/downgrade is not supported. Conflicts: version.php
* | intproduce pre_addToGroup hook. we need to calculate the possible uniqueBjoern Schiessle2015-09-081-0/+108
|/ | | | | targets before the user was added to the group otherwise we will always detect a name collision
* Use certificates that expire in 10 yearsLukas Reschke2015-08-273-33/+48
| | | | :speak_no_evil: :speak_no_evil: :speak_no_evil:
* add test for factoriesBernhard Posselt2015-08-132-12/+26
| | | | | | | | use ref for factory test Ensure we construct SimpleContainer Use single instance of DIContainer in routing tests
* Merge pull request #18139 from owncloud/stable8.1-share-permwrongvarThomas Müller2015-08-121-3/+60
|\ | | | | [stable8.1] 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 #18064 from owncloud/import_root_certificates_8.1Thomas Müller2015-08-121-7/+18
|\ \ | | | | | | [stable8.1] 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-051-7/+18
| |/ | | | | | | disabled for the user
* | Merge pull request #17991 from owncloud/backport-correct-regexThomas Müller2015-08-121-0/+4
|\ \ | | | | | | [stable8.1] Correct regex
| * | Add more unit testsLukas Reschke2015-07-301-0/+2
| | |
| * | Correct regular expressionsLukas Reschke2015-07-301-0/+2
| | | | | | | | | | | | Previously the regex was only matching on single characters. Meaning that file names such as ":+1:.txt" where possible while ":+1:" alone never was. This check apparently never worked as expected.
* | | Merge pull request #17947 from owncloud/fix_move_files_8.1Thomas Müller2015-08-121-1/+3
|\ \ \ | |_|/ |/| | [stable8.1] 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
* | | 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 #18003 from owncloud/backport-17805-stable8.1Roeland Douma2015-07-311-4/+17
|\ \ \ | |_|/ |/| | [stable8.1][avatar] add error handlers for avatar setup
| * | [avatar] add error handlers for avatar setupMorris Jobke2015-07-311-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
* | | Merge pull request #17935 from owncloud/detect-old-openssl-versions-stable81Thomas Müller2015-07-291-9/+147
|\ \ \ | | | | | | | | [stable8.1] Detect old NSS and OpenSSL versions
| * | | Detect old NSS and OpenSSL versionsLukas Reschke2015-07-281-9/+147
| | |/ | |/| | | | | | | | | | | | | This will detect old NSS and OpenSSL versions and show appropriate errors in the admin interface. Fixes https://github.com/owncloud/core/issues/17901
* / | Add unit testsLukas Reschke2015-07-281-0/+151
|/ /
* | Add a unit test for the disabled encryption caseJoas Schilling2015-07-271-1/+60
| |
* | Add unit testsLukas Reschke2015-07-271-0/+28
|/
* Merge pull request #17702 from owncloud/enc_detect_legacy_files2_8.1Björn Schießle2015-07-172-18/+115
|\ | | | | [8.1 backport] make sure that we always detect legacy files correctlly
| * make sure that we always detect legacy files correctlyBjoern Schiessle2015-07-172-18/+115
| |
* | Fixing 'Undefined index: REMOTE_ADDR' - fixes #17460Thomas Müller2015-07-171-4/+15
|/
* Add repair step for outdated OCS IDsLukas Reschke2015-07-161-0/+80
| | | | | | There is the case where OCs IDs might become outdated such as it has been with the calendar and contacts app which refer to the old dummy entry. This means that users with the old OCS id can't update updates as well will receive invalid state flags. (e.g. "experimental" instead of "approved") To allow instances to properly update the applications in the future we need to migrate the OCS IDs for now manually.
* Merge pull request #17337 from owncloud/stable8.1-backport-17077Morris Jobke2015-07-151-0/+43
|\ | | | | [stable8.1] fix getting mount points when passing a path to the files:scan command
| * add unit testRobin Appelman2015-07-021-0/+43
| |
* | Merge pull request #17288 from owncloud/stable8.1-chunk-cleanupgracefulonlockMorris Jobke2015-07-091-5/+89
|\ \ | | | | | | Stable8.1 chunk cleanupgracefulonlock
| * | Test for chunk cache garbage collectionVincent Petry2015-07-011-5/+89
| | |
* | | Only do the description kung-fu on strings - fixes #17028Thomas Müller2015-07-021-0/+4
| |/ |/|
* | Use UTF-8 mode for preg_split and preg_replaceLukas Reschke2015-07-011-2/+8
|/ | | | | | Otherwise a single application with a description containing a non compliant character can break the whole ownCloud appstore. This is for example https://apps.owncloud.com/content/show.php?content=149553 Fixes https://github.com/owncloud/core/issues/17101#issuecomment-117365224
* Merge pull request #17189 from owncloud/files-straypartfilesonexceptionMorris Jobke2015-06-302-29/+347
|\ | | | | Cleanup part file after upload exception
| * Unlock first path on rename if second path is lockedVincent Petry2015-06-291-0/+33
| |
| * Cleanup part file after upload exceptionVincent Petry2015-06-291-29/+314
| | | | | | | | | | | | | | | | | | | | | | | | Added unit tests for checking for stray part files. Convert exception to sabre exception in upload put method. Also added unit test for exception mapping, which also indirectly tests that the part file is being deleted on exception. This applies to both chunking and non-chunking mode. Added some unit tests for chunk upload.
* | Merge pull request #17249 from owncloud/file-cache-is-a-icacheJoas Schilling2015-06-301-0/+1
|\ \ | | | | | | Fixing "ImportController::__construct() must implement interface OCP\…
| * | Fixing "ImportController::__construct() must implement interface ↵Thomas Müller2015-06-291-0/+1
| |/ | | | | | | OCP\\ICache, instance of OC\\Cache\\File given"