Commit graph

4037 commits

Author SHA1 Message Date
David A. Velasco
d89488ea01 Refactoring: a single method to request ShareActivity 2015-10-30 16:56:24 +01:00
David A. Velasco
f4ae62cc48 Simplified handling of life cycle in ShareActivity to grant nice operation
while navigating and rotating
2015-10-30 16:56:23 +01:00
David A. Velasco
d4df65d7c7 Fixed NPE on list of shares in SearchShareesFragment; and some clean-up 2015-10-30 16:55:29 +01:00
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
masensio
f1bd33ce00 Fix: Having the device in landscape current shared users are not shown. Redimension 'Share with' dialog 2015-10-30 16:53:06 +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
f8548b49f1 Delete search_user_item.xml 2015-10-30 16:48:33 +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
masensio
b3dc5f477c Show 'Add Users or Groups' button properly 2015-10-30 16:47:31 +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
David A. Velasco
dea69d5fd7 Grant that any suggestion may be selected without software keyboard overlapping 2015-10-30 16:37:34 +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