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

335 Commits

Author SHA1 Message Date
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
masensio
ecc3415e3e Fix bug: Sharing an already shared file generates the old link 2015-09-14 13:21:00 +02:00
masensio
30df7c33fb Build the share link of a file if it isn't in the response of the server 2015-09-11 14:48:19 +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
6752b25b8d Added username to OwnCloudSamlSsoCredentials 2015-08-06 09:34:41 +02:00
mendhak
defe460a0a Allow asynchronous execution without handler 2015-07-04 23:30:54 +01: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
David A. Velasco
c84530d359 Added helper method to check if a server version supports remote thumbnails 2015-06-23 10:44:09 +02:00
masensio
8f87ad78f7 Merge branch 'develop' into fix_shared_by_link_for_server_without_uploads 2015-06-22 14:01:27 +02:00
David A. Velasco
ff85ff2eef Merge branch 'master' into develop 2015-06-22 11:15:46 +02:00
masensio
a22b1da16b Don't send public_upload value in createShare 2015-06-19 15:10:36 +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
Lukas Reschke
b102d1cdf9 Change the order to prevent NullPointerExceptions 2015-06-02 16:56:35 +02:00
Lukas Reschke
267c7cfd08 Use .equals instead of !=
This code never worked. Please consider adding unit tests.
2015-06-02 16:51:25 +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
409e8d6671 Fix problems reading quota values: NullPointerException 2015-05-26 13:43:30 +02:00
masensio
0449645fca Changes from comments in PR#63 2015-05-15 10:51:34 +02:00
masensio
0e7319e4ed Adapt WebDav parser for receiving exponential values in QUOTAS 2015-05-11 14:29:55 +02:00
David A. Velasco
ddb8648809 Added version for OC accounts 2015-04-15 12:50:33 +02:00
David A. Velasco
2e993f9893 Merge branch 'develop' into adding_account_versions 2015-04-15 12:14:44 +02:00
masensio
21c329aa12 Set new pattern for account name 2015-04-13 13:30:31 +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
David A. Velasco
415d059f95 Merge branch 'develop' of https://github.com/LukeOwnCloud/android-library into LukeOwncloud-develop 2015-04-09 13:26:16 +02:00
David A. Velasco
2b2fc9171f Fixed deadlock in main thread due to SingleSessionManager synchronization 2015-03-31 09:35:09 +02:00
masensio
0e011fb0c7 Remove static string in RemoteOperation 2015-03-24 14:53:28 +01:00
masensio
9990eeb7ff Refactor parameter user_agent out of RemoteOperation and children 2015-03-24 14:31:40 +01:00
masensio
94ac3a93d3 Fix bug: User agent: jakarta is shown when doing GET request 2015-03-23 14:24:03 +01:00
masensio
87582c4a8e Add user-agent string to setup options 2015-03-18 17:08:19 +01:00
masensio
fc07af2364 Add user agent in all the request 2015-03-13 13:53:36 +01:00
masensio
a1420ab00e Add userAgent in RemoteOperation 2015-03-13 13:37:23 +01:00