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

208 Commits

Author SHA1 Message Date
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
Lukas Reschke
b102d1cdf9 Change the order to prevent NullPointerExceptions 2015-06-02 16:56:35 +02:00
Lukas Reschke
267c7cfd08 Use .equals instead of !=
This code never worked. Please consider adding unit tests.
2015-06-02 16:51:25 +02:00
masensio
2b09aa2a89 Parse and show the error of invalid characters coming from the server side. Show new message in CreationFolder 2015-06-02 13:07:43 +02:00
masensio
9fc332eef9 Filter only '/' character in user input when version of server is 8.1 or later 2015-06-02 09:37:46 +02:00
masensio
409e8d6671 Fix problems reading quota values: NullPointerException 2015-05-26 13:43:30 +02:00
masensio
0449645fca Changes from comments in PR#63 2015-05-15 10:51:34 +02:00
masensio
0e7319e4ed Adapt WebDav parser for receiving exponential values in QUOTAS 2015-05-11 14:29:55 +02:00
David A. Velasco
ddb8648809 Added version for OC accounts 2015-04-15 12:50:33 +02:00
masensio
21c329aa12 Set new pattern for account name 2015-04-13 13:30:31 +02:00