nextcloud/lib/private
Vincent Petry 3217d4dad1 Cleanup part file after upload exception
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.
2015-06-29 17:31:14 +02:00
..
app update license headers and authors 2015-06-25 14:13:49 +02:00
appframework update license headers and authors 2015-06-25 14:13:49 +02:00
archive Update license headers 2015-03-26 11:44:36 +01:00
assetic Update license headers 2015-03-26 11:44:36 +01:00
backgroundjob also free joblist and base from file cache code 2015-05-12 17:44:31 +02:00
cache update license headers and authors 2015-06-25 14:13:49 +02:00
command Merge pull request #15129 from owncloud/version-command-bus 2015-03-26 19:55:13 +01:00
connector/sabre Cleanup part file after upload exception 2015-06-29 17:31:14 +02:00
console update license headers and authors 2015-06-25 14:13:49 +02:00
contacts Update license headers 2015-03-26 11:44:36 +01:00
db update license headers and authors 2015-06-25 14:13:49 +02:00
diagnostics Update license headers 2015-03-26 11:44:36 +01:00
encryption update license headers and authors 2015-06-25 14:13:49 +02:00
files Merge pull request #17030 from owncloud/lock-posthooks 2015-06-29 14:17:03 +02:00
group update license headers and authors 2015-06-25 14:13:49 +02:00
hooks update license headers and authors 2015-06-25 14:13:49 +02:00
http/client Update license headers 2015-03-26 11:44:36 +01:00
l10n update license headers and authors 2015-06-25 14:13:49 +02:00
legacy update license headers and authors 2015-06-25 14:13:49 +02:00
lock update license headers and authors 2015-06-25 14:13:49 +02:00
log update license headers and authors 2015-06-25 14:13:49 +02:00
mail Add "Reply-To" support for mails 2015-04-10 15:05:34 +02:00
memcache update license headers and authors 2015-06-25 14:13:49 +02:00
ocs Remove unused variables 2015-04-18 16:35:19 +02:00
preview update license headers and authors 2015-06-25 14:13:49 +02:00
route update license headers and authors 2015-06-25 14:13:49 +02:00
search Scrutinizer Auto-Fixes 2015-05-19 11:23:06 +00:00
security Fix type annotation 2015-04-27 13:31:18 +02:00
session Update license headers 2015-03-26 11:44:36 +01:00
setup update license headers and authors 2015-06-25 14:13:49 +02:00
share Merge pull request #17163 from owncloud/update-licenses 2015-06-27 20:22:23 +02:00
tagging Update license headers 2015-03-26 11:44:36 +01:00
template update license headers and authors 2015-06-25 14:13:49 +02:00
user Fix indentation 2015-06-27 20:37:07 +02:00
activitymanager.php update license headers and authors 2015-06-25 14:13:49 +02:00
allconfig.php Make scrutinizer happy 2015-04-01 12:13:49 +02:00
api.php update license headers and authors 2015-06-25 14:13:49 +02:00
app.php Send OC version to appstore so it can reply with the right links 2015-06-29 12:14:07 +02:00
appconfig.php update license headers and authors 2015-06-25 14:13:49 +02:00
apphelper.php update license headers and authors 2015-06-25 14:13:49 +02:00
archive.php Update license headers 2015-03-26 11:44:36 +01:00
arrayparser.php Update license headers 2015-03-26 11:44:36 +01:00
avatar.php update license headers and authors 2015-06-25 14:13:49 +02:00
avatarmanager.php update license headers and authors 2015-06-25 14:13:49 +02:00
config.php Update license headers 2015-03-26 11:44:36 +01:00
contactsmanager.php Update license headers 2015-03-26 11:44:36 +01:00
databaseexception.php Update license headers 2015-03-26 11:44:36 +01:00
databasesetupexception.php Update license headers 2015-03-26 11:44:36 +01:00
datetimeformatter.php Update license headers 2015-03-26 11:44:36 +01:00
datetimezone.php When guessing the timezone, the offset might only be valid on a given timestamp 2015-04-07 10:13:06 +02:00
db.php fix followup issues with unneeded parameters 2015-04-18 17:02:39 +02:00
defaults.php Add proper versioning for doc URL 2015-05-02 21:05:11 +02:00
eventsource.php Update license headers 2015-03-26 11:44:36 +01:00
filechunking.php kill OC_FileProxy 💥 2015-04-07 13:30:28 +02:00
files.php Merge pull request #17163 from owncloud/update-licenses 2015-06-27 20:22:23 +02:00
forbiddenexception.php Update license headers 2015-03-26 11:44:36 +01:00
group.php Update license headers 2015-03-26 11:44:36 +01:00
helper.php update license headers and authors 2015-06-25 14:13:49 +02:00
hintexception.php Update license headers 2015-03-26 11:44:36 +01:00
hook.php Throw ServerNotAvailableException always 2015-04-10 14:51:21 +02:00
httphelper.php Add connection timeout to default POST options 2015-05-26 11:22:50 +02:00
image.php Make sure we have a resource before measuring its size 2015-06-08 15:10:29 +02:00
installer.php Send OC version to appstore so it can reply with the right links 2015-06-29 12:14:07 +02:00
json.php Update license headers 2015-03-26 11:44:36 +01:00
l10n.php Some locales need to be converted to be compliant with CLDR 2015-05-08 23:45:07 +02:00
largefilehelper.php Update license headers 2015-03-26 11:44:36 +01:00
log.php update license headers and authors 2015-06-25 14:13:49 +02:00
mimetypes.list.php Merge pull request #17163 from owncloud/update-licenses 2015-06-27 20:22:23 +02:00
naturalsort.php Update license headers 2015-03-26 11:44:36 +01:00
naturalsort_defaultcollator.php Update license headers 2015-03-26 11:44:36 +01:00
navigationmanager.php Update license headers 2015-03-26 11:44:36 +01:00
needsupdateexception.php Update license headers 2015-03-26 11:44:36 +01:00
notsquareexception.php Update license headers 2015-03-26 11:44:36 +01:00
ocs.php Update license headers 2015-03-26 11:44:36 +01:00
ocsclient.php Typehint $targetVersion 2015-06-29 15:10:40 +02:00
preview.php update license headers and authors 2015-06-25 14:13:49 +02:00
previewmanager.php update license headers and authors 2015-06-25 14:13:49 +02:00
repair.php update license headers and authors 2015-06-25 14:13:49 +02:00
repairexception.php Update license headers 2015-03-26 11:44:36 +01:00
repairstep.php update license headers and authors 2015-06-25 14:13:49 +02:00
response.php update license headers and authors 2015-06-25 14:13:49 +02:00
search.php Update license headers 2015-03-26 11:44:36 +01:00
server.php update license headers and authors 2015-06-25 14:13:49 +02:00
servernotavailableexception.php update license headers and authors 2015-06-25 14:13:49 +02:00
serviceunavailableexception.php Update license headers 2015-03-26 11:44:36 +01:00
setup.php update license headers and authors 2015-06-25 14:13:49 +02:00
subadmin.php Remove unused variables 2015-04-18 16:35:19 +02:00
systemconfig.php Update license headers 2015-03-26 11:44:36 +01:00
tagmanager.php Update license headers 2015-03-26 11:44:36 +01:00
tags.php Fix undefined variable $tagId 2015-05-04 16:19:26 +02:00
template.php Update license headers 2015-03-26 11:44:36 +01:00
templatelayout.php update license headers and authors 2015-06-25 14:13:49 +02:00
tempmanager.php update license headers and authors 2015-06-25 14:13:49 +02:00
updater.php Use new updater URL + add unit tests 2015-06-28 11:25:28 +02:00
urlgenerator.php Fix UrlGenerator::imagePath() for app paths 2015-04-03 23:42:18 +01:00
user.php update license headers and authors 2015-06-25 14:13:49 +02:00
util.php update license headers and authors 2015-06-25 14:13:49 +02:00