Commit Graph

6344 Commits

Author SHA1 Message Date
csoler
aff7912f41 avoid sending packet slicing probes to the serializer in pqistreamer 2021-11-07 15:16:07 +01:00
csoler
5a55800f31 added sorting of peers (part 2/2) 2021-11-06 17:49:31 +01:00
csoler
af6dee088c first part of peer sorting in friend server 2021-11-05 16:52:00 +01:00
csoler
62655779e5 use recv(...,MSG_DONTWAIT), since read() may return multiple times the same data apparently 2021-11-04 20:52:38 +01:00
csoler
01da2fbe9e added debug output and fixed one bug in pqistreamer 2021-11-04 14:24:19 +01:00
csoler
0191072326 added response system from friend server 2021-11-01 22:01:59 +01:00
csoler
6b6d556e98 added nonce system for safe peer removal 2021-11-01 16:14:13 +01:00
csoler
b7c7c4c3f5 moved static/parsing of radix parts of short invites into RsCertificate (more code should be moved static there) and fixed adding incoming keys to friend server 2021-11-01 10:47:07 +01:00
csoler
5da31592f2 send/recv PGP public key and short invite 2021-11-01 09:16:41 +01:00
csoler
e058b3a35f fixed memory error 2021-10-31 18:00:43 +01:00
csoler
a69f9dc09b fixed two-ways communication between RS and friend server 2021-10-31 16:46:06 +01:00
csoler
42b4a821bd fixed basic incoming communication at server side 2021-10-31 12:02:09 +01:00
csoler
f0b23b84f1 added missing override in pqithreadstreamer 2021-10-31 12:01:44 +01:00
csoler
d659f768b5 fixed debug output in pqistreamer 2021-10-31 12:01:07 +01:00
csoler
ffa28000e3 added basic communication between FriendServer and its clients 2021-10-30 15:50:28 +02:00
csoler
d948086b5e added logic to stop/start FriendServer from GUI 2021-10-29 21:44:30 +02:00
csoler
19e42663a0 fixed compilation 2021-10-24 20:01:19 +02:00
csoler
b731cf34ee moved part of the code to libretroshare/src/friend_server 2021-10-24 17:41:23 +02:00
csoler
8939896abf added missing comment in pqi_base 2021-10-20 23:06:25 +02:00
csoler
8e4a9e6a38 implemented multiple clients in Friend Server 2021-10-19 23:24:50 +02:00
csoler
21ea281df4 added empty rsFriendServer struct and basic UI functionality 2021-10-13 22:50:09 +02:00
csoler
d97ad8099c added base network layer for friend server. Not working yet. 2021-10-09 01:08:23 +02:00
csoler
9a440e077e automatically close ongoing uploads when we stop sharing an extra file 2021-09-21 20:47:25 +02:00
csoler
0ca399ebf5
Merge pull request #2467 from csoler/v0.6-BugFixing_13
V0.6 bug fixing 13
2021-09-06 10:08:23 +02:00
Gioacchino Mazzurco
19915a8eb4
Fix broken line endings 2021-09-03 14:56:45 +02:00
Gioacchino Mazzurco
a18d6aaa1e
Add JSON API to get/set storage and sync GXS time 2021-09-03 14:55:03 +02:00
csoler
e22c5c9702 added bool return value to denyLobbyInvite() and marked overriding methods in p3msgs accordingly 2021-08-29 21:15:52 +02:00
csoler
563fc14532
Merge pull request #2459 from hunbernd/fix/partialfiles
Fix: additional / when combining file paths
2021-08-22 21:30:01 +02:00
Gioacchino Mazzurco
8bed99cc9f
Fix compilation with C++17 2021-08-06 12:15:34 +02:00
csoler
1f10be1c90
Merge pull request #2439 from csoler/v0.6-BugFixing_12
fixed errors in libretroshare.pro
2021-07-15 17:18:36 +02:00
csoler
0c98b7f178
Merge pull request #2438 from csoler/v0.6-rsHistory
[WIP] Documenting rsHistory.h to bring history to JSON api
2021-07-04 23:39:26 +02:00
csoler
4e4427f0bd fixed errors in libretroshare.pro 2021-07-03 22:01:07 +02:00
csoler
4833a8fdc4 added json api description for the rest of RsHistory 2021-07-03 20:48:47 +02:00
csoler
d6ccd75a7f started documenting rsHistory.h to bring history to JSON api 2021-07-03 00:31:09 +02:00
Gioacchino Mazzurco
7bf4da0691
Avoid JSON operations on RsGxsIdGroup::mPgpIdSign
The field is actually a raw memory chunk even if declared as an
  std::string as result the produced JSON is broken and JSON API clients
  cannot parse the output of methods like rsIdentity/getIdentitiesInfo
A proper fix would be refactoring the whole code to use a proper raw
  memory buffer for that field but given there is no usage for a raw PGP
  signature on a client app as RetroShare library already verify it internally
  workaround the issue by just ignoring that field in JSON serial operations.
2021-06-22 08:24:11 +02:00
Gioacchino Mazzurco
476180dc14
Files extra list optimization and cleanup
Improve performances and fix compiler warnings
2021-06-14 11:53:27 +02:00
csoler
8539dd503a fixed deadlock caused by wrong order in mutex lock 2021-05-04 19:49:47 +02:00
csoler
e22e1c1a8b
Merge pull request #2393 from hunbernd/fix/WebUI-binary-files
Fix: WebUI truncating binary files
2021-03-26 20:15:33 +01:00
hunbernd
bb6841370f Fix: WebUI truncating binary files.
Fixes font files not loading properly in the webui problem.
2021-03-25 18:20:11 +01:00
Gioacchino Mazzurco
67c607cb32
Fix Android compilation 2021-03-23 23:16:31 +01:00
Mohammed Saud
bf41f8ad92 add CORS headers to rsEvents/registerEventsHandler 2021-03-19 23:10:43 +05:30
csoler
4420575a9a removed debug info about superseded groups 2021-03-13 22:28:26 +01:00
csoler
c9d7cb7e7e fixed wrong define in debug for circles 2021-03-13 22:27:43 +01:00
csoler
eee2fe43cf
Merge pull request #2362 from csoler/v0.6-BugFixing_10
A few fixes in People tab
2021-03-08 22:50:26 +01:00
csoler
8df1f0bf41 fixed crash due to using twice the same method name in p3gxscircles.h wiht json api header 2021-03-08 20:51:21 +01:00
Gioacchino Mazzurco
74dc476282
Fix list overwrite in RsGxsNetService::requestGrp
When requestGrp was called with different groups for same peer multiple
  times between ticks the list was overridden and groups from previous
  call overridden by the new, as a result some requested groups may be
  never really requested. Fix the bug by using a set instead of a list
  so the newly requested groups are uniquely added to the set without
  removing the previously added.
2021-03-08 20:07:07 +01:00
csoler
bc99321b14 fixed merge with upstream/master 2021-03-08 09:34:34 +01:00
csoler
6f78952df9 fixed error msg 2021-03-07 21:00:53 +01:00
Phenom
3d9ba341f0 Fix Windows 64b G++ under MSys2 compil. 2021-03-05 17:40:06 +01:00
csoler
118ec492e6 added missing explicit update circle method (Not used yet) 2021-03-03 22:37:12 +01:00