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

292 Commits

Author SHA1 Message Date
David A. Velasco
70e38cda59 Fix Share parser: share type is not determined by existance of <url> element in share 2016-08-04 16:37:47 +02:00
David A. Velasco
20c9830922 Updated copyright 2016-08-02 13:31:56 +02:00
David A. Velasco
46ec581740 Fix permissions for federated folders 2016-07-29 12:18:00 +02:00
David A. Velasco
e4fc7ea25b Add method to OwnCloudVersion to check if not-reshareable federated shares are supported 2016-07-26 12:53:59 +02:00
David A. Velasco
f679e55933 Updated OwnCloudAccount#getDisplayName with better fallbacks 2016-06-16 12:14:47 +02:00
David A. Velasco
4d80ca096d Removed annoying NONE value from OwnCloudAccount#getDisplayName 2016-06-15 10:21:20 +02:00
David A. Velasco
75667c67f4 Renamed GetRemoteUserNameOperation to GetRemoteUserInfoOperation 2016-06-13 13:49:04 +02:00
David A. Velasco
06f27a7c79 Undo buggy refactoring; too much to do in that sense to get it works 2016-06-09 10:54:08 +02:00
David A. Velasco
afe65bdc3f Return user name when display name is unknown 2016-06-09 10:02:32 +02:00
David A. Velasco
743661ca90 Added field 'displayName' to OwnCloudAccount, and refactoring load of account from storage 2016-06-09 10:02:32 +02:00
David A. Velasco
cdce258a3f Fixed case of 'no update of upload permission' in operation updating public shares 2016-06-07 13:09:12 +02:00
David A. Velasco
0666f08ea6 Moved credentials charset constant out of interface, so that it's correctly initialized 2016-04-28 14:00:44 +02:00
Andy Scherzinger
3f89bf20a4 make "UTF-8" String a constant 2016-04-28 12:22:52 +02:00
Luke Owncloud
f69814f574 allows special chars in password 2016-04-28 12:22:52 +02:00
Luke Owncloud
256c607da8 allow special chars in password 2016-04-28 12:22:52 +02:00
David A. Velasco
19e30a6236 Added util method to extract username from saved Account 2016-04-01 14:58:23 +02:00
David A. Velasco
740f0deb82 Fixed bug resulting in false success when one of multiple Share properties are updated 2016-04-01 14:57:46 +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
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