Commit graph

1624 commits

Author SHA1 Message Date
David A. Velasco
dafcdfb761 Perform creation of new folder in MoveActivity 2014-08-19 14:04:48 +02:00
David A. Velasco
edc465e3b6 Refactored MoveActivity and friends to remove duplicating classes MoveFileListFragment and FolderListListAdapter 2014-08-19 13:10:04 +02:00
David A. Velasco
b3bc1aeaf2 Some clean-up and refactoring in fragments listing files 2014-08-19 11:13:08 +02:00
David A. Velasco
f63996d115 Updated navigation elements of action bar and some clean-up in MoveActivity 2014-08-18 15:12:19 +02:00
jabarros
dc984ec5bf Add new activity for selecting the destination folder when moving files, including new List Fragment and new Adapter for listing only the folders 2014-08-13 16:43:50 +02:00
David A. Velasco
20e41c81ff Merge pull request #587 from owncloud/improved_fullscreen_for_gallery
Improved full screen in gallery of images
2014-08-12 12:17:04 +02:00
jabarros
49dff310ca Add changes after CR 2014-08-12 09:38:36 +02:00
jabarros
0c47bb097c Modify FileMenuFilter class for showing move option when it is appropiate 2014-08-12 09:11:26 +02:00
jabarros
83798b94d6 Fixed bug when tapping in the 3 points to hide the menu, top bar is also hidden 2014-08-11 12:46:29 +02:00
jabarros
7caf208c17 Add check for allow to use FullScreen and Immersive mode on devices equal or higher than Honeycomb 2014-08-11 09:35:01 +02:00
tobiasKaminsky
ba2d805197 Added x and y to specify maxX and maxY in route. 2014-08-09 19:12:36 +02:00
tobiasKaminsky
b810a773af Update thumbnails 2014-08-09 10:26:37 +02:00
tobiasKaminsky
8c96447fe7 Merge branch 'develop' of https://github.com/tobiasKaminsky/android into develop
Conflicts:
	src/com/owncloud/android/ui/adapter/FileListListAdapter.java
2014-08-09 10:20:07 +02:00
tobiasKaminsky
d15e5cce06 Thumbnail 2014-08-09 10:19:50 +02:00
tobiasKaminsky
c30ab40fdd Remote fetch of thumbnail 2014-08-09 10:19:02 +02:00
David A. Velasco
3816ceed7f Apply IMMERSIVE mode to gallery (works only in Android 4.4) 2014-08-07 17:50:47 +02:00
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
masensio
f359d11a4d Fix: Download is started over and over when rotating the device 2014-05-15 09:34:58 +02:00
masensio
8d7baab460 Fix: File list is not refreshed after changing the orientation of the device and other actions 2014-05-14 17:20:35 +02:00
masensio
01c776bfb4 Fix: app says thas has to stop when removing a image from the gallery 2014-05-14 09:33:24 +02:00
David A. Velasco
cfbbece869 Fixed bug in setting of listener for dialog fragment 2014-05-12 13:43:21 +02:00
David A. Velasco
e0dc1e2b92 Optimized binding to OperationsService to grant no result is lost 2014-05-12 13:34:02 +02:00
masensio
df4ae2eb35 Move execution of 'refresh file' operation to OperationsService 2014-05-12 12:54:28 +02:00
David A. Velasco
b600b2d30a Fixed refresh of details fragment in landscape tablet when upload finishes 2014-05-12 12:33:31 +02:00
David A. Velasco
21d3282c8a Refactored handle of user response in confirmation dialog for file removal to avoid duplication 2014-05-12 11:28:22 +02:00
David A. Velasco
6cb184ab63 Joint local removal of files to RemoteFileOperation to fix refresh of UI 2014-05-12 09:59:19 +02:00
David A. Velasco
288dbd6348 Fixed inconsistencies in file actions shown in menus according to the target file state 2014-05-09 14:56:57 +02:00
masensio
7295820d57 Add CreateFolderOperation to OperationsService 2014-05-08 17:13:45 +02:00
David A. Velasco
38e0f06fb8 Removed unneeded casts to FileDisplayActivity 2014-05-08 16:41:16 +02:00
David A. Velasco
2f2570bbc5 Refactored menu filtering in a single class FileMenuFilter 2014-05-08 16:35:34 +02:00
masensio
7906a9622c Clean code: remove some commented code 2014-05-08 15:58:26 +02:00
masensio
92f403494b Add RemoveOperation to OperationsService 2014-05-08 15:08:27 +02:00
masensio
ffb5702b2d Add RenameOperation to OperationsService 2014-05-08 10:39:55 +02:00
David A. Velasco
26eed9132e Fixed wrong field override breaking options menu in PreviewMediaFragment and PreviewImageFragment 2014-05-07 17:05:33 +02:00
David A. Velasco
e42fcc1e32 Merge remote-tracking branch 'origin/refactor_update_filelist_from_database' into refactor_update_filelist_from_database 2014-05-07 10:03:41 +02:00
masensio
69fa5b9185 Enable necessary refresh in FileDisplayActivity. Delete onFileStateChanged in ContainerActivity 2014-05-07 09:46:25 +02:00
David A. Velasco
3adb39a15e Review and reenable calls to refresh list of files where necessary, for events out of OnRemoteOperationListener flow 2014-05-07 09:46:20 +02:00
David A. Velasco
b86059bf83 Moved UploadFinishReceiver from FileDetailFragment to FileDisplayActivity 2014-05-06 14:07:47 +02:00
masensio
53a168c5a6 Revert "FileListListAdapter is a SimpleCursorAdapter"
This reverts commit 44dae87d2f.

Conflicts:
	src/com/owncloud/android/datamodel/FileDataStorageManager.java
	src/com/owncloud/android/ui/adapter/FileListListAdapter.java
	src/com/owncloud/android/ui/fragment/OCFileListFragment.java
2014-05-06 13:28:26 +02:00
masensio
f119a13a30 Revert "Add mCursor to FileListListAdapter"
This reverts commit 85b6d7a987.

Conflicts:
	src/com/owncloud/android/ui/adapter/FileListListAdapter.java
2014-05-06 13:22:59 +02:00
masensio
4e9becbc97 Revert "FileListListAdapter based in CursorAdapter instead of SimpleCursorAdapter for more flexible integration"
This reverts commit 65c7d5d5ba.

Conflicts:
	src/com/owncloud/android/ui/adapter/FileListListAdapter.java
	src/com/owncloud/android/ui/fragment/OCFileListFragment.java
2014-05-06 13:15:04 +02:00
masensio
f2d4ae877f Revert "Add FileListCursorLoader. Update data using CursorLoader and LoaderManager. Update filelist when a file/folder is deleted"
This reverts commit c9626772a1.

Conflicts:
	src/com/owncloud/android/ui/adapter/FileListListAdapter.java
	src/com/owncloud/android/ui/fragment/OCFileListFragment.java
2014-05-06 13:04:23 +02:00
masensio
9804b40839 Revert "Update filelist for insert actions, sent notification to uri in FileContenProvider"
This reverts commit 4834fe15c7.
2014-05-06 12:56:42 +02:00
masensio
97e4d690da Revert "Update filelist for update actions, sent notification to uri in FileContenProvider"
This reverts commit 8283b301e1.
2014-05-06 12:56:19 +02:00
masensio
e5c3f2eaa5 Revert "Grant that the content of the previous adapter is updated with rotations"
This reverts commit 9820893fd9.
2014-05-06 12:55:21 +02:00
masensio
40b5fb8156 Revert commit 6cdd830a7b 2014-05-06 12:54:13 +02:00
David A. Velasco
c6edcab5a2 Merge remote-tracking branch 'origin/refactor_update_filelist_from_database' into refactor_update_filelist_from_database 2014-05-06 10:58:19 +02:00
David A. Velasco
bea36f23b0 Refactoring relationship between FileActivities and FileFragments (WIP) 2014-05-06 10:54:23 +02:00
masensio
6cdd830a7b Additional changes to apply the new code to the other FileFragments: PreviewMediaFragment, DetailsFragment, PreviewImageFragment 2014-05-05 14:10:15 +02:00
masensio
9820893fd9 Grant that the content of the previous adapter is updated with rotations 2014-05-05 10:44:43 +02:00
masensio
8283b301e1 Update filelist for update actions, sent notification to uri in FileContenProvider 2014-05-02 14:33:23 +02:00
masensio
4834fe15c7 Update filelist for insert actions, sent notification to uri in FileContenProvider 2014-05-02 14:32:01 +02:00
masensio
c9626772a1 Add FileListCursorLoader. Update data using CursorLoader and LoaderManager. Update filelist when a file/folder is deleted 2014-05-02 14:24:00 +02:00
David A. Velasco
5b32faae4d Refactoring to reduce dependencies and duplicated code (WIP) 2014-04-30 18:37:55 +02:00
David A. Velasco
6c33cefba0 WIP - commented pull-refreshes of list view as previous step to trust refresh to observer registered by Cursor 2014-04-29 13:53:11 +02:00
David A. Velasco
65c7d5d5ba FileListListAdapter based in CursorAdapter instead of SimpleCursorAdapter for more flexible integration 2014-04-29 13:17:33 +02:00
masensio
85b6d7a987 Add mCursor to FileListListAdapter 2014-04-28 13:56:17 +02:00
masensio
44dae87d2f FileListListAdapter is a SimpleCursorAdapter 2014-04-28 12:09:07 +02:00
David A. Velasco
e7a6a68531 Minimized imports 2014-04-22 12:30:15 +02:00
David A. Velasco
e2f0af1c26 Fixed lost automatic check of OC server on enforced update of password 2014-04-21 14:49:00 +02:00
David A. Velasco
37b44a551a Fixed crash when browsing app from instantUploads folder after entering into the app from a notification 2014-04-21 14:27:06 +02:00
David A. Velasco
68f4ceb5a7 Separate options to enable & disable instant upload of new pictures and new videos 2014-04-21 10:49:31 +02:00
David A. Velasco
ffdc77f8d8 Fixed crash when clicking on an error notification due to wrong credentials 2014-04-16 20:13:35 +02:00
David A. Velasco
33b0909e7b Merge branch 'develop' into videoInstandUploads 2014-04-16 19:31:27 +02:00
David A. Velasco
e8d969f032 Allow instant upload of new videos although not using Wi-Fi, with the same policy as pictures 2014-04-16 19:30:01 +02:00
masensio
b96cce8384 Fix bug: When accessing an coming back several times, the folder is hidden 2014-04-09 17:37:57 +02:00
masensio
e5ab756691 Add some comments for VideoInstantUploads 2014-04-08 14:58:41 +02:00
masensio
086985ad26 Fix bug: App crashes when coming back from a folder of second level 2014-04-08 13:58:27 +02:00
masensio
e8e1c7a0af Grant InstantUpload feature works as before. 2014-04-08 13:02:59 +02:00
masensio
3351db6527 Merge branch 'develop' into videoInstandUploads 2014-04-08 12:50:50 +02:00
masensio
d3ecaa5a38 Fix bug: folder is not shown after accessing to it and coming back 2014-04-08 11:27:44 +02:00
masensio
2b06f07b17 Merge branch 'develop' into save_position_in_scroll_when_browsing 2014-04-08 09:29:47 +02:00
masensio
cbdcf7d457 Disable extra logs 2014-04-07 15:21:21 +02:00
David A. Velasco
0b0cc609c9 Fixed broken life cicle in FileActivity 2014-04-07 14:09:43 +02:00
David A. Velasco
f24e56d19d Removed commented code and remaining forced exception 2014-04-07 11:14:44 +02:00
David A. Velasco
a3798996e1 Recovered some extra logs before validating 2014-04-07 10:24:43 +02:00
David A. Velasco
12bbc51dcb Preventing hash colisions in identifier of operations 2014-04-07 10:22:08 +02:00
David A. Velasco
8d38fd331d Simplified interface to request 'lost results' during rotation of Activity 2014-04-07 09:24:57 +02:00
masensio
baa585550d Enable extra logs before validation to fix easily any possible bug 2014-04-04 15:05:21 +02:00
masensio
c1df34b5e3 Merge remote-tracking branch 'origin/operations_service' into operations_service 2014-04-04 14:50:46 +02:00
masensio
d535c420f2 Grant that OperationsService doesn't keep old saved results forever 2014-04-04 14:49:20 +02:00
David A. Velasco
8f5ab8df08 Merge remote-tracking branch 'origin/operations_service' into operations_service 2014-04-04 14:19:05 +02:00
David A. Velasco
7cf05f3647 Internal refactorization of AccountAuthenticatorActivity (and related dependencies) 2014-04-04 14:18:42 +02:00
masensio
46e949c826 Grant Share and Unshare work properly. 2014-04-04 12:57:25 +02:00
masensio
40f5eb6de6 Grant that same result is never processed twice by the same listener (one through callback, one through getResult) 2014-04-03 17:24:03 +02:00
masensio
5b7c5f6244 Take care with orientation changes when save and restore scroll position 2014-04-03 14:56:31 +02:00
masensio
20e3a5f420 Save the scroll position when moving between folders. REstore scroll position 2014-04-03 14:36:55 +02:00
David A. Velasco
0024569aff AuthenticatorActivity clean up: removed commented code and warnings 2014-04-02 12:46:54 +02:00
masensio
eb95be232f Run GetRemoteUserNameOperation in OperationsService 2014-04-02 09:46:40 +02:00
David A. Velasco
e566d041d1 Merge remote-tracking branch 'origin/operations_service' into operations_service 2014-04-01 15:17:33 +02:00
masensio
c2c10bcff8 Run ExistenceCheckRemoteOperation on OperationsService 2014-04-01 14:51:53 +02:00
masensio
5ac1a1ebbb Merge branch 'develop' into operations_service 2014-04-01 14:18:32 +02:00
David A. Velasco
0addc90ae5 Moved OAuth2GetAccessToken to be run in OperationsService 2014-04-01 13:56:08 +02:00
David A. Velasco
08aa08ce60 Moved execution of GetServerInfoOperation into OperationsService 2014-04-01 11:59:38 +02:00
David A. Velasco
022c555aca GetRemoteStatusOperation and DetectAuthenticationMethodOperations are joint in GetServerInfoOperation 2014-04-01 11:41:11 +02:00
David A. Velasco
11f5a299bd Modifies OperationsService so that activities can request the resulf of operations finished while the activity was 'rotating'; and applie to DetectAuthenticationMethodOperation 2014-03-31 13:14:47 +02:00
masensio
2628eceb6b Modify DetectAuthenticationMethodOperation so that , when returning its result through the callback, there is no crash if AuthenticatorActivity is not ready (rotating) 2014-03-28 15:04:10 +01:00
masensio
2812120456 Add webdav url to DetectAuthenticationMethodOperation 2014-03-28 14:51:36 +01:00
David A. Velasco
7c4fc0486f Merge remote-tracking branch 'origin/operations_service' into operations_service 2014-03-28 12:57:44 +01:00
masensio
f991e1e91d Modify OperationsService so that AuthenticatorActivity may ask for the execution of DetectAuthenticationMethodOperation in the service 2014-03-28 12:57:18 +01:00
David A. Velasco
565875d753 AuthenticatorActivity is bound to OperationsService when created 2014-03-28 12:55:07 +01:00
masensio
53a2789326 Check the version number instead of the version string 2014-03-27 18:01:37 +01:00
masensio
1195c6dba3 Check the version number taking into account the new format 2014-03-27 09:45:41 +01:00
David A. Velasco
fb9f7797f4 Fixed detection of authentication method in server with permanent redirection 2014-03-26 08:34:39 +01:00
David A. Velasco
afaa4b2df3 Fixed lost text in notifications for failed uploads 2014-03-25 08:52:05 +01:00
David A. Velasco
571fdba15e Fixed crash after app updates due to changed serialization id in RemoteOperationResult 2014-03-24 13:18:23 +01:00
masensio
1bda7e1e87 Merge branch 'develop' into regular_authentication_in_saml_server 2014-03-24 09:31:43 +01:00
masensio
4191f66593 Merge pull request #445 from owncloud/remove_refresh_of_shares_in_full_sync
Removed refresh of shares in full synchronization
2014-03-21 14:56:46 +01:00
masensio
dca770be6a Modify AuthenticatorActivity#detectAuthorizationMethod so that it triggers a DetectAuthorizationOperation when called. Modifiy AuthenitcatorActivity#onRemoteOperationResult to process the response of DetectAuthorizationOperation 2014-03-21 14:51:56 +01:00
David A. Velasco
d20c1e4141 Implemented analysis in DetectAuthenticationMethodOperation to find out what authentication method requires the server side 2014-03-21 13:42:39 +01:00
David A. Velasco
bef5d5c5f8 Added skeleton of new operation to detect authentication method in the server side 2014-03-21 12:03:25 +01:00
David A. Velasco
a3bf6883fc Merge branch 'develop' into regular_authentication_in_saml_server 2014-03-21 11:02:36 +01:00
masensio
7ed3179100 Merge branch 'develop' into improve_notifications_pr_400_with_develop 2014-03-21 10:37:11 +01:00
masensio
2d6826fe8b Merge pull request #400 from tommyd3mdi/develop
Notification improvements
2014-03-21 10:32:49 +01:00
David A. Velasco
0336eced64 Fixed lost of 'shared' attribute during full synchronization process for already known shares 2014-03-21 09:05:19 +01:00
David A. Velasco
4f4c6843a7 Merge branch 'develop' into remove_refresh_of_shares_in_full_sync 2014-03-20 17:48:23 +01:00
masensio
4ae57b5bea Changes from comments in PR#443 2014-03-20 16:51:00 +01:00
masensio
c6f0847866 Changes from comments in PR#443 2014-03-20 16:15:59 +01:00
masensio
3064f1fc4b Changes from comments in PR#442, in oc-project 2014-03-20 15:35:23 +01:00
masensio
d9219441b1 Revert "Changes from comments in PR#442, in oc-project"
This reverts commit 0aa9a0bc6c.
2014-03-20 14:01:35 +01:00
masensio
0aa9a0bc6c Changes from comments in PR#442, in oc-project 2014-03-20 13:52:34 +01:00
David A. Velasco
604abaf3b4 Grant that progress bar in notifications is shown in Android 2.x and 3.x devices 2014-03-20 10:43:06 +01:00
masensio
b0cfec7a00 Add auth_unsupported_basic_auth string 2014-03-20 09:08:02 +01:00
masensio
432d696432 Merge branch 'develop' into regular_authentication_in_saml_server 2014-03-19 17:57:56 +01:00
masensio
1fb1a3294e Merge branch 'develop' into share_link__reuse_link_shared_in_server 2014-03-19 17:22:31 +01:00
masensio
738ea33c06 Merge branch 'develop' into remove_refresh_of_shares_in_full_sync 2014-03-19 17:17:55 +01:00
masensio
d326d100ed Revert "Prevent that full synchronization process browses deeper when already knows no change exists under the current folder"
This reverts commit dabcf4dce4.
2014-03-19 17:00:27 +01:00
masensio
71e049394e OC-3390: Shows message about 'not support authentication' under server address 2014-03-19 10:07:56 +01:00
masensio
3e108163bc Merge branch 'develop' into regular_authentication_in_saml_server 2014-03-19 08:55:37 +01:00
masensio
705bee08fa OC-3390: Message is shown in the login screen instead of an alert message: Change the alert dialog by an error message under server address 2014-03-18 15:13:50 +01:00
masensio
0d2c764638 Merge branch 'develop' into remove_refresh_of_shares_in_full_sync 2014-03-18 14:43:34 +01:00
masensio
c80357f750 OC-3386:(Fix bug) An alert saying 'trying to login' is shown before clicking the to connect 2014-03-18 14:41:25 +01:00
masensio
b124167f50 Merge pull request #395 from dontcallmedom/master
allow multi-line checkbox for preferences with long titles
2014-03-18 14:28:17 +01:00
masensio
d10c10532f OC-3381: (Fix bug) In preferences, the 'instant upload via WIFI' field is multiline but only use two lines instead of three 2014-03-18 13:40:28 +01:00
masensio
6e86dfb001 OC-3376: 'manage account' field is multiline, in preferences 2014-03-18 13:36:16 +01:00
masensio
a043bcd8de OC-3314: Modify CreateShareOperation#run in the application so that it uses GetRemoteSharesForFileOperation() to get a remote link in the server (if exists) and use it without creating a new one 2014-03-18 12:51:15 +01:00
masensio
d01e065586 OC-3261: Fix a problem when trying to detect the kind of authentication. Add new AlertMessageDialog. Show an alert message if it is necessary a different authentication method 2014-03-17 13:39:03 +01:00
David A. Velasco
dabcf4dce4 Prevent that full synchronization process browses deeper when already knows no change exists under the current folder 2014-03-17 13:02:36 +01:00
David A. Velasco
5d53f3c0ba Recursive refresh of folders in full synchronization does not retrieve information about shares 2014-03-17 12:28:54 +01:00
masensio
eda6ddd98f OC-3260: Detect authentication method 2014-03-17 10:29:24 +01:00
David A. Velasco
7ab8ee7d4a Progress bar in notifications is hidden when download/upload finishes 2014-03-14 14:29:25 +01:00
David A. Velasco
35bf347759 Grant that notifications of finished downloads can be removed from notification are without clicking on 2014-03-14 14:18:52 +01:00
masensio
4299d1e650 Correction in license of CheckBoxPreferenceWithLongTitle 2014-03-13 15:59:40 +01:00
masensio
9b2e4a6063 Merge branch 'pr/400' into improve_notifications_pr_400_with_develop 2014-03-13 15:49:17 +01:00
masensio
2ab9496b6e Merge branch 'pr/395' into allow_multiline_checkbox_preferences_pr_395_with_develop 2014-03-13 10:39:22 +01:00
masensio
834c98644b Remove some import warnings 2014-03-12 10:53:32 +01:00
David A. Velasco
5338b93604 Fixed wrong reload of SAML web dialog after rotation when the SSL-error dialog is visible over it 2014-03-12 10:32:05 +01:00
masensio
41efad3804 Merge branch 'develop' into check_server_certificates_in_SSO_webview 2014-03-12 08:44:56 +01:00
Thomas Keller
5eccd08bc7 Notification improvements:
- use NotificationCompat.Builder from the support library and remove the custom progressbar layout; this will give platform users the expected look and feel of a notificati
- remove OCNotificationManager (it contained the old layout references, but was unused)
- add new notification icons that follow the Android style guidelines (http://developer.android.com/design/style/iconography.html#notification)
2014-03-12 00:08:51 +01:00
masensio
207a52f422 OC-3242: Add new error message for fail in GetUserName. No changes in library reference 2014-03-11 14:43:48 +01:00
masensio
660f97baab Revert "OC-3242: Add new error message for fail in GetUserName"
This reverts commit 564bbf7bb8.
2014-03-11 14:40:38 +01:00