Commit Graph

236 Commits

Author SHA1 Message Date
Dmitry Novotochinov 1b836bf7ec
[#7006] login with keycard
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-02-06 00:20:07 +03:00
Igor Mandrigin fafecfe95a
Get rid of StatusService.
StatusService was only used to handle `signalEvent:` from status-go.
This commit simplifies this interaction and getting rid of the service
and all the problems that come with it.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-29 12:01:05 +01:00
Pedro Pombeiro d3f1b37c12
Use new status-go and rename NotifyUsers
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-01-24 15:41:32 +01:00
Pedro Pombeiro 5a69b4198e
Update PNs to use data-only messaging, and only encode/decode data values. Fixes #6772
Fix navigation to chat when PN is tapped while signed off. Fixes #3488

Anonymize PN pubkeys. Part of #6772
2019-01-17 19:23:55 +02:00
Pedro Pombeiro 04f6782f1d
Lock down git dependencies 2019-01-14 19:48:56 +01:00
Roman Volosovskyi 2777809db9
enable saving password on android
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-08 17:40:00 +01:00
Pedro Pombeiro 9d21cf143e
Add Send Logs command. Closes #6710
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-08 09:48:56 +01:00
Vitaliy Vlasov c8e5fd6a9c
Add desktop keyboard shortcuts
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-01-04 00:30:19 +02:00
Vitaliy Vlasov e40e495e11
Use QSettings in AppConfig
Some more changes

Changes

Fix review items

Rename init-settings to restore-native-settings

Restore application name (thanks @churik !)

Remove org name/domain setting for desktop

Change organization name to include domain

Re-use default values in :desktop/desktop

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-19 19:53:54 +02:00
Vitaliy Vlasov 9bc98405a0
Add react-native-desktop-config
Add section separator for logging-display

Refactor user-login-callback

Add comment to AppConfig class definition

Fix mobile compilation error

Use reference in AppConfig singleton; remove obsolete CMake directives

Styling changes

Disable status-go logs by default on desktop

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-18 14:31:40 +02:00
Rob Culliton a04952b60c
new json-rpc call for debug_metrics on advanced settings desktop tab;
include verify() bridge for desktop

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-13 16:27:26 +02:00
Andrea Maria Piana d760f1696c
Add mailservers confirmations & use peer count for online status
We now check that we are only connected to some `peers` instead of using `NetInfo` from `react-native`.

This is because it has been reported to be quite flaky at times, not reporting online status after sleeping, and for privacy concerns (on ios it pings `apple.com`, on desktop `google.com`).

Adds a new banner `Wallet Offline` and change `Connecting to peers` to  `Chat offline`.

A message will be marked as `Sent` only if it made it to the mailserver you are connected to, which will increase the guarantees that we can make about a message (if you see it as sent, it has reached at least a mailserver), this has the consequence that:

- If you are not connected to any mailserver or the mailserver is non responsive/down, and you send a message, it will be marked as `Not sent`, although it might have been actually made it in the network.

Probably this is something that we would like to communicate to the user through UX (i.e. tick if made it to at least a peer, double tick if it made to a mailserver )

Currently I have only enabled this feature in nightlies & devs, I would give it a run and see how we feel about it.
2018-12-12 19:53:01 +01:00
Roman Volosovskyi 4aa562f6a8
[slow sign in] Unlock account's DB before starting node
There is no need to wait for `Statusgo.Login` callback in order to start
unlocking realm db: currently it is encrypted via a key which is derived
from user’s password, so we can try to unlock that DB before starting
node. That’s how password will be checked. Right after that `:home`
screen is shown, the node is started, then `Statusgo.Login` executed.

The difference in sign in duration is more noticeable on Android
devices, where `Statusgo.Login` is much slower because of PFS database
encryption.
2018-12-12 17:46:52 +02:00
Jakub Sokołowski 411a74e040
add mvnrepository.com for gradle
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-10 21:04:38 +01:00
Jakub Sokołowski 65826b178f
fix PATH for the compile step so we can use qmak
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-07 15:04:23 +01:00
Vitaliy Vlasov dc4841f041
Add react-native-desktop-menu native module
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-01 02:03:06 +02:00
Jakub Sokołowski ee7f98adb1
use GIT_REPOSITORY and add DigitalOcean and GitHub zips as fallback
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-29 15:04:53 +01:00
Vitaliy Vlasov 92d00f4250
Use multiple app instances simultaneously
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-11-28 19:10:12 +02:00
Pedro Pombeiro 85e0834d3a
Fix `scripts/update-status-go.sh` so it updates right file and removes any `v` prefix 2018-11-26 23:03:38 +01:00
Pedro Pombeiro bf123f308a
Add missing configuration for Windows desktop notifications. Part of #6728 2018-11-20 15:11:01 +01:00
Pedro Pombeiro 9f350765e9
Show chat name, source contact and time in PN body. Part of #6621
- Add higher priority for 1:1 messages

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-16 11:17:24 +01:00
Pedro Pombeiro d0f78445d4
Windows port using Conan and MXE. Part of #5807 2018-11-14 17:16:29 +01:00
Dmitry Novotochinov 737d44931f
[#4433] update mac os dock badge label on new messages
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-11-07 18:18:35 +03:00
Andrea Maria Piana 693eae9cf9
Send your own messages
Adds a `chat-id` field in `content` map.

The reason it has been added to the map instead of augmenting transit is
that it would simplify the calculation of `message-id`, which in this
case is consistent for both old & new clients.

`chat-id` also represents the `chat-id` with respect of the sender, as
in 1-to-1 chats that is asymmetric.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-06 21:19:50 +01:00
Pedro Pombeiro 4f401908c4
Improve ubuntu-server and `RCTStatus` logging. Part of #6593
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-11-06 20:28:02 +01:00
Andrea Maria Piana fd5fc652b0
Dont use github archive for desktop status-go version
Archived version is the code of status-go at the time a release has been
created, which means it might not be the same and the ones uploaded for
mobile/ios.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-01 15:04:27 +01:00
Max Risuhin 8bb08eecc5
Add linkage with Cocoa framework on MacOS
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2018-10-22 17:36:09 +03:00
Max Risuhin 5986761210
Push notifications support #4432; Rename app to Status globally.
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2018-10-19 18:52:04 +03:00
Andrea Maria Piana 9629983f7f
Remove instabug 2018-10-19 09:18:22 +03:00
Dmitry Novotochinov 248e60e1d3
[#5038] desktop deep links
Add support for status-im://chat/public/status type of links

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-10-18 16:02:14 +03:00
Vitaliy Vlasov 299c44afef
Use STATUS_GO_VERSION for desktop
Fix path

extractGroupMembershipSignatures -> verifyGroupMembershipSignatures

Minor

Use release link instead of git url

Fix

Signed-off-by: yenda <eric@status.im>
2018-10-18 12:06:51 +02:00
yenda 69fe9dc582
[fix 6334] request multiple topics at once
- group requests by last-request to request multiple topic at once
- fix bug where fetching popup was shown when the app was actually in error
state

Signed-off-by: yenda <eric@status.im>
2018-10-16 17:13:47 +02:00
Volodymyr Kozieiev c5d2852c5b
Changed logging method in desktop react-native-status
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2018-10-14 11:04:22 +03:00
Roman Volosovskyi 3dd532c656
fix "DexArchiveMergerException: Unable to merge dex" by requesting status-im:function via jitpack 2018-10-10 13:17:06 +03:00
Andrea Maria Piana 78b6d67d79
Allow to edit group membership
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-10-09 10:40:13 +02:00
Jakub Sokołowski 75f23a19ad
drop use of artifactory maven repo
Signed-off-by: Jakub Sokołowski <jakub@status.im>

- rename jar file to match flatDir search method
- try using ivy repo to pull status-go from github
- drop use of artifactory in pom.xml
- move status-go version to a STATUS_GO_VERSION file
- upgrade status-go to 0.16.0
- unzip with overwriting
- prepare-ios: doewnload archive only if it doesn't exist
- fix prepare-android and prepare-ios
- use Makefile targets to make sure status-go archives exist
- remove unnecessary call to make prepare-android

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-10-05 18:18:58 -04:00
Andrea Maria Piana 165f1a46c7
Propagate signed membership information
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-10-02 12:06:28 +02:00
Andrea Maria Piana df51731fca
Add pfs flag, installation id and nobackup data directory
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-09-24 17:47:02 +02:00
Pedro Pombeiro 4ab5e43616
Replace call to `GenerateConfig` with local JSON. Closes #5739
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-09-19 17:06:10 +02:00
Max Risuhin 2c85d70e48
Log only error from status-go API call result #5816;
Update .re-natal config with new JS modules.

Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2018-09-18 13:07:49 +03:00
Adam Babik a79eca1e23
update status-go to 0.14 (Keys Derivation Padding Fix)
Signed-off-by: Adam Babik <a.babik@designfortress.com>
2018-09-13 16:56:58 +02:00
Eric Dvorsak 8d053b4389
[feature #5527] allow user to change status-go loglevel in settings 2018-09-07 15:22:32 +02:00
Eric Dvorsak 8eb5047d7a
[fix #4819] update react-native to 0.56
Fix figwheel-bridge path in clj-rn.conf.edn
update SplashScreen
update ios to 9.0
updated Podfile.lock
downgrade cocoapods to 1.5.2
update package-lock.json
update pod repo when installing
update appcompat to v27

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-05 21:27:46 +03:00
Vitaliy Vlasov 5f107c17fe
Use updated Status-Go 2018-09-05 12:28:24 +03:00
Adam Babik e9399167f6
update status-go to v0.13.1 2018-08-30 18:46:52 +02:00
Volodymyr Kozieiev e89adfee55
Fixed desktop api for using fleet
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2018-08-22 16:47:06 +03:00
Adam Babik f054830533
Set FLEET in env variable
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-22 10:21:58 +02:00
pacamara 3f73c5545d
Fixes #5293: Messaging/transacting take too long to be processed
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-08-21 13:15:16 +02:00
Max Risuhin 80ffaa3b48
[#5558] Update status-go git tag and rctstatus.h methods titles
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-08-20 18:25:24 +03:00
Andrey Shovkoplyas 175dd48f67
[#5558] ".callPrivateRPC is not a function" fix for desktop 2018-08-20 18:24:45 +03:00
Andrey Shovkoplyas 3e7c059b59
wallet refactoring
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-18 07:28:43 +02:00
Max Risuhin 2b6d6722b7
Copy on stack status-go signal data 2018-08-17 14:05:19 +03:00
tbenr 672e8255c4
Fixes #5347
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-08-17 10:41:57 +03:00
Adam Babik 0a313ef525
Update status-go to 0.10.3
Signed-off-by: Adam Babik <a.babik@designfortress.com>
2018-08-13 23:03:23 +02:00
Volodymyr Kozieiev b9c0bed060
Desktop switched to the same version of status-go as mobile
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-07-30 12:46:57 +02:00
Igor Mandrigin f5ee2758e7
Update status-go to the latest version (develop-g03bf6e37).
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-07-30 12:21:41 +02:00
Roman Volosovskyi a586d177f5
remove JSC jail on native side (Android, iOS) 2018-07-29 08:47:29 +03:00
Volodymyr Kozieiev c0697c0bac
Latest commits from desktop branch (everything after 9th July) 2018-07-24 21:41:07 +03:00
Volodymyr Kozieiev 457f2a157a
Desktop branch merged into develop (#5266)
* Desktop branch merged into develop
* Fixed review notes by yenda
2018-07-23 18:21:31 +03:00
Pedro Pombeiro 3b4d7eebc7
Disable geth.log in release builds. Fixes #4782
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-18 10:25:09 +02:00
Jakub Sokołowski b0b75e398c
drop the extra ukranian host
squashed:
- drop the extra ukranian host
- update status-go

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-06-13 14:30:08 +02:00
Goran Jovic 268b07fddc
feature #4065 - gas and gas price can be changed for dapp transactions
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-12 16:19:51 +02:00
Pedro Pombeiro 3539020ee2
Update status-go to include latest bootnodes and static peers
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-11 20:40:45 +02:00
Pedro Pombeiro ed9d678e08
Add DO and Ukr mailservers. Closes #4623
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-08 18:44:21 +02:00
Pedro Pombeiro 03243e4916
Revert "Use the private RPC client for requests to Status backend when not coming from Dapps"
This reverts commit 2136fe62ce.

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-07 18:09:39 +02:00
Pedro Pombeiro 18aaa890a3
Rollback part of 2136fe62ce
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-06 08:58:21 +02:00
Pedro Pombeiro 2136fe62ce
Use the private RPC client for requests to Status backend when not coming from Dapps 2018-06-06 09:01:43 +03:00
Andrea Maria Piana 5cd643b98e
Enable custom bootnodes for nightly/releases
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-05 15:04:30 +02:00
Andrea Maria Piana 8fd6d55a37
update to latest status-go & dont send testnetwork parameters in android 2018-05-31 16:59:58 +03:00
Andrea Maria Piana 33ad919508
Add custom bootnodes
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-30 17:49:13 +02:00
Dmitry Shulyak a070635156
Update to status-go with heartbeats and new discovery.summary
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-16 11:27:27 +02:00
Andrea Franz 24127a598b
update status-go to use the latest commit with wallet-compatibility
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-15 18:56:11 +03:00
Andrey Shovkoplyas 6eea090ef8
updated status-go to latest
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-14 13:05:19 +02:00
Andrey Shovkoplyas 94becb5094
updated status-go to latest
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-11 15:42:16 +02:00
Roman Volosovskyi 90a508b64f
fix leftovers after [#4051] PR (app crashes on iOS) 2018-05-09 18:23:49 +03:00
ambilo 9b17cdd306
Remove JSC_ENABLED flag and turn on behavior by default 2018-05-09 14:20:49 +03:00
Roman Volosovskyi 00b8ae311d
[#4006] anonymous uuid for mixpanel 2018-05-04 21:26:46 +02:00
Roman Volosovskyi 0d0be37904
[#3987] disable logging on status-go side if file is not writable 2018-05-02 14:53:35 +02:00
Adam Babik 02cd956f43
update status-go with fixed geth.log log level (#3965) 2018-04-24 10:19:46 +02:00
Andrea Franz 987773d86c update status-go version 2018-04-20 10:38:31 +02:00
Andrey Shovkoplyas 55d3095b7a
[#3888] [#2704] added personal_sign and CallPrivateRPC methods support
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-19 17:43:50 +03:00
pacamara ef8d5dca6c
Use thread pool instead of new threads on Android. Closes #3690
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-04-17 15:23:49 +02:00
Adrià Cidre 067ea99db5
Update status-go to develop-e34af8d 2018-04-11 13:27:29 +01:00
Igor Mandrigin f4799184c5
Update status-go to develop-g3b32ab84.
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-02 12:23:42 +03:00
Dmitry Novotochinov 8bbb2f8760
update instabug to 2.8.1
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-03-30 18:37:19 +03:00
Igor Mandrigin 3008e38624
Send app state changes to status-go.
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-21 10:55:45 +01:00
Pedro Pombeiro 009f9cb125
Update mailserver to Whisperv6-ready mailserver
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-03-13 11:28:28 +01:00
Roman Volosovskyi b1ce44af3a
implement ConnectionChange call, upgrade status-go
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-28 18:38:51 +01:00
Pedro Pombeiro bb2a008a27
Pass `WhisperConfig.LightClient: true` in node config. Closes #3442
- Add code to completely dump the JSON config, not just the first 4000 characters.

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-28 11:23:45 +01:00
Pedro Pombeiro a4bc752e77
[ISSUE #2287] Push Notifications: Use status-go NotifyUsers
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-21 11:10:36 +03:00
Igor Mandrigin 3ffe618504
Update status-go to `develop-g228bda9f`.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-02-19 21:26:41 +01:00
Eric Dvorsak d12c9b0495
Revert "Merge remote-tracking branch 'origin/develop' into develop"
This reverts commit 6d0681f906, reversing
changes made to 85ed3b3686.

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-14 16:32:45 +01:00
Igor Mandrigin e8c1a06647
Update status-go to `develop-g9cc9982a`.
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-13 18:01:19 +03:00
Adam Babik 65fc4ab48f
update status-go to develop-g607954bf
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-12 16:58:24 +01:00
pacamara 6dd585f3e0
issue 3037: Fix android compilation warnings
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-02-01 15:27:11 +03:00
Roman Volosovskyi f65e200fca
integrate rn-snoopy https://github.com/status-im/rn-snoopy
add warnings on suspicious activity in RN bridge communication
2018-01-29 21:45:51 +02:00
Roman Volosovskyi 6c72b6d5db
fix geth.log on Android 2018-01-25 12:54:48 +02:00
Pedro Pombeiro 1c5cf7fe4b
[fix #2925] Fix messed-up merge in b87a52e2d
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-01-16 12:48:08 +01:00
Pedro Pombeiro 9631552251
[ref status-im/status-go#229] Do not delete the geth.log file at startup. Allow the new log rotate logic in status geth to handle that
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-01-16 10:51:20 +01:00
Pedro Pombeiro b87a52e2d4
[fix #2925] Fix invalid log level string passed in JSON to geth
Caused missing password prompt regression

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-01-16 10:47:49 +01:00