Commit Graph

259 Commits

Author SHA1 Message Date
Phenom
1f5ef4cc05 Fix Compilation 2017-01-21 17:29:07 +01:00
csoler
e07d6ff6b1 removed debuginfo from PR 654 2017-01-21 17:26:44 +01:00
csoler
d1af2e09dc merged with upstream/master 2017-01-20 00:00:47 +01:00
csoler
b52ab0f542 added auto-clean of unused groups when grpAutoSync is enabled (so it does not touch identities) 2017-01-19 23:59:26 +01:00
csoler
06265f2b54 added consistency check in meta data in publishGroup() and updateGroup() in order to avoid bad data supplied from GXS services 2017-01-19 11:13:06 +01:00
csoler
e19711785b fixed last commit because of compilation 2017-01-16 20:57:19 +01:00
csoler
967b85c9bf removed old call to rsIdentity in rsgxsnetservice and removed warning 2017-01-16 20:49:52 +01:00
csoler
233c38d8db Merge pull request #641 from csoler/v0.6-Reputations
V0.6 reputations
2017-01-14 20:45:53 +01:00
csoler
a810ae9a74 use rsReputations instead of rsIdentity for reputation calls. Suspended reputation vetting code which is not needed anymore 2017-01-10 21:44:37 +01:00
csoler
8d8453f9c0 removed the reputation calls through rsIdentity. Improved the logic of updating static identity flags in p3gxsreputations 2017-01-09 23:47:51 +01:00
cyril soler
2ed983026d fixed 2 comments in GXS net service 2017-01-09 15:49:20 +01:00
csoler
d631758e8c added hashstream class to hash content of RsIdentityUsage and fix duplication of identity usage statistics 2017-01-05 23:07:59 +01:00
csoler
1a2def70b5 removed debug info in rsgxsnetservice.cc 2017-01-04 22:04:40 +01:00
csoler
1a9f19145e Merge pull request #617 from csoler/v0.6-Circles2
V0.6 circles2
2017-01-01 18:22:01 +01:00
csoler
fcf8a35081 check that author id is not null before complaining that it does not exist 2017-01-01 17:49:34 +01:00
csoler
97957bdc09 fixed update problem due to forgetting that delay=0 means no time constraints 2016-12-31 18:20:28 +01:00
csoler
b1923dd915 fixed compilation 2016-12-31 17:47:34 +01:00
csoler
057e3ebea2 extended GXS sync limit to sending instead of just requesting, in order to make backward compatibility less painful 2016-12-29 18:10:21 +01:00
csoler
d8233bb101 merged updatream/master 2016-12-26 16:59:52 +01:00
csoler
742a7648a4 added display of warning for non forwarded posts 2016-12-26 15:59:53 +01:00
csoler
c80d3ec1a4 added check for reputation before sending message ids 2016-12-25 23:12:07 +01:00
csoler
72fb8f17a9 changed the reputation system to output a level that differentiate your own opinion to your friends opinion 2016-12-23 17:52:02 +01:00
Phenom
40cf76808c Fix compilation and some new warnings. 2016-12-21 21:23:54 +01:00
cyril soler
f8f040bde9 fixed deadlock due to cross-locking RsGxsNetService and RsGxsGenExchange (reported by sss) 2016-12-16 10:03:23 +01:00
csoler
a8422028fe fixed compilation and set the default storage to 1year to comply with forum default 2016-12-14 09:59:20 +01:00
csoler
5953e563f4 added auto-consistency between store/sync periods 2016-12-13 21:12:34 +01:00
csoler
dd2a3c26de fixed serialisation bug in new UpdateMap code, and removed debug info from RsGxsNetService 2016-12-12 22:52:55 +01:00
csoler
0d94b683dd removed duplicate peerID/grpId in msg/grp update maps 2016-12-12 21:01:24 +01:00
csoler
478746f2b2 moved incoming msg time check to RsGenExchange validation method 2016-12-08 23:53:28 +01:00
csoler
8b697eb77a added check to prevent loading saving corrupted peer/grp ids in GXS update maps 2016-12-08 21:53:39 +01:00
csoler
b03fe3d4c5 fixed computation of max update time for sync 2016-12-06 23:28:28 +01:00
csoler
68f7fff0d8 fixed saving bug in GrpConfigMap 2016-12-06 23:02:25 +01:00
csoler
a4c14c2212 improved serialisation methods in RsGxsNet items, and added serialisation for RsGrpConfigItem 2016-12-06 22:17:03 +01:00
csoler
661038d9b2 added a function to check keep/req times for consistency 2016-12-05 23:42:44 +01:00
csoler
7afb91d1db added machinery to allow to set/get sync and store periods for GXS groups 2016-12-05 22:14:48 +01:00
csoler
d2ef2248c6 added entry in rsgxsnetservice to change sync params 2016-12-04 23:42:26 +01:00
csoler
5612647672 added new GrpServerConfigMap to store additional data on groups for net service. Removed pointers to simplify the code 2016-12-04 23:40:52 +01:00
csoler
143829c881 moved constants for GXS group management into rsgxs.h 2016-12-04 23:40:39 +01:00
csoler
f3a34bf5a3 created a new item to hold/save per gxs group information (statistics, update delays) 2016-12-04 23:39:45 +01:00
csoler
c6d21e4abc changed old msg update default strategy to one month 2016-12-04 23:39:10 +01:00
csoler
bba1a719fe removed deprecated bandwidth recorder code in RsGxsNetService 2016-12-04 23:38:50 +01:00
Phenom
674b6de381 Fix Some gcc warnings 383 to 208 lines
Left explicit #warning and deprecated.
Some lines are wrong indented and produce mal formed code.
2016-11-30 22:01:01 +01:00
Phenom
72d743584a Fix RsGxsNetService::handleRecvPublishKeys when grpMeta is NULL
Bug noted by Papache
2016-08-08 19:05:42 +02:00
Cyril Soler
96e73b301c Merge pull request #454 from csoler/v0.6-ContactList
V0.6 contact list
2016-08-04 22:38:59 +02:00
csoler
3993fbf5cc fixed auto-positive opinions for contacts 2016-08-04 16:10:00 +02:00
csoler
70228ee405 fixed missign return, probably causing crashes 2016-08-04 11:02:12 +02:00
csoler
17003f136b modified wrong comment in why mLastPost should not be used in rsgxsnetservice.cc, and added a call to clearing GrpMeta cache when new msg in that group are received 2016-08-02 16:25:00 +02:00
csoler
3cd90ae11c re-disabled the code to update the server TS to last post as it can severely perturbate the distribution of posts. Added a call to update msgServerUpdateMap when new messages received 2016-08-01 16:35:19 +02:00
csoler
d6be4404d2 re-enabled some code previously disabled in last commit 2016-08-01 15:38:51 +02:00
csoler
b1288bcb7e added missing time stamp of msgServerUpdateMap when posting a new message 2016-08-01 14:43:17 +02:00