Commit graph

261 commits

Author SHA1 Message Date
David A. Velasco
2a95f59adc Fixed bug when turning tablet with no file in the right fragment
Conflicts:

	src/com/owncloud/android/ui/activity/FileDisplayActivity.java
2013-05-03 13:14:32 +02:00
David A. Velasco
f6846b6686 Fixed flow from click on (up|down)load notifications in landscape tablets: dual pane, please 2013-05-02 16:34:38 +02:00
David A. Velasco
00328cb889 Video previews reworked to provide seamless playback in turns and changes between fullscreen and embedded, in any combination and order 2013-04-30 13:16:08 +02:00
zerginator
5b9bf1ad3f Issue #28 folders don't show date and size info 2013-04-28 15:19:34 +02:00
David A. Velasco
6496b9200d Video embedded mantains its playback state when the device is turned to other orientation 2013-04-26 14:02:17 +02:00
David A. Velasco
2946d8dd69 Merge branch 'develop' into oauth_login
Conflicts:
	AndroidManifest.xml
	res/values/strings.xml
	src/com/owncloud/android/Uploader.java
	src/com/owncloud/android/authentication/AccountAuthenticator.java
	src/com/owncloud/android/authenticator/AuthenticationRunnable.java
	src/com/owncloud/android/authenticator/OnAuthenticationResultListener.java
	src/com/owncloud/android/authenticator/OnConnectCheckListener.java
	src/com/owncloud/android/files/InstantUploadBroadcastReceiver.java
	src/com/owncloud/android/files/services/FileDownloader.java
	src/com/owncloud/android/files/services/FileOperation.java
	src/com/owncloud/android/files/services/FileUploader.java
	src/com/owncloud/android/network/OwnCloudClientUtils.java
	src/com/owncloud/android/operations/RemoteOperationResult.java
	src/com/owncloud/android/operations/UpdateOCVersionOperation.java
	src/com/owncloud/android/syncadapter/FileSyncAdapter.java
	src/com/owncloud/android/ui/activity/AccountSelectActivity.java
	src/com/owncloud/android/ui/activity/AuthenticatorActivity.java
	src/com/owncloud/android/ui/activity/FileDisplayActivity.java
	src/com/owncloud/android/ui/fragment/FileDetailFragment.java
	src/eu/alefzero/webdav/WebdavClient.java
2013-04-25 19:39:22 +02:00
David A. Velasco
6a6d83311f Avoid duplicated 'refresh file' entry in context menu on an item in the list of files 2013-04-24 11:04:23 +02:00
David A. Velasco
850d7a115d Fixed: hide all the actions for single file when none of them is selected in the landscape view 2013-04-22 15:11:09 +02:00
David A. Velasco
803568ab27 Moved buttons in details view to options/action menu 2013-04-22 14:34:42 +02:00
David A. Velasco
9ad30bdded Refactored path to directory for instant uploads; fixed some problems with first upload for never-synchronized accounts 2013-04-17 18:00:31 +02:00
David A. Velasco
bdc0332c23 Copyright note fixes 2013-04-17 12:26:13 +02:00
David A. Velasco
5bcfed8eae Select name of file in the 'rename' dialog, excluding extension
Conflicts:

	src/com/owncloud/android/ui/activity/FileDisplayActivity.java
2013-04-15 14:29:30 +02:00
David A. Velasco
be51b2c4aa Fixed regression after merge: removed 'about' entry in menu 2013-04-15 13:48:04 +02:00
David A. Velasco
7052e3b5b8 About in settings, more i18n-friendly 2013-04-15 13:45:20 +02:00
David A. Velasco
1003ecb7be Moved log path definition to FileStorageUtils 2013-04-15 13:32:49 +02:00
David A. Velasco
274dfd2958 Used Log_OC in all the logs 2013-04-15 13:17:47 +02:00
David A. Velasco
c3ca5b5a4f Merge branch 'develop' into loggingtool
Conflicts:
	AndroidManifest.xml
	res/menu/main_menu.xml
	src/com/owncloud/android/datamodel/OCFile.java
	src/com/owncloud/android/files/services/FileDownloader.java
	src/com/owncloud/android/files/services/InstantUploadService.java
	src/com/owncloud/android/operations/SynchronizeFileOperation.java
	src/com/owncloud/android/operations/UploadFileOperation.java
	src/com/owncloud/android/ui/activity/FileDetailActivity.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
	src/eu/alefzero/webdav/ChunkFromFileChannelRequestEntity.java
	src/eu/alefzero/webdav/FileRequestEntity.java
	src/eu/alefzero/webdav/WebdavClient.java
2013-04-15 13:12:04 +02:00
David A. Velasco
56f1df02c4 Merge branch 'feature_previews' into develop
Conflicts:
	src/com/owncloud/android/ui/activity/FileDisplayActivity.java
2013-04-12 12:46:18 +02:00
David A. Velasco
8aeb5243b7 Merge branch 'bug_hunting' into develop
Conflicts:
	src/com/owncloud/android/ui/activity/FileDisplayActivity.java
2013-04-12 12:34:17 +02:00
David A. Velasco
2a42651463 Fixed (tablet landscape): video playback is resumed in the moment it was left when the user pressed HOME 2013-04-11 16:56:51 +02:00
David A. Velasco
a11e7fd900 Fixed undesired video loop after completion, caused by bugs in GINGERBREAD 2013-04-10 13:07:10 +02:00
David A. Velasco
bed905c9b8 Fixed (tablet, landscape): when the 'playing audio' notification is clicked, the app shows the current playback details 2013-04-09 14:10:10 +02:00
David A. Velasco
8638936ce7 Merge branch 'bug_hunting' into feature_previews 2013-04-09 12:54:24 +02:00
David A. Velasco
7edc384f7e Patch to fix the lack of progress circle at the first sycnhronization of the first-created account, in Android 2.x 2013-04-09 11:17:28 +02:00
David A. Velasco
9b758dfa70 Recovery of instant uploads in temporary disabled 2013-04-04 17:15:53 +02:00
David A. Velasco
053aad5ae1 Merge branch 'bug_hunting' into feature_previews
Conflicts:
	src/com/owncloud/android/ui/activity/FileDisplayActivity.java
2013-04-04 16:49:04 +02:00
David A. Velasco
77ddd1ccb6 Merge branch 'develop' into feature_previews
Conflicts:
	AndroidManifest.xml
	res/menu/file_context_menu.xml
	res/menu/menu.xml
	res/values-de-rDE/strings.xml
	res/values/strings.xml
	src/com/owncloud/android/files/services/FileUploader.java
	src/com/owncloud/android/operations/UploadFileOperation.java
	src/com/owncloud/android/ui/activity/FileDisplayActivity.java
2013-04-04 16:44:30 +02:00
zerginator
5a22c7e79f Cleaned stuff , add a history delete button and renamed
Log2EmailActivity in LogHistoryActivity
2013-04-01 10:26:40 +02:00
David A. Velasco
fa80179106 Fixed undesired restart of finished audio previews when the device orientation changes 2013-03-22 13:04:57 +01:00
David A. Velasco
83379d2674 Quick & dirty fix to avoid that 'create folder' dialog keeps the name of the last created dialog in the input field 2013-03-21 17:53:02 +01:00
David A. Velasco
1236edf9b0 Improvementes in full screen video: tap on video shows and hides controls; full screen available in portrait; fade out for controls reduced to 4 seconds 2013-03-21 15:49:10 +01:00
David A. Velasco
69d6d821ec OAuth clean-up and refactoring 2013-03-21 12:21:48 +01:00
David A. Velasco
5665d9c306 Merge tag 'oc-android-1-3-22' into oauth_login
Conflicts:
	AndroidManifest.xml
	src/com/owncloud/android/authenticator/AuthenticationRunnable.java
	src/com/owncloud/android/authenticator/OnAuthenticationResultListener.java
	src/com/owncloud/android/authenticator/OnConnectCheckListener.java
	src/com/owncloud/android/files/services/FileOperation.java
	src/com/owncloud/android/files/services/InstantUploadService.java
	src/com/owncloud/android/ui/activity/AuthenticatorActivity.java
2013-03-18 14:28:49 +01:00
David A. Velasco
7d84fd0c9f Refresh authorization token on failed synchronizations when notification error is clicked 2013-03-18 14:05:34 +01:00
Matthias Baumann
6c5f561342 - exclude none InstantUpload from InstantUploadActivity
- add simple Activity for none InstantUloads to show the whole
error-message
2013-03-17 10:38:42 +01:00
Matthias Baumann
7392cfe5ab - InstantUpload path const not longer at two places, only at
InstantUploadService
- new method to create the full path for the instantupload's
- add QUOTA_EXCEEDED to RemoteOperationResult.ResultCode enum to hande
http-507 from oc
- handle RuntimeException at connection lost as HOST_NOT_AVAILABLE
- add the error message for failed uploads for every not uploaded
picture, espacially  for QUOTA_EXCEEDED is it necessary to show that to
the user
2013-03-16 18:56:27 +01:00
David A. Velasco
bc5c3f5f06 Added full screen video when embedded video is touched 2013-03-14 16:55:57 +01:00
David A. Velasco
2c2efa286d Saved isplaying state to avoid autoplay when a video is paused and the device orientation is changed 2013-03-13 12:21:33 +01:00
David A. Velasco
ce7f7fa48c Update image of play/pause button when audio playback starts 2013-03-12 14:36:31 +01:00
zerginator
8e36e7cc3e This wraps the android.util.logging into Log_OC which , if its enabled
in the app, logs the logcat into a file. It also includes the phone
information (MODEL, VERSION...)

https://github.com/owncloud/android/issues/97
2013-03-12 07:56:27 +01:00
David A. Velasco
7d67737a4f Updating translation files... 2013-03-11 13:27:56 +01:00
David A. Velasco
a99f74bd9e Disable change log; to remove in future 2013-03-11 12:45:50 +01:00
David A. Velasco
ca8a19850b Improving our own media control: removed 'next' and 'previous' buttons, removed undesired 'show' and 'hide' behaviour, fixed update of progress bar, recovered BACK button 2013-03-11 10:20:04 +01:00
zerginator
18a715072c moved About App into preferences
https://github.com/owncloud/android/issues/57
2013-03-10 20:38:46 +01:00
David A. Velasco
d68b324653 Create our own media control - basic operation 2013-03-08 13:32:10 +01:00
David A. Velasco
3aacc7c0fe Stop audio playback in background when a video preview is started 2013-03-07 17:07:58 +01:00
David A. Velasco
d19d985c0a Fixed CRASH due to NullPointerException when a details actitivity is brough to foreground and the OC icon is pressed, after removing accounts in system settings 2013-03-07 12:38:47 +01:00
David A. Velasco
cf2ba0bc07 Fixed infinity loop in media previews when the icon in the action bar (UP button) is pressed 2013-03-01 16:05:19 +01:00
David A. Velasco
48e7e40394 Quick fix for undesired progress bar shown in details view, when this is opened from the gallery, from an image just downloaded 2013-03-01 15:31:13 +01:00
David A. Velasco
db7eea712d Improved message for failed downloads in gallery 2013-03-01 14:20:25 +01:00
David A. Velasco
07a8938270 Improvements in load of images: progress wheel while loading and better scaling 2013-03-01 11:17:12 +01:00
David A. Velasco
427a3e6331 Progress wheel shown in gallery while an image is getting loaded 2013-03-01 10:49:35 +01:00
David A. Velasco
6cfa24f55a Improved error messages in gallery for images that can not be loaded 2013-03-01 09:54:49 +01:00
David A. Velasco
31827bce0c Removed excess of logs 2013-02-28 17:52:15 +01:00
David A. Velasco
638b7767cb Gallery in full screen, action bar shown on tap 2013-02-28 17:09:00 +01:00
David A. Velasco
a0e4e7ea97 Fixed audio preview loop got when a tablet is torned to portrait orientation while audio preview is playing in landscape, and then the preview is left with BACK 2013-02-28 13:26:43 +01:00
David A. Velasco
d0767f1a4f Fixed automatic playback of media previews after download, in portrait orientation 2013-02-28 11:42:47 +01:00
David A. Velasco
75ae57b6d3 Cancelling a download in gallery finishes the gallery 2013-02-27 16:30:29 +01:00
David A. Velasco
3d989ad060 Fixed update of download progress bar when the gallery is left with button HOME, and the user comes back before the download finishes 2013-02-27 15:50:52 +01:00
David A. Velasco
86cec34b25 Gallery handles multiple downloads gracefully 2013-02-27 14:08:58 +01:00
David A. Velasco
4ba98835df Fixed: download of the first image in a folder is now started when clicked on 2013-02-27 10:49:13 +01:00
David A. Velasco
861a8bfb78 Fixed update of list of files when downloads finish 2013-02-27 10:27:32 +01:00
David A. Velasco
25e342e945 Fixed button 'cancel' in automatic downloads into the images gallery 2013-02-26 19:26:45 +01:00
David A. Velasco
6d4ce68a81 Removed useless swipe detection from details view 2013-02-26 19:10:07 +01:00
David A. Velasco
2f1aaa8b15 Refactoring and clean-up of fragment for media previews 2013-02-26 19:04:42 +01:00
David A. Velasco
becf52226e Improved layout for downloads in image gallery 2013-02-26 14:01:32 +01:00
David A. Velasco
a3aca94694 Fixed automatic download for a not downloaded image file when previewing it 2013-02-26 13:17:44 +01:00
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
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
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
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
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