Gioacchino Mazzurco
9a8248c1a2
Rename RS mail tracker id type according to Cyril suggestion
2019-10-26 15:21:21 +02:00
Gioacchino Mazzurco
45b623b2ce
Update copyright header + fix warning
2019-10-26 07:58:05 +02:00
Gioacchino Mazzurco
04d3325fbd
Provide usable API to send RS mails
...
Return trackid to sendmail caller
Post RsEvents when sent mail change status
Deprecate old MessageSend
2019-10-26 00:07:51 +02:00
G10h4ck
63861ba942
Merge pull request #1659 from G10h4ck/netmgr_calmer
...
Calm down p3netmgr at least when internet connection is not available
2019-10-25 18:42:45 +02:00
csoler
f78b591214
fixed compilation
2019-10-23 18:16:31 +00:00
csoler
578a514007
fixed bug causing option -p to not allow to change listenning port
2019-10-23 20:11:30 +02:00
Gioacchino Mazzurco
ab93d31d17
Remove some RsPeers related dead code
2019-10-06 23:20:18 +02:00
Gioacchino Mazzurco
89819dd945
Add JSON API to list PGP friends
2019-10-06 23:03:14 +02:00
csoler
f04b32eef8
Merge pull request #1650 from csoler/v0.6-ShortInvites
...
fixed error handling when you enter your own certificate in connect f…
2019-09-30 21:46:52 +02:00
Gioacchino Mazzurco
6b71c57a54
Calm down p3netmgr at least when internet connection is not available
...
Solve compiler warnings, delete tons of cruft and deadcode
2019-09-29 17:59:32 +02:00
csoler
e41b64d938
added checksum section to short certificate format
2019-09-29 17:37:52 +02:00
Gioacchino Mazzurco
2aade543f3
Send PGP full fingerprint in broadcast discovery
2019-09-25 16:33:13 +02:00
csoler
24781a71f5
removed unused mOthersList from PeerMgr
2019-09-23 21:32:28 +02:00
csoler
282d2d324d
added missing notifications when adding friends
2019-09-22 20:42:49 +02:00
csoler
9b78447109
used RsInfo instead of std::cerr in authssl.cc
2019-09-22 17:36:08 +02:00
csoler
4fabf3deb1
renamed skip_signature_validation into more appropriate skip_pgp_signature_validation
2019-09-19 21:14:57 +02:00
csoler
654d760d84
fixed comments from review of PR
2019-09-19 20:59:35 +02:00
csoler
af9b3647dd
fixed bug causing local port to randomly change at start
2019-09-18 23:02:15 +02:00
csoler
1f058f9f22
fixed compilation
2019-09-15 16:49:30 +02:00
csoler
636d477aea
fixed bug causing JSon api server to start twice, and therefore stopping RS because the port was already listen to
2019-09-15 16:21:12 +02:00
csoler
bea6769a4e
removed unused code from p3gossipdiscovery
2019-09-14 16:26:24 +02:00
csoler
a20ec1a885
fixed exchange of PGP keys in binary format and update of PGP signature flags on short invites when the key is received
2019-09-14 15:33:43 +02:00
csoler
3a58aa468f
add special profile item for not yet validated peer from short invite
2019-09-10 09:52:37 +02:00
csoler
4f4b3bfcdb
Merge pull request #1624 from csoler/v0.6-RetroshareService
...
V0.6 retroshare service
2019-09-09 10:33:18 +02:00
csoler
6419b03a2a
merged upstream/master
2019-09-08 20:35:23 +02:00
csoler
2e5821bf59
fixed compilation without RS_JSONAPI
2019-09-06 23:50:39 +02:00
csoler
ad443ecaa4
fixed compilation without RS_JSONAPI
2019-09-06 23:40:04 +02:00
csoler
ccd8c7186d
fixed compilation without RS_JSONAPI
2019-09-06 23:28:04 +02:00
csoler
4a085cf223
removed termios include causing windows compilation to fail
2019-09-06 23:15:21 +02:00
csoler
bd0e4d7fba
fixed initialization of RsConfigOptions
2019-09-05 23:07:07 +02:00
csoler
b4bfdf2e25
fixed shutdown callback issue in retroshare-service.cc
2019-08-30 22:09:47 +02:00
csoler
ab5da5ebf5
switched to RsLoginHelper for login attempt in rs-service. Moved commandline arguments to main executable using a new struct named RsConfigOptions
2019-08-29 23:15:46 +02:00
csoler
90d0686e88
removed Qt from unix version of retroshare service. Enabled loging at start with option -u
2019-08-27 21:54:17 +02:00
Gioacchino Mazzurco
9b8d0afacb
Fix sporadic crash in JSON API async calls
...
In Restbed one is not supposed to call session->yield outside the
threads controlled by Restbed. RetroShare JSON API async call were
calling session->yield from threads controlled by RetroShare all the
times, this caused crashes in some cases, like when the JSON API
socket timed out concurrently with the session->yield call .
To solve this problem session->yield from async
calls are now wrapped insto mService->schedule to ensure they are
executed on the right thread (aka one of the threads controlled by
Restbed).
While solving this issue I realized also that passing RsEvents as const
references around was quite limiting in cases where the event need to
be finally handled in another thread, in that case passing by const
reference the RsEvent needed to be copied by value into the thread
that process it, in this copy by value process the information of
which was the original specific type is lost, and then only the data
and methods from general RsEvents are available, unless the handler
does tricky stuff with type coercion etc. To solve this limitation
pass the events as std::shared_ptr<const RsEvent> seems the safer and
more elegant solution.
2019-08-27 11:59:38 +02:00
Gioacchino Mazzurco
8cc87f6887
Fix licensing and some comments
2019-08-06 13:12:49 +02:00
Gioacchino Mazzurco
6e88f6de1f
Remove unused macro definition from rsinit header
2019-07-29 10:46:41 +02:00
csoler
9312d0cb3a
converted short invites to compact PGP format for increased robustness
2019-06-21 23:30:06 +02:00
csoler
e132ce7072
attempt to add SSL-only friends in FriendList - does not work yet
2019-06-20 23:09:40 +02:00
csoler
805f753727
fixed parsing of short invite
2019-06-20 21:59:56 +02:00
csoler
5139c023ab
fixed some bugs in auto-activating saved chat rooms
2019-06-15 22:44:59 +02:00
csoler
57a548531c
fixed adding friend with short invite
2019-06-10 15:15:15 +02:00
csoler
fb52f6717c
fixed up addign friend from short invite
2019-06-09 23:49:31 +02:00
csoler
4bd5aaa9b2
added parsing of short invites in connect friend wizard (not working yet)
2019-06-09 15:03:48 +02:00
csoler
3a799bae37
added optional display of short invites in places with certificates
2019-06-06 21:41:38 +02:00
csoler
56e591f728
added a flag in peerState specific to short invites, and several checks for consistency
2019-05-22 21:46:11 +02:00
Gioacchino Mazzurco
bde6235758
Fix windows compilation
2019-05-16 22:13:12 +02:00
Gioacchino Mazzurco
720d5ea8a6
Implement libretroshare short invites support
2019-05-16 22:13:12 +02:00
Gioacchino Mazzurco
16d606b513
refactor LoadCheckX509 into safer AuthSSL::parseX509DetailsFromFile
2019-05-14 22:05:42 +02:00
Gioacchino Mazzurco
41d4599fe3
Cleanup huge amount of AuthSSL cruft
...
Make reduntant auth check in pqi effective (even if redundant only
siganture was checked but friendess wasn't)
Evidence redundant auth check in pqi by putting it inside #ifdef this
way the beaviior being the same with and without redundat check can be
verified easier
Solve lot of compiler warnings and made code more readable
Remove dangerous sslcert wrapper
Remove misleading messeges and notification about peer not giving cert,
FailedCertificate logic is wrong since many years as authentication is
fully handled inside VerifyX509Callback
2019-05-03 17:05:49 +02:00
Gioacchino Mazzurco
de0dd63e3f
Remove a bunch of deadcode
...
RsSerializable already provide std::ostream &operator<<
Add deprecation notice for RsNotify
2019-05-03 16:55:57 +02:00