Commit Graph

263 Commits

Author SHA1 Message Date
Serhy 19eda04c90
Test activity cener with only-contacts setting
Signed-off-by: Serhy <sergii@status.im>
2021-04-29 14:00:33 +03:00
Serhy f4530d4d03
activity center: align e2e
Signed-off-by: Serhy <sergii@status.im>
2021-04-19 11:39:43 +03:00
Andrea Maria Piana 116b4d8812
Add community notifications on android & IOS
[Fixes: #11806]
[Fixes: #11877]

Features added

An admin should receive a notification on android if a community request is made
Clicking on the push notification will take you to the list of requests
Changes to push notifications
Push notification for messages are grouped by chat, similarly to discord. Only the first notification in a chat will alert, the next will be "silent" notification. Meaning you will see the message but it will not alert. This is consistent with discord/whatsapp.
Clicking on a transaction notification will take you to wallet (not sure it was doing that before, but it might have)
Changed the behavior of the notification toggle, before Notifications and wallet transactions were separate, meaning you could have wallet transaction and Notifications disabled and you'd still receive transactions notifications. Now you need to have Notifications enabled to receive wallet transactions. Eventually we will have an option to toggle message notifications.

Technical details

Removes headless tasks, they were not used
Message notifications are passed unchanged to java, we still check if the chat is in the foreground, but no modifications are made to the notification object. This should get us closer to avoid clojure completely.
Merged the two notifications implementation (NewMessageSignalHandler and PushNotificationHelper). We should split maybe off in more meaningful classes, but there's less code duplication now, and it can be re-used for non-chat (communities) notifications.
Parsing of text for message notifications is done in status-go
Signal is not passed to status-react if notifications are not enabled

Next step

To completely remove notification code from status-react the following are required:

Java needs to be alerted of which chat is in the foreground and whether the app is in the foreground
Transaction notification body message need to be created in status-go
Notification signal needs to be stopped in Java

Limitations

If the name of a contact changes, the notification will not change, once is displayed, it won't be modified
2021-03-31 21:45:08 +02:00
Serhy da6860d693
pdate in balance related tests
Signed-off-by: Serhy <sergii@status.im>
2021-03-29 13:56:56 +03:00
Churikova Tetiana 4e0ec35ea5
e2e: added delivered for group chats and check for PNs
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-03-17 14:41:22 +01:00
Churikova Tetiana 313181ddb3
e2e: extend kk account creation
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-03-15 16:06:27 +01:00
Serhy 174329d098
User profilepic display setting test
Signed-off-by: Serhy <sergii@status.im>
2021-03-04 11:39:01 +02:00
Churikova Tetiana a7f9a98f48
e2e: checking balance on mobile network
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-03-02 12:59:26 +01:00
Churikova Tetiana 83630b28bb
e2e: migration and message statuses
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-02-26 16:29:11 +01:00
Churikova Tetiana 61da0db9c9
e2e: previews in lomks
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-02-23 21:40:03 +01:00
Serhy d5e1d3fe65
New e2e test to set image from Galary and Photo
Signed-off-by: Serhy <sergii@status.im>
2021-02-23 15:15:42 +02:00
Churikova Tetiana 8698e13fa1
e2e: nightly fixes and py upgrade
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-02-17 12:07:45 +01:00
Andrea Maria Piana 452e54fc19
Add buy crypto banner
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-02-17 10:25:45 +01:00
Churikova Tetiana 4f094c174d
e2e: connecting status handling
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-02-16 16:45:52 +01:00
Churikova Tetiana 7e8a68ec67
e2e: refactoring commands, wait for balance, find trans
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-02-04 13:54:06 +01:00
Churikova Tetiana 781360a1cf
e2e: fix opensea
Signed-off-by: andrey <motor4ik@gmail.com>
2021-02-02 17:15:28 +01:00
Churikova Tetiana 522d03b846
e2e: chat_management + wallet_management
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-02-02 12:00:17 +01:00
Churikova Tetiana b73fcba395
improve logging, get rid of 2 e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-01-28 17:09:40 +01:00
Churikova Tetiana ad006b018c
test_recover + test_sign_in
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-01-28 13:59:59 +01:00
Churikova Tetiana d31ed933a0
e2e: reduce amount, continue review
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-01-27 17:22:16 +01:00
Serhy ff961bbfe8
Fix e2e fails in develop
Signed-off-by: Serhy <sergii@status.im>
2021-01-27 12:25:05 +02:00
Churikova Tetiana c2f8f012a8
e2e: global refactoring
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-01-25 18:44:24 +01:00
Churikova Tetiana 98a8359db3
e2e: new tests
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-12-18 10:05:40 +01:00
Churikova Tetiana 1b9bd8b017
e2e: fixed browser tests
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-12-14 18:53:39 +01:00
Churikova Tetiana 905aa26705
e2e: browser1.0
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-12-11 18:09:31 +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
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 fd5be21207
e2e: TODO resolve
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-12-03 14:10: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
Churikova Tetiana 8310749696
fix e2e nightly
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-11-11 16:42:22 +01:00
Churikova Tetiana 920000c3e8
e2e: failures
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-11-10 18:10:04 +01:00
Churikova Tetiana 627e1d0e14
e2e align new wallet cards
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-11-09 16:44:51 +01:00
Churikova Tetiana 9e466976dc
align e2e timeline
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-11-06 14:24:31 +01:00
Churikova Tetiana c7b3efe6ad
new e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-11-03 17:57:36 +01:00
Serhy 6f86f73ac6
Update e2e 2020-11-03 16:30:16 +01:00
Churikova Tetiana 3ac8f0c5fd
e2e refactoring
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-10-30 15:51:15 +01:00
Churikova Tetiana ce20eddb99
profile e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-10-28 17:19:37 +01:00
Churikova Tetiana 95aa500119
collectible e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-10-23 16:20:23 +02:00
Serhy 2cf4be4b34
Add test to send Max tokens from wallet
Signed-off-by: Serhy <sergii@status.im>
2020-10-23 11:30:14 +03:00
Churikova Tetiana e52f6b8753
e2e for mentions, gr chats, fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-10-20 18:20:37 +02:00
Churikova Tetiana 9f36bd44b2
fix e2e with scan tokens 2020-10-07 18:07:42 +02:00
Churikova Tetiana f3ed1e370a
new e2e+fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-10-06 16:50:07 +02:00
Churikova Tetiana 6940adf1cb
disable collectible e2e
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-25 11:58:20 +02:00
Churikova Tetiana b8298dce44
e2e fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-09-23 14:56:31 +02:00
Churikova Tetiana 6454df4734
e2e wallet fixes
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-22 10:22:12 +02:00
Churikova Tetiana 56aec16793
nicknames e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-09-15 18:04:52 +02:00
Churikova Tetiana 754b826629
accept agreement remove + group invite e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-09-10 11:35:36 +02:00
Churikova Tetiana fea916590a
marks and new checks in e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-09-04 17:58:34 +02:00
Churikova Tetiana 151ef4a952
e2e false failures fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-08-20 14:02:00 +02:00