Commit Graph

2994 Commits

Author SHA1 Message Date
Julien Eluard d13c9cb677
[#3732] Added some more mixpanel events
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-06-07 16:40:21 +02:00
Andrea Maria Piana 608c64e88d
Dont run receive-whisper-messages if the user is logged out
This handles a bug whereby we'd run receive-whisper-messages
when the user is logged out.

I could not replicate locally, but a few issues are apparent from
just inspecting the code:

1) there are some race-conditions on logout as we don't wait for all
the filters to be removed. Changing this behaviour is non trivial and
not sure if we can actually handle this completely
(status-go-has-a-message->remove-filter->logout->status-go-deliver-message).
2) no error handling is made in receive-whisper-messages.

This PR defensively handles both cases.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-07 14:16:35 +02:00
Andrea Maria Piana fc5cd95b9c
Add border to profile picture & style chat icon
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-07 13:50:35 +02:00
Igor Mandrigin f49cfc02f2
Make the information sharing screen usable on tiny screens.
e.g. an iPhone app on an iPad
This doesn't make it *pretty*, just usable.
2018-06-07 12:12:21 +03:00
Igor Mandrigin c5e078b9d7
[#4651] Set minimum iOS and Android versions.
iOS: 11.0 is the minimal requirement, phone-only application.
Android: 6.0 (API level 23).

[Android API levels table](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)
2018-06-07 12:11:11 +03:00
Igor Mandrigin 125f61b19e
Make run-ios accept the simulator name
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-07 09:17:04 +03:00
Dmitry Novotochinov 089717c5e3
Upgrade Instabug to 2.12.0
Surveys stopped working in 2.8.1
2018-06-07 07:14:35 +03:00
Igor Mandrigin 7132e3e423
[#4588] Workaround ellipsis issue on public key in the login screen.
In the latest RN update it seems like `ellipsizeMode: middle` doesn't
play well with negative letter spacing anymore. This workaround remove negative letter spacing.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-06 18:31:34 +03:00
yevh-berdnyk 5b3aeccd8f
Added chat_name parameter for public chat in message reliability
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-06 15:10:24 +02:00
Andrea Maria Piana 19b0cf4052
Text for empty chat
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-06 12:15:50 +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
Roman Volosovskyi 2e62e945ff
[#4550] fix delete group chat label 2018-06-06 09:12:20 +03: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
Pedro Pombeiro d3202dffa7
Disable group chats even in dev mode. Closes #4506 2018-06-06 08:59:41 +03:00
Goran Jovic 435b2271fd
bug #4593 - fixed gas update after default gas 2018-06-06 06:40:58 +03:00
janherich cd5542f648
Persist unseen messages 2018-06-05 15:24:55 +02: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
Roman Volosovskyi 63ac0d9e82
[#4535] decode browser's uri
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-05 13:09:42 +02:00
Andrea Maria Piana 860cfe841d
Enable custom mailservers in nightly/releases 2018-06-05 11:17:27 +03:00
Roman Volosovskyi 89e0bf4eca
show build number in profile 2018-06-05 11:16:04 +03:00
Anton Danchenko beb7cd2b84
build apk for e2e tests, trigger end-to-end-tests/status-app-nightly job
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-05 09:17:49 +02:00
Eric Dvorsak ab968dba0e
[fix] show connecting to peers popup when no peers at startup
previously was only showing up when there was 0 peers after some
disconnection
but sometimes the app starts and user logs in without being
connected to any peer
this means the peers-summary is nil peers count is nil
2018-06-05 07:30:40 +03:00
Anton Danchenko b38dd8f013
transaction verification is fixed
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-04 16:06:26 +02:00
Andrea Maria Piana 75d1c04412
Allow for different password on different mailservers
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-04 14:28:43 +02:00
Anton Danchenko 64f965c392
added test 'sign message in dapp', increased time for validation of a transaction
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-04 12:43:23 +02:00
Eric Dvorsak 8782ecc06d
[fix 4574] do not send updates to pending contacts
fixes #4574

updates were sent to all pending contacts
fixes that by filtering on the pending? key
2018-06-02 08:31:24 +03:00
yevh-berdnyk 65fa9e5741
Fixed login in e2e tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-01 20:12:51 +02:00
Andrea Maria Piana 49592f3a50
Allow editing/deleting custom bootnodes
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-01 18:28:10 +02:00
yevh-berdnyk 19ff402b4b
Updated message reliability test report
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-01 17:52:14 +02:00
Goran Jovic 434324d5fc
bug #4539 - error message for failed transactions sent from chat 2018-06-01 16:27:05 +03:00
Roman Volosovskyi 5d41cdda0c
[#4551] fix error on fetching history for removed chat 2018-06-01 16:25:50 +03:00
Andrea Maria Piana 9058c54933
Allow scanning qr codes for custom bootnodes
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-01 13:57:21 +02:00
yevh-berdnyk b345b4a79a
Added 1-1, public and offline public chat tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-01 12:52:40 +02:00
Roman Volosovskyi ccce109f0b
[#4541] fix versioning on ios (should be same as on android) 2018-06-01 12:29:34 +03:00
Andrea Maria Piana 7ef3a5a5da
Delete mailservers
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-01 11:23:05 +02:00
Dmitry Novotochinov af318822da
Enable long tap on long messages
Allows to copy and share text
2018-06-01 12:09:52 +03:00
Andrey Shovkoplyas 2eccca9898
improved new chat UI 2018-06-01 11:39:13 +03:00
Georgie Mathews 0d0c37e4a9
[FIX #4362] Updates App Icons 2018-06-01 11:35:25 +03:00
Roman Volosovskyi b47caf5bbc
single GH comment for both platforms 2018-06-01 10:42:28 +03:00
Dmitry Novotochinov f8981ab6cb
Update chat messages styling
* Change background color of outgoing messages
* Add more space between public chat messages
2018-06-01 07:18:49 +03:00
Andrey Shovkoplyas 83afbd515a
show onboarding for transaction from chat [#4456] 2018-06-01 07:17:49 +03:00
Eric Dvorsak 68eb36f7b1
[fix] support offline contact request, confirmation and update
- fix a bug in profile where app would was returning directly to profile
screen after photo capture, showing updating to user but not actually saving
and broadcasting it
- adds support for offline contact request, confirmation and updates by
leveraging the :sent and :not-sent signal from status-go. Each chat
in the protocol layer uses a `resend?` field to keep track of the current
state of the contact, between `nil`, `contact-request`,
`contact-request-confirmation` and `contact-update`. There is no case
were it can be more than one case because if `contact-request` or
`contact-request-confirmation` was not sent yet `contact-update` is not
necessary as the latest contact infos will be sent with the request/confirmation

Signed-off-by: Eric Dvorsak <eric@status.im>
2018-05-31 17:43:37 +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
Eric Dvorsak ee7895fe43
[fix 4387] query mailserver in batches of 24 hours 2018-05-31 16:58:53 +03:00
Anton Danchenko d8c8608419
test 'delete 1to1 chat' has been reworked in order to decrease execution time
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-05-31 16:30:08 +03:00
Goran Jovic 1f4f913ac6
adds a filter to pre-commit hook to prevent analysis of deleted files
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-05-31 12:23:28 +02:00
yevh-berdnyk 955fdc6c17
Added 2 errors for rerun
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-31 11:17:00 +02:00
Aleksandr Pantiukhov 7eba090b16
[#4492]: Invalid values for `gas limit` and `gas price` are immediately replaced by default ones instead of warning 2018-05-31 10:58:11 +03:00
Andrea Maria Piana 1e4311d4cb
Allow editing existing mailservers
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-30 21:42:54 +02:00
janherich e59ffc905d
Protect against duplicate messages
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-30 18:22:52 +02:00