Commit Graph

10293 Commits

Author SHA1 Message Date
Gioacchino Mazzurco
5be6094214 Implement notifications on Android
Notify when there are unread messages
2017-04-12 19:28:48 +02:00
Gioacchino Mazzurco
d540900df5 Start preparing notify service for it's real aim
Move autologin stuff to it's own component
Use TokensManager singleton like qml app
2017-04-11 18:13:07 +02:00
Gioacchino Mazzurco
49b0de6ac7 Abstract API token sys into a singleton component 2017-04-11 18:13:07 +02:00
Gioacchino Mazzurco
533dbef0c7 Implement Android intent handling in qml app
AndroidManifest.xml register activity as an handler for retroshare links
RetroShareQmlActivity...NativeCalls.cpp bring the intent data from java
  to C++ and then to QML
QMl mainWindow uses URI.js to parse the received uri
Create a singleton for qml engine so it is reachable from NativeCalls
2017-04-11 13:11:57 +02:00
Gioacchino Mazzurco
29a3d105c4 LibresapiLocalClient improve error handling 2017-04-10 15:00:14 +02:00
Gioacchino Mazzurco
c3ba5511d8 RsLoginPassView: don't show strong password tip if logging in 2017-04-10 14:54:20 +02:00
Gioacchino Mazzurco
6aa7143a24 Improve AndroidManifest.xml readability 2017-04-10 14:52:36 +02:00
Gioacchino Mazzurco
e06d92e939 Improve QML performances via extract_android_style
The App uses Quick Controls 2 so full style extraction and it's cost
  is not needed
2017-04-10 14:32:02 +02:00
Gioacchino Mazzurco
03ac2ed0a7 Broadcast receiver are now exported as per default
If android:exported is false brodcast receiver can receive intents only
  from the same application, in this case it doesn't make sense as
  BOOT_COMPLETED and MY_PACKAGE_REPLACED are triggered by the system
2017-04-10 13:30:11 +02:00
Gioacchino Mazzurco
bcbd5230eb android notification service stub, improve login
Added retroshare-android-notify-service a stub will handle notifications
  to android system, at the moment it only attempt autologin if default
  password is used
retroshare-android-service quit QCoreApplication gracefully
Android Studio update has changed some android build files
Create BusyOverlay.qml componet so it is reusable accross the qml app
Contacts.qml create a pseudonimous GXS identity as needed without
  prompting the user
RsLoginPassView.qml nicer look, on mobile phone password usage is not
  common so do not use password by default
QML app main view handle correctly +waiting_startup+ runstate
QML app main view use BusyOverlay as initial item
2017-04-07 18:26:08 +02:00
Gioacchino Mazzurco
70e91f7164 Improved login usability
Locations automatically fast forward to login skipping location
  selection if just one location is available
RsLoginPassView nicer look
2017-04-04 02:15:22 +02:00
Gioacchino Mazzurco
8e03fab8da Improve QML app Contacts view performances
Simplified sorting getting rid of complicated DelegateModel
Offload sorting work to another thread via WorkerScript
Get rid of polling and use token system instead
2017-04-03 21:51:03 +02:00
Gioacchino Mazzurco
7d9e89e3d2 ChatView.qml get rid of polling
Autoscroll to last message on update
2017-04-03 21:48:01 +02:00
Gioacchino Mazzurco
2786cec76a TrustedNodesView.qml got rid of polling 2017-04-03 21:35:42 +02:00
Gioacchino Mazzurco
620e5225f2 Support token system in Qml app to reduce polling
Main window keep track centrally of all valid tokens, a Timer coupled
  with it's own instance of LibresapiLocalClient refresh periodically
  valid tokens, registerToken and isTokenValid are offered to child
  components to operate without polling
Main window coreStateCheckTimer is stopped after login
2017-04-03 21:19:14 +02:00
Gioacchino Mazzurco
286783c72e LibresapiLocalClient fix delay on event coalescing
When the server reply to a burst of querys the socket readyRead() signal
  may be called only once, thus causing reply not being parsed until
  next event, and making the query queue grow with time and the user
  interface unusable, to fix this a the end of the read() slot if there
  is more data available in the socket read is called again to parse it
LibresapiLocalClient improved debugging that may be configured per
  instance in case of debug build
2017-04-03 21:09:12 +02:00
Gioacchino Mazzurco
6daa3f4f68 Export QT_DEBUG to QML context 2017-04-03 21:07:33 +02:00
Gioacchino Mazzurco
28682860c6 ChatHandler::handleUnreadMsgs: set query status 2017-04-03 21:04:44 +02:00
Gioacchino Mazzurco
f12cc9ca68 Disable limit to 20 entries in JSON API pagination 2017-04-03 19:21:54 +02:00
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
34dc1fac37 Improved contact list id displaying
Now a color based representation is showed like an avatar for easier
verification, showing the full id is still possible longpressing the
colored representation
2017-03-21 14:47:34 +01:00
Gioacchino Mazzurco
17a41dc96a Multiple Qml app improvements
LibresapiLocalClient::request(...) return a meaningful value
ChatView.qml uses a TextField for message input
TrustedNodesView.qml improve aestetic
main.qml use stack based navigation and tool/menubar
2017-03-17 17:22:58 +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
thunder2
733b1143ba Updated languages from Transifex 2017-03-10 15:57:40 +01:00
csoler
ed5779fdf8 Merge pull request #743 from mestaritonttu/patch-22
Fix grammar
2017-03-10 15:39:22 +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
csoler
f76454d7f7 updated full pipeline packaging script for debian 2017-03-09 13:05:03 +01:00
mestaritonttu
999e845bdf Fix grammar 2017-03-08 13:17:34 +02:00
csoler
e6cf628fb3 Merge pull request #740 from RetroPooh/trstats
router stats - mark active tunnels bold
2017-03-07 21:58:59 +01:00
csoler
283a2ee5fe Merge pull request #717 from PhenomRetroShare/Fix_SettingListWidth
Fix Setting list width.
2017-03-07 21:54:56 +01:00
csoler
b3b2a4bf08 Merge pull request #726 from mestaritonttu/patch-8
Added whitespace
2017-03-07 21:54:10 +01:00
csoler
bbc27b2265 Merge pull request #736 from mestaritonttu/patch-18
Added whitespace to strings
2017-03-07 21:53:21 +01:00
csoler
3d0c28ddb9 Merge pull request #724 from mestaritonttu/patch-6
Fix typos
2017-03-07 21:52:19 +01:00
csoler
ed22b48db9 Merge pull request #738 from mestaritonttu/patch-20
Various improvements and fixes to strings
2017-03-07 21:51:51 +01:00
csoler
376be42950 Merge pull request #739 from mestaritonttu/patch-21
Improvements and typo fixes in strings
2017-03-07 21:51:13 +01:00
csoler
b3578f6a46 Merge pull request #734 from mestaritonttu/patch-16
Remove whitespace from string
2017-03-07 21:50:20 +01:00
csoler
d9c084bc0d Merge pull request #730 from mestaritonttu/patch-12
Fix grammar
2017-03-07 21:49:52 +01:00
csoler
5bad3269c4 Merge pull request #725 from mestaritonttu/patch-7
Fix grammar
2017-03-07 21:49:14 +01:00
csoler
ec21698dcd Merge pull request #727 from mestaritonttu/patch-9
Added period
2017-03-07 21:48:30 +01:00
csoler
7d8e06b050 Merge pull request #732 from mestaritonttu/patch-14
Clarify sorting by posts
2017-03-07 21:47:43 +01:00
csoler
f3e29bd754 Merge pull request #731 from mestaritonttu/patch-13
Fix grammar
2017-03-07 21:47:00 +01:00