Commit Graph

2835 Commits

Author SHA1 Message Date
csoler
15fd4d787a re-enabled load/save pending items.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-NewGRouterModel@7853 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-22 09:50:44 +00:00
csoler
f1990276c3 transmission works with return receipts. Message sending works. Still needs proxy mode.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-NewGRouterModel@7851 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-20 13:04:10 +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
csoler
ce7710d183 implemented data transmission code (not fully working yet)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-NewGRouterModel@7848 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-15 20:33:24 +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
bec858b9d5 fixed fclose before rename (previous commit was wrong)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7834 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-10 19:25:05 +00:00
csoler
eacdbe6ddd fixed missing fclose before rename
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7833 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-10 19:05:49 +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
csoler
8129d0c5d4 Fixed inconsistent code (Patch rom G10H4ck)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7821 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-05 19:37:42 +00:00
csoler
4704cc122d Code simplification and suppression of a bug in handling Relay connect attempt (Patch rom G10H4ck)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7820 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-05 19:34:43 +00:00
csoler
306d6852c2 Added missing free() in error handling code (Patch rom G10H4ck)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7819 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-05 19:26:50 +00:00
csoler
a29a8c8a49 Few optimizations and code improvements. Also added one missing fclose in error handling code (Patch rom G10H4ck)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7818 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-05 19:20:34 +00:00
defnax
0f22870bbd update version string
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7815 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-02 13:57:51 +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
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
0e9fcf1c42 limited number of error outputs to GetRsRawItem()
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7783 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-23 13:13:02 +00:00
csoler
c8b3d4e527 improved RsServer so that join() is called on every running thread at shutdown, hence avoiding SIGSEGV. Removed some unused members of RsServer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7776 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-21 20:52:34 +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
6452947e8a reverted recent commit on connection logic: it does not solve the problem. More debugging needed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7771 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-18 20:09:04 +00:00
drbob
e2dbbb7740 Protection against multi-threaded usage.
- Added Mutex for open / close of sockets.
 - Removed cross socket ticking.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7768 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-17 09:04:27 +00:00
csoler
93dd5d8322 fixed weird logic in handling connection attempt for an already connected peer.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7767 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-16 22:16:14 +00:00
csoler
85515f0a62 fixed cross-deadlock between pqissl and pqithreadstreamer by removing locks over atomic operations.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7766 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-16 21:46:07 +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
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
d4dad8328f fixed compilation warnings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7759 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-16 06:49:42 +00:00
thunder2
70009367da Added missing initialize of members in constructor of GxsGroupStatistic and GxsServiceStatistic
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7747 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-11 13:03:09 +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
thunder2
0738121a90 Fixed deadlock in pqithreadstreamer::stop (request from Cyril)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7741 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-09 11:18:20 +00:00
csoler
71cd1e0030 2nd attempt at fixing tcponudp bug. To be tested.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7740 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-08 22:17:06 +00:00
csoler
d8d5fdd24c attempt at fixing tcponudp bug. To be tested.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7739 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-08 21:13:26 +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
thunder2
40bfa50b29 Fixed utf8 issue when using strings with openssl
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7726 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-03 23:03:03 +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
a5bf3b6f3f improved/cleaned debug outputs in in rsgxsnetservice.cc. Performed optimization of transaction system: limited the size of message transactions and allowed a much larger transaction timeout to suppress the transaction cancelling epidemic that caused global bandwidth increase and lack of channel/forum propagation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7724 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-02 20:06:56 +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
21fe2413cd two improvements of turtle router logic: increase of TR cache storage time to avoid too many void tunnels due to bouncing TR beyond storage period of 120 secs; prevent openning upload tunnels for files currently being downloaded before any chunk was obtained. Suggested by Jo.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7719 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-29 17:26:06 +00:00
csoler
959c0ebf5b fixed serialisation bug preventing the correct save of grouter matrix in some cases
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7715 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-27 18:14:11 +00:00
csoler
705598b0b4 fixed proper deleting of pending transactions inside mutex to avoid concurrent thread to use them
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7713 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-26 20:34:24 +00:00
csoler
e2daec7134 fixed uninitialised memory read in rsgxsdataaccess.cc
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7712 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-26 20:33:29 +00:00
csoler
a9c40bf1d8 sorted initialisation routine. Removed uninitialised memory read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7711 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-26 20:07:43 +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
2f547e4014 Added service pointer of forums and channels to RsPlugInInterfaces.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7704 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-23 23:24:41 +00:00
defnax
c731525b23 update the windows build bat`s
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7700 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-22 13:32:26 +00:00
csoler
5cd64bde29 removed uninitialised memory read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7699 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-22 12:51:52 +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