1
0
mirror of https://github.com/owncloud/android-library.git synced 2026-08-11 16:33:03 +00:00
Commit Graph

273 Commits

Author SHA1 Message Date
David A. Velasco e43e43f51a Fixed logic of HTTPS downgrade detection for multiple redirections, and grant that redirection if followed for HTTP servers 2014-08-06 11:16:17 +02:00
David A. Velasco 07f3d9caae Fixed check of HTTPS downgrade so that works with multiple redirections, and done without an extra request 2014-08-06 10:59:33 +02:00
jabarros 585054092d Fixed bug. It is not possible to connect to a http server 2014-08-04 14:25:31 +02:00
jabarros fe6f99ea6a Detect when there is a change bewwen a https connection to a non-secure one and generated a new erro code. 2014-08-04 10:18:21 +02:00
David A. Velasco 6b155fb802 Merge pull request #34 from owncloud/update_error_messages_for_non_permitted_actions
Added error codes and controls for non permitted actions
2014-07-24 18:28:20 +02:00
jabarros 7636d9e037 Update ErrorMessageAdapter class to generate appropiate error messages for operations failed due to lack of permissions (ResultCode.FORBIDDEN) 2014-07-24 09:34:27 +02:00
jabarros 0862c66b7d Update RemoteOperation.ResultCode to include enum value for FORBIDDEN results 2014-07-24 09:34:26 +02:00
jabarros 5ebf81e26e Merge pull request #33 from owncloud/release-0.9.2
Release 0.9.2
oc-android-library-0.9.2
2014-07-24 08:13:33 +02:00
David A. Velasco f7c992f38b Enforcing Travis retry without changes 2014-07-23 18:19:01 +02:00
jabarros 4e3814d6c0 Merge pull request #32 from owncloud/accept_200_as_ok_for_propfind
Accept 200 as a valid response for PROPFIND
2014-07-14 10:48:01 +02:00
David A. Velasco 78fa893027 Accept 200 as a valid response for PROPFIND 2014-07-10 14:05:10 +02:00
David A. Velasco 0f4f4edf6c Fully disable cookie tracking by default, as before introducing OwnCloudClientManager; only SingleSessionManager tracks cookies 2014-07-10 13:08:10 +02:00
David A. Velasco 14d757ad9f Removed unused methods from WebdavUtils 2014-07-10 12:25:18 +02:00
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
rperezb e72fec72a3 Merge pull request #29 from owncloud/add_cookie_based_session_support
Add cookie based session support
2014-07-01 14:26:49 +02:00
David A. Velasco 3c116514fb Added unit test for SimpleFactoryManager 2014-07-01 13:32:43 +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 48d43b576c Merge pull request #31 from owncloud/see_files_shared_with_me
Process extra properties oc:permissions and oc:id
2014-07-01 09:26:57 +02:00
David A. Velasco b478a48ff3 Updated name of constants for extended WebDAV properties 2014-07-01 09:15:48 +02:00
jabarros f5dd0ad215 Merge pull request #30 from owncloud/update_Android_SDK_installation_in_Travis_setup
Update android sdk installation in travis setup
2014-06-30 11:14:28 +02:00
David A. Velasco 31d4df1b0a Updated name of system image component to download 2014-06-27 15:33:09 +02:00
David A. Velasco b877e8f9ba Updated platorm tools, installer and accepted licenses for Travis environment 2014-06-27 15:18:58 +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