sehraf
ae14a01d58
add json support to getWaitingDiscCount
2018-09-07 14:19:06 +02:00
sehraf
be50400114
jsonfy rsDisc
2018-09-07 14:17:44 +02:00
sehraf
fb8e49ee66
jsonjy rsConfig
2018-09-07 12:58:30 +02:00
csoler
3402f7d9b5
auto send of own signed GXS ids to friends in discovery
2018-09-06 21:15:25 +02:00
Gioacchino Mazzurco
2c8aa5a1fe
RsAccounts::getCurrentAccountId is now static
2018-09-06 02:04:48 +02:00
Gioacchino Mazzurco
7787f9d62f
Merge branch 'master' into jsonapi
2018-09-05 00:17:21 +02:00
csoler
59535eac8a
added a flag for moderating messages to help removign them when the author is not a moderator anymore
2018-09-02 17:07:40 +02:00
Gioacchino Mazzurco
cc6f0b1f05
Expose RsPeers JSON API
...
Added also new method for better usability via the API that allow to add
friend directly for RetroShare invitation (supports also URL) without
having to call to mulptiple metods to set IP etc.
RsPeers::acceptInvite
/rsPeers/acceptInvite
2018-08-30 21:45:51 +02:00
Gioacchino Mazzurco
a8ddec03fc
Expose more login related JSON API
...
/rsLoginHelper/isLoggedIn to check if already logged in
/rsAccounts/getCurrentAccountId to get the id of current selected
account, beware that an account may be selected without actually logging in
2018-08-30 19:09:50 +02:00
csoler
5c2f714ada
merged with upstream/master
2018-08-30 14:50:16 +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
csoler
c9b30f5a72
fixed merged with upstream/master
2018-08-28 23:42:24 +02:00
Gioacchino Mazzurco
75e882bb9f
Make NotifyClient class again
2018-08-28 14:12:09 +02:00
Gioacchino Mazzurco
1dfe64443f
Improve documentation
2018-08-26 11:39:26 +02:00
csoler
c14d898901
added some debug info to file control system and fixes a problem with sending TS
2018-08-25 18:44:29 +02:00
G10h4ck
41f7235ed0
Merge pull request #2 from sehraf/pr_improve_json
...
Multiple fixes on json handling by sehraf
2018-08-25 18:05:56 +02:00
Gioacchino Mazzurco
c50405c070
Expose /rsFiles/turtleSearchRequest via JSON API
...
Expose new async C++ API RsFiles::turtleSearchRequest with callback
Modernize TurtleFileInfo serialization code keeping retrocompatibility
2018-08-25 17:58:04 +02:00
sehraf
588295e1e5
make RsGroupInfo serializable
2018-08-25 16:52:46 +02:00
Gioacchino Mazzurco
afb92999d8
Enable JSON conversion for RsGxsImage via MemBlockProxy
2018-08-24 00:31:25 +02:00
Gioacchino Mazzurco
afeb408f7a
Expose more RsFiles via JSON API
...
FileInfo remove dead static members
2018-08-23 22:38:21 +02:00
Gioacchino Mazzurco
3b72f912e4
Improve API
...
Manually expose /rsFiles/getFileData to stream/preview files
Automatically expose a bunch of methods via JSON API
Implement serial_process for std::pair
2018-08-23 01:39:26 +02:00
csoler
3055897425
added filter in p3turtle against banned hashes in tunnel requests and search results
2018-08-22 21:57:56 +02:00
Gioacchino Mazzurco
ab6a5c07cc
RsLoginHelper::createLocation expose capability of creating hidden locations
2018-08-22 17:22:27 +02:00
Gioacchino Mazzurco
396fe49312
Merge branch 'master' into jsonapi
2018-08-22 16:59:42 +02:00
Gioacchino Mazzurco
fe8c2c4683
Merge branch 'jsonapi' of github.com:G10h4ck/RetroShare into jsonapi
2018-08-16 23:51:35 +02:00
Gioacchino Mazzurco
4b6f751b09
Implement JSON API generation for async API calls
...
Move JSON helpers to util/rsjson.* for better usability
Implement JSON ostream manipulator to print compact and pretty JSON
Use lambdas for API wrappers, integrate better and avoid namespace
pollution
Removed experimental JSON API for notify client wrapper, notifications
can be implemented automatically with moderns async API calls
Implement and automatically expose to JSON API
RsGxsChannels::turtleSearchRequest(
const std::string& matchString,
const std::function<void (const RsGxsGroupSummary&)>& multiCallback,
std::time_t maxWait )
2018-08-16 23:48:21 +02:00
csoler
50e03a539c
basic infrastructure for banning unwanted file content
2018-08-16 18:49:36 +02:00
csoler
5b1c150acb
added background for post pinning and logic to edit others posts
2018-08-12 15:30:07 +02:00
csoler
ded9c21617
added selection boxes to add forum moderators
2018-08-09 21:18:37 +02:00
csoler
cc51298de6
fixed warning about badly overloaded function in rsexpr.h
2018-08-02 14:13:14 +02:00
sehraf
97194fd092
Add wrapper function to convert uint16_t service IDs to internal unsigned int.
...
Use it when looking up service names.
2018-08-01 20:47:02 +02:00
csoler
cc1a05ddc9
fixed certificate creation in TorAuto mode
2018-07-27 12:33:06 +02:00
csoler
d1a375cbd0
removed RETROTOR #ifdef and started using RsAccounts::isTorAuto() instead. Unfinished yet.
2018-07-25 11:37:40 +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
sehraf
e6acb52d17
add simple chat support
2018-07-24 20:09:45 +02:00
Gioacchino Mazzurco
1bc518041c
Experiment of notification via NotifyClient + JSON API
2018-07-23 14:52:17 +02:00
Gioacchino Mazzurco
130007b578
Merge branch 'master' into jsonapi
2018-07-23 13:44:01 +02:00
Gioacchino Mazzurco
f97dc8a125
Properly plug deep search in GXS search
...
Some modifications breaks retrocompatibility of GXS search:
remove horrible templated RsTypeSerializer::serial_process for
RsGxsGroupSummary with hardcoded member names
RsGxsGroupSummary doesn't use old TLV serialization format anymore
RsGxsGroupSummary remove unused description member
RsGxsGroupSummary derive from RsSerializable and use serialization
helper macro
Add autor id and signature flags to the index so there is no need to
retrive them from GXS, thus improving performances
RsGroupNetworkStats initialize members properly
RsGxsGroupSummary rename members to follow usual mMemberName convention
2018-07-22 21:33:40 +02:00
Gioacchino Mazzurco
ff166b2295
Merge branch 'master' into deep_search
2018-07-21 12:57:05 +02:00
Gioacchino Mazzurco
3fc9ff3fef
WIP Plug deep search into GXS search
2018-07-20 15:29:37 +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
1de31493a9
fixed up display of GXS net tunnel info
2018-07-15 19:09:12 +02:00
csoler
b20bd0a454
added admin list to forum group data
2018-07-15 10:13:04 +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
csoler
4a64ea5f1f
added optional use of dist sync in GroupFrameDialog
2018-07-05 14:00:04 +02:00
Gioacchino Mazzurco
5a41b3cb37
Index only public channels
2018-07-02 17:31:47 +02:00
Gioacchino Mazzurco
418c42bd11
Extra locators in cert invite made optional
2018-07-02 13:50:02 +02:00
Gioacchino Mazzurco
1dd707710b
Merge branch 'master' into extra_locators_merge
2018-07-02 12:22:23 +02:00