Commit Graph

304 Commits

Author SHA1 Message Date
Phenom
130e3d63fa Fix Blank Page When Clear Lobby in Web Interface 2017-10-17 14:57:41 +02:00
Phenom
f4166860e8 Fix Windows Build 2017-09-15 15:04:43 +02:00
Gioacchino Mazzurco
62eefa4fed Remove cruft from PeersHandler::handleGetInactiveUsers
Move documentaion to header
2017-09-15 09:33:01 +02:00
Gioacchino Mazzurco
341c94ee6c PeersHandler::handleRemoveNode only remove location
Move documentation in header
2017-09-15 09:03:50 +02:00
Gioacchino Mazzurco
7888ec617a Remove extra cruft 2017-09-15 08:56:54 +02:00
Gioacchino Mazzurco
016cafdd23 Merge branch 'master' of https://github.com/myfingerhurt/RetroShare into myfingerhurt-webui-PR1014 2017-09-15 08:25:30 +02:00
Phenom
d23e860413 Fix Uninitialized Status in PeersHandler 2017-09-12 17:59:32 +02:00
ben
f348558077 Add a checker which prevents of adding your own gpg_id.
Add an inactive friends list based on last seen Unix timestamp.
Add a method of removing a specific peer based on peer_id.

As fas as I know, the same pgp_id will discorvery themself and add online subnodes automaticlly even you remove one of them their just keep coming back, but if you accidently add your own peer_id on the WebUI, the peer list will show two identical PGP names and its subnodes, untill the retroshare gets restarted.

And this modification don't add the same peer_id as long as it belongs to your current node, it doesn't mean you can't add your new nodes with the same pgp_id but different peer_id.

Honor the Allman indent style
2017-09-12 17:01:25 +09:00
cri
e1e1fb4189 revert build orange skin 2017-08-24 15:31:17 +02:00
cri
4fc91be217 rwd style 2017-08-24 15:08:29 +02:00
cri
d845a3e55a orange css skin >48em 2017-08-24 14:32:22 +02:00
Your Name
ea4495fcbe added new orange skin 2017-08-23 11:16:26 +02:00
ben
130099f43e add new keys for WebUI api peers handling, distinguishable hidden node and clear node when examining certificate 2017-08-18 16:27:30 +09:00
Phenom
5bf056c7a4 Rename retroshare06 to retroshare 2017-07-17 10:45:18 +02:00
Phenom
69060f8119 Modify #warning to get author and date. 2017-07-16 21:37:53 +02:00
Phenom
8455adf375 Fix warning: unused parameter ‘type’ and ‘req’
/libresapi/src/api/ChatHandler.cpp:236: warning: unused parameter ‘type’
[-Wunused-parameter]
 void ChatHandler::notifyListChange(int list, int type)

/libresapi/src/api/ChatHandler.cpp:971: warning: unused parameter ‘req’
[-Wunused-parameter]
 void ChatHandler::handleGetInvitationsToLobby(Request& req, Response&
resp)
2017-07-16 20:49:27 +02:00
Phenom
c866bf91c6 Fix warning: unused parameter ‘req’ and ‘resp’
/libresapi/src/api/IdentityHandler.cpp:721: warning: unused parameter
‘req’ [-Wunused-parameter]
 ResponseTask* IdentityHandler::handleDeleteIdentity(Request& req,

/libresapi/src/api/IdentityHandler.cpp:722: warning: unused parameter
‘resp’ [-Wunused-parameter]
                                                     Response& resp)
2017-07-16 20:48:50 +02:00
Phenom
9d4967c0e1 Fix warning: unused parameter ‘req’
/libresapi/src/api/PeersHandler.cpp:670: warning: unused parameter ‘req’
[-Wunused-parameter]
 void PeersHandler::handleGetNetworkOptions(Request& req, Response&
resp)
2017-07-16 20:48:15 +02:00
csoler
5ffb54929c Merge pull request #930 from myfingerhurt/master
add multi-line text messages, and search function.
2017-07-13 21:49:47 +02:00
csoler
98b0585ba4 Merge pull request #937 from csoler/v0.6-ImprovedNoGUI
V0.6 improved no gui
2017-07-13 21:23:13 +02:00
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
NeverExist
36a20534c2 add new functions to chat
add search among chat.
add textarea tag, support multi-line text messages.
add a bottom jump button
2017-07-08 00:20:09 +09:00
NeverExist
75c8b71ac9 add new functions for chat
add search among chat.
add textarea tag, support multi-line text messages.
add a bottom jump button
2017-07-08 00:18:51 +09:00
Gioacchino
fcec555cd0 Merge pull request #927 from Emotyco/libresapi_lobbies_invitation
Added to libresapi: Handling lobbies invitations
2017-07-07 11:57:17 +02:00
Konrad
f0ad68789b Fixed: Libresapi was throwing exception when requested to add new cert which was empty 2017-07-06 22:44:45 +02:00
Konrad
11d02f4612 Added: Handling requests to answer invitation to lobby 2017-07-06 14:08:50 +02:00
Konrad
c9bfe4b526 Added: Handling requests to get lobbies invitations 2017-07-06 14:07:33 +02:00
Konrad
aca6233dbf Added: Handling requests to invite peers to lobby 2017-07-06 14:05:48 +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