Commit Graph

3204 Commits

Author SHA1 Message Date
electron128
6dff335515 use notify for gxs events. Removed the previous polling based system. Now multiple clients can receive gxs changes. This also fixes the always growing changes queue in rs-nogui.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8057 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-20 10:39:17 +00:00
csoler
1f4d827140 commented out unused (and buggy) function in authgpg
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8054 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-19 21:42:31 +00:00
csoler
90427eb08b fixed self-signature checking for imported keys, previously causing imported certificates with signatures to be rejected
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8053 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-19 21:02:14 +00:00
electron128
2335290a56 added check for empty author id in gxs group creation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8050 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-19 08:43:40 +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
c4b1b3dfbc fixed serialisation bug likely causing the loss of peers.cfg (Thx G10H4ck for finding this)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8039 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-16 21:27:35 +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
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
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
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
thunder2
b26c55126c Fixed missing notify of changed message ids to the gui.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8011 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-11 13:39:58 +00:00
csoler
78160d729f removed some dead code in pqithreadstreamer after last commit
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8010 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-10 21:41:41 +00:00
csoler
b6ce3ab7b2 attempt to fix the deadlock situations in pqithreadstreamer. Also solves the crash when quitting
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8009 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-10 21:16:41 +00:00
thunder2
f6a1cbb3b2 Reduced locking time of mutex in RsGenExchange::processMsgMetaChanges and RsGenExchange::processGrpMetaChanges.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8005 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-08 23:12:57 +00:00
csoler
a1b36cd530 added method in ftServer to allow retrieving data from shared/downloaded files (patch from electron, modified)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7999 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-08 13:46:07 +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
6aaf559b3a fixed typo preventing compilation without RS_USE_BITDHT flag
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7996 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-08 10:14:55 +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
cdf7de317d removed systematic printout of outgoing items which killed performance (patch from electron)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7994 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-08 08:48:00 +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
2044575067 attempt to fix never ending thread. To be tested.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7982 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-05 20:53:32 +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
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
b02fdce3ad Allow TLSv1.2 while keeping compatibility with TLS1 and 1.1 (Patch from cave)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7958 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-19 20:07:40 +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
drbob
7d9ff44fe2 Added extra check against invalid sockfds.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7951 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-17 12:08:40 +00:00
drbob
ab2f506117 Added extra checks for valid sockfd in cansend / moretoread code
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7950 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-17 11:57:08 +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
6585cfca2c fixed compilation on debian squeeze. Removed placeHolder properties in CreateGxsForumMsg.ui and GxsGroupDialog.ui which need to be set in the cpp. Added a new DEFINE=NO_SQLCIPHER to compile without sqlcipher when sqlcipher cannot be found (no sqlcipher is available on debian squeeze).
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7941 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-13 19:34:38 +00:00
csoler
0d308ffa2e patch from sehraf to fix the ChatId::toStdString() method
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7940 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-13 19:09:03 +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
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
thunder2
83f2ee4c95 Fixed possible crash in the handle methods of RsGxsNetService when the dynamic cast of a received item fails.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7922 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-07 10:09:48 +00:00
thunder2
a7e0fd8345 Fixed double feed publication
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7920 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-07 01:04:51 +00:00
csoler
7642ba1c1f added load/save to service permission matrix
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7906 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-03 21:28:32 +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
b2c2b7fc85 implemented dedicated widget for service permission matrix. Permissions are not saved yet, and we also need a default switch
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7898 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-01 14:38:19 +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
a6c4e430f6 setup serial_size method to be static
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7895 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-31 18:05:02 +00:00
csoler
b081e4a89d added missing comment
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7894 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-31 18:04:23 +00:00
csoler
e19d2e3c36 re-enabled anti-svg bomb code before some jerk tries to exploit it. It was used for wide strings. Moved it to std::string deserialisation.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7893 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-31 12:30:31 +00:00
csoler
327c369d5c fixed tree bugs in GXS sync:(1) group pulish TS is now accounted for in mServerGrpSyncMap, so that modification of metadata is propagated in the network; (2) mClientSyncMessageMap is stamped when the server cannot feed any new messages. (3) group info for no-auto-update services are still sent, but only groups already present but available with a new version are sent. This fixes the propagation of GXS avatars.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7889 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-30 20:46:58 +00:00
csoler
be6c17fe5f removed sendign of msg list from unsubscribed groups
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7888 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-29 20:47:09 +00:00
thunder2
e04ee3f446 Fixed crash in RsGenExchange::subscribeToGroup (request from Cyril)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7884 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-29 14:21:18 +00:00
csoler
c455623738 - added more debug info to gxs net service so as to see what's going on
- force-updating timestamp of unsubscribed groups to avoid re-asking them indefinitly
This should remove the heavy GXS traffic. 



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7883 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-28 22:48:59 +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
thunder2
301e8e7019 Fixed memory leak in request handling by adding a destructor the the request classes derived from GxsRequest and delete the result.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7876 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-25 23:22:58 +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
thunder2
f02948c54c Removed timeout of waiting tokens in TokenQueue (gui) and increased timeout of requests in libretroshare from 30 seconds to 2 minutes.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7873 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-25 12:29:33 +00:00
thunder2
0039f0aa51 Added missing include unistd.h (usleep) for Windows compile.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7868 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-23 20:04:23 +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
352d8413c0 fixed stupid mistake in commit 7858 in SSL error handling causing impossibility to connect
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7866 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-23 19:17:33 +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
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
2e211a6904 fixed missing error checking in X509 Verify callback
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7858 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-23 08:13:26 +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
d886c34233 added missing line when exporting ChatID to std::string (fix by sehraf)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7855 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-22 15:57:24 +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
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
thunder2
2b0bdc73bb Fixed reading memory after it was deleted. The error was the reason for the ghost feed items.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7849 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-15 21:49:33 +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
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
thunder2
7f58460e5f Added DEPENDPATH to pro files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7842 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-12 23:14:35 +00:00
csoler
8cb3ae6d2e added code to generate 3072 and 4096 bit PGP keys at startup (Patch from Serhaf)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7841 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-12 22:02:43 +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
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
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
e007151197 implemented more tests and fixed a few bugs in GxsSecurity
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7683 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-15 20:24:56 +00:00
thunder2
b475b84070 Removed some compiler warnings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7678 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-15 00:39:19 +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
f2a6d9f35e fixed error messages in grouter items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7676 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-13 22:27:01 +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
thunder2
67215c7ffe Removed unnecessary method p3Notify::AddFeedItem.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7674 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-11 20:28:45 +00:00
csoler
db4b87cd01 Mutex debugging: added a new macro RS_STACK_MUTEX(myMutex) to trigger a scope guard while recording file location and line number. Moved the timings from RsMutex to RsStackMutex. Changed the mutexes in rsgenexchange and rsgxsntservice to use the new macro.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7672 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-11 19:47:05 +00:00
csoler
b25f6f30ef fixed memory leak
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7671 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-11 17:10:16 +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
04b3b432e8 fixed re-login after wrong passwd. Patch from Electron
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7669 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-08 19:31:16 +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
csoler
9a6d57f89b fixed compilation of network simulator
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7665 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-08 12:36:20 +00:00
csoler
7fca2836d6 improved mutex lock debugging
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7662 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-05 20:07:15 +00:00
csoler
2912b533a5 added additional factor to reduce Nxs item broadcast when outqueues are already filled in whereas user-defined bandwidth limit is unreached
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7656 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-02 10:21:45 +00:00
csoler
5d13dee029 fixed compilation after removing operators!= (patch from phenom)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7655 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-02 09:40:51 +00:00
csoler
1078126a38 added tempering system for GXS, so as to not send more in the outqueues than what the current bandwidth can handle.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7654 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-02 09:23:37 +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
9311dc5922 removed unused comparison operators
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7650 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-31 21:18:52 +00:00
csoler
39e123dbf2 added security check in pqissl::senddata() to avoid SIGSEGV when quitting
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7649 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-30 19:55:10 +00:00
csoler
d8b3a16a50 removed debug output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7648 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-30 19:54:21 +00:00
thunder2
135dde5d59 Changed sleep to usleep in RsStackFileLock::RsStackFileLock (request from Cyril)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7647 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-29 09:38:22 +00:00
csoler
eefac5e4df added more time measurements in RsMutex, so as to measure locking time and waiting time. Only enabled with RSMUTEX_DEBUG
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7646 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-28 20:37:48 +00:00
csoler
59ab1bdc52 limited storage of DEAD items in grouter cache to 1 hour to favor re-explore dead routes and limit cache size
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7644 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-26 16:54:32 +00:00
csoler
90b57337f5 fixed display of TOR connexions in the friend list
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7642 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-26 16:24:45 +00:00
csoler
067e5d4fac fixed SIGSEGV when quitting due to deletion of UPnP handler during callback
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7634 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-25 12:48:03 +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
c17de671bb added feedback from rsgenexchange into Global router to add routing information
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7628 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-22 21:00:20 +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
db55ab0bde weighted maximum length of a msg in grouter inversely to how much it has spread
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7625 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-19 22:02:00 +00:00
csoler
90c24e7135 improved anti-flooding stategy in g-router
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7624 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-19 21:30:28 +00:00
csoler
d44eb370e4 fixed bug in global router making the routing matrix too sparse
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7623 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-19 21:08:09 +00:00
csoler
85fce2f2dc added missing record of Dn traffic in turtle router
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7622 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-19 12:36:38 +00:00
drbob
cdfbe90682 Fixed check if address has changed - was preventing resetting of local port.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7619 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-18 00:19:05 +00:00
drbob
bd688f0156 Tweaked TOU so it can accept Generic Sized Ip Addresses,
even though it will only accept IPv4 addresses.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7615 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-17 13:59:05 +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
e8b57abf05 removed udp debug output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7595 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-11 13:18:25 +00:00
csoler
39e8028837 increased sync period in RsGxsNetService so as to reduce network load. Increased transaction timeout to 30 seconds to avoid wasting too many transactions
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7592 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-09 17:20:09 +00:00
thunder2
dd1f88a1bb Replaced external library libcrypt32-cygwin.a by libcrypt32.a from MinGW for Windows compile.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7588 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-08 16:44:25 +00:00
csoler
8c2ba8b980 added a structure in GxsNetService to record who sends info about groups, so as to dynamically compute group popularity. The GUI needs to be improved to update regularly so as to reflect current values for popularity. For now only subscribing/unsubscribing and new messages trigger the update
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7587 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-07 21:42:44 +00:00
csoler
c527fa9375 removed debug code
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7586 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-06 20:16:52 +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
thunder2
1d6bf4190e Added automatic upgrade (cipher_migrate) of the sqlite database.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7581 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-05 16:56:23 +00:00
thunder2
d0238810b7 Common folders for libraries, includes and binaries of all external libraries for Windows compile.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7580 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-05 15:31:00 +00:00
csoler
9efc43f41c Big progress for People dialog. Phenom work.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7573 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-28 20:46:56 +00:00
thunder2
e6eb0e22ff RsGxsIntegrityCheck
- Fixed message hash checking
- Added check for existing but not loadable messages
- Notify the gui when messages are deleted

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7568 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-28 12:11:29 +00:00
csoler
03fc766e55 basics for TOR proxy status. Unfinished
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7567 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-28 09:54:20 +00:00
thunder2
480e8e1385 Removed the directory name of the message file name in the database column "nxsFile".
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7565 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-27 12:43:25 +00:00
thunder2
37ddbf63cc Fixed count of new and unread messages for Channels and Posted.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7561 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-24 23:57:47 +00:00
csoler
38c7e50e06 fixed bug causing forum posts to disappear/re-appear and to be set unread again. The bug was due to inconsistency between cleaning old messages and still inserting old messages again. Also augmented the storage period to 4 months (previously 1 month). Challenge: we should keep threads until the newest post in the thread is older than 4 months
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7554 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-22 18:50:45 +00:00
csoler
b3126bff4f added explicit include of sqlcipher headers. Avoids confusion when packaging for ubuntu
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7551 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-21 13:31:37 +00:00
csoler
b1dc8912c7 added additional debug info in rsgenexchange
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7549 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-20 19:58:07 +00:00
csoler
e18c934e21 ported commit 7487 from branch 0.5.5. Seems to fix loss of config files on windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7548 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-20 19:54:04 +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
9752fb9698 security check for encryption key length to avoid crashing when deserialisation gives wrong numbers
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7535 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-14 19:23:23 +00:00
csoler
0c536c3f4c fixed deadlock in UDP connections. Still, UDP streams break after 5-10 secs. Needs further debugging.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7529 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-12 21:52:13 +00:00
csoler
e859160579 wrong format string (patch from Vaio)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7515 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-09 18:14:10 +00:00
csoler
3bee80c807 fixed possible dereference of null pointer (patch from Vaio)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7514 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-09 18:12:39 +00:00
csoler
28b11a555a fixed call of deleted pointer in std::map (patch from Vaio)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7513 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-09 18:10:52 +00:00
csoler
6bfe653330 small glitch fixed in std::cerr call (Patch from Vaio)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7512 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-09 17:15:05 +00:00
csoler
0ab21fa033 removed unused ftfilemapper class
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7511 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-09 17:13:48 +00:00
csoler
b83a1f18d8 fixed memory leak/missing fclose. Patch from Vaio
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7510 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-09 17:11:37 +00:00
csoler
7c43bd27d3 added missing fclose in error handling case (patch from Vaio)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7509 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-09 17:09:52 +00:00
csoler
86126dea25 fixed small memory leak when chunk data is not found (thx to electron)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7507 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-08 19:37:01 +00:00
csoler
9781982811 added missign file from previous merge
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7494 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-08-26 17:14:40 +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
thunder2
9c3266fdd9 - Added two new members to GxsGroupStatistic/GxsServiceStatistic - mNumMsgsNew, mNumMsgsUnread
- Set mGrpId on GxsGroupStatistic
- Changed GxsUserNotify and GxsGroupFrameDialog to statistics

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7462 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-20 19:35:33 +00:00
chrisparker126
5399618cef completed addition of get statistic feature of gxs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7461 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-20 11:21:06 +00:00
chrisparker126
99519f14bd last bit needed have statistic functions
- getgrpstatistic and getservicestatistic should be working now


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7458 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-19 08:29:56 +00:00
chrisparker126
da335802e2 Added statistic calculation and retrieval
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7457 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-19 08:00:06 +00:00
chrisparker126
c30318f0c0 Added initial implementation of get statistic functions
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7455 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-16 21:40:57 +00:00
csoler
3b88acb45d fixed up mismatched free/delete
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7448 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-13 08:58:58 +00:00
thunder2
383a035bdb - Added new translatable strings (patch from Henry)
- Updated english translation

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7447 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-10 18:37:21 +00:00
thunder2
eb22610145 Merged revision 7443 from branches v0.5.5
Added patch from Henry:
- Added translation for password input
- Fixed utf8 issue in ProfileManager

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7444 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-07 19:37:04 +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
7a63e1985b Fixed compile error.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7432 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-05 20:05:17 +00:00
chrisparker126
30681ed205 fix mem issue with outgoing transactions
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7430 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-05 12:29:40 +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
2785094c97 patch from HM to make password question translated
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7424 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-03 21:03:28 +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
thunder2
4c6ab35867 Updated external library to openssl-1.0.1h
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7400 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-06-05 23:51:48 +00:00
chrisparker126
751930cd2d Fix meta update in gen exchange (for meta service string updates)
- was assuming all meta changes were related to bit sets
- was returning fail, when successful

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7397 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-06-03 21:49:41 +00:00
drbob
8d721c7a95 Restore Stunner functionality
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7394 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-06-01 09:30:27 +00:00
drbob
c87efec81b Fix for UDP relay deadlock... not tested
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7393 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-06-01 01:16:34 +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
ec031ba940 moved all the code using explicit EVP_KEY and RSA structures into gxssecurity (except rsrecon, still need to do)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7371 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-17 13:50:40 +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
d782d8eed9 forgot to free memory.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7369 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-15 21:08:23 +00:00
csoler
1bf3e2967f fixed security hole in generation of key fingerprints. Fingerprint of previously existing GXS ids can be faked. The change is backward compatible.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7368 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-15 21:00:44 +00:00
csoler
9aba04982e improved cipher string for higher security
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7365 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-11 18:42:16 +00:00
csoler
7f9fde8c1d fixed stupid serialisation error causing routing matrix not to be loaded properly
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7357 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-09 21:44:52 +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
csoler
3de7357923 removed warning about wrong string in Id constructor in case of null string
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7346 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-07 15:36:14 +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
thunder2
d7b7e4d976 - Removed exceptions from t_RsGenericIdType<>::t_RsGenericIdType
- Added rsids.h to libretroshare.pro

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7331 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-05 17:21:10 +00:00
drbob
2232e8e583 cleanups of debugging.
catch case where sql insert fails.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7325 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-04 12:48:42 +00:00
chrisparker126
faa7a8e7b1 checked for existence of messages before committing to
db store in genexhange (sql error drB noted in tests)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7324 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-04 10:43:42 +00:00
drbob
cc6a141b68 disable debug
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7320 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-03 06:04:04 +00:00
csoler
228ea43455 fixed mismatched free/delete[]
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7319 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-02 12:21:05 +00:00
chrisparker126
eed4dc54ab bug fix,
- initialise time stamp of vetting base class
- do not recv msgs from peer not in circle
- if msg vet expires then check cleared again is msg circle vet

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7318 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-01 18:50:07 +00:00
drbob
c1d7f514e9 added extra debugging.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7315 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-30 11:53:32 +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
d5af5e7a96 Added Warning when Group has EXTERNAL_CIRCLE but mCircleId.isNull().
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7310 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-29 10:28:46 +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
chrisparker126
4fe6161d58 -fixed msg sync test, now passing
-enabled msg circle checking


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7305 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-26 23:48:33 +00:00
chrisparker126
c6059906d0 Added msg sync unit test
- not passing yet but almost, more tweaking needed 
TODO: identity and circle vet test
- added retrieve msg id for convenience
- updated .pro file

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7303 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-26 10:07:25 +00:00
chrisparker126
4cab2aaa65 Added another convenience class to simplify testing
(automates comparisons)
fixed some unit tests caused by copy constructor removal


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7302 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-25 22:02:34 +00:00
csoler
7d13a7f85b updated network simulator with new grouter methods
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7300 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-23 16:17:12 +00:00
csoler
7e517906fd small optimizations to grouter
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7299 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-23 16:16:44 +00:00
csoler
aa0c236607 removed debug info for grouter
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7296 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-21 13:13:00 +00:00
csoler
ac7f505efc fixed uninitialised memory read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7295 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-21 13:09:31 +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
4d2907efed - added client notification to grouter
- now distant messages stay in outgoing box until notified to be received.
- fixed serialisation bug



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7293 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-21 12:39:30 +00:00
csoler
a3ddc0ac7d remvoed some debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7292 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-21 12:38:08 +00:00
drbob
6319733113 3 GXS BugFixes:
- GxsCircles was created twice, removed second.
 - Modified Gxs DataLayer to always write AuthorId, modified retrieval to clear string if NULL.
      This originally caused AuthorId to filled with GroupId.
 - Fixed rsgxsnetservice to use mInternalCircle, rather than mCircleId.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7291 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-21 10:13:35 +00:00
csoler
bce35d26e3 fixed deadlock (found by Phenom)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7290 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-21 08:22:58 +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
ca6b463a31 fixed up plugin system to work with v0.6
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7287 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-20 14:20:13 +00:00
chrisparker126
5573fcc672 bug fix, str should be cleared of previous data to
prevent fall through of previous result

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7285 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-20 09:12: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
csoler
11e370c56d fixed non working tunneling system, due to wrong service id used to query online peers
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7283 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-19 15:52:06 +00:00
chrisparker126
ef8f48ae73 Added rsshared ptr helper object (only use in test for memory management)
Added first nxs_test
modified pserviceserver to allow better dependency injection 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7279 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-18 21:58:14 +00:00
csoler
a929f80596 final fixes to global routing algorithm. Ensured messages are kept long enough and re-tried less and less wth time. Corrected 2 routing bugs.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7278 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-15 22:10:53 +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
csoler
5be7910cf5 improved network simulator, added display for message propagation and selective debug output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7274 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-13 19:27:50 +00:00
csoler
3a13b2ac65 removed dsdv that was re-enabled probably by mistake
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7270 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-12 19:59:23 +00:00
csoler
9efb7f4136 improved routing algorithm. Fixed several bugs.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7269 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-12 19:58:45 +00:00
drbob
9f358c5480 fixed printout of nxs items.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7268 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-12 07:25:33 +00:00
drbob
1d17290e78 move #include out of header.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7265 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-12 03:53:30 +00:00
csoler
dd72809f2d improved grouter routing algorithm using network simulator
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7264 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-11 21:56:10 +00:00
defnax
7b2ebcd7b4 update project file
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7259 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-10 16:15:43 +00:00
csoler
8420d27a02 fixed bug in distant msg sending code causing crashes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7255 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-07 21:36:43 +00:00
csoler
74bc8ad999 bug fixes to NS gui
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7254 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-07 21:35:51 +00:00
csoler
fa2c4d5001 additional fix to GUI in NS
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7252 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-06 20:27:50 +00:00
csoler
6d5d3da0fa fixed up GUI update issue
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7251 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-06 14:38:16 +00:00
csoler
bab24af091 added global router gui to NS
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7250 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-06 14:31:42 +00:00
csoler
cc8b1e8cb0 added global router to network simulator
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7248 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-06 09:21:36 +00:00
drbob
da081d6735 Change directories to release configuration.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7246 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-06 08:59:37 +00:00
csoler
7d9449421b fixed includes/libs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7245 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-06 08:15:41 +00:00
csoler
1e0ea41b4a moved code into separate directories
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7244 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-06 08:10:14 +00:00
csoler
44a1f6f6f3 a bit of code splitting
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7243 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-06 07:56:20 +00:00
csoler
7403a5c6d9 fixed small bug in NS gui
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7241 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-05 18:17:42 +00:00
csoler
fbec967b0c removed uninitialised memory read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7240 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-05 16:28:22 +00:00
csoler
679efe2ff3 fixed double call to sqlite3_close()
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7237 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-05 15:30:48 +00:00
csoler
e3c6816713 fixed bug in accessing null pointer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7236 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-05 15:21:22 +00:00
drbob
3eb79bbcba Bugfixes to rsmsgitems & rsserial.
removed testing utilites rstlvutil.
fixed up rsgxsiditems printing.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7232 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-05 04:48:52 +00:00
drbob
7fa611b2e7 updates to old tests....
moved rstlvutil to here as well.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7231 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-05 04:45:37 +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
csoler
9cfc9ecee1 removed checks for permissions in turtle router, when they are handled by the ServiceControl
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7228 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-03 21:28:16 +00:00
csoler
e865ff2fb6 added debug tags to p3ServiceControl
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7227 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-03 21:27:22 +00:00
csoler
900edb48cf fixed up network simulator to work with new service control system and turtle client system
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7226 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-03 21:25:10 +00:00
csoler
47c9971b5c bug fixing in Network Simulator
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7225 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-02 20:44:01 +00:00
csoler
afcded6c3b updated network simulator to new class layout and ids
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7224 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-02 20:23:17 +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
csoler
acba05b780 setup routing probabilities and branching factors. Will probably need some tweaking to get right.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7217 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-31 21:21:11 +00:00
csoler
d340440998 - added debug ifdef to GRouter code
- switched turtle router and grouter to use service control


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7216 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-29 23:03:04 +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
drbob
efe9503c3a Added Function to allow Services to get list of peers currently connected on a service.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7208 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-26 07:45:03 +00:00
drbob
0fac6fecf9 finished updateServicePermissions.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7205 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-25 12:13:43 +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
3ecf4a0858 - Exported ServiceInfoCompatible for GUI usage.
- Set the rsServiceControl variable.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7197 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-22 06:28: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
thunder2
a4b54e1021 Fixed compile on Windows
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7194 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-21 14:50:34 +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
notdefine
9dedf6f461 Update Doxfiles for Online Doxygen generation http://notdefine.de/retroshare/retroshare-gui/html/index.html and http://notdefine.de/retroshare/libretroshare/html/index.html
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7179 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-08 13:07:34 +00:00
defnax
76ecaffccb updated the MinGW build bat files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7168 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-05 22:46:37 +00:00
drbob
15449cdc74 added extra parameters to generic map
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7166 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-04 10:06:16 +00:00
chrisparker126
15af443c31 Added reputation filtering to genexchange and reputation threshold setting function
- NOTE: you will lose all data with this build, new db schema
Checked into wrong repo folder on previous commit

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7147 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-23 00:08:11 +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
9a4c696688 not checked in, likely needed to compile, sorry
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7129 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-18 22:44:03 +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
defnax
b785132cbe Fixing layout changes in Id Edit Dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7113 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-13 11:55:14 +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
chrisparker126
df34a6818c comments to help debug circles sync issue
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7106 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-10 23:50:47 +00:00
csoler
a5efb4a59a increased TCP buffer size on windows. Makes transfers faster.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7104 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-10 21:50:59 +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
chrisparker126
0fd46e4f2b Added specific IDs to GXS service serialisers
NOTE! YOU WILL LOSE CURRENT GXS data!

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7100 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-08 11:13:10 +00:00
thunder2
98e4271695 Fixed compile on Windows
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7090 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-04 21:59:55 +00:00
csoler
731d28bd41 added isNull() method to rsid to allow checking for meaningless ids. Consequenctly the null id 000... is implicitly not an id.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7083 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-02 10:16:25 +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
csoler
9e23f59e3a compilation warning fix
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7080 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-01 15:26:53 +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
8bb90bb9f8 fixed stupid (and very old!) mistake causing 100 seconds hang ups on windows when file rename fails.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7077 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-01 12:00:05 +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
chrisparker126
82b50d3b46 Optimisation
- excessive calls to sql SELECT in genexchange and gxsnet, naive algo

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@7068 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-28 21:47:51 +00:00
csoler
730554d397 improved gui message for known peers that are not friends
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7066 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-28 21:33:17 +00:00
drbob
edac83d471 updated version.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7064 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-28 09:01:50 +00:00
csoler
a44d2b281d demoved debug output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7055 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-24 17:34:27 +00:00
csoler
f198f9c784 removed potential uninitialized memory read in TlvKey item.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7054 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-24 13:39:55 +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
thunder2
bb0d02f3dc Fixed compile on Windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@7052 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-22 22:31:42 +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
csoler
11bc15b9cf generalized the test for valid strings to all methods in AuthGPG
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7050 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-21 21:01:22 +00:00
csoler
1f4580304f put a hard limit to packet size in pqistore to avoid calling realloc with fancy numbers when the stream has been corrupted
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7049 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-21 20:09:09 +00:00
csoler
43a32f23e1 fixed potential attack by supplying non hexadecimal strings as certificate common name
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7048 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-21 18:09:05 +00:00
csoler
158249d66e removed some debug output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7047 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-20 21:13: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
chrisparker126
f3afc128ee Chozabu patch
- New db created for parent group id field, you will all previous gxs data
- posted now support sub post topics

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@7042 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-19 23:38:48 +00:00
csoler
efd1447a84 removed code for old certificate format.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@7041 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-19 14:42:16 +00:00
csoler
07239883c8 Allow loading packets of large size from config files (fixed storing of big messages), and continue on config files skipping items that cannot be deserialised (Modified patch from Phenom)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7040 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-19 14:29:29 +00:00
drbob
06a582564d Fixes for failed Proxy Connection Attempts:
- create Timeout Fn so it can be called by classes derived from pqissl.
 - set HIDDEN timeout to 30 seconds.
 - add reset_locked() calls on errors in pqisslproxy.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@7039 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-19 11:35:31 +00:00
drbob
6526dd6c4b Tweaked linkmgr to allow loopback connections.
This allows STD -> HIDDEN connections!



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@7037 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-19 06:25:49 +00:00
drbob
d39c5c028a fixed up hidden addresses and removed whitespace from onion address.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@7036 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-18 23:29:22 +00:00
csoler
affdd49001 made cert of versions 0.5 and 0.6 incompatible. Removed old cert format parse/display
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@7033 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-18 16:53:19 +00:00
drbob
8c8baae044 fixed bad parse of addresses in certificate.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@7032 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-18 05:42:44 +00:00