Commit graph

1458 commits

Author SHA1 Message Date
jabarros
b154fba6ee Merge branch 'develop' into accounts_view
Conflicts:
	res/values/strings.xml
2014-08-07 17:34:15 +02:00
jabarros
c4359ce393 Remove classes not used more after changing the view of OC accounts 2014-08-07 16:23:42 +02:00
jabarros
d3b07add37 Set first account checked as default when the current used account is removed and added some comments into the code 2014-08-07 16:02:51 +02:00
tobiasKaminsky
c0dc4c42d7 Thumbnail generation in ListView 2014-08-07 08:21:38 +02:00
tobiasKaminsky
add9df83d5 Thumbnail in ListView 2014-08-07 08:19:07 +02:00
tobiasKaminsky
eada18d017 Thumbnail preview 2014-08-07 07:53:21 +02:00
jabarros
7dfa955a03 Add long-press interaction to accounts elements for showing a context menu 2014-08-06 18:23:55 +02:00
jabarros
c35cc74961 Update the list of accounts in Preferences after adding a new account 2014-08-06 13:09:21 +02:00
jabarros
8d8c9eb315 Include 'add account' button after last account listed 2014-08-06 09:25:25 +02:00
jabarros
471d64a16c Change the title of preference for adding new accounts and remove unused commented code 2014-08-06 09:23:21 +02:00
jabarros
8ce8577fa7 Show all the active accounts on settings view and make behaviour of accounts checkbox similar to radio buttons 2014-08-05 15:05:03 +02:00
jabarros
5cba80a1ab Add new preference category on settings and list in it the accounts 2014-08-05 11:22:16 +02:00
tobiasKaminsky
8adb5641c3 Thumbnail for local images 2014-08-05 08:52:00 +02:00
jabarros
fcb556eb2d Show appropiate message and update library reference 2014-08-04 10:21:48 +02:00
David A. Velasco
41666b2d6c Merge pull request #578 from owncloud/show_message_for_empty_list
Show background message when list of files is empty
2014-07-30 09:40:17 +02:00
jabarros
ac18a468e8 Changes after CR 2014-07-30 09:35:31 +02:00
jabarros
1d8f734e6d Changes after CR 2014-07-29 15:08:49 +02:00
jabarros
5335975717 Fixed bug. It is not possible to refresh folder when it is empty 2014-07-29 15:04:06 +02:00
jabarros
bbbc486d53 Fixed bug when comming back to a zoomed photo, it is not zoom 2014-07-29 13:16:07 +02:00
jabarros
20bb37701c Use Extended view pager and set onTouchListener into image forshow/hide the action bar 2014-07-29 08:26:10 +02:00
jabarros
154a3949f2 Save message in onSaveInstanceState when folder is empty for allowing that it disappears if device orientation is changed 2014-07-28 13:06:29 +02:00
jabarros
a8c4271673 Change element ImageView of preview image fragment for TouchImageView in order to allow make zoom on the image 2014-07-28 11:11:28 +02:00
jabarros
d90b10d00c Fixed bug related when changing orientation of device, message for empty folders disappear 2014-07-28 10:12:54 +02:00
jabarros
89e7ad9e67 Show message when the file list is being loading and when it is empty 2014-07-25 13:13:58 +02:00
David A. Velasco
f5e3f97ef1 Removed conflict mark 2014-07-25 09:14:07 +02:00
jabarros
2b21d67791 Add case for when trying to download a file that is no longer available on the server 2014-07-25 09:11:21 +02:00
jabarros
61c8f7f083 Upgrade notifications on status bar when uploading to show proper message about fails due to lack of permissions and removed FailedUploaderActivity 2014-07-25 09:11:20 +02:00
jabarros
a28fa921c9 Update ErrorMessageAdapter class to generate appropiate error messages for operations failed due to lack of permissions (ResultCode.FORBIDDEN) 2014-07-25 09:10:26 +02:00
David A. Velasco
fa326f51c8 Fixed use of removed text messages unnoticed before updating all the languages 2014-07-25 08:45:39 +02:00
jabarros
fb1a4bad59 Add message when LocalFileList and OCFileLIst are empty 2014-07-24 18:34:12 +02:00
David A. Velasco
9778f720dc Fixed bug: failed upload notification not appearing in Android 2.x devices 2014-07-14 14:50:02 +02:00
jabarros
055be96386 Remove InstantUploadActivity and related resources 2014-07-14 08:40:16 +02:00
David A. Velasco
e5f20fb85b Update reference to library 2014-07-10 13:08:54 +02:00
David A. Velasco
49c69609ea Merge branch 'develop' into release-1.5.8 2014-07-09 12:27:35 +02:00
jabarros
8699c0414e Merge pull request #556 from owncloud/fix_bug_in_favorites_sync
Fixed bug in favorites sync affecting editors that replace a file with a work copy instead of directly writing the file
2014-07-09 11:47:26 +02:00
jabarros
96e2d198e0 Merge branch 'develop' into release-1.5.8 2014-07-08 13:03:09 +02:00
David A. Velasco
c880929ffd Fixed last minute bugs, and clean up 2014-07-08 12:51:01 +02:00
David A. Velasco
e610046e0d Watch for replacements of favorite file besides than direct notifications 2014-07-08 10:26:54 +02:00
David A. Velasco
e2a7e9bbf9 Watch local changes of kept-in-sync files by observing their parent folder, instead of the file itself 2014-07-08 10:26:53 +02:00
David A. Velasco
5205fe22ae Avoid the app crashes at every start due to a stuck obsolete broadcast
intent.
2014-07-08 10:24:37 +02:00
jabarros
dba9c3a64d Create observer class for parent folders 2014-07-08 10:24:36 +02:00
David A. Velasco
6647790620 Testing observance on parent folders to deal with apps that replace a favorite file (delete it) when updating it 2014-07-08 10:22:54 +02:00
David A. Velasco
014096ab2d Improved release of resources in FileObserverService#onDestroy 2014-07-08 10:21:38 +02:00
David A. Velasco
115032a36e Clean up FileObserverService to avoid redundant instances of OwnCloudFileObservers that may be driving mad inotify in some Android devices 2014-07-08 10:21:37 +02:00
jabarros
a1f52fe73b Modify OwncloudFileObserver for enforcing watching the file when an external app cancelled the watch and added a handler for startWatching again 2014-07-08 10:17:02 +02:00
jabarros
0bca42bcd8 Remove unused class FailedUploadActivity and related resources 2014-07-07 13:52:13 +02:00
jabarros
ce871c126b Show 'downloaded' icon over the file icon 2014-07-07 10:58:45 +02:00
jabarros
42946bcc6d Show folder icon with world above on the left side of any folder that is publicity shared 2014-07-07 10:10:18 +02:00
David A. Velasco
dacc14a882 Merge remote-tracking branch 'origin/develop' into add_cookie_based_session_support 2014-07-01 14:21:26 +02:00
David A. Velasco
fe4fc7a612 Fixed typos from 'shareWhatever' to 'sharedWhatever', and updated reference to library 2014-07-01 09:59:38 +02:00
jabarros
f5a4c6bc9f Fixed bug. In the uploads view, folders and files are shown as shared 2014-07-01 09:59:37 +02:00
jabarros
bb2830fd73 Fixed bug. Regular files are showing folder icon 2014-07-01 09:59:35 +02:00
David A. Velasco
947063c193 Fixed typo breaking upgrade of database version to add remote_id column 2014-07-01 09:59:34 +02:00
jabarros
440c703752 Increase db version number 2014-07-01 09:59:33 +02:00
jabarros
be0990baac Hide 'shared with me' icon when file does not have 'S' permission 2014-07-01 09:59:31 +02:00
jabarros
1e8337fbce Update class FileListAdapter to show new icon for a file and folder that includes 'S' in the permission property. Changed list item layout for showing 'sharedlink' and 'shared with me' icons. 2014-07-01 09:59:30 +02:00
jabarros
8a1e3f743e Add column 'Remote_Id' to the local files db. Create upgrade for 'Permissions' and 'Remote_id' db changes. 2014-07-01 09:59:28 +02:00
jabarros
80f6250604 Update class OCFile to include value of permissions column into db as a field. Modify SyncronizeFolderOperation and FileStorageUtils for setting permissions value 2014-07-01 09:59:28 +02:00
jabarros
ba4386008a Modify FileDataStorageManager for adding permission value to ContentValue 2014-07-01 09:59:27 +02:00
jabarros
0544e3a18d Add column 'Permissions' to the local files db 2014-07-01 09:59:26 +02:00
David A. Velasco
41705bd284 Updated ticker and title messages for notification of failed synchronization due to expired credentials 2014-06-26 11:21:30 +02:00
David A. Velasco
4f0dd59921 Fixed bug in update of SAML2 token after expiration 2014-06-26 10:26:05 +02:00
David A. Velasco
78a2ba5868 Fixed redirection to login view from failed notifications when click on 2014-06-25 17:04:02 +02:00
David A. Velasco
6619154839 Removed lost dependencies and unneeded parameters; updated library reference 2014-06-18 17:03:56 +02:00
masensio
f2320691b3 Update branding: instead of specific option, make that using SAML authentication implies enabling the SingleSessionManager. 2014-06-16 13:18:29 +02:00
masensio
cb21f379d7 Remove some imports 2014-06-16 13:18:05 +02:00
David A. Velasco
781c70ac9f Updated app to new OwnCloudClientManager#removeClient method, with OwnCloudAccount parameter 2014-06-13 15:09:48 +02:00
David A. Velasco
8b3c9f14dc Using default singleton OwnCloudClientManager instead of holding a reference in application context 2014-06-13 13:44:36 +02:00
David A. Velasco
37236f0faa Adapted code to use single OwnCloudClientManager#getClientFor(...) method 2014-06-13 12:52:21 +02:00
masensio
7d1dc8fc5d Remove Saving Cookies in FileActivity 2014-06-13 10:46:07 +02:00
David A. Velasco
7958161d25 Adapted code to URIs refactoring in OwnCloudClient 2014-06-13 09:26:56 +02:00
David A. Velasco
6326d6f565 Refactored build of account names into the library 2014-06-12 16:45:33 +02:00
David A. Velasco
d95d2ac856 App adapted to replacement of OwnCloudClientMap for interface OwnCloudClientManager in ownCloud library 2014-06-12 09:00:08 +02:00
masensio
8dc6b0f62d Call saveAllClients in OperationsService#onDestroy 2014-06-10 13:07:24 +02:00
masensio
7c57d702ca Merge remote-tracking branch 'origin/add_cookie_based_session_support' into add_cookie_based_session_support 2014-06-10 13:01:11 +02:00
David A. Velasco
310a8da622 Removed last direct dependency on OwnCloudClientFactory to get all the OwnCloudClient instances through OwnCloudClientMap 2014-06-10 12:52:03 +02:00
masensio
7eb92cd253 Remove some imports 2014-06-10 12:03:08 +02:00
masensio
a8ed64f5b7 Save cookies in FileActivity#onPause 2014-06-09 15:07:30 +02:00
masensio
48872989d7 Merge branch 'develop' into add_cookie_based_session_support 2014-06-09 11:48:07 +02:00
David A. Velasco
d152a97a67 Merge pull request #535 from owncloud/fix_keep_up_to_date_when_sync
Fixed update of kept-in-sync files when full account is refreshed
2014-06-09 08:43:37 +02:00
masensio
01a610360e Merge branch 'develop' into add_cookie_based_session_support 2014-06-06 13:37:24 +02:00
masensio
8e75ed8415 Changes from comments in PR#535. Remove some imports in NotificationBuilderWithProgressBar 2014-06-06 12:51:18 +02:00
masensio
2869aa0ac4 Add a method clearCredentials() to OwnCloudClient that is used to detect authentication expected by the server instead of setBasicCredentials('', '') 2014-06-06 12:38:04 +02:00
masensio
cfe589231a Fix issue 534: missing string argument in ErrorMessageAdapter for R.string.error_upload_local_file_not_copied 2014-06-06 09:24:47 +02:00
David A. Velasco
727be448c8 Updated creation of OwnCloudClients for known OC Accounts so that all the operations to the same Account are done through the same OwnCloudClient instance 2014-06-05 17:52:37 +02:00
masensio
a468ae6a2d Review the behaviour when delete locally a keep_in_sync_file.Clear etag to force to download keep_in_sync files 2014-06-05 17:11:59 +02:00
masensio
bf90cb0f16 Review cancel download for keep_in_sync files. Clear etag for parent folder, to force the download when refreshing the folder 2014-06-05 14:39:24 +02:00
David A. Velasco
edb8c54e3f Merge pull request #526 from owncloud/pull_down_refresh
Pull down to refresh in list of files.
2014-06-04 08:46:41 +02:00
David A. Velasco
cc7366348d Merge pull request #508 from owncloud/vanish_notifications
Vanish succesful notifications
2014-06-03 14:50:48 +02:00
David A. Velasco
185aae4bc3 Removed commented code 2014-06-03 14:44:45 +02:00
masensio
e8d50f3ea2 Fix: Enable pulldown while sync is running 2014-06-03 13:26:44 +02:00
masensio
4cd7d88322 Fix: animations should be gone. Color default animations is background_color 2014-06-03 11:43:10 +02:00
masensio
21903c22d2 Fix: animations should be gone 2014-06-03 11:10:19 +02:00
masensio
19978340c1 Merge branch 'develop' into pull_down_refresh 2014-06-03 10:23:47 +02:00
David A. Velasco
1caeb59e9d Replaced call to 'Looper#quitSafely()' (API 18) for 'Looper#quit()'; shouldn't be a problem 2014-06-03 08:24:42 +02:00
David A. Velasco
58b70000ae Fixed repeated upload of instant pictures after connectivity recovery 2014-06-02 14:32:33 +02:00
David A. Velasco
ad11d6a2b1 Fixed lack of synchronization on local changes for kept-in-sync files 2014-06-02 12:30:53 +02:00
David A. Velasco
17ffd07e36 Cancelation of notifications on success moved to a separate thread 2014-06-02 10:38:14 +02:00
masensio
ca555b2cd8 Merge branch 'develop' into pull_down_refresh 2014-05-30 14:16:33 +02:00
masensio
abbf2252a3 Maintain the loading visibility on action bar instead of the pull refresh animation 2014-05-30 14:16:08 +02:00
masensio
dbfbc10af4 Merge branch 'master' into vanish_notifications 2014-05-30 12:40:55 +02:00
masensio
c407a568e0 Try to reproduce 'Twitter style': notify success and then remove the notification, instead of just removing it 2014-05-30 12:38:16 +02:00
masensio
84d10342ce Implement onRefresh method for SwipeRefreshLayout 2014-05-29 17:50:55 +02:00
masensio
6451222f8d Select the animation for the SwipeRefreshLayout 2014-05-29 17:07:16 +02:00
masensio
c9ce39241e Remove success download notifications 2014-05-29 10:23:41 +02:00
masensio
ac1bbc8646 Remove unnecessary imports in FileUploader 2014-05-29 10:23:35 +02:00
masensio
59d66d986b Remove success upload notifications 2014-05-29 09:21:00 +02:00
masensio
bdc4de75bc Fix: App gets stuck when sharing a folder when there is a credential error 2014-05-28 17:14:21 +02:00
masensio
d24ba158d2 Add comments 2014-05-27 14:10:52 +02:00
masensio
90a2d121b2 Remove unnecessary import in DisplayUtils 2014-05-27 14:08:05 +02:00
masensio
e9f0604fb7 Merge branch 'fixed_video_playback_on_rotations' into release-1.5.6 2014-05-27 13:20:01 +02:00
masensio
a3a5cd4eb7 Merge branch 'develop' into release-1.5.6 2014-05-27 13:18:41 +02:00
masensio
476bfba9e4 Update file images, add new mimetypes to show: spreadsheets, impress, rar, rtf and 3gp 2014-05-27 13:16:16 +02:00
masensio
bcab40c535 Use ErrorMessageAdapter to access the error string when an error in a finished foreground operation occurs 2014-05-26 14:56:51 +02:00
masensio
db43531874 Add specific message(s) for network error(s) in strings.xml 2014-05-26 13:00:22 +02:00
masensio
99dcc9c5d5 New class ErrorMessageAdapter to choose proper error message to show to the user depending on the results of operations 2014-05-26 10:15:28 +02:00
masensio
f849570b0a Merge branch 'develop' into more_concrete_error_messages_session_expires 2014-05-26 08:52:38 +02:00
David A. Velasco
8a74431926 Fixed reinit of video preview on rotations from portrait to landscape (tablets only) ; removed unneeded reinit of second fragment 2014-05-23 14:20:55 +02:00
David A. Velasco
869b92ffd6 Fixed recovery on file state in PreviewFragment on rotations 2014-05-23 14:03:35 +02:00
masensio
121887c899 Use the new strings for upload and download fails when it is necessary 2014-05-23 13:34:21 +02:00
David A. Velasco
12820ba757 Make username case insensitive 2014-05-23 11:21:48 +02:00
masensio
41cee846cf Changes in OCFileListFragment from comments in PR#500 2014-05-20 14:25:53 +02:00
masensio
9740acc17e Changes in FileDisplayActivity from comments in PR#500 2014-05-20 14:20:17 +02:00
masensio
e790c8f83f Changes in FileDataStorageManager from comments in PR#500 2014-05-20 14:01:55 +02:00
masensio
27ff23740c Fix: It says 'Rename could not be completed' but it's done when renaming from detail view 2014-05-20 13:16:01 +02:00
masensio
a9bfb401d5 Fix: Loading icon is there when coming back to the app 2014-05-20 12:15:26 +02:00
David A. Velasco
8385525aaa Fixed accidental refresh when sending media file to other app 2014-05-20 11:24:50 +02:00
David A. Velasco
1664299bd2 Fixed local removal of files when a folder is removed locally and holds local files currently out of sync 2014-05-20 10:30:02 +02:00
David A. Velasco
0004e39023 Removed not working file sync option in gallery 2014-05-19 15:18:13 +02:00
masensio
81fd95ad6f Merge pull request #495 from owncloud/fixed_loading_dialog_dismissed_on_rotation
Fixed loading dialog dismissed on rotation
2014-05-19 13:31:37 +02:00
David A. Velasco
8d6f908bde REAL New fix for loading dialog never disapearing when app is restarted after going with HOME while loading 2014-05-19 13:20:52 +02:00
masensio
ee53304947 Fix: Menu is not refreshed on the gallery view 2014-05-19 12:43:50 +02:00
David A. Velasco
733c8147ad Review of calls to super. in Activity/Fragment life cycle methods 2014-05-19 11:56:29 +02:00
David A. Velasco
423ac76702 New fix for loding dialog never disapearing when app is restarted after going with HOME while loading 2014-05-19 11:55:54 +02:00
David A. Velasco
cdfa678679 Loading dialog not dismissed on pause 2014-05-19 11:18:30 +02:00
masensio
fa97fe545f Merge pull request #494 from owncloud/fixed_restart_of_cancelled_download_after_changing_device_orientation
Fixed restart of cancelled download after changing device orientation
2014-05-19 10:50:26 +02:00
David A. Velasco
97b36b2335 Fixed restart of cancelled download 2014-05-19 10:35:49 +02:00
masensio
d4729a6a77 Fix: Yellow arrow is not shown when downloading a file 2014-05-19 10:29:05 +02:00
masensio
8417810079 Merge pull request #493 from owncloud/fixed_not_performed_renamed_when_device_is_rotated_while_showing_dialog
Fixed not performed rename when device is rotated while showing dialog
2014-05-16 15:06:12 +02:00
David A. Velasco
dfdc713a15 Created new dialog classes for file renaming and folder creations 2014-05-16 14:57:19 +02:00
masensio
9a9d4e0677 Fix: File can not be shown after several actions 2014-05-16 14:25:18 +02:00
masensio
6f84897197 Fix: Loading icon is on the screen forever when leaving the app after sharing a file 2014-05-16 12:57:20 +02:00
masensio
161a72b350 Merge pull request #492 from owncloud/fixed_lost_autologin_after_file_operations_when_credentials_were_changed
Fixed lost autologin after file operations when credentials were changed
2014-05-16 11:02:57 +02:00
masensio
d700cde6c5 Fix again: Download is started over and over when rotating the device 2014-05-16 10:59:01 +02:00
David A. Velasco
d76b8fcdf7 Recover automatic redirection to login view when a foreground operation was tried with expired credentials 2014-05-16 09:58:10 +02:00
masensio
176f02fb04 Fix: Video is not previewed when tapping on it 2014-05-16 09:13:14 +02:00
masensio
1f2ed52338 Merge pull request #490 from owncloud/fixed_left_details_fragment_when_file_is_removed
Fixed left details fragment when file is removed
2014-05-15 16:33:11 +02:00
David A. Velasco
b2e14a93df Fixed crash / left fragment after two rotations while removing video file 2014-05-15 16:21:16 +02:00
masensio
f0ea0b3dc6 Fix: The path in the action bar is wrong after deleteing a file and changing the orientation 2014-05-15 15:17:43 +02:00
masensio
3fb28ceae4 Fix: App crashes when renaming or deleting a video and rotate 2014-05-15 11:24:27 +02:00