Commit graph

310 commits

Author SHA1 Message Date
David A. Velasco
69d6d821ec OAuth clean-up and refactoring 2013-03-21 12:21:48 +01:00
David A. Velasco
4861636185 Refresh authorization token on failed downloads / uploads when notification error is clicked 2013-03-18 15:05:35 +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
3ac08177eb REALLY fix ArrayOutOfBoundsException when chosing icons for files with invalid MIME type 2013-03-14 10:36:22 +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
f256bdee52 Log_OC included 2013-03-12 08:08:04 +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
4b46b17fcb Fixed CRASH due to ArrayIndexOutOfBoundsException while choosing the icon for a file with a wrong MIME type (reported in Play Store) 2013-03-07 10:42:50 +01:00
David A. Velasco
7d14d4bfb4 Fixed NullPointerException in log 2013-03-05 13:59:48 +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
a212611a9b File#isImage() considers the name of the file, besides the knowledge from server 2013-03-01 14:55:59 +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
e0cb989b3a Click on notifications about image downloads / uploads goes to gallery 2013-02-27 16:27:25 +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
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
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