Commit Graph

4286 Commits

Author SHA1 Message Date
Gioacchino Mazzurco
abe84a4f81 Improve Contacts: sorting, searching and unread
ChatHandler::handleUnreadMsgs(...) deprecate 'id' field
  in favour of 'chat_id'
IdentityHandler::handleWildcard(...) reduce sleep time from 500 to 50 ms
IdentityHandler::handleWildcard(...) expose 'is_contact' to JSON API
Split contacts list delegate into GxsIdentityDelegate.qml
Update to QtQuick.Controls 2.0 because 1.4 is not supported anymore and
  2.1 is not available yet in Qt 5.7.1
ChatView.qml mark messages as read
Set refreshTimer.triggeredOnStart=true to improve reponsiveness of views
Contacts.qml use a Popup that is available in Controls 2.0 instead of a
  castrated Dialog to display full fingerprint
TrustedNodesView.qml check if locations[*].is_online is an array before
  attempting calling reduce
main.qml added menuentry to shutdown de core
main.qml added menuantry to search contact
2017-03-24 12:02:13 +01:00
Gioacchino Mazzurco
5a219b4d10 Update to Qt 5.8.0
Simplified android buinding and updated documentation
Removed a bunch of unused qml files
2017-03-15 23:11:50 +01:00
Gioacchino Mazzurco
2630ed4573 Merge branch 'master' into gxs_mail_experiments 2017-03-13 22:57:33 +01:00
cyril soler
69c3df6dff fixed bug in total item size estimation in pqiqosstreamer due to item slicing 2017-03-10 15:36:50 +01:00
cyril soler
c377bf3efa fixed debug output for groups with no data 2017-03-10 15:12:10 +01:00
cyril soler
fd84639a45 removed some debug info 2017-03-10 15:05:41 +01:00
cyril soler
c87de3eb77 fixed mistake in pointer handling 2017-03-10 10:48:40 +01:00
csoler
cf2edb50b4 fixed memory leak in deleteGroup and removed unnecessary pointer in the functions called below 2017-03-09 22:47:06 +01:00
csoler
a545481daa fixed memory leak when receving multi-chunk file lists 2017-03-09 22:05:06 +01:00
csoler
5b819ebd7a added missing virtual destructor causing a memory leak 2017-03-09 20:59:01 +01:00
csoler
1f8fd95dbf fixed uninitialised memory read in chacha20 test code 2017-03-09 20:48:26 +01:00
csoler
d5f2ae83e5 fixed memory leak recently introduced with openssl-1.1.0 changes 2017-03-09 20:39:12 +01:00
RetroPooh
d3f0f9dde3 router stats - mark active tunnels bold 2017-03-07 17:50:13 +03:00
csoler
88a5c032e4 removed some debug info 2017-03-05 20:10:01 +01:00
thunder2
94c9c94367 updated version number to 0.6.2 in rsversion.in 2017-03-05 14:30:45 +01:00
csoler
b71f4757fe qick fix to allow re-advertising for known forums/channels during the same session. Will be reset at restart (probably best) 2017-03-05 14:14:46 +01:00
csoler
d3cdd15e3f fixed uninitialised memory read in GxsReputation 2017-03-04 21:20:34 +01:00
csoler
dec5c5c4b4 suppressed uninitialised memory leak in LocalDirectoryStorage 2017-03-04 21:13:34 +01:00
csoler
0bd005657d fixed memory leak in RsGxsNetService 2017-03-04 20:52:41 +01:00
csoler
7111579954 fixed memory leak in config of msgService 2017-03-04 20:52:06 +01:00
csoler
c715b03dd5 updated version number to 0.6.2 2017-03-04 11:56:51 +01:00
csoler
8bdf4f3dad fixed sharing of sshfs mounted dirs by allowing files of type DT_UNKNOWN to be explored 2017-03-03 23:28:35 +01:00
Gioacchino Mazzurco
5c434fb107 Fix typos reported by Jums 2017-03-03 12:21:43 +01:00
csoler
303bc09739 fixed force check directories when auto check is disabled 2017-03-02 23:18:12 +01:00
Gioacchino Mazzurco
da459c884e Renamed GxsMails to GxsTrans
GxsTrans is a generic transport service, use more generic name trans
 instead of mail to avoid confusion
Renamed size(...) to seria_size(...) for costistence whit the codebase
Moved GxsTrans and related things to gxstrans directory
Removed outdated and now uncompatible gxsmail test service
Avoid expose internal items in public interface methods
2017-03-02 02:37:53 +01:00
Gioacchino Mazzurco
953b70fbe4 Improve async distant chat, fix chat msg receiving
DistantChatService::initiateDistantChatConnexion(...) made notification
  message optional (enabled by default)
p3ChatService removed duplicion avoidance as it is not necessary
p3ChatService::sendStatusString(...) send status only if peer is online
protect p3ChatService::mDistantGxsMap with mutex as operation on it may
  be done by different threads
p3ChatService::receiveGxsMai(...) set chat message item peer id with
  distant tunnel id, so it is recognized as a distant message later
made p3GxsTunnelService::makeGxsTunnelId(...) static as it need no
  access to this, now it can be used easier by other components
rename RsGxsMailItem::recipientsHint to recipientHint as for now only
  one recipient is possible (TODO: update documentation too)
GxsMailsClient::receiveGxsMail(...) changed paramethers for better
  abstracion, now destination id is passed too because it is usually a
  very useful information
ChatWidget some adaptation to async chat, a couple of method have been
  deprecated too
PopupDistantChatDialog::updateDisplay(...) adapt message shown to the
  user to the new async chat paradigm (TODO: need review)
2017-03-01 23:31:13 +01:00
Phenom
e4dbc46b34 Fiw New Warnings 2017-03-01 19:43:34 +01:00
RetroPooh
d427182e1f fix gxs storage period 1year to 372 days to match old clients 2017-02-28 22:47:38 +01:00
Gioacchino Mazzurco
0f1106fd8f PrivateOugoingMapItem fix offset calculation 2017-02-28 01:19:18 +01:00
csoler
f70cbbe065 prevent port values to go below 1024 in the backend 2017-02-27 22:37:27 +01:00
csoler
ee9fbefd76 added signal blockign trick for widgets, and fixed the bug causing wrong values to be displayed in server settings 2017-02-27 22:29:01 +01:00
Gioacchino Mazzurco
4c89641d3e p3ChatService support async distant chat via Gxs
To implement async distant chat p3ChatService use p3GxsMails in a similar
way that has been done with p3MsgService tought as p3ChatService was not
thinked for async comunication in the first place the result is quite
clumsy. A proper chat service should be rewritten from scratch in the near
future, with proper chat history and other desiderables features.
deprecated empty p3ChatService::locked_storeIncomingMsg(...)
2017-02-27 22:18:37 +01:00
Gioacchino Mazzurco
f19fe56a93 Better documentation about multimap usage 2017-02-27 10:31:35 +01:00
Gioacchino Mazzurco
2b1c9b74d1 Fix compilation on systems without uint like windows 2017-02-27 10:31:35 +01:00
Gioacchino Mazzurco
9a3af092eb Merge branch 'master' into gxs_mail_experiments 2017-02-27 08:43:29 +01:00
csoler
99cf69a98c Merge pull request #703 from RetroShare/v0.6-ImprovedGUI
V0.6 improved gui
2017-02-26 20:14:34 +01:00
csoler
eb817af9b8 Merge pull request #689 from csoler/v0.6-SSL110Fix
fixing compilation with openssl-1.1.0 (part 1)
2017-02-26 20:12:52 +01:00
csoler
b3fadf3d78 Merge pull request #649 from jolavillette/jola_BW_Bursts
Attempt to reduce BW bursts
2017-02-26 18:22:36 +01:00
Phenom
c3c2671db4 Fix LocalDirectoryUpdater to take care if is Enabled in option. 2017-02-26 15:42:32 +01:00
Gioacchino Mazzurco
b4727bde29 Gxs Mail disabling is not supported ATM
Fix some compiler warning
Make travis-ci qmake parser happy with {
2017-02-26 13:06:38 +01:00
Gioacchino Mazzurco
3761b14734 Add some documentation to p3GxsMails 2017-02-26 12:13:00 +01:00
Gioacchino Mazzurco
97c9cc423e Merge branch 'master' into gxs_mail_experiments 2017-02-26 11:32:01 +01:00
Gioacchino Mazzurco
e2078ba6cf Disable gxs mail test subservice by default 2017-02-26 11:30:04 +01:00
Gioacchino Mazzurco
379fb97062 p3GxsMails queues persistents accross RS sessions
RsServer properly handle deletion (childs are not yet)
p3GxsMails properly handle deletion
RsControl::instance() use proper static initialization
p3GxsMails register configuration files at right time
RsGxsMailBaseItem take in account offset in header pointer
RsGxsMailSerializer use C++11 safe enum class for items types
RsGxsMailItem take in account offset in header pointer
RsGxsMailItem::deserialize(...) properly calculate final offset
p3GxsMails::handleResponse(...) delete group items after usage
move ex inner struct OutgoingRecord to gxs mail items header
p3MsgService::saveList removed unused variable
p3MsgService::notifyDataStatus(...) take in account multiple backends
p3MsgService::receiveGxsMail(...) take in account multiple backends
p3MsgService::receiveGRouterData(...) take in account multiple backends
Added prersistence to p3MsgService::gxsOngoingMessages
2017-02-26 00:46:02 +01:00
csoler
e75487e48a suppressed a few warnings (suggested by Phenom) 2017-02-25 23:16:43 +01:00
Gioacchino Mazzurco
748e75d3e1 Fix pqiSSLstore::encryptedSendItems empty list
RsTemporaryMemory was complaining of being initialized with size 0 in
case of empty list was passed to the method, this is a legitimate use
case when one want have an empty list as state, so in this case pass 1
as argument to RsTemporaryMemory constructor
2017-02-25 23:09:46 +01:00
csoler
a531a41c4a fixed recursive call to BIO_set_fd() 2017-02-25 18:21:24 +01:00
csoler
e18cc3eff6 changed reset to cleanup for backward compatibility in EVP_CIPHER_CTX_cleanup call 2017-02-24 23:34:52 +01:00
csoler
d1bf977b15 fixed bug causing decryption of group data to crash 2017-02-24 23:19:47 +01:00
Gioacchino Mazzurco
828792f2b5 p3Config improved coding style 2017-02-23 13:20:07 +01:00