Commit Graph

44 Commits

Author SHA1 Message Date
Pedro Pombeiro 67d21c98c1
nix: Use status-go commit sha1 in Nix expression to allow for moving branches
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-20 10:11:34 -04:00
Andrea Maria Piana 138ade3b8d
Move installations to status-go
This commit moves the management of installations to status-go, and
migrates the data from realm.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-07-03 12:50:23 +02:00
Roman Volosovskyi 3226309bab
Add js logs to archive 2019-05-15 17:40:41 +03:00
Roman Volosovskyi ff39426e56
[android] send logs to error-reports@status.im 2019-05-10 17:02:58 +03:00
Pedro Pombeiro 49fbf21f8d
Split status-go Nix package per platform so rebuilds are faster
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-06 14:40:23 +02:00
Pedro Pombeiro f329ca9bdf
Add comments to STATUS_GO_VERSION to avoid manual editing
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-02 21:44:15 +02:00
Pedro Pombeiro 65e6e80349
Create Nix package for building status-go 2019-04-09 12:44:39 +02:00
Andrea Maria Piana f8674c0ee1
Add reading nodes from contract
This PR is part of network incentivisation. It adds a way for a client
to pull nodes from a contract.

This is done by selecting the `eth.contract` fleet. If that is selected
on login it will fetch nodes from a contract and pass them to status-go.
If these can't be fetched, it will default to `eth.beta`.

Currently contract information are hard-coded, but eventually the user
will be able to add their own (probably).

Toggled off in release.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-04-05 14:32:15 +02:00
Andrea Maria Piana 29c168dfa1
Upgrade status-go and turn chaos mode on
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-26 10:59:21 +01:00
Pedro Pombeiro 3af25381e1
Change shebang in bash scripts 2019-03-21 13:57:00 +01:00
Pedro Pombeiro 2ac5ee019e
Migrate Desktop build environment to leverage Nix
- Add Conan to default.nix
- Integrate Qt5 Nix package (with forked repo for new QtWebView module)
- Fix rpaths in macOS and Linux
- Add Nix expressions to install nsis, appimagekit and linuxdeployqt
2019-03-21 13:56:58 +01:00
Andrea Maria Piana 0462426b97
Fix desktop data directory
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-03-14 16:21:19 +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 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
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
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
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 d0f78445d4
Windows port using Conan and MXE. Part of #5807 2018-11-14 17:16:29 +01: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
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
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
Vitaliy Vlasov 5f107c17fe
Use updated Status-Go 2018-09-05 12:28:24 +03: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
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
Max Risuhin 2b6d6722b7
Copy on stack status-go signal data 2018-08-17 14:05:19 +03: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
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