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

188 Commits

Author SHA1 Message Date
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
masensio
8f8c29c776 Merge pull request #28 from owncloud/pr_24
WebdavUtils - Don't statically allocate the SimpleDateObject (rebased)
2014-05-28 10:50:50 +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
1651d1a555 Merge pull request #26 from owncloud/fix_issue_482
Fixed issue 482 in android project
oc-android-library-0.9.1
2014-05-21 10:26:18 +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
7c481f7a70 Merge pull request #25 from owncloud/refactor_update_filelist_from_database
Added result for error in local removal
2014-05-20 14:03:14 +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
masensio
2157723124 Update org.eclipse.jdt.core.prefs settings for test_client 2014-04-29 10:42:30 +02:00
David A. Velasco
796189a04d Merge pull request #21 from owncloud/travis_ci
Added Travis support, including automatic tests on Android 4.4 emulator.
2014-04-24 11:08:18 +02:00
David A. Velasco
bf41cde57c Reduced output while waiting for emulator starts 2014-04-22 11:13:09 +02:00
David A. Velasco
d253daa1a8 Fix DownloadTest after validating previous commit 2014-04-22 11:01:09 +02:00
David A. Velasco
b7dc13e180 Updated ant rules to finish with a failure when a run test is not successful; and enforced failure of DownloadTest, to validate 2014-04-22 10:38:28 +02:00
David A. Velasco
35f5ae5147 Added drive to emulator to allow downloads in tests 2014-04-21 15:05:58 +02:00
David A. Velasco
4dca5b7a42 Updated Android build tools 2014-04-21 13:27:43 +02:00
David A. Velasco
d55f42b5ec Revert "Check that tests are working with the right account by commenting teardown"
This reverts commit 9fabc88ca67ff09fe5e9fc48ff276cb5026a9867.
2014-04-21 13:04:28 +02:00
David A. Velasco
9fabc88ca6 Check that tests are working with the right account by commenting teardown 2014-04-21 12:28:08 +02:00
David A. Velasco
800b04d520 Trying to wait more time for the emulator 2014-04-21 11:14:51 +02:00
David A. Velasco
08ede2483b Fixed typo breaking start of emulator 2014-04-16 20:23:51 +02:00
David A. Velasco
01061bf58e Enforce execution permissions for script waiting for Android emulator 2014-04-16 19:08:15 +02:00
David A. Velasco
dfa5e61f5e Fixed type and repeated variable in Travis script 2014-04-16 18:09:12 +02:00