Commit graph

614 commits

Author SHA1 Message Date
David A. Velasco
def870aa0f Fixed bug: show the selected image in the gallery, instead of always the first in the folder 2013-02-26 12:49:15 +01:00
David A. Velasco
fc2af5b03e Automatic preview after download in PreviewImageActivity 2013-02-26 12:33:28 +01:00
David A. Velasco
31a31bcf39 Fixed bug when turning the device to other position 2013-02-25 15:24:37 +01:00
David A. Velasco
cb66b59918 Minimize new fragment to monitor the progress of file download 2013-02-25 15:19:18 +01:00
David A. Velasco
d7e0519294 Added view pager for scrolling image previews with horizontal swipe 2013-02-25 14:33:16 +01:00
David A. Velasco
3d272eb753 Force preview of images in 'full screen' 2013-02-25 12:24:14 +01:00
Matthias Baumann
f764980474 - extend existing FileUpload, so we can handel failed instand upload
later
- new Activity to handle failed instant uploads
- new Activity InstantUploadActivity can be started at two ways,
     -touch to the 'Faild Upload Notifivation'
     -submenue underneath the upload menue  
- merges from head
- add lazy loading for the images list with failed uploads
2013-02-25 08:21:33 +01:00
David A. Velasco
0c75a839f2 Automatic download of previewable files in download mode 2013-02-22 16:39:58 +01:00
David A. Velasco
559ab6566b Automatic download of previewable files in portrait mode 2013-02-22 15:27:22 +01:00
David A. Velasco
0a924c67d3 Fixed update of progress bar for file transfers in landscape mode 2013-02-22 14:14:28 +01:00
David A. Velasco
bcc7bd2744 Fixed ClassCastException in FileUploader 2013-02-21 09:57:23 +01:00
David A. Velasco
dcde6e9283 FIX: IMPORTANT, to keep the life cicle of fragments, super() must be called in @onSaveInstaceState, at the holder Activity 2013-02-20 15:59:45 +01:00
David A. Velasco
e8ae33b628 Fix: clicking on an upload notification goes to file details, never to file preview 2013-02-20 15:58:29 +01:00
David A. Velasco
1c978b8aaf Visibility fixes in progress bar 2013-02-20 13:09:03 +01:00
David A. Velasco
cfb68a69dd Progress bar in details view is successfully updated 2013-02-20 12:34:11 +01:00
David A. Velasco
fb8194b7eb Fixed ClassCastingException 2013-02-20 10:06:18 +01:00
David A. Velasco
24dd513682 Added progress bar for file transfers in details view (untested) 2013-02-19 13:28:01 +01:00
David A. Velasco
f2474ae28d Added basic menu options to the preview fragment: open, delete, see details 2013-02-18 11:23:18 +01:00
David A. Velasco
7ffe1196d3 Now it can be build :\ ... 2013-02-15 09:58:53 +01:00
David A. Velasco
7101a04247 Created preview fragment to show previews for audio, video and images; shown when a downloaded file in these categories is downloaded 2013-02-14 19:21:09 +01:00
David A. Velasco
ba6eafccb8 Do not try to play files in streaming by now 2013-02-12 12:19:38 +01:00
David A. Velasco
9420651936 Error messages for media playback improved 2013-02-12 12:07:42 +01:00
David A. Velasco
11c1ad8f78 Fixed bad behaviours when an error occurrs during audio playback 2013-02-12 11:26:38 +01:00
David A. Velasco
e4cd3fe54c Removed unused code in MediaService 2013-02-11 12:46:50 +01:00
David A. Velasco
6103446ab8 Error messages for video playback reviewed 2013-02-11 11:33:50 +01:00
David A. Velasco
2623e9c195 Replaced GPL v3 with GPL v2; PLEASE, note that GPL v2 still allows the code is used under the terms of later versions of GPL, depending upon the will of the user, so no right is being diminished 2013-02-08 09:22:46 +01:00
David A. Velasco
ccfd7772df Removed some unused classes 2013-02-08 09:05:37 +01:00
David A. Velasco
bb257ec729 Updated copyright in source files 2013-02-07 18:45:10 +01:00
David A. Velasco
586793a261 Basic video preview in a separate actitivy 2013-02-07 11:09:28 +01:00
David A. Velasco
18bf35a809 Added MediaController user interface to handle audio files in the MediaService 2013-02-06 14:14:55 +01:00
David A. Velasco
7018ae7e1f Added music player service in background; 'open' button in details used to test (temporal) 2013-02-05 12:20:47 +01:00
David A. Velasco
0f99bd59a1 HOTFIX (oc 1.3.20, ocw 1.0.2): fixed the creation of new accounts after installing the workaround app and rebooting 2013-01-31 16:17:32 +01:00
David A. Velasco
37f0586c47 Merge branch 'file_icons' into workaround_integration 2013-01-30 13:49:36 +01:00
David A. Velasco
5da9c095a4 Added dialog in the main app to advise users about the workaround app 2013-01-30 13:46:15 +01:00
David A. Velasco
f1f8c749d1 Save new token / credentials to make them permanent 2013-01-29 11:49:42 +01:00
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
d6f725bfeb Fixed icon for text files 2013-01-24 14:03:38 +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
ac07e35d8a Merge remote-tracking branch 'origin/oauth_login' into oauth_login 2013-01-24 10:30:18 +01:00
David A. Velasco
088b1e83a4 Cleaning-up AuthenticatorActivty code 2013-01-24 10:29:11 +01:00
David A. Velasco
aa19d76441 Cleaning-up AuthenticatorActivty code 2013-01-24 10:27:53 +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
f91d3ce792 Fixed null pointer in FileObserverService initialization 2013-01-14 12:38:46 +01:00
David A. Velasco
7f881d1712 Merge branch 'master' into crash_fixes 2013-01-11 18:44:47 +01:00
David A. Velasco
05d053beae Merge pull request #66 from jmiazga/master
Issue 46 fix
2013-01-11 05:37:42 -08:00
David A. Velasco
7239b9eb9d Translations update 2013-01-10 18:38:41 +01:00
David A. Velasco
840c842f03 Fixed bug: empty folders are kept in device database when sucessfully removed 2013-01-10 16:27:05 +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
471bff2aec Fixed crash when uploading a file in any account after cleaning app data 2013-01-10 11:39:22 +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
35b25f04eb Fixed crash in test of files downloading / uploading 2013-01-09 10:11:21 +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
David A. Velasco
6faa03a084 Remove unused Object member causing problems with serialization; back to previous serializationUID 2013-01-08 17:31:04 +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
66442da081 Fixed double upload of files with OAuth + Bearer authorization 2012-12-19 18:42:38 +01: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
e83a73cb9d Avoid the necessity to synchronize the account after the upgrade to 1.3.16 2012-12-10 14:01:45 +01:00
David A. Velasco
2b5bb1fb90 Minimize the number of unnecessary file trasnfers after the upgrade to 1.3.16 for files already in the device 2012-12-06 15:28:12 +01:00
David A. Velasco
f74e7ab11a Merge remote-tracking branch 'origin/sync_review_2' 2012-12-06 14:03:50 +01:00
David A. Velasco
a08c92cf9a Fixed bug in synchronization after adding new field to improve the check of changes in server 2012-12-06 14:02:09 +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
abd5f51554 Fixed check of modifications applied in server (still based on modification date) 2012-12-05 16:14:01 +01:00
David A. Velasco
4476c04736 Fixed copy and movement of files to ownCloud local folder with explicit creation of parent directory and target file 2012-12-05 16:01:19 +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
a7535406d4 Customized error message for uploads when the local file cannot by copied to the ownCloud local directory 2012-11-30 14:39:31 +01:00
David A. Velasco
b59784af89 No more NULL pointers from getDirectoryContent (2) 2012-11-30 13:33:23 +01:00
David A. Velasco
e81a7790eb No more NULL pointers from getDirectoryContent 2012-11-30 13:28:00 +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
fd9086a883 New policy: uploaded files are copied to the local storage ownCloud directory bu default 2012-11-27 14:28:19 +01:00
David A. Velasco
b83064eb83 Merge pull request #7 from Mic92/master
Fix Typos in DbHandler
2012-11-26 04:05:08 -08: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
60d0a121b7 Removal of a folder (or file) not already existing in the server is considered a success 2012-11-22 13:35:07 +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
ccb796173b Fixed bug: renaming a folder could miss-update the storage path of children not-down files if a download file is in the folder 2012-11-21 16:28:20 +01:00
David A. Velasco
f03852032f Fixed old bug reintroduced in instant uploads 2012-11-21 16:19:27 +01:00
David A. Velasco
70c663008b Fixed rename of local copy of files 2012-11-21 14:48:34 +01:00
David A. Velasco
d0b7df16e7 Fixed database update due to renaming folders 2012-11-21 14:32:40 +01:00
David A. Velasco
db0e2d0186 Reviewed values set to OCFile#mLastSyncDateForData 2012-11-21 08:54:15 +01:00
David A. Velasco
9c3dc6d850 Fixed crash in initialization of FileObserverService 2012-11-20 14:48:44 +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
3fd56ecff8 Fixed bug: inconsistency in isDown() state due to old OCFile object being saved in the OwnCloudFileObserver instances 2012-11-20 11:28:27 +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
22a789e8d2 Fixed some bugs in the update of OCFile#mLastSyncDateForProperties at account synchronization time ; and some refactoring 2012-11-19 15:08:48 +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
b12ca42b45 Studying lack of upload when a file that was not previously down is set as favourite, then immediately opened and modified [WIP] 2012-11-13 16:01:13 +01:00
David A. Velasco
925a0554e5 Granted update of modificationTimestamp with the end of downloads and uploads 2012-11-13 15:59:05 +01:00
David A. Velasco
aef73a5263 Context handling made consistent 2012-11-13 11:38:00 +01:00
David A. Velasco
4460e43145 Grant that a favourite file in the device is watched if a redownload fails 2012-11-13 10:39:37 +01:00
David A. Velasco
e7b5284983 Remove observed file when requested although the list of observed had to be reinitialized 2012-11-13 10:26:35 +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
Bartek Przybylski
0348e3df37 increase synchronization period to 24h 2012-11-06 16:51:42 +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
1baa27a440 Rename of folders completed (by now) 2012-11-06 13:35:08 +01:00
David A. Velasco
b27ebf0310 Removal of folders completed 2012-11-05 15:44:09 +01:00
Jörg Thalheim
2befbc8914 fix typo in classname: OpenerHepler -> OpenerHelper 2012-10-31 19:27:11 +01:00
Jörg Thalheim
3aaae90b9b fix typo in database schema 2012-10-31 19:24:35 +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
463194d0b4 Merge remote-tracking branch 'origin/master' into long_press 2012-10-31 17:52:28 +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
Bartek Przybylski
cce7e1247a assign octet-stream mimetype to unknown type file 2012-10-30 22:36:50 +01:00
David A. Velasco
4ee11fa748 Fixed folder detection, now WebDAV compliant 2012-10-30 11:24:09 +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
47acd9b4c3 Remove locking of readonly channel 2012-10-28 10:24:27 +01:00
Bartek Przybylski
92080afefc add licence header to files 2012-10-28 00:12:15 +02:00
Bartek Przybylski
0f1065e53a upload file only on write close 2012-10-27 21:55:24 +02:00
Bartek Przybylski
6c32365704 Solving modified date and length conflicts 2012-10-27 12:20:52 +02:00
David A. Velasco
7ebcda4d81 Increased chunk size up to 1MB 2012-10-26 15:42:05 +02:00
David A. Velasco
30c934fe37 Character % is rejected for names of files when renaming 2012-10-26 13:49:03 +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
d25af7eea5 Changed the synchronization process to limit the number and type of failures supported before stop 2012-10-24 19:39:55 +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
David A. Velasco
6e469559c5 Updating synchronization for providing SSL warning when necessary; step 1: refactoring based in RemoteOperation (DONE) 2012-10-23 12:47:29 +02:00