Commit Graph

921 Commits

Author SHA1 Message Date
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
csoler
36506ea1e8 added security 200 bytes limit on ID nicknames from getIdDetails
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8152 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-21 19:03:46 +00:00
csoler
057b2afa4e improvement of global router after first test phase. Fixed a number of bugs.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8141 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-18 19:59:27 +00:00
csoler
c9d5c7b3cb turned some std::list<PeerId> into std::set, as it automatically prevents duplicates
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8138 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-17 21:36:22 +00:00
csoler
68d25b324a fixed id auto-cleaning
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8134 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-14 20:57:40 +00:00
csoler
b0b986efff fixed deadlock in old identity cleaning. There is still a bug to catch so the cleaning code is currently disabled (but RS will print info about deletion)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8133 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-14 16:56:02 +00:00
csoler
059a0b3bf7 prevent discovery and p3PeerMgr::loadList() from erasing service permission flags. Now the existing pgp-based values are kept.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8122 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-04 21:18:43 +00:00
electron128
070630d297 added missing delete in p3discovery2::processContactInfo()
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8100 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-30 17:04:57 +00:00
drbob
7cece484c4 Modify Messages with additional namespace - to allow switching to new Mail.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8066 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-22 04:45:01 +00:00
csoler
553240cda9 slowed down config saving in p3idservice
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8022 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-14 21:46:30 +00:00
csoler
9ed57f9daa added missing stamping of key and missing include
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8016 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-14 14:59:14 +00:00
csoler
48ea291d95 moved signature validation and encryption one level up into p3IdService. Added timestamp for GXS identities and auto-removal after 7 days. Updated display in IdDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8015 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-14 14:33:23 +00:00
csoler
ab9cb2b600 removed mentions to encrypted messages. Replaced by distant, with the appropriate flags. Removed old msg encryption code
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7963 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-20 10:34:11 +00:00
csoler
d2c4c3bb09 added new flag to allow peers auto-download recommended files from trusted neighbor nodes, which give the possibility to push data to other nodes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7955 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-18 19:07:58 +00:00
thunder2
8351510841 Receiving a shared key:
- Added notify of the group id and the refresh of the gui
- Added system message (create of message disabled)
- Added possibility to show a news feed item

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7926 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-08 01:01:48 +00:00
csoler
64f8b4c539 removed all permission system. Kept the use-as-direct-source option.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7904 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-02 22:32:30 +00:00
csoler
8a8f9fc528 added number of posts at friends to saveList/loadList. Improves visibility of number of posts
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7896 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-31 18:06:37 +00:00
csoler
beb7c84898 removed debug info fom gxscommon
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7878 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-26 19:45:33 +00:00
csoler
481ee246b5 added avatars to identities.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7875 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-25 22:09:12 +00:00
csoler
34f968a112 merged new GRouter model (branch v0.6-NewGRouterModel 7837-7863). Provides a fully functional distant messaging system. The asynchronous part will be implemented shortly
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7867 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-23 19:28:10 +00:00
csoler
5967ee535f fixed free/delete mess in GRouter
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-NewGRouterModel@7863 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-23 15:16:04 +00:00
csoler
e0308eacd2 fixed up cache loading issues on get key. Polished grouter stats. Improved sending logic. Distant msgs now work 100% (sync-ed)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-NewGRouterModel@7860 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-23 12:13:13 +00:00
csoler
1998ddd765 fixed gui bits. Improved message handlign logic and notification
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-NewGRouterModel@7854 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-22 14:33:19 +00:00
csoler
eea680e78c New message passing system. Still misses signed receipts.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-NewGRouterModel@7850 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-19 13:53:36 +00:00
thunder2
94ec83fcdb Removed version files from retroshare-gui.
Moved header file with version information to retroshare/rsversion.h.
Added version information to Windows executable.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7845 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-14 23:26:51 +00:00
csoler
e8f5f44318 started implementation of new Global Router model. Switched msg service to use it (much simpler now!), and updated GUI. Implemented half the tunnel management logic.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-NewGRouterModel@7838 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-11 22:18:28 +00:00
csoler
c83d27924e fixed bug causing a security breach by storing private GXS keys into the public key cache. Added a few asserts to totally remove that possibility. Ideally we should have 2 incompatible key types.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7829 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-10 07:30:26 +00:00
csoler
48e47fabd3 fixed bug introduced in simplifying patch in previous commit (backward compatibility)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7828 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-08 20:11:21 +00:00
csoler
e2af0cb38b fixed non saving of checkAttempts for pgp signatures of groups, causing pgp signatures of unknown keys to be re-checked every minute (Patch from HM, modified)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7827 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-08 19:55:51 +00:00
thunder2
afa542b636 Fixed double (or more) add of own identity to p3IdService::mOwnIds after edit in the gui.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7794 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-25 21:41:32 +00:00
csoler
acc45a4382 removed some debug messages, added some ifdefs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7775 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-21 19:12:40 +00:00
csoler
93f77a0e2c improved network statistics for GXS net service. Added number of available messages for unsubscribed forums in GUI. Should be done as well for channels.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7760 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-16 06:54:15 +00:00
csoler
3e1f7fa4e3 remove GXS ids with faulty signature. This should not happen anyway.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7745 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-10 21:59:28 +00:00
csoler
2cbd77ac33 added additional check for signature consistency after signing GXS id.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7744 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-09 20:38:03 +00:00
drbob
6588eafb99 Adding start of new Mail Service.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7723 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-02 13:22:48 +00:00
csoler
ab038bf69e fixed inconsistency using getKey() and getPrivateKey() supposing it returns a boolean. It should return a boolean anyway.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7709 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-25 20:31:18 +00:00
csoler
30d9671ca6 added setFlags method in Id combo box. Removed possibility to send anonymous distant messages (too risky). Improved the logic in message composer GUI. Fixed bug when key not available in message encryption/signing routine.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7705 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-24 21:02:18 +00:00
thunder2
3ef04a61c9 Added feed item for Posted group and message
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7694 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-21 00:50:18 +00:00
thunder2
33f785f200 Added notify of received groups and messages for forums and channels to libretroshare.
Show GxsChannelPostItem in NewsFeed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7675 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-13 22:03:12 +00:00
csoler
f6efa2fb92 separated chat items from message items, separated chat into tree components: chat, distant chat and distributed chat (i.e. lobbies). moved all chat components into chat/. Removed deprecated chat items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7670 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-11 16:10:54 +00:00
csoler
b98c6cbe02 moved all distant chat code into a separate file. Will do the same for chat lobbies
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7666 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-08 14:55:29 +00:00
csoler
ea5b923428 added very basic display of outqueue statistics in BwCtrlWindow. Removed unnecessary list::size() calls in pqistreamer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7652 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-31 21:24:42 +00:00
csoler
ec2d6ed2c7 removed unnecessary string to string conversion
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7651 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-31 21:19:52 +00:00
csoler
d547cb6fdb changed post fixed operator++ into prefixed. More efficient on some systems. Patch from Phenom.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7630 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-24 22:07:26 +00:00
csoler
880efee332 removed ifdef for the different sleep methods. Now only usleep is used, on all systems. Patch from Phenom
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7629 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-24 21:31:58 +00:00
csoler
b593a918a0 optim: changed postfixed ++ into prefix++ for non trivial operators, replaced test on std::list::size() by std::list::empty() (Patch from Phenom, modified)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7627 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-21 22:33:02 +00:00
csoler
6e2df7e0de extended group share keys to Posted
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7608 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-13 18:31:47 +00:00
thunder2
fbb177dd66 Added read status to posted messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7600 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-12 17:22:21 +00:00
thunder2
d3682337f0 Set new messages to unread
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7599 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-12 17:11:37 +00:00
thunder2
1bfa4df911 Fixed missuse of message flag UNPROCESSED as indicator for a NEW message
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7598 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-12 15:53:23 +00:00
csoler
d0469ccfc3 implemented publish key sharing between peers for channels.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7582 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-05 19:14:05 +00:00
csoler
789e6ae24e removed some debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7542 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-16 19:53:23 +00:00
csoler
f6db432c74 Merge of branch v0.6-rssocialnet 7419 to 7488. Changes from electron and myself:
- added possibility to modify groups (e.g. edit circles)
- fixed mismatched free/delete in fimonitor.cc, authssl.cc, pqibin.cc (saving encrypted hash cache file)
- improved plugin interface class to allow plugins to access GXS objects.
- added method to un-register notify clients from RsNotify
- fixed pqisslproxy for windows, due to win not properly supporting sockets in non blocking mode.
- removed static members form RsInitConfig and made RsAccounts object a pointer. This prevents plugin initialisation problems at symbol resolving time.
- removed bool return from p3IdService::getOwnIds()



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7492 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-08-25 21:07:07 +00:00
csoler
8667cf9f92 add changing state for Send button in chat when msg size exceeds allowed size (Patch from Phenom)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7438 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-06 11:33:04 +00:00
thunder2
60a67846b0 Added notify of meta changes to RsGenExchange
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7428 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-04 21:51:17 +00:00
thunder2
b85459ee02 - Removed not used members from RsGenExchange and p3IdService
- Fixed memory leaks in p3PostBase

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7425 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-03 21:49:17 +00:00
csoler
be82951e2e fixed popup of distant chat dialog, and display of peer names.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7406 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-06-12 22:06:43 +00:00
csoler
b44e469e0e added missin gunistd.h
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7404 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-06-12 16:52:32 +00:00
csoler
80f4401e88 - implemented DH protocol for PFS encryption in distant chat between GXS ids.
- changed format of keyId in rstlvkeys.{h,cc}, but kept the serialisation for backward compatibility (A #define needs to be removed to fix it for good). Updated rsrecogn, rsmsgitems, gxssecurity accordingly
- added "chat peer" in IdDialog to help testing distant chat.

Distant chat works and is now encrypted. The GUI still needs some smoothing: display of correct peer names
in chat window, remove the need to add a message in p3chatservice.cc:3217 to force poping up the chat window.

- added MsgAddress class to handle generic address types while keeping type separation in Messages. Not used yet.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7403 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-06-12 10:28:23 +00:00
csoler
b7f794c37d added more error info for failed servicePerm packet. Fixed small bug in GXS-distantChat. Data passes through. Crypto still pending.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7379 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-26 21:44:16 +00:00
csoler
b6c68d1812 - started changing distant chat so that it works with GXS ids instead of PGP ids. Something is still broken in
service control. Crypto is not done yet => distant chat is unencrypted.
- changed GUI for distant chat. Removed invitation system.
- added menu item to distant chat GXS ids from IdentityItem (only entry point for now).
- fixed bug in chat lobbies causing re-connexion of lobbies not to happen everytime (bug reported bu Lain)



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7378 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-25 21:43:05 +00:00
thunder2
d2fc7a3e10 Fixed compile on Windows
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7376 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-19 22:16:04 +00:00
csoler
bfe872118b - fixed a bug in distant message signature checking
- fixed delay problem in not getting uncached GXS Id keys by prior requesting details about the key
- enabled signing by default in MessageComposer
- implemented print() in RsTlvIdSet.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7373 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-17 21:36:07 +00:00
csoler
d3b92ddab9 Fixed mismatched free/delete; removed one dangerous and unused function; added missing memory release calls
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7370 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-15 21:55:34 +00:00
csoler
a9193c6380 added additional checks to signature verification
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7353 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-08 09:20:25 +00:00
csoler
a5d88d967e added code to transmit the sender GXS id in the message widget. Still need to make distant message links work
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7347 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-07 20:53:16 +00:00
thunder2
4c66f82da8 Added set read status to channel post
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7343 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-06 20:55:30 +00:00
defnax
a9dcd24ba7 Added Phenom's patch AddGxsIdDeleting_v0.6_7328.patch
Changed some context menu icons for GxsGroupFrameDialog

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7337 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-06 17:15:20 +00:00
drbob
6e4883f606 removed debug messages.
fixed bug in circles receive list.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7313 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-30 11:50:45 +00:00
drbob
23480be883 Added PgpAuxUtils to allow Mocking of Pgp functions for simulations.
Cleaned up some of the debug messages.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7306 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-27 13:14:07 +00:00
csoler
9beb33f172 fixed enabling of distant messages, fixed serialisation bug
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7294 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-21 13:08:42 +00:00
csoler
33abca82e5 - removed LinksCloud from plugins (based on obsolete cache system)
- removed copy constructor of RsGenericId from std::string as it allowed many inconsistencies and double transforms of IDs from/to strings


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7289 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-20 16:34:26 +00:00
csoler
ed198af807 - added notification from global router to client services
- keep distant messages in outbox until they get notified to be received
- cleanup dead code


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7284 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-19 16:02:11 +00:00
chrisparker126
e916299ceb - reviving nxs tests for gtest framework
- removed double update bug thunder found

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7275 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-13 21:52:53 +00:00
chrisparker126
11fa133377 Bob's reputations code
- enables score calculation

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7230 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-04 22:07:18 +00:00
drbob
0dbe55bd05 Fixed serialiser bug in RsTlvList
Switched to proper Ids in gxsCircle gxsId items.
Fixed up Config serialiser.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7218 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-01 08:00:20 +00:00
drbob
600639db51 fixed up tlv serialisers:
- Added RsTvlUnit: public RsTlvItem, which handles some of the infrstructure.
 - made TlvSize() SetTlv() and print() const.
 - split rstlvtypes into its bits and cleaned up header files.
 - added templated RsTlvList, imilar to cyrils id one.
 - removed GXS_GEN_TESTNET
 - cleanedup rsserviceids.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7215 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-29 15:34:37 +00:00
csoler
1042744685 merged remaining of v0.6-IdCleaning branch (7180->7213) to incorporate global router stuff in trunk
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7214 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-29 14:18:05 +00:00
drbob
0e6302ac6a Removed configuration type (uint32) as its not needed or really used.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7212 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-29 05:20:57 +00:00
drbob
190988c3cc Switched most of the services to use p3ServiceControl instead of p3LinkMgr.
- Added a couple of utility fns to p3ServiceControl too.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7211 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-29 03:57:44 +00:00
chrisparker126
5440aec17b Fixed code issues resulting in excessive warnings
Cleaned up GXS code a bit, removed unused functions and types from nxs and serialise items

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7203 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-23 12:13:44 +00:00
drbob
a06064e167 Finished Notifications in p3ServiceControl:
- added extra Mutex to make notifications work.
 - Added ServiceControl tick to ServiceServer.
 - switched p3discovery2 from pqiMonitor -> pqiServiceMonitor



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7201 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-23 03:30:59 +00:00
drbob
83a78bcaee Added ServiceControl + ServiceInfo. Basics are working, but still a lot to do!
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7196 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-22 03:53:44 +00:00
chrisparker126
e2c8c6e141 Compilation fix. Rs compiles now, group and message creation work ok, more testing to do still
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7192 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-20 11:26:53 +00:00
drbob
8f6e00cf67 fixed up gxsreputation - temporary fixes to new ids.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7189 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-19 12:02:48 +00:00
chrisparker126
8cd578f09e compile fixes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7188 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-18 22:29:24 +00:00
chrisparker126
0f29d28b1b merge of branch v0.6-idclean 7180
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7187 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-17 20:56:06 +00:00
drbob
1b2ed66814 Implementation of GxsId Opinion, and start of Reputation system.
- Removed old reputation system from p3idservice
 - Removed old Msg types as well (no longer needed)
 - Added real submitOpinion()
 - Modified serviceString to support Reputation System.
 - Added reputation information to both Cached Data, and Standard ID Data.
 - Added basics of new reputation system as alternative service. (not gxs).
 - Added Generic TLV types for maps.
 - Moved configuration files to their own directory .rs/config/
 - Finally, fixed up bits missed from the change to updateGroup!



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7131 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-19 11:08:37 +00:00
chrisparker126
a31f39c4bd Removed meta update filter for updateGroup, all meta changes now allowed.
- be careful not tested

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7124 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-16 22:28:23 +00:00
thunder2
f818bb8e9a Fixed Windows compile with Qt 5 (Merged from branch v0.5.5)
- Revert change of revision 7063 in openpgpsdk.pro for Windows compile
- Changed order of the libraries in FeedReader plugin

Fixed Windows compile with MinGW 4.8.0
- Added missing include

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7111 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-12 22:03:20 +00:00
drbob
d9e483c48a added updateGroup functions to gxs services.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7101 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-09 10:33:16 +00:00
csoler
235280399f - changed Sha1CheckSum from hand-made class to instance of t_GenericIdType<> (should be backward compatible)
- updated ft/, p3msgservice and p3chatservice accordingly
- added a new class for Sha1Sum in t_GeneridIdType<>, and an additional template argument to make ids of identical size 
	incompatible.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7082 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-01 19:10:45 +00:00
drbob
c0738eec7f Merging branches/v0.6-initdev into trunk.
These split at 6672 -> 7075, so quite a bit merge.
libretroshare compiles - but untested.
retroshare-gui needs GenCertDialog.ui and IdEditDialog.ui to be properly merged. (compile errors).
some plugins will be broken.
retroshare-nogui is untested.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7078 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-01 14:16:15 +00:00
csoler
e12929d9d7 Added connexion to the msg system and fingerprint into grouter addresses. flushing current changes before 0.6 merge.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7072 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-30 22:14:37 +00:00
csoler
fd682ed23d fixed mismatched free/delete in p3channels.cc
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7053 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-23 21:42:43 +00:00
csoler
ff2cb0fe09 fixed bug introduced in 6965 that prevented people joining private lobbies to see the messages and talk
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7051 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-22 22:23:17 +00:00
drbob
ae5942733e - Split majority of p3posted into p3postbase.cc - so that it can be reused by other services.
- Fixed iterator overflow into rsgxsupdateitems.cc
 - Fixed Mutex deadlock in pqiperson.cc
 - Removed old code.
 - Fixed lots of compile warnings - mainly wrong variable ordering in constructors.




git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@7044 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-20 11:42:27 +00:00
defnax
4a87f5d73b fixed compile
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7004 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-10 16:22:29 +00:00
csoler
630824aa1b Updated the notification system. Main changes are:
- the notification system is now a service, p3Notify, that is a public RsNotify.
- RsNotify does nothing except providing a registration system for new notify clients.
- Clients should derive a notify client from the NotifyClient class and register it to rsNotify
- all registered clients get all notifications, so only derive the needed methods. This should allow 
  plugins to get notifications as well.
- updated the code to call RsServer::notify()->[notification method] from inside libretroshare
- pqiNotify has been removed.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6996 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-07 22:51:22 +00:00
csoler
4ce8ea73d2 moved PGP id types into rsid.h, and renamed them with a more appropriate name
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6985 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-03 22:42:17 +00:00
csoler
ee4985c935 patch "Fix_ChatLobbyAutoSubscribe_6951.diff" from Phenom. Fixes request for existing lobbies when no lobby ihas been found yet. Code beautification
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6971 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-27 20:21:44 +00:00