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

41 Commits

Author SHA1 Message Date
davigonz
817e3c894b Crash when restoring cookies 2018-09-12 09:40:36 +02:00
davigonz
b0fa6ae1d0 Apply requested changes 2018-09-04 15:59:25 +02:00
theScrabi
6e4ded84d9 make OwnCloudClient extend the warpper HttpClient 2018-09-04 15:50:24 +02:00
davigonz
2d54ece72e Chunked uploads, create chunks folder [WIP] 2018-09-04 15:50:24 +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
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
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
fe947194c5 Add constant to save refresh token in account 2017-07-20 11:10:13 +02:00
David A. Velasco
e4b57e8063 WIP 2017-07-20 11:10:13 +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
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 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
David A. Velasco
7b88fb4e6c Adapt authentication with basic credentials to reuse server sessions for server >= 9.1 2016-12-15 14:17:08 +01:00
David A. Velasco
20c9830922 Updated copyright 2016-08-02 13:31:56 +02:00
David A. Velasco
743661ca90 Added field 'displayName' to OwnCloudAccount, and refactoring load of account from storage 2016-06-09 10:02:32 +02:00
David A. Velasco
19e30a6236 Added util method to extract username from saved Account 2016-04-01 14:58:23 +02:00
David A. Velasco
6752b25b8d Added username to OwnCloudSamlSsoCredentials 2015-08-06 09:34:41 +02:00
David A. Velasco
ff85ff2eef Merge branch 'master' into develop 2015-06-22 11:15:46 +02:00
Lukas Reschke
b102d1cdf9 Change the order to prevent NullPointerExceptions 2015-06-02 16:56:35 +02:00
Lukas Reschke
267c7cfd08 Use .equals instead of !=
This code never worked. Please consider adding unit tests.
2015-06-02 16:51:25 +02:00
David A. Velasco
ddb8648809 Added version for OC accounts 2015-04-15 12:50:33 +02:00
masensio
21c329aa12 Set new pattern for account name 2015-04-13 13:30:31 +02:00
masensio
eca87d20c7 Update headers 2015-03-04 11:06:47 +01:00
jabarros
b0fe841c3e Add Log_OC class and update the log references 2014-09-12 09:30:54 +02:00
jabarros
0f23df1b7b Avoid log cookies 2014-07-07 14:36:01 +02:00
David A. Velasco
9be1323745 Removed duplication of OwnCloudClientManager#getClientFor methods with different parameter types 2014-06-13 12:44:44 +02:00
masensio
0c4954928b Add cookie restoring to SingleSessionManager#getClientFor(Uri ... ) after calling OwnCloudClientFactory#create 2014-06-13 11:49:11 +02:00
David A. Velasco
b28701ca30 Refactored handle of ownCloud URIs inside OwnCloudClient; rest of library adapted 2014-06-13 09:29:32 +02:00
masensio
0fa6919761 Merge remote-tracking branch 'origin/add_cookie_based_session_support' into add_cookie_based_session_support 2014-06-12 17:55:06 +02:00
David A. Velasco
e069a8cb9f Added OwnCloudAccount class and method OwnCloudSessionManager#gertClientFor(OwnCloudAccount, ...) to ease the reuse of OwnCloudClient instances after creating accounts with authentication based in external authentication providers 2014-06-12 16:36:24 +02:00
masensio
44f5337a50 Move responsibility of saving cookies from OwnCloudClientManager#saveClient(Account, Context) to AccountUtils#saveClient(Account , Context) 2014-06-12 15:43:53 +02:00
David A. Velasco
a42f6b5d6d OwnCloudClientMap abstracted to interface OwnCloudClientManager, and provided two alternative implementations; added also OwnCloudCredentials interface to abstract all the credential types handled 2014-06-12 08:58:34 +02:00
masensio
811190065d Persistent cookies: Create saveClient in OwnCloudClientMap 2014-06-09 12:24:19 +02:00
masensio
fc8191e268 Check the version number instead of the version string 2014-03-27 18:01:13 +01:00
masensio
8d820f42fb Check the version number taking into account the new format 2014-03-27 09:45:07 +01:00
masensio
cd4414a7bd Merge branch 'master' into develop 2014-02-24 12:56:22 +01:00
David A. Velasco
b998f8840b Fixed copyright line in comments 2014-02-18 10:16:05 +01:00
David A. Velasco
6c4d342610 Reordered packages 2014-02-14 12:04:41 +01:00