Commit Graph

921 Commits

Author SHA1 Message Date
csoler
be17a563d1 fixed compilation and added flag function for permissions in messaging 2015-12-04 23:08:49 -05:00
csoler
9193d3579b merged with latest master before creating PR 2015-12-04 21:24:51 -05:00
csoler
81ab43beb9 fixed GUI update of avatars and status for distant chat. Updated backend for new model. Fixed a few bugs in serialisation 2015-11-30 00:02:44 -05:00
csoler
87ede7eff5 removed debug info 2015-11-25 18:41:40 -05:00
csoler
bca89c63c6 fixed serialisation bug and added new GUI bits 2015-11-25 18:08:53 -05:00
csoler
3fbbc57a1f added update of flags for contacts 2015-11-19 23:04:13 -05:00
csoler
1347ee4b37 added regular contacts list and method to move RsGxsIds from/into this list 2015-11-19 22:58:28 -05:00
csoler
1de55d8fc5 replaced the few bools in RsIdentityDetail by a set of flags 2015-11-19 21:14:32 -05:00
Cyril Soler
0751876303 changed MAX_CACHE_SIZE to not use the default (fixes previous commit that was wrong) 2015-11-16 14:06:45 -05:00
csoler
b44d08ac4c changed GXS id cache size to 5000 instead of 100. Should help a lot GXS id handling 2015-11-14 21:18:26 -05:00
csoler
79c80c968a fixed a few bugs in display of tracking info 2015-10-27 22:41:29 -04:00
csoler
2096cd6c52 added backward compatibility and API extension for RsGxsGrpMetaData 2015-10-27 20:15:50 -04:00
csoler
d69f2709c3 restored constants and output to non debugging state 2015-10-27 00:02:16 -04:00
csoler
c7d0e4cb35 enabled ID tracking forums. Fixed thresholds for anti-spam forums. Changed computation of reputation scored 2015-10-26 23:38:10 -04:00
csoler
b009c1135f changed RsGenExchange strategy to use a threshold on reputation when validating posts 2015-10-25 23:45:33 -04:00
csoler
e60ac99994 added bias to reputation score for known and signed ids. Changed computation formula to an exp 2015-10-25 22:54:56 -04:00
csoler
441b164c73 fixed small bugs in average friend reputation display 2015-10-13 21:54:52 -04:00
csoler
71c8dfdc58 manual merge before creating a conflict-free PR 2015-10-12 14:45:11 -04:00
csoler
f18cc8295e fixed up constants for reputation system, now that is has been tested 2015-10-12 14:22:51 -04:00
csoler
7dc59845e9 added update for forum messages list when an author gets banned 2015-10-12 14:03:53 -04:00
csoler
36101a977d fixed small bug preventing msg exchange 2015-10-12 00:28:21 -04:00
csoler
1a76bea6ff enabled bannign button in forums, and disable message passing for banned users 2015-10-11 21:41:35 -04:00
csoler
68ca57ce75 added removal of messages frm banned users 2015-10-10 18:27:15 -04:00
csoler
59d2ca9c3d fixed bug causing uninitialised friend average reputation to be shown 2015-10-09 18:55:07 -04:00
csoler
338fcee865 added button in forums to flag poster identity as bad 2015-10-09 18:51:16 -04:00
csoler
ce96e88925 debugging of reputation system 2015-10-09 17:51:10 -04:00
csoler
bb7a8f2732 fixed some reputation sending bugs 2015-10-08 23:54:18 -04:00
csoler
8c6c9344fe fixed a few bugs in reputation items serialisation code and GUI display 2015-10-08 23:02:34 -04:00
csoler
3d21d99601 added debug info for reputation system 2015-10-08 18:39:50 -04:00
csoler
80ed6d1815 added pruning of opinions to limit data in memory. Fixed up types and sending/receiving friends opinions 2015-10-07 23:44:24 -04:00
csoler
78e6f67c69 added some documentation in p3gxsreputation.cc, and the method for computing final assessment 2015-10-06 23:56:39 -04:00
csoler
b0940890cd fixed compilation 2015-10-06 22:39:14 -04:00
csoler
9f6bc0c3fc added code for all reputation items 2015-10-06 00:11:18 -04:00
csoler
317e7ea5ab added some backend for reputation system 2015-10-04 23:14:49 -04:00
csoler
6626538cab half way through RsNxsItem encryption 2015-09-27 23:53:55 -04:00
csoler
22d4893721 removed a few compilation warning that might cause compilation errors on some systems 2015-09-24 18:03:19 -04:00
csoler
7293cd3afa updated ubuntu changelog 2015-09-21 22:58:58 -04:00
thunder2
ebd5da5e83 Optimizations in RsGenExchange, p3GxsForums and p3GxsChannels.
- Removed not used variables
- avoid copy constructors
- Use swap instead of operator= to move elements of std containers
2015-09-09 09:46:46 +02:00
thunder2
b8e3a434cf Auto download of recommended files adds the sender as source of the download. 2015-09-06 21:28:34 +02:00
csoler
168eb45539 removed debug info about missing keys; added debug info about deserialization checking of string 2015-08-05 20:51:34 +02:00
csoler
44117f0881 removed old function entry to collect outqueue stats. 2015-07-31 17:24:54 +02:00
csoler
2a47095599 removed unused method for OutQueue statistics; improved BW curve display; fixed a few display bugs 2015-07-31 17:24:19 +02:00
csoler
9471a91795 added basic functions to collect bandwidth info in pqistreamer both ways; added a sorting method in BWGraphSource to create curves from extracted BW info. Still not yet functional
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8600 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-12 04:04:18 +00:00
csoler
249c827f95 improved debug info in a few places
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8584 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-09 20:55:11 +00:00
csoler
46a4273668 added back functionality to choose DL directory for each channel
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8581 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-07 00:52:52 +00:00
electron128
0e1b3eac2e make identity name size limit in id service consistent with the limit in the GUI (patch from Henry)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8550 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-24 09:53:40 +00:00
csoler
f7e147c35d fixed debug output for IP ranges
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8546 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-23 19:23:53 +00:00
electron128
ef5e218859 initialise BanListPeer::addr
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8532 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-19 12:08:34 +00:00
electron128
728d5d6704 let turtle reputation classes initialise their integers
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8531 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-19 12:04:48 +00:00
electron128
3bc17bf3c2 added missing initialisation in p3GxsChannels
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8526 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-18 15:20:51 +00:00
electron128
b9255ad594 added missing initialisation in p3GxsCircles
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8525 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-18 15:17:37 +00:00
electron128
c6c3b45a3e added missing initialisation in p3GxsForums
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8524 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-18 15:09:56 +00:00
csoler
49534d9efd commented out some debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8501 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 19:11:07 +00:00
csoler
be774c866a removed debug info in p3postbase
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8500 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 19:03:40 +00:00
thunder2
0ee754939e Removed some unused parameter warnings.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8481 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 22:41:18 +00:00
thunder2
8cbbf61755 Added missing breaks to p3GxsChannels::notifyChanges.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8477 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 21:44:22 +00:00
thunder2
25acecdf93 Added missing breaks to p3GxsForums::notifyChanges.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8475 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 21:07:45 +00:00
thunder2
04297142ce Added missing break in p3GxsChannels::handle_event.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8474 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 20:41:27 +00:00
csoler
88c0883146 fixed default value of banning IPs reported by friends to false.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8472 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 20:05:41 +00:00
electron128
dd25e5dc31 avoid unwanted wait in in p3IdService (thx to jolavillette for finding this)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8463 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 12:34:48 +00:00
csoler
ca07e1415d fixed invalid use of wrong iterator in GXS reputation system
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8434 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 10:10:30 +00:00
csoler
f360e9d0ba fixed password handling in deferred signature algorithm (in case of cancel, enter wrong passphrase, etc)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8423 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-12 21:04:11 +00:00
csoler
4a6b5dce8f removed/improved debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8409 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-10 19:56:27 +00:00
csoler
dbf672e43b added load/save for IP ranges limit parameter in banlists
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8387 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-06 16:21:31 +00:00
csoler
6c7d86d659 improved GUI layout. changed filtering strategy: now all is collected but only a subset is banned, according to user input. Default is to only ban IP ranges auto-generated and home-made ranges.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8375 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-04 20:26:57 +00:00
csoler
90b4c989c7 added auto-accept of loopback address
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8372 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-04 18:06:30 +00:00
electron128
eb7a52a2a7 fixed bug reporting wrong IP for connection (patch from Cyril)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8367 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-04 13:25:19 +00:00
electron128
8d0842013b removed debug output in p3BanList (patch from Cyril)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8366 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-04 13:16:42 +00:00
csoler
00921b969e make sure that own IP reported by friend is a valid external IP. When connected on LAN, that is not the case.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8361 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-03 21:02:59 +00:00
csoler
ad13962e1f added additional filter for incoming IP lists to remove banned IPs. Removed some debug info but left the testing info when checking IPs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8360 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-03 20:28:16 +00:00
csoler
908d308fc6 fixed a few bugs causing failure to search in whitelist/blacklist
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8359 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-03 19:26:41 +00:00
thunder2
fb28284be3 Added a notify in SecurityIpItem when the ip address was added to the whitelist.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8355 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-03 15:14:26 +00:00
thunder2
7bb30921a1 Added missing mutex in p3BanList::removeIpRange
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8352 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-03 14:15:17 +00:00
csoler
777c915be2 load/save of banlist comments. Removed unused menu entries. Added auto-fill of input fields on sleection
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8343 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-02 13:02:20 +00:00
csoler
a8bc2d8d64 remove malformed IPs from saveList.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8341 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-01 22:17:14 +00:00
csoler
96cccbbc75 added hability to disconnect friends which report our own IP as something different than what we know. Removed a test in discovery2 that prevented sending info to a peer about himself. Not active yet since it needs some testing
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8340 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-01 22:03:07 +00:00
electron128
4643d0cbe7 don't overwrite own/friends IPs with discovery info (patch from Cyril)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8331 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-01 08:02:27 +00:00
csoler
e65785e1bc switch from rsDht to rsBanList to decide on adding friend IP
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8328 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-31 19:52:51 +00:00
electron128
db40002dda fixed compile
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8327 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-31 18:18:02 +00:00
electron128
b2634280a5 added missing mutex in idservice
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8326 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-31 17:31:40 +00:00
csoler
94649dfbfd fixed uninitialised memoy read causing non saving of whitelist ranges
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8323 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-30 21:48:45 +00:00
csoler
bb74d08f33 add/remove from lists. Load/save from user whitelist/blacklist
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8321 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-30 20:29:06 +00:00
csoler
b2967418ff added load/save of banlists
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8320 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-30 19:34:30 +00:00
csoler
f699855b7d added whitelist system and GUI for it. Not used in pqissl yet.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8319 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-30 13:57:10 +00:00
electron128
0a42b334ae prevent crafted distant msgs with partial message flag set (Patch from Henry)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8318 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-30 11:35:30 +00:00
csoler
e80c366393 added flags for whitelist/blacklist checks in isAddressAccepted()
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8317 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-30 09:29:43 +00:00
csoler
20a2d42038 almost done with load/save of BanLists. Changed the item format to include masked_bytes, and changed subitem types. Also disabled code from rsgxsreputationitems.cc wich was a copy of the code from rsbanlistitems.cc
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8316 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-29 20:49:37 +00:00
csoler
4ebc87b9c2 added possibility to include manually some IP ranges
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8315 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-29 18:03:14 +00:00
csoler
b0acf6dd59 improved display of banlist
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8313 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-29 16:07:35 +00:00
electron128
5f8755522e fix banlist (Patch from Cyril)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8312 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-29 14:06:15 +00:00
csoler
562c7c2c20 working version of IP banning lists. Default settings should keep users safe from traffic re-routing based on DHT masquerading. Some GUI bugs remain.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8308 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-28 21:44:43 +00:00
electron128
8b8ffa8caa added missing mutex in p3BanList
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8306 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-28 09:38:13 +00:00
csoler
38aefdf62f first UI prototype for IP ban list system. Not yet usable.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8305 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-27 21:30:40 +00:00
csoler
047977b645 Started implementation of ban list. For now, just gathers the list of banned IPs from
the DHT and is not used to reject IPs yet (the DHT list is, even if DHT is desactivated).
Next steps: GUI with switch controls, exchange of IP ban lists between friends, handling IP ranges.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8297 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-26 21:17:09 +00:00
csoler
e9b9dce9f5 created 2 subclasses of RsThread, one for ticking services, and one for single shot jobs. Now all threads use the same base code.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8288 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-22 20:54:38 +00:00
electron128
699dc50b3f in ChatLobbyWidget: show dialog to create a new identity when there is no own identity
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8269 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-17 10:13:32 +00:00
electron128
a3b32b92d5 fixed wrong names in comment and debug output (patch from Phenom)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8230 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-11 18:26:59 +00:00
electron128
451718660a show gxs message store period in gui, set forums store period to one year
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8206 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-02 18:48:10 +00:00
csoler
90d6ac6697 fixed memory leak and potential crash due to not copying items passed to config saving in messages. Added save/load for map between GRouter and Msg ids which fixes the never removed outgoing messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8184 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-28 21:46:10 +00:00
csoler
77a33cd445 removed unnecessary debug output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8153 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-21 20:09:20 +00:00