1
0
mirror of https://github.com/owncloud/android-library.git synced 2026-08-11 16:33:03 +00:00
Commit Graph

658 Commits

Author SHA1 Message Date
David A. Velasco dd2d3b8996 Extend chance of silent refresh of auth token in RemoteOperations that are run with execute(...) methods receiving OwnCloudClients 2017-08-14 14:46:08 +02:00
David A. Velasco c7ade613c6 Clean-up and minor refactor after review 2017-08-04 14:48:39 +02:00
David A. Velasco 3ea5ad32f6 Update imports in automated tests after moving OwnCloudCredentialsFactory to a different package 2017-08-04 13:44:01 +02:00
David A. Velasco ae4b463478 Update Sample Client and Test Project after moving OwnCloudCredentialsFactory to a different pacakge 2017-08-04 12:04:52 +02:00
David A. Velasco 02f35d5f5e Remove deprecated methods for update to version 1.0 2017-08-04 11:11:37 +02:00
David A. Velasco a4386bb4fe Allow client objects to decide if RemoteOperations should silently refresh access token when expired 2017-08-02 18:43:07 +02:00
davigonz c04f6e3463 Create new method to retry synchronous and asynchronous remote operations 2017-08-02 12:25:38 +02:00
davigonz 7f98b3804c Include refresh token grantype before throwing an exception when building oauth2 operation 2017-08-01 17:09:04 +02:00
davigonz 99334c2e45 Include refresh token operation in library, builder 2017-08-01 11:55:47 +02:00
davigonz aa717b3e7b Use proper grant type to get new access token using refresh token 2017-07-31 10:47:20 +02:00
David A. Velasco ae8e3ca904 Simplify operation to refresh OAuth2 access token 2017-07-25 19:04:59 +02:00
davigonz 95fdf75d38 Rename get refreshed access token operation 2017-07-25 12:17:32 +02:00
davigonz c6f8430876 Move OAuth2GetRefreshedAccessTokenOperation to the library and prepare RemoteOperation to retry the last failed operation when access token expires 2017-07-25 12:14:22 +02:00
David A. Velasco a06af810d0 Invalidate stored auth token directly from RemoteOperation when request results UNAUTHORIZED 2017-07-25 09:35:22 +02:00
David A. Velasco 0dc859c071 Move OAuth2 support classes from app to library 2017-07-21 13:30:29 +02:00
davigonz a1b1c2f9ed Invalidate the client token when access token expires and try the last operation [WIP] 2017-07-20 11:10:13 +02:00
davigonz fe947194c5 Add constant to save refresh token in account 2017-07-20 11:10:13 +02:00
davigonz 2df2cde466 Rename getAuthernticateHeader method 2017-07-20 11:10:13 +02:00
davigonz f6ee1a15cb Reading several authenticate headers from http response 2017-07-20 11:10:13 +02:00
David A. Velasco e4b57e8063 WIP 2017-07-20 11:10:13 +02:00
David A. Velasco 312b21cb1e Merge pull request #172 from owncloud/update_gradle_plugin
Update Gradle Plugin to last stable version - 2.3.3
2017-07-20 11:03:40 +02:00
David A. Velasco c75efa81ba Update Gradle Plugin to last stable version - 2.3.3 2017-07-20 10:05:27 +02:00
David González Verdugo 0a4c3773b2 Merge pull request #166 from owncloud/antivirus_improve_feedback
Improve feedback when uploading virus files
2017-07-11 10:35:28 +02:00
davigonz b074c34cbc Refactor code 2017-07-11 09:29:33 +02:00
davigonz 4b2c32511b Improve feedback when uploading virus files 2017-07-11 09:29:33 +02:00
David González Verdugo cfd43dc058 Merge pull request #171 from owncloud/Fix_get_upload_only_capability
Include support_upload_only capability in get capabilities operation
2017-06-28 11:55:09 +02:00
davigonz 5d99c9db32 Include support_upload_only capability in get capabilities operation 2017-06-28 09:56:48 +02:00
David González Verdugo 6842cd6968 Merge pull request #170 from owncloud/fix_write_only_10.0.0
Fix write only 10.0.0
2017-06-28 09:28:03 +02:00
davigonz 7b1a5cdee9 Include a new minimun version with write only public sharing 2017-06-26 09:16:09 +02:00
David González Verdugo 33390ff09c Merge pull request #168 from owncloud/write_only_share
Write only share
2017-06-21 09:29:14 +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
davigonz e7b2dde940 Adding support upload only field to OCCapability 2017-06-14 11:15:16 +02:00
davigonz 5493227dd6 Adding supports_upload_only capability [WIP] 2017-06-09 11:51:03 +02:00
David González Verdugo bac38d13ef Merge pull request #163 from owncloud/multiple_public_shares
Support in library for multiple public shares per file
oc-android-library-0.9.17
2017-05-15 10:42:40 +02:00
David A. Velasco defbfc8d0e Revert "Add support for capability to show optional warning about public shares"
This reverts commit 6d0773cf34.
2017-05-11 09:57:47 +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
davigonz beb9be05de Fix hide + button to create a public share in servers <10 2017-05-09 09:05:21 +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
David A. Velasco 6d0773cf34 Add support for capability to show optional warning about public shares 2017-05-05 13:26:47 +02:00
davigonz 8ae4dd137d Added multiple share links to the capabilities 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 0dce40b160 Merge pull request #159 from owncloud/retry_transfers_after_lost_network
Improve support for unexpected loss of network connection.
2017-04-25 18:10:10 +02:00
David A. Velasco 11363adedb Clean up after CR 2017-04-25 12:31:04 +02:00
David A. Velasco 0e5cf18d8c Update build version to Java 7 2017-04-25 11:34:49 +02:00