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
ae37787853
merged with upstream/master
2016-12-08 09:17:56 +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
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
Gio
ea42d822c2
Merge branch 'master' into android
2016-10-26 13:43:24 +02:00
Gio
633a6cf8c2
Fixed a bunch of warnings in safe ways
2016-10-13 00:01:33 +02:00
Gio
68a00138d2
Avoid usage of deprecated function RSA_generate_key that make android
...
compiler mad
2016-08-23 12:15:28 +02:00
Phenom
72d743584a
Fix RsGxsNetService::handleRecvPublishKeys when grpMeta is NULL
...
Bug noted by Papache
2016-08-08 19:05:42 +02:00
Phenom
beab81e134
Fix Forum Item sort on LastPost View.
...
msg.mMeta.mChildTs Was not updated when received new child so do it when
creating GxsIdRSTreeWidgetItem.
2016-08-06 11:57:41 +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
c7576309a7
added callback in RsGenExchange subclasses to autorise new groups, to be used by p3GxsIdentity
2016-08-04 13:12:55 +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
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
daf54dff3d
fixed missing RsGxsGrpMeta cache update when updating grp meta, which caused unstable group flags/name/perms update
2016-07-22 17:49:07 -04:00
Cyril Soler
9fd44a53be
Merge pull request #437 from PhenomRetroShare/Fix_UnitTests
...
Fix UnitTests and run it in windows too.
2016-07-15 19:28:54 -04:00
csoler
9126076336
removed debug info in p3IdService and RsGxsNetService
2016-07-15 17:09:22 -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
Phenom
3152ecaa9b
Fix UnitTests and run it in windows too.
2016-07-15 15:36:06 +02:00
csoler
c555300c37
fixed merging with upstream
2016-07-12 22:45:23 -04:00
csoler
c7e60d0cdb
removed debug info in rsgxsnetservice
2016-07-12 22:42:19 -04:00
csoler
ed523e8edf
fixed backend for locl circles
2016-07-11 22:44:15 -04:00
csoler
951f29f155
removed debug info in rsDataService
2016-07-10 23:00:47 -04:00
Cyril Soler
1c277ab81b
Merge pull request #433 from csoler/v0.6-SqlCache
...
V0.6 sql cache
2016-07-05 23:47:55 -04:00
csoler
218ca45ac8
removed some debug info in rsdataservice
2016-07-03 23:12:56 -04:00
csoler
e611b2bb05
moved isIdentitybanned from p3GxsReputations to p3IdService, so as to avoid calling back p3IdService from p3GxsReputations, which simplifies the code
2016-07-03 18:06:01 -04:00
csoler
86d8f01033
added a local cache in rsdataservice to avoid calling sqlcipher on GrpMetaData
2016-07-01 23:38:10 -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
eb05922cd1
added a tooltip and read color for unsecure GXS identities. These are still supported for a few weeks at most. So get rid of them
2016-06-17 22:21:06 -04:00
csoler
4df4bb638f
fixed removal of messages in unsubscribed groups
2016-06-17 20:46:58 -04:00
csoler
886d896151
fixed warning about old fingerprint for own keys.
2016-06-17 20:46:24 -04:00
csoler
c25b65074a
removed check key debug info
2016-06-16 23:10:13 -04:00
csoler
25c0c9d4ce
added systematic consistency checking of public/private RSA keys at deserialisation time
2016-06-16 23:06:07 -04:00
csoler
8d54603b02
fixed bug in private key extraction
2016-06-16 21:27:28 -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
e03c5dfe56
improved GUI layout in circle creation box. Added tooltips
2016-06-13 22:38:51 -04:00
csoler
600607d879
added warning for old peers in circles
2016-06-13 22:14:09 -04:00
csoler
fa29dd7332
changed the way RsGxsSyncMsgReqItem are sent for circle-restricted groups, using a hash of the group ID instead of encrypting the whole item, hense saving a lot of bandwidth on msg sync.
2016-06-12 21:41:09 -04:00
csoler
eb9025d9a4
removed annoying warning when a circle is empty
2016-06-11 17:20:22 -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
814db7ed55
fixed possible uninitialised memory read
2016-06-03 19:15:16 +02: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
csoler
e2b5785eec
merged PR403 with trunk
2016-06-02 21:15:51 -04:00
csoler
10e0254317
fixed a few things to correct PR403
2016-06-02 20:38:33 -04:00
sehraf
4f60c8cc9b
libretroshare: fix comparison between signed and unsigned integer
2016-06-02 14:54:23 +02:00
sehraf
8b788b2aa8
libretroshare: fix member initialisation order
2016-06-02 14:54:16 +02:00
sehraf
f16ee97093
add static thread names
2016-06-01 16:21:55 +02:00
csoler
722609a3e6
finished implementing the backend part for the subscription system
2016-05-18 21:13:54 -04: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
7914aeb60a
use RsTemporaryMemory in signature verification
2016-04-30 17:33:47 -04:00
csoler
be7e87cb1e
use RsTemporaryMemory in signature verification
2016-04-30 17:25:24 -04:00
csoler
55e80871eb
added missing free for public keys used in envelop encryption
2016-04-22 17:30:55 -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
0d3ff0e3aa
fixed possible uninitialised memory read in memory decryption return
2016-04-21 19:46:47 -04:00
csoler
0c711a4c61
added missing calls to EVP_CIPHER_CTX_cleanup() to release memory after decryption, causing memory leaks
2016-04-21 19:41:21 -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
fa8a585e20
removed some debug info
2016-04-15 18:25:53 -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
123041a684
skip circle vetting when sending message posts with no author
2016-04-10 18:59:36 -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
6c8737c84a
merged with upstream/master
2016-03-25 21:09:37 -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
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