Commit Graph

2413 Commits

Author SHA1 Message Date
thunder2
571099d56b Optimized p3HistoryMgr::cleanOldMessages.
There is no need to check the messages when mMaxStorageDurationSeconds is set to 0.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6779 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-29 13:31:15 +00:00
csoler
4e259fecfd allow max storage duration to be 0, in which case we keep all history
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6777 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-29 12:10:59 +00:00
thunder2
4dd77457ad Added info widget for encrypted messages in MessageWidget.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6774 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-28 22:05:38 +00:00
csoler
e21d869006 - added history parameters for chat lobbies
- added max storage time for items in chat history. Avoids filling up the history with chat from volatile peers.
- worked out the layout in config->ChatPage in a more compact design and added help
- set the max size of chat messages to 6000 bytes instead of 2000 which was a bit too low
- default max number of lobby messages saved in each lobby is 20. Avoids flooding for peers who havn't configured it yet.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6770 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-27 21:18:44 +00:00
csoler
f25f46dffb fixed missing update of transferred bytes count, that caused tunnels to not show a correct speed estimate on server side
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6768 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-26 18:38:35 +00:00
thunder2
a98f1d90b0 Fixed compile of gxs.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6767 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-26 10:09:40 +00:00
csoler
027b9ba017 removed warning that happens when lobby has no activity
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6764 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-25 18:34:50 +00:00
thunder2
6a9dfed408 Added new action "Load images always for this message" to image blocking.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6760 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-24 20:19:21 +00:00
drbob
43832a1f58 fixed typo in windows code.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6758 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-24 16:20:29 +00:00
drbob
ae2df43b8a re-wrote cleanupDirectory() function. As this a cause of the slow startup.
Startup time is massively improved!

Please test on Windows!



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6757 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-24 15:31:15 +00:00
csoler
cda8557b73 added entropy collection system based on mouse movement to location/identity creation, to make keys less predictable
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6753 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-23 20:55:34 +00:00
csoler
8ffc0e05de added control for suspicious message activity in chat lobbies. Lobby items are not bounced if coming from a peer that sends more messages per seconds than a given limit. The limit is adaptive and depends on lobby count
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6751 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-19 22:10:24 +00:00
csoler
11435dfd61 added limit in number of chat lobby ids sent by a peer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6750 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-19 19:44:20 +00:00
csoler
37f00e90a0 added new filter to remove xml bombs. To be continued
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6748 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-18 19:32:04 +00:00
csoler
235a189774 tuned 2000 chars limit to only chat lobby traffic
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6746 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-17 05:57:02 +00:00
csoler
6052f2042f tuned 2000 chars limit to only chat lobby traffic
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6745 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-17 05:55:43 +00:00
csoler
4ee7d8bb7e drastic removal of <! from all wide string in all RsItems, from the de-serialisation code. Shoudl prevent lol bombs throughout the whole software. To be tested further
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6744 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-16 22:24:43 +00:00
csoler
cb4e28f5db modified patch from AC to remove big messages from chat lobbies (likely to be a flooding attack). Displayed the name/location of the friend who relayed the message
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6742 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-16 22:00:26 +00:00
csoler
81a4523434 - Enabled multi-tunneling by consistently perturbating partial tunnel id in TRs.
This causes tunnels with a different route to have different ids and therefore
  coexist as different sources for a given transfer.
  This should cause file transfers to have more tunnels and therefore a better balance
  of bandwidth over intermediate peers. This needs to be evaluated on a large scale network.

- Cleaned some unused code.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6740 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-15 19:05:04 +00:00
csoler
d127d36131 added missing setPeerState that caused tunnels to get stuck to default minimum rate unless the list of connected peers change
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6739 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-15 18:27:52 +00:00
csoler
4b44304aec Enabled PFS for SSH connections, based on a 4096 bits safe prime. This is retro-compatible, meaning that old peers will connect to the new one using PFS if they act as a client (meaning they request the connection)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6738 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-14 12:28:45 +00:00
thunder2
961f079882 Fixed version number (*.in)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6727 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-10 21:10:11 +00:00
csoler
9d8d773c3c fixed proper display of crypto params for UDP connections
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6725 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-10 19:31:44 +00:00
drbob
98eff88d5b corrected version number.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6722 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-09 04:59:22 +00:00
csoler
c7bfcbe8ad fixed const in serializer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6716 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-08 12:02:15 +00:00
csoler
3a69ae2be8 removed debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6715 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-08 11:42:13 +00:00
csoler
ead05b9d9e fixed stupid mmistake causing large distant mesassages not to be split correctly
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6714 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-08 11:16:13 +00:00
csoler
8aa3ccad72 removed code inconsistency (did not cause any issue)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6711 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-07 14:12:11 +00:00
csoler
cd7e2df37e switched Sha1CheckSum::toStdString() to simpler/faster code. checked with tests/util/sha1_test
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6707 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-07 13:48:55 +00:00
csoler
eeb2dcaaf2 drop corrupted config files instead of looping into them
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6706 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-07 12:49:36 +00:00
defnax
dffba4225c update version string
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6704 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-07 12:16:41 +00:00
csoler
2cca7a3b02 updated version number to 0.5.5 prior to release
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6703 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-07 08:21:13 +00:00
csoler
eee6e0400c added auto-creation of extensions directory when not present
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6700 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-06 22:04:47 +00:00
csoler
3d0d047d14 removed one unused member of PGPCertificateInfo
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6699 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-06 20:07:10 +00:00
csoler
887c9ed50e fixed potential uninitialized memory read in PeerUploadInfo
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6697 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-06 19:06:56 +00:00
csoler
89f48fc1b6 fixed bug in pgp handler causing trust info to not being saved correctly
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6696 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-05 21:28:39 +00:00
csoler
ff0495c684 fixed uninitialized memory read when sendign a message to a lobby that was previously unsubscribed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6695 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-05 20:55:59 +00:00
csoler
65e7ad0e5b pqihash now uses Sha1CheckSum
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6692 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-05 19:28:10 +00:00
csoler
b76161dd5f removed uninitialized memory read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6691 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-05 18:45:40 +00:00
thunder2
5dee253030 Copy name of the location from the cert to RsPeerDetails in p3Peers::loadDetailsFromStringCert.
The name of the location was missing in ConnectFriendWizard, only the id was shown.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6665 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-01 12:11:21 +00:00
csoler
4c87eb0781 distant outgoing messages stay in outbox until actually sent
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6661 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-31 21:10:04 +00:00
csoler
19808587e9 fixed display of toaster for distant msgs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6659 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-31 13:12:26 +00:00
csoler
8d94ecf9ff added proper own signature flag to signed sent message
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6658 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-31 12:54:47 +00:00
csoler
c3732f5212 fixed display of distination peers in Sent messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6657 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-31 12:49:04 +00:00
drbob
60087f0ef9 Added return value checking of mutex_lock() function.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6656 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-31 08:16:09 +00:00
csoler
51f0726dd3 remove (distracting) message about unknown lobby message that appears when not subscribed to a previousl subscribed lobby
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6655 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-30 21:09:48 +00:00
csoler
731e832734 added proper memory for sources of distant messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6654 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-30 21:06:23 +00:00
csoler
abd8c1e32f improved name support for distant peers in messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6653 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-30 20:40:28 +00:00
csoler
6e8679ff90 automatically put paused files at end of queue (Patch from Phenom)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6642 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-28 21:26:27 +00:00
chrisparker126
0ecbd0d22b fix for gxs channels not getting synchronised (reputation was getting requested for empty author ids)
fix for external circle associated groups not synchronising message (circles being checked for peer who want to share out messages for circle associated group)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6635 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-28 19:27:04 +00:00