csoler
e9fa9eb317
removed tricky memory leak in chat lobbies due to handling of partial messages
2016-04-21 22:07:50 -04:00
csoler
d017771650
fixed missing sendTime in distant chat, causing inconsistent display in GUI
2016-04-20 18:10:53 -04:00
csoler
b148239e4f
always pass data accept test in distant chat when we are on the client side of the tunnel
2016-04-10 21:09:47 -04:00
csoler
a3890ad1c3
added gathering of routing clues from lobbies
2016-04-03 11:00:03 -04:00
Phenom
c6f1cc4e63
Clear WebAPI when clear chat history in GUI.
...
Move notifyChatCleared call to p3ChatService
To maintain notify direction.
2016-03-31 22:52:53 +02:00
csoler
0c138d70ad
moved discarding of banned identities from lobbies before signature checking, so as to avoid to time stamp their GXSId keys
2016-03-26 18:36:52 -04:00
electron128
63a8260cb9
change RsNotify to use RsGxsId for chat lobby events
2016-02-14 11:53:27 +01:00
electron128
8e6998b8d9
removed redundant map _lobby_ids from DistributedChatService.
...
The same information and more is stored in the _chat_lobbys map.
_lobby_ids is unused since commit 67e1495d9a
2016-01-10 14:34:08 +01:00
electron128
67e1495d9a
use ChatId instead of virtual peer id for chat lobby popup. Removed a now unused method from rsmsgs interface and DistributedChatService.
2016-01-10 13:29:40 +01:00
csoler
8a41554754
fixed some leaking memory issues in loadList() methods, and also increased consistency by not returning non empty list with deleted items inside
2015-12-30 18:20:09 -05:00
Phenom
894328b6c1
Fix default Identity on Chat
...
This was reseted by a new listitem after it was restored.
2015-12-30 15:57:28 +01:00
csoler
71b3638c36
removed some debug output in distant chat
2015-12-27 22:19:30 -05:00
csoler
a80a6669b6
added notifiction of denying conversation for distant chat
2015-12-27 22:16:04 -05:00
csoler
9dfac71822
connected GUI to distant chat permission flags system
2015-12-27 21:10:20 -05:00
csoler
140205108a
added backend for distant message and distant chat filtering based on contact list
2015-12-25 22:37:06 -05:00
csoler
5d9272055f
merged with upstream/master
2015-12-22 18:33:01 -05:00
csoler
0c1e6301b3
merged with latest upstream trunk
2015-12-05 16:49:00 -05:00
Cyril Soler
0ac76d621e
Merge pull request #188 from csoler/v0.6-SecuredTunnelService
...
V0.6 secured tunnel service. Please reports bugs to me (I have tested with valgrind and as many configurations as possible, but the multi-service gathering into GXS tunnels shared for each GXS id pair is not a totally simple thing, so I expect to have missed a few issues).
2015-12-05 10:28:16 -05:00
csoler
9193d3579b
merged with latest master before creating PR
2015-12-04 21:24:51 -05:00
csoler
318be3a2ad
fixed a few bugs in distant chat: disabled history (for now), improved tunnel handling
2015-12-04 00:06:14 -05:00
realityfabric
9f561993ee
fixed spelling errors in several files
2015-12-02 06:18:17 -08:00
csoler
12866cd735
fixed a few bugs in new distant chat
2015-11-30 20:51:47 -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
a29f15ae32
fixed compilation, added missing methods for new distant chat
2015-11-28 14:55:56 -05:00
csoler
6ca49a2d98
fixed serialisation methods for GxsTunnel service
2015-11-27 23:37:39 -05:00
csoler
a2e0f4196b
updated GUI for new distant chat
2015-11-26 20:40:06 -05:00
csoler
1de55d8fc5
replaced the few bools in RsIdentityDetail by a set of flags
2015-11-19 21:14:32 -05:00
csoler
1bc2892753
removed some debug info
2015-10-30 21:11:44 -04:00
csoler
410102a7fc
fixed bug causing lobby messages signed by IDs linked to unknown PGP keys to be dropped
2015-10-13 21:34:53 -04:00
csoler
71c8dfdc58
manual merge before creating a conflict-free PR
2015-10-12 14:45:11 -04:00
csoler
82c16c6a27
fixed GUI tooltips over banned items. Added dropping of messages from banned identities in chat lobbies
2015-10-11 22:08:19 -04:00
csoler
ebe48f495d
added proper memory release after mallocs in distant chat (SVN bug 383)
2015-10-11 11:12:11 -04:00
Cyril Soler
a45de1ddb3
Merge pull request #57 from csoler/v0.6-SignedLobbies
...
V0.6 signed lobbies
2015-08-28 00:14:24 -04:00
AsamK
5dad1680e6
Implement history for distant chat
...
Uses the same history config as private chat
2015-08-28 01:29:34 +02:00
csoler
040b4fb949
implemented gp-authed lobbies. Still needs some GUI
2015-08-26 23:35:36 -04:00
hunbernd
16859a1d3a
Fix: chatlobby toaster not working
2015-08-15 23:37:33 +02:00
csoler
bdad800509
added additional key checking for IDs received during distant chat DH handshake
2015-07-31 17:24:08 +02:00
thunder2
37f68bc3b6
Added missing restore of ostream format (std::dec) in rschatitems.cc.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8607 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-12 22:06:44 +00:00
thunder2
eca970bb0c
Added check of function parameter to DistantChatService::handleRecvDHPublicKey.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8589 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-12 00:45:48 +00:00
electron128
962db670f1
fixed potential mismatch free/delete[] in distant chat
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8512 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-17 10:15:25 +00:00
csoler
fb2be005ab
fixed Chat Lobby gui complaining about wrong string passed to RsGxsId constructor
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8498 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 18:53:35 +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
a4e72da526
Fixed commit 8448. Initialized the the member aes_key of DistantChatPeerInfo with memset.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8462 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 09:04:26 +00:00
thunder2
5af0716a16
Fixed memory leak in DistantChatService::locked_sendDHPublicKey.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8456 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 22:34:03 +00:00
thunder2
c187c03758
Fixed memory leak in DistributedChatService::invitePeerToLobby when lobby not found.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8452 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 21:24:17 +00:00
thunder2
725d44985b
Fixed uninitialised member in DistantChatPeerInfo and DistantChatDHInfo
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8448 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 20:13:12 +00:00
csoler
c077091693
fixed potential passing of deleted item to sendChatItem when a ChatLobbyItem is too big (would probably cause a crash. Found using coverity)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8428 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 09:08:09 +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
377eb50c6e
fixed bug in previous commit for chat lobbies
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8386 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-06 14:01:08 +00:00
csoler
20c3777d78
only send name changing events in lobby when the two nicknames are PGP-signed
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8380 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-06 11:44:23 +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
csoler
0e1b161537
fixed compilation with debug flag enabled in chat lobbies
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8189 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-29 20:43:46 +00:00
csoler
3e4d63f4ab
added early removal of event items that do not belong to a subscribed lobby (causing signature check error)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8161 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-23 19:09:47 +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
9d2b6faf9c
fixed bug with default chat lobby identity causing settings to show an empty list. Also fixed up GxsIdChooser
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8081 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-26 21:20:57 +00:00
csoler
5fc269bcff
released timing constraint a little bit for distant chat (last setting would make it unstable)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8041 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-17 21:16:15 +00:00
csoler
29d3c8bcdd
made signature verification passe when no key is present in the cache for lobby events
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8038 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-16 20:38:59 +00:00
csoler
67c5ef9c8a
increased responsivness of distant chat by forcing tunnel re-digging when no activity is detected. WARNING: the new timestamps make the communication break will peers not up to date, since they will not send keep alive packets on the same delay basis.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8023 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-15 13:23:03 +00:00
csoler
502b34dff4
removed dead code in chat lobbies
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8021 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-14 21:44:37 +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
2664cf2f9a
fixed possible crash due to not checkitn rsIdentity
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7997 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-08 11:51:44 +00:00
csoler
5e15fdf2d0
set some default value for _default_identity if no value comes from LoadList
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7995 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-08 10:07:09 +00:00
csoler
4017a91932
removed compatibility between invites for old/new lobbies, causing error in flags
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7990 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-07 08:41:32 +00:00
csoler
b738d9b6e9
fixed bug causing invitation to turn lobbies into private lobbies
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7989 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-07 08:30:55 +00:00
csoler
5028dbbfe6
added missing include for some systems
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7988 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-06 21:53:00 +00:00
csoler
f9c78ebd61
merged in new lobbies with GXS ids. Old peers and new peers cannot see each others lobby lists. Invitations still work and can be used to transfer a lobby ID between versions. Messages of old and new peers will not be visible to each other
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7986 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-06 21:13:23 +00:00
csoler
10162590ae
fixed mistake in distant chat (== instead of =)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7980 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-04 21:37:20 +00:00
csoler
ee9144c79a
removed deprectated items in chat lobbies. Removed debug output in distant chat.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7944 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-14 21:10:05 +00:00
csoler
6e8e5efb90
fixed a few bugs in distant chat protocol (allow re-negociation of DH parameters if decryption fails, correct passing of own gxs id for server side), making the system more reactive. Also fixed the issue of avatar not showing up. Changed the tunnel naming system to something specific to distant chat. WARNING: this version cannot distant chat with previous versions.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7943 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-14 20:55:05 +00:00
csoler
baccdd58df
committing missing part of rev. 7928
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7930 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-08 21:06:36 +00:00
csoler
bf11765ff1
fixed a few compilation warnings
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7859 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-23 08:22:54 +00:00
csoler
817aa793fc
added non aggressive mode option to turtle router to make distant chat happy
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7856 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-22 20:25:39 +00:00
csoler
13d7866171
simplification of the chat interface to libretroshare using a single unified class for chat IDs. Used a common chat widget for all chats including broadcast. Opens the way to having plugins send/recv chat messages. Patch from Electron.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7800 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-29 21:41:05 +00:00
csoler
f5a30c3d3f
fixed bug in distant chat causing multiple tunnels to break the DH session.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7765 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-16 21:45:49 +00:00
thunder2
55be6675af
Added size limit for chat types - Public, Private, Lobby, Distant
...
Set the size limit for private and distant chat to unlimited.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7761 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-16 10:39:56 +00:00
csoler
b7e94fce99
added keep-alive packets to distant chat. Improved the tunnel management logic.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7735 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-07 21:51:30 +00:00
csoler
512a938cfb
fixed bug in distant chat: tunnel monitoring wasnt stopped when quitting if no vitual peer present
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7725 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-03 19:26:12 +00:00
csoler
ce83a24692
removed unused code in distant chat, removed some debug output
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7698 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-22 12:47:21 +00:00
csoler
7014a8f171
reworked logic of distant chat so as to handle multiple conversations at once and cope with multi-tunneling system.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7693 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-20 23:18:14 +00:00
csoler
06065ef623
added selection of which identity we talk as when multiple GXS identities are available
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7691 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-18 15:55:31 +00:00
csoler
fd20f629dc
fixed GUI for distant chat: correct display of peer names, chat window on client shows up when chat is openned. Window on server only shows up when first message is received.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7688 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-17 21:56:41 +00:00
csoler
8480d46eb5
improved the logic in distant chat. Now all traffic is referred to by the GXS id of the contact instead of virtual peer id which would change with tunnel route. Work still needed to fix up the GUI
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7687 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-16 22:46:18 +00:00
csoler
756b9acf41
fixed bug caused by old GXS keys in distant chat. Added a security warning for these keys to be deleted.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7684 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-15 20:54:42 +00:00
csoler
a3eea2cfb1
fixed bug in distant chat randomly screwing up key exchange, and causing distant chat to be unreliable.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7677 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-13 22:28:37 +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
thunder2
f7f1da01b5
Fixed compile on Windows
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7668 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-08 17:57:21 +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