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

331 Commits

Author SHA1 Message Date
David A. Velasco
9af57b477e Back to save cached SimpleDateFormat instances to parse dates from server, to avoid huge performance problem in Android 2.x devices 2014-07-10 12:24:31 +02:00
jabarros
0f23df1b7b Avoid log cookies 2014-07-07 14:36:01 +02:00
David A. Velasco
7fe8979846 Added unit test for SingleSessionManager 2014-07-01 13:26:29 +02:00
David A. Velasco
be03f46c7e Added lost import 2014-07-01 12:45:10 +02:00
David A. Velasco
0071a97e8b Merge branch 'develop' into add_cookie_based_session_support 2014-07-01 12:44:19 +02:00
David A. Velasco
f323dda044 Fixed parsing of dateformats in WebDAV responses 2014-07-01 10:57:31 +02:00
David A. Velasco
b478a48ff3 Updated name of constants for extended WebDAV properties 2014-07-01 09:15:48 +02:00
David A. Velasco
8080e4904d Fixed OutOfBoundsException 2014-06-26 10:24:45 +02:00
David A. Velasco
6cedc03465 Grant that SingleSessionManager keeps URL updated 2014-06-25 18:14:08 +02:00
David A. Velasco
4c8f31df2f Added test to unit tests for OwnCloudClient 2014-06-25 17:03:16 +02:00
David A. Velasco
a57be36925 Added unit test for OwnCloudClient 2014-06-25 09:08:29 +02:00
jabarros
570c35c921 Update parsing of PROPFIND responses to save, if exists, the value of the properties oc:permissions and oc:id 2014-06-24 12:41:40 +02:00
jabarros
6befcdafe5 Update RemoteFile and ReadRemoteFolder classes for including the remote_id property 2014-06-23 14:32:33 +02:00
jabarros
5c06770280 Populate RemoteFile with permission value 2014-06-23 11:27:25 +02:00
jabarros
b27a0ba5a1 Update class RemoteFile to include property oc:permissions 2014-06-23 08:58:20 +02:00
David A. Velasco
179ef41f4c Normalized OwnCloudClient to hold an instance to OwnCloudAnonymousCredentials instance of null 2014-06-18 14:55:19 +02:00
David A. Velasco
c01001b5a1 Added unit test for OwnCloudClientManagerFactory 2014-06-17 14:12:30 +02:00
masensio
2e4fc047af Fix in OwnCloudSamlSsoCredentials: Cookies.BROWSER_COMPATIBILITY instead IGNORE_COOKIES. Fix in constructor 2014-06-16 13:16:41 +02:00
David A. Velasco
1d95320277 Updated implementation of SingleSessionManager#saveAllClients for current HashMap 2014-06-16 09:33:30 +02:00
David A. Velasco
5130a93ef5 Updated OwnCloudClientManager#removeClient for new type OWnCloudAccount 2014-06-13 15:08:20 +02:00
David A. Velasco
7e2ec10442 Default policy for singleton available in OwnCloudManagerFactory made configurable 2014-06-13 13:42:59 +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
e6c23205eb Fixed issue fully breaking the refresh of current folder (fixed only for SimpleFactoryManager for the moment) 2014-06-12 17:36:59 +02:00
David A. Velasco
17d810fe2b Fixed creation of OwnCloudClientManager instances 2014-06-12 17:28:10 +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
masensio
e7a0e30a27 Add getCookiesString method in OwnCloudClient 2014-06-12 11:07:49 +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
becf4f3c13 Add cookie restore to methods OwnCloudClientFactory#createOwnCloudClient(Account ...) 2014-06-10 15:22:16 +02:00
masensio
1b3af22b89 Check if account.name is null in OwnCloudClientMap#saveClient 2014-06-10 13:58:14 +02:00
masensio
dd0831b9fd saveClient --> public method 2014-06-10 13:05:52 +02:00
David A. Velasco
b5ff057e95 Added method to OwnCloudClientMap to get/create new OwnCloudClients without credentials 2014-06-10 12:50:42 +02:00
masensio
057758671f Show cookies information in log, when saving a cookie 2014-06-10 12:00:36 +02:00
masensio
9a5b41e803 Create saveAllClients in OwnCloudClientMap. Changes from notes in commits: 8111900 and b18dffe 2014-06-10 11:03:57 +02:00
masensio
b18dffe100 Cookie to string in OwnCloudClientMap#saveClient 2014-06-09 15:05:44 +02:00
masensio
811190065d Persistent cookies: Create saveClient in OwnCloudClientMap 2014-06-09 12:24:19 +02:00
David A. Velasco
37f4383b07 Fixed bug enforcing the creation of new OwnCloudClients unintendedly 2014-06-09 11:02:02 +02:00
masensio
0cf2835268 Add a method clearCredentials() to OwnCloudClient 2014-06-06 12:37:03 +02:00
David A. Velasco
1ef3a0176c Added map/pool component (in progress) for OwnCloudClient instances and removed internal dependencies on OwnCloudClientFactory#createOwnCloudClient(ACCOUNT, ...) methods 2014-06-05 17:48:53 +02:00
David A. Velasco
ba42f934fc Merge branch 'develop' into add_cookie_based_session_support 2014-05-30 10:54:30 +02:00
David A. Velasco
3eedb86091 Grant that requests send through the same OwnCloudClient using SAML SSO Authentication keep cookies 2014-05-29 17:49:45 +02:00
Michael Wood
5b61790975 WebdavUtils Don't statically allocate the SimpleDateObject
When accessing this from multiple threads we get inconsistent states of
parsed value leading to the wrong date being returned.
2014-05-27 10:27:51 +02:00
David A. Velasco
1cb224cba1 Grant that requests done through the same OwnCloudClient using Basic HTTP Authentication keep cookies 2014-05-23 13:03:59 +02:00
David A. Velasco
20aaa5eee7 Avoid ignoring important headers 2014-05-21 10:15:19 +02:00
masensio
cd5d0cfb20 Merge branch 'develop' into fix_issue_482 2014-05-21 09:27:19 +02:00
masensio
927779d1c2 Case sensitive when reading HTTP-Headers 2014-05-16 12:41:09 +02:00
David A. Velasco
16d237e42a Added ResultCode for failed local removal 2014-05-12 09:58:18 +02:00