csoler
5465e1174f
fixed debug output
2017-07-09 21:37:39 +02:00
csoler
5dfbce7e3a
fixed Terminal Api Client logic
2017-07-09 21:16:41 +02:00
csoler
decbd3514d
improved the login in the interaction between terminal api client and main
2017-07-08 17:38:09 +02:00
csoler
5b1def1405
Merge pull request #912 from Emotyco/libresapi_avatar_handlers
...
Changed: Request handler for avatar return failure if an error occurred while obtaining data
2017-07-04 10:25:40 +02:00
Konrad
0f93dd2f9e
Fixed: Room's participants list is correctly refreshed. Previously it did not react to new participants in room
2017-06-30 12:38:09 +02:00
Konrad
e55199597b
Changed: Request handler for avatar return failure if an error occurred while obtaining data
2017-06-29 22:38:12 +02:00
Konrad
e128fcbd87
Added: Creating identity with avatar in libresapi
2017-06-25 15:35:23 +02:00
Konrad
54166cec86
Added: Handling requests to set and get identity avatar
2017-06-25 14:30:38 +02:00
Konrad
66a9dadb98
Fixed: Information about wrong password
2017-06-24 12:05:32 +02:00
Konrad
2aac999568
Fixed: Duplication of handler declaration
2017-06-24 12:02:28 +02:00
Gioacchino Mazzurco
b206015e70
libresapi: expose identity avatar in JSON API
...
The avatar is sent as a base64 string
The solution is not optimal but is the best we can do inside a JSON and
it's acceptable for the moment
2017-06-20 15:33:28 +02:00
csoler
a29bc4408e
Merge pull request #874 from G10h4ck/silent_initiate_distant_chat_api
...
libresapi: silent /chat/initiate_distant_chat
2017-06-16 12:24:45 +02:00
Jeetu Golani
80ec9b7321
Included QStringList header in ApiServerLocal.cpp [Issue 879]
2017-06-12 15:51:26 +05:30
Gioacchino Mazzurco
edd82d0ef2
libresapi: stop assuming first chat message is own
2017-06-07 21:37:03 +02:00
Gioacchino Mazzurco
528317d374
libresapi: silent /chat/initiate_distant_chat
...
Avoid to forge the
[Starting distant chat. Please wait for secure tunnel to be established]
message on requesting chat id from API as it is a nuisance in most
libresapi use cases
2017-06-06 18:57:32 +02:00
csoler
5eaab25e78
Merge pull request #833 from Emotyco/libresapi_network_configuration
...
Added: Network configuration to libresapi.
2017-06-03 20:00:54 +02:00
Gioacchino Mazzurco
efdfa4666b
Merge branch 'libresapi_attempt_connection' into qmlapp_pex_alpha
2017-06-02 10:39:42 +02:00
Gioacchino Mazzurco
8b72c9c453
libresapi expose connection attempt method
...
Now it is possible to trigger a connection attempt via JSON API
The API call success with any valid peer id
/peers/attempt_connection
{"peer_id":"d441e8890164a0f335ad75acc59b5a49"}
{"data":null,"debug_msg":"","returncode":"ok"}
The API call fail if the peer id is invalid
/peers/attempt_connection
{peer_id:"9090"}
{"data":null,"debug_msg":"Invalid peer_id\n","returncode":"fail"}
Related to issue: Touching offline trusted node cloud should trigger connection attempt
https://gitlab.com/angesoc/RetroShare/issues/4
2017-06-02 10:26:15 +02:00
Gioacchino Mazzurco
59b77da6a2
Merge branch 'master' into qmlapp_pex_alpha
2017-05-31 12:11:15 +02:00
sehraf
a3ee85a30d
Add I2P BOB support to libretroashare and RetroShare GUI
2017-05-24 19:40:01 +02:00
Konrad
9b67e93e01
Added: Network configuration to libresapi.
2017-05-21 19:51:52 +02:00
Gioacchino Mazzurco
db3dad3e23
Local API binary output support + qml image example
2017-05-18 21:57:24 +02:00
Gioacchino Mazzurco
745462a61b
Merge branch 'v0.6-GxsTransport' into qmlapp_pex_alpha
2017-05-15 15:05:07 +02:00
csoler
9a0df3f757
Merge pull request #804 from PhenomRetroShare/Fix_Warnings
...
Fix warnings
2017-05-08 22:21:28 +02:00
Gioacchino Mazzurco
f67617a449
Add override and final placeolders for old GCC compatibility
2017-05-08 16:57:37 +02:00
Phenom
523730f31a
Fix Warnings: unused parameter ‘resp’, 'req' & 'resp'
...
warning: unused parameter ‘resp’ [-Wunused-parameter]
virtual void gxsDoWork(Request &req, Response &resp)
^~~~
2017-05-08 12:21:08 +02:00
Phenom
a6acc72c89
Fix Warnings: this ‘if’ clause does not guard...
...
warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(data.isRawData())
^~
2017-05-08 12:18:51 +02:00
Gioacchino Mazzurco
3fddbaf070
Merge branch 'master' into qmlapp_pex_alpha
2017-04-28 13:26:31 +02:00
Phenom
6e42cf4200
Fix Clang warnings: field 'mPassword' will be initialized after field
...
'mPrevIsBad'
warning: field 'mPassword' will be initialized after field 'mPrevIsBad'
[-Wreorder]
2017-04-25 09:44:59 +02:00
electron128
be9f126898
Merge pull request #781 from Sonetio/libresapi_requests
...
Added few requests handling in libresapi
2017-04-24 18:43:17 +02:00
Konrad
8da5e15180
Changed: difference time to absolute time.
2017-04-24 16:00:23 +02:00
Konrad
f571b05693
Added: Checking if the vector is empty;
...
Changed: Grouped values into one member
2017-04-22 11:06:56 +02:00
Konrad
8c0b7ce776
Fixed: Responds sends now correct time difference
2017-04-21 23:44:00 +02:00
Konrad
c9f618ddf6
Added: Notification about changed peer status
2017-04-20 19:09:57 +02:00
Konrad
9600359bdb
Fixed: Password was not stored after creating a new location
2017-04-20 18:09:19 +02:00
Gioacchino Mazzurco
5ee517b64f
Expose libresapi for GXS contacts import/export
...
To import contact
/identity/import_key
{"radix":"AgIRBAAABd..."}
To export contact
/identity/export_key
{"gxs_id":"ffffffffffffffffffffffffffffffff"}
In both cases if everithing went fine the answer is something like
{"data":{"radix":"AgIRBAAABd...", "gxs_id":"fff..."}, "returncode":"ok"}
Some retrocompatible adaptations were necessary to libretroshare
RsGenExchange::deserializeGroupData
p3IdService::deserialiseIdentityFromMemory
Now accept an extra optional pointer parameter to return the id of the
key so we can return it back from libresapi too and can be used to
request more information about the key to the API.
2017-04-19 23:48:25 +02:00
Konrad
4a0b51ce2d
Added: to response information whether the identity is a contact
2017-04-19 22:03:24 +02:00
Konrad
b43bedf669
Added: Handling requests to set opinion about identity
2017-04-18 23:00:59 +02:00
Konrad
120ca9d078
Added: Handling requests to set opinion about identity
2017-04-18 22:58:15 +02:00
Konrad
3f54568d7f
Added: Handling requests to get details about identity
2017-04-18 22:56:35 +02:00
Gioacchino Mazzurco
4455bfa92d
Merge branch 'master' into merge_alpha_master
2017-04-18 21:30:25 +02:00
Konrad
76dd7fe47f
Added: Handling requests to add and remove contact
2017-04-18 14:02:14 +02:00
Konrad
4a99000f16
Added: Handling requests to get and set node options
2017-04-18 14:00:30 +02:00
Phenom
19196e2cb0
Fix Clang warnings: ariable 'status' is used uninitialized
...
warning: variable 'status' is used uninitialized whenever 'if' condition
is false [-Wsometimes-uninitialized]
else if(state_string == "away")
^~~~~~~~~~~~~~~~~~~~~~
2017-04-17 21:50:18 +02:00
Phenom
a3a53b970d
Fix Clang warnings: unused parameter 'req'
...
warning: unused parameter 'req' [-Wunused-parameter]
void PeersHandler::handleGetStateString(Request& req, Response& resp)
2017-04-17 21:49:54 +02:00
Phenom
32eeb957b2
Fix Clang warnings: unused private field
...
warning: private field 'mAutoBanIdentitiesLimit' is not used [-Wunused-
private-field]
float mAutoBanIdentitiesLimit ;
warning: private field 'mFiles' is not used [-Wunused-private-field]
RsFiles* mFiles;
2017-04-17 21:35:29 +02:00
Konrad
fd33315146
Added: Handling requests to create lobby
2017-04-14 17:44:17 +02:00
Konrad
93aeae0f59
Added: Handling requests to delete identity
2017-04-14 17:41:35 +02:00
Konrad
144d57047c
Fixed: Thread safe access to RsControlModule member variables
2017-04-13 13:40:30 +02:00
Konrad
dcc8c6e4c3
Changed: Using PeersHandler::mRsPeers instead of rsPeers
2017-04-13 13:31:32 +02:00