Commit Graph

6311 Commits

Author SHA1 Message Date
Gioacchino Mazzurco
9970f9d22f
Avoid leaking single shared file path in search results
Single shared files are a bit special and contain the full path in the
  name because they are not shared as part of a directory, epurate the
  path component from matching process and from search result
2021-07-18 21:16:46 +02:00
Gioacchino Mazzurco
e1580868dc
Avoid leaking non browsable shared single files to friends 2021-07-18 21:16:46 +02:00
Gioacchino Mazzurco
fc198d4e6d
libretroshare: add share single files (no dir, no extra)
Add capability to libretroshare to share single files without sharing
  the whole folder containing it, this is expecially useful in Android
  where files are organized in a peculiar way that render classic way of
  sharing folder almost unusable. Using extra files which was already
  implemented doesn't solve this use case as extra files are limited in
  time and dosn't support search and sharing permissions.
RetroShare GUI works fine if a single file is added as shared dir via
  JSON API, but probably would need tweaking some flags in file picker
  to give the ability to the user.
2021-07-18 21:16:45 +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
csoler
4ef1c0545c
Merge pull request #2359 from csoler/v0.6-v0.6.6
moved from 0.6.6-RC2 to 0.6.6
2021-02-28 20:13:36 +01:00
csoler
f5233b1190 moved from 0.6.6-RC2 to 0.6.6 2021-02-28 20:02:57 +01:00
csoler
2b9a290a85
Merge pull request #2350 from csoler/v0.6-BugFixing_10
Bug fixing in FriendList
2021-02-28 19:59:57 +01:00
csoler
b16c30bc3f fixed registration of event handler 2021-02-26 23:20:48 +01:00
csoler
339948a15c added missing event for FriendList when friends added now that notifyQt is not used anymore 2021-02-26 23:01:41 +01:00
jolavillette
b8b3d7515c add missing mutex locks around free_pend calls in pqistreamer.cc 2021-02-22 09:04:33 +01:00
csoler
36e063160c removed some debug messages 2021-02-20 20:29:30 +01:00
csoler
226de56f88 improved output for when max chat room messages is reached 2021-02-20 20:20:56 +01:00
csoler
481a207ccb fixed bug when retroshare-service -U list is ran with no account 2021-02-20 09:32:57 +01:00
csoler
d1baa3821a auto-validate own signed identities 2021-02-19 21:09:17 +01:00
csoler
04fd7f17ca fixing update of groups restricted to circles when circle membership changes 2021-02-15 18:42:34 +01:00
csoler
8e91efbb93 fixed setAutoDownload and setDownloadDirectory for channels 2021-02-14 23:40:35 +01:00
csoler
4ef58cce81 fixed update of channel list when publish permissions received 2021-02-14 23:14:23 +01:00
csoler
dfa088acac
Merge pull request #2308 from csoler/v0.6-BugFixing_9
V0.6 bug fixing 9
2021-02-13 14:13:18 +01:00
csoler
9fd16827da fixed compilation of rsgxsnetservice debg code 2021-02-12 23:38:35 +01:00
csoler
43fbd6f76a fixed bug causing lack of passwd request on group edit 2021-02-10 21:47:06 +01:00
csoler
499753f873 fixed setting up avatar when creating a GxsId 2021-02-10 20:57:55 +01:00
Phenom
47ad48cafd Fix Uninitialised in RsNxsGrp 2021-02-10 19:45:45 +01:00
csoler
8e64a07efc
Merge pull request #2285 from jolavillette/pqihandler-bwctrl-bugfix
Fix bug in pqihandler preventing UP BW management when bwctrl service is OFF
2021-02-08 09:49:58 +01:00
csoler
6739887f58
Merge pull request #2289 from jolavillette/turtle_TR-SR_Optim
Optimization of TR and SR lifespan
2021-02-08 09:46:53 +01:00
csoler
d9721746c3
Merge pull request #2287 from csoler/v0.6-BugFixing_8
Added early check of ExtAddrFinder and notify about its results
2021-02-08 09:45:31 +01:00
csoler
90a11a1236 only update peer IPs form discovery for non hidden nodes 2021-02-06 21:55:43 +01:00
csoler
abe3527635 update friends IP from own net info sent by discovery 2021-02-06 21:42:07 +01:00
jolavillette
bdccef5ef9 increase TR and SR validity to 20 seconds 2021-02-06 20:57:04 +01:00
csoler
1f1a226f87 removed soem dead code 2021-02-06 17:31:43 +01:00
csoler
3f89a3300d added event handling when peer discovery is received 2021-02-06 14:57:22 +01:00
jolavillette
81e444a164 remove debug messages 2021-02-06 08:13:01 +01:00
csoler
d9aff498c5
Merge pull request #2276 from RetroPooh/no-spam-debug
disable some spam debug
2021-02-05 23:52:03 +01:00
csoler
37dc37ce4a fixed parsing and exporting of local+ext IPs in short invites (not compatible with IPv6) 2021-02-05 23:25:55 +01:00
jolavillette
02232b389e Optimization of TR and SR lifespan 2021-02-05 09:53:14 +01:00
csoler
251d022ae1 attempt to fix error in setting external port when guessing external IP 2021-02-04 22:22:21 +01:00
csoler
6c83b5cd27 added double check in ext IP hack to avoid re-calling UpdateOwnAdress() 2021-02-04 16:12:18 +01:00