Commit Graph

3329 Commits

Author SHA1 Message Date
drbob
644f2fcbcc Added Address Test Function to strip out bad connection attempts. Logic is:
- FAIL if too old.
  - FAIL if invalid address.
  - FAIL if on BannedIpList (=1.0.0.0)
  - ACCEPT if extAddress.
  - ACCEPT if !extAddress && sameNet(localAddr).
  - FAIL all the rest.

 * Test Results are printed if CONN_DEBUG is switched on.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3705 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-27 22:16:55 +00:00
defnax
aab3e69e03 Added to display connection count of friends and down/up speed on tray tooltip
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3704 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-27 21:29:48 +00:00
thunder2
ab5b2a3851 Optimized parameter "hash" of method RsFiles::FileDetails from "std::string" to "const std::string&"
Removed compiler warning of FileEntry.
Recompile of the GUI needed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3703 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-27 20:01:31 +00:00
defnax
5809e25a60 added back dhtstatus label to StatusBar
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3702 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-27 12:49:46 +00:00
defnax
ddf97c8ed2 added dht icon
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3701 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-27 00:12:09 +00:00
chrisparker126
7b5c611d80 don't allow user to add same file twice to createchanmsg instance
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3700 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-26 22:41:47 +00:00
csoler
fb6de2aaf4 corrected small bug in chunk completion display
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3699 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-26 21:13:35 +00:00
defnax
734951039f fixed back the ChannelFeed layout and stylesheet
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3698 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-25 23:34:17 +00:00
chrisparker126
80017cc597 added improved channel search/filter
- only show items that contain search text based on combo field
 - equal scorers are then arranged in terms of last time stamp 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3697 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-25 20:46:26 +00:00
thunder2
a2905bd7ae Reworked ConfCertDialog to show more dialogs at once.
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3696 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-25 20:19:57 +00:00
thunder2
42f20e9b6b Fixed compile on Linux.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3695 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-25 18:58:45 +00:00
thunder2
fb5785ac9d Fixed german language.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3694 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-23 14:08:20 +00:00
thunder2
10aa75d2c6 Removed potential memory leak in AuthSSLimpl::encrypt/decrypt in case of an error.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3693 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-23 14:03:35 +00:00
csoler
4fb0b2145e corrected bug in nodes.cpp, line 129: bad modulo arithmetic.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3692 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-23 12:44:47 +00:00
csoler
12428d766f forgot isVisible() test
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3691 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-22 20:54:32 +00:00
csoler
c4b5f41446 fixed force calculation in elastic model. Still need to figure out what connexions we show
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3690 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-22 20:47:08 +00:00
thunder2
b7b8cfe860 Renamed "Peer Details" in ConfCertDialog in "Friend Details".
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3689 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-22 17:00:13 +00:00
defnax
77d33cad4a enabled word wrap for the Description label
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3688 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-20 21:51:11 +00:00
drbob
258f545361 * Fixed startup logic, so the DHT doesn't continually restart - if low peer count.
* properly initialised bdId.addr and other struct sockaddr_in.
 * This should fix the windows bitdht - not send - issue.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3687 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-20 18:36:25 +00:00
drbob
9cf531fc9a Modified bitdht to enable simultaneous peer searches.
* Added maximum msg limits (20, 50, 100 msgs per sec). 50 = default.
 * Priority send out pings, with 10% queries.
 * switched bdquery list in bdnode to use pointers... so peers can be 
   	easily reordered (queue for queries).
 * Add all find peers, once dht initialised.
 * Added reset if FINDSELF fails. (don't know if this is a good idea!)
 * simplified DHT printouts. verbose versions are enabled with debug.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3686 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-19 22:03:38 +00:00
thunder2
6fb89a90b2 The file splash.bmp is needed by the installer.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3685 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-19 22:03:01 +00:00
thunder2
3a50bcb8f7 Added a simple startup splash screen.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3684 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-19 18:06:22 +00:00
defnax
6a55d75a86 fixed the stylesheet for the searchLine in channels
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3683 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-18 15:28:05 +00:00
defnax
a2107c9bfa fixed the new layout of new frame.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3682 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-18 15:17:50 +00:00
defnax
9d79ba3f36 forget to commit stylesheet changes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3681 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-18 14:44:04 +00:00
thunder2
f936bb8996 Removed unnecessary call to RsForums::getForumMessage in ForumsDialog::insertThreads.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3680 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-18 11:29:55 +00:00
drbob
71ab42d74d * added startDHT() command to startup code....
This will be reworked into a user controllable switch in the near future.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3679 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-17 20:56:19 +00:00
drbob
74961774cc * Added new interface functions for start / stop DHT and to get stats.
* Implemented start/stop interface in udpbitdht and bemanager
 * added Restart of DHT if it fails to get going.
 * added start / stop functionality to bdnode and bdstore
 * added cleanup code to rest of bitdht classes.
 * reworked NetworkSize calc functions.
 * added thread debugging (prints at start / stop / join).
 * TESTS: added utest.h header file for automated unit testing (from libretroshare)
 * TESTS: bdmetric_test started conversion to automated tests
 * TESTS: udpbitdht_nettest. Added dht start / stop and network reset (thread join) functionality.
 * TESTS: fresh bdboot.txt



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3678 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-17 20:55:32 +00:00
chrisparker126
884f0e7a22 added channel search to channelfeed ui
fixed timestamp not being set in p3distrib 
and also removed memory look in channel ui (fillchannelList)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3677 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-17 14:43:49 +00:00
csoler
af8ad4e862 removed the "emergency shutdown" feature in tickPeerTransfer(), that would stuck some transfers on the lowest rate 128 B/s. On my tests this emergency shutdown is never needed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3676 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-16 21:09:48 +00:00
csoler
630e7dfe6b code cleaning. Removed debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3675 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-16 16:49:35 +00:00
csoler
c8f6770b7d moved the callback information into flags in ftFileControl. Side effect: code is simpler, channel transfers are saved in a backward compatible way
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3674 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-16 15:21:37 +00:00
csoler
8369d42600 corrected a bug in chunkmaps that affected file creators being providers at the same time, which could corrupt data. Added some debug info to chunk maps.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3673 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-15 22:12:29 +00:00
csoler
eb21343685 added a torture test for file creators that also are used as providers
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3672 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-14 21:45:53 +00:00
thunder2
f4cb8b0845 Fixed german translation.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3671 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-14 21:00:23 +00:00
thunder2
bb796fd6d6 Fixed start of retroshare-nogui.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3670 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-14 20:53:48 +00:00
thunder2
3a60e8cecb Added service functionality to AuthGPG for load and save of certificates in the background (prepared for more when needed).
Added p3disc as service and process the certificats of RsDiscReply with AuthGPG service.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3669 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-13 16:15:26 +00:00
defnax
923e76bde2 forget to remove this
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3668 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-12 00:15:10 +00:00
defnax
b5fdc9873d removed not useful stylesheet skins
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3667 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-12 00:13:31 +00:00
thunder2
d687019d01 Optimized columns of the channel tree.
Fixed german translation.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3666 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-11 22:39:47 +00:00
thunder2
76f51d05b3 Corrected some erases of std::iterators.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3665 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-11 15:52:12 +00:00
defnax
1ce0c822ba Added to display filesize on ChannelMsgItem and moved the filelabel to the right side
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3664 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-11 00:48:11 +00:00
defnax
3681c8a2f5 enabled PreferAntialias for some Buttons
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3663 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-10 18:05:49 +00:00
defnax
e1d9e1a4a8 Little improvements with QFont::PreferAntialias for the Labels in ChannelMsgItem/SubFileItem.
Added to display the file size after the filename on SubFileItem.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3662 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-10 16:43:37 +00:00
chrisparker126
a612872d9b fixed bug that caused user to lose own channel if they unsubscribed it
removed channel file copying 
added tool tip for key sharing 
and tool tip for read status 



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3661 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-10 15:22:50 +00:00
chrisparker126
e187204437 fixed bug that caused user to lose own channel if they unsubscribed it
removed channel file copying 
added tool tip for key sharing 
and tool tip for read status 



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3660 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-10 15:20:28 +00:00
thunder2
0be24268f7 Fixed resizing of the MainWindow when hashing files with long names.
Moved the hash strings of notifyHashingInfo from the librs to the GUI for translating.
Fixed german translation.

Recompile of GUI needed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3659 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-09 18:35:34 +00:00
defnax
4a286f751b changed vertical layout space of the ChannelMsgItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3658 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-09 15:16:18 +00:00
thunder2
c2c52a81ec Fixed crash on load of the config, when the first attempt loads some RsItem's but failed and the second attempt failed too. The loaded items are deleted twice, because the std::list of the loaded items is not clear'ed after the delete of the items of the first attempt.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3657 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-08 19:22:03 +00:00
defnax
1f6225f778 corrected wrong object name
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3656 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-08 16:41:20 +00:00