Commit graph

563 commits

Author SHA1 Message Date
David A. Velasco
fb8a8a2166 Fixed behaviour when authorization is denied by user; added toast message to explain the need to update credentials 2013-01-28 13:15:28 +01:00
David A. Velasco
63106c9238 Locked edition of URL and password in redirection due to expired credentials; error messages reviewed; fixed capture of redirection from web browser in OAuth 2013-01-25 15:11:10 +01:00
David A. Velasco
1e5aa5345f Fixed visibility of authorization details when the device is turned aside; removed unused classes from old OAuth flow 2013-01-24 18:31:40 +01:00
David A. Velasco
f440d30e42 Code ready to provide different icons for well-known MIME types 2013-01-24 13:34:27 +01:00
David A. Velasco
088b1e83a4 Cleaning-up AuthenticatorActivty code 2013-01-24 10:29:11 +01:00
David A. Velasco
e9f13d77ce Redirect app to login screen when any operation started from a foreground component fails due to bad credentials 2013-01-17 16:03:59 +01:00
David A. Velasco
2b5785556e Merge branch 'master' into oauth_login
Conflicts:
	AndroidManifest.xml
	res/values-de-rDE/strings.xml
	res/values-de/strings.xml
	res/values/strings.xml
	src/com/owncloud/android/Uploader.java
	src/com/owncloud/android/datamodel/FileDataStorageManager.java
	src/com/owncloud/android/files/OwnCloudFileObserver.java
	src/com/owncloud/android/files/services/FileDownloader.java
	src/com/owncloud/android/files/services/FileUploader.java
	src/com/owncloud/android/operations/RemoteOperationResult.java
	src/com/owncloud/android/syncadapter/FileSyncAdapter.java
	src/com/owncloud/android/ui/activity/AuthenticatorActivity.java
	src/com/owncloud/android/ui/activity/FileDisplayActivity.java
	src/com/owncloud/android/ui/activity/UploadFilesActivity.java
	src/com/owncloud/android/ui/fragment/FileDetailFragment.java
	src/com/owncloud/android/ui/fragment/OCFileListFragment.java
2013-01-17 14:25:49 +01:00
David A. Velasco
73f8797b75 Redirect app to login screen when operations in file details view fail due to bad credentials 2013-01-17 13:01:51 +01:00
David A. Velasco
7f881d1712 Merge branch 'master' into crash_fixes 2013-01-11 18:44:47 +01:00
David A. Velasco
4905f9a396 Fixed bug preventing the enter in empty folders when uploading files from external apps through 'share to' or 'send' 2013-01-10 16:12:59 +01:00
David A. Velasco
afa58b8ac6 Fixed bad update of details view for an uploading file when it finishes, resulting in a renamed file due to other file in the server with the same name ; and subsequent crash got by pressing 'Cancel' 2013-01-09 16:55:25 +01:00
David A. Velasco
a1a31b68d9 Fixed crash when an upload is confirmed with no file selected 2013-01-08 17:48:58 +01:00
jmiazga
124b43cb4e text selection is kept when user toggles between visible and non visible password 2013-01-04 09:40:13 -05:00
David A. Velasco
11b88e0fcc Added support to OAuth2 'authorization code' grat type: get & save access token, use it to access ownCloud 2012-12-19 14:12:53 +01:00
David A. Velasco
c38a3b2ef1 Merge master into oauth_login 2012-12-18 11:20:03 +01:00
David A. Velasco
5be4bf17e1 Adding support to OAuth2 'authorization code' grant type [WIP] 2012-12-18 11:07:05 +01:00
David A. Velasco
279670c303 Merge remote-tracking branch 'origin/sync_review_2' 2012-12-05 23:23:10 +01:00
David A. Velasco
082c11a1e3 Fixed movement of files: parent folder must be created before move; besides, extra checks to avoid NULL pointers in dialogs 2012-12-05 12:37:37 +01:00
David A. Velasco
80448dc192 Fixed NULL pointers and wrong handling of dialogs 2012-12-05 12:22:26 +01:00
David A. Velasco
8361540852 Fixed lack of File#getUsableSpace() in Android versions previous to GINGERBREAD 2012-12-04 14:36:49 +01:00
David A. Velasco
4558866223 Give the user a chance to move the files selected for an upload when there is not space enough to copy them into the ownCloud folder 2012-12-04 14:20:02 +01:00
David A. Velasco
f68d10abc7 Give the user the option to move all the foreign files into the ownCloud local folder when the try to copy them during an account synchronization failed 2012-12-04 12:49:18 +01:00
David A. Velasco
801d8922d3 Fixed bug: toast message infinitely repeated 2012-11-30 15:10:48 +01:00
David A. Velasco
9f8814c557 Fixed bug: toast message infinitely repeated 2012-11-30 13:18:17 +01:00
David A. Velasco
3ef64834e9 Added scroll to generic explanation activity. Enabled the copy of past uploads into ownCloud folder during synchronization. 2012-11-30 11:58:46 +01:00
David A. Velasco
2a913bfbeb Files uploaded in the past are copied to the local ownCloud directory during account synchronization 2012-11-30 11:29:18 +01:00
David A. Velasco
236895e7f8 Refactored app name in strings.xml 2012-11-29 12:26:55 +01:00
David A. Velasco
757f9027f5 Updating language strings; some hardcoded strings moved to strings.xml; workaround for bug in error popup 2012-11-29 11:28:34 +01:00
David A. Velasco
a1c538db20 Some cleanup 2012-11-27 15:15:17 +01:00
David A. Velasco
a7cbc53251 Merge branch 'long_press' 2012-11-23 14:32:58 +01:00
David A. Velasco
ba52dfdf9d Updated 'always download' item in context menu on list of files to 'download / refresh' item , such as in details view 2012-11-23 14:30:36 +01:00
David A. Velasco
e4bc3bdadc Workaround to show hidden accents in options menu 2012-11-23 12:00:26 +01:00
David A. Velasco
4c50eb4d2d Merge of master after sync_review was merged into it 2012-11-23 10:25:06 +01:00
David A. Velasco
3f2081e607 Ensure that FileDownloader and FileUploader events are not lost 2012-11-22 16:40:00 +01:00
David A. Velasco
658267ad79 Disable rename and remove actions on folders when some file is uploading or downloading inside 2012-11-22 13:06:54 +01:00
David A. Velasco
7fa9885738 Fixed crash when a folder is deleted while some of its contained files is downloading 2012-11-22 10:51:54 +01:00
David A. Velasco
d49bfd0c77 Added title to rename dialog; and some cleaning 2012-11-22 10:24:26 +01:00
David A. Velasco
6de96a9817 Fix conflict dialog to finish the container activity if BACK is pressed 2012-11-21 17:48:56 +01:00
David A. Velasco
d0b7df16e7 Fixed database update due to renaming folders 2012-11-21 14:32:40 +01:00
David A. Velasco
38a80be828 Fixed lock of buttons in details view when the 'Keep both' option in conflicts dialog is used 2012-11-20 14:41:04 +01:00
David A. Velasco
195b009212 Fixed 'keep both' action in conflicts dialog (both resulting file were linked to the same local file in the device) 2012-11-20 14:12:32 +01:00
David A. Velasco
69ac5b6bfb ConlictsResolveActivity is finished when the user cancels the ConflictsResolverDialog 2012-11-20 11:40:58 +01:00
David A. Velasco
9c38fbae1d Buttons in details view are unlocked when after a failed 'refresh' click (due to server is down) 2012-11-20 11:00:56 +01:00
David A. Velasco
c301865c35 Synchronize kept-in-sync files during account synchronization, in both directions and considering conflicts 2012-11-16 16:23:45 +01:00
David A. Velasco
3defb175cb Bug fixed: download followed by refresh always resulted in upload, although the file was not changed 2012-11-16 10:28:46 +01:00
David A. Velasco
a7ee15e023 Renaming confussing token 2012-11-16 09:42:51 +01:00
David A. Velasco
97dd59063b Fixed bug: when a file is checked as 'keep in sync' and the immediate synchronization results in an upload, when this finish the 'kepp in sync' check was being forgotten; not more 2012-11-15 19:29:30 +01:00
David A. Velasco
ff2271a8c5 Download button in file details view upgraded to sync file content in both directions 2012-11-15 17:18:04 +01:00
David A. Velasco
bd38627e14 Fixed lack of observance for files that are set as favourites when never were download before 2012-11-14 15:00:53 +01:00
David A. Velasco
9aab2d26da Fixed local path NULL when making favourite a file not down ; fixed change of local path for uploaded file when redownloading 2012-11-12 15:20:00 +01:00
David A. Velasco
85e9a40dbe Fixed update of right fragment when actions in the context menu of the left fragment are completed, in large-landscape devices 2012-11-08 17:21:45 +01:00
David A. Velasco
405e801bf6 Fixed icon that toggles password visibility 2012-11-08 10:09:47 +01:00
David A. Velasco
0438f77560 More polite return for menus 2012-11-07 15:31:09 +01:00
David A. Velasco
ac6b3d25ac Open, download and cancel operations linked to contextual menu for files 2012-11-07 14:17:58 +01:00
David A. Velasco
500cbf9cea New items in the context menu for files (not folders), depending upon its state 2012-11-06 15:13:27 +01:00
David A. Velasco
b27ebf0310 Removal of folders completed 2012-11-05 15:44:09 +01:00
David A. Velasco
cab55a8edd Login page updated to get OAuth2 access token 2012-10-31 18:59:43 +01:00
David A. Velasco
454f15138e Rename and remove operations connected to the contextual menu over items at the list of files 2012-10-31 17:41:57 +01:00
David A. Velasco
cc1eb7a352 SSL warning with more information about certificate, accessible through a new 'Details' button 2012-10-29 15:03:34 +01:00
Bartek Przybylski
92080afefc add licence header to files 2012-10-28 00:12:15 +02:00
Bartek Przybylski
6c32365704 Solving modified date and length conflicts 2012-10-27 12:20:52 +02:00
David A. Velasco
c6a3abf05b No more Canonical Names in log TAGs 2012-10-26 13:45:59 +02:00
David A. Velasco
5af0fb44b4 Refactored renaming operation (inherits RemoteOperation, so generates RemoteOperationResult) 2012-10-26 11:34:20 +02:00
David A. Velasco
2c04c31d90 Removed unused class ConnectionCheckerRunnable, and moved ConnectionCheckOperation to .operations package 2012-10-25 16:01:29 +02:00
David A. Velasco
900563e245 Refactored remove file operation (inherits RemoteOperation, so generates RemoteOperationResult) 2012-10-25 14:21:01 +02:00
David A. Velasco
d5a327c342 Merge two-way synch changes with synch-service refactoring for SSL warning 2012-10-25 10:41:24 +02:00
David A. Velasco
808d2a74ab Updating synchronization for providing SSL warning when necessary; STEP 2: added SSL warning dialog in FileDisplayActivity 2012-10-23 15:35:47 +02:00
Bartek Przybylski
de94751cde Two way synchronization for files 2012-10-22 21:15:26 +02:00
David A. Velasco
5c0faf237d Fixed error in first synchronization, once again 2012-10-18 19:11:59 +02:00
David A. Velasco
2bef10d847 Undone the background message in empty folders 2012-10-18 10:53:47 +02:00
David A. Velasco
97f21ee7be About message moved to strings.xml 2012-10-17 19:34:31 +02:00
David A. Velasco
d0f7de3ce0 Added help text in background of empty files list 2012-10-17 19:22:40 +02:00
David A. Velasco
0bb59e0f9b Keep the same item in the CENTER of the files list when the device is turned to other position 2012-10-17 13:45:19 +02:00
David A. Velasco
d193e0031b Added explanation in the view for PIN Code creation 2012-10-17 11:04:27 +02:00
David A. Velasco
c7a2866454 Fixed problem in first-ever synchronization introduced while refactoring list adapters 2012-10-15 12:57:14 +02:00
David A. Velasco
27112bd200 Cancellation in uploads and access to details view pressing the status notification 2012-10-11 16:40:56 +02:00
David A. Velasco
b0ab3ce087 Merge remote-tracking branch 'origin/master' into cancel_in_upload
Conflicts:
	src/com/owncloud/android/ui/activity/FileDisplayActivity.java
2012-10-11 11:40:15 +02:00
David A. Velasco
7fead3cb22 Fixing NULL pointer in execution without accounts created 2012-10-11 11:33:13 +02:00
David A. Velasco
5fc7cd13e7 Adding cancellation to uploads (WIP) 2012-10-11 11:24:17 +02:00
David A. Velasco
7382fa84b0 Fixed update of double pane view when download in notification bar is pressed in landspace mode 2012-10-10 16:18:11 +02:00
David A. Velasco
b416f87c92 Fixed crash when download notification is pressed in landscape mode 2012-10-10 13:45:04 +02:00
David A. Velasco
25f307c98a Show the details of a file when the status notification of a download in progress is clicked 2012-10-10 13:13:22 +02:00
David A. Velasco
b246cf7075 Improved cancellation of downloads: fast abort of operation and fixed thread synchronization 2012-10-10 11:30:47 +02:00
David A. Velasco
68ce2e7a38 Download service refactoring: multiple downloads and cancellation support 2012-10-09 14:53:25 +02:00
David A. Velasco
76ba00b2b2 Cancellation of current download in details view - UI changes 2012-10-08 09:03:12 +02:00
David A. Velasco
557126eecf Fixed crash by ArrayOutOfBoundsException and general review of methods in FileListListAdapter 2012-10-04 08:56:48 +02:00
David A. Velasco
a2d4e98a7e Files list position is kept when the orientation changes 2012-10-03 16:48:06 +02:00
Bartek Przybylski
981bf05434 remove all warning from project 2012-09-29 23:55:19 +02:00
Bartek Przybylski
aa14479e5b removing some obvious warnings as first step to -Werror 2012-09-29 23:17:39 +02:00
Bartek Przybylski
c7dc135987 removing crash handler, we not have google play reports 2012-09-29 22:48:50 +02:00
David A. Velasco
8eae3a2be5 Favourites disabled until fix can be pushed 2012-09-14 14:27:50 +02:00
David A. Velasco
eda7243130 Fixed crash when the device is turned while the warning dialog about server certificates is shown 2012-09-14 11:33:25 +02:00
David A. Velasco
68667d0614 Removed crashlogger and permission request to read system logs 2012-09-13 17:51:27 +02:00
David A. Velasco
bf3cf8cdff Server certificates improvements: fixed problems in devices with OpenSSL implementations 'forgetting' CertificateExceptions ; and removed useless workaround for Android 2.x 2012-09-13 17:07:17 +02:00
David A. Velasco
261aaf5001 Improvements in SSL certifcates checking: URL is checked with the hostname in the certificate and all the problems are shown in the same dialog 2012-09-07 14:11:08 +02:00
David A. Velasco
301b2760ba Fixed java.lang.ClassCastException entered in the previous update 2012-09-05 16:02:42 +02:00
David A. Velasco
48f13c8adc SSL connections update: notice about untrusted certificates and allow the user save them as reliable 2012-09-05 13:46:30 +02:00
David A. Velasco
91bc3fdb1e Added notification for failures in manual synchronizations; some improvements in the management of exceptions occurred while synchronizing (more TODO) 2012-08-23 17:09:05 +02:00
David A. Velasco
11117ace15 Granted update of file list view after removing the currently selected account from 'manage accounts' activity 2012-08-23 11:28:40 +02:00
Bartek Przybylski
ba148a8278 complete two way synchronization 2012-08-22 19:33:22 +02:00
David A. Velasco
fbd720e887 Fixing rare crashes in the login page 2012-08-22 16:05:32 +02:00
David A. Velasco
938c78466b Local files are protected against removal because of synchronization when out of the owncloud folder 2012-08-22 12:50:06 +02:00
David A. Velasco
081b333eb1 Added link to register a new user at owncloud.com ; fixed cancel button in account creation for SGS3 2012-08-20 14:36:46 +02:00
Bartek Przybylski
1f57ae3b1e update image when list element is touched
this is required from introduction of project butter
before that view was invalidated on any action, which
was slowing down UI
2012-08-18 12:02:21 +02:00
David A. Velasco
99d52af203 Refactoring of WebdavClient creation and setup 2012-08-16 16:06:12 +02:00
David A. Velasco
1ecd2b61c5 Multiple upload available from the app 2012-08-14 12:37:08 +02:00
David A. Velasco
f4b82b1a92 Removed useless file 2012-08-08 12:36:38 +02:00
David A. Velasco
58ebd9d7e1 FIleDisplayActivity refactored to fix view never updated after installation in some devices and problems when all the accounts are deleted 2012-08-08 12:30:11 +02:00
David A. Velasco
6ef3fa77ef Added forgotten trim()s on the content of the URL field 2012-08-03 12:56:50 +02:00
David A. Velasco
38ece35da5 Fixed crash by URL with whitespaces in login page; reviewed error handling and user info in connection checking 2012-08-02 13:28:33 +02:00
David A. Velasco
fa6d145f91 Details view is quited when browsing to the parent folder 2012-08-01 11:20:42 +02:00
David A. Velasco
6b765c7ad2 Updated some minor strings with the new app package 2012-08-01 10:00:43 +02:00
Bartek Przybylski
a4ba6170ea moving from eu.alefzero.eu to com.owncloud.android 2012-07-31 17:43:37 +02:00