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
78b9aa6247
Redirections to the Identity Provider (IdP) are translated into ResultCode.UNAUTHORIZED
2016-03-21 16:48:12 +01:00
masensio
d36fa0b38b
Clean code
2016-03-21 16:48:12 +01:00
Juan Carlos González Cabrero
023d8107ca
New Result code added to RemoteOperationResult
2016-03-21 16:48:12 +01:00
David A. Velasco
e6eb4b6e53
Added DELAYED_FOR_WIFI to RemoteOperationResult
2016-03-21 16:48:12 +01:00
Juan Carlos González Cabrero
57aa370be0
Update public share tests and refactored publicUpload permission handling
2016-03-21 09:05:47 +01:00
Juan Carlos González Cabrero
46f930f6cf
Add new PUT argument for the public upload permission and include in the operation
2016-03-21 09:05:47 +01:00
Juan Carlos González Cabrero
b13e584ac3
Remove the share type constants from GetRemoteShareesOperation
2016-03-07 09:07:51 +01:00
Juan Carlos González Cabrero
36da2a2336
Parse the lists of remote users from the JSON response of the server
2016-03-03 12:45:05 +01:00
Juan Carlos González Cabrero
23643ad28e
Added new share permissions for the federated shares
2016-03-01 13:24:05 +01:00
David A. Velasco
8b91c71d6f
Updated build target to Android APIv23
2016-02-13 21:24:10 +01:00
David A. Velasco
a953a890d3
Added FEDERATED as an acceptable ShareType
2016-02-05 14:23:41 +01:00
David A. Velasco
ac9771ea3a
Migration to different test server
2016-01-27 10:52:15 +01:00
David A. Velasco
275c042f78
Added constants for maximum Share permissions
2016-01-18 13:55:35 +01:00
David A. Velasco
249cb901eb
Added support to update share permissions
2016-01-11 12:13:19 +01:00
David A. Velasco
dad5cd115a
Added constants to analyze share permissions
2016-01-11 12:13:17 +01:00
Lukas Reschke
d39d26f842
Close in finally block
2015-12-16 18:08:36 +01:00
Lukas Reschke
5c87414390
Close resource in finally block
...
I don't quite get the reason for `mBuf` here as in `com.owncloud.android.lib.common.utils.Log_OC#appendLog` anyways a new `BufferedWriter` is started but it might make sense to close this here as this will otherwise cause warnings in static code scanners.
Didn't test this as I don't have a Java device and so it requires extensive testing.
2015-12-16 18:08:35 +01:00
masensio
77c0d785c9
Fix bug related with sharee with special characters
2015-11-26 13:26:24 +01:00
David A. Velasco
9cf96a10ce
Fixed lost of share link when token exists
2015-11-24 13:44:42 +01:00
David A. Velasco
f6bd45b2a7
Added support to update expiration date in an existing share
2015-11-23 17:51:32 +01:00
David A. Velasco
90615fc4ab
Added operation to update properties of exising share via link
2015-11-23 17:51:30 +01:00
David A. Velasco
0238e51903
Prevent null values in OCShare members
2015-11-23 17:51:29 +01:00
masensio
75581c18a4
Read capabilities to show the Share Options
2015-11-11 10:17:58 +01:00
David A. Velasco
875fce9f9c
Added constant to let server decide share permissions
2015-10-30 14:55:10 +01:00
masensio
642051cf45
Remove commented code
2015-10-30 14:55:09 +01:00
masensio
ea26e43c0d
GetRemoteShareeOperation returns ArrayList<JSonObject> with Users and Groups
2015-10-30 14:55:08 +01:00
masensio
a9ada0b508
Fix problem searching users on Shibboleth Server. Add OC_API_HEADER to GetRemoteShareesOperation
2015-10-30 14:55:07 +01:00
masensio
0acd17d8ac
Fix: user whose name includes @ are not found
2015-10-30 14:55:06 +01:00
David A. Velasco
bfe4fcd977
Changes after cr
2015-10-30 14:55:05 +01:00
David A. Velasco
4d9ff3e022
Refactoed operations on Shares
2015-10-30 14:55:04 +01:00
David A. Velasco
ad60bc9e8e
Complete error handling and add error message from server to response
2015-10-30 14:55:03 +01:00
David A. Velasco
3d34e504ff
Refactored resources.users.GetRemoteUsersAndGroupsOperation to resources.shares.GetRemoteShareesOperation
2015-10-30 14:55:02 +01:00
David A. Velasco
68e0633b74
Add option to retrieve share details in CreateRemoteShareOperation; by default the server only returns the share id
2015-10-30 14:55:01 +01:00
David A. Velasco
3b3b992a79
Get users or groups available to share with via SHAREE API
2015-10-30 14:55:00 +01:00
masensio
0793d3fca7
Fix NODE_SHARE_WITH_DISPLAY_NAME tag in ShareXMLParser
2015-10-30 14:54:58 +01:00
David A. Velasco
d9eb3655fd
Removed constrain to parse only public shares
2015-10-30 14:54:57 +01:00
masensio
cea7054a3d
Add Get Groups Operation to the library
2015-10-30 14:54:56 +01:00
masensio
fa17c6947e
Remove unused constants
2015-10-30 14:54:55 +01:00
masensio
0c6dfef908
Add operation to get users from the server
2015-10-30 14:54:54 +01:00
masensio
c3f24e817e
Add method to know if server supports search users function
2015-10-30 14:54:53 +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
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