Commit Graph

2878 Commits

Author SHA1 Message Date
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