Commit graph

2452 commits

Author SHA1 Message Date
David A. Velasco
f91241566a Renamed SearchFragment to SearchShareesFragment 2015-10-30 16:55:27 +01:00
David A. Velasco
aa4f47cbe0 Fixed error messages related with network in ShareActivity 2015-10-30 16:54:36 +01:00
masensio
fc2ac6445d Give ALL_PRIVILEGES when create a Share with User/Group 2015-10-30 16:54:34 +01:00
masensio
ed89b915ae Remove commented code 2015-10-30 16:54:33 +01:00
masensio
7b0ec3d3a6 Fix share with user/group when displayname!=username 2015-10-30 16:54:13 +01:00
masensio
c5ba47d4f2 Avoid fullscreen searchview when editing 2015-10-30 16:53:08 +01:00
David A. Velasco
ba694cba7d Removed check of NULL after code review 2015-10-30 16:52:53 +01:00
David A. Velasco
30aa3fdfd1 Fixed error messages for user using getLogMessage() 2015-10-30 16:52:11 +01:00
David A. Velasco
cc0fb41554 Show error messages from server when share-specific errors occur while sharing or unsharing 2015-10-30 16:52:09 +01:00
David A. Velasco
eb9890f32f Adaption to refactoring of library from GetRemoteUsersOrGroupsOperation to GetRemoteShareesOperation 2015-10-30 16:51:54 +01:00
David A. Velasco
2670c2642a Put focus in search field and show keyboard automatically 2015-10-30 16:50:50 +01:00
masensio
d1294ca584 Good behaviiour in servers not supporting SHAREE API: show the menu option and a messsage when try to share with a new user/group 2015-10-30 16:50:49 +01:00
masensio
adde411b6f Remove toast with create_share info 2015-10-30 16:48:36 +01:00
masensio
e9c562aa8a Polish landscape and turns 2015-10-30 16:48:35 +01:00
masensio
f65152c5fb Refactor saveSharesInFolder in FileDataStorageManager. Set the Content Values using prepareInsertShares method 2015-10-30 16:48:32 +01:00
masensio
671fef617b Show users/groups in Search Fragment list 2015-10-30 16:48:31 +01:00
masensio
fdcf0ebbc8 Fix saveSharesDB, duplicated rows 2015-10-30 16:47:33 +01:00
David A. Velasco
b811eefe95 Fixed build after rebasing 2015-10-30 16:47:30 +01:00
David A. Velasco
4d13b49631 Fixes from CR 2015-10-30 16:47:28 +01:00
David A. Velasco
9df957d548 Share the file with a user or group when selected on the list of suggestions 2015-10-30 16:47:27 +01:00
David A. Velasco
5e0f46cc2e Added operation to create shares with a sharee, separated from operation to create shares via link 2015-10-30 16:46:54 +01:00
David A. Velasco
33a9d1f447 Get rid of dependency on Context in CreateShareOperation 2015-10-30 16:41:59 +01:00
masensio
e81bff7679 Extra commit to complement: Fill in Users/Groups List of a 'share with' from server data 2015-10-30 16:41:58 +01:00
masensio
c49cc06d3d Get users/group from Server, to fill in 'Share with' list 2015-10-30 16:41:57 +01:00
masensio
fcdef568ea Remove share_group_indicator string 2015-10-30 16:39:23 +01:00
masensio
ceffbc4aa8 Remove unshare with users/groups option from the menu 2015-10-30 16:39:21 +01:00
David A. Velasco
2d854bc5a9 Prevent that arbitrary text is queried instead of selecting a user / group of the suggestions list 2015-10-30 16:39:20 +01:00
masensio
9cdaddefa3 Use UnshareOperation instead an AsyncTask, for unshare with 2015-10-30 16:39:19 +01:00
masensio
a00b272903 Adapt UnshareLinkOperation to support also ShareType: USER or GROUP. UnshareLinkOperation --> UnshareOperation 2015-10-30 16:37:36 +01:00
David A. Velasco
043d2128ad Removed option to refine suggestions in edit field 2015-10-30 16:37:35 +01:00
masensio
de93a66763 Change ShareActivity type, now it is a FileActivity 2015-10-30 16:37:33 +01:00
David A. Velasco
1fae1f1b7f Removed redundant ArrayList creation 2015-10-30 16:34:48 +01:00
tobiasKaminsky
fc0dfecf1a fixed travis bug 2015-10-30 16:32:57 +01:00
masensio
1bdd672295 Add unshare with users/groups, from Share wiht view 2015-10-30 16:31:10 +01:00
David A. Velasco
305536f8c2 Users and groups retrieved from server to fill search suggestions 2015-10-30 16:31:08 +01:00
masensio
e0813be81e Clean code in ShareFileFragment 2015-10-30 16:28:42 +01:00
masensio
1fbc44b574 Add new string for share_groups_indicator 2015-10-30 16:28:41 +01:00
masensio
3de67c45e4 Animate unshare button 2015-10-30 16:28:39 +01:00
masensio
fff362d103 Add unshare with user option to share with view 2015-10-30 16:28:37 +01:00
masensio
55dc0da79a Get shares from Database, fix in insert shares in DB 2015-10-30 16:28:36 +01:00
David A. Velasco
e3d509a451 Complete search widget to send search requests to parent activity 2015-10-30 16:28:35 +01:00
masensio
72987c296f Get shares from Database (WIP) 2015-10-30 16:26:28 +01:00
masensio
20b0ec8977 Show users/groups in share with view, getting the data from the server 2015-10-30 16:26:26 +01:00
masensio
00a221ea8f Remove android.support.widget components from the sharewith view. Waiting for introducing Floating button in the project 2015-10-30 16:25:54 +01:00
David A. Velasco
0db4fc9b17 Sync user and group shares into database 2015-10-30 16:25:52 +01:00
masensio
905b68b4ec Show the 'search' layout in phone and tablet 2015-10-30 15:23:03 +01:00
David A. Velasco
bc5687b74a Changed title in sharing dialog from 'Share link' to 'Sharing' (seen in web UI) 2015-10-30 15:23:00 +01:00
masensio
263152a067 Add Get Groups operation 2015-10-30 15:22:57 +01:00
masensio
5a14928e1e Add Get Users from Server Operation 2015-10-30 15:22:36 +01:00
masensio
f28faf0c26 Show the layout to hsare with user in phone and tablet 2015-10-30 15:21:48 +01:00
masensio
c288f91d87 Add new attribute to OCFile to know if this file is shared with users/groups 2015-10-30 15:21:45 +01:00
masensio
e50bc09321 Add new attribute to OCFile to know if this file is shared with users/groups 2015-10-30 15:10:41 +01:00
masensio
a94c176c75 Show share with users option if the server supports search users function 2015-10-30 15:08:14 +01:00
masensio
3a527a8fe4 Add 'Share with users/groups' to long press menu 2015-10-30 15:04:34 +01:00
Maria Asensio
eaa0612bfa Merge pull request #1109 from owncloud/sync_full_folder
Replaced 'download folder' with 'synchronize', triggering the synchronization in two-ways of all the files in a folder
2015-10-30 14:14:52 +01:00
Maria Asensio
4a11470630 Merge pull request #1200 from owncloud/fix_1192_date_time
fix for #1192
2015-10-30 10:38:14 +01:00
LukeOwncloud
9d4ce6becd MC: Updated comment only
Comment did not reflect last commit change.
2015-10-29 21:03:32 +01:00
masensio
3444d61be8 Detect conflict when local and server version are changed 2015-10-29 17:13:24 +01:00
Andy Scherzinger
448124cc7e return standard date string as fallback 2015-10-29 10:24:15 +01:00
masensio
bcfa07f565 Fix Select Local Version or Keep Both behaviour when solving file coflict 2015-10-27 14:32:42 +01:00
masensio
b9ef747a0b Merge branch 'master' into sync_full_folder
Conflicts:
	owncloud-android-library
	src/com/owncloud/android/files/services/FileUploader.java
2015-10-27 08:52:17 +01:00
Andy Scherzinger
5c1e6e59ba Merge branch 'master' of https://github.com/owncloud/android into material_buttons 2015-10-22 13:05:06 +02:00
David A. Velasco
08443f90c5 Merge pull request #1177 from owncloud/notification_coloring
Add ownCloud color to notifications for lollipop
2015-10-22 09:10:10 +02:00
Andy Scherzinger
e8eda963ae flipped the if/else for performance optimization 2015-10-16 11:41:26 +02:00
Andy Scherzinger
be83702fd7 Merge branch 'master' of https://github.com/owncloud/android into fix_1192_date_time 2015-10-16 10:42:02 +02:00
Andy Scherzinger
30720e98a5 Merge branch 'master' of https://github.com/owncloud/android into material_buttons 2015-10-16 10:41:32 +02:00
tobiasKaminsky
960ea3ceac fixed missing refresh of thumbnail after sync 2015-10-15 16:20:14 +02:00
masensio
8e87cc2bf4 Merge remote-tracking branch 'origin/develop' 2015-10-15 16:17:32 +02:00
masensio
1f964a79dd Merge branch 'detailThumbnail' of git://github.com/zmatsuo/android into zmatsuo-detailThumbnail
Conflicts:
	src/com/owncloud/android/ui/fragment/FileDetailFragment.java
2015-10-15 16:10:55 +02:00
Andy Scherzinger
ae6194ffee fix for #1192 2015-10-15 14:04:56 +02:00
Andy Scherzinger
5db8c47b8a Merge branch 'master' of https://github.com/owncloud/android into notification_coloring 2015-10-09 14:45:32 +02:00
Andy Scherzinger
41a883549f Merge branch 'master' of https://github.com/owncloud/android into material_buttons 2015-10-07 19:03:23 +02:00
Maria Asensio
567355eed0 Merge pull request #1190 from owncloud/1182_Open_With_Fix
Fix for #1182 on Android 5
2015-10-07 11:19:16 +02:00
Maria Asensio
72e588b6b7 Merge pull request #1117 from owncloud/sortAccents
Sort accents
2015-10-06 14:51:14 +02:00
Andy Scherzinger
75e2349e5b Code review 2015-10-06 09:58:16 +02:00
Andy Scherzinger
8f0ea82efd Fix for #1182 on Android 5 2015-10-05 18:44:50 +02:00
tobiasKaminsky
7579d3daf7 Merge remote-tracking branch 'remotes/upstream/master' into sortAccents 2015-10-02 16:04:18 +02:00
Wikinaut
cf063bf04a fix #1024 show cert fingerprints when adding new account w/ untrusted cert
+ show SHA-256, SHA-1 and MD5 certificate fingerprint
  instead of signature hex dump
  when certificate is untrusted
+ show error string if one of the digest algorithms is not available
+ added check and error msg for certificate load problems
2015-10-02 02:39:10 +02:00
masensio
99d7e18916 Merge pull request #839 from fluffy88/develop
Trigger media scan after file upload
2015-10-01 18:45:01 +02:00
masensio
08d02058c8 Use SYNC_CONFLICT instead CONFLICT for conflicts in UploadFileOperation 2015-09-30 17:59:12 +02:00
masensio
9494620cc4 Merge branch 'master' into sync_full_folder
Conflicts:
	src/com/owncloud/android/providers/FileContentProvider.java
2015-09-30 12:24:01 +02:00
David A. Velasco
001801a39b Upload operations end in conflict if overriding a version different than the last known 2015-09-28 11:21:33 +02:00
Andy Scherzinger
796b1bd297 Add ownCloud color to notifications (only works on lollipop and up) for progress bar and icon background 2015-09-27 21:40:52 +02:00
Andy Scherzinger
35a68aa337 custom list preference implementation for visual material consistency on pre-lollipop 2015-09-27 20:21:09 +02:00
tobiasKaminsky
126d251375 fixed bug: behaviour is now obeyed for files that are uploaded after connection switch (no wlan to wlan) 2015-09-25 17:22:40 +02:00
Andy Scherzinger
5417b2a4e5 Merge branch 'release-1.8' of https://github.com/owncloud/android into material_buttons 2015-09-25 16:09:01 +02:00
David A. Velasco
056b7c964d Updated error message for failed folder synchronization ('download' not anymore) 2015-09-25 15:13:59 +02:00
David A. Velasco
7d7767aa11 Removed some logs 2015-09-25 15:13:57 +02:00
David A. Velasco
44023a6059 Clean-up: removed unused imports and methods, and commented code 2015-09-25 15:13:56 +02:00
David A. Velasco
499d628aa1 Removed separated 'download folder' in contextual menu and unused DownloadFolderOperation class 2015-09-25 15:13:54 +02:00
David A. Velasco
1e59a632bc Fixed permanent 'uploading' icon on files that are automatically renamed during the upload 2015-09-25 15:13:53 +02:00
David A. Velasco
b8a3dc71e4 Safe blanket to clean DB if wrong conflicts keep stored 2015-09-25 15:13:51 +02:00
David A. Velasco
95bebe9382 Remove conflict badge from ancestors when conflict is solved there are no more conflicts below 2015-09-25 15:13:50 +02:00
David A. Velasco
7399508e05 Removed conflict badge when conflict is solved 2015-09-25 15:13:49 +02:00
David A. Velasco
a2aa0479fc Added conflict icon to folders containing files with conflicts 2015-09-25 15:13:47 +02:00
David A. Velasco
e6c1454458 Persist conflicts in local database and show with an icon in the list of files 2015-09-25 15:13:46 +02:00
David A. Velasco
5f41bb14d3 ETag used to detect changes in remote files (not only in folders) 2015-09-25 15:13:44 +02:00
David A. Velasco
c0c52fa16a Fixed NullPointerExceptionS in upload cancelations 2015-09-25 15:13:43 +02:00
David A. Velasco
9b5506f81e Join cancelation of downloads and uploads in 'cancel sync', both for files and folders 2015-09-25 15:13:41 +02:00
David A. Velasco
68b52ddc5f Rewritten queue of FileUploader based on IndexedForest 2015-09-25 15:13:40 +02:00
David A. Velasco
e885c78dc7 Added icon for files synchronizing; folders use it whenever downloading or uploading any file inside 2015-09-25 15:13:38 +02:00
David A. Velasco
0162d2f9c9 Keep the old operation to sync folder as DownloadFolderOperation to allow its use while the new SyncFolderOperation gets stable 2015-09-25 15:13:37 +02:00
David A. Velasco
ac685690a2 Extend SyncFolderOperation to check local changes of all files and trigger uploads 2015-09-25 15:13:35 +02:00
masensio
9948180550 Merge pull request #1174 from owncloud/release_bug_fixes
Fixed a couple of tiny bugs
2015-09-24 17:33:22 +02:00
David A. Velasco
0c8dfb6e8d Close dangling Cursors in FileContentProvider 2015-09-24 17:06:54 +02:00
David A. Velasco
c7a29bc07b Set default static values to prevent weird crash 2015-09-24 17:06:39 +02:00
David A. Velasco
c8c3e84268 Fix repetition of already finished access to root folder (AsyncTask) on rotation, in log-in view 2015-09-24 16:13:58 +02:00
Andy Scherzinger
de13ecc4e3 Merge branch 'release-1.8' of https://github.com/owncloud/android into material_buttons 2015-09-24 09:46:58 +02:00
David A. Velasco
b7bb1ec0e9 Fixed crashed on cancelled download in gallery 2015-09-22 09:29:33 +02:00
David A. Velasco
cd165b7ce6 Grant that cancellations of tasks generating thumbnails really works for reused icon views 2015-09-21 21:25:11 +02:00
tobiasKaminsky
a0b061a058 java 1.5 does not support switch with strings :/ 2015-09-21 09:57:00 +02:00
tobiasKaminsky
2b6a61ddae #819 part3: When uploading from filesystem inside the owncloud app, show question 2015-09-21 09:45:20 +02:00
tobiasKaminsky
4b8a5a9c92 #819, part 2: Instant uploads, depends on setting 2015-09-19 14:33:29 +02:00
tobiasKaminsky
69bbb5c8cb #819: sending files to owncloud from another app: only upload, no copy 2015-09-18 17:47:23 +02:00
Andy Scherzinger
044c597e2b fix for refresh bug 2015-09-16 17:21:53 +02:00
masensio
359ede5fdd Merge pull request #1149 from owncloud/new_filetype_icons
New icon detection in general + support for additional mimetype icons
2015-09-16 11:39:26 +02:00
Andy Scherzinger
9e15d2459d Merge branch 'new_filetype_icons' of https://github.com/owncloud/android into material_buttons 2015-09-15 18:44:49 +02:00
Andy Scherzinger
3ff4d6df0f adapting web's way of choosing icons 2015-09-15 18:02:34 +02:00
Andy Scherzinger
6eccdc25b3 Merge branch 'new_filetype_icons' of https://github.com/owncloud/android into material_buttons
Conflicts:
	src/com/owncloud/android/utils/DisplayUtils.java
2015-09-11 13:06:14 +02:00
Andy Scherzinger
13a73dd568 Merge branch 'master' of https://github.com/owncloud/android into material_buttons 2015-09-11 12:47:01 +02:00
Andy Scherzinger
b1aff42715 further cleanup, moving folder icon determination into util class 2015-09-11 11:15:55 +02:00
Andy Scherzinger
ed094a7df6 Add further javadoc descsribing how to maintain further mappings in the future 2015-09-11 10:57:11 +02:00
Andy Scherzinger
1a26995be2 remove commented out test code 2015-09-10 18:20:26 +02:00
Andy Scherzinger
97fc896fd4 added mapping for bin to be iconized with "application" 2015-09-10 18:16:35 +02:00
Andy Scherzinger
fa12c619b0 rewrite for icon determination with refactoring into its own class + fixed a typo 2015-09-10 17:55:26 +02:00
Andy Scherzinger
8c19d0fa50 shortened this prediction, since it will always be image... 2015-09-10 17:54:05 +02:00
Andy Scherzinger
e9f793755e showing the filename in the long press menu on file list, see #559 2015-09-07 12:24:01 +02:00
Andy Scherzinger
6d670fb678 Merge branch 'master' of https://github.com/owncloud/android into material_buttons 2015-09-07 11:16:29 +02:00
David A. Velasco
3f40da0ac9 Fixed text preview filter to take into account local knowledge about MIME types 2015-09-07 09:14:00 +02:00
David A. Velasco
68ce6e62bf Reverse filter for preview of text files: all text/ but those in black list 2015-09-04 15:01:25 +02:00
masensio
fc5c4d899c Merge branch 'master' into text_file_preview_pr_707_with_develop
Conflicts:
	src/com/owncloud/android/ui/activity/FileDisplayActivity.java
	src/com/owncloud/android/ui/fragment/OCFileListFragment.java
2015-09-04 14:31:10 +02:00
Andy Scherzinger
32145d57db Merge branch 'master' of https://github.com/owncloud/android into material_buttons
Conflicts:
	res/layout/uploader_layout.xml
2015-09-04 13:16:11 +02:00
masensio
f787213cd1 Merge pull request #1102 from owncloud/copy
Copy files
2015-09-04 11:14:42 +02:00
masensio
6b84d83b35 Merge branch 'text_file_preview_pr_707_with_develop' of github.com:owncloud/android into text_file_preview_pr_707_with_develop 2015-09-02 13:29:14 +02:00
masensio
a0707428ff Merge remote-tracking branch 'origin/master' into text_file_preview_pr_707_with_develop
Conflicts:
	res/layout/file_preview.xml
	src/com/owncloud/android/ui/activity/FileDisplayActivity.java
2015-09-02 13:23:42 +02:00
David A. Velasco
f626b13634 Merge pull request #1114 from owncloud/tryFix1113
Removed squared background for transparencies from file type icons and thumbnails (stays for images in gallery view)
2015-09-02 11:00:30 +02:00
David A. Velasco
e6be60679f Merge branch 'master' into copy
Conflicts FIXED:
	src/com/owncloud/android/ui/activity/FileDisplayActivity.java
	src/com/owncloud/android/ui/fragment/OCFileListFragment.java
	src/com/owncloud/android/ui/preview/FileDownloadFragment.java
	src/com/owncloud/android/ui/preview/PreviewImageFragment.java
	src/com/owncloud/android/ui/preview/PreviewMediaFragment.java
2015-09-01 18:35:51 +02:00
masensio
313df93e95 Set background color as background for png with tranparency 2015-08-31 16:40:04 +02:00
Joas Schilling
03492691fc Strip away index.php/apps/files to allow copy pasting from the server 2015-08-28 20:21:53 +02:00
masensio
ca2892bdf1 Remove transparent background in icons 2015-08-28 18:50:43 +02:00
tobiasKaminsky
d1c18cac12 removed commented code 2015-08-25 15:57:10 +02:00
tobiasKaminsky
54a4263eeb fix #1110: accents not sorted 2015-08-25 15:55:45 +02:00
masensio
b81de1d547 Merge branch 'master' into create_folder_button_on_action_bar_for_uploader
Conflicts:
	res/layout/uploader_layout.xml
2015-08-25 14:53:42 +02:00
tobiasKaminsky
69e78694cd to be sure ;) 2015-08-25 14:43:36 +02:00
tobiasKaminsky
6df6548ee7 try fix #1113 2015-08-25 14:40:16 +02:00
masensio
8c9270e114 Merge pull request #1082 from owncloud/ignoreHiddenFiles
ignore hidden files also if they are images for counting
2015-08-24 13:06:36 +02:00
masensio
e836fd66e4 Merge pull request #1078 from gstraube/develop
Check if ETag for remote folder is null, i.e. it was not received from the server
2015-08-24 12:59:43 +02:00
tobiasKaminsky
84f9169e7a Thumbnails add checkerboard to png 2015-08-22 07:49:35 +02:00
gstraube
1a8a655747 Merge remote-tracking branch 'upstream/develop' into develop 2015-08-21 20:45:40 +02:00
tobiasKaminsky
8e3787909f Merge branch 'develop' of github.com:owncloud/android into svgTransparentBackground 2015-08-21 17:48:58 +02:00