Commit Graph

19 Commits

Author SHA1 Message Date
csoler
8adb91be91 removed compilation of ShareDialog that is unused, and cleanup the editing in ShareManager 2016-12-03 15:05:10 +01:00
mr-alice
8653649132 fixed two bugs in ShareManager popup menu 2016-11-03 20:26:35 +01:00
mr-alice
c6df59a421 fixed bug in duplication of virtual dir names 2016-11-01 11:11:28 +01:00
mr-alice
9d586bcfb0 made a drastic simplification pass on the ShareManager, which now only needs a single window except for selecting files using a QFileDialog 2016-10-31 16:28:26 +01:00
csoler
4e2f454907 reduced calls to flags/group update code to the minimum, to avoid sending file lists except when the share manager / share dialog gets closed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5822 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-14 22:56:25 +00:00
thunder2
59ed165c81 Saved group ids instead of group names for the group-based file permissions.
Translated group names in Share Manager.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5796 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-09 00:46:41 +00:00
csoler
6edb9eb4f8 Merged branch that provide group-based file permissions.
Now users can sort peers into groups in the friend list, and attribute flags and parent groups to the
directories in the share manager.

Flags are B-B-N, meaning in order:
- browsable for peers in the parent groups
- browsable for everyone
- network wide for everyone
Backward compatibility makes previously BN flags been interpreted as -BN, meaning browsable/network wide for everyone.

Be careful with this new feature. It has been tested, but it's a bit early to rely on it for highly sensitive data.

The merge also includes a significant improvement of the naming of flags with incompatible types
which should sort out some existing bugs as well, since inconsistencies in flag usage have been
found during the process.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5787 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-07 20:03:16 +00:00
thunder2
9b5ee85fd0 Removed context help button from the dialogs (currently not used) and added minimize/maximize buttons to the "floating" dialogs.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5786 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-06 23:26:47 +00:00
csoler
e753f22909 fixed flags conflicts
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-FileSharingPermissions@5758 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-02 13:52:29 +00:00
thunder2
f29b41f303 Enabled drag and drop in ShareManager to add folders to the share.
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4172 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-26 23:38:29 +00:00
thunder2
831c73dd9d Added edit of shared folders. The change of the virtual name results in a rehash of the shared folder.
Save and restore the position of the ShareManager window.
Fixed german translation.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3513 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-18 16:05:32 +00:00
thunder2
ed737e2c9f Fixed umlauts (utf8) in Windows. Changed some parameters to reference pointer. Added virtual folders to the lib.
Recompile needed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3509 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-17 18:27:30 +00:00
csoler
0773e92f85 Ported patch from thunder2 (http://sourceforge.net/tracker/index.php?func=detail&aid=2991827&group_id=178712&atid=886241)
- Bug fix: Checkbox for automatic share of the incoming directory doesn't correctly set with setDown, use setChecked
- ShareManager and RSettingsWin doesn't need to be created all the time
- RSettingsWin: Save the last active page for the current runtime
- ShareManager and DirectoryPage: Show changed shared directories direct after the change




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2777 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-24 22:09:47 +00:00
defnax
92df7037b2 Added ShareDialog for ShareManager
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2693 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-08 16:33:10 +00:00
csoler
f9dc3b223b Started implementing flags to handle the sharing mode.
What works:
- the gui shows the flags in ShareManager
- the flags are loaded/saved to ft_shared.cfg and passed on to FileIndexMonitor
What does not work yet:
- the flags are not accounted for yet by FileIndexMonitor

In addition:
- simplified the directories dialog in Preferences, so that it calls the ShareManager instead of dupplicating the directories management 
code that becomes larger.
- setup the ShareManager to be a singleton, so as to coherently call it from different places.




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1486 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-03 19:43:52 +00:00
alexandrut
fe2934f6db proper update of shared list when list is modiffied from a different place
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1363 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-12 21:03:26 +00:00
defnax
b57cdeb4fc * Added QMessagesBox feature for the ShareManager's Add/Remove
* Fixed DirectoriesDialogs's Add Folder method.
* Set ToolTips for The DirectoriesDialogs's Buttons

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@916 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-01-06 22:35:22 +00:00
defnax
8ba3c2de28 * added context menu for Share Manager to can remove a Shared Directory
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@900 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-01-01 17:47:35 +00:00
defnax
5459a536be * Added a Basic Share Manager for the replacement "Add Share" on MainWindow
* Fixed SharedFilesDialog columns

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@883 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-12-11 01:19:34 +00:00