Commit Graph

384 Commits

Author SHA1 Message Date
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
Phenom
54b708089f Fix clang warnings for
../../../trunk/libresapi/src/api/FileSearchHandler.cpp:53:66: warning:
unused parameter 'pid' [-Wunused-parameter]
void FileSearchHandler::notifyTurtleSearchResult(const RsPeerId&
pid,uint32_t search_id, const std::list<TurtleFileInfo>& files)
                                                                 ^
In file included from ../../../trunk/libresapi/src/api/
FileSearchHandler.cpp:24:
../../../trunk/libresapi/src/api/FileSearchHandler.h:48:15: warning:
private field 'mTurtle' is not used [-Wunused-private-field]
    RsTurtle* mTurtle;
              ^
2019-04-04 21:06:01 +02: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
Gioacchino Mazzurco
ea7773f86d
Refactor RsReputations for compatibility with JSON API 2019-02-15 15:29:36 -03:00
Phenom
35373c36c5 Fix Warnings for class 'RsIdentity' was previously declared as a struct
In file included from ../../../trunk/libresapi/src/api/ApiServer.cpp:22:
In file included from ../../../trunk/libresapi/src/api/ApiServer.h:27:
In file included from ../../../trunk/libresapi/src/api/PeersHandler.h:27:
../../../trunk/libresapi/src/api/ChatHandler.h:32:1: warning: class
'RsIdentity' was previously declared as a struct [-Wmismatched-tags]
class RsIdentity;
^
../../../trunk/libretroshare/src/retroshare/rsplugin.h:68:8: note:
previous use is here
struct RsIdentity;
       ^
In file included from ../../../trunk/libresapi/src/api/ApiServerMHD.cpp:
40:
In file included from ../../../trunk/libresapi/src/api/ApiServer.h:27:
In file included from ../../../trunk/libresapi/src/api/PeersHandler.h:27:
../../../trunk/libresapi/src/api/ChatHandler.h:32:1: warning: class
'RsIdentity' was previously declared as a struct [-Wmismatched-tags]
class RsIdentity;
^
../../../trunk/libretroshare/src/retroshare/rsplugin.h:68:8: note:
previous use is here
struct RsIdentity;
       ^
2019-02-14 22:37:03 +01:00
csoler
d0bacbd6c2
experimental fix 2019-01-23 21:05:29 +01:00
csoler
d9683459d6
more license fixes and updated version in Debian control files 2018-12-27 15:47:58 +01:00
csoler
630609c11c
fixed retroshare.project email in licenses 2018-11-11 20:42:48 +01:00
csoler
dfe7ebaa08
fixed non working pause/cancel button in webUI 2018-11-07 23:11:52 +01:00
csoler
07f63c82e2
fixed typo causing FT to show blank for transfer completion in webUI 2018-11-07 21:45:44 +01:00
csoler
e9da9a555d
fixed typo causing FT to show NaN for transfer progress in webUI 2018-11-07 21:43:19 +01:00
Gioacchino Mazzurco
6543d713e4
JSON API import/export PGP key to file 2018-10-21 17:12:13 +02:00
csoler
b5dbdcb601
fixed compilation of web UI files on linux 2018-10-20 13:51:01 +02:00
G10h4ck
047ae7f723
Merge branch 'master' into jsonapi 2018-10-10 22:23:28 +02:00
csoler
09b109d522
Merge pull request #1364 from G10h4ck/safer_time
Use safer rstime_t instead of time_t
2018-10-10 22:03:51 +02:00
Gioacchino Mazzurco
72d8364370
libresapi fix compile error on windows due to time_t usage 2018-10-07 14:41:14 +02:00
Gioacchino Mazzurco
c6ca3c5669
Fix compilation due to RsPeers::GetRetroshareInvite 2018-10-06 02:46:09 +02:00
Phenom
d401fdfb40 Fix Gcc Warning:
/libresapi/src/api/RsControlModule.cpp:588: warning: no return statement
in function returning non-void [-Wreturn-type]
2018-09-30 15:10:40 +02:00
Gioacchino Mazzurco
eb77f921ec
Implement JSON API HTTP Basic authentication
jsonapi-generator is now capable of generating API for headers outside
  retroshare/ directory
jsonapi-generator do a bit of methods parameter sanity check
JsonApiServer is now integrated in the rsinit hell like other services
Add *::exportGPGKeyPairToString to a bunch of classes in cascade
RsControl is now capable of calling back a function when retroshare is almost
  completely stopped, this is useful when running retroshare toghether with
  externally managed runloop such as QCoreApplication
Expose a bunch of methods through JSON API
retroshare-nogui remove some dead code and fix stopping from the RetroShare API
2018-09-19 21:28:26 +02:00
sehraf
1e85b05f09
get rid of cipher_version variable. use plain output from openssl 2018-09-15 14:37:40 +02:00
csoler
65304a301a
added last relay (a.k.a which direct friend) of search results in sources column 2018-08-28 23:57:16 +02:00
G10h4ck
2be556c767
Merge pull request #1318 from zapek/msys2_build_fix
fixed webui files generation under MSYS2
2018-08-28 19:55:36 +02:00
Gioacchino Mazzurco
396fe49312
Merge branch 'master' into jsonapi 2018-08-22 16:59:42 +02:00
zapek
146f920164 changed win32-x to appveyor 2018-08-03 21:21:53 +02:00
zapek
2848359f77 fixed webui files generation under MSYS2 2018-08-03 20:09:32 +02:00
csoler
cc1a05ddc9
fixed certificate creation in TorAuto mode 2018-07-27 12:33:06 +02:00
csoler
0f758902cd
started cleaning the mess with rsAccounts: only exposed useful functionality of rsAccount beyond a static class and removed all references to rsAccounts in the code 2018-07-24 23:47:32 +02:00
Gioacchino Mazzurco
130007b578
Merge branch 'master' into jsonapi 2018-07-23 13:44:01 +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
csoler
0c45217fc0
merged upstream/master 2018-07-05 17:41:30 +02:00
Gioacchino Mazzurco
1dd707710b
Merge branch 'master' into extra_locators_merge 2018-07-02 12:22:23 +02:00
Gioacchino Mazzurco
cb11ad92ea
Merge branch 'master' into jsonapi 2018-06-26 15:19:25 +02:00
Gioacchino Mazzurco
502459a25a
Cleanup rapidjson inclusion
Fix compilation error of android service
2018-06-26 15:12:16 +02:00
Gioacchino Mazzurco
b4d2ce82c1
RsTokenService use enum for request status 2018-06-24 18:56:48 +02:00
csoler
5b9666855d
fixed merge with upstream 2018-06-22 23:38:31 +02:00
Gioacchino Mazzurco
5d237c8753
Improve libresapi qmake files 2018-06-09 17:08:13 +02:00
G10h4ck
f3b0f7af1f
Merge pull request #1280 from G10h4ck/channels_apiv2_improvements
Channels apiv2 improvements
2018-06-07 17:53:42 +02:00
Gioacchino Mazzurco
508951d26f
Improve channels JSON API v2
list_channels return only with metadata (including the data produced
  very big JSON saturating some client buffer implementation)
add get_channel_info to get full channel data with optional thumbnail
  thumbnail is sent by default but can be avoided adding
  "want_thumbnail":false to the JSON query
rename get_channel to get_channel_content
2018-06-07 15:00:11 +02:00
Gioacchino Mazzurco
e81b81dff1
libresapi improve qmake optional builds 2018-06-07 14:59:00 +02:00
csoler
7caf06b57d
added structures for generic turtle search and access functions in Gxs objects 2018-06-06 23:15:29 +02:00
csoler
544b4af4c2
fixed license in chat, crypto, dht, file_sharing 2018-05-21 20:50:38 +02:00
csoler
50b360bf9d
added missing license to some libresapi files 2018-05-21 20:17:54 +02:00
Gioacchino Mazzurco
5a301734a9
Extend a bit filesharing JSON API v2 2018-05-17 16:46:34 +02:00
Gioacchino Mazzurco
186617fc2b
Fix missing include 2018-05-17 16:43:14 +02:00
G10h4ck
9f37b63e4d
Merge pull request #1264 from G10h4ck/channel_json_api_v2
Channel json api v2
2018-05-16 10:49:28 +02:00
Gioacchino Mazzurco
181d99e882
Give proper error message if Qt version is too old 2018-05-16 10:38:47 +02:00
csoler
ecbd115873
added missing include path for libretroshare/src in libresapi 2018-05-11 20:27:03 +02:00
csoler
8e111c2ee2
added rapidjson-1.1.0 code hard-coded in the source directory to allow everyone to compile without the need to tweak too much. When v1.1.0 is mainstream (espcially on ubuntu) we can revert back to an external dependency 2018-05-02 22:46:27 +02:00
Gioacchino Mazzurco
4876a0ea3b
Multiple improvements to build process
Restructure and document retroshare.pri variables and helper functions
Link sqlite statically like other libraries on Android
qmake has multiple win32-* specs match them correctly
Move a buch of generic thing to retroshare.pri instead of having them replocated
  accross project specific .pro
Fix retroshare-gui too many symbols exported on windows liking error by adding
  QMAKE_LFLAGS+=-Wl,--exclude-libs,ALL
Rename retroshare-gui/src/util/win32.h because the name is too prone to
  confusion and build conflicts
libreasapi avoid usage of cretar_prl link_prl that seems unreliable on some
  platforms
libreasapi rename LIBRESAPI_QT to more understendable LIBRESAPI_SETTINGS
Use use_*.pri instead of copy pasting error prone qmake snippets around
Expose bitdht option to retroshare.pri
Add RS_THREAD_LIB qmake variable for better crossplatform support
Move debug and profiling generic options to retroshare.pri (avoid copy/pasting)
Remove Qt script module in qmake as it is not available anymore
2018-04-18 07:56:43 +02:00