summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Run cleanup of expired DB file locks to background jobMorris Jobke2016-03-041-15/+11
| | | | | | | | | | | | | * fixes #22819 The old way fired a DELETE statement on each destruction of the DBLockingProvider. Which could cause a lot of queries. It's enough to run this every 5 minutes in a background job, which in the end could result in file locks that exists 5 minutes longer - in the worst case and for not properly released locks. This makes the DB based locking a lot more performant and could result in a similar performance to the Redis based locking provider.
* Merge pull request #22752 from owncloud/part-file-root-82Vincent Petry2016-03-012-11/+39
|\ | | | | [stable8.2] allow putting the part file in the view root
| * Don't apply quota in stream wrapper for part filesVincent Petry2016-03-011-5/+22
| | | | | | | | | | | | | | | | | | When overwriting shared files as recipient, the part file is written on the uploader's storage before overwriting the target file. If the uploader has no quota left, they should still be able to overwrite that file with Webdav. To make this work, they need to be able to write the part file to their own storage first.
| * allow putting the part file in the view rootRobin Appelman2016-03-011-6/+17
| |
* | Fixing CodeChecker usage :see_no_evil:Thomas Müller2016-03-011-1/+4
|/
* Merge pull request #22325 from owncloud/dav-upload-scan-in-lock-82Vincent Petry2016-03-011-5/+5
|\ | | | | [8.2] scan the file in the write lock when uploading over dav
| * scan the file in the write lock when uploading over davRobin Appelman2016-02-111-5/+5
| |
* | Merge pull request #22705 from ↵Morris Jobke2016-03-011-2/+19
|\ \ | | | | | | | | | | | | owncloud/backport-22677-theme-overwriting-language [8.2] Allow to overwrite a single language string via the theme folder
| * | Allow to overwrite a single language string via the theme folderJoas Schilling2016-02-291-2/+19
| | |
* | | Merge pull request #22657 from owncloud/stable8.2-backport-21854Vincent Petry2016-03-011-0/+17
|\ \ \ | |/ / |/| | [stable8.2] Fix addUserToGroup hook of the share code
| * | Fix addUserToGroup hook of the share codeMorris Jobke2016-02-251-0/+17
| | | | | | | | | | | | | | | | | | * sets up the filesystem of the user that is added to a group to properly accept shares * fixes #18499
* | | Merge pull request #22676 from owncloud/fed-share-etag-82Morris Jobke2016-02-262-8/+28
|\ \ \ | |/ / |/| | [8.2] use the default view for propagation if possible
| * | use the default view for propagation if possibleRobin Appelman2016-02-262-8/+28
| | |
* | | Merge pull request #22633 from owncloud/stable8.2-backport-22565Vincent Petry2016-02-251-0/+4
|\ \ \ | |/ / |/| | [stable8.2] Avoids scanning the root storage
| * | Avoids scanning the root storageMorris Jobke2016-02-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | This check will skip the background scan for the root storage because there is nothing in the root storage that isn't already in another (mostly user-) storage. Fixes #22501
* | | recalculate unencrypted size if we assume that the size stored in the db is ↵Bjoern Schiessle2016-02-251-3/+129
|/ / | | | | | | not correct
* / Fix BMP supportMorris Jobke2016-02-141-0/+1
|/ | | | * fixes #16461
* Introduce some mimetypes for richdocumentsFaruk Uzun2016-02-081-0/+17
| | | | | | | | | * application/vnd.lotus-wordpro * application/vnd.visio * application/vnd.wordperfect * application/msonenote Backport of #21766
* When a user is removed we should remove the right sharesRoeland Jago Douma2016-02-051-1/+1
| | | | | | | | | | | | | | | * This means all the shares directly shared with them * Or all group shares having a special share with them This patch fixes the operator precedece (AND before OR). So before this patch: (share_with = <deleted user> AND share_type = 0) OR share_type=2 So it deleted all user specific shares Now: share_with = <deleted user> AND (share_type = 0 OR (share_type=2)
* Merge pull request #22047 from owncloud/stable8.2-backport-21953Thomas Müller2016-02-011-1/+1
|\ | | | | [stable8.2] Make enable_avatars setting more robust
| * Make enable_avatars setting more robustMorris Jobke2016-02-011-1/+1
| | | | | | | | | | * handles the setting in the same way everywhere * fixes #21949
* | Remove other broken usages in deprecated methodsJoas Schilling2016-01-291-35/+3
| |
* | Deprecate the method and warn against using itJoas Schilling2016-01-292-0/+4
|/ | | | | Conflicts: lib/private/backgroundjob/joblist.php
* Add message key to context of logExceptionThomas Müller2016-01-203-3/+15
|
* use logException() to properly log the exceptionMorris Jobke2016-01-201-1/+2
|
* Improved error message for failing background jobMorris Jobke2016-01-201-1/+1
|
* Handle return code of streamCopy in WebDAV putMorris Jobke2016-01-161-1/+9
| | | | * throw a different exception if streamCopy failed
* Merge pull request #21666 from owncloud/smb-statcache-cap-82Vincent Petry2016-01-131-0/+87
|\ | | | | [8.2] cap the number of entries we cache in smb's statcache
| * cap the number of entries we cache in smb's statcacheRobin Appelman2016-01-121-0/+87
| |
* | Use ISession::clearLukas Reschke2016-01-101-3/+1
| | | | | | | | The native approach using the PHP calls will not work properly with the cryptowrapper and thus this code is effectively doing nothing at the moment.
* | Merge pull request #21539 from endocode/kayrus/cookies_auth_fixThomas Müller2016-01-081-1/+4
|\ \ | | | | | | [stable8.2] Fixed double file upload on failed auth using WebDAV
| * | Fixed double file upload on failed auth using WebDAVkayrus2016-01-081-1/+4
| |/ | | | | | | | | Backport of this fix: https://github.com/owncloud/core/pull/21491 Fixes https://github.com/owncloud/core/issues/21486
* | Merge pull request #21118 from owncloud/makeurltypeconfigurableThomas Müller2016-01-081-2/+7
|\ \ | | | | | | [stable8.2] make swift url type configurable
| * | add isset for optional paramsJörn Friedrich Dreyer2016-01-071-2/+3
| | |
| * | make url type configurableJörn Friedrich Dreyer2015-12-101-1/+5
| | |
* | | Merge pull request #21265 from owncloud/backport20996-remove-password-resetMorris Jobke2016-01-051-0/+10
|\ \ \ | | | | | | | | Backport 20996 remove password reset
| * | | Fix missing import of IUserJoas Schilling2016-01-051-1/+1
| | | |
| * | | Check if user isset in $_REQUEST firstRobin Appelman2015-12-171-3/+5
| | | |
| * | | Allow specifying a custom reset-password-urlJoas Schilling2015-12-171-3/+5
| | | | | | | | | | | | | | | | | | | | Conflicts: core/js/config.php
| * | | Remove password reset when the user can not change the passwordJoas Schilling2015-12-171-0/+6
| | |/ | |/|
* | | Do not delete background jobs, in case an exception occuredJoas Schilling2016-01-041-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | This approach is not valid anymore. It initially was added for jobs of non existing apps. But jobs of non-existing apps can not be created so they will never be executed and so this call just catches other cases which were not intended. This reverts commit 4f4ad72460f8ef299cd1235b5774c5f121cca430.
* | | Fix undefined HTTP_USER_AGENTThomas Müller2015-12-291-0/+3
| | |
* | | Merge pull request #21313 from owncloud/scanner-skip-not-available-82Vincent Petry2015-12-241-2/+17
|\ \ \ | | | | | | | | [8.2] Skip unavailable storages in scanner
| * | | also log exceptionRobin Appelman2015-12-211-0/+1
| | | |
| * | | Skip unavailable storages in scannerRobin Appelman2015-12-211-2/+16
| |/ /
* / / Use name of ICollection for exception messageMorris Jobke2015-12-161-1/+1
|/ / | | | | | | * fixes #21230
* | don't allow to create a federated share if source and target server are the sameBjörn Schießle2015-12-142-2/+45
| |
* | Merge pull request #21127 from owncloud/stable8.2-backport-21119Lukas Reschke2015-12-111-0/+7
|\ \ | | | | | | [stable8.2] Make AppManager->checkAppForUser more robust
| * | Make AppManager->checkAppForUser more robustMorris Jobke2015-12-101-0/+7
| | | | | | | | | | | | | | | * if the JSON that is stored in the DB is corrupt an error was thrown * with this change it is properly handled and the app is disabled
* | | Merge pull request #21046 from ↵Thomas Müller2015-12-111-3/+9
|\ \ \ | | | | | | | | | | | | | | | | owncloud/stable8.2-catchexceptionindirectdownloadurl [stable8.2] Catch exception when querying direct download link