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

148 Commits

Author SHA1 Message Date
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
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
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
David A. Velasco
415d059f95 Merge branch 'develop' of https://github.com/LukeOwnCloud/android-library into LukeOwncloud-develop 2015-04-09 13:26:16 +02:00
David A. Velasco
2b2fc9171f Fixed deadlock in main thread due to SingleSessionManager synchronization 2015-03-31 09:35:09 +02:00
masensio
0e011fb0c7 Remove static string in RemoteOperation 2015-03-24 14:53:28 +01:00
masensio
9990eeb7ff Refactor parameter user_agent out of RemoteOperation and children 2015-03-24 14:31:40 +01:00
masensio
94ac3a93d3 Fix bug: User agent: jakarta is shown when doing GET request 2015-03-23 14:24:03 +01:00
masensio
87582c4a8e Add user-agent string to setup options 2015-03-18 17:08:19 +01:00
masensio
a1420ab00e Add userAgent in RemoteOperation 2015-03-13 13:37:23 +01:00
masensio
b36670adb1 Update imports 2015-03-09 14:19:12 +01:00
masensio
2f32ffbc1f Changes from comments in PR#55 2015-03-09 11:34:14 +01:00
masensio
91e4a44157 Fix bug: No files are shown when login in oc8.1 2015-03-06 10:13:21 +01:00