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

81 Commits

Author SHA1 Message Date
davigonz
226e332460 Implement update share using the new wrapper methods in library 2018-09-04 13:56:32 +02:00
davigonz
6d1e2d0434 Implement remove share using the new wrapper methods 2018-09-04 13:52:43 +02:00
davigonz
7d534c90ab Implement get shares operations using the new wrapper methods 2018-09-04 13:48:46 +02:00
davigonz
1a7e6a475d Use the new wrapper methods with CreateRemoteShareOperation and GetRemoteShareOperation 2018-09-04 13:41:54 +02:00
davigonz
d4908e4172 Switch to v2.php 2018-08-01 12:53:56 +02:00
davigonz
7bed924ff8 Refactor uri builds in shares 2018-08-01 11:10:16 +02:00
davigonz
137a892d2e Improve comments 2017-06-16 11:43:18 +02:00
davigonz
bcb6c2c106 Update permissions when updating share via link 2017-06-16 11:07:06 +02:00
David A. Velasco
c9a06fc5e4 Fix NullPointerException in update of public shares while keeping compatibility of the operation with servers not supporting 'name' property in shares 2017-05-10 15:34:22 +02:00
davigonz
a034338290 Fix wrong or no update parameter given in servers < 10 2017-05-09 18:18:22 +02:00
David A. Velasco
8f5ac456ab Prevent send of empty value for expiration date and link name when public share is created 2017-05-05 13:26:47 +02:00
davigonz
e80b50d4de Get public share name instead of token when using public share getName method and there's no name 2017-05-05 13:26:47 +02:00
davigonz
8f3aeb30ed Use the token instead of the path when a public link has been created with no name 2017-05-05 13:26:47 +02:00
David A. Velasco
ee726119cb Clarify absence and patch of URL field of OCShares 2017-05-05 13:26:47 +02:00
davigonz
dda1429581 Create public link [WIP] 2017-05-05 13:26:47 +02:00
David A. Velasco
188ce07155 Add support for optional name in public shares (WIP) 2017-05-05 13:26:47 +02: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
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
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
740f0deb82 Fixed bug resulting in false success when one of multiple Share properties are updated 2016-04-01 14:57:46 +02: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
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