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 González
9854ef6f60
Update RemoteOperationResult.java
2017-02-20 09:19:48 +01:00
davigonz
4dea8debb4
Merge branch 'master' into ext_storage
2017-02-14 14:15:53 +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
davigonz
21d1265ca5
Show error message when there is an external storage error
2017-02-09 18:07:44 +01:00
davigonz
1f58cfc941
Update comment
2017-02-07 13:11:06 +01:00
davigonz
626e2f0efa
Added changes requested in PR
2017-02-07 08:53:14 +01:00
davigonz
12e7af8af5
Reformat code
2017-02-06 12:13:22 +01:00
davigonz
6a3d97a474
Added forbidden exception parser
2017-02-03 14:58:40 +01:00
davigonz
1aba54d0f9
Handle specific forbidden error
2017-02-03 14:56:40 +01:00
davigonz
21121e0189
Added forbidden exception parser
2017-02-03 14:56:40 +01:00
David A. Velasco
14d646ea1d
Keep http phrase in RemoteOperationResult as last chance for a detailed user message
2017-01-12 17:32:50 +01:00
davigonz
65c7fb1305
Update serialVersionUID
2017-01-10 08:57:40 +01:00
davigonz
0fdc5694f1
Handle 503 code error
2016-12-23 10:50:51 +01:00
David A. Velasco
d7561264b5
Apply changes after CR
2016-12-20 12:17:05 +01:00
David A. Velasco
4c27395609
Fix crash with invalid TCP port
2016-12-20 11:05:10 +01:00
David A. Velasco
b2034e1be2
Rename confusing vars after CR
2016-12-16 09:45:25 +01:00
David A. Velasco
455cabb72b
Add new OwnCloudClientManagerFactory implementation to get OwnCloudClient instances that keep session or not depending on the server version
2016-12-15 14:17:08 +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
Bartosz Przybylski
45650d2307
Sychronize methods for logging starting and stopping.
...
First of, this will prevent logs mixing, sencondly this will allow user to safely migrate data even when other thread will call logging functions
2016-08-17 18:56:19 +02:00
Bartosz Przybylski
17325dd43f
Update Log_OC.java
...
Fix typos
2016-08-17 18:56:19 +02:00
Bartosz Przybylski
080b3f56fc
Stop logging in exception free way
2016-08-17 18:56:19 +02:00
Bartosz Przybylski
9cbf572510
Add stopLogging method to Log_OC
2016-08-17 18:56:19 +02:00
Bartosz Przybylski
9adb155f7e
Bring back storagePath argument in startLogging
2016-08-17 18:56:19 +02:00
mendhak
df743af8c5
Merge branch 'master' into master
2016-08-10 18:11:28 +01:00
David A. Velasco
20c9830922
Updated copyright
2016-08-02 13:31:56 +02:00
David A. Velasco
f679e55933
Updated OwnCloudAccount#getDisplayName with better fallbacks
2016-06-16 12:14:47 +02:00
David A. Velasco
4d80ca096d
Removed annoying NONE value from OwnCloudAccount#getDisplayName
2016-06-15 10:21:20 +02:00
David A. Velasco
06f27a7c79
Undo buggy refactoring; too much to do in that sense to get it works
2016-06-09 10:54:08 +02:00
David A. Velasco
afe65bdc3f
Return user name when display name is unknown
2016-06-09 10:02:32 +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
0666f08ea6
Moved credentials charset constant out of interface, so that it's correctly initialized
2016-04-28 14:00:44 +02:00
Andy Scherzinger
3f89bf20a4
make "UTF-8" String a constant
2016-04-28 12:22:52 +02:00
Luke Owncloud
f69814f574
allows special chars in password
2016-04-28 12:22:52 +02:00
Luke Owncloud
256c607da8
allow special chars in password
2016-04-28 12:22:52 +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
0bfc385707
Improved detection of exceptions in uplaods due to local errors
2016-03-21 17:07:23 +01:00
David A. Velasco
78b9aa6247
Redirections to the Identity Provider (IdP) are translated into ResultCode.UNAUTHORIZED
2016-03-21 16:48:12 +01:00
Juan Carlos González Cabrero
023d8107ca
New Result code added to RemoteOperationResult
2016-03-21 16:48:12 +01:00
David A. Velasco
e6eb4b6e53
Added DELAYED_FOR_WIFI to RemoteOperationResult
2016-03-21 16:48:12 +01:00
David A. Velasco
8b91c71d6f
Updated build target to Android APIv23
2016-02-13 21:24:10 +01:00
mendhak
59af0394ec
Allow asynchronous execution without handler
2016-01-30 09:26:15 +00:00
mendhak
31836d3f4a
Merge remote-tracking branch 'upstream/master'
2016-01-30 08:34:24 +00:00
Lukas Reschke
d39d26f842
Close in finally block
2015-12-16 18:08:36 +01:00
Lukas Reschke
5c87414390
Close resource in finally block
...
I don't quite get the reason for `mBuf` here as in `com.owncloud.android.lib.common.utils.Log_OC#appendLog` anyways a new `BufferedWriter` is started but it might make sense to close this here as this will otherwise cause warnings in static code scanners.
Didn't test this as I don't have a Java device and so it requires extensive testing.
2015-12-16 18:08:35 +01:00
masensio
75581c18a4
Read capabilities to show the Share Options
2015-11-11 10:17:58 +01:00
David A. Velasco
ad60bc9e8e
Complete error handling and add error message from server to response
2015-10-30 14:55:03 +01:00
David A. Velasco
f61b466124
Improved ETag parsing
2015-09-28 10:49:45 +02:00
David A. Velasco
8bf276377c
Minor improvements for upload cancelation and conflicts in synchronization
2015-09-25 15:10:31 +02:00
Jorge Antonio Diaz-Benito Soriano
f753b1bde8
Added INVALID_COPY_INTO_DESCENDANT code
2015-08-18 13:14:12 +02:00