Commit Graph

16354 Commits

Author SHA1 Message Date
Gioacchino Mazzurco
1e9a26893c
Forum deep search support wildcard* search
Xapian have support for wildcard search
  wild* matches wild, wildcard, wildcat, wilderness
  but it need to be enabled by passing a specific flag to the query
  parser, this is very useful for forum search so enable it in addition
  to default Xapian search capabilities
2021-11-16 10:52:18 +01:00
csoler
a5b1f2d976 created independent tcpsocket class to be used also in TorManager 2021-11-14 23:31:40 +01:00
G10h4ck
fe0561b3fe
Merge pull request #2377 from G10h4ck/gxs_fast_pull_request
Implement pull request mechanism in RsGxsNetService
2021-11-12 21:36:06 +01:00
Phenom
1146a0bf27 Fix QSplitter and TitleBar StyleSheet. 2021-11-12 20:04:43 +01:00
Gioacchino Mazzurco
cd5dad6a75
Rename GXS pullFromPeers to pullFromPeers
According to what discussed with Cyril
2021-11-12 19:11:02 +01:00
Gioacchino Mazzurco
ebbd8cf938
Forums expose API to request syncronization 2021-11-12 18:46:36 +01:00
Gioacchino Mazzurco
fc404bd5d8
RsGxsNetService trigger pulling on group subscribe 2021-11-12 18:43:52 +01:00
Gioacchino Mazzurco
6295e91304
Request pull from peers when GXS message is created 2021-11-12 18:43:52 +01:00
Gioacchino Mazzurco
b42323013e
Fix includes in rsnxs.h 2021-11-12 18:43:49 +01:00
Gioacchino Mazzurco
a7f1e94cea
Request pull from peers when GXS group is created 2021-11-12 18:42:55 +01:00
Gioacchino Mazzurco
a374f1dc6b
Implement RsNxsSerialiser::create_item for RsNxsPullRequestItem 2021-11-12 18:41:18 +01:00
Gioacchino Mazzurco
e4f25a558d
Implement pull request mechanism in RsGxsNetService
This could be used to request the online peers to pull updates from us
  ASAP, as an exaple when a group is created a pull request can be
  emitted too so the online peers pull the groups from us ASAP instead
  of waiting for the usual 60 seconds. A mechanism like this is
  especially useful on mobile phones where the internet connection is
  usually turned on only in a few moments (as an example while the user
  is interacting with the app).
Cleanup a few old corners in the code keeping retro-compatibility and
  make the code more welcoming to new developers.
Put a bunch of dead code under #ifdef.
2021-11-12 18:41:10 +01:00
Gioacchino Mazzurco
11f17fef40
libretroshare Android Qt network dependency optional
One of the reason libretroshare dependend on Qt on Android
  and in particular in networking module is the lack of
  `getifaddrs` with API level < 24, we included Android
  Gingerbread internal implementation so this dependency can be avoided
  at compile time.
The code depending on Qt has been placed under `#if` and can be enabled
  at compile time by appending `DEFINES+=LIBRETROSHARE_ANDROID_IFADDRS_QT`
  to `qmake` command line.
2021-11-12 16:02:53 +01:00
csoler
4d06ab2b4a Merge remote-tracking branch 'upstream/master' into v0.6-TorControl 2021-11-11 18:28:02 +01:00
csoler
bef780e0c7 merged with upstream/master 2021-11-11 17:50:11 +01:00
csoler
5e50f23423 improved checking of short invite / pgp key in friend server. Added a key parsing method in PGPKeyManagement 2021-11-10 23:36:23 +01:00
defnax
53dfa67d78
Merge pull request #2505 from defnax/default-stylesheetfix
Default stylesheetfix
2021-11-10 20:52:13 +01:00
defnax
a60a36582c Fixed layout spacing 2021-11-10 19:18:06 +01:00
defnax
fd93167111 Added stylesheet for the titleBarFrame 2021-11-10 19:11:58 +01:00
defnax
556322a015
Merge pull request #2504 from defnax/default-stylesheetfix
fixed stylesheets for the default.qss
2021-11-10 12:08:22 +01:00
Gioacchino Mazzurco
ff68faf34a
Gitlab CI Android improve configurability
Enable passing RS_SERVICE_QMAKE_EXTRA_OPTS from environement so it can
  be set from project settings according to project and forks needs
2021-11-10 10:52:18 +01:00
defnax
dc40927958 fixed stylesheets for the default.qss 2021-11-09 22:28:28 +01:00
csoler
1d2b91a675
Merge pull request #2502 from PhenomRetroShare/Fix_rsGetHostByNameSpecDNS
Fix rsGetHostByNameSpecDNS by closing socket.
2021-11-08 11:21:46 +01:00
Phenom
4cc0b9f492 Fix rsGetHostByNameSpecDNS by closing socket. 2021-11-08 10:20:44 +01:00
csoler
0cf889d556 fixed a few bugs in peer management 2021-11-07 22:39:24 +01:00
csoler
25ddbe099d fixed two-ways communication between client and server 2021-11-07 15:16:24 +01:00
csoler
aff7912f41 avoid sending packet slicing probes to the serializer in pqistreamer 2021-11-07 15:16:07 +01:00
thunder2
88d70e2edc Removed built-in stylesheets from Windows packages 2021-11-07 01:59:31 +01:00
csoler
5a55800f31 added sorting of peers (part 2/2) 2021-11-06 17:49:31 +01:00
Phenom
a072b151f5 Add ConnectFriendWizard improvement.
Add cert details in friendCertCleanLabel tooltip.
Use qss for background color of friendCertCleanLabel.
Add Known IP in final view.
2021-11-06 14:10:17 +01:00
Gioacchino Mazzurco
e8b97405b9
Fix android build due missing include 2021-11-06 11:35:28 +01:00
G10h4ck
bfbb2a5ae6
Merge pull request #1874 from PhenomRetroShare/Add_ExtIPFinderUsingDNS
Add ability to retrieve External IP using Specific DNS server.
2021-11-06 04:08:41 +01:00
thunder2
0e5cb56c19 Fixed Windows build with new stylesheets 2021-11-06 01:02:23 +01:00
Phenom
91a35f4a21 Change some code according G10h4ck remarks. 2021-11-06 00:32:36 +01:00
Phenom
7755f85c4c Move DNS stuff to single new file rsdnsutils.cc. 2021-11-05 22:48:41 +01:00
Phenom
81d2ddd7c7 Enable IPv6 DNS ExtIpFinder
Now empty node with only IPv6 can connect to other.
2021-11-05 22:48:41 +01:00
Phenom
a09db6717b Add ability to retrieve External IP using DNS server.
IPV6 compatible.
2021-11-05 22:48:41 +01:00
thunder2
56d34a8a2c Undo fix for linking of plugins for Windows MSYS2 compile 2021-11-05 21:23:48 +01:00
csoler
af6dee088c first part of peer sorting in friend server 2021-11-05 16:52:00 +01:00
Gioacchino Mazzurco
fa48b03fac
mark single argument RsStackMutex costructor explicit 2021-11-05 15:31:08 +01:00
Gioacchino Mazzurco
7ae314440f
Fix GitlabCI repository url and improve Android dockerfiles 2021-11-05 15:29:53 +01:00
Gioacchino Mazzurco
a9fe1ba6de
Make DirStub serialization consistent on all architectures
Thanks elRepo.io developers to detect and report this bug with detail
https://gitlab.com/elRepo.io/elRepo.io-android/-/issues/52
2021-11-05 12:02:56 +01:00
csoler
b805cce58d
Merge pull request #2404 from PhenomRetroShare/StyleSheet_Rewrite
StyleSheet Rewrite
2021-11-04 23:57:26 +01:00
Phenom
d7981f3811 StyleSheet Rewrite
Use QDarkStyle to make Standard_Dark.qss and Standard_Light.qss
Use Widget name to stylize them.
2021-11-04 21:21:54 +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
Gioacchino Mazzurco
16ca0dc52c
RsThread fix warning and cleanup
Avoid compiler warning due to virtual method being called in destructor
  at this point the empty default version would be called without damage
  but making the compiler concernig about the semantic being different
  from the one the programmer meant.
Delete old superseeded function and do not depend on it on RsThread.
2021-11-04 19:17:57 +01:00
G10h4ck
9b2504d407
Merge pull request #2499 from PhenomRetroShare/Fix_RsThread
Fix RsThread when nothing to do and run finish before start.
2021-11-04 18:47:12 +01:00
csoler
01da2fbe9e added debug output and fixed one bug in pqistreamer 2021-11-04 14:24:19 +01:00
Gioacchino Mazzurco
53f2891b78
Improve JSON API DirDetails handle type test 2021-11-04 13:29:32 +01:00
Gioacchino Mazzurco
d6c4a086f3
Add test for JSON API DirDetails handle type 2021-11-04 11:58:42 +01:00