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

199 Commits

Author SHA1 Message Date
David A. Velasco
ff0de72ea5 Merge pull request #37 from owncloud/better_loggin_system
Specific OC logging integrated in android-library
2014-09-17 09:38:06 +02:00
jabarros
b7508d8462 Fixed error in logs in AdvancedSslSockectFactory class after CR 2014-09-17 09:24:54 +02:00
jabarros
0924277662 Update logger for not start logging each time it is something appended 2014-09-12 13:33:07 +02:00
jabarros
cb7b547cd7 Create method for making available the change of the log folder 2014-09-12 11:22:46 +02:00
jabarros
b0fe841c3e Add Log_OC class and update the log references 2014-09-12 09:30:54 +02:00
David A. Velasco
df84917376 Redirect 'destination' header in custom redirections 2014-09-03 11:42:23 +02:00
David A. Velasco
80cbe24524 Greater timeouts for moving and renaming folders 2014-09-01 14:53:13 +02:00
David A. Velasco
b4e974491e Added operation to move remote files 2014-08-21 17:36:16 +02:00
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
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
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