Commit Graph

6359 Commits

Author SHA1 Message Date
Andrea Maria Piana 1b4dcb7103
[Fixes: #11520] Rotate mailservers on error conditions
If a mailserver request is failing we disconnect at the 3rd attempt.

Though once we are disconnected, we connect again to the same mailserver
based on ping time.

This commit changes the behavior so that mailservers are penalized if
they are returning errors.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-12-10 08:26:00 +01:00
Churikova Tetiana 5259de7423
e2e:nightly fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-12-09 18:01:36 +01:00
Serhy e167773258
Update tests and get balance method
Signed-off-by: Serhy <sergii@status.im>
2020-12-08 18:47:56 +02:00
snyk-bot 57c0e835e2
fix: test/appium/requirements.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-1014645

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-12-08 15:56:04 +01:00
Roman Volosovskyi 7055c46a60
[#11507] Fix e2e tests 2020-12-07 15:37:16 +02:00
Andrea Maria Piana 2f1e5c819e
[Fixes: #11518] Fix dependabot directory
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-12-07 12:14:16 +01:00
Andrea Maria Piana 2df5eccff0
[Fixes: #9851] Allow setting ens & transaction verify url, and fix
pending transaction

This commit fixes an issue where pending transactions would be marked as
confirmed in commands, due to the fact that we would default to pending
if no transaction was in the database.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-12-07 11:19:12 +01:00
Serhy a70b07e83d
Interact with ropsten web3 to send assets
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-12-04 21:16:58 +01:00
Churikova Tetiana 8a97331779
e2e: testrail report
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-12-04 21:10:01 +01:00
Andrea Maria Piana fdf91cff80
[Fixes: #8280] Remove unused transport security entries
Removes not used security transport entries from ios

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-12-04 12:42:01 +01:00
Andrea Maria Piana f04042c643
[Fixes: #10801] Send chat messages in order
Chat messages are now sent in order using a different endpoint
`sendChatMessages`.
Text should always be displayed after images.

This is not implementing a Caption field, that would require either a
protocol change or leverage the `text` in the message.
It applies for both normal chats and timelines.

Move also all inputs under `chat/inputs` so we avoid re-renders as
`chats` has changed.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-12-03 18:29:40 +01:00
Churikova Tetiana fd5be21207
e2e: TODO resolve
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-12-03 14:10:42 +01:00
Jakub Sokołowski c62abf10c1
nix: add docs about NodeJS modules, small refactor
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-12-02 20:47:23 +01:00
Jakub Sokołowski 458ef05740
bump jenkins library to 1.2.8 to add keychain password
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-12-02 19:34:10 +01:00
andrey 609a7120b6
flatlist render changes
Signed-off-by: andrey <motor4ik@gmail.com>
2020-12-02 16:04:15 +01:00
Jakub Sokołowski b62ff59f16
ci: make GitHub build links use CDN for downloads
Should speed up downloads for some geographical locations.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-12-02 15:53:17 +01:00
Serhy c381fc2e2f
E2e for mentions is chat
Signed-off-by: Serhy <sergii@status.im>
2020-12-02 16:04:55 +02:00
andrey d2493c0725
[#11470] Statuses issues
Signed-off-by: andrey <motor4ik@gmail.com>
2020-12-02 10:39:07 +01:00
Andrea Maria Piana b9f896f4e3
Don't allow multiple pop ups to be shown
This commit makes sure that we don't display multiple pop ups when
mailserver connection has failed.
It also fixes the navigation to avoid being stuck on Profile tab.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-12-02 09:50:23 +01:00
Jonathan Rainville 7e069ed342
fix: linting and variable name 2020-12-02 09:49:47 +01:00
Jonathan Rainville b2cdc59670
fix: fix mailserver popup showing after canceling it
Fixes #10065
After clicking cancel, the popup is `dismissed`, so it will not appear again
Selecting a new mail server sets `dismissed` as false, so the error can appear again
2020-12-02 09:49:46 +01:00
Andrea Maria Piana a6e08f0d8e
fix typo on branch name 2020-12-02 09:12:42 +01:00
Andrea Maria Piana 0e6d191e58
Point to master for easier testing 2020-12-02 08:55:47 +01:00
Andrea Maria Piana 852838f777
add assigned 2020-12-02 08:42:24 +01:00
Jakub Sokołowski 32efcb06a0
nix: make status-go version regex even more lax
In release `1.7.0` we had an issue with `status-go` version `v0.62.3.hotfix.3`
not matching [Semantic Versionig](https://semver.org/#spec-item-11) so a fix was
introduced in https://github.com/status-im/status-react/pull/11331 that made the regex a bit more lax.

Again in `1.9.0` we had the same issue and the release not appears as `develop`
instead of the actual `status-go` version, which this time was `0.63.8+hotfix.2`.
Notice the `+` instead of `-` or `.` before `hotfix.2`.

I've added `+` to allowed characters after the 3 digit standard version format.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-12-01 20:18:03 +01:00
Churikova Tetiana 179e389e37
align e2e 11478
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-12-01 16:15:00 +01:00
Andrea Maria Piana a4716cc494
[Fixes: #9181] Reset edit mailserver on add pressed
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-12-01 14:44:34 +01:00
Roman Volosovskyi 92aaa194a8
[wallet] Pull to refresh tx history 2020-11-30 16:13:55 +02:00
Andrea Maria Piana 64840f74a7
[Fixes: #11351] Pass topics when querying the mailserver
Currently we are still using a bloom filter when querying mailserver.
This commit changes the behavior so that topics are used instead.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-11-30 12:08:08 +01:00
Andrea Maria Piana bd281e6c9f
Upgrade workflows 2020-11-30 12:01:24 +01:00
Andrea Maria Piana e8350414f3
Use our own fork for actions 2020-11-30 10:31:24 +01:00
Andrea Maria Piana ae900a4cd9
Add action for creating branches 2020-11-30 10:14:38 +01:00
Andrea Maria Piana 46cd4aa893
Create zenhub-pr.yml
Create action for zenhub-pr
2020-11-30 10:12:02 +01:00
Jakub Sokołowski f0d9f2ac54
nix: add a way to deal with new gradle version to docs
Also adjusted the `generate.sh` script and split stuff into separate function
to make it easier to run specific stages of the generation process.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-27 14:56:42 +01:00
Churikova Tetiana f47c816ce0
fix e2e and align to new 11465
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-11-26 18:34:22 +01:00
andrey 88889930ae
:accessibility-label :message-image
Signed-off-by: andrey <motor4ik@gmail.com>
2020-11-26 17:57:22 +01:00
andrey e2717ade98
[#11438] Add "sent" message confirmations 2020-11-26 17:57:10 +01:00
andrey f9095a492e
[#11214] Add option for user to increase the gas payment for a pending transaction
[#11215] Add option for user to cancel a pending transaction.

Signed-off-by: andrey <motor4ik@gmail.com>
2020-11-26 14:51:18 +01:00
Churikova Tetiana 1f7e40cede
updated libs + e2e fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-11-25 18:58:29 +01:00
Roman Volosovskyi 7bfaa9255c
[wallet history] Stop watching each new block 2020-11-25 16:44:16 +02:00
Serhy 166bdbf798
Update mailserver locator
Signed-off-by: Serhy <sergii@status.im>
2020-11-23 14:17:11 +02:00
shivekkhurana ecc41bebe0
Moved text-input props to their own functions, renamed get-suggestions to get-user-suggestions
Signed-off-by: shivekkhurana <shivek@status.im>
2020-11-23 16:33:08 +05:30
shivekkhurana 4cb058f1ca
Add notes on testing, translations, merging and starting Refrisk
Signed-off-by: shivekkhurana <shivek@status.im>
2020-11-23 11:23:31 +05:30
shivekkhurana a55dd51064
Rename mailserver to history nodes on settings screen, changed en.json to reflect changes.
Signed-off-by: shivekkhurana <shivek@status.im>
2020-11-20 16:43:36 +05:30
Andrea Maria Piana d260ea9e03
[Fixes: #11452] Don't allow more than x pictures if taken from camera
This commit fixes an issue with taking pictures from camera, where
the check for image count was not checked.

Signed-off-by: andrey <motor4ik@gmail.com>
2020-11-20 10:15:03 +01:00
Andrea Maria Piana 36f90fc567
Dont send unprocessed images
When selecting an image from camera roll we would immediately setting
the filepath with the raw image, process and later once it was processed
we would replace the file path.
On slow devices, the user might press send while the image is still
processing, causing the raw image to be sent, which might be discarded
as too large and never sent.

This commit changes the behavior so that we only set the uri once the
image is processed, it might add some delay, but the image should be
correctly sent.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-11-19 16:17:11 +01:00
Andrea Franz 22c6635d93
show tx data in keycard web3 request screen
Signed-off-by: Andrea Franz <andrea@gravityblast.com>
2020-11-19 11:28:25 +01:00
Andrea Maria Piana ae2d9b996c
Limit max batch of images
There's an issue reported on slow devices when sending a batch of
images.

All the requests are send concurrently, and the sending of messages is
processed concurrently in the background.
On slow devices or connection with slow upload speed this may result in
expired envelopes, as the POW calculation or the upload takes too long,
and either they never leave the device, or worse they reach the
mailserver but won't be stored because already expired on arrival.

This commit allows setting the max-images-batch config value, setting it
to 1 for release and keeping it to 5 for other builds.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-11-19 09:13:06 +01:00
Andrea Maria Piana 7c9bb5b21c
Fix bug when coming back from background
Fixes: #11441
Fixes: #11416

The issue was due to a nil pointer exception with the
localNotificationService.
Upon upgrade it would be disabled and therefore it would not be
available.
This was due to the fact that initialization comes from the database and
not from status-react, so on upgrade it would not be available.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-11-19 08:17:53 +01:00
Andrea Maria Piana 80ac4a8dc2
Remove status-core from codeowners
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-11-19 07:12:05 +01:00