1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-09 17:06:18 +00:00

71 Commits

Author SHA1 Message Date
David A. Velasco
11363adedb Clean up after CR 2017-04-25 12:31:04 +02:00
David A. Velasco
02e3a90df3 Release input stream on IO exceptions so that next download in the queue does not get stucked 2017-04-20 11:30:29 +02:00
davigonz
06f907294a Change HEAD method to PROPFIND method while checking path existence before starting an upload 2017-02-10 12:17:57 +01:00
davigonz
21d1265ca5 Show error message when there is an external storage error 2017-02-09 18:07:44 +01:00
davigonz
626e2f0efa Added changes requested in PR 2017-02-07 08:53:14 +01:00
David A. Velasco
d7a707293d Prevent that connection manager cleans up response buffer of failed downloads 2017-02-03 14:56:40 +01:00
davigonz
67e5ccd4af Exhaust response if status is different from 403 2017-02-03 14:56:40 +01:00
David A. Velasco
14d646ea1d Keep http phrase in RemoteOperationResult as last chance for a detailed user message 2017-01-12 17:32:50 +01:00
davigonz
576231023b Decrease some lines length 2016-12-14 13:39:18 +01:00
davigonz
274e0ec47b Set modification date from the file in filesystem to the file to upload 2016-12-14 11:40:11 +01:00
davigonz
0fef17a609 Add line breaks 2016-12-13 10:48:24 +01:00
davigonz
09612b2dd9 Delete not needed import 2016-12-13 10:46:33 +01:00
davigonz
53a5818688 Delete unnecessary line 2016-12-13 10:44:52 +01:00
davigonz
4c1f91e9ef Fix bug in chunked upload (work in progress) 2016-12-13 09:01:41 +01:00
David González Verdugo
3d8ec568ec Fixed bug with normal update operation (not chunked) 2016-12-12 10:56:54 +01:00
jabarros
5404b5c2c3 Increase the last chunk timeout in uploads 2016-10-31 09:58:25 +01:00
David A. Velasco
20c9830922 Updated copyright 2016-08-02 13:31:56 +02:00
David A. Velasco
0bfc385707 Improved detection of exceptions in uplaods due to local errors 2016-03-21 17:07:23 +01:00
David A. Velasco
8b91c71d6f Updated build target to Android APIv23 2016-02-13 21:24:10 +01:00
David A. Velasco
eb4f8a7234 Added constructors to grant that upload operations only succeed if the remote copy keeps a given ETag 2015-09-28 11:13:44 +02:00
David A. Velasco
f61b466124 Improved ETag parsing 2015-09-28 10:49:45 +02:00
David A. Velasco
092c790030 Add capability to reatin ETag value in download operations 2015-09-25 15:10:34 +02:00
David A. Velasco
522ea30da0 Simplified flow of interruption of uploads in cancellations 2015-09-25 15:10:33 +02:00
David A. Velasco
8bf276377c Minor improvements for upload cancelation and conflicts in synchronization 2015-09-25 15:10:31 +02:00
David A. Velasco
27b0308e06 //This extra check is unnecessary after https://github.com/owncloud/core/pull/14505 2015-09-01 16:01:41 +02:00
David A. Velasco
5ac5c80809 Return FILE_NOT_FOUND error only if the file is not found in the server, not in case of any other error checking its existence 2015-08-18 18:06:06 +02:00
David A. Velasco
819b465385 Recovered error when file to copy doesn't exist but still keeping dependency on Context out 2015-08-18 14:07:59 +02:00
David A. Velasco
b281585c93 Updated CopyRemoteFileOperation constructor 2015-08-18 13:27:44 +02:00
Jorge Antonio Diaz-Benito Soriano
2970b54e7c Updated CopyRemoteFileOperation and verified with the unit tests 2015-08-18 13:14:21 +02:00
Jorge Antonio Diaz-Benito Soriano
8633efbb49 Added some neccesities for the copy operation 2015-08-18 13:14:20 +02:00
Jorge Antonio Diaz-Benito Soriano
f753b1bde8 Added INVALID_COPY_INTO_DESCENDANT code 2015-08-18 13:14:12 +02:00
Jorge Antonio Diaz-Benito Soriano
0842c4c407 Added some neccesities for the copy operation 2015-08-18 13:11:31 +02:00
David A. Velasco
02c24c8a3b Fixed existence check on files when automatic redirections are explicitly disabled (SAML SSO) 2015-07-02 14:02:31 +02:00
masensio
58deabb773 Changes from comments in Code Review 2015-06-16 15:15:36 +02:00
masensio
dcad9157aa Prevent NullPointerException when OwncloudVersion is null in MoveRemoteFileOperation and RenameRemoteFileOperation 2015-06-16 10:51:50 +02:00
masensio
1811be1b52 Prevent NullPointException when OwncloudVersion is null in CreateRemoteFolderOperation 2015-06-16 10:39:40 +02:00
masensio
060ca75f17 Merge branch 'develop' into forbidden_characters_from_server
Conflicts:
	src/com/owncloud/android/lib/common/operations/RemoteOperationResult.java
	src/com/owncloud/android/lib/resources/files/RenameRemoteFileOperation.java
2015-06-15 14:41:27 +02:00
David A. Velasco
41dcc33730 Get that ExistenceCheckRemoteOperation remembers the sequence of followed redirections after its execution
Conflicts fixed:
	src/com/owncloud/android/lib/common/operations/RemoteOperationResult.java
	src/com/owncloud/android/lib/resources/files/RenameRemoteFileOperation.java
2015-06-11 10:32:05 +02:00
masensio
4ca0ff2203 Parse error 500 and InvalidPathException for Uploads 2015-06-03 11:09:58 +02:00
masensio
b8a3eb059c Remove exhaust response in RenameRemoteFileOperation 2015-06-03 11:09:32 +02:00
masensio
16c9147383 Parse and show the error of invalid characters coming from the server side: Move, Rename, Uploads 2015-06-03 00:32:19 +02:00
masensio
2b09aa2a89 Parse and show the error of invalid characters coming from the server side. Show new message in CreationFolder 2015-06-02 13:07:43 +02:00
masensio
9fc332eef9 Filter only '/' character in user input when version of server is 8.1 or later 2015-06-02 09:37:46 +02:00
masensio
0449645fca Changes from comments in PR#63 2015-05-15 10:51:34 +02:00
masensio
aaebdefe56 Add OC-Total-Length to UploadRemoteFileOperation 2015-04-10 09:21:05 +02:00
masensio
8f068a2849 Add OC-Total-Length header to ChunkedUploadRemoteFileOperation 2015-04-09 18:19:22 +02:00
masensio
9990eeb7ff Refactor parameter user_agent out of RemoteOperation and children 2015-03-24 14:31:40 +01:00
masensio
fc07af2364 Add user agent in all the request 2015-03-13 13:53:36 +01:00
masensio
b36670adb1 Update imports 2015-03-09 14:19:12 +01:00
masensio
2f32ffbc1f Changes from comments in PR#55 2015-03-09 11:34:14 +01:00