Commit Graph

58 Commits

Author SHA1 Message Date
Gioacchino Mazzurco
1c698bff83 Qml App add option to control DHT behaviour
As bitDHT is very noisy and keeps the radio always on on mobile thus
having huge impact on the battery life, DHT is now turned on only when
the App is interacting with the user byt default, on the option tab it
is possible to change this behaviour to set it always off, always on or
active depending on user interaction.
To handle settings AppSettings singleton has been added and a button on
the sidebar to edit configurations too
2018-02-01 14:31:07 +01:00
Gioacchino Mazzurco
32f43b999e Merge branch 'GSoC2017-evaluation-final' 2017-08-18 01:39:31 +02:00
Angela Mazzurco
1cdb3db548 Add OpenSansEmoji font 2017-08-02 16:51:29 +02:00
Angela Mazzurco
9c7a356032 Refactor to use it as qml component 2017-07-26 17:29:00 +02:00
Angela Mazzurco
3a61e61bba Import javascript logic to generate faces 2017-07-26 15:25:16 +02:00
Angela Mazzurco
77ffe22296 Add faces icons 2017-07-26 15:16:01 +02:00
Angela Mazzurco
1b36ebc188 Merge branch 'qml_app_ui_improve_link_share' into GSoC2017-evaluation-II 2017-07-26 15:02:06 +02:00
Angela Mazzurco
6d6c54d129 Add chat bubble icon 2017-07-24 16:44:11 +02:00
Angela Mazzurco
89034d2755 Add info icon 2017-07-24 16:23:32 +02:00
Angela Mazzurco
31d8cdf943 Add necessary icons 2017-07-22 19:39:37 +02:00
Angela Mazzurco
753032e5e8 Add necessary icons 2017-07-22 19:05:36 +02:00
Angela Mazzurco
cd809165db Add icons 2017-07-22 18:27:15 +02:00
Angela Mazzurco
201ffcedd8 Add options icon 2017-07-22 17:56:11 +02:00
Angela Mazzurco
905b1d6556 Refactor button names 2017-07-22 14:44:12 +02:00
Gioacchino Mazzurco
5f0cb3ce5d Merge branch 'qml_app_avatar_picker' into GSoC2017-evaluation-II 2017-07-19 13:33:40 +02:00
Phenom
5bf056c7a4 Rename retroshare06 to retroshare 2017-07-17 10:45:18 +02:00
Angela Mazzurco
0494dd7516 Merge remote-tracking branch 'retro/master' into qml_app_avatar_picker 2017-07-12 18:24:29 +02:00
Angela Mazzurco
c83ce86252 Create custom filechooser depending on OS type 2017-07-11 18:57:23 +02:00
Gioacchino Mazzurco
163f6b14af Qml-app update all available icons to SVG 2017-07-07 14:28:41 +02:00
Angela Mazzurco
48a77c5e1a Create component emoji picker 2017-07-01 15:36:29 +02:00
Angela Mazzurco
fd38129b09 Create component to wrap text and icon 2017-06-23 18:38:48 +02:00
Angela Mazzurco
b848422a2d Add keyring icon 2017-06-23 18:12:55 +02:00
Angela Mazzurco
3361c76c30 Add icons 2017-06-22 17:56:09 +02:00
Angela Mazzurco
2360c3c27a Change search icon 2017-06-22 17:44:11 +02:00
Angela Mazzurco
619874816e Add network icon 2017-06-22 17:41:33 +02:00
Angela Mazzurco
0a087e64ac Create button component 2017-06-22 17:03:47 +02:00
Angela Mazzurco
27593633fc Use Drawer Sidebar instead of menu class to show the menu 2017-06-22 14:46:30 +02:00
Angela Mazzurco
f56921b0e3 Set AvatarOrColorHash in components folder 2017-06-21 15:19:20 +02:00
Angela Mazzurco
ca3a0bd2d1 Merge remote-tracking branch g1o/qml_app_identity_avatar into qml_app_chat_aesthetic 2017-06-21 14:56:31 +02:00
Gioacchino Mazzurco
1d031910cb Created a dedicated component for avatar image 2017-06-20 17:16:27 +02:00
Angela Mazzurco
88d170066c Change chat style sheet to a more apropiate name 2017-06-13 15:25:31 +02:00
Angela Mazzurco
ba72332ed8 Move ColorHash to components directory 2017-06-12 14:26:55 +02:00
Angela Mazzurco
5acc8f6d8b Add new icons for new future features 2017-06-09 16:17:13 +02:00
Angela Mazzurco
f7c52da4bb Add new files to qml.qrc 2017-06-08 19:12:01 +02:00
Angela Mazzurco
69ed518555 Use style singleton on chat bubbles 2017-06-08 15:16:50 +02:00
Gioacchino Mazzurco
ed52bbe76c qml app: add missing ChatCache.qml file in qrc 2017-06-07 12:29:14 +02:00
Gioacchino Mazzurco
0b82b73131 Qml app: fixed import/export of plain certificate
Added TimedPopup that is a common use case so it is reusable without
  code duplication
2017-05-13 11:43:31 +02:00
Gioacchino Mazzurco
39646f32f0 qml app removed unused icon 2017-05-08 20:44:15 +02:00
Gioacchino Mazzurco
d0b881f5e0 Added view to show/edit contact details
Split ColorHash.qml in a new file so it is reusable
ContactSort.js preferred contacts goes before non preferred
Contacts.qml use proper id for listview
Contacts.qml removed fingerprint popup
GxsIdentityDelegate.qml simplified, move link generation to ContactDetails.qml
2017-05-08 20:35:15 +02:00
Gioacchino Mazzurco
7b070e482d Qml app improved trusted nodes exchange
AddTrustedNode.qml support for plain certificate and node link import/export
Move clipboard wrapper to it's own singleton ClipboardWrapper.qml with
  improved clipboard API
2017-04-20 21:47:51 +02:00
Gioacchino Mazzurco
5c1ad36d2b Qml app support contact link import/export 2017-04-20 16:05:15 +02:00
Gioacchino Mazzurco
a1311c16c8 Use unique name for main
Qt Creator get confused if files with same name are present in the same
  project and when clickng on debug info open the same file, renaming
  main to avoid this
2017-04-18 11:53:14 +02:00
Gioacchino Mazzurco
d2598dd437 Implemented certificate link handling
Move content of qml directory to parent directory src
Message notification take care of plurar/singular
Fix compilation of service for non-android linux
AddTrustedNode.qml show node details for confirmation before adding
Added TrustedNodeDetails.qml to show nodes details
TrustedNodesView.qml show node details on click
Qml app added minimal infrastructure to delegate link handling
Removed unused icons
2017-04-13 16:47:27 +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
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
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
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