Cyril Soler
b5f6059485
deprecated updateClientSyncTS() which is not needed anymore
2016-01-15 10:07:21 -05:00
csoler
c24447fd21
fixed update of mGrpClientUpdateMap when no new group is available, avoiding unnecessary GXS grp list traffic (patch from jolavillette)
2016-01-14 20:11:26 -05:00
csoler
3b18c43d8e
removed [dos] LF from rsgxsnetservice (causes merging rampage)
2016-01-13 20:25:18 -05:00
Cyril Soler
7da2ad14ec
re-enabled previously disabled code in rsgxsnetservice, that proved useful
2016-01-06 10:31:59 -05:00
csoler
6398b7b9d6
added comment in rsgxsnetservice.cc
2016-01-05 23:00:26 -05:00
csoler
3fa8d863b5
removed time-stamp-ing of messages on client side in locked_genReqMsgTransaction() as it is already handled when receiving messages, and the need to stamp non subscribed groups is not justified anymore
2016-01-05 22:53:56 -05:00
csoler
678afe7a0f
fixed stupid mistake in previous commit (GXS transaction timestamp)
2016-01-05 22:27:00 -05:00
csoler
7b3fd53bb9
added correct timestamp in msg list response items for GXS. To be tested.
2016-01-05 19:24:40 -05:00
csoler
ab3939cd9a
added missing update of mClientMsgUpdateMap, causing both a memory leak and an inconsistency in TS
2016-01-01 11:12:06 -05:00
electron128
58672e83a6
fix the logic to prevent using invalid iterators.
...
First make a valid iterator, then dereference it. Not the other way round.
This bug can randomly prevent gxs group stats from being collected from peers.
2016-01-01 13:51:35 +01:00
csoler
8a41554754
fixed some leaking memory issues in loadList() methods, and also increased consistency by not returning non empty list with deleted items inside
2015-12-30 18:20:09 -05:00
csoler
0299691a54
removed overkill test that would cause sending updates to peers when no messages are available (thx jo)
2015-12-30 11:14:10 -05:00
csoler
9e0dc01110
changed the reset of client map into a reset f server map when subscribing a group
2015-12-29 17:31:35 -05:00
csoler
98b27d6a2b
moved notify calls to RsGenExchange out of RsGxsNetService lock zone, to avoid deadlocks
2015-12-23 11:18:26 -05:00
Phenom
1346259411
Miss recomment NXS_NET_DEBUG_0...
2015-12-23 13:45:39 +01:00
Phenom
4aea100e4f
From jolavillette-morkitu: in rsgxsnetservice.cc when #define
...
NXS_NET_DEBUG_0 is set to 1 the compilation fails with:
gxs/rsgxsnetservice.cc: In member function ‘void
RsGxsNetService::updateClientSyncTS()’:
gxs/rsgxsnetservice.cc:1686:117: error: ‘now’ was not declared in this
scope
2015-12-23 13:40:01 +01:00
csoler
d4926cbc61
fixed a number of memory leaks in gxsnetservice. Used a class that auto-deletes retrieved items.
2015-12-20 20:35:48 -05:00
csoler
462f969da7
merged with upstream/master
2015-12-19 19:15:48 -05:00
csoler
ccc5f0f8fc
improved debug info in rsgxsnetservice
2015-12-19 19:04:49 -05:00
csoler
5fcaa36736
fixed some serialising bugs, and added proper notification of observer
2015-12-19 19:00:06 -05:00
csoler
6910ad3695
added stats exchange system to gather number of posts in unsubscribed groups without the need to actually DL the messages (reduced bw a lot)
2015-12-19 17:38:52 -05:00
csoler
b1b75a35a1
fixed stupid bug causing cleanRejectedMessages() to be called continuously
2015-12-18 08:07:00 -05:00
csoler
e8b881b2f1
added rejection list to gxsnetservice that is fed by calls from GenExchange system, to avoid infinitely re-downloading rejected messages due to bad reputation, bad signatures, missing ids, etc
2015-12-17 23:08:02 -05:00
csoler
dc034fe523
removed debug info from GxsNetService
2015-12-15 23:17:35 -05:00
csoler
3617f9ced0
added NXS_NET_DEBUG_5 to print summary of incoming items
2015-12-15 18:09:49 -05:00
csoler
8d886b8ecc
added regular timestamp-ing of GXS ids of group authors and group post authors for all subscribed groups
2015-12-15 12:31:03 -05:00
csoler
f702c942ed
added a few methods to improve consistency between client and server sides, and force update of groups in some cases (such as database erased)
2015-12-13 18:22:04 -05:00
csoler
ed7a261001
added check for NULL client update map in rsgxsnetservice::debugDump()
2015-12-12 21:07:48 -05:00
csoler
ad1aafebf7
added missing mutex
2015-12-12 14:05:45 -05:00
csoler
534be72360
improved debug info in rsgxsnetservice.cc
2015-12-11 22:54:45 -05:00
csoler
7be7233b29
fixed a number of timing issues in rsgxsnetservice. To be tested.
2015-12-11 22:38:17 -05:00
csoler
66d6f053f5
added debugDump() method to display update timestamps of GXS groups on both sides
2015-12-11 19:01:20 -05:00
csoler
16d815f891
added protocol documentation in rsgxsnetservice.cc
2015-12-11 18:03:44 -05:00
csoler
039db26cd2
improved debug info in rsgxsnetservice.cc
2015-12-10 22:25:09 -05:00
csoler
c9af8e3240
improved debug info in rsgxsnetservice.cc
2015-12-10 22:08:28 -05:00
csoler
3cb3662d2d
improved debug info in rsgxsnetservice.cc
2015-12-10 21:54:48 -05:00
csoler
9843c1fb34
started updating debug info in gxsnetservice
2015-12-10 00:03:01 -05:00
csoler
1bc2892753
removed some debug info
2015-10-30 21:11:44 -04:00
csoler
36101a977d
fixed small bug preventing msg exchange
2015-10-12 00:28:21 -04:00
csoler
1a76bea6ff
enabled bannign button in forums, and disable message passing for banned users
2015-10-11 21:41:35 -04:00
csoler
68ca57ce75
added removal of messages frm banned users
2015-10-10 18:27:15 -04:00
thunder2
4d7f92ecbe
Removed unnecessary select of groups in RsGxsNetService::locked_genReqGrpTransaction.
2015-08-27 22:27:19 +02:00
thunder2
1a1a2aa11d
Lowered update of server sync TS from 10 seconds to 60 seconds.
2015-08-26 20:23:10 +02:00
thunder2
b1101ed429
Prevent selecting data from the database in RsGxsNetService::syncWithPeers without online friends.
2015-08-13 22:03:04 +02:00
csoler
636635a8b8
disable update of group messages for IdService since it is unused and takes some bandwidth
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8572 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-30 08:12:51 +00:00
thunder2
c97dae0652
Removed potentially unintentional integer overflow in NxsBandwidthRecorder::recordEvent.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8566 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-28 12:13:56 +00:00
csoler
49534d9efd
commented out some debug info
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8501 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 19:11:07 +00:00
csoler
e9b9dce9f5
created 2 subclasses of RsThread, one for ticking services, and one for single shot jobs. Now all threads use the same base code.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8288 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-22 20:54:38 +00:00
thunder2
69c1df7e2d
- Removed randomly forced updating of GUI in RsGxsUpdateBroadcastBase
...
- Added group changed notify when visible count or suppliers count of a group has changed
- Fixed suppliers count
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8277 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-19 21:40:19 +00:00
csoler
13ff39429e
* Renamed RS_TLVKEY_DISTRIB_PRIVATE into *_PUBLISH, as it is used as such.
...
* Allow to check signatures and validate groups using private keys in GxsSecurity
* removed inconsistency in key flags when full keys where mixed up with publish keys.
This should fix the following bugs:
* channel owners did not receive posts from other peers who have publish rights
* channels sometimes not gettign through
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8275 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-19 21:28:46 +00:00