Commit graph

6360 commits

Author SHA1 Message Date
csoler
d2ab6cc6ab fixed up encryption/decryption of messages. Message passing through grouter works./RetroShare
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7204 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-23 17:32:35 +00:00
csoler
e5a6dde5b9 rewrote the logic of grouting algorithm to work without key publication. Some constants still need to be tweaked and branching factors is not computed yet.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7200 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-22 22:28:55 +00:00
csoler
0b812e636d - removed global GROUTER define. Enabled now by default (except for a ifdef ENABLE_GROUTER in rsinit.cc)
- added code to actualy receive messages
- fixed a few bugs in the GUI



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7198 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-22 09:32:33 +00:00
csoler
52d836225c Improvements to distant messaging (does not work yet)
- removed unused code (mainly tunnel handling code, messaging invite code)
- added signing/encrypting/verification/decrypting of distant messages
- added data based signature check method in GxsSecurity
- removed fingerprint from GRouter
- published all self Identities into GRouter. Will put more section later.
- fixed some prototypes in GxsSecurity


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7195 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-21 16:56:17 +00:00
csoler
d3bbd88abc encryption/decryption of distant messages. Moved initialisation of services after GXS components in rsinit.cc. Slightly changed prototype of GxsSecurity::{en,de}crypt() to be consistent with the other methods of that class
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7193 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-20 23:01:00 +00:00
csoler
9926517df9 reads/writes FileCache.lst to encrypted file instead of clear file. Still reads old format when present, and automatically converts to new format.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7191 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-19 20:31:56 +00:00
csoler
8563dce5ff fixed small bug in msg sending. Added warnings for unfinished code
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7186 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-17 20:52:13 +00:00
csoler
9b694f6dde fixed msg sending bug
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7185 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-17 19:43:56 +00:00
csoler
2c471b68ac One step toward sending/receiving messages from both RsPeerId and GXSids
Backend side:
- MessageInfo now has lists of CC,TO and BCC for both RsPeerId and RsGxsId
- p3msgservice handles each type of destination accordingly, possibly encrypting/signing the message
- added new type RsTlvGxsIdSet
- removed virtual peers from p3msgservice (not needed anymore), and removed tunneling as well
Gui side:
- added GXS ids to message RetroShareLink
- messagecomposer now handles Group, RsPeerId and RsGxsIds.

Work in  progress. Does not fully work yet.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7184 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-16 22:19:26 +00:00
csoler
8b096e0e15 added proper display of GXS ids in distant message box (and FriendSelectionWidget in general)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7183 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-13 22:27:25 +00:00
csoler
1a68d5d633 - removed PGP ids and added GXS Ids from/to Message composer (PGP code is still here, but not used)
- added GXS ids to FriendSelection{Dialog,Widget}
- temporarily suspended distant messaging for PGP in NetworkDialog/SecurityItem



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7182 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-10 21:24:17 +00:00
chrisparker126
3bde69d61e - fixed serialisation issue
- fixed compilation issue in circle dialog 


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7180 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-09 12:07:08 +00:00
csoler
e642e8ff51 removed some unused variables, and fixed code in grouter for new IDs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7178 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-07 21:01:54 +00:00
csoler
3e4b03e9c1 fixed compilation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7176 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-07 14:10:45 +00:00
csoler
50320cd39d removed unused type RsCircleInternalId, and moved SSLId and GPGId types to proper rsids
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7175 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-07 14:06:30 +00:00
csoler
c23b5fb2dd comment out some unused types/structs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7174 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-07 13:59:50 +00:00
csoler
756528dcec fixed compilation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7173 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-07 13:51:48 +00:00
csoler
8b6ce73ceb removed circular dependencies between includes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7171 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-07 13:38:46 +00:00
csoler
918dc150f4 added explicit converter between ID types of same size
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7170 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-07 13:26:42 +00:00
csoler
97ac7f85f7 ID rework
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7167 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-04 19:59:20 +00:00
chrisparker126
ad1602d701 refactoring circle id for librs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7164 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-03 22:22:04 +00:00
csoler
886a8974db replaces SSLIdType by indirect type RsPeerId and PGPIdType with RsPgpId whenever applicable
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7163 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-03 21:45:27 +00:00
csoler
d391da3c4c ID fixes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7162 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-02 12:12:40 +00:00
csoler
fff8485a0e Photoshare ID cleaning
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7161 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-01 22:47:29 +00:00
csoler
ff6f32059b fixed gxs wiki
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7160 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-01 22:33:17 +00:00
csoler
859bf22468 fixed posted and gxs feed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7159 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-01 22:29:59 +00:00
csoler
badb48f20e ID cleaning in gxschannels
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7158 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-01 22:15:49 +00:00
chrisparker126
cbb2636c90 changes on librs side for author id refactoring done
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7157 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-01 17:28:14 +00:00
chrisparker126
5c36c8f4b6 messages and group refactor done and tested!
author and circles left


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7156 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-01 15:30:34 +00:00
chrisparker126
350ee35ac9 changes to get ui compiling in Identities ui for test
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7150 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-25 22:40:54 +00:00
csoler
41e42133c0 turned typedef RsGxsMessageId into RsFileHash instead of std::string
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7149 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-23 22:09:51 +00:00
csoler
1843ad74c6 fixed bug in cache file exchange
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7148 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-23 15:52:41 +00:00
csoler
160a893017 fixed stupid bug in decompression code
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7146 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-22 22:26:18 +00:00
csoler
7b44c712df improved compression test
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7145 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-22 22:25:32 +00:00
csoler
17d87617c8 bugfix in serialisation of tlvIdsSet
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7144 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-22 20:39:25 +00:00
csoler
3f4c1a1baf bug fixing
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7143 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-22 20:26:12 +00:00
csoler
00196c58b8 bug fixing in serialisation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7142 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-22 15:00:30 +00:00
csoler
216e1ba247 fixed sometests with new ids
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7140 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-22 13:51:55 +00:00
chrisparker126
a6cf0e14d7 group id refactoring done for librs
- now on to messages
- need to test at this check point (need to convert test and gui tho)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7139 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-20 21:34:19 +00:00
csoler
180ac6bc79 fixed a few small issues with ids
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7138 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-20 21:29:08 +00:00
csoler
acf34cd7ad changed std::string into RsFileHash for all file hashes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7137 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-20 21:12:04 +00:00
csoler
533216c9e3 bug fixes in FriendList
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7136 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-20 19:08:29 +00:00
chrisparker126
7dbbb7f0d4 more refactoring for new types
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7135 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-19 22:16:07 +00:00
csoler
1edc3c083f fixed a few bugs in NetworkDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7134 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-19 21:37:03 +00:00
csoler
b90cc5ffea fixed no gxs compilation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7130 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-18 23:02:08 +00:00
chrisparker126
2aed4ac047 saving RsGxsGroupId refactor progress
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7128 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-17 22:39:41 +00:00
csoler
80b73d2bc5 ID cleaning
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7127 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-17 22:23:45 +00:00
csoler
fc163ff866 ID cleaning.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7126 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-17 21:16:27 +00:00
csoler
e2a53924d4 ID cleaning. Saving progress.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7125 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-16 22:38:50 +00:00
csoler
6bc79709e3 ID cleaning. Saving progress.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7123 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-16 17:31:26 +00:00