Commit Graph

191 Commits

Author SHA1 Message Date
csoler
70648398e2 merged with upstream/master 2016-05-01 15:22:13 -04:00
csoler
7aea6e5bf8 removed some debug info 2016-04-21 22:07:10 -04:00
csoler
eca83fdd62 removed some debug info 2016-04-21 19:54:50 -04:00
csoler
fba3d37126 fixed memory leak after receiving RsNxsItem deserialised from decrypted memory 2016-04-21 19:47:34 -04:00
csoler
34bd998c8e cleaned the mess in Circles, due to mixing up GxsIds and PgpIds, which is now irrelevant because items for external circles are not sent based on PGP signatures anymore 2016-04-17 17:13:42 -04:00
csoler
fa8a585e20 removed some debug info 2016-04-15 18:25:53 -04:00
csoler
0d5b9ae0d1 fixed last commit 2016-04-10 18:55:05 -04:00
csoler
b8075d65bd skip circle vetting when sending message posts with no author 2016-04-10 18:53:49 -04:00
csoler
993d7d4c8f removed debug info in rsgxsnetservice 2016-04-09 14:46:12 -04:00
csoler
b90808dca8 changed update of server update TS in subscribeStatusChange from 0 to time(NULL) 2016-04-07 18:26:18 -04:00
csoler
60ffcd21b7 fixed double item deletion in RsGxsNetService::handleRecvItem() 2016-04-06 22:23:10 -04:00
csoler
c79c9bae5e added encryption of message sync requests for external circles-restricted groups, and verification that properly encrypted requests are sent before sending encrypted msg ID lists 2016-04-06 21:12:54 -04:00
csoler
d1b09b93b9 removed some debug info 2016-03-25 18:54:13 -04:00
csoler
44cadc22b2 cleaned debug info and disabled local circles before merge 2016-03-24 19:46:08 -04:00
csoler
981f81deae added anon ids to offline vetting 2016-03-23 20:54:45 -04:00
csoler
1fb1f3ebaf update of groups up to the latest attached circle server update TS. Should re-send groups that depend on a circle when the circle change 2016-03-21 23:21:26 -04:00
csoler
9c649aa58c improved debugDump(), showing the subscription status of each grp 2016-03-13 12:08:03 -04:00
csoler
61c7da7e2d unselect all IDs when no circle is selected 2016-03-12 11:02:32 -05:00
csoler
3c2c1df245 added test against empty circles 2016-03-03 21:37:36 -05:00
csoler
9ddef9e45b merged with upstream/master 2016-02-25 17:48:59 -05:00
csoler
fafe75dca6 added update of mServerUpdateTS up to last mRecvTS of each group, which holds the last time the grp meta data was received/modified 2016-02-23 23:04:22 -05:00
csoler
dcf86e6384 removed compilation warning and added warning about missing vetting for external circles 2016-02-21 12:00:09 -05:00
csoler
0266b3cfa2 improved debug output in gxsnetservice.cc 2016-02-21 11:34:49 -05:00
csoler
09a6efad52 removed dead code in GxsSecurity 2016-02-20 21:25:21 -05:00
csoler
41a03eb331 fixed small bug causing update of TS to fail in encrypted NxsItems 2016-02-20 21:21:15 -05:00
csoler
6a4add8806 implemented per-item encryption and Vetting method compatibility layer 2016-02-20 17:53:03 -05:00
csoler
405ecefbf8 added proper decryption calls for partial decryption and possible re-try after loading keys. 2016-02-19 20:47:50 -05:00
csoler
6995212a8b added code for single item encryption/decryption 2016-02-18 21:30:52 -05:00
csoler
763108f5fa debugged transport of encrypted items. Still needs work. 2016-02-15 23:24:18 -05:00
csoler
0513e71c68 fixed sending part in encrypted msg items 2016-02-14 19:42:21 -05:00
electron128
9f9221273a - make tests compile
- added tests to travis.yml
- excluded grouteritems and photoitems from test, because they changed too much
- disabled failing tests
- all tests pass in valgrind, without valgrind result is undefined
- to compile tests add CONFIG+=tests to qmake args. Then run tests/unittests/unittests
2016-02-13 11:55:25 +01:00
csoler
71071595c8 called re-loading of circles after creation. Added debug info in msg vetting 2016-02-11 21:59:45 -05:00
csoler
5ba8965523 fixed compilation 2016-02-10 22:18:55 -05:00
csoler
3db3ccf636 merged with upstream 2016-02-10 00:00:21 -05:00
csoler
d9e512da8b fixed update of GroupNetworkStats and proper reset when loadList is called (thx Jo) 2016-02-03 18:58:28 -05:00
csoler
b70057a540 removed sending probability in GXS since it is not justified anymore. This should fix peers not being updated because they have very low bandwidth. Removed and fixed a few minor warnings. 2016-01-26 18:50:33 -05:00
csoler
7488ba19ff removed feedback from messages to mGrpServerUpdateTS, which is now only updated when the subscribe status is changed and/or new groups are received/created 2016-01-20 23:56:22 -05:00
csoler
49c1d56945 increased GXS post size limit to just below 200K 2016-01-19 21:45:55 -05:00
csoler
43ee506adc added automatic GXS message rejection when item size exceeds 200K. Should fix the forums that got stuck because of a large message not being sent 2016-01-19 10:13:24 -05:00
csoler
dedd6d4cf4 disabled debug info 2016-01-18 23:54:03 -05:00
csoler
68a039540e fixed a few bugs in existing msg fragmentation code. Signature checking still not working, not NXS_FRAG stays disabled 2016-01-18 23:54:02 -05:00
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
ed12b7a243 fixed merge 2016-01-13 20:57:03 -05:00
csoler
d2f56a5c53 merged with upstream/master 2016-01-13 20:52:55 -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