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

217 Commits

Author SHA1 Message Date
davigonz
81aa417cbf Custom interceptors to include user agent and authorization 2018-09-04 13:38:30 +02:00
davigonz
d67a41d5cc Include credentials [WIP] 2018-09-04 13:38:30 +02:00
davigonz
11938a1fcc Create http + webdav methods wrapeer 2018-09-04 13:38:30 +02:00
davigonz
b9ba124541 Keep previous owncloudclient implementation 2018-09-04 13:38:30 +02:00
davigonz
275a0f0f10 Update ownCloucClient to use OkHttpClient [WIP] 2018-09-04 13:38:30 +02:00
DerSchabi
cd3d20db07 add dav4droid support part1 2018-09-04 13:38:30 +02:00
davigonz
12429b7ab9 Update operation to get remote user quota 2018-05-18 09:28:13 +02:00
theScrabi
0abc3a6b29 fix empty screen 2018-04-13 08:59:58 +02:00
David A. Velasco
9fe3e11c52 Add privatelink property support to webdav reponses 2017-10-30 10:53:33 +01: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
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
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
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 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
11363adedb Clean up after CR 2017-04-25 12:31:04 +02:00
David A. Velasco
9fe7c995dd Add write timeout if socket implementation supports it, so that chances of blocking and upload if network is removed are minimized 2017-04-21 16:10:16 +02:00
David A. Velasco
825ef70cef Allow the usage of OwnCloudVersion instances for invalid server versions, and removed some really old or never used endpoint paths 2017-04-07 14:57:01 +02:00
davigonz
d7f453f0e3 Deleted <p> 2017-03-07 09:22:08 +01:00
davigonz
29493f1983 Change MAINTENANCE_MODE ResultCode to SERVICE_UNAVAILABLE 2017-03-06 12:36:40 +01:00
David A. Velasco
1535be3876 Prevent access to accounts of other apps with the same name as an OC account 2017-02-20 11:08:44 +01:00
David González
9854ef6f60 Update RemoteOperationResult.java 2017-02-20 09:19:48 +01:00
davigonz
4dea8debb4 Merge branch 'master' into ext_storage 2017-02-14 14:15:53 +01:00
David A. Velasco
d5e179d7a2 Use preemptive authentication except in server versions where it is not compatible with session tracking 2017-02-13 09:34:40 +01:00
davigonz
21d1265ca5 Show error message when there is an external storage error 2017-02-09 18:07:44 +01:00
davigonz
1f58cfc941 Update comment 2017-02-07 13:11:06 +01:00
davigonz
626e2f0efa Added changes requested in PR 2017-02-07 08:53:14 +01:00
davigonz
12e7af8af5 Reformat code 2017-02-06 12:13:22 +01:00
davigonz
6a3d97a474 Added forbidden exception parser 2017-02-03 14:58:40 +01:00