1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-07 16:06:08 +00:00

868 Commits

Author SHA1 Message Date
David A. Velasco
40af731eb0 Update build tools to 26.0.0, for future support of Android O 2017-10-10 18:11:00 +02:00
David A. Velasco
c560f4fb4b Merge pull request #174 from owncloud/oauth2_support_bugfixing
Oauth2 support - bugfixing
oc-android-library-0.9.18
2017-09-01 15:20:57 +02:00
davigonz
f389207713 Update tests with the proper constants 2017-09-01 11:31:13 +02:00
David A. Velasco
f3a2c05efa Prevent NPE parsing NULL queries in OAuth2 redirected URIs 2017-09-01 11:30:04 +02:00
David A. Velasco
2d35b00273 Move constants for main endpoints from AccountUtils to OwnCloudClient 2017-09-01 11:29:45 +02:00
davigonz
3072507972 Fix login loop when disabling OAuth2 2017-08-28 08:57:08 +02:00
David A. Velasco
2289358775 Merge pull request #173 from owncloud/oauth2_support
OAuth2 support
2017-08-23 16:56:13 +02:00
davigonz
75821de7a3 Changes to invalidate SAML credentials properly 2017-08-23 13:39:40 +02:00
davigonz
12d04bb63c Ensure that SAML credentials will be invalidated if appropriate 2017-08-17 10:45:01 +02:00
David A. Velasco
e466bac6b1 Move responsibility for refreshing expired credentials from RemoteOperation to OwnCloudClient 2017-08-17 09:22:30 +02:00
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 6d0773cf34122a4a7fcf4f06da1a6fec7a64e32d.
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