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

521 Commits

Author SHA1 Message Date
davigonz
275a0f0f10 Update ownCloucClient to use OkHttpClient [WIP] 2018-09-04 13:38:30 +02:00
davigonz
81cea2788d Upload file operation [WIP] 2018-09-04 13:38:30 +02:00
theScrabi
81d3d832e9 restructure path to operation resources 2018-09-04 13:38:30 +02:00
theScrabi
ce86ebac8a make propfind compatible with frontend 2018-09-04 13:38:30 +02:00
davigonz
74c9430382 Create RemoveRemoteFileOperation and use it 2018-09-04 13:38:30 +02:00
davigonz
81120ac7ad Create DownloadRemoteFileOperation and reorder classes 2018-09-04 13:38:30 +02:00
davigonz
5d0362dc4d Use DavOCResource again 2018-09-04 13:38:30 +02:00
DerSchabi
dae28aee48 refactor RemoteOperationResult 2018-09-04 13:38:30 +02:00
davigonz
63c917c979 Include upload headers in interceptor and finish upload file operation 2018-09-04 13:38:30 +02:00
davigonz
75ce8e186f Implement UploadRemoteFileOperation with dav4droid 2018-09-04 13:38:30 +02:00
davigonz
2ef51dd5f6 Move webdav path constant and refactor some Remote operation methods 2018-09-04 13:38:30 +02:00
davigonz
2ba891df15 Include user agent in OCContext and start implementing the generic put operation 2018-09-04 13:38:30 +02:00
davigonz
7cb9189fce Keep completing the propfind 2018-09-04 13:38:30 +02:00
davigonz
a4678557d8 Remove unneeded slahes in url 2018-09-04 13:38:30 +02:00
DerSchabi
ca2eff6647 make propfind operation run without errors 2018-09-04 13:38:30 +02:00
davigonz
ff6adc4cf9 Solve conflicts 2018-09-04 13:38:30 +02:00
davigonz
3125c8047c First propfind using dav4droid and new architecture 2018-09-04 13:38:30 +02:00
DerSchabi
1249e205d6 add OCAccount
add OCAccount
2018-09-04 13:38:30 +02:00
DerSchabi
e354a716cb ren owncloud to OC 2018-09-04 13:38:30 +02:00
DerSchabi
cd3d20db07 add dav4droid support part1 2018-09-04 13:38:30 +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
Semih Serhat Karakaya
813900d600 check for PROPERTY_VERSIONING is exist when learning capabilities 2018-05-23 10:30:18 +03:00
davigonz
fdbe23923e Fix Incorrect output with Other option 2018-05-18 09:28:14 +02:00
David González
f3566d667e Handle case with quota 0 2018-05-18 09:28:13 +02:00
davigonz
a21614fd5a Handle pending, unknown and unlimited quota 2018-05-18 09:28:13 +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
davigonz
7c7cad7e99 Apply requested changes 2017-10-30 10:53:33 +01: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