Commit Graph

129 Commits

Author SHA1 Message Date
Gioacchino Mazzurco
7b38c1c75a
Initial work on Broadcast Domain Discovery
Discover peers on the same broadcast domain/LAN
Implements own node announcement
Implements others announcement listening
Implements API to get notifiend when other nodes get discovered
Implements API to get discovered nodes
Add discovered peer locator to rsPeers if it is already friend

Yet a bunch of things to do to take full advantage of this new
implementation
2019-04-12 02:53:39 +02:00
csoler
ec66ad5b80
Merge pull request #1501 from csoler/v0.6-ImprovedGUI
created a cache for default icons to avoid allocating them everytime …
2019-03-24 19:49:36 +01:00
csoler
db4f8f18b8
fixed sqlcipher version on OS 10.14 2019-03-24 18:58:18 +01:00
csoler
1d09269e42
switched macOS version to 10.14 2019-03-24 16:22:17 +01:00
G10h4ck
f4e13975b0
Merge pull request #1478 from G10h4ck/jsonapi
extend JSON API to identities, circles and reputation
2019-03-23 09:11:05 -03:00
Phenom
4c50d73668 Add Compil Flag -Wno-inconsistent-missing-override to hide this type of
warnings:

../../../trunk/libretroshare/src/services/p3idservice.h:226:24: warning:
'getServiceInfo' overrides a member function but is not marked
'override' [-Winconsistent-missing-override]
        virtual RsServiceInfo getServiceInfo();
                              ^
../../../trunk/libretroshare/src/gxs/rsgenexchange.h:122:27: note:
overridden virtual function is here
    virtual RsServiceInfo getServiceInfo() = 0;
                          ^
2019-02-15 00:14:42 +01:00
Gioacchino Mazzurco
598521d1ac
Implement JSON API for circles 2019-02-14 18:52:35 -03:00
Gioacchino Mazzurco
e9d817e126
Make it possible to choose at compile time UPnP library to use 2019-02-10 11:46:17 -03:00
Gioacchino Mazzurco
04db4b0f24
Keep retroshare.pri tidy 2019-02-04 14:49:09 +01:00
csoler
68c0c65e94
fixed .pri for MacOS 2019-01-24 11:59:31 +01:00
csoler
f013a43e48
fixed versions for libs in MacOS 2019-01-24 10:16:13 +01:00
csoler
4938200bac
fixed merge 2019-01-23 20:25:05 +01:00
csoler
1f81a4cb6f
added 10.13 as compilation target on MacOS 2019-01-23 20:23:10 +01:00
hunbernd
50ee33b229 RS_ prefix 2018-12-31 22:36:30 +01:00
hunbernd
584b9039c9 Added switch to enable native dialogs at build time
CONFIG+=use_native_dialogs
2018-12-31 22:36:30 +01:00
Gioacchino Mazzurco
69debe5052
Enable direct chat by default 2018-12-24 12:48:03 +01:00
G10h4ck
93fed48b05
Merge pull request #1413 from G10h4ck/disable_deprecated_messaging
0.6.5 Disable deprecated messaging
2018-12-23 12:10:55 +01:00
Gioacchino Mazzurco
5e4006b7e6
Merge branch 'v0.6.5' 2018-12-23 11:48:35 +01:00
csoler
3a664063ae
fixed error in .pri tat prevented plugins to be installed 2018-12-21 13:52:56 +01:00
Gioacchino Mazzurco
e80abde78a
Remove some old versioning system cruft remnants 2018-12-18 21:25:46 +01:00
csoler
a802e494f8
Merge pull request #1401 from G10h4ck/forum_api
0.6.5 Safer forum API
2018-11-20 21:45:45 +01:00
Gioacchino Mazzurco
1699a6a25a
Disable node chat by default at compile-time 2018-11-20 11:32:00 +01:00
Gioacchino Mazzurco
f670a18b13
Break too long line in retroshare.pri 2018-11-16 19:09:37 +01:00
csoler
1e1e81704a
added license headers for librssimulator 2018-11-11 14:24:45 +01:00
sehraf
54df09c4b3
add missing DEFINE, fix small bugs 2018-11-10 20:34:03 +01:00
sehraf
b54305d508
rename config option 2018-11-05 18:56:27 +01:00
sehraf
66dff9bf0b
Add a build-time switch to set whether GXS distributes all available data or only sends data withint the configured sync period. 2018-11-05 18:56:11 +01:00
G10h4ck
047ae7f723
Merge branch 'master' into jsonapi 2018-10-10 22:23:28 +02:00
Gioacchino Mazzurco
77d938bf52
Remove _USE_32BIT_TIME_T windows define
Why did we added it in first place?
2018-10-07 13:07:22 +02:00
Gioacchino Mazzurco
8f17270a2a
Fix type in .pri breaking non-cross-compiling 2018-10-06 18:49:17 +02:00
Gioacchino Mazzurco
184fac95ae
Fix deep_search enable/disable at build time 2018-10-04 22:12:23 +02:00
Gioacchino Mazzurco
0078501dba
Initial work on a RetroShare cross-platform service
This doesn't need any interacion of the user at startup, unlike
retroshare-nogui which requires the user to login on the shell this doesn't
even need a TTY.
At startup this just parse command line, read the PGP keyring, look for
available locations, and start listening for JSON API requests.
Another difference with retroshare-nogui is that this is capable to
generate/import PGP identities, generate locations, and in general anything
possible through the RetroShare API.
retroshare-service is suitable also to run it as a system service, even
in very constrained systems such as Android ot a Docker container.
retroshare-service drop support for libresapi so only the new JSON API
is exposed, it will completely obsolete retroshare-android-service once
retroshare-qml-app is ported to the new JSON API.
2018-09-29 00:15:10 +02:00
Gioacchino Mazzurco
4f4e2d2bbb
More robust automatic version determination
Should work also with older qmake that miss take_first function
2018-09-15 20:57:28 +02:00
Gioacchino Mazzurco
92f90178c4
RS version is now parametrizable at compile time
Avoid the need of dirty patching to set the version at build time
In case RS version is not passed as argument attempt to determine it
  using git describe, if unavailable use hardcoded default
2018-09-12 10:49:36 +02:00
Gioacchino Mazzurco
396fe49312
Merge branch 'master' into jsonapi 2018-08-22 16:59:42 +02:00
csoler
0d4eafde31
fixed compilation on ubuntu with xapian 2018-07-31 18:09:11 +02:00
csoler
d1a375cbd0
removed RETROTOR #ifdef and started using RsAccounts::isTorAuto() instead. Unfinished yet. 2018-07-25 11:37:40 +02:00
csoler
a21c2724f5
disabled compilation of cmark until it gets fixed 2018-07-24 20:59:20 +02:00
csoler
3272ee0719
disabled compilation of cmark until it gets fixed 2018-07-23 17:20:13 +02:00
Gioacchino Mazzurco
130007b578
Merge branch 'master' into jsonapi 2018-07-23 13:44:01 +02:00
Gioacchino Mazzurco
ff166b2295
Merge branch 'master' into deep_search 2018-07-21 12:57:05 +02:00
Gioacchino Mazzurco
a31b06ab60
Merge branch 'master' into deep_search
Needed to make deep search and GXS search cooperate
2018-07-20 13:15:11 +02:00
csoler
2bab688dec
fixed merge with upstream/master 2018-07-19 23:22:24 +02:00
csoler
6848a586f3
merged upstream/master 2018-07-08 21:17:48 +02:00
Gioacchino Mazzurco
c0e92ddc6b
WIP Index GXS channels with xapian
Use temporary DB ATM
2018-07-02 17:29:54 +02:00
Gioacchino Mazzurco
7ad337c8d2
Implement automatic JSON API generation
qmake file add jsonapi-generator target to compile JSON API generator
qmake files add rs_jsonapi CONFIG option to enable/disable JSON API at compile
  time
RsTypeSerializer pass down same serialization flags when creating new context
  for nested objects serial job
RsGxsChannels expose a few methods through JSON API as example
Derive a few GXS types (RsGxsChannelGroup, RsGxsChannelPost, RsGxsFile,
  RsMsgMetaData) from RsSerializables so they can be used for the JSON API
Create RsGenericSerializer::SERIALIZATION_FLAG_YIELDING so JSON objects that
  miss some fields can be still deserialized, this improve API usability
SerializeContext offer friendly constructor with default paramethers
Add restbed 4.6 library as git submodule as most systems doesn't have it yet
Add a bit of documentation about JSON API into jsonapi-generator/README.adoc
Add JsonApiServer class to expose the JSON API via HTTP protocol
2018-06-24 16:28:33 +02:00
csoler
5b9666855d
fixed merge with upstream 2018-06-22 23:38:31 +02:00
Gioacchino Mazzurco
3c678f2a28
Fix windows build if MINGW_PREFIX is defined 2018-06-11 16:05:25 +02:00
csoler
b3277824eb
license fix in pqi 2018-05-28 22:03:39 +02:00
csoler
8b8eb6b597
re-licenced libbitdht to AGPLv3+ 2018-05-21 18:23:52 +02:00