Commit Graph

245 Commits

Author SHA1 Message Date
Gioacchino Mazzurco
f67617a449 Add override and final placeolders for old GCC compatibility 2017-05-08 16:57:37 +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
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
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
Konrad
aa81cc16d0 Added: Functions for handling PGP account details requests 2017-04-12 20:24:18 +02:00
Konrad
9402b8e239 Fixed: mFixedPassword remained empty after logging 2017-04-10 23:42:22 +02:00
Konrad
e1350a0b34 Fixed: Re-selecting accounts via RsControlModule;
Added: Sending feedback about incorrect password
2017-04-10 22:58:23 +02:00
Konrad
fbc1bb4e82 Added: function for handling autosubscribing lobbies 2017-03-29 16:06:39 +02:00
Konrad
22956be00f Deleted: functions for hadling particular lobbies types in ChatHandler 2017-03-28 11:24:16 +02:00
Konrad
6e530027f8 Added: tokens in PeersHandler 2017-03-28 11:20:51 +02:00
Konrad
efd6ce3ed5 Changed: Simplified asking for deferred self signature 2017-03-28 11:19:50 +02:00
Konrad
569458a1c1 Changed: Qt dependecies are optional 2017-03-28 11:18:27 +02:00
Konrad
4031e493fb Deleted: unused stateTokens 2017-03-27 16:11:04 +02:00
Konrad
c33107c1cc Fixed: backward comptiblity 2017-03-26 19:12:04 +02:00
Konrad
bef75408da Fixed building on Travis CI 2017-03-26 15:11:07 +02:00
Konrad
8624c9374d Added functions for hadling particular lobbies types to ChatHandler 2017-03-25 18:33:35 +01:00
Konrad
194878a358 Added functions for handling own and not own identities to IdentityHandler 2017-03-25 18:31:13 +01:00
Konrad
cb32f304a9 Added states handling to PeersHandler 2017-03-25 18:28:31 +01:00
Konrad
28d37c2968 Added password storing to RsControlModule for GUI benefits 2017-03-25 18:25:26 +01:00
Konrad
39967b7ce7 Added name of requests to be used by GUI 2017-03-25 18:23:28 +01:00
Konrad
ae95b49f8a Added SettingsHandler to handle response to settings requests 2017-03-25 18:20:53 +01:00
Konrad
cb04134114 Added Windows support to libresapi when working with retroshare_android_service 2017-03-25 18:15:47 +01:00
csoler
c61ccda431 fixed compilation problem caused by a bug in qtcreator global replace. Warning: always check the result of qtcreator global replace 2017-02-07 22:04:07 +01:00
csoler
37f3e1a62a fixed problem in ID creation code. 2017-02-07 20:15:55 +01:00
Gio
6c6b437db1 qml-app: Fix responsiveness of ChatView
ChatHandler::handleMessages(...) tick() before repling so the raw
  message queue is processed
ChatHandler::handleLobbies(...) make sure tick() is called without
  previous mutex locking, putting the critical section inside a block
ChatView.qml remove unnecessary request to statetoken service that
  slowed down processing by half, increased chat message refresh time
  to reduce performance hit
2016-12-10 20:23:30 +01:00
Gio
c3aca0cf26 Implement a working Distant Chat prototype in Qml
Deprecate id field in JSON API as it may cause problems in Qml
Offer gxs_id field in JSON API as an id alternative
LibresapiLocalClient support callbacks now an instance may be shared for
  different tasks
Expose an instance of LibresapiLocalClient to Qml, type exposure is kept
  for retrocompatibility but deprecated
Qml app now has a tab that permit to exchange some message with selected
  distant peer
2016-12-08 15:56:23 +01:00
Gio
9eef412b44 Expose libresapi for distant chat
Added macro to deprecate symbols usage in a crossplatform way.
Deprecated Request::mMethod and related stuff that make implementation
 more complex without advantage.
Added /chat/{initiate_distant_chat, distant_chat_status,
 close_distant_chat} to libresapi.
Solved subtle bug in ChatId::ChatId(std::string str) that caused zeroed
 DistantChatPeerId being created.
2016-12-07 20:29:33 +01:00
felisucoibi
628177c302 fix for windows compile 2016-11-16 11:22:23 +01:00
cyril soler
de6f753fec fixed compilation due to previous commit 2016-11-15 09:18:51 +01:00
Gio
8ab3c7de26 Merge branch 'master' into android 2016-11-07 14:37:23 +01:00
Phenom
2db8dbd45f Fix El Capitan OSX 10.11 Compil 2016-11-02 21:40:46 +01:00
Gio
10ec1144eb Simplify QML to work better on both Desktop and Phone
- Set request method to GET by default in ApiLocalConnectionHandler to avoid
/peers request fail randomly
- Use TabView instead of SwipeView to not depend on Qt 5.7.0 (latest version)
- AddTrustedNode simplified layout to avoid unexpected behaviour on some phones
- Locations add sslid property to root Item to avoid unexpected behaviour when
multiple locations are available
- TrustedNodesView color connected friends with green and offline with grey
- Ignore kdevelop 4 files
2016-10-26 20:37:28 +02:00
Gio
ea42d822c2 Merge branch 'master' into android 2016-10-26 13:43:24 +02:00