chrisparker126
39909b705f
merging rs_gxs-finale to v0.6 branch
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6953 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-21 18:20:47 +00:00
drbob
6871f9875a
Fixed up bugs in Recogn System - basics work now.
...
- added missing decrement to DataCount in rsmemcache::erase()
- added missing note_event_locked() in rstickevent ... can now use previous tick info,
- revamped recogn scheduling. on demand rather than periodic. new function recogn_schedule().
- deferred loading of pgpIdList for pgphashes, until we know it will be needed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6893 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-11-05 23:33:12 +00:00
chrisparker126
cf8a63888b
some fixes
...
- id pull now works (Peer A, Peer B test)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6889 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-11-04 14:09:32 +00:00
chrisparker126
67c55991d7
decided to continue propagating peer details in
...
- gxsnet now has a ctor option to disable auto group sync
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6888 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-11-03 23:46:34 +00:00
drbob
812ddef40e
added missing mutex lock.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6885 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-31 23:39:05 +00:00
chrisparker126
f2884d580f
added author pull code
...
-- problem, still need to figure out how to get peer auth req should go to
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6881 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-29 21:29:20 +00:00
drbob
fc58861447
Added RecognTags.
...
- items are described in serialiser.
- util functions in util/rsrecogn.cc are used to manipulate it.
- these are attached to GxsIds, with new interface fns.
- Associated Signing Code is in a separate program.
Other Tweaks.
- Added RsMemCache::erase()
- Added RsTlvStringSetRef
- Fix for rsturtleitem (already added to trunk).
- Formatting and debugging.
Status: There is a bug in RsGenExchange::updateGroup which prevents full testing,
The basic generation, parsing and validation functions have been tested and are ok.
The processing as part of p3IdService still needs to be fully debugged.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6854 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-20 09:43:30 +00:00
chrisparker126
25d721b6fe
Code change to test group edit
...
- can modify group names and content now
Group edit code fixes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6811 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-06 21:07:31 +00:00
chrisparker126
9470e5562a
Added update capability to forums ui
...
Added timestamp check for group update in nxs
decided to add control variable to allow meta changes in updates rather than none
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6803 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-05 11:36:31 +00:00
csoler
695e417fd5
changed std::wstring for std::string+utf8 in chat, and messages
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6795 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-03 21:41:34 +00:00
csoler
f961dc9066
enabled display serialisation errors in p3service
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6790 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-02 20:09:42 +00:00
csoler
3a82fffd0e
- fixed bug (added missing call to addSerialType())
...
- removed unused RsFileTransferCacheRequestItem and all related functions
- fixed bug in turtle router calling members of a deleted item
- removed some debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6789 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-02 19:56:01 +00:00
drbob
b587301b5a
Added a thread per active peer - to reduce RTT and increase throughout.
...
* Added pqithreadstreamer, tweaked pqistreamer to support derivation.
* Shifted RTT from p3Service to p3FastService.
* Disabled lots of debug.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6787 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-02 03:21:04 +00:00
drbob
a7dd9ad9e3
Work-in-progress to reduce latency time:
...
* service->SendItem() now goes direct to pqistreamer buffer.
* split p3FastService out of p3Service.
p3FastService removes the recv buffer for faster processing.
p3Service maintains its original interface, so derivate classes can remain unchanged.
* Added uint32_t usec (wait period) to BinInterface.moretoread() & cansend() for future threading.
* Added Mutex protection to pqistreamer, pqissl and derivatives of both.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6783 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-01 10:11:34 +00:00
csoler
8e7fe9f79b
made file transfer a service. Removed all the old FT code from pqiHandler, and got rid of deprecated CRC32 computation/exchange methods
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6782 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-01 08:11:15 +00:00
csoler
4e4b4f0822
fixed missing return
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6781 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-30 21:15:01 +00:00
drbob
41daabe1ef
Added Round Trip Time service (revived old p3VoRS service).
...
- Fixed gxs priority level.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6776 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-29 07:11:02 +00:00
drbob
90aa57a0f0
Rewrite of the discovery system to be more private, with less traffic.
...
Split the visState into seperate vs_disc and vs_dht for easier handling.
Split the heartbeat system into a separate service.
Added IPv4 and IPv6 local/ext addresses into discovery & peer config.
Fixed up samenet and samesubnet ipv4 calls.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6773 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-28 08:09:59 +00:00
drbob
6290d8fed9
Massive commit - changing from sockaddr_in => sockaddr_storage.
...
In preparation for making RS support IPv6.
NB: This breaks the build of retroshare-gui, as the
sockaddr_storage_xxx fns are only defined as prototypes for now.
All the aux libraries like udp / stun / tcponudp / dht have still to be converted.
These changes will probably break various things and need to be tested thoroughly.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6735 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-13 14:35:19 +00:00
drbob
a6cf738371
Removing old services, serialisers and other references for:
...
- forums
- channels
- tunnel
- blog
- gamelauncher.
- distrib.
Note this majorly breaks the GUI, for the moment.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6683 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-03 14:51:23 +00:00
csoler
4c87eb0781
distant outgoing messages stay in outbox until actually sent
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6661 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-31 21:10:04 +00:00
csoler
19808587e9
fixed display of toaster for distant msgs
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6659 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-31 13:12:26 +00:00
csoler
8d94ecf9ff
added proper own signature flag to signed sent message
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6658 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-31 12:54:47 +00:00
csoler
c3732f5212
fixed display of distination peers in Sent messages
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6657 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-31 12:49:04 +00:00
csoler
51f0726dd3
remove (distracting) message about unknown lobby message that appears when not subscribed to a previousl subscribed lobby
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6655 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-30 21:09:48 +00:00
csoler
731e832734
added proper memory for sources of distant messages
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6654 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-30 21:06:23 +00:00
csoler
abd8c1e32f
improved name support for distant peers in messages
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6653 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-30 20:40:28 +00:00
csoler
34b8bbb236
fixed bug allowing a peer to alter the flags of lobby items so that they can get displayed in the broadcast channel. Now the checkMessageSecurity() method also checks flags consistency (et toc!)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6621 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-26 18:36:46 +00:00
csoler
1273e8179f
bugfix by H.Morgan to allow big---split---messages to bounce correctly in lobbies
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6599 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-23 20:29:55 +00:00
csoler
14887d98e8
added a hard-limit of 32767 bytes to the size of avatar images, so that we avoid a crash when a peer anounces an avatar with an enormous size. This limit is above the largest possible image file of size 96x96
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6575 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-09 21:37:02 +00:00
csoler
7007a67374
fixed lobby auto-subscribe by asking for public lobbies at most every 121 seconds.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6574 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-09 21:13:44 +00:00
csoler
0a23f93877
enlabled distant messaging by default. Added lock protection in some places. Removed debug info in distant messaging.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6573 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-09 17:02:29 +00:00
thunder2
041bdaab50
Added send of updated discovery information.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6570 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-08 23:00:27 +00:00
csoler
aeb430cabb
moved security check of chat message after the possible multi-part reconstruction, to avoid that the attacker splits the faulting chain among multiple parts
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6569 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-08 20:12:04 +00:00
csoler
3865c14583
modified patch from AC to remove messages with security issues (e.g. Billion Laughs bomb). The message is replaced by a warning, and is not forwarded
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6562 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-08 09:55:19 +00:00
csoler
ff2f436d57
fixed supid mistake causing crash (on windows only) when sending a distant msg
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6561 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-07 19:35:27 +00:00
csoler
7dbc17b2a4
Enabled distant messages. These need to be switched on the config->Messages. GUI improvements needs to be done, such as properly setting peers names everywhere, but the service works. Have fun using it!
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6555 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-04 14:11:59 +00:00
csoler
dc7003bd92
Added signature verification in distant messages. Decrypted does not always work due to openpgp limitations.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6551 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-02 23:00:36 +00:00
csoler
3f86a707b7
Distant messages GUI code. Now the GUI can receive/send/decrypt distant messages. Since the protocols are not finalized, the GUI is disabled, to avoid later crashes
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6549 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-31 16:34:34 +00:00
csoler
504ab562cc
doubled data chunk for signature in chat links. Apparently some keys need more than 287 bytes.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6535 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-23 20:57:05 +00:00
thunder2
c3303a1969
GXS:
...
- fixed some possible crashs with dynamic_cast
- fixed memory leak in p3GxsCircles::cache_load_for_token and p3Posted::background_loadMsgs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6532 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-23 01:31:36 +00:00
csoler
a42b3fdbd4
fixed memory leak
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6527 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-21 20:52:54 +00:00
csoler
b1bc66b319
added missing delete when RsDiscReply item is rejected because of service permissions, causing memory leak
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6525 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-21 19:20:12 +00:00
thunder2
f5218cdfc3
Fixed crash after last commit in p3idservice.cc.
...
Fixed memory leaks and possible crashs in ::getGroupData
- p3gxschannels
- p3gxscircles
- p3gxsforums
- p3idservice
- p3posted
- p3photoservice
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6524 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-21 01:50:13 +00:00
csoler
11cfb1dc5c
fixed memory leak in group item not being deleted after being received and treated
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6522 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-20 12:36:57 +00:00
csoler
14890ef007
added ACK system to make sure the secured tunnels for distant chat are actually working, before one starts using it.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6502 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-14 13:59:38 +00:00
csoler
6ee0aa9b3f
fixed bug in distant chat accepting tunnels for collecting invites with same hash
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6491 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-07 20:43:37 +00:00
csoler
7414659bd9
Patch (modified) from Phenom to allow auto-subscribe to chat lobbies
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6466 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-29 16:15:33 +00:00
csoler
4868a90d81
patch from Henry morgan to fix soem typos (e.g misspelled connexion into connection)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6460 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-24 21:23:50 +00:00
csoler
b21fae52d0
improved status display for distant chat
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6437 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-17 21:58:26 +00:00