Commit Graph

220 Commits

Author SHA1 Message Date
csoler
f72399f2a8 merged upstream/master 2017-01-04 20:24:08 +01:00
csoler
a9670a569a Second stage in abstracting GXS identities usage cases (almost done) 2017-01-02 23:53:39 +01:00
csoler
17fc89e3c0 First stage in abstracting GXS identities usage cases (half done) 2017-01-02 15:58:37 +01:00
csoler
00613d433c made sure we have the public keys for msg validation, as only the private key is available when we are admin/publisher of a group 2017-01-02 14:00:23 +01:00
csoler
e883a32711 added more debug info in msg validation code 2017-01-01 21:10:14 +01:00
csoler
bb7d8297ee fixed compilaiton in debug mode for rsgenexchange 2017-01-01 20:54:00 +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
c71cf7a5ee removed timestamping of key that was in the wrong place 2017-01-01 17:47:24 +01:00
Phenom
41386c64b7 Fix some new warnings 2016-12-31 15:17:51 +01:00
csoler
9d82a3ff16 replace mNbAttempts in signature and validation of posts by a timeout, which allows to wait for missing keys more robustly 2016-12-29 15:24:31 +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
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
csoler
0a3ec9706d added statistics info for key requests 2016-12-22 00:14:16 +01:00
cyril soler
f3e699a5d7 fixed typo causing publishTest to fail in some cases 2016-12-20 14:08:47 +01:00
csoler
ef0850e65b added recording system for usage cases of GXS ids 2016-12-19 20:44:15 +01:00
csoler
ed61d7272c fixed compilaiton 2016-12-17 19:10:13 +01:00
csoler
330cc98c23 fixed test of max age when receiving posts 2016-12-17 18:14:44 +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
478746f2b2 moved incoming msg time check to RsGenExchange validation method 2016-12-08 23:53:28 +01:00
csoler
6c4497a18c improved debug output in rsgxsutil. Added disabled code for removing old unused groups 2016-12-07 22:41:05 +01:00
csoler
d9416d3e3d added proper use of storage time parameter in group msg cleanup 2016-12-07 22:00:50 +01:00
csoler
68f7fff0d8 fixed saving bug in GrpConfigMap 2016-12-06 23:02:25 +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
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
Gio
633a6cf8c2 Fixed a bunch of warnings in safe ways 2016-10-13 00:01:33 +02:00
csoler
c7576309a7 added callback in RsGenExchange subclasses to autorise new groups, to be used by p3GxsIdentity 2016-08-04 13:12:55 +02:00
csoler
b1288bcb7e added missing time stamp of msgServerUpdateMap when posting a new message 2016-08-01 14:43:17 +02:00
csoler
efd503e7d4 removed the possibility of GXS groups to keep track of post origin before release, as it is too intrusive as compared to the benefits 2016-07-25 14:56:55 -04:00
csoler
90dfc6e14a improved explicit requests of missing GXS ids, also fixing situations where empty peers lists would wipe out pending peer lists 2016-07-15 16:59:57 -04:00
csoler
ba500284c7 added GXS distribution flag to defavor posts signed by key form unknown RS nodes, and updated UI in forums to use it 2016-06-30 14:16:45 -04:00
csoler
9f7ef8b46b fixed possible cross deadlocks between RsGxsGenExchange and RsGxsNetService 2016-06-28 20:59:56 -04:00
csoler
f57f620111 reduced database testing/cleaning frequency to 31/59 mins. 2016-06-17 22:27:00 -04:00
csoler
dbd78d2401 merged with upstream/master 2016-06-16 20:19:03 -04:00
csoler
e63f9361f2 improved strategy for removal of unused GXS ids with proper constants for unknown/signed/known ids. Forbid the stamping of banned keys. 2016-06-15 21:33:27 -04:00
csoler
c2ae4fc904 merged upstream/master 2016-06-05 10:06:11 -04:00
csoler
a2ca0385db fixed compilation and several problems following separation of public/private keys 2016-06-04 21:39:40 -04:00
csoler
590be092e5 separated RsTlvSecurityKey into two incompatible classes to enforce the correct usage of private vs. public keys 2016-06-02 23:47:57 -04:00
sehraf
f16ee97093 add static thread names 2016-06-01 16:21:55 +02:00
csoler
89472d6502 put some notes and comments in the code for what is to be done 2016-05-17 00:00:15 -04:00
csoler
70648398e2 merged with upstream/master 2016-05-01 15:22:13 -04:00
csoler
39553a601c removed debug info 2016-04-19 21:58:30 -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
3000f94999 separated subscribe status from wether we are part of a circle or not. Still needs update of GUI 2016-04-17 00:52:00 -04:00
csoler
048192ee9c added mOriginator to CircleCache entry and auto-ask for unknown GXS ids to the friend who supplied the circle group 2016-04-14 23:47:42 -04:00
csoler
6c8737c84a merged with upstream/master 2016-03-25 21:09:37 -04:00
csoler
44cadc22b2 cleaned debug info and disabled local circles before merge 2016-03-24 19:46:08 -04:00
csoler
57f4463864 fixed potential crash due to using deleted data (found by dimqua) 2016-03-23 18:23:10 -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
Phenom
b13292bb80 Fix error reported by CppChecker:
/libretroshare/src/gxs/rsgenexchange.cc:2850: erreur : Cppcheck:
Dereferencing 'grp' after it is deallocated / released
/libretroshare/src/gxstunnel/p3gxstunnel.cc:1004: erreur : Cppcheck:
Invalid usage of output stream: '<< std::cerr'.
/libretroshare/src/util/contentvalue.cc:185: erreur : Cppcheck: Memory
leak: dest
/openpgpsdk/src/openpgpsdk/reader_armoured.c:575: erreur : Cppcheck:
Common realloc mistake: 'buf' nulled but not freed upon failure
/retroshare-gui/src/gui/FileTransfer/DLListDelegate.cpp:103: erreur :
Cppcheck: Array 'byteUnits[4]' accessed at index 4, which is out of
bounds.
/retroshare-gui/src/gui/FileTransfer/DLListDelegate.cpp:122: erreur :
Cppcheck: Array 'byteUnits[4]' accessed at index 4, which is out of
bounds.
/retroshare-gui/src/gui/FileTransfer/DLListDelegate.cpp:141: erreur :
Cppcheck: Array 'byteUnits[4]' accessed at index 4, which is out of
bounds.
/retroshare-gui/src/gui/FileTransfer/ULListDelegate.cpp:92: erreur :
Cppcheck: Array 'byteUnits[4]' accessed at index 4, which is out of
bounds.
/retroshare-gui/src/gui/FileTransfer/ULListDelegate.cpp:111: erreur :
Cppcheck: Array 'byteUnits[4]' accessed at index 4, which is out of
bounds.
/retroshare-gui/src/gui/People/PeopleDialog.cpp:774: erreur : Cppcheck:
Uninitialized variable: layout
/retroshare-gui/src/gui/People/PeopleDialog.cpp:864: erreur : Cppcheck:
Uninitialized variable: layout
/retroshare-gui/src/gui/common/AvatarWidget.cpp:225: erreur : Cppcheck:
Uninitialized variable: status
/retroshare-nogui/src/rpc/proto/rpcprotostream.cc:805: erreur :
Cppcheck: Memory leak: buffer
/supportlibs/pegmarkdown/GLibFacade.c:150: erreur : Cppcheck: va_list
'args' was opened but not closed by va_end().
/openpgpsdk/src/openpgpsdk/reader_armoured.c:575: erreur : Cppcheck:
Common realloc mistake: 'buf' nulled but not freed upon failure
/tests/unittests/libretroshare/serialiser/rsturtleitem_test.cc:213:
erreur : Cppcheck: Return value of allocation function 'init_item' is
not stored.
2016-03-20 13:12:30 +01:00