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
csoler
4624d53dd7
simple hack to have non active groups gradually loose popularity and number of posts.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8225 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-09 11:29:31 +00:00
csoler
c9d5c7b3cb
turned some std::list<PeerId> into std::set, as it automatically prevents duplicates
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8138 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-17 21:36:22 +00:00
electron128
28030f9b08
added missing delete in gxsnetservice
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8112 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-04 09:48:38 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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