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
Jorge Antonio Diaz-Benito Soriano
0842c4c407
Added some neccesities for the copy operation
2015-08-18 13:11:31 +02:00
David A. Velasco
6752b25b8d
Added username to OwnCloudSamlSsoCredentials
2015-08-06 09:34:41 +02:00
mendhak
defe460a0a
Allow asynchronous execution without handler
2015-07-04 23:30:54 +01:00
David A. Velasco
c84530d359
Added helper method to check if a server version supports remote thumbnails
2015-06-23 10:44:09 +02:00
David A. Velasco
ff85ff2eef
Merge branch 'master' into develop
2015-06-22 11:15:46 +02:00
masensio
060ca75f17
Merge branch 'develop' into forbidden_characters_from_server
...
Conflicts:
src/com/owncloud/android/lib/common/operations/RemoteOperationResult.java
src/com/owncloud/android/lib/resources/files/RenameRemoteFileOperation.java
2015-06-15 14:41:27 +02:00
David A. Velasco
41dcc33730
Get that ExistenceCheckRemoteOperation remembers the sequence of followed redirections after its execution
...
Conflicts fixed:
src/com/owncloud/android/lib/common/operations/RemoteOperationResult.java
src/com/owncloud/android/lib/resources/files/RenameRemoteFileOperation.java
2015-06-11 10:32:05 +02:00
masensio
4ca0ff2203
Parse error 500 and InvalidPathException for Uploads
2015-06-03 11:09:58 +02:00
masensio
16c9147383
Parse and show the error of invalid characters coming from the server side: Move, Rename, Uploads
2015-06-03 00:32:19 +02:00