Commit Graph

82 Commits

Author SHA1 Message Date
thunder2
daf0ea50ee PeersDialog/MessengerWindow:
- send recommended friend as message
- paste recommended friends as "retroshare://person|..." from clipboard

reworked retroshare link handling
- added new type -> retroshare://person|<name>|<hash>
- added processing of links to RetroShareLink and RSLinkClipboard and removed all processing in anchorClicked of QTextBrowser 
- fixed parseClipboard to handle all found links in clipboard
- disabled the processing of the clickable links (RetroShareLink::processUrl), because QUrl can't handle the RetroShare links properly

removed memory leaks of the QAction in some context menus


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3292 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-15 11:25:34 +00:00
csoler
b80aef1228 Suppressed the possibility for browsable only files to be searched by hash from turtle router.
This avoids that an attacker that captures a broadcast hash request can also ask for the file.

This needed to add back explicit sources in SearchDialog and private chat transfer. I dynamically search
for sources in file lists just before calling FileRequest.

When RS links anchorClick() will work properly with Qt, we can remove the search flag "EXTRA" from the
tunnel digging in p3turtle.cc, otherwise, people having this bug can't transfer files in private chat by
copy+paste of a RS link.
    
	Also:
	    - added missing mutexes in search requests into fimonitor.cc
		- suppressed some debug info in connect manager
		- added check for write fails when dumping config files



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3027 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-29 13:17:09 +00:00
thunder2
b0c1467abe improvement MessagesDialog:
- enabled draft box

bugfix MessagesDialog:
- correct from and to in list and message header

changes MessageComposer:
- cleaned channel part


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2994 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-25 09:32:14 +00:00
defnax
1fb7fb005c rename class and source ChanMsgDialog to MessageComposer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2978 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-23 19:13:41 +00:00
thunder2
6baf56285b reworked settings
now there is only one global object for loading and saving settings

RshareSettings *Settings;

the class RSettings can be used too, but it is not prefered, because the default settings has no affect

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2964 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-20 21:53:27 +00:00
thunder2
c3c6480f4b changed the usage of "QMenu*" to a local "QMenu"
removed usage of "new QMouseEvent", it was a memory leak
cleaned some includes

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2910 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-14 20:55:44 +00:00
thunder2
0c46da0dd2 Changed settings to local variable, no more as pointer on all classes.
RshareSettings settings;
settings.value(...);

It should lower memory usage and removes memory leaks.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2886 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-11 20:02:52 +00:00
thunder2
fb58beef4f Source code maintenance
Memory leaks:
- PeersDialog::insertPeers -> takeTopLevelItem, takeChild

- activate correct page on creating a new forum or channel from PeersDialog (problems with RS_RELEASE_VERSION)
  new static method to activate a page MainWindow::activatePage

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2842 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-03 00:09:55 +00:00
csoler
bffcbfe467 fixed the sorting of SearchDialog by age and by size, by using proper delegates for displaying the numbers. Removed the SR_REALSIZE_COL column, that is no longer necessary.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2840 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-02 21:37:54 +00:00
csoler
fdedc400dc corrected bug in search: files with size > 2Gb would not be added to transfers
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2819 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-30 22:17:14 +00:00
csoler
c6c8e63e91 ported branch commits 2666-2668, 2670-2672, 2679, 2682-2683 into trunk
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2702 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-10 14:56:34 +00:00
defnax
220d9039bb reset only ComboBox when close all search results
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2632 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-25 19:20:16 +00:00
defnax
7b6962499a Fixed age (time stamp) of directories
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2631 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-25 18:00:43 +00:00
defnax
a3e8bea22e Fixed to display Dir Count in search, fixed by Jimigor
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2629 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-25 12:34:44 +00:00
csoler
f8d6590952 ported v0.5.0 commits 2561,2562 and 2574 to trunk
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2575 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-17 15:34:36 +00:00
csoler
cc17744ee3 ported branch v0.5.0 commits 2529 and 2544 to trunk
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2545 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-15 12:57:08 +00:00
csoler
0705d9dfc7 added paste multiple links
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2516 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-10 23:09:35 +00:00
csoler
a657def956 cleaned the RS link code, factorized the parsing into a single class. Still missing: copy/paste of multiple links
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2514 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-10 21:38:26 +00:00
defnax
25e1eda6ba update extensions
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2480 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-04 12:09:43 +00:00
defnax
eee9ca1635 Fixed to get again gui resize able , search not allowed more to set gui to a minimum size.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2457 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-28 01:03:37 +00:00
csoler
84cad6a7b0 cleaned some memory leak in search, added 2 checkboxes for F2F and friend lists, made the "include own files" work properly
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2455 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-27 21:10:54 +00:00
csoler
9d6173a1ee put the max result test at a more appropriate place in the code
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2454 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-27 20:29:28 +00:00
csoler
15a28b1d2e added a spinbox to limit the number of search results (too many results may hang the gui)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2432 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-26 12:38:29 +00:00
defnax
fba9772a18 use for color sources friends sources + anonymous sources
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2416 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-24 16:54:02 +00:00
alexandrut
103e4517e9 include own files check option on search
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2391 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-22 21:44:43 +00:00
alexandrut
c4a5577ffb search result filtering
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2383 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-21 13:38:27 +00:00
alexandrut
11f63c90ea filter after search, not before search
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2362 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-19 00:48:42 +00:00
defnax
1db429537b update search extensions
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2332 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-15 17:29:13 +00:00
defnax
99b56b50dd update search extensions
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2328 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-15 14:52:47 +00:00
defnax
869b498c2e removed the icon column not more needed, set TextAlignment for Sources AlignRight, update extensions,
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2326 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-15 01:09:23 +00:00
defnax
b6e289c8c7 hide searchid column
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2325 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-14 21:48:54 +00:00
nishant
a5b01d1de6 to show files sources count in form of friend source/ total source
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2324 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-14 18:56:56 +00:00
defnax
d2bda9fff3 fixed stlesheets for Search LineEdit's frame, use now 3 chars for search
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2323 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-14 17:58:22 +00:00
csoler
1f6444829f blue -> gray
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2321 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-14 15:50:38 +00:00
csoler
1fe7b8262c limited the search to > 4 chars, suppressed some debug output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2319 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-14 15:34:53 +00:00
defnax
48a25578c0 fixed setFocus for search LineEdit when clearing it.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2312 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-14 11:43:28 +00:00
defnax
850e756fe3 hide reset button when search field is empty
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2309 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-14 02:31:37 +00:00
nishant
5e9e342bc9 tree widget converted to tree view in MessageDiwalogue and other fixes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2300 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-13 18:49:56 +00:00
defnax
3269dcce0e changed the Directory icon, use now blue folder icon
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2254 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-09 13:49:37 +00:00
defnax
37e9bf527c fixed to show for Folders Type Folder, and set root is decorated to not download a dir when want expand it.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2223 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-07 01:37:06 +00:00
defnax
da98a8f3ff update extensions for Search
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2139 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-27 20:16:33 +00:00
csoler
0e7f9df638 made contextual menus in FT more contextual, added info about transfer type and chunking strategy, load/save of transfer flags
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2114 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-22 23:23:37 +00:00
defnax
633300c5cc Added Copy and Send retroshare links for Search
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2109 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-21 22:34:10 +00:00
csoler
daee15776c added guard against downloading local files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2105 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-21 12:39:26 +00:00
csoler
96147a9734 added flags to file request: RS_FILE_HINTS_ASSUME_AVAILABILITY to not wait/ask for chunk maps. Used for cache transfer and also whenever the turtle traffic is not involved, such as chat file exchange, and RS_FILE_HINTS_NETWORK_WIDE to force using turtle routing for traffic. Also moved turtle tunnel start/stop orders from ftServer to ftController
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1995 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-11 22:38:18 +00:00
alexandrut
b715d07708 make possible to download an entire found directory from search dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1684 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-25 12:17:28 +00:00
defnax
d59e85efa5 fixed item
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1683 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-24 23:26:27 +00:00
defnax
9bec37e7f2 Added Age column for Search Results
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1682 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-24 23:18:25 +00:00
csoler
cef9385f5b improved the search dialog behaviour
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1680 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-24 21:08:55 +00:00
csoler
a436af418a Integrated turtle download to all kind of user-requested downloads
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1627 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-09 20:20:06 +00:00