summaryrefslogtreecommitdiffstats
path: root/apps/files_versions
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #22787 from owncloud/versions-fixmtimetooltipThomas Müller2016-03-071-1/+3
|\ | | | | Fix tooltip for versions mtime
| * Fix tooltip for versions mtimeVincent Petry2016-03-021-1/+3
| | | | | | | | It was missing a call to jquery.tooltip
* | Keep "encryptedVersion" when calling `\OC\Files\View::copy`Lukas Reschke2016-03-031-10/+12
|/ | | | | | | | | | | | | | | | When calling `\OC\Files\View::copy` we should also keep the version to ensure that the file will always have the correct version attached and can be successfully decrypted. To test this the following steps are necessary (from https://github.com/owncloud/core/issues/22781#issuecomment-191328982): 1. setup a new ownCloud 9.0 beta2 2. enable encryption 2. upload a docx (5.7MB large) 3. upload the same file again and overwrite the existing file 4. I can download the original file and the first version 5. I restore the first version 6. restored version can no longer be downloaded with the error described above The manual cache operation in `\OCA\Files_Versions\Storage` is unfortunately necessary since `\OCA\Files_Versions\Storage::copyFileContents` is not using `\OCP\Files\Storage::moveFromStorage` in the case when an object storage is used. Due to the workaround added in https://github.com/owncloud/core/commit/54cea05271b887f1c8062c034741df869bc0f055 the stream is directly copied and thus bypassing the FS.
* Increase all versions on master which is now 9.1Joas Schilling2016-03-021-2/+2
|
* Remove Scrutinizer Auto FixerLukas Reschke2016-03-011-1/+0
|
* Update author informationLukas Reschke2016-03-012-0/+2
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
* [tx-robot] updated from transifexJenkins for ownCloud2016-02-252-2/+2
|
* make sure that the file name doesn't end with a trailing slash. Can for ↵Bjoern Schiessle2016-02-191-0/+3
| | | | example happen single files shared across servers
* get the actual user instead of a federated cloud idBjoern Schiessle2016-02-181-24/+47
| | | | | | $view->getUidAndFilename($filename); returns the federated cloud id in case of a federated share. But in this case we need the local user who "owns" the file which is the current logged in user in case of a federated share
* Merge pull request #22273 from owncloud/versions-fixpathasrecipientThomas Müller2016-02-102-1/+7
|\ | | | | Fix versions path as share recipient when different than owner path
| * Use full path of known file when handling versionsVincent Petry2016-02-101-1/+2
| | | | | | | | | | Instead of relying on the versions API response, use the known file path when populating version models.
| * Remove path from versions responseVincent Petry2016-02-101-0/+5
| | | | | | | | | | | | | | | | | | The path attribute contains the path relative to the owner's home folder, not the one from the recipient, which is useless for the client and needlessly discloses the owner's original path. The requested already has access to the full path of the file, so no need to add it to the response.
* | Use cache directly instead of QBLukas Reschke2016-02-101-5/+2
|/ | | | In case somebody does not use oc_filecache
* Use database for keeping track of the versionLukas Reschke2016-02-091-1/+9
|
* Consolidate getQuota and setQuota methods in User instanceArthur Schiwon2016-02-091-4/+2
|
* use int values and constants instead of stringsArthur Schiwon2016-02-081-8/+12
|
* versions provide more information when throwing hooksArthur Schiwon2016-02-082-9/+12
|
* cleanup shared cacheRobin Appelman2016-01-281-2/+2
|
* Merge pull request #21117 from owncloud/owner-file-existsThomas Müller2016-01-151-23/+15
|\ | | | | Only return an owner if the file exists + improved getUidAndFilename
| * removed unused importsRobin Appelman2016-01-111-3/+0
| |
| * improve handling of non existing files in the trashbinRobin Appelman2016-01-111-10/+15
| |
| * de-deplicate getUidAndFilenameRobin Appelman2016-01-111-12/+2
| |
* | Safe teardownsRobin Appelman2016-01-141-4/+6
| |
* | Happy new year!Thomas Müller2016-01-1221-25/+29
|/
* [tx-robot] updated from transifexJenkins for ownCloud2016-01-092-2/+8
|
* Merge pull request #21498 from owncloud/cleanup-OC_DBThomas Müller2016-01-071-5/+0
|\ | | | | Cleanup OC_DB methods
| * Remove OC_DB::dropTableMorris Jobke2016-01-071-5/+0
| |
* | Remove deprecated shipped flag from info.xml which has no use anymoreJoas Schilling2016-01-071-1/+0
| |
* | Add ownCloud min and max version for shipped appsJoas Schilling2016-01-071-1/+1
|/
* Removed deprecated OC_Helper::getSecureMimeTypeRoeland Jago Douma2015-12-181-1/+1
|
* Merge pull request #21268 from owncloud/cleanup-OC_Helper-getFileNameMimeTypeThomas Müller2015-12-181-1/+1
|\ | | | | Use proper public API for OC_Helper::getFileNameMimeType
| * Use proper public API for OC_Helper::getFileNameMimeTypeMorris Jobke2015-12-171-1/+1
| |
* | Removed deprecated function OC_User::deleteUserRoeland Jago Douma2015-12-171-2/+4
|/ | | | Replaced with proper OCP calls
* Deduplicate version expire jobsMorris Jobke2015-12-102-37/+10
| | | | | | * versionSize is calculated anyway in the expire job - > dropped * offset/neededSpace was needed for expiry before the file is moved to the versions -> now this is included already in the currently used space because the expiry job is defered to a point in time after the version creation * fixes #21108
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2015-12-071-1/+1
| | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* Add DB group to some files_external testsThomas Müller2015-11-302-0/+14
| | | | | | | | | | Adding group Db to federation tests and ldap tests Add group DB to Test_UrlGenerator Adding group DB to trashbin and versions tests Adding group DB to Test_Util_CheckServer for pg
* Adding more DB groups to test suitsThomas Müller2015-11-301-0/+2
| | | | Adding more DB groups to test suits
* Merge pull request #20439 from owncloud/etag-propagate-in-storageThomas Müller2015-11-251-1/+0
|\ | | | | Take submount etag into account for folder etags
| * update testsRobin Appelman2015-11-191-1/+0
| |
* | [tx-robot] updated from transifexJenkins for ownCloud2015-11-212-2/+4
|/
* Update license headersLukas Reschke2015-10-265-4/+5
|
* Throw exception on `getPath` if file does not existLukas Reschke2015-10-252-4/+17
| | | | | | | | | | Currently the `getPath` methods returned `NULL` in case when a file with the specified ID does not exist. This however mandates that developers are checking for the `NULL` case and if they do not the door for bugs with all kind of impact is widely opened. This is especially harmful if used in context with Views where the final result is limited based on the result of `getPath`, if `getPath` returns `NULL` PHP type juggles this to an empty string resulting in all possible kind of bugs. While one could argue that this is a misusage of the API the fact is that it is very often misused and an exception will trigger an immediate stop of execution as well as log this behaviour and show a pretty error page. I also adjusted some usages where I believe that we need to catch these errors, in most cases this is though simply an error that should hard-fail.
* Merge pull request #17641 from owncloud/fix_objectstore_renameJörn Friedrich Dreyer2015-10-192-12/+28
|\ | | | | don't move files in cache twice, fixes renaming for objectstores
| * Fix rename shared versions testRobin Appelman2015-10-161-3/+2
| |
| * handle versions expire for home storages with unlimited quotaRobin Appelman2015-10-161-8/+12
| |
| * Fix preserving file ids when restoring a file with object storageRobin Appelman2015-10-161-1/+14
| |
* | [tx-robot] updated from transifexJenkins for ownCloud2015-10-182-2/+2
| |
* | Increase the 2nd digit of shipped appsJoas Schilling2015-10-172-2/+4
| |
* | [tx-robot] updated from transifexJenkins for ownCloud2015-10-172-12/+12
|/
* test objectstore with ceph dockerJörn Friedrich Dreyer2015-10-061-1/+1
| | | | | | | | | | | | | | | | use default config for swift primary storage test config allow testsuite to complete fix timeout, script cleanup, enable debug for now use btrfs loopback device, requires privileged container and absolute path throw exception when storage has problems debug by echo ... sleep more, more debug