Compare commits

..
Author SHA1 Message Date
ibrkhalil 75d1896426 Prevent #links to work except in community chats 2023-02-11 16:17:27 +02:00
Alexander 03c4814563 Merge branch 'develop' into bugfix/allow-scrollable-overlays 2023-02-09 14:11:16 +01:00
Omar Basem 95380175a6 fix: image actions (#14996)
* fix: image actions and reactions
2023-02-09 07:18:49 +04:00
Andrea Maria Piana 574e69acae Bump version to 1.21.0 2023-02-08 17:50:26 +00:00
Andrea Maria Piana feae148ec8 Fix contact updates state recovery
https://github.com/status-im/status-go/compare/7360e072...dea21f44
2023-02-08 17:49:36 +00:00
jakub 8ebad39c25 ci: add cleanup step to all e2e Jenkins jobs
Otherwise we get multiple APKs in the `results` folder.
```
admin@linux-01.he-eu-hel1.ci.devel:/home/jenkins/workspace/status-mobile/e2e/status-app-prs % ls -l result
total 502236
-rw-r--r-- 1 jenkins jenkins 57334087 Feb  7 10:25 StatusIm-Mobile-230207-101618-991339-pr14988-x86.apk
-rw-r--r-- 1 jenkins jenkins 57080127 Feb  7 13:18 StatusIm-Mobile-230207-131114-098c05-pr14977-x86.apk
-rw-r--r-- 1 jenkins jenkins 57088322 Feb  7 14:19 StatusIm-Mobile-230207-141155-05cc4c-pr15002-x86.apk
...
```
And `utils.findFile()` just pick the first one alphabeticlly.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-02-08 18:26:45 +01:00
Brian Sztamfater 8cfc6ecb4f chore: add accessiblity ids to message status views
Signed-off-by: Brian Sztamfater <brian@status.im>
2023-02-08 14:06:28 -03:00
Roman Volosovskyi cc348fda99 [#14962] Update AC notification on EditMessage 2023-02-08 16:43:40 +01:00
Volodymyr Kozieiev 5f119c4b3a added unread mentions counter 2023-02-08 13:01:04 +00:00
Parvesh Monu bf932e6825 Add jump-to button to community-overview screen (#15003) 2023-02-08 16:13:14 +05:30
Icaro Motta 0c59ed5ceb Improve guidelines (#15008)
- New section: Use [] instead of () in Reagent components: New section after
  this comment https://github.com/status-im/status-mobile/pull/15005#discussion_r1098220176
- Updated section "Don't use percents to define width/height": reworded to
  follow the style of the rest of the document.
- Update section "Accessibility labels": added example about avoiding dynamic
  labels.
2023-02-07 10:05:38 -03:00
jakub 875f9f1acc ci: fix absolute path of APK for e2e PR jobs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-02-07 13:07:23 +01:00
Icaro Motta 98b219191f Fix segmented tab component (#15001)
Fixes #14999 

Fix UI regression in the segmented tab component, introduced by PR https://github.com/status-im/status-mobile/pull/14883.

No area was impacted because segmented tabs are not used yet.
2023-02-07 08:27:27 -03:00
John Ngei f8b5b35063 Update community home scrolling to support sticky header and tabs (#14929)
* communities home sticky tabs

* Communities home screen scroll behaviours

* refactored scroll-page component
2023-02-07 12:58:38 +03:00
erikseppanen 7315dc8914 Support join.status.im links for adding a contact (#14964)
* Support join.status.im links for adding a contact (#14814)

* refactor tests, add caret to regex
2023-02-06 17:23:34 -05:00
Alexander dbf7ca839c Merge branch 'develop' into bugfix/allow-scrollable-overlays 2023-02-06 21:48:58 +01:00
jakub e61bd769a8 ci: fetch E2E APK from android-e2e jobs
Using `copyArtifacts()` is more reliable and faster then fetching APKs
based on URLs acquired by parsing GitHub comments from Jenkins builds.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-02-06 18:37:53 +01:00
Parvesh Monu b9ac26edd7 fix selected members are not shown on the group creation screen (#14991) 2023-02-06 22:13:45 +05:30
Parvesh Monu 739d10a9ef Add tests for bottom-tabs-notifications-data subscription (#14992) 2023-02-06 20:40:46 +05:30
Alexander 50135bdace Merge branch 'develop' into bugfix/allow-scrollable-overlays 2023-02-06 15:48:46 +01:00
alwx 61d7f08fbc Lint fix 2023-02-06 15:43:45 +01:00
jakub 361ddb338e ci: drop uploading e2e builds to SauceLabs
Since uploads to SauceLabs were dropped from `Fastfile` in:
https://github.com/status-im/status-mobile/pull/14969

Also dropped:
- Useless Diawi upload of APK
- Useless DO Spaces upload of IPA

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-02-06 15:15:51 +01:00
alwx 17385cca94 Fixes 2023-02-06 13:56:45 +01:00
John Ngei 91d0e106f2 showing sticky bar on scrolling discover screen (#14825) 2023-02-06 15:41:34 +03:00
Churikova Tetiana 89039cd79a e2e: remove upload to sauce from fastlane and fix in e2e 2023-02-03 14:03:15 +01:00
Brian Sztamfater 0202af8070 feat: style delivery states
Signed-off-by: Brian Sztamfater <brian@status.im>
2023-02-03 09:53:15 -03:00
Alexander 73bc097a4e Merge branch 'develop' into bugfix/allow-scrollable-overlays 2023-02-03 10:39:59 +01:00
frank 0472140f02 fix: Unable to add new contact on receiver device after local pairing until app relaunch (#14936) 2023-02-03 16:07:27 +08:00
Alexander b23372f842 Merge branch 'develop' into bugfix/allow-scrollable-overlays 2023-02-02 18:29:14 +01:00
Roman Volosovskyi e4722e05f3 [#14959] Reschedule messages deletion broadcast on new deletion 2023-02-02 18:13:47 +01:00
Volodymyr Kozieiev 77a798530d Unread indicator on community channel (#14960)
* Unread indicator on community channel
* Unread grey dot made a separate component
2023-02-02 17:09:37 +00:00
alwx 243c0d60da Lint 2023-02-02 18:07:44 +01:00
alwx 3d1c2cdccb The [Cancel] and [Join] buttons are hidden within 'Join Community' overlay 2023-02-02 18:02:12 +01:00
Parvesh Monu c2cfb4539f Remove top nav search button and add bottom padding for home list (#14966) 2023-02-02 19:16:54 +05:30
Roman Volosovskyi c38cb03956 [#14865] Add previews for youtube links with www subdomain 2023-02-02 13:08:37 +01:00
Churikova Tetiana c1e3a38cb2 e2e: saucelab new api + remove workarounds 2023-02-02 12:40:19 +01:00
Roman Volosovskyi db417cb3a3 fix compatibility with ConvertToKeycardAccount after recent changes 2023-02-02 12:15:38 +01:00
Omar Basem eed38fe082 Lightbox screen animations (#14954)
* lightbox screen animations
2023-02-02 15:03:59 +04:00
Icaro Motta 2dad2b67e8 Update style namespaces (#14941)
Update certain `style.cljs` files to more strictly follow our guidelines. Except for animations and theme colors, *style* functions should be pure.

It turns out `style` namespaces are well behaved and are almost perfectly following guidelines 🚀 

The motivation for the PR came from this thread https://github.com/status-im/status-mobile/pull/14925#discussion_r1090485454
2023-02-02 07:23:06 -03:00
Icaro Motta 8626cd3e6d Show unread indicator on Activity Center tabs (#14883)
Fixes https://github.com/status-im/status-mobile/issues/14852
Fixes https://github.com/status-im/status-mobile/issues/14882

Summary
=======

- [x] Fixes https://github.com/status-im/status-mobile/issues/14852
- [x] Fixes https://github.com/status-im/status-mobile/issues/14882
- [x] Refactors `tab` component to follow new guidelines.
- [x] Improves preview area for tabs to optionally show notification dots.
- [x] Refactors `tabs` component: break the component into smaller chunks;
remove duplication between scrollable & non-scrollable tabs; update outdated
docstring;
- [x] Adds accessibility labels to tabs.

Cutout with light theme on the background:
https://user-images.githubusercontent.com/46027/214553974-2b2e8c6e-71b8-46f3-ba75-a66cb4755490.png

Cutout with dark theme on the background:
https://user-images.githubusercontent.com/46027/214554602-d637d4d6-3b20-4aa8-a2ef-64836f4454bb.png

Cutout in non-scrollable tabs:
https://user-images.githubusercontent.com/46027/214555646-bbb85546-20d9-48bb-8273-716564fb5e0f.png

Notification dots in preview area:
https://user-images.githubusercontent.com/46027/214556532-10a044ae-9df5-4c86-be5f-447955276bfd.png
2023-02-01 13:10:57 -03:00
Alexander 9ded9da7e3 Fetch unread notification count only for supported notification types (#14923)
* Fetch unread notification count only for supported notification types
2023-02-01 15:36:33 +01:00
Omar Basem b8eab0c328 Photo selector and album selector screens (#14867)
* feat: photo & album selector screens
2023-02-01 17:01:03 +04:00
Omar Basem fb9309f700 Animated Header Flatlist (#14925)
* feat: animated header list (quo2)
2023-02-01 10:40:52 +04:00
yqrashawn a38ef22ca7 feat: support deleted by xxx (#14768) 2023-02-01 09:17:57 +08:00
Jamie Caprani 1f84128dd7 fix: hide buttons on community after joining (#14761) 2023-01-31 09:11:41 -08:00
Andrea Maria Piana 41124acf4d [Fixes: #14834] Fix backup of contacts
https://github.com/status-im/status-go/compare/7e1a894a...cefa0089
2023-01-31 15:45:32 +00:00
Jamie Caprani cbd920f070 chore: fix sorting of pinned messages (#14874) 2023-01-31 06:57:17 -08:00
Parvesh Monu 6bdd3ceded fix some of the app elements periodically stop responding on the android (#14935) 2023-01-31 19:13:02 +05:30
Volodymyr Kozieiev bfb2863774 Documentation updated (#14933) 2023-01-31 12:06:29 +00:00
frank 01523f3a1d fix: crashed after local pairing (#14931) 2023-01-31 17:23:38 +08:00
Churikova Tetiana 3692ad38dd e2e: fixes compressed keys 2023-01-30 21:48:41 +01:00
Ibrahem Khalil d7d256b139 [14677, 14673, 14672, 14671, 14664] Fix bottom sheet dismissal problems (#14791) 2023-01-30 22:33:12 +02:00
Andrea Maria Piana 0fd2783774 Update status-go and temporary fix for keycard 2023-01-30 16:45:23 +00:00
Andrea Maria Piana 6830f98f95 Add support for compressed keys
https://github.com/status-im/status-go/compare/fc03393e...caf3cc04
2023-01-30 16:11:09 +00:00
Erik Seppanen fac9e644a9 Lookup/add a contact from home screen (#14477) 2023-01-30 16:06:32 +00:00
Parvesh Monu d16baca64f fix pinned message for community channels (#14885) 2023-01-30 19:42:58 +05:30
Icaro Motta 55caf0230e Update empty state (#14916)
Fixes #14899

Updates the empty states according to latest design in Figma.
2023-01-27 15:24:30 -03:00
flexsurfer 6002672e7c [#14877] No ability to type the text into textbox if image is added [#14881] Input field is hidden in composer (#14911) 2023-01-27 16:40:04 +01:00
Mohamed Javid 85fc754104 [Fix] Added support for pinned message in reply notification (#14913) 2023-01-27 21:50:02 +08:00
Churikova Tetiana 6530713c3f e2e: communities fix 2023-01-27 10:48:52 +01:00
Roman Volosovskyi 1654c32ea0 [#14173] Fix incorrect pagination of notifications 2023-01-27 08:53:07 +01:00
Jamie Caprani 2e35939979 chore: add accesibility label 2023-01-26 16:50:20 +00:00
flexsurfer 8b358ab7ed [#14869] Options menu is hardly opened on longtap on messages containing image or links with enabled preview (#14908) 2023-01-26 17:12:26 +01:00
Parvesh Monu 48e5c5c0ec fix home-screen half-width (#14895) 2023-01-26 17:23:11 +05:30
Omar Basem b3f9a5944d add support for 120Hz animations (#14905)
feat: add support for 120hz animations
2023-01-26 13:28:03 +04:00
Roman Volosovskyi e94898c5ac [#14718] Fix profile photo in several places 2023-01-26 09:49:36 +01:00
Ibrahem Khalil f41c69ff4b [14681] Make checkbox select contacts correctly in new chat flow (#14790) 2023-01-25 21:50:00 +02:00
Volodymyr Kozieiev 7585767961 Remove test for join-existing-users-string (#14892) 2023-01-25 16:39:16 +00:00
Parvesh Monu 612c17a8db Add blur overlay for bottom tabs and shell top nav (#14783) 2023-01-25 20:08:11 +05:30
Roman Volosovskyi 146e41c8cc [#14669] Fix re-activation of deleted chat on old contact update 2023-01-25 13:14:53 +01:00
Volodymyr Kozieiev 3e93e353db Refactor mock data out of community page (#14799) 2023-01-25 11:35:10 +00:00
Churikova Tetiana 4e8ebc6d85 e2e: previews + uncommented pins 2023-01-24 21:27:02 +01:00
Ibrahem Khalil 7f2623a23e [14849] Only allow dragging inside bottom sheet when no handle is shown (#14850) 2023-01-24 20:27:57 +02:00
Parvesh Monu 080b13c304 fix some buttons are not responding after theme change (#14811) 2023-01-24 20:28:41 +05:30
Roman Volosovskyi df2dd56cfb [#14728] Fix sender avatar in reply 2023-01-24 12:04:24 +01:00
Brian Sztamfater bd3c724c66 feat: record audio complete flow
Signed-off-by: Brian Sztamfater <brian@status.im>
2023-01-23 14:04:06 -03:00
Icaro Motta 206730a777 Show "Added to group chat" notifications (#14785)
Partially implements https://github.com/status-im/status-mobile/issues/14712
Fixes #14744

### Summary

This PR implements the first, among what will probably be many different kinds of membership notifications. For this PR, I started with implementing a particular flow for private group chats because it's already supported by `status-go` (albeit I had to make some changes, see [PR in status-go](https://github.com/status-im/status-go/pull/3088).

1. `A` and `B` are mutual contacts.
2. `A` creates a private group chat with `B` as member.
3. `B` sees the group chat in the app, but doesn't interact with it.
4. `B` reinstalls the app (remember to back up the seed phrase).
5. `A` mentions `B` in the group chat.
6. `B` should see a group chat notification, which can be accepted/declined.

- [x] Also fixes #14744

### Demo

In the video I'm simulating the steps outlined in the *Summary*, but using the approach described in *Steps to test*, because it's way easier to iterate during development.

[demo.webm](https://user-images.githubusercontent.com/46027/212470798-c135d229-948d-4ba5-98db-ee73cc5495cd.webm)

### Review Notes

Some changes had to be made in `status-go` ([PR](https://github.com/status-im/status-go/pull/3088)), namely:

- According to [Figma](https://www.figma.com/file/eDfxTa9IoaCMUy5cLTp0ys/Shell-for-Mobile?node-id=3806%3A586901&t=xLTAjLXjG1UtorpI-0), users should be able to see `accepted` group chat notifications. Until now, `status-go` hardcoded that `accepted` notifications would *not* be returned in query results, and so it would be impossible to show them to users. This was changed and now the RPC endpoint accepts an additional filter. The implementation on the backend is backwards compatible so as to not break Status desktop.
- The `Membership` tab needs to display various types of notifications (group chat, community, etc), but the membership type doesn't exist on the backend. To overcome this constraint, this PR makes the membership type a logical/virtual type, i.e. a Clojure set of types. `status-go` was changed to support querying for multiple notification types (also backwards compatible).

#### Platforms

- Android
- iOS

### Steps to test

Please, follow the steps described in the Summary and you should be able to test.

But during development, I followed these steps (recommended by @cammellos). I documented them here for reference.

1. Checkout `feature/e2e` in status-go. Apply the diff below.
2. `cd cmd/e2e && ./e2e`
3. This will create a temporary account automatically, let's call it `A`.
4. On another device, create account `B`.
5. Follow the steps documented in https://github.com/status-im/status-go/blob/bdc406ea2e6eb990ce5c0fed7ea2e84b63c92139/cmd/e2e/README.md#L2 in order for user `A` to create a group chat with `B` as member. Don't make `A` and `B` mutual contacts.
6. On `B`'s device, a notification should appear, and `B` should be able to accept or decline the "invitation" (actually *invitation* is another concept and related to another feature).

```diff
modified   cmd/e2e/main.go
@@ -283,6 +283,11 @@ func defaultNodeConfig(installationID string) (*params.NodeConfig, error) {
    nodeConfig.NetworkID = 1
    nodeConfig.LogLevel = "ERROR"
    nodeConfig.DataDir = "/ethereum/mainnet_rpc"
+        nodeConfig.HTTPEnabled = true
+        nodeConfig.HTTPPort = 8545
+        nodeConfig.HTTPHost = "localhost"
+        nodeConfig.HTTPVirtualHosts = []string{"localhost"}
+
         nodeConfig.APIModules = "wakuext,ext,waku"

    nodeConfig.UpstreamConfig = params.UpstreamRPCConfig{
modified   protocol/messenger_group_chat.go
@@ -26,17 +26,17 @@ func (m *Messenger) validateAddedGroupMembers(members []string) error {
        }

        contact, _ := m.allContacts.Load(contactID)
-		if contact == nil || !(contact.Added && contact.HasAddedUs) {
-			return ErrGroupChatAddedContacts
-		}
+                if contact == nil {
+                  contact, err = buildContactFromPkString(contactID)
+                  if err != nil {
+                    return err
+                  }
+                }
    }
    return nil
 }

 func (m *Messenger) CreateGroupChatWithMembers(ctx context.Context, name string, members []string) (*MessengerResponse, error) {
-	if err := m.validateAddedGroupMembers(members); err != nil {
-		return nil, err
-	}

    var response MessengerResponse
    logger := m.logger.With(zap.String("site", "CreateGroupChatWithMembers"))
```
2023-01-23 13:54:51 -03:00
Parvesh Monu b3a03119d1 Implement unread badge for bottom tabs (#14856) 2023-01-23 20:23:41 +05:30
flexsurfer d79d2e9d36 sanitize quo2 (#14859) 2023-01-23 14:41:55 +01:00
Jamie Caprani 098821d20b chore: get community img from real data (#14765) 2023-01-23 03:17:50 -08:00
Jamie Caprani 92a180c477 add shadows to foundations (#14839)
* chore: add shadows to foundations
2023-01-23 03:06:26 -08:00
Mohamed Javid 6722b45076 [Fix] Admin Notification marked unread after closing and reopening AC (#14824)
* [Fix][#14823] Admin Notification unread issue

* [Fix][#14823] Changed dispatch of event from the PR feedback

* [Fix][#14823] Organize dispatch of event from the PR feedback

* [Fix][#14823] Organize dispatch of event from the PR feedback
2023-01-23 18:56:58 +08:00
Andrea Maria Piana 897a5eb201 [Fixes: #14794] Use toast instead of old pin modal
Instead of using the old modal, we show a toast when the limit of 3
messages is reached.
2023-01-23 10:44:15 +00:00
Parvesh Monu d3667ad683 fix nil value in reanimated style crashing at runtime (#14855) 2023-01-23 15:55:24 +05:30
Ibrahem Khalil dc9454defa Fix using functions as identifiers (#14848) 2023-01-21 13:28:45 +02:00
Omar Basem 53495dc893 Images Album (2) (#14755)
* feat: images album (2)
2023-01-20 16:51:44 +04:00
Jamie Caprani 967c869486 chore: fix component tests and permission drawer preview (#14831) 2023-01-19 15:03:53 -08:00
flexsurfer f0272f2e77 move chat events (#14835) 2023-01-19 19:35:14 +01:00
Churikova Tetiana b8dfa6b645 e2e: offline messages + edit 2023-01-19 19:01:14 +01:00
Omar Basem 6c14fd1cb9 Scroll page animations (#14695)
* feat: scroll page animations
2023-01-19 16:46:05 +04:00
flexsurfer e8e8547879 cleanup setup (#14827) 2023-01-19 12:15:28 +01:00
flexsurfer 2899819e95 rollback user profile (#14828) 2023-01-19 12:02:05 +01:00
Alexander 27c8c5547c [#14689] Link previews in chat (#14771)
* Initial

* Link fetching

* Post-merge fix
2023-01-18 22:43:26 +01:00
Parvesh Monu b370514ef3 Improve community avatar for shell card (#14813) 2023-01-19 00:12:49 +05:30
Ulises Manuel Cárdenas ab1fd43f28 Add Collectible ui component (#14803) 2023-01-18 19:00:47 +01:00
Churikova Tetiana 4c33b43713 e2e: more fixes 2023-01-18 16:02:09 +01:00
flexsurfer d2e35fe928 move constants/config to status-im2 root and remove old constants/config (#14821) 2023-01-18 15:43:58 +01:00
flexsurfer d030e211e3 move i18n to utils (#14819) 2023-01-18 14:36:02 +01:00
flexsurfer ed348e0871 cleaning (#14808)
cleaning, introduce react-native.red-black-tree and move messages list events
2023-01-18 12:16:33 +01:00
Icaro Motta 9a60fc1600 Fix all type hint warnings (#14810) 2023-01-17 19:52:12 -03:00
Andrea Maria Piana 14c9a7c6ac [Fixes: #14777] Set dns nameserver to cloudflare 2023-01-17 09:22:48 +00:00
flexsurfer 685c95591c refactor and move composer to status-im2 (#14758)
refactor and move composer to status-im2
2023-01-16 17:20:10 +01:00
Siddarth Kumar d6c899be3d make sure nodejs uses a fixed timezone (#14793)
* make sure node uses the UTC timezone
  we have a few timebomb tests in the codebase that would break and making sure node specifies a timezone fixes them.
2023-01-16 16:34:15 +05:30
Ibrahem Khalil aa8f5b3d48 Disable starting a new chat for non mutual contact (#14726) 2023-01-14 12:57:45 +02:00
Churikova Tetiana 4960f5a59c e2e: fixes for mutual contacts 2023-01-13 19:22:51 +01:00
Mohamed Javid 2f52cb1f0c Show Admin Notifications in Activity Center (#14748)
* [Feature][#14713] Added Admin Notifications in Activity Center

* [Feature][#14713] Admin Notification UI fixes

* [Feature][#14713] Admin Notification PR Feedbacks

* [Feature][#14713] Admin Notification PR Feedbacks

* [Feature][#14713] Admin Notification accessiblity label update
2023-01-14 02:14:02 +08:00
Andrea Maria Piana 64ec49c9c4 Removed removed files and add untracked from linting
The linter would fail if there were removed files, as it would
try to lint them but would not find them.
Similarly, untracked files would not be linted.

This commit changes the behavior so that untracked files are linted and
removed files are ignored, that way we can run it before committing if
there are unstaged changes that include removed/untracked files.
2023-01-13 17:22:13 +00:00
jakub c9223cd988 ci: use arm64 macos hosts for iOS builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-01-13 13:44:05 +01:00
Churikova Tetiana c1c9fef7ec e2e: revert failed tests 2023-01-13 12:12:12 +01:00
Jamie Caprani 73c4be8dee Communities Join Screens - Implement all permutations of Context Drawer options (#14700) 2023-01-13 09:35:41 +00:00
Roman Volosovskyi bfdca0fb38 https://github.com/status-im/status-go/compare/d40290a6...d60c1d00
[#14574] Update chat clock on group event
2023-01-12 18:57:22 +01:00
jakub f446ab163e ci: upgrade Xcode from 13.4 to 14.2
Depends on:
https://github.com/status-im/infra-role-bootstrap-macos/commit/fefb0081

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-01-12 16:55:24 +01:00
jakub 0623355e84 fleets.json: drop decomissioned eth.test fleet
The fleet wasn't being used so it has been liquidated:
https://github.com/status-im/infra-eth-cluster/commit/de986014

Signed-off-by: Jakub Sokołowski <jakub@status.im>

make sure that "waku-nodes" is not pulled from fleets.json
2023-01-12 13:15:13 +01:00
Andrea Maria Piana 7a5871a03f [Fixes: #14623] Enable mutual contacts by default and show banner 2023-01-12 09:16:02 +00:00
Parvesh Monu 5c0bd33697 Improve switcher cards lifecycle (#14751) 2023-01-12 02:37:55 +05:30
Churikova Tetiana 220341e0be e2e: introduced failed due to issues tests in results 2023-01-11 13:58:11 +01:00
yqrashawn ceaa363f08 fix: not using layout animation, causing flickers on android (#14753) 2023-01-11 18:37:42 +08:00
Jamie Caprani 846d628a9d chore: use banner from quo library (#14629) 2023-01-11 00:59:00 -08:00
Alexander 9ed89ac97d Fix for tapping on new contact from contact list (#14737)
* Tapping on new contact from Contact list leads to empty chat with skeleton

* Code style fix

* Small removals of unused stuff
2023-01-10 19:26:23 +01:00
Alexander 43da198c3f Communities join screens - add toast after joining/leaving (#14735)
* Add toast after joining/leaving a community

* leftover removal

* Better code for adding toasts

* Fixes

* Lint fix
2023-01-10 19:10:26 +01:00
Omar Basem 55d11d1a18 New chat fix (#14739)
* new chat fix
2023-01-10 20:19:53 +04:00
frank d2e8c5b52c fix #14733 (#14734) 2023-01-10 23:15:12 +08:00
Parvesh Monu 115fb3f590 fix default shell for -include targets (#14738) 2023-01-10 18:36:38 +05:30
yqrashawn 02a1c3597f feat: undo delete with toast (#14618) 2023-01-10 10:02:23 +08:00
Alexander 6f10ff4d3e Switcher button in chat is back (#14717) 2023-01-09 18:37:54 +01:00
Churikova Tetiana e289ad8968 e2e: fixes + workarounds 2023-01-09 14:46:24 +01:00
John Ngei 043e218320 show selected list item context actions view (#14676)
* show selected list item context actions view

* show selected list item context actions view

* fixed showing thumnails on communities
2023-01-09 16:36:17 +03:00
John Ngei 1cdcd298b0 Scrollable tags (#14182)
* refactored scrollable-tags to share the same logic with scrollable-tabs

* refactored tabs component to support scrollable-behaviour
2023-01-08 22:40:59 +03:00
Ibrahem Khalil 4cdc166e41 Add accessibility labels for chat long press (#14685) 2023-01-06 14:39:14 +02:00
Alexander b358a23060 Adjusted border color on outline button (#14711) 2023-01-05 23:35:48 +01:00
Churikova Tetiana b158310057 e2e: workarounds 2023-01-05 18:01:57 +01:00
Parvesh Monu d6159ac269 Persist switcher cards (#14701)
https://github.com/status-im/status-go/compare/b4bdfd3d...d40290a6
2023-01-05 21:50:09 +05:30
Icaro Motta 7cf17b5d34 Move unit test helper namespace to src/test_helpers/ (#14716) 2023-01-05 11:58:37 -03:00
Icaro Motta bad796db90 Fix clojure.set and clojure.walk inconsistent namespace aliases (#14715) 2023-01-05 10:54:32 -03:00
Omar Basem 951fd43d10 Images Album (#14635)
* feat: images album
2023-01-05 16:31:32 +04:00
Siddarth Kumar bb4a4207df abstract running code in separate thread for native java modules (#14690)
This commit adds a new helper method `executeRunnableStatusGoMethod`
The helper method accepts arguments and calls the status go method in a new thread.
2023-01-05 14:42:39 +05:30
Mohamed Javid e30f895fe9 [Feature] Implement replies notification in Activity Center (#14656)
* [Feature][#14550] Added Replies UI in Activity Center

* [Fix][#14550] Removed underlay color from touchables in Replies UI in Activity Center

* [Fix][#14550] Comments from review

* [Fix][#14550] Comments from review

* [Feature][#14550] Added community support on tags in AC

* [Feature][#14550] Date utils test
2023-01-04 21:31:37 +08:00
Siddarth Kumar ec15232af8 Make sure mobile understands community share link by Desktop (#14679)
* we are now able to navigate to desktop communities

https://github.com/status-im/status-go/compare/b4bdfd3d...d2e95eee

In this commit we add support for various status-go methods in mobile :
- `multiformatSerializePublicKey`
- `multiformatDeserializePublicKey`
- `compressPublicKey`
- `decompressPublicKey`
- and my personal favourite `deserializeAndCompressKey`

When someone pastes a community joining share url into chat and taps on it, we check whether the community was generated on a desktop or mobile.
We need to do this because currently both the clients have different urls for joining a community.

Once we have identified that the url is generated via desktop we then convert that url to something that the mobile client is used to.
This enables the mobile client to view this community and interact with it.

However more work needs to be done in the future to ensure that mobile implements these compressed keys end to end, we need to get this feature in so that
by the time RC1 is released mobile client is able to join communities created by Desktop.
2023-01-04 18:24:11 +05:30
Churikova Tetiana 590c0629b6 e2e: new groups 2023-01-04 12:33:02 +01:00
Jinho Jang 944bfe2655 Update translation (#14483) 2023-01-04 12:18:26 +01:00
Parvesh Monu 63ace4da76 Improve switcher last content (#14626) 2023-01-04 03:32:51 +05:30
Matias Grote 697aa1c394 Add profile ui to quo_preview (#14652)
Add profile ui to quo_preview (#14652)
2023-01-03 20:23:16 +01:00
flexsurfer 228c596a9b cleanup and i18n revert (#14694) 2023-01-03 19:19:21 +01:00
Siddarth Kumar 3fa6112669 PR for to ensure native modules are compiled with java version 8 (#14693)
* explicitly mentioning which version of java to use
* fix indentation of closing bracket
2023-01-03 21:30:34 +05:30
Ibrahem Khalil 894be3e4e2 Reply showing unknown (#14682) 2023-01-02 22:08:40 +02:00
Omar Basem 8d08de3d4b Move photo selector to status-im2 (#14661)
* Move photo selector to status-im2
2023-01-02 08:04:03 +04:00
Churikova Tetiana 0a0b70c633 e2e: workarounds 2022-12-30 15:34:25 +01:00
Omar Basem b85eb4184a feat: group details screen (3.3) (#14654)
* feat: group details screen (3)
2022-12-30 18:14:24 +04:00
Ibrahem Khalil 13e59635c7 Add accessibility labels to mentions (#14667) 2022-12-30 15:25:49 +02:00
Ulises Manuel Cárdenas 5493d059b9 UI Component - Account (#14643)
* Implement accounts component
2022-12-30 10:44:21 +01:00
Parvesh Monu 110debc4c4 fix home stack height (#14639) 2022-12-30 09:04:37 +05:30
Jamie Caprani 1677574a6a migrate datetime to utils and finish i18n migration (#14604)
chore move datetime to common and update imports

 chore: move i18n tests and update imports, adjust i18n so translations are loading correctly
2022-12-29 13:56:11 -08:00
Ibrahem Khalil ef21312162 New chat flow (#14607) 2022-12-29 15:57:42 +02:00
Churikova Tetiana 8dac11544e e2e: activity centre 2022-12-29 14:49:35 +01:00
Ibrahem Khalil 77629fa7e1 Edit message issues (#14638) 2022-12-29 14:52:05 +02:00
Icaro Motta 915b8ebd9a New component Selector > Filter (#14650) 2022-12-28 12:21:15 -03:00
Christoph Pader 6280a6c4d5 feat: implement quo2 bottom sheet component (#14209) 2022-12-28 15:23:58 +01:00
Omar Basem b45261f2e5 Photo selector fix (#14646)
* fix: photo-selector
2022-12-28 14:40:13 +04:00
yqrashawn 4ce71e4d29 refactor: fix make lint and reformat (#14653) 2022-12-28 15:47:55 +08:00
yqrashawn 9ded8bfe97 chore: tweak zprint conf (#14645) 2022-12-28 10:05:24 +08:00
Jamie Caprani aca8c9250f add Non Token Gated - Manual Approval Required flow (#14513)
chore: add flow for closed community overview page
2022-12-26 16:05:03 -08:00
Mohamed Javid 99f7788c22 [Fix] Scroll To Index bug in Scrollable Tabs (#14641) 2022-12-27 00:13:24 +08:00
Volodymyr Kozieiev 9c7b69a2cd status-im/utils/fx replaced with utils/re-frame to avoid unambiguities (#14640) 2022-12-26 15:00:17 +00:00
flexsurfer a39e0f6fbd move messages to status-im2 (#14573)
* move messages to status-im2
2022-12-23 15:33:54 +01:00
Icaro Motta a8d392e4de Redirect user to Activity Center to manage pending contact requests (#14610) 2022-12-23 11:30:46 -03:00
Ibrahem Khalil d9e8fea14b Fix bottom spacing on image selector (#14612) 2022-12-23 10:33:01 +02:00
andrey 8ff32f4fc3 Revert "Group details screen (3) (#14494)"
This reverts commit e21b8d4396.
2022-12-23 07:32:23 +01:00
Omar Basem e21b8d4396 Group details screen (3) (#14494)
* group details screen (3)
2022-12-23 07:18:09 +04:00
Ibrahem Khalil 1af6d925d2 Message input issues (#14571) 2022-12-22 22:38:55 +02:00
Jamie Caprani 9937914594 feat: add banner component to quo2 (#14608) 2022-12-22 05:20:38 -08:00
yqrashawn e9252f5025 refactor: migrate json-rpc to status-im2.common.json-rpc.events (#14614) 2022-12-22 14:03:55 +08:00
Jamie Caprani 2610f27190 chore: add component tests (#14538) 2022-12-21 15:35:27 -08:00
Ibrahem Khalil 3dda878742 Add elevation to show image list (#14609) 2022-12-21 21:32:23 +02:00
pavloburykh 1fb41b2ca0 e2e: nightly fixes 2022-12-21 19:17:14 +02:00
Mohamed Javid 7c2d76d00f Channel name update in Context Tag (#14578)
* [Update][#14555] Channel name update in Context Tag

* [Update][#14555] Changes requested on Context Tag Component

* [Update][#14555] Changes requested on Context Tag Component
2022-12-21 20:03:58 +08:00
flexsurfer 270acefcf1 bump status-go v0.117.1a, fix empty chat (#14596) 2022-12-21 10:47:31 +01:00
Roman Volosovskyi 45e05b3f2b [#14545] Force update wakuv2 default configs 2022-12-21 10:24:37 +01:00
Ajay Sivan 9f1af8a9c2 fix: Chat scroll to bottom (#14570) 2022-12-21 10:14:38 +01:00
yqrashawn 69c90c25ab fix: fx merge error on ::json-rpc/call (#14594) 2022-12-21 16:43:38 +08:00
yqrashawn 388e5fae22 fix: toast component based on review (#14593) 2022-12-21 14:46:57 +08:00
yqrashawnandrefactor-only 0a8993bbf1 refactor: reformat all clojure code with zprint (#14589)
Co-authored-by: refactor-only <auto@status.im>
2022-12-20 22:45:37 +08:00
yqrashawn 39e29cfb5a feat: replace clj-fmt with zprint (#14520) 2022-12-20 21:57:49 +08:00
yqrashawn 37909c2d81 feat: toast component (#14376) 2022-12-20 21:52:28 +08:00
yqrashawn 01660765b7 refactor: delete message related code (#14548) 2022-12-20 21:42:50 +08:00
Brian Sztamfater c0c0742687 feat: record audio button
Signed-off-by: Brian Sztamfater <brian@status.im>
2022-12-20 10:01:19 -03:00
Siddarth Kumar b074e9c58e moving security from status-im ns to root utils (#14567)
making a lint a fix

update old decision doc

fixing issues while poorly rebasing

fix incorrect ns imports
2022-12-20 17:56:21 +05:30
Icaro Motta 8cf95cdb30 New make target to run tests via REPL (#14576) 2022-12-20 09:07:00 -03:00
Omar Basem ba41d4b271 Photo Selector 2 (#14487)
* Photo Selector (2)
2022-12-20 07:36:06 +04:00
Guilherme Devincenzi 003b0ffb1e feat: add privacy options component (#14500) 2022-12-19 20:12:58 +01:00
Parvesh Monu dbd61a34a0 Update shell placeholder screen with new designs (#14572) 2022-12-19 14:51:53 +05:30
Yevheniia Berdnyk cbb6571954 e2e: Updated tests 702807 and 702808 2022-12-19 04:02:57 +02:00
Siddarth Kumar 7b72391e60 remove comment blocks which are not useful (#14563)
Adding a series of // characters (i.e., a "comment bar") above every method in an Objective-C file would not provide any real benefit, and would in fact be redundant, as the method list in Xcode already serves as a visual separator for methods in a class.
The #pragma mark directive,  is a more concise and effective way to add separators and group related methods in a class. We should use #pragma mark to create a separator line and add a heading to describe the methods in a particular section.
2022-12-16 22:39:39 +05:30
Icaro Motta 269d13e2f8 Move Activity Center to new app structure (#14554) 2022-12-16 10:45:00 -03:00
Siddarth Kumar fc07fbf787 UI for mobile to mobile local pairing - updated (#14514)
* ui for local pairing

lint-fix

removed un-necessary +

addressing some of the feedback on PR

more feedback + removing feature toggle from ui

getting rid of comments/log messages over here

tidy up logs

fix typos and more i18n stuff

swap % with a named parameter

getting rid of global state + lint-fix

get rid of un-used function

icon guidelines and more kebab case stuff :>

moving stuff to events and utils namespace

:main-icons -> :i :)

address feedback and adhere to guidelines etc

fixed the :t/ qualification

moree feedback :-D

referring status-im.utils.security for now

adding "cs" to constants

make tests pass

re-frame to rf

addressing feedback

moving icons to icons2 & renaming stuff

trying to make this file the way it was before

missed out on updating these references

getting rid of the icons moved to icons2

This reverts commit be8552c0d3daaf7a7333cfeaf304d97c86d50d3e.

fixing mistakes

getting rid of the s

* this rename makes sense to me

* adding an alias to the view

* fixed broken up namespaces
2022-12-16 18:40:56 +05:30
Ajay Sivan 621e41e6ab feat: Added Dividers Date Component to quo2 (#14546)
* feat: Added Dividers Date Component  to quo2
2022-12-15 17:18:54 +01:00
Andrea Maria Piana 3e3a365ffb Enable waku2 by default 2022-12-15 12:39:49 +00:00
Ibrahem Khalil 4e6a37fdd0 Message input issues (#14450)
Message input issues (#14450)
2022-12-15 10:49:54 +01:00
Icaro Motta 08fb0de7b0 Remove old Notification Center (#14533) 2022-12-14 18:00:32 -03:00
pavloburykh f47bc6e40e e2e: new community tests 2022-12-14 10:07:46 +01:00
Jamie Caprani 6a05d43b75 chore: add some component tests (#14511) 2022-12-13 14:19:20 -08:00
Volodymyr Kozieiev 68ea7cdfc5 Communities now correctly listed in pending/joined sections. (#14515) 2022-12-13 20:55:32 +00:00
Icaro Motta 5693df5a74 Lint namespace aliases (#14526) 2022-12-13 17:04:26 -03:00
flexsurfer c7a371c104 move messages screen to status-im2 (#14530)
* move messages screen to status-im2
2022-12-13 13:27:13 +01:00
Parvesh Monu 11d02c1057 fix unread badge and add back button accessibility id (#14525) 2022-12-13 14:56:46 +05:30
Churikova Tetiana c13be92505 e2e: new activity center flow 2022-12-09 13:58:54 +01:00
Icaro Motta ae10908984 Set Activity Center as the new default (#14492) 2022-12-09 09:52:18 -03:00
Jamie Caprani 53ef1ef4b5 chore: refactor scroll page component to be more generic (#14453)
chore: refactor scroll page component to be more generic
2022-12-09 04:07:21 -08:00
yqrashawn bd84a36582 feat: new delete message (#14232) 2022-12-09 15:35:41 +08:00
Roman Volosovskyi 9be8a5b961 Add peers stats screen 2022-12-08 13:28:09 +01:00
flexsurfer 5ca46fe805 Bug/composer background fix (#14502)
* [#14385] Chat view freezes if open/close chat multiple times (iOS)
2022-12-07 17:36:26 +01:00
jakub 2f1c236333 ci: update Apple dev team ID to update the org
We are trasnferring the Apple app to the new Switzerland based Apple
development organization/team from the old Singapore one, and to make
this work we also need to update the development team ID.

This should fix the following failure:
```
Could not find App ID with bundle identifier 'im.status.ethereum'
You can easily generate a new App ID on the Developer Portal using 'produce':
```
https://ci.infra.status.im/job/status-mobile/job/platforms/job/ios/854/console

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-12-07 10:45:14 +01:00
Yevheniia Berdnyk f2fa3a1886 Fixed test_group_chat_pin_messages and moved to PR tests 2022-12-06 23:16:55 +02:00
Parvesh Monu e6628bd346 fix app crashing on opening community channel (#14499) 2022-12-06 23:16:28 +05:30
Icaro Motta 6e272a96c8 Introduce subscription tests (#14472) 2022-12-06 13:36:05 -03:00
flexsurfer da0f0d3a81 move messages main screen to status-im2 (#14491)
* move messages main screen to status-im2
2022-12-05 14:22:06 +01:00
frank f7af7ca25d Allow owner/admin to delete messages of a community (#14366) 2022-12-02 20:13:02 +08:00
Christoph Pader f3ad8beb6d fix: channel list-item not clickable (#14469) 2022-12-02 11:45:26 +01:00
yqrashawn 2e68fb22f5 feat: add display-name in author component (#14473) 2022-12-02 14:42:16 +08:00
Christoph Pader f18044c9dc Implement Token Gating (#13899)
* feat: implement token gating component

* fix: add .calva to gitignore
2022-12-01 13:30:07 +00:00
Jamie Caprani 5947769881 chore: update action drawer with designer feedback (#14465) 2022-12-01 03:58:50 -08:00
Parvesh Monu d4897de205 partially implement shell jump-to navigation (#14410) 2022-11-30 21:46:01 +05:30
Jamie Caprani d948939ce3 fix: adjust community cards on discover page (#14444)
fix: adjust community cards on discover page
2022-11-30 01:58:44 -08:00
Yevheniia Berdnyk 1000cb79a2 Creating users and getting names in parallel 2022-11-29 18:09:39 +02:00
Mohamed Javid f55b646c20 [Chore] Use common for repeated code (#14454)
* [Chore] Use common for repeated code

* [Chore] Removed empty file
2022-11-29 22:47:35 +08:00
Mohamed Javid bc7578ae85 [Feature] Added Mentions in Activity Center (#14451)
* [Feature][#14352] Added mentions in Activity Center

* [Update][#14352] Update in namespace

* [Update][#14352] Code Style

* [Update][#14352] Created commons for AC and fix warning on text
2022-11-29 21:55:33 +08:00
Omar Basem 49e9738ff8 Group Details Screen (2) (#14427)
* feat: group details screen (2)
2022-11-29 10:41:19 +04:00
Brian Sztamfater 9e1412007f fix: edit message
Signed-off-by: Brian Sztamfater <brian@status.im>
2022-11-28 10:21:50 -03:00
Icaro Motta c198133769 Update guidelines (#14445) 2022-11-28 09:58:36 -03:00
Jamie Caprani 6d5ff4aa92 chore: fix issues with e2e tests after refactors (#14440) 2022-11-28 03:17:12 -08:00
Jamie Caprani 0e614d51ef feat: add scrolling in community (#14281) 2022-11-28 02:24:31 -08:00
Icaro Motta 42de2a6384 Mark notifications as read based on call to action (#14439) 2022-11-25 16:10:29 -03:00
Ibrahem Khalil 3d71fdba98 [14429] Fix mentions (#14442) 2022-11-25 15:04:15 +02:00
Jamie Caprani 9de4417f03 chore: update nix config to reference babel.config.js file (#14436)
* chore: update nix config to reference babel.config.js file

* chore: update component test make command
2022-11-24 13:05:58 -08:00
Parvesh Monu 9e7db45d08 fix everyone is displaying as online in community channel and chat list (#14431)
also fixes issue with visibility status popover not opening
2022-11-24 19:45:27 +05:30
Omar Basem 14c243803f Photo Selector (1) (#14426)
* feat: photo-selector (1)
2022-11-24 15:29:54 +04:00
jakub e61889f16c ci: add missing suffix to android e2e builds
Fix for same naming of e2e and universal builds.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-11-24 10:23:28 +01:00
Parvesh Monu 1230594046 test build fix (#14435) 2022-11-24 14:50:57 +05:30
jakub 3fc1ba357e ci: bump jenkins lib to match desktop
Related to: https://github.com/status-im/status-desktop/pull/8420
Depends on: https://github.com/status-im/status-jenkins-lib/pull/53

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-11-23 19:48:55 +01:00
flexsurfer 3152cf0aa3 adjust navigation colors and small bugfixes (#14403)
* adjust navigation colors and small bugfixes
2022-11-23 17:30:11 +01:00
Jamie Caprani c6e8aad745 feat: add component tests using react-testing-library and jest (#14331) 2022-11-23 05:59:18 -08:00
flexsurfer bab0fc7ac0 move chats home (#14419)
* move chats home
2022-11-23 14:33:40 +01:00
frank 32d85d5059 Allow styling text in composer when selecting it with native actions (#14249) 2022-11-23 10:28:44 +08:00
Churikova Tetiana a9295ac17e e2e: test sections and fix 2022-11-22 17:44:28 +01:00
jakub 7dccbf2395 ci: separate buckets for mobile and desktop builds
Possible fix for slow upload speeds and failures caused by most probably
hitting per-bucket rate limits of DigitalOcean:

>- 500 total operations per second to any individual bucket.
>- 300 combined PUT, POST, COPY, DELETE, and LIST operations per second to any individual Space. We may further limit LIST operations if necessary under periods of high load.y

https://docs.digitalocean.com/products/spaces/details/limits/#rate-limits

Depends on: https://github.com/status-im/status-jenkins-lib/pull/52

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-11-22 16:55:59 +01:00
Brian Sztamfater 4a87122336 feat: author component
Signed-off-by: Brian Sztamfater <brian@status.im>
2022-11-21 15:46:56 -03:00
Roman Volosovskyi d18c3ad102 [#14381] Wrap texts with view to ensure separate accessibility labels 2022-11-21 15:40:29 +01:00
Icaro Motta e53f58d8c0 Fix various Activity Log layout issues (#14405) 2022-11-21 11:19:50 -03:00
Omar Basem 5492fb472f Group Details Screen (#14377)
* feat: group details screen
2022-11-21 16:03:49 +04:00
flexsurfer c08d58577d move quo preview (#14409) 2022-11-21 11:03:07 +01:00
Yevheniia Berdnyk 946640339a e2e: pin messages in 1-1 and group chats 2022-11-21 06:49:53 +02:00
Jamie CapraniandErik Seppanen 72d43ba745 Visual tests setup (#14329)
feat: configuration setup for visual tests

Co-authored-by: Erik Seppanen <esep@protonmail.com>
2022-11-20 15:46:04 -08:00
Icaro Motta f4d9162ff8 Fix reconciliation for new filter type :all (#14401) 2022-11-18 06:15:39 -03:00
Omar Basem 73bbfa7d31 Fix Metro Warnings ⚠️ (#14389)
* fix: metro warnings ⚠️
2022-11-17 21:19:54 +04:00
Mohamed Javid 84da3128bf [Fix] Activity Centre UI bug (#14398)
* [Fix] Activity Centre UI bug

* [Fix] Namespace update for config

* [Chore] Moved navigation to Activity Center as reframe event

* [Chore] Code Format
2022-11-18 00:15:49 +08:00
flexsurfer 3777ebc36e move communities 2 (#14394) 2022-11-17 16:43:02 +01:00
Roman Volosovskyi 4c6b4e2d02 [#14388] Re-enable bug reporting 2022-11-17 15:01:45 +01:00
Roman Volosovskyi e469d97702 [#14372] Fix message content type on editing 2022-11-17 08:23:53 +01:00
Roman Volosovskyi cf753a0892 [#14381] Add accessibility lables for chat key and timestamp in message 2022-11-17 07:16:30 +01:00
Icaro Motta 0f7ccce3df Implement identity verification flow (#14365) 2022-11-16 16:46:04 -03:00
Mohamed Javid 509ffc2a01 [Feature] Added messages skeleton (#14072)
* [Feature][#14025] Added Messages Skeleton while loading messages

* [Improvements][#14025] Added animation to message skeleton

* [Improvements][#14025] Changed to Reanimated2 for message skeleton animation

* [Chores][#14025] Removed unused code

* [Improvements][#14025] Added preview screen for messages skeleton

* [Improvements][#14025] Style update for messages skeleton

* [Chore][#14025] Indentation for message skeleton

* [Improvements][#14025] On Layout calculation cleanup

* [Fix][#14025] Added Skeleton on New UI only

* [Chore] Moved Message Skeleton to new UI

* [Feature][#14025] Added Message Skeleton on message gap

* [TEMP][#14025] Added delay of preloading messages for testing

* [Lint][#14025] Lint fixes for Message Gap component

* [Chore][#14025] Reanimated namespace update

* [Chore][#14025] React native namespace update

* [Chore][#14025] Rollback preload messages
2022-11-17 00:43:58 +08:00
John Ngei e44d4c83c0 communites home screen context actions (#14371) 2022-11-16 17:48:18 +03:00
flexsurfer cc733a379c move communities (#14384) 2022-11-16 14:09:16 +01:00
flexsurfer 803328dc4c move switcher (#14378)
* move switcher
2022-11-16 12:00:16 +01:00
Roman Volosovskyi 255049c312 Fix uniq :key warning on opening chat 2022-11-16 10:46:32 +01:00
flexsurfer 31b6e076be new structure continue, move utils, move fx macro to re-frame utils n… (#14373)
* new structure continue, move utils, move fx macro to re-frame utils namespace
2022-11-16 09:09:25 +01:00
frank 433f9185c8 Use WakuNodes in ClusterConfig for Waku V2 (#14283) 2022-11-16 00:27:19 +08:00
Andrea Maria Piana 04408af45c Fix logout & upgrade status-go 2022-11-15 15:17:59 +00:00
Omar Basem ea7548d54a Confirmation Dialog (#14348)
* feat: confirmation dialog
2022-11-15 17:34:38 +04:00
Andrea Maria Piana c7ac53fdd0 Add icons & mentions/unread counts to community list 2022-11-15 13:03:48 +00:00
Roman Volosovskyi 48f86ff862 [#14311] Fix icons in message actions bottom sheet 2022-11-15 13:29:12 +01:00
Parvesh Monu f408035f5e Improve shell animations (#14341) 2022-11-15 16:45:43 +05:30
Parvesh Monu 1228f4aa26 Add accessibility to components (#14359)
- chat name text component
- quoted message text component
2022-11-15 16:41:56 +05:30
Christoph Pader 2f4d8accae feat: implement selectors with blurred background 2022-11-15 10:44:17 +01:00
andrey b8bfb2df80 new structure fixes 2022-11-15 10:33:32 +01:00
andrey 4654402feb new structure fixes 2022-11-15 06:56:33 +01:00
Parvesh Monu e8c44632ab fix community channel back button (#14358) 2022-11-15 03:29:03 +05:30
flexsurfer c7d5e90882 introduce new project structure (first step) (#14356)
* introduce new project structure
2022-11-14 19:16:55 +01:00
Roman Volosovskyi 4353c4a40c [#14245] Fix read/unread notifications filter 2022-11-14 13:40:20 +01:00
Icaro Motta a77f662948 Document new guidelines (#14309) 2022-11-14 07:15:49 -03:00
Omar Basem 57526a45ad Bottom sheet missing actions (#14332)
* feat: bottom sheets
2022-11-11 17:02:39 +04:00
Omar Basem 8fc853373b Rename :main-icons2 to :i (#14335)
* chore: rename icons
2022-11-11 15:45:54 +04:00
Andrea Maria Piana 5e814b7a03 Add display name 2022-11-10 20:00:49 +00:00
Omar Basem 61fd5fd791 Chat user dp (#14314)
* feat: chat-user-dp
2022-11-10 18:26:57 +04:00
Andrea Maria Piana 466dfe56d7 Fix emoji reactions 2022-11-10 13:48:12 +00:00
Andrea Maria Piana 8aee25509e Restore bottom sheet for chats 2022-11-10 13:46:27 +00:00
flexsurfer 8168d224d3 quo2 core (#14319)
* quo2 core
2022-11-10 12:10:16 +01:00
Andrea Maria Piana aca296030c Show bottom sheet when recovering account 2022-11-10 09:11:58 +00:00
yqrashawn f5a61d9a8b chore: fix can't remove node 0 error breaking react-devtools (#14316) 2022-11-10 16:42:41 +08:00
flexsurfer 3c1c8a120d cleanup quo2 2, remove status-im usage (#14308) 2022-11-10 09:10:43 +01:00
yqrashawn 3925de58b1 chore: lint against re-frame dispatch/subscribe in quo components (#14282) 2022-11-10 10:22:42 +08:00
Richard Ramos 0f6022a731 chore: set gowaku build tags for status-go
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-11-09 18:47:15 +01:00
John Ngei a1c1be8f8a updated communities home and discover screen (#14018) 2022-11-09 15:41:34 +03:00
Andrea Maria Piana 01eae4da9c upgrade react native to 0.63.5 2022-11-08 19:50:36 +00:00
Roman Volosovskyi 77d0084467 Attempt to fix too long prefix for notification types 2022-11-08 19:13:56 +01:00
flexsurfer 5907edccc8 cleanup quo2 (#14301)
* cleanup quo2
2022-11-08 18:30:17 +01:00
Churikova Tetiana add00a5609 e2e: configurable datacenter 2022-11-08 10:35:05 +01:00
Omar Basem f17f57cc5e Messages home items (#14256)
* feat: messages home items
2022-11-08 13:01:02 +04:00
frank 187d147dc7 fix #14236 Sometimes profile pictures don't load (#14257) 2022-11-07 16:58:29 +01:00
pavloburykh b378d88aaf e2e: deep_link tests 2022-11-04 16:54:13 +02:00
Ibrahem Khalil 3b69e5873e Add members key to the chat-preview flow to show count of members on chat preview (#14274) 2022-11-03 12:10:01 +03:00
Andrej Česen 5e5ed0a11e Add code-snippet component (#14275) 2022-11-03 10:55:33 +03:00
Ibrahem Khalil bca2258508 Format numbers helper (#14186)
format number to 100000 -> 100k/ 1000000000 -> 1b/ 1000000 -> 1m
2022-11-03 10:33:34 +03:00
flexsurfer 7b739dff45 New icons (icons2) not working in token-tag component #14277 (#14280) 2022-11-01 14:58:33 +01:00
du64 ab1dd7e794 Fix typo (replace backtick with apostrophe) (#14255) 2022-10-29 17:24:29 +02:00
Churikova Tetiana 0967582639 e2e: non-latin 2022-10-28 15:54:08 +02:00
Icaro Motta 91b237d3d3 Fix unbounded number of calls to fetch notifications (#14250) 2022-10-27 16:21:41 -03:00
Icaro Motta 69303cd7d1 Implement positive button state (#14252) 2022-10-27 16:03:18 -03:00
Andrea Maria Piana b774ecbcb4 Add chat actions in home screen
This commit adds the following chat actions on the home screen:

- Mute chat
- Delete chat
- View profile (one to ones only)
- Clear history

It adds also integration tests for muting and deleting a chat.

To accommodate multiple dividers in the bottom sheet, the interface has
been changed to accept a sequence of sequences, instead of a map.
2022-10-27 17:53:30 +01:00
Roman Volosovskyi b492ed2969 [#14230] Reset :current-chat-id on pressing back from chat screen 2022-10-27 15:01:10 +02:00
Mohamed Javid 6d557d735a Activity Center UI Fixes (#14244)
* [Fixes] Activity Center UI Issues

* [Chore] Lint Fixes
2022-10-27 20:20:03 +08:00
Roman Volosovskyi f29ed58445 [#14230] Load newly received messages on reopening chat (ISSUE 1) 2022-10-27 11:13:22 +02:00
Churikova Tetiana 1941591110 new ui e2e: reaction and text message in 1-1 2022-10-26 17:14:25 +02:00
Ibrahem Khalil a91e9dfb38 Fix message showing behind message composer (#14238) 2022-10-26 16:40:46 +02:00
Omar Basem c423aa7970 Unpin messages (#14204)
* feat: pinned messages new ui
2022-10-26 17:18:50 +04:00
Icaro Motta 910bafc5f4 Display contact verification requests and allow users to decline them (#14223) 2022-10-26 07:48:07 -03:00
Omar Basem 2ae57f7b21 Messages contact requests (#14221)
* feat: messages contact requests
2022-10-26 10:42:53 +04:00
Jamie Caprani 14a5edb24b fix: adjust selectors to designs (#14214) 2022-10-25 01:50:39 -07:00
Parvesh Monu 0ff6fb25f4 Shell & Bottom Tabs Migration (#14099)
* Shell & Bottom Tabs Migration

* Added accessibility ids for elements in the new UI
2022-10-24 18:35:06 +05:30
flexsurfer 38c95804ae move reaction-drawer and fix some icons2 (#14211)
* move reaction-drawer and fix some icons2
2022-10-21 16:13:26 +02:00
Roman Volosovskyi d281ef8e21 [#14120] Remove Ropsten and Rinkeby test networks 2022-10-21 13:20:40 +02:00
Jamie Caprani 0826ef57f2 feat: add leave community feature to redesign (#14169) 2022-10-21 02:06:53 -07:00
jakub 41f2c08736 android: use projectDir for VERSION file path
Otherwise Android Studio can't find the relative path because it uses
`/` as it's working directory. Which makes no sense.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-21 10:20:28 +02:00
yqrashawn 2bfc57281a docs: run tests in repl (#14206) 2022-10-21 16:02:30 +08:00
yqrashawn 0cbd3ec805 feat: deleted for me message UI (#14168)
* feat: delete for me message UI

delete and sync deleted for me messages immediately after leaving chat
view

Signed-off-by: yqrashawn <namy.19@gmail.com>

* fix: system message width/height

Signed-off-by: yqrashawn <namy.19@gmail.com>

Signed-off-by: yqrashawn <namy.19@gmail.com>
2022-10-21 13:12:40 +08:00
Omar Basem 1b6eaec719 Show pinned messages ui2 (#14184)
* show pinned messages new UI
2022-10-20 22:52:55 +04:00
jakub 93f5b2e32c nix: fix shadow-cljs on M1 by upgrading to 2.11.16
On M1 calling `shadow-cljs` fails with:
```
Execution error (UnsatisfiedLinkError) at java.lang.ClassLoader$NativeLibrary/load (ClassLoader.java:-2).
/private/var/folders/__/x311ykg17rqgq2wyl4kn1pdr0001yh/T/jna8753030888504535661.tmp:
    dlopen(/private/var/folders/__/x311ykg17rqgq2wyl4kn1pdr0001yh/T/jna8753030888504535661.tmp, 0x0001):
        tried: '/private/var/folders/__/x311ykg17rqgq2wyl4kn1pdr0001yh/T/jna8753030888504535661.tmp'
            (fat file, but missing compatible architecture (have (unknown,i386,x86_64), need (arm64e)))
```
This is due to an outdeted dependency on JNA 3.2.2, which is pulled in
by `hawk` package which up until release `2.11.16` was a `shadow-clj`
dependency which was removed because it was:

>Only used to be used on macOS since it was slightly faster than the default
>JVM implementation. However in Big Sur it seems to cause issues and break
>completely or just be a lot slower.

https://github.com/thheller/shadow-cljs/commit/f3b89b5a

Dropped the explicit dependency on `org.clojure/core.async` to avoid:
```
WARNING: The org.clojure/core.async dependency in shadow-cljs.edn was ignored.
Default version is used and override is not allowed to ensure compatibility.
```

Resolves: https://github.com/status-im/status-mobile/issues/14196

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-20 17:54:02 +02:00
andrey 99bd5d80ea fix icons2 2022-10-20 15:06:43 +02:00
Ibrahem Khalil 1aaa9acc80 Fix tab not selecting and Error: No protocol method IDeref.-deref defined for type string: (#14194)
* Fix laziness and let defined in render
2022-10-20 14:04:13 +02:00
flexsurfer 258f92c691 icons2 (#14190) 2022-10-20 13:47:24 +02:00
Churikova Tetiana 180df967e8 e2e: move to EU datacenter 2022-10-20 10:07:29 +02:00
Omar Basem 153dbb2de1 Messages home tabs new UI in ui2 (#14183)
* feat: messages home new ui
2022-10-20 08:54:27 +04:00
Roman Volosovskyi c017c01c53 [#11335] Use Pokt network as an infura replacement 2022-10-19 17:00:17 +02:00
Icaro Motta 5d775d93fa Use native binary for the clj-kondo linter (#14179) 2022-10-19 09:54:01 -03:00
pavloburykh b39f56722a e2e: new tests 2022-10-18 19:50:23 +03:00
frank 7ac2e1aa20 replace web3-utils methods usage by status-go (#13940)
Signed-off-by: frank <lovefree103@gmail.com>
2022-10-19 00:05:07 +08:00
Omar Basem 3aaa7e4c4e feat: edit/delete/reply for emoji/sticker/audio (#13808)
* feat: edit/delete/reply, fixed unnecessary changes
2022-10-18 17:20:27 +04:00
Mohamed Javid c6ac899b44 Feature/blur activity center background (#14165)
* [feature][#14131] Blur view background for Activity Center

* [Improvements][#14134] Force Dark Mode on Activity Center

* [Rollback][#14131] Message Content in Activity Center

* [Fix][#14131] Touchable overlay preventing scroll

* [Fix][#14131] Sticky Header in Activity Center

* [Fix][#14131] Removed unused imports

* [Fix][#14131] Naming of components

* [Fix][#14131] Formatting of code
2022-10-18 16:56:40 +08:00
flexsurfer 00fbb0dee6 Introduce new ui2 namespace, move chat to new namespace and remove new UI toggle from UI (#14156)
* enable new ui by default, introduce new ui2 namespace, move chat to the new namespace
2022-10-17 15:44:48 +02:00
Ibrahem Khalil 094a7421c1 Account avatar component (#13700) 2022-10-17 13:58:52 +02:00
Jamie Caprani 62c6a0ea72 feat: add drawers - action drawers component to quo2 library (#14157) 2022-10-17 03:14:39 -07:00
John Ngei 7f54427df4 Fix: refactored token token to fix a bug (#14152) 2022-10-17 11:18:24 +03:00
Parvesh Monu ac9fb2fe4d fix ens name turns into public key while editing message (#14149) 2022-10-14 17:35:36 +05:30
yqrashawn 509b8bf3e1 fix: remove strict equal check on timer in delete for me test (#14159)
fix #14155
2022-10-14 11:06:41 +02:00
frank a74a44e492 Allow dApps to suggest change of RPC (EIP-3085 EIP-3326) (#13716) 2022-10-14 10:32:55 +02:00
Omar Basem af3ba74e30 feat: pinned messages new ui (#14147)
* feat: pinned messages new ui
2022-10-13 22:27:56 +04:00
Omar Basem 5492d502fc feat: autocomplete mentions new ui (#14142)
* feat: autocomplete mentions new ui
2022-10-13 21:59:19 +04:00
Parvesh Monu 7368478033 Implementation of Floating Shell Button (#14154) 2022-10-13 16:59:34 +05:30
yqrashawn bc050af9ed feat: delete for me logic without UI (#14007) 2022-10-12 21:21:20 +08:00
jakub d6a8f912ea nix: upgrade nixpkgs to latest nixos-unstable
Notable upgrades:

* Go `1.17.11` to `1.18.6`
* NodeJS `16.15.0` to `16.17.1`
* Clojure `1.11.1.1139` to `1.11.1.1165`
* Ruby Gem `3.2.26` to `3.3.20`
* Bundler `2.3.9` to `2.3.22`
* Git `2.36.1` to `2.37.3`
* Curl `7.83.1` to `7.85.0`
* OpenSSL `1.1.1o` to `3.0.5`
* PatchELF `0.14.5` to `0.15.0`
* Android SDK Platform Tools `33.0.1` to `33.0.2`

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-12 11:07:57 +02:00
jakub 6a23f64550 nix: re-add step to call bundler install
Was removed in:
https://github.com/status-im/status-jenkins-lib/pull/48

But only causes issues when version of Ruby Gems change.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-12 11:07:56 +02:00
jakub 4bbacf542c fastlane: update gems
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-12 11:07:55 +02:00
Ibrahem Khalil 6991f213af [#13569] Page Nav (#13773) 2022-10-11 15:01:28 +02:00
flexsurfer 35eae4587b clean deps and fix warnings (#14141) 2022-10-11 12:20:37 +02:00
Parvesh Monu 46fd30597a Implementation of Dynamic Button Component (#14127) 2022-10-11 14:10:54 +05:30
Icaro Motta af5f979443 [#13968] Fetch and reconcile notifications by type and read status (#14125)
- Extract tabs component from the main screen component to reduce rendering cost when switching tabs.
- Display empty state component when there are no notifications.
- Fix screen flickering due to quickly flushing and filling the db state.
- Display top bar as a sticky header.
- Namespace icon keywords.
- Correctly sorts notifications during reconciliation.
- Remove warning about children without unique key.
2022-10-10 16:33:42 -03:00
Omar Basem adfb0ddb5d feat: reply to message new ui (#14098)
* feat: reply to messsage new ui
2022-10-10 19:55:02 +04:00
Mohamed Javid 0a282b3a47 [Feature] Added floating button to scroll down in chat (#14129)
* [Feature][#14063] Added floating button to scroll down in chat

* [Fix][#14063] Crash on pressing floating button to scroll down in chat
2022-10-10 22:33:53 +08:00
Roman Volosovskyi 5f98e96d23 Use a single geth.log file for all networks on iOS 2022-10-09 16:09:18 +02:00
Churikova Tetiana 823fce2457 e2e: exception and new custom network 2022-10-07 00:31:34 +02:00
Jamie Caprani 1d5e1479f7 chore: add components to communities overview (#14108) 2022-10-06 09:32:45 -07:00
erikseppanen c2c281d9c6 [13939] Implement system message into quo2 components (#14061) 2022-10-06 10:59:39 -04:00
Parvesh Monu 1f6ebbb5e8 remove ens banner component (#14112) 2022-10-06 12:31:07 +05:30
Icaro Motta 73983b2abd [#13967] Displays filtering tabs and read/unread filter (#14105) 2022-10-05 14:44:37 -03:00
Ibrahem Khalilandjakub 390ac858dc Update starting guide doc (#14107)
* Update starting guide doc

* Fix bad placement of tut

* formatting and style fixes

Signed-off-by: Jakub Sokołowski <jakub@status.im>

* add adb link

Signed-off-by: Jakub Sokołowski <jakub@status.im>
Co-authored-by: Jakub Sokołowski <jakub@status.im>
2022-10-05 15:39:28 +02:00
John Ngei 69c49a5557 Renamed filter-tag/filter-tags to tag/tags and refactored token-tag tag to match figma naming (#14028) 2022-10-05 15:22:36 +03:00
Churikova Tetiana 2ed3b50663 e2e: dbs, improvements 2022-10-04 17:46:18 +02:00
Roman Volosovskyi 8dd75205f3 [#14021] Add goerli geth.log to logs archive on iOS 2022-10-04 13:33:33 +02:00
jakub 081f1a2115 ci: bump jenkins lib to use generalized nix library
Necessary so other repos can use the Nix functions.

Realted to:
https://github.com/status-im/nwaku/pull/1216

Depends on:
https://github.com/status-im/status-jenkins-lib/pull/50

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-03 15:43:11 +02:00
Parvesh Monu 99b2809532 Implementation of Top Nav Component (#14094) 2022-10-01 02:55:41 +05:30
Roman Volosovskyi 7f1e83672e [#13992] Delete account only after moving keys to keyacard 2022-09-30 11:20:32 +02:00
Jamie Caprani faaf6d5f94 feat: add disclaimer component to quo 2 library (#14084)
* feat: add disclaimer component to quo 2 library

* chore: move state of selectors to be internal
2022-09-29 08:28:32 -07:00
jakub 0e3b645695 scripts/fdroid-pr.sh: fix version name log message
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-29 12:54:48 +02:00
jakub bcf919fcbb nix: use android-sdk shell for fdroid-pr target
Also renamed `android-env` shell to `android-sdk` to be more descriptive.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-29 12:54:47 +02:00
Parvesh Monu f7fedf1338 fix quo2 colors and button component (#14083) 2022-09-29 13:51:22 +05:30
Jamie Caprani 7f71c01460 feat: implement selectors for quo2 (#14078)
* feat: implement selectors for quo2
2022-09-28 08:19:32 -07:00
Ibrahem Khalil b4d95b240d [issue-13557] Network breakdown and Network amount components (#13781) 2022-09-28 13:01:35 +02:00
Jamie Caprani 260f342bb7 fix: channel list mute icon now showing (#14079) 2022-09-28 02:14:38 -07:00
Parvesh Monu 20ac0eb2c7 Implemention of quo2 bottom-nav-tab (#14077) 2022-09-28 01:27:06 +05:30
Roman Volosovskyi 30e7ad585a [#14059] Show effective gas price 2022-09-27 20:53:44 +02:00
Icaro Motta ca144fbe1b [#13965 #13966 #13969] Implement accept/decline/open chat for contact requests (#14073)
Notification reconciliation is now implemented, which means new notifications
are "merged" with existing app db notifications. The original implementation was
not compatible with the way notifications are fetched by read/unread status.

Unit tests were written to cover event handlers in the new
status-im.activity-center.core namespace. New test utilities were added for two
main reasons: 1) reduce test clutter to arrange data, and 2) to spy on effects
to make sure they are dispatched correctly.
2022-09-27 10:05:03 -03:00
Brian Sztamfater ba1ff91cdd fix: appearance switch resets to old ui when new ui is activated
Signed-off-by: Brian Sztamfater <brian@status.im>
2022-09-26 12:06:42 -03:00
Brian Sztamfater 5fa203c6f2 feat: implement new message context drawer
Signed-off-by: Brian Sztamfater <brian@status.im>
2022-09-26 12:01:35 -03:00
Jamie Caprani 1fb71bdfc8 Jc/add channel list item (#14040)
* feat: add list item - channel component to quo2 library

* fix: adjust size and position of icon for lock in channel avatar
2022-09-23 07:55:34 -07:00
pavloburykh 1d3a44b933 e2e: fixed 702185 2022-09-23 16:42:04 +03:00
pavloburykh 9fea5c9704 e2e: e2e fixes 2022-09-23 13:05:55 +03:00
Churikova Tetiana 9a1f0a337e e2e: web3 2022-09-23 11:17:24 +02:00
jakub fac5301ace docs/FDROID: not to create the PR as draft first
Otherwise F-Droid reviewers can merge the PR before we have a final
release version ready with all the fixes included.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-23 11:13:39 +02:00
pavloburykh 3d2c6a9333 e2e: new e2e and fixes 2022-09-22 16:55:13 +03:00
flexsurfer 5422c02da3 [#14056] Error '1.20.0 (20220922040832) is not a function' when opening About screen (#14058) 2022-09-22 15:51:08 +02:00
Parvesh Monu d707230b17 dismiss keyboard inside quo2 screen on pressing outside (#14055)
also, fixes New component preview area isn't using the full width available (#13913)
2022-09-22 18:25:01 +05:30
Parvesh Monu e582ba4169 Add expire time to ens banner (#14057) 2022-09-22 14:58:54 +05:30
flexsurfer 2266d87ade subs refactor (#14054) 2022-09-21 16:03:06 +02:00
Parvesh Monu 147958dd13 Allow disabling Hermes engine by passing flag while building app (#14041) 2022-09-21 14:56:26 +05:30
andrey 17fd6df773 Revert "subs refactor (#14049)"
This reverts commit c4eeda5df0.
2022-09-21 07:02:45 +02:00
Brian Sztamfater 6794273dbf Integrate reactions to messages in the new UI
Signed-off-by: Brian Sztamfater <brian@status.im>
2022-09-20 16:31:45 -03:00
jakub c4da42b4d2 scripts/fdroid-pr.sh: fix typo in vars and directory
Doesn't affect functioning, but it's unsightly.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-20 20:23:47 +02:00
flexsurfer c4eeda5df0 subs refactor (#14049)
* subs refactor
2022-09-20 20:13:32 +02:00
jakub 17bb87bb87 nix: upgrade from 2.8.0 to 2.11.1
This also includes the fix for too low `LimitNOFILE`:
https://github.com/NixOS/nix/pull/6553

https://github.com/NixOS/nix/releases/tag/2.11.1

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-20 19:03:10 +02:00
Audrius Molis 36c4052039 Fix null pointer exception on password when migrating to a keykard by disabling the back button in process. (#13977) 2022-09-20 19:52:41 +03:00
Ibrahem Khalil 468d827aa2 [issue-13578] Dropdown component (#13866) 2022-09-20 18:32:58 +02:00
Siddarth Kumar f32781a8e9 add account-selector component to sandbox (#13816)
refactor to accomodate changes in colors ns

squashing everything

amending it

addressing feedback

using quo2/text component instead of rn/text

addressing feedback

fix namespaces

lint fix and removing unused resources

addressing design feedback

make lint happy

some animation progress in peaking accounts
2022-09-20 19:21:13 +05:30
Audrius Molis 8ba4f9ebae Migrate to API 31 for android (#14032) 2022-09-20 13:50:16 +03:00
jakub d97a7fb325 nix: drop KEYSTORE_PATH from extra-sandbox-paths
This is no longer necessary as we sign APKs in a separate step using the
`scripts/sign-android.sh` script, and this causes issues for F-Droid builds.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-20 12:11:47 +02:00
pavloburykh b47fdc6698 e2e: fixed failing e2e 2022-09-20 11:10:46 +03:00
Michele Balistreri 56cb2b747a bump keycard module
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2022-09-19 20:22:19 +02:00
Icaro Motta afbdb4c0b4 [#13964 #13962] Display contact requests (#14014) 2022-09-19 11:08:21 -03:00
Jamie Caprani 528d05eec1 fix: comment out context tag in communities redesign as its causing issues (#14029) 2022-09-19 11:57:40 +02:00
Parvesh Monu 0c83801209 Implementation of switcher cards (#13854) 2022-09-19 15:01:13 +05:30
Parvesh Monu 552c85d6c7 fix quo2 colors (#14006) 2022-09-19 14:34:45 +05:30
yqrashawn 6c135e2570 fix: remove annoying deref in lazy seq warning (#14033) 2022-09-19 10:04:02 +02:00
Mohamed Javid 8b809ec1bc [Feature][#13905] Added Divider Label Component
* [Feature][#13905] Added Divider Label Component

* [Improvements][#13905] Changed bg color for preview screen from Quo to Quo2

* [Fixes][#13905] Naming Conventions for Divider Label Component

* [Chore][#13905] Grouping for Divider-Label component

* [Chores][#13905] Component params cleanup

* [Fix] Removed unused namespace causing lint check to fail
2022-09-19 13:07:57 +08:00
Andrea Maria Piana bac2bb8b8e Use image server for all kind of images and integrate identity rings
https://github.com/status-im/status-go/compare/4cc53630...8c35fffd
2022-09-17 11:50:29 +01:00
frank 00a503bf84 Move abi-spec to status-go
https://github.com/status-im/status-go/compare/6f93913b...a182f3e6
2022-09-17 11:48:07 +01:00
Roman Volosovskyi 3e7f7232fb [#13933] Fix activity notification delition on message delition 2022-09-16 14:39:38 +02:00
Jamie Caprani 6992b625d6 feat: add ability to join open community in new-ui (#14001) 2022-09-15 07:44:16 -07:00
Mohamed Javid 5a55c6ccb2 [Feature][#13915] Added New Messages component
* [Feature][#13915] Added New Messages component

* [Feature] [#13915] Rename component new-messages to new-messages-header

* [Improvements][#13915] Using theme-colors for fetching light/dark colors

* [Improvements][#13915] Moved text to translations and added Quo2 colors for background

* [Fixes][#13915] Naming Conventions and Grouping for New Messages Component
2022-09-15 19:38:17 +08:00
jakub 38bbf84de4 ci: add wait for GitHub release to appear
Because somtimes upload is attempted so fast release doesn't exist yet:
```
+ github-release upload -u status-im -r status-mobile -t 1.20.0 -n StatusIm-Mobile-v1.20.0-cbe19b-arm64-v8a.apk -f pkg/StatusIm-Mobile-v1.20.0-cbe19b-arm64-v8a.apk
error: could not find the release corresponding to tag 1.20.0
```
https://ci.infra.status.im/job/status-mobile/job/release/job/release%252F1.20.x/

Depends on: https://github.com/status-im/status-jenkins-lib/pull/49

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-15 09:49:06 +02:00
jakub 74743630b7 ci: drop commonPrep function, call individual ones
This function did too many things, some of them unnecessary.

Requires: https://github.com/status-im/status-jenkins-lib/pull/48

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-14 16:43:59 +02:00
Ícaro Motta a489e07bd1 [#13895] Create new Activity Center screen (#13987) 2022-09-13 16:02:01 -03:00
Parvesh Monu 8205368e5c fix can't unpin message from popup (#13988) 2022-09-13 22:13:16 +05:30
Ibrahem Khalil aa0d9ba41f Channel avatar component (#13658) 2022-09-13 17:00:08 +02:00
Roman Volosovskyi 3e8ac1939e [#13981] Fix generate new key 2022-09-13 16:27:19 +02:00
flexsurfer b71853c92a [#13951] feat: merge favourites in saved addresses #2844 (#13993) 2022-09-13 15:51:31 +02:00
yqrashawn 9e2990152c fix: typography letter-spacing (#13960) 2022-09-13 15:24:09 +08:00
Ibrahem Khalil 94303a4a64 fix - add missing code for Lowest price component (#13985) 2022-09-12 20:01:41 +02:00
Emil Konstantinovitz 09e4df3cf7 [#13579] Added integration test for opening one-to-one chat (#13984) 2022-09-12 13:32:55 -04:00
Ibrahem Khalil f4bb6ec7d6 Lowest price component (#13645) 2022-09-12 19:22:16 +02:00
yqrashawn c0d136d140 fix: resolve token ens name in EIP-681 links from qr code (#13947) 2022-09-12 23:12:01 +08:00
Parvesh Monu e4feb36ccc Implement Preview lists component (#13830) 2022-09-12 17:44:20 +05:30
jakub 52a32861b1 ci: upgrade Xcode from 13.3.1 to 13.4
Xcode 14.0 is coming soon, and it's good to ugprade in smaller steps.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-12 12:31:06 +02:00
jakub 206deca961 nix: patch gomobile to sanitize xcrun output
This resolves issues with weird `status-go` build errors like:
```
cgo: C compiler "2022-09-07" not found: exec: "2022-09-07": executable file not found in $PATH
```
Such errors are caused by `xcrun` spewing warnings to `stdout`. The PR
to fix this issue permanently has been created but it might take a while
before it's merged.

Fix PR: https://github.com/golang/mobile/pull/84
Resolves: https://github.com/status-im/status-mobile/issues/13949

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-12 12:22:37 +02:00
yqrashawn d77c5f1be7 fix: messages gap component style (#13950) 2022-09-12 17:55:11 +08:00
Roman Volosovskyi 3fc5c89865 [#13855] Fix contact request decision status on Sync All 2022-09-09 13:53:47 +02:00
Jamie Caprani 994ec65218 chore: restructure quo2 menu page (#13959) 2022-09-09 02:25:37 -07:00
Icaro Motta bc40e5cb4b Correctly handle titles spanning more than 1 line 2022-09-09 00:39:44 -03:00
Icaro Motta 3060be023e Let the preview area extend to the max width available 2022-09-09 00:39:44 -03:00
Icaro Motta 8502834500 Improve activity log component
Also makes hot reload optional with environment variable
SHADOW_AUTOBUILD_ENABLED.
2022-09-09 00:39:32 -03:00
Churikova Tetiana 7cc3ea2af4 e2e: remove web3 dependencies 2022-09-08 16:27:38 +02:00
Jamie Caprani 28963acb09 feat: add community overview page (#13945) 2022-09-08 04:10:03 -07:00
jakub 079074abde ci: do not upload release builds to Diawi
Otherwise the upload fails with `400 Bad Request` due to size:
```
bundler: failed to load command: fastlane (/Users/jenkins/.bundle/ruby/2.7.0/bin/fastlane)
/Users/jenkins/.bundle/ruby/2.7.0/gems/rest-client-2.1.0/lib/restclient/abstract_response.rb:249:in `exception_with_response': 400 Bad Request (RestClient::BadRequest)
```
Because release builds are over 100 MB:
```
 > ls -l StatusIm-Mobile-v1.20.0-59567a.ipa
-rw-r--r-- 1 jakubgs jakubgs 104M Sep  7 15:50 StatusIm-Mobile-v1.20.0-59567a.ip
```
And the Diawi free account limit is 75 MB:
https://www.diawi.com/features-services

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-08 09:50:14 +02:00
Erik Seppanen b05787b0b2 [13857] Extend integration tests to recover multiaccount from seed phrase 2022-09-07 14:45:48 -04:00
Jamie Caprani 33aa595877 chore: restructure quo2 components (#13948) 2022-09-07 11:09:06 -07:00
Jinho Jang 402496b4dc Update translation (#13938) 2022-09-07 14:03:20 +02:00
Audrius Molis f524b47b8c Reduce recording time to 1 minute (#13944)
Signed-off-by: Audrius Molis <masta@dr.com>

Signed-off-by: Audrius Molis <masta@dr.com>
2022-09-07 13:19:12 +03:00
Parvesh Monu d7bbe1ceec fix keycard redundant screen (#13922) 2022-09-07 15:24:33 +05:30
Roman Volosovskyi 8b01a4ac6c [#13894] Update activity indicator on removed contact request 2022-09-06 20:34:58 +02:00
Roman Volosovskyi b9015c529b [#13894] Update activity indicator on removed contact request 2022-09-06 16:46:30 +02:00
Parvesh Monu 2909014e86 keycard confirm seed phrase screen remove back button (#13934) 2022-09-06 18:55:37 +05:30
Ibrahem Khalil d4b7e5c8b6 Fix crash when selecting avatar in context tags (#13923) 2022-09-06 13:11:19 +02:00
Ibrahem Khalil da62e0c533 [13524] React component (#13631) 2022-09-06 12:39:56 +02:00
Churikova Tetiana fed73ffa83 e2e: update six 2022-09-06 12:07:16 +02:00
flexsurfer 1d87957b04 [#13517] UI Component - Message Input (#13620) 2022-09-06 11:19:05 +02:00
Siddarth Kumar 7f50b56c26 fix icon missing regression (#13907)
This was a tricky one :P

removing un-necessary check of new-ui?

this is a better solution

The core issue was that when new-ui? was passed instead of the actual value just the key was passed
2022-09-06 13:27:39 +05:30
omahs 0495a9a0ba Fix: typos (#13937)
Fix: typos
2022-09-06 08:46:49 +02:00
Jamie Caprani 4a926a1943 chore: refactor communities code for reusabilty (#13921) 2022-09-05 15:39:12 -07:00
Parvesh Monu 409f81a6f5 fix ios keycard recovery pin error (#13924) 2022-09-06 03:53:12 +05:30
Ibrahem KhalilandParvesh Monu 0300070c5a RE: User avatar component (#13839)
* User avatar component

Rebase

* clean

* Add icons

* fix keycard account shown as regular account on theme change while login (#13918)

* rebase

* clean

* clean

Co-authored-by: Parvesh Monu <parvesh.dhullmonu@gmail.com>
2022-09-05 21:34:41 +02:00
Parvesh Monu a5ef9940da fix keycard account shown as regular account on theme change while login (#13918) 2022-09-05 21:17:39 +05:30
jakub 337a4d7d1c hooks: fix newline injection on MacOS
Because MacOS `sed` just needs newlines to be escaped differently.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-05 14:57:25 +02:00
jakub 8fe5e5f73c hooks: use AWK instead of jq for better portability
Some systems don't have jq installed, and using something like
`nix-shell` in the shebang would make this script noticeably slower.

We're not using `grep` because it lacks `-P` flag on MacOS.

Resolves: https://github.com/status-im/status-mobile/issues/13322

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-05 14:57:24 +02:00
Churikova Tetiana 7e94f534b6 e2e: update libs for Python 3.10 2022-09-05 14:08:43 +02:00
yqrashawn ccd26dcfd0 refactor: go through clj-kondo warnings (#13929) 2022-09-05 18:52:39 +08:00
jakub 1a3e89ea7a Revert "[13857] Extend integration tests to recover multiaccount from seed phrase"
This reverts commit c73ef111f8.

This test has been introduced in:
https://github.com/status-im/status-mobile/pull/13896/files

And has caused `status-go` segmentation faults:
```
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x7fb109afac12]

goroutine 17 [running, locked to thread]:
github.com/status-im/status-go/services/ens.(*Service).Stop(...)
    github.com/status-im/status-go/services/ens/service.go:39
github.com/status-im/status-go/node.(*StatusNode).Cleanup(0xc004a89380)
    github.com/status-im/status-go/node/status_node_services.go:587 +0x112
github.com/status-im/status-go/api.(*GethStatusBackend).cleanupServices(...)
    github.com/status-im/status-go/api/geth_backend.go:1175
github.com/status-im/status-go/api.(*GethStatusBackend).Logout(0xc000e6b4a0)
    github.com/status-im/status-go/api/geth_backend.go:1146 +0xb9
github.com/status-im/status-go/mobile.Logout()
    github.com/status-im/status-go/mobile/status.go:398 +0x25
main.Logout()
    ./main.go:132 +0x19s
```
2022-09-05 11:01:02 +02:00
jakub 3f47fb6bf6 ci: use pipefail to actually catch test errors
Because otherwise when piping optput to `tee` the exit code that
affects the result of the whole `sh` call is the last command in the pipe.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-05 10:24:26 +02:00
yqrashawn bf346147e9 feat: add messages gap component (#13860) 2022-09-05 15:58:35 +08:00
jakub 6fa1729384 ci: tests build does not save any artifacts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-01 16:17:48 +02:00
jakub 718e6cdbb3 ci: disable sandbox for status-go iOS builds
Otherwise we get weird failures like these:
```
clang-11: error: cannot use 'cpp-output' output with multiple -arch options
clang-11: error: invalid argument '-mmacos-version-min=10.12' not allowed with '-miphoneos-version-min=8.0'
clang-11: error: invalid argument '-mmacos-version-min=10.12' not allowed with '-miphoneos-version-min=8.0'
```
Depends on: https://github.com/status-im/status-jenkins-lib/pull/47

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-01 16:17:47 +02:00
Erik Seppanen c73ef111f8 [13857] Extend integration tests to recover multiaccount from seed phrase 2022-08-31 14:27:23 -04:00
jakub 70bf8452f7 ci: save and show both stdout and stderr
By using the `|&` operator we send both to `tee`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-31 18:46:03 +02:00
Roman Volosovskyi 916d29e5c5 nhttps://github.com/status-im/status-go/compare/86054875...b87ecb20
[#13889] Ignore group chat color when not specified
2022-08-31 18:17:23 +02:00
Parvesh Monu bc57298e07 fix Adding/removing user from contacts duplicating their messages in profile (#13897) 2022-08-31 21:10:01 +05:30
Parvesh Monu 698e548c6d fix no icon for ETH in 1-1 transaction messages (#13898) 2022-08-31 20:49:33 +05:30
John Ngei 04b69181f2 New communities redesign (#13607)
* communities redesign

* added communnities screen for membership status

* updated communities redesign

* communities home redesign

* Removed unnecessary files

* Updated communities redesign
2022-08-31 15:49:57 +03:00
flexsurfer 5d9bcb3adb fix old stickers (#13901) 2022-08-31 12:54:30 +02:00
jakub ca8b721135 nix: fix order of iOS shell components
Possible fix for errors like:
```
bundler: failed to load command: fastlane (/Users/jenkins/.bundle/ruby/2.7.0/bin/fastlane)
/Users/jenkins/.bundle/ruby/2.7.0/gems/fastlane-2.205.2/fastlane_core/lib/fastlane_core/ui/interface.rb:153:in `shell_error!': [!] Shell command exited with exit status 51 instead of 0. (FastlaneCore::Interface::FastlaneShellError)
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-30 09:27:49 +02:00
jakub badf72af9f ios: bump Fastlane from 2.205.2 to 2.209.1 and pods
Also refresh Xcode project integration.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-30 09:27:48 +02:00
Erik Seppanen 45e47ad3d9 Extend integration tests to back up seed phrase (#13804) 2022-08-29 14:32:20 -04:00
Parvesh Monu 05219bd721 Implement react-native-hole-view (#13868) 2022-08-29 21:32:30 +05:30
Churikova Tetiana 327d456f69 notes: updated release notes 2022-08-29 13:54:45 +02:00
jakub 70da680c1b ci: fix keystore used when validating APK
Necessary to avoid validation errors due to missing release keystore.

Depends on: https://github.com/status-im/status-jenkins-lib/pull/46
Issue: https://github.com/status-im/infra-ci/issues/63

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-29 12:46:19 +02:00
andrey c56ebf74c1 1.20.0 release notes 2022-08-29 12:37:00 +02:00
andrey 1b77e15570 1.20.0 2022-08-29 11:23:05 +02:00
Jinho Jang c80f45b4a1 Update translation for 1.20 (#13729)
* Update translations

* temporary remove some translations for f-droid
2022-08-29 10:56:32 +02:00
Ibrahem KhalilandIbrahem Khalil 8352f622d6 [13562] Wallet user avatar component (#13681)
* wallet user avatar component

Conflicto

Clean

Mergo

* linting

Clean

* rename is-theme-dark?

* Conflicts resolve

Clean

* Linting

* comments

Clean

* rename colors

* Clean

* Lint

* Remove whitespace

* Clean

* Clen

* Improve colors and used quo2.text

Rebase

* Consistent coloring

Coloring

* Rebase

Rebase

* [13565] icon-avatar component (#13692)

* icon-avatar component

Rebase

* Add more colors

Clean

Clean

* Linting

Rebase

* clean podfile.lock

* Revert podfile

* Conflicto solvado

Add 20% opacity colors

* Comments

* Refactor to another folder

* Improve colors

* Lint

* Merge develop

Co-authored-by: Ibrahem Khalil <33176106+vampirekiddo@users.noreply.github.com>

Clean

Merge

Co-authored-by: Ibrahem Khalil <33176106+vampirekiddo@users.noreply.github.com>
2022-08-27 12:12:24 +02:00
Ibrahem KhalilandIbrahem Khalil 43861e0c15 [13565] icon-avatar component (#13692)
* icon-avatar component

Rebase

* Add more colors

Clean

Clean

* Linting

Rebase

* clean podfile.lock

* Revert podfile

* Conflicto solvado

Add 20% opacity colors

* Comments

* Refactor to another folder

* Improve colors

* Lint

* Merge develop

Co-authored-by: Ibrahem Khalil <33176106+vampirekiddo@users.noreply.github.com>
2022-08-27 11:16:04 +02:00
jakub 5df202753f drop unused coveralls configuration and CI steps
Depends on: https://github.com/status-im/status-jenkins-lib/pull/45

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-26 21:37:59 +02:00
jakub 1b8aea87b2 ci: use different IPFS gateway for release builds
https://github.com/status-im/status-go/compare/f43f43cc...86054875

Depends on: https://github.com/status-im/status-jenkins-lib/pull/44

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-26 20:02:27 +02:00
jakub 0a4d181477 ci: extrac Lint and Tests to separate job
This way we can make PRs depend only on successful tests, and not whole
builds for all platforms, which take 10 minutes or more.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-26 15:47:32 +02:00
Jamie Caprani 47a31ae0aa feat: add token tag component (#13599) (#13644) 2022-08-25 06:48:29 -07:00
Churikova Tetiana 976f58606c e2e: fixes 2022-08-25 13:29:41 +02:00
Roman Volosovskyi cdcaa68395 [#13835] Fix Generate keys button 2022-08-25 12:23:20 +02:00
Ibrahem Khalil 2b3d59e8c1 Issue-13813: Use new endpoints for browser (#13827)
* Bump browswer endpoints

https://github.com/status-im/status-go/compare/f43f43cc...924820c1

Rebase

Rebase

* Bump endpoints

* Bump status-go

https://github.com/status-im/status-go/compare/f43f43cc...f43f43cc

Rebase

* typo
2022-08-24 23:31:20 +02:00
Roman Volosovskyi 8e3258769e [#13672] Sync contact request decision 2022-08-24 17:11:23 +02:00
Siddarth Kumar 8f7c89ba33 upgrade async storage version (#13846) 2022-08-24 19:51:49 +05:30
Churikova Tetiana 62a4c40afa e2e: report fixes 2022-08-24 12:07:10 +02:00
Jamie Caprani 53770725e5 feat: add token overview component (status-im#13555) (#13767) 2022-08-23 21:14:46 +05:30
Parvesh Monu 53008b17a6 fix quo2 preview in release builds (#13829) 2022-08-22 15:58:45 +05:30
Andrea Maria Piana 526835fcf0 Use test dir 2022-08-19 16:50:22 +01:00
Siddarth Kumar be8db33349 refactor to accept background-color property (#13764)
Refactoring copyable-text component to accept background-color property.

Fix case of nil

Trying to sign
2022-08-19 20:50:45 +05:30
siddarthkay 2c1bfcd092 Add management for wallet connect sessions 2022-08-19 12:35:13 +01:00
diana 78b0bf0bda e2e:fix nightly 18/08 2022-08-18 17:15:10 +02:00
Erik Seppanen 0f23346172 Fix indentation
Signed-off-by: Erik Seppanen <esep@protonmail.com>
2022-08-17 08:18:22 -04:00
Erik Seppanen 94f73d2673 [#13791] Extend integration tests to create a new wallet account
Signed-off-by: Erik Seppanen <esep@protonmail.com>
2022-08-16 14:00:03 -04:00
Brian Sztamfater 51ab735e57 feat: edit message redesign
Signed-off-by: Brian Sztamfater <brian@status.im>
2022-08-16 13:01:59 -03:00
Roman Volosovskyi 24ef84b890 Fix disappearing of the last notification when paired 2022-08-15 13:05:13 +02:00
Erik Seppanen 959df25c02 [#13687] Extend integration tests to create a community 2022-08-12 14:18:49 +01:00
Parvesh Monu f1f9fa105c Implement ENS Banner View
Signed-off-by: Parvesh Monu <parvesh.dhullmonu@gmail.com>
2022-08-11 22:07:16 +05:30
Parvesh Monu c1ca92959c Information box component 2022-08-11 21:48:05 +05:30
Parvesh Monu 230005fd1b Info message component 2022-08-11 02:45:41 +05:30
Roman Volosovskyi b06d63d200 Remove contact request notification from activity center when request is canceled 2022-08-10 13:44:05 +02:00
Andrea Maria Piana 901081a4cf Allow running multiple integration tests 2022-08-10 12:11:22 +01:00
jakub 95af16f6ae generate-keystore: fix Permission denied error
MacOS permissions are stupid:
```
 > ls -l /dev/stderr
lr-xr-xr-x  1 root  wheel  0 Jun 20 20:45 /dev/stderr -> fd/2
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-10 02:21:13 +02:00
jakub 5903cf73fb nix: stop passing watchman socket to Nix builds
This passing of Watchman socket was implemented in order to avoid this:
```
Error: EMFILE: too many open files, watch
    at FSEvent.FSWatcher._handle.onchange (node:internal/fs/watchers:204:21)
Emitted 'error' event on NodeWatcher instance at:
    at NodeWatcher.checkedEmitError (/private/tmp/nix-build-status-mobile-build-nightly-android.drv-0/node_modules/sane/src/node_watcher.js:143:12)
    at FSWatcher.emit (node:events:527:28)
    at FSEvent.FSWatcher._handle.onchange (node:internal/fs/watchers:210:12) {
  errno: -24,
  syscall: 'watch',
  code: 'EMFILE',
  filename: null
}
```
Which is caused by `jest-haste-map` used by `metro` starting to watch
the filesystem for file changes, which is pointless when doing a
one-off build using Nix.

But by setting `CI=true` we can make `metro` not start this waching of
files in the first place, removing the need for use of Watchman entirely.

By entirely dropping use of Watchman we also fix the following issue:
```
[cli] unable to talk to your watchman on /tmp/tmp-status-mobile-ABC/jenkins-state/sock! (Permission denied)
```
Which happens on multi-user Nix installations becuase the user that the
Nix build is executed as is not the same as the user that starts
Watchman and creates the socket file.

Issue: https://github.com/status-im/status-mobile/issues/13783

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-10 02:21:12 +02:00
pavloburykh b565cbf85e e2e: fixed system back button click 2022-08-09 17:51:35 +03:00
Parvesh Monu a94797710a fix send button remains active in chats after sending reply containing a mention (#13774) 2022-08-08 22:18:59 +05:30
Andrea Maria Piana 6fb4969a0d Add context tags 2022-08-08 10:59:52 +01:00
phrohdoh d664535e65 fix: quo haptic impact light key (#13772) 2022-08-08 10:21:17 +02:00
flexsurfer e39277b739 custom networkid fix (#13765) 2022-08-05 16:24:33 +02:00
jakub 8ec2f23203 nix: pass OPENSEA_API_KEY via saveAccountAndLogin
Here the injection of OpenSea API key was done at compile time:
https://github.com/status-im/status-mobile/commit/aa72ac57

But this makes `status-go` builds impure, and also prevents them from
being extracted from `status-mobile` into `status-go` repo.

Instead we pass the `OPENSEA_API_KEY` env variable to JS bundle at build
time, which is then passed to `status-go` via the
`Statusgo.saveAccountAndLogin` call in `saveAccountAndLogin`:
https://github.com/status-im/status-mobile/blob/51174f84/modules/react-native-status/android/src/main/java/im/status/ethereum/module/StatusModule.java#L323-L327

Which sends `NodeConfig` that also contains `WalletConfig` which can
include `OpenseaAPIKey`:
```go
type WalletConfig struct {
    Enabled       bool
    OpenseaAPIKey string `json:"OpenseaAPIKey"`
}
```
https://github.com/status-im/status-go/blob/0135cc15/params/config.go#L510-L514

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-05 14:23:33 +02:00
Parvesh Monu ff1818d191 fix visibility drop-down alignment in new ui (#13760) 2022-08-04 23:07:03 +05:30
Parvesh Monu 13bacd4a1e fix error when switching dark/light mode while splash screen is shown (#13759) 2022-08-04 23:05:20 +05:30
Ícaro Motta cdbd85f116 [#13690] Fix visibility status color (#13747) 2022-08-04 11:48:47 +02:00
Brian Sztamfater 647dfc7e21 Reply component in chat input & quoted message redesign
Signed-off-by: Brian Sztamfater <brian@status.im>
2022-08-03 12:17:39 -03:00
yqrashawn a08c7ff22e feat: add repl support for cljs test (#13754) 2022-08-03 16:14:20 +02:00
yqrashawn 71211ee7b9 fix: set max option not work when send from qrcode (#13733) 2022-08-03 16:13:37 +02:00
Roman Volosovskyi c5bcb0123f [#13647] Update all setting on pairing with a new wallet account 2022-08-03 12:36:58 +02:00
flexsurfer f7b6a9065f fix tests (#13755) 2022-08-03 10:38:53 +02:00
Parvesh Monu 971d3ce818 Move automatic status updates timeout to status-go (#13602)
https://github.com/status-im/status-go/compare/4aa34139...60a49fc7
2022-08-03 04:53:23 +05:30
pavloburykh a18deec330 e2e: removed messages under today check in 5315 2022-08-02 18:00:54 +03:00
yqrashawn 98ca311a97 feat: lottie splash screen (#13714)
[#13714] feat: lottie splash screen
2022-08-02 12:48:12 +02:00
jakub 005acc946d drop unused zenhub github actions workflows
As far as I know we don't use Zenhub for anything anymore.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-01 16:11:38 +02:00
Parvesh Monu 8c9ccbb116 Switcher blurred background view (#13717) 2022-08-01 15:21:09 +05:30
yqrashawn d3235e4174 fix: typo (#13739) 2022-07-29 13:46:57 +02:00
Churikova Tetiana 8d96877e04 e2e: simpledapp on goerli 2022-07-29 10:03:51 +02:00
frank 8217cff62e fixes #13121, improve ethereum.send (#13724) 2022-07-28 16:37:51 +02:00
erikseppanen 1377ba3c1a Update IDE_SETUP.md (#13734)
Add IDE section for emacs
2022-07-28 15:29:52 +02:00
jakub d21dc7be79 github-bot: add TO REBASE column to config
Related to: https://github.com/status-im/status-mobile/issues/13497
Required by: https://github.com/status-im/status-github-bot/pull/55

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-27 17:05:24 +02:00
Parvesh Monu a2a76e99a2 fix bookmarks not syncing (#13727) 2022-07-27 20:20:47 +05:30
jakub c27a74e378 nix: quote path uses to avoid issues with spaces
This is most important on MacOS, but in general is a good idea.

Resolves:
https://github.com/status-im/status-mobile/issues/13715

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-27 16:11:28 +02:00
Yevheniia Berdnyk 46e5def13d Fixed xfail report and changed results posting 2022-07-25 23:37:15 +03:00
flexsurferandpavloburykh 8a29830625 [#13493] Can not switch to xDai chain (#13709)
* [#13493] Can not switch to xDai chain

* e2e: removed comments from xDai part of test 695890

Co-authored-by: pavloburykh <pavlo@status.im>
2022-07-25 12:59:12 +02:00
diana 694986682a e2e: new critical pairing tests 2022-07-22 18:47:26 +02:00
audriu 798c604848 Fix sync of blocked contacts (#13712)
https://github.com/status-im/status-go/compare/4aa34139...4aa34139

Signed-off-by: Audrius Molis <masta@dr.com>
2022-07-22 16:41:27 +03:00
pavloburykh 202a11961f e2e: replaced rinkeby by mainnet user in 702360 2022-07-22 16:09:26 +03:00
pavloburykh 001ad91009 e2e: removed xfail marks and replaced ropsten by goerly ens user 2022-07-22 15:45:29 +03:00
Churikova Tetiana 28a2113874 Goerli contracts, go-version bump: https://github.com/status-im/status-go/compare/3a46b051...3cd92fda 2022-07-20 16:03:42 +02:00
Parvesh Monu a07bc82c37 Fix community channel ens names are not resolved (#13675) 2022-07-19 19:13:41 +05:30
jakub 7d8a6b42e4 github: update repo name in issue templates
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-18 21:42:55 +02:00
jakub b42f3e14d5 github-bot: fix repo and job to be status-mobile
Fixes: https://github.com/status-im/status-mobile/issues/13685

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-18 21:42:54 +02:00
Andrea Maria Piana c15b143232 Check public key when sending a message
https://github.com/status-im/status-go/compare/6df20331...3a46b051
2022-07-18 20:19:45 +01:00
jakub 1f7fd17ff1 rename status-react to status-mobile
This way the name of the repo makes at least some sense and
matches the `status-desktop` repo naming.

Also updated `status-jenkins-lib` since it also contained
references to `status-react` repo and job names.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-17 14:46:16 +02:00
frank 61cb54fb8e fixes #13642: Cannot sign in on claim.lens.xyz
Signed-off-by: Parvesh Monu <parvesh.dhullmonu@gmail.com>
2022-07-15 20:32:53 +05:30
pavloburykh db45da3cdb e2e: removed unneeded send button click due to bugfix 2022-07-15 14:43:09 +03:00
Parvesh Monu f7459056bf Clear chat inputs after sending contact request (#13665) 2022-07-14 19:16:42 +05:30
Brian Sztamfater 22f92677fa Base chat dedesign
Signed-off-by: Brian Sztamfater <brian@status.im>
2022-07-14 09:45:11 -03:00
Parvesh Monu 236bbff493 Implement react-native-blur for android (#13663) 2022-07-14 17:27:04 +05:30
jakub 578e542a66 ci: use newly added disableConcurrentBuilds
https://github.com/jenkinsci/workflow-job-plugin/pull/200
Removes the need to use our own convoluted implementation:
https://github.com/status-im/status-jenkins-lib/blob/17c1d0ea/vars/jenkins.groovy#L6-L27

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-13 20:27:20 +02:00
pavloburykh d299c65720 e2e:fixed id, added mark xfail to blocked contacts tests 2022-07-13 15:59:43 +03:00
Parvesh Monu 08194b3c89 fix status-bar color for new ui (#13641) 2022-07-13 17:12:02 +05:30
Audrius Molis ec69ad6544 Remove old coverage status badge
Signed-off-by: Audrius Molis <masta@dr.com>
2022-07-13 10:42:40 +03:00
Churikova Tetiana 96b170a19d e2e: more logging 2022-07-12 17:14:32 +02:00
pavloburykh 12ba82844a e2e: new medium pairing tests 2022-07-11 14:20:11 +03:00
Brian Sztamfater ca98539d98 Revert "Base implementation for chat redesign"
This reverts commit ec3b4c032d.

Signed-off-by: Brian Sztamfater <brian@status.im>
2022-07-07 13:01:09 -03:00
Audrius Molis 33f6daff33 Remove blocker from contacts of user that he has blocked
https://github.com/status-im/status-go/compare/d17b076b...6df20331

Signed-off-by: Audrius Molis <masta@dr.com>
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-07 12:42:05 +02:00
Brian Sztamfater ec3b4c032d Base implementation for chat redesign
Signed-off-by: Brian Sztamfater <brian@status.im>
2022-07-06 13:43:13 -03:00
Vitaliy Vlasov 54b18b4cf9 Wallet sync for generated accounts
Signed-off-by: Vitaliy Vlasov <siphiuel@protonmail.com>
2022-07-06 19:40:00 +03:00
Michele Balistreri ca3db6b889 more reliable address comparison
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2022-07-05 18:18:49 +02:00
pavloburykh b136602322 e2e: fixed initial account name 2022-07-05 15:12:01 +01:00
Andrea Maria Piana 38af9e82d8 Add status-tags component 2022-07-05 15:11:57 +01:00
Michele Balistreri 2fcade5053 bump Keycard SDK
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2022-07-04 17:43:16 +02:00
Nikolayandartamonov.nikolay 13ae5dcc8c [#13395] Add some stylings for RPC stats page. (#13609)
Co-authored-by: artamonov.nikolay <nikolay.artamonov@arrival.com>
2022-07-02 13:11:59 +02:00
pavloburykh 934cecbdd6 e2e: mutual contact requests basic tests 2022-07-02 10:51:33 +03:00
Churikova Tetiana 89396bd93b Changes from status-go:
https://github.com/status-im/status-go/compare/22669d04...63d61197
2022-07-01 16:25:46 +02:00
Yevheniia Berdnyk ab1eb22f3a Bold text for xfail 2022-06-30 03:39:12 +03:00
Andrea Maria Piana 8a36ee8761 [Fixes: #13582] Increase cooldown on sending request 2022-06-29 16:48:17 +01:00
Parvesh Monu 7c3980a04e fix chat view margin (#13588) 2022-06-29 00:45:23 +05:30
Parvesh Monu 1047c26f69 Switcher and Bottom Tabs Animations and UI Performance Improvements
- Migrated Switcher animations to Reanimated V2
- Added bottom tabs & Stacks Animations
- Improved bottom tabs, tab changing performance
- Polished android & IOS UI
2022-06-28 23:51:24 +05:30
Parvesh Monu d9d3f2bb73 Implement React Native Reanimated V2 2022-06-28 23:51:23 +05:30
Churikova Tetiana d2aac6c905 e2e: fixes nightly failures 2022-06-28 17:54:14 +02:00
pavloburykh ff190c177a e2e: new tests automated 2022-06-27 16:37:17 +03:00
erikseppanen e9c0decd68 [#12566] Remove legacy dependency on mailserver password (#13511) 2022-06-27 13:40:18 +02:00
Churikova Tetiana 9f9b896eb7 e2e: ENS purchase in dapp 2022-06-22 16:27:46 +02:00
jo-mut 78033eedc9 Fix: share images bug that freezes app
Signed-off-by: jo-mut <johnmutuku628@gmail.com>
2022-06-21 00:10:57 +03:00
jakub 61653888f8 nix: upgrade gomobile to 2022-05-04 version
Possible fix fix failing `status-go` builds:
https://github.com/status-im/status-react/issues/13346

Other notable upgrades:

* NodeJS `16.15.1` to `16.15.0`
* Yarn `1.22.18` to `1.22.19`
* Clojure `1.11.1.1113` to `1.11.1.1139`

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-06-20 19:01:14 +02:00
Yevheniia Berdnyk e0373146da Possible fix for Sauce ConnectionResetError (#13501) 2022-06-20 18:28:23 +03:00
Andrea Maria Piana 7f8ad610f4 Handle backward compatibility in contact requests
https://github.com/status-im/status-go/compare/efa14805...22669d04
2022-06-20 10:46:34 +01:00
Audrius Molis 855f1aab03 Stop tracking VSCode config
Signed-off-by: Audrius Molis <masta@dr.com>
2022-06-20 10:35:37 +03:00
Yevheniia Berdnyk 62a3ed6138 Fix for stopping sauce sessions in teardown 2022-06-17 03:59:58 +03:00
Churikova Tetiana 25057b3968 e2e: nightly flaky fixes 2022-06-16 17:30:24 +02:00
Peter Strömberg 81f37e0a63 Update IDE setup docs, adding Calva
Signed-off-by: Audrius Molis <masta@dr.com>
2022-06-16 16:29:56 +03:00
flexsurfer 08fa0e6db9 feat: move eth_call to status-go #13323 (#13481) 2022-06-15 11:06:45 +02:00
Churikova Tetiana a141c75634 e2e: xfail mark 2022-06-14 17:03:36 +02:00
Audrius Molis 2325f6f59e Synchronise Sticker Pack setting fields
https://github.com/status-im/status-go/compare/772b8496...efa14805

Signed-off-by: Audrius Molis <masta@dr.com>
2022-06-14 17:25:49 +03:00
flexsurfer a93a3b6878 fix close chat on tab (#13472) 2022-06-14 15:15:33 +02:00
Parvesh Monu 430f322f95 Include UI toggle for all builds (#13464) 2022-06-13 21:15:59 +05:30
Andrea Maria Piana 707cf82b8b Use status-go settings for contact requests
https://github.com/status-im/status-go/compare/09ba88c1...cc80f575
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2022-06-13 13:50:21 +01:00
pavloburykh cbba1372b3 remove explicit join from group tests 2022-06-09 16:56:04 +03:00
frank 51174f8488 Use LoginWithConfig method to log in (#13414) 2022-06-09 14:42:36 +02:00
Ibrahem Khalil cc2b6ab80c Fixes #12192 -- Disable fetching more messages when status nodes are … (#13450)
* Fixes #12192 -- Disable fetching more messages when status nodes are disabled
2022-06-09 14:36:05 +02:00
Parvesh Monu beeb72a9d5 fix message sent state for audio and emoji messages (#13459) 2022-06-09 17:08:20 +05:30
jakub 789b24e3a4 nix: add script for adding missing Gradle packages
This handles the usual case where a missing Gradle version causes the
call to `make nix-update-gradle` to fail since call to Gradle also fails.

This is simpler than getting a dev to run commands manually.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-06-09 13:07:51 +02:00
flexsurfer f64a62e82d leave group chat fix (#13463) 2022-06-09 11:41:22 +02:00
Andrea Maria Piana 9bcbb580e1 Add login integration test
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2022-06-08 13:43:32 +01:00
Andrea Maria Piana aa71b830bc [Fixes: #13398] Remove explic join group chat
https://github.com/status-im/status-go/compare/ed67cc2a...09ba88c1

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2022-06-08 11:58:49 +01:00
jakub 6dd1577b8a nix: cleanup status-go mobile build derivation
While working on Nix builds for `go-waku` I figured this derivation
could use some cleanup, to make it shorter and more readable.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-06-07 23:34:35 +02:00
Andrea Maria Piana 785386987b [Fixes: #13416] resize image in status-go as well, alert user if fails
https://github.com/status-im/status-go/compare/869942c0...ed67cc2a

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2022-06-07 16:06:54 +01:00
Andrea Maria Piana ef8a7f3fd8 Use pre-install hook for generating node bindings
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2022-06-06 13:40:53 +01:00
Audrius Molis 366f235e31 Hide invitation link to group chats
Signed-off-by: Audrius Molis <masta@dr.com>
2022-06-03 16:02:24 +03:00
flexsurfer fe7a23b7f6 [#13355] Long time (5-15 sec) for loading chat messages (#13425)
https://github.com/status-im/status-go/compare/1bfde4c4cc69292875ae9fdc41a8b4bd29e95a7a...d35fab771a2dc44907768627ad862006483a7a18n
2022-06-03 13:38:22 +02:00
flexsurfer 5b7d0f81d4 fast image loading indicator (#13431)
* fast image loading indicator
2022-06-03 13:37:27 +02:00
Churikova Tetiana b18547c16e e2e: fix failures 2022-06-03 12:31:56 +02:00
jakub f402f67b09 nix: nixpgs upgrade, Android SDK fixes, Coreutils 9.1
Notable version changes:

- Coreutils `9.0` to `9.1`
- OpenSSL `1.1.1n` to `1.1.1o`
- NodeJS `16.14.2` to `16.15.1`
- Clojure `1.11.1.1107` to `1.11.1.1113`
- Ruby `2.7.5p203` to `2.7.6p219`
- Cocoapods `1.11.0` to `1.11.3`
- Git `2.35.1` to `2.36.1`
- Curl `7.82.0` to `7.83.1`
- Android SDK Platform Tools `31.0.3` to `33.0.1`

Most important is the Coreutils upgrade to 9.1 which includes a fix for
iOS builds on new M1 ARM64 processors:
https://github.com/status-im/status-react/issues/12799

Also fixes broken Android SDK builds on Linux due to `auto-patchelf-hook` change:
https://github.com/NixOS/nixpkgs/pull/163924

I've fixed this in `nixpkgs` PR:
https://github.com/NixOS/nixpkgs/pull/173376

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-06-03 10:33:41 +02:00
Parvesh Monu 12437e6b7c Fix App getting stucked on logout (#13427)
https://github.com/status-im/status-go/compare/1bfde4c4...869942c0
2022-06-02 22:38:48 +05:30
jakub b3a74ad7a5 use 8 char commits SHAs for status-go diff link
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-06-02 13:24:10 +02:00
jakub 7bf77efc87 add newline when creating status-go diff link
Otherwise Fugitive plugin in Vim complains about it.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-06-02 13:18:46 +02:00
flexsurfer 8ed1797f44 [#13433] Input field in chat view is not cleared after logging out (#13438) 2022-06-02 12:16:18 +02:00
Churikova Tetiana 117810cf44 e2e: final groups 2022-05-31 17:38:36 +02:00
jakub e2fabd2386 makefile: use default nix shell for building android
Otherwise `watchman` utility is unavailable for MacOS.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-31 12:03:21 +02:00
jakub 5d9a29b3c8 nix: cleanup of unused variables
Mostly achieved by running via `nix-linter`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-31 12:03:20 +02:00
jakub bcf3e3205a nix: lock Go builders at 1.17.x
If we keep using specific `buildGo117Package` we can easily forge to
upgrade when we bump the Go compiler itself. By locking those explicitly
in `overlay.nix` we make sure they all get bumped together.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-31 12:03:19 +02:00
Parvesh Monu 8820f458c9 fix can't share deep link from profile on ios (#13420) 2022-05-31 15:29:28 +05:30
Brian Sztamfater 91f444ba80 Support mutual contact requests
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2022-05-31 09:23:24 +01:00
pavloburykh 3f4a424169 fixed ids for qr scan tests 2022-05-30 15:49:20 +03:00
Churikova Tetiana bc91512b71 e2e: nav fixes 2022-05-30 13:49:30 +02:00
flexsurfer a4b169efa3 [#13357] 'Unknown Not a contact' screen with endless spinner when starting new 1-1 or public chat / opening it via push notification (#13379) 2022-05-30 13:37:13 +02:00
Andrea Maria Piana e4cba0f663 Add status-go tests
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2022-05-25 17:59:02 +01:00
Parvesh Monu 1ccb01532e Implementation of new UI toggle (#13384) 2022-05-25 21:55:17 +05:30
Jinho Jang 8aee3cfbbd Update translations and add Hindi (#13373) 2022-05-25 07:32:14 +02:00
Mohamed Javid 7c4897f251 [feature] [#13099] Automatic RPC usage refresh (#13364)
* [feature] [#13099] Automatic RPC usage refresh
2022-05-24 14:23:48 +02:00
yevh-berdnyk 872a732c31 Test steps for groups 2022-05-24 05:57:24 +03:00
Churikova Tetiana 2ff57ec8cd e2e: all medium 2-driver e2e refactored 2022-05-23 17:30:24 +02:00
pavloburykh f41aa5bdea e2e: permissions-scan-qr group 2022-05-23 17:51:51 +03:00
jakub acfa73ab43 nix: build unsigned Android APK, sign separately
This has several benefits:

* Less abuse of `extra-sandbox-paths` Nix option
* Less inputs to the Android release build derivation
* Easier for users to sign the build themselves
* Simplification of `scripts/release-android.sh`
* Preparation for building using Nix Flakes

The only two remaining credentials passed via `extra-sandbox-paths` is
the Infura and OpenSea API keys, and there is no way around that other
than passing them via Nix arguments, but that would cause them to end up
in `/nix/store` as part of `.drv` files.

I'm also renaming `release-fdroid` to `build-fdroid` to be consistent.

Depends on: https://github.com/status-im/status-jenkins-lib/pull/42

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-21 11:10:11 +02:00
flexsurfer 8a01d02135 re-frisk 1.6.0 (#13380) 2022-05-20 12:31:54 +02:00
Parvesh Monu fa9a718c56 fix navigation default options overwrite (#13378) 2022-05-20 14:04:53 +05:30
Churikova Tetiana d31fca96a9 e2e: community, history nodes, profile 2022-05-19 15:41:44 +02:00
Parvesh Monu 1c8a805647 fix chat image long press issue (#13371) 2022-05-19 16:13:40 +05:30
andrey f39b688e89 google free and metrics free
Signed-off-by: andrey <motor4ik@gmail.com>
2022-05-19 07:22:23 +02:00
Vitaliy Vlasov 95be83756b Sync wallet accounts
https://github.com/status-im/status-go/compare/a244d776571cc73ea34d7a700cc5db36166ce832...a244d776571cc73ea34d7a700cc5db36166ce832
2022-05-18 17:59:18 +03:00
jo-mut b9f7e8758d share image messages to other apps
Signed-off-by: jo-mut <johnmutuku628@gmail.com>
2022-05-18 17:24:03 +03:00
jakub 43f7aaf8b1 nix: limit jobs used by parallel to update Gradle
Otherwise on some devices with with good connecitons rate limiting might
cause failures to fetch POMs or JARs and in result failing the whole update.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-18 11:03:29 +02:00
jakub 372942ba8a nix: fortify the nix-update-gradle process
This fixes two issues with the `nix-update-gradle` target:

* It now fails when a JAR is missing which used to be ignored.
* It ignores dependencies that have no JARs, like Eclipse plugins.

This makes the process more robust, since we can see something is
missing right away, and a developer may re-run the process to take
account of possible temporary networking failures or rate limiting.

It also slims down the size of the `deps.json` by removing dependencies
which contribute no actual JARs or AARs to the build process.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-17 20:04:04 +02:00
yevh-berdnyk 7991bbe958 KeyError 2022-05-17 06:22:03 +03:00
jakub b2695e0b24 nix: fix purge.sh script on Darwin platform
Darwin lacks `userdel` and Nix users don't appear in `/etc/passwd`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-16 20:18:23 +02:00
andrey 2d6872976e discover token from status-go
Signed-off-by: andrey <motor4ik@gmail.com>
2022-05-16 16:00:44 +02:00
diana c3e599721f e2e: medium activity center 2022-05-16 11:07:23 +02:00
Churikova Tetiana 1354f5a1f4 e2e: medium pairing 2022-05-12 20:44:21 +02:00
Churikova Tetiana b83fe64b0f e2e: nightly fix for user 2022-05-11 20:23:59 +02:00
Audrius Molis 4909ec9854 Add settings and stickers synchronization
https://github.com/status-im/status-go/compare/640793fe85d9a9eef9eb3712cda1c5a1ceea401a...a244d776571cc73ea34d7a700cc5db36166ce832

Signed-off-by: Audrius Molis <masta@dr.com>
2022-05-11 17:42:31 +03:00
andrey 09d393dabe [#13331] Back button changes in chat view when scrolling (iOS)
[#13330] Wallet buttons are overlapped with tabs buttons in the individual wallet account view (iOS)

Signed-off-by: andrey <motor4ik@gmail.com>
2022-05-11 16:22:29 +02:00
jakub 8d62680abe ci: use improved method to get APK architectures
Detecting APK architectures using `apkanalyzer` tool
rather than just guessing based on build type.

Depends on: https://github.com/status-im/status-jenkins-lib/pull/41

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-11 14:57:00 +02:00
andrey 6448c24e14 call rpc cleanup
Signed-off-by: andrey <motor4ik@gmail.com>
2022-05-11 11:41:56 +02:00
Churikova Tetiana 1f164c811d e2e: launching by groups 2022-05-10 18:03:44 +02:00
Parvesh Monu b1606704f7 fix nickname not setted on adding contact (#13341)
* fix nickname not setted on adding contact

* QA changes
2022-05-10 19:48:44 +05:30
pavloburykh 81a8ed95a7 e2e: fix test_sticker_1_1_public_chat 2022-05-10 13:01:50 +03:00
Parvesh Monu 2a81814992 Switcher & navigation 2 foundation (#13167) 2022-05-10 15:08:19 +05:30
Churikova Tetiana bcdb3c4194 e2e: group chats 2022-05-09 21:43:01 +02:00
andrey 54c3030971 https://github.com/status-im/status-go/compare/640793fe85d9a9eef9eb3712cda1c5a1ceea401a...0048aaebcc7859a6f0dd7cdf0266fe029f3066fcn
[#13173] move stickers business logic to status-go

Signed-off-by: andrey <motor4ik@gmail.com>
2022-05-09 15:51:05 +02:00
jakub d765dd1f60 ci: use nix copy instead of nix-copy-closure
Also use `ssh-ng://` protocol implementation instead of `ssh://`.
Might fix the following error:
```
error (ignored): error: reached end of FramedSource
error: sized: unexpected end-of-file
error: unexpected end-of-file
```
For more details see: https://github.com/NixOS/nix/issues/6495

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-09 13:21:46 +02:00
jakub 777d0581ce nix: upgrade from 2.6.1 to 2.8.0
Minor upgrade done to match the version deployed in CI due to a bug
with `nix-copy-closure` which broken Nix cache jobs:
https://github.com/status-im/infra-ci/issues/49

This will not force upgrade on developes, nor require any `make nix-purge`.
If however and upgrade is wanted it can be simply done with `nix upgrade-nix`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-07 11:24:58 +02:00
jakub 6f45b5c8e8 ci: upgarde to Xcode 13.3.1
App store now requires all applications to be built with XCode 13:
https://developer.apple.com/news/?id=2t1chhp3

Related: https://github.com/status-im/infra-ci/issues/48

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-06 19:27:22 +02:00
yevh-berdnyk e219aaf2b0 Fixed adding results to TestRail 2022-05-06 17:48:30 +03:00
Churikova Tetiana 44a449660a e2e: fixes 2022-05-06 16:07:16 +02:00
yevh-berdnyk 9891469c6f Changed adding TR results 2022-05-06 13:57:24 +03:00
pavloburykh 5e9738bb7d e2e refactoring: added test_deeplink_chat_profile medium group 2022-05-05 16:46:12 +03:00
Churikova Tetiana 39e3a82228 e2e: fix failures
Signed-off-by: andrey <motor4ik@gmail.com>
2022-05-05 13:52:48 +02:00
Churikova Tetiana 23a3825237 e2e: fix for ... 2022-05-05 12:32:20 +02:00
andrey 98f78ba50b [#13203] feat: move fetch prices to status-go 2022-05-05 12:32:20 +02:00
jakub 1b5f08d680 Gradle: drop unavailable JCenter Bintray from config
This repository has been shut down a year ago:

* https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/
* https://testfairy.com/blog/jcenter-and-bintray-is-shutting-down-what-to-do/

And yet we still keep references to it in the Gradle config.

Resolves: https://github.com/status-im/status-react/issues/13320

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-05 11:50:50 +02:00
Churikova Tetiana 411fd843ca e2e: numprocesses and fixes 2022-05-04 18:27:42 +02:00
jakub 1e8d85983e nix: upgrade Nixpkgs, Go and Node.js
Notable software upgrades:

- Go `1.16.8` to `1.17.3`
- NodeJS `12.22.7` to `16.14.2`
- OpenJDK `8u272-b10` to `8u322-ga`
- Clojure `1.10.3.1029` to `1.11.1.1107`
- Git `2.33.1` to `2.35.1`
- CMake `3.18.1` to `3.22.3`
- Curl `7.79.1` to `7.82.0`
- GNU Awk `5.1.0` to `5.1.1`

The Go upgrade is done in advance of upgrade to `1.18.1`.
The Node.js upgrade is done since `12.x` security support [is over](https://endoflife.date/nodejs).

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-04 16:51:32 +02:00
Daniel Fernandes 960e338f48 Fixes status-im#13263
Signed-off-by: andrey <motor4ik@gmail.com>
2022-05-04 12:57:57 +02:00
andrey 8ac0823eef placeholder icons 2022-05-04 10:31:09 +02:00
andrey 1964200332 white line android fix
Signed-off-by: andrey <motor4ik@gmail.com>
2022-05-03 13:19:14 +02:00
jakub 2bab1325d8 ci: fix nix sandbox filename by adding random string
By using just the timestamp we increase the probability of hitting a
race condition with another build due to same filename of sandbox file.

Depends on: https://github.com/status-im/status-jenkins-lib/pull/40

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-04-27 15:07:26 +04:00
jakub d459f6c318 nix: upgrade Gems, Pods, and Gradle dependencies
This is done to help with debugging dependency issues in:
https://github.com/status-im/status-react/pull/13303

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-04-27 11:57:19 +04:00
Andrea Maria Piana 51b3358d91 Bump version to 0.98.5
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2022-04-26 12:59:47 +01:00
yevh-berdnyk acf7d1a1ad Updated TR report and failed tests ids for rerun 2022-04-25 16:36:03 +03:00
Roman Volosovskyi f6f80be30a [#13283] Fix syncing of adding contact after removal 2022-04-25 11:18:18 +02:00
Vitaliy Vlasov fbfab9fd3b Profile picture sync
Signed-off-by: Vitaliy Vlasov <siphiuel@protonmail.com>
2022-04-22 13:16:05 +03:00
Roman Volosovskyi 0c3097abb2 [#13257] Fix sync devices sorting 2022-04-19 12:51:20 +02:00
yevh-berdnyk fd6b14fccc Updated GH and TR reports
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2022-04-15 00:55:40 +03:00
Roman Volosovskyi 60ce2ea5d7 https://github.com/status-im/status-go/compare/3050106595104c16083a8a155d7b2167e7fda798...9de4eb3c8af4b50e74ca70760053432365dbc873
[#13198] Backup deleted community
2022-04-14 19:37:55 +02:00
Churikova Tetiana b53b7b331a e2e: cleanup 2022-04-14 10:49:17 +02:00
jakub 87b87e0d95 android: drop com.android.vending.CHECK_LICENSE perm
This blocks submissions to F-Droid repository, and is not necessary.

https://stuff.mit.edu/afs/sipb/project/android/docs/google/play/licensing/adding-licensing.html
https://developer.android.com/google/play/licensing/client-side-verification#manifest-permission
https://raccoon.onyxbits.de/blog/android-permissions-explained-com-android-vending-check_license-210

As far as I cn tell this permission might be coming from [react-native-blob-util](https://github.com/RonRadtke/react-native-blob-util):
https://github.com/RonRadtke/react-native-blob-util/blob/e5a0bc274673d3bfcc08ad49d2218d0a9780c5b3/android/src/main/AndroidManifest.xml#L4-L5

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-04-14 10:37:16 +02:00
Parvesh Monu 31c5e708fe Fix yarn issue with rn-emoji-keyboard (#13270) 2022-04-13 16:24:38 +05:30
Churikova Tetiana 3447032d59 e2e: pairing group 2022-04-12 11:24:03 +02:00
pavloburykh 71526e9bd9 added resolve_ipns case to browser group 2022-04-12 12:02:31 +03:00
pavloburykh fec8e00645 e2e: resolved conflicts 2022-04-11 14:32:26 +03:00
jakub 0311983751 ci: upgrade Nix from 2.3.12 to 2.6.1
Due to changes in how Nix handles Git refs we need to specify
`refs/tags/` prefix in `package.json` to avoid the following error:
```
fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6
error: program 'git' failed with exit code 128
```

I also had to rewrite some logic in `nix/scripts/source.sh` in order to
take account of single-user and multi-user installations.
We default to multi-user for Darwin, but not for any other OS due to
discovered issues with `nix-daemon` socket on Arch and open file limits.

I also rewrote `nix/scripts/setup.sh` and `/nix/scripts/purge.sh` to support
different types of installations. Both single-user and multi-user, as some
operating systems have issues with multi-user installations.

Resolves: https://github.com/status-im/status-react/issues/12832
Depends on: https://github.com/status-im/status-jenkins-lib/pull/37

Related changes:
* https://github.com/status-im/infra-ci/commit/84947b9f
* https://github.com/status-im/infra-ci/commit/bb98f5f3
* https://github.com/status-im/infra-ci/commit/f75d524d
* https://github.com/status-im/infra-ci/commit/d1fc92cd
* https://github.com/status-im/infra-ci/commit/87c4091e
* https://github.com/status-im/infra-ci/commit/8d6b6b3f
* https://github.com/status-im/infra-ci/commit/c4f13285
* https://github.com/status-im/infra-ci/commit/38ac698d

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-04-11 12:26:54 +02:00
jakub da76200433 nix: fix setup.sh script when running on MacOS
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-04-11 11:10:28 +02:00
Churikova Tetiana 56a1df03f0 e2e: 1 more group 2022-04-08 18:31:12 +02:00
Siddarth Kumar 2ddf4cf924 set image max width to avoid overflow (#13211)
squashed and merged
2022-04-08 21:11:43 +05:30
Parvesh Monu 6314038634 Add release notes for 1.19 (#13213) 2022-04-07 21:12:42 +05:30
Parvesh Monu ef95a59b0a Improve notifications life-cycle (#13248) 2022-04-06 23:06:17 +05:30
yevh-berdnyk cde0abd238 sauce sessions check 2022-04-06 14:26:02 +03:00
Roman Volosovskyi c9441b2db7 [#13201] Fix handling of favourits syncing 2022-04-05 18:13:06 +02:00
Churikova Tetiana 6aae08241d e2e: ens group 2022-04-05 17:24:03 +02:00
Roman Volosovskyi 4036e21f17 [#13235] Fix opening of the last shown chat with activated local notifications 2022-04-05 10:50:18 +02:00
andrey ba38f3ec74 turn off new wallet design
Signed-off-by: andrey <motor4ik@gmail.com>
2022-04-04 19:31:35 +02:00
andrey 12e3b74651 wallet redesign 2022-04-04 16:14:14 +02:00
Churikova Tetiana 784cb491ab e2e: nightly navigation fixes 2022-04-01 17:18:58 +02:00
Roman Volosovskyi 346574a494 [#13233] Proper message after clearing history in pubchat 2022-04-01 16:26:36 +02:00
diana 78864c099f e2e: backup tests for different user types 2022-04-01 12:17:15 +02:00
Parvesh Monu fd9b010662 Don't unmute contact while adding (#13237) 2022-04-01 14:36:50 +05:30
Churikova Tetiana 092b0ed427 e2e: 1-1 chat groups 2022-03-31 23:21:03 +02:00
Roman Volosovskyi 7a964fde29 [#13230] Show default syncing interval 2022-03-31 17:23:55 +02:00
siddarthkay c40094f2f9 squash and sign
lint fix

remove unused import and debug backgrounds

set width boundaries for long usernames in activity

fix lint and pass width from view

updated spacing to accommodate iphoneX

Signed-off-by: andrey <motor4ik@gmail.com>
2022-03-30 15:43:13 +02:00
andrey c4036aee09 [#13181] Cannot delete images or audio messages
Signed-off-by: andrey <motor4ik@gmail.com>
2022-03-30 15:42:31 +02:00
Parvesh Monu d086b86fd0 don't allow mentioning non-member contacts in public chat (#13227) 2022-03-30 00:25:46 +05:30
Churikova Tetiana 99c35da72a e2e: chat group in medium + testrail 2022-03-29 15:45:31 +02:00
Parvesh Monu fd89e73e07 fix screen orientation on android (#13218) 2022-03-28 21:36:23 +05:30
jakub 91e85a28f9 scripts/update-status-go: support commit SHA1
In some rare cases we might want to supply an exact commit rather than a
branch name or a git tag.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-28 17:44:16 +02:00
andrey d2bec183fd [#13220] ENS warning is not shown for affected multiaccounts after upgrade
Signed-off-by: andrey <motor4ik@gmail.com>
2022-03-28 13:28:33 +02:00
Samuel Hawksby-Robinson 79a5dcf61a Fix/torrent migration (#13217)
* bump status-go version to 0.97.2 (#13215)
https://github.com/status-im/status-go/compare/a3c60528ef6e077761a9beb7dd9c530123b7315f...e4acca1cc540b196f52f0bead9d3be2630440275

* bump status-go version to 0.97.3
2022-03-25 19:24:31 +00:00
Andrea Maria Piana d296da1c34 fix community preview
https://github.com/status-im/status-go/compare/9f7fc78def512929499bc2fa610f3b0e0ea1835b...a3c60528ef6e077761a9beb7dd9c530123b7315f
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2022-03-25 09:26:18 +00:00
Parvesh Monu b1dc1d871f quo2 counter component (#13182) 2022-03-25 01:31:13 +05:30
Parvesh Monu e4caa8f61a Bump release to 1.19.0 2022-03-24 15:00:59 +05:30
Samuel Hawksby-Robinson 21b21bb8ff Handle sync-settings
https://github.com/status-im/status-go/compare/f0d3e0419da9357a07b2ed97a2741095798812dd...9f7fc78def512929499bc2fa610f3b0e0ea1835b

Signed-off-by: Samuel Hawksby-Robinson <samuel@samyoul.com>
2022-03-23 21:35:59 +00:00
Churikova Tetiana 070bdc47ba e2e: more fixes 2022-03-23 17:28:16 +01:00
Churikova Tetiana 2d259db42d fastlane: update screenshots 2022-03-23 17:24:06 +01:00
Parvesh Monu 97bc388ad6 fix empty community in the community list (#13199) 2022-03-23 21:53:23 +05:30
jinhojang6 0a18f36623 Update translations
Signed-off-by: andrey <motor4ik@gmail.com>
2022-03-23 16:05:45 +01:00
Andrea Maria Piana 9485fe9ecf Backup communities
https://github.com/status-im/status-go/compare/12ccff417d95a0aef9736b811ea00341390dd1d5...f0d3e0419da9357a07b2ed97a2741095798812dd
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2022-03-23 14:48:38 +00:00
Churikova Tetiana 4b487f81f6 e2e: fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2022-03-22 19:11:41 +01:00
jakub cd24bc013f nix: fix call to status-go derivation
New argument added to pass the `secretsFile` was not added here:
https://github.com/status-im/status-react/pull/13144

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-22 11:01:10 +01:00
Roman Volosovskyi aa72ac5747 [#13016] Pass opensea key from env
Signed-off-by: andrey <motor4ik@gmail.com>
2022-03-21 13:59:35 +01:00
andrey c650fa99d8 [#13171] "Update to latest version ..." in case of replying to image message
Signed-off-by: andrey <motor4ik@gmail.com>
2022-03-21 11:21:04 +01:00
Audrius Molis 1b9e139255 Fix sed command to work on mac
Signed-off-by: Audrius Molis <masta@dr.com>
2022-03-21 11:35:00 +02:00
Brian Sztamfater a7b0764759 Implement Wallet Connect 1.0
Signed-off-by: Brian Sztamfater <brian@status.im>
2022-03-20 20:40:31 -03:00
Andrea Maria Piana 60cfca1107 Move mailserver logic to status-go
https://github.com/status-im/status-go/compare/598b83757cc8b27e3374e50de02187eacf0d4280...d60a6713fe2a0ed0fdf03a0777a8cfa7391d7c56
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2022-03-19 09:01:21 +00:00
andrey c69b640810 comment out go hook 2022-03-18 09:31:45 +01:00
siddarthkay b0cc30d606 Squashed fix lint and store author width to its own variable
making sure that long usernames are broken in two lines

fixed nickname timestamp overlapping issue

Signed-off-by: andrey <motor4ik@gmail.com>
2022-03-17 11:56:24 +01:00
Brian Sztamfater bd7da02c25 Implement Wallet Connect 2.0
Signed-off-by: Brian Sztamfater <brian@status.im>
2022-03-17 03:46:38 -03:00
jo-mut ece2605cb9 Refactored: edit community chats different screen segments
Signed-off-by: jo-mut <johnmutuku628@gmail.com>
2022-03-17 01:30:40 +03:00
jo-mut 407454859b Refactored: edit community chats different screen segments 2022-03-16 19:59:03 +03:00
andrey 12221ea067 [#13164] Warning 'Registration process has finished in invalid state' is shown for any ENS while typing it in profile
Signed-off-by: andrey <motor4ik@gmail.com>
2022-03-15 09:09:56 +01:00
Churikova Tetiana 2ae875f82a e2e: browser group 2022-03-14 17:20:06 +01:00
Audrius Molis 8e85d15a86 Only create git hook whet it is absent
Signed-off-by: Audrius Molis <masta@dr.com>
2022-03-14 11:57:14 +02:00
andrey 9e126a7399 tabs component
Signed-off-by: andrey <motor4ik@gmail.com>
2022-03-11 13:12:13 +01:00
andrey a0254c0fa8 button component 2022-03-11 13:07:22 +01:00
andrey 72a0df6332 text component 2022-03-11 13:07:21 +01:00
Audrius Molis 08da76c22a Disable chat input for chats with blocked users
Signed-off-by: Audrius Molis <masta@dr.com>
2022-03-10 20:44:48 +02:00
Parvesh Monu 66482863c1 fix screen opens twice on app reopening in ios (#13157) 2022-03-10 19:20:50 +05:30
Churikova Tetiana a3f4673177 e2e: nightly fixes 2022-03-09 17:38:29 +01:00
Churikova Tetiana 55915a9176 e2e: tx users 2022-03-07 22:17:39 +01:00
pavloburykh 891d1e6360 improvements of testing gap 2022-03-07 20:24:49 +02:00
Audrius Molis 1eb956d562 Add changelog from status-go on upgrade #13090
Signed-off-by: Audrius Molis <masta@dr.com>
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-07 12:46:49 +01:00
Parvesh Monu cf606b921a remove deprecated react-native-dark-mode dependency (#13136) 2022-03-04 19:34:17 +05:30
Parvesh Monu e6f552e785 Fix ios simulator error when notifications enabled (#13145) 2022-03-03 15:54:33 +05:30
Churikova Tetiana 7f007f204f exclude tx 2022-03-01 18:00:51 +01:00
andrey a2497c81e7 [#13116] Load audio messages from http server
Signed-off-by: andrey <motor4ik@gmail.com>
2022-03-01 17:07:40 +01:00
Parvesh Monu 5fd7e35d99 add remote notifications preferences (#13129) 2022-03-01 01:29:40 +05:30
John M. Ngei a71ad6e1a8 stop showing notifications for muted chats
Signed-off-by: John M. Ngei <johnmutuku628@gmail.com>
2022-02-25 22:16:46 +03:00
Roman Volosovskyi e8e70143d2 [#13104] Fix deadlock on syncing all data 2022-02-23 21:17:44 +01:00
Churikova Tetiana 0769528dcd e2e: kk + nightly fixes 2022-02-23 16:56:39 +01:00
andrey aaf655abe4 [#13086] stateofus.eth ENS username is not connected with chat key after purchasing
Signed-off-by: andrey <motor4ik@gmail.com>
2022-02-23 13:24:51 +01:00
Churikova Tetiana c59089c7d3 e2e: wallet+send tx 2022-02-22 15:26:46 +01:00
Churikova Tetiana 37108c8ee3 e2e: fix communities 2022-02-17 17:55:37 +01:00
pavloburykh f220e0fed8 e2e: test gap in public chat 2022-02-17 15:46:29 +02:00
frank 606c3c05e7 Sync bookmarks
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2022-02-17 13:37:39 +00:00
diana 6cb48834ae e2e: automate backup of contacts 2022-02-17 13:52:33 +01:00
frank 7b7a86284b Sync clear history
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2022-02-17 12:44:55 +00:00
Churikova Tetiana cf734032f2 e2e: fix accesibility #13028
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2022-02-14 15:38:45 +01:00
Parvesh Monu 36c7d8e4ca Implementation of remote android notifications (#13028) 2022-02-14 17:27:33 +05:30
Marco Süß a8e4363e6b always use english for fallback text
Signed-off-by: andrey <motor4ik@gmail.com>
2022-02-14 09:04:35 +01:00
jinhojang6 bcf20c358c Update translations
Signed-off-by: andrey <motor4ik@gmail.com>
2022-02-14 09:02:34 +01:00
Churikova Tetiana d77701537a e2e: fix ens and tx tests 2022-02-11 18:05:06 +01:00
Michele Balistreriandandrey 52afbf46ee get images over HTTPS with self-signed certificate
Co-Authored-By: andrey <motor4ik@gmail.com>
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2022-02-10 18:41:10 +01:00
Parvesh Monu 9850dd5160 fix ens resolve issue while following deep link (#13080) 2022-02-10 00:21:47 +05:30
Parvesh Monu e59a2663f7 fix activity center unique constraint error (#13088) 2022-02-09 19:00:32 +05:30
Roman Volosovskyi e1e709220e [#12193] Stop showing fetch more button for cleared history 2022-02-09 09:53:36 +02:00
Roman Volosovskyi d5c865d092 [#9480] Fix cutting of the last char in blockquote 2022-02-08 21:17:02 +02:00
Audrius Molis f0302e7cbf [status-im#12603] Show short hash near build number in About page
Signed-off-by: andrey <motor4ik@gmail.com>
2022-02-08 15:34:56 +01:00
Roman Volosovskyi 8f52b9b63c [#12816] Better meesage on insufficient balance to cover fee 2022-02-08 15:29:02 +02:00
Churikova Tetiana 82916de15c e2e: 2 onboarding groups
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2022-02-04 18:18:15 +01:00
andrey 8ed9accbeb [#13070] No wallet is shown when switching on BSC network
Signed-off-by: andrey <motor4ik@gmail.com>
2022-02-04 14:52:32 +01:00
andrey c1a338c2dd [#13068] No error "Profile not found" if entering invalid public key in New chat field
Signed-off-by: andrey <motor4ik@gmail.com>
2022-02-04 10:36:10 +01:00
Churikova Tetiana 3745a8e2fe e2e: fixed missing geth
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2022-02-02 16:26:15 +01:00
Roman Volosovskyi 9fb81c3894 [#12783] Improve order of mailserver requests 2022-02-02 11:21:21 +02:00
andrey 8e560d313d [#13007] Move ENS logic to status-go
Signed-off-by: andrey <motor4ik@gmail.com>
2022-02-01 13:26:05 +01:00
andrey c0e30b459f [#13006] Use token list from status-go
Signed-off-by: andrey <motor4ik@gmail.com>
2022-02-01 13:23:24 +01:00
Churikova Tetiana b63117845a e2e: fixes, umbrella issue update
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2022-01-31 18:50:42 +01:00
Parvesh Monu fd894dc339 fix gradle google free variable (#13064) 2022-01-31 16:12:46 +05:30
andrey dc8cbcde56 [#13059] 'Cannot read property' error on scanning invalid key
Signed-off-by: andrey <motor4ik@gmail.com>
2022-01-31 09:39:52 +01:00
Churikova Tetiana 4bf393ec3d e2e refactoring: group and public chat 2022-01-27 21:58:28 +01:00
jakub b1780a7128 docs: add list of nix deps update make targets
Important now that we're onboarding more new devs.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-01-27 21:42:05 +01:00
andrey 82f7fbf7e4 [#12071] Some ENS names starting with 0x are not picked up as universal links
Signed-off-by: andrey <motor4ik@gmail.com>
2022-01-26 17:10:09 +01:00
andrey a6eee856cf [#13046] No value in 'Gas amount limit' field in NFT dapps by default
Signed-off-by: andrey <motor4ik@gmail.com>
2022-01-26 17:07:56 +01:00
andrey 136a6313cd [#13047] Profile QR code overlaps share menu during sharing (IOS)
Signed-off-by: andrey <motor4ik@gmail.com>
2022-01-26 06:57:26 +01:00
Churikova Tetiana 6a8f7a07bf e2e: skip AttributeError
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2022-01-25 12:20:21 +01:00
Roman Volosovskyi c6eb964b7c [#13034] Replace 'etherscan' with 'block explorer' in translations 2022-01-25 10:45:10 +02:00
Roman Volosovskyi 93d4dc8cb5 [#13038] Add error message to email template on crash 2022-01-24 16:55:47 +02:00
Churikova Tetiana 7bbb882ffa e2e: shared steps for session 2022-01-24 12:40:02 +01:00
Parvesh Monu 012b3e396e Fix advanced notifications translation (#13027) 2022-01-21 19:58:20 +05:30
Roman Volosovskyi bf92c51ce4 [#12919] Allow adding emoji to group intro message if it exceeds limit 2022-01-19 17:36:32 +02:00
Roman Volosovskyi eefc2ede81 [#12989] Use higher base fee value for default tx fee calculation 2022-01-19 14:14:05 +02:00
andrey 111064f747 [#13016] "No collectibles available" at attempt to get any existing collectibles
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2022-01-18 16:38:58 +00:00
Churikova Tetiana cfab672f63 e2e: more fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2022-01-17 20:24:25 +01:00
Parvesh Monu 69221695b3 fix alert dialog background color (#13010) 2022-01-18 00:45:40 +05:30
Roman Volosovskyi c44e5bbb67 [#12919] Allowing adding emoji in status input even if it exceeds limit 2022-01-17 19:01:07 +02:00
Parvesh Monu 826dd32c40 Add group members to mentionable list and format code (#12994) 2022-01-17 18:47:09 +05:30
Churikova Tetiana 04b7357646 e2e: fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2022-01-14 17:55:39 +01:00
Michele Balistreri 2c38c74c16 * update react-native-webview
* more robust send-to-bridge

Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2022-01-14 13:49:06 +03:00
andrey eb7a6ce45a [#12991] Error when trying to edit 'per-gas price limit' on 1inch.exchange
Signed-off-by: andrey <motor4ik@gmail.com>
2022-01-13 11:05:23 +01:00
jakub 525577ab17 ci: specify nix version via agent label
Will make it easier and safer to upgrade Nix on CI hosts.

Also added architecture since we are starting to mix those.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-01-12 18:21:28 +01:00
Jonathan Ferreira (Johny) 83a7d3fafc Add/Fix rebase overwritten event (#12960)
* Add/Fix rebase overwritten event

* Remove membership invitation only option

* Fix lint findings

* Replace if w/ when condition

* Remove left over code

* Add/Fix rebase overwritten event

* Remove left over code

* Add correct message to community info
2022-01-12 14:05:44 +00:00
Churikova Tetiana 4318bb6431 github: update release umbrella issue
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2022-01-11 15:50:38 +01:00
andrey c466f96326 [#12535] Human Readable data display when signing using eth_signTypedData_v3
Signed-off-by: andrey <motor4ik@gmail.com>
2022-01-11 14:47:53 +01:00
andrey 130308fa8a [#12920] Unable to perform swap on 1inch.exchange if initial swap was cancelled by closing bottom sheet
Signed-off-by: andrey <motor4ik@gmail.com>
2022-01-11 14:47:22 +01:00
Churikova Tetiana a858918b80 Merge branch 'tests/pr-critical-high' into develop 2022-01-10 15:50:37 +01:00
Brian Sztamfater d5b8cde8e2 Add UBI token to the list of default tokens
Signed-off-by: Brian Sztamfater <brian@status.im>
2022-01-10 11:46:34 -03:00
Churikova Tetiana e5a30eaf1d e2e: critical or high in prs 2022-01-10 15:19:26 +01:00
Parvesh Monu b0fd58e9cb fix membership requests on synced devices (#12971) 2022-01-10 17:56:30 +05:30
Shivek Khurana eeb8db00f7 🔁 SWAP UI
CLJ Refactor x Hydra are cool. Add modal

Swap UI

Swap token input and gas slider in place

Asset selector sheets

WIP

Selector events

Tabs are back

Hide Swaps behind ff, add cards and modals for advanced settings

Fix lint issues

Signed-off-by: Shivek Khurana <shivek@status.im>
2022-01-05 23:57:51 +05:30
Churikova Tetiana 3499cdc123 e2e: update ci and made first group 2021-12-29 18:02:58 +01:00
Parvesh Monu 44b8a4c0f4 fix community invite link is not resolved (#12956) 2021-12-28 16:38:42 +05:30
Michele Balistreri e45f959c27 support PUK and seed recovery during onboarding
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-12-27 20:35:33 +03:00
Roman Volosovskyi cd86a1065b [#12936] Add accessibility-id to message timestamp 2021-12-27 13:44:21 +02:00
Parvesh Monu ffba396e4d fix distortion of app theme due to change in system theme (#12934) 2021-12-27 15:24:45 +05:30
Du Cheng 961692251c [#12930] Remove public chat references 2021-12-24 21:10:10 +02:00
Parvesh Monu 94fde74b88 Reorder community chats and categories using drag and drop (#12854) 2021-12-24 21:04:44 +05:30
Roman Volosovskyi 5402c217df [#12913] Properly handle syncing of pubchat delition/installation after offline 2021-12-24 17:03:34 +02:00
Parvesh Monu 4588dafe02 Open user profile from membership requests (#12950) 2021-12-24 20:27:30 +05:30
Parvesh Monu edbb06a7c3 Add community members to mentionable list (#12926) 2021-12-24 20:25:00 +05:30
Roman Volosovskyi 29a7e4dc1c [#12918] Show history gaps only in public chats and communities 2021-12-24 13:40:01 +02:00
Roman Volosovskyi de3c08ba18 Add sync history for 2 mins option for testing purposes 2021-12-21 21:42:42 +02:00
Churikova Tetiana e5ff46fdd5 e2e: fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-12-21 14:58:41 +01:00
Churikova Tetiana be79a8e54c e2e: fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-12-17 14:48:24 +01:00
Roman Volosovskyi 36d96c6264 [#12912] Fix endless loading after removing messages in group chat 2021-12-17 12:44:08 +02:00
jinhojang6 340213ece5 Update translations
Signed-off-by: Shivek Khurana <shivek@status.im>
2021-12-17 15:54:06 +05:30
Churikova Tetiana 032a8786ff e2e: fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-12-16 17:46:48 +01:00
Michele Balistreri 15d671275f avoid closing/opening NFC dialog in rapid sequence
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-12-16 18:32:08 +03:00
Ajay Sivan f3533c5f99 Show message timestamps on tap, remove from bubbles
Signed-off-by: andrey <motor4ik@gmail.com>
2021-12-16 13:15:35 +01:00
yevh-berdnyk b18d7b6a2a e2e: setup and teardown with shared drivers 2021-12-15 21:14:16 +02:00
Roman Volosovskyi 2c23ab4c5d [#12867] Add accessibility IDs to toggles for e2e 2021-12-15 18:57:25 +02:00
Roman Volosovskyi 646add59b8 [#12782] Re-open app on the last open chat 2021-12-15 13:45:42 +02:00
dependabot[bot] cd111aeeec Bump lxml from 4.6.2 to 4.6.5 in /test/appium
Bumps [lxml](https://github.com/lxml/lxml) from 4.6.2 to 4.6.5.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.2...lxml-4.6.5)

---
updated-dependencies:
- dependency-name: lxml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 19:45:32 +00:00
Roman Volosovskyi 81b60ce86c [#12907] Fix error on 'Accept and join' in referral chat 2021-12-13 16:42:08 +02:00
Roman Volosovskyi 356dd89147 [#12898] Fix endless loading in pubchats 2021-12-13 13:53:09 +02:00
Roman Volosovskyi a6102c1133 Fix unique :key warning on add pubchat screen 2021-12-13 12:59:03 +02:00
Andrea Maria Piana 7dfa93f2a2 Fix syncing public chats 2021-12-10 17:55:12 +00:00
Michele Balistreri c6271557b1 fix pairing for new cards
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-12-10 17:45:27 +03:00
Shivek Khurana d1f3a33194 Add 1.18 to RELEASES.MD
Signed-off-by: Shivek Khurana <shivek@status.im>
2021-12-09 15:46:55 +05:30
Shivek Khurana c6371bf3b3 Bump release to 1.18.0
Signed-off-by: Shivek Khurana <shivek@status.im>
2021-12-08 16:39:24 +05:30
jinhojang6 59bc7af00c Update translations 2021-12-07 17:14:40 +01:00
Michele Balistreri a5737856c0 sync leftovers
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-12-07 17:39:42 +03:00
Roman Volosovskyi 7d0944cfd1 [#12813] Remove POA network from the list 2021-12-07 13:08:31 +02:00
Roman Volosovskyi 099bcf8a17 Allow sending messages offline (non-datasync messages) 2021-12-07 12:25:26 +02:00
Churikova Tetiana 4504f07a2a e2e: small fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-12-06 17:58:19 +01:00
Brian Sztamfater b5d8a641c6 Improve mention suggestions list
Signed-off-by: Brian Sztamfater <brian@status.im>
2021-12-06 10:45:49 -03:00
Parvesh Monu 11d3bf094a Decline pending group invites from user, when user is blocked (#12878) 2021-12-06 18:34:13 +05:30
Andrea Maria Piana 32c0f9719c [Fixes: #12869] Save contact on unblock 2021-12-06 11:46:29 +00:00
andrey b587a8f85e [#11895] No last message when opening chat but it was visible on chat-preview
Signed-off-by: andrey <motor4ik@gmail.com>
2021-12-03 12:15:19 +01:00
andrey 53d7d719f0 [#12858] [ANDROID] Changing screen orientation results in breaking images / layout
Signed-off-by: andrey <motor4ik@gmail.com>
2021-12-03 12:13:51 +01:00
Michele Balistreri 46c023920c sync activity center
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-12-02 17:27:57 +03:00
Churikova Tetiana 816f15f976 e2e: dependencies
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-12-01 18:41:05 +01:00
snyk-bot 853af40167 fix: test/appium/requirements.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-1584144

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-12-01 16:10:39 +01:00
Andrea Maria Piana 153204ecb1 Add confirmation of p2p messages
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-12-01 13:00:56 +00:00
Roman Volosovskyi 62162c0f2a [#12848] Add an option to submit error report to GH 2021-11-30 16:13:36 +02:00
Roman Volosovskyi c7e66fb1aa [#12818] Support tx history (in a way) when on BSC chains 2021-11-27 11:03:01 +02:00
jakub 89d42b9ef4 nix: fix gomobile builds requiring Android SDK
This works fine on `x86_64`, but will fail when used on `aarch64`.

Issue: https://github.com/status-im/status-react/issues/12794

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-11-26 16:22:57 +01:00
jakub d0f76c5412 nix: upgrade nixpkgs to current master
Notable package upgrades:

| Software  | Old          | New           |
|-----------|--------------|---------------|
| Glibc     | `2.32`       | `2.33`        |
| BinUtils  | `2.35.1`     | `2.35.2`      |
| CoreUtils | `8.32`       | `9.0`         |
| OpenSSL   | `1.1.1k`     | `1.1.1l`      |
| Git       | `2.31.1`     | `2.33.1`      |
| GCC       | `8.4.0`      | `8.5.0`       |
| Clojure   | `1.10.3.855` | `1.10.3.1029` |
| Node.js   | `12.22.1`    | `12.22.7`     |
| Yarn      | `1.22.10`    | `1.22.17`     |

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-11-26 16:22:45 +01:00
Churikova Tetiana 3dc943c89e update release umbrella issue 2021-11-26 16:09:22 +01:00
Churikova Tetiana f5589c368c e2e: new tests + todos
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-11-26 15:18:29 +01:00
Roman Volosovskyi 469e082de1 [#12819] Fix network fee calculation on xDai chain 2021-11-26 13:25:09 +02:00
jakub a0430607d3 ci: specify macos host architecture in labels
Since now we have a 5th Gen Mac Mini with `arm64` M1 CPU.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-11-26 12:07:36 +01:00
Parvesh Monu 751b30688d Decline pending group invitations from user, when user is banned (#12835) 2021-11-25 21:09:10 +05:30
Parvesh Monu b4b39e5088 Change accessibility label as per online status (#12846) 2021-11-25 18:07:47 +05:30
andrey ae26024890 [#12837] Cannot remove value from the 'Custom nonce' field
Signed-off-by: andrey <motor4ik@gmail.com>
2021-11-25 08:04:56 +01:00
jakub 8b055cd3c3 ci: fix macos host label for pod updates
Job: https://ci.status.im/job/status-react/job/tools/job/run-pod-repo-update

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-11-24 20:54:46 +01:00
andrey c9c8263c9e [#12365] Spin of death on adding custom NFT token contract
Signed-off-by: andrey <motor4ik@gmail.com>
2021-11-24 12:36:47 +01:00
andrey 4000abfd0a [#11964] "TypeError: Network request failed" when switching to Goerli network
Signed-off-by: andrey <motor4ik@gmail.com>
2021-11-23 17:44:03 +01:00
andrey 995a647a34 [#12827] Can't send transaction with custom nonce as it is overlapped by keyboard
Signed-off-by: andrey <motor4ik@gmail.com>
2021-11-23 11:46:45 +01:00
Andrea Maria Piana fdadee6cef update statusgo
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-11-22 11:20:56 +00:00
Churikova Tetiana 27f1feeaf6 e2e: catch testrail error
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-11-19 18:28:29 +01:00
Parvesh Monu debf3df61c Allow user to be reinvited to the same group after leaving (#12814) 2021-11-19 20:28:42 +05:30
Churikova Tetiana ebf2ad206e e2e: new checks, formatting 2021-11-18 16:16:48 +01:00
Michele Balistreri b919df6d6b better NFC timeout handling on iOS
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-11-18 14:57:01 +03:00
andrey 437d58f827 use react-native-fast-image for stickers
Signed-off-by: andrey <motor4ik@gmail.com>
2021-11-17 15:44:27 +01:00
andrey d0d9960f8d [#12807] add ENS erc20 token to the list
Signed-off-by: andrey <motor4ik@gmail.com>
2021-11-17 13:20:46 +01:00
Parvesh Monu db9d1a1251 Remove chat from activity center after opening from public chat (#12815) 2021-11-16 21:40:53 +05:30
andrey c16b0860ec custom network symbol
Signed-off-by: andrey <motor4ik@gmail.com>
2021-11-16 12:43:31 +01:00
jakub f448f014f6 nix: update gradle dependencies
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-11-16 11:25:07 +01:00
jakub 43da5a60fe nix: make url2json.sh parse POM content for packaging
Otherwise we can download a JAR when an AAR is necessary.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-11-16 11:12:06 +01:00
Churikova Tetiana 41496d5ce3 e2e: waku align
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-11-16 10:39:11 +01:00
Michele Balistreri 4349f2659e use a default pairing password for Keycard
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-11-16 08:31:41 +03:00
Andrea Maria Piana e125164273 [Fixes: #12550] Backup contacts through waku
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-11-15 18:55:59 +00:00
jakub 179f1d26ae nix: remove obsolete references to Nimbus sources
This used to be a project to integrate Nimbus with mobile, but it was abandoned.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-11-15 13:17:30 +01:00
jakub bdfb7e296b nix: fix status-go override not passing to Nix build
Incorrect reference to `nimbus.src-override` causes Gradle builds to fail with:
```
Caused by: org.gradle.internal.resolve.ModuleVersionResolveException: Could not resolve status-im:status-go:e940434.
```
Due to this `if` clause not triggering:
https://github.com/status-im/status-react/blob/a573ae70e52e3c764b7a79a346c6114d01de458e/modules/react-native-status/android/build.gradle#L4-L8

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-11-15 12:11:11 +01:00
andrey a573ae70e5 [#12760] Add Binance Smart chain as main network
Signed-off-by: andrey <motor4ik@gmail.com>
2021-11-12 10:40:24 +01:00
Shivek Khurana 345ae29ddb Added svg support for nfts
Signed-off-by: Shivek Khurana <shivek@status.im>
2021-11-12 14:29:14 +05:30
Roman Volosovskyi 7359c52af1 Bug reporting and logs sharing improvements 2021-11-11 20:29:35 +02:00
Roman Volosovskyi 2c8276f353 [#11889] Allow snding messages offline 2021-11-11 16:31:20 +02:00
startgo 3ccdee2b9d Update zh_TW.json
修正一些顯示為簡體的字 Update some words to traditional chinese

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-11-11 14:41:13 +01:00
Churikova Tetiana 97a106a025 e2e: geth log in failed tests + new checks for PNs
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-11-11 14:27:58 +01:00
Parvesh Monu 7754f0b6a5 fix community category reset on edit channel (#12804) 2021-11-09 16:14:25 +05:30
Parvesh Monu e16f7161c3 fix activity center community invite preview (#12803) 2021-11-08 19:22:28 +05:30
Jakub 9b5cbf8258 nix: avoid nesting of Nix shells, show errors (#12796)
Nesting of Nix shells does not work, since we have no way to safely do
that without starting an infinite loop of nested Nix shells.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-11-05 12:59:33 +00:00
andrey 51bebf1483 fix eth_chainId
Signed-off-by: andrey <motor4ik@gmail.com>
2021-11-04 17:10:47 +01:00
Parvesh Monu b758b70733 Community categories reorder and persist open/close state (#12758) 2021-11-04 18:58:12 +05:30
andrey 21c9248536 [#10142] Add possibility to select wallet for ENS names
Signed-off-by: andrey <motor4ik@gmail.com>
2021-11-03 16:30:06 +01:00
andrey 9b3fb2ac69 fix custom fee bottom sheet
Signed-off-by: andrey <motor4ik@gmail.com>
2021-11-02 16:32:32 +01:00
andrey dd3ded8656 [#12530] Scrolling issues on the 'Max priority fee' bottom sheet 2021-11-02 16:32:24 +01:00
andrey 8dc6d8d467 fix status-bar on Android
Signed-off-by: andrey <motor4ik@gmail.com>
2021-11-02 12:19:21 +01:00
Roman Volosovskyi adca53f3ec [#12531 pairing] Sync read messages 2021-11-02 12:30:21 +02:00
Roman Volosovskyi 9035954f8b Export unencrypted db on iOS 2021-11-01 14:08:54 +02:00
Parvesh Monu 1034d542db Online Status Indicator (#12716) 2021-10-29 21:55:01 +05:30
Churikova Tetiana ec319974bd e2e: new checks and fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-10-29 15:21:49 +02:00
Samuel Hawksby-Robinson 0469419f9a Added release notes for 1.17
Signed-off-by: Samuel Hawksby-Robinson <samuel@samyoul.com>
2021-10-29 13:54:30 +01:00
Shivek Khurana b1daf12486 🙅🏻 Add warning and disable option if no profile pic added
Remove warning from list screen

Signed-off-by: Shivek Khurana <shivek@status.im>
2021-10-29 13:17:22 +05:30
andrey c6f041f0c5 [#12750] Show warning when adding ENS name for wallet account
Signed-off-by: andrey <motor4ik@gmail.com>
2021-10-28 16:23:47 +02:00
Parvesh Monu 9a2987da60 fix emoji keyboard height for ios devices (#12759) 2021-10-28 17:41:06 +05:30
jakub 3f7b985e1a nix: update gradle dependencies
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-10-26 15:40:25 +02:00
jakub edb3ed4ed2 nix: upgrade go-maven-resolver to 1.1.2
Fixes and issue with HTML entity characters in POMs.

https://github.com/status-im/go-maven-resolver/pull/6
https://github.com/status-im/go-maven-resolver/releases/tag/v1.1.2

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-10-26 15:39:55 +02:00
jakub 200eb189ea nix: fix use of androidPkgs in gradle shell
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-10-26 15:39:54 +02:00
Churikova Tetiana ed609674d3 e2e: improved logging in views
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-10-25 18:06:12 +02:00
Brian Sztamfater 40b5c23b54 Fix react-native-share linking
Signed-off-by: Brian Sztamfater <brian@status.im>
2021-10-25 09:21:41 -03:00
andrey 77e593572f [#12744] Issue using app.ens in browsee
Signed-off-by: andrey <motor4ik@gmail.com>
2021-10-25 14:04:11 +02:00
andrey c4aac1478e fix chat toolbar
Signed-off-by: andrey <motor4ik@gmail.com>
2021-10-25 11:41:33 +02:00
Churikova Tetiana 3a7fecf5ce e2e: fixes and update
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-10-22 19:29:07 +02:00
Parvesh Monu 7d6bee9099 Identify New Chats (#12654) 2021-10-22 14:48:58 +05:30
andrey 45c1896717 [#12599] Clicking on 3 word user name does nothing
Signed-off-by: andrey <motor4ik@gmail.com>
2021-10-21 14:38:46 +02:00
andrey cd30a04626 [#12731] Blank space in place of 1-1 chat with a blocked user on the home screen
Signed-off-by: andrey <motor4ik@gmail.com>
2021-10-21 14:31:35 +02:00
Roman Volosovskyi 8f5d3df215 [#12720] attempt to fix crash on accepting starter pack 2021-10-21 13:30:33 +03:00
Andrea Maria Piana 2ff4f5aba4 Hide transaction management
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-10-20 19:28:09 +01:00
Andrea Maria Piana 84ccbbbdf7 Send profile pictures in private chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-10-20 19:22:21 +01:00
andrey 760b021b8a [#12718] Endless spinner when signing TX with custom nonce (Keycard account only)
Signed-off-by: andrey <motor4ik@gmail.com>
2021-10-20 16:09:08 +02:00
andrey 7a7b365a00 [#12717] No preview for transaction messages in 1-1 chat
Signed-off-by: andrey <motor4ik@gmail.com>
2021-10-20 16:08:09 +02:00
jinhojang6 add5102bbf Update translations
Signed-off-by: andrey <motor4ik@gmail.com>
2021-10-20 12:42:31 +02:00
Vitaliy Vlasov 21e4885fc9 Fix field names related to Wakuv2 config
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-10-20 10:01:32 +01:00
Samuel Hawksby-Robinson 6591611473 Bump VERSION to 1.17.0
Signed-off-by: Samuel Hawksby-Robinson <samuel@samyoul.com>
2021-10-15 12:00:14 +01:00
Churikova Tetiana b9d5220da6 e2e: fixes and collectibles
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-10-15 12:45:39 +02:00
Roman Volosovskyi e2767ffce5 [#12709] Fix handling errors on eth_gasPrice 2021-10-15 11:49:38 +03:00
Shivek Khurana e1666aa169 Convert macro to fn
Signed-off-by: Shivek Khurana <shivek@status.im>
2021-10-14 16:27:36 +05:30
jinhojang6 933e74f1b3 Update translations
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-10-14 12:29:21 +02:00
Shivek Khurana f63d73bad8 🚀 NFT Launch
Signed-off-by: Shivek Khurana <shivek@status.im>
2021-10-14 15:42:22 +05:30
Andrea Maria Piana 5c52854d11 fdroid: add script that automates submissions
This script fetches a specified APK and analyzes it for values like
version code or commit and then based on that creates a branchy and a
commit in `fdroiddata` repository that can be used to create a release PR.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-10-13 12:13:38 +02:00
Shivek Khurana 389ce6695a NFT UI 🖼
New UI and re-frame handlers for setting pfp from url
Add fake chain-id, connect the pfp upload backend to UI
Add toast on setting pfp, new-new-new UI
Show assets based on selected network
Add horzontal padding to traits card
a11y ids and pr review changes
Added emoji in toast, fix chain id nill issue
Restore Podfile
Fix fix podfile
Add placeholder images for collections, hide option to set pfp when image url is empty or ends in mp4 or svg
Improvise missing designs
Fix paddings
New nu placeholders
Sort collections by name
Kinda fix issue 4
Fix lint

Signed-off-by: Shivek Khurana <shivek@status.im>
2021-10-13 14:35:44 +05:30
Andrea Maria Piana 84d3b562a4 [Fixes: #12697] Allow profile pictures from contacts 2021-10-12 16:50:01 +01:00
Andrea Maria Piana f50dcf53de [Fixes: #12680] Republish image on changing profile settings
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-10-11 15:02:21 +01:00
andrey 8d0bdf7c7f [#12684] Messages disappear from Timeline if join public chat and open Timeline tab while public chat history is loading
Signed-off-by: andrey <motor4ik@gmail.com>
2021-10-08 15:46:36 +02:00
Du Cheng a9333ad52c Doubled the character limit on timeline posts
Now, you won't have to fight an arbitrary character limit on posts like Twitter, and you can pack more meaning into your messages without having to split them into multiple messages.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-10-08 14:37:26 +01:00
Roman Volosovskyi 12a99f40d2 [#12681] Enable UI for signing legacy txs on networks without eip1559 support 2021-10-08 11:30:20 +03:00
Andrea Maria Piana 1f357fd7c6 Add loading indicator when community is fetching
Signed-off-by: andrey <motor4ik@gmail.com>
2021-10-08 10:07:27 +02:00
andrey 675dd9664a remove println leftover 2021-10-08 09:44:54 +02:00
andrey e47f839bfb [#12687] Icons in public chats and corresponding icons (default ones) of users are different
Signed-off-by: andrey <motor4ik@gmail.com>
2021-10-08 09:43:43 +02:00
Brian Sztamfater 0afbe80c36 Fix profile image in push notiications
Signed-off-by: Brian Sztamfater <brian@status.im>
2021-10-07 11:29:47 -03:00
Roman Volosovskyi 61878376a3 [#12673] Do not add unblocked user to added contacts 2021-10-06 17:09:59 +03:00
Roman Volosovskyi fe00971399 [#12520] Sync deleted chats 2021-10-06 14:47:02 +03:00
andrey 0b2d0d45ed [#12649] Mention preview is displayed as @0x... instead of user name/ENS on the home screen and in the Activity center
Signed-off-by: andrey <motor4ik@gmail.com>
2021-10-06 13:27:32 +02:00
Churikova Tetiana cd35af4e00 e2e: emoji fixes 2021-10-06 12:41:09 +02:00
jinhojang6 1f10ad37d1 Update translations
Signed-off-by: andrey <motor4ik@gmail.com>
2021-10-06 09:58:55 +02:00
andrey de373d0511 [#12666] Allow overriding nonce when sending transaction
Signed-off-by: andrey <motor4ik@gmail.com>
2021-10-06 09:58:04 +02:00
Churikova Tetiana fe1cc2dc23 e2e: nightly fixes 2021-10-05 16:34:56 +02:00
Parvesh Monu eb5711e9bc Custom Emoji Thumbnails for Community Channels (#12594) 2021-10-04 19:08:39 +05:30
andrey 1bbebc9055 contacts performance
Signed-off-by: andrey <motor4ik@gmail.com>
2021-10-04 15:10:26 +02:00
jakub 074a18c18f update Podfile.lock and Cocoapods version in it
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-10-01 13:50:22 +02:00
Roman Volosovskyi 943fc37543 [#12668] Fix gas estimation after using Set max 2021-10-01 09:54:41 +03:00
Roman Volosovskyi d0b3b4e293 [#12667] Fix broken subscription on add bootnode screen 2021-10-01 09:47:06 +03:00
Samuel Hawksby-Robinson 5108ae7972 Add private profile pictures 2021-09-30 13:05:33 +01:00
jakub 79be879306 ci: upgrade library and use of pkgFilename()
Depends on: https://github.com/status-im/status-jenkins-lib/pull/36

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-09-28 21:25:34 +02:00
Churikova Tetiana 8b0ddec8f9 Merge branch 'tests/nightly28-09-2021' into develop 2021-09-28 18:06:39 +02:00
Churikova Tetiana 0c48f1da88 e2e: fixes 2021-09-28 17:50:55 +02:00
Vitaliy Vlasov a0acdeca33 Use go-waku's connection status updates 2021-09-28 16:34:04 +03:00
Brian Sztamfater 5c0102c27b Add push notification on group invite chat
Signed-off-by: Brian Sztamfater <brian@status.im>
2021-09-28 09:06:47 -03:00
andrey 675515a655 [#12642] Can't send funds to multisig - Out of gas
Signed-off-by: andrey <motor4ik@gmail.com>
2021-09-27 15:58:41 +02:00
Roman Volosovskyi 70607a13ae [#12568] Fetch history on receiving pubchat installation 2021-09-27 12:39:55 +03:00
Roman Volosovskyi 750ea72043 [#12563] Allow retrieving of profile updates after removing contact 2021-09-27 11:11:36 +03:00
hesterbruikman d27f45bad4 fastlane/metadata: update app screenshots
Adding here so they can be populate on F-droid.

Signed-off-by: andrey <motor4ik@gmail.com>
2021-09-24 16:28:57 +02:00
Roman Volosovskyi 428236b4bb [#12585] Clear modal's dissmissing state after reopening app with enabled background service 2021-09-24 16:23:43 +03:00
Churikova Tetiana 76c5e7ce1e Merge branch 'tests/e2e-fixes230921' into develop 2021-09-24 13:09:26 +02:00
Churikova Tetiana 2373737684 e2e: sync contacts + fixes 2021-09-24 12:35:19 +02:00
Andrea Maria Piana 48af425c25 [Fixes: #12596] Fix timeline messages 2021-09-24 10:03:10 +01:00
Roman Volosovskyi 23a0ac9522 [#12517] Ensure that all necessary contact fields are synced 2021-09-23 13:19:11 +03:00
Brian Sztamfater 68ffddbb51 Add ability to Share image from Status
Signed-off-by: Brian Sztamfater <brian@status.im>
2021-09-22 10:07:08 -03:00
jakub 85348306ce drop scripts/generate-pull-request-report.sh
People on HackerOne keep reporting this file as containing a secret token.

The reality is that this token is no longer usable since it was
published to a public repo, which would have caused it to be revoked
automatically though GitHub automation:
https://docs.github.com/en/code-security/secret-scanning/about-secret-scanning

Other than that I'm pretty sure nobody is using this script.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-09-21 20:04:39 +02:00
jakub e2c18ea151 add commit hash to app metadata for Android and iOS
This will make identifying installed software easier.
It can also be used to generate F-Droid RPs more easily.

Depends on:
https://github.com/status-im/status-jenkins-lib/pull/35

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-09-21 11:48:45 +02:00
andrey 82b640abe1 chats list performance
Signed-off-by: andrey <motor4ik@gmail.com>
2021-09-20 18:40:07 +02:00
Serhy 6387bba9f5 Update testrailreport and threads
Signed-off-by: Serhy <sergii@status.im>
2021-09-20 18:50:26 +03:00
Churikova Tetiana ca273faadd e2e: align with testrail API 2021-09-20 12:08:04 +02:00
Michele Balistreri 5b72e749e3 add mark all read for communities
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-09-20 09:38:41 +03:00
Churikova Tetiana 716e72fb5f ENSon Ropsten on PR and e2e builds 2021-09-18 13:59:07 +02:00
Churikova Tetiana 18606f548b e2e: ens ropsten 2021-09-17 18:20:47 +02:00
andrey c001688db9 [#12569] RPC URL is lower-cased when entered in URL field when adding a custom network
Signed-off-by: andrey <motor4ik@gmail.com>
2021-09-16 12:18:56 +02:00
Churikova Tetiana 995db1c332 e2e: collectibles + fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
Signed-off-by: Serhy <sergii@status.im>
2021-09-16 09:59:17 +03:00
Andrea Maria Piana 8daf3df6b2 [Fixes: #12486] Fix delete of messages 2021-09-15 10:50:30 +01:00
jakub a76e4666de update-status-go: does not need to depend on make shell
The dependency on `make shell` is confusing and unnecessary since
`update-status-go.sh` script only requires availability of the
`nix-prefetch-url` utility to check SHA256 of the `status-go` verison.

Use of `make shell` with this script can also cause issues when running
`make run-android` if already in the shell, which prevents spawning a
new one and effectively stops changes to `status-go-verison.json` file
taking effect.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-09-15 11:04:52 +02:00
Michele Balistreri 4f4651baac opening group/community chats clears related activity center entries
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-09-15 09:29:50 +03:00
jakub a1ede3528f nix: drop our gomobile in favor of one from nixpkgs
I've created PRs to include gomobile in official nixpkgs:

* https://github.com/NixOS/nixpkgs/pull/116747
* https://github.com/NixOS/nixpkgs/pull/131042

Hence I'm removing our own implementation to use that one.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-09-14 11:31:17 +02:00
jakub 5e9c7da96c nix: upgrade nixpkgs, clean up android sdk config
Notable upgrades:

| Package        | Previous    | Current     |
|----------------|-------------|-------------|
| `glibc`        | `2.32`      | `2.33`      |
| `git`          | `2.31.1`    | `2.32.0`    |
| `clojure`      | `1.10.3.855`| `1.10.3.943`|
| `nodejs`       | `12.22.1`   | `12.22.6`   |
| `yarn`         | `1.22.10`   | `1.22.11`   |
| Platform Tools | `31.0.2`    | `31.0.3`    |
| Build Tools    | `30.0.3`    | `31.0.0`    |

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-09-14 10:53:36 +02:00
jakub 88dc152e73 nix: rafactor android-sdk to provide sdk/ndk outputs
This makes path shorter.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-09-14 10:52:41 +02:00
Brian Sztamfater 2095b41eee Add release notes for 1.16
Signed-off-by: Brian Sztamfater <brian@status.im>
2021-09-13 14:23:29 -03:00
andrey 40919b53fb [#12556] Black font color of community categories in dark mode
Signed-off-by: andrey <motor4ik@gmail.com>
2021-09-13 13:39:31 +02:00
andrey af272abcbf [#12047] move colors to quo 2021-09-13 11:23:30 +02:00
andrey 52647b88a7 fix token-icon 2021-09-13 10:55:43 +02:00
Shivek Khurana e2ddf7517f 🎨 NFT Support via OpenSea
Baic skeleton 🦴
NFT Details page. The API is not returning properties
Add traits, add opensea link, fetch nfts when new account is added
Toggle privacy options
Hide NFT behind FF
Update sgv
Fix lint and rename opensea to collectibles

Signed-off-by: Shivek Khurana <shivek@status.im>
2021-09-13 14:14:07 +05:30
Michele Balistreri 5246617c69 target SDK 30
support scoped storage from Android 10

better permission handling on iOS 14

Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-09-13 10:17:51 +03:00
jakub bcd497a48a fdroid: fix adding GOOGLE_FREE=1 with missing newline
Broke removing Google dependencies for F-Droid builds:
https://gitlab.com/fdroid/fdroiddata/-/merge_requests/9730#note_674501441

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-09-10 17:39:28 +02:00
andrey ee02b90774 [#12050] replace list-item usage by quo
Signed-off-by: andrey <motor4ik@gmail.com>
2021-09-09 13:08:08 +02:00
Churikova Tetiana c036469409 e2e: fee + fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
Signed-off-by: Serhy <sergii@status.im>
2021-09-09 11:35:32 +03:00
Michele Balistreri 0a5abee780 make secure-text-entry always a boolean
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-09-09 09:40:55 +03:00
andrey 1e94a45339 [#12526] Connecting autofarm.network dapps with status wallet freezes browser
Signed-off-by: andrey <motor4ik@gmail.com>
2021-09-08 11:20:37 +02:00
Michele Balistreri 2bd4957569 - seed-phrase field should not enable autofill
- make hide/show password work on Android

Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-09-07 14:05:01 +03:00
Parvesh Monu 08cae71390 Small UI Design Improvements (#12544) 2021-09-06 23:27:51 +05:30
Brian Sztamfater 112c5fde15 Fix unread indicator in activity center when delete message
Signed-off-by: Brian Sztamfater <brian@status.im>
2021-09-03 13:56:01 -03:00
Brian Sztamfater 4de24442eb Fix browser history sorting
Signed-off-by: Brian Sztamfater <brian@status.im>
2021-09-03 13:54:59 -03:00
Roman Volosovskyi efff6d3997 Fix clj kondo warnings in subs.cljs 2021-09-03 11:13:42 +03:00
Roman Volosovskyi 031d44c554 [#12476] Re-enable amount/fee validation on tx signing 2021-09-03 11:08:17 +03:00
Churikova Tetiana 1aa0d930fb e2e: delete message + tx tests
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-09-02 18:06:30 +02:00
Churikova Tetiana 0451b152b3 Merge branch 'develop' of github.com:status-im/status-react into develop 2021-09-02 18:01:55 +02:00
Michele Balistreri ad29cc7e30 request permissions before saving images
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-09-02 15:26:18 +03:00
Roman Volosovskyi aaff386146 [#12332] Shown PNs on message with mention in community chats (iOS) 2021-09-02 11:03:52 +03:00
Michele Balistreri ff0068c5a7 activate commands on ropsten for PR builds
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-09-01 18:00:09 +03:00
Churikova Tetiana c65af97a52 update PAX Token
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
Signed-off-by: Serhy <sergii@status.im>
2021-09-01 13:27:28 +03:00
Churikova Tetiana 5e812e29bf update PAX Token
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-09-01 12:23:58 +02:00
Churikova Tetiana bcaa54017e doc: add bump version to umbrella issue
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-09-01 11:08:30 +02:00
Michele Balistreri fea2b9a9af don't show notifications from self
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-08-31 15:07:04 +03:00
Roman Volosovskyi a818dd4a2a [#12494] Update unviewed messages counter on message deletion 2021-08-31 12:15:02 +03:00
Pavlos Vinieratos e6c416c2c3 typo 2021-08-31 06:41:12 +02:00
andrey e21860563a [#12519] Add $RARE token to our default list
Signed-off-by: andrey <motor4ik@gmail.com>
2021-08-30 16:52:56 +02:00
Michele Balistreri eebbfe9346 better PIN/PUK retry counter handling
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-08-30 17:33:44 +03:00
Roman Volosovskyi 86fcdd47e4 [#11849] Move pull to refresh to the account overview screen 2021-08-30 14:28:46 +03:00
Churikova Tetiana 86e0da1da8 Bump release to 1.16.0
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-08-30 11:12:03 +02:00
Churikova Tetiana 58c86144fc enable delete messages
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-08-30 11:08:00 +02:00
Serhy bacc3f54ab Check notifications in AC for mentions in community and group
Signed-off-by: Serhy <sergii@status.im>
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-08-30 11:01:11 +02:00
Roman Volosovskyi d9f3c49aec [#12511] Fix unread indicator after opening profile modal from chat 2021-08-27 14:25:45 +03:00
andrey 905a9d8c9a fix edit channel topbar
Signed-off-by: andrey <motor4ik@gmail.com>
2021-08-27 12:03:21 +02:00
andrey 5d66abdbd4 [#12052] move radio to quo
Signed-off-by: andrey <motor4ik@gmail.com>
2021-08-27 10:53:10 +02:00
Churikova Tetiana 21410b217f bump VERSION to 1.15
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-08-26 10:53:32 +02:00
andrey 5f1f129d59 revert preload chats
Signed-off-by: andrey <motor4ik@gmail.com>
2021-08-26 09:18:37 +02:00
Shivek Khurana 3942528cc1 🙈 Hide delete message button
Signed-off-by: Shivek Khurana <shivek@status.im>
2021-08-25 17:10:29 +05:30
Roman Volosovskyi 2f0e0af1a1 [#12332] Redirect to community chat on pressing PN 2021-08-25 13:43:12 +03:00
Michele Balistreri 8c493510a4 clear notifications on message read
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-08-25 13:08:08 +03:00
Andrea Maria Piana a569687161 [Fixes: #12448] Fix unread indicator in chat on message delete 2021-08-25 12:35:08 +03:00
jinhojang6 31e6649cd4 Update translations
Signed-off-by: andrey <motor4ik@gmail.com>
2021-08-25 11:04:59 +02:00
Michele Balistreri e3f471ecf6 handle multiple calls to frozen-keycard-popup
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-08-24 10:32:37 +02:00
Churikova Tetiana 614f7211d2 e2e: small nightly fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-08-23 17:22:38 +02:00
Brian Sztamfater 5cd57254c9 Hide deleted messages in activity center
Signed-off-by: Brian Sztamfater <brian@status.im>
2021-08-23 12:06:32 -03:00
andrey 2882085d2e [#12446] Screens with overlapping long usernames
Signed-off-by: andrey <motor4ik@gmail.com>
2021-08-23 14:17:26 +02:00
Roman Volosovskyi 3409ccab27 [#12467] Remove default action icon in message actions list 2021-08-23 12:50:39 +03:00
Roman Volosovskyi 37d893d5f8 [#12460] Allow assets name collision 2021-08-23 11:49:39 +03:00
Roman Volosovskyi 428ce7bbdf [#12450] Hide deleted message from PNs (Android) 2021-08-23 11:48:05 +03:00
Ismael d8fb0e866b Show link preview image if thumbnailUrl is not empty
Signed-off-by: andrey <motor4ik@gmail.com>
2021-08-23 09:11:08 +02:00
andrey 25a6495d37 preload chats
Signed-off-by: andrey <motor4ik@gmail.com>
2021-08-20 16:00:13 +02:00
Churikova Tetiana f940f8dfc8 e2e: eip-1559 2021-08-20 16:43:58 +03:00
Roman Volosovskyi f5f47ae636 Enable EIP 1559 2021-08-20 16:43:51 +03:00
Andrea Maria Piana f76b400a7d Fix last message deletion
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-08-20 10:10:46 +02:00
Churikova Tetiana 00adc3448a e2e: hide/delete accounts, several checks on kk
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-08-19 17:57:42 +02:00
Brian Sztamfater 0acca32e78 Sort pinned messages by date
Signed-off-by: Brian Sztamfater <brian@status.im>
2021-08-19 11:02:25 -03:00
Michele Balistreri 2a6cb978ba always start PIN/PUK/Pairing change with PIN prompt
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-08-19 15:26:22 +03:00
andrey f031d2b32d [#12443] long press is long and it makes the message disappear entirely
Signed-off-by: andrey <motor4ik@gmail.com>
2021-08-18 14:46:43 +02:00
andrey d1666a42de [#12161] Missing delete wallet option
Signed-off-by: andrey <motor4ik@gmail.com>
2021-08-18 14:46:14 +02:00
Churikova Tetiana 19f3e79ec1 [#12453] fix DATA coin details
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-08-18 11:27:32 +02:00
Roman Volosovskyi 02277be602 [#12451] Fix copy icon in message actions 2021-08-17 20:05:11 +03:00
andrey ad9dc9913f [#11468] Hide/show option for accounts in the wallet
Signed-off-by: andrey <motor4ik@gmail.com>
2021-08-17 14:27:42 +02:00
Shivek Khurana 8ec46a0d78 🗑 Delete message UI
️ Add flag to hide message in UI, there are some bugs in rebuild list process
Don't rebuild, just update the UI state
Update delete to soft delete. Some traces of delete already exist in the app

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-08-16 13:26:55 +02:00
jinhojang6 81f081e47d Update translations for the title and descriptions
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-12 20:18:16 +02:00
jakub d4da8209cd Revert "Remove fastlane metadata because no one use it"
Because as pointed out in this comment:
https://github.com/status-im/status-react/issues/12289#issuecomment-894008069
the lack of fastlane metadata makes F-Droid unable to find out things
like app description.

For more details see:
https://f-droid.org/en/docs/All_About_Descriptions_Graphics_and_Screenshots/#fastlane-structure

This reverts commit 3469aca1d8.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-12 19:28:20 +02:00
andrey 1f38423723 [#12418] Error when declining membership request
Signed-off-by: andrey <motor4ik@gmail.com>
2021-08-11 09:10:12 +02:00
Churikova Tetiana 8298c35db2 e2e: upgrade align
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-08-10 13:59:27 +02:00
Brian Sztamfater c96c2b44b4 Fix pinned edited messages in communities
Signed-off-by: Brian Sztamfater <brian@status.im>
2021-08-09 13:01:35 -03:00
Churikova Tetiana d15860c93e e2e: nightly fix
Signed-off-by: andrey <motor4ik@gmail.com>
2021-08-09 15:42:21 +02:00
andrey f7cf172761 [#12422] Can't navigate to community channel from community invite view 2021-08-09 08:46:54 +02:00
Samuel Hawksby-Robinson 8cf87dbbbd changed target status-go to feature/sync_communities branch
Signed-off-by: Samuel Hawksby-Robinson <samuel@samyoul.com>
2021-08-06 16:58:19 +01:00
Andrea Maria Piana cc95913dc1 [Fixes: #12393] Allow to enable transaction management
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-08-06 15:17:32 +02:00
Michele Balistreri d5396f6b18 don't carry card status on logout
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-08-06 11:10:55 +02:00
Michele BalistreriandChurikova Tetiana 85fcabe249 emit url event when recreating Activity with link
Co-authored-by: Churikova Tetiana <churikova.tm@gmail.com>
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-08-05 12:10:05 +02:00
Michele Balistreri 11cfb894a4 bump status-go version
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-08-04 13:43:34 +02:00
Michele Balistreri 82cfc642c0 update react-native-webview
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-08-03 16:20:50 +02:00
andrey d6d4b28e1e [#12334] Redirect to home instead of community page when come back from community channel
Signed-off-by: andrey <motor4ik@gmail.com>
2021-08-03 15:58:50 +02:00
Brian Sztamfater e5477cd449 Fix Error when opening 1-1 chat in Activity center for blocked user
Signed-off-by: Brian Sztamfater <brian@status.im>
2021-08-03 09:31:06 -03:00
Shivek Khurana 18e6ceaab1 🛳 Add release notes for 1.15
Signed-off-by: Shivek Khurana <shivek@status.im>
2021-08-03 07:40:52 +05:30
Churikova Tetiana 7b714671eb e2e: fix for offline e2e + timeline e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-08-02 21:15:26 +02:00
Brian Sztamfater deb88cbc71 Fix icon for replies and mentions
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-08-02 11:48:09 +02:00
Brian Sztamfater 5c29ea38ea Fix for group chat invites icon in activity center 2021-08-02 11:47:47 +02:00
Andrea Maria Piana bbaf55fddd Remove clear history from non-public chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-08-02 11:47:25 +02:00
ismael 969f8f4d8a Add quick way to permanently hide android background service notification
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-08-02 11:46:42 +02:00
Michele Balistreri 9759add62a trigger migration to Keycard from logged in state
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-08-02 10:54:20 +02:00
Brian Sztamfater 0cee717602 Add pinned messages option in community channel info
Signed-off-by: Brian Sztamfater <brian@status.im>
2021-07-29 12:36:11 -03:00
Michele Balistreri 9a61ef3fd7 reset text input after editing message
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-07-28 15:24:25 +02:00
Churikova Tetiana 413960682a e2e: remaining fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-07-28 15:02:59 +02:00
Michele BalistreriandChurikova Tetiana edabec6a12 update status-go and adapt e2e for group invitation
Co-authored-by: Churikova Tetiana <churikova.tm@gmail.com>
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-07-27 15:11:24 +02:00
andrey 11d9a16e7d [#12309] Appearance changes do not apply to the action bar color on Browser screen on Android
Signed-off-by: andrey <motor4ik@gmail.com>
2021-07-27 11:12:28 +02:00
Shivek Khurana 6d67e93fa3 ⬆️ bump version
Signed-off-by: Shivek Khurana <shivek@status.im>
2021-07-27 13:50:51 +05:30
Churikova Tetiana db68c3a1fa e2e: fix for images
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-07-26 22:02:50 +02:00
andrey f2b29b8349 fixed subscriptions leak
Signed-off-by: andrey <motor4ik@gmail.com>
2021-07-26 14:13:07 +02:00
andrey 398a2e2e40 [#12319] User's statuses are not displayed in Profile if it is opened by scanning QR
Signed-off-by: andrey <motor4ik@gmail.com>
2021-07-26 11:02:05 +02:00
andrey e966f8a54b [#12318] Bottom sheet doesn't close when opening gallery and camera to set profile picture on iOS
Signed-off-by: andrey <motor4ik@gmail.com>
2021-07-26 10:39:59 +02:00
andrey 88715131dd [#12329] No redirect to 1-1 chat when starting chat via "Chat" button in profile
Signed-off-by: andrey <motor4ik@gmail.com>
2021-07-26 10:39:29 +02:00
andrey c43dd2ec20 [#12321] No redirect from "Confirm the passcode" screen while resetting Keycard with the mnemonic if card was frozen during tx signing
Signed-off-by: andrey <motor4ik@gmail.com>
2021-07-26 10:34:39 +02:00
Brian Sztamfater 6ee9f6a409 Show replies on activity center
Signed-off-by: Brian Sztamfater <brian@status.im>
2021-07-23 14:49:55 -03:00
Churikova Tetiana 944098ad84 e2e: blocked/frozen/back up kk
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-07-23 15:54:25 +02:00
andrey c50130fd4b [#12317] Gaps on 'recipient' screen in Wallet, 'add and edit favourites' screens in Browser, and in Profile after setting up ENS
Signed-off-by: andrey <motor4ik@gmail.com>
2021-07-23 15:04:42 +02:00
andrey e1dfaa4a6b [#12310] "Unknown" screen if press a tag in timeline of another user in user's profile and tap back
Signed-off-by: andrey <motor4ik@gmail.com>
2021-07-23 15:04:00 +02:00
andrey b292e7ea5a [ #12338] "Reset with mnemonic" and "Access exisiting keys" are overlapping on small screens
Signed-off-by: andrey <motor4ik@gmail.com>
2021-07-23 14:05:45 +02:00
Serhy d727338e9a PN and reactions for messages
Signed-off-by: Serhy <sergii@status.im>
2021-07-23 12:56:39 +03:00
Michele Balistreri 170ef0a429 fix factory reset and unblock pin
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-07-21 18:39:00 +02:00
andrey 7d9a2f074e [#12066] Add category to communities
Signed-off-by: andrey <motor4ik@gmail.com>
2021-07-21 18:38:28 +02:00
Michele Balistreri ebf951d110 fix notification screen displayed twice
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-07-21 12:24:19 +02:00
Churikova Tetiana 40b1a9b8ae e2e: frozen kk 1 part
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-07-20 17:48:45 +02:00
Michele Balistreri e8f7ae8f27 implement account conversion
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-07-20 14:28:04 +02:00
Andrea Maria Piana baa96ed22e Upgrade geth and add add london code
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-07-20 11:18:00 +02:00
jakub fe07d52fae debug: try dropping all armv7 and armv7s architectures
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-07-20 11:17:46 +02:00
jakub 625866e50b nix: upgrade Go 1.14 to 1.16, gomobile to 2021-02-20
With upgrade to Go above `1.15` and Gomobile we now drop support for darwin/arm32 builds.
This means all devices like iPhone 5 or older.

For more details see:
https://tip.golang.org/doc/go1.15#darwin

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-07-20 11:17:45 +02:00
Roman Volosovskyi 1e4c1a5598 eip1559 changes 2021-07-20 11:17:44 +02:00
Serhy fe0a67dc65 Pin-unpin messages in chats
Signed-off-by: Serhy <sergii@status.im>
2021-07-20 12:16:42 +03:00
Churikova Tetiana 56d29866da e2e: keycard settings e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-07-15 13:59:22 +02:00
Churikova Tetiana bc6ed19579 e2e: reset password + fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-07-14 16:51:30 +02:00
Shivek Khurana 306b81ed71 tos->tou
Signed-off-by: Shivek Khurana <shivek@status.im>
2021-07-14 15:40:24 +05:30
Churikova Tetiana 382cb6d918 e2e: delete low category
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-07-13 16:04:37 +02:00
Churikova Tetiana 0f2bd9c6f1 e2e: nightly 13/07 fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-07-13 14:55:18 +02:00
Churikova Tetiana 0fce3e60f5 e2e: communities
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-07-12 17:42:36 +02:00
Churikova Tetiana 4d5857dd01 e2e: fixes 2021-07-12 17:39:34 +02:00
Brian Sztamfater b0457f594b Fix error replies activity center while not implemented
Signed-off-by: Shivek Khurana <shivek@status.im>
2021-07-12 16:16:18 +05:30
Shivek Khurana dd4c5f778e Principles link 🔗 Fixes #12296
Signed-off-by: Shivek Khurana <shivek@status.im>
2021-07-12 16:00:09 +05:30
andrey d3c5b9e948 copy full address when signing tx
Signed-off-by: andrey <motor4ik@gmail.com>
2021-07-12 12:28:10 +02:00
andrey 06f0ee877b [#12294] "Unknown" if tap "Pinned messages" on user profile from public chat
Signed-off-by: andrey <motor4ik@gmail.com>
2021-07-12 12:27:45 +02:00
Michele Balistreri 5ff854c7c7 update status-go
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-07-07 13:53:01 +02:00
Shivek Khurana dea7227c29 Enabled password reset UI
Fix function typo that caused android version to fail
Fix Issue 1 pointed out by Tetiana. Implement new UI to accomodate slow progress on Android
Fix QA Issue 3 - Hide reset password option for keycard accounts
Add steps to password reset
Align the checkbox on terms of use
Make modal rext align center because it wrapped abruptly
Logout user after password reset
Disable next button to curb recklessness
Remove reset password feature flag

Signed-off-by: Shivek Khurana <shivek@status.im>
2021-07-07 17:02:44 +05:30
Serhy ab01093a6e Edit message in chat test
Signed-off-by: Serhy <sergii@status.im>
2021-07-07 11:36:34 +03:00
jinhojang6 a35d5f9d15 Update translations
Signed-off-by: andrey <motor4ik@gmail.com>
2021-07-07 08:51:42 +02:00
Vitaliy Vlasov caaba958e3 Add Waku V2 support
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2021-07-06 19:18:48 +03:00
andrey 723d99cb40 [#12260] Keycard UI issues after RNN
Signed-off-by: andrey <motor4ik@gmail.com>
2021-07-06 13:03:45 +02:00
Serhy 927d67f3ca Update tests to check ToS link and fix for chats in activity centre
Signed-off-by: Serhy <sergii@status.im>
2021-07-05 23:23:29 +03:00
Brian Sztamfater 089f42e0e9 Pinned messages in chats
Signed-off-by: Brian Sztamfater <brian@status.im>
2021-07-05 10:31:37 -03:00
andrey 440e6d2047 [#12270] App crashes if first open the "Enter your seed phrase" screen, then go back, generate a new key and create a password
Signed-off-by: andrey <motor4ik@gmail.com>
2021-07-05 14:25:53 +02:00
Brian Sztamfater af9461da74 Mention activity center & empty state
Signed-off-by: Brian Sztamfater <brian@status.im>
2021-07-02 16:42:18 -03:00
jakub ec54de8f63 nix: refactor gomobile to be built with buildGo114Module
This simplifies the package, and also drops the need for `deps.nix` file.
It also slims down the #11986 Go upgrade PR for easier debugging.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-30 18:50:05 +02:00
jakub 0d403739f9 nix: upgrade go-maven-resolver to 1.1.1, add more repos
I've noticed issues with the https://repository.sonatype.org/ Maven repository we were using.
They appear to have purged their storage of a lot of packages, including our own for example:
https://repository.sonatype.org/content/groups/sonatype-public-grid/com/github/status-im/

For this reason I've release a new version of `go-maven-resolver` that includes two more Maven repos:
- https://plugins.gradle.org/m2
- https://jitpack.io

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-30 18:49:55 +02:00
Churikova Tetiana 031626aefc e2e: more fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-06-30 16:53:39 +02:00
andrey b280befe2d rnn more issues
Signed-off-by: andrey <motor4ik@gmail.com>
2021-06-30 15:24:32 +02:00
Shivek Khurana 35845ae3d3 New TOS and force opt-in banner
Change link on first screen fix #12122
Tos and privacy now open in webview. Added TOS to about fix #12208
New users TOS opt in fixes #12206
Add tos accept screen for existing users fixes #12207
Address reviews and effects to show-hide force tos opt-in screen
clear checkbox state when get started is clicked. Fixes qa-issue 2
Show screen logic and cleanup
Fix issue with banner not showing for second new account, until re-login. Update Terms of service to Terms of Use.
Update tos url
Update e2e
Update e2e 2
Update e2e 3

Signed-off-by: Shivek Khurana <shivek@status.im>
2021-06-30 12:41:06 +05:30
Churikova Tetiana d3fefb6238 e2e: fixes, align, e2e for sync
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-06-29 18:22:52 +02:00
Michele BalistreriandTetiana Churikova 6598ef3466 remove cancel warning on Keycard onboarding
Co-authored-by: Tetiana Churikova <tatiana@status.im>
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-06-29 13:43:55 +02:00
Andrea Maria Piana 45b9fd4b91 [Fixes: #12607] Edit messages
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-06-29 13:18:52 +02:00
Michele Balistreri 9ba0960d71 improve credential handling for e2e
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-06-25 15:46:16 +02:00
jakub f917782fc1 ci: allow for providing custom Nix cache hosts
This is part of my work of moving Nix cache to a separate host
because our Master host with jenkins needs more space.

Also, new Nix installer updated `.profile`, not `.bash_profile`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-24 15:33:28 +02:00
Shivek Khurana dc86457035 Fix go version
Signed-off-by: Shivek Khurana <shivek@status.im>
2021-06-24 16:22:04 +05:30
Shivek Khurana a1204d0c80 UI in place
Do not need account-info for password reset
Update status go version
Java API
PR Fixes and hide behind a feature flag
Reset status go version to HEAD
Disable reset password in DEV
Enable reset password in DEV

Signed-off-by: Shivek Khurana <shivek@status.im>
2021-06-24 13:47:57 +05:30
andrey e7887d4fca [#11885] Add ETH2x-FLI erc20 token in our default list of supported tokens in the wallet
Signed-off-by: andrey <motor4ik@gmail.com>
2021-06-23 20:16:17 +02:00
Churikova Tetiana 8bab25075b e2e: align tests with RNN upgrade
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-06-23 19:09:33 +02:00
andrey 706d6a44a4 rnn leftovers
Signed-off-by: andrey <motor4ik@gmail.com>
2021-06-23 15:35:31 +02:00
andrey dd5864ff25 add plain url support in all qr scanners, add scanner to browser options
Signed-off-by: andrey <motor4ik@gmail.com>
2021-06-22 13:39:03 +02:00
Serhy a1d091ac19 Update release process guide
Signed-off-by: Serhy <sergii@status.im>
2021-06-22 14:15:28 +03:00
Churikova Tetiana e312e3137d add release umbrella issue template
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-06-21 13:28:49 +02:00
Churikova Tetiana 1def0b7f9e added 1.14 to RELEASES.md 2021-06-21 13:28:18 +02:00
andrey 7bfd671820 [#12233] support $HEZ erc20 token
Signed-off-by: andrey <motor4ik@gmail.com>
2021-06-21 12:39:22 +02:00
Serhy afb6109d9f Update e2e tests after RNN upgrade
Signed-off-by: Serhy <sergii@status.im>
2021-06-18 16:33:15 +03:00
jakub a9601ddb86 ci: upgrade XCode 12.3 to 12.5
It's about time to upgrade, especially since `13.0` is near.

Related to: https://github.com/status-im/infra-ci/commit/2d63c1f3

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-18 15:10:53 +02:00
jakub 0652d18653 nix: upgrade nixpkgs, keep Go at 1.14.15
Notable software upgrades:

- Go `1.14.13` to `1.14.15`
- Clojure `1.10.1.763` to `1.10.3.855`
- NodeJS `12.20.1` to `12.22.1`
- Git `2.29.2` to `2.31.1`
- CMake `3.10.2` to `3.18.1`
- Curl `7.74.0` to `7.76.1`
- Android NDK `21.3.6528147` to `22.1.7171670`
- Android Platform Tools `30.0.5` to `31.0.2`

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-15 17:49:33 +02:00
jakub f9d697dd2e nix: upgrade Nix 2.3.6 to 2.3.12
This should also fix issues with MacOS sandboxing:
```
sandbox-exec: execvp() of '/nix/store/...-bash-4.4-p23/bin/bash' failed: Operation not permitted
```
https://github.com/cachix/install-nix-action/issues/15

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-15 17:49:27 +02:00
Serhy 296e28ef1c Bump release to 1.14.0
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-15 11:46:57 +02:00
Serhy 9502229c09 e2e update to align RN update
Signed-off-by: Serhy <sergii@status.im>
2021-06-14 22:02:26 +03:00
andrey 5f719ac95b react native navigation
Signed-off-by: andrey <motor4ik@gmail.com>
2021-06-14 20:03:49 +02:00
jakub 0e12360ed8 fdroid: fix permissions on TMPDIR for Vagrant builds
Our `Makefile` implicitly creates the `TMPDIR` folder.
The issue with that is that if `make fdroid-build-env` is called by
`root` - as it is when being used by F-Droid - then the `TMPDIR`
is also owned by `root`, and because its permissions are `0755` the
`vagrant` user is unable to write to it.

This is why implicit targets like this are a nightmare to debug:
https://github.com/status-im/status-react/blob/63290fd019d26647e0b8a3d5f1e323b762644337/Makefile#L120-L124

For more details see:
https://gitlab.com/fdroid/fdroidserver/-/issues/910
https://gitlab.com/fdroid/fdroiddata/-/merge_requests/8879
https://gitlab.com/fdroid/fdroiddata/-/merge_requests/9140

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-10 16:43:07 +02:00
Churikova Tetiana 63290fd019 e2e: txs fix + color match
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-06-08 13:02:19 +02:00
jakub ffb5fac6f7 fdroid: add fix for /tmp permission on Vagrant builders
You can see details about this in these PRs:
https://gitlab.com/fdroid/fdroiddata/-/merge_requests/8879
https://gitlab.com/fdroid/fdroiddata/-/merge_requests/9140

Without this the build fails with:
```
error: creating directory '/tmp/tmp-status-react-896b583da/nix-shell-900-0': Permission denied
```
https://monitor.f-droid.org/builds/log/im.status.ethereum/2021042608

It doesn't make any sense to me, since `/tmp` has to have `1777`
permissions, but it is what it is.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-08 10:13:40 +02:00
jakub c20d6b5782 ci: do no delete non-draft releases
We identified this issue in status-desktop release from branch
`release/0.1.0-beta.10` which had old version in VERSION file.
https://ci.status.im/job/status-desktop/job/release/job/release%252F0.1.0-beta.10/

Depends on: https://github.com/status-im/status-jenkins-lib/pull/28

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-08 09:19:36 +02:00
jakub 2b52ba2389 ci: fix folder name for the status.im CI job
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-08 09:19:28 +02:00
Serhy bc823f9e96 Enable DB management in e2e builds
Signed-off-by: Serhy <sergii@status.im>
2021-06-07 14:47:42 +03:00
Andrea Maria Piana 3568b20522 [Fixes: #12191] Fix muting chat
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-06-07 07:28:00 +02:00
Volodymyr Kozieiev 1900e3038b Community channel editing
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2021-06-04 19:21:51 +03:00
Michele Balistreri aaf07911c4 add blocked card popover
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-06-04 13:12:06 +02:00
Shivek Khurana 8448570922 Anonymous metrics opt-in UI
Settings screen
Settings event handler and connection to UI
Both bottom sheets with text in place
Make links inline
Show metrics in progress
Event value in accordion
Repurpose metrics screen for first time users
Onboarding metrics screen working, but not connected to flow. No animations yet.
Show opt-in banner for new accounts
Show opt in screen on login for existing accounts. Don't start metrics service for accounts where metrics are disabled
Tighten start/stop logic
Pagination and loader
Remove prn and fix lint
Ui fixes
Thank you animation
lint fix
PR comment fixes
Get rid of set, fix lint
Have an overshoot but buttons stopped working
add accessibility labels
True modals and fix opt-in displayed multiple times error
Fix icon cutting off on the top on smaller screens
Replace "invite-instructions" to "how-it-works" in all translatiosn
Add pagination to view-data events
Refactor open and close modal functions
Remove dispatch from init-db
Update status go to include pagination of data
Put metrics behind a feature flag

Signed-off-by: Shivek Khurana <shivek@status.im>
2021-06-04 13:57:36 +05:30
Andrea Maria Piana e4e9556303 set depreacted metamask fields
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-06-02 13:18:29 +02:00
Serhy 3207300e02 Tests execution ordering
Signed-off-by: Serhy <sergii@status.im>
2021-06-02 13:22:00 +03:00
Andrea Maria Piana f0d739291e Add community link in description
Fixes: #12179
Fixes: #12133
Fixes: #12131

This commit adds a community link in the description that can be copied and
shared by the user.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-06-02 12:18:13 +02:00
jinhojang6 f26c3090c6 Update translations
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-06-01 13:45:06 +02:00
Andrea Maria Piana 505b290c6e [Fixes: #12140] Don't show gap after 30 days and allow user to set sync period
This commit adds a setting in sync section so that user can select the
amount of days the can sync.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-06-01 13:08:20 +02:00
Andrea Maria Piana 508060f18d Fix community toggle
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-06-01 13:02:31 +02:00
Andrea Maria Piana a3cb837266 Fix group chat gaps 2021-06-01 13:02:20 +02:00
Andrea Maria Piana ae3df0c730 Exclude blocked contacts from list 2021-06-01 13:02:20 +02:00
Andrea Maria Piana d6a999043e dont show gaps in timeline/profile chats 2021-06-01 13:02:19 +02:00
Andrea Maria Piana 58d994706f Hide option to select community type
Fixes: #12147

Hide option to select community type
2021-06-01 13:02:18 +02:00
Michele Balistreri 213c288cc1 handle hash-message failure correctly
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-05-31 16:41:02 +02:00
Michele Balistreri 114e704b78 fixed various styling issues
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-05-31 12:38:40 +02:00
Serhy 4cd6ada534 Update e2e to check ther is no blocked user in mentions
Signed-off-by: Serhy <sergii@status.im>
2021-05-31 12:10:24 +03:00
Churikova Tetiana 1bdbf3e403 e2e: mentions + new e2e + unread mentions
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-05-28 17:42:54 +02:00
Andrea Maria Piana ef13b4d210 [Fixes: #12061] Add unread mentions count
Fixes: #2061

This commit adds an unread mentions count in 3 places:

1) Public chats
2) Communities in home
3) Communities chats

The logic is that if you have unread mentions, it will show you the
count of messages with unread mentions, while if you have only unread
messages, you will see a blue dot.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-05-28 16:50:53 +02:00
Andrea Maria Piana 8926a7ad4e Allow importing db from script
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-05-28 12:58:40 +02:00
Michele Balistreri 65d76ba9c8 remove puk/pairing step from onboarding
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-05-27 14:02:15 +03:00
Serhy 399e7d399b Update e2e with more checks
Signed-off-by: Serhy <sergii@status.im>
2021-05-27 13:35:15 +03:00
Serhy 69a50ff9ab Update kk test with additional check
Signed-off-by: Serhy <sergii@status.im>
2021-05-26 11:44:54 +03:00
Andrea Maria Piana 152407b903 [Fixes: #12060] Highlight posts that mention you
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-05-26 08:40:41 +02:00
jakub e30ca97184 nix: drop references to nix-cache-cn.status.im
See:
https://github.com/status-im/infra-ci/commit/faaf051b

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-05-25 17:53:47 +02:00
Roman Volosovskyi 011de1b8ae Tracing of nested fx handlers on :trace logging level 2021-05-25 16:26:51 +03:00
jakub 6d43f34cf8 nix/deps/gradle: include Gradle targets with numbers in names
This fixes an issue first detected in:
https://github.com/status-im/status-react/pull/12141

Which resulted in dependencies being ignored for `react-native-nagivation`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-05-25 14:33:41 +02:00
Churikova Tetiana e5b7fb13a1 e2e: 3 last upgrade tests
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-05-25 13:46:28 +02:00
Michele Balistreri b67ecacd8b fix #10793 and #11060
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-05-25 13:38:40 +03:00
Roman Volosovskyi 58d358125c [wallet] Show cached balance before fetching latest 2021-05-25 10:26:57 +03:00
Andrea Maria Piana f5baee5039 [Fixes: #12136] Fix endless spinner on group chat invitation
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-05-24 15:55:49 +02:00
Volodymyr Kozieiev 2b0c498613 Edit community
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2021-05-24 16:26:42 +03:00
Michele Balistreri 177b905291 remove unreliable card check
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-05-24 12:24:40 +03:00
Michele Balistreri 4217f558a8 add reset with mnemonic on frozen/blocked cards
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-05-21 15:41:52 +03:00
Andrea Maria Piana a71468f425 Allow toggling communities
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-05-21 13:09:19 +02:00
Andrea Maria Piana dd5c30b7a0 Move mailserver logic/gaps/ranges to status-go
This commit moves most of the mailserver logic to status-go.

- Filters are now removed and not passed to the client anymore
- Ranges have been removed
- Gaps are now messages with a different content type
- Upsert/Save chat has been removed and instead we have more specific
endpoints such as CreatePublicChat/CreateOneToOneChat/CreateProfileChat
- Creation of timeline/profile chat has been moved to status-go

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-05-21 07:44:21 +02:00
Brian Sztamfater 929925af39 Resolve username to ENS right after 1-1 chat opened after username search from 'Start new chat' by ENS
Signed-off-by: Brian Sztamfater <brian@status.im>
2021-05-19 12:00:37 -03:00
Churikova Tetiana 880321ccc4 e2e: paring upgrade test
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-05-19 14:34:29 +02:00
Michele Balistreri 1bff966679 correctly resume keycard setup after cancel
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-05-19 13:11:39 +03:00
Michele Balistreri f770045f89 show notifications and welcome screen for keycard
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-05-18 19:14:38 +03:00
Michele Balistreri 72df44da6c allow creation of recovery cards from logged-out state
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-05-18 14:09:11 +03:00
Churikova Tetiana 273b0064e2 e2e: upgrade - dapps, wallet
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-05-18 10:39:27 +02:00
guylouis 9dcf3cde93 added v1.13 release note
Signed-off-by: andrey <motor4ik@gmail.com>
2021-05-18 10:09:14 +02:00
Churikova Tetiana b6623ae1c3 e2e: merge too granular e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-05-14 11:20:14 +02:00
Churikova Tetiana 2618201bb3 ci: make e2e stage depends on publish param
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-05-12 20:42:30 +02:00
Roman Volosovskyi ba3e229d6f make target for clearing xcode's derived data dir 2021-05-12 16:39:29 +03:00
Michele Balistreri 8cb0ad9285 add signTypedData_V4 to Keycard and update status-go
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-05-12 13:48:05 +03:00
Roman Volosovskyi 6c7d689a7c fix building for ios simulator from cli/xcode 2021-05-11 12:42:52 +03:00
Serhy 6a71a1e798 Update e2e to merge emoji long tab in another test
Signed-off-by: Serhy <sergii@status.im>
2021-05-11 12:25:59 +03:00
Volodymyr Kozieiev 3469aca1d8 Remove fastlane metadata because no one use it
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2021-05-11 12:09:42 +03:00
Michele Balistreri 427209c960 removes flow related flags when cancelling
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-05-11 09:09:52 +03:00
Tetiana Churikova b71617e490 update bug report: add missing brackets
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-05-10 17:35:52 +02:00
Tetiana Churikova ba8c943046 update bug-report
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-05-07 14:48:52 +02:00
Serhy ef042bdc0b Accept-Reject chats from activity center test
Signed-off-by: Serhy <sergii@status.im>
2021-05-07 13:14:57 +03:00
Volodymyr Kozieiev 8628cbbf76 Update release guide
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2021-05-06 15:58:58 +03:00
Michele Balistreri 0b8509949a add factory reset option on new Keycard account
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-05-06 13:26:45 +03:00
Roman Volosovskyi a7660754fb Allow to enter bip39 password on account recovery 2021-05-05 12:06:55 +03:00
Churikova Tetiana ec528f98cc e2e: upgrade - commands, audiomessage
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-05-03 17:07:23 +02:00
jakub dd0031f68e ci: add PR numbers to filenames of artifacts
This is useful for QA team when they download multiple builds.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-05-02 22:19:03 +02:00
Churikova Tetiana be37b1683e e2e: fix for progress bar and testrail for e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-04-30 18:41:14 +02:00
Churikova Tetiana 710e55002b e2e: 1 upgrade test
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-04-30 11:55:43 +02:00
Serhy 19eda04c90 Test activity cener with only-contacts setting
Signed-off-by: Serhy <sergii@status.im>
2021-04-29 14:00:33 +03:00
jakub cf9f160de9 ci: nicer artifact filenames for release builds
Depends on: https://github.com/status-im/status-jenkins-lib/pull/24

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-28 17:25:39 +02:00
Roman Volosovskyi 3dfa7beacd [wallet #12000] Check tx history in 2/3/5/10/20 minutes on buy crypto 2021-04-28 17:10:38 +03:00
Brian Sztamfater 4dacc95de6 Include a 'My Profile' button in the Start New Chat dialogue
Signed-off-by: Brian Sztamfater <brian@status.im>
2021-04-27 16:44:03 -03:00
andrey 448782b3d3 small chat perf impr
Signed-off-by: andrey <motor4ik@gmail.com>
2021-04-27 16:36:11 +02:00
Roman Volosovskyi 693c41850c [wallet] Store pending transactions 2021-04-27 12:25:18 +03:00
andrey 1bd62f1199 [#12033] Can't open Status tab after upgrade from 1.12 to 1.13 if the tab has never been opened before upgrade
Signed-off-by: andrey <motor4ik@gmail.com>
2021-04-23 16:47:15 +02:00
Roman Volosovskyi 2ed25a9f51 fix warning on intro screen 2021-04-23 16:48:37 +03:00
Churikova Tetiana 3b6f3b77cc e2e fix PNs
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-04-23 14:59:33 +02:00
Volodymyr Kozieiev 67b646dcca status-go cleanup
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2021-04-22 17:10:42 +03:00
andrey d59c9205ea [#12011] Invisible messages in public and group chats if they were received while user was on another screen
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-04-21 13:10:19 +02:00
andrey c2212af3ff [#12014] Skip 'Accept and join' view when navigating back from public chat joined from referral
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-04-21 13:08:36 +02:00
andrey da9e6686c6 [#12008] "Community information is not found" after opening community view from home
Signed-off-by: andrey <motor4ik@gmail.com>
2021-04-20 17:44:28 +02:00
Andrea Maria Piana f7ab1ff20c Bump release to 1.13.0
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2021-04-20 17:55:36 +03:00
Andrea Maria Piana 956bb813d4 Make cut release executable 2021-04-20 11:07:48 +02:00
Andrea Maria Piana 807dabf5b2 Load message on-component-did-mount
I have changed the behavior of loading notifications:

Before it would always use the same function and check for `cursor !=
""`.
This worked on most cases, but sometimes the user would jump back to the
home view without doing any clean up, so cursor would be `""` and it
would not load any notification anymore.

Now the two functions are split in initial load, and load-more.

Initial load is called on component-did-mount so we don't have to worry
about where the user is coming from. We also avoid multiple firing of
the events by checking `loading?`, so it does not result in duplicated
notifications.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-04-20 11:06:19 +02:00
Churikova Tetiana 3b652adaf3 e2e: align with chat optimization
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-04-19 20:23:31 +02:00
andrey c22ffb1032 [#11994] No chats on Home screen after reopening the app if appearance doesn't match the device settings (dark/light mode)
Signed-off-by: andrey <motor4ik@gmail.com>
2021-04-19 18:53:29 +02:00
andrey 2494c61f85 [#11991] No unread message indicators after navigation back to 'Chats' main view via tap on Chats tab button 2021-04-19 18:53:19 +02:00
andrey 073371c4ed chat list optimization 2021-04-19 18:53:19 +02:00
Andrea Maria Piana db848a1f19 Add permission handling & enable HW acceleration on webview
This extend adding permissions to a separate webview used for buying
crypto.
It also removes a fix with hardware acceleration, as the camera does not
work if disabled.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-04-19 18:26:18 +02:00
Brian Sztamfater 85a01f5404 Add support for SOCKS token
Signed-off-by: Brian Sztamfater <brian@status.im>
2021-04-19 11:17:37 -03:00
andrey adaf77ba1b v4
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-04-19 14:52:30 +02:00
andrey 7f839f952d eth_sign support 2021-04-19 14:50:44 +02:00
Volodymyr Kozieiev b29912f7f7 community links unfurling
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2021-04-19 15:44:32 +03:00
Roman Volosovskyi fab241f6ac Pevent incorrect usage of fx/defn inside fx/merge
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-04-19 12:51:37 +02:00
jakub 594c83013c ci: upgrade jenkins lib to 1.2.12 to generalize GH release
This is required to also ad GitHub releases to `status-desktop`.

Also renamed `status-react-jenkins` to `status-jenkins-lib` for clarity.

Depends on: https://github.com/status-im/status-react-jenkins/pull/23

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-19 11:47:34 +02:00
jakub 2e94e0e765 ci: rename folder to match status-desktop naming
Part of re-organization related to release builds for desktop.

See:
- https://github.com/status-im/status-react/pull/11992
- https://ci.status.im/job/status-desktop/

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-19 11:47:25 +02:00
andrey 05ed28b9a2 re-frisk 1.5.0 2021-04-19 11:45:43 +02:00
Serhy f4530d4d03 activity center: align e2e
Signed-off-by: Serhy <sergii@status.im>
2021-04-19 11:39:43 +03:00
Shivek Khurana ed4e227144 Add a long running task to transfer events to Go when the user logs in, rename interceptors namespace to core, send events in batches, capture s/on-will-focus, capture navigate-to-cofx, stop long running task if any event fails validation, not quite ready yet, needs more testing
Remove redudant println, don't stop the task in case of a bad event, just reject that batch, capture navigate-to-cofx events with an effect, capture parts of screens/on-will-focus event

Fix lint

Shorten comment widths, update  to use less brackets, call events reset once, double run safety for long running task

Call onboard after stopping

Reset periodic-tasks-chan to  on close, formatting

Get rid of redundant inline function

Update go version to point to 0.75.1

Signed-off-by: Shivek Khurana <shivek@status.im>
2021-04-19 10:59:23 +05:30
andrey 93ce02b547 [#11958] Add activity center 2021-04-16 20:45:20 +02:00
Andrea Maria Piana 5bb849f9c1 Add messages from contacts only 2021-04-16 20:45:19 +02:00
jakub 310a1ad5f1 drop scripts/tag-release.sh in favor of scripts/cut-release.sh
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-16 16:14:57 +02:00
Andrea Maria Piana a90d8a1439 Add release guide & script to cut release
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-16 16:12:37 +02:00
Michele Balistreri acbd240070 add change pairing code functionality
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-04-16 13:09:01 +03:00
Roman Volosovskyi c77b350d77 [wallet #11811] Show transfers with unspecified chaiId 2021-04-15 17:42:52 +03:00
jinhojang6 2cf0a60977 Update translations
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-04-15 13:56:59 +02:00
jakub 711389365c doc: update update-playstore-metadata job link
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-14 16:14:16 +02:00
jakub ef5031a4aa ci: update Google Play JSON credential name
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-14 14:04:39 +02:00
jakub ab7e9795ce ci: use status-im-auto cred for e2e PR jobs
Trying to clean up duplicate credentials.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-14 13:50:22 +02:00
jakub 7eca3c42d7 ci: add Jenkinsfile for pod repo updates
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-14 13:48:00 +02:00
Volodymyr Kozieiev e307b4faa6 Fixed error on login with attempt to save wrong key into account
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2021-04-14 11:14:12 +03:00
Roman Volosovskyi 4129ca1597 [wallet #11898] Fix disappearing tokens after adding a new account 2021-04-14 11:09:17 +03:00
Brian Sztamfater 31ba933917 Improved Start New Private Chat interface
Signed-off-by: Brian Sztamfater <brian@status.im>
2021-04-13 16:57:47 -03:00
Michele Balistreri eea5b4eb0f add change PUK functionality
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-04-13 18:21:21 +03:00
Brian Sztamfater d1016669bb Remove self-mentions
Signed-off-by: andrey <motor4ik@gmail.com>
2021-04-13 11:22:52 +02:00
Serhy 4ca7c0b989 Jenkins URL to rerun tests
Signed-off-by: Serhy <sergii@status.im>
2021-04-13 11:16:25 +03:00
andrey f6e480344d do not render not active screen
Signed-off-by: andrey <motor4ik@gmail.com>
2021-04-13 08:40:02 +02:00
Shivek Khurana 5eed7bd560 Disable Medium.com unfurling
Signed-off-by: Shivek Khurana <shivek@status.im>
2021-04-12 14:51:12 +05:30
andrey 87f86d3b7b bump re-frisk 1.4.0 2021-04-12 08:36:54 +02:00
jakub 8890f25f96 ios: update gems, fastlane 2.164.0 to 2.179.0
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-09 10:23:37 +02:00
jakub 651065f0a6 ios: fix saving stderr logs from react-native-xcode.sh
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-09 09:50:14 +02:00
jakub b27a53bdee nix: fix order of starting iOS shell hooks
Fixes the `'Statusgo.h' file not found` error.

Resolves: https://github.com/status-im/status-react/issues/11951

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-09 09:50:13 +02:00
Roman Volosovskyi 2116847fc6 [wallet] cleanup 2021-04-08 23:58:55 +03:00
barukimang 965438bc87 fixed broken urls readme and contributing pages
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-07 19:06:30 +02:00
Shivek Khurana 90ad5f2f77 In key management section, the mnemonic was not being trimmed, which lead to issues
Signed-off-by: Shivek Khurana <shivek@status.im>
2021-04-05 18:02:49 +05:30
Michele Balistreri f0827ff624 add creation of backup keycards
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-04-02 17:11:36 +03:00
Samuel Hawksby-Robinson be0ad943ea Anon metrics transfer
Saving my initial noodling

Saving my initial noodling

Filtering working much better, data collection working better

Added jsonrpc call params

Added transformations ns and funcs

whitelisting the new rpc method

Addressed PR feedback

Minor fix for the on-failure log/error

lint fix

manual lint fix

Signed-off-by: Shivek Khurana <shivek@status.im>
2021-04-01 17:07:18 +05:30
Roman Volosovskyi 937efc9f4f [wallet #11944] Watch confirmation of sent tx when syncing is disabled 2021-04-01 11:31:54 +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
Roman Volosovskyi 460685212a [wallet] Finetuning RPC calls for new accounts 2021-03-31 16:08:25 +03:00
guylouis 46655dbd48 Added v1.12 release notes
Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-31 12:10:01 +02:00
Samuel Hawksby-Robinson f970834536 Added ToC, Tidied Troubleshooting, Added images to avoid future 404s
Removed superfluous check

Adjusted images to be 50% the page width

Image width 75%

Finished off REPL section

Signed-off-by: Samuel Hawksby-Robinson <samuel@samyoul.com>
2021-03-30 23:18:37 +01:00
Samuel Hawksby-Robinson a4836120e6 Added a doc for IDE setup
Based on https://notes.status.im/9Gr7kqF8SzC_SmYK0eB7uQ?view, hopefully this document can help some poor soul in the future. I have a little more work to do but I'm interested in whether this kind of document would be welcome in the repo
2021-03-30 22:57:46 +01:00
Roman Volosovskyi a364ce1906 [wallet] Optimized watching for tx confirmation
Update e2e
2021-03-30 22:16:38 +03:00
Brian Sztamfater 0c55f1208b Move react-native-status to a pod dependency
Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-30 10:54:00 +02:00
Serhy da6860d693 pdate in balance related tests
Signed-off-by: Serhy <sergii@status.im>
2021-03-29 13:56:56 +03:00
andrey 94235aa703 navigate to login when error
Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-29 12:18:48 +02:00
Samuel Hawksby-Robinson 5da9efebe3 Removed region from on-ramping we don't want it (#11920)
* Removed region from on-ramping we don't want it

* Updated status-go version

* revert change make ios made to keycard version

* Updated status-go version

* Updated status-go version

* Updated status-go version
2021-03-25 14:27:10 +00:00
andrey 3de7c37d90 chat input performance improvements
Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-25 14:44:57 +01:00
Roman Volosovskyi 7c4c520712 [wallet #11860] Show preloaded tx history when app is offline 2021-03-24 17:48:40 +02:00
Andrea Maria Piana a8ae933604 Revert "Anon metrics transfer"
This reverts commit 2abd430e02.
2021-03-24 16:05:31 +01:00
Samuel Hawksby-Robinson 2abd430e02 Anon metrics transfer
Saving my initial noodling

Saving my initial noodling

Filtering working much better, data collection working better

Added jsonrpc call params

Added transformations ns and funcs

whitelisting the new rpc method

Addressed PR feedback

Fix lint

Add reasons to why txf ns exists

Transform event instead of the contexts

Signed-off-by: Shivek Khurana <shivek@status.im>
2021-03-24 15:33:29 +05:30
Andrea Maria Piana a99e7f660f Add banning of users in communities
This commit adds bannning of users in communities for on-request and
invitation only communities.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-03-24 09:31:54 +01:00
jakub 8268346dfa fdroid: small fixes for docs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-23 13:33:30 +01:00
andrey f5df7805ee [#11864] Loopring smart contract bug
Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-22 17:47:12 +01:00
Churikova Tetiana 5b08242102 e2e: refactor test browsing
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-03-19 19:53:45 +01:00
Roman Volosovskyi f8983ab147 [wallet #11902] Handle chain id mismatch 2021-03-19 18:22:32 +02:00
andrey 067c69cca4 [#11904] update swarm gateway
Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-19 12:53:02 +01:00
Michele Balistreri 77e6f83e2e handle multiple paired keycards with the same account
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-03-18 16:24:31 +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
andrey 66a4ab5aef [#11883] Unread indicator re-appears for received message after relogin
Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-17 14:30:38 +01:00
andrey 9d7dcc6ae7 [#11880] Open user profile when tapping on user icon in 1-1 chat
Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-17 11:20:10 +01:00
jakub 46f8d9fdbf docs: update format of F-Droid metadata
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-17 11:18:39 +01:00
andrey b22acc3da2 [#11882] Replace #status with #support in Profile > Need help
Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-17 10:56:45 +01:00
Roman Volosovskyi e5f9de828d [wallet] Nonce range cache 2021-03-16 20:45:09 +02:00
Andrea Maria Piana 3f9817b977 upgrade status-go
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-03-16 13:51:21 +01:00
andrey 503028cb4e fixed timeline load more, fixed message confirmation status
fixed group chat invitation

Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-16 09:35:22 +01:00
andrey c7cc9e27a9 [#11797] Communities issues
Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-15 18:08:50 +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
Roman Volosovskyi a07c65d173 [wallet] Store last fetched balance and nonce in db 2021-03-15 16:36:18 +02:00
jinhojang6 1431cf80e1 Update translations
Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-15 15:09:38 +01:00
jinhojang6 1aba1f8000 Add the #status-arabic public chat
Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-15 12:33:54 +01:00
andrey 76b1e2a007 bump re-frisk
Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-12 13:01:59 +01:00
andrey 25d5672355 messages improvements 2021-03-12 12:07:15 +01:00
Roman Volosovskyi f572f5ef5e Add RPC usage stats screen 2021-03-10 14:18:52 +02:00
andrey 51178ab1b2 [#11843] "Enable all" is disabled after relogin for 3 or 4 chat link previews after relogin
Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-08 15:21:26 +01:00
andrey a9124d0fd2 fix pods
Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-08 13:52:52 +01:00
Churikova Tetiana ee4f6ead12 e2e: fix balance updating
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-03-08 09:53:43 +01:00
Michele Balistreri 5fecdd7830 keycard account removal and card reset
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-03-08 09:13:26 +03:00
Andrea Maria Piana 49b78c0cea Dont push notification if chat is not in cofx
Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-05 16:10:28 +01:00
andrey aee782d468 [#11822] Own status updates are shown on other user profiles 2021-03-05 16:09:09 +01:00
Roman Volosovskyi ff02219080 [#11842] Fix login after restoring existing account 2021-03-05 14:51:07 +02:00
Roman Volosovskyi 9c7c796e02 [wallet] Avoid requesting of token balances on account creation 2021-03-05 08:16:50 +02:00
Roman Volosovskyi 843c015d56 [#11823] Fix balances fetching on recovering kk multiacc 2021-03-04 18:09:28 +02:00
Serhy 174329d098 User profilepic display setting test
Signed-off-by: Serhy <sergii@status.im>
2021-03-04 11:39:01 +02:00
andrey 0491038b09 1.12.0 2021-03-03 14:03:39 +01:00
jinhojang6 ac6a4af207 Update translations
Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-03 13:59:59 +01:00
andrey 106e9112e0 [#11395] Inapp Keycard upsell MVP
Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-03 12:20:17 +01:00
andrey c625e95d5e [#11815] GNT to GLM Migration was not implemented
Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-03 12:18:06 +01:00
Roman Volosovskyi 580ecfedc1 [wallet] RPC calls optimzations for new accounts 2021-03-03 10:55:18 +02:00
jakub 4cc99c6bb8 nix: fix name fo config value for unsigned build
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-02 18:26:42 +01:00
jakub 6a764869a0 doc/FDROID.md: add explanation of Android build
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-02 16:58:02 +01:00
jakub aff335b305 gradle: Exclude Google libraries when GOOGLE_FREE=1
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-02 16:29:37 +01:00
andrey 93ed7c15bd [#11809] Upgrade react-native-device-info to 7.4.0
Also update gradle dependencies with transitive deps.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-02 16:29:20 +01:00
jakub c57974d9ff nix: upgrade go-maven-resolver to v1.1.0
This release adds support for resolving transitive dependencies.
https://github.com/status-im/go-maven-resolver/releases/tag/v1.1.0
https://github.com/status-im/go-maven-resolver/pull/5

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-02 16:29:19 +01: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
jakub c703e45105 docs: update instructions in doc/FDROID.md
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-02 12:38:41 +01:00
jakub 8376fedb4b make: add release-fdroid and fdroid-nix-dir targets
With these targets added we can simplify the format of the F-Droid YAML
metadata file which defines how to run `status-react` builds.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-02 12:38:34 +01:00
jakub d0d8815d4a readme: add "Get it on ..." badges
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-02 12:38:34 +01:00
Shivek Khurana fa9fceb75d Fix the top margin on keystorage views
Fix lint

Signed-off-by: Shivek Khurana <shivek@status.im>
2021-03-02 16:16:41 +05:30
jakub 293fd5fae1 nix: add missing cljfmt dependencies to nix/deps/clojure
It seems like this worked before purely because the `cljfmt` library was
already in the `~/.m2` cache folder. This issue was noticed when I
cleaned up the `~/.m2` folder on one Jenkins slave host and the Lint stage
started randomly failing.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-01 16:42:38 +01:00
andrey 9b6b337453 [#11764] Data that was added before pairing devices is not synced anymore across synced devices
Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-01 16:26:20 +01:00
jakub 37cf8ffe72 nix: update clojure dependencies
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: andrey <motor4ik@gmail.com>
2021-03-01 13:23:35 +01:00
andrey 4f9e38930e Revert "[#11395] Inapp Keycard upsell MVP"
This reverts commit 99e99b0e
2021-03-01 12:12:09 +01:00
andrey 99e99b0e81 [#11395] Inapp Keycard upsell MVP 2021-03-01 12:07:46 +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
Gheorghe Pinzaru c7009ff6f7 Add request/approve communites
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-02-26 15:38:19 +01:00
Brian Sztamfater c2f513f67e [#11743] Fix crash on network change
Signed-off-by: andrey <motor4ik@gmail.com>
2021-02-26 15:35:47 +01:00
Roman Volosovskyi 37284051dc PNs for transaction messages 2021-02-25 10:51:19 +02:00
guylouis c1315eca90 Update RELEASES.md with v1.11 notes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-24 11:23:11 +01:00
guylouis 9f9370f72d Update RELEASE_CHECKLIST.md
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-24 11:22:31 +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
Michele Balistreri 325a860916 faster keycard login
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-02-23 20:15:24 +03:00
Volodymyr Kozieiev a383cfa39a Delivered messages have double-check icon in private chats
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2021-02-23 18:47:40 +02: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
jakub f0d79f3af0 ci: adjust behavior of PUBLISH to be true for releases
Otherwise release builds never create the GitHub draft releases.
Not unless a user explicitly stats a build with `PUBLISH: true`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-23 13:45:25 +01:00
Michele Balistreri 09ac3e6a9e use the currently selected account for signing messages/typed data
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2021-02-22 13:37:09 +03:00
Churikova Tetiana f3c85c1e7a e2e: several fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-02-19 14:47:45 +01:00
Andrea Franz 505171cf87 enable Keycard on iOS
Signed-off-by: Andrea Franz <andrea@gravityblast.com>
2021-02-19 10:26:16 +01:00
Churikova Tetiana f9c3747768 e2e:-5 critical e2e and fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-02-18 16:13:40 +01:00
andrey 9648f741b4 cleaning 3
Signed-off-by: andrey <motor4ik@gmail.com>
2021-02-17 16:16:54 +01:00
andrey e493a2b79c [#11395] Inapp Keycard upsell MVP
Signed-off-by: andrey <motor4ik@gmail.com>
2021-02-17 13:19:08 +01: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
andrey 7c04bb9076 [#11716] Implement new Connectivity dialogues and remove 'Offline' snackbars
Signed-off-by: andrey <motor4ik@gmail.com>
2021-02-16 16:25:49 +01:00
Andrea Maria Piana 8d3fa3c3d7 Fix images being dropped in profile channels
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-02-16 10:02:47 +01:00
andrey 32393c9091 [#11704] Android 11 flatlist performance degradation
Signed-off-by: andrey <motor4ik@gmail.com>
2021-02-15 14:51:53 +01:00
Andrea Maria Piana 35f152c479 Add our.status.im and medium.com link unfurling
Fixes: #11739
Fixes: #11738

Adds unfurling for our.status.im and medium.com

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-02-15 13:50:51 +01:00
Andrea Maria Piana 37b36d38c7 update statusgo
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-02-15 10:36:16 +01:00
Churikova Tetiana 1a77891273 e2e: fix for duplicating chats
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-02-11 09:56:50 +01:00
Andrea Maria Piana 63893ff575 Handle eth_accounts exception
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-02-09 18:08:22 +01:00
Andrea Maria Piana 226aacdeac Only scale if width/height is positive
Fixes: #11728
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-02-09 16:45:35 +01:00
Roman Volosovskyi a37dbb57d6 [wallet] Merge blocks ranges 2021-02-09 16:48:00 +02:00
jinhojang6 4fdfa3e008 Update translations
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-02-09 14:02:40 +01:00
Churikova Tetiana 8d510be72e small nightly fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-02-09 11:16:19 +01:00
andrey 72d592a5a6 hide increase gas/cancel temporary for 1.10 2021-02-09 08:53:44 +01:00
Andrea Maria Piana 1075dfcb8b Release 1.11.0 2021-02-08 16:10:26 +01:00
Shivek Khurana 49d4b15761 Add tenor and giphy.com support
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-02-08 16:09:22 +01:00
Churikova Tetiana a7f9998d6c e2e: nightly fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-02-08 14:18:22 +01:00
Serhy b2be539374 When no chat on screen is expected
Signed-off-by: Serhy <sergii@status.im>
2021-02-05 19:47:18 +02:00
Roman Volosovskyi 3685f6a500 [#11117] Move PNs to status-go 2021-02-05 17:03:34 +02:00
Serhy 9a51a46869 Webview camera permission
Signed-off-by: Serhy <sergii@status.im>
2021-02-05 14:19:30 +02:00
Andrea Maria Piana 0867b972c3 Don't rely on contacst for one-to-one mentions, and remove cursor
[Fixes: #11670]
[Fixes: #11671]

This commit fixes 2 issues.

One issue was due to removing tribute to talk, which added in the
`contacts` map any user you open a chat with, and some code relied on
this behavior.

The second issue was likely due to a react native upgrade which might
have fixed a bug but caused a different issue, which resulted in the
text disappearing when cursor was set.

I have removed that (it was only used on android) and everything seems
to be working correctly, but not so sure about this one.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-02-04 17:54:00 +01:00
jakub d946d473c6 fastlane: use Apple Store Connect API for CI builds
Because our CI Apple account still has 2FA disabled in order for it to
be usable in Jenkin it is now failing with an error that seems unrelated
to 2FA.

The recommended way of doing Apple authentication for CI are App Store
Connect API JWTs. The API appears to support both pushing builds as well as
updating metadata and other tasks like refreshing of provisioning
profiles.

Fixes: https://github.com/status-im/status-react/issues/11713
Issue: https://github.com/fastlane/fastlane/issues/18098
Docs: https://docs.fastlane.tools/app-store-connect-api/

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-04 15:10:07 +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
Shivek Khurana 39b0a6bb44 Restrict changes to translations file only
Signed-off-by: Shivek Khurana <shivek@status.im>
2021-02-03 17:00:28 +05:30
Roman Volosovskyi 00ad3e9e1f [#11674] Make sure token balances are fetched on mobile network 2021-02-03 12:45:05 +02:00
Churikova Tetiana 781360a1cf e2e: fix opensea
Signed-off-by: andrey <motor4ik@gmail.com>
2021-02-02 17:15:28 +01:00
andrey c76567c20f [#11703] No way to sign in to opensea 2021-02-02 17:15:18 +01:00
Churikova Tetiana 6d38386c11 e2e: update PyYAML and urllib3
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-02-02 16:57:13 +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
Andrea Maria Piana 741e9e834b Avoid concurrent access to contact
In some instances when fetching messages for a timeline the app would
crash as a map was accessed concurrently without locking.
This fixes the issue.

Signed-off-by: andrey <motor4ik@gmail.com>
2021-01-28 14:49:14 +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
andrey 56c4ffc39f [#11690] Invisible digits in Request transaction dialog in 1-1 chat on Android
Signed-off-by: andrey <motor4ik@gmail.com>
2021-01-28 13:57:39 +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
andrey 6469ff912a [#11651] No spinner when pressing "Fetch more messages" in public chat + white toggles in Sync settings on Android
Signed-off-by: andrey <motor4ik@gmail.com>
2021-01-27 16:49:57 +01:00
Serhy ff961bbfe8 Fix e2e fails in develop
Signed-off-by: Serhy <sergii@status.im>
2021-01-27 12:25:05 +02:00
Andrea Maria Piana eba6b63258 Fix topic issue, remove ttt, add db export/import
There were a few issues with topic management:

- Topics/ranges were saved one-by-one, which cause an out of memory
error on some devices
- Topics that were not listened to were saved, and therefore requested
from the mailserver, which caused long syncing time

It also removes tribute to talk and add export/import methods

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-01-26 12:46:21 +01:00
Roman Volosovskyi 9bf4da1edd [wallet] Avoid unnecessary balance checks 2021-01-26 11:53:54 +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
Roman Volosovskyi 6c4097f521 [wallet #11570] Handle non archival RPC node 2021-01-25 15:41:50 +02:00
andrey 35671226e4 remove outdated :initial-props
Signed-off-by: andrey <motor4ik@gmail.com>
2021-01-25 10:38:34 +01:00
andrey 08b9cfcf52 [#8284] Remove unnecessary permissions [Android]
Signed-off-by: andrey <motor4ik@gmail.com>
2021-01-21 16:23:54 +01:00
andrey 0087a66df8 bump re-frisk 2021-01-21 15:25:54 +01:00
Anton Danchenko 3042a4b696 upgrade xdist to latest version
Signed-off-by: Serhy <sergii@status.im>
2021-01-21 12:51:11 +02:00
andrey cb66886aab [#11665] Youtube-link preview is resized incorrectly in chat view for videos with short title
Signed-off-by: andrey <motor4ik@gmail.com>
2021-01-21 11:16:53 +01:00
andrey af2b053fa9 disable fast refresh on ios and bump re-frisk
Signed-off-by: andrey <motor4ik@gmail.com>
2021-01-20 11:44:24 +01:00
andrey fa4521d2e7 react native config latest version with pods, fixes react-native-config compiling issue by moving it to pods [#11657]
Signed-off-by: andrey <motor4ik@gmail.com>
2021-01-19 17:14:06 +01:00
jakub b33c086966 nix: set ANDROID_SDK_HOME to a tmp directory
This fixes issues with Gradle complaining about lack of `~/.android`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-01-19 14:08:59 +01:00
andrey 4704cef3da handle error from infura
Signed-off-by: andrey <motor4ik@gmail.com>
2021-01-19 11:52:57 +01:00
andrey 329182fdbe [#11643] Display profile picture only of users I have added to contacts
Signed-off-by: andrey <motor4ik@gmail.com>
2021-01-18 10:14:41 +01:00
shivekkhurana 5c3133adb6 Key management screen in place
Key phrase screen in place

Added flow in a Rich comment, added storage screen, added Keycard upsell banner

Validate seed against selected multiaccount

Vvalidate seed against multiaccount

Connected migration flow to Keycard onboarding flow, unable to finish because an event called generate-and-load-key is not being emitted with the flow I made

Fixed state that was needed to start the recovery process, also removed seed-phrase from app-db when onboarding starts

Moved strings to translations in key storage views

Upsell banner bg theme, accordion data, choose-storage next bug, Hide keys managment option for Keycard accounts and from multiaccounts list screen.

Added test for subscription function

Tests for keystore move checkbox and seed phrase input

Fix translations/en.json after merge conflict, add test for seed-phrase input, seed-against-key-uid validation and state setup for redirect to Keycard screens

Update validate fn to mock mnemonic import and cascading changes

Fix linting errors

Fix seed key-uid mismatch popup, reduce styles and remove redundant views

Add dot menu in place of access-existing-keys button on login page

Make multiaccount redirect test more terse

Remove dangling comma from translations/en.json

Fix var that was missed during rebase

fx/merge and extra newline fixes

Removed nil? check, tests pass

Unknown error popup

Redirect Keycard banner to https://keycard.tech

Remove unused sub and fix linting

Fix issue#4 - Unable to enter new seeds

Hide back and disable hardware back on Keycard onboarding intro if the user is coming from migration flow. Fixes issue#1 raised by Diana.

Set state so show wallet balances show up auto magically. Fixes issue#3.

Update tests to capture recovering state

Center align sign in button since the left button was deleted.

Changes suggested by Andrey

Add top margin to Keycard intro only when user comes key storage

Hide manage key storage on ios

Signed-off-by: Shivek Khurana <shivek@status.im>
2021-01-14 22:35:48 +05:30
andrey f28f479256 react native config on ios
Signed-off-by: andrey <motor4ik@gmail.com>
2021-01-14 14:17:01 +01:00
Roman Volosovskyi daf7791d86 [wallet #11535] Show PNs right after enabling 2021-01-14 13:54:46 +02:00
Roman Volosovskyi 73ca49aad5 [#11599] Smaller kk dev menu items
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-01-14 10:11:20 +01:00
Churikova Tetiana 7cf42b292b Merge branch 'develop' of github.com:status-im/status-react into develop 2021-01-14 10:04:33 +01:00
Frank Tang 2687d7ab9a added github.com to white list of link preview
Signed-off-by: andrey <motor4ik@gmail.com>
2021-01-14 09:46:58 +01:00
andrey abac5247bf RN 63 and xcode12
Signed-off-by: andrey <motor4ik@gmail.com>
2021-01-14 09:41:38 +01:00
jakub 939ce8bef5 nix: Upgrade Android SDK, use nixpkgs master
This makes use of the refactoring of Android SDK done in:
https://github.com/NixOS/nixpkgs/pull/89775

Which allows us to drop the use of our own fork of `nixpkgs`.

Android Upgrades:
* Build Tools - `29.0.2` to `30.0.3`
* Platform Tools - `29.0.6` to `30.0.5`
* NDK Bundle - `21.0.6113669` to `21.3.6528147`

Other Upgrades:
* Git - `2.28.0` to `2.29.2`
* Go - `1.14.7` to `1.14.13`
* Clojure - `1.10.1.645` to `1.10.1.763`
* NodeJS - `12.18.3` to `12.20.1`
* Yarn - `1.22.4` to `1.22.10`
* OpenJDK - `8u265-ga` to `8u272-b10`
* PatchElf - `0.11` to `0.12`
* CoreUtils - `8.31` to `8.32`

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-01-13 15:35:59 +01:00
jakub eb1f1bf587 nix: fix building of status-go forks with different GH owner
Resolves: https://github.com/status-im/status-react/issues/11637

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-01-13 15:16:07 +01:00
andrey 46d430b69c [#11626] Group chat subtitle shows 'no members'
Signed-off-by: andrey <motor4ik@gmail.com>
2021-01-13 12:21:48 +01:00
Serhy e4d175ef93 Revert 11624
Signed-off-by: Serhy <sergii@status.im>
2021-01-13 12:24:32 +02:00
hesterbruikman 25c5106284 Correction
Removed: Auto scan for tokens of primary Ethereum account upon recovery
Signed-off-by: andrey <motor4ik@gmail.com>
2021-01-13 10:38:10 +01:00
andrey 3fd36c6904 [#11627] Add GRT erc20 token in our default list of supported tokens in the wallet
Signed-off-by: andrey <motor4ik@gmail.com>
2021-01-12 18:13:00 +01:00
Frank Tang fe6f75e1b7 fix: No "Delete" option for a group chat from the home screen if user has been removed from it
Signed-off-by: andrey <motor4ik@gmail.com>
2021-01-12 13:46:36 +01:00
snyk-bot 6410de803e fix: test/appium/requirements.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1055461
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1055462
2021-01-12 13:45:27 +01:00
dependabot[bot] 9d2e2e26ad Bump lxml from 4.6.1 to 4.6.2 in /test/appium
Bumps [lxml](https://github.com/lxml/lxml) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.1...lxml-4.6.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-12 13:45:11 +01:00
snyk-bot 6c935057c5 fix: test/appium/requirements.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1055461
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1055462

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2021-01-12 12:38:11 +01:00
Serhy d68f7679df Update saucelabs endpoint
Signed-off-by: Serhy <sergii@status.im>
2021-01-12 11:38:57 +02:00
andrey 346ff25843 [#11610] App crashes on Android with GiFDecoder error
Signed-off-by: andrey <motor4ik@gmail.com>
2021-01-12 10:35:37 +01:00
Andrea Maria Piana 2e7875cfef Fix wrong greater than sign on mailserver connection
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-01-12 10:03:14 +01:00
andrey d6f2792622 [#11606] Favorites - when changing the name of a favorite, the past name appears quickly when saving it
Signed-off-by: andrey <motor4ik@gmail.com>
2021-01-11 16:46:20 +01:00
andrey 2af23bcb2e intro wizard indicator fix
Signed-off-by: andrey <motor4ik@gmail.com>
2021-01-11 16:45:21 +01:00
jinhojang6 e0b01d2fed Update translations
Signed-off-by: andrey <motor4ik@gmail.com>
2021-01-11 10:32:49 +01:00
jakub 9889e80bbd ci: parametrize publishing, make BUILD_TYPE a choice
This changes the behavior of mobile combined builds to not publish
the results of `nightly` or `release` builds unless `PUBLISH`
parameter is set to `true`.

It also makes the `BUILD_TYPE` into a dropdown choice field with
pre-defined values, like `manual` or `e2e`.

Changes:
- Add parameter definitions for `BUILD_TYPE` and `PUBLISH`
- Move uploading of `latest.json` to `Publish` stage
- Make `Publish` stage optional based on the `PUBLISH` parameter

Requires: https://github.com/status-im/status-react-jenkins/pull/21

Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-01-08 12:54:17 +01:00
hesterbruikman e0e497d3d0 Adding 1.10 App/Play store release content (#11581)
* Adding 1.10 App/Play store release content

* Removes Cancel and Speed up tx

As discussed, the feature is not yet reliable for public release. On occasion the nonce cannot be overwritten, resulting in 2 pending transactions.
2021-01-07 09:43:45 +01:00
hesterbruikman abc63af4a8 Create RELEASE_CHECKLIST.md
Moving file to repo to replace hackmd notes doc

Signed-off-by: andrey <motor4ik@gmail.com>
2021-01-04 09:29:00 +01:00
Frank Tang b5b16f1278 [Fixes: #10978] Endless loading public chat name
Signed-off-by: andrey <motor4ik@gmail.com>
2021-01-04 09:26:55 +01:00
Roman Volosovskyi 767bd46bff Allow non alphanumeric branch names in scripts/update-status-go.sh 2020-12-31 12:50:26 +02:00
Roman Volosovskyi 8e288aea56 [#11379] Add a watch only account from an ENS name 2020-12-30 18:18:24 +02:00
Churikova Tetiana 4f4f6cf29e fixed testrail reports and e2e nightly
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-12-29 18:48:04 +01:00
Andrea Maria Piana d8235d9e17 Add milestoned to actions 2020-12-29 09:54:29 +01:00
Andrea Maria Piana 5d02472f89 Add next column to zenhub 2020-12-29 09:30:04 +01:00
Frank Tang f306b084da [Fixes: #11586] Every element in a seq should have a unique :key
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-12-29 09:12:50 +01:00
Andrea Maria Piana 6099262c98 [Fixes: #11579] Add only certain fields to multiaccount on login
`multiaccounts` has some fields that should not be overriden
(`save-password`), so we expliciltly `assoc` only certain fields.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-12-28 17:09:22 +01:00
Andrea Maria Piana 37ccc6f825 Hide option to increase gas on keycard
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-12-28 15:19:24 +01:00
Andrea Maria Piana 33e58dbca9 Whitelist link previews client side
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-12-28 09:37:02 +01:00
Andrea Maria Piana d8f1944b27 Hide community banner
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-12-28 09:36:22 +01:00
Gheorghe Pinzaru 6342163152 Add react-native-fast-image for external assets
Use fast image in link previews

Mock fast image in tests

Update nix android deps

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-12-25 15:03:59 +03:00
Gheorghe Pinzaru 8948dcb736 Fix android text overflow
Fixes #11575

Move the overflow handler to separate view

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-12-24 16:58:51 +03:00
hesterbruikman 52823d7f59 Create releases.md (#11463)
* Create releases.md

File that captures release notes for App store ad Play store. Informs users of relevant additions, changes, fixes.

* Update and rename releases.md to RELEASES.md

As suggested, removing checklist to keep in a separate file and using capitals for the title
2020-12-24 13:43:29 +01:00
jinhojang6 eff60c69d5 Update translations
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-12-24 08:24:48 +01:00
Andrea Maria Piana b30149d9f2 Bump version to 1.10.0 2020-12-24 08:23:44 +01:00
Andrea Maria Piana 2ca39daa59 Communities
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-12-23 17:23:11 +01:00
Gheorghe Pinzaru 35c2c226df Remove redundant overflow hidden on messages
Fixes #11439

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-12-23 14:27:30 +03:00
Andrea Maria Piana 5b801b95fa [Fixes: #11557] Resend contact picture when changed
Fixes: #11557

Resend contact picture when it is changed.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-12-23 09:43:51 +01:00
Andrea Maria Piana b5a6f1b78f Add nix purge command and change the behavior of nix clean
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-12-23 09:08:46 +01:00
Gheorghe Pinzaru 2571e44de0 Referrals add screen with join public-chat
Update strings

Check if transaction has receipt on login

Notification on accept

Add large icon

Unify notifications for referral

Fix duplicate path for acquisition

Fix accept notification and visibility

Small fixes

Do not show notifications when not rewardable

Add home item

Show referral on lets go button

Fix list item on home

Hide messages on accept

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-12-22 15:33:02 +03:00
Churikova Tetiana 7f22912f1e e2e: bookmarks
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-12-21 16:38:58 +01:00
Roman Volosovskyi aac7a97e13 [#11502] Handle tx fetching failure 2020-12-21 17:05:00 +02:00
Michele Balistreri eaf463395a shorter pairing codes for Keycard
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2020-12-21 17:07:25 +03:00
Gheorghe Pinzaru 8342972059 Android tabbar replace elevation with border
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-12-21 15:02:18 +03:00
Churikova Tetiana 98a8359db3 e2e: new tests
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-12-18 10:05:40 +01:00
Andrea Maria Piana 9fe7ddaf0b [Fixes: #11545] Don't update browser if nil
Fixes: #11545
Fixes: #11544

The two issues were caused by the same bug, essentially if
`navigation-state-changed` event was fired (it's debounced) when the tab
had been closed, the browser would be updated with a `nil` id, causing
all sort of issues as it had not history etc.

This commit ensures that no changes are made if the browser is nil.

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-12-18 10:05:00 +01:00
Gheorghe Pinzaru 5643c4d537 Add profile pictures
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-12-17 14:12:07 +01:00
Gheorghe Pinzaru 09822e142b Add async storage wrapper
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-12-16 14:08:13 +03:00
Gheorghe Pinzaru 86d7b79175 Add buy crypto banner UI
Store in local storage banner preference

Add i18n
2020-12-16 14:08:05 +03:00
Andrea Maria Piana 4e5ba2c533 Fix watching accounts for transaction in chat messages
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-12-15 16:40:26 +01:00
Volodymyr Kozieiev b197d54e47 Switched to status-go where reaction resends under the hood if sending failed
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-12-15 16:59:13 +02: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
Roman Volosovskyi 879f441b7d [#11499] Fix multiple notifications for a single erc20 transfer 2020-12-14 13:34:20 +02:00
Frank Tang 8e882dda21 [Fixes: #11074] only validate whether group name is blank
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-12-14 10:58:40 +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
andrey 3241d3273e [#11469] Browser bookmarks
Signed-off-by: andrey <motor4ik@gmail.com>
2020-12-11 16:55:42 +01:00
Churikova Tetiana efc4f6c750 e2e: fix fetching from offline
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-12-10 17:09:24 +01:00
Roman Volosovskyi c33e2be76b [wallet] Watch txs history while app is in the background (Android only) 2020-12-10 18:02:49 +02:00
Andrea Maria Piana 8748280279 [Fixes: #10777] Always convert value to string
When calling `SendTransaction` sometimes the value would be a string
(most cases), sometimes the value would instead big a `BigInt`, which
would be serialized to an integer, and status-go would be unable to
parse it as it expects values to be a string.
This commit makes sure that values are always serialized as string
before sending them over.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-12-10 08:26:38 +01:00
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 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 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 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 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 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
andrey e30962ca75 [#11446] Can't sell item on opensea
Signed-off-by: andrey <motor4ik@gmail.com>
2020-11-18 17:27:20 +01:00
Churikova Tetiana 2bcc832cca fix ru date short values
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-11-17 17:35:31 +01:00
jakub 0b8c673094 ci: fix iOS signing, use same keychain name
Using different temporary keychains does not work if we do not set
`default_keychain=true`, because `codesign` then can't find the cert:
```
error: No signing certificate "iOS Distribution" found: No "iOS Distribution" signing certificate matching team ID
```
But if we set `default_keychain=true` then we cause a race condition
when the keychain is deleted by a parallel job while another is using it
as its default.

For this reason we have to use a static keychain name and keep it
between builds.

I tried disabling `default_keychain=true` in #11378 but it worked only
because the default user keychain already had the cert.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-11-17 10:16:32 +01:00
jinhojang6 dbabcc223e Update translations
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-11-16 17:09:07 +01:00
andrey 9f7ad853f0 [#11411] App is crashed on account creation after navigating to access key and back
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-11-16 17:04:02 +01:00
Churikova Tetiana 28d3cf03d9 fix 6305 e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-11-16 15:49:14 +01:00
andrey 7b46c445a7 [#11383] Status Updates : Add reactions and copy to clipboard
Signed-off-by: andrey <motor4ik@gmail.com>
2020-11-16 14:15:15 +01:00
andrey cf911aa246 [#11236] Deeplink to public chat on onboarding
Signed-off-by: andrey <motor4ik@gmail.com>
2020-11-16 14:12:14 +01:00
Volodymyr Kozieiev a91bdfb047 Don't make inability to unfurl url a user's problem
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-11-16 13:57:40 +02:00
andrey 61105e15f6 fix ens content resolution
Signed-off-by: andrey <motor4ik@gmail.com>
2020-11-16 12:31:00 +01:00
Gheorghe Pinzaru 13c81a34b3 Add pinch to zoom deps
Add image interactions

Add image preview to timeline

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-11-14 21:56:46 +03:00
shivekkhurana fbb606b859 Escape address so newlines and spaces don't interfere
Signed-off-by: shivekkhurana <shivek@status.im>
2020-11-13 20:11:48 +05:30
shivekkhurana 30753f8766 Make right item occupy entire space instead of left one. Make left grow if nothing on right.
Signed-off-by: shivekkhurana <shivek@status.im>
2020-11-13 20:09:53 +05:30
Churikova Tetiana 6b4f2901ae reduce number of parallel sessions
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-11-13 15:29:35 +01:00
Gheorghe Pinzaru 40e2839793 Exclude google deps based on env
Export all vars from .env

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-11-13 11:05:28 +03:00
Churikova Tetiana d14f232abf status e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-11-12 18:43:49 +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
Roman Volosovskyi fac4f0c871 [#10798] Fix unviewed counter on receiving response 2020-11-11 15:04:17 +02:00
Roman Volosovskyi ae3936eff2 [#11240] Clarify assets Status wallet supports 2020-11-10 22:17:56 +02:00
Churikova Tetiana 920000c3e8 e2e: failures
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-11-10 18:10:04 +01:00
andrey b3a3a753d2 fix timeline non contacts
Signed-off-by: andrey <motor4ik@gmail.com>
2020-11-10 15:45:07 +01:00
andrey e5ada29ed8 [#11384] Status Updates : Open profile when tapping on username or avatar
Signed-off-by: andrey <motor4ik@gmail.com>
2020-11-10 13:44:46 +01:00
Roman Volosovskyi 35381a55c0 [#10239] Remove "Fetch last 24 hours" option 2020-11-10 13:33:53 +02:00
Serhy 473c5135b2 Update number of parallel sessions to align with Sauce
Signed-off-by: Serhy <sergii@status.im>
2020-11-09 21:32:20 +02:00
Michele Balistreri 4384d979e7 update Keycard SDK, remove workaround
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2020-11-09 20:10:58 +01:00
andrey b1ea04900e [#11398] Error at attempt to sign typed message in simpledapp.eth
Signed-off-by: andrey <motor4ik@gmail.com>
2020-11-09 17:43:35 +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 f7d7c282cd nightly e2e fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-11-09 16:40:22 +01:00
tbenr 07e36096cc new-account-cards
Signed-off-by: andrey <motor4ik@gmail.com>
2020-11-09 16:38:00 +01:00
Gheorghe Pinzaru 6311077cec Don't crash if token is missing referrals
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-11-09 13:41:53 +03:00
andrey 6d104d60e2 [#11382] Status Updates: Add URL unfurling
Signed-off-by: andrey <motor4ik@gmail.com>
2020-11-09 11:27:53 +01:00
Gheorghe Pinzaru 72591f576d Update to Quo Readme
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-11-09 10:28:41 +03:00
Roman Volosovskyi 6eb840c8b2 [#10362] Allow receiving old messages after rejoining a pubchat 2020-11-06 17:37:18 +02:00
andrey f1d070ed82 [#11333] personal_sign method does not work in status
Signed-off-by: andrey <motor4ik@gmail.com>
2020-11-06 15:51:19 +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
andrey ee61244770 timeline
Signed-off-by: andrey <motor4ik@gmail.com>
2020-11-06 14:23:02 +01:00
jakub 34c6292af4 fastlane: disable default_keychain to avoid race condition
If we run parallel job and a job sets a temporary keychain into a
default than another job can assume that is the user default.

The result is that one of the jobs will attempt to set a non-existent
temporary keychain into the default keychain.

This happens when we call `Fastlane::Actions::DeleteKeychainAction`:
https://github.com/fastlane/fastlane/blob/2.164.0/fastlane/lib/fastlane/actions/delete_keychain.rb#L21

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-05 16:09:32 +01:00
shivekkhurana 0d82dab5c5 Fix scroll issue
Signed-off-by: shivekkhurana <khuranashivek@gmail.com>
2020-11-05 20:26:42 +05:30
Michele Balistreri 206ce8849f closes #11373
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
Signed-off-by: andrey <motor4ik@gmail.com>
2020-11-05 14:20:04 +01:00
Andrea Maria Piana 7cef533a8a [Fixes: #11349] Split large messages in batches
When sending messages in quick succession, it might be that multiple
messages are batched together in datasync, resulting in a single large
payload.

This commit changes the behavior so that we can pass a max-message-size
and we split the message in batches before sending.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-11-05 12:49:53 +01:00
Roman Volosovskyi e7807202c9 [#11354] Add error alerts on denying access 2020-11-04 17:11:47 +02:00
Roman Volosovskyi d17f7c67b9 [#10957] Fix slow assets list 2020-11-04 14:05:35 +02:00
Roman Volosovskyi 82aca6bd76 [#10771] Fix loading of tx history before 10000000th block 2020-11-04 11:26:31 +02:00
Churikova Tetiana c7b3efe6ad new e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-11-03 17:57:36 +01:00
Serhy d8713fe3c7 Fix more e2e
Signed-off-by: andrey <motor4ik@gmail.com>
2020-11-03 16:30:25 +01:00
Serhy 6f86f73ac6 Update e2e 2020-11-03 16:30:16 +01:00
andrey b7948b9869 navigate to home when press chat tab on chat screen 2020-11-03 16:30:16 +01:00
Andrea Maria Piana d380186051 Upgrade status-go to 0.63.0
No functional changes, just removing code that is unused

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-11-03 11:20:35 +01:00
Andrea Maria Piana a91fa39547 [Fixes: #11355] Fix crash on logout
On shutdown the app was calling `PeersCount`, but sometimes the server
would be unavailable, resulting in a call to a nil pointer.

Upgrades status-go version with the fix.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-11-03 10:01:03 +01:00
jakub 3b780f4ff2 fastlane: Create temporary Keychain for iOS signing
This is a new approach to signing the iOS app by using a temporary
Keychain created only for that specific build and unlocked in advance.

By doing it this way we can avoid issues with `errSecInternalComponent`
appearing when there is no UI to open a Keychain password prompt when
running build in CI. I've described this problem in details in:
https://github.com/fastlane/fastlane/issues/15185

Thanks to `codesign:` partition ID being added to key partition list by
Fastlane `match` when importing a Keychain this approach now works:
https://github.com/fastlane/fastlane/pull/17456

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-03 00:03:38 +01:00
Churikova Tetiana d8eb33e330 e2e fixes+new check
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-11-02 20:20:21 +01:00
Volodymyr Kozieiev 0b5be54fea Allow group creation without contacts
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-11-02 20:10:22 +02:00
Volodymyr Kozieiev f99b2aa401 Link preview generation
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-11-02 15:28:31 +02:00
Roman Volosovskyi 27ad8f07c3 Trim url before opening in browser 2020-11-02 13:09:06 +02:00
Gheorghe Pinzaru 7402718e68 Use custom color for disabled state of controls
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-11-02 10:34:59 +03:00
Churikova Tetiana 3ac8f0c5fd e2e refactoring
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-10-30 15:51:15 +01:00
Gheorghe Pinzaru cf4bef8268 Add pick multiple images
Add inner border to image message

Add max batch size of 5

Disable camera roll more images

Use interop instead of aget

Add border as a separate layer

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-10-30 12:46:00 +03:00
Gheorghe Pinzaru fe5b5ab4bc use ens for rinkeby contract
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-10-29 15:42:56 +03:00
Gheorghe Pinzaru 050f20cfae Add local notifications for transactions
Pods

Add headless js service

Handle Local Notifications react

CopyPaste driven implementation of java notification

pn demo

Show iOs push in foreground

Show icon in notification

Enable notifications on login

Get chain from status-go

Add UI for switching notifications

go go!

Fixup

Handle notification onPress

Android UI

Handle press iOs

Handle android press and validate

go update

Fix route params in universal link handler

Set show badge explicitly to false

Fix e2e

bump status go

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-10-29 15:40:58 +03:00
Churikova Tetiana 10dcee3e05 nightly fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-10-28 22:36:06 +01:00
Churikova Tetiana ce20eddb99 profile e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-10-28 17:19:37 +01:00
andrey eae66c967e my status
Signed-off-by: andrey <motor4ik@gmail.com>
2020-10-28 14:42:59 +01:00
jakub 973bdb61b3 nix: make status-go matching regex more lax
We had an issue where the `1.7.0` release was using the `v0.62.3.hotfix.3`
version of `status-go` which didn't match the regex we use to verify
if the specified version is a valid version according to [Semantic Versioning](https://semver.org/).

You can check the current regex here: https://regex101.com/r/OeTQCv/3

I also added a trace message to show when we mark a build as `develop`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-26 13:02:50 +01:00
andrey 663f5f41a0 [#11323] Turn off "Block screenshots" by default in nightly and PRs build
Signed-off-by: andrey <motor4ik@gmail.com>
2020-10-26 12:03:21 +01:00
Roman Volosovskyi ba3ca2c818 Remove chitchat duplication in general list 2020-10-23 19:48:58 +03: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
Roman Volosovskyi 5232432ec5 [#7788] Clear mailserver details after deletion 2020-10-23 11:06:04 +03:00
Roman Volosovskyi dca26b3350 [#11317] Prevent joining to pubchats with upper case letter in topic 2020-10-22 17:12:17 +03:00
jakub 466d279e2a nix: Increase stalled-download-timeout to 1 hour
Might help with issues described in: https://github.com/status-im/infra-ci/issues/17.

Details: https://github.com/NixOS/nixpkgs/issues/65015#issuecomment-662675716

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-22 12:43:01 +02:00
jakub 250b4d4646 upgrade fastlane 2.154.0 to 2.164.0
It's been a while and a fix for an issue I've reported a long time ago
has been merged in https://github.com/fastlane/fastlane/pull/17456. With
this fix we should see less iOS signing issues appearing as `errSecInternalComponent`.

This should also enable me to try a fix I proposed in
https://github.com/fastlane/fastlane/issues/15185 which consists of
creating a temporary unlocked keychain for each build.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-22 12:42:52 +02:00
Roman Volosovskyi 320d81432f Fix exception on my-profile screen (#11313 leftover) 2020-10-22 12:23:57 +03:00
Roman Volosovskyi 70526f9429 Markdown updates
On status-go side:
- new `strong-emph` node was added for strong emphasised text with triple
  "*" and "_"
- `del` node got proper marshalling and can be recognised (works with single
  and double "~")

On status react side:
- styles for `strong-emph` nodes
- styles for `del` (strikethrough) nodes
- unsuccessful attempt to use monospaced fonts for code/codeblock (we have a font
  which is used as monospaced but doesn't support that property actually)
2020-10-21 22:23:46 +03:00
Roman Volosovskyi 9691626992 [#11189] Backward compatible ENS registrar 2020-10-21 14:28:11 +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
jinhojang6 04cd74e57d Update translation
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-10-19 16:12:45 +02:00
Andrea Maria Piana b826a34f27 Fix coming back from offline
Fixes: #11305

The issue was due to the fact that the first condition was wrapped in a
when in fx merge, causing it to be ignored.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-10-19 16:07:29 +02:00
jakub 81cfc83ed3 nix: add info about NDK bundle download issues
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-19 12:07:00 +02:00
andrey ff3f171646 1.8.0 2020-10-16 15:56:29 +02:00
andrey 3ae85cacd5 [#11041] Hardly visible username on replies in dark mode
Signed-off-by: andrey <motor4ik@gmail.com>
2020-10-16 15:54:16 +02:00
Gheorghe Pinzaru 36f9436e12 Fix group chat invitation actions based on state
Fix decline button color and Check if user was removed from group invite

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-10-16 15:39:33 +03:00
Andrea Maria Piana 8c42e717c1 Change settings on toggle
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-10-16 12:13:32 +02:00
shivekkhurana cf0cd283a6 Add new UI for mailserver selection, Add feature to disable mailserver usage 2020-10-16 12:13:15 +02:00
Gheorghe Pinzaru 316c6038d7 Fix webview toggle crash ios
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-10-15 13:57:49 +02:00
Andrea Maria Piana f5034a4dfa [Fixes: #11290] Increase group size to 20
Increases the maximum size of a group chat to 20.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-10-15 13:53:01 +02:00
Roman Volosovskyi cf58a84838 [#11192] Prevent replacing of mention with pubkey inside markdown 2020-10-14 22:20:48 +03:00
Churikova Tetiana dcd2655860 nightly fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-10-14 14:24:37 +02:00
Serhy 9e0b8e76cf Update refresh webview test
Signed-off-by: Serhy <sergii@status.im>
2020-10-14 13:03:24 +03:00
jinhojang6 40a26f4e10 Upate translation
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-10-14 10:53:13 +02:00
jinhojang6 094cf61915 Update Spanish Playstore title and description
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-10-13 14:14:08 +02:00
Roman Volosovskyi c238b6bca5 upgrade react-native-webview 2020-10-09 17:13:18 +03:00
jakub 908b5f723c nix: add support for INFURA_TOKEN var for Android build
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-08 17:55:24 +02:00
jakub 085ae22be1 disable pipefail for update-status-go.sh
This caused a silent failure due to usage of grep matching.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-08 14:49:02 +02:00
Gheorghe Pinzaru 0368895edf Allow to enabled debug
Optimistic update

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-10-08 13:57:37 +03:00
andrey 905699b686 [#11283] Blank view when open yearn.finance in Status WebView
Signed-off-by: andrey <motor4ik@gmail.com>
2020-10-08 12:16:30 +02:00
andrey b198084b78 [#11263] Entering "0x" in the Recipient throws an error
[#11262] Wallet "Done" and "Add to favorites" only appears when the input box is focused

Signed-off-by: andrey <motor4ik@gmail.com>
2020-10-07 19:43:54 +02:00
Churikova Tetiana 2e7c377343 one more fix
Signed-off-by: andrey <motor4ik@gmail.com>
2020-10-07 19:42:58 +02:00
Churikova Tetiana 9f36bd44b2 fix e2e with scan tokens 2020-10-07 18:07:42 +02:00
Churikova Tetiana 4e9b1001df fix accessibility 2020-10-07 15:10:13 +02:00
andrey e602f0493d do not show zeros for token balances, and fetch all tokens only when creating new account 2020-10-07 11:44:01 +02:00
Andrea Maria Piana 85991d2272 Set infura token and update snx/synth contract
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-10-07 10:01:39 +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
jakub bdbc48764e add F-Droid update README file
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-10-06 11:23:17 +02:00
Andrea Maria Piana c74a5a5215 [Fix: #11228] Dont drop messages if smaller than 4096
There was an issue with counting characters in status-go that meant that
unicode characters were double counted.

That issue is now fixed. It's still not going to be 100% accurate as
in some languages characters are displayed together if they come one
after the other, but this PR should make it much safer.
To overcome this we could cap the UI input to something a bit lower
(3000 characters for example) and that should give us some room.

This commit includes a migration of the database fixing an issue with
long filenames on desktop.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-10-06 11:18:08 +02:00
jakub c4cac2cef7 fix availability of INFURA_TOKEN for Android build
The env variable `INFURA_TOKEN` is used at build time of JS bundle, not
the final APK file. We never passed the `secretsFile` to the
derivation for JS bundle so it never saw the `INFURA_TOKEN`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-05 16:36:05 +02:00
Andrea Maria Piana 966f6de31a Fix infura token
Setting a top-level closure-defines does not have any effect,
it needs to be for some reason inside each environment.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-10-05 16:22:14 +02:00
jakub 93ed3eb7ff ci: add public download url to build description
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-01 17:32:10 +02:00
jakub bc12c90d2e update-status-go: fix case where two matching refs exist
Before it was possible to break the format of `status-go-version.json`:
```
 > git ls-remote https://github.com/status-im/status-go v0.62.3.hotfix.3
59e6602405bfbcf8446d26aca9b8087e84529f8e    refs/heads/release/v0.62.3.hotfix.3
59e6602405bfbcf8446d26aca9b8087e84529f8e    refs/tags/v0.62.3.hotfix.3
```
Which would result in `commit-sha1` key being set to two commits insted of one.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-01 14:40:30 +02:00
Gheorghe Pinzaru 00ec94b73c Bump navigation libs
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-10-01 10:18:12 +03:00
Gheorghe Pinzaru 5458c7b2db Allow recovering to see referral flow
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-10-01 10:17:23 +03:00
Gheorghe Pinzaru 92fae99cf7 Hide referrals nightly 2020-10-01 10:16:36 +03:00
andrey 9cd1e08aaa upgrade shadow
Signed-off-by: andrey <motor4ik@gmail.com>
2020-10-01 08:53:10 +02:00
Roman Volosovskyi 6cf3a6a98e [#11212] Mention suggestions based on names parts 2020-09-30 14:02:49 +03:00
jakub c866082cde ci: use more buckets for different builds
* `status-im-releases` for release builds
* `status-im-nightlies` for nightlies

I want to reserve the `status-im` bucket for use with the site.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-28 20:10:14 +02:00
Roman Volosovskyi 22ca98b0f8 [#11216] Fix moving cursor after pressing mention suggestion on samsung device 2020-09-28 17:59:03 +03:00
Roman Volosovskyi b5f7a62b14 Fix some UI warnings 2020-09-25 15:13:51 +03:00
andrey abe6e97728 override custom tokens
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-25 14:03:44 +02:00
Churikova Tetiana 6940adf1cb disable collectible e2e
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-25 11:58:20 +02:00
andrey e55cb6b47b [#11218] Hard code fix for SUPR NFT support
Drop collectibles details support
2020-09-25 11:58:09 +02:00
andrey ccd034e7a6 add images
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-25 11:42:17 +02:00
andrey f2da0cbbdb [#11222] Add aUSDC token and optimize search for Aave (LEND) (aka Ethlend) 2020-09-24 16:05:07 +02:00
andrey 1c6da59611 1.7.0 2020-09-23 18:17:46 +02:00
andrey d9bac4a493 [#10667] Upgrade eth-phishing-detect library
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-23 18:17:06 +02:00
jinhojang6 ebf3016644 Update translation
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-23 18:06:42 +02:00
Roman Volosovskyi 345ae359aa [#11179] Nicknames in mention suggestions 2020-09-23 18:34:03 +03:00
Churikova Tetiana b8298dce44 e2e fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-09-23 14:56:31 +02:00
Gheorghe Pinzaru 1969f9dfe0 Parse childrens in reply text
Fixes #11161

Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-23 07:43:44 +02:00
andrey 8eed842c62 [#11136] Warning to users sending ERC20 directly to smart contract
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-22 17:24:36 +02:00
andrey b32367a9b2 [#11185] Add UNI, COMP, AAVE, BAL, AKRO tokens
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-22 16:46:27 +02:00
andrey 7fb243f9f1 [#10060] Wrong ERC20 decimal rounding in "Set max"
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-22 16:02:56 +02:00
andrey 6b08194a19 [#11194] Change #status-spanish to #status-espanol
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-22 14:34:13 +02:00
Roman Volosovskyi 55278828e6 Update mention suggestions on selection change 2020-09-22 14:40:00 +03:00
andrey 99755d08e9 fix labels 2020-09-22 12:10:56 +02:00
andrey e95025333f fix android
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-22 10:23:35 +02:00
andrey ff790d4152 wallet favourites 2020-09-22 10:23:26 +02:00
Churikova Tetiana 6454df4734 e2e wallet fixes
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-22 10:22:12 +02:00
andrey 25dbf1fd61 [#9484] Reintroduce back collapsing of long messages in chats
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-21 18:05:25 +02:00
Roman Volosovskyi 0448edb509 Highlighted mentions in input 2020-09-21 13:10:54 +03:00
Churikova Tetiana 44e3076022 nightly e2e fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-09-18 17:30:03 +02:00
Roman Volosovskyi 1009b71908 [#11160] Hide blocked users from mention suggestions 2020-09-17 22:32:58 +03:00
Roman Volosovskyi 80faac0ca7 [#11152] Resolve self mentions in group chat 2020-09-17 17:19:24 +03:00
Roman Volosovskyi b43f9e0dfd [#11173] Open profile on tapping self mention 2020-09-17 17:17:25 +03:00
Gheorghe Pinzaru 20b5ad9ebb Always use waku
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-09-17 15:19:32 +02:00
Andrea Maria Piana e2071dc968 [Fixes: #11170] Move some pn settings to advanced
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-09-17 15:07:53 +02:00
Serhy 1b1f3c4c9f e2e fix
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-16 18:08:30 +02:00
andrey 889d4c16a4 [#11163] No margin between "Block this user" button and main tabs panel on user profile view on iOS 2020-09-16 18:08:17 +02:00
Serhy ae0504cbfa Update test to copy formatted text messages
Signed-off-by: Serhy <sergii@status.im>
2020-09-16 18:28:46 +03:00
Volodymyr Kozieiev a95520067f Added ui for asking webview page permissions
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-09-16 12:17:45 +03:00
Churikova Tetiana 56aec16793 nicknames e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-09-15 18:04:52 +02:00
andrey 0594548617 [#11150] Chat icons are black in dark mode
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-15 14:30:54 +02:00
Gheorghe Pinzaru f7ec945c56 Force transparent color for timestamp android
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-09-15 10:00:57 +03:00
jinhojang6 13e46c2fb0 Update translation
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-09-14 17:45:08 +02:00
andrey 301f1c8cf2 fix tokens validation
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-14 16:06:52 +02:00
andrey 1e5288a016 fix local nicknames 2020-09-14 12:22:46 +02:00
andrey 59e226bab2 fix local names , mute chat translation, replace null crash
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-14 11:58:45 +02:00
Churikova Tetiana 32cb09c9c6 fix some false failures
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-09-11 16:29:04 +02:00
Roman Volosovskyi 16fecc2ac6 Mentions suggestions 2020-09-10 22:07:56 +03:00
Andrey Shovkoplyas 0675d0d8d7 ios pn
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-09-10 14:12:18 +02:00
Roman Volosovskyi f9df0f367f Get rid of form-2 subs in defview 2020-09-10 13:58:02 +03:00
Roman Volosovskyi 5aa33fc9c0 [mentions] Fix mention appearance in reply and quoted message 2020-09-10 12:51:34 +03: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
Roman Volosovskyi 72daf93a75 [mentions] Open profile tab instead of user profile view on pressing own mention 2020-09-08 16:23:23 +03:00
andrey 89ad4f59d0 [#10179] Create invite link for group chat
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-07 13:32:24 +02:00
andrey 4304a5dd97 [#11046] Add local contact names
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-07 11:42:35 +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
jinhojang6 1a98219690 Update translations
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-09-04 17:56:51 +02:00
Serhy 3181a7dc20 E2e tests for audio message
Signed-off-by: Serhy <sergii@status.im>
2020-09-04 18:29:39 +03:00
Churikova Tetiana fed52fe309 new e2e and GH report changes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-09-02 20:21:30 +02:00
jakub eac77f84c2 nix: upgrade nixpkgs
Significant updates:
- Git: `2.25.1` to `2.28.0`
- Make: `4.2.1` to `4.3`
- Glibc: `2.30` to `2.31`
- PatchElf: `0.9` to `0.11`
- GoLang: `1.14.0` to `1.14.7`
- NodeJS: `v12.16.2` to `v12.18.3`
- Clojure: `1.10.1.507` to `1.10.1.645`
- OpenJDK: `8u242-b08` to `8u265-ga`
- GoMobile: `20200329` to `20200622`

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-02 18:06:23 +02:00
Nathan Handler 080584dc2e Add Orchid ERC-20 Token (OXT)
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-02 14:44:12 +02:00
andrey be25ecd4ea [#10974] ENS resolving for IPNS names.
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-02 14:39:41 +02:00
Александар Симић 2be70cca9a Aligning react versions
When starting the project the following would be spat out:

NPM dependency "react" has installed version "16.11.0"

"16.13.0" was required by jar:file:/Users/alex/.m2/repository
/reagent/reagent/0.10.0/reagent-0.10.0.jar!/deps.cljs

I've bumped up the version in package.json to to match the one being
pulled in by reagent.

Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-02 12:44:26 +02:00
Александар Симић b2a79b3e89 Update nREPL to the latest stable
With the update of Emacs CIDER 0.26.1, it expects to have the latest
cider-nrepl dependency to be at 0.25.3 otherwise it throws an error
when connecting to the project's REPL.

Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-02 11:27:52 +02:00
Gheorghe Pinzaru fdf8d11913 Use monospace font for address and public-key
Swap monospace header

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-31 15:51:39 +03:00
Churikova Tetiana 399be0686c e2e enabled
Signed-off-by: andrey <motor4ik@gmail.com>
2020-08-31 10:52:47 +02:00
andrey 0cb554f5c6 [#11113] Can't send image without description in 1-1 and group chats 2020-08-31 10:52:28 +02:00
jinhojang6 2901f4c7cf Update translations
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-08-31 09:36:41 +02:00
Volodymyr Kozieiev 0ab227eef8 Restrict message size on input
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-08-27 12:53:04 +03:00
Gheorghe Pinzaru 17c408bd06 Use different acquisition gateway based on chain
Do not persist empty tx

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-26 14:15:10 +03:00
Churikova Tetiana 716c968a23 new e2e + accessibility
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-08-25 16:44:05 +02:00
Gheorghe Pinzaru 8adc32a5c9 Simplify tabbar animation
Fixes #11086

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-25 10:17:45 +03:00
Roman Volosovskyi 2934de9b8c [mentions] Replace all mentions with public keys before sending message 2020-08-24 21:29:12 +03:00
Gheorghe Pinzaru 001789f761 Update translation strings for referrals
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-24 11:28:21 +03:00
Gheorghe Pinzaru 8d8057036a Hide placeholder timestamp with opacity
Fixes #11084

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-24 11:27:37 +03: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
andrey 9b0bf60e60 1.6.0 2020-08-20 13:51:05 +02:00
Volodymyr Kozieiev 6bef1182c6 Subheader generation refactored for better performance
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-08-20 14:21:09 +03:00
Gheorghe Pinzaru f17b401bbc Update UI for referrals flow
Cleanup http events

Add loaders

Add dapp flow

Fix tests

Fix dapp success event

Hide reward based on referrals metadata

New flows

Terms link

TX watcher event

Do not show success popup

Use new rewardable field from backend

Fix referral pulling

Update copy

Translate advertiser modal

Move modal styles into style ns

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-20 13:44:12 +03:00
Gheorghe Pinzaru 25721688db Debounce next in onboarding
Fixes #11043

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-20 13:26:27 +03:00
Churikova Tetiana 485dd99e52 fix and universal QR e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-08-19 17:18:26 +02:00
Gheorghe Pinzaru c644ab3501 Resolve contract by ens name
Do not show referrals if contract is not available

Do not check contract for referral accept

Rename invite event namespace require

Remove dispatch from raw subs

Do nothing if there is no contract

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-19 17:10:27 +03:00
Volodymyr Kozieiev ac4f65be97 Fix crash when passcode disabled
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-08-18 18:35:46 +03:00
Gheorghe Pinzaru b737051e3c Use the new intent link for private chat
Fixes #11080

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-18 16:15:32 +03:00
Gheorghe Pinzaru 1e7061acc2 Fix topbar in new contact
Fixes #11091

Fix more nav handlers keys

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-18 15:47:26 +03:00
jinhojang6 cc0076048d Update translations
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-08-18 14:33:15 +02:00
Andrea Maria Piana e52f9fa43f upgrade status-go & always call start/stop methods
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-08-18 14:16:15 +02:00
Churikova Tetiana d5fc93aa55 fixes for e2e + new ids for elements
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-08-18 12:38:48 +02:00
Roman Volosovskyi c2277cbbe5 [#9986] Allow to disable fetching of tx history on mobile network 2020-08-15 21:34:37 +03:00
Churikova Tetiana d22a87b77c e2e fixes + e2e reaction
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-08-14 18:08:24 +02:00
Gheorghe Pinzaru 4e44bed8d6 Replace all usage of topbar with Quo
QR

Invert border boolean

Update e2e

Fix another e2e

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-14 14:22:40 +03:00
Gheorghe Pinzaru 62fe9f3d6a Clear home filter when opening chats
Fixes #11015 Fixes #11013

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-12 17:45:40 +03:00
Churikova Tetiana f128c0ceed new e2e and fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-08-11 18:12:21 +02:00
Roman Volosovskyi 7d19de4e69 [mentions] Open profile on pressing mention in message 2020-08-11 13:10:04 +03:00
Gheorghe Pinzaru feb8dfce07 Enable Quo Preview in dev app
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-11 11:21:54 +03:00
Gheorghe Pinzaru 9c37eac6f4 Use i18n for biometric auth types
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-11 10:59:15 +03:00
Gheorghe Pinzaru 793579885a Add universal QR scanner via common router
Rename events

Add router to handle all links

Use router in add new chat

Unify universal link and universal qr with router

Add icon for universal scanner

Update tests

Now routing is tested in routing PR

lint

Cleanup

QA fixes

Scan own profile

Handle more EIP

Fix wallet scanner

Fix stack for view profile in UL

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-11 10:24:15 +03:00
andrey 2d8b0107e3 replace camera library
Signed-off-by: andrey <motor4ik@gmail.com>
2020-08-10 17:54:14 +02:00
Gheorghe Pinzaru 7bb7b48db7 Fix chat text input animation lags
Remove picker panel from input

Clean pan state

Fixes #11031

Do not use pan state on android

iOs panel switching do not change height

Revert "Remove picker panel from input"

This reverts commit 0ab2c1544b70f8c491424376268f572696bd284a.

Change reactions space keeper method

Audio

Do not use accessory view on Android

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-10 16:40:50 +03:00
jakub eeff44eea7 ci: fix Android release builds not splitting ABIs
This was caused by Groovy script logic not checking `params.BUILT_TYPE`.

Related: https://github.com/status-im/status-react-jenkins/pull/14

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-08-10 14:48:23 +02:00
andrey f9fb4d6974 eip-1193 fix
Signed-off-by: andrey <motor4ik@gmail.com>
2020-08-10 11:00:32 +02:00
jakub 68722340c9 nix: add missing args to gcroots.sh script
This should fix the following error showing up on MacOS:
```
error: assertion ((__lessThan  0)  ((builtins).stringLength  watchmanSockPath))
failed at /Users/jenkins/repos/status-react/nix/mobile/android/watchman.nix:8:9
```
Which was caused by flags like `--argstr` not being passed.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-08-06 15:12:37 +02:00
jakub f904d7b543 nix: add --console=plain to gradle call
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-08-06 14:34:07 +02:00
jakub 7a80eca73c jenkin: fix GitHub releases
Specifically filenames and the diff link.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-08-06 14:28:21 +02:00
jakub 2161192e76 nix: simplify build of gomobile
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-08-06 14:28:15 +02:00
Gheorghe Pinzaru 0319854e83 Home show search when input is focused or has content
Fixes #11017

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-06 13:55:39 +03:00
Churikova Tetiana dd67533ecd regression e2e fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-08-06 12:53:01 +02:00
Gheorghe Pinzaru 2371dcbc60 Show gfycat in new chat search
fixes #11027

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-06 09:58:29 +03:00
Gheorghe Pinzaru 72726e2b0b Fix ens name hash exception for bad names
Fixes #11022

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-06 09:17:20 +03:00
jakub 95997530c6 jenkins: increase iOS build timeout to 25 minutes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-08-04 10:34:32 +02:00
jakub 7c0488372d upgrade Gems, Fastlane from 2.146.1 to 2.154.0
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-08-04 09:25:52 +02:00
andrey 3419dc3cbe 1.5.0 2020-08-03 15:34:05 +02:00
Volodymyr Kozieiev d5015e4d25 Switched to updated version of WebView that asks for permissions
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-08-03 15:51:34 +03:00
Gheorghe Pinzaru 3c42360b30 Add referral program under feature flag
Add acquisition backend methods

Init referrals sharing UI

Add invite on home screen

Use i18n for strings

Lint

Update status go

Pull acquisition contract to get SNT amount

Use new invite component

f pulling

go

Use screen instead of bottom sheet

Handle android install referrer

Post referrer to backend if present

go go

Add async storage for referral decisions

Update with the stage backend

Update contract methods

Modal

UI

Full handling of advertiser type

UI

test

UI

Handle with universal link

Allow multiple acquisition per installation

Fix android bottom sheet

Do not call service if no click-id received

Disable invite in release

Parse query params for referrer

Adapt UI changes

Add push notification

update deps

Mock react-native-push-notification

Request push notifications permission on press accept

Store transaction to local storage and load it back on login

Separate acquisition into smaller ns

Add chat invite

Get referrer only on first install

fix string

Fix firebase crash

Handle outdate click-id

Cleanup business logic

Update contract

Revert pn

Minor update to advertiser modal copy

OLD -  Welcome to Status! Here is some crypto to get you started
NEW - Here’s some crypto to get you started! Use it to get stickers, an ENS name and try dapps

OLD - By accepting you agree to the starter pack
NEW - By accepting you agree to the referral program

upgrade status-go

Add mainnet

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-03 15:25:34 +03:00
Churikova Tetiana d0ce6f11d8 align e2e with reactions
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-07-31 14:56:57 +02:00
Gheorghe Pinzaru 1c308c2d01 Emoji reactions
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-07-31 13:43:10 +02:00
jakub 933c0f8f8c nix: allow XCode versions 11.5 and higher
This is kinda hacky, but is simple enough since the version check uses grep.

For details see:
https://github.com/status-im/nixpkgs/blob/status-mods/pkgs/development/mobile/xcodeenv/compose-xcodewrapper.nix

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-07-31 13:04:47 +02:00
jinhojang6 8b99e992ad Update translations
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-07-31 11:15:22 +02:00
Roman Volosovskyi e96fc90199 [#10976] Fix crash on kk login with enabled fingerprint 2020-07-30 21:11:02 +03:00
Gheorghe Pinzaru 8652f899e0 [#10988] Add entry point to start new chat from search results
Fixes #10988

Allow public key and filter public chats

Make toolbar width 100

Clear new identity from search

QA issues fix

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-30 13:47:34 +03:00
Churikova Tetiana 56364ea70c e2e for PN and set max
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-07-29 17:58:39 +02:00
jakub 788d0d5cc5 add ANDROID_APK_SIGNED to make unsigned builds for F-Droid
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-07-29 10:12:38 +02:00
jakub 517a1be27c nix: disable Gradle daemon for builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-07-29 10:12:31 +02:00
jakub 8bb99743a7 nix: set GRADLE_USER_HOME to a temp dir
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-07-29 10:12:31 +02:00
jakub 0be5f5d8d0 nix: enable build-use-sandbox for Android
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-07-29 10:12:30 +02:00
tbenr 86700f2b5c audio messages
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-07-29 10:09:31 +02:00
andrey 2cc8c9822f image reply fix
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-29 09:55:36 +02:00
andrey a968149ecc fix scan qr window
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-29 09:55:03 +02:00
Roman Volosovskyi 10a814764d [#10195] Delete multiaccount 2020-07-28 15:42:40 +03:00
andrey 4254dbcb26 [#10975] Missing translation on Keycard login page
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-28 11:27:39 +02:00
andrey 6c5daaa1c8 set max button in dark mode
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-27 18:25:42 +02:00
jinhojang6 ceb09dc0e7 Update translations
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-27 08:29:29 +02:00
Gheorghe Pinzaru 5b5096a6d7 Shrink left button in toolbar to not overflow
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-24 18:01:52 +03:00
Gheorghe Pinzaru 729a35d830 Fix parens on intro screens
Fixes #10979

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-07-23 13:23:53 +02:00
Churikova Tetiana fb9ab82d7b sign_in keycard e2e fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-07-23 11:41:19 +02:00
Dean Eigenmann f8af5a51be Update views.cljs
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-07-22 16:36:45 +02:00
Churikova Tetiana f057d527b5 fix 22.07.20 nightly failures
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-07-22 15:39:44 +02:00
Gheorghe Pinzaru 3b17a46bf8 Allow nested touchable in list item
Fixes #10924

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-22 15:51:50 +03:00
Serhy afb4e9fdb9 Add e2e test for PN
Signed-off-by: Serhy <sergii@status.im>
2020-07-21 12:30:04 +03:00
Gheorghe Pinzaru e8fca7ce68 Add interactive dismiss and new input UI
New input UI

Inverse panel height calculation

Remove old chat input

Better animations

fix for pasting text

Add buttons accessibility

Fix dark mode

Update react navigation to fix the keyboard issues

Force close bottom sheet

Unmount android bottom sheet when not visible

Reset bottom sheet height android

more fixes

more fixes

Add hidden audio icon

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-20 12:21:47 +03:00
Gheorghe Pinzaru 6fcb426a71 Disabled next in password screen
Fixes #10965

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-20 12:17:30 +03:00
Gheorghe Pinzaru 4f135292a5 Fix UI issues in backup seed phrase
Fixes #10964
2020-07-20 12:17:19 +03:00
Gheorghe Pinzaru 0f07f3eecb Update image resizer
Do not resize images in camera roll

request permission on camera roll

fix images e2e

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-20 11:54:31 +03:00
jinhojang6 4e5848ee6f Update translations
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-07-16 11:43:46 +02:00
Gheorghe Pinzaru 923beb5f26 Disable by default list item animations on android
Use highlight for touchable feedback

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-16 11:17:51 +03:00
Roman Volosovskyi 292df1439c [#10928] Always show blocked users 2020-07-15 21:27:32 +03:00
Churikova Tetiana cd4b2110c6 e2e for contact view
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-07-15 20:22:27 +02:00
jakub 9ce786c9fb nix: fix conditional that selects .env.e2e for ABI=x86 builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-07-15 16:37:45 +02:00
Roman Volosovskyi 618b1f81e2 [#10914] Show proper username in chat on opening from background 2020-07-15 15:07:14 +03:00
Gheorghe Pinzaru b7bc7c4e5d Don't re-open bottom sheet if now closing
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-15 11:40:32 +03:00
Gheorghe Pinzaru fa4968f22c Fix password position in wallet new account
Fixes #10921

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-15 11:39:21 +03:00
Gheorghe Pinzaru 0adc047f05 Fix missing i18n
fixes #10945

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-15 11:38:28 +03:00
Gheorghe Pinzaru 5c05174604 Merge password screens
Update e2e

Small UX feedback changes

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-15 11:28:02 +03:00
Gheorghe Pinzaru df9062475c Extend security masked data protocol 2020-07-15 11:25:10 +03:00
Serhy f5675b640d Fix scroll and key to locate eth
Signed-off-by: Serhy <sergii@status.im>
2020-07-14 20:11:58 +03:00
Churikova Tetiana cd04acde3a e2e for separate keystore
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-07-14 16:08:47 +02:00
Roman Volosovskyi 15cbec07e9 [keycard] Rename all "hardwallet" occurencies to "keycard"
Previously we used both "keycard" and "hardwallet" names for stuff
related to keycard. It can be confusing as "hardwallet" might be used
for other hardwallets in future.
2020-07-14 14:17:48 +03:00
yenda 67ce4b03aa Revert "upgrade shadow"
This reverts commit 08cbc76111.

Signed-off-by: yenda <eric@status.im>
2020-07-14 13:02:24 +02:00
jakub 84286782f6 bump status-react-jenkins to 1.2.0
This updates a bunch of things in the Jenkins logic.
For details of that see:
https://github.com/status-im/status-react-jenkins/pull/12

It grew out of the changes I made to make PR builds available in Desktop client:
https://github.com/status-im/nim-status-client/pull/507

Changes:
- Bump `status-react-jenkins` library to newer version, probably `1.2.0`
- Update use of `utils.pkgFilename()` in `ci/Jenkinsfile.combined`
- Make all iOS builds go into the same folder: `status-ios`
- Drop e2e build type, infer it from Android ABIs set to `x86` only
- Simplify logic in `nix/mobile/android/release.nix.`

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-07-13 12:13:47 +02:00
Serhy ba0ae149ad Logcat grep, new templates e2e fix
Signed-off-by: Serhy <sergii@status.im>
2020-07-13 12:39:43 +03:00
Churikova Tetiana e366587e8f e2e fix
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-10 17:14:50 +02:00
andrey eef6815616 [#10880] Expanded view with public chat categories 2020-07-10 14:54:39 +02:00
andrey 08cbc76111 upgrade shadow
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-10 12:41:15 +02:00
Churikova Tetiana 2334de58d2 pairing e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
Signed-off-by: Serhy <sergii@status.im>
2020-07-10 10:59:00 +03:00
Serhy 68a07740d8 Update scroll to element
Signed-off-by: Serhy <sergii@status.im>
2020-07-10 10:40:14 +03:00
Roman Volosovskyi bda7386747 [#10784] Fix kk multiacc creation after closing app 2020-07-09 17:32:33 +03:00
Roman Volosovskyi 5101d4d6a5 [keycard] Allow to restore kk multiacc using pairing 2020-07-09 17:30:32 +03:00
Gheorghe Pinzaru 79cf87be86 Ens view list items
Remove extra fn's

Long press animation cancel

Make select primary ens accessible

Add accessibility to controls components

Update e2e tests

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-09 15:15:08 +03:00
Roman Volosovskyi 920bc7d93e [#10195] Separate keystore dir per multiacc
Having all keys related to specific multiacc in a separate dir will
simplify removing of the multiacc. Also it will allow adding of the same
account to different multiaccs.
2020-07-09 13:14:42 +03:00
Serhy e738cd0811 Update ethro key in e2e
Signed-off-by: Serhy <sergii@status.im>
2020-07-08 15:30:58 +03:00
jakub 7d7462356e ci: lower build timeouts to 20 minutes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-07-08 12:33:33 +02:00
jakub 112132aa94 drop all desktop related files and references
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-07-08 10:26:51 +02:00
Gheorghe Pinzaru bdb4d7fe35 Increase long press move distance
Fix android password visibility change

Do not change secure-text-entry on android password visiblity

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-08 10:07:59 +03:00
Churikova Tetiana 7007b790d5 e2e fix
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-07 14:54:15 +02:00
andrey f2fb1739c0 [#10899] Enable notifications during onboarding 2020-07-07 14:53:56 +02:00
andrey 3800f3f7da [#10891] Add 'Add new contact' and 'Invite friends' button to Contact screen
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-07 14:53:10 +02:00
Serhy 4dda20999b Fix e2e keycard
Signed-off-by: Serhy <sergii@status.im>
2020-07-07 13:15:34 +03:00
jinhojang6 d134136518 Update translations
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-07-06 16:05:47 +02:00
Gheorghe Pinzaru 497af38a7f Update usage for toolbars
Replace all the usage of the button without component

Use quo

Fix tests

List item in multiaccounts

Use list items in contacts

Fix welcome  screen button

Experiment long press

Big list item

Remove old bottom sheet

Use bottom sheet

Keycard

Add error to list item

Stickers panel button

Images panel

Fix z-index in profile

Fix android crash

Fix signing list item

Try fixing test

iOs gas sheet keyboard

Disable root alert in e2e

keycard signing sheet height

Clean up bottom sheet events

Replace flat list in profile

Memorise the manual-close value for bottom sheet

Mailserver QR scanner

Fix e2e tests

E2e fix 2

Fix e2e 3

Remove extra fn

Reduce bridging time for animation

Trick android layout

Try hooks

Fix profile missing ens-name

Disable press on control in list-view

allow disabling animations in list item

Use simple list in wallet assets settings

TBD - this screen should be rewritten from scratch. Now on every interaction the full list is re-rendered, also it makes the wallet main screen to re-render.

Fix send sheet

Handle long press in main thread

UI fixes

perf

Update e2e

fix missing user name in image long press

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-06 13:35:50 +03:00
andrey fad1bd25c0 chill stickers
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-06 12:31:42 +02:00
jakub b95056f3ce ci: fix what version is set for iOS PR builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-07-06 09:47:39 +02:00
Roman Volosovskyi 3fe1d6e3eb [keycard] Fix assets message signature 2020-07-03 14:10:37 +03:00
Serhy 16742baecd Update e2e test
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-02 18:59:30 +02:00
andrey 96adbd6185 [#10811] There should be an option to continue opening suspicious urls 2020-07-02 18:59:21 +02:00
andrey 2110446d29 conditional require
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-02 16:23:14 +02:00
andrey 2e7f4212c1 Revert "Remove usage of inline require"
This reverts commit 5f7c7955
2020-07-02 16:23:06 +02:00
Churikova Tetiana 1a6851efa0 uncomment e2e 2020-07-02 16:06:52 +03:00
Roman Volosovskyi 7f1e25a515 [simulated kk] Add proper signing for send/request transaction messages 2020-07-02 16:06:51 +03:00
Serhy ca75a7a057 Use new user instead recovered because message may not be received quick
Signed-off-by: Serhy <sergii@status.im>
2020-07-02 15:54:42 +03:00
andrey 24114f7fe8 [#10105] Add set max to Send transaction
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-02 13:39:48 +02:00
hydr063n 7f4476b253 fix typo in enter the recipient
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-02 11:45:12 +02:00
Gheorghe Pinzaru aa3781e5b5 Onboarding headers style
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-02 11:39:21 +02:00
Churikova Tetiana 6afc313a31 e2e fix2
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-02 11:38:36 +02:00
Churikova Tetiana b008d215e6 e2e fix 2020-07-02 11:38:20 +02:00
andrey 9619a0a204 [#10860] Rename and move Access keys in onboarding 2020-07-02 11:38:20 +02:00
andrey dfb8420353 Disable Register button if not enough SNT for ENS name
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-01 16:25:18 +02:00
jinhojang6 804932e654 Update translations
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-01 14:15:59 +02:00
andrey 49744d89de [#10868] ENS name is pending when tx has failed
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-01 12:48:08 +02:00
hesterbruikman ac74cf01c5 Log level copy update
Small change to manage #10888

Communicates that restart is required for log change to take effect.

Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-01 12:16:45 +02:00
Gheorghe Pinzaru e290881bf8 Add autoscroll and animation to intro carousel
Add cancelable loop animation

Set index manually

Increase progress bar size

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-01 09:32:36 +03:00
jakub b5fda1234e use eth.staging fleet for e2e builds
This should help us acquire more accurate statistics.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-30 10:33:05 +02:00
Gheorghe Pinzaru d916751160 Add PR Scheme for iOs build
Build PR Scheme in PR build

use named parameters, use pr_build boolean

Signed-off-by: Jakub Sokołowski <jakub@status.im>

Enable capabilities

Signed-off-by: Jakub Sokołowski <jakub@status.im>

Add custom app icon

Remove user defined profile

Add PR scheme

Explicit provide provisioning profiles

Fix pr schema

Bump jenkins

Pod bump

Describe pr_build argument

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-29 16:16:35 +03:00
jakub c943f5f283 nix: upgrade xcode 11.4.1 to 11.5
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-29 10:00:00 +02:00
andrey 056dde0190 [#10870] "Invalid timbre logging level" after upgrade from 1.4 to 1.4.1 or relogin on 1.4.1
Signed-off-by: andrey <motor4ik@gmail.com>
2020-06-29 09:40:55 +02:00
Gheorghe Pinzaru 1733d4dc83 Add control components to Quo
Add new switch component

Add all controls components

Use controls in list items

Delete leftover file

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-26 12:02:02 +03:00
andrey 4541f6d59d 1.4.1 2020-06-25 11:26:42 +02:00
Churikova Tetiana 5362ceb31f fixes nightly e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-06-25 10:37:17 +02:00
yenda ddcb1fa54a use resources for notification text for localization
Signed-off-by: yenda <eric@status.im>
2020-06-24 17:55:29 +02:00
yenda 9abf9d3891 add number of notifications to badge 2020-06-24 17:55:20 +02:00
yenda 51198f5b69 stop app when pressing stop button on notifications 2020-06-24 17:55:20 +02:00
yenda fd874c14df open app when tapping sticky notification 2020-06-24 17:55:19 +02:00
yenda 754673faba change notification icons 2020-06-24 17:55:19 +02:00
jinhojang6 b49160c53b Update translations
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-06-24 17:31:53 +02:00
Churikova Tetiana c32057d3fd Refactoring amount validation errors e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-06-24 15:28:28 +02:00
Vitaliy Vlasov 3443afc51c Delay initialization of OkHttpClient inside WebView's manager class
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-06-24 14:25:57 +03:00
jakub 41e04b9555 disable play store release
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-23 17:17:50 +02:00
27ed124e01 fix: connectivity banner height
Fixes #9803 --the height of the banner was cutting off banner messages spanning multiple lines

Due to the animation of the view surrounding the banner text, calculate the banner height, then re-render the banner with the updated height.

Render a view that wraps not only the message banner itself, but also a hidden (0-opacity and absolutely positioned) view with the banner text that calculates the height of the banner during the `on-layout` event. The banner height calculation causes the reagent atom value change to re-render the banner view with the udpated height.

1. There is an animation on the message banner. The "out" animation (ie when the banner is in the process of disappearing) seems to work correctly. However, there did not seem to be an "in" animation. I'm fairly confident these changes did not break any existing animations, however it's worth noting this so that others who are more familiar with the existing codebase may be in a better place to say otherwise.
2. Testing during changes was done by dispatching the `network-info-changed` event like so:
```
(re-frame/dispatch [::network-info-changed {:isConnected false}])
```

Co-authored-by: Pascal Precht <pascal@status.im>
Co-authored-by: Eric Dvorsak <eric@status.im>
Signed-off-by: andrey <motor4ik@gmail.com>
2020-06-23 16:44:49 +02:00
andrey 00ec6efcec remove leftover 2020-06-23 16:20:20 +02:00
Vitaliy Vlasov 84e50ffe4e Merge webview.js into provider.js
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-06-23 16:12:40 +03:00
Andrey Shovkoplyas 98229c46cf [#9037] Error states for new Tx overview: contract & network fees
Signed-off-by: andrey <motor4ik@gmail.com>
2020-06-23 15:00:13 +02:00
Andrea Maria Piana 28ebedbd16 Handle encoded urls
We didn't check for encoded characters in the URL.
Instead now first we decode the URL components, and then match against
the URLs.
We also make sure that there's no HTML in the link passed.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-23 14:03:02 +02:00
Churikova Tetiana c1583249f6 e2e for scanning chat key and small fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-06-23 11:14:16 +02:00
Serhy 55c606e966 Add check for xss in webview
Signed-off-by: Serhy <sergii@status.im>
2020-06-23 11:28:19 +03:00
jakub de7ce0493b nix: optimize garbage collection
In order to prevent `nix-store --gc` from removing too much I've:

- Added the `keep-outputs = true` setting to `nix/nix.conf`
- Fixed `nix/scripts/gcroots.sh` to make symlinks in `/nix/var/nix/gcroots`
- Made `nix/scripts/build.sh` and `nix/scripts/shell.sh` use it

This way when running `make nix-gc` most recently used shells and built
derivations won't be removed along with their dependencies.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-22 16:34:27 +02:00
jakub dbb4b52a70 nix: make secretsFile argument optional
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-22 16:33:56 +02:00
jakub 2862f4c772 nix: upgrade 2.3.4 > 2.3.6
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-22 16:33:55 +02:00
Serhy df3dec8863 Add auto-capitalize words to keyboard
Signed-off-by: andrey <motor4ik@gmail.com>
2020-06-22 12:43:54 +02:00
Richard Ramos a0bae67a53 fix: change amount-input field type to decimal-pad + words 2020-06-22 12:43:42 +02:00
Gheorghe Pinzaru ea346ffe65 Add accessibility label to Quo tooltip
Accessibility hide password only input

Do not hide all other elements, as only password should be secured

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-22 12:58:24 +03:00
Andrea Maria Piana 1714970e4e Use Infura token pulled from environment
This way we can use different token for e2e, release, and devel builds.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-19 19:26:40 +02:00
Serhy 095e8e0fc2 Accessibility to block button
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-19 18:17:07 +02:00
Andrey Shovkoplyas ceaf44b184 [#10312] Blocking user takes ~5-10s, and chats are emtpy during that time 2020-06-19 18:16:57 +02:00
jinhojang6 311fe270f3 Update translations
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-19 09:31:21 +02:00
Pascal Precht d26a9e2529 fix(multiaccounts/login): ensure log-level is updated correctly
As reported in #10127 there's an issue that the log level isn't properly
applied when changed through log settings UI.

Turned out that we're setting the log-level only once in the entire
lifetime of the application and that is during bootstrap.
When the log level is changed through the UI, we never actually update
the log level in the logger module.

To fix this, we just need to ensure that, whenever the log-level is changed,
we also call `log/set-level!` with the new level.

It should also be noted that, every time the log level is changed through
the UI, the user is logged out, so one place to update the logger is
after very successful login.

Fixes #10127

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-18 17:56:03 +02:00
Andrey Shovkoplyas 6274a1a3af [#10253] Bottom system panel is white on dark mode on Android
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-18 15:27:10 +02:00
Vitaliy Vlasov 333372451e Update webview to 10.2.3
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-06-18 15:56:21 +03:00
jakub 98280dc45b make go-maven-resolver fail when any resolution fails
Before errors like this:
```
finder.go:91: error: 'no pom data' for: <Dep ID=com.afollestad.material-dialogs:commons:0.9.6.0 O=false S= >
```
Would be printed to `stderr` but exit code would not be non-zero.

Now the whole `make nix-update-gradle` target should fail if any
dependency resolution fails.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-18 12:10:08 +02:00
Churikova Tetiana 1815ab49aa added logging for e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-06-18 10:24:18 +02:00
Serhy 44c7b7af28 Update e2e
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-17 18:32:38 +02:00
Andrey Shovkoplyas cbf125e4b5 [#10699] Balance of custom tokens is not updated until app restart 2020-06-17 18:32:26 +02:00
Gheorghe Pinzaru 9ce6fea6d5 Fix missing ref on search input
Fixes #10833

Cleanup search on blur if no chat found

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-17 18:12:56 +03:00
jinhojang6 e986f9e3db Update translations
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-06-17 17:06:02 +02:00
Gheorghe Pinzaru c8c524b63e Fix tooltip position in gas input
Fixes #10834

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-17 17:11:30 +03:00
Gheorghe Pinzaru 10237be747 Show search cancel on android
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-17 15:22:24 +03:00
Vitaliy Vlasov ce1ce1c9a6 Disable reload button on unsafe sites
Add refresh button check in respective e2e

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-06-17 13:02:39 +03:00
Andrey Shovkoplyas 29508c015a [#10233] Web-page splits in 2 frames when contains errors
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-16 17:19:16 +02:00
Andrey Shovkoplyas 886ccc765e [#10646] "No protocol method iMap" error when recover the same seed phrase
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-16 17:18:20 +02:00
Churikova Tetiana b573fa8a10 e2e nightly fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-06-16 16:26:21 +02:00
Andrey Shovkoplyas a1dc0462c7 [#10761] Copy change for iOS only
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-16 16:21:27 +02:00
Andrey Shovkoplyas 26f1afc560 [#10424] "Offline, waiting for WiFi" chat status when Mobile network connected is misleading
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-16 16:20:43 +02:00
Andrey Shovkoplyas 15ddf6d060 [#10634] Image of 'Get started' view changes height/width if navigate back from "Enter seed phrase"
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-16 15:34:35 +02:00
Andrey Shovkoplyas e59e17e6e7 [#10658] "connection is secure" tooltip is not aligned with URL field
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-16 14:14:18 +02:00
Andrey Shovkoplyas 24ef4cbd97 [#10694] Amount is not accessible on "Send Transaction" screen when token name is too long
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-16 13:32:44 +02:00
Gheorghe Pinzaru 376dab37e9 Override padding in text input
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-16 14:07:02 +03:00
Andrey Shovkoplyas aeb0123998 [#10808] Can't recover keys from keycard
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-16 11:16:37 +02:00
Andrey Shovkoplyas 2038b99955 Brazilian ts fix
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-15 15:31:05 +02:00
Churikova Tetiana 4941cc9a82 image e2e and nightly fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-06-12 17:34:47 +02:00
Andrey Shovkoplyas 880424c07b fix settings blinking and warnings
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-12 14:37:17 +02:00
Roman Volosovskyi ee2dec5b27 [#10439] Fix transaction signing after tapping wrong card 2020-06-12 15:10:30 +03:00
Roman Volosovskyi b25c1413f4 [keycard] Remove unnecessary parameter from generate-and-load-key
`multiaccount` was used only by simulated keycard, so it is removed
and will be retreived by accessing app-db directly. This is done because
simulated kk implementation should be compatible with real keycard and
thus can't require extra parameters.
2020-06-12 12:36:12 +03:00
Gheorghe Pinzaru 3bc9a63c36 Replace all text-inputs with quo component
This reverts commit db202f03bf.

Fix leftover get-ref for text input

Use uuid as a unique identifier for input

Generate a random uuid on mount, ensures that no stale ref are kept

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-11 14:26:37 +03:00
Gheorghe Pinzaru db202f03bf Revert "Replace all text-inputs with quo component"
This reverts commit 379384211f.

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-10 18:21:13 +03:00
Gheorghe Pinzaru 379384211f Replace all text-inputs with quo component
Replace all text-inputs with label

Fix tooltip

Replace search input

Replace white bg text inputs with Quo

Add placeholders

Clear quo text inputs on blur

 Change seed phrase word count style

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-10 16:17:21 +03:00
jinhojang6 c40529faee Update translations
Signed-off-by: Serhy <sergii@status.im>
2020-06-10 15:07:53 +03:00
Serhy b7c065c1b7 Webview security check
Signed-off-by: Serhy <sergii@status.im>
2020-06-10 11:55:46 +03:00
Gheorghe Pinzaru a76a3acd9f Fix make admin icon
fixes #10785

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-10 09:55:49 +03:00
Gheorghe Pinzaru 64a788c036 Replace old icon set with the new one
Add new icons

Removed unused

Adapt code to new changes

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-10 09:54:29 +03:00
Churikova Tetiana 0603f84ab8 small fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-06-09 16:54:19 +02:00
Gheorghe Pinzaru 197ce2eb60 Change status-bar color on theme change
Move into separate ns to avoid circular dependecy

Fix android system white theme status bar

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-09 13:18:07 +03:00
Roman Volosovskyi dae891979f [#10722] Change learn about keycard link
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-09 07:57:26 +02:00
Gheorghe Pinzaru fd8558421d Set status bar style with theme
Instead of making it full screen then changing on js start, we can use the same theme as in app

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-08 17:34:36 +03:00
Andrea Maria Piana 723975d2c9 Upgrade status-go to improve indexing performance.
The index for message was fairly inefficient as it was only using the
cursor, as it was referring to the old chat_id field.

This meant that newer messages would be fetched much faster then older
messages.

The index has been changed so that now it includes local_chat_id
(which is currently used for filtering), and not using hide.

The reason being is that hide is a low cardinality index, so there's
no performance benefit to have it in, also it's mostly ignored by the
query planner.

https://github.com/status-im/status-go/pull/1986
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-08 16:31:50 +02:00
Gheorghe Pinzaru d0256d637a Restore missing asset
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-05 17:00:28 +03:00
jakub dbe3e0a3f9 nix: minor cleanup and documentation updates
Changes:
- Simplified `default.nix` and `shell.nix`
- Moved the default shell to `nix/shell.nix`
- Dropped unnecessary merge from  `nix/shells.nix`
- Fixed `nix/lib/getConfig.nix` to return default on `null`
- Expanded `nix/DETAILS.md` with more info
- Added links to presentations in `nix/README.md`
- Fixed a few typos

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-05 14:49:34 +02:00
Bitgamma 496a1fa288 restart reader according to Activity's lifecycle (#10760)
update react-native-status-keycard
2020-06-05 14:25:30 +03:00
Jonathan Rainville 08ff2edb0b Show ENS name only when confirmed
fix: only save the ENS username when the TX is confirmed
feat: show when ens registration are in progress, done or errored
feat: implement new design for the ENS registration
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-04 12:51:19 +02:00
Andrey Shovkoplyas e743cbacd0 [#10744] Error at attempt to set custom-domain ENS as main
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-04 12:36:34 +02:00
jakub 2c9ed72ace about time we bumped VERSION in develop
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-04 11:10:59 +02:00
jakub f2c96dcd3b nix: add config defaults and temp keystore generation
Changes:
* Create `nix/config.nix` with `config` defaults
* Add `nix/tools/gradlePropParser.nix` for reading `gradle.properties`
* Add `nix/mobile/android/keystore.nix` for generating a keystore
* Load keystore generation in `nix/mobile/android/default.nix`
* Use generated keystore if it's not provided via `config`
* Add `-deststoretype pkcs12` in `scripts/generate-keystore.sh`
* Add `nix/lib/assertEnvVarSet.nix` for checking if env var is set

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-04 11:10:48 +02:00
Andrea Maria Piana b39d26ed4c [Fixes: #10747] Fix searching name of ens contacts
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-04 09:47:15 +02:00
Andrea Maria Piana af259dacbf enable group chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-04 09:16:47 +02:00
Andrea Maria Piana 254fd229b5 [Fixes #10746] Correctly show reply symbol
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-04 09:13:03 +02:00
Andrea Maria Piana f1272f4d49 [Fixes #10751] Remove messages & list when blocking
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-04 09:11:51 +02:00
Gheorghe Pinzaru 39cc56dd10 Handle links in profile qr code scanner
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-03 17:42:57 +03:00
jinhojang6 46ebda8eeb Update translations
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-03 11:35:57 +02:00
Andrey Shovkoplyas 0620f4b0df [#10732] Remove message spinners and 'Sent' status
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-03 10:58:45 +02:00
Vitaliy Vlasov d50f6ca21e Show redeem text for Keycard redeem txs
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-06-03 00:10:58 +03:00
jakub a8fa78dad3 fix names of translations for Play Store metadata
Source for names:
https://stackoverflow.com/questions/7973023/what-is-the-list-of-supported-languages-locales-on-android

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-02 20:03:38 +02:00
jakub 22d0fed3fc fix android icon.png to use RGBA instead of indexed colors
This caused an error on Play Store metadata update:
Google Api Error: invalidIconImage: Invalid icon image.

And the issue was using color space:
Indexed color (77 colors)

Instead of:
RGBA

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-02 19:22:14 +02:00
jakub 284c26055f update Jenkins library to allow vebose Fastlane calls
For more details see status-react-jenkins change:
https://github.com/status-im/status-react-jenkins/pull/7

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-02 18:50:43 +02:00
Gheorghe Pinzaru 12aa20f467 Add bottom sheet
EXPERIMENTAL: uses reanimated lib so we can use reanimated buttons inside and have simultaneous handlers

Add react hooks

Use hooks

mocks

Use timing for drag transition

Use view on android

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-02 18:10:27 +03:00
Andrey Shovkoplyas d3c9175514 enable keycard
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-02 16:35:01 +02:00
jakub 12e67ad6d2 nix: improve nix/scripts/node_modules.sh
Changes:
- MOAR functions so it's easier to follow
- Don't use /tmp, put the copied node_modules in repo root first
- Ignore more node_modules sub folders when checking for modifications
  - */unpacked_bin/clj-kondo
  - */scripts/.packager.env

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-02 16:26:19 +02:00
Roman Volosovskyi a1027cdfcc [#10452] Keycard: updated PUK flow 2020-06-02 16:34:44 +03:00
Roman Volosovskyi 4021e957ea [#10719] Change seed backup warning message 2020-06-02 12:58:32 +03:00
Andrea Maria Piana 9d7691312b Fix topbar back-button flickering
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-01 13:51:05 +02:00
Andrea Maria Piana f69ae44d50 Improve chat loading performance
This commit does a few things:

Move collections top level

Move `messages`,`message-lists`,`pagination-info` from nested in
`chats` to top level at the db.
The reason for this change is that if any of the `messages` fields
change, any `sub` that relies on `chat` will be recomputed, which is
unnecessary.

Move chat-name to events

`chat-name` was computed dynamically, while it is now only calculated
when loading chat the first time around.

Remove `enrich-chats`

Enrich chats was doing a lot of work, and many subscriptions were
relying on it.
Not all the computations were necessary, for example it would always
calculate the name of who invited the user to a group chat, regardless
of whether it was actually used in the view.
This commit changes that behavior so that we use smaller subscriptions
to calculate such fields.
In general we should move computations to events, if that's not
desirable (there are some cases where we might not want to do that), we
should have "bottom/leaf heavy" subscriptions as opposed to "top heavy",
especially if they are to be shared, so only when (and if) we load that
particular view, the subscription is triggered, while others can be
re-used.

I have compared performance with current release, and there's a
noticeable difference. Opening a chat is faster (messages are loaded
faster), and clicking on the home view on a chat is more responsing
(the animation on-press is much quicker).
2020-06-01 13:50:49 +02:00
Gheorghe Pinzaru 5f7c795567 Remove usage of inline require
Revert translations

remove inline require

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-01 14:19:17 +03:00
Andrea Maria Piana e3815db497 Disable images in public chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-01 11:44:15 +02:00
Serhy 5720151484 Update e2e 2020-06-01 11:34:14 +02:00
Andrey Shovkoplyas f659cbf242 camera roll 2020-06-01 11:34:13 +02:00
Andrea Maria Piana 91bcd0c861 sending images over waku 2020-06-01 11:34:12 +02:00
Andrey Shovkoplyas 60d5815bde images 2020-06-01 11:34:11 +02:00
Andrey Shovkoplyas 9a114128bc [#10718] Update FAQ links
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-29 12:02:10 +02:00
Serhy 3181280bf5 Remove keyboard capability
Signed-off-by: Serhy <sergii@status.im>
2020-05-28 14:31:57 +03:00
hesterbruikman 6d937511ca Removing all remaining multiaccount references
See all edits here: https://notes.status.im/DxYPvFWcQZGG2UIas2KJfw?view

Signed-off-by: Serhy <sergii@status.im>
2020-05-27 18:33:13 +03:00
Gheorghe Pinzaru d28ae1212d Add animated list item into Quo
Change press animation ns

Add list item component

Fix pressable does not reset animation state

Improve long-press handling

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-26 13:53:40 +03:00
jakub 2f65cedd2d nix: replace grep and sed with AWK for parsing Gradle deps
The mess with regexes is hard to read and think about which is why it
had bugs with handling some Gradle formats.

It also lowers further the number of dependencies pulled from 785 to 744.

Changes:
- Added `gradle_parser.awk` script for getting dependencies from Gradle
- Changed the `deps.urls` file to contain full URLs to POMs
- Dropped the `deps.urls.old` part since `get_urls.sh` no longer exists
- Added `CLR` for learing line to `scripts/colors.sh`
- Wrote a new `nix/deps/gradle/README.md`
- Re-generated `nix/pkgs/go-maven-resolver/deps.nix`

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-25 19:34:56 +02:00
Roman Volosovskyi 335d2434f0 [#9661] Fix overlapping on puk code screen 2020-05-25 17:30:33 +03:00
Vitaliy Vlasov e26f5452b9 Do not use signer arg for keycard_signTypedData
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-05-25 17:03:25 +03:00
yenda 288c28df75 cljfmt src if there is no git diff
Signed-off-by: yenda <eric@status.im>
2020-05-25 14:34:30 +02:00
yenda e1074c7c01 fix #10591 error when scrolling account view
Signed-off-by: yenda <eric@status.im>
2020-05-25 14:32:26 +02:00
Vitaliy Vlasov ddbf7bc066 Temporarily fix Flipper dev-mode webview crashes
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-05-25 15:09:59 +03:00
Andrea Maria Piana 34755500d5 [Fixes: #10471] Parse markdown in chat subheader.
This commit adds parsing of markdown in the chat subheader.

Because of the added complexity performance are impacted but I have
also noticed that on each loading of the chat screen we calculate
alias & identicon through status-go, so that has been changed so that
they are returned from status-go.

Overall performance is now roughly identical, tested loading 150
one-to-one chats.

Another issue that I've spotted is that some `subs` are unnecessarely
recalculated (`active-chats`), when unrelated fields changes. I will
address this in a separate PR that should improve performance.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-05-25 14:03:24 +02:00
jakub d0216674da nix: use go-maven-resolver to fix nix-update-gradle
This Go package was implemented by me to avoid having to use Mavan or
Gradle to resolve all the dependencies for Nix:
https://github.com/status-im/go-maven-resolver

The Go tool is essentially a slightly smarter and more efficient version
of the `get_urls.sh` script, which was mostly slow due to the `mvn
dependency:list` calls and slow HTTP requests.

This takes down the `make nix-update-gradle` target to under 2 minutes
on my machine.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-24 18:08:05 +02:00
Churikova Tetiana 54ee386fb8 e2e: transaction custom token
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-05-22 11:30:03 +02:00
Andrea Maria Piana 789271f179 [Fixes: #5124] Fix rtl flag
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-05-22 09:55:05 +02:00
Serhy c68f734b98 Fixed typo
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-21 15:32:11 +02:00
jinhojang6 6344c765d3 Update translations and supported languages 2020-05-21 15:32:03 +02:00
jinhojang6 c9fc00bfd8 Add Play Store translations 2020-05-21 15:32:03 +02:00
jakub 12e269d496 github-bot: drop PR checklist configuration
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-20 19:14:53 +02:00
jakub 9500cd4543 nix: use clojure shells for run-clojure and run-metro
Otherwise we get issues with missing node modules.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-20 19:14:47 +02:00
Churikova Tetiana c3d14f1664 new e2e: stickers, share links, search
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-05-20 17:46:35 +02:00
Gheorghe Pinzaru 0ff6579fa3 Add animated buttons to Quo
Move haptic

Upgrade redash

Add button component

lint

Add button icon type

Add disabled theme

Add accessibility-label

Fix android color

Fix preview modal

Remove android ripple effect

test android

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-20 17:51:38 +03:00
Snyk bot 3481ab3c47 fix: test/appium/requirements.txt to reduce vulnerabilities (#10492) 2020-05-20 17:28:22 +03:00
Serhy 449cfd05b5 Flaky tests plugin and another capability
Signed-off-by: Serhy <sergii@status.im>
2020-05-20 16:27:18 +03:00
snyk-bot 3ac5a0ee1a fix: test/appium/requirements.txt to reduce vulnerabilities
Signed-off-by: Serhy <sergii@status.im>
2020-05-20 15:57:27 +03:00
jakub 883af7b57a nix: add missing Gradle repo path in gradle shell
Also rename STATUSREACT_NIX_MAVEN_REPO to STATUS_NIX_MAVEN_REPO.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-20 13:59:49 +02:00
jakub 0bec573eb3 nix: don't use gradle to patch node modules
Before in order to create `deps.nodejs-patched` the `deps.gradle` would
also have to be downloaded in order to patch `build.gradle` files with
path to the Gradle dependencies in Nix store.

It turns out just replacting lines referencing `mavenCentral()`,
`google()`, and `jcenter()` in `repositories` block is enough to make
Gradle properly fetch dependencies from repo provided via the command
line `-Dmaven.repo.local='${deps.gradle}` option.

This should reduce the required size for shells that don't use Gradle.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-20 10:50:29 +02:00
jakub d494f3b267 nix: enforce xcode only for status-go for ios
According to gomobile docs Xcode is only necessary for iOS:

>For -target ios, gomobile must be run on an OS X machine with Xcode installed.

https://godoc.org/golang.org/x/mobile/cmd/gomobile

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-19 19:58:19 +02:00
Andrey Shovkoplyas 7731839693 [#10631] make it possible to debug webview in chrome on nightly
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-19 12:35:26 +02:00
jakub 8a1704a064 nix: fix ios shell to use patched nodejs modules
This was missed in 604362958b

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-19 12:22:22 +02:00
Bitgamma 1cd58ceda8 restore Keycard 2.1 compatibility (#10673)
* change version of react-native-status-keycard
2020-05-19 12:43:43 +03:00
Andrea Maria Piana e158502819 Show text field as fallback for new content-types
When a new content-type is introduced, before we shown
"Unhandled content-type". Now we instead pull text if it's present,
otherwise we still show "Unhandled content-type". This makes for a
smoother upgrade path when adding new content types.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-05-19 11:18:36 +02:00
Churikova Tetiana d73cdbe26d e2e: 10 participants in group chat
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-05-19 10:36:57 +02:00
Andrea Maria Piana 80c6a516d8 Denormalize message on replying
Before we stored only the message-id and had a subscription pulling the
message from the database when replying to the message.
This broke once we implemented offloading of messages, as the message
might not be in the database anymore.
This commit fixes the issue by storing the full message in the database,
so in the event of it being offloaded it is still shown.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-05-19 10:03:08 +02:00
Vitaliy Vlasov 6a42969e31 Pass requestArguments.params properly
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-05-18 17:02:18 +03:00
Serhy 84c31fcee0 Fix e2e by rerun in a case of TLS failure in emulator
Signed-off-by: Serhy <sergii@status.im>
2020-05-18 15:31:00 +03:00
jakub 604362958b nix: always use patched node_modules in shells
Becuase `clojure` shell used unpatched `node_modules` while the
`android` shell used the patched version when starting these shells
the `node_modules` would keep being switched between them wasting time.

Changes:
- Move `nix/tools/patchNodeModules.nix` to `nix/deps/nodejs-patched`
- Make `nix/deps/nodejs-patched` a normal derivation without extra arguments
- Use `deps.nodejs-patched` in `nix/mobile/android` shell
- Use `deps.nodejs-patched` in `nix/shells.nix` node shell
- Use `with pkgs` to reduce arguments in `nix/mobile/android/release.nix`

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-18 13:54:26 +02:00
jakub 3e20616471 disable hermes warnings that dump translations to stdout
These kinds of warnings dump minified translation files to stdout:
```
/build/android/app/build/generated/assets/react/pr/index.android.bundle:943:1256: warning: The first definition was here.
__d(function(e,t,a,n,o,r,s){o.exports={"about-app":"About","about-key-storage-content":"Status will never access your private key. Be sure to backup your seed phrase. If you lose your phone it is the only way to access your keys.","about-key-storage-title":"About key storage","about-names-content":"No one can pretend to be you! You\u2019re anonymous by default and never have to reveal your real name. You can register a custom name for a small fee."
```

Details: https://github.com/facebook/hermes/issues/216

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-18 13:33:39 +02:00
jakub 2fcf0964f8 nix: fix nix-cache builds using wrong status-go targets
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-16 15:31:15 +02:00
jakub 559a79b3d5 nix: move jetify-ing Java files to patchNodeModules
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-15 22:44:40 +02:00
jakub 2f9593a7d2 unify multiple Makefile targets
Changes:
- Drop a bunch of `watch-{android,ios}-*` tagets
- Replace them with one `run-clojure`
- Drop a bunch of `react-native-*` targets
- Replace them with one `run-metro`
- Replace `run-{android,ios}` with `run-{android,ios}`
- Drop `startdev-{android,ios,desktop}*` targets
- Drop `prod-build-{android,ios}` as deprecated
- Drop `src/status_im/android/core.cljs`
- Drop `src/status_im/ios/core.cljs`
- Move `lsof` tool to `default` shell
- Replace them with one `init` `src/status_im/core.cljs`
- Use `init` in one `shadow-cljs.edn` target `mobile`
- Use `mobile` target in `nix/mobile/android/jsbundle`
- Update instructions in `STARTING_GUIDE.md`
- Use `gradle` shell for `android-clean` target

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-15 18:29:31 +02:00
Churikova Tetiana 78a3f5aff5 extended search test
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-05-15 17:19:02 +02:00
jakub 707a9b7095 nix: add status-go shell
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-15 16:19:34 +02:00
jakub 64b8b9f170 nix: add support for more build inputs in mergeSh
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-15 16:19:27 +02:00
jakub 73a8992db7 nix: refactor loading of node.js modules
Changes:
- Drop `nix/mobile/android/maven-and-npm-deps/default.nix`
- Replace it with much simpler `nix/tools/patchNodeModules`
- Move Gradle patching tool to `nix/pkgs/patch-maven-srcs`
- Simplify it by using `gradle.deps` and patched node modules separately
- Change `TARGET` for `release-android` to `default`
- Move `mobile/reset-node_modules.sh` to `scripts/node_modules.sh`
- Move `nix/mobile/android/targets/release-android.nix` to `nix/mobile/android/release.nix`

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-15 16:19:27 +02:00
Serhy b8c3518c96 Customise gas price in some tests
Signed-off-by: Serhy <sergii@status.im>
2020-05-15 15:37:50 +03:00
Roman Volosovskyi dc303fecc9 [#10434] Skip openening multiaccs list on autologin 2020-05-15 12:34:09 +03:00
jakub 5607540ac1 nix: data in nix/deps/gradle should be JSON
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-14 17:24:59 +02:00
jakub 6746b7d932 nix: data in nix/deps/clojure should be JSON
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-14 16:02:17 +02:00
Gheorghe Pinzaru d133f57678 Remove source-map android debug
Update flipper version android

Disable source maps ios

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-14 15:43:06 +03:00
Churikova Tetiana e0fa8eb81b kk transaction e2e and critical e2e refactoring
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-05-14 14:07:18 +02:00
Benjamin Aaron Degenhart a20c9e67b9 Update link to build page
It's https://status.im/technical/build_status/ meanwhile, not https://status.im/build_status/ anymore.

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-14 10:57:40 +02:00
jakub ed4d0a1ed9 nix: refactor updating Gradle dependencies
changes:
- Moved Gradle deps setup to `nix/deps/gradle`
- Dropped `nix/mobile/android/maven-and-npm-deps/maven`
- Used GNU Parallel to optimize `nix/deps/gradle/generate.sh`
- Move Maven+Node shell setup from `release-android.nix` to Android shell
- Moved AAPT2 patching to `nix/pkgs/aapt2`
- Drop `patchPhase` and `gradlew` use from `release-android.nix`
- Simplify symlinking `{mobile,desktop}/js_files/*`
- Add new `nodejs` shell and merge it with `clojure` and `gradle`
- Re-created Gradle deps files with new scripts:
  - `nix/deps/gradle/proj.list`
  - `nix/deps/gradle/deps.list`
  - `nix/deps/gradle/deps.urls`
  - `nix/deps/gradle/deps.nix`

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-14 09:46:30 +02:00
jakub 45f1d58832 nix: simplify android release build
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-14 09:46:23 +02:00
jakub df25f09159 nix: move yarn2nix setup to nix/deps/nodejs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-14 09:46:23 +02:00
jakub 381b2462a4 nix: put clojure deps under pkgs.deps.clojure
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-14 09:46:23 +02:00
jakub a96b35996f drop scripts/copy-translations.sh as useless
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-14 09:46:22 +02:00
cyanlemons 54b3507d1a Status is no longer "Alpha" software
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-14 09:23:15 +02:00
Roman Volosovskyi 0758ad6136 [#10632] Fix tx signing on keycard 2020-05-13 16:34:21 +03:00
yenda 461e67a46b fix incoming/outgoing bug
Signed-off-by: yenda <eric@status.im>
2020-05-12 19:31:22 +02:00
Vitaliy Vlasov 5d11fb0549 Update react-native-webview to 9.4.0
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-05-12 17:42:46 +03:00
yenda abfe0869f3 requiring translations inline
Signed-off-by: yenda <eric@status.im>
2020-05-12 16:11:37 +02:00
Roman Volosovskyi 86b89ebb5c fix ns duplication 2020-05-12 14:09:33 +03:00
Serhy a482369538 Revive search chat test
Signed-off-by: Serhy <sergii@status.im>
2020-05-12 12:50:35 +03:00
Roman Volosovskyi ee5d53eba9 [keycard] Account generation & tx signing on simulated card 2020-05-12 11:59:31 +03:00
Roman Volosovskyi 6cf242a036 [#10622] Import s.h.export-key ns 2020-05-12 10:43:21 +03:00
jakub 157d054e33 jenkins: allow combined jobs to copy artifacts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-12 09:14:49 +02:00
jinhojang6 8f15d69567 Update translations
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-11 16:21:01 +02:00
Churikova Tetiana 521a4c6b28 e2e for blocking and unblocking user from group chat
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-05-11 10:20:07 +02:00
Churikova Tetiana 607facab2a 3 new e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-05-08 15:40:08 +02:00
Andrey Shovkoplyas c8b5e39dc1 fixed wizard text
Signed-off-by: yenda <eric@status.im>
2020-05-08 14:52:54 +02:00
yenda a06413b6f7 fix missing search filter event
Signed-off-by: yenda <eric@status.im>
2020-05-08 14:07:15 +02:00
Gheorghe Pinzaru 741280a8f8 Fix Flipper iOs crash on base64 image uri
https://github.com/facebook/react-native/issues/28583
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-08 14:37:07 +03:00
Gheorghe Pinzaru c34df26e19 Move icons assets into resources
Fix logout icon usage

Update icons docs

Remove scripting

change jenkins

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-08 14:12:52 +03:00
emizzle 095467ff51 [#10427] Narrow devices were causing text in the intro carousel to grow to two lines on *the first* slide but not others, causing the height to be recalculated incorrectly on the last slide (that only had one line of text).
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-08 11:26:36 +02:00
André Medeiros 41bba3b2c8 Update play store icon and feature graphic (#10592) 2020-05-07 11:49:55 -04:00
Serhy b8dc69fc85 Dapp permission screen to expect simpledapp
Signed-off-by: Serhy <sergii@status.im>
2020-05-07 16:26:48 +03:00
Andrey Shovkoplyas 488d59a448 [#10494] Tapping on "Back up your seed phrase" from wallet doesn't open back up seed phrase flor
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-07 13:12:57 +02:00
Andrey Shovkoplyas a7c8f27b51 [#10587] Unable to resolve spec at attempt to rename group chat
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-07 13:11:43 +02:00
Andrey Shovkoplyas 8fe279b9b0 [#10593] Amount is hardly visible when appearance is set to dark, but system theme is light
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-07 12:39:25 +02:00
yenda 2d1aad6654 fix account creation
Signed-off-by: yenda <eric@status.im>
2020-05-07 12:36:41 +02:00
yenda b011d27c84 only lint the git diff 2020-05-07 12:28:17 +02:00
Gheorghe Pinzaru aad907ce77 Align top recipient multiline input
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-07 12:15:18 +03:00
Gheorghe Pinzaru 12a8e2c276 Update tokens icons
Add a bunch of new coins

Fix tokens icons

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-07 12:10:02 +03:00
Serhy f334f59223 Update e2e to fix false fails in deep link test
Signed-off-by: Serhy <sergii@status.im>
2020-05-07 11:41:43 +03:00
yenda 1bf68094e3 add clj-kondo to linting phase
Signed-off-by: yenda <eric@status.im>
2020-05-07 10:40:30 +02:00
Serhy 8b81c9a63b Update e2e test to use simpledapp.eth
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-06 17:35:57 +02:00
Andrey Shovkoplyas 41bde61212 [#10414] Implement support for latest version of eip-1193 2020-05-06 17:35:40 +02:00
Gheorghe Pinzaru 2140a9867b Upgrade react native to 0.62.2
Xcode updates

Localization

Pods upgrade

Update package.json

Upgrade android

Fix gitignore

Add flipper

Do not enable flipper by default on ios

maven update

Remove outdated hermes

idk what it is, but it's outdated

show warning on build

gradle update

rebase

Update deprecated clipboard

nix

align e2e to rn upgrade

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-06 17:35:13 +03:00
Churikova Tetiana cd8e953c46 extend group chat e2e to 3 members
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-05-06 11:58:19 +02:00
jakub fedb7131a9 nix: fix maven deps shell
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-06 11:32:37 +02:00
Richard Ramos 68fcc967a7 fix: display value decimals instead of using exp notation
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-05 20:29:56 +02:00
jakub e6005dd7c8 nix: use yarn2nix from nixpkgs, stop copying modules
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-05 20:00:47 +02:00
jakub 954e677f0c nix: use symlinks for maven dependencies derivation
This should reduce the size of the derivation by >50%.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-05 20:00:40 +02:00
jakub 3ae5f87be3 ci: add Jenkinsfile for updating Play Store metadata
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-05 19:40:45 +02:00
jakub c6b1217437 fastlane: upgrade 2.146.0 > 2.146.1
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-05 19:40:36 +02:00
Andrey Shovkoplyas eb6d14fd27 revert fast refresh
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-05 17:17:19 +02:00
Andrey Shovkoplyas ebb0697c53 [#10557] "TypeError: Network request failed" crash on sticker market
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-05 17:16:31 +02:00
Andrey Shovkoplyas 640dfa7da6 [#10576] Change button "Sign with keycard" in dark mode
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-05 17:15:19 +02:00
jakub 631339b314 nix: add missing STATUS_GO_ANDROID_LIBDIR env variable
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-05 12:46:06 +02:00
Andrey Shovkoplyas 4db9cd38e1 disable fast reload and add make repl
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-05 11:20:42 +02:00
Churikova Tetiana 4c360f9ea1 e2e fix + pairing code align
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-05-05 10:54:11 +02:00
jakub aa9b7cc848 nix: fix ios sim builds, build for amd64 instead 386
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-05 10:34:54 +02:00
Andrey Shovkoplyas cdad34ed3d fixed keycard crash on message signing and fixed height of bottom sheet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-05 10:14:12 +02:00
Andrey Shovkoplyas 8ee1e3d643 [#10255] Keycard is not optimized for Dark mode 2020-05-05 10:14:04 +02:00
André Medeiros 44b77eea89 Fix Google Play store listing (#10564) 2020-05-04 19:55:49 -04:00
jakub 42fb40476c nix: reafactoring of status-go builds
Changes:
- Fixed `nix/status-go/desktop` builds
- Dropped nimbus wrapper for `status-go` for now
- Split `status-go` builds into subfolders: `mobile`, `desktop`
- Fixed shells for desktop builds: `linux`,`macos`,`windows`
- Added `make status-go-*` targets for building them
- Moved source management to `nix/status-go/source.nix`
- Moved `nix/status-go/build.nix` into `nix/status-go/mobile`
- Moved `nix/desktop/cmake/qtkeychain` to `nix/pkgs/qtkeychain-src`
- Moved `nix/desktop/linux/linuxdeployqt` to `nix/pkgs`
- Moved `nix/desktop/linux/appimagekit` to `nix/pkgs`
- Dropped `nix/tools/mkShell.nix` since it did almost nothing
- Dropped `nix/desktop/cmake/snorenotify` since it's broken
- Moved setup from `nix/tools/mkShell.nix` to `nix/shells.nix`
- Simplified `nix/mobile/ios/status-go-shell.nix`
- Simplified `nix/status-go/default.nix`
- Updated the `nix/DETAILS.md` and `nix/README.md`
- Moved known issues to `nix/KNOWN_ISSUES.md`
- Improved output of `nix/scripts/build.sh`

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-04 20:55:07 +02:00
jakub 3116b04a34 nix: fix installing Nix
we didn't source profile after running nix/scripts/setup.sh

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-04 18:33:31 +02:00
Gheorghe Pinzaru d35deefcb5 Use new component to animate headers
fix header title spacing

Remove translate animation

Add press for profile header

Rebase

Attempt to fix e2e

Add back button accessibility-label

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-04 17:08:33 +03:00
Gheorghe Pinzaru 01452794a1 Add text input and tooltip components
Add tooltip component
Add text input component
rename

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-04 16:38:26 +03:00
Andrey Shovkoplyas a32c94b090 add make re-frisk
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-04 13:47:33 +02:00
Andrey Shovkoplyas d91067bb96 removed check spec, and moved db, events and navigation from ui to root folder 2020-05-04 12:23:19 +02:00
Andrey Shovkoplyas d3860508ca hot reload and re-frisk 1.3.1
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-04 11:22:19 +02:00
Churikova Tetiana 3744dedf52 small fix for e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-05-04 11:12:29 +02:00
Michael Bradley, Jr 00501f44b9 feat: persistent send/receive action at bottom of asset list
When the account card is scrolled out of view a send/receive button group
appears at the bottom of the asset list; uses native animation to raise and
lower the button group into and out of view.

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-04 11:00:00 +02:00
jakub 6aba34b82d fix parsing of maven package cache
Depending on Maven version the file that contains name of repository
will be named _remote.repositories or _maven.repositories.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-04 10:40:08 +02:00
Gheorghe Pinzaru c74beec17a Remove unused code
Fix tests, return tribute to talk

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-04 09:09:48 +03:00
jakub a40d599e55 fix broken nix-update-clojure by always using GNU grep
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-03 23:37:04 +02:00
jakub 8b1fbe228d fix gradle warnings about deprecated build directive
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-03 21:40:26 +02:00
jakub 149b37f75b upgrade Kotlin: 1.3.11 > 1.3.50
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-03 18:44:15 +02:00
Andrey Shovkoplyas 6552669fac fix crash on ios
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-02 11:42:14 +02:00
Michael Bradley, Jr 1bcf884c27 fix: display error and disable Update button if gas limit is less than 21000
Signed-off-by: Michael Bradley, Jr <michaelsbradleyjr@gmail.com>
2020-05-01 18:10:35 -05:00
jakub e5add7b400 nix: re-add maven-inputs2nix.sh script
Was mistakenly removed in: d5ef2185
https://github.com/status-im/status-react/pull/10217

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-01 19:01:29 +02:00
jakub 7a058594de fix maven deps shell by ajusting arguments
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-01 12:37:52 +02:00
Churikova Tetiana 00422cec6f interruption keycard flows e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-05-01 11:05:33 +02:00
yenda bf706e8fd2 move tests alongside their cljs counterpart
Signed-off-by: yenda <eric@status.im>
2020-04-30 18:07:17 +02:00
yenda d5ef218584 use shadow-cljs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: yenda <eric@status.im>
2020-04-30 15:43:46 +02:00
Vitaliy Vlasov 1150626801 Remove signing/in-progress? flag
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-04-30 13:47:51 +03:00
Serhy e16ed6d802 Fix e2e tests
Signed-off-by: Serhy <sergii@status.im>
2020-04-29 18:31:02 +03:00
Andrey Shovkoplyas 5dc6b77ee8 do not scroll input
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-29 16:51:27 +02:00
Andrey Shovkoplyas fcf1a91507 [#10377] [perfromance] Improve sign in flow
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-29 16:48:30 +02:00
Roman Volosovskyi 309987cc89 [#10443] Remove sensitive information from keycard logs 2020-04-29 14:58:12 +03:00
Roman Volosovskyi 96ed1fdeb9 [#10431] Show pending txs in keycard multiacc 2020-04-29 14:56:17 +03:00
Roman Volosovskyi a6729ce8c5 [#10444] Fix keycard pin changing when card is not tapped 2020-04-29 14:55:28 +03:00
jakub 7b6b620ceb nix: use overlays instead of packageOverrides
Changes:
- Add `nix/DETAILS.md` for more in-depth info
- Rename some of `config.status-im` variables
- Drop `env` argument for Android build
- Use `overlays` instead of `packageOverrides`
- Move the `pkgs` overlay to `nix/overlay.nix`
- Move `nix/status-go/utils.nix` to `nix/tools`
- Make `shell.nix` use the `shells.default` only
- Use `default.nix` as target for `nix/scripts/shell.sh`
- Make `nix/scripts/shell.sh` use `--attr` instead of `target`
- Drop the `target` argument in favour of using `--attr`
- Drop unnecessary `src` from `nix/mobile/ios/default.nix`
- Move `mkShell` and `mergeSh` under `lib`
- Move `patched-go` package to `nix/pkgs` directory
- Move `gomobile` package to `nix/pkgs` directory
- Move `ANDROID_ABI_SPLIT` to `config.status-im.android.abi-split`
- Move `ANDROID_ABI_INCLUDE to `config.status-im.android.abi-include`

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-29 11:53:33 +02:00
Churikova Tetiana b265034695 kk login and restore e2e 2020-04-29 11:26:50 +03:00
Roman Volosovskyi 7ebd9dc899 Regular multiacc as a backend for simulated keycard 2020-04-29 11:26:49 +03:00
yenda 35dd4b015b universal link fix
fix for universal link not opening properly when app was closed with
back button, returning nil instead of the url

Signed-off-by: yenda <eric@status.im>
2020-04-28 22:25:37 +02:00
yenda 5608d649b0 notifications: enable local notifications
- only show notifications when app is in background
- open the user chat upon tap on notification
- remove chat from notifications on tap or dismiss notification
- keep the service alive on host destroy
- enable local notifications
2020-04-28 22:25:09 +02:00
Richard Ramos 277f65b94d fix: display the value to sign as a bytes32 hex string if the data is 66 chars long
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-28 19:36:06 +02:00
Andrey Shovkoplyas b891b1b98b re-frisk 1.2.0
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-28 17:23:27 +02:00
Roman Volosovskyi f6dde28c1a [#10432] Fix adding watch-only acc in keycard multiacc 2020-04-28 16:07:56 +03:00
Richard Ramos 5e1bd9ff48 fix: add debounce to "Done" button in the recipient selection dialog
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-28 12:33:03 +02:00
Gheorghe Pinzaru 38125173cb Add Quo component library base
Add text component

Add header component

Change animated root ns

Add spacing design tokens

Add components preview

Add Readme

Add safe area components

Use reanimated from component library

Add colors tokens

Add inherit style for text

Add animated header component

A view with header which can be animated on scroll, used in walled, profile and contact screens

Persist previews navigation state

Rename component library into Quo

Document colors

Extend readme

Header handle long titles

Add InterStatus as monospace font

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-04-28 11:35:06 +03:00
Andrey Shovkoplyas 0a4547e652 [#10418] Can login to account just via tap upon it from Your keys view
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-28 10:01:06 +02:00
Andrey Shovkoplyas f73754af34 [#10385] [perfromance][chat] Optimize input field in chat
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-27 17:42:48 +02:00
Pascal Precht f280d5a90e Refactor delete account algorithm to properly remove deleted account
Prior to this commit, deleted accounts would stay in the database but
set to `nil`. With this change accounts are properly removed from the database
when scheduled for deletion.

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-27 16:22:38 +02:00
Michael Bradley, Jr 5002b4c7bb fix: prevent multiple taps on Register button from opening several tx during ENS registration
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-27 09:16:12 +02:00
jakub 439643daa4 undo removing of preBuild gradle stop
This partially reverts commit 548fe04f54.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-24 20:15:02 +02:00
Pascal Precht 3fce002213 fix(wallet/accounts): don't store derived account when it exists in app db
As discussed in #10326 and later in https://github.com/status-im/status-go/issues/1939, it turns out
that, when a user tries to add an account (from a seed phrase), while an account
with the same address (that the seed phrase would result in) exists in the application
state, the application would still go ahead and store the derived account in
status-go.

After that it still reports to the user that the 'Account already exits'.

This commit ensures that Status doesn't try to store the derived account when
the account already exists in the application database.

Fixes #10326

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-24 11:40:36 +02:00
jakub e1eda363e6 nix: upgrade 2.3.2 > 2.3.4
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-24 11:18:49 +02:00
jakub 68b9b18cae nix: refactor android sdk package
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-24 11:18:36 +02:00
jakub 548fe04f54 gradle: remove unused buck configuration
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-24 11:18:36 +02:00
Churikova Tetiana 57f1303c5f bootnode e2e + translations + new checks in e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-04-23 17:48:05 +02:00
jakub 2a4641684f fix Gradle plugin by upgrading to 3.5.3
We tried upgrading to 3.6.0 but it made app fail to start:
https://github.com/status-im/status-react/pull/10402

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-23 15:38:03 +02:00
Roman Volosovskyi c805333bcd [#10409] Invalid mnemonic on keycard acc creation
Usage of `Keycard.generateMnemonic` is removed from the code as we
always generate new multiaccounts on status-go side. Previously it was
misused and was called with intention of generation of mnemonic for an
existing keycard multiacc.
2020-04-23 14:17:25 +03:00
Andrea Maria Piana ed87e350ae [Fixes: #10390] Re-enable group chat on re-invite
If we get re-invited to a chat that we left, the chat will be shown
again.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-23 12:46:03 +02:00
Andrey Shovkoplyas e5d53e65de re-frisk 1.0
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-23 12:12:42 +02:00
Andrey Shovkoplyas da038aaa67 bump re-frame and remove 16ms delay for reagent tick
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-22 17:29:08 +02:00
Andrea Maria Piana 74f1405829 Handle when message confirmations arrive out of order.
In some cases message confirmations might arrive out of order, before
status-go calls the callback for a sent message.

This commit changes the behavior so that confirmations out of order are
not ignored and they are checked when the callback for sending message
is called.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-22 16:55:19 +02:00
Andrey Shovkoplyas f170512e8f [#10396] Quoted text (using markdown) in dark mode is hardly visible
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-22 15:54:40 +02:00
Andrey Shovkoplyas c65ca5c92e start loading messages earlier
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-22 15:52:48 +02:00
jakub 8571b95db3 nix: upgrade nodejs to 12.16.2
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-22 15:42:05 +02:00
Roman Volosovskyi 9d59d82869 Revert "gradle: upgrade plugin to 3.6.0"
This reverts commit 938f3df843.

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-22 14:11:05 +02:00
Churikova Tetiana d9862e2cef upgrade e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-04-22 13:17:03 +02:00
jakub eb194acce6 upgrade fastlane and plugins
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-22 11:57:29 +02:00
jinhojang6 edceafa526 Update translations
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-22 08:56:45 +02:00
jakub 34c30e0cb9 react-native: avoid Haste module naming collision warnings
Warnings like this:

jest-haste-map: Haste module naming collision: StatusIm-Mobile
  The following files share their name; please adjust your hasteImpl:
    * <rootDir>/mobile/js_files/package.json
    * <rootDir>/package.json

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-21 22:53:27 +02:00
jakub e0b5bfc7d8 nix: completely remove legacy TARGET_OS variable
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-21 22:30:34 +02:00
jakub 918b03d459 nix: move nix-purge code to nix/scripts/purge.sh
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-21 22:30:33 +02:00
jakub 4670ae7549 makefile: add missing TARGET for android-clean
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-21 22:30:33 +02:00
jakub 938f3df843 gradle: upgrade plugin to 3.6.0
This is to fix incompatibility with new Gradle 5.6.4:
https://developer.android.com/studio/releases/gradle-plugin#updating-gradle

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-21 22:30:10 +02:00
Andrea Maria Piana 7222b4f016 Fix replies emoji messages
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-21 14:59:23 +02:00
Andrea Maria Piana 387b9cb37a Don't send extra contacts from status-go
Previous we sent all contacts from status-go, also those that we only
create to memoize name/image.
This commit changes the behavior so that only contacts that have custom
fields are received by status-react (added by us, added by them,
blocked, with a verified ENS name)

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-21 09:15:32 +02:00
Andrey Shovkoplyas 37028c62a2 [#10369] App freezes on transaction signing after entering wrong password
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-20 20:03:44 +02:00
Andrey Shovkoplyas 7ad49c3670 [#10366] App Dark mode: signing phrase+message not visible when Signing message in Dapps
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-20 14:34:59 +02:00
jakub 5380fcd68f upgrade Nix packages, and a lot of dependencies
Notable version upgrades:

- Go: 1.13.4 > 1.14.0
- GoMobile: 20190806 > 20200329
- NodeJS: 10.17.0 > 12.0.0
- Yarn: 1.19.1 > 1.22.4
- Gradle: 5.1.1 > 5.6.4
- OpenJDK: 1.8.0-222 > 8u242-b08
- Clojure: 1.10.0.411 > 1.10.1.507

OpenSSL is still stuck on 1.0.2u due to Android SDK.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-20 11:52:44 +02:00
Andrey Shovkoplyas de4e73a256 signals processing performance improvements [#10287]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-17 16:52:02 +02:00
Roman Volosovskyi c9308af4d8 [#10277] [keycard] Fix tx signing for derived accounts 2020-04-17 16:57:45 +03:00
Jonathan Rainville 4f120d99f7 fix: show message when loading new transactions instead of no tx msg
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-17 11:43:38 +02:00
Andrey Shovkoplyas cc70a7e8da [#10203] Endless spinner when sending two TX in a batch in Dapp
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-17 10:31:39 +02:00
yenda aebe68fa1a fix #8717 change ens welcome screen
english only
needs work for translations

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-17 10:29:41 +02:00
jakub d68b757589 upgrade Xcode to 11.4.1
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-16 22:13:47 +02:00
Andrea Maria Piana 28a2bca012 Get replies directly from status-go
Fixes: #10297
Fixes: #10274

Before if a reply was missing (for example if it the message replied to
arrived after the reply) status-react would subscribe to it dynamically
and use that. This caused some flickering issues when offloading the
messages from the database, as the message being replied to would be
offloaded and later loaded back again, triggering scroll and ending up
in a loop.

This commit changes the behavior so that status-go always adds the
reply to the message. In case the message being replied to arrives after
the reply, this will be included in the message update, and status-react
will replace it in the local storage.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-16 15:54:33 +02:00
yenda 23af624305 fix #10052 make finding the public key easier in profile
Signed-off-by: yenda <eric@status.im>
2020-04-16 13:33:49 +02:00
jakub 035e07f7be upgrade to Xcode 11.4
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-16 12:56:03 +02:00
Michael Bradley, Jr 0a9919c991 fix: strip leading and trailing whitespace from QR Code data
All leading and trailing whitespace is now removed from strings derived from QR
codes, both in the case of `get-qr-code-data` (real camera) and
`qr-test-view` (mock camera).

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-16 12:02:11 +02:00
Roman Volosovskyi c94977c8d3 [keycard] Faster multiacc creation and login 2020-04-16 12:11:16 +03:00
jakub ae411a432f fix Gradle permission errors during build
Specifically:
org.gradle.internal.service.ServiceCreationException: Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().
Caused by: org.gradle.api.UncheckedIOException: Failed to create parent directory '/build/project/android/.gradle/5.6.4' when creating directory '/build/project/android/.gradle/5.6.4/fileHashes'

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-16 10:47:17 +02:00
yenda 5307fdfbce fix #10039
- wasn't able to reproduce the issue as it seems that all inputs are already
properly turned to lower case
- added :auto-capitalize :none property to the input field though to ensure
the keyboard doesn't force the user to start with an uppercase later

Signed-off-by: yenda <eric@status.im>
2020-04-16 00:50:02 +02:00
yenda 7046543533 fix autoCapitalize warning
Signed-off-by: yenda <eric@status.im>
2020-04-16 00:49:00 +02:00
Gheorghe Pinzaru c9e6f0aff7 Add animation to wallet header transition
Add reanimated lib

Wallet header animation

Animate android elevation

Move constants into styles

Ensure line width

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-04-15 17:41:15 +03:00
Churikova Tetiana 7a89b2852a fix nightly e2e + new scan EIP qr e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-04-15 16:28:58 +02:00
yenda a5a00e0a2c fix #10058 wrong domain name shown when connecting .eth
add a check on the function that adds the stateofus domain to
usernames. if the username already contains a domain, don't
concat stateofus domain to it

Signed-off-by: yenda <eric@status.im>
2020-04-15 12:21:10 +02:00
Vitaliy Vlasov e11385e350 Add web3.keycard.signTypedData
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-04-14 20:07:35 +03:00
jakub 1b43e4c16b fix Android build on MacOS due to lack of OS var
changes:
- Drop use of /dev/stderr, doesn't work on MacOS
- Use uname -s instead of $OS which was removed
- Remove leading whitespace that fucks with Nix
- Check if `/etc/os-release` exists before reading it

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-14 18:31:52 +02:00
jakub 5c8a8e83ac show proper error if nkd-build is missing
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-14 18:31:36 +02:00
Pascal Precht 64580f0ad1 Show correct error message when signing typed data
Prior to this commit `sign-message-completed` effect would always use
the `wrong-password` label for error handling. We now ensure that `wrong-password`
is only used in case the error in question has a code `5`, which is
associated to unmatching passwords.

In any other case we'll use the `message` attached to the `error`.

Fixes #8275

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-14 18:17:43 +02:00
jakub 435c6a7943 update help messages in Makefile targets
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-14 15:08:19 +02:00
hesterbruikman a1a64ce5f4 Update en.json
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-14 15:00:27 +02:00
hesterbruikman 75c5a13d7b Minor copy changes wallet
Set default currency > Set currency
These three words prove that a transaction is safe. > You should see these 3 words before signing each transaction
You should see these words before signing each transaction. If you don’t, cancel and sign out. > If you see a different combination, cancel the transaction and sign out

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-14 14:59:39 +02:00
jinhojang6 6424c59c8b Update Russian, Korean, and Chinese translation
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-14 14:58:19 +02:00
Andrea Maria Piana a9c580e82c Increment retry count when ENS fails to verify
When an ENS name fails to verify, we should increment the retry count so
that it back offs. All the changes are in status-go.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-14 14:26:01 +02:00
Serhy 453c1bf824 Logging in networks
Signed-off-by: Serhy <sergii@status.im>
2020-04-14 14:50:33 +03:00
Gheorghe Pinzaru ea3735d938 Add profile screen in profile stack
Fixes #7437

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-04-14 13:42:12 +03:00
Andrey Shovkoplyas 45dae49fc0 qr testing mode, fixed qr pure address and EIP681 issues
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-14 11:53:01 +02:00
Andrea Maria Piana e813d1e4e4 Use ms instead of seconds
Fixes: #10249

We were using seconds instead of seconds, therefore the gap would always
end up as last.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-14 08:58:49 +02:00
Roman Volosovskyi fee6864d56 [#10272] Hide key-uid from keycard login screen 2020-04-13 14:25:40 +03:00
Roman Volosovskyi 962d0fb6cd [#9665] Allow to change pin after keycard multiacc creation 2020-04-10 18:50:16 +03:00
Gheorghe Pinzaru c41727c1b3 Add minor improvments to text input
Set font-size and line-height for text-input

Add min height to seed phrase

Min 3 lines for phrase fixes #10121

Increase touchable area for text-input

Fix wrong styles on mailserver inputs

Fix wallet wrong styling on text input

Make seed phrase centred on ios

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-04-10 15:24:45 +03:00
Churikova Tetiana 966b6e5a33 refactor group e2e + send_stt_in_1_1 + deleted obsolate e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-04-10 13:05:24 +02:00
Gheorghe Pinzaru 461b6cdb74 Update the UI for the group chat
Add search for contacts

Add format name inside contact

Add back button on create group

Fix current contact name and alias

fixup

Update UI for group chat profile

Fix tests

Ui clean up

fix change group chat name

Add leave group chat option

Hide options if user has left the chat

Use modal for all required chat screens

Add dark mode to group chats

Fix offset 10 pt off screen on presentation modals

Wrap keyboard avoiding view with safe area offset

Keep only leave chat

Fix search input focus

Make edit name active when title not changed

Fix lint

review cleanup

QA review

Fix group chat inviter name

Fit flat list into container

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-04-10 13:58:04 +03:00
Roman Volosovskyi 8b9a245f54 [#10275] Can't finish card setup if creating card flow is canceled on PUK / Pairing code screen 2020-04-09 16:59:27 +03:00
Roman Volosovskyi 8b4bc0290a [#10199] fix No message when sending funds in 1-1 chat with keycard 2020-04-09 11:34:30 +03:00
jakub 0cc7ec92bd fix displaying of version and build number in app
Changes:
- Includes `VERSION` file in source for `jsbundle` derivation
- Includes `BUILD_NUMBER` file and it's generation scripts
- Includes minimal `.git` files to make `git rev-parse --short HEAD` work
- Implements `ignoreVCS` for `mkFilter` to be able to include `.git` files
- Adds missing `git` and `bash` to `buildInputs` for `jsbundle` derivation
- Dropped `bash -c` from Clojure code calling `git`

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-08 22:55:53 +02:00
Andrea Maria Piana 55a955d8dd Load messages on will-focus
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-08 17:45:52 +02:00
Roman Volosovskyi 19fdced2bc update tooltip in recover view
Signed-off-by: Serhy <sergii@status.im>
2020-04-08 13:01:42 +03:00
jakub 47eb863a3c nix: add cleaning up status-go sources
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-07 18:19:21 +02:00
jakub 5b1e0b3bdf nix: fix status-go source override
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-07 18:19:12 +02:00
Churikova Tetiana 901f091929 tooltips e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-04-07 17:00:58 +02:00
Andrea Maria Piana c2d129d04e Fix mark as read for hidden messages
If a message is hidden and is not currently loaded, it will not be
marked as read, resulting in the count being always positive. To avoid this
we always mark it as read, and from the backend we return whether it has
been marked as read or was already seen.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-07 13:27:06 +02:00
Andrea Maria Piana a914334fed Fix incorrect loading of messages
In some instances when receiving messages from a mailsever in the chat
you are in, the flag `all-loaded?` would not be reset, meaning that
messages not in the current view would be added to the db, but would not be seen until actually
reloading the chat (go back home, open again).

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-07 11:42:41 +02:00
Vitaliy Vlasov 749faaeb1b Update react-native-webview to 8.0.7_6; use shouldInterceptRequest on
Android

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-04-07 12:32:05 +03:00
jakub 5ddd605328 fix missing asset images
jsbundle derivation needs to have images available because it stat's
them to verify they exist. They are actually included by Gradle.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-07 09:24:45 +02:00
Roman Volosovskyi 9df455088e [#8567] Accessible tooltips for e2e tests 2020-04-07 09:21:36 +03:00
Serhy 14d1a6cfb2 Mark all as read in public and e2e fix
Signed-off-by: Serhy <sergii@status.im>
2020-04-06 20:49:00 +03:00
Andrea Maria Piana e7a213fe95 Validate enode url when blank
Fixes: #7333

Validates enode url if blank as well, so `Save` button is disabled.
Handles as well if for any reason invalid values are passed.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-06 09:20:18 +02:00
jinhojang6 5eea4ba218 Update translations and remove unreviewed languages
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-06 08:38:09 +02:00
Churikova Tetiana 9b6e7cad6d basic e2e keycard
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-04-03 17:11:58 +02:00
Serhy efab1d30ed E2E to receive message while in different tab
Signed-off-by: Serhy <sergii@status.im>
2020-04-03 14:11:57 +03:00
Roman Volosovskyi 151b6a3cbf Disable keycard on ios 2020-04-03 11:42:55 +03:00
Roman Volosovskyi 71ab9c9d9d Disable keycard testing menu (#10236 leftover) 2020-04-02 15:21:07 +03:00
Roman Volosovskyi 45b296a2c5 [#10243] Handle wrong pin on keycard account creation 2020-04-02 15:17:43 +03:00
Roman Volosovskyi f1e83158d9 Testing menu for keycard e2e tests 2020-04-02 15:10:29 +03:00
Churikova Tetiana ff9cd359e9 3 e2e commands and skip e2e due to bug
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-04-02 12:35:16 +02:00
Andrea Maria Piana e5dbac877e Handle new universal links
Fixes: #10192
Fixes: #10083
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-01 21:51:42 +02:00
André Medeiros c47aca0ddb Fix camera usage description (#10263)
* Fix camera usage description

* Remove contacts usage description as we never access those
2020-04-01 13:19:02 -04:00
yenda b344322475 fix ens contenthash resolution
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-01 13:52:04 +02:00
yenda 430a8fb27c fix ens contenthash resolution
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-01 13:02:48 +02:00
Andrey Shovkoplyas 3d1a1c5be9 [#10077] Can't accept agreement on ENS registration when app translated into French
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-01 12:22:16 +02:00
jakub fd0a328106 Revert "use default target for run-android"
This reverts commit 9243daa405.
2020-04-01 09:52:57 +02:00
jakub 9243daa405 use default target for run-android
this should stop rebuilds of things like
- status-react-patched-npm-gradle-modules
- status-react-source-gradle-install

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-31 17:18:12 +02:00
jakub f75cb14588 refactor and simplify mkFilter, use more restrictive rules
This should reduce rebuilds of status-react-npm-gradle-modules

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-31 17:03:39 +02:00
Gheorghe Pinzaru 12bcd79c2c Clear text input on blur
Fixes #10237

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-31 15:59:35 +03:00
Volodymyr Kozieiev 9e5cc74ea9 Loading indicator shown when prices loading is in progress
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-03-31 15:06:18 +03:00
yenda 49fd306f25 disable biometric auth when device can't save password (rooted)
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-31 14:04:27 +02:00
Andrey Shovkoplyas fc1bc48fdc ignore back button on signing panel
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-31 12:53:09 +02:00
jinhojang6 c5ec451692 Update Filipino, Indonesian, Korean, and Chinese translation
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-31 10:59:08 +02:00
Andrea Maria Piana 97a953cc64 Upgrade status-go
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-03-30 15:50:10 +02:00
Andrea Maria Piana dcca501b0a Enable waku node default
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-03-30 10:59:29 +02:00
Churikova Tetiana 2f53c7f914 removed log level testing for release build
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-03-30 10:31:55 +02:00
Andrey Shovkoplyas 2122c5518f fix colors android
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-27 15:36:09 +01:00
jakub 5fab3268bd allow lint stage fail in CI and still upload build result
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-27 09:19:46 +01:00
Andrey Shovkoplyas fb86b4d367 switch control color android
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-26 16:40:25 +01:00
Andrey Shovkoplyas 5a955cd4d2 fix short version
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-26 15:45:43 +01:00
Serhy a7c2ecda42 Remove label 2020-03-26 13:18:57 +01:00
jinhojang6 a090a059ec add Filipino translation 2020-03-26 13:18:56 +01:00
Churikova Tetiana 68f0a02cbc fix e2e
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-26 10:36:21 +01:00
Andrey Shovkoplyas a447bed4ac dark mode 2020-03-26 08:34:13 +01:00
jakub efc2fa9cf2 use the proper source of publish method
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-25 17:10:24 +01:00
Roman Volosovskyi 3760d2a2e5 [#10197] More retries when requesting balances 2020-03-25 17:10:21 +02:00
Roman Volosovskyi c9cdd48849 [#9705] fix java.lang.IllegalArgumentException: 16 > 0 after entering PIN code 2020-03-25 16:47:18 +02:00
Artur Zabeyvorota cda7564bbe [#9657] system messages ui changes in group chat
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-03-25 15:33:41 +01:00
Gheorghe Pinzaru 81070f07b0 Fix android tabbar animation
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-25 16:10:46 +03:00
Vitaliy Vlasov dd7b3c21ae Unlink webview
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-03-25 14:34:18 +02:00
jakub 0306f1cfbd ci: re-add Play Store upload case for release
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-25 11:17:06 +01:00
Churikova Tetiana 5809cba0df 1-1 send ETH test
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-03-25 10:33:47 +01:00
Vitaliy Vlasov 85d0022b26 Use community WebView
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-03-24 18:07:03 +02:00
Vitaliy Vlasov 86d85df5d3 Use atom for webview ref instead of storing it in re-frame's db
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-03-24 11:48:41 +02:00
Roman Volosovskyi b6e0bb0a0e [#9686] Fix brief change of identiocon on keycard login 2020-03-24 08:43:12 +02:00
Andrey Shovkoplyas 2272fafc05 [#9962] Update prices in fiat more frequently
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-21 12:15:54 +01:00
jinhojang6 1e44b433c5 update Spanish and Latin American Spanish translations
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-19 18:30:10 +01:00
Churikova Tetiana 2f446a73bb fix e2e + disable e2e deep links
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-03-19 17:38:06 +01:00
Roman Volosovskyi 53883e4be1 [#10183] Fix balance updating on first transaction 2020-03-19 15:50:46 +02:00
Roman Volosovskyi fadda87ac2 [#9680] Show proper storage for keycard accounts 2020-03-19 14:25:11 +02:00
jinhojang6 9496bfa2a8 update Italian translations
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-19 12:15:28 +01:00
vidal cd02175144 Adding BTU (BTU Protocol) token
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-19 12:14:38 +01:00
Gheorghe Pinzaru ed8b5b265b Handle hardware back on popover and bottom sheet
Closes all popovers. Fixes #9992

Add hardware back button on bottom sheet

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-19 13:20:54 +03:00
Roman Volosovskyi ebf2600fdc [#10101] Reintroduce account generation on keycard multiaccount 2020-03-19 11:42:24 +02:00
Gheorghe Pinzaru d24f4690b8 Fix failing test for navigation task
Handle default case for ens confirmation

Before navigation away the registration state is cleared and case does not handle default value for nil

Remove extra space on home button

Remove outdated options

Fix e2e

Change navigation replace arguments as per rn5

Fixes #10178

Dispatch navigation later

Do not restore state for react-native-screens

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-18 17:47:03 +03:00
Volodymyr Kozieiev d2478bbd34 use 'next' label when sending transaction requires a sign
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-03-18 16:43:05 +02:00
jakub 4a7c03b1cc avoid building jsbundle twice, drop jsbundle stage
Because we run nix/scripts/clean.sh after building JSBundle it is
removed from Nix store and can't be reused in the Bundle stage.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-17 22:11:54 +01:00
Churikova Tetiana 8aff7f487d refactoring e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-03-17 18:37:16 +01:00
Gheorghe Pinzaru a2b2f55996 Use react native screens on ios and android
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-17 19:56:26 +03:00
jinhojang6 009ea990bc remove outdated translations and add new translations
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-17 16:55:00 +01:00
Gheorghe Pinzaru d823a2082a Update react navigation and rework wrapper
Get rid of navigation wrapper

Use new API to declare navigation

Update tabbar component

Update to use new navigation events

Add ios presentation modal

Navigation cleanups

Android specific updates

Use letsubs for stack subscriptions

Keycard did load event backward compatibility

Fix tabbar and wallet on-focus bad rebase

Do not keep welcome screen into the stack

Comment outdated test

Fix rebase on home PR

Cancel back button on screens which can't be popped

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-17 11:52:31 +03:00
Roman Volosovskyi 61d465a343 Ensure that keycard flows continue when card is already connected
This commit ensures that a user can flawlessly interact with a keycard,
regardless of the moment when the card was tapped to the device. To make
it so:
- in case if the card was tapped before the interaction the user doesn't
  need to re-connect card to continue
- in case if the connection with the card was lost during the interaction
  the application restarts that interaction as soon as the card was
  connected again (unless the user canceled the flow)
2020-03-16 14:58:25 +02:00
Andrea Maria Piana 947b1c2b2e Correctly load messages when on tab
While on tabs we want a slightly different behavior:
Unread counter should increase, message should be loaded in the chat
On moving to the chat tab from one of these tabs, it should mark the
messages as seen.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-03-16 13:34:07 +01:00
jakub 2f412d95ee nix: rename adb target to android-env
Makes more sense since it contains entire Android SDK and NDK.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-16 12:11:08 +01:00
jakub eb5fe57e90 fix keystore generation, pass keystore vars to build
Changes:
* Drop --keep from nix/scripts/build.sh as it does nothing
* Allow scripts/release-android.sh take passwords from env
* Use env file in extra-sandbox-paths to pass keystore passwords
* Quote ever segment of Nix options to avoid parsing errors

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-16 12:11:00 +01:00
Gheorghe Pinzaru 10fab4e77c Add billing permission android
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-16 12:26:41 +03:00
Andrea Maria Piana 619e176087 Set waku mode dynamically
This commit allows setting waku-mode and waku-bloom-filter-mode
dynamically.
It requires a relogin for the changes to take effect.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-03-16 08:09:27 +01:00
Andrey Shovkoplyas b8861c6c14 [#10141] Unable to login to multiaccount if it is already restored as account in another multiaccount (IOS)
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-12 14:21:56 +01:00
Andrey Shovkoplyas 3cf282e75a fixes home loading indicator
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-12 12:33:45 +01:00
Roman Volosovskyi 4f95e0bcf4 [#10011] Listen to nfc state changes 2020-03-12 09:04:41 +02:00
Andrey Shovkoplyas c4a7849c9d chat screens performance
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-12 07:39:08 +01:00
jakub 4e567cf782 use status-react-jenkins as CI library
This PR extracts all the ci/*.groovy scripts into a separate private repo located at:
https://github.com/status-im/status-react-jenkins

The main reasons for a separate repo are:

* Hiding the internal details of our CI setup
* Hiding names of Jenkins credentials available in CI jobs
* Lowering attack surface for malicious external contributors
* Increasing focus on PRs related to CI setup

You can read more about how Jenkins pipeline shared libraries work here:
https://jenkins.io/doc/book/pipeline/shared-libraries/

In simple terms I've added the repo to the main Jenkins configuration in "Global Pipeline Libraries" section and load it using:

  library 'status-react-jenkins@master'

Which makes globally available all of the libraries defined in the `vars` directory of that repo.
This also eliminates the need for statements like `android = load 'ci/android.groovy'`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-11 19:11:36 +01:00
Gheorghe Pinzaru 826b7df982 Use new keycard flow with animation
Remove screens that are not needed for new flow

Replace keycard flows with new interaction

If card connected start processing on sheet open

Remove outdated pin screens

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>

Do not hide sheet when tag was lost during generating keys

Change cancel action for no-key on card recovery

Change pin screen when loading keys to an initialised card

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-11 17:21:24 +03:00
Roman Volosovskyi cc520a1f27 [#9987] Stop fetching new blocks while app is not active 2020-03-11 09:17:58 +02:00
Andrea Maria Piana c2e195979c Use first-not-visible message instead of last-visible
Using last visible message ignores an edge case:

If we are on top of the list (i.e oldest message), any received message
should be appended (it must be visible).

When using last-visible message for this, a newer message will have <
clock-value, therefore it will be offloaded to the database, which is
not correct.

Instead if we use the first-not-visible message, this should not be a
problem. If we are on top of the list, this will be nil, and therefore
the message will be appended.

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-09 12:21:19 +01:00
jakub 9594bb49e2 drop unused lein deps
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-06 18:26:27 +01:00
Roman Volosovskyi 51c80a8f8e [#9630] Clear keycard's app info before showing login screen 2020-03-06 14:22:34 +02:00
jakub 8b3c7f29b2 fix bundle install by disabling Nix sandbox
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-06 12:36:25 +01:00
Andrey Shovkoplyas 9b1150df29 temporary fix for contacts signal
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-05 13:53:24 +01:00
jakub de53581ef4 nix: don't generate keystore inside of Nix build
changes:
- Stops scripts/generate-keystore.sh runnig for every new TARGET=android shell
- Moves running scripts/generate-keystore.sh to keystore Makefile target
- Makes generate-keystore.sh accept STATUS_RELEASE_STORE_FILE as env variable
- Fixes error about missing lsof from start-react-native.sh
- Fixes error about unknown -keystore command in scripts/generate-keystore.sh
- Fixes getting OS_NAME without calling Nix shell
- Fixes getting TMP_BUILD_NUMBER without calling Nix shell
- Adds lsof used in start-react-native.sh to Android release Nix derivation
- Simplified how nix/scripts/build.sh appends the --keep flag
- Made use of colors.sh in more scripts

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-05 10:56:54 +01:00
jakub efa420def4 disable playstore upload
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-03-05 10:52:19 +01:00
Andrey Shovkoplyas 5f2b29ee52 [#10119] Android app UI is slow after backgorund
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-04 14:56:55 +01:00
Churikova Tetiana 696ebbf67e one accessibility-id for account name input
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-03-04 11:31:32 +01:00
jinhojang6 cfe25b8b45 update Arabic, Spanish, French, Italian, Korean and Chinese
Signed-off-by: Serhy <sergii@status.im>
2020-03-04 11:53:58 +02:00
Gheorghe Pinzaru 6d3ef2282f Redirect to multiaccounts only on explicit logout
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-04 11:53:17 +03:00
Andrey Shovkoplyas 5301d421f2 [#10084] Make commands in chat available on Ropsten for e2e builds
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-03-04 09:49:54 +01:00
Churikova Tetiana 4d0fd4389e access-id + start new chat fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-03-03 16:02:45 +01:00
Serhy f5488e1f61 Update e2e
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-03 14:28:02 +01:00
Andrey Shovkoplyas 0e4c7a23bf [#10089] Override the behaviour of public chat' unread messages indicator 2020-03-03 14:27:55 +01:00
Churikova Tetiana 7b7f567361 e2e for importing accounts
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-03 12:51:44 +01:00
Andrey Shovkoplyas f645d3fbb5 accessibility-labels 2020-03-03 12:51:28 +01:00
Andrey Shovkoplyas a79a72fccb [#9749] Support importing private key and seed 2020-03-03 12:51:28 +01:00
Roman Volosovskyi c9486dc634 [#10115] Trim address/name on adding 1-1 chat 2020-03-02 18:18:23 +02:00
Andrey Shovkoplyas d64ba1b540 [#9789] Add a loading indicator and button to username input of start new chat
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-02 12:35:05 +01:00
Gheorghe Pinzaru 87ce82e10a Allow 2 lines for user name on intro screen
Add max-height to scroll-view

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-01 11:01:53 +03:00
Andrea Maria Piana 6a9eef1c2a Upgrade status-go
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-02-29 14:01:52 +01:00
jakub 8ac20b442e don't use sandbox for Nix Cache builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-29 12:28:40 +01:00
Andrea Maria Piana f9af0825ce upgrade status-go
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-02-28 18:51:12 +01:00
jakub 001264bd1a fix creation of pkg folder for latest.json
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-28 15:07:53 +01:00
Serhy de8d109ba1 Fix balance adress check
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-02-28 11:14:03 +01:00
Gheorghe Pinzaru 3ad9cfa269 Rework bottom-sheet component
Fixes #9848

Update initial content height

Review followup

Fix sheet disappear during drag

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-28 10:46:54 +03:00
jakub 8abea59196 don't use Jenkins master host for combined jobs
This lowers the risk of someone extracting sensitive data from master.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-27 17:58:19 +01:00
Roman Volosovskyi 89535ea8fc Fix geth logs on Android 10
From now on geth logs are stored at
`/storage/emulated/0/Android/data/im.status.ethereum.debug/files/Download/geth.log`
because app cant write to `sdcard/Download/geth.log`
2020-02-27 14:10:05 +02:00
jakub cb78293db7 use Android keystore from Jenkins credentials
This way we don't have to store it on individual CI hosts.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-27 06:54:28 +01:00
Roman Volosovskyi 988a7f6b0c [#10010] Start wallet service for keycard acc 2020-02-26 20:50:34 +02:00
Serhy 490c8f8776 Remove unused translatins
Signed-off-by: Serhy <sergii@status.im>
2020-02-26 20:36:48 +02:00
Vitaliy Vlasov 8c23975ad7 Do not use naked-address when hashing messages prior to Keycard signing
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-02-26 18:56:39 +02:00
Churikova Tetiana a76a4f6878 skipped rest of e2e with deep links and attempt to fix mailserver test
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-02-26 15:12:35 +01:00
Andrea Maria Piana 21ef5a68b8 Add mark all read
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-02-26 13:35:31 +01:00
Gheorghe Pinzaru c9d1adbc27 Add animation for keycard interaction
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-26 14:48:42 +03:00
Vitaliy Vlasov bca946aa78 Add missing keycard event handlers 2020-02-26 12:14:43 +02:00
jakub 1c81d6e190 nix: force sandbox in CI
For more details see:
https://github.com/status-im/security-internal/blob/master/overview/infra.md#continuous-integration-ci

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-26 11:10:19 +01:00
Churikova Tetiana 8d95515480 fix scroll
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-02-26 11:07:52 +01:00
Andrey Shovkoplyas 6e3784d671 [#9886] App shows 'buy' for stickerpack user owns when pressing on sticker in chat
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-26 09:51:33 +01:00
jakub 17e5fc4dd4 fix detecting NixOS, uname can be deceptive
specifically inside of Docker containers

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-25 17:52:23 +01:00
Roman Volosovskyi 999bb9940e Fix leftover after #10073 changes 2020-02-25 15:45:44 +02:00
Churikova Tetiana 9f2e2f9d3e added scroll and disable deep link e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-02-25 13:06:27 +01:00
Gheorghe Pinzaru ff1022f337 Do not change keychain method on auth-bio fail
Do not change auth method if user does not save password

Sanity check - fix only for biometric method

Check for new auth method only when save password

ScrollView Persist taps on login view

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-25 14:27:10 +03:00
Gheorghe Pinzaru f18e7d746b Separate hardwallet events into multiple ns
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-25 14:06:18 +03:00
Roman Volosovskyi 9a713148c7 [#10002] Follow up after #10008
- ensure that `:key-uid` is always added to `app-db` with proper case
- tests which cover multiacc duplication case
2020-02-25 12:27:14 +02:00
jakub e5f7a94ee2 upgrade react-native-status-keycard to 2.5.18
This adds the exportKeyWithPath() method we use in:
src/status_im/hardwallet/card.cljs

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-25 09:59:14 +01:00
Roman Volosovskyi 59184b12d0 [#10012] Show remaining PIN attemts only after entering wrong PIN 2020-02-25 09:37:10 +02:00
Roman Volosovskyi 807c8377d4 Clean up after recent tx history changes:
- unused code is removed
- "load more" button is hidden for a new account
- each next page of tx history contains 20 transfers
  unless thare is no enough transfers in history
2020-02-25 09:27:18 +02:00
jakub 46bd2b2e4c cleanup of shell scripts
Changes:
- Add missing lazy assignment for OS_NAME, fixes double Nix shells
- Moved `scripts/add-nix-gcroots.sh` to `nix/scripts/gcroots.sh`
- Moved Nix package manager setup to `nix/scripts/setup.sh`
- Created `nix/scripts/source.sh` to reuse in all Nix scripts
- Created `STARTING_GUIDE.md` with instructions for contributors
- Created `scripts/colors.sh` for definition of shell colors
- Removed `scripts/setup` in favor of `nix/scripts/setup.sh`
- Removed all of `scripts/lib` since it was useless

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-24 19:31:55 +01:00
tbenr eb1cc65a3d watch only qrcode and already exists check
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-02-24 16:33:21 +01:00
Churikova Tetiana 7485093398 attempt to fix 6225
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-02-24 15:22:32 +01:00
jakub 90bae33689 e2e: fix handling of GitHub token
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-02-24 14:58:09 +01:00
Churikova Tetiana b8c7e44326 fix e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-02-24 12:32:08 +01:00
tbenr 81c4d16f9f componentizied input-search and added in curency and token
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-02-20 11:40:40 +01:00
Gheorghe Pinzaru 40c12241e0 Add bottom sheet to chat top bar options
Add bottom sheet to message long press

Make whole bottom sheet panel dragable

Fixes #9846

Use spring animation for bottom size of bottom sheet

Remove extra border height from bottom sheet

The height is already added to content height

Remove extra set value for animation

Timing and spring already mutates the animation value

Reuse chat bottom sheet in chat list

Update the size of new chat bottom sheet

Add remove to group chat

add chat id for clear history to be reused outside of current chat

Fix public chat bottom sheet missing destructoring

Replace icon for chat fetch history

Could be rotated arrow up, but this requires special handling in icons or list item

Fix remove public chat event

Dismiss keyboard on sheet mount

iOs rename arrow down icon

Fix unusable screen after close of bottom shet

The callback is called after 1.5 seconds after the animation starts. This happens because spring animation takes more time on animating post animation oscillations.

Add accessibility labels

Fix bad message destructoring

add view profile on long message press

Reset bottom value after animation

Remove pending circle from avatar in chat sheets

Do not show open profile on own messages

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-19 14:29:33 +03:00
jakub 8ffbf61b79 e2e-tests: update GitHub token used
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-18 20:50:21 +01:00
jakub 7ff412722d drop eth.beta fleet, it's been decommissioned
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-18 20:49:47 +01:00
Gheorghe Pinzaru 505ef626cc Increase height of recovery word text input
Fixes #9658

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-18 18:00:07 +03:00
Andrea Maria Piana a2af83f034 Add option to enable waku-mode
This commit adds an option to enable waku mode through ENV settings.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-02-17 18:22:50 +01:00
tbenr 705b80ef8f improvement on snackbar by considering login time
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-02-17 15:50:40 +01:00
jakub 3d52d1cb9c jenkins: build() doesn't like mixed arguments
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-14 17:53:02 +01:00
Roman Volosovskyi 965dce053d [#10041] Request token price after adding 2020-02-14 18:32:54 +02:00
Roman Volosovskyi 3f6051c22b [#10044] Responsive new chat input 2020-02-14 17:46:43 +02:00
Andrea Maria Piana b30d002efb Fix malformed file
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-02-14 16:43:10 +01:00
Andrea Maria Piana 4734a4ee04 offload chat messages
This commit does a few things:

1) Messages are offloaded from any chat once we go back from the home.
This allows us to ignore any message that is coming in from a chat we
are not currently focused.
2) After 5 seconds of not-scrolling activity, any received message that
is not currently visible will be offloaded to the database.
3) Similarly received messages that are not visible will be offloaded to
the database directly

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-02-14 15:56:28 +01:00
Serhy d281c560dc Recover same acc twice test
Signed-off-by: Serhy <sergii@status.im>
2020-02-13 16:56:45 +02:00
Volodymyr Kozieiev e6c859dd2d Pending stickers status maintains after app restart
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-02-13 15:02:00 +02:00
krzyzowiec 553f2c0e01 Fixed cryptokitties loading/ordering
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-13 13:45:14 +01:00
jakub dc0d0b59cb re-enable site updates on nightly builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-12 20:55:25 +01:00
jakub 13c7f06317 don't multiply version codes by 1048576, could mess up upgrades
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-12 14:20:00 +01:00
jakub 1ea49a80fc rename get.status.im to join.status.im
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-11 18:09:21 +01:00
Andrey Shovkoplyas c1eb98691c temporary fix for slow chats with long ens names
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-11 11:00:18 +01:00
Andrey Shovkoplyas ff41394d9e back to infura
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-11 10:59:28 +01:00
Gheorghe Pinzaru 0a7dc8fdd2 [#9902] Make Sign out go to Multiaccount overview 'Your keys' screen
Fix e2e tests

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-11 10:34:56 +03:00
Roman Volosovskyi b2a70c8331 Disallow recovering of an existing multiaccount
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-10 15:11:39 +01:00
Andrey Shovkoplyas 481092dd25 [#8797] Error scrollToIndex when tapping [Fetch messages] twice in a row
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-10 14:08:03 +01:00
Andrey Shovkoplyas 671e5f4540 [#10005] Show only 1 line of ens name
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-10 12:12:45 +01:00
Roman Volosovskyi 39ea685adc [#9975] Do not throw exception on invalid ens recipient 2020-02-07 18:43:07 +02:00
Roman Volosovskyi 8a612a3807 [#9975] Trim recipient address before validation 2020-02-07 16:29:57 +02:00
Andrea Maria Piana 3d4ee8fe6a Check for empty public key
We check that ENS does not return an empty public key. In addition to
that validation is done on status-go in order to avoid saving the chat.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-02-07 14:43:54 +01:00
Andrey Shovkoplyas 06025ce26f [#9961] Update glossary view
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-07 13:38:29 +01:00
Andrey Shovkoplyas 25fd297573 fixes ENS to new registry for verification
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-07 10:41:41 +01:00
Dean Eigenmann 7c5decbbfc uses new ENS registry. see: GHSA-8f9f-pc5v-9r5h 2020-02-06 17:02:14 +01:00
Serhy dcfac1c4e2 Fix tests and disable non-relevant
Signed-off-by: Serhy <sergii@status.im>
2020-02-05 21:30:31 +02:00
jakub f9c15be1d4 update-status-go: don't accept SHA1s, accept PR numbers
There was some confusion when given ref/tag did not exist.
Script would just use the value as commit SHA1 even if it was not one.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-05 14:57:35 +01:00
Andrea Maria Piana 27a001b0f0 fix status-go version
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-02-05 11:35:04 +01:00
Andrea Maria Piana b1ec418133 Resolve ENS names in the background
This commits resolves ENS names in the background, implementing retries
and exponential backoff.
All is handled in the background in status-go.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-02-05 11:12:06 +01:00
Andrey Shovkoplyas 76f9703afe update prices for v1
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-04 15:05:14 +01:00
Gheorghe Pinzaru 6ad84f4232 Update your keys screen
Fixes #9782

Change theme of new key action

Update translations

Fix e2e tests

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-04 13:51:29 +03:00
Roman Volosovskyi ef49699222 [#9942] Upgradable paths in configs
Storing absolute path for different configs breaks compatibility on iOS
as app's dir is changed after upgrade. The solution is to store relative
paths and to concatenate it with `backend.rootDataDir`. The only
exception is `LogFile` as it is stored outside `backend.rootDataDir` on
Android. `LogDir` config was added to allow adding of custom dir for log
file.
Configs concerned:
`DataDir`
`LogDir`
`LogFile`
`KeystoreDir`
`BackupDisabledDataDir`
2020-02-03 20:34:40 +02:00
Andrey Shovkoplyas e0bafb842e load more ui fix
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-03 16:38:35 +01:00
Andrey Shovkoplyas 6e9292c1e1 remove event duplication
Signed-off-by: yenda <eric@status.im>
2020-02-03 13:22:24 +01:00
Andrey Shovkoplyas c1245d7b1d [#9954] Add 'view profile' to message long tap
Signed-off-by: yenda <eric@status.im>
2020-02-03 09:47:17 +01:00
Gheorghe Pinzaru 785f829554 Git ignore trace.edn and config.cljs
They are auto generated and should not be present in git

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-31 17:02:09 +03:00
Gheorghe Pinzaru 47732e7b5b Remove contact indicator from userpic
Add contact indicator in 1:1 as a text. Fixes #9826

Fix e2e

explicitly define line height

On android and iOs line height is different, explicitly define so it will be the same in both platforms.

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-31 14:58:10 +03:00
yenda b2feca723c fix hardcoded value in spanish translation
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-30 19:20:08 +01:00
yenda cc3ae6c693 fix #9903 hide buttons of actions that are not yet implemented
fix ens release button which showed a hardcoded date
link to release instructions on hackmd

Signed-off-by: yenda <eric@status.im>
2020-01-30 18:49:47 +01:00
Roman Volosovskyi b41df2f2fc [#9927] Fast blocks sync after being offline
Front end changes:
 As there is no guarantee that `newblock` event will be dispatched
consequently (e.g. if there was a delay after block#1 the next event
might be dispatched for a block#2000, no guarantee that block#2 will be
the next one), `newTransactions` field was added with a map of accounts
to the number of new transactions received to this block. In result if
there are new transactions we request them all of db instead of fetching
them on for the block specified in `newblock` event, as it was done
previously.

Back end changes:
- In order to avoid handling of the reorganized blocks we use an offset
from the latest known block when start listening to new blocks. Before
this commit the offset was 15 blocks for all networks. This offset is
too big for mainnet and causes noticeable delay of marking a transfer as
confirmed in Status (comparing to etherscan). So it was changed to be 5
blocks on mainnet and is still 15 blocks on other networks.
- Also before this commit all new blocks were handled one by one with
network specific interval (10s for mainnet), which means that in case of
lost internet connection or application suspension (happens on iOS)
receiving of new blocks would be paused and then resumed with the same
"speed" - 1 blocks per 10s. In case if that pause is big enough the
application would never catch up with the latest block in the network,
and this also causes the state of transfers to be delayed in the
application. In this commit in case if there was more than 40s delay
after receiving of the previous block the whole history in range between
the previous received block and ("latest"-reorgeSafetyDepth) block is
checked at once and app catches up with a recent state of the chain.
2020-01-30 19:40:19 +02:00
Jinho Jang 58afae07ba update Italian, Arabic, Spanish(LatAm), Chinese and Korean
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-30 11:30:14 +01:00
Andrea Maria Piana 6ff878c836 Explicitly start messenger
We should only start receiving messages/processing topics once all the
initializiation is completed, so an endpoint that start the messenger
has been added.
Before we would initialize the topics/receiving messages at the same time,
which resulted in a race condition where a topic was signaled from
status-go and was considered new just because was not loaded yet.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-01-29 21:17:32 +01:00
jakub 128f44f58b fastlane: disable oldest_build_allowed for TestFlight clean
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-29 15:58:17 +01:00
Serhy 9fb513cea0 Disable editprofile tests
Signed-off-by: Serhy <sergii@status.im>
2020-01-29 11:53:31 +02:00
Andrea Maria Piana a64eb79065 Correctly dispatch on updates & disable them
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-01-28 15:43:18 +01:00
Roman Volosovskyi 9dfb908678 [#9280] Make sure number-of-retries is not negative 2020-01-28 16:24:24 +02:00
Gheorghe Pinzaru 028543aa31 Support universal link for ens name
Handle ens-name in qr reader

If user has an username generate link with it

Ensure no infinite recursion happens on qr scan event

Fix test for custom profile ens-name

Fix QR code read for ens-name

Extra check for ens name in QR code

Do not open unknown profile for bad ens name

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-28 15:21:11 +03:00
yenda 60af04ff06 add Augur token (REP) images
Signed-off-by: yenda <eric@status.im>
2020-01-27 17:29:19 +01:00
Serhy 5203fc6fd8 Fix e2e after removed custom pic
Signed-off-by: Serhy <sergii@status.im>
2020-01-27 14:05:15 +02:00
Andrea Maria Piana 238b559981 [Fixes: #9900] Use component-did-update
When moving from chat to chat, component-did-mount is not fired as the
component is never unmounted, therefore messages were not loaded.
This changes the behavior to use the component-did-update lifecycle
method.

Signed-off-by: yenda <eric@status.im>
2020-01-27 11:56:54 +01:00
yenda 33abdf559a disable custom picture
Signed-off-by: yenda <eric@status.im>
2020-01-27 11:55:46 +01:00
Gheorghe Pinzaru 14242a7877 Use default keyboard for username input
Signed-off-by: yenda <eric@status.im>
2020-01-27 11:54:32 +01:00
yenda 81d2c35f4d [9853] add missing translatable labels
Signed-off-by: yenda <eric@status.im>
2020-01-27 11:53:32 +01:00
Andrea Maria Piana a8c39370d5 Fire request once network status changes & periodically check connection
This commit fixes a couple of issues.

The first one is that when we go from offline->cellular-network->wifi
historical requests were not triggered (only when going from
offline->online, but if they are disabled in cellular network they won't
fire).

The second is due to the fact that it is possible that the connection
status gets into a bad state, (this happens for example if get-latency
returns all errors, but we are online, and it won't be retried), and no
connection attempt is made anymore.

I have changed the logic to periodically check the connection state, and
try to connect if too much time has passed since last error (10s),
similarly to what we did before, but in a tick, so we are less reliant
on having the right state in the db.

Signed-off-by: yenda <eric@status.im>
2020-01-27 11:52:34 +01:00
Roman Volosovskyi ea02f8e3cf [#9280] Add retries on error when fetching balances 2020-01-24 18:26:33 +02:00
jakub 5a64745fce nix: throw error if 'make nix-purge' is called on NixOS
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-24 17:07:09 +01:00
Roman Volosovskyi 30545f77d2 Add a screen for debugging blocks lag 2020-01-24 16:58:20 +02:00
hesterbruikman 19f92413de Update copy Choose key storage
Error with previous update:

Intro-wizard-3 (OLD): Own a Keycard? Store your keys on it; you'll need it for transactions
Intro-wizard-3 (NEW): If you own a Keycard, store your keys there for enhanced security.

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-01-24 15:05:19 +01:00
jakub c91fe5fa82 ci: use full timestamp for iOS CFBundleVersion
And we have to trim the one used for Android.
For more details see:
>Warning: The greatest value Google Play allows for versionCode is 2100000000.
https://developer.android.com/studio/publish/versioning

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-23 19:42:19 +01:00
Gheorghe Pinzaru e3f6e3e639 Remove react/modal view from android navigation
Fixes #9884 React modal is drawn above the app (maximum z-index) while the bottom sheet and popover are part of the app. https://facebook.github.io/react-native/docs/modal.html documentation also suggest to not use modal in that case cause we lose some control over navigation. Now modal are handled by navigation and we can draw our popover and bottom sheet on bigger z-index and  better control what should be on the top.

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-01-23 13:57:57 +01:00
Pedro Pombeiro 621e7803a3 Add back missing arm status-go target
Signed-off-by: Pedro Pombeiro <noreply@pedro.pombei.ro>
2020-01-23 13:52:52 +01:00
Roman Volosovskyi 161042066d [#9203] Transfers fetching with less requests
- all messages are not shown right away, in order to paginate history
  a user has to press "load more" button
- added link to etherscan before transfers list
- there is a new "fetch more" button at the end of the list
- rest of changes can be found here status-im/status-go#1775
2020-01-23 14:41:16 +02:00
Gheorghe Pinzaru bddf3fa341 Remove outdated assets
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-23 13:54:11 +03:00
Andrea Maria Piana ee613276b7 Fix ens names & contacts
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-01-23 11:32:21 +01:00
jakub 0c93451188 fastlane: upgrade fastlane-plugin-diawi to 1.4.0
before we used the same version but from our own fork

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-23 10:06:56 +01:00
jakub 171ca13db2 status-go: upgrade 0.39.8 > 0.39.10
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-23 10:06:36 +01:00
jakub c9e7d811ed nix: fix Gradle download links by using https
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-22 19:46:28 +01:00
jakub c3f3ca3e12 nix: upgrade nixpkgs ot bump Android NDK to 21.0.6113669
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-22 19:46:20 +01:00
Andrey Shovkoplyas 6334268757 remove chaos mode checking
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-22 17:08:45 +01:00
Volodymyr Kozieiev 0106f6efcd Bug reporting fixed. Added notification about not configured mail client
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-01-22 17:35:14 +02:00
Gheorghe Pinzaru 6d666a07fe Revert "Add animated onboarding videos"
This reverts commit 59140d971f.

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-22 16:53:54 +03:00
Pedro Pombeiro aaa51a9a36 Fix the way STATUS_GO_ENABLE_NIMBUS is read in cljs
Signed-off-by: yenda <eric@status.im>
2020-01-22 08:45:26 +01:00
yenda 0aa0d144a4 fix mailserver config in dev
Signed-off-by: yenda <eric@status.im>
2020-01-22 08:27:42 +01:00
jakub a02a0429c3 fastlane: use our fork of fastlane-plugin-diawi
With it we can set last_hope_attempts_backoff to 5 seconds.
This should fix issues with upload wait timing out.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-21 21:18:16 +01:00
André Medeiros b93ebdc752 fix: remove ipad support (#9870)
We don't design for iPad specifically, so we can't claim the app
supports those screens.
2020-01-21 12:03:18 -05:00
Churikova Tetiana d5e2ed4475 align e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-01-21 15:21:52 +01:00
Andrey Shovkoplyas c48fa9fb03 transparent modals
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-21 15:06:51 +01:00
jakub c348337150 ci: fix GitHub upload by not changing dir when uploading
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-21 14:02:44 +01:00
yenda b99e54c2cd disable local notifications for release
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-21 12:31:42 +01:00
Pedro Pombeiro b316fec885 Rebase Android branch in Nimbus
Signed-off-by: Pedro Pombeiro <noreply@pedro.pombei.ro>
2020-01-21 12:11:21 +01:00
jakub 72823c2c3e ci: use Diawi URL for iOS only if it's set
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-21 10:25:41 +01:00
jakub 5e6ab5d0d9 ci: fix GitHub release by using glob for all files
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-21 09:02:02 +01:00
Pedro Pombeiro 2dce0ba861 Integrate status-go Nimbus build
Signed-off-by: Pedro Pombeiro <noreply@pedro.pombei.ro>
2020-01-21 08:48:04 +01:00
jakub 08247391ad disable waiting for iOS build processing on upload
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-20 23:27:18 +01:00
yenda db74e0431c make send commands work directly with ens names
Signed-off-by: yenda <eric@status.im>
2020-01-20 18:10:55 +01:00
jinhojang6 97560d3dfe update Russian, Chinese and Korean translations
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-01-20 17:48:37 +01:00
Pedro Pombeiro 23036917ce Remove PombeirP from maintainer lists
Signed-off-by: Pedro Pombeiro <noreply@pedro.pombei.ro>
2020-01-20 13:33:47 +01:00
Volodymyr Kozieiev f3df8b2ec8 new searchbar design
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-01-20 12:11:58 +02:00
Gheorghe Pinzaru fb9ea6529f UI corrections is stickers panel
This adds a feel that it is opened already on the desired index

Add input margin only when there's no bottom shet

Use the right height for sticker panel

Use the stickers panel height in extensions panel

Fix indentation on stickers view

Remove extra margin on stickers indicator

Use custom panel height on android

Rename chat panel height subscription

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-19 16:30:00 +03:00
Gheorghe Pinzaru 93f8866f8d Remove legacy tab-bar keyboard listener
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-19 16:26:57 +03:00
jakub 23708f1487 ci: don't use pure shell for Play Store upload
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-17 18:21:53 +01:00
jakub b31bebdbd9 nix: Upgrade 2.3.1 > 2.3.2
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-17 18:21:39 +01:00
Andrey Shovkoplyas 2896831b9d [#9759] App freezes if tap on digital keyboard after "Cancel" on Send Transaction screen
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-17 18:03:03 +01:00
Andrea Maria Piana 53d0cb519c Fix ens names & group chat add-members
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-01-17 13:43:19 +01:00
Serhy 280063b687 pdate e2e and fleet in e2e env
Signed-off-by: Serhy <sergii@status.im>
2020-01-17 11:32:28 +02:00
Gheorghe Pinzaru e088a61247 Fix android clipped elevation
Added some air on every card and unified common style

Increase elevation size

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-17 11:52:57 +03:00
Gheorghe Pinzaru 59140d971f Add animated onboarding videos
Add animated assets on intro screens

Add component for video on home view

Did not use it for now - as the asset for that video is broken

Do not justify center videos in intro

Update video assets for home view

fix generate-nix.sh script for maven deps

Signed-off-by: Jakub Sokołowski <jakub@status.im>

add missing android-scalablevideoview dependency

Signed-off-by: Jakub Sokołowski <jakub@status.im>

Fix center position of videos in onboarding

Use image for sample key in android

Because during animation transition in creates a black background

Add play when inactive for ios

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-17 10:25:08 +03:00
Pedro Pombeiro a22bd83a27 Add Groovy files to VS Code file associations
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2020-01-16 17:16:55 +01:00
jakub fd33094387 nix: bump stalled-download-timeout to 10 minutes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-16 13:31:58 +01:00
yenda 5ab4762a07 update status-go to fix empty-account bug
Signed-off-by: yenda <eric@status.im>
2020-01-15 22:58:18 +01:00
Andrea Maria Piana 5da861d91f remove transit
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-01-15 17:26:42 +01:00
tbenr 0ed19efbb3 fixes #9288
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-01-15 16:47:32 +01:00
Churikova Tetiana cecb22a89b removed check about set picture after pairing due to e2e build issue
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-01-15 16:46:23 +01:00
Gheorghe Pinzaru f34a7bc3f1 Restyle chat messages
Update the rounded corners on all messages

Update paddings and margin for message author

Move timestamp 3pt from bottom

Fix miss-placed padding in message author name

Add margin between emoji and timestamp

Change reply icon

Decrese font size of emoji message

Remove extra space in style map

Remove extra margin between author and message

Replace reply icon with glymph

Update Inter font to support new glyphs

Update paddings for reply author

Update timestamp padding from bottom

Added line-height explicitly to support it cross platform. Otherwise android and ios use different size.

Remove margin right space on usernames

Remove hardcoded width of messages

Use same line-height for all types of names

Add background to emoji

Bug in RN emoji cropped on smaller line-height https://github.com/facebook/react-native/issues/18559

Fix reply on user with ens name

Fix message margin top should be always 4

Add minimal fix for ui in ens name screen

Remove extra computations for timestamp position

Update e2e test

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-15 12:56:53 +03:00
Gheorghe Pinzaru f0ffe79a4a Add glossary view
Fix misspelled wallet

Change glossary position in help center

Fix wrong padding on the view

Make letter transition more smooth

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-15 12:48:00 +03:00
Andrea Maria Piana b2fd81fc76 Contact updates & pairing in status-go
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-01-15 09:46:17 +01:00
yenda b0727ff1a9 fix password confirmation when restoring account
Signed-off-by: yenda <eric@status.im>
2020-01-14 22:26:13 +01:00
Andrey Shovkoplyas 2c56d70929 [#9820] Tap on ENS name in public chats of other users shows own ENS name
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-14 18:01:41 +01:00
jakub b402dc9c62 upgrade XCode to 11.3.1
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-14 17:23:19 +01:00
Pedro Pombeiro a323480ef0 Update podfile.lock
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2020-01-14 15:17:08 +01:00
Pedro Pombeiro d62cda4d66 nix: Add support for reading .env feature flags 2020-01-14 15:16:30 +01:00
Andrey Shovkoplyas 4583c95cf2 fix back button on account generation
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-14 14:27:50 +01:00
Andre Medeiros fabbfc38f8 fix: deserialize custom bootnodes settings correctly
Signed-off-by: yenda <eric@status.im>
2020-01-14 10:31:09 +01:00
Serhy 7f0cfc0c69 Enable test checking tooltips
Signed-off-by: Serhy <sergii@status.im>
2020-01-13 18:18:50 +02:00
Andrey Shovkoplyas 6982414af8 [#9666] Missing translations on "Lock app with fingerprint", "Save with password" popups
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-13 15:37:31 +01:00
jakub 6a90d76c98 fix edge case where PR e2e builds are not rebased
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-13 13:55:44 +01:00
jakub ee52ceffa3 add new eth.prod fleet to configuration
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-12 14:05:08 +01:00
jinhojang6 5b624f30b6 update Korean and Chinese
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-12 14:04:36 +01:00
yenda 84828891a0 Add chat commands
Signed-off-by: yenda <eric@status.im>
2020-01-10 20:13:19 +01:00
Pedro Pombeiro e220ecbb0a Cleanup
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2020-01-10 19:59:54 +01:00
yenda f36efbc24b fix stickers persistence
Signed-off-by: yenda <eric@status.im>
2020-01-10 17:25:17 +01:00
yenda bdcb34ffab normalize token addresses
Signed-off-by: yenda <eric@status.im>
2020-01-10 16:40:23 +01:00
yenda 1cac8f1161 fix pending transactions
Signed-off-by: yenda <eric@status.im>
2020-01-10 16:39:49 +01:00
yenda 48d3087f81 fix 9792
Signed-off-by: yenda <eric@status.im>
2020-01-10 16:39:06 +01:00
yenda 73f8b4692e fix #9758
Signed-off-by: yenda <eric@status.im>
2020-01-10 16:38:23 +01:00
Gheorghe Pinzaru dd52eb1766 Fix accounts clipped on the wallet screen
Fixes #9767

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-09 18:22:33 +03:00
Churikova Tetiana b81f92bf43 changed translation for OK got it
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-01-09 14:38:40 +01:00
Rachel Hamlin 9c160720a0 fix awkward caps
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-08 18:55:55 +01:00
Serhy 13dfc544df add config for e2e tooltip events
Signed-off-by: Serhy <sergii@status.im>
2020-01-08 19:37:23 +02:00
Churikova Tetiana 9ad4939563 2 new browser tests
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-01-08 17:09:50 +01:00
jakub 8d85995b33 upgrade fastlane: 2.133.0 > 2.139.0
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-08 16:22:55 +01:00
acolytec3 4ecfb15934 Update invalid seed phrase copy
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-08 16:16:43 +01:00
Andrey Shovkoplyas 87c1b077e2 [#9766] Disable group chats for v1
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-08 14:26:37 +01:00
Serhy 22cec68582 Fix translation
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-01-08 14:05:00 +01:00
Churikova Tetiana 352690588e Remove duplicating button 2020-01-08 14:04:41 +01:00
tbenr baeeb135b9 fixes #9592
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-08 13:04:16 +01:00
Gheorghe Pinzaru 8cf1fb3da3 Align toggle in Mail Server settings
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-08 10:35:09 +03:00
Gheorghe Pinzaru 4d5648d88a Correct assets for recent stickers panel
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-07 18:13:51 +03:00
Churikova Tetiana ae13cd0ad9 Align e2e with new translations
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-01-07 13:38:18 +01:00
acolytec3 7f10fe9ae4 Add lint-fix target for simple style fixes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-07 09:03:59 +01:00
Gheorghe Pinzaru cb081f6d96 Change safe-area from position to padding
Makes the view stretch to the size of safe area instead of moving it from bottom. Fixes transparent background on navigation animation iPhoneX.  Fixes #9695

Do not set cover bg on android

Signed-off-by: yenda <eric@status.im>
2020-01-06 16:29:48 +01:00
Artur Zabeyvorota 83b738ee02 [#9700] toolbar-title-container minor css fix
Signed-off-by: yenda <eric@status.im>
2020-01-06 16:28:11 +01:00
hesterbruikman d700a25578 v1 Copy Changes - Round 1
Signed-off-by: yenda <eric@status.im>
2020-01-06 16:12:58 +01:00
acolytec3 3bcf7ecf29 Add BIP39 validation for seed phrase recovery
Signed-off-by: yenda <eric@status.im>
2020-01-06 16:02:14 +01:00
hesterbruikman b93e6d8d78 v1 Copy Changes - Onboarding Carousel #9693
- Intro-title1, intro-text1/2/3

Signed-off-by: yenda <eric@status.im>
2020-01-06 11:23:34 +01:00
Gheorghe Pinzaru 1fd59bb61e Center align to "+ Add contact" touchable
Fixes #9696

Signed-off-by: yenda <eric@status.im>
2020-01-06 11:21:37 +01:00
Churikova Tetiana 1caec28d03 review TODO
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-01-03 23:20:59 +01:00
Serhy 1956671e7d Seedphrase validation in e2e and fixes
Signed-off-by: Serhy <sergii@status.im>
2020-01-03 19:36:42 +02:00
yenda bf16116acd move multiaccount settings to a table
integrate status-go changes to move multiaccount settings to a table
that can be migrated

Signed-off-by: yenda <eric@status.im>
2020-01-02 18:07:10 +01:00
Gheorghe Pinzaru c3f7f78d34 Change position of badge as per design spec
Move tabbar notification badge position to left and bottom. closes #9436

Update badge font weight as per spec

All badges in the specification are Medium (500) weight

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-02 18:04:41 +01:00
Pedro Pombeiro 43c6d7d6c7 nix: Update Gradle sources
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-12-31 15:29:54 +01:00
Pedro Pombeiro 1465f39f5c Revert "Temporarily drop status-keycard-java dep update to 3.0.1"
This reverts commit 67efface4b.
2019-12-31 12:39:51 +01:00
Vitaliy Vlasov 67efface4b Temporarily drop status-keycard-java dep update to 3.0.1
Signed-off-by: yenda <eric@status.im>
2019-12-31 01:44:10 +01:00
Andrey Shovkoplyas a43ad0291d [#9493] No SNT by default after multiaccount creation / restoring
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-30 17:35:42 +01:00
Andrey Shovkoplyas 5501d20450 [#9723] No 'Apply' button appears when updating "Wallet"-> "Account"-> "Account settings"
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-30 14:25:59 +01:00
Andrey Shovkoplyas c66e848255 [#9724] Status is not usable after relogin if add watch-only account that matches address of one of the created accounts
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-30 10:44:31 +01:00
Vitaliy Vlasov acaea38551 Add pin screen for new wallet accounts for Keycard
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-12-27 19:12:08 +02:00
Serhy 4096487637 Test reply to messages in chats
Signed-off-by: Serhy <sergii@status.im>
2019-12-27 18:20:55 +02:00
Churikova Tetiana ff268dd5c0 extend e2e about mailservers
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-12-27 16:05:55 +01:00
Andrey Shovkoplyas b98578ef9d [#9709] Empty gas when transacting leads to bug
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-12-27 16:03:15 +01:00
Serhy d8db958319 Fix alert dismiss if it appears
Signed-off-by: Serhy <sergii@status.im>
2019-12-26 14:20:35 +02:00
acolytec3 8eed77a82a Remove balances for deleted watch account
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-12-26 13:08:46 +01:00
Churikova Tetiana 4fe49568f7 added checks for contact list
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-12-26 13:06:10 +01:00
Serhy 0fa6ae589b v1 Copy Changes - Key Generation, Storage
Signed-off-by: Serhy <sergii@status.im>
2019-12-21 18:06:29 +02:00
Churikova Tetiana 1d0ab4052d Watch-only test and additional waiting when signing transaction
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-12-20 18:53:31 +01:00
Andrey Shovkoplyas f90fe2f04d topbar. first iteration
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-20 15:47:04 +01:00
yenda a72d4c7d85 integrate status-go fix for keycard accounts
Signed-off-by: yenda <eric@status.im>
2019-12-19 21:32:10 +01:00
Churikova Tetiana 8578c317d6 removed show_ens_in_chats toggle from e2e
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-19 13:49:37 +01:00
Andrey Shovkoplyas 5f28dc0a52 show ens name by default 2019-12-19 13:49:30 +01:00
Serhy 1a61ae4b73 Fix e2e update Dapps tp Browser
Signed-off-by: Serhy <sergii@status.im>
2019-12-19 12:32:27 +02:00
jinho jang 333a82a5b2 update Arabic, French, Italian, Korean and Chinese translations
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-19 10:35:56 +01:00
Andrey Shovkoplyas a78ad04701 fix zh json 2019-12-19 10:35:47 +01:00
Andrey Shovkoplyas 666880b6ad added support for :zh translation 2019-12-19 10:35:47 +01:00
Churikova Tetiana 3b6c6972d3 additional check for stateous user without domain
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-18 17:50:19 +01:00
Andrey Shovkoplyas b1170179cd stateofus ens name in wallet 2019-12-18 17:50:08 +01:00
Andrey Shovkoplyas 612a11fef8 remove desktop ui
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-18 17:22:13 +01:00
Maciej Zadykowicz 768e15a08e swap icon, rename translation, tab icon
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-18 17:20:47 +01:00
Serhy df232889f4 Update e2e
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-18 16:18:08 +01:00
Andrey Shovkoplyas 3e19f929e9 show ens name for chats created using ens name 2019-12-18 12:07:08 +01:00
yenda a21454039b do not store mnemonic on recovered accounts
Signed-off-by: yenda <eric@status.im>
2019-12-17 18:33:42 +01:00
Volodymyr Kozieiev 5c7dc2edc7 Searchbar show\hide fixed
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2019-12-17 18:56:30 +02:00
Churikova Tetiana bdbbcbb1da modified switch_network
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-17 11:03:45 +01:00
Andrey Shovkoplyas b84139013a hide dev mode setting 2019-12-17 11:03:31 +01:00
yenda 2c3e831a03 use accounts rpc endpoints
Accounts were previously stored within the multiaccount `setting`
serialized in transit

This moves [:multiaccount :accounts] to `:multiaccount/accounts` and uses
the `getAccounts`, `saveAccounts` and `deleteAccounts` endpoints.

Signed-off-by: yenda <eric@status.im>
2019-12-17 10:33:46 +01:00
Andrey Shovkoplyas c84c44fe3b [#9636] Remove chat menu item and toggle app switching privacy on by default
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-13 14:46:54 +01:00
Andrey Shovkoplyas 829e41d319 [#9649] Add "Send" button and a QR icon on the wallet screen
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-13 13:49:56 +01:00
jakub 713850fcb4 fix failure due to superfluous slashes in path
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-13 13:05:00 +01:00
jakub aca703a011 major nix refactor
Changes:
- Adds a new `nix-gc` Makefile target for removing old packages
- Moves all `nix/*.sh` files to `nix/scripts/*.sh` to make things more tidy
- Renames `TARGET_OS` into `TARGET` and makes it effective only with `nix/scripts/shell.sh`
- Renames `target-os` Nix argument to just `target` and makes it effective only with `shell.nix`
- Drops `IN_CI_ENVIRONMENT` env variable which was useless
- Drops use of `target-os` argument outside of `shell.nix` (with few exceptions, but just in naming)
- `nix/platform.nix` has been made obsolete and removed
- Moves the definition of all major targets to `nix/targets.nix`
- Moves the definition of all major shells to `nix/shells.nix`
- Makes `default.nix` and `shell.nix` just thin wrappers around `nix/default.nix`
- `nix/nixpkgs-bootstrap.nix` has been moved to `nix/pkgs.nix`
- All package and tool overrides have been moved to `nix/pkgs.nix`
- Explicit passing of contents of `pkgs` has been removed in favor of `callPackage` doing it for us
- `nix/bootstrapped-shell.nix` has been moved to `nix/tools/mkShell.nix`
- A new `mergeSh` tool has been added to `pkgs` from `nix/tools/mergeSh.nix`
  - This tool is used to merge shells created using `mkShell`
- `mobile/targets/jsbundle.nix` has been moved to `mobile/android/jsbundle/default.nix`
- Moves `status-go` version sanitization to `nix/status-go/utils.nix`
- Renames version to rawVersion and versionName to cleanVersion in status-go derivation
- Ports nix/mobile/ios/install-pods-and-status-go.sh to Nix sub-shells
- Moves adjustment of `inotify/max_user_watches` out into `scripts/inotify_fix.sh`
- Makes iOS builds use the Nix version of Fastlane

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-12 18:51:21 +01:00
Andrey Shovkoplyas b471f53cb3 [#9583] Overlapping with system bar on "Send transaction" screen (LG phones)
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-12 18:29:54 +01:00
yenda 6a800b211d move custom tokens to a separate table
Signed-off-by: yenda <eric@status.im>
2019-12-12 14:00:01 +01:00
yenda 0e25aa2f2a remove overwritten events and subs
Signed-off-by: yenda <eric@status.im>
2019-12-12 13:59:25 +01:00
Roman Volosovskyi ecb71645c2 [#9596] Fix biometric auth popover styles 2019-12-12 14:47:47 +02:00
acolytec3 31f7b09a7b Refresh token balances after adding custom token
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-12 12:24:42 +01:00
Roman Volosovskyi 3b65fddb2f [#9620] Generate name and photo during keycard acc creation 2019-12-11 19:41:53 +02:00
Andrey Shovkoplyas e7f01c42a7 [#9625] Placeholders "Enter ENS username" and "Create a topic" are cut on Android
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-11 16:38:03 +01:00
Andrey Shovkoplyas dfb3168fe5 fix new account password
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-11 16:37:01 +01:00
Churikova Tetiana 5da40ca412 removed web allow permissions test
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-11 16:34:37 +01:00
Andrey Shovkoplyas e7122dc86a [#9575] Make sure status supports EIP 1102 and EIP 1193 2019-12-11 16:17:52 +01:00
Roman Volosovskyi beed1a60ee [#9573] Fix some password saving bugs 2019-12-11 12:15:25 +02:00
Churikova Tetiana 4a40b6f033 add junitxml report back
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-10 19:48:36 +01:00
yenda 4fa275bb05 fix 9597 mailserver when login offline
Signed-off-by: yenda <eric@status.im>
2019-12-10 17:50:47 +01:00
Andrea Maria Piana 54cf783d5b Move group chats to status-go
This commit completely remove transit for group chats. All the
processing is now done in status-go.
Also introuduces parsing and handling of mentions, needed so that system
messages can be easily built in status-go.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-12-10 16:18:26 +01:00
jakub 4a1842285f disable dependabot for desktop js modules
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-10 13:54:09 +01:00
Churikova Tetiana 53523430cc Formatted text in 'From' field
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-12-09 17:19:32 +01:00
Roman Volosovskyi 91b931c3b4 Replace address with keyUid in accounts db
Account's address was used as a primary key in accounts db and as a
deterministic id of an account in some API calls. Also it was used as a
part of the name of the account specific database. This revealed some
extra information about the account and wasn't necessary.
At first the hash of the address was planned to be used as a
deterministic id, but we already have a keyUid which is calculated as
sha256 hash of account's public key and has similar properties:
- it is deterministic
- doesn't reveal accounts public key or address in plain
2019-12-09 11:57:44 +02:00
Volodymyr Kozieiev c0762e7594 Update react-native-gesture-handler version
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2019-12-09 11:48:50 +02:00
Churikova Tetiana 9abb1ef488 another tiny fixes to e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-12-06 16:50:17 +01:00
Volodymyr Kozieiev 7168eada1c Calls to gfycat and identicon made async in few places
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2019-12-06 17:42:36 +02:00
Pedro Pombeiro 0cca662380 Fix builds with local status-go override
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-12-06 11:28:15 +01:00
Churikova Tetiana 21d24e7eef waiting for allow_button until checking absense
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-12-06 10:57:38 +01:00
Roman Volosovskyi 5ccf1c0377 [#9577] Fix keycard account creation after card reconnection
`:on-card-read` callback wasn't properly cleared before entering pin.
2019-12-05 19:02:40 +02:00
Andrea Maria Piana 78d694f52f Move message processing to status-go and introduce protobuf
This commit moves all the processing of messages to status-go.

Messages are going arrive to status-react already saved an processed.

Receiving/sending/retrieving from db is now using the same identical
structure. The only processing left in status-react is to mark the
messages as seen and update the unviewed count locally (only
status-react knows whether the count should be updated).

Partially remove commands as well as won't be used anymore.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-12-05 17:30:30 +01:00
Roman Volosovskyi bee7804fd0 Suppress lifecycle warnings after RN upgrade 2019-12-05 15:59:10 +02:00
Serhy 0b2490d20e Fix wallet tests
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-12-05 11:14:46 +01:00
jakub e8150d7187 small fix for TR_CASE_IDS parameter
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-05 11:00:40 +01:00
acolytec3 2fda266f07 Add ENS name resolution to EIP681 support
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-05 10:48:05 +01:00
jakub 72dfb5189e upgrade Xcode: 11.1 > 11.2.1
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-04 17:45:22 +01:00
jakub d6d33aceb0 add fastlane to ios shell
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-04 17:44:43 +01:00
jakub e8b4ed4ca8 fixes for RN upgrade
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-04 17:10:14 +01:00
Roman Volosovskyi da6542e8ef [#9494] Don't show "Your key recovered" screen on account creation 2019-12-04 15:36:52 +02:00
Roman Volosovskyi 6db7495423 Fix keycard account unlocking on disabled bioauth
This commit fixes the case when biometric auth was disabled on the
device after being enabled for a keycard account.
2019-12-04 12:17:07 +02:00
Andrey Shovkoplyas a2f64bd544 delete watch-only account
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-04 10:35:12 +01:00
Andrey Shovkoplyas 4bffdede81 [#8585] Add watch only account 2019-12-04 10:34:58 +01:00
Roman Volosovskyi 15d9e7be86 Fix recovery with seed after visiting keycard recovery 2019-12-04 11:21:15 +02:00
Roman Volosovskyi 4d3c622947 [#9470] Fix status bar in dark mode (iOS) 2019-12-04 08:54:54 +02:00
Roman Volosovskyi 907b35cedd Migrate to RN 0.61.5
This change allows to fix status bar on iOS in dark mode #9470
2019-12-04 08:52:02 +02:00
jakub f30f0ed139 add optional TR_CASE_IDS argument to e2e PR tests
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-03 22:39:32 +01:00
yenda 94c7953f30 remove commands before replacement by gui commands
Signed-off-by: yenda <eric@status.im>
2019-12-03 15:07:56 +01:00
Serhy 0b802ec456 Update e2e test to expect changes
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-03 13:10:56 +01:00
Andrey Shovkoplyas 935029aef0 [#9542] Make "Sync over mobile network" modal even less annoying 2019-12-03 13:07:27 +01:00
Andrey Shovkoplyas 6facfe3938 [#9550] Improve stickers usage experience
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-03 11:15:45 +01:00
Andrea Maria Piana 7bf626c3a3 [Fixes #9510] Fix timestamp placement for text elements
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-12-03 07:14:59 +01:00
Roman Volosovskyi 5bb6997d1d [#9354] Unlock keycard account without a card
To make it work `encryption-public-key` and `whisper-private-key` are
stored on the devices when a user chooses this option. The former key is
used for multiaccount's database encryption, the latter is needed for a
messaging. In case if a user wants to sign a transaction the card is
still needed, we don't store wallet's keys on the device.

Other things were fixed/added:
- A user can enable biometric auth for a regular account when chooses
  to save the password on the device (if biometric auth is available).
  This is done for feature parity between keycard and "on device"
  accounts.
- The option to create/restore an account on a keycard is not shown on
  the devices which do not support NFC. Currently, the app just crashes
  if the user continues a flow which is not supported by the device.
2019-12-02 19:25:05 +02:00
Roman Volosovskyi cd0486227d [#9470] ignore dark mode on iOS
Status bar still has to be fixed
2019-12-02 19:13:21 +02:00
Andrey Shovkoplyas 67f64f3816 handle only last resolve , chill button
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-02 15:30:31 +01:00
Andrey Shovkoplyas 831f7f05f3 [#9213] ENS addr is checked instead of owner 2019-12-02 13:01:24 +01:00
jakub d930c51dfa use regular CI linux hosts for end-to-end tests
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Serhy <sergii@status.im>
2019-12-02 13:04:39 +02:00
Serhy 577e699405 Upgrade to pytest 5.3.1
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-02 12:55:50 +02:00
Andrey Shovkoplyas 81fecd7a16 [#9543] Signing phrase popup minor fix
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-02 11:10:39 +01:00
Andrey Shovkoplyas 5142383354 fiddle code snippets
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-02 11:09:43 +01:00
Roman Volosovskyi 5a408f1613 [#9061] Fix balances fetching of a new keycard account
This issue wasn't properly fixed for a newly created account, balance
was properly fetched only after re-login.
2019-11-30 19:07:52 +02:00
jakub f330392ccf narrow match with UID, print persistent matching processes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-30 14:47:06 +01:00
Serhy 13a619502c Fixing wallet send tx tests
Signed-off-by: Serhy <sergii@status.im>
2019-11-29 19:43:59 +02:00
Churikova Tetiana 34b356866b fixed several e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-11-29 11:30:40 +01:00
Andrey Shovkoplyas b7c558f310 [#9509] Chat onboarding tooltip needs fixes to scroll behaviour
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-29 11:26:24 +01:00
Pedro Pombeiro 68508a1500 Allow slashes in status-go branch names
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-11-29 11:00:18 +01:00
yenda 572e028f32 fix 9394 select mailserver based on ping
- if not mailserver was actively selected by user,
use rpc call to get latency for known mailservers
and use the best one
- this happens when `set-current-mailserver` is called which happens
in `change-mailserver` when user unpins his preferred mailserver and when
there's been too many failed attemps to fetch messages or to connect to
then current mailserverm as well as when user logs in.

Signed-off-by: yenda <eric@status.im>
2019-11-28 23:31:39 +01:00
Roman Volosovskyi 67e6ab6055 [#9435] Prevent multiaccount duplication
Currently we have two ways to restore a multiaccount:
- by entering a mnemonic phrase
- by pairing a keycard with an existing multiaccount

In both cases, when we detect that a user tries to recover an existing
multiaccount we interrupt recovering and propose them to unlock that
multiaccount instead.
2019-11-27 17:10:55 +02:00
Andrey Shovkoplyas 507cc5cf39 send transaction GUI
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-27 14:32:04 +01:00
jakub 182bfef295 don't use pure shell for uploads, causes SSL issues
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-27 11:23:07 +01:00
Pedro Pombeiro 7e6caf03ad nix: Use mkFilter in local status-go source
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-11-26 18:34:46 +01:00
jakub b32dd113f6 nix: upgrade nixpkgs
Also:
- upgrade Go: 1.12 > 1.13
- upgrade Android SDK: 28.0.3 > 29.0.2
- nix: stop using system Fastlane for iOS builds
- nix: include CocoaPods in shell for iOS
- nix: concatenate shellHooks correctly
- fix gomobile status-go build by setting GO111MODULE=off
- fix gradle accepting empty STATUS_GO_SRC_OVERRIDE value
- don't use a pure shell for uploadToSauceLabs()

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-26 16:30:41 +01:00
Pedro Pombeiro 7ab5cf053f nix: fix shell bootstrapper 2019-11-26 16:30:22 +01:00
jakub 261b81c8a7 nix: upgrade: 2.2.1 > 2.3.1
also drop toolversion scripts and functions

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-26 16:30:22 +01:00
jakub fe7f6c87ab nix: fix nix-cache builds on MacOS
symlink from /opt/nix requires this setting

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-26 16:30:22 +01:00
jakub 684630e022 don't load Pluginfile twice
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-26 16:30:21 +01:00
jakub f6b7f637f0 disable desktop builds as work on them is on hold
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-26 16:30:21 +01:00
Andrey Shovkoplyas ec57008834 [#9360] Dapp's permission form doesn't fit in the bottom sheet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-26 15:33:37 +01:00
Andrey Shovkoplyas 02aafeac8b [#9359] Hardware back button doesn't work on Android
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-26 15:32:49 +01:00
Andrey Shovkoplyas 4c79d7830e [#9184] Set password keyboard starts uppercase on old android (6.0.1)
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-26 15:31:57 +01:00
Roman Volosovskyi 0efc1a32fe clj-kondo configuration for Status specific macroses 2019-11-26 15:16:52 +02:00
Churikova Tetiana eecf53d11f more wait for lets_go_button
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-11-25 17:46:33 +01:00
yenda a2067783c5 overwrite should-component-update
when checking the checkbox, the entire list was being re-rendered
we now only re-render if the `checked?` value has changed

Signed-off-by: yenda <eric@status.im>
2019-11-25 15:03:37 +01:00
yenda 0dbcfab2e6 avoid nested touchable highlight
it seems like the nested touchable highlight is delaying the
recomputation of subscriptions
2019-11-25 15:01:59 +01:00
Andrey Shovkoplyas bf5416b629 remove statusbar and add safeview for android
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-25 14:42:09 +01:00
Churikova Tetiana 47d22305db test_set_primary_ens_custom_domain
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-11-25 11:36:49 +01:00
jakub 96ce65a350 bundle of desktop dependency upgrades
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-23 20:01:01 +01:00
Vitaliy Vlasov b503852387 Fix typo in on-verify-pin-success
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-11-21 20:32:03 +02:00
acolytec3 76296870d1 Truncate decimal values beyond 6 decimal places in signing sheet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-21 19:05:36 +01:00
Vitaliy Vlasov f4d5beced7 Add troubleshooting notes for Yarn/Git and adb server/client issues
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-11-21 17:15:02 +02:00
acolytec3 8bd2326369 Update SAI/DAI PNGs
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-21 15:21:30 +01:00
Churikova Tetiana 0b1da0e118 markdown support test + waits
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-11-21 12:01:57 +01:00
Serhy 84325fc528 Fix invite friends test
Signed-off-by: Serhy <sergii@status.im>
2019-11-21 12:47:34 +02:00
Roman Volosovskyi 5ecc7590d9 [#9446] Resume logging when connection to card is restored
Currently there are two ways to initiate logging in with keycard:
- enter PIN code and after that connect card to the phone
- connect card to the phone and enter PIN after that

Before this commit in both cases when connection to the keyacrd was lost
and then restored, logging in didn't resume. In result a user saw a
pop-up with endless spinner.

The reason of this bug was that `:on-card-connected` and `:on-card-read`
actions were not restored in app-db after losing connection to the card.

This commit introduces helper functions for both `:on-card-connected` and
`:on-card-read` which allow to reset these values and stash them until
particular flow of calls to keycard will be finished. In case if
connection was lost before the flow is finished the valueas are restored
so that it can be succesfully resumed on th next connection.

Also a banch of log entries were added to simplify debugging of
interactions with keycard and native module.

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-20 12:31:16 +01:00
acolytec3 a38df48691 Weak-password disallows confirm code step
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-20 12:30:21 +01:00
Andrea Maria Piana efcb35504d [Fixes: #9489] Correctly pass now in cofx when receiving messages
`now` was not passed anymore in cofx, this fixes the issue.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-20 12:27:30 +01:00
Andrea Maria Piana ddbfc78e08 [Fixes: #9492] Consider system messages always in their own group
System messages should always display the user picture, and should never
be grouped.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-20 12:25:50 +01:00
jakub 7d1812cc94 fix nix-clean for MacOS
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-19 15:46:42 +01:00
Andrey Shovkoplyas 89d09c4ba5 fix chats list and ens example name
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-18 17:12:40 +01:00
Roman Volosovskyi f8c761a40e [#9345] fix some issues on keycard login screen 2019-11-18 15:39:49 +02:00
Churikova Tetiana 40ca4af6a6 align e2e with accessibility-ids
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-11-18 13:11:52 +01:00
elegant651 7b14bbecde Add new welcome page after generating their key
formatting to style

add accessibility-id & flow for keycard

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-18 12:27:55 +01:00
Andrey Shovkoplyas fcbe277cf4 erc20 validation in different builds
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-18 12:05:02 +01:00
Serhy 6aa225192f Test can cancel quote message
Signed-off-by: Serhy <sergii@status.im>
2019-11-18 12:25:28 +02:00
jakub 0c6cd948ad upgrade multiple desktop deps
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-17 21:01:56 +01:00
Pedro Pombeiro af7341447c nix: Remove need to pass default values in --arg config
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-11-17 16:26:58 +01:00
Pedro Pombeiro e38e9f1072 Ensure STATUS_GO_SRC_OVERRIDE gets passed to the Nix shell's config
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-11-15 16:12:13 +01:00
Andrey Shovkoplyas 670c07b9b4 [#8845] Update list of public chats
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-15 13:59:47 +01:00
Andrea Maria Piana 9a9c0ce526 Render markdown
Fixes: https://github.com/status-im/trailofbits-audit/issues/47
Fixes: https://github.com/status-im/trailofbits-audit/issues/46
Fixes: https://github.com/status-im/trailofbits-audit/issues/44
Fixes: https://github.com/status-im/security-reports/issues/13
Fixes: https://github.com/status-im/security-reports/issues/5
Fixes: https://github.com/status-im/status-react/issues/8995

This commits re-introduce rendering of markdown text and implent a few
changes:

1) Parsing of the message content is now in status-go, this includes
markdown, line-count, and rtl. Parsing is not nested, as there's some
rendering degradation involved as we nest components, unclear exactly if
it's react-native or clojure, haven't looked too deeply into it.
2) Emojii type messages are not parsed on the sending side, not the
receiving one, using the appropriate content-type
3) Fixes a few issues with chat input rendering, currrently we use
`chats/current-chat` subscription which is very heavy and should not be
used unless necessary, and means that
any change to chat will trigger a re-render, which caused re-rendering
of input container on each received message. Also to note that
input-container is fairly heavy to render, and it's rendered twice at
each keypress on input.

The inline markdow supported is:

*italic* or _italic_
**bold** or __bold__
`inline code`
http://test.com links
\#status-tag

The block markdown supported is:

\# Headers
```
code blocks
```
> Quotereply

The styling is very basic at the moment, but can be improved.
Adding other markdown (photo,mentions) is straightforward and should
come at little performance cost (unless the component to render is
heavy, i.e a photo for example).

There are some behavioral changes with this commit:

1) Links are only parsed if starting with http:// or https://, meaning that
blah.com won't be parsed, nor www.test.com. This behavior is consistent
with discord for example and allows faster parsing at little expense to
ser experience imo. Fixes a few security issues as well.

2) Content is not anymore capped (regression), that's due to the fact that
before we only rendered text and react-native allowed us easily to limit
the number of lines, but adding markdown support means that this
strategy is not viable anymore. Performance of rendering don't see to be
very much impacted by this, I would re-introduce it if necessary, but
I'd rather do that in a separate PR.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-15 10:23:25 +01:00
Churikova Tetiana 3127f2fcb2 Reworked test_ens
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-14 12:04:26 +01:00
Andrey Shovkoplyas ec04709495 [#8854] Finish "Show my ENS name in chat" setting in user profile 2019-11-14 12:04:03 +01:00
Roman Volosovskyi ad80d4b0fd [#9227] Disable keycard unpairing for v1 2019-11-14 10:22:57 +02:00
Pedro Pombeiro f7384ae338 Add support for STATUS_GO_SRC_OVERRIDE env var
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-11-13 16:41:21 +01:00
Pedro Pombeiro a71500b312 nix: fix passing of env vars to release-android expression 2019-11-13 12:01:48 +01:00
Churikova Tetiana 2ed62e53eb added waits
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-11-12 12:44:51 +01:00
Andrea Maria Piana 13b01ce879 Fix replies, clear-history, logout bug
Fixes #9433 : this was due to the fact that `.-response-to` was
returning nil, because of the dash in the name, instead in this cases
`(aget .. "response-to")` should be used.

Fixes #9431 : This was a left-over from the move from message-groups to
message-list, and the code was not updated.

Fixes #9430 #9429 Both of these were due to the same issue, cofx were
wrongly passed to the function resulting in the db being updated but the
fxs being discarded.

There's still a separate issue that might result in messages not being
saved on logout, because of a race condition (if you logout while is
fetching messages, some of the message might not be saved). I will
address that separately as we might be able to just save messages as
they come in status-go, rather then having to pass them to status-react
and back to status-go for saving.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-12 11:27:26 +01:00
Roman Volosovskyi a39ae15d99 [#9206] fix wrong ping handling on signing messages 2019-11-12 11:23:46 +02:00
Dmitry Novotochinov a6a65ec0e4 remove keycard views with old design 2019-11-12 11:23:04 +02:00
Andrey Shovkoplyas 3d4e9df825 fixes ens name wallet address
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-11 14:26:55 +01:00
Dmitry Novotochinov 5e7785d432 [#8993] adjust pin screens for small screen devices
find account by key-uid

show pairing slots info on pairing

fix pin reset flow

pass retry-counter

fix sign with keycard button in wallet

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-11-08 15:01:08 +01:00
Andrea Maria Piana 2bb7c70216 [Fixes: #1520] Enable ens
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-08 13:03:42 +01:00
Andrey Shovkoplyas 40de054393 [#9256] Remove the "~" from the fiat currency value "~10.4 USD"
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-08 12:14:18 +01:00
Churikova Tetiana 9205a147a2 tiny fix to test_send_funds_between_accounts_in_multiaccount_instance
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-11-07 16:26:37 +01:00
Roman Volosovskyi 10c45d8a79 [#9393] fix mnemonic shown during storing account on keycard 2019-11-07 16:21:56 +02:00
Churikova Tetiana 9311fee2ae wallet update balance and fix failures
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-11-07 14:40:12 +01:00
Roman Volosovskyi 34a4b9a451 [#9350] fix back button on keycard login screen 2019-11-07 14:58:06 +02:00
Roman Volosovskyi b75e1bd53f [#9342] fix pin-mismatch label 2019-11-07 14:31:39 +02:00
yenda 36ad6fb762 support for local notification service on Android
- add option in profile on Android to enable local notifications
- use foreground service to keep the app alive when running in the background
- implement enable and disbable notification function in status module

When enabling notifications, a foreground service is started that displays
a sticky notification to make the user aware that the app is running in the
background.
Notifications are updated whenever a new.message signal is handled on java side.
Currently only one to one chats are generating notifications but that can be
easily extended to other types of messages, including mentions and keywords.
The ens name of the user as well as keywords to follow should then be passed
to the native side when calling the enable function.

Signed-off-by: yenda <eric@status.im>
2019-11-07 09:59:12 +01:00
jakub a6c2518de7 drop overriding .env values with CI parameters
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-06 22:17:40 +01:00
jakub 05ee65b6fa don't use SHA1s as status-go version
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-06 21:46:02 +01:00
Andrea Maria Piana 5fe385c225 Parse messages in status-go
This commit enables parsing of messages in status-go.
Currently only a few messages are supported in status-protocol-go.
For now we only enable Message types.
Status-react will conditionally use the parsed version if present.
Eventually this can be moved to a separate signal/different structure,
but for the time being is best to validate with the minimum amount of
changes.

The next step would be handle validation and processing of the field in
status-go, so we can skip saving the message from status-react.

This commit should improve performance of receiving messages from a
chat, although haven't had time to validate that.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-06 19:30:47 +01:00
AlphaSerpentis 629464cc35 (Squashed - correctly this time?)
* Update fr.json

Validated JSON file (last line contained an extra comma)

* Update i18n_resources.cljs

Defined the languages and translations

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-06 18:19:39 +01:00
Andrea Maria Piana 9a2e1e97db [Fixes: #9400] Fix last-group
The from parameter was left out, tests did not pick it up as they were
not running, probably I have wrongly rebased the code and did not
include the new namespace in runner.cljs

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-06 17:47:28 +01:00
Andrey Shovkoplyas 3da0a0dd4f fix stickers alignment
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-06 13:18:32 +01:00
Rachel Hamlin c6c554409d Change recover to access
There are some instances on the keycard screens that read `Recover key` rather than `Access key`, this is dated language so I've changed it. There are a few other instances of the word 'recover' in relation to keycard that may also need to be changed, but I'm not sure what context they are in.

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-06 12:58:44 +01:00
Andrey Shovkoplyas ac60ef6c32 fix colors and launch screen
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-06 12:57:35 +01:00
William Mruzek ed0c16b33b Increase number on 'unread' messages indicator to +99
Signed-off-by: yenda <eric@status.im>
2019-11-06 11:04:08 +01:00
Churikova Tetiana 2e8e1a35ad adjust tests to eth.fleet
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-11-05 12:17:47 +01:00
Andrea Maria Piana 1c63c782a4 Dont use network info but only rely on peers count for mailservers
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-05 11:50:54 +01:00
Roman Volosovskyi 76be2c279f [#9268] fix Multiaccount is currently empty on login 2019-11-05 07:20:09 +02:00
jakub 971db3ea2e include status-go params to set varsion and commit
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-04 21:12:30 +01:00
Roman Volosovskyi 02ce0782b1 [#9061] fix fetching balances for keycard acc 2019-11-04 16:23:37 +02:00
Andrea Maria Piana 5eb314db58 Use staging fleet and upgrade status-go
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-04 15:07:12 +01:00
Andrea Maria Piana c69863cda2 Fix message ordering and improve performance rec. messages
This commit does a few things:

==== Ordering of messages ====

Change the ordering of messages from a mixture of timestamp/clock-value to use
only clock-value.

Datemarks are now not used for sorting anymore, which means that the
order of messages is always causally related (not the case before, as we
were breaking this property by sorting by datemark), but datemark
calculation is unreliable (a reply to a message might have a timestamp <
then the message that is replied to).
So for timestamp calculation we
naively group them ignoring "out-of-order timestamp" messages, although
there's much to improve.
It fixes an issue whereby the user would change their time and the
message will be displayed in the past, although it is still possible to
craft a message with a lower clock value and order it in the past
(there's no way we can prevent this to some extent, but there are ways
to mitigate, but outside the scope of this PR).

==== Performance of receiving messages ====

The app would freeze on pulling messages from a mailserver (100 or so).
This is due to the JS Thread being hogged by CPU calculation, coupled
with the fact that we always tried to process messages all in one go.

This strategy can't scale, and given x is big enough (200,300,1000) the
UI will freeze.

Instead, each message is now processed separately, and we leave a gap
between processing each message for the UI to respond to user input
(otherwise the app freezes again).
Pulling messages will be longer overall, but the app will be usuable
while this happen (albeit it might slow down).
Other strategies are possible (calculate off-db and do a big swap,
avoiding many re-renders etc), but this is the reccommended strategy by
re-frame author (Solving the CPU Hog problem), so sounds like a safe
base point.

The underlying data structure for holding messages was also changed, we
used an immutable Red and Black Tree, same as a sorted map for clojure, but we use
a js library as is twice as performing then clojure sorted map.

We also don't sort messages again each time we receive them O(nlogn), but we
insert them in order O(logn).

Other data structures considered but discarded:
1) Plain vector, but performance prepending/insertion in the middle
(both O(n)) were not great, as not really suited for these operations.

2) Linked list, appealing as append/prepend is O(1), while insertion is
O(n). This is probably acceptable as messages tend to come in order
(from the db, so adding N messages is O(n)), or the network (most of
them prepends, or close to the head), while mailserver would not follow this path.
An implementation of a linked list was built, which performed roughtly the
same as a clojure sorted-map (although faster append/prepend), but not
worth the complexity of having our own implementation.

3) Clojure sorted-map, probably the most versatile, performance were
acceptable, but nowhere near the javascript implementation we decided on

4) Priority map, much slower than a sorted map (twice as slow)

5) Mutable sorted map, js implementation, (bintrees), not explored this very much, but from
just a quick benchmark, performance were much worse that clojure
immutable sorted map

Given that each message is now processed separately, saving the chat /
messages is also debounced to avoid spamming status-go with network
requests. This is a temporary measure for now until that's done directly
in status-go, without having to ping-pong with status-react.

Next steps performance wise is to move stuff to status-go, parsing of
transit, validation, which is heavy, at which point we can re-consider
performance and how to handle messages.

Fixes also an issue with the last message in the chat, we were using the
last message in the chat list, which might not necessarely be the last
message the chat has seen, in case messages were not loaded and a more
recent message is the database (say you fetch historical messages for
1-to-1 A, you don't have any messages in 1-to-1 chat B loaded, you receive an
historical message for chat B, it sets it as last message).

Also use clj beans instead of js->clj for type conversion

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-01 23:59:26 +01:00
Serhy e579412334 E2e check if seedphrase in new acc is true
Signed-off-by: Serhy <sergii@status.im>
2019-11-01 19:04:11 +02:00
acolytec3 3cc157b0fb Suppress remove photo option when no profile pic
Signed-off-by: yenda <eric@status.im>
2019-11-01 15:07:51 +01:00
Andrey Shovkoplyas acdad6d598 fixes animated gifs on Android
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: yenda <eric@status.im>
2019-11-01 13:05:03 +01:00
yenda 3528dd809a fix fleet settings not being saved to node config
Signed-off-by: yenda <eric@status.im>
2019-11-01 11:56:11 +01:00
dependabot-preview[bot] 463b4111b2 Bump @react-native-community/netinfo in /mobile/js_filesBumps [@react-native-community/netinfo](https://github.com/react-native-community/react-native-netinfo) from 4.2.2 to 4.4.0.- [Release notes](https://github.com/react-native-community/react-native-netinfo/releases)- [Changelog](https://github.com/react-native-community/react-native-netinfo/blob/master/CHANGELOG.md)- [Commits](https://github.com/react-native-community/react-native-netinfo/compare/v4.2.2...v4.4.0)Signed-off-by: dependabot-preview[bot] <support@dependabot.com> 2019-10-31 11:12:11 +01:00
Roman Volosovskyi f7cc74a29a fix recovery with mnemonic on keycard 2019-10-31 09:47:23 +02:00
Serhy c7cc80bc60 Followup e2e fix after PN remove
Signed-off-by: Serhy <sergii@status.im>
2019-10-30 21:34:53 +02:00
Roman Volosovskyi e80b08c42e [#9233, #9173] fix some screens
Signed-off-by: yenda <eric@status.im>
2019-10-30 15:17:28 +01:00
tbenr 88dbeead42 fixes #8877
Signed-off-by: yenda <eric@status.im>
2019-10-30 15:13:54 +01:00
jakub f85ace651a combined desktop dependency upgrades
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-30 11:43:13 +01:00
Churikova Tetiana bba6d735c3 Remove Myabe later after deleting PN
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-10-30 09:19:07 +01:00
Churikova Tetiana bada7c4dd4 added more waiting to some elements
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-10-29 18:23:38 +01:00
Serhy 5b742155d0 Soft errors handing separated per test
Signed-off-by: Serhy <sergii@status.im>
2019-10-29 16:07:27 +02:00
yenda 7bb45fdd8f remove firebase
Signed-off-by: yenda <eric@status.im>
2019-10-29 15:03:58 +01:00
Roman Volosovskyi 0856ae12e0 [#9231] fix flow of seed recovering on keycard 2019-10-28 21:52:11 +02:00
tbenr dfe259f14e fixes #9205 2019-10-28 19:12:29 +02:00
acolytec3 dc7724f88b Delete account name if setting recipient manually 2019-10-28 19:10:50 +02:00
acolytec3 33af176246 Fix network status change logic and #8951 2019-10-28 10:21:29 +02:00
Serhy eb00df147d E2E transaction appears in history
Signed-off-by: Serhy <sergii@status.im>
2019-10-28 10:04:45 +02:00
Churikova Tetiana 5561aff955 e2e account settings
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-10-28 09:02:20 +01:00
jakub f72452d04f fix matching deps with only one dependency
those often end with (*) since their base dep was already listed

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-25 18:00:54 +02:00
jakub 78095b0a2e avoid spawning too many Nix shells
Achieved by:
- using := the 'git rev-parse' will be called after the shell is up
- adding the SHELL setting to the _startdev-% target

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-25 18:00:23 +02:00
Serhy 8ac531ed9c Add unblock user test
Signed-off-by: Serhy <sergii@status.im>
2019-10-24 19:29:02 +03:00
Churikova Tetiana 39b32707e2 2 mailserver e2e and small fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-10-24 18:20:49 +02:00
Andrea Maria Piana 9cd891365a Use payload & avoid transforming in clojure objects.
This commit includes a few performance fixes:
1) Pass a string payload instead of an hex encoded string, to avoid
unecessary conversion
2) Don't js->clj on messages, as that's fairly expensive and we can get
away without
3) Don't use `pr-str` `read-string`, rather convert to json

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-10-23 15:52:32 +02:00
Andrea Maria Piana 57b1722863 Verify ens names on messages and contact requests
This commits verifies ens names when new messages or contact requests
come through.
A batch of ens names is sent to status-go which will then verifying them
and the result will be passed back in a callback to status-react.

Also temporary skipped test_ens_in_public_chat until we merge the ENS
code (blocked currently by 1.9 upgrade)

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-10-23 12:32:28 +02:00
Roman Volosovskyi 474ff00c7f [#8650] Tappable "backup seed" notification in wallet
- notification is tappable
- appears only if user has nonzero balance and hasn't backed up seed yet
- Fix e2e test for this change
2019-10-22 18:14:13 +03:00
Churikova Tetiana dbb4dfa61b e2e about dapp popup, fix e2e for switching mailserver, skipped low-prio blocked e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-10-21 14:51:59 +02:00
Serhy c0945c41d6 New e2e tests and fix
Signed-off-by: Serhy <sergii@status.im>
2019-10-21 11:53:50 +03:00
Andrey Shovkoplyas cbe17cbe02 [#8940] Redesign Back, swipe-to-the-left and hardware device Back buttons to align the behavior
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-18 17:27:03 +02:00
Churikova Tetiana 8fc823f94b e2e about switching accounts in DApp
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-10-18 15:49:14 +02:00
Andrey Shovkoplyas 1c51731aea [#8446] [Multi-Account] Build account settings for individual wallet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-18 12:09:47 +02:00
jakub 647bde7c6b fix type of shell used for s3cmd uploads
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-18 11:27:37 +02:00
Vitaliy Vlasov f28fd8fc9c customize TMPDIR and clean it
Also:
- parallelize upload and achive stages
- fix s3cmd uploads for combined Jenkinsfile
- fix failing TestFlight clean job

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-18 09:40:11 +02:00
jakub b8d3ef3aa5 combined node package upgrade prs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-17 12:43:17 +02:00
Pedro Pombeiro d317d8a6c7 Filter for security updates only in Dependabot
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-17 11:05:34 +02:00
jakub afc2412514 desktop builds need GnuPG
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-17 11:03:41 +02:00
yenda 7b6dfad702 [fix 8853] fix change of whisper id in ens registration
A user can type in their existing name in the registration flow. Status can
confirm if they own it. After signing a transaction, the user can update the
Whisper ID to their new one.

Instead of using a hardcoded contract for stateofus, the standard `owner`
method is called to find the resolver contract of a ens name.
This allows users to set the pubkey even for ens names that are not
subdomains of stateofus

Signed-off-by: yenda <eric@status.im>
2019-10-16 17:32:07 +02:00
Churikova Tetiana 1f24722db0 resolve ENS in wallet
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-10-16 15:35:35 +02:00
yenda 500d2cc787 fix navigation reset
currently navigation-reset only works properly if you reset to a simple route

this fix allows us to use navigation reset with more complex routes, by
ensuring that the navigation stack is populated properly so that navigate
back doesn't end up emptying the stack.

this is temporary as the proper way to do navigation in general would be
to get rid of view id and navigation-stack entirely, since it is a duplication
of the state of react-navigation

Signed-off-by: yenda <eric@status.im>
2019-10-16 15:02:26 +02:00
Andrea Maria Piana 1314c6e7d7 Disable spinner when generating multiaccount
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-10-16 14:28:17 +02:00
jakub 95e48a4159 add info about MacOS Catalina workaround
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-16 09:12:33 +02:00
Pedro Pombeiro 8e90103e96 nix: Upgrade expected Xcode version to 11.1
Also:
- nix: Disable symlink store check
- Add comments to dependabot config file

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-15 18:40:26 +02:00
Andrey Shovkoplyas da4d95d85c drop les
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-15 13:55:39 +02:00
acolytec3 2ddfcd4f88 Point network to correct current-network
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-15 13:54:59 +02:00
Churikova Tetiana e88472a0e0 fix some testrail links and add new test for checking log_level and fleet
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-10-15 11:54:04 +02:00
Churikova Tetiana 114b4da2d9 fix deleteing dapps
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-10-14 14:22:56 +02:00
Serhy c872c5c487 Enable high priority tests in PRs
Also:
- add ci/tests/Jenkinsfile.e2e-prs
- remove maybe_later_button click after new onboarding
- update job name for e2e tests
- Fix testrail checklist creationg for nightly builds

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-14 13:52:49 +02:00
Andrey Shovkoplyas 09be82272a [#8662] No chats on 'Chats' view if to clear entered search term in 'Search' chat input
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-11 13:10:28 +02:00
Andrey Shovkoplyas df098f82f6 [#8977] [Multi-account] Allow user to choose wallet for DApp transactions
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-11 11:08:56 +02:00
Vitaliy Vlasov 5fd269fde8 Onboarding UI fixes
Signed-off-by: yenda <eric@status.im>
2019-10-10 21:00:29 +02:00
Pedro Pombeiro e509e8fcb0 Add dependabot config file
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-10-10 18:47:37 +02:00
Andrey Shovkoplyas 6b1c30b44c [#8997] Error 'Hzb.checkViodeoAuthorizationStatus in not a function' at attempt to scan QR on IOS
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-10 17:04:13 +02:00
Churikova Tetiana 2d1fff479a Fix stickers \ collectibles
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-10-10 15:51:21 +02:00
tbenr ee5040c391 fixes #8657
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-10 12:02:09 +02:00
Serhy 5a02ecf2b4 Test seedphrase not active after backup
Signed-off-by: Serhy <sergii@status.im>
2019-10-10 10:40:25 +03:00
Churikova Tetiana d063d94d31 fix for 2 high e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-10-09 17:53:59 +02:00
Rachel Hamlin 0d8d0af3c7 Fixing random capitalization
"Manage Assets" to "Manage assets"
"Enter Seed phrase" to "Enter seed phrase"

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-09 17:43:24 +02:00
Vitaliy Vlasov 227127f153 Add preserve-input flag to text-input
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-10-09 17:37:24 +03:00
Andrey Shovkoplyas d2ff665d6e [#9107] Collectibles (except CryptoKitties) are not loaded (endless spinner) after relogin
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-09 15:54:12 +02:00
Andrey Shovkoplyas ca41fefbf7 [#9138] Missing translation in "Need help" section ("Ask a question")
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-09 15:24:21 +02:00
Andrey Shovkoplyas 92f230ee13 [#9139] Can not purchase sticker pack (too low no sign with password button)
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-09 11:40:02 +02:00
Marcus R. Brown 22de1f7490 Fix sticker pack installation buttons
- Fix sticker pack installation buttons
- Add "↓ Free" text and update "Install" text
- Distinguish between owned and free sticker sets
- Rename owned -> owned? in price-badge
- Add tiny-snt icon
- Update the sticker price badge icon and padding

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-09 08:25:29 +02:00
Churikova Tetiana e30a547039 Return boolean
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-10-08 13:29:35 +02:00
Andrey Shovkoplyas 284f9bffed [#8937] Recent stickers are shown when stickers tab is highlighted
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-08 13:27:53 +02:00
Dmitry Novotochinov 7a642c76de [#8989] hide keycard settings for regular accounts
[#9019] hide Add new account in Wallet for keycard users

[#9023] fix redirect on keycard setup cancel

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-10-08 14:19:32 +03:00
Dmitry Novotochinov c1c195adbe [#9025] fix keycard pairings persistence
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-10-08 11:45:15 +03:00
hesterbruikman 696df8ea2e Copy update multiaccount
Fixes copy update in #8447

In the UI we want to refer to a watch only address as `address` instead of `account`. Interactions with an address are limited compared to an account in wallet. e.g. there is no option to send assets from this account as Status wallet does not have the key to sign for transactions.

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-07 14:03:37 +02:00
acolytec3 5ce678eb62 Suppress back-up-seed prompt when already done
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-07 12:12:53 +02:00
Adam Babik df874966ba upgrade status-go with geth 1.9.5
Signed-off-by: Adam Babik <a.babik@designfortress.com>
2019-10-05 16:26:55 +02:00
Pedro Pombeiro fcfc7f346e Fix RNGestureHandler version in Podfile.lock
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-10-05 10:26:31 +02:00
Serhy 58c64608d0 Test to check cryptokitty in wallet collectibles
Signed-off-by: Serhy <sergii@status.im>
2019-10-04 19:29:16 +03:00
acolytec3 72867473d0 Add currency conversions for signing sheet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-04 18:13:53 +02:00
Churikova Tetiana 4eac209b9b 4 e2e fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-10-04 15:53:43 +02:00
Andrea Maria Piana ba34af0dd4 [Fixes #9088] Store eip1581 path and wallet root path, don't store
master key

When creating the account we store as well the path specified in eip1581
https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1581.md ,
`m / 43' / 60' / 1581'`.

The reason for doing so is that eventually we might want to derive an
encryption key from it, which would require the user to re-enter their
seed phrase if we would not store this.

This commit changes the behavior not to store the master key, and
instead store `m /44'/60' /0'/0`, from which wallets are now derived.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-10-04 12:54:26 +02:00
Andrey Shovkoplyas b3d04bb68c [#8966] biometric
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-04 12:43:32 +02:00
Churikova Tetiana da4fb01700 mobile_data_tests
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-10-04 12:13:21 +02:00
Pedro Pombeiro e8627f0320 Allow Node.js packages to be upgraded by dependabot
- Move dev dependencies to `devDependencies`

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-10-04 12:12:36 +02:00
dependabot-preview[bot] d753f0d9b1 Bump react-native-gesture-handler in /desktop/js_filesBumps [react-native-gesture-handler](https://github.com/kmagiera/react-native-gesture-handler) from 1.3.0 to 1.4.1.- [Release notes](https://github.com/kmagiera/react-native-gesture-handler/releases)- [Commits](https://github.com/kmagiera/react-native-gesture-handler/compare/1.3.0...1.4.1)Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-04 11:42:13 +02:00
Jinhojang6 d2a51f9711 update-kr-translations
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-03 15:35:26 +02:00
Volodymyr Kozieiev f34012a815 Switched to updated installation packages
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2019-10-02 18:46:34 +03:00
Alex Good 78c57a356b Fix small UI problems with the compose reply screen
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-02 13:21:19 +02:00
Serhy 6037add156 Fix api request to etherscan
Signed-off-by: Serhy <sergii@status.im>
2019-10-02 11:13:27 +03:00
Volodymyr Kozieiev ace4b5a161 Desktop works with react-navigation v3
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2019-10-02 10:19:37 +03:00
jakub 599ed98093 fix which APK is published for e2e builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-01 23:42:16 +02:00
Dmitry Novotochinov 9f6db66ab6 [#9055] fix keycard restore
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-10-01 19:28:59 +03:00
Andrea Maria Piana 42961f3a0e Add username to quoted message
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-10-01 12:13:36 +02:00
Jakub c8b4fdfcd9 Update issue templates
Resolves #9058

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-09-30 19:02:44 +02:00
Andrey Shovkoplyas 9d06f01506 [#8934] Only one sticker is shown in "Recently used"
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-09-30 16:15:08 +02:00
Andrey Shovkoplyas 371c66aad1 Remove UUID related code #9048
Signed-off-by: yenda <eric@status.im>
2019-09-30 15:55:55 +02:00
Andrey Shovkoplyas f52b87ef22 [#8945] "null is not an object" error when tap on sticker sent in chat
Signed-off-by: yenda <eric@status.im>
2019-09-30 15:55:12 +02:00
Andrey Shovkoplyas bedb6a841b keycard seed suggestions
Signed-off-by: yenda <eric@status.im>
2019-09-30 15:37:04 +02:00
Andrey Shovkoplyas 7ddebcb815 [#8973] Mobile data syncing pop-up missing text
Signed-off-by: yenda <eric@status.im>
2019-09-30 15:33:22 +02:00
Pedro Pombeiro 616489bbf2 Add pod-install Makefile target
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-09-30 14:15:51 +02:00
snyk-bot a7c9329df5 fix: fastlane/Gemfile & fastlane/Gemfile.lock to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-RUBY-RUBYZIP-469156

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-09-30 14:15:35 +02:00
jakub 973623f4c8 build multiple APKs for different architectures
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-09-30 13:59:42 +02:00
jakub 70c6265230 upgrade Go: 1.11 > 1.12
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-09-30 11:57:57 +02:00
Andrey Shovkoplyas 6a732570c7 [#9034] Turn off autosuggestion on seedphrase confirmation input
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-09-30 10:38:40 +02:00
dependabot-preview[bot] 54a3e64c2e Bump react-native-shake from 3.3.1 to 3.4.0 in /mobile/js_files
Bumps [react-native-shake](https://github.com/Clip-sub/react-native-shake) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/Clip-sub/react-native-shake/releases)
- [Commits](https://github.com/Clip-sub/react-native-shake/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-09-30 10:37:04 +02:00
Pedro Pombeiro f8d447fa59 Hide Account Export menu item in wallet for v1. Closes #9040
Signed-off-by: yenda <eric@status.im>
2019-09-28 14:00:18 +02:00
Andrea Maria Piana acd7e56d1d Add gfycat/identicon from status-go
Signed-off-by: yenda <eric@status.im>
2019-09-26 14:12:43 +02:00
Serhy 42a65a7a1e Fix multipleaccount test
Signed-off-by: Serhy <sergii@status.im>
2019-09-26 12:39:35 +03:00
yenda c047b588ed throw errors on dangerous behaviours
- if multiaccount settings are saved on top of an empty map or nil,
this means something went wrong, the state of the app is unstable,
and actually saving will result in loss of data. It should never
happen, but if it does, throw and error and abort.
- sometimes two fxs are merged when they shouldn't, this is caused by
bugs and should never happen, but if it does, throw an error with arguments
for both effects to help localize the error

Signed-off-by: yenda <eric@status.im>
2019-09-25 19:33:43 +02:00
yenda bf6b328996 replace require-macro for defnstyle and defstyle
- renamed the macros def and defn so that they are now used with aliased
namespace `styles/def` and `styles/defn` to force user to use aliased require
instead of require-macro and refer
- this makes sure the cljs file is required which includes the require for
platform ns needed after macroexpension

Signed-off-by: yenda <eric@status.im>
2019-09-25 17:18:26 +02:00
Churikova Tetiana 9d0de73c1e Another fix for false failures
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-09-25 17:17:02 +02:00
Churikova Tetiana 4239ae5686 Mobile popup
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-09-25 16:57:22 +02:00
Serhy 0a5acfb0f7 Update logcat tests
Signed-off-by: Serhy <sergii@status.im>
2019-09-25 11:21:09 +03:00
Dmitry Novotochinov 18ce3b0129 [#8968] custom seed phrase popover
Signed-off-by: yenda <eric@status.im>
2019-09-25 09:39:25 +02:00
yenda 3ee52b4fba hotfix styles.cljs
Signed-off-by: yenda <eric@status.im>
2019-09-24 22:38:41 +02:00
yenda 133800b191 remove wrap-first-time
Signed-off-by: yenda <eric@status.im>
2019-09-24 18:57:15 +02:00
Churikova Tetiana ebc2ff04cd Modified e2e for deleting-clear all dapps
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-09-24 12:07:51 +02:00
Andrey Shovkoplyas 222c6ac20c [#8516] Cannot delete dapp from "Recent" 2019-09-24 12:06:53 +02:00
yenda e91375a97b fix #8992 update account timestamp when login with keycard
Logout from keycard account was redirecting to login screen for another user
because `b.multiaccountsDB.UpdateAccountTimestamp` was not called in
`startNodeWithKey` as it was done in `startNodeWithAccount` in status-go

The fix is therefore in status-go and this PR updates status-go version to
fix that

Signed-off-by: yenda <eric@status.im>
2019-09-24 11:48:12 +02:00
dependabot-preview[bot] 9954ee6b8d Bump qrcode from 1.4.1 to 1.4.2 in /mobile/js_files
Bumps [qrcode](https://github.com/soldair/node-qrcode) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/soldair/node-qrcode/releases)
- [Changelog](https://github.com/soldair/node-qrcode/blob/master/CHANGELOG.md)
- [Commits](https://github.com/soldair/node-qrcode/compare/v1.4.1...v1.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-24 09:58:34 +02:00
dependabot-preview[bot] a5a7f3f055 Bump qrcode from 1.4.1 to 1.4.2 in /desktop/js_files
Bumps [qrcode](https://github.com/soldair/node-qrcode) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/soldair/node-qrcode/releases)
- [Changelog](https://github.com/soldair/node-qrcode/blob/master/CHANGELOG.md)
- [Commits](https://github.com/soldair/node-qrcode/compare/v1.4.1...v1.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-24 09:58:01 +02:00
dependabot-preview[bot] e6b6deeb04 Bump @react-native-community/netinfo in /mobile/js_filesBumps [@react-native-community/netinfo](https://github.com/react-native-community/react-native-netinfo) from 4.2.1 to 4.2.2.- [Release notes](https://github.com/react-native-community/react-native-netinfo/releases)- [Changelog](https://github.com/react-native-community/react-native-netinfo/blob/master/CHANGELOG.md)- [Commits](https://github.com/react-native-community/react-native-netinfo/compare/v4.2.1...v4.2.2)Signed-off-by: dependabot-preview[bot] <support@dependabot.com> 2019-09-24 09:56:23 +02:00
Serhy 2c56de0872 Fix app version and deeplink tests
Signed-off-by: Serhy <sergii@status.im>
2019-09-24 10:45:18 +03:00
Pedro Pombeiro 4a95b88e36 Add changes to PR checklist discussed in Istanbul
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-23 16:53:30 +02:00
yenda a1735e4577 typos in REVIEW.md
Signed-off-by: yenda <eric@status.im>
2019-09-23 14:06:40 +02:00
Pedro Pombeiro 97e9f0daa1 nix: Update fastlane Gemset
Signed-off-by: yenda <eric@status.im>
2019-09-23 14:05:57 +02:00
Pedro Pombeiro 51dd7af5f8 Use modern build system for iOS 2019-09-23 09:12:22 +02:00
tbenr f7076016d8 fixes #8071
Signed-off-by: yenda <eric@status.im>
2019-09-20 17:54:23 +02:00
Churikova Tetiana da120feef8 fix for menu item
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-09-20 16:11:06 +02:00
Churikova Tetiana c3d59db47a Fix picture for e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-09-20 14:37:21 +02:00
Churikova Tetiana f7c7a10258 Small fix for new user profile
Signed-off-by: yenda <eric@status.im>
2019-09-20 14:09:34 +02:00
yenda 8ccc858d41 fix #9003 Recover deleted translations
replace i18n/message-status-label by regular label to avoid repeating
this issue in the future

recover the following labels:
- status-not-sent-click
- status-not-sent-tap
- status-sent

Signed-off-by: yenda <eric@status.im>
2019-09-20 13:07:11 +02:00
jakub 00de482767 re-enable desktop builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-09-19 17:41:50 +03:00
yenda 0796f597f0 add missing loginWithKeycard iOS implementation
Signed-off-by: yenda <eric@status.im>
2019-09-18 14:51:46 +02:00
yenda 9a2ba3009d fix log level config
the log level config for status-go wasn't saved in the node-config
as a result even though the setting looked applied in the UI it wasn't
in the node
2019-09-17 23:31:32 +02:00
Andrea Maria Piana 49d882ba29 Fix bootnodes toggle
Signed-off-by: yenda <eric@status.im>
2019-09-17 23:30:19 +02:00
yenda e87d75039e remove unused use-status-go-protocol? flag and code
Signed-off-by: yenda <eric@status.im>
2019-09-17 17:10:13 +02:00
yenda 543d28fbc1 remove unused deleteChat rpc method and effects 2019-09-17 17:09:23 +02:00
yenda 47bae76c73 remove group-chat-local-version 2019-09-17 17:09:22 +02:00
yenda ee042bd1c4 10x perf improvement on safe-merge
safe merge was using way too much inefficient code for such an important
function
it is rewritten using a reduce. the performance improvement is 10 times
and should really show up when adding messages
in repl session the new merge was much slower on the error case of merging
fx with common keys but it must never happen in production as it means
the app is broken

status-im.utils.fx> (time (dotimes [x 100] (fast-merge {:a 1 :b 2 :filters/load-filters [{:a 1 :b 2}]} {:c 3 :filters/load-filters [{:d 1 :b x}]})))
"Elapsed time: 19.000000 msecs"
nil
status-im.utils.fx> (time (dotimes [x 100] (safe-merge {:a 1 :b 2 :filters/load-filters [{:a 1 :b 2}]} {:c 3 :filters/load-filters [{:d 1 :b x}]})))
"Elapsed time: 183.000000 msecs"

status-im.utils.fx> (time (dotimes [x 100] (fast-merge {:a 1 :c 2 :filters/load-filters [{:a 1 :b 2}]} {:c 3 :filters/load-filters [{:d 1 :b x}]})))
"Elapsed time: 2224.000000 msecs"
2019-09-17 17:09:22 +02:00
yenda 747dec908e remove yellowbox warnings for componentWillMount and WillUpdate 2019-09-17 17:09:22 +02:00
yenda e8e78bdec1 require handlers in cljs ns for macroexpension 2019-09-17 17:09:14 +02:00
Pedro Pombeiro 4f7cb549d9 Upgrade from hermesvm@0.1.1 to hermes-engine@0.2.1
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-09-16 17:07:52 +03:00
Dmitry Novotochinov 1df30f7447 handle initialized cards
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-09-16 11:14:35 +03:00
Pedro Pombeiro 8ace86f7da Use sponge to avoid need for temp file
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-14 00:14:57 +02:00
Pedro Pombeiro 061939189b nix: Use a more standard name the patched Gradle and NPM package 2019-09-14 00:10:51 +02:00
Pedro Pombeiro 8c7323e126 Use flock to create exclusive locks on node_modules/
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-13 17:46:18 +02:00
Churikova Tetiana d3e6414c89 e2e fixes for false failures
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-09-13 17:36:32 +02:00
Dmitry Novotochinov b4ffb5b3ea [#8939] hide keycard options from ios
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-09-13 17:42:54 +03:00
acolytec3 7ba83bde74 All strings removed from translations
Signed-off-by: yenda <eric@status.im>
2019-09-13 16:20:49 +02:00
dependabot-preview[bot] a9c693932a Bump buffer from 5.4.2 to 5.4.3 in /mobile/js_files
Bumps [buffer](https://github.com/feross/buffer) from 5.4.2 to 5.4.3.
- [Release notes](https://github.com/feross/buffer/releases)
- [Commits](https://github.com/feross/buffer/compare/v5.4.2...v5.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-09-13 08:30:44 -04:00
bitsikka d472cfcddd [8978] fix - chat text ending with new-line breaks chat-list layout
Signed-off-by: yenda <eric@status.im>
2019-09-13 14:16:09 +02:00
jiachen 62442d70d5 fix: issue #8823 modify words count row height
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-09-13 12:17:09 +02:00
Pedro Pombeiro 699ac8c56e Upgrade desktop yarn.lock
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-13 11:35:45 +02:00
Marcus R. Brown 3545dbb615 Fix getRoots typo in nix/clean.sh
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-13 10:47:59 +02:00
Pedro Pombeiro 5ea8040c56 nix: Fix errors deleting from store in clean.sh
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-12 22:34:28 +02:00
Pedro Pombeiro e3e8e218ad Make root folder less busy
- Move `mobile_files` into `mobile/js_files`
- Move `desktop_files` into `desktop/js_files`

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-12 16:54:12 +02:00
Pedro Pombeiro 8209bf260c Rename package.json.orig to package.json
- This allows 3rd party tools like Dependabot to inspect our dependencies
2019-09-12 16:16:43 +02:00
Pedro Pombeiro cc79cf3b3a Enable Hermes in Android. Fixes #8952
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-12 16:15:11 +02:00
Pedro Pombeiro e4eabd2810 Migrate to use AndroidX 2019-09-12 16:13:43 +02:00
Pedro Pombeiro 46e3b52809 Fix Android build on macOS 2019-09-12 16:13:42 +02:00
Pedro Pombeiro 9feb31bd3b Upgrade react-native to 0.60.5
- Use community net-info, react-native-webview instead of deprecated react-native classes
- Remove react-native-tcp
- Upgrade react-native libs (react-native-camera, react-native-firebase, react-native-mail, react-native-udp, react-native-webview-bridge)
- Do not include `:react-native-android` module explicitly
- Take advantage of RN AutoLinking
- nix: Update Gradle dependencies
2019-09-12 16:13:42 +02:00
yenda 5db0a58ab8 remove unused deps and document the others
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-12 16:12:46 +02:00
yenda f538cfe848 remove web3 dependency 2019-09-12 15:51:57 +02:00
yenda 69819df39a fix dependencies and remove js-sha3 2019-09-12 15:51:57 +02:00
Pedro Pombeiro a69d820897 Make nix-clean also delete android-gradle-and-npm-modules derivations
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-12 11:36:09 +02:00
bitsikka edf896f2e5 [8957] fix - Wallet address can't be copied by tapping on it
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-09-12 11:12:33 +02:00
Andrea Maria Piana e6c5dd6c81 Dont try to use nil as a function
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-09-12 08:52:03 +02:00
Pedro Pombeiro 4a4af53876 Fix Desktop build on macOS
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-11 18:44:20 +02:00
bitsikka f981dbb43b list-item suppliment/fixes
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-09-11 16:49:52 +02:00
Pedro Pombeiro d6b8065a7c Get rid of duplicate sources of external modules and fonts in build-desktop.sh
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-11 15:25:21 +02:00
Pedro Pombeiro cda8e47590 Fix missing net-info in Desktop js dependencies
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-10 20:31:02 +02:00
Pedro Pombeiro 0ae1e7c8bd Fix strip warning on release Android builds 2019-09-10 19:03:13 +02:00
Vitaliy Vlasov b215292b23 Preserve text-inputs default value
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-09-10 13:01:13 +03:00
yenda c3dd950286 remove realm
Signed-off-by: yenda <eric@status.im>
2019-09-09 18:40:15 +02:00
yenda 172038b70d integrate mailserver-ranges api 2019-09-09 18:39:49 +02:00
Andrey Shovkoplyas 277f9ffda5 fixed fx macro on ios added troubleshooting.md
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-09-09 13:48:25 +02:00
yevh-berdnyk 758cdf6cc2 Fixed e2e tests
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-09-09 11:50:41 +02:00
Pedro Pombeiro a74089f857 nix: Fix generate-maven-and-npm-deps-shell
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-06 17:18:36 +02:00
Vitaliy Vlasov 93b8fa01ed Comment away screens
Signed-off-by: yenda <eric@status.im>
2019-09-06 14:48:31 +02:00
Andrey Shovkoplyas d07c9c6613 fixed :background-color on Android crash
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-09-06 13:33:18 +02:00
Andrey Shovkoplyas b18a044146 ui elements 2019-09-06 12:28:16 +02:00
Pedro Pombeiro 34e9bc7876 Make release-ios build iOS app from command line
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-06 11:57:49 +02:00
bitsikka 083cf07670 Ensure the pods are installed if ios/Pods/ dir isn't there 2019-09-06 11:57:24 +02:00
yevh-berdnyk afe345cb02 Updated profile picture templates and fixed ENS username test
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-09-06 00:53:47 +02:00
Jinho Jang d16e82ce02 Update Korean, Russian, and Chinese translations
update Chinese, Russian, and Korean translations

Update Korean, Russian, and Chinese translations

Signed-off-by: yenda <eric@status.im>
2019-09-05 18:20:18 +02:00
yenda 6be85f46a5 [fix 8702] hash passwords before sending them to status-go
fix #8702

- use ethereum.utils sha3 function to hash passwords before sending them
to status-go
- some native calls take password as one of their params: they now take
hashed-password (still a string, only relevant for status-react caller)
- some native calls take password within a map of rpc params: it now
needs to be hashed with `ethereum.core/sha3`

Signed-off-by: yenda <eric@status.im>
2019-09-05 18:13:10 +02:00
yenda d312192209 clean up native-module
- remove impl/modules.cljs namespace because it was needlessly redundant
- remove `create-account` unused call
- add documentation for some calls
- only keep `(status)` check for relevant calls that are failing tests
because they are evaluated
2019-09-05 18:09:56 +02:00
yenda dbf8d60f8b integrate status-go mailserver-topics api
Signed-off-by: yenda <eric@status.im>
2019-09-05 18:08:03 +02:00
yenda 1147466362 integrate status-go mailserver api 2019-09-05 18:07:17 +02:00
bitsikka 843de6aa90 fix profile photo icon - no border in non-identicon photo
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-09-05 14:56:53 +02:00
Pedro Pombeiro 66b982c3fb Use react-native net-info community package
Signed-off-by: yenda <eric@status.im>
2019-09-05 14:16:28 +02:00
yevh-berdnyk e02b7489cc Updated and added e2e tests
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-09-05 12:58:56 +02:00
Churikova Tetiana b186676c67 Fix some selectors
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-09-05 12:40:59 +02:00
jakub 82576cd050 upgrade fastlane: 2.128.0 > 2.130.0
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: yenda <eric@status.im>
2019-09-05 10:56:36 +02:00
Andrey Shovkoplyas 1475bb6cf6 security #7
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-09-04 16:36:22 +02:00
Andrea Maria Piana e7fa010088 Move gaps to status-go
This commit moves gaps to status-go.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-09-04 15:53:48 +02:00
yenda ef36ece15b [fix 8829] fix wrong password behavior on login
fix #8829

Signed-off-by: yenda <eric@status.im>
2019-09-04 13:20:38 +02:00
yenda 6427061bad [fix #8813] status-go version is shown as N/A
fix #8813

Signed-off-by: yenda <eric@status.im>
2019-09-04 13:18:51 +02:00
bitsikka df66b73054 revert unnecessary :chats/last-message-content subscription
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-09-04 12:24:48 +02:00
jakub ba8e49b649 save diawi link in the build description for easy access
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-09-03 11:43:03 -04:00
MajorTomSec 8c6bd0dc69 Fix issue #8846 - Update terminology for consistency
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-09-03 16:30:34 +02:00
Andrey Shovkoplyas d21ea6e8f6 security #4 recovery keyboard
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-09-03 15:34:51 +02:00
Volodymyr Kozieiev 00bc2c48e0 Removed outdated package
Signed-off-by: yenda <eric@status.im>
2019-09-03 14:18:23 +02:00
yenda 3ef0433d7b fix red screen on hot reloading
Signed-off-by: yenda <eric@status.im>
2019-09-03 13:17:55 +02:00
yenda 45be9b66db fix subtitle in list items
arguments were missing in reagent-render args so component wasn't
reacting to changes

Signed-off-by: yenda <eric@status.im>
2019-09-03 13:17:09 +02:00
b-m-f 09c8d858ed Show group name in group-chat header
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-09-03 11:03:06 +02:00
bitsikka df3473dbef [7785] fix - Implement the correct list item layout in chats list
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-09-02 17:49:54 +02:00
Andrea Maria Piana 12c08b1398 Use last-message-timestamp in mainchat
We use the timestamp of the last message in the chat preview.
In case there's no message, the old timestamp will be displayed (last
time the chat has been updated).

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-09-02 11:34:04 +02:00
Vitaliy Vlasov aa4bf1f26b Use :multiaccount instead of :multiaccounts/multiaccounts when looking
through candidate public keys

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-08-30 19:26:37 +03:00
Pedro Pombeiro 58ed03f976 Remove unused node modules
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-08-30 17:14:50 +02:00
Pedro Pombeiro 58d310ffce Remove RAM bundle support 2019-08-30 17:13:35 +02:00
Vitaliy Vlasov dfeec0f39f Fix empty contact code string errors
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-08-30 15:46:11 +03:00
Churikova Tetiana 081b90ff4e Fix high/critical e2e for profile
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-30 09:54:38 +02:00
Pedro Pombeiro a5907fe0ca Move from componentWillMount to componentDidMount
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-08-29 19:19:50 +02:00
Andrey Shovkoplyas ffcba77486 fix android webview svg
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-08-29 15:54:26 +02:00
Andrey Shovkoplyas 0288d617cb [#8849] Use node-qrcode instead of react-native-qrcode 2019-08-29 15:53:44 +02:00
Andrey Shovkoplyas d432dc980e don't use webview 2019-08-29 15:53:44 +02:00
Andrea Maria Piana 3b52a61bdf validate links before opening
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-08-29 15:14:06 +02:00
Churikova Tetiana fe6f7999bd Fix critical e2e for new profile
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-29 12:26:06 +02:00
bitsikka 3541f636df [8070] feature - [Profile] My profile screens reorganisation and items design
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-29 13:24:10 +03:00
Andrea Maria Piana 58204f935b upgrade status-go
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-08-29 08:40:57 +02:00
jakub 7c7eb0ba3d clean results before copying them from Nix store
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-28 21:55:52 -04:00
yenda 4e7c7c254b [fix #8760] multiple accounts created
when tapping save account quickly

Signed-off-by: yenda <eric@status.im>
2019-08-28 16:48:56 +02:00
yenda ab58dcfa36 rename subaccounts -> accounts 2019-08-28 16:46:52 +02:00
yenda 3597978131 [fix #8759] Сan't send funds from added account
- save added account in keystore properly so that it can be used
- still needs a fix in status-go so that it works without having to relogin
2019-08-28 16:46:52 +02:00
yenda b4b93aa3f7 [fix #8802] universal links after login
fix #8802
No redirect from universal links after login
2019-08-28 16:46:52 +02:00
yenda bf50811f25 fix ens registration on ropsten
ropsten is 50STT
also fixed cancellation of transaction
2019-08-28 16:46:52 +02:00
yenda 84c04949aa save account with accounts_saveAccounts rpc call
so that transaction history starts being fetch without having to relogin
2019-08-28 16:46:52 +02:00
yenda ddefae11b1 use wallet_getTokensBalances to reduce number of rpc calls 2019-08-28 16:46:52 +02:00
yenda b45e7ccafb cleanup fetching transactions 2019-08-28 16:46:52 +02:00
yenda 4283c675d1 update status-go 2019-08-28 16:46:52 +02:00
yenda 7d813149eb move network-id verification 2019-08-28 11:11:41 +02:00
yenda b28c521b2b remove semaphores 2019-08-28 11:11:41 +02:00
yenda d4a396bedf move networks out of multiaccount 2019-08-28 11:11:40 +02:00
yenda d183cfe125 Remove :node/status leftovers 2019-08-28 11:11:40 +02:00
Andrey Shovkoplyas 8e3624e87b [#8321] Change or remove back button from DApp browser screen
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-28 11:59:39 +03:00
Pedro Pombeiro 78754dfdee Fix local release PR builds (were missing js modules)
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-08-27 11:49:48 +02:00
Pedro Pombeiro 78be542f0b Fix hang at startup with release build 2019-08-27 11:41:47 +02:00
yevh-berdnyk b9c7dbd5d2 Fixed e2e tests (high/medium)
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-27 09:59:22 +02:00
jakub 17407b3680 don't go into android dir, copy results if not linking
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-08-27 09:14:00 +02:00
Andrea Maria Piana b0dc2dd4f5 Use no backup android & ios
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-08-27 06:24:44 +02:00
Vitaliy Vlasov 4c545cb70d Add processing indicator when creating multiaccount
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-08-26 18:55:02 +03:00
Andrea Maria Piana 564090d7e6 upgrade status-protocol-go
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-08-26 12:18:03 +02:00
MajorTomSec 5dbac2b1d9 [Fix 8635] About showed "Version ()" instead of Version 0.14.0 (201908...) on Android
Fixes #8635 by adding VERSION and BUILD_NUMBER files in the correct nix
template and updating bash script in order to prevent it from failing,
due to the git repository being not initialized in the nix environment.

Move scripts/build_no.sh and scripts/gen_build_no.sh to
scripts/version/build_no.sh to prevent Nix from rebuilding when
unrelated scripts are touched.

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-26 12:51:50 +03:00
yenda 397b193de2 [fix 8831] error when unblocking first blocked contact
when unlocking first blocked contact before relogin, an error occurs
this is because the first blocked contact is added to a list and you can't
disj an element from a list
this makes sure the first blocked contact is put into a set

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-26 11:03:12 +03:00
Andrey Shovkoplyas 0210f413ab list-item fix
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-26 10:59:21 +03:00
Jinho Jang d4b918b2cf Update Japanese translations
Signed-off-by: yenda <eric@status.im>
2019-08-25 13:21:28 +02:00
yevh-berdnyk 59000d5698 False failed tests fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-23 14:14:44 +02:00
yenda 41cf68b6a7 [fix 8786] fix multiaccount recovery and add account
fix #8786

- multiaccount recovery wasn't saving the root key properly
- this resulted in the impossibility to add new accounts in the wallet

Signed-off-by: yenda <eric@status.im>
2019-08-23 13:15:28 +02:00
Pedro Pombeiro cfcbe6e5fb Remove unused android/app/react.gradle and mapview leftovers
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-08-23 11:59:30 +02:00
yenda f14fd19f2c [fix 8796] big number error when adding owned ens name
fix #8796

Signed-off-by: yenda <eric@status.im>
2019-08-23 09:52:48 +02:00
Vitaliy Vlasov 697c767a8b Clear all TextInput refs in on-will-blur event
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-08-22 19:54:34 +03:00
jakub 2b34900a9b ignore nix/clean.sh failures when in CI
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-22 11:46:49 -04:00
Andrey Shovkoplyas 2e06dd36da remove unused resources
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-22 18:27:06 +03:00
yenda ff2b24b1c6 cleanup shh/post
Signed-off-by: yenda <eric@status.im>
2019-08-22 14:56:10 +02:00
yenda 75ce7da50c remove realm chat-transport usages 2019-08-22 14:55:50 +02:00
yenda bd3ff3e96a remove dead realm usages 2019-08-22 14:55:41 +02:00
Andrey Shovkoplyas 50d64fee65 [#8624] Disable stickers in testnet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-22 14:25:59 +03:00
jakub 06dd2e5293 use wait-for.sh to fix nix/clean.sh race condition
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-21 18:53:00 -04:00
Vitaliy Vlasov 8c9af1ab51 Fix Android back button issues on intro screens
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-08-21 18:53:45 +03:00
yenda c75d5b24f6 [fix 8795] remove mainnet is default alert
Signed-off-by: yenda <eric@status.im>
2019-08-21 17:40:50 +02:00
Jinho Jang 5cc74b676c update Korean, Russian and Chinese translations
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-21 09:28:05 -04:00
Andrey Shovkoplyas ad0e0663f6 [#8548] No 'Paste' native Android option on longtap in the app input fields (conract-code, wallet recipient address etc)
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-21 13:41:59 +03:00
yenda 5cafef6702 remove contact-recovery
contact recovery is now handled by status-go

Signed-off-by: yenda <eric@status.im>
2019-08-21 10:37:46 +02:00
Andrea Maria Piana 79ab816497 Fix serialization of group-chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-08-21 09:50:27 +02:00
yevh-berdnyk da7a69bc02 Fixed tests with profile picture editing verifications
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-21 09:26:24 +02:00
yenda f2cf42715b use ethereum address of the default wallet account for ens resolution
Signed-off-by: yenda <eric@status.im>
2019-08-20 17:42:57 +02:00
yenda 1c475e5b1e replace last remains of web3.js by json-rpc 2019-08-20 17:42:02 +02:00
yenda d61fffb021 remove dev-server and extensions for v1 2019-08-20 17:42:02 +02:00
yenda d7cd2b8a74 integrate status-go accounts 2019-08-20 17:42:02 +02:00
yenda d2f1bbeb16 integrate status-go initKeystore native call
- avoids having to start a node before login
2019-08-20 17:42:02 +02:00
Churikova Tetiana 5e3d2d4625 set new folder for codeowners in e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-20 15:33:47 +02:00
Andrea Maria Piana dcb7415208 Move messages to status-go
This commit does a few things:

1) Move messages to status-go
2) Use message-id computed from status-go
3) Remove old replies

Old message id was used for compatibility of replies with older clients.
Given that v1 is breaking, this is not needed anymore and simplifies
moving messages to status-go. No protocol/data-store change is made, to minimize
changes.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-08-20 13:25:05 +02:00
Andrey Shovkoplyas b67eda9bc3 [#8729] iOS crashes on personal_sign
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-20 14:16:34 +03:00
yevh-berdnyk 5db9080990 Added tests for multiaccount
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-20 10:58:27 +02:00
yevh-berdnyk d2a9cb355a Updated test users public keys and usernames
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-20 10:57:51 +02:00
Pedro Pombeiro f0c3958367 nix: Pass target-os to Nix script
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-08-20 10:02:46 +02:00
Andrey Shovkoplyas b0db4c6354 Fiddle
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-19 13:22:11 +03:00
Andrea Maria Piana be9cd1b050 Revert "Added tests for multiaccount"
This reverts commit 5fc358469a.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-08-19 12:19:50 +02:00
yevh-berdnyk 2b3ef5b985 Fixed false failed tests
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-19 10:26:14 +02:00
yevh-berdnyk 5fc358469a Added tests for multiaccount
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-19 10:24:56 +02:00
Churikova Tetiana ebefb0c9e3 fixed actions for profile
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-19 10:16:59 +02:00
bitsikka 39e095e1ed [8069] feature - [Profile] My profile edit and share screens
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-19 11:09:38 +03:00
Andrey Shovkoplyas 11ed6f481f [#8762] Dapp can't derive a wallet balance, "Not enough ETH for gas" at attempt to send transaction in any DApp
Signed-off-by: yenda <eric@status.im>
2019-08-16 18:06:37 +02:00
Dmitry Novotochinov c2f646b8bd fix NFC detection
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-08-16 15:57:02 +03:00
jakub c2e17698eb don't allow overrides of TARGET_OS for startdev targets
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-15 17:45:42 -04:00
yevh-berdnyk 9a0bb7d137 Updated tests 5441, 5453, created 6221
Signed-off-by: Serhy <sergii@status.im>
2019-08-15 19:10:10 +03:00
Dmitry Novotochinov 9c0498bc68 Update .env.nightly
Enable keycard

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-08-15 13:00:42 +03:00
Pedro Pombeiro bdc0ba2680 nix: Reset node_modules when Yarn deps change
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-08-15 11:19:35 +02:00
Pedro Pombeiro 44bc306823 Update react-native-fs to RN >= 0.57 compatible version 2019-08-15 11:18:39 +02:00
Pedro Pombeiro 607c83c88b Remove unused react-native-invertible-scroll-view package 2019-08-15 11:18:38 +02:00
Pedro Pombeiro 91e9545c89 Remove react-native-os from mobile_files/package.json.orig 2019-08-15 11:18:38 +02:00
Pedro Pombeiro 2cccfa998d Fix devDependencies in package.json 2019-08-15 11:18:38 +02:00
Pedro Pombeiro 492f2df547 Move version definitions to gradle.properties
- Update minSdkVersion to 18
2019-08-15 11:18:38 +02:00
Pedro Pombeiro ff721ba1bf nix: Some minor fixes 2019-08-15 11:18:31 +02:00
Dmitry Novotochinov b635691c25 recovery flow v1
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-08-14 19:42:26 +03:00
Andrey Shovkoplyas ba112a765b [#8666] Add account via BIP 44
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-14 17:58:24 +02:00
yevh-berdnyk fde55b80d0 Added test for searching not used translation strings
Signed-off-by: Serhy <sergii@status.im>
2019-08-13 14:00:54 +03:00
Jinho Jang cb90c1b715 Merge pull request #8732 from status-im/update-translations
update the Russian, Korean and Chinese translations
2019-08-13 19:35:04 +09:00
Andrea Maria Piana 370bc207bc Add datasync confirmations, enable device-to-device by default
This commit adds datasync confirmations and enables device-to-device for
all the communications, as that's what we will go with v1.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-08-12 19:52:37 +02:00
Churikova Tetiana 6eb46c8fac update the Russian, Korean and Chinese translatins
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>

update the Russian, Korean and Chinese translations

disable coverage

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-12 23:03:04 +09:00
Andrey Shovkoplyas e4c0bcfc3d disable coverage
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-12 15:05:57 +02:00
Churikova Tetiana fc999c2462 Check version format
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-12 09:42:26 +02:00
jakub a79544d043 forgot to disable desktop stuff in other steps
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-10 02:17:04 -04:00
jakub c49e4933ee disable desktop builds for now
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-08 15:12:22 -04:00
Dmitry Novotochinov 2c5e985cb3 fix korean translations
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-08 14:56:09 +02:00
jinho jang 94373993cf update French, Japanese, and Korean translations with the latest version
Signed-off-by: jinho jang <jinho5051@gmail.com>

use the original ru.json (remove the updated one of the previous commit)

update fr, ja, ko json with the latest version

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-08 09:24:32 +02:00
hesterbruikman 0f57015b9e Update copy 'About names'
Resolves https://github.com/status-im/status-react/issues/8694

Old 'About names' copy:
Your identity is secure and private by design. You get a locally generated cryptographic keypair. The name and image are a readable version of this. They are unique. Nobody can pretend to be you. Nobody sees your name unless you provide it.

New 'About names' copy:
Your identity is secure and private by design. You get a locally generated cryptographic keypair. The name and image are a readable version of this. They are unique. Nobody can pretend to be you. Nobody sees your real name unless you provide it.

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-07 14:05:28 +02:00
Andrea Maria Piana fe9d4e9cd8 Move contacts to status-go
Contacts are now in status-go, no migration of contacts is provided so
all contacts will be lost upon installing this build.

I have left the initialization of filters a bit sketchy (we wait that
load-filters is called twice), as the next step will be to avoid calling
load-filters altogether, as now that both contacts & chats are in
status-go, there's no reason to call it from status-react, and can be
called directly from status-go on loading.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-08-07 13:39:59 +02:00
Churikova Tetiana 68da6159ed skipped some steps in e2e due to deleteing commands
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-07 11:19:20 +02:00
yevh-berdnyk df66f9ddbe Added new tests
Signed-off-by: Serhy <sergii@status.im>
2019-08-06 16:54:29 +03:00
Churikova Tetiana c8a4c2ac21 restore 7 accounts
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-06 10:53:46 +02:00
Andrea Maria Piana 6fa482a776 Move chats to status-go
This commit moves chats to status-go.

I have changed the logic to load all chats in one go for simplicity and
while that might have a performance impact, I think it's premature to
  optimize this flow as there will be more changes to the login flow.

Also currently this is likely to be slower as we need to wait for the
 status-service to be initialized, as well as realm.

No migration is provided as we are past the point of no return, so by
installing this version you will lose your chats.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-08-05 16:08:24 +02:00
snyk-test f464269263 fix: fastlane/Gemfile & fastlane/Gemfile.lock to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-RUBY-MINIMAGICK-451567

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-05 09:44:51 -04:00
Pedro Pombeiro 97c0a766d4 Probot: Change to 1 PR reviewer required (#8699) 2019-08-05 17:37:00 +08:00
Dmitry Novotochinov 60de46b6c2 keycard login v1
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-08-05 11:33:19 +03:00
Churikova Tetiana 5b08d129d4 skipped e2e due to missing commands in chat
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-02 13:57:18 +02:00
Churikova Tetiana 7f05c09632 ens e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-02 11:37:05 +02:00
Pedro Pombeiro f633e168ad nix: Upgrade to latest gomobile
- Makes a couple of patches redundant;
- Allows specifying min Android SDK level

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-08-02 10:20:52 +02:00
Pedro Pombeiro f691304b9d Fix minor issues and typos in Android build process
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-08-01 19:34:33 +02:00
Andrea Maria Piana 79f2eed181 update status-go
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-30 20:36:07 +02:00
Churikova Tetiana 90ec7768e6 disable 1 more e2e due to disable send to contacts from wallet 2019-07-30 20:35:58 +02:00
Churikova Tetiana ca97cb53fe skipped e2e for commands 2019-07-30 20:35:58 +02:00
Andrey Shovkoplyas 6d337bc69a multiaccounts 2019-07-30 20:35:58 +02:00
Andrea Maria Piana 1e655540da Fix loading of filters
Currently on some devices there are still some legacy chats(?) that are
one-to-one but don't have a public key as an id (transactor,demo-bot).
We were wrongly sending those to status-go to create filters.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-07-30 20:25:59 +02:00
jakub 7517f5235a use nix shell for nix-update-* targets
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-30 14:11:02 -04:00
Andrey Shovkoplyas 447d37e5ca [#8673] Temporay hide commands from chat and extensions
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-30 19:13:30 +02:00
Andrea Maria Piana 27b77a6dc9 Add datasync,v1messages & disable discovery topic
In preparation for v1 this commits adds a few options so we can get
start debugging the protocol for v1.
This options are:

1) Datasync: If enabled it will send datasync messages
2) V1Messages: If enabled it will send v1 messages (just adding a
signature to the message)
3) Disable discovery topic: If enabled it will stop listening/publishing
on the discovery topic. You will be able to receive messages only from
clients who have this enabled as well.

If any of this option is on, it will only be compatitle with builds >=
this one. A logout is required for any change to take effect.

All this options will be removed before v1, they are there just to make
it easier for us to test and find potential issues.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-07-30 19:11:59 +02:00
jakub 0b1659fab9 nix: use sha1 for status-go output filenameThis fixes issue with branch names containing slashes.Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-30 09:22:31 -04:00
yevh-berdnyk 6091517110 E2E tests false failures fixes
Signed-off-by: Serhy <sergii@status.im>
2019-07-30 16:07:27 +03:00
Pedro Pombeiro 9594552102 nix: Apply some nixfmt suggestions and fix macOS status-go buildInputs
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-07-29 18:01:07 +02:00
Pedro Pombeiro 4ab64d6c40 nix: Fix go-mobile temp folder location in iOS 2019-07-29 15:06:32 +02:00
yevh-berdnyk ce84f81741 Re-enabled and updated e2e tests
Signed-off-by: Serhy <sergii@status.im>
2019-07-29 14:54:25 +03:00
Pedro Pombeiro acf6278383 nix: Use nix/build.sh for release-android make target
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-26 16:01:06 -04:00
Andrey Shovkoplyas 808aa793e5 [#8648] Packs aren't shown in mainnet but we have them in the contract
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-26 15:02:48 +02:00
yenda 89abc8ab11 [fix #8638] issues with wallet transaction list
- pending transaction was using hash so mined transaction was using it's id
to have a unique id, the fix adds a rule when the existing transaction by hash
is in :pending state, the mined transaction overwrites it

Signed-off-by: yenda <eric@status.im>
2019-07-26 14:01:56 +02:00
yenda 16fac293ba fix #8580 typo in ios permission dialog
Signed-off-by: yenda <eric@status.im>
2019-07-26 12:46:23 +02:00
yenda c8a8b9fdc0 fix #8636
Signed-off-by: yenda <eric@status.im>
2019-07-26 12:45:47 +02:00
yenda 4bd46d9f1c fix #8639
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-26 12:43:52 +02:00
Andrey Shovkoplyas 1ec5d2b64b [#8631] Fix sticker price UI
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-26 12:37:13 +02:00
Andrey Shovkoplyas f3bb555d52 [#8626] Term 'Recovery phrase' should be used instead of 'seed phrase'
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-26 12:33:41 +02:00
yenda 3ea8538377 integrate status-go permissions api
Signed-off-by: yenda <eric@status.im>
2019-07-26 12:16:52 +02:00
yenda 0c839860a2 integrate status-go browsers api 2019-07-26 12:16:32 +02:00
yevh-berdnyk 7e061e9cd1 False failed tests fixed - chat, browsing, deeps links, transactions
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2019-07-26 00:54:48 +03:00
Pedro Pombeiro 2ac0630ef8 nix: fix target OS for add-nix-gcroots.sh
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-25 13:47:43 -04:00
bitsikka 07dfc95658 [8556] fix - Last message jumps up after chat is opened
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-25 14:29:46 +02:00
Andrea Maria Piana cb5768000a [Fixes #8604] Integrate status-go protocol library
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-07-24 19:53:34 +02:00
yevh-berdnyk f7bb0d3648 Fixed false failed tests
Signed-off-by: Serhy <sergii@status.im>
2019-07-24 19:10:33 +03:00
jakub 2acd5b4cb0 rename prod-build to jsbundle so it means something
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-24 11:56:03 -04:00
jakub 9d1bf5714d add --reset-cache to stop metro-cache from growing
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-24 09:39:17 -04:00
Andrey Shovkoplyas e64777f1d0 [#7723] Stickers are not tappable right after install
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-24 14:18:09 +02:00
yevh-berdnyk f0269bc732 Updated test_home_view with new onboarding flow
Signed-off-by: Serhy <sergii@status.im>
2019-07-24 11:53:33 +03:00
Julien Eluard f29f02d961 Migrate to latest sticker contract
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-24 10:23:15 +02:00
Dmitry Novotochinov d8645e2859 import keycard
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-07-23 17:28:57 +03:00
jakub b9ab37019d build status-go for Nix cache
Also fix scripts/update-status-go.sh to accept commit SHA1

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-23 01:01:41 -04:00
yenda 688bafc294 [wallet] integrate changes to wallet service
- update to wallet service now uses flat structure

Signed-off-by: yenda <eric@status.im>
2019-07-22 14:26:39 +02:00
yenda 562773fa1b [wallet] use status-go wallet service
- remove use of etherscan and subscriptions
- replace by status-go
2019-07-22 11:16:00 +02:00
yenda c3c4a5170a [multiaccount] rename multiaccount to account
Signed-off-by: yenda <eric@status.im>
2019-07-22 11:14:44 +02:00
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
Pedro Pombeiro f6527f014e nix: Improve some expressions 2019-07-19 20:59:16 +02:00
Pedro Pombeiro 7230897b94 nix: Allow some build directories to stay in mobile node_modules (for caching)
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-07-19 08:37:16 +02:00
Pedro Pombeiro 75d0af862f nix: Fix non-deterministic gomobile path for iOS 2019-07-19 08:36:49 +02:00
jinho jang 4d8891e35f update the latest Chinese
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-18 14:22:33 -04:00
Serhy 0c6c185394 Fixing e2e tests
Signed-off-by: Serhy <sergii@status.im>
2019-07-18 19:28:50 +03:00
Vitaliy Vlasov 3a903fbaa2 Revert "Hide key storage selection screen temporarily"
This reverts commit 8764fafc42.
2019-07-18 13:14:37 +03:00
Vitaliy Vlasov 8764fafc42 Hide key storage selection screen temporarily
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-07-18 12:59:01 +03:00
jakub 0d78e71ece allow for TARGET_OS to be not set
If we don't we will rebuild status-go for every platform
when we running `make shell`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-17 12:07:18 -04:00
jakub 158f9b4938 fix release builds by renaming .env.prod to .env.release
This way the nix expression in nix/mobile/android/targets/release-android.nix will not fail.
And the naming of build types and `.env.${type}` files will be more consistent.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-17 10:39:53 -04:00
Jinho Jang 8afd9c6b03 Update ko.json
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-16 13:55:49 +02:00
Serhy 840fbfd2d7 E2e nightly fixes
Signed-off-by: Serhy <sergii@status.im>
2019-07-16 11:28:27 +03:00
Pedro Pombeiro 90fbcfab2b nix: Only include fastlane in main shell when targetting iOS.
This sidesteps an issue where Nix complains about mismatched hashes in `ruby2.5.3-unf_ext-0.0.7.6` expression for Android CI builds.

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-07-15 16:35:01 +02:00
Pedro Pombeiro a7fd659d84 nix: Wrap gradle, npm packages, lein prod-build and gradle assembleRelease in Nix expressions to improve reproducible builds with constant build paths 2019-07-15 16:08:02 +02:00
Pedro Pombeiro 0ed6ef59ba nix: Make status-go mobile artifacts reproducible
- Replace random build paths in with fixed string
- Remove build ID sections
2019-07-15 16:08:01 +02:00
Pedro Pombeiro c051efb508 Use forked com.taoensso/timbre for deterministic builds 2019-07-15 16:08:01 +02:00
Pedro Pombeiro 182371e7a7 Fix yarn.lock 2019-07-15 16:08:00 +02:00
Volodymyr Kozieiev b71e37d8ab Fixed desktop build
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2019-07-15 14:47:27 +03:00
Vitaliy Vlasov 5a02074426 Fix repeated key generation
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-07-12 15:49:22 +03:00
Serhy 3c0a24f429 fix e2e wallet setup
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-12 12:36:45 +02:00
Andrey Shovkoplyas a71901d897 [#8458] [#8448] developed popover, share accounts and signing phrase popovers 2019-07-12 12:36:36 +02:00
Serhy d92eb8374f e2e fix after new onboarding
Signed-off-by: Serhy <sergii@status.im>
2019-07-12 13:02:10 +03:00
Dmitry Novotochinov a2da4dec63 [#8502] recover key to keycard
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-07-12 11:29:47 +03:00
Vitaliy Vlasov e28202521f Update launch logo
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-07-11 17:12:21 +03:00
Julien Eluard 28f7ea0408 Enable stickers on all envs. Use contenthash to identify stickers
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-07-11 15:06:32 +02:00
Vitaliy Vlasov 433f840f76 Onboarding sign-in
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-07-11 15:46:24 +03:00
tbenr b78bb456a4 add coverage test
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-10 16:15:44 -04:00
Pedro Pombeiro b77139c5e2 Fix warning in macOS Nix cache build
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-07-10 16:34:20 +02:00
Pedro Pombeiro 84cede5a96 Upgrade to react-native-firebase 5.1.1
- Includes the patch in our fork.
2019-07-10 16:34:04 +02:00
Vitaliy Vlasov 75162432e3 Fix onboarding notifications request
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-10 15:11:24 +02:00
Anton Danchenko 253c8c8e7a Test time to load for login screen
Signed-off-by: Serhy <sergii@status.im>
2019-07-10 10:45:14 +03:00
Andrey Shovkoplyas 368eaf1944 [#8506] [#8408] fixes signing panel
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-09 12:53:21 +02:00
jakub 0fe667ab18 add missing android sdk license acceptance in nix
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-08 15:36:52 -04:00
Vitaliy Vlasov e9fd6e1a6b Onboarding setup wizard
New onboarding e2e tests updates

New onboarding e2e fix 2

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-07-08 18:17:50 +03:00
Dmitry Novotochinov ac25f6766d new wallet sign with keycard flow
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-07-08 16:58:43 +03:00
jakub 068d726164 upgrade react-native: 0.59.9 > 0.59.10
This is due to issues with 64 bit builds, for more details:
https://github.com/facebook/react-native/issues/24261

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-05 09:08:05 -04:00
Pedro Pombeiro cef9f10df7 Fix RN 0.59.9 reference for mobile so it is deterministic
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-07-05 14:42:59 +02:00
Pedro Pombeiro 9e42930b38 Remove Igor from notifications 2019-07-05 13:40:32 +02:00
Pedro Pombeiro 977f1cd936 Remove RN patch 2019-07-05 13:40:31 +02:00
Pedro Pombeiro 48c7f928cd Clean up some nix files 2019-07-05 13:40:31 +02:00
Pedro Pombeiro 8d8ef4d263 Only bring in Android dependencies in gomobile if targetting Android 2019-07-05 13:40:31 +02:00
Pedro Pombeiro 9b7b5b9608 Ensure a consistent golang version is used throughout Nix 2019-07-05 13:40:30 +02:00
Volodymyr Kozieiev ea8bf402d7 Two pane ui on large screens
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2019-07-05 13:03:21 +03:00
Andrea Maria Piana de0d98da20 Use a signal for messages
This commits changes the behavior to read from a signal instead of
polling each filter.

We receive a signal from status-go every 0.3 seconds, only if new
messages are received. We receive a single signal for all the chats, and
we don't dispatch anymore on every message.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-07-04 15:07:59 +02:00
Serhy f2135c019f Disable e2e until 8234 merged
Signed-off-by: Serhy <sergii@status.im>
2019-07-04 12:54:15 +03:00
Andrey Shovkoplyas 893808116a fixed unknown recipient
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-04 11:13:23 +02:00
bitsikka ed050f30a6 [8452] remove scroll-view hack
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-04 09:10:32 +02:00
jakub 119c5303a4 don't raise exception on testrail api errors
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-03 12:32:42 -04:00
jakub cca2af6875 don't provide --apk=, it's already there
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-03 08:16:00 -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
Julien Eluard e1bcaebd2c Resolve ENS name in chats and profiles
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-07-02 19:41:07 +02:00
Andrey Shovkoplyas 73531b255b [#8509] Assets list is not fully scrollable on iOS
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-02 14:29:43 +02:00
Churikova Tetiana d4aac3c423 fix for 4 e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-07-02 09:59:01 +02:00
jakub 37dc51a93d add a Jenkinsfile for nightly end-to-end tests
also add error handling for TestRail

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-01 11:22:26 -04:00
yenda 2fd3fb96c7 [fix] missing icons in wallet
Signed-off-by: yenda <eric@status.im>
2019-07-01 14:06:55 +02:00
Churikova Tetiana 0c644705b3 fixed 19 e2e and skipped 3 e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-07-01 09:11:50 +02:00
Vitaliy Vlasov 4f6e06bf59 Use react-native-screens
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-07-01 09:30:19 +03:00
Roman Volosovskyi 6d1b376221 resurrect rn-snoopy and add some comments 2019-06-27 18:34:43 +03:00
Roman Volosovskyi 2b6bfb9851 connectivity-status animation with native driver 2019-06-27 18:09:18 +03:00
Dmitry Novotochinov ab2248f9f8 keycard onboarding v1
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-06-27 16:02:57 +03:00
Rikku b9d4e61fdf fix margin between the plus button and bottom tab bar #8166
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-06-27 15:51:51 +03:00
Anton Danchenko adb90e35de Chatbot fix
Signed-off-by: Serhy <sergii@status.im>
2019-06-27 09:50:27 +03:00
Churikova Tetiana eef777175e Fix e2e with default usernames instead of custom
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-06-26 17:17:08 +02:00
Roman Volosovskyi 6c50fe84f5 command suggestions and parameters animation with native driver 2019-06-26 16:55:35 +03:00
Roman Volosovskyi fd2c37df71 tooltip animation with native driver 2019-06-26 16:54:38 +03:00
Roman Volosovskyi 453fe60c46 signing sheet animation with nativeDriver 2019-06-26 13:25:28 +03:00
Serhy 7a7bafd5ef Fix critical e2e
Signed-off-by: Serhy <sergii@status.im>
2019-06-26 12:08:27 +03:00
Roman Volosovskyi 8ac0d6b92b delatable item animation with native driver 2019-06-26 10:55:49 +03:00
Roman Volosovskyi 72d2faee14 preload main tabs after login 2019-06-25 17:36:31 +03:00
Vitaliy Vlasov 9b82f5b9ec Fix public chats issue
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-06-25 16:53:35 +03:00
Roman Volosovskyi b172d60f1d dapp permissions sheet animation with native driver 2019-06-25 15:17:34 +03:00
Roman Volosovskyi cd968cc507 search input animation with nativeDriver 2019-06-25 15:12:13 +03:00
Serhy 7237dd510d Multiaccount critical e2e fixed
Signed-off-by: Serhy <sergii@status.im>
2019-06-25 13:42:27 +03:00
Igor Mandrigin 8321346ca5 [android] Restore compatibility with Android 6.x
Updates react-native to provide `java.util.Supplier` interface on its
own, instead of relying on it being in the stdlib.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-06-25 11:00:30 +02:00
Julien Eluard 3b7e92230b [Fix #8067] Added screens for ENS preferred name selection
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-06-25 08:50:39 +02:00
Roman Volosovskyi cd567656d6 stickers panel animation with native driver 2019-06-24 18:28:45 +03:00
Igor Mandrigin 79454938bc [android, ios] render markdown-ish formatting in chat messages natively.
use patched RN to make sure that heavily-formatted messages don't slow
our chats down.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-06-24 16:50:09 +02:00
Roman Volosovskyi ae52fd07f4 add back tooltip-triangle icon 2019-06-24 17:35:40 +03:00
Roman Volosovskyi 4242dddd10 fix network switching in dev mode 2019-06-24 17:11:37 +03:00
Roman Volosovskyi cd97557591 remove message options animation (dead code) 2019-06-24 17:03:36 +03:00
Roman Volosovskyi 4f6086ed1d input helper animation with native driver 2019-06-24 15:45:40 +03:00
Andrea Maria Piana 532664ab84 Adds topic negotiation and partitioned topic
All the code has been implemented in statusgo: status-im/status-go#1466

Basically all the whisper filter management is done at that level.

Technical description
On startup we load all chats and send a list of them to status go:
For a public chat: {:chatId "status"}, we create a single filter, based on the name of the chat.

For each contact added by us, each user in a group chat and each one to one chat open, we send:
{:chatId "0x", :oneToOne true}. This will create a chats, to listen to their contact code.

Any previously negotiated topic is also returned.

Once loaded, we create our filters, and upsert the mailserver topics, both of which are solely based on the filters loaded.
In order to remove a chat, we delete/stopwatching first the the filter in status-react and then ask status-go to remove the filter. For a public chat we always remove, for a one-to-one we remove only if the user is not in our contacts, or in a group chat or we have a chat open. Negotiated topics are never removed, as otherwise the other user won't be able to contact us anymore.

On stopping whisper we don't have to ask status-go to remove filters as they are removed automatically.

Some more logic can be pushed in status-go, but that will be in subsequent PRs.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-06-24 13:54:43 +02:00
Roman Volosovskyi e45479138f [Android] default white background on all screens 2019-06-24 13:54:36 +03:00
Julien Eluard 797d8037e0 Improved chat message tapping area
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-06-21 15:58:55 +03:00
Serhy 3973ebd607 Tx in Dapp multiaccount followup e2e fix
Signed-off-by: Serhy <sergii@status.im>
2019-06-20 16:23:46 +03:00
Pedro Pombeiro fad5f318cf Ensure shell.nix uses same nixpkgs as the rest of the environment
also remove gradle wrapper

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-20 09:18:24 -04:00
Vitaliy Vlasov b6163b8ae5 Check tribute if contact was added (but not otherwise)
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-06-19 15:19:09 +03:00
Roman Volosovskyi 2ad4c9c054 upgrade react-navigation 2019-06-19 12:00:22 +03:00
Serhy c9048f2e35 Fix stickers and wallet e2e tests
Signed-off-by: Serhy <sergii@status.im>
2019-06-19 09:32:22 +03:00
Andrey Shovkoplyas 26bbac83bc [#8348] [Multi-Account] Account overview + individual wallet UI
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-06-18 17:44:56 +02:00
jakub 33840b7b84 use nix shell for running fastlane ios clean
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-18 10:09:33 -04:00
Roman Volosovskyi 6da2c93a41 [mobile] switch to png icons 2019-06-18 15:10:10 +03:00
Julien Eluard 8aa16520c6 [Fixes #8066] Added native ENS registration
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-06-18 13:25:56 +02:00
Igor Mandrigin 23702dc1e7 [android] ignore the gms version from react-native-http-bridge.
`react-native-http-bridge` has an unbound dependency on GMS,
that sometimes brings unnecessary transitive dependencies to our builds.

This commit forces to ignore this depencency.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-06-18 12:55:18 +02:00
jakub c26572653f upgrade fastlane: 2.121.1 > 2.125.2
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-15 09:56:18 -04:00
jakub 5cf112e8a5 don't pass any arguments to getVersion
ab11a67c96 removed the argument but didn't clean this call

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-14 11:44:03 -04:00
jakub 1a4763c48d fix node_modules permissions before git clean
this is due to copying node_modules from nix store which is read-only

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-13 10:21:56 -04:00
Pedro Pombeiro 79db8e5107 Upgrade Xcode requirement to 10.2.1
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-06-13 15:03:58 +02:00
Pedro Pombeiro c18e2f8a09 Minor fixes in Nix 2019-06-13 15:03:44 +02:00
Pedro Pombeiro f5be5c3a69 Ensure watchman watch is removed after Jenkins build 2019-06-13 15:03:44 +02:00
Roman Volosovskyi 7097de6e05 [perf] extensions module 2019-06-13 09:35:09 +03:00
Roman Volosovskyi 908f730b1d [perf] network module 2019-06-13 09:33:18 +03:00
Igor Mandrigin 2204ad5142 Use initialNumToRender property + simplify our messaging FlatList.
see https://facebook.github.io/react-native/docs/flatlist#initialnumtorender

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-06-12 17:03:24 +02:00
Alexandre Magno 287e097471 adding error for a field defined with range that is out of range on extensions
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-06-12 17:02:23 +02:00
Serhy f3aa376d16 More e2e fixes
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-06-12 16:02:23 +02:00
Anton Danchenko d1b991f656 e2e fixes 2019-06-12 13:20:02 +02:00
Andrey Shovkoplyas 7de2941f26 [#8026] [Wallet] Sign transaction module 2019-06-12 13:20:01 +02:00
jakub eb4ba4c50e drop x86 and x86_64 for non-e2e or dev builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-11 13:30:49 -04:00
Roman Volosovskyi e925b2dc46 [perf] prod version of slurp
All resources loaded by slurp are moved to status-modules/resources dir
in release builds and are loaded only by demand instead of being bundled into
index.*.js.
2019-06-11 15:52:23 +03:00
jakub 7c1df4f3cd fix load of github groovy module
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-11 07:43:46 -04:00
tbenr 66dafaef25 [fix #8375] unavailable for non bioauth devices
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-06-11 09:28:15 +02:00
jakub 49d5a3082e run checks and build steps in parallel
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-10 22:07:55 -04:00
Roman Volosovskyi 9f8ab373f8 prevent showing error dialog and code loading 2019-06-10 21:12:20 +03:00
Roman Volosovskyi 3bd0947b4c [perf] move goog.i18n deps to a module 2019-06-10 21:10:42 +03:00
jakub 0e7f73fd11 add NIX_KEEP to add --keep to pyre nix shell
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-10 08:07:20 -04:00
Roman Volosovskyi cdae3423bc [perf] Minimize com.taoensso/timbre dependencies 2019-06-09 07:56:51 +03:00
jakub d75a412ae8 don't rebase manual builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-06-07 18:45:28 +02:00
Churikova Tetiana 3e8b02616b Requirement for Faucet request received is removed
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-06-07 16:18:22 +02:00
yenda bea720f8d0 [fix] crash on some android devices #8368
Signed-off-by: yenda <eric@status.im>
2019-06-07 15:56:27 +02:00
Pedro Pombeiro 1457f0f017 Some changes from the node2nix test branch that don't need to be there
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-06-06 19:13:31 +02:00
Pedro Pombeiro ab11a67c96 Move files that don't change per platform to the root 2019-06-06 16:56:24 +02:00
yenda 04de022eae [refactor] replace web3-prototype
- replace web3-prototype wherever possible
- currently only the money namespace is left
for future refactoring, the ideal solution
would be to use strings for big numbers all
the time and only convert for arithmetic operations
- use json-rpc call to replace trivial web3 calls

Signed-off-by: yenda <eric@status.im>
2019-06-06 15:57:34 +02:00
Jinho Jang c8bd627de2 Update ko.json
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-06-06 10:44:41 +02:00
Churikova Tetiana 6c76cc866c fetch_message and e2e fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-06-05 18:17:33 +02:00
Roman Volosovskyi 632bbf3bc1 [perf] Move translation to node_modules in release build 2019-06-05 18:40:53 +03:00
Rikku 4f125aec43 [#6517] fix chat preview amount ios
Signed-off-by: yenda <eric@status.im>
2019-06-05 16:01:34 +02:00
yenda c2b5523322 [fix] last message preview
Signed-off-by: yenda <eric@status.im>
2019-06-05 12:37:06 +02:00
yenda bd6583cb76 [fix][perf] fix typography on android
- remove font-weight and font-style on mobile because otherwise android
falls back to default font and doesn't use the font-family
- since nested text inherits from parent, only put the needed styling
in nested text style
- use parens instead of brackets to resolve components
2019-06-05 11:38:36 +02:00
yenda 1ae42ea424 [perf] upgrade realm and improve schemas/queries
- upgrade to realm 2.28 to benefit from perf improvements
- remove user-statuses and replace by seen and outgoing-status fields
to get rid of a lot of bloat queries and computations
- remove unused seen message, bottom-infos
- remove unused fields in transport schema
- use objectForPrimaryKey whenever possible instead of get by field

Signed-off-by: yenda <eric@status.im>
2019-06-04 23:36:35 +02:00
yenda b3df9d4952 [fix] class calls
This concerns:
- touchable-opacity
- animated-view
- scroll-view

Tip for rebasing:
search in project for `scroll-view)` `animated-view)` and `touchable-opacity)`

Signed-off-by: yenda <eric@status.im>
2019-06-04 11:25:35 +02:00
yenda 1cb7f3b83f [perf] remove unused schemas and properties
Signed-off-by: yenda <eric@status.im>
2019-06-03 18:24:34 +02:00
yenda 3826e3ecbd [fix] externs for Preview Privacy Mode
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-06-03 17:26:01 +02:00
yenda 48df741f8d [perf] small perf improvement for nested-text
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-06-03 17:25:10 +02:00
yenda a1d6ead6d3 [perf] use objectForPrimaryKey instead of getByField
Signed-off-by: yenda <eric@status.im>
2019-06-03 16:36:51 +02:00
Vitaliy Vlasov 04ccd0e7d8 Add TtT chat flow
Signed-off-by: yenda <eric@status.im>
2019-06-03 15:31:30 +02:00
yenda 75e20a0bbd remove useless field in message subs
Signed-off-by: yenda <eric@status.im>
2019-06-03 11:06:34 +02:00
tbenr e93906c0d9 update open-login-callback after fx/def macro fix
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-06-03 10:51:50 +02:00
Igor Mandrigin 34300cc0c0 Remove unused fields in chats dictionary.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-05-31 16:11:05 +02:00
yenda 334b3c41a9 [fix] event transfer hash turned into a function
that is silly

Signed-off-by: yenda <eric@status.im>
2019-05-31 11:05:24 +02:00
Churikova Tetiana 9fe656705e e2e for sync chats and profile
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-05-31 10:33:53 +02:00
tbenr 090a4e7c76 fixes #6573
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-31 10:25:24 +02:00
Roman Volosovskyi daacccb512 [Android, iOS] Advanced ClojureScript compilation 2019-05-30 21:23:31 +03:00
yenda f03225c03d [fix] destructuring in events for fx/defn macro
Signed-off-by: yenda <eric@status.im>
2019-05-30 18:17:28 +02:00
yenda 254639e586 [feature] add transaction watch
Signed-off-by: yenda <eric@status.im>
2019-05-30 18:16:18 +02:00
yenda 4b6e5763e1 [feature] add basic decoding support for swarm
Signed-off-by: yenda <eric@status.im>
2019-05-30 18:15:32 +02:00
yenda 131b423a0a [feature] allow internal transaction to specify asset
- allows transaction flow started by an internal feature to show
the right asset in the overview and in transaction messages
(required for tribute to talk)

Signed-off-by: yenda <eric@status.im>
2019-05-30 15:59:30 +02:00
Serhy 6a74c3a1ef Add scroll on wallet
Signed-off-by: Serhy <sergii@status.im>
2019-05-30 11:51:39 +03:00
Serhy c6a389b75b Update Play Store phone screenshots
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-05-29 17:18:36 +02:00
Igor Mandrigin 1c88237e44 bump version to 0.14.0
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-05-29 16:52:27 +02:00
Igor Mandrigin af6c784ab4 Prepare to use status-go based protocol: 1-1 and public chat management APIs.
Connect to stubs of status-go protocol API, behind the flag. Since status-go isn't updated yet, setting this flag will break the app.
What needs to be tested is no regressions in a normal mode.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-05-29 16:34:37 +02:00
yenda 513ca85f27 [fix] on-result event for in app transactions
Signed-off-by: yenda <eric@status.im>
2019-05-29 16:02:53 +02:00
Dmitry 8014f05837 Add goerli testnet
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-05-29 14:58:59 +02:00
Churikova Tetiana 590ba7c874 e2e pairing 1-1 and contacts
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-05-29 12:56:37 +02:00
Dmitry Novotochinov fd061833f5 save keycard key-uid to account and use it to login
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-05-29 12:55:32 +03:00
yenda 7b8bf647e2 [fix] superfluous keyword
Signed-off-by: yenda <eric@status.im>
2019-05-28 18:21:52 +02:00
Serhy 092860f38a Enable asset in Wallet before usage
Signed-off-by: Serhy <sergii@status.im>
2019-05-28 17:44:33 +03:00
Andrey Shovkoplyas 5382cad5ec fix custom tokens
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-28 09:21:45 +02:00
Roman Volosovskyi c7c7b50281 RAM bundle basic setup 2019-05-27 17:34:17 +03:00
yenda 9b04dc6530 [dev feature] extend the defn macro
the defn macro knows register the function as an events under the
keywords provided in the :events key of the attributes map. It also
adds the interceptors provided in the :interceptors map

exemple:

```clojure
(fx/defn hello4
  {:doc "this function is useless as well"
   :events [:test/valid1 :test/valid2]}
  [{:keys [db]} b]
  {:db (assoc db :a b) :b (:a db)})
```

Signed-off-by: yenda <eric@status.im>
2019-05-27 13:50:46 +02:00
Roman Volosovskyi 64afaf5eb3 [#8277] Report a bug template
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-24 12:14:11 -04:00
Dmitry Novotochinov 1341965a0f [#8256] do not call getApplicationInfo every time card connected
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-05-24 15:36:32 +03:00
Roman Volosovskyi 9394dc2bfe App version and more detail in logs email 2019-05-24 13:37:55 +03:00
Roman Volosovskyi b0be9ee976 Send logs on shaking device 2019-05-24 13:35:04 +03:00
Pedro Pombeiro ee127722ce nix: Move debug realm into desktop folder and use RN cli from node_modulesSigned-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com> 2019-05-23 22:54:43 +02:00
hlolli 7ba2a81735 [nix] patch realm as a nodePackage for linux and darwin and use it from nix store, add to default nix-shell buildDependencies, regenerate nodePackages with node2nix 1.6.1 2019-05-23 22:35:01 +02:00
yenda b13864d052 [refactor] move utils.ethereum to ethereum
move utils.ethereum.tokens to ethereum.tokens
move utils.ethereum.abi-spec to ethereum.abi-spec
move utils.ethereum.core to ethereum.core
move utils.ethereum.eip165 to ethereum.eip165
move utils.ethereum.eip55 to ethereum.eip55
move utils.ethereum.eip681 to ethereum.eip681
move utils.ethereum.ens to ethereum.ens
move utils.ethereum.erc721 to ethereum.erc721
move utils.ethereum.mnemonics to ethereum.mnemonics
move utils.ethereum.resolver to ethereum.resolver
move utils.ethereum.macros to ethereum.macros

Signed-off-by: yenda <eric@status.im>
2019-05-23 15:11:48 +02:00
yenda ded207ead2 [refactor] use ethereum current-address and chain-keyword
in many places in the codebase, we are doing various destructuring
and function calls to get the normalized current address and the chain
keyword for the current network

this PR replace all usages by utility functions introduced recently

Signed-off-by: yenda <eric@status.im>
2019-05-23 14:48:43 +02:00
jakub f551a3c0c5 add MOBILE_UI_FOR_DESKTOP=0 to other env files
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-23 08:19:04 -04:00
yenda 291c413848 [fix] remove duplicates of :hardwallet/verify-pin event
Signed-off-by: yenda <eric@status.im>
2019-05-23 13:52:03 +02:00
Anton Danchenko c08e370aa3 added test_open_blocked_site
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2019-05-23 12:13:16 +03:00
yenda 4103591fe1 [fix] always show tokens that have a balance
- temporary fix before visible assets are fixed
- the problem is that you can't hide an asset with the way it currently
works, it will come back every time as long as there is a balance for it

Signed-off-by: yenda <eric@status.im>
2019-05-23 10:56:35 +02:00
yenda b6fecd4e1c [refactor] remove ethereum call and call-params
- use `json-rpc/eth-call` and `json-rpc/eth-transaction-call`
everywhere
- move all conversions to abi-spec
2019-05-23 10:44:15 +02:00
yenda fc4c772c0b [refactoring] remove web3, clean up wallet effects
- introduce json-rpc namespace, which provides `call` and `eth-call`,
a generic way of calling a json-rpc method taking care of conversions
and error handling
- remove web3 usage from wallet
- clean up effects, reducing the amount of computations when login in
2019-05-23 10:44:15 +02:00
yenda 89680f4861 [performance] improve wallet update performances
`wallet-autoconfig-token` is a very expensive call on mainnet
because it checks the balance of every known token.

it is called:
- when wallet is refreshed by pulling
- when user goes on any wallet screen

this PR changes that by:
- calling it only when the wallet is initialized and there is no
visible-token configuration

it only calls update-wallet when a new transaction arrives
2019-05-23 10:44:15 +02:00
yenda 2cd26c585d [refactor] transaction history and filters 2019-05-23 10:30:33 +02:00
yenda f1b8ba8764 [refactor] transaction details 2019-05-23 10:30:33 +02:00
yenda b274ed9fa9 [feature] use new block signal to get new transactions
- remove the transaction fetching loop entirely to rely only on subscription
for live transactions and token transfer updates
- fetch token transfers history via etherscan API to lift the 100000 blocks
limit on token transfers history

- inbound token transfers are catched via a filter on ethlogs
- outbound token transfers and other transactions are catched by filtering
transaction in current block that have the wallet address as to or from field
2019-05-23 10:30:32 +02:00
yenda f5c18ae7a9 [feature] use subscriptions for tokens
- removes fetching of last 100000 blocks of token transfers from
the wallet pull loop
- fetches the last 100000 blocks of token transfers at startup
- replaces pulling by subscriptions to ethlogs for token transfers
2019-05-23 10:30:32 +02:00
Andrey Shovkoplyas 8c349a3038 [#8239] App crash when submit cryptokitties with different than it's valid domain
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-22 17:52:20 +02:00
Andrey Shovkoplyas 7a1cb54b2a [#8236] [Wallet] Custom token details and remove
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-22 16:50:05 +02:00
Edvard 0ac53000f6 Add Bloom token
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-22 16:42:20 +02:00
Roman Volosovskyi 932ef27ee8 [performance] limit number of rendered messages when open a chat 2019-05-22 16:59:13 +03:00
bitsikka d640b4c87c [7947] Feature: Blank out app preview screen when switching apps on mobile
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-22 15:31:50 +02:00
Churikova Tetiana 6b1c42ffcb added accessibility-labels
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-05-22 10:04:39 +02:00
Andrey Shovkoplyas df2a9a0297 [#8249] "" when grant access to ens dapp shown, it prevents the name to be registered
Signed-off-by: yenda <eric@status.im>
2019-05-22 09:56:40 +02:00
Pedro Pombeiro 373291bfc0 nix: Avoid bad practice of inheriting pkgs
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-21 12:15:56 +02:00
Serhy 3799df77cc Remove LightClient note from PlayStore
Signed-off-by: Serhy <sergii@status.im>
2019-05-21 12:38:55 +03:00
Volodymyr Kozieiev add759711a Optimized ScrollView instead of FlatList for desktop chat
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-21 10:51:36 +02:00
Igor Mandrigin 68fc93a935 android: add adaptive icon for non-debug builds
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-05-20 17:23:57 +02:00
Churikova Tetiana d49a8dd5e5 align e2e with 8210
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-05-20 17:21:05 +02:00
bitsikka 4f8399a8fd [7715] Feature: Contextual bottom sheet on long press
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-20 17:04:21 +02:00
Serhy aa7292d757 Fix deep links tests
Signed-off-by: Serhy <sergii@status.im>
2019-05-20 15:38:53 +03:00
Andrey Shovkoplyas 23b04288f1 [#7983] Basic user added ERC-20 support
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-20 14:29:38 +02:00
Roman Volosovskyi 543ccb69e8 Add send logs button to exception dialog 2019-05-20 15:25:27 +03:00
Dmitry Novotochinov 89643b425e [#8187] fix keyboard pop-up when logout after keycard setup finished
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-05-20 11:55:32 +03:00
tbenr 50f9354581 remove duplicate entries in en.json
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-20 09:20:29 +02:00
yenda 70e889a03a [performance] replace reduce by reduce-kv
For associative collections, using reduce-kv should
give a small performance gain over reduce as there is
no allocation of tuples for key/value pairs

Signed-off-by: yenda <eric@status.im>
2019-05-17 19:44:26 +02:00
Dmitry Novotochinov 29eeb140b9 [#8145] exclude some chars when generating pairing password
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-05-17 17:35:58 +03:00
Volodymyr Kozieiev 3939b46930 nix files changed to fetch updated base images for installers
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2019-05-17 12:46:46 +03:00
jakub 3527a5d2ce fix missing env prefix for CHANGE_TARGET
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-16 22:11:49 +02:00
Pedro Pombeiro 1aaf7f5acf Move to use Stale Probot instead of status-github-bot
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-16 13:22:40 +02:00
Pedro Pombeiro f43bc74760 Add auto_assign and CODEOWNERS config
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-16 11:47:21 +02:00
jakub 4f4cc91b88 use CHANGE_TARGET to rebase on actual PR target
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-15 17:56:37 +02:00
jakub c90fe74d9f check also branch name when skipping rebase
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-15 17:13:48 +02:00
Roman Volosovskyi 3226309bab Add js logs to archive 2019-05-15 17:40:41 +03:00
Igor Mandrigin 713a461415 bump version to 0.13.0
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-05-14 16:40:41 +02:00
jakub 0e8e5a51ba refactor nix_sh to give it optional Map arguments
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-14 16:06:16 +02:00
Pedro Pombeiro c59f372ef3 Disable PNG optimization on Android builds, for reproducibility
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-14 15:49:31 +02:00
Pedro Pombeiro 0f44a46f1f Remove leftovers from before macOS pure build 2019-05-14 15:47:50 +02:00
Volodymyr Kozieiev 807e816936 Made changes to ubuntu-server to reject connections not from localhost
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2019-05-14 15:10:00 +03:00
yenda b0449f3416 [fix] ipfs CID
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-14 13:44:08 +02:00
tbenr 1ff0a937ac fixes #7371
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-14 13:42:28 +02:00
Roman Volosovskyi 74093f6843 [iOS] Allow to send email with logs on iOS 2019-05-14 12:57:05 +03:00
jakub aa3c0fb585 add alternative nix-cache in China
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-13 19:37:19 +02:00
Churikova Tetiana 17c163ce48 Reworked test_purchase_pack_and_send_sticker
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-05-13 15:57:20 +02:00
yenda 65f05933bc [feature] use status-go signal subscriptions for current block
- use signal subscriptions to get latest block signals
- compute confirmations in transaction details from current block
dynamically

Signed-off-by: yenda <eric@status.im>
2019-05-13 15:36:58 +02:00
yenda 9b18f1d261 [feature] add varint encoding/decoding
Signed-off-by: yenda <eric@status.im>
2019-05-13 13:53:06 +02:00
Pedro Pombeiro b542c7de26 Minor refactoring of the way dependency packages are iterated for shellHook and buildInputs.
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-13 13:08:28 +02:00
Pedro Pombeiro 90d517adf6 nix: Add add-gcroots target to Makefile to avoid garbage collection
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-13 11:33:00 +02:00
Andrey Shovkoplyas 26390296b1 [#8160] "this.props.onPress is not a function" on tapping back from transaction details screen
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-13 09:53:19 +02:00
Dmitry Novotochinov 5d6d549511 [#7927] import keycard account to new device
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-05-11 23:10:02 +03:00
Dmitry Novotochinov 5762967a44 [#7887] handle tag lost errors
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-05-11 23:05:33 +03:00
Dmitry Novotochinov 1f24f1c4f6 [#7897] fix navigation bug on keycard tx sign
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-05-11 15:27:30 +03:00
Roman Volosovskyi ff39426e56 [android] send logs to error-reports@status.im 2019-05-10 17:02:58 +03:00
Pedro Pombeiro 4041a12612 Print a friendlier message when Xcode/iPhone SDK are not installed
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-10 15:07:52 +02:00
Pedro Pombeiro a09ff50583 nix: Move status-go package further down where it is actually used
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-10 13:31:44 +02:00
Pedro Pombeiro 84dc94f895 nix: name the github sources for readability in logs
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-10 11:49:09 +02:00
Pedro Pombeiro 93efc0cd05 Run prepare-for-desktop.sh in an impure shell 2019-05-10 11:48:32 +02:00
Pedro Pombeiro 62614a71d9 Move shellHook to respective Nix expressions 2019-05-10 11:48:32 +02:00
Pedro Pombeiro fca01891ba Improvements for a pure macOS Nix environment 2019-05-10 11:48:31 +02:00
Churikova Tetiana 5ce43b75f3 Fixed failed e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-05-10 11:20:41 +02:00
yenda 625ff669f7 remove unnecessary check in update-status-go script
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-09 18:34:52 +02:00
Pedro Pombeiro cc009a3c2c nix: Minor cleanup of fastlane expression
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-09 18:33:40 +02:00
Pedro Pombeiro a753be4ab9 Streamline status-go Nix expressions
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-09 14:16:33 +02:00
Pedro Pombeiro 69b9847c5f Don't ever try to install Nix on NixOS 2019-05-09 14:14:58 +02:00
jakub 3469c4a9b1 don't rebase on canary-branch
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-09 11:17:07 +02:00
Andrey Shovkoplyas eaf3e8d7bd [#8082] Some dapps don't work in status when privacy mode is enabled
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-09 10:55:30 +02:00
Serhy 3a0c0a8557 Add faucet.ropsten.be in tests
Signed-off-by: Serhy <sergii@status.im>
2019-05-08 20:23:05 +03:00
yenda 55fd6cefa7 Tribute to Talk adr
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-08 16:41:28 +02:00
Andrey Shovkoplyas f3b6f98079 [#8107] Wallet balance is not updated when transaction is received
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-08 16:40:47 +02:00
Andrea Maria Piana 441989f168 Make pr build debuggable
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-08 14:47:04 +02:00
Vitaliy Vlasov fae604b31f Fix group chat info labels
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-08 14:45:38 +02:00
Julien Eluard 99172607d5 [Fixes #7325] Add EIP681 deeplink support
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-08 14:44:24 +02:00
Dmitry Novotochinov 99e00898f9 [#7911 #7894] delete account and logout after keycard reset
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-05-08 14:35:10 +03:00
Andrey Shovkoplyas 5926c2bb55 [#8121] Resolved ENS address is not checksummed
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-08 11:54:53 +02:00
Serhy abeaaa4218 Enable TX history view test on PR level
Signed-off-by: Serhy <sergii@status.im>
2019-05-08 09:54:31 +03:00
Julien Eluard 7b0ebf75e9 Fixed broken EIP15777 support
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-05-07 15:38:55 +02:00
Roman Volosovskyi aaaa625e9a [#1442] Allow only decimal number in send command 2019-05-07 12:37:29 +03:00
Roman Volosovskyi 6b99225e06 [#8123] Show fetch more messages only after sync 2019-05-06 17:28:22 +03:00
Roman Volosovskyi 148d43fdab [#7871] Handle multiple opened screens with qr code readers 2019-05-06 17:25:02 +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 9d1e266145 Use fastlane Nix package instead of ruby/bundler for Android
- iOS still has issues with native Ruby dependencies

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-06 11:57:12 +02:00
Pedro Pombeiro b575f5f6a5 Create androidenv package with accepted license so build can run with --pure 2019-05-06 11:56:51 +02:00
Roman Volosovskyi 33621aec7c Fix crash on switching to Ropsten (dev mode) 2019-05-06 12:55:54 +03:00
Serhy 545eb513ff Share checksum address in wallet
Signed-off-by: Serhy <sergii@status.im>
2019-05-06 12:00:39 +03:00
Dmitry d1325fa4e5 Update status-go to v0.24.0-beta.1
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-05-06 10:42:45 +02:00
Dmitry Novotochinov 32620e7f5b [#7898] remove pin from alert message
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-05-06 11:28:32 +03:00
Volodymyr Kozieiev 32f7f91e32 Mobile UI on desktop can be enabled in .env file
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2019-05-03 18:11:09 +03:00
Alexandre Magno e6bd5c5016 adding error property on input component for extension
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-05-03 10:00:48 +02:00
Serhy 71852bf111 Adopt e2e to new Status.im design
Signed-off-by: Serhy <sergii@status.im>
2019-05-03 09:43:47 +03: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 7f9cc1a580 Make Probot move reviewed PRs to E2E Tests column
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-02 21:33:58 +02:00
tbenr 3095701ec0 fixes #7355
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-05-02 18:28:23 +02:00
Julien Eluard 25b17a85e3 [Fixed #7948] Do not navigate back to chat when in a DApp
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-05-02 18:27:20 +02:00
Roman Volosovskyi f0a55dda3d [#8080] Prevent extra gap in 1:1 chats on adding group chat 2019-05-02 17:05:00 +03:00
Goran Jovic d326148ad6 feature #4959 - eip-55 in wallet send and request
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-02 14:49:19 +02:00
Roman Volosovskyi 62e94ed4d4 [#7848] Fix crash on logout with opened transactions details 2019-05-02 14:06:50 +03:00
Andrey Shovkoplyas 082188eea9 small changes in subscriptions
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-02 12:13:37 +02:00
Roman Volosovskyi 70b95a3a4d [#8072] Fix crash on deleting group chat 2019-05-02 12:09:14 +03:00
Andrey Shovkoplyas a8bfa12da2 make contacts round again
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-02 10:52:15 +02:00
Roman Volosovskyi 3b90be2477 [#7859] Allow to select chat item below plus button 2019-05-02 11:18:57 +03:00
Roman Volosovskyi 8dc7c8986e [#8064] Fix deletion of a custom mailserver 2019-05-01 20:41:11 +03:00
bitsikka f9e5101426 [#7819] fix - avoid unnecessary effects when joining/syncing already active public chat
Signed-off-by: yenda <eric@status.im>
2019-05-01 15:04:15 +02:00
Andrey Shovkoplyas b44c86511e Update subscriptions codebase structure doc
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-01 15:02:23 +02:00
Andrey Shovkoplyas 428464df07 re-frame subscriptions optimization
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-01 12:49:31 +02:00
Roman Volosovskyi b90f1e5324 Gaps on desktop 2019-05-01 11:17:33 +03:00
Vitaliy Vlasov e725fffe22 Move block contact related code
- this will avoid circular dependencies in future Tribute to Talk commits

Signed-off-by: yenda <eric@status.im>
2019-04-30 16:57:34 +02:00
Pedro Pombeiro 6d4d39ae48 Change e2e kickoff column to "E2E Tests"
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-30 16:25:07 +02:00
Vitaliy Vlasov 1ca9294af7 [MVP TTT] Contract support for settings
- settings are stored in a manifest that is pointed at by the contract
- during login the contract is checked to fetch the settings

Signed-off-by: yenda <eric@status.im>
2019-04-30 14:52:33 +02:00
Pedro Pombeiro 1dc59cb770 Fix typo in android.nix PATH
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-29 22:17:49 +02:00
Roman Volosovskyi 0b32ded791 Loading indicator animation with useNativeDriver 2019-04-29 07:50:32 +03:00
Roman Volosovskyi e8ef7a4c33 update :network with proper value 2019-04-27 19:01:01 +03:00
yenda d383051737 [fix 8054] network in app-db is not always correct
- when login in after a different account using a different network
the new account inherited the network from the previous one
- this fixes it by using the account network when initializing app-db
instead of reusing current network

Signed-off-by: yenda <eric@status.im>
2019-04-27 12:03:47 +02:00
Igor Mandrigin aea761f314 workaround issue with building iOS release builds
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-26 16:04:29 +02:00
Andrey Shovkoplyas 4b62490e80 [#8051] TypeError (evaluating 'a.replace') when logging out with wallet is on 'Send transaction' screen
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-26 15:46:47 +02:00
Dmitry Novotochinov ebccb8e020 [#7908] [#7909] handle wrong pairing password
* show 'invalid pairing password' on failed pairing
* wrap view into scroll view

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-04-26 15:57:06 +03:00
Dmitry Novotochinov 08d7db80af [#7890] handle wrong keycard when signing
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-04-26 15:55:03 +03:00
Roman Volosovskyi 9b9eefbf0e Allow to fetch more history in public chats (up to 30 days) 2019-04-26 15:53:26 +03:00
Julien Eluard f6fce850b2 Revert "After dismissing error, no redirect to home and new qr can be"
This reverts commit 386c678caf.
2019-04-26 15:27:44 +03:00
Anton Danchenko 43ac92b9b0 enable stickers in e2e builds and added accessibility labels
Signed-off-by: Serhy <sergii@status.im>
2019-04-26 14:32:33 +03:00
jakub 3774a0845a add diawi upload retries
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-26 10:29:12 +02:00
yenda c4f719352e [fix] wallet on-error dispatch
the code to dispatch an event on transaction error was not working
this fixes it

Signed-off-by: yenda <eric@status.im>
2019-04-25 17:42:34 +02:00
yenda fa18f3b746 updating dev dependencies
Signed-off-by: yenda <eric@status.im>
2019-04-25 16:18:17 +02:00
Roman Volosovskyi 3a2d70273e Maintain scroll postion after fetching gap
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-25 16:01:03 +02:00
jakub e55cbc4c1f upgrade urllib3: 1.24 > 1.24.2
Details: https://nvd.nist.gov/vuln/detail/CVE-2019-11324

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-25 15:28:52 +02:00
jakub 9ff0ebce03 upgrade fastlane: 2.117.1 > 2.121.1
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-25 13:36:04 +02:00
Andrea Maria Piana 494772a35d Fix broken contact syncing
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-25 12:45:20 +02:00
Julien Eluard bdb672e131 [Fixes #8001] Fixes white flash on Android
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-25 08:59:00 +02:00
Roman Volosovskyi c98f547349 Multiple messages gaps per chat 2019-04-24 22:33:08 +03:00
yenda 60225995b7 fix token transactions
Signed-off-by: yenda <eric@status.im>
2019-04-24 19:52:58 +02:00
Dmitry Novotochinov 072ab5c487 ensure card has applet installed before starting setup
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-04-24 16:37:40 +03:00
Serhy c49a2269c5 Fix connection is secure test
Signed-off-by: Serhy <sergii@status.im>
2019-04-24 13:06:33 +03:00
Brandon Wissmann 701773608c remove ability to change values while signing transaction
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-04-24 12:00:00 +02:00
Andrey Shovkoplyas 722fd67938 [#8008] Error "No protocol method IDeref.-deref defined for type undefined:" and crash if open DApp permissions
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-04-24 11:58:17 +02:00
Andrey Shovkoplyas 0d2be79452 react switch warnings fix
Signed-off-by: yenda <eric@status.im>
2019-04-23 22:36:55 +02:00
yenda 3134d1dfce [fix] fetch wallet token transactions
- previously wallet transaction fetching was quite hazardous
- most of the time the `:wallet/all-tokens` map was nil so no token
was recognized
- the query for transfers was made accross 100000 blocks, now it
only checks that the first time, then from latest block checked minus
12 to follow progress of unconfirmed transactions

Signed-off-by: yenda <eric@status.im>
2019-04-23 14:24:41 +02:00
yenda 9d84ef3ad1 [feature] implement erc20 get-transaction for SNT and STT
- change `ethereum/get-transaction` to use call-private-rpc instead
of web3 object
- implement a version for erc20 tokens SNT and STT that provides enriches
result of get-transaction with `:recipient` and `:snt-amount`

Signed-off-by: yenda <eric@status.im>
2019-04-23 14:23:44 +02:00
yenda 2c028a474b [refactor] send-transaction-message fx/defn
- turn :send-transaction-message event into an fx producing function
- allow transaction with defined on-result event to also send transaction
message

Signed-off-by: yenda <eric@status.im>
2019-04-23 14:23:00 +02:00
Volodymyr Kozieiev d05ff8a1b8 Removed changes that lead to error when running desktop in a dev mode 2019-04-22 22:24:20 +03:00
Churikova Tetiana e9fa601e7a Add tests for block user from public chat and 1-1 header
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-04-22 14:49:24 +02:00
bitsikka 8482ea5b5a [#7933] fix - joining public chat with messages throws error
[#7933] fix - joining public chat with messages throws error
2019-04-19 13:00:23 +03:00
jakub a4b5f69e5b merge nix-cache build Jenkinsfiles
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-19 10:56:45 +02:00
Andrey Shovkoplyas 6f16ccf416 [#6457] Implement extension data persistence
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-04-18 15:53:22 +02:00
Andrey Shovkoplyas 159199a1b3 removed dapps list and introduced simple Dapp store dapp
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-04-18 15:49:06 +02:00
Serhy d5f8853b81 Update SimplDapp in e2e to use github url
Signed-off-by: Serhy <sergii@status.im>
2019-04-18 10:39:12 +03:00
jakub 78a1b025ac don't use docker containers on linux, nix rules all
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-16 21:35:51 +02:00
bitsikka cd1dfb67f4 [#7917] fix - Contacts are not synced between 0.11.0 and current nightly
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-16 21:33:46 +02:00
Roman Volosovskyi 5bd25515e4 Fix endless spinner on Fetch messages 2019-04-16 22:10:39 +03:00
Roman Volosovskyi 2753b0ef60 Skip fetching 24h of discovery topics on a new account
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-16 11:55:17 +02:00
Igor Mandrigin d905aa7fa4 request to squash commits if the PR has multiple
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-16 11:52:40 +02:00
Jinho Jang 89566a883d Update ko.json
update and sort the ko.json file in alphabetical order
fixed with Anna's test results (https://github.com/status-im/status-react/pull/7966#issuecomment-482635334)
2019-04-16 10:23:01 +03:00
Pedro Pombeiro a436793fa0 Consolidate TARGET_SYSTEM_NAME and TARGET_PLATFORM with TARGET_OS
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-15 20:31:38 +01:00
Pedro Pombeiro a7f8252d50 Add --pure to nix-shell calls 2019-04-15 20:29:55 +01:00
Andrey Shovkoplyas 0fb9cabcfc new profile hook and capacities
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-04-15 16:45:47 +02:00
Andrey Shovkoplyas b721f4810f fixes and improvements for chat command
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-04-15 16:44:42 +02:00
Kris Calabio a06ca37de5 Emoji-only messages can be long-pressed
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-15 10:25:13 +02:00
Roman Volosovskyi a4d8f57b09 Fetch missed range of messages 2019-04-12 16:22:44 +03:00
Roman Volosovskyi fbda69ff78 [iOS, Android] Upgrade realm-js 2019-04-12 16:21:41 +03:00
Pedro Pombeiro d453e510a2 Move shellHook to status-go package
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-12 14:02:04 +02:00
Pedro Pombeiro 8e6b8b1ff1 Use Android SDK from nixpkgs instead of downloading 2019-04-12 13:57:38 +02:00
Pedro Pombeiro 89f34a7707 Improve makefile to only make Nix install the bare minimum for intended platform
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-12 12:18:43 +02:00
jakub 42a3b7d195 fix setting of BUILD_TYPE and BRANCH params
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-12 11:49:02 +02:00
jakub 5c5e804c88 don't make e2e builds use modified ID
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-12 09:56:20 +02:00
Emilio Silva Schlenker 64b63d5593 [#7598] Beta alert on upgrading
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-11 20:50:10 +02:00
jakub 55abf20645 modify .env settings using Jenkins params
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-11 19:49:13 +02:00
bitsikka 316a50b032 [#7930] fix - No label is shown for empty chat screen if you open public chat via deep link after opening another public chat via deep link
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-11 19:35:29 +02:00
Pedro Pombeiro 9fe3395880 Migrate back to Node.js v10.15.0
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-11 18:59:50 +02:00
Pedro Pombeiro aeacbd928e Separate logic into shell.nix and derivation.nix to fix nix build command
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-11 17:44:29 +02:00
Pedro Pombeiro 7be77fffb0 Do not change user's profile with Nix installation
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-11 14:59:33 +02:00
Anton Danchenko 59823d4bea replace BS logo with a badge
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2019-04-11 12:05:27 +03:00
Anton Danchenko b16c224fd5 add daaps view, remove start_chat view; desktop and wallet modal
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2019-04-11 04:14:20 +03:00
Anton Danchenko 0944cedc80 added test sign_typed_message
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2019-04-11 01:51:46 +03:00
Pedro Pombeiro b06ef9cf6c Add space for docs PR in PR template
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-10 15:33:37 +02:00
Dmitry Novotochinov 14f3b43090 [#7892] generate mnemonic offline
pass bip39 words list to keycard sdk, instead of fetch it from github

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-04-10 14:38:30 +03:00
Churikova Tetiana e26844547d Clear group chat history
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-04-10 12:38:07 +02:00
jakub 1d00e9bb3d change App ID for PRs on Android to avoid replacing release
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-10 11:49:40 +02:00
Pedro Pombeiro cf6cbd7fa8 Replace usage of make setup
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-10 11:45:29 +02:00
Pedro Pombeiro fe80c7841e Build Android status-go mobile library on macOS
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-10 11:39:48 +02:00
jakub 7b309d4875 prevent nix setup running multiple times
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-10 10:44:17 +02:00
Pedro Pombeiro 3230f00c6c Make nix-shell implicit and add desktop-server target
- The makefile now defines environment variables for the Desktop debug environment that allows running side by side with release

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-09 16:04:16 +02:00
Pedro Pombeiro ea837ff353 Remove usages of nix show-derivation in build-desktop.sh for purity
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-09 14:13:14 +02:00
Pedro Pombeiro f048b8a80d Use gradle 4.10.2 package from nixpkgs so the wrapper doesn't need to download it 2019-04-09 12:44:39 +02:00
Pedro Pombeiro 65e6e80349 Create Nix package for building status-go 2019-04-09 12:44:39 +02:00
bitsikka be2b2a112e [#7931] fix - Text for chat name for empty public chat is not centered if contains > 1 row
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-08 19:27:37 +02:00
bitsikka 234a51c97e [#4158] Fix New messages counter being shown for already seen messages
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-08 19:26:57 +02:00
Kris Calabio 386c678caf After dismissing error, no redirect to home and new qr can be
scanned.

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-08 19:26:24 +02:00
Pedro Pombeiro b28e27947a Add Using Pivotal Tracker document
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-08 19:25:44 +02:00
bitsikka 747ca2b985 [#7915] fix - Text for empty chat state is shown upside down and text direction is strange 2019-04-08 14:47:36 +03:00
Anton Danchenko fac16ee53c added BS logo
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2019-04-08 13:33:15 +03:00
bitsikka 22bd2f1761 [#7799] fix chat does not scroll if touch starts on top of datemark
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-05 17:08:04 +02:00
jakub 9537425cf2 fix nix cache build process
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-05 16:05:03 +02:00
Julien Eluard 7dae2ecaf6 Fixed incorrect wallet on-open payload
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-04-05 16:00:01 +02:00
Dmitry Novotochinov 4decedf5f6 Revert "Revert "[#7133] sign tx with keycard""
This reverts commit 4ccb1ea52d.

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-04-05 15:49:47 +03: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
jakub c2fc510c8e use auto@status.im Apple account for signing app
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-05 10:48:17 +02:00
Roman Volosovskyi ce64bb8c1f set maxFontSizeMultiplier for text and text-input components on iOS 2019-04-04 16:58:23 +03:00
yenda 9b47275249 [fix] don't lose big number precision above 53 bits in abi-spec
- convert to string instead of numbers in hex-to-number
- remove usage of full web3 lib

Signed-off-by: yenda <eric@status.im>
2019-04-04 13:53:15 +02:00
bitsikka 6aae0b76b9 [#7454] fix add basic copy to public chat empty screen state + related issues/feature regarding chat message-views intro screens for all chats types
[#7454] fix add basic copy to public chat empty screen state + chat messages-views intro screens for all chats

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-04 12:34:37 +02:00
yenda c9a8fb2684 [fix] contract call effect should destructure keys not vector
- return params decoding should return nil and not "0x"

Signed-off-by: yenda <eric@status.im>
2019-04-04 10:04:29 +02:00
yenda 06f72e749e [fix] missing cofx for ipfs/cat call in contenthash/cat
Signed-off-by: yenda <eric@status.im>
2019-04-04 10:01:50 +02:00
Serhy 25c24bf716 Test opening app from deep links
Signed-off-by: Serhy <sergii@status.im>
2019-04-03 14:42:57 +03:00
tbenr 38fc712f07 fixes #7667
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-04-03 11:50:56 +02:00
yenda e690dbdf89 [feature] contracts namespace
* `open-sign-transaction-flow` cleaner version of
`open-modal-wallet-for-transaction`
* The contract namespace provides the `call` effect:
- takes contract identifier from contracts, method, params and callback
- select the correct contract address based on current network
- encode params, decodes results
- start wallet transaction flow for write calls

Signed-off-by: yenda <eric@status.im>
2019-04-03 10:26:26 +02:00
Dmitry Novotochinov 4ccb1ea52d Revert "[#7133] sign tx with keycard"
This reverts commit feffcaf33d.

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-04-02 20:12:40 +03:00
Dmitry Novotochinov feffcaf33d [#7133] sign tx with keycard
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-04-02 18:07:41 +03:00
jakub 916467555f add repo name to ghcmgr url
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-02 15:51:15 +02:00
Julien Eluard e66452ba4b Fixed missing parameter usage
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-04-02 14:35:03 +02:00
Igor Mandrigin ceeeebb001 bump develop version to 0.12.0 2019-04-02 15:25:06 +03:00
Julien Eluard fb27e13a31 [Fixed #7864] Removed now irrelevant dapps
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-04-02 13:08:44 +02:00
tbenr 6e84cf22a9 fixes #7363
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-04-02 13:06:58 +02:00
Roman Volosovskyi 24a978d442 Migrate to RN 0.59.2 2019-04-01 17:42:57 +03:00
Vitaliy Vlasov 76c2ad2bc4 Add mailserver and bootnodes settings
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-03-29 14:20:53 +02:00
tbenr 648dc9b74a fixes value -> data
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-03-29 09:14:19 +01:00
yenda 89902947b6 [feature] contenthash utility namespace
- support for ipfs only
- provides fns to encode and decode contenthashes as defined in EIP1577
- provides cat fx to retrieve contenthash

Signed-off-by: yenda <eric@status.im>
2019-03-28 17:23:00 +01:00
yenda 884a44b5df use call-private-rpc in ethereum/call
- remove web3 parameter for ethereum/call
- remove first parameter for callback of ethereum/call which
was always nil

Signed-off-by: yenda <eric@status.im>
2019-03-28 17:20:36 +01:00
Julien Eluard 1bfa3cf178 Upgraded to latest pluto
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-03-28 15:48:44 +01:00
yenda a6616033f4 [refactor] add check in abi-spec decode and expect a hex string
Signed-off-by: yenda <eric@status.im>
2019-03-28 15:38:20 +01:00
yenda 9aea669da3 [feature] add ipfs module to add and cat content on ipfs
Signed-off-by: yenda <eric@status.im>
2019-03-28 14:41:09 +01:00
yenda 1de40487e8 docstring have to be placed before arglist in defn
Signed-off-by: yenda <eric@status.im>
2019-03-28 13:38:23 +01:00
Pedro Pombeiro 6eb806d2c1 Replace usage of stdenvNoCC.
- For Linux, the real fix is `hardeningDisable` of "fortify";
- For macOS, the real fix is setting the C and CXX compilers in `desktop/build.sh` as well as disabling CMake install step;
- Unfortunately for iOS we still need stdenvNoCC (or find a way to use GNU's ld instead of Apple's)

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-27 14:03:48 +01:00
Pedro Pombeiro e8f762ec6f Fix missing directory in prepare-for-platform.sh
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-27 08:58:21 +01:00
Andrea Maria Piana 3eb570f082 Set chaos mode every time, dont show the popup everytime
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-03-26 15:58:21 +01:00
Pedro Pombeiro 581d27756e Fix leftover from make prepare-* which went unnoticed
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-26 14:23:51 +01:00
Churikova Tetiana 7cb1919f99 make_admin and remove_user group chat tests
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-03-26 14:02:23 +01:00
Pedro Pombeiro 5553486d31 Fix base image path import in Windows setup
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-26 13:29:16 +01:00
Pedro Pombeiro 119373ea33 Replace make prepare-* targets with implicit behavior
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-26 12:44:07 +01:00
jakub b6507ebb5a run bundle for building ios in nix_sh
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-26 11:07:51 +01: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
yenda 26b97ddf43 introduce system-tags
Signed-off-by: yenda <eric@status.im>
2019-03-25 16:55:09 +01:00
Roman Volosovskyi dd4d7457a5 [#7821] Fix navigation on sending eth from chat 2019-03-25 13:03:53 +02:00
Roman Volosovskyi 2e9b7e5532 Disable sending messages to partitioned topic 2019-03-25 11:35:51 +02:00
jakub 664162dd68 implement a custom retry for curl uploads
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-25 10:17:21 +01:00
Roman Volosovskyi d4d6757c69 [#4935] Prevent connecting to the network with wrong id 2019-03-25 09:45:52 +02:00
Pedro Pombeiro 738521092b Call make-prepare also on Desktop CI builds
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-22 16:26:58 +01:00
Pedro Pombeiro c53553e137 Use nix to download Desktop bundle base images
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-22 15:06:14 +01:00
Pedro Pombeiro fc5c8c2dc0 Add Dockerfile to generate image used in Jenkins 2019-03-22 15:05:27 +01:00
Pedro Pombeiro f0cd54e65e Fix missing artifacts in Windows build
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-22 14:30:52 +01:00
yenda d77c2f9c78 fix message on empty search results
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-22 14:26:05 +01:00
yenda d63b16b138 remove white line on android wallet screen
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-22 14:03:36 +01:00
Anton Danchenko fe76457609 confirm network connect
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2019-03-22 14:42:19 +02:00
Roman Volosovskyi 65e7e06b27 [#7681] Show confirmation dialog on switching to network with upstream RPC 2019-03-22 13:23:10 +02:00
Anton Danchenko 4150fbfe77 new faucet url and locators
Signed-off-by: Serhy <sergii@status.im>
2019-03-22 13:18:55 +02:00
Serhy dd6f659809 Fix e2e tests adding custom network
Signed-off-by: Serhy <sergii@status.im>
2019-03-22 13:17:03 +02:00
jakub cfcfa01a64 make sourcing nix quiet
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-21 18:58:52 +01:00
jakub 750cc93fe9 fix for e2e builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-21 17:48:39 +01:00
jakub 77267a145f check parameter, e2e builds can be release builds too
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-21 17:23:47 +01:00
Andrey Shovkoplyas 5e1713ddf8 [#7776] Blank screen after username submit when creating new account on Desktop
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-03-21 17:12:42 +01:00
Andrea Maria Piana 530a6dca2e Stop activity if we cant start node
Currently when receiving a push notification while the app has not
started (on android), the whole app is woken up. If autologin is enabled, we will try
to start the node, but will fail has no activity has been attached.
In such cases we try for 10s and quit the app if not successful.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-03-21 16:33:16 +01:00
Roman Volosovskyi 8f40f796f5 Add validation tooltip to mailserver/bootnode address input 2019-03-21 16:41:18 +02:00
jakub 52295502d0 don't rebase desktop builds on release either
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-21 14:42:53 +01:00
Pedro Pombeiro 774ad65229 Fix android debug build suffix
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-21 14:11:10 +01:00
Pedro Pombeiro 3b9123d482 Add ruby and bundler Nix packages for CI to fix android-e2e CI job 2019-03-21 13:57:03 +01:00
Pedro Pombeiro 214131a5b3 Discard temporary changes to package.json in build-desktop.sh after compiling 2019-03-21 13:57:03 +01:00
Pedro Pombeiro 9ac7ceb779 Revert last commit and patch linuxdeployqt so that it doesn't require massaging of files
- After decision to not support Ubuntu 16.04, we can drop the code that copied all the dependency tree
2019-03-21 13:57:02 +01:00
Pedro Pombeiro d37f702b6e unfinished: Bundle all Linux dependencies so that app can run on all distros 2019-03-21 13:57:02 +01:00
Pedro Pombeiro 4569e2283c Remove build Dockerfiles and NVM script 2019-03-21 13:57:02 +01:00
Pedro Pombeiro 5440378bbc Migrate remaining CI builds to Nix 2019-03-21 13:57:01 +01:00
Pedro Pombeiro 015f02ae84 Implement target-dependent installing of Nix dependencies 2019-03-21 13:57:01 +01:00
jakub 9f601e851d add jenkinsfile
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-21 13:57:00 +01:00
Pedro Pombeiro 3af25381e1 Change shebang in bash scripts 2019-03-21 13:57:00 +01:00
Pedro Pombeiro 87a7aacd68 Add Android NDK Nix expression 2019-03-21 13:56:59 +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
Pedro Pombeiro 2e7891406b Fix problem building sha3 node module in make setup 2019-03-21 13:56:57 +01:00
Pedro Pombeiro 692de32931 Migrate from installing tooling the traditional way to Nix 2019-03-21 13:56:57 +01:00
etherman e8116e7d62 added etherman to dapp list
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-03-21 13:44:52 +01:00
yenda 5e7186ed52 [fix 5695] remove close icon in add to contacts bar
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-03-21 13:44:00 +01:00
Andrea Maria Piana 25ea0192e5 Fix qr code and bootnode
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-03-21 13:40:45 +01:00
Andrey Shovkoplyas d698ffe09e [#7764] Image on Welcome to Status screen is not center aligned on small device screens
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-03-21 13:02:31 +01:00
Anton Danchenko cf21763a97 false failures fixes
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2019-03-21 13:47:20 +02:00
jakub 1edc39e46f re-add cache folders in /var/tmp, re-create bundle cache every time
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-21 12:45:45 +01:00
Roman Volosovskyi 6a3468c800 Request if chaos mode was enabled 2019-03-21 13:22:21 +02:00
Roman Volosovskyi 4e942a169a [#7549] Fix universal link to public chat 2019-03-21 13:06:21 +02:00
jakub 257f03bca7 upgrade ruby to 2.5
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-21 09:22:32 +01:00
yenda 496f3f1cc7 [design] use Inter font on Android
- implement typography component
- replace InterUI font by Inter font (renaming)

Signed-off-by: yenda <eric@status.im>
2019-03-20 18:42:31 +01:00
Roman Volosovskyi 403f327c34 [#7771] Fix beta warning 2019-03-20 15:37:04 +02:00
Roman Volosovskyi f25cf1a0f9 Reduce overdraw on main tabs
Fix e2e when swip-to-delete item
2019-03-20 14:59:22 +02:00
Anton Danchenko e87d93c820 open dapp fix
Signed-off-by: Serhy <sergii@status.im>
2019-03-20 13:45:10 +02:00
Roman Volosovskyi d40b71a4fe Reduce overdraw in bottom bar 2019-03-20 12:41:59 +02:00
Serhy 10cc181335 Remove Dapps from search on chat test
Signed-off-by: Serhy <sergii@status.im>
2019-03-20 12:20:43 +02:00
Andrey Shovkoplyas d0de1c5c24 [#7188] undefined is not an object (evaluating 'e.substring') when dapps / stickers offline
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-03-20 11:17:19 +01:00
Roman Volosovskyi c61ce1892f Fix error during cljs compilation with prod profile 2019-03-20 08:36:57 +02:00
Roman Volosovskyi 298f000fcb Disable Etherscan and Cryptocompare requests in chaos mode 2019-03-19 19:35:24 +02:00
Anton Danchenko 3c5502075a added chat search test
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2019-03-19 15:02:42 +02:00
Serhy 036692f8ba Fix autotests for new welcome screen
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-03-19 13:11:26 +01:00
Andrey Shovkoplyas ad4c6ce94f [#7684] Relocate and change menu for "+" icon on home/chat screen 2019-03-19 13:11:20 +01:00
decanus 8d9664581f changed translations
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-03-19 12:57:42 +01:00
Julien Eluard 38570aa42f Migrated to latest pluto release
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-03-19 12:55:15 +01:00
Andrey Shovkoplyas 3efeb71a16 desktop emoji
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-03-19 11:29:53 +01:00
Churikova Tetiana f8dfc82dd4 Decline group invites
Signed-off-by: Serhy <sergii@status.im>
2019-03-18 16:59:16 +02:00
Roman Volosovskyi 7f76e2fbf0 Enable partitioned topic 2019-03-18 13:52:13 +02:00
Andrea Maria Piana dc0d42ee6b Don't specify to when making the request to mailserver.
In some cases (say the clock of the device has drifted) specifying a `to` parameter
is decrimental and might result in missing messages.

We have changed the mailservers to default `to` if not present to `now`,
which should gives us better guarantees.

We also removed the 24 hours limit as now all the requests will be
paginated according to the `limit` parameter.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-03-15 16:09:52 +01:00
Volodymyr Kozieiev cb4dc876f1 Removed react-native-webview from clj-rn.conf.edn
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2019-03-15 16:25:52 +02:00
Andrea Maria Piana 3431957a7f Pass cofx as first parameter when deleting bootnodes
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-03-15 13:23:19 +01:00
Andrea Maria Piana f446dbd585 Remove read profile android permission
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-03-15 13:21:48 +01:00
Goran Jovic fcb3cef110 refactor #7571 - decoupled request transaction from send transaction flow
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2019-03-15 10:43:53 +01:00
Goran Jovic dccc81db7b bug #7724 - correctly showing password errors for sign message
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2019-03-15 10:42:26 +01:00
yenda 670deb1f4c [design] remove letter-spacing property
Signed-off-by: yenda <eric@status.im>
2019-03-14 20:59:30 +01:00
Andrea Maria Piana d32f81bbff Set maximum number of attempts in config
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-03-14 16:23:14 +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
Speedy Fixer 8f0955bea9 [Fix #7075] Show decoded topics and data as a clojure map in events properties
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-03-14 13:45:20 +01:00
Serhy 8e1da91ea0 Update e2e test to scroll more for TestDapp
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-03-14 11:10:37 +01:00
Serhy ac718de425 Update critical autotests 2019-03-14 09:45:55 +01:00
Andrey Shovkoplyas 30ab6c159a [#7534] Separate DApp & chat tabs in mobile navigation 2019-03-14 09:45:53 +01:00
yenda 7cad165a66 fix missing toolbar separator
Signed-off-by: yenda <eric@status.im>
2019-03-13 17:24:24 +01:00
Dmitry Novotochinov f91a69c6b0 Make keycard login faster
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-03-12 13:38:36 +03:00
Anton Danchenko cf0afbca14 removed link to jenkins job in a PR
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2019-03-12 11:24:21 +02:00
tbenr 2fd3ff798a support style in link
and map-link components in extensions

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-03-11 14:56:33 +01:00
Roman Volosovskyi a30c379a87 Bottom tab animation on leaving/entering main tabs 2019-03-11 10:58:15 +02:00
tbenr de5c23d39f fixes #7353
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-03-11 09:40:41 +01:00
jakub f7ab70ad5a post diawi link to ghcmgr for ios
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-09 08:57:33 +02:00
Dmitry Novotochinov 43bd6d159a improve keycard installation UX
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-03-08 14:57:29 +03:00
Andrey Shovkoplyas 59feb5ecd8 [#7611] Update stickers contract and use "approveAndCall" feature
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-03-08 10:31:51 +01:00
Andrey Shovkoplyas 38aca129cd [#7527] Extension is not shown in chat if Development mode is switched off
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-03-07 20:33:19 +01:00
jakub 0887a5299a add github releases for mobile
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-07 19:16:15 +01:00
jakub 3253f0d847 add retries to SauceLabs upload
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-07 17:56:45 +01:00
Andrey Shovkoplyas ba37f7b8d0 [#5461] Implement EIP-712
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-03-07 15:39:17 +01:00
jakub 47f7dbac9d upload ipa files to DO and Diawi on release too
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-07 12:00:08 +01:00
Andrea Maria Piana 382eeaa696 Fix datemark calculation not taking into account local time
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-03-06 19:37:47 +01:00
tbenr b1331378d5 fixes #6597
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-06 17:09:58 +01:00
yenda 9634a8ae1b [fix 7617] search bar glitch
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-06 17:01:40 +01:00
yenda 3584b31747 [fix 7630] remove unread messages badge in chat toolbar
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-06 17:00:56 +01:00
jakub 6ff36b5dd5 fix missing cmn. prefix
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-06 15:49:20 +01:00
Jinho Jang 6d6bed4282 Update ko.json
Korean translations update
2019-03-06 16:28:46 +02:00
jakub f67ee8db56 upload release.json for release builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-06 14:52:26 +01:00
Roman Volosovskyi 7e9565c7e3 Fix default background on iOS 2019-03-06 13:08:03 +02:00
Serhy 54a364a78f Update set of critical tests #7658
Signed-off-by: Serhy <sergii@status.im>
2019-03-06 10:50:46 +02:00
Serhy aa0c457382 Disable wallet modal tests
Signed-off-by: Serhy <sergii@status.im>
2019-03-05 11:19:25 +02:00
Roman Volosovskyi 73668d2e53 Add components/src to source-paths
Otherwise changes in this ns are not loaded by figwheel during development
2019-03-05 10:00:56 +02:00
yenda c763a001c3 [fix 7652] fetching indicator on Home tab
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-04 18:17:23 +01:00
Andrea Maria Piana 422ed6a227 Update translations
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-04 17:29:06 +01:00
Andrea Maria Piana b26b6ee5e0 Add unpinning of mailservers
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-03-04 14:06:09 +01:00
lokalise-bot 6fe3f0500a Lokalise: update of translations/en.json
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-03-04 11:22:38 +01:00
Andrea Franz d4594d815f add hash-transaction and send-transaction-with-signature
Signed-off-by: Andrea Franz <andrea@gravityblast.com>
2019-03-04 11:19:50 +01:00
Serhy a98264014f Fix switch to home view from Wallet
Signed-off-by: Serhy <sergii@status.im>
2019-03-04 11:33:58 +02:00
Roman Volosovskyi b7b221daff Remove :wallet-modal screen as it is not used anymore 2019-03-01 20:51:08 +02:00
Roman Volosovskyi ac10166f98 Remove unneeded backgrounds in intro-login stack 2019-03-01 18:02:35 +02:00
Andrey Shovkoplyas c491654eec [#7262] Remove shortcut creation when following universal links inside status
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-03-01 17:00:54 +01:00
Goran Jovic 520f6ad354 refactor #7263 - decoupled sign message flow from send transaction flow
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-03-01 14:41:06 +01:00
Goran Jovic e574b656f1 feature #7568 - added WIBB token on rinkeby
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-03-01 14:40:31 +01:00
jakub 30dc24a3a9 ci: move windows base image to docker image, add workdir
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-03-01 14:39:43 +01:00
jakub 5a07956672 fix pgrep by using --full for checking whole command line for name
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-01 13:43:41 +01:00
Dmitry Novotochinov 908e80eb0b [#7216] import account to keycard
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-03-01 14:38:00 +03:00
Andrey Shovkoplyas 4c2054afd4 [#7589] Stickers packs horizontal scrolling
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-03-01 12:17:12 +01:00
Roman Volosovskyi 82493e2742 New bottom nav design 2019-03-01 12:15:06 +02:00
Igor Mandrigin 99cf679a4e bump version to 0.11.0
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-03-01 10:41:17 +01:00
jakub 9b3580fafe ci: disable copying artifacts and using non-existent url
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-03-01 09:52:10 +01:00
Roman Volosovskyi d7009cbd28 [reduce overdraw] Remove stack card background on Android 2019-03-01 10:32:39 +02:00
jakub fd59e76603 ci: use legacy build system to avoid xcode 10.1 issues
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-03-01 09:16:03 +01:00
Oskar Thorén e02b89660f ARD: 0011. Tweak PR process [no code] (#7584)
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2019-02-28 23:38:53 +08:00
Andrea Maria Piana edf810444d Fix concurrent retry-request
Sometimes it happens that the expired signal is received while the
there's a new request in flight.
This happens in cases such as:

1) We send a request (A)
2) We get disconnected from the mailserver
3) We connect to a new mailserver
4) We send a request (B)
5) We receive an expired signal for A

In such cases the request should not be retried or counted as a failure.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-28 15:28:59 +01:00
yenda 75294302ff fix my name
Signed-off-by: yenda <eric@status.im>
2019-02-28 14:50:42 +01:00
yenda c6721dcdfc fix arrow alignment
Signed-off-by: yenda <eric@status.im>
2019-02-28 14:50:02 +01:00
Igor Mandrigin a34ec7ffbe [temporary workaround] ci: don't check certificates in AppStoreConnect when building iOS
it will break adding new devices, but will help workaround the isssue
that we don't have 2FA installed on our Apple ID

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-28 13:58:44 +01:00
Serhy 8aaafa3102 Add tests create acc with special chars pass
Signed-off-by: Serhy <sergii@status.im>
2019-02-28 11:07:05 +02:00
Igor Mandrigin 571514154d ci: don't rebase release branches on develop
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-28 09:26:35 +01:00
Roman Volosovskyi 9f5d5d8349 revert Replace react-navigation-stack with fork without default background color 2019-02-28 10:12:53 +02:00
jakub 62dc664090 ci: avoid running pod while there's another instance running
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-28 09:04:42 +01:00
yenda 0613563fa9 remove print statement
Signed-off-by: yenda <eric@status.im>
2019-02-27 20:18:10 +01:00
Vitaliy Vlasov c23d26e273 TtT Profile screen
Edit screen

Edit screen updates

Learn more screen

Add SNT asset value

Formatting

Add TtT note to QR code viewer

Fixes

UI fixes

Intro screen

Fix learn more

Add learn more subtext

Remove unneeded logs

Screen fixes 2

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-02-27 20:08:39 +02:00
Igor Mandrigin cbb0221e7f remove (unused) react-native-level-fs
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-27 17:32:34 +01:00
yenda 1c03976b2f [refactor] remove triple import
Signed-off-by: yenda <eric@status.im>
2019-02-27 17:01:25 +01:00
Igor Mandrigin b6a326ffc2 settings: fix a typo in dapp permissions label
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-27 16:33:35 +01:00
Igor Mandrigin 4fa1ae614a android: don't crash on invalid URLs
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-27 13:59:51 +01:00
Zed Tan fa78c5f8bb [#7400] implement updated copy for beta alert and disclaimer
Signed-off-by: Zed Tan <zed@shootbird.work>
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-02-27 13:36:10 +01:00
Andrea Maria Piana bfbc04ebae Fix separate topic group chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-27 11:22:27 +01:00
Roman Volosovskyi 5368604353 Replace react-navigation-stack with fork without default background color 2019-02-26 19:08:36 +02:00
yenda 6b6847a1ba [feature] search chats
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-26 18:01:25 +01:00
Andrea Maria Piana 4f89073ae8 Add network info in about, with copy to clipboard
In network we show peer infos about you and the connect peers.
Any entry is about is clickable and will copy the value to the
clipboard. Copy info will copy all the info in a JSON string.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-26 17:31:55 +01:00
Andrea Maria Piana 6a42580fc2 Remove separate topic from group chats
Currently the separate topic was not used, as it's a bit tricky to
coordinate when multiple devices from different versions are present,
with the partitioned topic, probably this optimisation is not necessary
anymore, so removing this for now.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-26 17:18:26 +01:00
Andrea Maria Piana 71654a6829 Confirm pairing messages
Partially addresses https://github.com/status-im/status-react/issues/7513
This commit adds confirmation to pairing messages, which previously were
not confirmed.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-26 17:12:05 +01:00
Roman Volosovskyi d6bd685703 [#7537] fix Contact stuck on login screen
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-26 15:50:52 +01:00
Andrea Maria Piana 229f5ae108 Dont change mailserver if no network
When we are offline, we don't try to change mailserver, and we don't
show a pop up to the user, as it is not that the mailserver is not
working, we are just offline.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-26 15:32:54 +01:00
Igor Mandrigin 8a2b7fc0dc bump version to 0.10.0
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-26 14:12:01 +01:00
Andrea Maria Piana 25118052df Convert address to checksum address before testing for eip55
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-26 12:37:55 +01:00
Igor Mandrigin 1c972a4ad5 fix empty geth.log on iOS and Android
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-26 12:35:25 +01:00
Igor Mandrigin e588de35aa Show status-go version again.
Also, don't hide errors when it is impossible to parse versions string that
comes from status-go.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-26 09:48:32 +01:00
Andrea Maria Piana c56ef18ca9 Retry mailserver request when initial request fails
If the initial request fails we immediately show the error pop-up. This
PR changes the behavior so that it is retried just like any other
request. If 3 requests in a row fail, we show the error pop up if the
user has specifically set a mailserver, otherwise is changed
automatically.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-25 21:43:15 +01:00
Pedro Pombeiro ceebbc8795 Add configurable e2e tests kickoff project board column name
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-02-25 21:05:52 +01:00
Dmitry Novotochinov bae935d3e4 [#7217] check card state before installation
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-02-25 22:57:56 +03:00
Roman Volosovskyi 7a6a508696 remove main-tabs ns 2019-02-25 16:30:01 +02:00
yenda 8b01ae232c compress images
Signed-off-by: yenda <eric@status.im>
2019-02-25 13:30:51 +01:00
Roman Volosovskyi 159c57a21d Set #FFFFFF as default background color on Android 2019-02-25 14:22:47 +02:00
Roman Volosovskyi a3316bc8fa Keep message list rendered while switching between tabs 2019-02-25 13:03:18 +02:00
jakub ff3a54e9e3 remove mounting of /dev/fuse for linux builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-02-25 10:55:42 +01:00
Andrey Shovkoplyas a1aeff70e5 [#6703] Stickers UI and contract wedding
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-02-25 09:29:15 +03:00
Roman Volosovskyi 2fa27d4ef9 fix status bar colors 2019-02-23 15:04:25 +02:00
Igor Mandrigin 6e7cd3794e Enable mailserver confirmations on all builds (except release).
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-22 16:59:24 +01:00
Pedro Pombeiro d0f1c14bfe Add .mailmap file
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-02-22 16:22:37 +01:00
Pedro Pombeiro 9f9fae62a8 Minor changes in build-desktop.sh 2019-02-22 16:22:06 +01:00
Pedro Pombeiro 1c7eaf1b76 Replace sed with jq in build-desktop.sh 2019-02-22 16:22:02 +01:00
Goran Jovic f7779023ca renamed deposit to receive on main wallet screen
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2019-02-22 13:59:38 +01:00
Serhy e55f8c95e2 Not expect messages after join gh
Signed-off-by: Serhy <sergii@status.im>
2019-02-22 12:33:49 +02:00
yenda 58d7181464 [fix 5772] overlap in login screen on small screens
Signed-off-by: yenda <eric@status.im>
2019-02-21 17:07:53 +01:00
Roman Volosovskyi 2ae666a5e0 Add back :mobile-network-settings route
It was unintentionally removed during nav refactoring.
2019-02-21 15:48:05 +02:00
Andrea Maria Piana c9994b5d0f Dont override last-clock-value on messages
The denormalized-clock-value was erroneously set to the one of the last
message received. This meant that on chats were the clock-value raced
ahead of the timestamp (#status), a message from the mailserver or a
message from someone with an old clock-value would basically make those
messages be sorted in the past.

The correct behavior is that last-clock-value for a given chat should be
the maximum last clock value ever seen for that chat.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-21 13:41:06 +01:00
Roman Volosovskyi b8d4f2911b new bottom tab (react-navigation) 2019-02-20 19:14:17 +02:00
Brandon Wissmann 0fe4ac516f Added WBTC token
Signed-off-by: yenda <eric@status.im>
2019-02-20 12:34:49 +01:00
yenda f31bb4a4b2 [fix 7521] error when receiving message from blocked user
Signed-off-by: yenda <eric@status.im>
2019-02-20 12:34:02 +01:00
Andrea Maria Piana 9040f0345a Fix block contact db error
https://github.com/status-im/status-react/commit/bddae03ab234f6574b0c5d4615f586e81512a638
broke adding a user to contacts, this fixes by serializing the contact
before saving it.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-19 18:56:12 +01:00
Igor Mandrigin c081f7f49c ULC mode for Ropsten
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-19 17:59:45 +01:00
Andrea Maria Piana fecb9bed7e Update bundle script
With the change in status-go mobile the name of the artifact as changed
and currently the script is looking at the wrong file.
I have also added an option to not clean the repo (only if specified),
as I rarely want to clean the repo myself, and I have always to comment
it out.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-19 13:40:05 +01:00
Andrea Maria Piana bcbaeb2cd9 Handle request error
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-19 13:39:02 +01:00
Andrey Shovkoplyas 448581058c [#7451] Stickers support on desktop
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-02-19 12:04:17 +03:00
Serhy 8def565664 Add tests for send tx in Dapp
Signed-off-by: Serhy <sergii@status.im>
2019-02-18 16:23:42 +02:00
Serhy 9a5707583e Custom network and seen status autotests fix
Signed-off-by: Serhy <sergii@status.im>
2019-02-18 16:21:53 +02:00
Andrea Maria Piana 9c6cce7d4d Allow to send transactions to non-contacts
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-18 11:33:39 +01:00
Andrea Maria Piana dac323a3de Remove automatic sending of contact request 2019-02-18 09:37:35 +01:00
Andrea Maria Piana becb32d5e7 Use dedup-id instead of raw-payload
This is a backward/forward compatible change with status-go.
We are changing the way messages are confirmed from passing the
raw-object to status-go to a dedup-id instead, which needs to be sent
back.
Based on the response from status-go we detect whether they are ids or
object and act accordingly.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-17 23:05:25 +01:00
Serhy 8812c0f8bc Selecting users when creating group chat
Signed-off-by: Serhy <sergii@status.im>
2019-02-15 15:21:12 +02:00
Roman Volosovskyi e9bc937f9a fix No second Wallet screen when send two Tx one after another in Dapps 2019-02-15 14:04:35 +02:00
Julien Eluard 19fc26c1c2 Do not navigate-back when selecting from gallery
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-02-15 12:07:13 +01:00
Andrey Shovkoplyas c0d659d008 open-url extension event
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-02-15 11:50:00 +01:00
Roman Volosovskyi 60fd80f353 fix mobile-network-stop-syncing-details label 2019-02-14 22:33:37 +02:00
Roman Volosovskyi 25bc3429cd Enable new routing, remove old code 2019-02-14 18:20:32 +02:00
Andrea Maria Piana bddae03ab2 Allow multiple push notifications
We keep tokens synchronized across devices, so that the user can notify
us on any paired device.
Currently we record the installation id associated to the fcm-token even
though is not necessary, but it will be once we send device-to-device
messages, in which case we want to notify only those devices.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-14 16:33:50 +01:00
Roman Volosovskyi 8c9e71c9d4 Routing refactoring, preparations related to new navigation
- screens definition is separated from configuration
  (deduplicates screens which are used among several stacks)
- all four stacks moved to separate namespaces
- configuration is just a data
2019-02-14 15:15:23 +02:00
Igor Mandrigin 2c77822a6c Communicate with bootnodes, mailservers and whisper nodes by :443 (staging, test)
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-14 13:45:44 +01:00
Igor Mandrigin 9ba0bda8f7 Use gomobile binaries (again)
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-14 10:19:24 +01:00
Pedro Pombeiro 40b3100cfc Fetch messages from mailserver upon PN if db is unlocked. Part of #3451
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-02-13 23:28:44 +01:00
Anton Danchenko fd46113ab3 run all tests on android 8
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2019-02-13 23:30:14 +02:00
Roman Volosovskyi 48291247b2 Loading history on mobile network 2019-02-13 18:59:21 +02:00
yenda 1002051074 [fix] ios checkbox
- remove usage of native checkboxes on android and desktop to ensure proper
design
- rename plain-checkbox to radio button and make sure it is only used where
radio button should be used (one possible choice beyond many)
- update autotest

Signed-off-by: yenda <eric@status.im>
2019-02-13 16:31:52 +01:00
yenda 77b792a37a [#6850] related refactoring
- remove unecessary subscriptions related to add-contact-bar

Signed-off-by: yenda <eric@status.im>
2019-02-13 12:38:31 +01:00
Roman Volosovskyi 0cdc56401a [#6850] fix Add to contacts appears in public chat 2019-02-13 11:36:52 +01:00
Igor Mandrigin c0f5bd14de Revert "change App ID for PRs on Android to avoid replacing release"
This reverts commit 6a7efb8339.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-13 10:12:51 +01:00
shamardy 9198b15380 Exposed whisper (shh) events
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-02-13 10:10:37 +01:00
Julien Eluard 3770243546 Added contacts/all event and wallet.settings lifecycle hooks
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-02-13 10:01:55 +01:00
yenda 0563abff54 [fix] icon and text alignment for group and public chat on home
Signed-off-by: yenda <eric@status.im>
2019-02-12 19:11:02 +01:00
Pedro Pombeiro 7366f8973b Add sender name in PNs (if db is unlocked)
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-02-12 17:47:22 +01:00
Andrey Shovkoplyas fca51beaaa [#7445] Sticker detail view in chat
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-02-12 16:31:22 +01:00
Andrea Maria Piana 7960fdef85 Publish contact updates periodically
Currently it's very easy for contact details to get out of sync, the
simplest example is:
A & B are contacts.
A changes name.
B receives the updated name.
B re-install the app.
Until A changes name again, B will not see their name, picture and won't
be able to send push notifications.

This PR changes the behavior to publish account informations to contacts
every 24 hrs, to add some redundancy in this cases.

It also publishes a contact code every 12hrs.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-12 14:20:45 +01:00
jakub 6a7efb8339 change App ID for PRs on Android to avoid replacing release
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-02-12 13:24:24 +01:00
Igor Mandrigin 3617fefbe9 Revert "Use gomobile binaries for iOS and Android."
This reverts commit c47fc34127.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-12 12:34:27 +01:00
Adam Babik c47fc34127 Use gomobile binaries for iOS and Android.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-12 10:21:31 +01:00
Andrey Shovkoplyas 852afa23cb fixed browser loader
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-02-12 09:10:22 +01:00
Andrea Maria Piana 80eeb8765a Relax constraint on filters
Before we checked filters are exactly the same as the chats.
If there's any state mismatch, this will result in not fetching messages
from the mailserver.
This might not be necessarily what we want, we probably want to be
resilient to this case.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-12 08:43:22 +01:00
yenda 6f865bf337 [fix] restore large bubble width
Signed-off-by: yenda <eric@status.im>
2019-02-11 19:42:57 +01:00
yenda aeb29e38b0 [fix] crash with creation and invitation to 1 letter group chat
Signed-off-by: yenda <eric@status.im>
2019-02-11 19:41:53 +01:00
Serhy 48affbc918 Fix autotest
Signed-off-by: Serhy <sergii@status.im>
2019-02-11 19:10:36 +02:00
Igor Mandrigin ddc0e11e5b bump mobile version to 0.9.34
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-11 14:12:46 +01:00
Vitaliy Vlasov 7d4dcb327d Fix chat colors and username display; adjust icons
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-02-11 13:54:38 +02:00
mestorlx 0471d5fd72 Added utility function to test addresses according to EIP55.
Added pop-up message when addres checksum fails in wallet/send/enter recipient address.

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-02-11 11:06:24 +01:00
tbenr 51f6a173df fixes #6596
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-02-11 11:05:23 +01:00
Andrey Shovkoplyas 6ab6e3f041 stickers polishing 2
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-02-11 08:44:21 +01:00
kn 6988950ea8 [#6973] Replace react-native-i18n with react-native-languages 2019-02-09 23:27:46 -08:00
yenda 2c74dc93cc [fix] show first letter of public chat name in icon instead of #
Signed-off-by: yenda <eric@status.im>
2019-02-08 19:18:21 +01:00
yenda f64111ceba [fix] public chat icon when following link from private chat
- when following a link from a private chat, the public chat icons
was staying the same

Signed-off-by: yenda <eric@status.im>
2019-02-08 13:22:51 +01:00
Andrea Maria Piana 14e887160a Dont setup topic as it resets the discovery filter
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-08 10:57:21 +01:00
Roman Volosovskyi 2ab1dcb54a fix :request/attempts typo 2019-02-08 10:06:51 +02:00
Asad Dhamani c2409ad664 Fix null is not an object error for invalid URLs
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-02-07 16:52:21 +01:00
Roman Volosovskyi 7b0f68fcdb [ui only] Mobile network bottom sheet 2019-02-07 12:21:03 +02:00
jakub 00b5ad2af6 new ghcmgr API requries repo name in path
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-02-07 11:01:59 +01:00
Andrey Shovkoplyas cf8527d147 [#7374] stickers polishing
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-02-07 09:27:49 +01:00
Andrea Maria Piana 20550d022f Adjuct mailserver limit when expired/complete events
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-07 08:30:44 +01:00
yenda e739b4a359 [fix] use icons from design components
Signed-off-by: yenda <eric@status.im>
2019-02-06 14:48:58 +01:00
Andrea Maria Piana fd3152eeff Retry mailserver request with cursor
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-02-06 11:46:20 +01:00
Andrey Shovkoplyas 4c4fb6bbe9 [#5584] Implement Manage permissions screen and option for web3 provider Opt-in access
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-02-06 10:38:20 +01:00
Andrey Shovkoplyas 0ec88fdba8 fixed desktop build and tests
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-02-06 09:46:50 +01:00
Dmitry Novotochinov 1b836bf7ec [#7006] login with keycard
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-02-06 00:20:07 +03:00
Roman Volosovskyi b96063ce56 [#7422] Show feedback on mailserver error 2019-02-05 20:51:09 +02:00
Andrey Shovkoplyas 5fe9e3d156 [#6587] IPFS hosted apps should not share cookies/etc
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-02-05 18:49:25 +01:00
yenda b80e02d8cf [feature] add block user feature in user profile
- add block/unblock action to user profile
- blocking deletes all messages from user and ignores future messages
- unblocking stops ignoring new messages from user but doesn't recover past ones

[feature] add contact list

[tests] added scroll to BackupRecoveryPhraseButton

[tests] added scroll to public key

Signed-off-by: yenda <eric@status.im>
2019-02-05 16:29:56 +01:00
yenda 444c6af319 [refactor] contact model: remove unused fields and add blocked?
- dapp related fields are removed since it is not used anymore
- blocked? field is added for futur block user feature
2019-02-05 16:28:50 +01:00
Volodymyr Kozieiev 211a531f44 Switch to fixed version of react-native-keychain
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2019-02-05 17:16:52 +02:00
Igor Mandrigin 9cb890a32f Increase mailserver page size 10 times to make initial sync faster.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-05 14:51:08 +01:00
Igor Mandrigin 27d6816cca Update and migrate POA network URLs.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-05 13:47:09 +01:00
Roman Volosovskyi ce28f6df66 fix Filter is nil error after re-login 2019-02-05 09:37:11 +02:00
jakub bf51592496 avoid incosistent timestamps by using parent start time if available
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-04 21:14:13 +01:00
Goran Jovic 256401c417 feature #7266 - added buff token on xdai sidechain
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-04 21:10:19 +01:00
Andrea Maria Piana 3469a3d899 Dont set a chat-id on discovery-filters
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-04 17:24:21 +01:00
Andrea Maria Piana 49035af201 Dont count 1-to-1 topics if not enabled 2019-02-04 17:23:22 +01:00
Igor Mandrigin e2f53418f3 Revert "don't auto-generate contact address from whisper pub key"
This reverts commit b3416f5ad5.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-04 16:08:49 +01:00
yenda c11b99c0d4 [fix] loading indicator shouldn't nudge content downward
Signed-off-by: yenda <eric@status.im>
2019-02-04 15:41:46 +01:00
yenda c58342d397 [fix 7380] bubble width on small devices 2019-02-04 15:41:18 +01:00
Andrea Franz b3416f5ad5 don't auto-generate contact address from whisper pub key
Signed-off-by: Andrea Franz <andrea@gravityblast.com>
2019-02-04 13:58:21 +01:00
Pedro Pombeiro 6d3211de46 Add golang to .TOOLVERSIONS and fix md5 calculation
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-02-01 19:35:22 +01:00
Roman Volosovskyi fe7c7088db Use partitioned topic for discovery
Currently we use a single topic for discovery.
This provides the best obscurity at the cost of bandwidth, as a message
sent on the discovery topic will be received by any peer.
This PR changes this behavior and start listening on a partitioned
topic.
Each pk will be hashed to a limited number of topics.

Everytime someone is in a conversation with someone from another topic
they will have to listen as well to avoid loosing obscurity, because we
only forward messages that we also advertise in the bloom filter.

The choice for the number of partitions depends on 2 factors:

1) The expected number of users using the network
2) The average number of contacts each user

Any change to the discovery topic will need to be split across 3
releases, to avoid breaking compatibility:

1) Listen to the new and old topic, publish to the old topic
2) Listen to the new and old topic, publish to the new topic
3) Listen to the new topic, publish to the new topic

This is step 1.
2019-02-01 14:40:54 +02:00
jakub 424a2bb28b add missing __major_version method
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-02-01 11:18:26 +01:00
Pedro Pombeiro 50b4ef36b5 Remove reliance on .nvmrc file and enforce node version check
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-31 19:42:22 +01:00
Serhy 305bc8e1cf Add accessibility-id for create group chat button
Signed-off-by: Serhy <sergii@status.im>
2019-01-31 20:38:15 +02:00
Roman Volosovskyi 10739cd2e4 Bottom sheet component 2019-01-31 10:32:45 +02:00
Andrea Maria Piana 89725d693a Add pairing docs link, disable pfs toggle in release
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-01-31 07:49:37 +01:00
yenda 7985ee838e [fix 7332] error pop-up when sending tx from wallet
when the last used chat was a public chat, the public-key of
the recipient to populate the `:to` key in the notification data
was taken from `:current-chat-id`in app-db.

this fix ensures that the right chat-id (the actual public-key of
the contact) is used instead of current-chat-id by changing the arity
of `send-push-notification`

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-30 16:58:36 +01:00
Andrea Maria Piana 093f7de1aa Disable pairing pop-up in e2e
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2019-01-30 16:46:57 +02:00
Anton Danchenko d093b5f6be fix for 502 response from sauce
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2019-01-30 15:27:37 +02:00
Pedro Pombeiro 7f12d181d7 Improve output when using a malformed make startdev-* command
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-30 10:51:32 +01:00
Pedro Pombeiro 881dabc241 Fix issues found when running make setup on clean MacOS and Linux machines 2019-01-29 23:18:29 +01:00
Speedy Fixer c3ee8ff759 [FIX #7344] Update args of eth_getLogs
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-29 20:01:20 +01:00
Andrea Maria Piana e07433fdff Disable creating a chat until login complete
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-29 19:47:56 +01:00
Andrey Shovkoplyas 7d22f61e20 [#7369] Can send tokens in Aragon Dapp in Finance section
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-29 19:37:23 +01:00
Andrea Maria Piana 13b04f17eb Enable pairing & contact recovery
This PR enables pairing outside of dev-mode and contact-recovery, which
is useful in the case a new device is added or re-installed.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-01-29 18:25:25 +01:00
Julien Eluard ac758f5348 Updated support for EIP1577
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-01-29 15:48:36 +01: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 63b340ea33 Fix reproducible builds in Docker desktop images
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-29 11:19:01 +01:00
Pedro Pombeiro b1a1317065 Check for correct node/yarn versions in scripts/run-environment-check.sh 2019-01-29 11:17:25 +01:00
Pedro Pombeiro 63c13f38ed Sort .env file entries to better detect duplicates 2019-01-29 11:17:04 +01:00
Andrea Maria Piana 52ae2c2bfe Style header group-chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-01-29 10:31:59 +01:00
Andrey Shovkoplyas 2430992fb4 Implement stickers market
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-01-28 17:18:44 +01:00
Roman Volosovskyi b0c1a3244d [#7346] Add Aragon dapp
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-28 14:25:41 +01:00
Andrey Shovkoplyas c7b532e1c5 [#7274] Address and web3 authorising permission window disappears right away ENS/Voting dapp home view loads
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-01-28 09:12:33 +01:00
Julien Eluard 16b657d6ee Added kyber extension
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-01-25 16:26:03 +01:00
yenda 8ef905edfb [fix 5371] status bar covers touchable UI
- fix #5371
- fix #4345
- introduce "Connected..." status bar
- introduce fetching animation
- removes overlap of status bar with views
- add animations for status bar

Signed-off-by: yenda <eric@status.im>
2019-01-25 15:01:37 +01:00
yenda 760956dfe1 fix #6440 increase width of mobile message bubbles on mobile 2019-01-25 15:01:14 +01:00
yenda f17229c4e2 [fix] remove mnemonic from current-account map
current-account is duplicated in `:qr-modal` key when tapping on `share my
profile` button in the Profile screen
this removes the mnemonic from the duplicated data so that it does persist
there after user backed up his mnemonic
this was only happening until logging out/restarting the app

Signed-off-by: yenda <eric@status.im>
2019-01-25 15:00:09 +01:00
jakub e87464e5ba refactor docker image creation to use base image
Squashed commits:
- initial work
- make base image use all the versions
- make desktop images use the base image
- update ci to use new images
- use new toolversion script
- update android image tag
- add missing android-26 platform
- fix installing packages with sdkmanager
- fix installation of react-native-cli
- specify prefix path for npm install -g

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-25 11:40:32 +01:00
Roman Volosovskyi 9daef17f11 Stop sending seen messages
Currently, these messages are not used and should be properly revisited
later. It only generates extra traffic on discovery topic.
2019-01-25 09:23:00 +02: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
Andrea Maria Piana 2b2c44c9a5 Add device name to pairing
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-01-24 11:29:24 +01:00
Julien Eluard a825175aea Fixed incorrect parameters provided to Command#yield-control
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-23 19:35:50 +01:00
Dmitry Novotochinov cee18d23b8 [#7132] add keycard settings
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-01-23 20:11:23 +03:00
Igor Mandrigin 7322626464 Migrate old Infura RPC URLs to the new ones for existing accounts.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-23 17:58:01 +01:00
jakub fab20ffc35 copying from wrong job for nightlies
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-23 10:51:21 +01:00
jakub 195de3fc07 missing variable source
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-22 16:20:55 +01:00
jakub 3acc480428 use separate jobs for e2e builds, disable aborting for non-pr builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-22 14:28:30 +01:00
Igor Mandrigin 94022523a1 Use new Infura API.
As per announcement, we need to switch our Infura project IDs.

> As previously announced, accessing Infura will begin requiring a Project ID generated from the new Infura Dashboard. If you are using Infura and have not yet migrated your project, please take the time to do so now. The first milestone in this transition will be activated next week on January 23, 2019 at 20:00 UTC.

https://blog.infura.io/infura-dashboard-transition-update-c670945a922a

The new project is created with ID `f315575765b14720b32382a61a89341a`
and the API keys are updated.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-22 12:34:16 +01:00
Pedro Pombeiro 2bc5269bed Configure recipients for yarn.lock changes in PRs
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-22 08:21:16 +01:00
Roman Volosovskyi c4c27a48c2 fix :contact.ui/close-contact-pressed event
Most likely a typo was introduced during refactoring.
2019-01-22 08:29:52 +02:00
Pedro Pombeiro 3d332e009b Add logic to cancel older running builds in Jenkins
https://www.pivotaltracker.com/story/show/163367849
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-21 21:25:57 +01:00
Igor Mandrigin a14076def7 Update pods only if installation fails.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-21 19:02:28 +01:00
jakub 0ce74b1da9 fix use of toolversion by using absolute GIT_ROOT
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-21 17:07:27 +01:00
Andrea Maria Piana 66c2d0d9cb Disable sending message
Seems like the current version of status-go does not contain some of the
code that was in the previous, so disabling this for now until we verify
it works.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-01-21 16:25:11 +01:00
Julien Eluard dd9933cfec Moved to new pluto release
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-01-21 15:05:14 +01:00
Anton Danchenko 69209107ca added upgrade test, changed apk name on sauce
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2019-01-21 12:52:12 +02:00
Volodymyr Kozieiev e878af8458 Fixed keychain package tag
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-18 23:39:42 +01:00
jakub 984404b9e2 change .TOOLVERSION into csv, add toolversion script
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-18 22:43:11 +01:00
Roman Volosovskyi a129c92706 Comment out outdated dispatching of :send-seen! event 2019-01-18 18:17:23 +02:00
Roman Volosovskyi 8754f72eba Fix merging of :message/message-persisted event
Previously `:message/message-persisted` was dispatched for each incoming
message because its argument was not a vector. The event was renamed to
`:message/messages-persisted`.
2019-01-18 18:14:40 +02:00
Pedro Pombeiro 4981f4c346 Clean up .gitignore and ignore some new files
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-18 17:08:38 +01:00
Pedro Pombeiro 03c4287e73 Fix dependencies reported by package-checker bot 2019-01-18 12:13:08 +01:00
Pedro Pombeiro f07057daec Create releases for all forked repos
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-17 23:17:29 +01:00
Pedro Pombeiro a12653d420 Standardize on git+https URL style, since github:status-im/* style URLs seem to break Android builds 2019-01-17 23:16:41 +01:00
Pedro Pombeiro c9c39828fc Fix bignumber.js dependency clash
```
warning Pattern ["bignumber.js@github:status-im/bignumber.js#master"] is trying to unpack in the same destination "/home/pedro/.cache/yarn/v4/npm-bignumber-js-4.0.2-cc066a0a3d6bfe0c436c9957f4ea8344bf963c89/node_modules/bignumber.js" as pattern ["bignumber.js@https://github.com/status-im/bignumber.js.git"]. This could result in non-deterministic behavior, skipping.
```
2019-01-17 23:16:36 +01:00
jakub 7c8256234d run genBuildNumber after make clean to not remove the file
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-17 20:04:46 +01:00
Pedro Pombeiro 4462ebf78a Install nvm if no system nodejs is found
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-17 19:12:13 +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
Igor Mandrigin 4af2073388 Revert "Fixed incorrect parameters provided to Command#yield-control"
This reverts commit ac1de8c690.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-17 15:15:43 +01:00
Julien Eluard ac1de8c690 Fixed incorrect parameters provided to Command#yield-control
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-01-17 12:46:27 +01:00
Volodymyr Kozieiev 75af3883b8 Switch desktop app to react-native-desktop 0.57.8 (#7264) 2019-01-17 12:10:40 +02:00
jakub b51b565cdb add dockerimage for building android
- remove unused android-ndk toolchains
- add build.sh and test target for easy testing of image
- separate generic parts into a base image
- pass keystore credentials via env variables

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-16 17:36:13 +01:00
jakub 243a2d1885 use nvm() wrapper in jenkins for android builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-16 14:07:53 +01:00
jakub 420a64e72d don't update cn.status.im on every release build
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-15 17:22:03 +01:00
jakub ffaf8038b3 ignore keys from /private/var/folders, delete-keychain after use
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-15 17:11:47 +01:00
Roman Volosovskyi 664cbf6bbe Sign-in flow docs and tests 2019-01-15 17:00:58 +02:00
Anton Danchenko 471d26c6d1 fix group chat tests
Signed-off-by: Serhy <sergii@status.im>
2019-01-15 16:01:46 +02:00
Zach Zundel 4dca2e9caa Create event
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-01-15 08:41:37 +01:00
Pedro Pombeiro 941526a7fc Remove obsolete docker-build folder
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-14 20:02:01 +01:00
Pedro Pombeiro a458dfe1da Lock down tool versions used in desktop Dockerfiles 2019-01-14 19:49:06 +01:00
Pedro Pombeiro ff98c7cbe0 Lock down tool versions (downgrades if necessary) 2019-01-14 19:49:03 +01:00
Pedro Pombeiro 3437982f70 Lock down yarn version for local repo (currently 1.13.0) 2019-01-14 19:49:00 +01:00
Pedro Pombeiro 04f6782f1d Lock down git dependencies 2019-01-14 19:48:56 +01:00
Igor Mandrigin e8de37f5ef Report messages as "processed" to status-go only after they were successfully stored in the DB.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-14 19:12:26 +01:00
Julien Eluard 13b6295469 [Fixes #7213] Properly handle universal links in status
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-01-14 10:37:32 +01:00
Andrey Shovkoplyas 40aff1da8d [#7158] EIP1193 (new ethereum provider)
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-01-11 19:59:20 +01:00
Andrey Shovkoplyas d38fa87818 fixed kyber extension UI
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-01-11 19:58:18 +01:00
Roman Volosovskyi f18886cf52 Remove misleading comment related to login flow 2019-01-11 19:15:25 +02:00
Pedro Pombeiro 085f3c31b2 Fix scripts/start-react-native.sh so it can handle multiple processes listening on port 8081
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-11 15:01:28 +01:00
Andrey Shovkoplyas c9c778c063 fixed wallet settings hook screen on iphone x
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-01-11 12:54:52 +01:00
Julien Eluard a4efc661e1 Use better label for system browser
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-01-11 09:01:15 +01:00
jakub 75d992099f skip uploading on release since bundle stage already does that
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-10 14:52:43 +01:00
Igor Mandrigin f5bfd63f0e [Mobile] Show status-go version on separate line in About.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-10 13:41:04 +01:00
jakub 513a9cadbe Fix how we get CHANGE_ID for PRs when uploading to SauceLabs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-10 11:45:46 +01:00
jakub 0c3bfc14f9 fix renaming iOS release builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-09 17:04:59 +01:00
Anton Danchenko df7590f48b fix group and browser tests
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2019-01-09 17:15:28 +02:00
Roman Volosovskyi aceea457ce [slow sign in] Chats preloading
10 last chats are loaded to `app-db` before showing `:home` screen, in
result a user will not see two consequent activity indicators. In this
case opening of `:home` screen is a bit slower but looks better from
UI/UX pov. As it is limited to 10 chats on initialization, the time
necessary for opening `:home` screen will not depend on a total number
of chats in `app-db` if an account contains 10+ chats.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-09 16:03:21 +01:00
jakub cc542969c0 move gh notification to post, add check for CHANGE_ID
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-09 12:33:40 +01:00
Andrea Maria Piana b56fd2e29f Show popup when device is not targeted.
When someone is sending a pfs message to us but did not include our own
device, a pop up is shown propmting the user to connect with the user.

The reason for receiving messages that are not targeting our devices are
various:

1) The account was just recovered (which means it is a new installation
id)
2) More than 3 devices are in use (we only keep max 3 devices in sync)
3) The sender has used an old bundle which does not include the current
device

Eventually we will reduce the likelihood of this scenario happening, but
we can't dismiss it completely.

It's only enabled when PFS is enabled.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-01-09 09:36:36 +01:00
Andrea Maria Piana ad99ed2a28 Allow toggling pfs in dev-mode
This commits allow users to toggle pfs in dev-mode (it is already used
for pairing and group chats).

Once enabled direct and public messages sent will only be received by
users running >= 0.9.32.

Also this does not guarantee PFS (both devices need to have it enabled
it), and there still some UX work to do to ensure that, but it is useful
for testing.

A warning is displayed explaining the limitations when enabling.
2019-01-09 09:34:51 +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
Igor Mandrigin 744abb3984 Merge pull request #7206 from status-im/pyyaml-vuln-update
upgrade pyyaml to 4.1 for vuln mitigation
2019-01-08 16:38:37 +01:00
Andrea Maria Piana 3e761c3b85 Extend message hash confirmation for group chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-01-08 13:59:30 +01:00
Andrea Maria Piana e8069f523d Move group chats to their own topic
This commit moves group chats to their own topic, based on the randomly
generated chat-id. It falls back on the discovery topic for those peers
who we can't fingerprint the version, for backward compatibility.
2019-01-08 13:58:41 +01:00
Andrea Maria Piana 881691fbc3 Add joining of group chats
Members will now have to explicitly join a group chat to start receiving
messages from it.

Messages are still sent to users who have not joined for backward
compatibility.
Group updates are unaffected.
2019-01-08 13:58:40 +01:00
Andrea Maria Piana a52f3d4d08 Limit number of participants in group chat to 10 2019-01-08 13:58:38 +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
Roman Volosovskyi cdf8dc043a [#7192] fix autologin switch behaviour on wrong password
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-07 17:35:18 +01:00
jakub 0002218a6f fix names of stages to fit what they do better
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-07 16:46:32 +01:00
tbenr 469556a04b Fixes #6594
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-01-07 14:33:38 +01:00
Roman Volosovskyi 771cb5c6a2 Fix outdated docs link 2019-01-07 11:22:09 +02:00
Igor Mandrigin 5ff90c3b14 Always upload iOS release jobs to TestFlight
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-07 09:21:53 +01:00
Corey Petty 5e87026576 upgrade pyyaml to 4.1 for vuln mitigation 2019-01-04 13:44:24 -05:00
Vitaliy Vlasov c8e5fd6a9c Add desktop keyboard shortcuts
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-01-04 00:30:19 +02:00
Anton Danchenko 2e7d89e690 added clicks on allow button
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-01-03 11:20:52 +01:00
Andrey Shovkoplyas fc94abbef0 [#7113] Enable EIP1102 by default 2019-01-03 11:20:33 +01:00
Pedro Pombeiro 583edc51f8 Simplify Linux bundle building
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-03 10:17:13 +01:00
Roman Volosovskyi de5463532b [#7189] Proper handle of restoring existing account with wrong password
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-28 14:23:02 +01:00
Roman Volosovskyi 15747558fa [#7179] Fix command message preview in the list of chats
The bug was introduced in #7055.

`message-type` was stored and used instead of `content-type` which
caused incorrect displaying of the last message preview if the one was a
command.
2018-12-27 16:35:45 +02:00
Roman Volosovskyi 768da1a5f0 [slow sign in] Fetch generic password only once
Previously it was fetched each time when any realm db was opened,
but it should happen only once. Saves up to 300ms on sign in.
2018-12-27 12:37:29 +02:00
Roman Volosovskyi e3cc50c7d7 [slow sign in] Adding symkeys and filters in batch
This commit changes the way how keys are restored:
1. batch of `ssh.addSymKey` requests for all sym keys is sent at once
2. `:status-im.transport.core/sym-keys-added` event is dispatched with
   results of all successful `ssh.addSymKey` calls
3. filter is created via `ssh.newMessageFilter`
4. `:shh.callback/filters-added` event is dispatched with all added
   filters as a parameter
5. profit

In ideal case only 2 `re-frame` events are dispatched.
2018-12-27 11:49:50 +02:00
Vitaliy Vlasov 8f7159aff9 Fix connection stats display
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-26 13:37:03 +02:00
Roman Volosovskyi 8e7526e68d [#7155] Clear last message preview on deleting chat history 2018-12-25 11:07:46 +02:00
Andrea Maria Piana dfdbe1ccbc Paginate using clock-value & message-id instead of skip/limit
Paginating using the count of loaded messages might result in some
messages being skipped and not being loaded in the database, in case of
out-of-order messages received.

This commit changes the behavior to sort by `clock-value` and
`message-id`, which gives a consistent sorting.

The initial idea was to use a cursor `clock-value-message-id` and
iterate on that, but realm does not support filtering on string (</>),
so instead we keep track of messages with identical clock-value and
exclude those in the next page query.

The change might result in pages that have duplicates (so messages needs
to be deduped), but won't result in skipped messages.
2018-12-24 18:12:50 +01:00
Vitaliy Vlasov fb9c278bd0 Fix logging_enabled param initial loading on Linux
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-24 18:54:11 +02:00
Roman Volosovskyi 8f48dc8df6 Safe deserialization of the last message's content
The issue was fixed in #7085 but reintroduced in #7055.
2018-12-24 18:09:59 +02:00
Dmitry Novotochinov 7fa46065a7 [#7005] add installation progress bar
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-12-24 18:02:38 +03:00
yevh-berdnyk 62c7d645b7 Commit status change depending on e2e tests results
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-12-24 16:27:00 +02:00
Andrea Maria Piana 5f910a0bec Sync public chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-24 14:35:17 +01:00
Andrea Maria Piana 87e6c6cdee Show popup on new device detected 2018-12-24 14:34:00 +01:00
Roman Volosovskyi 9a9cd0d8d0 [slow sign in] Denormalize last-clock-value
In order to get `:last-clock-value` one extra query was executed for
each chat during initialization.

Implementation:
- `:last-clock-value` field was added to `chat` entity
- this field is updated when the message is sent/received
- extra query was removed
2018-12-24 14:18:42 +02:00
Andrey Shovkoplyas 902dc3806c [#7131] Add titles + favicons in browser
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-24 12:50:07 +01:00
Anton Danchenko 923509b9a0 added an ability to run tests by testrail case ids
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-12-23 17:15:50 +02:00
Julien Eluard 5db9aa9ac7 Reintroduced broken PR #7092 with fix
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-12-21 14:55:32 +01:00
Vitaliy Vlasov dfbc0eb435 Add desktop msg limit
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-21 15:28:38 +02:00
Igor Mandrigin 794313dbee Revert "[Fixes #7052 and #7037] Improved extensions ethereum support"
This reverts commit 6a8c9bf14f.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-12-21 13:50:42 +01:00
Julien Eluard 6a8c9bf14f [Fixes #7052 and #7037] Improved extensions ethereum support
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-12-21 13:11:00 +01:00
jakub c3bddde7dd fix success value of build objects sent to ghcmgr
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-12-21 10:00:24 +01:00
Igor Mandrigin 8ba1b43349 Auto-update provisioning profiles when building PRs and nightlies on Jenkins.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-12-21 09:58:48 +01:00
Vitaliy Vlasov 4b74344f4b Add desktop chunks hack
R

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-20 21:38:26 +02:00
Roman Volosovskyi dd2ff11216 [#7139] Fix crash on logout
The crash was caused by RPC calls which happened after `StopNode` call.

Implementation:
- The first suggestion was to `StopNode` only after all `.stopWatching`
  calls are done, but this only lowered probability of the crash,
  but did not fix the issue.
- Another suggestion was to prevent RPC calls after `StopNode` call,
  but it also only lowered probability of the crash.
- So the last resort was a fix on `status-go` side
  https://github.com/status-im/status-go/pull/1329,
  and it actually worked.
- Advanced settings are hidden until `Statusgo.Login` is finished
2018-12-20 21:35:09 +02:00
Vitaliy Vlasov b81cb82fc6 Truncate long chat messages
Fix render-recipes and replies rendering

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-20 18:12:01 +02:00
Pedro Pombeiro 897a8a60b8 Fix generation of AppImage to point to Status instead of reportApp. Fixes #7128
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-20 15:53:58 +02:00
Volodymyr Kozieiev 112fe367cc Fixed desktop release warning messagebox
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-20 15:51:54 +02:00
Dmitry Novotochinov 962c49e345 add keycard installation
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-12-20 15:43:37 +03: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
Roman Volosovskyi e122ebdb84 [#7135] Fix wrong password handling
Leftover after #7032. The node hasn't been started if the user entered a
wrong password, that's why `Statusgo.Verify` call has failed (it works
properly only with running node atm).

Implementation:
- the node is started with "dummy" configs if it's necessary to call
  `Statusgo.Verify` method
- on `Statusgo.Verify` callback node is stopped so that it can be
  started with proper configs on the next sign in attempt.
- signing in is disabled while the node is running

disable sign in while node is running

_

_
2018-12-19 18:17:43 +02:00
Andrey Shovkoplyas b4e2654b74 [#5650] Blank page when accessing .pdf files from Android app browser
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-19 13:05:12 +01:00
Anton Danchenko 67a47fac56 workaround on wrong transition to home instead of chat
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-12-19 13:02:02 +02:00
Andrey Shovkoplyas 3098ff024f updated airswap dapp url
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-19 10:06:00 +01:00
yenda 7934bfb2d7 [#5452][desktop] Add help center in profile menu
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-18 20:09:58 +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
Vitaliy Vlasov 51a7c537f8 Fix desktop msg loading and signin
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-18 03:08:51 +02:00
Andrea Maria Piana 8be8f0b5c8 Adjust from value to accomodate for late-comers
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-12-17 14:57:49 +01:00
shamardy fdb808a7dc Added animated GIF support on android
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-12-17 13:33:55 +01:00
Roman Volosovskyi c440b7a3a7 [slow sign in] Denorlmalize last message
The last messages of the chats are necessary to properly show the chat
list, which is shown right after signing in. Before this commit, the
last message was retrieved as one of 20 last messages fetched for each
chat.

Implementation:
- `:last-message-content` and `:last-message-type` fields were added to
  `chat` entity
- both fields are updated when messages are received/sent
- loading of the last 20 messages for each chat was removed as
  initialization step
2018-12-17 13:29:10 +02:00
Roman Volosovskyi 07e8f6908d [#6952] Fix odd app behavior after quick logout
This commit changes the way how/when the node is started/stopped:
1. `node` is not started on the app startup
2. When the user presses "Sign in" button the node is started
   with user specific configs (`InstallationID`, custom bootnodes, etc),
   and only after that `Login` call is performed.
3. When the user creates a new account, at first the node is started
   with default params (the same as would be used when user signs into
   the app after account creation whithout changing any setting), then
   `CreateAccount` call happens, then `Login`.
4. When the user restores their account, the flow is the same as `3`
   but with `RecoverAccount` instead of `CreateAccount`
5. When the user logs out the node is stopped. That's it.
2018-12-17 13:27:17 +02:00
tbenr 52b7bcd291 fixes #6788
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-12-17 09:29:28 +01:00
jakub ffdbedd049 use the new pr commenting service
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-12-14 18:33:48 +01:00
Andrea Maria Piana 54b9ba5a2e Dont choke on wrongly serialized messages
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-14 16:59:34 +01:00
Anton Danchenko 88c06c53d4 urllib upgrade
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-12-14 15:50:49 +02:00
Andrea Maria Piana 05b70b0974 Use cursor and update status-go
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-14 13:11:31 +01:00
Andrea Maria Piana 6e5d54b5aa Fetch history action 2018-12-14 13:10:37 +01:00
Vitaliy Vlasov 9afd76c7a8 Set REALM_DISABLE_ANALYTICS env var when running Node.JS server
Remove Jenkins change

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-14 12:50:44 +02:00
Volodymyr Kozieiev d603460ff1 Logging disabled for release build
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2018-12-14 12:08:15 +02:00
Andrey Shovkoplyas 50e0f26864 [#6760] Add DApps for 0.9.33
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-14 10:58:37 +01:00
jakub 3cfec19757 fix link used for Macs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-13 18:09:04 +01:00
Andrey Shovkoplyas b80230a95f [#6688] Update ENS resolving implementation to match what is defined in EIP-1577
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-12-13 16:21:11 +01:00
Goran Jovic 7e8389318d bug #7047 - reuploaded eth icon
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-12-13 16:19:44 +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
jakub 9f7d32b1c5 add cleanup steps and reduce number of builds to keep
skip github notification if no CHANGE_ID is available

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-13 14:23:55 +01:00
Andrey Shovkoplyas f56a500f64 [#6997] Remove desktop download nightly release feature
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-13 11:33:11 +01:00
Andrea Maria Piana 13b5c14b78 Remove println statement
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-13 10:16:35 +01:00
Andrea Maria Piana 7367f3d54b Disable confirmations
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-12 21:06:42 +01:00
Andrea Maria Piana 80b868a86e Update translations 2018-12-12 19:56:51 +01:00
Andrea Maria Piana 090b4a1282 Add re-send popup to desktop 2018-12-12 19:56:50 +01:00
Andrea Maria Piana 82f9b58b97 Use not confirmed 2018-12-12 19:56:49 +01:00
Andrea Maria Piana 7921729910 Dont show wallet offline on desktop 2018-12-12 19:56:48 +01: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
yenda 9110a64dcc [fix] handle errorMessage in mailserver.request.completed signal
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-12-12 18:24:55 +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
Anton Danchenko f6777edbdc migration to latest appium version
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-12-12 17:33:00 +02:00
jakub 9e8ec6eac7 run pod only for ios
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: yenda <eric@status.im>
2018-12-12 16:22:14 +01:00
Rob Culliton 88d3e78454 change 9+ to actual count of unread messages
unread-messages-count fn, based off Maciej's comment on #6749

adding test, some difficulty running the test suite locally via clj

actually use the new functionality for displaying on desktop

first pass at updated styling for unread count chat icons

styling pass 2: finer attention to detail for the purple/blue icons

a bit more padding bloat to accomodate for the number 1, which occurs
frequently :)

remove counter from "home" icon on desktop

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-12 15:55:13 +02:00
jakub 2586e71b30 move upload step top platform specific builds, cleanup
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-12 14:12:17 +01:00
Andrey Shovkoplyas 8374a7d532 fixed extensions installation issues
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-12 13:21:01 +01:00
Zach Zundel 1a46355c61 Add ethereum/poll-logs event, fixes #6855
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-12-12 12:36:03 +01:00
Igor Mandrigin b65f678429 Upgrade realm to 2.21.0
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-12-12 11:57:50 +01:00
Andrea Maria Piana 4d5742f666 Fix bug with characters in password
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-11 17:56:12 +01:00
Julien Eluard 6c3f44438c Allow input to trigger event after a delay
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-12-11 16:32:30 +01:00
jakub 63ac18afde set BUILD_TYPE to pr as default
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-12-11 12:15:45 +01:00
Lukasz Fryc 45aa302637 Add group chats appium tests
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-12-11 12:55:25 +02:00
jakub 411a74e040 add mvnrepository.com for gradle
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-10 21:04:38 +01:00
Igor Mandrigin afc368b1b0 Upgrade status-go to 0.17.6-beta (Constantinople).
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-10 12:59:44 +01:00
Roman Volosovskyi 83a8d9db27 Show schema version details on migrations failure
Simplifies debugging of migration failures, specifically in cases when
more than one migration is applied.
2018-12-10 10:12:27 +02:00
yevh-berdnyk d299713037 Added new desktop e2e tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-12-10 00:54:51 +01:00
Max Risuhin 8f0bfde759 Use StatusImAppImage package without redundant files
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2018-12-09 15:59:42 +02:00
Max Risuhin aea75a2de0 Prompt user explicitly to upload exact crash related files
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2018-12-08 21:12:59 +02:00
Roman Volosovskyi e20af4d206 Do not update :mailserver/connection-checks` if the user is logged out.
Connection check should be skipped if the user has logged out, otherwise
`app-db` may end up in an invalid state which causes an error and red screen
in dev mode.
2018-12-08 20:56:41 +02:00
Tom Nash c810e0f2c3 Fix arithmetic function in extensions
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-08 18:04:16 +01:00
tbenr 5ffeacadbf fixes #6866
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-08 18:02:46 +01:00
jakub 51b388cce3 always upload iOS builds to Diawi
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-07 16:15:47 +01:00
jakub adbf77cb57 remove legacy jenkinsfiles
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-07 16:02:41 +01:00
jakub 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
Volodymyr Kozieiev 922caf168b Returned macdeployqt env var 2018-12-07 15:04:02 +01:00
Volodymyr Kozieiev ad4535e3bd Removed MACDEPLOYQT record 2018-12-07 15:04:02 +01:00
jakub 507a3fbeaa bump nodejs version on desktop build docker images to 10
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-07 15:04:02 +01:00
Volodymyr Kozieiev 0da2c7b077 Fixed jenkisnfile misprint 2018-12-07 15:04:01 +01:00
Volodymyr Kozieiev bb8e5a4944 Fixed jenkisnfile error 2018-12-07 15:04:01 +01:00
Volodymyr Kozieiev c2e2ea36ac node version bumped to 10.14.1 for desktop 2018-12-07 15:04:01 +01:00
Andrey Shovkoplyas d6d852a9be [#7002] Add a JS API allowing to install an extension
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-07 13:24:45 +01:00
Andrey Shovkoplyas fb6d632780 kyber ui (image source support and placeholder color)
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-07 12:42:05 +01:00
Pedro Pombeiro 915ccbebbb Tell user to run nvm use in terminal if needed
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-12-06 21:08:17 +01:00
jakub 6c6d9bc268 fix build numbers for release builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-06 15:02:25 +01:00
jakub 6364b886e4 enable desktop builds for releases
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-06 13:45:29 +01:00
Andrey Shovkoplyas f8978ca0aa [#6851] Fix loading indicator in browser
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-06 11:32:19 +01:00
Roman Volosovskyi 4aaaf58e99 [#6956] delete duplicates after iteration over messages/statuses 2018-12-06 11:22:00 +02:00
Roman Volosovskyi c15a57571d [#6956] fix possible message and user-status duplicates
There is a tiny chance that without this fix some users which had message
duplicates because of issues with `message-id` calculation **BEFORE** `0.9.31`
still have duplicates in their DB and migrations will not pass without
this change. It only checks if the message with a new `message-id` has been
added and removes duplicate. The same way it removes duplicates from
`user-status` entity.
2018-12-06 10:25:36 +02:00
jakub a91a799eb5 add an e2e build target for ios
Squashe commits:
- add an e2e build target for ios
- add correct sdk and destination for simulator
- fixup! add correct sdk and destination for simulator
- drop xcarchive_path since we are not using it
- temporarily bind ios build to macos-03
- Detect installed simulator SDK and use it.
- Signed-off-by: Jakub Sokołowski <jakub@status.im>

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-05 18:43:11 +01:00
Corey Petty 9e75b89d58 Upgrade requests for vuln report 2018-12-05 16:42:08 +02:00
Roman Volosovskyi 50a70f6e57 [#6956] store :raw-payload-hash in message (upgradable message-ids)
Currently, we calculate `message-id` as `sha3(from + raw_payload)`,
but we do not store `raw_payload` and it might be problematic
to restore it from DB because:
1) `content` field might be changed and so `Message` record
   will differ from the original one
2) it is even more problematic for `GroupMembershipUpdate`
   message because we don't save it in DB

In order to handle this, we can store `sha3(raw_payload)` as `raw-payload-hash`
prop of `message` entity and use it in case of emergency :)

`message-id` will be calculated as `sha3(from + sha3(raw_payload))`
2018-12-05 13:29:01 +02:00
Roman Volosovskyi b6e515618b [#6956] upgradable message-id
Implementation:
1. `transport.utils/message-id` function is called only in three places now
   and accepts `from` and  `raw_payload` as parameters.
   ID is calculated as `sha3(from + raw_payload)`.
2. This means that for wrapped private group chat message
   the raw payload of `GroupMembershipUpdate` is used.
2018-12-05 11:22:43 +02:00
Roman Volosovskyi e7d0312d25 [#6903] fix replies compatibility
Issue was caused by https://github.com/status-im/status-react/pull/6722

Implementation:
1. `old-message-id` field (indexed) was introduced in `message` entity
   and is calculated as `message-id` was calculated in `0.9.31`
```clojure
(defn old-message-id
  [message]
  (sha3 (pr-str message)))
```
2. When a reply message is sent from the PR version of app both `response-to`
   and `response-to-v2` fields are sent as a part of `message`'s `content`
   field, so that it can be recognized by `0.9.31`.
3. When PR version of app receives reply from `0.9.31` we check whether
   message's `content` contains `response-to` but doesn't contain
   `response-to-v2`, and if so we check whether DB contains message with
   `old-message-id=response-to`. If such message has been found we assoc
   `response-to-v2` to content.
4. If message from DB contains only `response-to` but not `response-to-v2`
   attempt to fetch the message by `old-message-id` is done.
2018-12-05 07:22:40 +02:00
Dmitry 17c6b28486 Envelope is marked sent even when it is expired
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-04 17:05:11 +01:00
Vitaliy Vlasov e4ec6a6d19 Message context menu for Copy and Reply functionality
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-04 17:23:49 +02:00
Andrey Shovkoplyas 92e31be50d [#6931] Introduce selection list component for extensions
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-04 16:08:26 +01:00
Maxim Tolochko ba8a620cd7 Add Dragonereum to Status
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-04 13:15:04 +01:00
Chad 90900e1c31 bump desktop to alpha 0.9.0 version 2018-12-04 13:52:31 +02:00
Oleksii Lymarenko e80200f260 tests added: check wallet modal in 1*1/group chats
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-12-04 13:39:02 +02:00
jeluard c072a65e11 Added Decentraland DApp
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-04 12:04:17 +01:00
Andrea Maria Piana dfbc27c5d7 Allow admin to leave chat
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-04 10:17:50 +01:00
Andrey Shovkoplyas 2a828007fb [#6957] Wallet shouldn't allows redirect to Home after a transaction completion
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-04 10:10:29 +01:00
Andrea Maria Piana 9adffeb55f Dont try to show current chat if nil
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-04 08:50:57 +01:00
Andrey Shovkoplyas 22167db7a2 desktop popup
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-03 14:54:42 +01:00
Anton Danchenko 73cbfd4cd9 new separator in public usernames and medium priority for test_user_can_interact_with_public_chat
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-12-03 11:44:32 +01:00
Andrey Shovkoplyas 0ead731239 [#6958] Only render command message when relevant
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-03 09:55:35 +01:00
Andrey Shovkoplyas fcd5a16409 fixed styles for generated names on desktop
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-01 11:44:09 +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
Anton Danchenko c91e51459f fix pytest internal error if no response from saucelabs
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-11-30 21:37:35 +02:00
Pedro Pombeiro bb4264ac70 Fix make setup
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-11-30 17:49:39 +01:00
yenda 891447b8b3 update realm to 2.20.1 and node to 10.14.0
- add node version 10.14.1 via nvm wrapper for CI

Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: yenda <eric@status.im>
2018-11-30 15:46:58 +01:00
jakub 458ccc48a5 fix which variables stores link to sha256 url
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-30 15:31:35 +01:00
tbenr 1152ad4afd fixes #6856
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-30 11:38:04 +01:00
Pedro Pombeiro d4ca0851d7 Fix check for yarn
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-11-30 11:20:33 +01:00
Andrea Maria Piana 6fc2139574 Remove slack from fastlane
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-30 11:15:25 +01:00
Andrea Maria Piana 5795ca8d1a Enable group chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-30 11:12:34 +01:00
Pedro Pombeiro 8345a0e8e9 Fix make startdev-desktop target
It was invoking `watch-desktop-` target

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-11-30 11:03:09 +01:00
Andrea Maria Piana 9c67aab2c9 Use whole message to calculate message-id
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-30 10:12:25 +01:00
Julien Eluard e3e75e0498 [Fixes #6874] Added transaction-receipt, schedule and balance events
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-29 23:09:45 +01:00
jakub 6365a0d1e2 uplod sha256 checksums of built artifacts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-29 19:57:31 +01:00
Andrey Shovkoplyas 582c2960ec [#6644] Chat command recipients should be able to install an extension
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-29 16:43:15 +01:00
Igor Mandrigin 37ef82b04d Use yarn instead of npm for package management. Lock dependencies.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-11-29 16:29:57 +01:00
Rob Culliton 91e5ac3ccd Connection status info (#6865)
* display mailserver state and peers count under advanced settings on
the desktop profile tab
2018-11-29 10:16:41 -05:00
jakub 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
tbenr 3070e1f8a6 fixes #6789
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-29 15:01:38 +01:00
Andrea Maria Piana 08291a8396 Keep username/photo-path synced across devices
We add syncing of account fields in pairing messages (only photo-path &
name for now). Also a sync message is sent each time we send a
contact-update, to keep other devices in sync. The change is compatible
with previous clients as it's just an accretion of transit.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-29 11:37:14 +01:00
Oleksii Lymarenko 6cf9e6136b fix for key dict; skip mark removed
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-29 12:04:30 +02:00
Andrey Shovkoplyas 89f66eab0e fixed Download latest button for Mac
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-29 10:25:42 +01:00
lokalise-bot f283efaebb Lokalise: update translations.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-11-28 18:41:37 +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
jakub 7e031e8008 run buildNumber() at beggining of build, drop minutes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-28 16:10:53 +01:00
Oleksii Lymarenko 79e542e1d5 new test added: redirect to public chat upon tap on the #tag in message
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-28 16:04:30 +02:00
Roman Volosovskyi c506521778 [slow sign in] Better handling of migration failures and db encryption problems.
Migration failures are handled separately from other errors which might appear
during opening account's realm DB. In case if user chooses to erase
the account's database, only this database will be removed and other accounts
will not be touched.
2018-11-28 14:13:30 +02:00
Igor Mandrigin 970c0ca7cd Upgrade developer builds version to 0.9.33 (Intentionally skip 0.9.32).
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-11-28 11:38:41 +01:00
Lukasz Fryc 5b95872a28 Do not save device stats in InfluxDB if database not provided 2018-11-28 10:57:18 +01:00
Oleksii Lymarenko 602a33fdaa added tests: not enough eth for gas validation from DApp/wallet/chat
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-28 10:03:33 +02:00
Andrey Shovkoplyas 028ab522b9 [#6867] Add on-send-sync to chat.command extension
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-27 21:23:20 +01:00
Igor Mandrigin 0547bfec0c Don't show the LES debug label if the network wasn't initialized just yet.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-11-27 17:32:51 +01:00
jakub f5a0c2a7d9 download from DigitalOcean first since it's faster
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-27 14:01:20 +01:00
Andrea Maria Piana 1e5b686027 Disable send button when no peers are connected.
Previously we were only checking whether `network-status` is equal to
`:offline`, therefore allowing the user to send messages even when no
peers are connected (i.e. the app is displaying Connecting to peers..).

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-27 13:15:57 +01:00
jakub 3b494cfc82 add fallback to downloading from DigitalOcean spaces
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-27 09:50:09 +01:00
Pedro Pombeiro a97f319ba0 Offer to kill process taking port 8081 when starting react-native
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-11-26 23:04:26 +01: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 57ef0b2ba3 Avoid unnecessary downloads of Android NDK after running make clean 2018-11-26 23:03:35 +01:00
Pedro Pombeiro 8d2818017c Only disable gradle daemon on CI, and install recommended npm version 2018-11-26 23:03:30 +01:00
yevh-berdnyk 1d0c00d4bc Fixed test_user_can_interact_with_public_chat
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-11-26 20:17:06 +01:00
Julien Eluard a20f3ec546 [Fixes #6800] Introduce picker componenet (and expose activity-loading,
list)

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-26 15:04:07 +01:00
Andrey Shovkoplyas ac7c20ac45 [#6802] Expose a query allowing to access supported ERC20 tokens
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-26 12:42:59 +01:00
Frederik Bolding 3c04982616 Fixed an issue with uninstalling non-active extensions
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-26 10:51:30 +01:00
tbenr 2d5c4e3892 fixes #6601
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-25 21:02:58 +01:00
yenda 60d85b4a2e [fix 6841] wrongs subscription in group chat 2018-11-23 18:12:23 +01:00
Roman Volosovskyi 5d5847e4b9 [slow sign in] Add unviewed messages counter to chat entity.
Before we fetched ALL user-statuses with `status=received` (which means that
a message hasn't been seen), iterated them, grouped by chat and then stored
`message-ids` of these `user-statuses` in chat's `:unviewed-messages` key.

This commit introduces :unviewed-messages-count field in chat entity.
That means that there is no need to iterate `user-statuses` in order to count
a total number of unviewed messages, it is always stored along with chat.
In the rest of it, the difference is only that chat's db record should be
updated each time when unviewed messages are seen.
2018-11-23 17:08:48 +02:00
Julien Eluard 6f08a9fe7f Fixed broken extensions HTTP events
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-23 14:00:25 +01:00
Roman Volosovskyi 6ca3933b71 fix user-statuses after migration from #6722 2018-11-23 13:50:52 +02:00
Andrey Shovkoplyas 719b9f199c [#6642] Allow adding extra key/value pair to chat command
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-23 09:34:05 +01:00
Dmitry 43be2d3614 Add LES nodes back into list of static nodes
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-11-23 09:12:18 +01:00
Bruce Hauman 880d1da3d1 [#6815] restyle sent-transaction screen
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-23 08:33:54 +01:00
Bruce Hauman f7c9f8631d [#6786] restyle main wallet screen
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-22 18:26:46 +01:00
Andrey Shovkoplyas 5dd345fe49 [#6643] Allow chat command suggestions to select parameter
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-22 15:57:39 +01:00
Oleksii Lymarenko f1b457677c new test added: user can send/read messages in public chat
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-22 15:28:37 +02:00
Oleksii Lymarenko ad922f4c60 new test added: check currency fiat value is correct
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-22 15:26:12 +02:00
Dmitry 7a0fc763a4 Rendezvous should be false if list of nodes is empty
We can disable this validation in status-go. I am not sure why we have it.
But it will take longer.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-11-22 11:51:20 +01:00
Bruce Hauman a5c5e1831f better protect transaction history polling from errors
Go blocks parse try catch blocks and turn them into event
dispatches. This captures the original intent of the code to catch
errors and terminate the current async worker execution.

Signed-off-by: yenda <eric@status.im>
2018-11-21 17:25:36 +01:00
Roman Volosovskyi d66198a420 [slow sign in]
fix iterating over all messages from realm db (was done for deduplication)
async loading of chats (:init-chats event)
2018-11-21 18:21:52 +02:00
Julien Eluard 205c9aaecc [Fixes #6825] Do not open settings as a modal
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-21 16:36:06 +01:00
jakub c5d069e8a3 fix naming of download status-go archives to avoid re-downloads
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-21 14:38:27 +01:00
jakub 01c8d9b25b stop using build-* git tags for counting build numbers
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-21 13:43:12 +01:00
yenda 20bd65c0c0 [refactor] differentiate private and public chat and contact subs
- aliased namespace keywords are used for local subs used for caching
- synthetic :chat namespace is used for subs used elsewhere

Signed-off-by: yenda <eric@status.im>
2018-11-21 12:08:51 +01:00
Julien Eluard ee4cafbbe3 [Fixes #6784] Fixed some ABI codec issues
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-21 11:12:19 +01:00
Julien Eluard f78f98ff6f Renamed hook name
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-21 11:11:03 +01:00
Roman Volosovskyi 1dcc7727f1 [slow sign in] faster :get-referenced-messages 2018-11-21 10:50:45 +02:00
yenda 79c149af7d [fix] usernames in bold on Linux
Signed-off-by: yenda <eric@status.im>
2018-11-21 08:40:35 +01:00
Roman Volosovskyi b792ab5cf3 [slow sign in] faster get-unviewed-messages 2018-11-21 08:04:33 +02:00
Julien Eluard 605f8d2590 [Fixes #6793] Improved hook name
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-20 18:20:28 +01:00
Julien Eluard 529eabb1f4 [Fixes #6739] Introduced wallet.settings hook
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-20 18:04:25 +01:00
Dmitry 09fba00492 Add rendezvous nodes to configuration
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-20 17:25:59 +01:00
Goran Jovic 28c6d46c49 bug #6768 - updating enabled tokens before navigation to wallet
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-20 17:22:36 +01:00
Bruce Hauman d5dde69af9 [#6718] restyle wallet onboarding flow
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-20 17:21:26 +01:00
Goran Jovic 72e7ae2fff feature #6509 - validating token config against their contracts; moved token info from compile time list to app-db; fixed any discrepancies in existing info
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-20 17:18:08 +01:00
Oleksii Lymarenko 58dc06267c fix faq element locator on help view
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-20 17:26:52 +02:00
Frederik Bolding 5d549fec12 Changed to popups for installing and uninstalling extensions
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-20 15:19:57 +01:00
Pedro Pombeiro a31d10f6dc Add support for generating Windows install program instead of zip file. Part of #6304
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-11-20 15:11:24 +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 5f2958ba9d Lock down conan.cmake file version to avoid having upstream break our builds 2018-11-20 14:07:34 +01:00
Anton Danchenko 1e241b5a90 removed sign in after the network switch
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-11-20 14:48:08 +02:00
Pedro Pombeiro f15b41b9d8 Reduce number of days required to consider a PR stale to 14
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-11-20 11:21:15 +01:00
yenda c48dd4597f [fix] current chat in bold on Linux
Signed-off-by: yenda <eric@status.im>
2018-11-20 10:40:04 +01:00
Oleksii Lymarenko 9b198e4352 new test added: user can see own assets after account recovering
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-20 09:11:47 +02:00
Andrey Shovkoplyas 624130e440 [#6736] support multi-extensions store
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-19 22:54:25 +01:00
Oleksii Lymarenko bc44df32cb new test added: check that system replaces capital letters when typing passphrase
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-19 19:02:00 +02:00
yenda b119facb2a [fix] query-chat-contacts subscription params
Signed-off-by: yenda <eric@status.im>
2018-11-19 15:59:44 +01:00
Anton Danchenko cf15789e2a skip tests in order not to false fail in PR
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-11-19 16:45:03 +02:00
yenda 1ba7feb439 [refactor] move contact.subs and utils.contacts to contact.db
functions defined in subs need to be reusable and testable independently
from re-frame framework. they are moved into db namespace for that purpose

Signed-off-by: yenda <eric@status.im>
2018-11-19 14:30:25 +01:00
Lukasz Fryc eed610c46e Allow to measure battery and network consumption on real device 2018-11-19 14:16:10 +01:00
Pedro Pombeiro 50200404ce Ensure no ubuntu-server process is running at startup. Fixes #6584
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-11-19 13:26:37 +01:00
yenda 73ccb44663 introduce priority map
- in future PRs we want to reduce the expensive sort operations
on list of messages while keeping the possibility to get a message
by its ID
- priority map allow to keep a map sorted by it's value which
is what we want to do here. we want to keep the messages ordered
by clock-value

Signed-off-by: yenda <eric@status.im>
2018-11-19 12:32:01 +01:00
yenda 77e9aea755 [refactor] move chat.subs fns to chat.db
Signed-off-by: yenda <eric@status.im>
2018-11-19 12:30:58 +01:00
Oskar Thorén 15369325c0 (No code): Github issue simpte template (#6444) 2018-11-19 16:24:34 +08:00
yenda 2ccc8fef0d [fix] align min input container height with tab menu
Signed-off-by: yenda <eric@status.im>
2018-11-16 22:43:30 +01:00
Oleksii Lymarenko 360ee565f2 recovery view: added accessibility labels for passphrase and password
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-16 14:56:34 +02:00
yenda 96ff54e702 [fix] resurrect cljs-react-navigation
Signed-off-by: yenda <eric@status.im>
2018-11-16 13:49:47 +01:00
yenda b41df3b3c2 updating cljs compiler
Signed-off-by: yenda <eric@status.im>
2018-11-16 13:10:31 +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
Andrea Maria Piana dfe00fab87 Bump version to 0.9.31
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-16 11:11:27 +01:00
Anton Danchenko 4ad021691f added runner and testrail report
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-11-16 11:53:40 +02:00
Andy Tudhope 43357e1708 Update links
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-16 10:17:51 +01:00
Bruce Hauman 1716643c46 [#5749] transaction history fixes
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-16 10:03:54 +01:00
Chad f567b59243 Add Fastlane action to upload Google Play metadata
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-16 09:56:30 +01:00
yevh-berdnyk e08b496c38 Fixed transactions history test
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-11-15 18:11:58 +01:00
Vitaliy Vlasov c8278f0407 Fix QTROOT for clang64-based Qt
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-11-15 14:09:57 +02:00
jakub c825ff285a use a table to post links to build artifacts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-15 12:31:51 +01:00
Anton Danchenko 510961e333 swipe to delete fix
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-11-15 12:22:28 +02:00
Igor Mandrigin 83ef7746d4 Show debug information when LES is selected (in the titlebar).
To simplify testing and debugging, there is a very simple sync indicator
(debug) for LES. This UI is not even close to being production and will
be reworked in the future.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-11-15 10:34:31 +01:00
Oleksii Lymarenko 89e0ea0bd2 new test added: check fiat value is correct for token transactions
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-14 22:43:50 +02:00
yevh-berdnyk 68d6255d44 Fixed chat element locator
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-11-14 18:17:16 +01:00
jakub d86ebe3c9b use uppercase for latest.json
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-14 18:14:17 +01:00
Pedro Pombeiro ff0613b0f8 Add Desktop app icon. Closes #5807
Signed-off-by: yenda <eric@status.im>
2018-11-14 17:28:09 +01:00
Pedro Pombeiro b8f6eb8d24 Configure Jenkins for Windows builds. Part of #5807 2018-11-14 17:16:32 +01:00
Pedro Pombeiro d0f78445d4 Windows port using Conan and MXE. Part of #5807 2018-11-14 17:16:29 +01:00
Andrey Shovkoplyas 1f2e2728cb use ens name for granting permissions
Signed-off-by: yenda <eric@status.im>
2018-11-14 16:34:29 +01:00
janherich f5ab49a4a4 Make bold work on desktop again
Signed-off-by: yenda <eric@status.im>
2018-11-14 16:33:19 +01:00
Julien Eluard ca7b4f1b74 Moved to fixed pluto version
Signed-off-by: yenda <eric@status.im>
2018-11-14 15:02:34 +01:00
jakub a016b1656d increate android and combined timeout to 35 minutes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-14 13:43:22 +01:00
Andrea Maria Piana 1104becfba Enable syncing of contacts & style pairing section
Everytime a contact request is sent/confirmed a sync message is also
sent to other devices so the contact is kept in sync.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-14 13:21:14 +01:00
Julien Eluard e8d3e39063 Adding SNT voting DApp
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-14 10:55:54 +01:00
jakub 972cb3350e call the correct job for updating nightlies page
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-13 20:10:42 +01:00
jakub c3ad0a7b21 bump android timeout to 30 min
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-13 17:40:02 +01:00
Pedro Pombeiro c088e7b651 Fix RN dependency before Windows PR is merged
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-11-13 14:17:43 +01:00
jakub 2890614a08 add timestamps to all commands
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-13 13:11:40 +01:00
jakub 60f1e485d6 bump ios timeout to 35 min because prep stage can take long
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-13 12:46:20 +01:00
Vitaliy Vlasov a64674907e Update rn to 0.56.1_1
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-11-12 21:24:53 +02:00
tbenr c363c06a17 fixes #5699
gas estimation sets original-gas when nil

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-12 11:04:05 +01:00
Aleksandr Pantiukhov 17f74ff2f6 [#6455]: Updated extension management
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-11-12 10:28:48 +01:00
Martin Schenck 8592b25093 Add ST to assets list
Adds ST token to list of available assets.

- Open Status
- Go to Manage Assets, add ST.
- You'll see that you can now add ST.

status: ready

Fixes #6624

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-12 10:00:30 +01:00
jakub d2160e3701 upload a latest.json to the nightlies bucket
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-10 15:44:49 +01:00
yenda 014d564e72 [fix] error when switching chats
- a subscription name change was missed during rebase

Signed-off-by: yenda <eric@status.im>
2018-11-10 13:41:44 +01:00
Andrey Shovkoplyas 44aef6788f open chat for ens names
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-09 17:47:35 +01:00
Andrey Shovkoplyas 88b43e7dc2 introduced browser privacy mode
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-09 13:22:42 +01:00
Serhy 5e2c192524 Add automated tests according to #6649
Signed-off-by: Serhy <sergii@status.im>
2018-11-09 12:56:18 +02:00
Julien Eluard 6730a48da4 Added some new DApps
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-09 11:54:19 +01:00
Julien Eluard 2f8414b982 [Fixes #6665] Wrap view child elements when needed
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-09 11:34:35 +01:00
Eric Dvorsak 26ec3f8cd7 [refactor] remove unused functions in handlers
Signed-off-by: yenda <eric@status.im>
2018-11-09 11:16:46 +01:00
Eric Dvorsak 548162f733 [refactor] remove current-public-key 2018-11-09 11:16:27 +01:00
Eric Dvorsak f8f499d9b0 [refactor] rename whisper-id and whisper-identity to public-key 2018-11-09 11:16:27 +01:00
Eric Dvorsak a6da75f8e9 [refactor] remove email field in account 2018-11-09 11:16:27 +01:00
Eric Dvorsak 38ec77b97b [refactor] remove default contacts
transactor and demo-bot are not used anymore and related code can therefore
be deleted
2018-11-09 11:16:26 +01:00
Eric Dvorsak b7b7806ed1 [refactor] remove allowed-keys macro
The initial purpose of the allowed keys macro was to only accept maps
with a defined set of keys so that the maps can be serialized into the db.
The way maps are serialized has been changed so that only the existing keys
in the db are cherry picked so passing maps with extra keys is no longer a
problem
2018-11-09 11:16:26 +01:00
Eric Dvorsak 4804d11b0f [refactor] remove jail-loaded? and jail-loaded-events 2018-11-09 11:16:23 +01:00
Julien Eluard 009d974d83 Improved extensions error handling. Various fixes.
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-09 09:42:23 +01:00
jakub 7a1a8ba615 add pip3, it's necessary for cross-compiling for windows
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-09 09:13:13 +01:00
jakub 1a0e0c71a6 remove slackSend call which caused failures
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-08 19:19:31 +01:00
yenda 93db31d867 [6628] don't block message sending when mailserver disconnected
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-11-08 19:37:13 +03:00
yenda 5594fb6c60 [fix 6508] user own picture should be unclickable in chats
Signed-off-by: yenda <eric@status.im>
2018-11-08 16:02:05 +01:00
Andrey Shovkoplyas e9bf1d7864 [#6169] Display .eth or other domain rather than IPFS redirect
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-08 15:53:38 +01:00
Roman Volosovskyi 7264ae2a14 prevent logging of re-frame events parameters
mask password received from keychain
2018-11-08 12:39:50 +01:00
Dmitry Novotochinov ae3029c2d9 [#6294] add desktop alpha release warning
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-11-07 22:10:39 +03:00
yevh-berdnyk 9a088ffc54 Fixed onboarding from DApp and openning links tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-11-07 17:32:21 +01:00
Andrey Shovkoplyas 36ef541037 fixed CK
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-07 17:14:01 +01:00
yenda a3b2bc1b87 [fix #3913] do not logout when changing mailserver
- do not logout and remove previous mailserver
from peers when changing mailserver
- rename wnode mailserver
- move transport.inbox to mailserver.core
- fix all subs and db keys

Signed-off-by: yenda <eric@status.im>
2018-11-07 17:10:18 +01:00
Oleksii Lymarenko ed16d9f191 new test added: can complete txn to dapp after onboarding called from dapp is completed
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-07 17:40:16 +02:00
Aleksandr Pantiukhov 358b447b67 React Native HTTP Bridge 0.6.1 update: ability to handle simultaneous HTTP requests properly
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-11-07 16:24:51 +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
Serhy 6063134202 ix request ETH in simple dapp
Signed-off-by: Serhy <sergii@status.im>
2018-11-07 16:17:21 +02:00
Pedro Pombeiro 43075cc156 Increase build timeout as it is failing intermittently now
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-11-07 10:18:34 +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
janherich ff97345f07 Plug-in new text parsing engine 2018-11-06 19:59:24 +01:00
Goran Jovic 8d168bf3cd bug #5899 - restored missing transaction error messages
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-06 17:46:09 +01:00
karol 18b4bf590c [#2884] added name lookup for recipient after qr code scanning, moved address comparision function to utils.ethereum namespace, address= will now expect address to be passed (instead of contact)
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-06 17:44:55 +01:00
Andrey Shovkoplyas e09476f5d3 added Inter UI font and made some cleanup
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-06 16:46:58 +01:00
Julien Eluard fceaa0981f Fixed some extensions issues (smallish)
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-06 15:56:37 +01:00
Oleksii Lymarenko 9248db8dfb changed element locator
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-06 16:33:04 +02:00
Julien Eluard 747bac2738 Updated Kudos address to reflect latest contract
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-06 15:05:20 +01:00
Andrea Maria Piana 7aa597517e Add system messages to group chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-05 14:54:43 +01:00
Oleksii Lymarenko a8481ab3e1 got rid of set_network_connection() usage in test due to permanent failing
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-05 15:06:44 +02:00
Oleksii Lymarenko 70388b9113 refreshed saucelabs image templates
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-05 15:04:49 +02: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
Bruno Škvorc 0d35ff0e94 Typo in "new message" notification fixed
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-01 13:54:56 +01:00
Dmitry Novotochinov 7a62b4b48b [#6415] mark button as inactive when no internet or mailserver connection
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-01 13:32:28 +01:00
Vitaliy Vlasov 66e7815bcc Force node restart during initialization on desktop
Remove log

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-01 13:29:27 +01:00
Max Risuhin 711f454c76 Non-bundle build logging to file support; Custom log path with STATUS_LOG_PATH env var.
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2018-11-01 10:24:31 +02:00
Serhy b0b2e5013b Fix help section test
Signed-off-by: Serhy <sergii@status.im>
2018-10-31 11:41:41 +02:00
jakub 8199211e4d add jenkins timeouts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-10-30 13:31:19 +01:00
Andrey Shovkoplyas f53c4c275e make designers happy again
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-29 15:07:40 +01:00
Andrea Maria Piana 272da01051 Update status-go
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-10-29 09:59:57 +01:00
Oleksii Lymarenko 092da7ab9d added test: can proceed using dapp after transacting tokens
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-10-29 10:33:33 +02:00
Oleksii Lymarenko aa18cdc20e functional test added: user can remove profile picture
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-10-29 10:19:34 +02:00
Andrea Maria Piana edaf70ca5d Fix status-go version
Signed-off-by: Eric Dvorsak <eric@status.im>
2018-10-28 17:55:15 +01:00
Aleksandr Pantiukhov 654950dcaa GET /networks endpoint for development server
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-10-28 16:49:12 +01:00
Eric Dvorsak b293fb11e3 [fix] fix ens name resolution
the app was previously letting the user create a chat with a contact
if a name typed in the input returned a valid public key at some point
because the field wasn't cleaned up with latter typing

Signed-off-by: Eric Dvorsak <eric@status.im>
2018-10-28 16:29:13 +01:00
yevh-berdnyk c348342590 Added TestRail link for test results in PRs
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-28 15:03:40 +01:00
Vitaliy Vlasov 713433f443 fix repo url
Signed-off-by: Eric Dvorsak <eric@status.im>
2018-10-28 12:08:28 +01:00
yenda bbf91468e7 [fix] add missing account schema in base schemas
Signed-off-by: Eric Dvorsak <eric@status.im>
2018-10-28 12:07:05 +01:00
Andrea Maria Piana 073dddcee0 Add pairing
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-10-27 20:43:53 +02:00
Vitaliy Vlasov ca8a3037d8 Use ReactText for links
Add custom rn-desktop repo path

Fix url in package-lock.json

Fix regex

Add comments

Fix errors

More

Remove package-lock change

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-10-26 18:09:45 +02:00
yevh-berdnyk f8343cc377 Fixed logging
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-25 15:16:16 +03:00
Aleksandr Pantiukhov 0ee07ca72c Changes in how we update extensions: don't check for URL to be different
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-10-25 11:09:12 +02:00
Volodymyr Kozieiev 0bc9fb6d9d Adjusted chat input to send text on on-submit-editing
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2018-10-25 11:02:39 +03:00
Andrey Shovkoplyas f8ef431373 [extensions] ethereum call decode params
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-25 09:22:29 +02:00
Julien Eluard 3eda5e3bfc Added extra extensions primitives
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-25 09:03:37 +02:00
yenda 6820b1fff2 remove "react-native/src/mobile" from deps.edn paths
Signed-off-by: yenda <eric@status.im>
2018-10-24 22:20:42 +02:00
yenda a4461089fc [fix 6501] sort chats by timestamps of last incoming message
Signed-off-by: yenda <eric@status.im>
2018-10-24 18:19:29 +02:00
yenda e020f19da0 [fix 6500] search doesn't find name for contact that added user
- chat name is not updated with contact name
- when a contact adds the user and is added back by user, the name
of the chat is still the random name of the contact
- in active-chats subscriptions, replace the name of the chat by the current
name of the contact
2018-10-24 18:18:50 +02:00
Dmitry Novotochinov 6d0a7219ae fix typo in clj-rn conf
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-10-24 17:35:59 +03:00
yevh-berdnyk af360cbda6 Added new tests for desktop
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-24 17:16:56 +03:00
Dmitry Novotochinov 736fa2376b update clj-rn to the latest version
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-10-24 17:07:17 +03:00
Dmitry Novotochinov 40914a1431 [#5339] switch Desktop to clj-rn
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-10-24 15:48:08 +03:00
Goran Jovic 3da2cd9b9e feature #6250 - added xdai and poa sidechains
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-10-24 10:00:04 +02:00
janherich 76165cc7cb [#6460] [#6438] Deduplication-ids 2018-10-24 09:43:52 +02:00
yenda 82c3997f07 [desktop] Add search feature for chat list
Signed-off-by: yenda <eric@status.im>
2018-10-23 17:27:27 +02:00
jakub 14ef386f2e move google repo before jcenter for maven
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-10-23 17:31:40 +03:00
Oleksii Lymarenko 96fe193daa switching airplane toggle method added
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-10-23 16:30:54 +03:00
yevh-berdnyk 927038a1d7 dockerfile for running e2e tests against desktop app
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-23 14:41:23 +03:00
jakub 3b589d03b7 upgrade fastlane: 2.104.0 > 2.107.0
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-10-23 12:26:22 +02:00
Oleksii Lymarenko 0ef2b68f69 changed element locator for a test
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-10-23 11:32:06 +03:00
Julien Eluard 56e3aaebe0 Fixed incorrect on-send / on-receive handling
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-23 09:46:16 +02:00
yenda 6b1c6c7d0a [fix 6410] error when fetching history on certain accounts
- 1-1 chats don't have a topic anymore because they only use the
discovery topic so topic is nil for these chat
- this was causing an error when initializing whisper because the app
was trying to start a filter for each of the chat including the 1-1 with
no topic
- we now filter the transport/chats to only recover sym-key and start filter
for those with a topic
2018-10-22 19:10:34 +02: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
Igor Mandrigin cd83c7da6d Update release Jenkinsfiles to use cmn library.
Jenkinsfile.upload_release_android
Jenkinsfile.upload_release_ios

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-10-22 15:21:02 +02:00
Aleksandr Pantiukhov 5f06ebc27d Temporary that makes it possible to install only one extension at a time (required for the hackathon)
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-10-22 15:01:39 +02:00
Dmitry Novotochinov 83a92aa4b0 [#5839] fix logo on welcome screen on desktop
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-10-19 21:29:16 +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
Aleksandr Pantiukhov 2c65077270 [#6382]: Makes extensions dev-mode aware
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-19 16:37:46 +02:00
Julien Eluard c857eb5357 Added disclaimer for extensions
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-19 16:35:12 +02:00
Andrey Shovkoplyas 5ba5395d57 [extensions] ethereum events
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-19 15:38:45 +02:00
Igor Mandrigin a42d4f60b3 Update short description to fit into GP limitations (pt-PT). 2018-10-19 16:17:23 +03:00
Aleksandr Pantiukhov d7b4e04efd [#6402]: "div() not a number: null" error after connecting to Ropsten and opening Wallet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-19 14:00:29 +02:00
Andrey Shovkoplyas e2533e9964 http kudos token image
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-19 13:58:47 +02:00
Anton Danchenko 7d0c655441 fix for ETHro selection
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-19 12:43:08 +03:00
Julien Eluard bfccd03ba8 Added Kickback
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-19 11:07:20 +02:00
Aleksandr Pantiukhov ae1a5bd52b Fixes set-extension-url-from-qr: updates it for the new manage object
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-19 10:36:39 +02:00
Andrea Maria Piana 9629983f7f Remove instabug 2018-10-19 09:18:22 +03:00
yenda 720a65e3ab [fix 6009] do not allow public chat named with valid contact key
Signed-off-by: yenda <eric@status.im>
2018-10-18 22:24:24 +02:00
Roman Volosovskyi 4c426d9c2b remove the rest of testfairy's mentions from the project 2018-10-18 20:54:59 +03:00
janherich 13eff1fb7e Fix migrations 2018-10-18 17:31:15 +02:00
Julien Eluard ec69938529 Added new extension primitives
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-18 17:09:20 +02:00
Aleksandr Pantiukhov 76a724a2e7 [#6228]: API: requesting to connect to a node that is not available crashes the application
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-10-18 16:43:42 +02:00
Oleksii Lymarenko df9a59e255 removed critical mark from transaction history test
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-10-18 17:38:13 +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
Goran Jovic 24068fe0e9 feature #6239 - showing native currency symbol differently for non-mainnet chains
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-10-18 11:54:14 +02:00
yevh-berdnyk 75ade1673b False failures fix
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-18 12:04:12 +03:00
Lukasz Fryc 8e9f0143ad Remove TestFairy from E2E tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-17 22:37:05 +03:00
yenda f98e013cff fix login after logout when opening app from a notification
moves most of the fx that are suppose to happen only at app startup
to an init/start-app fn so that init/initialize-app which is also
called after logout doesn't repeat unecessary fxs
2018-10-17 17:24:34 +03:00
Julien Eluard c36a0657e6 Added http/get event
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-17 16:08:26 +02:00
Roman Volosovskyi 382640d72c [#6347] fix profile qr code 2018-10-17 17:04:41 +03:00
Andrea Maria Piana 22c8999eca Send seen with pubkey
Signed-off-by: yenda <eric@status.im>
2018-10-17 15:25:47 +02:00
Andrey Shovkoplyas 62db799d60 rename kUDOS key to KDO, and fixed tokens list item alignment
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-17 14:15:36 +02:00
Aleksandr Pantiukhov 23503dc996 [#6094]: Persist extensions
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-10-17 14:08:45 +02:00
Roman Volosovskyi 99162fa971 [#6307] fix each message sent before upgrade is shown twice after upgrade from 0.9.29 2018-10-17 15:00:14 +03:00
janherich 2a292e96e5 Validate even on submit press 2018-10-17 10:56:54 +02:00
janherich acd05e2687 Implementation of text content parsing 2018-10-16 23:13:11 +02:00
Roman Volosovskyi c338896018 [#6330] remove testfairy 2018-10-16 20:46:43 +03: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
yevh-berdnyk 55d72b534a Desktop automation PoC
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-16 17:52:26 +03:00
Goran Jovic d823bfd71c bug #6135 - made place for recovery phrase error tooltip on desktop
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-10-16 15:37:46 +02:00
Roman Volosovskyi 7bab525202 request only one day history from mailserver 2018-10-16 14:33:51 +03:00
Andrey Shovkoplyas 31fdb39683 [#6149] Add support for KudosTokens
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-16 13:32:11 +02:00
Andrea Maria Piana 09ca7d887c Log db error
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-10-16 13:25:07 +02:00
Roman Volosovskyi bac5839dd0 [#6156] fix Share link button in user's profile does not contain profile universal link 2018-10-16 13:07:26 +03:00
Oleksii Lymarenko dd7132f7d2 cast rerun count to int
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-16 12:35:54 +03:00
Roman Volosovskyi 9d1debbf28 [#6283] fix unknown chat after transaction 2018-10-16 08:11:55 +03:00
yenda d09a2956c3 increase request timeout
- give more time for requests to complete
- change mailserver everytime a request time out

Signed-off-by: yenda <eric@status.im>
2018-10-16 01:16:48 +02:00
yenda 647db6d698 hotfix realm migration
Signed-off-by: yenda <eric@status.im>
2018-10-15 21:53:40 +02:00
yenda 1c99df5343 don't check new version on Linux to prevent network error
Signed-off-by: yenda <eric@status.im>
2018-10-15 18:17:01 +02:00
yenda 547f8b0713 [fix 6322] Invalid prop fontWeight
Signed-off-by: yenda <eric@status.im>
2018-10-15 18:09:10 +02:00
lokalise-bot e5d3f3a827 Lokalise: update of es, fa, ko, ms, ne, pl, ru, zh_Hans_CN translations.
Enable Farsi.
2018-10-15 19:06:31 +03:00
yenda 660bd2d1bd request 7 days of history
- fetch 7 days of history when joining a chat
- make 7 24h requests to request 7 days because mailservers
ignores requests for a timespan > 24h
- make requests sequentially to avoid timeouts
- change mailserver after 3 timeouts on a request

Signed-off-by: yenda <eric@status.im>
2018-10-15 17:18:59 +02:00
Oleksii Lymarenko 184dd03fa0 make conftest file meet pytest requirements
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-10-15 18:10:46 +03:00
Oleksii Lymarenko 1639943627 onboarding screen verification test added (testrail id 5355)
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-10-15 18:07:55 +03:00
Igor Mandrigin 9c362b41a1 Bump version to 0.9.30
Signed-off-by: yenda <eric@status.im>
2018-10-15 16:46:36 +02:00
Oleksii Lymarenko 3bda480fe6 txs history test added (testrail id 5314)
Signed-off-by: yenda <eric@status.im>
2018-10-15 16:45:41 +02:00
Igor Mandrigin bc688421ea Enable LES option for nightlies.
fixes a leftover cause by having a separate file for nightlies now.

Signed-off-by: yenda <eric@status.im>
2018-10-15 16:44:36 +02:00
Igor Mandrigin 1c4cca1004 Don't start a node while the node is already being started.
Restart it instead, so that we are sure which config is there.

Signed-off-by: yenda <eric@status.im>
2018-10-15 16:43:30 +02:00
janherich b8fa4f5cbd Hide unknown referenced messages 2018-10-15 17:38:10 +03:00
Julien Eluard 5eeda7aa0b Fixes #6275
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-15 15:34:47 +02:00
Andrey Shovkoplyas a6de279660 desktop no bubbles
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-15 14:59:22 +02:00
Aleksandr Pantiukhov 4c7339f978 [#6198]: Add QR code scanner support in extensions panel
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-15 12:03:03 +02:00
yenda 1a2fcdfe3a refactor contact models
- move models.contact and models.contacts to contact.core
- add tags field to contact and chat

Signed-off-by: yenda <eric@status.im>
2018-10-15 11:57:48 +02:00
Andrey Shovkoplyas aaa8530f5a download latest nightly in desktop
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-15 11:04:17 +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 21cda18996 [#6083] upgrade react-native-webview-bridge 2018-10-13 21:40:28 +03:00
yenda 8ccb4ddfea fix remove public chat bug
Signed-off-by: yenda <eric@status.im>
2018-10-12 18:35:18 +02:00
jakub 33cf6dfd4b add a fix for APK content type
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-10-12 09:52:23 -04:00
yenda 211e39bb5f support for all .eth username resolution
- resolve all eth usernames
- resolve stateofus.eth without domain

Signed-off-by: yenda <eric@status.im>
2018-10-12 14:45:15 +02:00
Goran Jovic 364b08e3b2 bug #6261 - removed blue dot from outgoing payment messages
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-12 12:34:30 +02:00
Mariano Conti 0838867a6f Add MKR
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-12 12:33:01 +02:00
Julien Eluard 00ed5bc883 Moved to newer pluto
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-12 10:17:27 +02:00
Max Risuhin 02cb5dc8d4 Apply scroll-view rendering optimization for list of chats
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2018-10-11 17:16:22 +03:00
yevh-berdnyk dc37e8b2dd Updated profile picture templates
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-11 16:28:02 +03:00
yenda efdd76b364 refactor inbox
Signed-off-by: yenda <eric@status.im>
2018-10-11 14:47:04 +02:00
Andrey Shovkoplyas dc8976a8b2 fix for debug server start on login
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-11 13:30:54 +02:00
Andrea Maria Piana d3ed67e29b Fix broken rebase
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-10-11 12:41:15 +02:00
Andrea Maria Piana dda7c5e0f8 Dont kill task worker on exceptions
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-10-11 12:39:42 +02:00
janherich 99d33ebbc9 Always load messages referenced in responses 2018-10-11 11:21:34 +02:00
Aleksandr Pantiukhov 1b6fa1d980 [#5979]: Add ENS names to profile screen
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-10-11 08:53:08 +02:00
Bruno Škvorc e461e4d2fe Intro link was leading to 404, fixed
Signed-off-by: yenda <eric@status.im>
2018-10-10 19:58:49 +02:00
Chad fc0dc97146 default public chats use a-z instead of unicode
Signed-off-by: yenda <eric@status.im>
2018-10-10 19:56:54 +02:00
yenda c2f8965f02 update piggieback
Signed-off-by: yenda <eric@status.im>
2018-10-10 19:55:48 +02:00
Oleksii Lymarenko 321fb5e24a false faucet fixture autouse
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-10 17:31:20 +03:00
Lukasz Fryc e126890d09 Include platforms and areas to test in PR template 2018-10-10 16:12:09 +02:00
Roman Volosovskyi 4e65862f7f [android] fix screen flickering in dev mode 2018-10-10 16:37:11 +03:00
Andrey Shovkoplyas b63602e1ff [#6232] Link is not visible when sending it as my own message
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-10 14:12:22 +02:00
Oleksii Lymarenko 2cab2bdc05 fix privacy summary elm locator; changed python string formatting
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-10-10 13:28:52 +03:00
Igor Mandrigin 0b22bddca2 Show 3-word names in profile screens in Desktop.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-10-10 12:23:26 +02: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
Roman Volosovskyi 16fd0c272e [#6116] [desktop] escaping was moved to react-native-desktop side 2018-10-10 13:11:43 +03:00
yenda 2a02f63567 support for clickable links and channels on desktop
Signed-off-by: yenda <eric@status.im>
2018-10-09 22:51:07 +02:00
Andrey Shovkoplyas b776af96c6 make iphone xs max owners little bit happier
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-09 14:53:11 +02:00
Andrea Maria Piana 84151ea996 Ignore messages with too high clock-value and prevent stored messages to pollute the database
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-10-09 14:34:29 +02:00
Andrey Shovkoplyas 17053019e3 fixed rebase mess with default-chat-color
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-09 13:58:44 +02:00
Vitaliy Vlasov a0f707fee2 Add port arg to ubuntu-server.js
Use the value of REACT_SERVER_PORT env var if set

Change node port and datadir depending on the value of DEV_BUILD config
variable

Fix missing paren

Bugfix

Remove desktopJSBundlePath

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-10-09 14:30:50 +03:00
Andrey Shovkoplyas d32f15243d colors refactoring
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-09 13:26:42 +02: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
janherich 66ef32d3b9 Move all the legacy handling into transit 2018-10-08 21:00:59 +02:00
janherich f507484dc8 Desktop chat replies 2018-10-08 20:59:05 +02:00
yevh-berdnyk 95639d1bf2 Token info url is changed to https
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-08 20:10:27 +03:00
Roman Volosovskyi ce4d3eb88a [#6162] fix passphrase-validation 2018-10-08 16:26:20 +03:00
Roman Volosovskyi 884bbbb813 [#6122] prevent submitting of recovery phrase when it is empty 2018-10-08 16:09:52 +03:00
Roman Volosovskyi ccf037c167 [#6074, #5656] [desktop] fix caret jumping in message input & message input on switching 2018-10-08 16:08:00 +03:00
Roman Volosovskyi 91a50d0c4c [#4779] fix Bootnodes are shown as enabled when they are not 2018-10-08 16:05:25 +03:00
Serhy c863f05a83 Fix tests after wallet modal button moved
Signed-off-by: Serhy <sergii@status.im>
2018-10-08 15:38:12 +03:00
Andy Tudhope 2d9aaf1893 Adds cryptolife and introductions to default public chats
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-08 13:03:46 +02:00
yevh-berdnyk 7613e642ff Fixed username verification in public chat, added StaleElementReferenceException to rerun errors
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-08 14:01:27 +03:00
Oleksii Lymarenko 3bc7378544 fix for python35 string formatting
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-10-08 11:53:33 +03:00
jakub 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
Max Risuhin 3b998904d2 Repair RPATH for Status native binary
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2018-10-05 18:43:00 +03:00
Goran Jovic 260d8a5b94 fix for the build problem on android
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-10-05 15:12:39 +02:00
Max Risuhin de6b7b1809 Set JS_APP_NAME to exported one from Status JS bundle
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2018-10-04 23:32:54 +03:00
Oleksii Lymarenko e8c68cfff9 passphrase validation tests added
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-04 18:40:42 +03:00
Vitaliy Vlasov 5d6f7d4daf Fix react-native-desktop URL
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-10-04 18:17:02 +03:00
Igor Mandrigin 42951c7a67 Display 3-word names even for known contacts (and for yourself).
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-10-04 16:18:27 +02:00
Vitaliy Vlasov f4eff839ce Add not-sent-without-tap translation
Set link to rn-desktop repo fork

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-10-04 15:27:06 +02:00
Andrey Shovkoplyas 1b6d51ff11 implemented functionality to request user action from dapps
fixed qr code js api

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-10-04 15:25:18 +02:00
Goran Jovic cb94f9f6da feature #6065 - lpt token
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-10-04 15:23:12 +02:00
Goran Jovic 77b4dafe3e bug #5975 - navigating back to chat after chat initiated transaction
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-10-04 15:22:10 +02:00
Roman Volosovskyi 34f8031d9f fix reloading of views 2018-10-04 15:06:12 +03:00
jakub 27667dd949 upload PR build artifacts to a separate bucket, also update desc
also splify syntax with helper methods and variables

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-10-03 12:03:15 -04:00
jakub 4f9b2d91ea upgrade QT for desktop to 5.11.2 (solves #6053)
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-10-03 11:49:52 -04:00
Goran Jovic 22119ccf27 feature #4255 - backup recovery phrase in desktop app
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-10-03 16:09:05 +02:00
Dmitry Novotochinov 5dec44340d Add wizard and 'card is ready' screen
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-10-03 16:50:41 +03:00
yenda 23679ac5b4 [fix #6087] error on empty messages
add a guard so that `right-to-left-text?` function doesn't throw
an error on empty content

future empty messages aren't going to pass validation

Signed-off-by: yenda <eric@status.im>
2018-10-03 12:09:44 +02:00
yevh-berdnyk 37c3f30d75 Updated share public key accessibility ids
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-03 11:10:15 +03:00
yenda 0caab1f7ce Fixup command validation
Signed-off-by: yenda <eric@status.im>
2018-10-03 00:05:19 +02:00
yenda df6432240a do not dispatch unecessary events
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-02 22:12:57 +02:00
Andrey Shovkoplyas a1d0dcc0ec introduced new status js api according latest web3 opt-in api 2018-10-02 22:12:46 +02:00
yenda 81b2afebc1 validate incoming message
- add validate method to StatusMessage protocol
- spec all message types for use in validate method
- use valid method after transit/decode step to reject
invalid messages

Signed-off-by: yenda <eric@status.im>
2018-10-02 20:52:04 +02:00
Dmitry Novotochinov 7a06a415c2 [#5964] hardwallet screens flow 2
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-10-02 21:15:28 +03:00
Aleksandr Pantiukhov 77f7a538f1 [#6066]: Update Livepeer listing + add livepeer.tv
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-10-02 18:41:40 +03:00
Aleksandr Pantiukhov 523fa4ee09 [#5529]: Add UI for sharing deep links; update QR code screens
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-10-02 18:39:15 +03:00
janherich 12021554f3 Ensure version compatibility 2018-10-02 16:04:05 +02:00
hetvart d49628f648 changed testrail ids and mark according to new testrail structure
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-02 16:19:48 +03:00
yenda f6a50b2799 [fix 6051] log error during connexion and pass cofx
Signed-off-by: yenda <eric@status.im>
2018-10-02 14:11:05 +02:00
Andrea Maria Piana c289b0bfb2 Disable group chats in nightlies
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-10-02 14:04:44 +02:00
Igor Mandrigin 977dc5edf8 LES Mode: Fix config so that node starts properly.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-10-02 13:51:24 +02:00
Serhy 8e317afe65 Migrate autotests to use new testrail suite
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-02 14:46:09 +03: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
Volodymyr Kozieiev e89628ce3a Fix chat loading time
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2018-10-02 09:43:48 +03:00
Roman Volosovskyi b6bb596a00 [#6042] [desktop] fix Caret position is changed when typing fast in input message field 2018-10-02 07:54:18 +03:00
Roman Volosovskyi c91e503b94 [#6043] [android] fix "Fetching messages..." shifted down when appears in public chat modal 2018-10-02 07:52:07 +03:00
yenda 3002ca5b07 remove print statement
Signed-off-by: yenda <eric@status.im>
2018-10-01 18:26:08 +02:00
yenda c9e4a11487 [fix 6052] check empty filters
Signed-off-by: yenda <eric@status.im>
2018-10-01 13:12:34 +02:00
Igor Mandrigin 851a3db9ee Add an option to run LES on Ropsten as an experimental feature.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-10-01 13:10:29 +02:00
yevh-berdnyk 1c9a3e38b3 Added public chat bot
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-01 12:58:49 +03:00
yevh-berdnyk ac27625410 e2e tests updated according to 6041
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-01 12:53:44 +03:00
Roman Volosovskyi e4639871ec fix make android-ports command for real devices 2018-09-30 09:22:33 +03:00
Igor Mandrigin 908c0eff46 Remove unnecessary fonts from our app bundle.
Remove unused fonts on Android.
2018-09-28 20:04:27 +03:00
Goran Jovic 88929db80b feature #6026 - USDC token 2018-09-28 20:02:09 +03:00
lokalise-bot 12858a3d79 add malaysian translation 2018-09-28 20:00:52 +03:00
jakub b03ffda01e add python-dev to docker build image
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-09-28 12:55:59 -04:00
Roman Volosovskyi 0a768bdd9c [#4728] make [Enter] button default to proceed during account creation, chat creation, account restoring
more :on-submit-editing

Signed-off-by: Roman Volosovskyi <roman.wolosovskyi@gmail.com>
2018-09-28 19:27:22 +03:00
Roman Volosovskyi f3f476fa89 [#5277] [desktop] escape html tags in messages 2018-09-28 19:18:27 +03:00
janherich 44fbe62773 Chat replies + refactoring 2018-09-28 16:15:47 +02:00
yenda 965381f376 fix store-event cofx position
Signed-off-by: yenda <eric@status.im>
2018-09-28 15:57:32 +02:00
yenda bbc85e77a8 increase javaMaxHeapSize to speed up build
Signed-off-by: yenda <eric@status.im>
2018-09-28 14:05:45 +02:00
yenda b8d250ba30 change realm schemas directory layout
the purpose of this change is to avoid the kind of mistakes that
happened in the past were copy/pasting imports led to wrong
migrations that went unnoticed
it will also make it easier to do migrations in the future as the
different versions of the same schemas are grouped together in the
same file and past migrations are grouped in the same file as well
so previous helper functions can be reused

Signed-off-by: yenda <eric@status.im>
2018-09-28 13:37:21 +02:00
Dmitry Novotochinov a4c95ff734 [#5321] fix command message rendering
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-28 14:30:02 +03:00
Vitaliy Vlasov 3147296209 Add doc for ENVTYPE setting
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-09-28 13:05:42 +03:00
yenda 9fc2105cb8 [fix 6047] fix bridge functions cofx position
Signed-off-by: yenda <eric@status.im>
2018-09-28 12:04:37 +02:00
yenda 8638c562f9 [fix 6034] remove "thanks for..." popup on desktop
Signed-off-by: yenda <eric@status.im>
2018-09-28 11:57:01 +02:00
yenda f37276a648 [fix 6012] can't open dapps from deeplinks
Signed-off-by: yenda <eric@status.im>
2018-09-28 09:44:48 +02:00
Vitaliy Vlasov a90dc39637 Fix ENVFILE variable value for dev desktop builds 2018-09-27 19:03:26 +03:00
Vitaliy Vlasov 7e62ebe96b Fix chat/topic validation
Remove empty line

Fix formatting

Add custom use-valid-contact-code text for desktop

Add red border when validation failed

Add border-width

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-09-27 18:50:29 +03:00
Anton Danchenko 1ceebe703a Added unique users for transactions tests
Signed-off-by: Serhy <sergii@status.im>
2018-09-27 18:11:30 +03:00
Vitaliy Vlasov 3b1c3bae21 Merge pull request #6031 from status-im/fix/desktop-makefile-add-renatal
Add re-natal commands to make prepare-desktop
2018-09-27 13:33:24 +03:00
Vitaliy Vlasov f67dcb6910 Add separate dev-desktop target
Signed-off-by: yenda <eric@status.im>
2018-09-27 12:29:42 +02:00
Vitaliy Vlasov ae5b585a5e Add re-natal commands to make prepare-desktop 2018-09-27 12:29:25 +02:00
Roman Volosovskyi 66a83a6135 [#5451] [desktop] fix flickering topic input 2018-09-27 13:09:14 +03:00
yenda d225b7cc46 use map of args for utils/show-popup fx
Signed-off-by: yenda <eric@status.im>
2018-09-27 12:05:09 +02:00
Vitaliy Vlasov 4045aa1888 Merge pull request #6032 from status-im/fix/add-web3-utils-to-desktop
Add web3-utils to desktop re-natal
2018-09-27 12:27:15 +03:00
Vitaliy Vlasov d43943ea2a Add web3-utils to desktop re-natal 2018-09-27 12:24:55 +03:00
yenda ba86b84f25 remove unused replace-view function
Signed-off-by: yenda <eric@status.im>
2018-09-26 22:04:25 +02:00
Eric Dvorsak 21cc106ed3 cljs implementation of abi-spec
Signed-off-by: yenda <eric@status.im>
2018-09-26 21:58:14 +02:00
Andrea Maria Piana 0c48d09c71 Add back group chats messages
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-09-26 20:58:03 +02:00
Andrey Shovkoplyas 2346c0ded7 [#5991] Dapp cant recognise Status as web3 provider with enabled Web3 OptIn Access
Signed-off-by: yenda <eric@status.im>
2018-09-26 18:04:50 +02:00
yenda a4cb8b7259 [fix 5857] navigate-to home when deleting chat
Signed-off-by: yenda <eric@status.im>
2018-09-26 18:04:08 +02:00
George Lipov e1c0dff406 Run CLJS unit tests when building desktop
Signed-off-by: George Lipov <gnl@lipov.net>
2018-09-26 18:38:47 +03:00
Pedro Pombeiro 17a8d3a9c9 Unify desktop builds. Closes #5406
- Replace Linux and MacOS scripts in `ci/desktop.groovy` with calls to `scripts/create-desktop-package.sh`
- Replace use of `deployment/env` with `.env` to avoid confusion and be coherent with mobile platforms

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-09-26 16:45:48 +02:00
yenda 3b7d18594c fix cofx position
Signed-off-by: yenda <eric@status.im>
2018-09-26 15:34:18 +02:00
yenda 32ca986ab2 fix clear history
Signed-off-by: yenda <eric@status.im>
2018-09-26 13:27:36 +02:00
Serhy 559b74ba94 Fixed tests and added accessibility id
Signed-off-by: Serhy <sergii@status.im>
2018-09-26 10:31:41 +03:00
zefeng huang 6d3ca7f5cd fixes #4846
Signed-off-by: yenda <eric@status.im>
2018-09-26 09:04:49 +02:00
yenda e9149786c5 remove usage of merge-effects macro and handlers-macro ns
Signed-off-by: yenda <eric@status.im>
2018-09-25 20:05:52 +02:00
yenda 7fe78b708d fix CVE-2018-6341
update react-dom to CVE-2018-6341
https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html

Signed-off-by: yenda <eric@status.im>
2018-09-25 17:11:28 +02:00
Roman Volosovskyi 4c1eaf8ac4 upgrade realm-js to 2.16.1 2018-09-25 18:03:12 +03:00
Andrey Shovkoplyas 4ab7ccdffd [#5984] Keyboard overlaps message input in public modal chat screen on iPhone
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-09-25 16:14:36 +02:00
Andrey Shovkoplyas 764bbf1e2c moved wallet under options
Signed-off-by: yenda <eric@status.im>
2018-09-25 15:51:29 +02:00
Igor Mandrigin a87f79ab4d Fleet settings: use fleet names from the JSON file.
Signed-off-by: yenda <eric@status.im>
2018-09-25 15:48:13 +02:00
Roman Volosovskyi 261089f568 remove :t/request-requesting-from; fix :t/send-sending-to
Signed-off-by: yenda <eric@status.im>
2018-09-25 15:46:25 +02:00
Roman Volosovskyi 0d2d9dc352 remove :t/confirmation-code 2018-09-25 15:45:50 +02:00
Roman Volosovskyi 87b9ff6c88 :command-requesting 2018-09-25 15:45:50 +02:00
Roman Volosovskyi 9791c183a8 fix :command-sending label 2018-09-25 15:45:42 +02:00
yenda 9d042bad7f [fix 5981] fix "thank you" pop after every login
Signed-off-by: yenda <eric@status.im>
2018-09-25 15:19:48 +02:00
yenda 4bd5d986b0 remove merge-fx macro
Signed-off-by: yenda <eric@status.im>
2018-09-25 15:18:44 +02:00
Roman Volosovskyi 3486a0f5e6 [#5670] [desktop] fix jumping cursor when quickly typing in Recovery phrase 2018-09-25 15:23:33 +03:00
yenda 5c282b6cea fix show-error fx
Signed-off-by: yenda <eric@status.im>
2018-09-25 13:15:33 +02:00
yenda ed2abf9101 introduce fx/defn macro and fx/merge function
intended to deprecate `handlers-macro/merge-fx`

Signed-off-by: yenda <eric@status.im>
2018-09-25 04:17:19 +02:00
Roman Volosovskyi bf2e51f856 fix red screen on figwheel reloading when intro screen has been opened 2018-09-24 20:39:07 +03:00
yevh-berdnyk e6ad72039f False failures fix
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-09-24 20:13:40 +03:00
yenda f0980ab7f7 [fix 5950] closing browser redirects to home
Signed-off-by: yenda <eric@status.im>
2018-09-24 18:06:51 +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
jakub 83cd95ff3c enable github stale bot for closing issues
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-09-24 11:42:24 -04:00
Andrey Shovkoplyas 9175f2e124 [#5698] null is not an object .sendToBridge
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-09-24 17:30:10 +02:00
Dmitry Novotochinov acb8c7905d hide HW screens from navigation
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-24 18:27:56 +03:00
Andrey Shovkoplyas 18b9ba0aac [#5365] Open chat from browser
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-09-24 16:50:25 +02:00
Max Risuhin 6cdff789e1 Upgrade to react-native 0.56
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2018-09-24 17:33:12 +03:00
Roman Volosovskyi 85a8a35399 [#5938] [desktop] switch editing mode when leaving profile 2018-09-24 17:04:05 +03:00
Roman Volosovskyi d35b15e54e [#5934] persist text in message input field after navigating to user profile and back 2018-09-24 17:02:57 +03:00
Roman Volosovskyi f558e94e99 reduce touching area for Privacy Policy link 2018-09-24 17:01:47 +03:00
Dmitry Novotochinov 41347ae5e0 [#5898] add HW setup screens
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-24 16:43:01 +03:00
Julien Eluard 10373ae6fd [fix 5870] Added QR code API
Signed-off-by: yenda <eric@status.im>
2018-09-24 12:08:50 +02:00
yenda 8459fef358 Refactor browser and permissions
- move db and models ns to browser module
- remove browser navigation/preload-data
- rewrite dapp-permission logic and move code to permissions ns
- rewrite all browser events according to guidelines and move them to
`status-im.events` ns
- rewrite tests for browser and permissions
2018-09-24 12:08:34 +02:00
janherich c1014fd772 Fix bad navigation call
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-09-24 10:42:36 +02:00
yenda 1ddb09b249 Remove misleading wrap-call-once! fn
Signed-off-by: yenda <eric@status.im>
2018-09-23 17:09:07 +02:00
lokalise-bot 089027c3bf Lokalise: update of translations/pl.json
Signed-off-by: yenda <eric@status.im>
2018-09-21 13:36:05 +02:00
lokalise-bot f1dd24e3b4 Lokalise: update of translations/ko.json
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-09-21 07:03:27 -04:00
Anton Danchenko 79a7a4dfbb fix retrieve passphrase
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-09-21 13:14:23 +03:00
yenda 41d3fe17ea fix account-recover screen errors
when typing a wrong recovery phrase or password, navigating back and
returning to account-recover screen, errors about recovery phrase and
password were not cleared

get rid of navigation/preload-data in the process as it is too clunky

TODO: eventually use screen-params in the future for screen related data
Signed-off-by: yenda <eric@status.im>
2018-09-20 21:18:01 +02:00
yenda 47b739b4df fix create-account white screen 2018-09-20 21:17:49 +02:00
janherich 08c132c8a6 Edit username on desktop
Signed-off-by: yenda <eric@status.im>
2018-09-20 19:13:09 +02:00
Igor Mandrigin e6501af97b Explicitly disable discovery when signing in to the account.
Signed-off-by: yenda <eric@status.im>
2018-09-20 18:52:46 +02:00
yenda d422a40fc6 fix event vector
Signed-off-by: yenda <eric@status.im>
2018-09-20 17:07:57 +02:00
yenda e9dc3fca58 [fix 5921] rename fastlane/metadata/android/pt to pt-PT
Signed-off-by: yenda <eric@status.im>
2018-09-20 16:45:01 +02:00
yenda 01d25e0398 [feature 5923] move default public chats list in json file
Signed-off-by: yenda <eric@status.im>
2018-09-20 16:44:20 +02:00
lokalise-bot 2b61c8e270 Lokalise: update of translations/zh_Hans_CN.json
enable chinese translation by locale
2018-09-20 17:04:33 +03:00
Roman Volosovskyi a3990fe61b fix translations for locales with underscore (like es_419) 2018-09-20 16:56:50 +03:00
Chad 447ee3754a enable latin american spanish locale translation 2018-09-20 16:56:30 +03:00
lokalise-bot 3ae8e58bc4 Lokalise: update of translations/es_419.json 2018-09-20 16:56:02 +03:00
yenda 4904c397e3 [feature 5904] add #cryptocurrency public chat
Signed-off-by: yenda <eric@status.im>
2018-09-20 15:21:06 +02:00
Dmitry Novotochinov 6f3b0698e7 [#5392] disable "sign transaction" button when offline
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-20 15:56:56 +03:00
Pedro Pombeiro 3ae8d7b70d Add PR checklist regarding documentation
Signed-off-by: yenda <eric@status.im>
2018-09-20 14:33:31 +02:00
Igor Mandrigin b58e798acb Bump version of develop tp 0.9.29
Signed-off-by: yenda <eric@status.im>
2018-09-20 14:32:30 +02:00
yenda fbd4ea2f63 remove deprecated navigate-to function
Signed-off-by: yenda <eric@status.im>
2018-09-20 14:31:46 +02:00
yenda d66400d5df explicitely add react-native-safe-area-view as dependency
having it as an implicit dependency of react-navigation
causes an error on android

Signed-off-by: yenda <eric@status.im>
2018-09-20 14:30:10 +02:00
yenda b71005d2fa replace all register-event-db by fx and remove trim-v interceptor
Signed-off-by: yenda <eric@status.im>
2018-09-20 13:37:31 +02:00
janherich 8913dee762 Chat refactoring
Move chat views to ui.screens
2018-09-20 13:27:43 +02:00
yenda 195b70fcdd [fix 5705] fix crash when tapping sign in twice in account recovery
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-09-20 13:08:52 +02:00
lokalise-bot 0658cdbdfa Lokalise: update of polish translations
enable polish translation

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-09-20 07:03:24 -04:00
Roman Volosovskyi 589c45fe59 [#5885] fix Password pop-up 'Sign message' wallet screen overlaps Cancel+Sign buttons on iPhoneX
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-09-20 11:45:35 +02:00
Dmitry Novotochinov 60cb0eb36c [#5825] add hardwallet auth method and connect screens
* add react-native-nfc-manager to detect NFC support
* add "Choose auth method" screen https://www.figma.com/file/UfQjpWl1hmRchHIyY3Wvu2nW/Hardwallet-light-flows?node-id=259%3A29
* add "Hardwallet connect" screen https://www.figma.com/file/UfQjpWl1hmRchHIyY3Wvu2nW/Hardwallet-light-flows?node-id=258%3A594

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-20 12:30:47 +03:00
yenda 18b71ee625 [fix 5903] fix empty screen when navigating back in create-account 2018-09-20 11:47:32 +03:00
Volodymyr Kozieiev c87cac252e Improved desktop chat UI
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2018-09-20 10:49:22 +03:00
jakub ce741d75e9 workaround for dependency failures when doing pod update
https://github.com/firebase/firebase-ios-sdk/issues/1845#issuecomment-422831481

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-09-19 14:13:22 -04:00
jakub f061025b67 update cn.status.im APK link on release
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-09-19 12:48:06 -04: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
Pedro Pombeiro e69fb18de9 Disable wallet initialization in desktop. Part of #5739
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-09-19 17:03:43 +02:00
Roman Volosovskyi f11b3cc670 restore the last view before entering background only on android in prod configuration
Signed-off-by: yenda <eric@status.im>
2018-09-19 16:01:06 +02:00
yenda 7dbc8a7f39 [fix 5814] fix custom network
Signed-off-by: yenda <eric@status.im>
2018-09-19 13:13:30 +02:00
Eric Dvorsak 5467deec9a [fix 5814] fix add custom bootnode
the validation regexp is expecting a password, there is no password
for bootnodes

Signed-off-by: yenda <eric@status.im>
2018-09-19 10:23:11 +02:00
Vitaliy Vlasov acc574cad2 Merge pull request #5768 from status-im/play-store-german-fix
Fixed Play Store German listing formatting
2018-09-18 20:37:47 +03:00
Aleksandr Pantiukhov eda73bf8ef [#5583]: Stronger security checks in browser; Metamask phishing detector
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-09-18 17:54:42 +02:00
Andrey Shovkoplyas 5d912caf4a allow numbers in chat topics
Signed-off-by: yenda <eric@status.im>
2018-09-18 17:39:31 +02:00
Eric Dvorsak d5fcc0b003 [FIX 5813] connect to custom mailserver button fix
Signed-off-by: yenda <eric@status.im>
2018-09-18 17:37:42 +02:00
Roman Volosovskyi 6438a1387b [#4866] intagrate react-navigation 2018-09-18 14:21:32 +03:00
Pedro Pombeiro 486d4684b8 Improve log format in StatusIm and add timestamps
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-09-18 12:10:39 +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
tbenr 51469c507e Fixes #4393
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-09-18 12:56:09 +03:00
Andrey Shovkoplyas 4c05c9a9cd make sign message message text great
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-09-18 12:27:50 +03:00
jakub 3dd776190a use ubuntu:12.04 image to build linux app
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-09-17 16:21:30 -04:00
gnl da934c40c3 Add support for custom URL schemes on the desktop
...and add some missing keys to Info.plist

Signed-off-by: George Lipov <gnl@lipov.net>
2018-09-17 19:31:53 +03:00
janherich 031088b856 Fix unit tests 2018-09-17 12:51:57 +02:00
lokalise-bot 7c7717d101 Lokalise: update of translations/en.json
[#5829] chat commands translations
2018-09-17 12:34:29 +03:00
Eric Dvorsak ccbc0baffb update developer dependencies
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-09-17 10:31:30 +02:00
lokalise-bot eaaf5f0bff Lokalise: update of translations/en.json
[#5829] default dapps translations
2018-09-17 09:26:01 +03:00
Chad 40c23cc166 fix zero plural localisation issue
fix zero case for :t/members-active key
2018-09-17 09:02:58 +03:00
Roman Volosovskyi 448e84a0e9 adjust defview so that componen-map can be passed as the second arg 2018-09-15 08:59:30 +03:00
Chad Jackson dd19989f12 Fix French Play Store title listing translation
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-09-14 19:12:38 +02:00
Dmitry Novotochinov ed63cd4994 [#5474] Handle offline wallet onboarding
* Add :on-error callback to get-token-balance
* Check if online before doing token balance update
* Pull to refresh makes full wallet update, i.e. for all known tokens,
to properly update balances for new tokens that might appear in user
wallet with time and for tokens that were missed during offline

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-09-14 19:11:32 +02:00
Anton Danchenko 4a21b5192c Fixed assets selection and default running time for chat bot
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-09-14 17:19:33 +03:00
Dmitry Novotochinov 76036c88cc [#5745] validate accout recover result
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-14 17:03:00 +03:00
Pedro Pombeiro 94ee56e43a translations: Add PT translation for Fastlane
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-09-14 13:08:30 +02:00
Anton Danchenko c5549f5d03 fixed issue with empty public key input after entering the key
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-09-14 13:44:50 +03:00
Anton Danchenko 64589d526f chatbot for one-to-one chats
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-09-14 13:34:47 +03:00
Dmitry Novotochinov e0e205f565 Rename notifications/request-notifications
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-13 22:12:24 +03:00
Roman Volosovskyi c948559c09 remove logging of database encryption keys 2018-09-13 20:19:28 +03:00
Dmitry Novotochinov 5944d2b43f [#5734] Check PN permissions on login
Client with versions 0.9.26/27 who recovered their accounts weren't
asked for PN permissions so we now check permissions after user signs in.

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-13 18:58:56 +03:00
Dmitry Novotochinov 1b40ccbe86 [#5798] change balance tilde color, remove it when 0 balance
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-13 18:57:38 +03:00
Andrey Shovkoplyas a20facd895 web3 opt-in updates
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-09-13 18:27:43 +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
Vitaliy Vlasov ca2e7795d3 Merge pull request #5318 from status-im/fix/system-warnings-notifications
Add system warnings, delivery notifications, general unread messages
2018-09-13 17:33:06 +03:00
Julien Eluard 71d00cea7a [Fixes #5828] Updated bounties network URL
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-09-13 16:02:54 +02:00
Shi Lei 8fa0522bad [fix #5604] Fixed the problem of tooltips being cropped out on the android platform.
Three screens: account/create, account/login and wallet/transaction-fee are known to be affected by this issue. In the former two screens, the fixes incur no visible UI changes; in the last screen, the tooltips are shifted down by 8 points.

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-13 16:57:18 +03:00
Chad 30b4234f7b Add latin american spanish translation
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-09-13 14:20:21 +02:00
Igor Mandrigin 710c10faa4 Fix make setup on macOS.
Before, it always downloaded linux NDK no matter which platform you are
using. This way, `make setup` was actually able to break Android build
on macOS.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-09-13 13:00:01 +02:00
Vitaliy Vlasov 62ba35972b Remove on-content-size-change handler 2018-09-13 12:48:47 +03:00
Roman Volosovskyi c61200f9ae [#5180] Encrypt account's db with password 2018-09-13 12:20:13 +03:00
Vitaliy Vlasov d9e7d7c887 Test commit for inverted feature 2018-09-13 12:19:56 +03:00
Lukasz Fryc 0dd008f7b9 Update changelog for 0.9.27 2018-09-13 11:08:28 +02:00
jakub 754b8691f2 upgrade fastlane to 2.104.0
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-09-12 15:55:46 -04:00
janherich 988a1ca2e2 Prices handling in commands impl 2018-09-12 17:39:02 +02:00
Vitaliy Vlasov 33da59f859 Fix formatting 2018-09-12 18:09:47 +03:00
Vitaliy Vlasov 59c1eb1f5f Fix connectivity error view overlay 2018-09-12 16:23:11 +03:00
Vitaliy Vlasov 70aae89d05 Fix error view jumps 2018-09-12 16:23:09 +03:00
Vitaliy Vlasov 0562015fa8 Fix status display by providing public key in message data 2018-09-12 16:21:16 +03:00
Vitaliy Vlasov d0e5ecd48b Add system warnings, delivery notifications, general unread messages
badge
2018-09-12 16:21:14 +03:00
Vitaliy Vlasov 2d3952f252 Test commit to trigger Jenkins build 2018-09-12 16:20:35 +03:00
Vitaliy Vlasov 08e092c824 Fix connectivity error view overlay 2018-09-12 16:20:35 +03:00
Vitaliy Vlasov 7bde1ef1f9 Disable 'Tap for options' on Desktop 2018-09-12 16:20:33 +03:00
Vitaliy Vlasov fc12e22535 Fix error view jumps 2018-09-12 16:20:09 +03:00
Vitaliy Vlasov 3e43d85215 Fix message delivery status alignment on desktop 2018-09-12 16:18:53 +03:00
Vitaliy Vlasov 400e8b6d99 Fix message key so that message status updates work 2018-09-12 16:18:51 +03:00
Vitaliy Vlasov 9136dd0d3f Fix :show-desktop-tab usage 2018-09-12 16:18:03 +03:00
Vitaliy Vlasov a08a98c491 Fix status display by providing public key in message data 2018-09-12 16:18:03 +03:00
Vitaliy Vlasov ffaa85f133 Add system warnings, delivery notifications, general unread messages
badge
2018-09-12 16:17:49 +03:00
Vitaliy Vlasov f240a6bef9 Merge pull request #5795 from status-im/fix/5624-change-chat-options-color
Change links color in chat header
2018-09-12 14:44:33 +03:00
Vitaliy Vlasov 7f8d87dec3 Merge pull request #5782 from status-im/fix/5645-fix-send-message-handler
Fix 'Send message' handler in chat profile window
2018-09-12 14:40:46 +03:00
Vitaliy Vlasov e0f51a424e Change 'Clear history' and 'Delete chat' link color to black 2018-09-11 20:43:28 +03:00
Dmitry Novotochinov ca149062ad [#5593] Disallow decimal wei value for gas price
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-11 20:10:01 +03:00
Roman Volosovskyi 36c1a23e04 fix refactoring leftover 2018-09-11 17:20:14 +03:00
Goran Jovic 247bc75861 bug #4590 - properly scrolling wallet send down when amount is focused and keyboard open
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-11 16:10:48 +03:00
Eric Dvorsak 8dc9af8917 refactoring of events into status-im.events
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-09-11 15:09:54 +02:00
Eric Dvorsak 153d0b2ee1 add first version of codebase-structure-and-guidelines.md 2018-09-11 15:08:25 +02:00
Goran Jovic 89bf1b728d feature #4747 - ens usernames in wallet send
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-11 16:06:47 +03:00
George Lipov fe822e5bc8 Add code-signing scripts and encrypted keychain
Signed-off-by: George Lipov <gnl@lipov.net>
2018-09-11 12:10:33 +03:00
Roman Volosovskyi bd3f9570b3 [#5649] Change react-native-i18n language files to js (Lokalise)
move translations to JSON
read translations from JSON
remove old clojurescript translations files
reload clojurescript on changes in translations folder
2018-09-10 16:14:12 +03:00
Dmitry Novotochinov eb4f34da22 [fix #5063] calculate fiat amount on recipient side
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-07 18:01:47 +03:00
Eric Dvorsak 80aa0e9286 [feature #5213] allow user to select fleet in settings
- get wnodes from resources/config/fleets.json which is taken from
fleets.status.im
- store wnodes by fleet and not by network since they are always the same
- reset wnodes settings during migration
- add option in developper menu to select fleet
- mailservers are now presented by their real name

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-09-07 15:33:29 +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 b4fe910ded Fix 'Send message' handler in chat profile window 2018-09-07 13:18:38 +03:00
Max Risuhin aa949c64e3 Copy log files to crash report directory
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2018-09-07 12:35:19 +03:00
janherich 252d09ee05 Fix the bug and remove requests 2018-09-06 18:24:17 +03:00
Igor Mandrigin 6de53a5e9c Show a progress indicator while logging in account using saved password.
On slower devices the white screen is shown for a few seconds after the
status logo. It looks like that something is wrong with the app.

This commit adds a simple progress screen (full-screen with an animated
activity indicator) that is shown before the main screen is loaded.
2018-09-06 18:22:40 +03:00
Eric Dvorsak aef1050924 [fix] update yellowbox ignore warning to new react-native api
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-06 16:01:35 +03:00
janherich 9ad29bfc56 Enhanced receive params 2018-09-06 14:51:18 +02:00
Chad Jackson 4e71ac7660 Fixed Play Store German listing formatting 2018-09-06 11:42:46 +02:00
Dmitry Novotochinov e11a3c910d update react-native-udp 2018-09-05 22:29:43 +03:00
Dmitry Novotochinov 482bea2e95 update react-native-camera version 2018-09-05 22:13:37 +03: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
yevh-berdnyk 481327fcf4 Updated profile picture, home and signing phrase captures
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-09-05 18:48:26 +03:00
Aleksandr Pantiukhov e03e6a5fc1 Fix of status-im.models.network/action-handler to make tests pass again
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-09-05 16:32:56 +02:00
Aleksandr Pantiukhov b283ffe4af [#5315]: Status development tools: HTTP debugging, updated react-native-http-bridge
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-09-05 15:01:53 +02:00
Vitaliy Vlasov c8e7267f3a Merge pull request #5721 from status-im/fix/5571-fix-blank-screen-on-new-account
Always define request-permissions
2018-09-05 13:44:34 +03:00
Vitaliy Vlasov 5f107c17fe Use updated Status-Go 2018-09-05 12:28:24 +03:00
Vitaliy Vlasov 14cada8373 Always define request-permissions
Remove empty line

Another empty line
2018-09-05 12:28:20 +03:00
Vitaliy Vlasov c176d9a160 Merge pull request #5752 from status-im/bug/config-relative-path
Set .envfile path based on build type
2018-09-05 12:24:33 +03:00
Max Risuhin ab5d69968c Set config env file path based on build type.
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2018-09-05 11:54:11 +03:00
Vitaliy Vlasov 6e306fba88 Merge pull request #5748 from status-im/update-desktop-dev-env-setup
Update desktop dev env setup doc
2018-09-04 18:50:00 +03:00
Vitaliy Vlasov a5f2e7722a Add warning about npm versions higher than 5.6.0 2018-09-04 18:49:09 +03:00
Igor Mandrigin d2d8e43535 Ignore Desktop builds for release.
Currently, we don't release desktop betas and it isn't given that the
release schedule will be synchronized. So, for simplicity of support,
let's not build desktop against release branches.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-09-04 11:24:44 -04:00
Vitaliy Vlasov eebdc1d02d Update desktop dev env setup doc 2018-09-04 18:01:35 +03:00
Obi Elledge 990aa20d8b Copy Updates Aug 2018
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-09-04 14:17:05 +02:00
Eric Dvorsak 6d84795b2a [fix 5738] unread counter disappears after app restart
`get-unviewed-messages` cofx was using the `current-public-key`
field from app-db
since it is not set at the point cofx are computed during the init
phase this field is nil and therefore no unread messages were found

the fix changes the cofx so that it returns a function as it is
already done for many cofx that needs parameters that are not
known at the time cofx are computed.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-09-04 14:08:11 +02:00
jakub 495f513de9 remove old jenkisnfiles
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-09-04 07:39:40 -04:00
Dmitry Novotochinov 19590c8e54 [fix #5303] Improve amount validation for /send and /request commands
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-04 12:53:49 +03:00
Igor Mandrigin c25abecfc8 Bump version to 0.9.28
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-09-03 19:07:33 +02:00
Eric Dvorsak 02191f0380 [fix 5715] make generate-sym-key-from-password mergeable
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-09-03 19:05:53 +02:00
Eric Dvorsak 3513adb7ca [feature #5422] universal links scannable via QR code scanner
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-09-03 17:14:31 +02:00
Julien Eluard 792c70813f Only interpret extension universal links if flag is enabled
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-09-03 16:00:03 +02:00
Anton Danchenko 1b2eb5826a false failures fix
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-09-03 16:43:50 +03:00
janherich bf068f7909 View & preview implemented
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-09-03 13:45:56 +02:00
Roman Volosovskyi 3570b78ce5 [#5374] upgrade react-native-webview-bridge 2018-09-03 12:29:17 +03:00
gnl d61b9031ad Prettify macOS installation bundle
Signed-off-by: gnl <gnl@lipov.net>
2018-09-03 12:23:23 +03:00
Goran Jovic c35a651f15 bug #5542 - fixed errors when no currency selected - using usd as default throughout the app
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-09-03 11:48:48 +03:00
Andrey Shovkoplyas c96bc5aa8b [#4772] Resolve ENS domains in browser
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-09-03 11:47:26 +03:00
Pedro Pombeiro b7b6a252e1 Simplify setup script and fix Android build when setting up from scratch
- gradle was being called without `npm install` having had a chance to execute

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-09-03 10:00:37 +02:00
jakub 3d6c2855be run bundle install, specify bundle home for jenkins
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-31 22:54:50 -04:00
Dmitry Novotochinov bdb8688af8 cljfmt formatting fix
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-08-31 22:43:04 +03:00
Julien Eluard ae976e205f Added extensions loading panel
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-08-31 16:41:58 +02:00
jakub f82285b1f4 bump android build archive limits again to 60
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-31 10:24:30 -04:00
Anton Danchenko edd58af80b apk name is a PR number if build for a PR
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-31 10:11:47 -04:00
jakub 789a905743 do't upload to saucelabs for nightlies
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-31 07:56:55 -04:00
Pedro Pombeiro 26464be158 Replace npm prune with cleaning node_modules/
- Fixes build error in https://ci.status.im/job/status-react/job/combined/job/mobile-ios/455/console

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-08-31 11:57:23 +02:00
Goran Jovic 62db837de5 bug #5694 and #5709 - re-required request events
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-31 10:00:25 +02:00
gnl 80672a5c3e Update CI bundle packaging to support code-signing
Signed-off-by: gnl <gnl@lipov.net>
2018-08-31 10:50:17 +03:00
yevh-berdnyk 6679374573 Fix for transaction confirmation and asset button
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-31 10:23:46 +03:00
Eric Dvorsak 1fff9d7c19 [fix 5688] fix calculating node version
Signed-off-by: Adam Babik <a.babik@designfortress.com>
2018-08-30 18:47:28 +02:00
Adam Babik e9399167f6 update status-go to v0.13.1 2018-08-30 18:46:52 +02:00
Pedro Pombeiro 5ee1659b13 Add clean makefile target to ensure build leftover state is removed. Part of #5563
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-30 12:05:25 -04:00
jakub 2a1468cfa9 use dashes instead of dots in artifact filenames
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-30 11:43:56 -04:00
Jinho Jang 00d4770685 Update title.txt and short_description.txt
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-30 08:19:54 -04:00
Jinho Jang f0787c4062 Update full_description.txt
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-30 08:17:40 -04:00
Anton Danchenko 869d64a2ff fixes for false failures in e2e tests
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-08-30 13:16:31 +03:00
Julien Eluard 683e6b5ed0 [Fixes #5496] Added SuperRare NFT support
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-08-30 11:23:25 +02:00
Pedro Pombeiro 96b8edc846 setup: Run gradlew task even if NDK was just installed
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-08-30 10:27:10 +02:00
jakub 95d0a782c3 fix build failure
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-29 23:25:06 -04:00
Max Risuhin 76ace61d17 Integration with breakpad; crash report handler dialog #5425
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2018-08-30 01:49:43 +03:00
jakub 6353039171 add a wait for cocoapods lock to disappear
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-29 17:31:19 -04:00
jakub 7d87666c60 add --silent to pod install
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-29 14:59:10 -04:00
jakub d985a82670 add default env type to copy for mobile builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-29 14:39:35 -04:00
jakub 5532510c56 run e2e by default only for nightlies
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-29 13:46:31 -04:00
jakub c11cf17009 bump limit for android ro 40 2018-08-29 11:12:32 -04:00
Igor Mandrigin 9b6d538e6d Add permission descriptions for iOS.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-29 10:53:11 -04:00
gnl 15edcc3434 Add specs for clojure.core macros and special forms
This prevents errors like this from slipping by the compiler:

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-29 10:36:08 -04:00
Eric Dvorsak 728831c9c2 remove unused flags
reorganize config flags
remove offline-inbox-enabled? flag
remove universal-links-enabled flag
remove add-custom-mailservers-enabled? flag
remove spam-button-detection-enabled? flag
remove flags from config files

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-08-29 16:30:05 +02:00
Andrey Shovkoplyas b754092710 update status js api according to latest changes in web3 opt-in EIP
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-08-29 17:23:07 +03:00
Eric Dvorsak bca9ae25af add support for pubkey method on ens contract
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-08-29 15:40:30 +02:00
jakub 60b343ef16 bump artifact limits to 30
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-29 08:56:14 -04:00
Igor Mandrigin aff20395f3 Jenkins: don't build unnecessary platforms for mobile builds.
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-08-29 14:45:55 +02:00
yevh-berdnyk ec611424cb Fixed GH report layout and limited length of errors
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-29 15:44:36 +03:00
Serhy b0b23bb735 Fix info log on logout process
Signed-off-by: Serhy <sergii@status.im>
2018-08-29 15:25:11 +03:00
Igor Mandrigin e508d98316 Have a single notification about builds.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-29 14:22:22 +02:00
gnl 906fb8a3e8 Update .gitignore
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-29 08:08:39 -04:00
Julien Eluard 888bd5c2d6 [# 5603] Updated bounties.network address
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-08-29 12:23:44 +02:00
Vitaliy Vlasov c1bb9278bb Merge pull request #5663 from status-im/fix/desktop-signin
Fix desktop signin text input field
2018-08-29 12:35:05 +03:00
jakub 2d6764862a remove default value from Jenkinsfile.combined
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-28 22:33:18 -04:00
jakub 0bbfe24aec make sure we don't pass origin/ with branch name to child jobs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-28 15:01:30 -04:00
jakub 3a3a6f2aa5 add default value for BUILD_TYPE parameter
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-28 12:55:15 -04:00
Eric Dvorsak 01b89cc8b1 [FIX 4031] update realm to fix vulnerability in dependencies
This commit updates the version of realm-js

Vulnerability has been fixed in realm-js after we notified them

Security vulnerability in hapijs / hoek 4.2.1 (package-lock.json)
https://nvd.nist.gov/vuln/detail/CVE-2018-3728

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-08-28 17:05:27 +02:00
Andrey Shovkoplyas 3ca9ba892c [#5449] Activity loading indicator persist staying on Android
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-28 16:35:28 +02:00
yevh-berdnyk a22d13fd80 Added screenshots for failed tests and device number to errors
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-28 17:06:28 +03:00
yevh-berdnyk 4ddb9d582a False failires fix
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-28 17:02:41 +03:00
Eric Dvorsak bb339dc39b refactor login flow
simplified flow:

- event `:ui/login` is dispatched
- node is initialized with user config or default config
- `node.started` signal is received, applying `:login` fx
- `:callback/login` event is dispatched, account is changed
in datastore, web-data is cleared
- `:init/initialize-account` event is dispatched

replace event dispatches by function composition

fix bug in universal links where url to be processed after login
was never removed

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-08-28 14:46:33 +02:00
Eric Dvorsak dacfe97a58 refactor events and fns to dedicated namespaces
- move init events and fns to dedicated namespace
- move web3 events and fns to dedicated namespaces
- move signal events and fns to dedicated namespace
- move notifications events and fns to dedicated namespace
- cosmetic fixes
- remove print statements
- fix formating
- remove unused imports
2018-08-28 14:44:55 +02:00
Eric Dvorsak 002f3e73d1 refactor :initialize-account into single event
fix tests for :initialize-account refactoring
fix destructuring typo
2018-08-28 14:44:55 +02:00
Vitaliy Vlasov 6e2a2ca1b3 Add comment describing the rationale for the workaround 2018-08-28 13:31:15 +03:00
Vitaliy Vlasov 3d09252bb1 Fix desktop signin text input field 2018-08-28 11:28:41 +03:00
jakub 198596d5e6 fix access to CHANGE_ID
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-27 20:03:00 -04:00
jakub 76e9501541 prepare Jenkinsfile.combined for PR builds
- add missing Lint step for mobile builds
- add missing upload steps for android
- prefix fastlane calls with bundle exec
- update slackSend to format for PR builds
- silence fastlane notifying slack, Jenkins already does

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-27 19:34:00 -04:00
jakub 60b68758a8 add missing plist copy step for macos build
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-27 17:22:18 -04:00
Igor Mandrigin 02545cc3d0 Implement "Save Password" for iOS.
Update react-native-keychain to 3.0.0 release.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-27 17:09:55 +02:00
jakub cf0a49b3b1 use shortCommit for e2e build filename
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-27 09:46:05 -04:00
jakub de12317820 remove useless CHANGE_ID check in release build
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-27 09:36:26 -04:00
Goran Jovic 8b8b7b2848 feature #5582 - added BRLN coin (mainnet)
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-24 18:58:42 +02:00
jakub 17cca3a7c4 add metadata, change filenames, switch DO space to status-im
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-24 09:51:45 -04:00
Eric Dvorsak 67a86f57e9 [fix #5612 #5613] improve contact code validation
- fix contact code validation for universal links
- go to profile when following universal link pointing to
user own contact code
- fix contact code validation for add contact field

spec for validating public-key has been changed to a
regexp that only accept valid normalized public-key

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-08-24 15:35:08 +02:00
Andrey Shovkoplyas 11199c13ee [#5623] Bancor: "Oh, no..." error if try to buy token for ETH (or SNT)
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-24 15:19:25 +02:00
Igor Mandrigin 172d63af4c Fix for the navigation after account recovery.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-24 14:17:39 +02:00
Eric Dvorsak c5b17ac637 [fix #5599] add semaphore for recurring events
:sync-wallet-transaction and :sync-state are self firing events that
dispatch themselves later. this commit introduces semaphores to prevent
these event-loops from starting multiple times when the user logs out and
logs in again.

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-08-24 13:34:21 +02:00
Goran Jovic d46eec0bc8 bug #4476 - fixes reoccurrence of recovery phrase in logs
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-24 10:51:27 +02:00
Andrey Shovkoplyas e7a8dfc629 [#5621] Sign in is not working in Superrare dapp
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-24 10:08:14 +02:00
Andrey Shovkoplyas 70fe1e58f7 [#5616] Persistent error "Intrinsic gas too low" popup when buying cryptokitty
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-24 09:23:45 +02:00
Andrey Shovkoplyas ee0447b36c [#5561] Add SuperRare to DApp list
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-08-23 18:14:49 +03:00
Anton Danchenko 900949afed logcat tests will run against each PR
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-08-23 17:04:46 +03:00
Goran Jovic 2b89d1e25c feature #5310 - improved validation in account recovery screen; also bug #5353
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-23 13:09:15 +02:00
Volodymyr Kozieiev 861892e776 Enable emojis in desktop chat
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2018-08-23 12:16:25 +03:00
jakub 4171bf486e fis case for build type when copying .env.nightly
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-22 15:20:47 -04:00
jakub c5f81d2bc4 yet another fix for DIAWI_URL argument
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-22 14:28:16 -04:00
Volodymyr Kozieiev 9c1bfa8a21 Now user profile can be opened from public chat
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2018-08-22 19:01:36 +03:00
jakub 9ceb02e123 fix passing parameters
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-22 10:03:52 -04: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
jakub aea94837e5 fix naming of android packages
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-22 09:13:55 -04:00
jakub a7677b024d fix paths for uploading artifacts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-22 08:44:39 -04:00
jakub 5fb33cc461 split groovy scripts more, use job parameters
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-22 08:13:04 -04:00
Serhy 68e4be9197 Do not enable asset if its balance more than 0
Signed-off-by: Serhy <sergii@status.im>
2018-08-22 11:40:37 +03:00
Andrey Shovkoplyas 42abd16e9a [#5260] Implement web3 provider Opt-in access
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-08-22 11:31:54 +03:00
Chad d354da6cb9 manage Play metadata with Fastlane and git
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-22 10:22:53 +02: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
jakub 7ecf1465b1 remove unnecessary call to build_no.sh
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-21 16:56:32 -04:00
jakub ae0a017b50 fix uploading to digitalocean 2018-08-21 12:38:32 -04:00
Andrey Shovkoplyas a0e7dc65c4 moved wallet transactions ns
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-08-21 17:35:13 +03:00
jakub d38f74fdfd create Jenkinsfile.combined and extract build teps
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-21 10:27:12 -04:00
Volodymyr Kozieiev 449e5257d5 Custom fonts loading added to desktop app (#5470)
* Custom fonts loading added to desktop app

* Fixed fail in tests runnings

* font-weight property removed from couple styles in favor of font aliases
2018-08-21 16:18:16 +03:00
Aleksandr Pantiukhov 1af763fece Buildscript fix: we used a wrong comment indicator before
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-08-21 14:45:12 +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
Goran Jovic 9ddcbe863a bug #5568 - correctly passing gasPrice param
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-21 12:10:44 +02:00
gnl b0a514a427 [#5467] Make app searchable with Spotlight
Download app skeleton from Status repo and add Info.plist overlay with
required metata to enable correct Spotlight indexing.

Signed-off-by: gnl <gnl@lipov.net>
2018-08-21 12:31:05 +03:00
Goran Jovic b9142e45f6 bug #5224 - showing gas info in unconfirmed transactions
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-21 11:15:05 +02:00
Goran Jovic d7bd95dc64 bug #5243 - using correct error code for image picker compononent
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-20 18:04:11 +02:00
Goran Jovic e09e509556 bug #3911 - fixed balance in asset field when value too long
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-20 18:02:44 +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
Roman Volosovskyi 1cb5828ce6 [#4732] upgrade react-native-testfairy to 2.14.1 2018-08-20 16:00:12 +03:00
Roman Volosovskyi 6e0d18f76d [#5439] hide passwords from accessibility services 2018-08-20 15:54:08 +03:00
Vitaliy Vlasov 7ea9e63195 Merge pull request #5329 from status-im/fix/4435-add-delete-chat-option
Add remove-chat button next to chat title
2018-08-20 13:42:58 +03:00
Vitaliy Vlasov 1186b73be8 Set current-chat-id to nil once chat is deleted (desktop only) 2018-08-20 13:42:08 +03:00
Vitaliy Vlasov e40d06f8d9 Fix photos not updating 2018-08-20 13:42:07 +03:00
Vitaliy Vlasov 88740eaf52 Add remove-chat button next to chat title
Update chat header design

Aligh header heights

Add 'Clear history'; some reformatting

Add confirmations

Formatting

Member photo fix; increase font size for 9+ unviewed messages indicator

Fix chat view autoloading upon tab switching; Merge with desktop

Fix add-to-contacts
2018-08-20 13:42:07 +03:00
Vitaliy Vlasov e59a907005 Merge pull request #5308 from status-im/feature/desktop-advanced-settings
Add advanced settings UI
2018-08-20 13:41:19 +03:00
Vitaliy Vlasov 4285dcb62f Fix mobile UI for mailserver icons 2018-08-20 13:40:02 +03:00
Vitaliy Vlasov 7c2c537a1a Fix adv settings clicks, some styling changes 2018-08-20 13:40:02 +03:00
Vitaliy Vlasov 1dd9591b5e Highlight advanced settings label when selected 2018-08-20 13:40:02 +03:00
Vitaliy Vlasov f5e343c08a Add advanced settings UI 2018-08-20 13:39:56 +03:00
Anton Danchenko a7f9390fee added scroll to logout button
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-08-20 13:10:24 +03:00
Chad 70bd6d0070 less noisy fastlane slack notifications
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-20 10:06:04 +02:00
zefeng huang 6a03d90432 fixes #4108
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-08-20 10:05:12 +03:00
Roman Volosovskyi 1b9c8d3d6f [#4932] add privacy policy to signup, recover and profile
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-18 07:30:56 +02: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
Igor Mandrigin e037b3345a Fix keychain password for PR Jenkinsfiles
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-17 09:39:38 +02:00
yevh-berdnyk 53c9963a46 False failures fix: assets, transaction users
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-16 23:54:16 +03:00
Anton Danchenko 169390d2c8 renamed apk for e2e tests
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-08-16 18:38:59 +03:00
Igor Mandrigin 24db421fea Don't lock Jenkins nodes for too long if possible (#desktop).
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-16 15:46:17 +02:00
Igor Mandrigin e8ab892e95 Fix Slack messages for builds.
1) Fill in apkUrl where needed so it is not empty;
2) Remove unused variables.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-16 14:50:38 +02:00
jhe 854acebb70 Remove jail + Status.js API
Signed-off-by: jhe <jan.herich@gmail.com>
2018-08-16 12:59:35 +02:00
Igor Mandrigin 43263a9abe Post-fastlane cleanup. Remove unnecessary plist files.
This functionality is handled in `fastlane/Fastfile` now.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-16 12:58:08 +02:00
Max Risuhin e3aa8a598d Thread safe access to log messages list 2018-08-16 13:20:34 +03:00
Max Risuhin 915a8e7522 Publish GitHub PR page comment on desktop build status change 2018-08-16 01:54:17 +03:00
Igor Mandrigin 31924f19ef Workaround to support parallel iOS builds on the same Jenkins runner.
Realm download script didn't support it, so the simplest solution is
just to patch it and replace before iOS builds.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-15 16:50:01 +02:00
Igor Mandrigin 6e80321f6c Fix diawi upload for nightlies.
BRANCH_NAME isn't set for nightly builds, fix fastlane script accordingly.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-15 14:40:33 +02:00
Anton Danchenko c57a1f4cf7 alert text to error message, removed locator text from the message, reduced running time
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-08-15 13:47:06 +03:00
Goran Jovic dda7cae8f0 bug #5058 - aligned words in recovery backup phrase screen
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-15 10:34:33 +02:00
Roman Volosovskyi 48d81a4f95 [#5278][Android] persist webview state during session 2018-08-15 08:57:51 +03:00
Igor Mandrigin 434046fe9d Upload apk to Sauce Labs using fastlane.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-14 22:55:03 +02:00
Igor Mandrigin c99fd733e6 Use fastlane for diawi, Slack & GitHub comments
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-14 18:05:32 +02:00
Volodymyr Kozieiev edd87192d0 Fixed problem with adding new contact on desktop (#5492) 2018-08-14 17:15:13 +03:00
Igor Mandrigin 329c360a40 Less magic for fastlane parameters.
1. Don't require all the nodes to be provisioned manually to upload to Google play.

2. Don't require all the nodes to be provisioned manually to send to Slack channel.

Pass it as a credential from Jenkins instead.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-14 16:14:07 +02:00
gnl 06bb8c6348 [FIX #4848] ui, i18n: Replace currency indicator with ~
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-14 15:57:03 +02:00
Igor Mandrigin 375515b04f Use the same mailservers for Rinkeby as for Mainnet.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-14 15:55:22 +02:00
Lukasz Fryc 026811c388 Update changelog for 0.9.25
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-14 15:54:42 +02:00
Volodymyr Kozieiev 6cdb1ac629 selectin color changed for selectable text inputs and texts (#5469) 2018-08-14 15:45:37 +03:00
Goran Jovic 879e33b9b5 bug #5356 - added snackbar for wallet errors, removed ATT from default tokens on ropsten
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-14 12:34:24 +02:00
Igor Mandrigin 8f13d97b43 Use fastlane for iOS builds.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-14 10:43:53 +02:00
Roman Volosovskyi 27f0e53bc1 [#5465] disable realm's mixpanel analytics 2018-08-14 11:07:39 +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
Eric Dvorsak 3a982e5d6b enforce lowercase for namehash
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-08-13 16:17:40 +02:00
Eric Dvorsak 1769bfb695 fix tests 2018-08-13 16:17:08 +02:00
Eric Dvorsak 96ac6eb83f user can add contact by ens username 2018-08-13 16:17:08 +02:00
Eric Dvorsak c25b6ec630 working version for stateofus.eth usernames
addr and text["statusAccount"] functions allow to retrive ethereum address
and whisper address
2018-08-13 16:17:08 +02:00
Eric Dvorsak e81704a0b0 small fixes 2018-08-13 16:17:08 +02:00
Julien Eluard 9bbea373f3 WIP 2018-08-13 16:17:08 +02:00
jakub a904730f19 add unlocking macos keychain before xcodebuild steps
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-13 09:05:54 -04:00
yevh-berdnyk c5fc619eff Fixed password in logcat verification and TestFairy warning text
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-13 16:03:33 +03:00
jakub d292184aa8 limit number of mobile builds saved by Jenkins
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-13 08:33:33 -04:00
Max Risuhin b87cfe21f0 Set macos deployment target to 10.9 2018-08-13 14:07:01 +03:00
Dmitry Novotochinov 4c16abcfa6 [#5440] Add dismiss button to "Add to contacts" badge
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-08-13 11:47:56 +03:00
Max Risuhin 85aad1d2a2 Define react-native-firebase relatives only for mobile platforms
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-08-12 23:19:43 +03:00
Max Risuhin e2daa89af1 Enable scroll-view rendering optimization for array of children #5012 2018-08-10 17:32:31 +03:00
Dmitry Novotochinov a4541c8af3 [#3352] Improve new message notifications
* Set custom sound
* Tap on notification opens chat
* Show message notifications when app in foreground

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-08-10 13:48:37 +03:00
Dmitry Novotochinov c9b450119e Update cljs-rn to new version
:watch task use new defaults that don't run app and metro bundler by
default

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-08-10 11:14:50 +03:00
Igor Mandrigin daf30f2bc6 [#4823] AppStoreConnect: Mark our iOS app as encryption-compliant.
To avoid specifying that we are compliant manually for every build,
we put these values into build setting of the iOS app.
More information on how to do that is here: https://stackoverflow.com/a/36028077

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-09 14:45:31 +02:00
jakub e8c43e2a2c use password for the right host, run before xcodebuild
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-09 14:41:09 +02:00
jakub c70e7a48b2 fix which job is run to update nightly URLs
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-08-09 13:41:55 +03:00
jakub e6b4553ce1 fix git tag push credentials, needs to use token instead of pass
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-08-09 10:59:45 +03:00
jakub 981eb135aa fix variable name for AppImage url 2018-08-08 14:47:30 -04:00
jakub 56d3ae8558 cleanup jenkinsfile and prepare for builds on new linux slaves 2018-08-08 14:11:55 -04:00
yevh-berdnyk a249ca25ac Updated captions in tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-08 18:43:26 +03:00
yevh-berdnyk 75d612cb98 Changed run name and TestRail report for PRs
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-08 16:49:22 +03:00
Goran Jovic f2b8ccce2a refactor - extracted all model functions from profile events
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-08 13:08:58 +02:00
Goran Jovic 30b4d601fb bug #5307 - showing new contract as recipient in contract creation transactions
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-08 09:15:14 +02:00
jakub 216d6dfb8a fix removal of StatusAppFiles 2018-08-07 14:27:19 -04:00
jakub 3ab00ef6b7 fix typo in ci/Jenkinsfile.desktopbuild 2018-08-07 10:54:37 -04:00
yevh-berdnyk 8b6f924b26 Fixed public key and chat name inputs and amount for tokens
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-07 17:42:21 +03:00
Chad 1061fc7a68 Content refresh July 2018
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-07 15:45:04 +02:00
Igor Mandrigin 38ac8d4c20 Bump develop version to 0.9.26 since we are submitting 0.9.25 as a hotfix.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-07 14:57:47 +02:00
jakub bf53fa0c19 fix one more path for ios/archive-develop.plist 2018-08-07 08:31:54 -04:00
jakub 4d1900516f move archive.plist settings to the repo
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-07 08:08:13 -04:00
Anton Danchenko 95a686e4c3 added ability to set default network
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-08-07 12:20:38 +03:00
Goran Jovic c216a378e4 refactor - extracted all model functions from accounts events
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-07 11:14:18 +02:00
jakub 7144339b16 move all jenkinsfiles to ci folder for a cleaner repo 2018-08-06 11:25:43 -04:00
jakub 8eaed87a96 cleanup jenkinsfile and prepare for builds on new linux slaves 2018-08-06 11:16:57 -04:00
Goran Jovic ef2d0fd4d0 added SPANK token, #5387 fixed issue with token contract address case sensitivity
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-06 16:08:51 +02:00
Goran Jovic 694a0a37d2 feature #5386 - added MOKSHA coin
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-06 15:22:14 +02:00
Julien Eluard a8d81d9dca Updated address for EthBerlin
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-08-06 13:02:00 +02:00
Volodymyr Kozieiev 4682c52edb [WIP] Changed location of StatusIm.app.zip (now in git) (#5363)
* Changed location of StatusIm.app.zip (now in git)
2018-08-06 12:34:28 +03:00
Julien Eluard 218b129cc3 Added references to new docs.status.im website
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-08-06 09:26:08 +02:00
yevh-berdnyk 2dd1481b59 Fixed amount validation in modal value
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-08-05 20:36:09 +03:00
Goran Jovic 17ec7cb2ec refactor - moved main wallet screen into its own package; merged wallet components into one ns
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-04 13:45:35 +02:00
Goran Jovic a8f267e662 feature #4842 - initially autoconfiguring visible tokens based on balance upon onboarding
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-03 11:40:00 +02:00
yevh-berdnyk 746d580e34 Wallet modal tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-02 20:54:52 +02:00
yevh-berdnyk eaa4ef985b Added connection secure and updated connection not secure tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-02 12:23:22 +02:00
Roman Volosovskyi 6dd4064b70 remove nfc-react-native module 2018-08-02 11:10:53 +03:00
Goran Jovic 4be98b10bf bug #4404 - removed the 21 char limit from amount field in send and request
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-02 08:43:50 +02:00
Igor Mandrigin 6d2161c1d4 Bump mobile version to 0.9.25
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-01 13:00:51 +02:00
Goran Jovic 81dbc162b7 bug #4952 - moved the wrong password tooltip a bit up to make the field focusable
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-31 17:09:20 +02:00
Aleksandr Pantiukhov 4a1c8e11a3 setup script updates: wget installation; updated Android SDK installer
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-31 15:13:32 +02:00
Leon Prouger ad5eff54d2 adding Civitas dapp
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-31 15:10:54 +02:00
Goran Jovic 9bac5a223c bug #5265 - transaction history populated only with own transactions
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-31 14:41:09 +02:00
Andrey Shovkoplyas d834b6e37d [#4380] Improve browser security warning
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-31 11:34:08 +03:00
yevh-berdnyk 0e401e6973 Changed browser refresh button locator and sign transaction method
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-31 10:10:20 +02:00
Goran Jovic f38a95fd71 bugs #4724 and #5131 - fixed by adding wallet onboarding for dapp txs
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-07-31 09:29:21 +02:00
tbenr 0f2af863e7 Fixes #4558
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-07-31 09:27:51 +02:00
endenwer bb729c6c81 Use clj-rn for development
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-07-31 09:26:37 +02:00
yevh-berdnyk 011a7e2218 Added DApp public key, transactions filtering, deep link tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-30 16:27:37 +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 27b3f1b87b remove STUB_STATUS_GO parameter 2018-07-30 06:50:16 +03:00
Roman Volosovskyi a586d177f5 remove JSC jail on native side (Android, iOS) 2018-07-29 08:47:29 +03:00
Roman Volosovskyi dc23ce2803 move PR pipeline to macos_pr nodes 2018-07-26 17:50:06 +03:00
Andrey Shovkoplyas b9cbb28663 fixed icon fn definition
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-26 16:39:24 +03:00
Andrey Shovkoplyas 9a02bca975 experiment modal wallet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-26 16:38:10 +03:00
Dmitry Novotochinov 063ed16c47 Allow only one wallet transactions sync loop
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-07-26 15:23:07 +02:00
yevh-berdnyk 0aaf20911a False failures fix
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-25 18:43:03 +02:00
Igor Mandrigin c0ca114dfd Release minutae: bump version and update changelog.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-07-25 13:53:46 +03:00
Vitaliy Vlasov ac624ca447 Merge pull request #5284 from status-im/desktop_leftovers
Leftovers from desktop branch since 9th July
2018-07-25 13:46:43 +03:00
deme 4757b06dfb [#5031] Remove additional # to chat title when it is a public chat
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-25 12:20:48 +03:00
Daniel Fernandez 2bf6fc854c Added EasyTrade to DApps
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-07-25 10:59:27 +02:00
Igor Mandrigin 10a0ab1df2 Document the mobile release process in the repo.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-07-25 09:52:55 +03:00
Volodymyr Kozieiev c0697c0bac Latest commits from desktop branch (everything after 9th July) 2018-07-24 21:41:07 +03:00
yevh-berdnyk 290e0b6d0c Added error handling tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-24 20:23:08 +02:00
jakub 66df3f52d1 upgrade fastlane
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-07-24 17:15:58 +02:00
janherich 7acefed224 bug #5269 - fix sending from wallet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-24 15:17:43 +03:00
janherich 9b990a8038 Delete obsolete code
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-24 15:16:24 +03:00
Andrey Shovkoplyas c5771f3168 webview loading indicator
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-24 14:03:47 +03:00
Volodymyr Kozieiev 56eb0b57a7 prepare-for-platform.sh script doesn't remove node_modules anymore (#5274) 2018-07-24 13:55:49 +03:00
Goran Jovic ced652230c bug #5154 - disabled default password autocapitalize in wallet send 2018-07-24 12:23:28 +03:00
tbenr aab502bca3 Fixes #4783 2018-07-24 12:21:53 +03:00
Kenneth Tilton 48cc45ec6f [Fix #3604] ui, screens, browser, events: deduplicate browser history hence chat elements 2018-07-24 12:20:07 +03:00
Eric Dvorsak 0530f9c8dd Fix fastlane builds
the file with the version number has been moved to subdirectory and a symlink
to it is created, but after the version number is fetched from it where it used
to be

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-07-24 11:12:26 +02:00
yevh-berdnyk a3c25163be Removed old tests and console, added test for faucet from test DApp
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-23 20:12:08 +02: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
jakub bdc7284308 disable colors for fastlane to keep jenkins logs cleaner
Details: https://github.com/fastlane/fastlane/issues/316
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-07-23 16:35:36 +02:00
Goran Jovic a5d5ed3596 bug #5171 - fixed incorrect amount validation in wallet request
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-23 15:23:21 +02:00
Serhy 14be2c0d5e [TESTS] Added browser refresh button test
Signed-off-by: Serhy <sergii@status.im>
2018-07-23 14:12:41 +03:00
Goran Jovic f959f6629d bug #5248 - updated REP contract address to match the re-deployed contract
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-23 12:26:29 +02:00
janherich 76a509ed22 Cljs commands 2018-07-23 12:23:10 +02:00
Goran Jovic d1bd86c894 bug #4826 - fixed the issue when navigating back from sign message with android button
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-23 11:44:22 +02:00
Dmitry Novotochinov 2d6fdc0ecc [#5138 #4851 #4865] automatic periodic tx state updates
Fetch transactions state from etherscan every 15 seconds
if there are any unconfirmed transactions

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-07-20 12:14:21 +03:00
jakub 0e502ac5b8 fix wrong rebase branch 2018-07-20 10:17:21 +02:00
yevh-berdnyk 3229f95ca9 Added new atomic tests for Smoke phase 2
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-19 20:34:49 +02:00
Andrey Shovkoplyas 61374add53 Introduce extended DApp API [#5042]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-19 19:47:17 +03:00
jakub 2e57b1b8cf recover from rebase fail to avoid manual cleanup of git dir
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-07-19 16:30:11 +02:00
Roman Volosovskyi 40ec6ec47e [#5211] show welcome screen after account creation
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-07-19 11:18:18 +02:00
Rachel Hamlin 38f753d00e Update CHANGELOG.md 2018-07-19 11:16:01 +02:00
Andrey Shovkoplyas e4e6c71600 Allow to connect to any node for dev mode [#4817]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-19 12:09:04 +03:00
Aleksandr Pantiukhov d3b28ddbe8 re-natal completely removed from the project and replaced with clj-rn
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-07-18 23:56:39 +02:00
yevh-berdnyk 4663c03ac7 Included test for home verification and false failures fix
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-18 15:22:49 +02:00
Rachel Hamlin 74145b6e7f Update CHANGELOG.md
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-18 16:06:16 +03:00
Goran Jovic 77ad488765 bug #5214 - allows empty recipient only in dapp transactions (for contract creation)
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-18 14:29:35 +02:00
Andrey Shovkoplyas 62bab5150e No redirect for manually edited links (for webview) [#5201]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-18 14:53:48 +03:00
Lukasz Fryc 9766740e43 Remove share data screen from appium tests 2018-07-18 06:59:08 +03:00
Roman Volosovskyi bb7d31a357 [#5169] Remove Mixpanel 2018-07-18 06:57:16 +03:00
yevh-berdnyk 59edf46be3 Fixed tests with relogin
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-18 01:18:48 +02:00
Julien Eluard b38c2686c5 [#5132] Added some DApps
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-07-17 20:19:02 +02:00
Dmitry Novotochinov 3fd2aae932 [#5024] Fix for landscale layout on Backup Seed screen
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-07-17 19:27:09 +02:00
Andrea Maria Piana 08a61b40cf Remove refcode
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-07-17 19:25:18 +02:00
yevh-berdnyk 3ada73af89 Fixed test for transaction message when sending funds from wallet
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-17 11:22:40 +02:00
Andrea Maria Piana 3754e1dbae [Fixes #5130] Select mailserver round-robin on connection failure
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-17 08:49:24 +02:00
Dmitry Novotochinov edc7ab480f [#5023] Subscribe to window dimensions change event
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-07-16 18:59:10 +03:00
Lukasz Fryc 51a59a1296 Fix test_offline_status by dismissing the welcome placeholder
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-16 17:37:02 +02:00
yevh-berdnyk a08c556528 Fixed failed e2e tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-16 16:42:26 +02:00
janherich 6a342fd3a0 Full implementation of the /reauest command + tests 2018-07-16 15:10:21 +02:00
Goran Jovic 2cdac26cda bug #3441 - considering gas costs when validating send transaction against balance
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-16 13:23:15 +02:00
jakub ab81d95126 update testend enodes to use floating IPs too
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-07-16 12:53:08 +02:00
Jourdan Luca 9bf16fa5c4 issue #4681
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-16 11:38:41 +02:00
yevh-berdnyk 458e7231bd Added new atomic tests for Smoke phase 1 section
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-16 11:36:44 +02:00
janherich 03598d47c2 Complete implementation of the /send command + tests 2018-07-16 08:53:24 +02:00
tbenr 6672400041 Fixes #4938
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-07-16 08:56:17 +02:00
Cheuk Yin Ng 11bb009787 Introduces label component
Label component located inside `status-im.ui.components.react`
namespace, called i18n-text. It replaces the need for the standard way
of creating labels using both `react/text` and `i18n/label`.

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-13 17:03:55 +02:00
Goran Jovic e9fcba001a bug #5155 - fixed the bug where every token is unknown in send command
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-13 10:24:00 +02:00
Andrea Maria Piana f8c9bec383 [Fixes #5127] Move files to no-backup directory & hash accounts
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-13 10:06:36 +02:00
Goran Jovic 6ec40b3e21 bug #4854 - renamed seed or passphrase to recovery phrase in all copies
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-13 07:16:53 +02:00
Andrey Shovkoplyas 23a01ff4c2 Screen cut off when using ERC dEX DApp [#3131]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-12 21:22:32 +03:00
Pedro Pombeiro 2a6bb4cb8f Set JVM heap size in gradle.properties so that dex can run in-process
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-07-12 19:02:01 +02:00
Andrey Shovkoplyas 242c42ef3a reload page button
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-12 15:27:32 +03:00
Andrey Shovkoplyas a644075310 No browsing history kept on iOS [#5078]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-12 15:04:31 +03:00
Dmitry Novotochinov 3293c37c81 [#4767] Fix onboarding screen text and button overlap
Also, hide "Fetching messages" from welcome screen.

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-07-12 12:59:09 +03:00
Dmitry Novotochinov bf9a291a09 [#4073] Fix parse-url regexp
To not identify string like "test...test..." as an URL

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-07-12 12:50:23 +03:00
Dmitry Novotochinov 867488ae3c [#4301] Move message timestamp to the left for right-to-left languages
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-07-12 12:39:30 +03:00
Andrea Maria Piana f36d5d64cc [Fixes #4944] Enable universal/deep links
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-12 11:33:23 +02:00
yevh-berdnyk c0e5d24791 Fix for logcat verifications and connection status
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-11 20:20:52 +02:00
Anton Danchenko fa52958382 added more tests and smoke_1 mark
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-11 19:47:26 +02:00
Pedro Pombeiro 0051b7cb9a Install Android NDK and gradle archives during setup.
Fixes broken `make release-android` step on new machines.

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-07-11 18:33:34 +02:00
Andrea Maria Piana e564de6bd0 Update docker build to latest sdk
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-11 18:18:17 +02:00
Dmitry Novotochinov 44f1ca474b Use correct chain name if custom network added
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-11 18:14:19 +02:00
Dmitry Novotochinov 30a79c88bb [#4857] Update transactions when navigate to tx details from /send message
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-11 18:12:24 +02:00
Andrea Maria Piana a2ee06bc9d [Fixes #4998 ] Handle decryption failures in realm
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-11 17:29:56 +02:00
Andrea Maria Piana 1ad6f40f57 [Fixes #5000] Use timestamp from last message if available
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-11 17:25:19 +02:00
Roman Volosovskyi 671514c33b [#3931] fix Sign in: Cannot paste text within password field 2018-07-11 14:09:31 +03:00
Goran Jovic 019027ff45 bug #5120 - fixes crash in wallet send if collectibles are enabled
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-11 12:17:08 +02:00
Roman Volosovskyi 8964ec26a4 [#4931] always show only saved :name and :photo-path in my-profile 2018-07-11 12:37:04 +03:00
Roman Volosovskyi 229c64f002 [#5047] Do not show QR code scanner when camera permissions has not been granted 2018-07-11 12:35:58 +03:00
janherich b6a68e79c7 Cljs commands proposal 2018-07-11 09:43:45 +02:00
janherich e817b3f593 Bump version to 0.9.23 2018-07-10 16:47:56 +02:00
Chad b237ea3d6d updated changelog for 0.9.22
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-07-10 14:00:48 +02:00
yevh-berdnyk fcb68e7713 Added tests for logcat verification
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-10 12:19:55 +02:00
Igor Mandrigin 14398e33cb [#4662] Enable iPad support for the Status app.
Use a screen-size independent launch image (a storyboard).

See more at: https://oleb.net/blog/2014/08/replacing-launch-images-with-storyboards/

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-07-10 11:47:24 +03:00
Eric Dvorsak 19b7b2e0f9 use https instead of ssh in package.json
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-07-10 10:29:04 +02:00
janherich be0143a575 Fix clearing unread counter 2018-07-10 10:05:37 +02:00
janherich a7a7543c53 Revert to old submit behaviour 2018-07-10 10:00:36 +02:00
yevh-berdnyk dabaf3216d Fixed repeated testrail ids
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-09 16:08:32 +02:00
janherich 30830fd76d Remove obsolete input handling
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-07-09 08:17:49 +02:00
yevh-berdnyk 6a17f9387c Added atomic tests for chats management and DApps
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-06 20:30:25 +02:00
Goran Jovic 4aaf0bbd17 bug #5057 - automatically converts recovery phrase to lowecase during recovery
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-06 17:02:56 +02:00
Anton Danchenko 784bc2c948 fix for selecting logo
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-06 13:49:37 +02:00
pacamara 5e3f65eac8 Fixes #3639 Persist browser history
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-06 13:23:53 +03:00
Roman Volosovskyi ff4071b7b5 [#4887] fix lagging keyboard and upgrade RN to 0.55.4 2018-07-06 13:20:28 +03:00
Goran Jovic f6f799c86b fixes figwheel repl for android builds on linux
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-06 11:21:55 +02:00
Goran Jovic 75a1430075 bug #4930 - atomic navigation after error prevents send screen being briefly shown with invalid data
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-06 09:52:43 +02:00
Chad d63ffc0a23 updated changelog for 0.9.22 2018-07-06 08:48:35 +02:00
Goran Jovic 21595eede7 bug #4926 and #4806 - showing correct fiat value in /send and /request messages
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-05 15:32:18 +02:00
Goran Jovic ebe1b08b2c bug #4983 - a few workarounds for blinking token transactions in history
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-05 11:38:22 +02:00
Goran Jovic 0a062d1e91 bug #4775 - showing spinner when signing transaction
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-05 10:20:34 +02:00
Anton Danchenko 3d86e646be added more atomic tests
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-07-05 00:05:37 +03:00
jakub 96628caa9e update mailservers from DO to use Floating IPs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-07-04 16:29:55 +02:00
Andrey Shovkoplyas 3fc35a437d Track collectible events in MixPanel [#4799]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-04 12:26:48 +03:00
Roman Volosovskyi f74212d9cf downgrade React Native to 0.53.3 2018-07-04 07:02:36 +03:00
Andrey Shovkoplyas 763b9f006e 0 shown when appropriate asset selected [#4900]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-03 20:57:12 +03:00
Andrey Shovkoplyas ee317c4aeb Wrong number of collectibles in the list and they are mixed up [#4904]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-03 18:31:18 +03:00
Andrey Shovkoplyas 4c3b9e1555 "eth_uninstallFilter" synchronous request error [#4873]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-03 18:30:19 +03:00
Andrea Maria Piana b34744133b [fixes #4745] Don't query mailserver on restored account
When creating a new account / recovery we don't poll the mailserver anymore for historic messages, which solves the immediate issue of fetching only received messages

Handle messages sent from a different device in public chat / restore history. The message will be added, shown correctly as sent by the user, and the status will be set as sent ( need to check for seen race condition, as messages will now be added twice). This means that multidevice should now work for public chats.

Move contact updates to discovery topic. This is necessary as there is a pre-existing bug whereby contact updates would not work anymore after wallet recovery, as the code relies on the initial contact request being stored on the mailserver, which we cannot guarantee (we only pull 7 days of data). Not pulling history anymore exacerbate the problems but does not introduce it.
To make sure that contact updates will work after wallet recovery, we also need to consider a ContactUpdate in the same way we consider a ContactRequest (the other peer has no idea that the user has recovered the wallet). This does not change any behaviour in terms of obscurity/security as ContactRequest are automatically processed (in both case the contact will be set as pending?, not as accepted)
At this stage ContactRequest, ContactRequestConfirmed, ContactUpdate have all the same logic, i.e. update the contact information, leave the pending flag alone.

Only 1 day of history is fetched for newly joined chats, if catching up 7 days is the cap as before.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-03 17:21:59 +02:00
yevh-berdnyk 13c8cbf253 Fix for profile and chats tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-03 14:41:40 +02:00
Aleksandr Pantiukhov 2b6ee450ae [#4901]: Fix npm version issue
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-07-03 14:14:51 +02:00
Goran Jovic e27d38e5ca feature #2696 - chat message after wallet send
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-03 12:38:23 +02:00
Anton Danchenko f4c156c3f7 added atomic transaction tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-03 12:30:47 +02:00
Dmitry Novotochinov d724a12d51 Chat messages layout fixes
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-07-02 16:54:21 +02:00
Goran Jovic 2423d7c244 bug #4963 - removed balance from asset suggestion box to prevent text overlap
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-07-02 16:53:29 +02:00
Chad c81153d11e Added project changelog
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-07-02 16:29:29 +02:00
Andrea Maria Piana 42509e8fb6 Dont query mailserver when from is greater than to
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-02 12:21:43 +02:00
Andrea Maria Piana b9148cb782 Use component-did-mount
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-02 10:13:54 +02:00
yevh-berdnyk 0cef5041de Added atomic tests for account management
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-06-30 19:51:54 +03:00
Andrea Maria Piana 6359b3a834 Dont use denormalized name anymore
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-29 22:34:58 +02:00
Roman Volosovskyi 2b8a29817a small changes for coordination of docs and latest addition of RN fork 2018-06-29 16:26:08 +03:00
yevh-berdnyk 2817d00720 Added atomic tests for chats
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-29 14:58:07 +02:00
cammellos c4c5c19a77 [Part of #4944] add deep/universal link ios and use status-im://
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-29 14:54:05 +02:00
Roman Volosovskyi f27e4fe57e build React Native from fork 2018-06-29 06:56:07 +03:00
janherich 03472b6a8e Remove old code which is not used anymore 2018-06-28 17:00:56 +02:00
Andrea Maria Piana a7fc05fcd3 Add support for browse dapps
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-28 14:18:07 +02:00
Pedro Pombeiro c11781d01b Add Farsi public #status channel. Closes #4960
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-28 10:20:32 +02:00
Andrea Maria Piana b17d9bab37 Add universal links for android
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-27 22:45:57 +02:00
janherich 9df15ffc78 Remove old code which is not used anymore
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-06-27 14:17:29 +02:00
yevh-berdnyk d276d576a6 Increased time range for message sending progress bar
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-26 18:26:35 +02:00
Dmitry Novotochinov 190817a0eb enable spam button protection setting for release builds
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-06-26 15:45:28 +03:00
Roman Volosovskyi 42fe00d5cb remove sent-received tracking 2018-06-26 10:46:18 +03:00
Roman Volosovskyi e7427997d2 remove condition (was always false) 2018-06-26 08:30:29 +03:00
Goran Jovic 9a348390d3 bug #4921 - adds a workaround for the conflicting bugs #4876 and #4755
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-25 12:52:51 +02:00
Goran Jovic ad1a31073e bug #4917 and #4914 - not showing message in chat after wallet send
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-06-25 08:05:31 +02:00
Andrea Maria Piana 5935d29d7d Allow user to access account on invalid key
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-06-22 16:03:59 +02:00
Aleksandr Pantiukhov fafd50775b [#4874]: Specified gas price is automatically reverted to default one if open Assets or any screen to specify Recipient
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-06-22 13:17:37 +02:00
yevh-berdnyk d12c05d6f7 Fix for e2e tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-22 12:18:07 +02:00
Andrey Shovkoplyas 76c0490c2a Disable collectibles for beta [#4899]
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-06-22 10:37:37 +02:00
Dmitry Novotochinov fd1dffd38d Add token symbol to balance load fail error message
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-22 08:32:17 +02:00
Goran Jovic ac2780e577 bug #4876 - cleaning up succesful and failed dapp transactions and added stricter check for chat wallet onboarding
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-06-22 08:30:14 +02:00
yevh-berdnyk 8bf083cf88 Added atomic tests for chats and sigh in
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-21 20:08:54 +02:00
janherich 73dab568ff Always try to assert that saved network is the one which node was actually started 2018-06-21 17:49:03 +02:00
Dmitry Novotochinov 08932c4e2b Show mainnet warning
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-21 16:59:41 +02:00
Goran Jovic 63da0ffb50 bug #4832 - not showing erc721 in transaction history as if it was erc20
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-21 16:52:20 +02:00
Goran Jovic 3030c10c5f bug #4890 - reverts the quickfix for vertical alignment of chat command param placeholder
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-21 16:45:09 +02:00
Julien Eluard 50736c658e [#4871] Added some more DApps
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-21 16:40:25 +02:00
janherich 32a2c0ad08 Clear amount when switching assets
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-21 13:25:34 +02:00
Igor Mandrigin 424d7cc6ae Revert "Input text styling" (6a9c8de0e4).
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-21 11:47:37 +02:00
Andrey Shovkoplyas bbdb90fdf6 Support remote SVG images [#4709]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-06-21 11:36:57 +03:00
Andrey Shovkoplyas 8307e80182 Tx failed with Out of Gas error [#4855] 2018-06-21 09:43:41 +03:00
Pedro Pombeiro 227014674c Add 6 new languages as public channels in the localized language. Closes #4753 2018-06-20 19:11:56 +03:00
Aleksandr Pantiukhov 41dcb2e730 [#3642]: High quality welcome image 2018-06-20 19:06:53 +03:00
Roman Volosovskyi 6028cca377 [#4821] send /send command before after sending transaction (befor pressing "Got it") 2018-06-20 19:05:41 +03:00
Goran Jovic 32bbf4e533 feature #3233 #4095 and #3234 - send and request tokens in chat and wallet 2018-06-20 19:04:55 +03:00
Igor Mandrigin caba84e439 [#4829] Add a patch that fixes complex input on iOS in RN 0.55.x.
The fix is described here: https://github.com/facebook/react-native/pull/19809

The patch:
1. A copy of patched RCTUITextView.m file
2. A pre-action in the "Build" scheme to patch the RN file. See more on
   pre-actions here: https://burcugeneci.wordpress.com/2016/05/25/scripts-we-love-xcode-builds-life-savers/
3. A build step to fail the build if the file wasn't patched.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-20 13:33:40 +02:00
jakub 499f5b0559 disable gradle daemon to make builds more stable 2018-06-20 11:22:22 +02:00
Roman Volosovskyi 77cb0c2f3d [#4671 #4708] mainnet_rpc as default network, no mainnet warning
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-19 20:17:04 +02:00
Andrea Maria Piana ef0fa75ad4 Handle empty/invalid keys
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-19 20:15:16 +02:00
Andrea Maria Piana a313557694 Cap maximum number of days requested to mailserver
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-19 20:13:19 +02:00
Dmitry Novotochinov 810ca1f93a Add Help Center
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-19 20:09:30 +02:00
Igor Mandrigin 35367b79c2 Bump version to 0.2.21
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-19 20:07:53 +02:00
Dmitry Novotochinov 00c5c630f4 Prevent send button spamming in public chats 2018-06-19 11:35:02 +03:00
Roman Volosovskyi 71ff9d9035 [#4759] Handle back button properly after sending transaction (Android). 2018-06-19 11:30:22 +03:00
Roman Volosovskyi 0dd5c11b47 [#4754] discard transaction if transaction's modal is closed before sending transaction 2018-06-19 10:44:19 +03:00
Anton Danchenko c1120119b2 e2e tests aligned with new commands design
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-06-18 16:22:16 +03:00
Julien Eluard 252dab26bc [#4667] Added support for etheremon and cryptostrikers
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-06-18 13:19:34 +02:00
Roman Volosovskyi 6e761cad83 [#4763] prevent navigation back to transaction 2018-06-18 12:06:17 +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
Eric Dvorsak b40b042b67 [fix 4212] update profiles with concurrent contact-requests 2018-06-15 20:14:52 +03:00
Andrea Maria Piana 5a08383bde Check minimum amount
Use string for inputs

validate gas is not 0

Handle signed/unsigned transactions
2018-06-15 18:32:26 +03:00
Eric Dvorsak 8848b37433 [fix 4417] update toolbar style 2018-06-15 18:29:08 +03:00
pacamara 71867a9674 Fixes #4309: Do not allow empty command to be sent 2018-06-15 18:27:46 +03:00
Dmitry Novotochinov 750b95afd6 Update chat messages styles
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-15 15:08:14 +02:00
janherich be113ab8a4 Unit tests for mark seen functionality 2018-06-15 13:57:59 +02:00
Dmitry Novotochinov 221e6fd2b7 New design for /send and /receive commands
Move markup generation from js side to cljs
Add tx-hash to /send command to display a confirmation
and send user to transaction details screen on icon press

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-06-15 13:56:47 +02:00
Julien Eluard e449e12a2a [#4663] Added collectibles and CK support
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-14 21:33:50 +02:00
yevh-berdnyk 49bc773037 Fixed accept_agreements method
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-14 20:37:19 +02:00
yevh-berdnyk f81f3e0d05 Added message reliability offline 1-1 chat and push notifications tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-14 19:42:18 +02:00
Andrea Maria Piana 2d54c3e2cc Select random ms until users explicitictly choose one
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-14 15:02:15 +02:00
Igor Mandrigin 0d45683935 [#4755] Keep the transaction source intact on errors/discards.
If a tx was send from a chat, that fact is recorded in its properties, `from-chat?` property.
On errors and discards, this property was reset to `false`, hence, making any chat transaction editable if an error happens or user discards it.
This commit makes this property stay as it is.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-14 13:51:48 +03:00
Goran Jovic 6f209ec4c0 bug #4402 and #4639 - showing failed transactions in transaction history
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-14 13:49:45 +03:00
Igor Mandrigin 56ed407462 Bump the app version to 0.9.20.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-14 11:22:34 +03:00
Sylvain Ageneau 9cf7e05446 [#4504] Sort assets alphabetically (send - asset)
Sort assets alphabetically (by symbol).
Keep ETH as first symbol in the list (like before), sort the rest
alphabetically.
2018-06-14 11:05:16 +03:00
Goran Jovic 986fc2bc7c bug #4746 - using dapp specified gas limit, but default gas price when dapp sets gas limit only
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-14 09:55:36 +03:00
Stepan Lusnikov e7f559c272 Add DAI. Closes #4648
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-13 21:54:07 +02:00
Goran Jovic cdf356bb4f bug #4737 - fixed duplicate payment message on android back button
bug #4736 - amount from the previous transaction in message

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-13 21:49:30 +02:00
yevh-berdnyk 8d278f3d7d Fixed passphrase input
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-13 17:21:03 +02:00
janherich c9774dbfe8 Mark seen when loading more 2018-06-13 16:33:57 +03:00
Andrea Maria Piana 3ba579961d Update token names
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-13 14:31:36 +02:00
jakub 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
Andrea Maria Piana 027b558c2d update requirements.txt with compatible dependencies
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-13 13:45:11 +02:00
Andrea Maria Piana 34174cd539 Validate rpc-url when creating a custom network
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-13 13:42:00 +02:00
Andrea Maria Piana c66c457bbb Default to value if key is nil
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-13 13:39:04 +02:00
Julien Eluard 61d7cd2a33 [#4669] Added new DApps
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-06-13 08:19:50 +02:00
jakub 6eeab156fe empty commit 2018-06-12 22:25:11 +02:00
Pedro Pombeiro 292d1e13ba Retry hash retrieval from i.diawi.com if it returns null. Fixes #3455
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-12 18:11: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
Aleksandr Pantiukhov 870c67abc0 [#4490]: Advanced button is not collapsed on Profile tab when switching to another tab
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-06-12 15:03:46 +02:00
Julien Eluard 0498d94d08 [#4707] Updated public chat list
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-06-12 15:02:16 +02:00
jakub e54c3c3aed fix declaration location of build_no variables 2018-06-12 12:52:01 +02:00
Jakub 9ac95d3ed8 tag and push within the script (#4540) 2018-06-12 10:08:09 +02:00
Goran Jovic 3f3561123a set default ios simulator to empty string
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-06-12 08:32:47 +02:00
Aleksandr Pantiukhov 41761fd8a2 [#4684]: Share data picture is cut on the top
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-11 20:43:50 +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
Goran Jovic 3eca07cadb bug #4508 - removes tokens and fiat currencies unsupported by cryptocompare
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-11 20:37:51 +02:00
pacamara 45c645082e Fixes #4223: No error when scanning incorrect public key QR code
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-11 20:37:25 +02:00
janherich 535ae6b481 Fix messages from multiple chats problem 2018-06-11 18:30:10 +02:00
janherich 0ad15a79d6 Ensure valid timestamp for all messages 2018-06-11 17:44:01 +02:00
Pedro Pombeiro e3d86beab2 Fix script so that it works with GNU sed
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-11 15:31:33 +02:00
janherich 4ba78de407 Faster seen marking
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-06-11 12:16:42 +02:00
Julien Eluard 952b01e9e1 [#1228] Only enable Next button when passphrase is valid
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-06-11 11:56:03 +02:00
Andrea Maria Piana 6a9c8de0e4 Input text styling
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-11 11:32:59 +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
yevh-berdnyk 69610e41ad Added test for verification tokens data using api.ethplorer.io
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-08 16:15:21 +02:00
Andrea Maria Piana 00cd7c8578 Dont show add-to-contacts if dapp
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-08 15:07:02 +02:00
Anton Danchenko 0beeaa0322 ixed build for e2e tests in release pipeline
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-08 13:09:17 +02:00
yevh-berdnyk 8f1610527b Fixed e2e tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-08 13:08:05 +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
Lukasz Fryc f06f4d7a46 Rerun tests when Connection reset by peer happened
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-07 17:26:10 +02:00
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
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
Andrey Shovkoplyas 7711dc51ad fixed sign message text [#4529] 2018-05-30 17:23:33 +03:00
pacamara a2762eb19e Fixes #4334: Update to react-native 0.55.4
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-05-30 14:00:12 +02:00
Igor Mandrigin a27134fb44 Add a suffix (config identifier) to the Android artifacts.
Otherwise, it is possible to override the artifact by building the same commit but in a different configuration.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-30 13:51:54 +02:00
Igor Mandrigin a0cea0bf3f Enable offline inbox for release builds.
Also, reorder `.env.prod` so the keys order is the same as in the plain `.env`
Also, remove obsolete `JSC_ENABLED` flag.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-30 13:32:45 +02:00
Daniel Regeci ce12441340 [FIX #4127] Sign In button is shown when recovering account (android) 2018-05-30 13:25:21 +03:00
Aleksandr Pantiukhov 3b1721dd0d [#4476]: Seed phrase is visible in logs during account recovery 2018-05-30 10:52:57 +03:00
Goran Jovic f432bad3c0 bug #4518 - configured correct number of decimals for POWR, TGT and TIME 2018-05-30 10:51:48 +03:00
Roman Volosovskyi dd8226b31d disable auto-correction for pubchat name 2018-05-30 10:50:21 +03:00
Roman Volosovskyi 08ae404980 check formatting only in changed files in pre-commit hook 2018-05-30 10:47:21 +03:00
Goran Jovic dd37223b58 bug #4485 - shows warning when scanned qr code changes pre-selected asset type or amount
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-05-29 21:16:01 +02:00
Andrea Maria Piana 446ae1b30d Allow scanning qr codes for custom mailservers
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-29 19:22:38 +02:00
yevh-berdnyk e2cc3123b2 Updated tests for deleting public chat and wallet recovery
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-29 17:45:57 +02:00
Goran Jovic 6f8647e7d7 bug #4496 - taking decimals into account when calculating fiat value of assets 2018-05-29 17:14:12 +03:00
Goran Jovic 40e6f361c7 bug #4491 - changed the copy for amount too precise validation error 2018-05-29 17:12:55 +03:00
Andrea Maria Piana 92289f452e Dont open chat on contact request
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-29 14:59:51 +02:00
janherich 874e88fc38 Fix seen statuses
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-29 14:48:27 +02:00
Andrea Maria Piana 638b30c443 Dont use json-string in network config
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-29 14:22:36 +02:00
janherich 5ee356fe4f Fix console responses
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-29 14:24:55 +03:00
Andrey Shovkoplyas af7c356134 web3 coinbase async fix
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-29 14:23:57 +03:00
Andrea Maria Piana 26dd1c1f5a Reset realm when fail to decrypt
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-29 11:28:44 +02:00
Igor Mandrigin 0955b57d66 Allow multiple build tags for a single commit.
Any commit can be built multiple times with different configurations. We
want the build number to be different for each of them to be able to
simultaneously upload them to GP or iTC.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-29 11:10:13 +02:00
Andrey Shovkoplyas 14a3134edd recovery onboarding [#4498] [#4483] 2018-05-29 11:52:46 +03:00
Igor Mandrigin 2a7c58ad25 Use MaskedData check in the app-db for wallet's password.
Fixes the regression introduced in `789ee61`, leading to being unable to
sign transactions.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-29 10:38:40 +02:00
Eric Dvorsak 203f399aca use from parameter for mailserver requests
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-29 10:19:08 +02:00
Eric Dvorsak 3430bfe61e Update last-received everytime a message is received from inbox 2018-05-29 09:58:32 +02:00
Andrea Maria Piana 5b5a5f72ec Add ADR on development workflow
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-28 17:16:20 +02:00
Goran Jovic 35467ffd69 bug #4192 - removing mnemonic from db after user backs up seed phrase
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-28 16:31:00 +02:00
Andrea Maria Piana 9cfb591068 Remove chat / clear history
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-28 16:28:16 +02:00
Anton Danchenko 97c96bbcea bypass minor issues, rerun test in case of 'App stop to respond'
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-28 15:51:00 +02:00
Eric Dvorsak 21f9aa1b10 [fix 4466] improve peer-summary-change-fx
do not request messages from inbox everytime a peer is added or removed

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-28 15:31:16 +02:00
Igor Mandrigin 998976c5cc Read version from the VERSION file.
Remove unnecessary `echo` to `.version` if we already have `VERSION` in the root folder.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-28 15:22:10 +02:00
Andrey Shovkoplyas e972cc4537 [#3414]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-28 15:38:39 +03:00
Igor Mandrigin 0eebedadc9 Allow to build any branch in release configuration.
Important to be able to implement nightlies with the release conf.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-28 13:39:17 +02:00
Georgie Mathews 464c2c51ce [FIX #4347] Update Launch Screens
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-05-28 12:14:33 +02:00
Igor Mandrigin 789ee61212 Use a custom type to avoid accidentially logging passwords.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-28 11:56:16 +02:00
Dmitry Novotochinov 686d64888d Add expand/collapse button to long chat messages
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-28 12:07:24 +03:00
Roman Volosovskyi b50cbd036b fix libgnustl_shared.so is 32 bit instead of 64-bit
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-28 12:04:12 +03:00
Andrey Shovkoplyas 7b8950870f Webview is still active after unmount [#4353]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-28 12:03:24 +03:00
Igor Mandrigin 76f5f020ef [#4292] Use separate jobs to upload files to iTC and Google Play.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-28 10:13:31 +02:00
Anton Danchenko a307d8e2d0 transaction by unique amount, fixed simple DAap test, added new errors to rerun tests list
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-26 21:44:46 +02:00
jakub e38ed4144a use trim() to remove newlines when reading VERSION
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-05-25 16:52:40 +02:00
Aleksandr Pantiukhov 4f6830b271 [#3941]: Introducing wallet / notification not for new user
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-05-25 16:06:03 +02:00
Pedro Pombeiro 184fb1d612 Disable all translations except English for Beta. Closes #4398
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-05-25 16:03:20 +02:00
Andrey Shovkoplyas 31c905daa7 make dapps great again
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-25 15:11:36 +03:00
Eric Dvorsak 954efd9dd7 [FIX 4405] Add accessibility label for connection status grey bar
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-05-25 13:46:14 +02:00
Goran Jovic 957c09a55e bug 4123 - fixed dapp transactions and incorrect amount formatting in transaction fee screen
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-05-25 13:38:29 +02:00
Eric Dvorsak 4b7360db17 [fix] fix build for recent versions of ndk
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-25 13:14:12 +02:00
Jakub dd651f1e82 Merge pull request #4420 from status-im/feature/add-VERSION-file
Keep current version of app in the VERSION file
2018-05-25 07:32:30 +02:00
Goran Jovic 5e33c98008 bug #4123 - fixes incorrect number of decimals for tokens, fixes incorrect network id lookup for token send, fixes token amount formatting where needed 2018-05-25 07:17:01 +03:00
Pedro Pombeiro ae56eec40f Disable group chats in dev mode. Closes #4396 2018-05-25 07:15:18 +03:00
jakub 1633507e95 fix another relative path 2018-05-25 00:11:18 +02:00
jakub 2bf1d3a128 fix path for getting VERSION for xcode 2018-05-24 23:34:48 +02:00
jakub 52236eef8c formatting 2018-05-24 21:55:11 +02:00
jakub f36d55ca70 use commit of VERSION file 2018-05-24 21:52:42 +02:00
jakub 5049d48835 use VERSIOn instead of calling git 2018-05-24 21:52:42 +02:00
jakub 60957e70a3 add fix for finding right tag 2018-05-24 21:52:41 +02:00
jakub 6ab699350d fix path to VERSION in buil.gradle 2018-05-24 21:52:41 +02:00
jakub 7a70bc185e don't create .version, it's redundant 2018-05-24 21:52:41 +02:00
jakub b612fccb70 use build_no script 2018-05-24 21:52:40 +02:00
jakub a3e3cd7891 use VERSION file in Jenkinsfiles 2018-05-24 21:52:40 +02:00
jakub ec6df03fbc pull version from VERSION 2018-05-24 21:52:40 +02:00
jakub 04ddbc708e add VERSION file that holds current version 2018-05-24 21:52:39 +02:00
jakub e6d556679d also fix finding latest_tag for releases 2018-05-24 21:52:39 +02:00
jakub bdd843d209 remove exit 0 from nightly builds too 2018-05-24 21:52:38 +02:00
jakub 1e9fd71b6e get rid of silent fail for andoird/ios builds 2018-05-24 21:52:38 +02:00
jakub bd1422c627 don't add tags when running build_no.sh from gradle 2018-05-24 21:52:38 +02:00
jakub bf0e8ddd5f move build_no.sh to scripts/ 2018-05-24 21:52:37 +02:00
Julien Eluard 09c11e9061 [#4320] Do not inject jQuery in DApps browser
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-05-24 15:17:06 +02:00
Roman Volosovskyi e3b283056c remove views pre-rendering hack
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-05-24 14:50:49 +02:00
Pedro Pombeiro f38ffff7e1 Revert "Use android debug build for PR branches"
This reverts commit 06789a862b.

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-05-24 14:35:37 +02:00
Andrey Shovkoplyas faddabbf74 Security warning for browser view [#4298]
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-24 13:42:20 +02:00
Julien Eluard 25bb59aec6 [#4310] Added headers to DApps list
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-24 13:41:27 +02:00
Julien Eluard 590e1f9f4f [#4300] Updated DApps icons
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-24 13:40:37 +02:00
Daniel Regeci 7dd9df98b2 [FIX #3603] Tabs are visible along with keyboard when focusing on input field (android)
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-24 13:39:34 +02:00
janherich e1da12d8a2 Fast message grouping/sorting
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-24 13:38:40 +02:00
Igor Mandrigin 32d3b16f83 [#4394] Use zIndex to move inactive tabs back.
That ensures that no view from an inactive tab will interfere with the
active one.

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-24 08:45:49 +02:00
Igor Mandrigin 502e8b9908 Don't autocorrect entered text (but still show error messages).
Autocorrecting the text in the amount field leads to typos, like 11
instead of 1,0001, etc. We really want to avoid these types of typos for
amounts.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-23 20:11:14 +02:00
janherich 84208aeb85 Correct :shh/post accumulation
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-23 19:55:27 +02:00
Stepan Lusnikov 06789a862b Use android debug build for PR branches
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-05-23 19:37:55 +02:00
Eric Dvorsak 50072ffe3f [fix 4177] handle discovery signals
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-23 17:01:57 +02:00
Anton Danchenko b8e41cb464 added public chat management test, disabled group chat tests, added more errors to the rerun tests list
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-23 16:48:15 +02:00
Andrey Shovkoplyas 1752c5bc17 add http:// to url [#3600]
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-23 16:35:11 +02:00
Andrea Maria Piana 735a5b403d Add custom mailservers feature-toggled
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-23 15:35:25 +02:00
Igor Mandrigin 732de57444 Filter out non-RPC networks for new and restored accounts.
Those who plainly upgrades, will keep these networks as "Custom" in their DB.

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-23 15:02:17 +02:00
Goran Jovic f16bd200e8 feature #3231 and #4012 - unified chat and wallet workflow
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-23 15:01:20 +02:00
psdp d4d4406341 [#4201] Remove browser item from home on back button if current page has error
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-23 10:00:24 +02:00
Goran Jovic 5f430d2cc8 bug #4381 - fixed regression in wallet qr code scanner caused by network updates
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-22 20:06:59 +02:00
Goran Jovic 19788619ae bug #4360 - fixed regression with inconsistent use of network and chain id in update token transactions
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-22 18:49:32 +02:00
Igor Mandrigin cc24ff1b82 [#4361] Don't autocorrect incomplete and erroneous entries for transaction amounts.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-22 18:46:47 +02:00
Roman Volosovskyi dcefb0795d Activate whisper envelope deduplication (performance).
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-22 16:55:20 +02:00
Dmitry Novotochinov 9dc689db67 Handle cross-network /send and /receive commands
If network mismatch:
* Disable on-press action for /receive
* Show warning message with network name command originated from

Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-05-22 16:39:12 +03:00
Georgie Mathews 971d780c1c [FIX #4296] Rename Recent Recipients to Contacts in Wallet
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-22 14:38:50 +02:00
Igor Mandrigin 685e4d271e Update the realm reset phrase.
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-22 13:47:49 +02:00
Roman Volosovskyi 579bfe7cf5 remove message appearing animation
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-22 12:32:54 +02:00
Dmitry Novotochinov fd77796cba Ask PN permissions on iOS when account recovered
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-22 12:31:52 +02:00
Dmitry Novotochinov a9e640a55d Update welcome image
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-05-22 11:21:23 +03:00
Igor Mandrigin ff86ea7f95 Timeout and abort Jenkins jobs after 90 minutes.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-21 22:24:26 +02:00
Igor Mandrigin 1aae1a9645 [#4053] Quickfix to not log passwords from the transaction screen.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-21 17:59:32 +02:00
janherich efdd6debb0 Fix network id lookup 2018-05-21 15:31:13 +02:00
Eric Dvorsak 85389a3101 [fix] fix mailserver configuration
- current wnode defaults to main for upgraded account
- current wnode is randomly selected for new and recovered accounts and saved
- fix bug when changing mailserver config because encryption key was not
provided for realm file
- fix bug when logging out with mixpanel tracking because
:unregister-mixpanel-tracking event was removed some time ago

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-21 13:13:14 +02:00
Anton Danchenko 23f1c377c5 fixed e2e tests, fixed empty error message in testrail, better error messages
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-05-20 23:53:05 +03:00
yevh-berdnyk 3d33f3feac Added tests for messaging, chats deleting and wallet set up
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-05-20 17:47:39 +03:00
Serhy 26c819cc9c Toggle dev mode to change network
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-05-20 17:46:38 +03:00
Daniel Regeci c0bad8f848 [FIX #3640] No Join button when joining public chat 2018-05-19 09:51:07 +03:00
Andrey Shovkoplyas 54175caeba qr code should be white modal 2018-05-19 09:49:35 +03:00
Andrey Shovkoplyas 7cb17511e9 removed browser navigation, changed "<" on "x", do not updated dapp url 2018-05-19 09:47:15 +03:00
Igor Mandrigin d304063cda Use if-not for error handling in ethereum core functions.
That fixes the exception if we have an error that isn't a string and does not conform to `ISeqable`.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-18 17:25:45 +02:00
Eric Dvorsak f4ec87d36b [fix] make unread message badge touchable
Unread message badge is not touchable which reduces the surface area
that can be used to go back from a chat when user has unread messages

This gives user the impression that he needs to tap many times to go
back and that the UI lags because a smaller area is touchable when
users have unread messages

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-18 17:18:41 +02:00
Jakub d107f18f78 Merge pull request #4332 from status-im/fix/node-selection
don't specify which macos host to use
2018-05-18 17:06:02 +02:00
Eric Dvorsak 1d94a4d1cb [fix] mailbox get-current-wnode-address
wrong symbol was introduced in recent PR

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-18 16:37:40 +02:00
Julien Eluard 11c59151f6 [#3946] Improved webview error rendering
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-18 16:11:25 +03:00
Andrey Shovkoplyas 6dec4876a2 move networks under dev mode
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-18 15:25:36 +03:00
Andrey Shovkoplyas 3f3684cddf removed contacts groups and debug console
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-18 15:17:51 +03:00
janherich 7574a1dc25 Erase realm on new installation
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-18 15:16:20 +03:00
Roman Volosovskyi 9b5058d632 handle multiple incoming messages at once 2018-05-18 14:12:46 +03:00
Eric Dvorsak 4f6eeea3b5 [fix] add public-key when adding contact
Previously the public-key wasn't added when a contact was added until
a contact-request-confirmation was received. This was causing contact-update
not to be sent to contacts whose confirmation was not received yet when user
was updating his profile.

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-18 11:17:28 +02:00
Pedro Pombeiro 98ee9d8fe4 Remove unused settings from .env files
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-05-18 11:01:34 +02:00
Daniel Regeci 7fec1c82f5 [FIX #4268] Broken message counter when having more than 999 messages
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-18 11:29:30 +03:00
jakub 5375ff5a26 don't specify a single host only 2018-05-18 10:25:42 +02:00
Connor Christie 24d5fabe2e Add support for custom network upstreams
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-18 11:25:21 +03:00
Jakub 41900da38c Merge pull request #4305 from status-im/fix/nightly-build-tag-removal
remove git tag steps that seem pointless
2018-05-17 13:06:33 +02:00
Andrey Shovkoplyas e9cb6b01e7 fixed signin blinking
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-17 13:47:39 +03:00
Daniel Regeci 0f2aaa35e3 [FIX #3683] Advanced option does not autoscroll the screen up
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-17 11:24:27 +02:00
Andrey Shovkoplyas e13ba2078d persist public chat
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-17 11:18:30 +02:00
Lukasz Fryc d2126d4abc added 'open transaction on etherscan' and 'wallet errors' tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-17 10:42:28 +02:00
jakub 9622fd5b84 remove git tag steps that seem pointless
I really don't see what these are for so I'm just gonna drop them
2018-05-17 09:27:51 +02:00
Serhy c80d4bd62c Removed debug command test
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-16 20:36:20 +02:00
Jakub 436ac1d798 Merge pull request #4131 from status-im/fix/build-numbering
Fix for versionCode conflicts when uploading to Play Store
2018-05-16 16:55:54 +02:00
jakub 79ef297bf7 fix pushing for Jenkinsfile.release too 2018-05-16 15:55:09 +02:00
Jakub 6f8d777cea Merge pull request #4287 from status-im/fix/finding-release-tag
search explicitly for release/xyz tags
2018-05-16 12:40:49 +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
janherich ae109c6e99 Second stage of realm transactions
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-16 11:26:44 +02:00
Dmitry Novotochinov 1fc30b798d Set React Native version in build.gradle
Fixes React Native version mismatch error
https://github.com/facebook/react-native/issues/19259#issuecomment-389064401

Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-05-16 10:20:14 +03:00
jakub f69f19ec04 search explicitly for release/xyz tags 2018-05-16 08:26:09 +02:00
Oskar Thorén aa108cda12 ADR: Geth node (upstream/LES/ULC) (#4243) 2018-05-16 10:57:20 +08:00
psdp 25aa55f373 [#3398] Replace re-natal with features added in build.clj script
get rid of build-conf.edn

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-15 18:09:38 +02:00
Andrea Franz f49de27e04 add decision 0006-wallet-compatibility
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-15 18:57:09 +03: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
Andrea Maria Piana c27418cd2f Remove username from 1-to-1 chat
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-15 16:38:24 +02:00
pacamara 53349ef31f Fixes #4099: Localize currency according to selected currency
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-15 16:35:03 +02:00
Eric Dvorsak 225d2e2ec0 [fix] request the right topic from inbox when adding new key
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-15 10:24:25 +02:00
yevh-berdnyk 9a94779238 Updated test for signing a transaction in a DApp and removed test fro signing a transaction later
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-14 19:29:54 +02:00
Stepan Lusnikov 35f7527a1e Add ios 1024 icon
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-14 17:56:51 +02:00
Goran Jovic 030f441ea3 feature #4183 - token transfer history gets actual transaction timestamp from block info
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-14 17:55:34 +02:00
Lukasz Fryc e32ce7af68 Rerun appium tests failed due to infrastructure reasons
rerun_count=0 by default
2018-05-14 17:47:06 +02:00
Julien Eluard c1b217e032 [#4227] Allow DApps to identify status host
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-14 15:30:28 +02:00
Goran Jovic 51e3a07aed feature #4199 - remove sign later and unsigned transactions
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-14 15:03:52 +02:00
Oskar Thoren df794c724d ARD: Disable group chats for beta
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-14 14:54:25 +02:00
Oskar Thoren 750b32d10b ARD: Discovery protocol
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-14 14:53:42 +02:00
Ophelia 95703f9d2f Disable external bots #3813
Removed debug functions from bots.cljs

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-14 14:49:57 +02:00
psdp 8aeeb19f22 Show spinner when refreshing wallet on iOS [#3667]
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-14 14:49:03 +02:00
Georgie Mathews 1a314f12ac [FIX #1200] updates to webview with bugfix for external links in webview
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-14 14:47:56 +02:00
Julien Eluard 63c9c6908d [#4218] Removed some DApps
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-14 14:46:49 +02:00
Eric Dvorsak baa471a929 remove message cache
message cache was initialized when logging-in so it was basically useless
it was causing a bug when switching account and getting a contact request
from the same user in 2 accounts without killing the app because the cache
was not reset and the subsequent contact requests were ignored

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-14 14:45:49 +02:00
yevh-berdnyk 0d2849d955 e2e tests updated according to new wallet onboarding
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-14 15:22:03 +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
Dmitry Novotochinov cd41cefa96 Handle mailserver connection error
* Do not try to reconnect when offline
* If online, but mailserver is disconnected, show notification
* Tap on notification starts reconnecting process

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-14 11:25:45 +02:00
Daniel Regeci a57b0e6136 [FIX #3921] Align avatar, name and status in top toolbar to the left (1x1, group and public)
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-14 10:43:41 +02:00
jakub df3ec429c9 fix printing build number when taggin 2018-05-14 10:10:45 +02:00
jakub 68300dbc61 fix tag pusshing step to use jenkins-status-im credentials 2018-05-14 10:10:34 +02:00
Eric Dvorsak a0a79595ce Rename multi-send-with-pubkey into multi-send-by-pub-key
previous naming was confusing because it actually sends using
the symkey of each chat whose simkey is passed as an argument

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-12 11:52:47 +02:00
Roman Volosovskyi bd0b447457 [#4068] keep existing device UUID when changing account 2018-05-11 19:42:04 +03:00
Adam Babik 2d6cb4fd04 add update-status-go.sh script
Signed-off-by: Adam Babik <a.babik@designfortress.com>
2018-05-11 18:17:41 +02:00
Adam Babik fd807cff61 add update-status-go.sh script 2018-05-11 18:17:15 +02:00
Julien Eluard 1d196d2e82 [ISSUE #4166] Fixed incorrect DApps name changes
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-11 17:54:01 +02:00
Julien Eluard baa9b2ac02 [ISSUE #4197] Added airswap.io to DApps
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-11 17:00:51 +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
Eric Dvorsak d876895492 set defaultAccount when getting web3
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-11 15:10:25 +02:00
pacamara 7334938d96 Fixes #3944: Improve metrics opt-in screen
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-11 15:07:56 +02:00
pacamara 89632bea1b Fixes #3456: Publish diawi links in relevant PR 2018-05-11 15:11:30 +03:00
Oleg Kilimnik 8369afdddc Fixes #3417: App crashed when accessing camera view but access to camera denied for app [iOS]
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-11 14:04:48 +02:00
Roman Volosovskyi 38b94d7dce fix release build 2018-05-11 14:36:18 +03:00
psdp 7233a5f97d [#4075] Clear invalid contact code error message when returning to the "Start new chat"
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-11 11:53:43 +02:00
Goran Jovic 8a355b1e75 bug #4180 and revert #4038 - amount number formatting in wallet send
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-11 11:18:04 +02:00
Andrey Shovkoplyas 6194bbde84 Ethlance mainnet
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-11 10:56:06 +02:00
Eric Dvorsak e5aae3fafb [fix 3346] remove unknown status subtitle from 1-1 chat
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-11 10:55:07 +02:00
Aleksandr Pantiukhov 01a4869397 [#3939]: Introducing wallet / welcome screen;
[#3940]: Introducing wallet / signing phrase;
open-migrated-realm has been removed;
2018-05-11 07:23:32 +03:00
janherich 62a9f26e30 First stage of realm transactions 2018-05-10 17:21:23 +02:00
Eric Dvorsak cdb95616ac fix defnstyle usage
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-10 17:19:45 +02:00
Andrey Shovkoplyas 68bb21c598 [#4149] fixed modal on iphonex
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-10 18:08:58 +03:00
Serhy 37fe1e2b9e Fix seed-phrase test
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-10 14:06:20 +03:00
Anton Danchenko 942c703bd8 testrail report for extended automated tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-10 00:39:20 +03:00
Andrea Maria Piana 291932db08 publish using pk in 1-to-1
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-09 20:26:41 +02:00
Eric Dvorsak b7ab49d305 [fix] recover lost contact requests and following messages
- Fetch discovery topic from offline inboxing
- Send ContactRequestResponse on discovery channel with new-key message
for recovery of invited contacts

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-09 18:57:47 +02:00
Goran Jovic df901e8748 feature #3953 - enabled mainnet on release builds, with a warning 2018-05-09 19:46:30 +03:00
Daniel Regeci e2d44a3589 [#3558] Show the revision of status-go in the version label 2018-05-09 19:41:40 +03:00
Roman Volosovskyi 90a508b64f fix leftovers after [#4051] PR (app crashes on iOS) 2018-05-09 18:23:49 +03:00
Andrey Shovkoplyas fc72443754 [#3823] [#4115] supported some web3 sync calls
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-09 16:34:18 +03:00
Roman Volosovskyi 68997983e5 fix .version file creation in release builds 2018-05-09 14:41:25 +02:00
Dmitry Novotochinov 428f1d47ee Request offline message when app returns from background
* Add "connecting" mailserver status
* Send push notification when "envelope.sent" signal received

Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-05-09 15:29:27 +03:00
psdp 7a5467c3b1 [#3611] Show timestamp even if there is no messages in Group Chat 2018-05-09 14:31:29 +03:00
Roman Volosovskyi f67fb6eaa1 use separate mixpanel app key for local/test/other builds 2018-05-09 14:29:19 +03:00
Dmitry Novotochinov a3f942b26c Send user events to Instabug 2018-05-09 14:27:59 +03:00
psdp 35983aa3d6 [#4008] Users can set currency 2018-05-09 14:22:15 +03:00
ambilo 9b17cdd306 Remove JSC_ENABLED flag and turn on behavior by default 2018-05-09 14:20:49 +03:00
kwingram25 8effc5974f [FIX #3852] Back button refinements 2018-05-09 12:58:50 +03:00
Daniel Regeci 0ed067af6a [FIX #4038] All symbols after dot/comma erased if editing decimal number in the transaction amount field 2018-05-09 12:56:26 +03:00
Aleksandr Pantiukhov 0347a32d03 Code style fix for transaction-related external contribution 2018-05-09 11:43:35 +02:00
Lukasz Fryc d9755f546d Add appium test about deleting 1-1 chat 2018-05-09 10:57:43 +02:00
psdp 2d1f8989a9 [#4043] 'GOT IT' screen is not shown after signing an unsigned transaction
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-09 11:45:58 +03:00
Goran Jovic e74bc81ce9 feature #3976 - getting token transfer events for erc20 tx history
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-09 11:36:03 +03:00
Stepan Lusnikov db2f8c1515 Add ability to install multiple ios builds
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-09 11:34:31 +03:00
Gott Phusit 49dbfe1021 Make addresses in the QR code and the contact screen copyable
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-09 11:32:06 +03:00
Dmitry Novotochinov 3b8e2b7f75 Change deps.edn to properly resolve transitive deps 2018-05-09 07:33:13 +03:00
Roman Volosovskyi 8f1c9521ba add cljfmt to project;
add pre-push hook;
add cljfmt to Jenkinsfile;
2018-05-09 07:16:06 +03:00
Pedro Pombeiro 3af05bcb6c Ensure that local temp go build doesn't get reused in next build 2018-05-08 21:05:13 +02:00
Roman Volosovskyi 6e34ede299 reformat test namespaces 2018-05-08 14:43:06 +03:00
Stepan Lusnikov 0082f5dd95 Add ability to run multiple android app
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-08 14:22:46 +03:00
Roman Volosovskyi 97974b940c fix :contact-s 2018-05-08 13:02:20 +03:00
Roman Volosovskyi 04dff6e24e fix :empty-topic 2018-05-08 12:40:23 +03:00
Roman Volosovskyi 8c6af7ee62 fix comments 2018-05-08 11:43:08 +03:00
Roman Volosovskyi 8c1cd9d3d4 reformat remaining namespaces 2018-05-08 11:36:32 +03:00
Roman Volosovskyi 6fc03fc217 reformat status-im.ui.* namespaces 2018-05-08 09:32:05 +03:00
Roman Volosovskyi 6c620728da reformat status-im.data-store.* namespaces
reformat status-im.utils.* namespaces
2018-05-08 09:01:24 +03:00
jakub a2810999a6 we are actually in andoid/app dir 2018-05-07 21:14:51 +02:00
jakub 86c6701340 use sh explicitly 2018-05-07 19:56:50 +02:00
Andrey Shovkoplyas dc4e1569cf [#3958] implemented transactions queue
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-07 20:56:00 +03:00
jakub 1b25e1f3bf fetch tags before checking them 2018-05-07 19:19:22 +02:00
jakub ac7e412a9c print current working dir 2018-05-07 18:51:49 +02:00
yevh-berdnyk f73338b88e Fixed job name in 'Run extended e2e tests' stage
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-07 19:26:19 +03:00
jakub c1af6448d6 separate --tag argument from the command 2018-05-07 17:10:21 +02:00
Roman Volosovskyi 34ae92ac9f reformat status-im.chat.* namespaces 2018-05-07 17:04:52 +03:00
Jakub Sokołowski 3c0fa7feb5 move pushing build tag to after deploy stages 2018-05-07 15:37:58 +02:00
Jakub Sokołowski 6aa2edd2b5 just use HEAD when tagging 2018-05-07 15:37:57 +02:00
Jakub Sokołowski 99e9316fda add use of --tag 2018-05-07 15:37:56 +02:00
Jakub Sokołowski ccbfc5bb7e fix workingDir for build.gradle running build_no.sh 2018-05-07 15:37:55 +02:00
Jakub Sokołowski f97fec1547 update jenkinsfiles and build.gradle to use build_no.sh 2018-05-07 15:37:54 +02:00
Jakub Sokołowski 176817dc55 add script for managing build numbers 2018-05-07 15:37:52 +02:00
yevh-berdnyk 4f979fba43 Fix for e2e tests apk upload in nightly build
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-07 16:13:39 +03:00
Serhy d58d7c8b81 Dont share button tests update from 4098
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-07 12:30:58 +03:00
yevh-berdnyk fcaa291c23 Added e2e tests apk building in Jenkinsfile.nightly_fastlane
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-07 12:29:51 +03:00
Andrea Maria Piana 733f2b193f dont send seen for public messages and remove checkmark 2018-05-04 21:31:54 +02:00
janherich 504b0be251 Strip unnecessary keys for saving 2018-05-04 21:29:26 +02:00
Roman Volosovskyi 00b8ae311d [#4006] anonymous uuid for mixpanel 2018-05-04 21:26:46 +02:00
psdp 5d5444e3de Show fiat value of wallet assets #4009 2018-05-04 21:25:20 +02:00
pacamara d430d74781 Fixes #3847: Half of the line is cut in the input field if focus is on the next line [Android] 2018-05-04 21:21:23 +02:00
yevh-berdnyk f94e1c5826 Added e2e tests for account management verifications
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-04 16:31:31 +03:00
Goran Jovic ca80926433 bug #3877 - no longer possible to sign messages with empty password
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-03 22:42:15 +02:00
Eric Dvorsak f8e535f9bc [fix 3843] query mailserver when going back online
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-03 22:40:59 +02:00
Andrey Shovkoplyas de03fc2d6a fixed error on invalid utf-8 from dapp
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-03 15:32:30 +03:00
Stepan Lusnikov b7a92505bc Clean account passwords after creation
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-03 08:45:38 +02:00
Stepan Lusnikov 8636dea67a Fix gwei input styles
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-03 08:35:24 +02:00
kwingram25 90eb2aaaa1 [FEATURE] Encrypt realms 2018-05-02 15:02:54 +02:00
psdp 30dd92d902 [#3459] Done button in Recipient screen clickable area whole row 2018-05-02 14:59:47 +02:00
psdp 97083f31f6 Show all users in group chat members list 2018-05-02 14:56:56 +02:00
psdp b18d6b06c7 Sort Assets in alphabetical order on Wallet -> Manage Assets screen #3926 2018-05-02 14:55:23 +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
janherich 2c7063f96e Fix bad merge 2018-05-02 10:06:22 +02:00
Roman Volosovskyi e830183011 track sent/received events;
force sent/received ratio tracking;
send mixpanel events when state is changed to online;
2018-05-01 19:25:25 +02:00
Roman Volosovskyi 8cd77653f4 fix cyclic deps related to status-im.transport.message.v1.* namespaces;
move account-update to sparate ns;
fix a few more cyclic deps;
2018-05-01 19:25:24 +02:00
Eric Dvorsak ac2d622127 fix deps.edn and project.clj version diff
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-01 19:17:01 +02:00
psdp 3cbe3dc103 Allow non-admin users to see participants profiles in group chat settings (#3934)
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-05-01 16:42:50 +02:00
psdp ef0024c5dc Replace accounts/accounts by account/account in app-db [#3907]
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-05-01 16:40:36 +02:00
Ophelia 8604efdfff Changed "enter your full name" to "Display name"
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-01 17:08:56 +03:00
Stepan Lusnikov 441a3858d9 Use :npm-deps false
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-05-01 14:42:18 +03:00
Serhy 076e2c30fc Update non-dapp browsing test
Signed-off-by: Serhy <sergii@status.im>
2018-05-01 13:40:25 +03:00
janherich 8dd04570e4 Hide group chats behind flag
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-01 11:13:58 +01:00
kwingram25 c145c8a19f [#3832] Hide tab bar when keyboard visible 2018-04-30 21:01:56 +02:00
Dmitry Novotochinov 62af757fa1 Show user survey when N amount of messages sent
It's a temporary solution until Instabug fix User Events API
2018-04-30 21:00:09 +02:00
yevh-berdnyk c95bc11d52 Removed getting latest nightly apk, fixed messaging tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-04-30 19:30:05 +03:00
Dmitry Novotochinov 505c546fca Display correct status for console messages
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-30 18:25:47 +03:00
Andrey Shovkoplyas 6d4c611db1 added simple dapp in dev mode
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-30 18:24:33 +03:00
Andrea Maria Piana 4aaecf792b Show timestamp inside bubble for text messages
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-04-30 13:04:33 +01:00
janherich 3b4d7a6a62 Remove obsolete code 2018-04-30 08:35:09 +02:00
Andy Tudhope 2f56caec28 Added ATT for easy testing on Ropsten 2018-04-28 09:33:26 +02:00
kwingram25 31f41e2d04 ui: new event fx for sign later in chat 2018-04-27 12:46:26 -07:00
yevh-berdnyk 2558fbcfa1 Update for e2e transactions tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-04-27 19:53:47 +03:00
yevh-berdnyk 4cd85154a3 Fixed transaction tests and account recovery method
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-04-27 16:47:01 +03:00
Andrey Shovkoplyas fb92b8174b fixed 3961
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-04-27 15:25:18 +02:00
Andrey Shovkoplyas ad5539addd fixed to=nil in transactions
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-04-27 15:24:14 +02:00
Dmitry Novotochinov a8a03067a1 Add resend and delete message actions
* Set message status based on signal from Go
* Set status as "not-sent" on app start if no signal received

Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-04-27 11:03:42 +03:00
Julien Eluard e1f6292833 Added OKR for status extension URI schema
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-04-27 09:29:00 +02:00
psdp 5a96b329f3 Fix navigate-to-clean [#3903] 2018-04-26 21:28:39 +02:00
Stepan Lusnikov 06650aecbb Add ability to input comma in gas inputs 2018-04-26 21:27:01 +02:00
janherich c6130ed650 Finish faster conversions 2018-04-26 17:21:03 +02:00
Lukasz Fryc 5ccbcb2f3e Stop waiting for Instabug popup in appium e2e tests 2018-04-26 15:39:59 +02:00
Lukasz Fryc 132ceda907 Fix uuid for android emulators 2018-04-26 12:45:57 +02:00
Lukasz Fryc 1e66eaa742 Add eth-keys to appium requirements 2018-04-26 12:43:58 +02:00
Andrey Shovkoplyas 174aac90c0 [#3935] set web3.eth.defaultAccount
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-25 17:29:26 +03:00
psdp 9442b8d9e7 Wrong password hint that shows while signing transaction is slightly misplaced [#3411] 2018-04-25 12:43:03 +02:00
Roman Volosovskyi 6b073fe350 move merge-fx to separate ns 2018-04-25 11:33:48 +02:00
Andrea Maria Piana baf211e1f3 Send signed transaction to deleted chats 2018-04-25 08:55:39 +02:00
Roman Volosovskyi abff71d312 add options to filter events and provide extra data if necessary 2018-04-24 17:15:57 +02:00
Dmitry Novotochinov 4182cf566d Hide sensitive data from TestFairy
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-04-24 15:10:38 +03:00
Adam Babik 02cd956f43 update status-go with fixed geth.log log level (#3965) 2018-04-24 10:19:46 +02:00
kwingram25 a7bd6b6e5c [#3850] Add Aragon Test (ATT) to testnet wallet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-23 13:42:10 +03:00
Andrey Shovkoplyas f60025b879 added mixpanel events for 2018-04-20 17:18:09 +03:00
Goran Jovic c4611cf185 feature #3916 - added a few ropsten erc20 tokens, rearranged icon resources
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-20 16:28:47 +03:00
Stepan Lusnikov e74ff7e0be Fix wallet screen styles
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-20 16:25:30 +03:00
yevh-berdnyk 41691ddb63 Added e2e tests apk (Android) upload to Diawi
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-04-20 14:23:08 +03:00
Andrea Franz 987773d86c update status-go version 2018-04-20 10:38:31 +02:00
Dmitry Novotochinov 811e73d34b Integrate re-frame-10x for tracing/debugging
- Update re-frisk-remote and re-frisk-sidecar
- Use re-frame 0.10.5 as required by re-frame-10x
- Enable re-frame tracing by adding hack to figwheel-bridge.js as there is no :closure-defines support in RN yet

Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-04-19 18:11:28 +03: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
criw d794fccae7 [FIX #3748] align toolbar titles to the left for network & offline-mess
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-04-19 10:36:06 +02:00
Goran Jovic acdbf6d490 bug #3820 - main wallet screen is now scrollable because of assets
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-18 20:43:09 +03:00
Andrey Shovkoplyas 212fb46ce6 added mixpanel events for
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-18 20:38:33 +03:00
janherich 1a9aada018 Fix emoji check
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-04-18 14:10:19 +03:00
Stepan Lusnikov d0c471eef2 Use simple-toolbar in console chat
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-18 11:56:59 +03:00
Roman Volosovskyi 924d16dc64 fix version in release build 2018-04-18 09:44:39 +01:00
Dmitry Novotochinov 05379747da [#3174] add js injection support for service worker
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-18 11:38:02 +03:00
yevh-berdnyk 210ea5df7d Using of Jarrad contact is excluded in tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-04-17 21:24:49 +03:00
Eric Dvorsak d2811d6c45 [fix 3821] fix update-price to only update visible tokens 2018-04-17 16:34:17 +01:00
kwingram25 dd65c44389 [#3856] Keep url in browser if no change 2018-04-17 16:32:51 +01:00
kwingram25 e3cedbc172 ui: remove auto correct from passphrase recover 2018-04-17 16:30:29 +01: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
Roman Volosovskyi a521cc7039 add .catch for isConnectionExpensive promise; fix ios version
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-04-17 14:51:10 +03:00
Stepan Lusnikov ab084068d3 Add emoji content type for messages 2018-04-17 09:01:55 +01:00
Andrea Maria Piana 3c43a622e1 Add timestamps to each message
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-04-16 16:24:20 +01:00
janherich 69b6fb40b4 Fix deleted chats behavior 2018-04-16 12:44:08 +02:00
janherich 80cb7ada68 Remove Jarrad from contacts 2018-04-16 11:59:00 +02:00
Eric Dvorsak 3612fd8c47 [fix 3806] Provide separate MailServers for each network
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-16 12:28:50 +03:00
Anton Danchenko 4de886241c do not show "Shake to provide your feedback" popup when app starts
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-16 12:26:38 +03:00
janherich a82c087a0f Refactor subs + fix group chat issues 2018-04-16 10:58:26 +02:00
Eric Dvorsak cf03088a51 delete realm file if schemas are incompatible
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-16 11:52:28 +03:00
Stepan Lusnikov 1abd3c1a78 Fix remove-browser event handler
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-13 12:39:18 +03:00
Serhy 896abdc119 Reintroduced group chat tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-04-13 11:44:19 +03:00
Goran Jovic 32711c3be4 feature #3845 - added edcon to public chats and using keyboard avoiding view
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-12 14:57:07 +03:00
Eric Dvorsak 7148734e2a increase pow target to 0.002
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-04-12 10:04:17 +02:00
kwingram25 5297100c53 [FIX #3641] Modify chat input to retain text, parameter box on blur
chat: adds messages-focused chat prop to fine tune command interactions
2018-04-11 19:41:10 +01:00
Andrea Maria Piana 31728d5493 Add docker-compose for development build
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-04-11 14:58:38 +01:00
janherich f406feacc7 Contact refactoring 2018-04-11 14:57:51 +02:00
Adrià Cidre 067ea99db5 Update status-go to develop-e34af8d 2018-04-11 13:27:29 +01:00
Marco Süß 450944af20 [ISSUE #3706] collect mixpanel events while offline
This adds a tracking interceptor to `default-interceptors` that replaces the old
`add-post-event-callback` hook. The interceptor gets the required data from
app-db to know if it's online and passes that to a new mixpanel tracking fn that
queues up tracking events, and drains that queue iff the app is online again.

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-04-11 13:00:04 +02:00
Goran Jovic 77e6f45576 bug #3775 - fixed missing dapp descriptions
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-10 16:06:15 +03:00
Daniel Regeci ec272af78d [#2912] Wrong icon shown for Android push notification
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-10 16:05:00 +03:00
Andrea Maria Piana 3256d67c2e Add clock values for public group/chats
I have extended and modified the current algorithm for message ordering
so that it applies for group and public chats alike.

We use Lamport timestamps but we prefix the unix timestamp, which should
maximize the chances of the message being seen on the top of the chat.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-04-10 12:19:42 +01:00
Anton Danchenko b2f5146a8a wip
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-04-10 14:06:29 +03:00
Andrea Maria Piana f8e73f8538 Add docker integration tests
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-04-10 09:44:22 +01:00
kwingram25 66bcf6562a chat, ui: allow non-deletable home items, fix console chat ui 2018-04-09 22:07:15 +01:00
asemiankevich afcc9cb08c added several users to tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-04-09 18:00:33 +03:00
Goran Jovic dd8846288a feature #3767 - added a number of dapps to the default list
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-09 13:55:35 +03:00
Stepan Lusnikov b4a47ab360 Don't navigate back after saving profile
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-09 12:39:24 +03:00
Stepan Lusnikov 0bf41ace67 Fix browser saving
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-09 12:11:19 +03:00
Roman Volosovskyi 8a7536df06 set mainnet as default network in .env and .env.jenkins 2018-04-09 09:16:51 +01:00
Eric Dvorsak d9eca279d0 Remove migrations as they are not needed anymore because of breaking change
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-04-09 09:42:46 +02:00
Daniel Regeci 52746f4363 [FIX #3698] Decrease tapping area to make the version number not clickable 2018-04-07 11:18:58 +01:00
Alexander Pantyuhov c29c58d044 [#3630]: Improve dynamic image sizing (#3759)
* [#3630]: Improve dynamic image sizing
2018-04-07 11:11:05 +02:00
Andrey Shovkoplyas 71ed35b480 hide command button if there are no commands
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-06 16:19:10 +03:00
Eric Dvorsak 26b0224236 remove crypto libraries and nodeify hack
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-04-06 13:30:27 +02:00
Roman Volosovskyi 74281a742f upload release to iTC/PM 2018-04-05 20:34:41 +01:00
Andrey Shovkoplyas e9af024e0d fixed help improve screen
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-05 17:46:15 +03:00
Eric Dvorsak df17c50612 Add new protocol
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-04-05 15:40:30 +01:00
Andrey Shovkoplyas 66f90cfdbc fixed error in photo path
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-05 17:11:10 +03:00
Aleksandr Pantiukhov 7168896ffe bug #3571: Validation error 'Password confirmation doesn't match password' is shown after you fix value in 'Confirm password'
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-04-05 10:08:12 +02:00
Julien Eluard 5529772858 [ISSUE #3538] Added sharing data settings
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-04 10:32:22 +03:00
Daniel Regeci f7120184a4 [FIX #3214] Question mark is missing on Gas details screen
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-04 10:12:32 +03:00
Goran Jovic cb30f4a844 bug #3638 - fixed uneditable browser address bar in ios
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-03 16:21:45 +03:00
Daniel Regeci 83876f7cf1 [FIX #3143] Cannot sign in to Cryptokitties (chrome webstore)
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-03 09:38:01 +03:00
kwingram25 13c448032c ios, ui, utils: relocated iOS notification permissions to home screen
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-03 09:36:50 +03:00
Eric Dvorsak b3ef1ed53a Clean up last utils/handlers
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-02 18:58:57 +03:00
Foo Pang e85823056c [Fix #3479] Add accessibility labels for Chat screens
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-02 18:57:54 +03:00
Marco Süß 3ba9bdef7b [ISSUE #3651] change console to look like a dev tool
- rename "Console" to "Status Console"
- hide console dapp badge in home screen
- change icon to something terminal-y
- change empty screen text for console chat

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-02 18:56:07 +03:00
criw dc4ca898a8 [FIX #3176] align group icons with chat name text
Top margins have been removed because they caused icons to be aligned
lower than text and width has been incremented since icons were cut off

[FIX #3176] changed icon's color to colors/gray

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-02 18:52:30 +03:00
Roman Volosovskyi 7e4390ae2e fix ios diawi ipa 2018-04-02 15:38:06 +01:00
Goran Jovic c9b9cf74b3 bug #3735 - fixed broken send and request commands in chat (again)
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-04-02 16:30:41 +02:00
Andrey Shovkoplyas 818e310a26 added mvn to prepare-ios
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-02 14:27:50 +03:00
Andrey Shovkoplyas 1faa35bfd9 fixed Empty Gas limit and Gas price
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-02 14:07:21 +03: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
Goran Jovic 539e975374 restored fetch tags to release jenkinsfile as we need it for release version
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-04-02 11:16:22 +02:00
Julien Eluard 38c9bb7266 [ISSUE #3633] Migrated profile lists to latest design
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-30 19:15:25 +02:00
Andrea Maria Piana e6623516e9 Link to settings on Android 8
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-30 18:37:24 +02: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
Roman Volosovskyi d305f5a4a0 fix fastlane nightly 2018-03-30 15:30:23 +02:00
Goran Jovic 7c93ac58f5 bug #3735 - fixed broken send and request commands in chat
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-03-30 14:16:04 +02:00
Chad 07afa72420 [3731] typo and grammar fixes to backup and data screens
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-30 12:17:33 +02:00
Andrey Shovkoplyas 079d442e8b re-frisk improvements
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-03-29 17:34:34 +03:00
Dmitry Novotochinov 6786123765 [#3593] Hide passphrase field during TestFairy session
Switch to react-native version of TestFairy

Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-03-29 13:09:23 +03:00
Dmitry Novotochinov 05dd8eba2a [#3654] set default network in config
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-03-29 12:12:27 +03:00
Daniel Regeci fd7b393ae0 [FIX #3650] Blue open dapp button
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-29 09:49:31 +02:00
Johannes Wagener 7268342ea2 [FIX #3573] adding scripts/list-pull-requests.sh and scripts/generate-pull-request-report.sh
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-28 19:25:55 +02:00
Andrea Maria Piana e77504c26f Revert "Fix message ordering for 1-1 chats"
This reverts commit 7efcdcb150.

We decided to revert this commit as it introduced a couple of issues in
message ordering. In order to release we revert back to the old
behaviour.

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-28 17:04:49 +02:00
Andrey Shovkoplyas 855243436d reverted network details
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-28 17:03:56 +02:00
kwingram25 80e45bcb9d [FIX #3678] Allow interaction w/edit profile screen while keyboard visible
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-03-28 17:41:29 +03:00
Anton Danchenko 711e119ebd added rebase on develop
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-03-28 16:21:30 +03:00
Andrey Shovkoplyas 33990bc3ba show 'opt-in' screen to recovery
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-03-28 16:12:54 +03:00
Julien Eluard 7d604b2042 Cleaned clj script
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-28 14:45:49 +02:00
Chd 37d0ea12ce Remove inactive testflight users with jenkins
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-03-28 14:09:56 +03:00
Dmitry Novotochinov e34b187b85 [#3694] Ignore mixpanel/track http error when offline
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-03-28 12:26:53 +02:00
Julien Eluard 49a53645fb Make Andy happy again (by fixing debug mode)
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-27 17:05:24 +02:00
Foo Pang c9be1f7c4a [WIP #3575] Create clj script
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-27 15:19:01 +02:00
Andrea Maria Piana e45c8f85f9 Dont throw error on empty data
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-27 15:14:23 +02:00
Chd 039ae7be59 add fastlane, beta deploy lanes, and jenkins release changes 2018-03-27 14:50:23 +02:00
Oskar Thoren e0f42d28d7 Enable JSC in production by default
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-03-27 17:37:36 +08:00
Oskar Thoren e185acd92b Fix swipe-delete delete action handler
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-03-27 17:36:21 +08:00
Andrey Shovkoplyas c1c5854cb1 removed unused npm modules, screens, components
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-03-26 20:45:43 +03:00
Julien Eluard f7f41d2f37 [ISSUE #889] Show app version in profile
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-26 18:35:00 +02:00
Andrey Shovkoplyas 83b5312a05 added mixpanel events for profile
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-03-26 14:01:07 +03:00
Julien Eluard 7001b8c396 Added documentaion to mixpanel definition file
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-26 09:47:47 +02:00
Andy Tudhope 8b34c5e728 Update default_contacts.json
Added descriptions for the DApps that exist in Status before we overhaul this entirely.

Signed-off-by: Andy Tudhope <tuddy0525@gmail.com>
2018-03-23 20:35:02 +02:00
yevh-berdnyk b0a2bbe27b Changed xpath locators to accessibility labels in end to end tests
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-03-23 13:38:59 +02:00
Julien Eluard 1248a469a6 [ISSUE #1858] Improved wallet main screen refresh
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-23 12:02:17 +01:00
Dmitry Novotochinov 4e413d853e [fix #3606] Add 0x prefix to address when sharing
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-23 12:00:39 +01:00
Andrey Shovkoplyas a1d55f30bb introduced desktop
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-03-23 09:51:47 +03:00
Guenter Kickinger d692ddc7d9 [FIX #3591] always show full link
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-22 17:11:50 +01:00
Marco Süß e40ffd9de5 [FIX #3629] remove extra hyphenation of text in empty home tab
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-22 16:31:22 +01:00
Julien Eluard f1e41cc7ab [ISSUE #3537] Added mixpanel support
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-22 10:44:18 +01:00
yevh-berdnyk 581d4f04a5 Added sanity automation tests for chats deletion
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-21 16:55:51 +01: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
Foo Pang 48dd386051 [Fix #3319] STT/SNT tokens are not shown by default for recovered account
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-21 10:14:26 +01:00
Roman Volosovskyi 25a5655e74 configurable powTarget and powTime
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-21 09:49:32 +01:00
Foo Pang 02d46c34de [Fix #3609] Remove showing users profile from 'Creating New Chat' flow
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-20 17:11:02 +01:00
Andrea Maria Piana e8c954ddc6 Use whisper-id when in profile to navigate to chat
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-20 17:08:48 +01:00
Foo Pang 9484a01196 [Fix #3588] "There are no messages in this chat yet" is left-aligned instead of centred as in design
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-20 17:02:00 +01:00
alwxndr 2864b6b4c6 Fixes for chat input; animations leftovers removed
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-20 10:14:27 +01:00
Julien Eluard 4145a31a2d Simplify Jenkins files and remove needs for develop branch
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-19 19:07:46 +01:00
Itoh, Masaru 1b86179a81 Replace default keyExtractor with individual key-fns
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-19 19:04:19 +01:00
Andrey Shovkoplyas 946a44d257 implemented profile onboarding
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-03-19 19:01:15 +03:00
Andrea Maria Piana 9533d158f7 Display contact bar for user not in contacts
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-16 18:47:31 +01:00
Pedro Pombeiro fa26381407 Define NSLog macro. Fixes #3427
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-03-16 16:49:55 +03:00
Andrea Maria Piana 8bcd635451 Pull username from message or generate when not in contacts
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-03-16 12:46:08 +00:00
Anton Danchenko 9cae0a5d90 tests aligned with latest nightly behavior
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-03-15 20:55:49 +02:00
Goran Jovic 86df18d764 feature #3009 - restyled chat screen
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-15 16:11:01 +01:00
Foo Pang c3449a3a65 [Fix #3572] regx parse string bug in formatted texts
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-15 16:09:07 +01:00
dongwoo c8e88a74b4 [FIX #3379] Support platform specific :uppercase? as a text prop
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-15 15:22:26 +01:00
Andrea Maria Piana 8c6dde8e06 [ISSUE #3520] Allow adding/chatting with contacts from public chats
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-15 14:16:48 +01:00
Foo Pang 2653cebd7d [Fix #3394] Add accessibility labels for Wallet screens
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-15 13:59:03 +01:00
criw 25ac067375 [FIX #3399] add setup and full-prod-build targets
In order to have a working status-react both for android and iOS
easily, the setup target calls scripts/setup and full-prod-build
calls scripts/bundle-status-go.sh both for iOS and Android, and then
triggers prod-build.

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-15 13:57:20 +01:00
Foo Pang 5fc4bddfe5 [Fix #3477] Add accessibility labels for New Chat screens
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-03-15 13:54:32 +01:00
Foo Pang 4756b187ff [Fix #3472] Add accessibility labels for Profile screens
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-15 13:19:59 +01:00
Itoh, Masaru 98a0c2081f Refactor timestamp
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-03-15 11:53:23 +00:00
Goran Jovic b447b80ee4 feature #3248 - new contact profile
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-15 12:49:09 +01:00
Julien Eluard 777a0ce3b3 [ISSUE #3559] Fixed regression when sending send request from chat
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-15 12:42:32 +01:00
Julien Eluard 05fffe1652 [ISSUE #3492] Fixed action text style
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-15 09:47:07 +01:00
Dmitry Novotochinov ed7176d65c Add :elide-asserts compiler option for release builds
Removes all asserts calls including :pre and :post condition checks
https://cljs.github.io/api/compiler-options/elide-asserts

Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-03-15 11:33:48 +03:00
Andrea Maria Piana a26aa92327 Remove starting app from makefile 2018-03-14 14:55:49 +00:00
Julien Eluard 431003e937 [ISSUE #3511] Fixed incorrect styles on iOS
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-14 15:54:27 +01:00
Dmitry Novotochinov c023122ca5 Fix android permissions
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-14 15:06:27 +01:00
Andrea Maria Piana 972b5bbe24 Add start-dev command in Makefile 2018-03-14 17:03:37 +03:00
Pedro Pombeiro efa419b549 Update github-bot.yml
Include `project-board/tested-pr-label-name`

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-03-14 14:28:25 +01:00
Foo Pang 6f0a710b53 [Fix #3369] Migrate checkboxes to native widget
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-13 16:28:19 +01:00
Foo Pang 27e777d1bd [Fix #1785] Handle timeout for network failure in utils.utils/http-get and http-post
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-13 16:22:09 +01:00
alwxndr 1b5b6e33b4 [#3325]: Transaction fee field is hidden behind keyboard if Amount field had focus
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-13 16:17:02 +01:00
Foo Pang cad3770b48 [Fix #3485] Increase tap zones for rows with checkboxes
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-13 13:24:57 +01:00
Julien Eluard 615fd7a32b [ISSUE #3482] Fixe profile UI regression
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-13 12:47:29 +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
alwxndr 5bbc6d2dd8 [#3478]: Buttons are to close to status bar on Edit profile for group chat
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-12 16:29:18 +01:00
Dmitry Novotochinov 1f1ff9cbaf [fix #3505] Fix account initialization events order
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-03-12 17:48:43 +03:00
Julien Eluard ed7705ca7f [ISSUE #3051] Implemented notification settings redirection
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-12 13:36:53 +01:00
Eric Dvorsak e9e1456afc Fixing fx arguments and event dispatches
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-03-05 04:27:23 +01:00
janherich 7efcdcb150 Fix message ordering for 1-1 chats 2018-03-04 19:26:08 +01:00
Eric Dvorsak 54546204ae [fix 3424] visually indicated when mailserver or all peers are disconnected
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-03-04 17:43:15 +01:00
Lukasz Fryc eff794c2ff [ISSUE #3433] Update end-end test report for Github
Signed-off-by: Lukasz Fryc <fryc.lukasz@gmail.com>
2018-03-02 12:47:34 +01:00
Hanwen Cheng 502a28ec7a Fix #3013 Swipe chat based deletion
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-02 12:27:21 +01:00
yevh-berdnyk 3a33e04410 Tests updated with new onboarding flow 2018-03-02 12:37:37 +02:00
Itoh, Masaru 35e8278e8c Upgrade react native to 0.53.3
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-03-02 12:21:21 +03:00
Goran Jovic a4efcd99c6 bug #3463 - disabled update of group chat participants
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-02 10:00:49 +01:00
teddy070891 ba056beef2 Update de.cljs
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-01 15:36:18 +01:00
Julien Eluard 2dee50e790 [ISSUE #3224] Click on user picture open profile
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-01 15:06:58 +01:00
Dmitry Novotochinov ac9b5cd976 Use re-frame fork with js/setTimeout as next-tick
Change app initialization process. Dispatch :initialize-app
only when jail has been initialized.

Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-03-01 19:06:39 +07:00
Julien Eluard 1905530044 [ISSUE #3312] Implemented invite friends feature
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-01 11:24:47 +01:00
Andrey Shovkoplyas eb8557dde8 Introduced onboarding sign in
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-03-01 12:16:03 +03:00
Eric Dvorsak 8b1288e20b add merge-fx macro
this macro allows safe merging of cofx, making complex events easier
to understand while avoiding the risk to overwrite the db effect when
threading multiple effects creating functions

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-28 19:37:12 +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
Roman Volosovskyi aa02547815 request camera permissions from webview #3003
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-28 15:49:21 +01:00
Julien Eluard efb8c3cdf2 [ISSUE #3316] Do not avoid keyboard in wallet/fee screen
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-28 15:32:11 +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
Julien Eluard a86e59dbbe [ISSUE #3331] Allow to configure view compilation
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-28 11:11:56 +01:00
Foo Pang c1900a24ec [Fix #3252] Remove dependency on react-native-autolink
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-28 10:57:58 +01:00
Lukasz Fryc 6bde9828cb Merge pull request #3435 from status-im/tests/fix-appium-requirements
Fix Appium project requirements
2018-02-27 22:05:21 +01:00
Lukasz Fryc a4852d5001 Fix other requirements 2018-02-27 19:27:31 +01:00
Lukasz Fryc 21157177c2 Fix zbarlight version 2018-02-27 19:27:30 +01:00
Julien Eluard 3510f79e89 [ISSUE #3429] Use proper etherscan URLs
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-27 16:47:40 +01:00
Julien Eluard 50ac9125fe [ISSUE #3386] Improved group chat details action label 2018-02-27 15:34:38 +01:00
Julien Eluard 57278d2cf9 [ISSUE #3432] Make sure public chat topic can be fully erased 2018-02-27 14:08:02 +01:00
Goran Jovic b5b3ad204d feature #3011 - reworked group chat profile and refactored common profile elements
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-02-27 12:12:51 +01:00
alwxndr 80b1edfff6 [#3350]: 2 send commands are shown if chat contains 1 or more request messages
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-26 20:35:49 +01:00
alwxndr 64b248268d [#3366, #3349]: Fixes for expandable, better animations for parameter boxes
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-26 14:59:39 +01:00
KatieStarks 847795f3a7 [FIX #3229] Change home add button on ios to blue
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-26 14:58:01 +01:00
Ihor Kysylevych 0da3ccd5ea [FIX #3223] Fit Recipient screen to mocks on iOS
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-26 12:16:37 +01:00
janherich e3fe6d48da Properly open/navigate-to chat 2018-02-26 11:41:32 +08:00
Julien Eluard 8d9675154c Increased chat icon tapping area
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-22 16:40:20 +01:00
Rob Culliton 2d6d7d1327 kebab-case re-agent attributes that were formerly camelCased
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-22 16:39:06 +01:00
Ihor Kysylevych 5f5412d91b [FIX #3123] ui: fix network field overflow on long network names in profile settings
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-22 12:26:27 +01:00
Julien Eluard 33f1d8d26b [ISSUE #3313] Migrated public chat creation flow
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-22 12:22:08 +01:00
Julien Eluard cc6414c204 [ISSUE #3396] Fixed incorrect atom access
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-22 12:06:52 +01:00
tarekskr 6098da936a Updated to the new etherscan API URL scheme.
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-21 20:45:28 +01:00
Dmitry Novotochinov 65a2f440c6 [refs #3210] replace contacts/get-by-id with app-db read
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-02-21 19:40:26 +01:00
Dmitry Novotochinov d799396851 [refs #3210] remove unnecessary reads from Realm for messages
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-21 18:24:16 +03:00
Dmitry Novotochinov 8abdd77fb4 [refs #3210] Replace realm reads for chats with app-db reads
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-21 18:22:35 +03:00
janherich 15f4c90caa Simplify input handling
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-21 18:19:58 +03:00
Julien Eluard 526d11469a Improved french translation
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-21 15:06:28 +01:00
Julien Eluard 2e4897d574 Removed old dependencies
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-21 09:49:50 +01:00
yevh-berdnyk d45af20a28 Updated group chat creation flow 2018-02-21 09:45:24 +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
Itoh, Masaru fad47500bb Migrate figwheel conf from project.clj to figwheel ns
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-21 08:47:47 +01:00
Eric Dvorsak cc8ef6580e Revert "Fix #3013 Swipe chat based deletion"
This reverts commit f4f1ab4e2f.

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-21 04:03:15 +01:00
Eric Dvorsak 3c3c347123 Fix wrong derefs
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-21 02:43:56 +01:00
Hanwen Cheng f4f1ab4e2f Fix #3013 Swipe chat based deletion
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-20 22:47:00 +03:00
Ihor Kysylevych 0a17d75ff4 [FIX #3351] chat: fix extra new lines adding in the text input on enter (ios)
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-20 22:40:21 +03:00
alwxndr 44b10850ed fix
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-20 22:38:31 +03:00
alwxndr 5280f3d9a0 Returning expandable animations back, removing :get-max-container-area-height 2018-02-20 22:38:19 +03:00
Dmitry Novotochinov 4fa9459e40 Update mailserver node id
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-02-20 14:46:59 +01:00
Julien Eluard 223ab2694f [ISSUE #3320] Fixed incorrect label
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-20 14:07:00 +01: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
Julien Eluard 63b1dbdb76 [ISSUE #3321] Migrated group chat creation flow
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-19 20:21:41 +01:00
janherich fb4ea0572b Fix latest nightly -> nigthly migration 2018-02-19 18:43:35 +01:00
Roman Volosovskyi 7e4903826f turn off auto capitalization in url text inputs 2018-02-19 11:45:09 +08:00
Konstantinos Raptis dd83212eba Remove library duplication 2018-02-18 07:39:53 +08:00
alwxndr 2aa6c1992f [#3014]: Updated chat input
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-16 20:58:44 +03:00
Julien Eluard 058e6c5412 ISSUE #3083] Adapted chat menu to latest mockups
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-16 16:04:27 +01:00
yevh-berdnyk b228883de5 Added sanity tests for message sending verification 2018-02-16 10:54:51 +01:00
Foo Pang ce34bb4349 Fix broken spec validator for screen params
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-02-15 17:31:57 +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
Roman Volosovskyi c8ba9bd074 clean non-working dapps
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-14 17:49:33 +03:00
Andrey Shovkoplyas 6d0681f906 Merge remote-tracking branch 'origin/develop' into develop 2018-02-14 17:49:01 +03:00
Eric Dvorsak 85ed3b3686 Revert "upgrade rn-camera (attempt to fix #3289)"
This reverts commit 032c5b42eb.

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-14 14:54:20 +01:00
janherich 86aea8a623 Effects should be dumb, without any logic 2018-02-14 14:19:34 +01:00
Eric Dvorsak 8b4b083b50 [FIX] fix apk path for releases
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-14 12:55:58 +01:00
Anton Danchenko 8ecde7feb6 added/reworked transaction tests (sanity) 2018-02-14 12:40:57 +01:00
Serhy cd53b21a05 added sanity profile and browsing tests 2018-02-14 12:37:11 +01:00
Julien Eluard d74b27f951 [ISSUE #3241] Do not use hardcoded gas price
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-14 12:27:02 +01:00
Roman Volosovskyi 032c5b42eb upgrade rn-camera (attempt to fix #3289)
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-14 12:26:25 +01:00
Roman Volosovskyi 8fa22831ee fix location/phone commands migrations #3256
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-14 12:24:53 +01:00
janherich 0b8356a96e Fetch short preview during sending 2018-02-13 17:11:55 +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
Goran Jovic d1fbde8a40 feature #3243 - contact profile screen cleanup
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-13 17:55:39 +03:00
Oskar Thoren cffa4c5759 Jenkinsfile.release: use BRANCH_NAME
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-13 13:25:27 +01:00
Goran Jovic 7e1376aeaa bug #3300 - updated leftover sub after rebase
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-13 14:45:06 +03:00
Julien Eluard ab5f1aef37 [ISSUE #3213] Allow to reset gas details
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-13 12:10:15 +01:00
Foo Pang eba8df6703 [Fix #2719] App does not fit on iPhone X screen
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-12 20:57:07 +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
Goran Jovic 8696629b66 bug #3232 - fixed profile image setting
Signed-off-by: alwxndr <alwxndr@gmail.com>
2018-02-12 11:44:18 +01:00
alwxndr ce524507da [#3006]: No more search features
Signed-off-by: alwxndr <alwxndr@gmail.com>
2018-02-12 11:42:48 +01:00
E.Azer Koçulu d0dff14ea6 Creates umbrella commands for all Linux packages and adds support for Arch Linux' package manager pacman
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-09 17:41:36 +03:00
Audrius Molis f7fd5e71d6 Allow app reloading in development mode [FIX #3118]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-09 17:39:11 +03:00
Julien Eluard 1e262fc277 [ISSUE #3208] Removed ContextMenu usage
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-09 17:35:28 +03:00
Julien Eluard 748b0fcf09 [ISSUE #2883] Migrate wallet/request to latest mockups
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-02-08 16:22:33 +01:00
Goran Jovic 96f08abc7d refactor #3141 - replaced :refer with :as in ui.components
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-02-08 15:35:34 +01:00
Pedro Pombeiro 2a6d7b9ac7 Update github-bot.yml
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-02-08 13:36:52 +01:00
Oleh Krehel f4b33d47ee events.cljs: Refactor
Reduce the overall nesting level in the test.  Each `testing'
statement now fits on a single screen, instead of spanning hundreds of
lines.

The final top-level expression went from 16 to 5 consecutive closing
parens.

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-02-08 12:12:32 +01:00
Foo Pang 90863f1670 [Fix #2987] Improve screen navigation
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-02-08 11:44:52 +01:00
Anton Danchenko cbc61500f7 e2e tests reworked according to new 'start chat' and 'browse DAap' flows
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-02-08 11:11:03 +01:00
Dmitry Novotochinov faa690950f align
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-07 20:53:14 +01:00
Dmitry Novotochinov ddb15863f1 [refs #3055] increase number of retries before mark-trusted-peer call 2018-02-07 20:53:08 +01:00
Julien Eluard 52cc220f21 [ISSUE #3246] Fixed regression when opening URL
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-07 20:45:36 +01:00
janherich c7e34ed122 Use blocking puts 2018-02-07 16:07:29 +01:00
Eric Dvorsak 0b0405d9a5 [fix #3163] remove phone command
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-07 15:48:53 +01:00
Oleh Krehel da70ff7954 scripts/setup: Fix call to mvn
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-07 09:26:55 +01:00
Anton Danchenko f3a1248b13 WIP, report automated test results to GitHub as comment under appropriate PR
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-07 08:30:53 +01:00
Foo Pang 8582be2e69 [Fix #2751] Allow switching between wnodes for offline messaging
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-07 08:29:27 +01:00
Hanwen Cheng 3b6b987db4 Fix #3145 Update Ethereum to Ether asset name
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-07 08:27:36 +01:00
Pedro Pombeiro 054737017f Add prod-build-android and prod-build-ios aliases so that release-* make targets only build selected platform
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-07 08:25:06 +01:00
Ivan Borovkov f62e5eeaa6 Merge pull request #3239 from status-im/feature/nightly-build-publish
publish apk and ios links on public page force push
2018-02-06 23:20:22 +02:00
Ivan Borovkov 4aba1becf1 publish apk and ios links on public page 2018-02-06 23:19:13 +02:00
Ivan Borovkov 27ab7e9d3a Merge pull request #3238 from status-im/feature/nightly-build-publish
publish apk and ios links on public page
2018-02-06 23:17:57 +02:00
Ivan Borovkov 407fa7de01 publish apk and ios links on public page 2018-02-06 21:38:08 +02:00
janherich 3c406b24bb Remove obsolete :on-send checking 2018-02-06 16:08:12 +01:00
janherich 0447912172 Add default command scope 2018-02-06 14:55:20 +01:00
Andrey Shovkoplyas 2e669ef525 introduced new, new chat, open dapp screens
Signed-off-by: Andy Tudhope <tuddy0525@gmail.com>
2018-02-06 15:18:19 +02:00
Alexander Pantyuhov 790655b6cf Post-merge issues - greek translation, correct namespaces (#3215) 2018-02-06 01:21:37 +08:00
Foo Pang cd90e59325 [Fix #2408] Alternative setTimeout for long timers
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-02-05 23:44:42 +08:00
Julien Eluard d958c96d67 [ISSUE #2881] Updated wallet / send transaction to latest design
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-02-05 23:14:42 +08:00
Konstantinos Raptis 1046560498 Added Greek translation
Signed-off-by: Andy Tudhope <tuddy0525@gmail.com>
2018-02-05 17:10:27 +02:00
Oleh Krehel 534773b86a scripts/lib/setup/output.sh: Fix broken link to react-native docs
DevelopmentSetupAndroid.md was removed from react-native docs around 2
years ago.

Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-02-05 23:01:28 +08:00
janherich 80fb8dde8b Read at startup & write through async queues 2018-02-05 12:28:08 +01:00
Eric Dvorsak 8e7bf6eab4 Format translations
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-05 10:18:04 +01:00
Eric Dvorsak dc646b2ad3 [fix #3127] fix wrong branch order in conditional statement
Fix bug where user could not go back to account selection after
tapping create new account

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-05 09:20:14 +01:00
Roman Volosovskyi 9f91557565 turn off RN bridge warnings by default
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-03 12:47:02 +01:00
Audrius Molis cf83725ef1 Replaced incorrect aget access FIX #3067
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-02-02 20:27:34 +03:00
Foo Pang ae04dde8ba [Fix #3076] Separate figwheel from dev lein profile
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-02-02 17:02:45 +03:00
alwxndr 03e62548a6 [#3007] Removed location command 2018-02-01 22:25:50 +01:00
Sebastian Delgado 92c83f6579 Add conditions to check for core-contributors in merge PR script
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-02-01 19:20:23 +03:00
Alexander Pantyukhov 74f9ea32a3 [fix #1604]: Commands send, request, location are sent several times if quickly tap on send button
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-02-01 19:16:53 +03: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
Dmitry Novotochinov 008f877cd6 Check admin.peers() before markTrustedPeer() call
addPeer() doesn't add peer right away so markTrustedPeer() could fail.
2018-02-01 14:29:53 +03:00
Jakub Dušek 8f1bc58b4b [FIX #3136] Add a line under profile image when editing profile
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-01-30 16:48:31 +01:00
Andrey Shovkoplyas 7e78acc0cc implemented browser , removed browse command 2018-01-30 16:19:59 +03:00
Roman Volosovskyi 1ba7c33868 improve navigation duration 2018-01-30 13:52:38 +02: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 c4151534fb send correct username in public group chat message and show it 2018-01-26 13:42:51 +02:00
Goran Jovic 5ecdb174e2 feature #3052 and #3054 - edit profile and qr code viewer 2018-01-25 14:22:04 +01:00
Roman Volosovskyi 6c72b6d5db fix geth.log on Android 2018-01-25 12:54:48 +02:00
Alexander Pantyuhov c5bea68fdc [fixes #2908] 0.00 ETH is shown instead of specified amount (with comma) on Send transaction screen after /send command (#3122) 2018-01-25 11:36:03 +01:00
alwxndr c66c5948a9 The wrong usage of prod-build removed from Makefile 2018-01-24 21:41:21 +02:00
Andrea Maria Piana 334b15961c Refactor add-contacts & add-pending-contact
We wanted to move towards having multiple functions
manipulating the data rather than relying on a chain of
dispatched events.

I have refactored ui.screens.contacts.events so that now the
functions mainly manipulate fx, passed as a first parameter.

Their responsability is to make sure their fx are merged in, so
that they can be composed more easily.

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-01-24 18:13:52 +01:00
Andrea Maria Piana 7012125024 Add :add-pending-contact-and-open-chat handler 2018-01-24 18:13:36 +01:00
Andrea Maria Piana 3a65dcd3c2 Start chat when user adds a pending contact from the "new contact" view
When a contact is removed it is set to pending?.

If the same contact is added again we now dispatch a :start-chat event
which initiate a 1-1 chat with them.
2018-01-24 18:13:36 +01:00
Eric Dvorsak 63afd37921 [fix #2985] Show sent transaction immediatly in history 2018-01-24 09:27:10 +01:00
Sebastian Delgado bf95603b56 [FIX #3074] Combine PR scripts and clean up usage of merge-external-pr.sh
- Combine merge-pr.sh and merge-external-pr.sh using merge-external-pr.sh as a base
    - Modify script interface to ./scripts/merge-pr.sh <PR-ID> and remove options to run with REPO_URL BRANCH arguments
    - Works regardless of where PR is hosted and whether or not it is signed by external contributor.

Signed-off-by: Sebastian Delgado <sdalcega@gmail.com>
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-01-23 22:12:18 +01:00
Julien Eluard b3e2a610f1 [ISSUE#3105] Fixed section renderer data access 2018-01-23 18:17:24 +01:00
Julien Eluard 4dd9b9c18c [ISSUE#3099] Do not hardocde list item height 2018-01-23 18:09:08 +01:00
Dmitry Novotochinov b7dadc78c2 [fix #2754] Don't update contact with old data
When contact-request message arrives, it may contain outdated info
about contact including old profile picture.
2018-01-23 18:57:49 +03:00
Dmitry Novotochinov 9f35d265c8 [fix #3091] fix edit group chat contact list 2018-01-23 14:26:25 +03:00
Pedro Pombeiro d64aa270a8 Add probot settings 2018-01-22 15:26:52 +01:00
yevh-berdnyk cbb77b5f8d Automated tests aligned with new design 2018-01-22 13:04:33 +01:00
Goran Jovic ef57a5ca35 feature #2906 - new profile screen 2018-01-22 12:21:34 +01:00
Roman Volosovskyi 54e83c584d set useNativeDriver to true in request-button animation 2018-01-19 17:08:04 +02:00
Julien Eluard 07fecc4e28 [BUG #3083] Added extra delete options to current menu 2018-01-18 15:21:47 +01:00
Andrea Maria Piana 0b035cfad7 Remove unused erc20-enabled flag
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-01-18 10:02:00 +01:00
janherich dff107f669 Add react key metadata to messages list 2018-01-17 21:11:53 +01:00
Oskar Thoren 3cdb05e5b8 Perf experiment spike: Change 1on1 send/filter to partial pub-key
- Add MANY_WHISPER_TOPICS_ENABLED flag
- Jenknisfile.parameters
2018-01-17 17:15:39 +01:00
Mikhail Gusarov 4a08d2a818 [FIX #1048] Localize timestamps in chat history
If current locale is xx-YY, looks up xx_YY first, xx then and finally
falls back to us.

goog.i18n.DateTimeSymbols database is used for localization.

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-01-17 17:06:44 +01:00
Audrius Molis 2292d2e500 Got rid of old files.
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-01-17 17:04:29 +01:00
Eric Dvorsak b8ddc2b16b [fix #3057] fix chat-contact.identity must be of type string error 2018-01-17 16:34:49 +01:00
Dmitry Novotochinov 17e886da11 [experiment #3038] Add buffer to process incoming messages asynchronously 2018-01-17 16:31:02 +01:00
janherich 8396442847 Change messages subscription 2018-01-17 15:57:34 +01:00
Julien Eluard fc92dafca6 Fixed android build script.
Upgraded to latest dependencies and removed useless plugins.
2018-01-17 14:56:52 +01:00
Julien Eluard d05f50db62 [BUG #2881] Migrated wallet main screen to latest mockups 2018-01-17 10:36:43 +01:00
Eric Dvorsak 314d425187 Clean up build scripts 2018-01-17 01:22:14 +01:00
Andy Tudhope 5f979cdf8c merge-pr script should prompt for multiple commits
Fixes #2971

Because I don't think it is worth a bounty - all the code required was already in the `merge-external-pr.sh` so I have just copied the relevant parts across and added the few necessary lines to ensure that PRs from core contributors cannot be merged unless they have been squashed down to a single commit.

Changed fatal to confirm for merge-pr
2018-01-16 18:01:53 +01:00
Foo Pang e35edf1e90 [Fix #2810] Support markTrustedPeer in web3.js
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-01-16 19:14:57 +03:00
Foo Pang fe697bfcc8 [Fix #2809] Support requestMessages in web3.js
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-01-16 18:56:16 +03:00
Andrea Maria Piana 29657a08de Add back icons/chats icon
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-16 23:52:02 +09:00
nrakochy bcff786fdb [Fixes #1774] Fixes Android feature permission
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-16 23:48:39 +09:00
Oskar Thoren e1093f9e43 Script for tagging releases 2018-01-16 23:42:30 +09:00
janherich eb17f24f0b Fix realm migration 2018-01-16 14:48:10 +01: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
Adam Babik 22bb4b0d13 update status-go to develop-gd71c66a2 2018-01-16 10:31:28 +02:00
Ivan Borovkov 7e2ef2ea98 add newline to .env file to fix build 2018-01-15 22:45:05 +02:00
Eric Dvorsak 5c359886e5 [feature] refactor discover events
use re-frame idiomatic register-handler-fx, reg-fx and coeffect.
the events are still not free of side-effects as there is some
db calls involved which will be taken care of in a future PR

it also reduces the events fired at app init from 3 to 1
discover-related event
2018-01-15 16:18:24 +01:00
Foo Pang 1b563a59cc [Fix #2986] Figwheel reloads env.android.main / env.ios.main on every file change
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-01-15 15:51:30 +03:00
Dmitry Novotochinov 5f02e4287f Refactor offline inbox events
- Add error handlers
- Memoize calls to add-peer and mark-trusted-peer
- Use re-frame events to control flow
2018-01-15 12:43:38 +03:00
Ivan Borovkov 9f6d8d7090 Merge pull request #3032 from status-im/bugfix/path-to-apk-android-artifactory
fixed path to local file for upload
2018-01-15 11:28:16 +02:00
Igor Mandrigin e6bb9ce457 Update react-native-http-bridge 2018-01-15 10:14:53 +02:00
Eugene Zadyra 485db2f35a Fixed #2334. Translated App Strings to Ukrainian
Signed-off-by: andytudhope <tuddy0525@gmail.com>
2018-01-14 17:59:13 +02:00
Ivan Borovkov 4bab66ea30 fixed path to local file for upload 2018-01-14 15:39:10 +02:00
dumiz eab79e8a0f Update ja.cljs
address review comments

address review comments

minor change

Signed-off-by: andytudhope <tuddy0525@gmail.com>
2018-01-14 09:13:59 +02:00
janherich 4ce70f86fb Remove message data remnants 2018-01-13 22:09:32 +01:00
Goran Jovic 9f9d788e2c restored the previously removed switch user ie logout action 2018-01-13 16:39:42 +01:00
Ivan Borovkov 0eb4fb0a42 fix path to apk for artifact upload 2018-01-13 14:11:37 +02:00
Andrea Maria Piana c8ef43fb67 Fix and uncomment tests in contacts.events and utils.pre-receiver
I have uncommented the two namespaces:

contacts.events was mainly an issue with schema validation
and a few features not covered by tests.

the tests in pre-receiver were actually passing, the issue was a
test suite in wallet.events which was run asychronously by re-frame
which meant the http request in the fx was actually being fired.

Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-13 19:32:25 +09:00
pacamara 86be7071a0 [Fix #2834] Migrate android build to latest gradle plugin
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-13 18:58:46 +09:00
Foo Pang 343f5c1e8e [Fix #2900] Unread badge counter doesn't fit large numbers
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-13 03:53:10 +09:00
Goran Jovic 8e5fc1d6f1 bug #2949 - resolved unset gas info after send from chat 2018-01-13 03:47:51 +09:00
janherich 2f6742cdc7 Fix id->message-id 2018-01-13 01:26:12 +09:00
janherich 24d0b68c1f Async audit 2018-01-13 01:26:11 +09:00
Pedro Pombeiro 0d83aeda8d scripts: Improve bundle-status-go.sh so that it can bundle Android package as well (#2539)
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-13 00:54:49 +09:00
Oskar Thoren 87dc4ead85 Revert "Async audit"
This reverts commit e379168452.
2018-01-13 00:09:41 +09:00
Oskar Thoren 00d665b2d5 Revert "Fix recur in go-loop"
This reverts commit bd6adac02b.
2018-01-13 00:09:19 +09:00
Alexander Pantyukhov a40f9bc8c1 [fix #1604]: Commands send, request, location are sent several times if quickly tap on send button 2018-01-12 23:12:50 +09:00
Eric Dvorsak 65f2f51632 [fix #2426] prevent sending same command multiple times 2018-01-12 23:11:06 +09:00
m'hammed 91a7dc2cdf [BUG #2419] Adapt description text input size to make it not overlap with save button. And make parent view scrollable
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-12 22:51:37 +09:00
janherich bd6adac02b Fix recur in go-loop 2018-01-12 12:59:18 +01:00
janherich e379168452 Async audit 2018-01-12 12:47:46 +01:00
janherich 2b405d4d6c Fix chat list rendering 2018-01-12 11:37:00 +01:00
Andrey Shovkoplyas 8b6f007313 fixed tests 2018-01-12 12:10:15 +03:00
Andrey Shovkoplyas a3cffebb23 code review, renamed chats-list to home 2018-01-12 12:10:15 +03:00
Andrey Shovkoplyas d582e6e366 reworked main tabs, removed swiper and drawer npm libs 2018-01-12 12:10:15 +03:00
Dmitry Novotochinov 350fc7aa03 [fix #2870] Mark 1-1 chat as inactive when user removes it 2018-01-11 19:17:19 +03:00
Julien Eluard b76095e599 [BUG#2417] Update balance when sending request from chat 2018-01-11 18:39:55 +09:00
Oskar Thoren 2dd25646ca add pr-statistics scripts to get some stats on open or already merged PR
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-11 18:34:49 +09:00
Oskar Thoren 413f9c2fad Introduce OFFLINE_INBOX_MANY_ENABLED flag for perf quickfix
Since offline inboxing and desktop were introduced, we went from testing with
~10 messages to ~1000 messages. This surfaced inefficiencies such as this issue.
It also means someone who joins a public channel such as #status will experience
significant lag when signing in. To remedy this, we put offline inboxing for
public/group chats under a flag until the underlying perf issue has been
resolved.
2018-01-11 18:32:22 +09:00
Dmitry Novotochinov df96d6e826 [fix #2924] change currency font color to white on send screen for android 2018-01-10 21:35:06 +03:00
Julien Eluard 7cb9e09c08 [BUG#2882] Improved wallet asset selection 2018-01-10 13:35:03 +01:00
Goran Jovic b1f49a7730 bug #2950 - missing action buttons in unsigned transactions list 2018-01-10 17:09:25 +09:00
m'hammed 3e3f299e39 bug fix #2604 & #2822 : fix text-input related auto-focus issues
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-10 16:59:39 +09:00
janherich d98f3846fd Fix group commands 2018-01-09 17:00:13 +01:00
Eric Dvorsak c99af08c4f [fix #2903] fix arity bug on iOS
also use ListEmptyComponent prop for section-list
2018-01-09 15:18:18 +01:00
Eric Dvorsak 7685b43049 use not= 2018-01-09 15:12:56 +01:00
Eric Dvorsak c0ba70c28a [fix #] pass network-status to account app-db
when login offline the offline gray box was not shown in chat-list
and the fix in #2314 would not work in that case
2018-01-09 15:12:56 +01:00
Eric Dvorsak 156089b07b [fix #2314] do not try to update wallet and transactions when offline 2018-01-09 15:12:56 +01:00
Dmitry Novotochinov dc61971608 Fix "Invalid arity: 0" error on sign screen
flat-list fails when :separator parameter provided.
2018-01-09 17:09:56 +03:00
janherich 201484f37f Faster msg status updates 2018-01-09 15:00:06 +01:00
janherich 1ec7053aee Remove status message from messages stream 2018-01-09 12:54:27 +01:00
Eric Dvorsak 4fe3c63923 [fix #2957] no matching clause error in transaction details
symbol is a string, add readable error in case happens again
2018-01-09 09:23:32 +01:00
Ivan Borovkov a3f6169088 send to slack branch that we are building now, if we build PR 2018-01-09 09:14:49 +02:00
Roman Volosovskyi 6c3c85b9cc fix #2771 by invoking jail.callJail in the same thread 2018-01-08 17:40:19 +02:00
t4sk 591e568e37 [feature #2793]
- update re-natal to 0.8.0
- git ignore config.cljs
- derive re-frisk url from config.cljs
- add tests for env/dev/env/utils
- remove lein re-frisk use-re-natal from Makefile

Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-08 23:13:47 +09:00
Julien Eluard b5735230ff [BUG#2927] Fixed regression when showing transaction detail 2018-01-08 23:07:23 +09:00
Oskar Thoren 5cfe5523eb Fix missing password prompt regression (#2925)
Always initialize LOG_LEVEL_STATUS_GO.
2018-01-08 23:04:35 +09:00
Foo Pang fe315c619a Improve custom figwheel script usability
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-01-08 15:08:12 +03:00
Julien Eluard f90e1a4ed3 [BUG #2029] Properly handle gas details from payment requests 2018-01-05 22:44:12 +09:00
Oskar Thoren 0a1c3bcd88 Jenkinsfile.release
Like Jenkinsfile.nightly but with .env.prod mainly.
2018-01-05 18:16:17 +09:00
Oskar Thoren 751998e980 Intercept received messages and queue them
- Exposes behavior under QUEUE_MESSAGE_ENABLED flag that is turned off in
production.

- Delays messages to allow for reordering of latecoming messages up to 500ms
2018-01-05 17:25:27 +09:00
Oskar Thoren fa61ef8e1d Jenknis: Fix parameterized build if rebase test fails
If it does build shouldn't exit
2018-01-05 15:58:45 +09:00
Igor Mandrigin d35ba2544e [FIX #2530] Create catalog variable on client-side.
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-05 15:55:44 +09:00
Taylor Dawson db293e7ad5 Removed NOTIFICATIONS_WIP_ENABLED flag
fixes #2813

status: ready
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-05 15:54:44 +09:00
Goran Jovic 5a58211703 bug #2899 - using /send command always uses ETH currency 2018-01-04 15:34:33 +01:00
janherich 52ddccca96 Refactored statuses 2018-01-04 13:49:21 +01:00
Anton Danchenko e66b5c435b the automation framework refactored in order to increase readability, decrease running time and bypass several minor bugs in product
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-04 19:29:39 +09:00
Julien Eluard 7c4d2f2ece [ISSUE #2642] Allow to send ERC20 tokens 2018-01-04 09:29:49 +01:00
Foo Pang 38d7485f76 Fix hot reloading broken for dev profile
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-04 17:02:12 +09:00
Oskar Thoren b42df6489e Jenkins: Conditionally rebase on develop with build flag 2018-01-04 01:49:18 +09:00
Julien Eluard 7c8aa75724 [ISSUE #1840] Migrated to FlatList 2018-01-03 16:20:28 +01:00
Roman Volosovskyi 558fc8fd62 ensure npm deps are installed in jenkins pipelines 2018-01-03 13:21:54 +02:00
Roman Volosovskyi b267a3017a raw dev script for iOS 2018-01-03 12:39:45 +02:00
Oskar Thoren 38f6dbdfae Disable failing tests to get Jenkins to build
Error:

Testing status-im.test.utils.pre-receiver
undefined
/Users/oskarth/git/status-react/target/test/status_im/utils/utils.cljs:61
(defn http-get
^
ReferenceError: window is not defined
...
Error encountered performing task 'doo' with profile(s): 'test'
Subprocess failed

Not sure what http-get has to do with this test ns though.
2018-01-03 17:38:19 +09:00
pablodip e273568544 hide react native long timeout warning [ref #2408]
Signed-off-by: andytudhope <tuddy0525@gmail.com>
2018-01-02 21:05:36 +02:00
Pedro Pombeiro 96ff13a4df android, ios: Pass log level from env in JSON config to Android and iOS (#2756)
- Add `LOG_LEVEL_STATUS_GO` feature flag for a differentiated log level in status-go.
- Remove superfluous `DEBUG_LOGS_ENABLED` feature flag.
- Enable info-level logging for Jenkins and dev builds.

Signed-off-by: andytudhope <tuddy0525@gmail.com>
2018-01-02 21:03:49 +02:00
m'hammed 01d993c32e [bug] fix #1379 change "Unknown contact" message to "Anonymous contact"
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-02 20:37:11 +09:00
Oskar Thoren bb69995aa4 Introduce 'pre-receiver' for more intuitive message order
Includes tests and explanation of logic. Doesn't change any behavior, just
provides a new capability to be used when messages are received.
2018-01-02 19:00:46 +09:00
Audrius Molis 3e940b5bd4 Stopped loading Figwheel API by default #2669
Signed-off-by: andytudhope <tuddy0525@gmail.com>
2018-01-02 10:31:55 +02:00
Ivan Borovkov 2f4c750d8a Merge pull request #2859 from status-im/bugfix/jenkinsfile-fix
fixed jenkinsfile checkout process
2018-01-01 11:15:08 +02:00
Ivan Borovkov 7cd7072d33 fixed jenkinsfile checkout process 2018-01-01 10:54:49 +02:00
Ivan Borovkov 2ce5e2a715 fixed jenkinsfile checkout process 2018-01-01 10:46:42 +02:00
Ivan Borovkov 20effb7cd1 fixed jenkinsfile checkout process 2018-01-01 10:22:11 +02:00
Serhy 977db7ab9c Added acceptable deviation between current and expected USD ballance 2017-12-29 12:11:20 +02:00
nrakochy c531ece0bd [FIX #2620] Refactored doall dispatch into single event and fixed component navigation flag 2017-12-28 18:02:57 +02:00
Roman Volosovskyi 63bdd269e9 remove ./re-natal deps from jenkins pipelines 2017-12-28 16:44:35 +02:00
Ivan Borovkov 635b6ad649 Merge pull request #2839 from status-im/bugfix/fix-jenkinsfile-to-use-scm-module
fix for jenkinsfile to use correct scm checkout procedure
2017-12-28 15:07:30 +02:00
janherich 77b966c864 Send message refactoring 2017-12-28 15:06:15 +03:00
Roman Volosovskyi e580b6e96f disable jsc while #2721 is not fixed 2017-12-28 13:31:41 +02:00
Ivan Borovkov 112e6dc4d3 fix for jenkinsfile to use correct scm checkout procedure 2017-12-28 13:06:08 +02:00
Oskar Thoren 153cd02b86 Add tests section to Makefile 2017-12-28 05:45:40 +08:00
Serhy 1c14845bbc Fixed test_balance_and_eth_rate to verify USD balance instead of eth rate 2017-12-27 20:32:34 +02:00
Vitaliy Vlasov 9f15a2db71 [FIX #2118] ui: store search-key under [:toolbar-search :show]
Chat list used to store booleans under [:toolbar-search :show] which is
different from other views and caused the issue described in #2118.
2017-12-27 10:35:08 +03:00
Foo Pang 792e599dd4 [Fix #2775] Discover: Popular hashtags counter is misplaced 2017-12-27 10:33:41 +03:00
Foo Pang 3e8ce2d6d7 [Fix #2683] Do not run sync state loop on upstream RPC networks 2017-12-27 08:40:18 +02:00
Stefan Parviainen 5206f297cf Add swedish as supported language 2017-12-26 18:26:33 +02:00
Stefan Parviainen 6edfff84d5 A few more fixes for swedish translation 2017-12-26 18:26:33 +02:00
Stefan Parviainen dc83a50815 Fix some problems with swedish translation 2017-12-26 18:26:33 +02:00
pafcu 7f408bb2e8 Update swedish translation
Closes #2335
2017-12-26 18:26:33 +02:00
Foo Pang e804ae25e7 [Fix #2590] Blank QR code on a quick double tap of the 'Show QR code' 2017-12-26 18:14:52 +02:00
Mikhail Gusarov 279ebc3173 [FIX #2636] Add script for merging external contributions
Pulls, rebases, displays, signs and pushes external contributions.

If jq(1) and curl(1) are available, can pull data from GitHub and
mark PRs as closed, otherwise only code merging works.

Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2017-12-26 02:15:15 +01:00
janherich 1c85797121 Generate :short-preview when msg received 2017-12-25 20:28:27 +01:00
Andrey Shovkoplyas 46dc16599b fixed chat tests 2017-12-25 22:16:01 +03:00
alwx a813ff9e9f Chat refactoring: updated console (former sign-up) namespace 2017-12-25 22:16:01 +03:00
Dmitry Novotochinov 484e982bdf Rename 'peer' parameter to 'mailServerPeer' in shh_requestMessages call
To conform to the latest status-go interface

Update status-go build to 'develop-gb7fb51d9'

Remove "from" parameter as it defaults to 0
2017-12-25 20:54:57 +03:00
Dmitry Novotochinov 26dad8cf33 [ref #2764] Add offline messaging settings screen
Screen shows what whisper node we connected to. No adding/editing
allowed yet, screen is ready-only for now.
2017-12-25 20:11:00 +03:00
Vitaliy Vlasov b0b4226680 [FIX #2565] data-store: escape leading tildes in message content 2017-12-25 16:19:32 +02:00
janherich c8168e9ff0 Use the correct group chat id 2017-12-24 01:53:44 +01:00
janherich f3519b975c Fix stale subscriptions 2017-12-24 01:46:29 +01:00
monokh bcc2b12036 Cleanup raster images (Fixes #1961) (#2748)
* Remove raster images moved to vector icons

* Removed unused raster images

* Raster image cleanup: add back lock, console, close icons

* Raster image cleanup: Add back lock mdpi + hdpi
2017-12-22 16:15:56 +02:00
Foo Pang 43c2f09324 [Fix #2613] Long username is not cut with ... on Discover screen 2017-12-21 21:56:28 +02:00
Foo Pang 1657f189ba Refactor: replace global platform-specific styles with local styles 2017-12-21 16:11:35 +01:00
pablodip 1837623c3a [FIX #2780] hide re-frame warning when reloading 2017-12-21 12:45:42 +01:00
Julien Eluard b0a1aab033 Make sure setup script runs on linux 2017-12-21 10:34:02 +01:00
Julien Eluard 0a7ba2fe3d Use proper GH keyword so that SOB workflow is triggered 2017-12-21 09:50:57 +01:00
Roman Volosovskyi c84641bd04 with-activity-indicator component
main-tab: render only current tab immediatly on navigation, other three 100ms later
2017-12-21 10:41:53 +02:00
pablodip b28765c38a improve re-frame db spec report 2017-12-21 08:48:38 +01:00
Dmitry Novotochinov 9ca54e9adc Offline inbox support for public chats
- Add `allowP2P` flag to group messages filter
- Remove `to` option from historic messages whisper request
2017-12-20 15:15:41 +03:00
janherich fecdef4124 Simplify input height management 2017-12-20 09:08:23 +01:00
janherich eb8d0a8a79 Refactored message data-model and view 2017-12-19 12:50:36 +01:00
Ivan Danyliuk df21ec8c3a Add Makefile 2017-12-18 12:04:17 +01:00
Oskar Thoren 660eebb8f7 Fix Jenkinsfile syntax 2017-12-18 09:13:14 +01:00
Roman Volosovskyi 8349379509 fix account creation without status-go 2017-12-18 09:06:20 +02:00
Andy Tudhope a7f8526c88 Merge pull request #2552 from foreseaz/feature/#2528
[feature #2528] separate zh_hant to zh_hant_tw, zh_hant_hk and zh_han_sg
2017-12-17 11:01:14 +02:00
foreseaz 9597e34e79 [feature #2528]
- separate zh_hant to zh_hant_tw, zh_hant_hk and zh_hant_sg
 - add new locales `zh-hant-sg`, `zh-hant-hk`, `zh-hant-tw`
 - fix zh_hant and zh_hans typo and layout
 - update `bots/browse/translations.js` `bots/console/translations.js`
`bots/mailman/translations.js` `bots/transactor/translations.js`
2017-12-17 11:13:28 +08:00
Oskar Thoren 0f23265029 RN weird Jenkins stuff fix 2017-12-16 23:46:45 +01:00
Oskar Thoren f8f43b80a6 Jenkinsfile.nightly: Fix re-natal link 2017-12-16 22:53:03 +01:00
janherich b0810b08d8 Attempt to fix android build 2017-12-16 22:48:23 +01:00
janherich e4265283e4 Bring back exact babel plugins 2017-12-16 11:39:23 +01:00
janherich 44099a4467 Fix rn packages issues 2017-12-16 11:39:23 +01:00
Chris Hutchinson 152afd3622 update
update to remove saucelabs broken - and broken links
2017-12-15 18:30:38 -06:00
janherich d6244cbc54 No patches 2017-12-16 01:29:42 +01:00
janherich d9a6a627d3 Avoid compiler warnings 2017-12-15 20:35:55 +01:00
Eric Dvorsak d9d250592a [fix] fix jenkins file to build latest react-native
the react-native packager is now a separate package so the file
that sed was trying to change doesn't exist anymore
2017-12-15 16:30:55 +01:00
Dmitry Novotochinov 6d966b4648 [fixes #2546] Add chat-preview-text component to status.js
Apply default styling for message commands preview in chat
2017-12-15 18:15:03 +03:00
Eric Dvorsak 56c59c741f update react-native and project dependencies
[#bug] fix realm version
2017-12-15 16:06:13 +01:00
Oskar Thoren 0ad29ed164 Fix merge-pr script so it runs as bash
As opposed to wannabe POSIX with bashisms. Makes it run reliably on most user
systems (Mac/Linux)
2017-12-15 11:01:39 +01:00
Oskar Thoren ce3d5936ec Offline inboxing: End to end MVP
- Turns on flag for dev and Jenkins
- Change enode to peer in requestMessages arg
- Upgrades status-go to get ssh_requestMessages
- Use status-cluster enode
- Fix Android AddPeer binding bug
2017-12-15 10:29:48 +01:00
Foo Pang 460f6a38e8 [Fix #2640] Cleanup react-native source folder 2017-12-14 16:57:09 +02:00
Audrius cdfe134466 [FIX #1393] Line breaks properly when contact is selected for send command (#2601) 2017-12-14 15:04:16 +01:00
Roman Volosovskyi bd017457e3 execute ParseJail synchronously: allows to avoid synchronization deadlocks inside com.github.ericwlange:AndroidJSCore at JSContext instantiation 2017-12-13 16:36:46 +02:00
Anton Danchenko 10da67a63f added 'request transaction from wallet' test 2017-12-13 14:19:00 +01:00
Roman Volosovskyi 19e180179c fix fatal: ambiguous argument 'develop..':... 2017-12-12 12:06:15 +02:00
Julien Eluard 518f68f08f Added build scripts 2017-12-12 09:05:18 +01:00
Oskar Thoren 8fb2c13e2d Add Jenkins parameterized build config file 2017-12-11 18:49:51 +01:00
Vitaliy Vlasov 3feb43d16d [FIX #1209] resources/js: wrap undefined responses from jail in a String 2017-12-11 18:01:14 +02:00
David Balatero e83adf1b46 Run build script against the develop branch 2017-12-11 12:46:04 +02:00
Roman Volosovskyi ee2904efcc fix re-natal in Jenkinsfile 2017-12-09 21:12:42 +02:00
Roman Volosovskyi cf565fb65d switch to otto while fixing #2661 2017-12-09 19:21:17 +02:00
David Balatero 2bd7652b5c Install all dependencies on Linux 2017-12-08 18:26:01 +01:00
Julien Eluard 2256628c97 Added assets icons and allow to filter tokens 2017-12-08 16:36:38 +01:00
Julien Eluard 3140081d59 WIP 2017-12-08 16:36:38 +01:00
Anton Danchenko f227962a89 fixed an issue with rounded sum in request command, added test 'send funds via request in group chat', added new users for wallet tests 2017-12-07 15:16:14 +01:00
Oskar Thoren 6aed718984 Offline inbox: Mark mailserver as trusted peer with RPC
Also document get-sym-key memoization
2017-12-07 14:01:52 +01:00
Oskar Thoren a68f065237 Add merge-pr.sh script 2017-12-06 16:34:02 +01:00
Audrius Molis addaeba706 Added password validation for Restore Access flow #1224
Added password validation for Restore Access flow #1224
2017-12-06 16:16:42 +01:00
Dmitry Novotochinov 1e7366be6a [fixes #2523] fix RU translations
add missing :status-sending RU translation
2017-12-06 16:15:12 +01:00
Oskar Thoren 091045a700 Offline inbox: Requests messages on startup
- protocol/web3/inbox: make request-messages work by adding enode peer,
  generating and using symkey, and finally using raw CallRPC for
  shh_requestMessages.

- protocol/core: Clean up log lines
2017-12-06 14:51:12 +01:00
kemargrant 8e3270afef Add Ethcro Dapp to default contacts 2017-12-05 13:10:19 -06:00
Oskar Thoren 6d5251ad20 Offline inboxing: integrate AddPeer binding
- Add add-peer call to IReactNativeStatus
- Upgrade status-go
- Bindings for addEnode(enode string) in Java and ObjC
2017-12-05 18:52:22 +01:00
Vitaliy Vlasov 5ef8ea4c0c [FIX #2423] ui: fix typo in render-public-chats-item 2017-12-05 16:33:25 +01:00
Goran Jovic feed287457 feature #1996 - navigation from status author name or profile image to profile screen 2017-12-05 16:13:17 +01:00
Roman Volosovskyi 8886bfd5d0 JavaScriptCore jail as alternative for Otto vm 2017-12-05 12:09:34 +02:00
Andrey Shovkoplyas afd7fca6d8 refactored protocol handlers 2017-12-04 23:08:18 +03:00
Igor Mandrigin a3c02b07a6 Ignore errors for rm command when bundling status-go for iOS.
Right after `git clone`, there is no `Statusgo.framework` in `react-native-status/ios/RCTStatus/` directory. Because of that, `scripts/bundle-status-go.sh` fails and stops on the `rm` operation.

Since it is a perfectly valid scenario, let's ignore this error.

Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2017-12-04 19:58:21 +01:00
Oskar Thoren 90a0058a43 Under offline inbox flag: sketch allowp2p, request-messages
- Add OFFLINE_INBOX_ENABLED flag
- Under offline inbox flag: add allowp2p for 1on1 filter
- Add skeleton web3.inbox ns with request-messages
2017-12-04 19:12:50 +01:00
janherich 25d3940d49 More efficient subscriptions 2017-12-04 17:52:39 +01:00
Goran Jovic c38f1ce8a4 feature #1996 - navigation from status author name or profile image to profile screen 2017-12-04 17:40:12 +01:00
Alexander Pantyuhov 3795cd9888 Chat WebView bridge refactoring (#2535) 2017-12-04 13:22:41 +01:00
Andrey Shovkoplyas 16930cf4e1 re-frisk new features 2017-12-04 13:21:46 +03:00
Dmitry Novotochinov f07b5363af [fixes #2445] make phone suggestions not clickable 2017-12-01 13:49:29 +01:00
janherich 4ddbacd612 Fix migrations 2017-12-01 12:14:58 +01:00
Eric Dvorsak 92b22abbef [bug] fix regressions on creating new account 2017-11-30 14:01:47 +01:00
Julien Eluard cfa14ff6b3 [ISSUE #2449] Make sure DApps transaction amount is never nil 2017-11-30 12:29:27 +01:00
Julien Eluard 7f2085fb14 Fixed regression when sending transaction
Remove obsolete realm
2017-11-30 11:04:33 +01:00
Andy Tudhope c6f44cc852 Merge pull request #2525 from dbalatero/experiment/dev-setup-script
Add developer setup script for smoother setup on OSX
2017-11-30 11:47:28 +02:00
David Balatero db1efe51f8 Added developer setup script for smoother setup
Moved run-osx.sh to scripts/ subdirectory
2017-11-30 01:24:06 -08:00
Julien Eluard d78e0ca4e9 Fixed regression when sending transaction 2017-11-29 18:35:59 +01:00
pablodip 2dbefb706e supported languages and trans ids
rename test

fix test `supported-locales-are-actually-supported` and improve failing message

fix some coding standards

rename old `str` namespace alias to `string`

fixing cs

rename translation id to label and explain checkpoints

remove non-existent labels in translations

add some comments

add status 0.9.12 as first checkpoint in translations, plus current supported locales

remove non-existent label from base checkpoint and fix locale->checkpoint and supported locales

format checkpoint-0-9-12-labels in several lines

add fn labels-that-are-not-in-current-checkpoint
2017-11-29 17:13:38 +01:00
Julien Eluard b2daaa2159 Hook require to prevent tests failures when loading images 2017-11-29 16:50:28 +01:00
Eric Dvorsak 7cc3918b8d [bug] check if account is new by checking accounts
previous behavior was using context (which screen we were on) to
determine if account was new or not.

in order to be able to have more straightforward automation this
commit now checks the list of accounts to get that information
which is more accurate and allows to login without navigating screens.
2017-11-29 14:53:22 +01:00
janherich 00132c5921 Don't unnecessary load jail upon figwheel reload 2017-11-29 13:51:30 +01:00
Julien Eluard 3df4a7f1e4 Added ERC20 listing support 2017-11-29 09:56:01 +01:00
Oskar Thoren f7e63e9bea Bundle status-go locally (iOS) 2017-11-29 01:05:15 +01:00
Oskar Thoren 5739bcbb7b Put status-go in geth.log again
Fix absolute dir and statement order. Regression appears to have been introduced
during network configuration changes 2-3 months ago and noone checked this file
since then.
2017-11-28 20:48:27 +01:00
janherich 56eb3f7a43 Fix broken realm sorting
This fixes bugs #2520 and #2484
The cause of the bugs is the fact that calling `.sorted` method
on the realm resultset produces another resultset which is sorted
when iterated through `Iterator<T>` interface, but does absolutely
nothing to way how resultset object is serialised (printed out
as JSON).
So when we sorted, printed to json, parsed back through transit
and expected the order to be retained, it was not, and it was
failing quite randomly.
To be precise, it failed in a case where we sorted the resultset
according to some property and picked the top element from the result.
As the top element picking was done AFTER the sorted realm resultset
was converted into cljs datastructure, it was sometimes failing.

This fix just ensures that we select the single element from js
resultset (where sorting info is still retained) and only convert
that single element to cljs (it's also much more efficient).
2017-11-28 16:25:26 +01:00
Julien Eluard 0730420017 [BUG #2228] Implemented wallet filtering screen 2017-11-28 09:14:08 +01:00
Oskar Thoren 0403a7cdc1 Echo apkUrl and ipaUrl
Useful while Slack notifications are down for QA
2017-11-27 15:58:25 +01:00
Goran Jovic 3545969d87 bug #2210 - alignment and margins for smaller screens 2017-11-27 15:02:48 +01:00
Oskar Thoren 1f03faa7c6 Bump status-go to develop-g6927638 and fix Android import path 2017-11-27 12:32:50 +01:00
Andy Tudhope e9a07149c1 Merge pull request #2416 from poiga/translation/lithuanian-fix3-2351
Updated Lithuanian translation. Fixes #2351
2017-11-27 10:24:21 +02:00
Goran Jovic 43537fd644 feature #2465 - my token screen layout 2017-11-25 09:26:05 +01:00
Audrius Molis 3933ded384 [FIX #709] "Your phone appears to be ROOTED" message shown less often. 2017-11-23 12:21:17 +01:00
m'hammed 319a770872 [bug] fix #2329 Generate username as Unknown for nil and 0 public key 2017-11-23 11:59:10 +03:00
kaichao 6882dc7bcd Translate App Strings to Chinese (Simplified zh_hans) 2017-11-23 11:58:52 +03:00
Andrey Shovkoplyas 4e31d76049 re-frisk new features 2017-11-23 09:55:56 +03:00
Audrius Molis fdf1cf72a5 [FIX #2351] Lt translation fixed.
Lt translation fixed.
2017-11-22 20:13:15 +02:00
Oskar Thoren 4022bea1d0 Update PR request template with review and testing notes
Also my first verified commit!
2017-11-22 19:10:40 +01:00
Eric Dvorsak 9bf5facb63 [bug] fix error when receiving message from unknown contact 2017-11-22 17:45:50 +01:00
janherich 395f67fffd Fix borked migration 2017-11-22 15:49:34 +01:00
Oskar Thorén 8fe9306caf Integration tests: use fixtures and abort indeterminate 2017-11-21 17:19:00 +01:00
Dmitry Novotochinov 122bcec8b9 [fixes #2447] correct ru translation of validation-amount-invalid-number string 2017-11-21 13:35:37 +01:00
Eric Dvorsak 945ccecf64 [feature] log faucet error 2017-11-21 11:39:47 +01:00
janherich e50d56a4d0 Refactored jail loading + commands/responses 2017-11-21 10:51:15 +01:00
Oskar Thorén 91a0d40ceb Integration tests: Basic Whisper version test and disable old 2017-11-20 23:55:26 +01:00
Jan Herich ff0f5b5d56 Merge pull request #2470 from status-im/bug-broken-group-chat-#2418
Fix broken group chats
2017-11-20 16:09:21 +01:00
janherich 16fcef909f Fix broken group chats 2017-11-20 14:20:29 +01:00
Goran Jovic 8700ec77f5 issue #1951 - added a hardcoded snt entry under asset list - hidden behind ERC20_ENABLED flag 2017-11-20 12:05:46 +01:00
Eric Dvorsak 641cebee09 [bug] pin realm version until #2460 is resolved 2017-11-20 10:20:35 +01:00
Anton Danchenko c9b785cead added native android keys to send_as_keyevent method 2017-11-17 13:48:07 +02:00
Roman Volosovskyi a7abed4dbf merge Android and iOS notifications from Jenkins, remove tests line 2017-11-16 19:00:05 +01:00
Julien Eluard 7e6507be7c [ISSUE #2391] Added support for ERC681 2017-11-16 13:07:33 +01:00
yevh-berdnyk 63848efc20 [ISSUE #166] Added test for sending ETH after request command 2017-11-16 10:25:48 +02:00
Anton Danchenko af97424146 tests updated in order to reflect changes in back button behavior 2017-11-15 14:59:57 +01:00
Goran Jovic 6a1dfb7ba4 added Serbian translation - both Cyrillic and Latin script form 2017-11-15 14:59:31 +01:00
Roman Volosovskyi 3d89143d72 set log level from .env configuration 2017-11-15 11:54:41 +01:00
m'hammed 777c9d04bc add missing app strings to french and clean non used ones 2017-11-14 22:09:57 +03:00
Chris Hutchinson ed59732620 Update README.md
fixed broken links etc
2017-11-13 22:53:20 +01:00
Eric Dvorsak 2ff2bfacf0 [bug] fix #1784 db fields passed from one account to the other 2017-11-13 15:25:00 +01:00
Alexander McCormmach 80f9d018f2 chat: hide emoji keyboard when tapping inside chat 2017-11-13 15:22:33 +01:00
Audrius Molis 11cf29ec79 Fixed padding in transaction list. #1880 2017-11-13 15:22:05 +01:00
Anton Danchenko 190e841f32 added an ability to run Jenkins job manually against any apk 2017-11-13 13:48:16 +02:00
Roman Volosovskyi 040a0782e9 update Jenkinsfile for pull requests 2017-11-13 12:25:33 +01:00
Danny Wilson 2a9b5d4076 Update react-native-webview-bridge to master
Fixes #1202 after merging status-im/react-native-webview-bridge#7
2017-11-13 11:38:08 +01:00
Frank Yang fa3a435a90 Fixes #2348: Update korean translation (#2359)
* translations: Update korean translation
2017-11-13 08:54:40 +01:00
Eric Dvorsak def864a64b remove :browsing-browse from the translations
it shouldn't be translated because it is the command name
2017-11-13 08:32:42 +01:00
Eric Dvorsak 2e1a8dc6af [bug] fix #2403 can't recover account 2017-11-11 08:14:44 +01:00
Roman Volosovskyi 900d4074bf update script for nightly build 2017-11-11 08:08:02 +01:00
Julien Eluard 0d4cbd98e5 [ISSUE #2177] Moved component into ui 2017-11-10 10:49:21 +01:00
Anton Danchenko a95d118959 added verification of user data absence in logcat 2017-11-09 17:36:15 +02:00
Chris Hutchinson c9c5c57980 Merge pull request #2355 from alan-andrade/feature/es-translation
Fixes #2332 Adds Spanish translations
2017-11-09 00:43:30 -06:00
Alan Andrade a6ac180d90 Updates Spanish translations. 2017-11-08 09:58:51 -08:00
Goran Jovic edd4df85f9 bug #2381 - updated statuses are broadcast 2017-11-08 14:55:16 +01:00
fkbenjamin 54209b5190 Translate App Strings to German #2330 (#2364)
* Translate App Strings to German #2330
2017-11-08 11:04:09 +01:00
Andrey Shovkoplyas 2f5f42edfd fixed re-frisk css 2017-11-08 09:01:04 +01:00
Alexander McCormmach bf1940bb11 ui: hide chats list item overflow 2017-11-07 21:56:40 +01:00
Chris Hutchinson f6d4a79e9b Merge pull request #2367 from puilp0502/patch-1
Update CONTRIBUTING.md
2017-11-07 12:06:13 -06:00
Roman Volosovskyi d051d0e628 stay at :choose-recipient screen when address is invalid 2017-11-07 17:50:21 +01:00
janherich d39357996b Proceed with move from side-effect to functional 2017-11-07 13:35:12 +01:00
Audrius Molis e9cf3db400 fixed README.md links and added Riot next to Slack. 2017-11-07 11:54:38 +01:00
janherich 40e006ef00 Fix some typos in develop 2017-11-07 11:53:25 +01:00
PA a995f73638 Fixes #2333 Update ru.cljs (#2361)
* Update ru.cljs
2017-11-06 15:13:58 +01:00
Roman Volosovskyi dfe68a2ded fix accounts-events test 2017-11-06 13:27:24 +01:00
janherich d2a2bd3fa7 Fix missing translation + bot-id in the jail call 2017-11-06 12:40:25 +01:00
Frank Yang 5b922b1746 Update CONTRIBUTING.md 2017-11-06 16:19:44 +09:00
janherich 55164b8eac Refactor adding subscriptions + basic tests 2017-11-06 08:14:10 +01:00
Eric Dvorsak df83cbb987 update realm version 2017-11-04 11:00:14 +01:00
Frank Yang 6f5873fc64 Update CONTRIBUTING.md 2017-11-04 16:24:25 +09:00
Roman Volosovskyi 12c72ccf9d update pull request's template according to Anna's comment 2017-11-03 16:20:46 +01:00
AlessandroSpallina 29e40fa86e Fix #2350: Added Italian translation for OpenBounty (#2357)
* Added Italian translation for OpenBounty, addresses #2350

* Fix #2350: riview from vigliag done
2017-11-03 11:13:13 +01:00
Julien Eluard e334512a01 Migrated toolbar_new/toolbar to toolbar_new/toolbar2 2017-11-02 22:17:51 +01:00
alwx 20e76c21ee Phone number is not updated in profile and shows 'Not Specified' value if use /phone command (#2256) 2017-11-02 11:43:49 +01:00
alwx 0656a3a093 debug -> status-im.commands.handlers.debug (#2285); restructuring of the namespace 2017-11-02 09:37:01 +01:00
Audrius Molis 09b290346f fixed beginner issues link. 2017-10-31 08:26:31 +01:00
Oskar Thorén 2cb5ed07f8 Break v17 migration into two, v17 and v18, due to 0.9.12b release
We want minimial scope for 0.9.12b release so only relevant migrations made it
into that. To ensure a happy upgrade path in future versions, other v17
migrations (all related to pending messages) have been moved into v18.

This means develop will break for current developers, but 0.9.12 -> 0.9.12b
-> (next version / develop after this commit) will work as expected.
2017-10-30 17:13:20 +01:00
Anton Danchenko bd8d967743 added 'test_new_profile_name_and_status_on_discover' and 'test_change_profile_name_and_status'
fixed verification of user status on drawer menu
2017-10-30 13:36:49 +02:00
Andy Tudhope b3a2ddf2b6 Update en.cljs
Removed unused commands and cleaned up to prepare for other translations.
2017-10-30 09:26:25 +01:00
Goran Jovic 058448eafd added devcon to the list of public chats 2017-10-29 12:44:01 -04:00
Goran Jovic a6f9eb6cea delete any open chats with removed default contacts; remove etherplay and commiteth 2017-10-29 12:25:55 -04:00
Roman Volosovskyi 18ca23accc remove logging of command's parameters 2017-10-29 17:20:33 +01:00
Roman Volosovskyi 5dd2f899ad remove password from db
fix incorrect :bot field in commands and requests
2017-10-27 18:09:00 +02:00
Oskar Thorén 666ec73959 Overwrite default contacts with default.json
Also cleanup migration for changed whisper-identities
2017-10-27 15:40:24 +02:00
Roman Volosovskyi 88d368e970 fix pending messages with symmetric keys 2017-10-27 14:39:42 +02:00
Eric Dvorsak bdf962a140 Fix semantics of request-contacts-by-address 2017-10-27 09:42:43 +02:00
janherich bf71df17b5 Finish jail-call deduplication 2017-10-27 09:41:17 +02:00
Goran Jovic ef27444ba8 bug #2222 - dapp name in two lines and centered 2017-10-27 09:40:50 +02:00
yevh-berdnyk 7256ddafa9 [ISSUE #2225] Added rate test and transactions history verification 2017-10-26 13:50:42 +03:00
Roman Volosovskyi 8b2fa695af fix wallet contact migration 2017-10-25 11:21:43 +02:00
Roman Volosovskyi 21a80d71ad migrations for command-requests and commands wit nil :bot 2017-10-25 08:54:30 +02:00
Oskar Thorén 1e9ed89a7f Discover: Public chats preview style fixup 2017-10-24 15:41:00 +02:00
Oskar Thorén f37a5a39a7 Discover: Public chats hooked up, hardcoded topics 2017-10-24 14:42:51 +02:00
Oskar Thorén 2e57d476a8 Discover tag search screen: Fix margins and some nice to haves 2017-10-24 13:46:25 +02:00
janherich 429ec89c62 Remove phone asking message 2017-10-24 13:04:10 +02:00
Goran Jovic b00ebe5e02 bug #2281 - wrong hashtags in discover main screen 2017-10-24 12:44:06 +02:00
Andrey Shovkoplyas 33bda2ca26 removed usused server ns 2017-10-24 11:08:22 +02:00
Andrey Shovkoplyas 0822e5a9bd fixed send from profile 2017-10-23 15:07:51 +02:00
Andrey Shovkoplyas 38db60eabe request from wallet 2017-10-23 14:53:56 +02:00
Goran Jovic 7bbd6cc6c6 bug #2270 - wrong username in received discoveries 2017-10-23 14:53:30 +02:00
janherich 0ccfefa6c3 Fix bot subscriptions 2017-10-23 14:06:35 +02:00
Roman Volosovskyi abe7f0a42a change ropsten faucet url 2017-10-23 13:54:55 +02:00
Anton Danchenko c8267106bc added 'recover user from console view' flow, modified info captions. 2017-10-23 12:32:45 +02:00
Oskar Thorén ec2d3a77a7 [FIX: #2262]: DApp description for default contacts (partial fix)
Adds description to default contacts load. Partial fix in the sense that
overwriting contacts don't work yet. Add description key to v16 migration.
2017-10-23 12:07:24 +02:00
Andrey Shovkoplyas 29030db2b6 browse from message bug 2017-10-23 11:55:06 +02:00
Andy Tudhope a8baf43681 Update en.cljs
Change public key info message
2017-10-23 11:54:16 +02:00
Julien Eluard e80db63ede [BUG #2251] Added proper margin around warning text 2017-10-23 09:52:16 +02:00
Vic Shybaiev 95d2a6b1ee [bug #2255] Fixed the accidentally deleted line in the translations file en.cljs 2017-10-21 12:55:57 +02:00
Vic Shybaiev 4a7663c741 [bug #2260] Fixing the Etherscan domain name 2017-10-21 12:38:40 +02:00
Vic Shybaiev 2d010e81c7 [bug #2259] Fixing the misleading message about purpose of the public key 2017-10-21 12:23:49 +02:00
Roman Volosovskyi 0ebd4fbd33 fix showing twice word ETH 2017-10-21 07:56:37 +02:00
Roman Volosovskyi 88326d4b56 remove NETWORK_SWITCHING flag 2017-10-20 18:46:07 +02:00
Oskar Thorén 0f97f16a38 [BUG #2242]: Quickfix to make phone command reanswerable again 2017-10-20 18:40:12 +02:00
Eric Dvorsak 070c8bd91a [bug] fix scientific notation on main wallet screen 2017-10-20 16:44:08 +02:00
Andy Tudhope 4426972bd9 Add Dapp descriptions to default_contacts.json
Added some brief descriptions for each Dapp in the "dapp" group and change the order slightly for better sense.
2017-10-20 15:37:31 +02:00
Goran Jovic bd7f256e83 - #2084 - discover dapp profile pixel perfect nice haves 2017-10-20 15:25:10 +02:00
Oskar Thorén eaa63c265e [BUG #2241] Fullscreen webview don't overlap topbar 2017-10-20 13:18:23 +02:00
Julien Eluard 0273043265 [ISSUE # 2233] Fixed crash when showing QR code 2017-10-20 13:16:43 +02:00
Roman Volosovskyi 4c4cf7a5e4 fix /request preview
fix duplication of /send command in suggestions
2017-10-20 13:13:51 +02:00
Eric Dvorsak 2a166c3a37 [bug] fix #2243 align network badge and connect button 2017-10-20 13:13:31 +02:00
alwx 9e1d289a9b 2167: Web3 suggestions are missing in Console chat 2017-10-20 11:46:26 +02:00
alwx b6f7cc8629 #2185: After upgrade faucet, send and location messages are shown as plain text, request is shown without a text 2017-10-20 11:46:26 +02:00
Goran Jovic 74e81f7faf bug #2205 - discover all links are disabled when empty 2017-10-20 11:40:18 +02:00
Roman Volosovskyi 893900f3ea upgrade status-go to develop-gad9a877 2017-10-20 10:24:58 +02:00
Roman Volosovskyi 7dd0ba21a2 hide mainnet networks in prod build 2017-10-20 09:41:31 +02:00
Andy Tudhope 576ece4032 Update en.cljs
Latest changes from Vic
2017-10-20 09:25:29 +02:00
Andy Tudhope 06772c4c42 Update en.cljs
Grammar fixes, consistency across contexts, and some good ol' content changes.

Some minor content changes for better, clearer explanations.
Lots of spelling and grammar changes.
Most of the grammar changes were to capitalised letters (which I have made at least consistent in different contexts) and whether or not the prompt ends with a full stop (again, context dependent)

status: ready
2017-10-20 09:25:29 +02:00
Andrey Shovkoplyas 01b1f2da4b No option to recover immediately after a fresh install. #741 2017-10-20 08:49:35 +02:00
Julien Eluard dba52f9de7 Use unique etherscan key 2017-10-20 08:40:38 +02:00
Anton Danchenko cdc75d6238 added transaction from wallet tests: 'sign now' and 'sign_later', also added 'insufficient funds' test 2017-10-19 15:56:55 +02:00
Andrey Shovkoplyas 780efc3ac1 added transaction sent modal 2017-10-19 12:05:01 +02:00
Eric Dvorsak aeee3a6583 [bug] #2144 warning not shown when app is syncing 2017-10-18 23:55:30 +02:00
janherich ad8157170b Fixed nasty regression caused by command-scopes PR 2017-10-18 23:54:09 +02:00
Andrey Shovkoplyas fd09a16ca5 close send screen and show alert if error 2017-10-18 18:12:38 +02:00
janherich e8602eb3bd Display time in transaction history list
Also make `[list/item-content]` element more modular and reusable
as it was necessary to accomplish the task.
2017-10-18 17:31:48 +02:00
alwx 1eba86b7bf Command scopes spec fix, removed contacts leftovers 2017-10-18 16:06:51 +02:00
Anton Danchenko 6c7ca9648f tests refactored for faster runs, updated scenarios for transactions in one-to-one chats 2017-10-18 15:43:24 +03:00
Eric Dvorsak 3b824d1821 [feature] user feedbacks related to unsigned transaction
- in unsigned transaction tab, show the transaction sent screen when user
signs a transaction
- in send command flow, show dialog when users want to sign later
2017-10-18 10:10:18 +02:00
Andrey Shovkoplyas e1d655789d handle signing error 2017-10-18 10:07:29 +02:00
janherich 4062eed675 Properly clearing [:wallet :send-transaction]
This PR fixes the fact, that `[:wallet :send-transaction]` path
in db was not properly cleared in some cases, which demonstrated
as couple of the subtle issues (like that you were taken straight
to the signing state on tx-modal in when sending `/send` command
and some tx was sent previously from wallet, and some quite serious,
like #2197, which was caused by password info not properly cleared
between multiple invocations of the `/send` command.
2017-10-18 10:04:51 +02:00
Eric Dvorsak 22f39e88c0 show warning when app is syncing 2017-10-18 10:02:18 +02:00
Eric Dvorsak dea6bdb2ca add positional argument for hiding tabs to swipable-tabs component
- makes it possible to hide the tabs in a view under certain conditions (e.g
when the keyboard is displayed)
- hide tabs in main screens when the keyboard is displayed
2017-10-18 09:57:20 +02:00
Roman Volosovskyi f22cf27a66 fix undeclared var 2017-10-18 09:56:13 +02:00
alwx 712b1d3a61 wallet bot has been removed completely 2017-10-18 09:56:13 +02:00
Andrey Shovkoplyas 23c663f3ef returned network-badge 2017-10-17 18:51:44 +02:00
Goran Jovic e6f8eec7c5 #2084 - proper sizes of open icon and button 2017-10-17 18:49:06 +02:00
Roman Volosovskyi aa557f3f19 upgrade status-go to develop-gb937245 2017-10-17 18:48:42 +02:00
Julien Eluard eea4eeb549 [BUG #2189] Do not clear user set amount when scanning QR code 2017-10-17 17:31:31 +02:00
Goran Jovic 1c43702c32 #2078 - alignment in discover main - empty states 2017-10-17 15:46:15 +02:00
Andrey Shovkoplyas 3ed2fb6a07 fixed wallet ui issues 2017-10-17 14:53:07 +02:00
Oskar Thorén 86b8a38f08 Recent statuses pixel perfect must haves (+ popular bonus)
- fix bug where toolbar wasn't ready with zero statuses
- fix toolbar center and margin to top
- fix grey background missing
- fix top status text margin from the top of the card
- fix separation lines between statuses edge to edge
- margin with chat icon to bottom 12

Also apply same to popular hashtags for consistency
2017-10-17 14:25:53 +02:00
Eric Dvorsak 0564551782 [bug] fix #2132 clear unsigned transactions when switching account
- works with PR #2137
2017-10-17 14:21:47 +02:00
Eric Dvorsak 0707af2ad6 [bug] fix #2128 No feedback on insufficient funds from unsigned
- move current unsigned-transaction to wallet
- move some logic from view to subscriptions and events
2017-10-17 14:21:47 +02:00
Roman Volosovskyi f4082951b7 add ETHEREUM_DEV_CLUSTER flag 2017-10-17 13:20:41 +02:00
Goran Jovic 71a3cda5d5 #2083 - dapp profile styling must haves 2017-10-17 13:12:12 +02:00
Oskar Thorén f1f43258fb Discover pixel perfect: Main screen and empty main screen
Addresses all non-test must haves except "All content hidden behind right edge on smaller screen (check 5s)"

- Main screen (empty): fix topbar margin
- Main screen: Font size name (and dapp list item)
- Main screen: Get rid of popular hashtag border
- Main screen: All for DApps should be blue
- Main screen: tap on number of popular hashtag -> error
2017-10-17 13:08:43 +02:00
Julien Eluard 8393f19596 [BUG #2133] Correctly parse/generate amount from QR code 2017-10-17 10:18:26 +02:00
Julien Eluard 43dab5b174 Fixed warnings when compiling tests 2017-10-17 10:12:10 +02:00
Roman Volosovskyi ec32917155 fix wrong transaformation of value form transaction.queued signal 2017-10-17 10:03:16 +02:00
Roman Volosovskyi af052d2c65 fix faucet url formatting 2017-10-17 08:12:02 +02:00
Audrius Molis 47c4b9014f Lithuanian translation file added. 2017-10-16 21:50:49 +02:00
Julien Eluard 16c10723b2 Updated PR template to not auto-close issues 2017-10-16 18:47:05 +02:00
alwx 7c000fc725 #2166: Zero should be treated as valid amount for send command 2017-10-16 15:53:43 +02:00
Julien Eluard e5c7d81b65 [BUG #2156] Fixed incorrect address parsing 2017-10-16 15:05:59 +02:00
Goran Jovic 8a0607654e fix #2160 - status author name no longer overlaps with chat button on smaller screens 2017-10-16 15:05:27 +02:00
Goran Jovic 8236302041 fix #2119 - discover chat button formatting, hashtag color in status 2017-10-16 13:29:02 +02:00
Andrey Shovkoplyas 9aa0b1b4b2 fixed qr data 2017-10-16 12:32:33 +02:00
Oskar Thorén de161c4412 Upgrade status-go to bugfix-no-messaging-rinkeby-gd04e667-12 (geth 1.7 rebase) (#2067)
* Upgrade status-go to bugfix-no-messaging-rinkeby-gd04e667-12 (geth 1.7 rebase)

* [bug] fix #2089 and #2098 with geth update

with geth 1.7 addresses are passed with 0x prefix and mix of lower/upper cases
update the normalize hex function so that addresses are always without prefix
and entirely lower-cased.
2017-10-16 11:49:25 +02:00
Roman Volosovskyi 4a669ba331 comments 2017-10-16 11:47:22 +02:00
Roman Volosovskyi 57c80ea533 hide Add network and Edit network config buttons 2017-10-16 11:47:22 +02:00
Andrey Shovkoplyas cf2be3b176 added network info form 2017-10-16 10:37:16 +02:00
alwx 4078fe9980 wallet-bot has been added to js-resources 2017-10-16 10:14:29 +02:00
Alexander Pantyuhov fef984d0b6 Fixes: #2061, #2072, #2075 (#2129) 2017-10-16 09:51:52 +02:00
alwx cb72190a18 API commands scopes, changes for API semantics (#1546) 2017-10-16 09:51:52 +02:00
Le6ow5k1 27bc745fc5 Fix typos in README.md 2017-10-16 09:26:44 +02:00
Roman Volosovskyi ae0273917c add rinkeby faucet url 2017-10-16 09:25:46 +02:00
Julien Eluard ba98b6a3b5 [BUG #2087] [BUG #2088] Fixed style issues when amount is too long 2017-10-16 09:21:08 +02:00
Julien Eluard 4c7d045c47 Fixed broken action button style on iOS 2017-10-16 09:21:08 +02:00
Oskar Thorén fa9c85b04a Update feature flags & enable push notifications in production build
- Comment on flag lifecycle
- Explicitly declare all flags
2017-10-16 09:20:46 +02:00
Andrey Shovkoplyas 56fe8f3763 wallet modal android fix 2017-10-16 09:19:44 +02:00
Goran Jovic 12080ba4d8 fix #2081 - fixed toolbar title for smaller ios screens 2017-10-16 09:16:49 +02:00
Julien Eluard 3fba4d7b16 Extend tap area for sign buttons 2017-10-16 09:12:20 +02:00
Roman Volosovskyi 8137c802fe print status-go logs in adb logcat 2017-10-16 09:10:12 +02:00
Andrey Shovkoplyas c2ef0e4547 pending wallet in default contacts 2017-10-13 17:49:25 +02:00
Andrey Shovkoplyas 6b9095d235 removed messages to wallet 2017-10-13 17:49:25 +02:00
Andrey Shovkoplyas 8269d6d9a9 hide old wallet Dapp #2021 2017-10-13 17:49:25 +02:00
Oskar Thorén e17d3bc05e Discover: main screen pixel perfect progression
- Fix icon size and remove badge numbers
- Preview: tighten up margins
- Hide horizontal scrollbar
- Padding for public chats
2017-10-13 15:19:47 +02:00
Julien Eluard 990232782f Added Status identifier when calling cryptocompare API 2017-10-13 13:28:28 +02:00
Goran Jovic a8bb85fc72 fix #2081 - fixed style issues with popular hashtags screen header - android 2017-10-13 13:05:38 +02:00
Julien Eluard 3b6b5e2da1 [BUG #2025] Ensure QR code data is properly parsed 2017-10-13 13:01:16 +02:00
Julien Eluard 0a94d10559 Fixed amount validation regression 2017-10-13 11:50:27 +02:00
Oskar Thorén 1df074c100 Extend list components to set separator? with same default behavior
- base-list props private and takes additional separator arg
- flat-list and section-list extended with separator? key that defaults to true
2017-10-13 10:57:35 +02:00
janherich 5267d55ec8 Fix bug #2031 2017-10-12 17:42:58 +02:00
Eric Dvorsak 748f1c6772 fix unsigned transaction expiring while user checks details
previously one would get a red screen in develop and probably a white screen
in the app
now it shows a label indicating that the transaction has expired
2017-10-12 16:21:24 +02:00
Julien Eluard 0e63b09dcd Ask for confirmation before unsigned transaction deletion 2017-10-12 16:12:23 +02:00
Julien Eluard a1c300c73d [BUG #2023] Improved QR code readability 2017-10-12 14:46:30 +02:00
Julien Eluard 9640b3d6cc [BUG #2102] Fixed discover toolbar regression 2017-10-12 12:47:03 +02:00
Oskar Thorén 1b7d2db71d Discover: work towards pixel perfection
- Refactor: more consistent styles naming
- Align text next to icon
- Grey background whole discover
- Set background popular apps
- Fix margin-bottom for all-dapps
2017-10-12 09:53:18 +02:00
Anton Danchenko 030ceecc21 added 'one-to-one chat between different networks' and 'switch network' tests, also added marks for local runs 2017-10-12 09:55:34 +03:00
Eric Dvorsak 33f5c74243 [bug] fix package-lock for new version of swiper 2017-10-11 17:01:32 +02:00
Roman Volosovskyi 50919c8eb8 hide faucet when in mainnet, show different in renkeby 2017-10-11 16:46:24 +02:00
Andrey Shovkoplyas 7133c4a655 flex shrink for wallet value 2017-10-11 16:28:14 +02:00
Andrey Shovkoplyas 278748f0d6 removed line height for android 2017-10-11 16:28:14 +02:00
Oskar Thorén 5f35ff7eda Discover: refactor platform styles
All styles belonging to screen/component should be in styles.cljs. This commit
moves platform specific styles to appropriate place.

Also fixes misc weird ns imports.

Also moves colors to common ns (FUBAR).
2017-10-11 15:17:14 +02:00
Goran Jovic dc192005b1 feature #1999 - discover screen, empty states for recent statuses and popular hashtags 2017-10-11 12:36:13 +02:00
Roman Volosovskyi 11f410f3af fix for Use of undeclared Var re-frame.core/subscribe 2017-10-11 12:17:37 +02:00
Eric Dvorsak c7893ebd17 [feature] update react-native-swiper
rework current use of swiper to make it reusable
2017-10-11 12:17:37 +02:00
Julien Eluard fb10b580d4 Fixed incorrect wallet buttons styles
Make wallet list show correct amount
Wallet name should be cut if too long
2017-10-11 12:07:27 +02:00
angusiguess 78d76292e1 Add loading spinner logic to transaction-modal
Block screen while signing

Move threaded assocs into an update

Add assoc
2017-10-11 11:08:05 +02:00
Noman 91e6de1286 Updating links to point to new wiki
Some of the new links don't work yet but will start to when the pages are created on the new wiki
2017-10-11 09:28:05 +02:00
Eric Dvorsak 10cfef3bdb [Feature] #2040 Show Recipient name if available in Unsigned/History 2017-10-11 09:23:54 +02:00
Eric Dvorsak 5fcf482ef0 hash is not applicable for unsigned transactions details 2017-10-10 23:27:46 +02:00
angusiguess 833072087f Prevent pointer events from propagating
Fix map alignment
2017-10-10 17:55:17 +02:00
Anton Danchenko 98beef138f added 'send transaction initiated from the DApp' and 'send transaction with invalid password' tests, basetestcase reworked for smooth local runs
added 'send transaction initiated from the DApp' and 'send transaction with invalid password' tests, basetestcase reworked for smooth local runs
2017-10-10 18:41:18 +03:00
Roman Volosovskyi d7fcb333da show warning in profile for all testnet networks 2017-10-10 17:20:27 +02:00
Oskar Thorén e732f5559c Discover: replace carousel with horizontal flat list 2017-10-10 12:48:37 +02:00
angusiguess 1d2a7e2f6e Add ios-specific permissions checking
- Move permission check from main screen (no longer makes sense given
  choose recipient is reached from send)
- Add ios-specific display and permission checks
2017-10-10 12:28:22 +02:00
Eric Dvorsak e8c8dbc098 [bug] fixes #2064 red screen caused by carousel 2017-10-10 10:50:27 +02:00
angusiguess 49429c1c28 Add latch to ensure application messenger is set.
There are two ways that messages can reach the StatusService,
application events (which are handled via `handleEvent`) and
signal events (which are handled via `signalEvent`).

If a signal event fires before an application event, it still
uses handleEvent logic, and handleEvent will try to reply to
the message. If the `applicationMessenger` isn't set, the reply
fails and the react native app is never told that the status
node is running, which is why the app gets no messages.

I've added a CountDownLatch, forcing the event handler to wait
for the applicationMessenger to be set before replying to any
messages.

Tested by injecting a long wait into `handleMessage` and observing
the same failure we see in SauceLabs runs.
2017-10-09 18:39:14 +02:00
Oskar Thorén 61a6167998 Discover: Fix toolbar title styling
Center, margin, font
2017-10-09 18:38:13 +02:00
Goran Jovic ddc2bb3501 feature #1973 and #2042 - discover - dapp details screen connected to dapp carousel and all dapps screen 2017-10-09 15:53:30 +02:00
angusiguess 8b1bf510ef Fix precondition for flat-list
The flat-list component handles the nil case but the precondition does
not.

This is currently causing transaction list failures when the list of
unsigned transactions is empty.
2017-10-09 15:52:47 +02:00
Oskar Thorén baccb01334 Discover: App dapps grid styling and tweaks
- Use flat-list and 3 column layout for grid
- Get rid of platform ns dependency
- Minor refactor: "wrap" -> :wrap, backgroundColor -> background-color
2017-10-09 12:23:19 +02:00
Oskar Thorén b84e17b974 Assert flat-list sequential data
Deals with vector-of-maps vs map-of-maps issues, e.g. map-of-maps hangs with
bad errors from React Native side
2017-10-09 10:36:15 +02:00
angusiguess 3225d1a258 Add progress-spinner to sign-transaction
Disable screen while transaction is signing

Add handling for incorrect password on signing

Fix bug where spinner doesn't appear on the second time

Address feedback

More rebase fixes

Fix spec failure
2017-10-07 19:21:23 +02:00
angusiguess 639606a716 Move message send until after configuration should be loaded 2017-10-06 17:03:18 +02:00
Oskar Thorén 4c8935a16f Discover: Show all apps
- Addresses https://github.com/status-im/status-react/issues/1972
- WIP carousel
- Not pixel perfect
2017-10-06 15:36:26 +02:00
Eric Dvorsak 6e2e14dfea rework swiper 2017-10-06 15:35:36 +02:00
Eric Dvorsak 03a37b34ec [bug] fix 2003 unsigned transaction count upon expiration
this fixed involved changing the swiper so that a function can be passed as
title instead of a string.
this allows developpers to pass custom elements as titles and still use style
and variables that are computed when tab is built
2017-10-06 15:35:36 +02:00
Julien Eluard e99cae58cc [BUG #1991] Make sure provided eth address is valid 2017-10-06 14:31:26 +02:00
Andrey Shovkoplyas 54d68081b4 send command and remove old wallet 2017-10-06 12:13:14 +02:00
Roman Volosovskyi 91bb69c6f7 fix printing type symbol as event name 2017-10-06 09:29:55 +02:00
Eric Dvorsak e66ae8b388 [bug] fix order of transactions in sections of transactions history
order should be latest transaction first
2017-10-05 20:14:44 +02:00
Eric Dvorsak d022c286bb [Wallet] remove syncing animation (#2011)
* [design] remove syncing animation outside of chat views

replace no-sync-bar? parameter by show-sync-bar? parameter as not showing
the sync bar is the norm and showing it the exception (only appears in chats)

* add suscription and spec for sync-state
2017-10-05 19:16:41 +02:00
Goran Jovic ba5bd2b511 feature #1969 - public chats teaser in discover 2017-10-05 18:32:44 +02:00
angusiguess 34c3295f84 Fix spelling issues in labels 2017-10-05 14:56:53 +02:00
Roman Volosovskyi 2a9ac44564 close app on switching from network with local LES (#2007) 2017-10-05 13:23:25 +02:00
Julien Eluard 23eeadf95a [BUG #1990] Improved amount validation in wallet/send screen 2017-10-05 10:12:56 +02:00
c. van wiemeersch 10752aeb5e fix broken links in README for moved Wiki pages 2017-10-05 09:02:52 +02:00
Goran Jovic dd5c433687 fix #1977 - discover recent statuses and statuses per popular hashtags 2017-10-05 08:59:57 +02:00
Roman Volosovskyi a7950af335 remove code related to restarting RPC server on entering background (#2008)
* remove restart-rpc-server, stop-rpc-server, start-rpc-server functions and related code

* clean native code
2017-10-04 21:56:27 +02:00
Roman Volosovskyi cede095746 reset shh keys on starting whisper, fix warnings related to outdated shh keys 2017-10-03 17:54:18 +02:00
Roman Volosovskyi 2763c87c40 use account-update function instead of dispatching :account-update (#1995)
* use account-update function instead of dispatching :account-update
* add (inject-cofx :now) to default interceptors
2017-10-03 17:06:12 +02:00
Oskar Thorén 7540dda41d Push notifications: remove and disable Firebase analytics
- Remove Firebase from Podfile (iOS)
- Compile without Pods by manually linking frameworks (iOS)
- Remove FirebaseAnalytics framework (iOS)
- Disable Firebase analytics collection in settings permanently (iOS, Android)
2017-10-03 16:40:49 +02:00
Roman Volosovskyi 4b6f920e43 add predefined ethereum networks 2017-10-03 10:32:49 +02:00
angusiguess 8d2992d1a4 Fix viewport translucency math 2017-10-03 10:32:16 +02:00
angusiguess 3578eed912 Update navigation for QR scan
Factor copy/paste to use choose-recipient

Change assoc to an update

Set name to nil
2017-10-03 10:32:16 +02:00
Eric Dvorsak db7614f8f7 Various styling fixes for wallet
[bugfix] transaction details background should be white

[bugfix] button styling in unsigned transactions

[bugfix] make whole item touchable in transactions history and unsigned

[bugfix] correction of icons styling in transactions history

[bugfix] error message should not touch the toolbar in wallet

[bugfix] add asset icon and text are different on ios and android

PR review fixes
2017-10-03 10:32:16 +02:00
angusiguess 69a6baf09b Add flashlight functionality to choose recipient screen 2017-10-03 10:32:16 +02:00
Andrey Shovkoplyas 499cd393ad fixes tests 2017-10-03 10:32:16 +02:00
Andrey Shovkoplyas 9246d7df21 send transaction layer 1 2017-10-03 10:32:16 +02:00
Eric Dvorsak 62affda881 add unsigned transactions bindings in new wallet 2017-10-03 10:32:16 +02:00
angusiguess 498f641c8a Initial Commit for first send screen:
- Update toolbar text
- Add frame for camera/qr
- Add button for choose contacts
- Add button for address from clipboard
- Add button for browse photos

Set recipient from clipboard.

Added functionality and event handling necessary to set recipient
from clipboard.

Add choose-recipient event to assoc into the database

Add QR code scanning to first screen

Add vector icons for copy and select image

Fix svg

Fix rebase, localize labels

Add checkmark icon (this is a placeholder, current svg won't render)

Remove leak from develop

Vertical alignment fixes

Vertically align maps in view

Address review comments

Fix rebase reference problems/styling issues

Small style tweaks, fix icon

Fix small design issues

Indentation fixes

Address review points

Fix indentation

Prevent permissions request on ios

On ios, a permissions request results in a null reference error,
do a platform check before performing a permissions request.

Fix compile error

Restyle for ios, colours, layout

Update icons on ios

Restyle disabled button

Browse photos button disabled

Add viewfinder and platform specific styling.

Viewfinder and style changes

Add some torch functionality, fix toolbar, style issues

Refactor view style, add translucent bits to viewfinder

Address pull request feedback

Replace a style by defstyle
2017-10-03 10:32:16 +02:00
angusiguess 3b4d140ef6 Initial Commit for first send screen:
- Update toolbar text
- Add frame for camera/qr
- Add button for choose contacts
- Add button for address from clipboard
- Add button for browse photos

Set recipient from clipboard.

Added functionality and event handling necessary to set recipient
from clipboard.

Add choose-recipient event to assoc into the database

Add QR code scanning to first screen

Add vector icons for copy and select image

Fix svg

Fix rebase, localize labels

Add checkmark icon (this is a placeholder, current svg won't render)

Remove leak from develop

Vertical alignment fixes

Vertically align maps in view

Address review comments

Fix rebase reference problems/styling issues

Small style tweaks, fix icon

Fix small design issues

Indentation fixes

Address review points

Fix indentation

Prevent permissions request on ios

On ios, a permissions request results in a null reference error,
do a platform check before performing a permissions request.

Fix compile error
2017-10-03 10:32:16 +02:00
Herich d9db548e57 Refactoring chat events to shorten event chains 2017-10-03 09:28:38 +02:00
Roman Volosovskyi 5a49926ad0 remove status-im.utils.ethereum-network ns 2017-10-03 08:26:00 +02:00
Roman Volosovskyi bc9e65774c remove duplicate calls to jail 2017-10-02 18:12:25 +02:00
Roman Volosovskyi f8f13e21cc fix for #1888 2017-10-02 17:46:39 +02:00
Roman Volosovskyi cf7a9845c6 data_store and network_settings from #1115
missed default networks
fix :load-default-networks
network settings screen
fix network details screen
networks in account
fix network property saving
update startNode and stopNode on iOS
test RPC proxy on iOS
StopNode and StartNode on androd
pass UpstreamConfig to status-go
upgrade status-go
added default network on login
fixed UI, added vector icons
added network name in drawer
migrated accounts
workaround for account v4 migration
2017-10-02 14:13:10 +02:00
Roman Volosovskyi dbb1487fbd bump clojurescript version 2017-10-02 13:35:06 +02:00
Roman Volosovskyi c3b20b2f33 upgrade status-go develop-ge61c39b 2017-09-30 08:56:12 +02:00
Roman Volosovskyi 118a80b73f upgrade status-go to develop-gede939d 2017-09-29 14:48:48 +02:00
Roman Volosovskyi a0872fb1bf ensure that bool value is set to refreshing prop 2017-09-28 16:05:55 +02:00
Andrey Shovkoplyas f36dca3b5c fixes vector icons 2017-09-28 16:56:58 +03:00
Goran Jovic 191e5bcc0b fix #1888 ether amount not updated in /send suggestion on json rpc error in release apk only 2017-09-27 11:06:40 +02:00
Roman Volosovskyi cf59e6b1eb fix nil gasPrice 2017-09-27 09:52:40 +02:00
Roman Volosovskyi 03b5db7053 upgrade status-go 2017-09-27 09:52:40 +02:00
Roman Volosovskyi 8ef9ff205c upgrade status-go 2017-09-26 14:17:46 +02:00
Roman Volosovskyi 133bd2da7b use custom Function interface instead of java 8 2017-09-26 14:01:04 +02:00
Anton Danchenko 698e90a62c added 'recover access' and 'send transaction in group chat' tests 2017-09-26 13:59:43 +03:00
Roman Volosovskyi 141ef4e631 wrap Statusgo.CallRPC with Function<> and pass to webview-bridge 2017-09-26 07:46:38 +02:00
Goran Jović 465b4eef9c fix #1888 ether amount not updated in /send suggestion if it was init… (#1904)
* fix #1888 ether amount not updated in /send suggestion if it was initially undefined

* dummy change to trigger jenkins rebuild

* another dummy commit to trigger jenkins build
2017-09-25 19:56:24 +02:00
Eric Dvorsak 3f2416fafd refactor chat actions view 2017-09-25 19:55:47 +02:00
Eric Dvorsak 28355ca3c5 add accessibility ids for end-to-end tests 2017-09-25 19:55:47 +02:00
Eric Dvorsak 17011f6d9e refactor toolbar action 2017-09-25 19:55:47 +02:00
Eric Dvorsak 998df74b10 add gas price in gwei in transaction details 2017-09-25 19:54:57 +02:00
janherich e2f36d4935 Be more defensive when checking user balance 2017-09-25 19:54:40 +02:00
Oskar Thorén 9ab7ebdcf2 Push notifications: Print notif and data payload when resuming app
- on-notification listener registered in root component
- print data (hardcoded keys) and notif payload to debug
2017-09-25 16:32:35 +02:00
Roman Volosovskyi 0badfd6b5b fix Use of undeclared Var status-im.utils.platform/platform warning 2017-09-25 14:07:08 +02:00
Eric Dvorsak 7d9190bb85 fix #1893 cannot scroll to last 2 transactions in history
update react-native-swipper to latest working version
remove bottom margin hack in other screens with similar bug
fixes Cannot scroll transaction history when app is syncing #1902 as well
2017-09-25 13:09:27 +02:00
Oskar Thorén c846574155 Fix portfolio change to 0 if balance is zero
If you don't have money in your balance, your "portfolio" change is nothing.

- Positive portfolio change includes if it is zero
2017-09-25 11:17:50 +02:00
Roman Volosovskyi e8c2fa1f80 upgrade react-native-webview-bridge to 0.33.17 2017-09-25 10:51:14 +02:00
Audrius Molis d76a714fd6 Developer introduction link fixed in the README.md 2017-09-25 10:40:58 +03:00
Anton Danchenko e1af9144cf added tests: transaction and sign in 2017-09-22 11:16:46 +03:00
Roman Volosovskyi d86a853f07 atomic Confirm button for transactions 2017-09-21 14:46:49 +03:00
Jan Herich 805d874846 Fix #1886 (#1894)
* Fix #1886

Completly rework the way how async handlers work

Delay further processing of message till async handler returns result

* Fix indent

* Fix #1903
2017-09-21 14:08:51 +03:00
Eric Dvorsak bce18bf32c typo prevented error on prices-update from clearing 2017-09-20 17:26:58 +03:00
Roman Volosovskyi 77e2f51d85 upgrade status-go one more time to develop-g283ae3e 2017-09-19 19:22:45 +03:00
Oskar Thorén 01589057ff Upgrade status-go to develop-g283ae3e to incorporate gas fix
Gas fix: https://github.com/status-im/status-go/commit/ba963cc1bddbcf450e0665519baaa759d975e31f

develop also includes https://github.com/status-im/status-go/commit/676a77b89299193924177b146aebf16fdc81d4bd which was previous version

Include react-native-webview-bridge upgrade
2017-09-19 18:54:09 +03:00
Eric Dvorsak 8d80e35305 make history-list the default transactions tab 2017-09-19 13:17:15 +03:00
Julien Eluard b8dff77311 [FIX #1854] Fixed broken pull-to-refresh behavior 2017-09-19 13:17:15 +03:00
Eric Dvorsak d6966e2d34 remove unsigned transactions before they are implemented 2017-09-19 13:17:15 +03:00
Eric Dvorsak 5e31fcdacc add transaction details screen 2017-09-19 13:17:15 +03:00
Oskar Thorén 1b0409fdc9 Bugfix: correct realm schema for release
In release 0.9.11 we'll have v13, so we don't want to modify this in develop.
This moves Push notification related changes into a new migration as opposed to
merging them into one.
2017-09-18 17:51:53 +03:00
Oskar Thorén d30a14a774 Bugfix: resolve undeclared var for status/notify
Rebasing introduced regression due to refactoring of how native modules are
called. Call implementation when available, noop when stubbing status-go.
2017-09-18 17:48:44 +03:00
Oskar Thorén b5c0b24f30 Push notifications: end to end v1
- Send notification when sending message in 1on1 chat
- Add notify FFI with binds for ObjC and Java
- Add fcm-token to contacts in spec and realm
- Add notifications to db
- Include fcm-token in contact request
- Update fcm-token when it arrives and put it in DB
- Disable copy-paste hijacking and popup
- Turn on notifications flag in Jenkins build
2017-09-18 16:28:04 +03:00
Jan Herich b889a07a86 Implement possibility for async command handlers (#1857)
* Implement possibility for async command handlers

Command handler can now return results asynchronously,
and those results as saved and persisted, indexed by
command message-id.

* Address feedback raised in PR comments

* Different handler codes + simplified error message
2017-09-18 16:08:06 +03:00
Roman Volosovskyi 0fa863d366 upgrade status-go to bug-revert-breaking-rpc-refactor-#333-g44344d5 2017-09-18 16:06:22 +03:00
Roman Volosovskyi e961801429 utilize single jail.signal event for all signals from jail 2017-09-18 16:06:22 +03:00
Roman Volosovskyi 43a5d91ca2 upgrade status-go to bugfix-updated-cht-#185-gd84d10d
changes in shh API according to https://github.com/ethereum/go-ethereum/wiki/Whisper-v5-RPC-API
2017-09-18 16:06:22 +03:00
Julien Eluard 7c82f3f0c3 [FIX #1851] Improved iOS wallet UI 2017-09-15 18:28:24 +02:00
Andrey Shovkoplyas 9f5d808702 fixes Wallet Request screen UI issues 2017-09-15 16:37:27 +02:00
Andrey Shovkoplyas 66dd3a2e82 implemented request transaction 2017-09-15 16:37:27 +02:00
Eric Dvorsak a43af5e078 rename wallet history -> wallet transactions 2017-09-15 16:37:27 +02:00
Eric Dvorsak c22060542a sort completed-transactions by timestamp 2017-09-15 16:37:27 +02:00
Roman Volosovskyi 8c044d9991 stub for ReactNativeModule 2017-09-15 14:15:32 +03:00
Goran Jovic eac7e06f40 feature #1805 refactored protocol listeners 2017-09-15 14:15:04 +03:00
Anton Danchenko debd51bfce test_remove_user_from_group_chat added as a part of test_group_chat_send_receive_messages_and_remove_user 2017-09-13 21:41:00 +03:00
Julien Eluard a85929e72d [FIX #1802] Make sure wallet buttons have proper width 2017-09-13 09:43:09 +03:00
Oskar Thorén 0618ef1aa7 Tooling: Make sure Jenkins nightly slack notificaiton is one message
- Remove slack notification for each build step
- Set apkUrl and ipaUrl correctly for final slack notification
2017-09-13 08:57:27 +03:00
Oskar Thorén cdc996caa2 Remove cljs-priority-map
cljs-priority-map provides a special purpose data structure that needlessly
complicated things and doesn't appear to provide much value for what it gives
us.

Instead, keep :chats an ordinary map and sort vector on final subscription, as
our ListView destructures data-source items correctly.

This means we can upgrade Clojurescript.
2017-09-13 08:46:35 +03:00
Oskar Thorén efd5a4c841 Tooling: Jenkins configuration for nightly build in source control
Previously this was inline at Jenkins which lead to configuration drift. This
commti introduces Slack notifications for failed builds.
2017-09-12 12:20:19 +03:00
Julien Eluard 9cda6806e3 Fixed various wallet UI inconsistencies 2017-09-12 10:46:15 +03:00
antdanchenko 175832b2b4 Merge pull request #1811 from antdanchenko/test/group-chat-#165
test/group chat #165
2017-09-11 15:28:54 +03:00
Anton Danchenko eaf9d8dce4 added additional verifications to group/one-to-one chat tests, added accessibility ids
Revert "added checkout step to Jenkinsfile"

This reverts commit 22cd1fd021.

checkout to jenkinsfile
2017-09-11 15:26:08 +03:00
Goran Jovic a764da2b4b fix #1605 protocol message parser catches all invalid payload as errors 2017-09-11 09:46:24 +03:00
Eric Dvorsak 7a06bb8278 fix #1804 - duplicated status in discover tab 2017-09-11 09:18:11 +03:00
alwx 7875e11ea0 1628: Add Testnet warning, so no real ether or SNT is sent to the app 2017-09-10 12:23:49 +03:00
Oskar Thorén ed3597fd7c Tooling: Send app device logs to Testfairy properly
React Native uses 'asl' to do logging, not NSLog, so we have to hook into that
to get logs sent to Testfairy. This means we get all the app device logs you
normally get in development, not just whatever happens in JS land.

- Modified default logging function when flag is set
- Delete Prefix header file and NSLog Macro
2017-09-10 12:22:49 +03:00
Julien Eluard 3e1d731111 Fixed incorrect margin for toolbar action buttons 2017-09-09 17:31:33 +03:00
Oskar Thorén 2af025abc3 Tooling: RN logs in release builds on iOS device
- DEBUG_LOGS_ENABLED flag enabled everywhere but production
- Adjust log level to conditionally show debug and RN logs
- PrefixHeader for sending app logs to Testfairy
2017-09-09 14:31:48 +03:00
Oskar Thorén ef777511dc Enable treating warnings as errors and list acceptable warnings 2017-09-09 14:05:13 +03:00
Eric Dvorsak 35b69030bf fix compilation warnings 2017-09-09 12:48:30 +03:00
Oskar Thorén 60515a01e6 Turn off NOTIFICATIONS_WIP_ENABLED for Jenkins; remove dup event
- After testing we don't need to expose this WIP with popups etc
- get-fcm-token event was accidentally included twice during rebase leading to warnings
2017-09-09 12:11:09 +03:00
Henrik Kjerringvåg 51730d2404 Added a translations-file for Norwegian Bokmål 2017-09-09 07:45:32 +03:00
Eric Dvorsak ab98de0be5 moving drawer local state to db and fixing bug 2017-09-09 07:36:05 +03:00
Eric Dvorsak d5981c65a1 add accessibility labels for UI testing 2017-09-08 16:39:54 +03:00
Oskar Thorén 949adbddb3 Exit iOS RN parent script when failing 2017-09-08 16:19:10 +03:00
Julien Eluard ad7c6b8542 Fixed tabs component 2017-09-08 14:50:19 +03:00
Oskar Thorén aaa13b922b Push notifications: iOS request permissions, listen for token, flags
- Asks for permissions on iOS at startup
- Introduce NOTIFICATIONS_WIP_ENABLED flag
- Surface FCM Token and put it in clipboard for QA manual end to end testing
- Listen for FCM RefreshToken event at root
2017-09-08 12:05:21 +03:00
Eric Dvorsak c1cac1eb7c wallet UX error fixes and more frequent refreshes
fix wallet errors that were sticking when refresh occured
add separate errors for transaction history fetching with visual feedback
update wallet when going on wallet tab
update transaction list when opening transaction modal
2017-09-08 11:53:49 +03:00
Julien Eluard 97789feb6b [FIX #1772] Fixed incorrect icon padding 2017-09-08 11:53:27 +03:00
Eric Dvorsak 5d2a0e836a link transaction history with real transactions data
- add transactions utils namespace
- link transactions to view
2017-09-07 16:02:13 +03:00
Andrey Shovkoplyas 721b467e1b re-frisk 0.5.1 2017-09-07 14:53:11 +03:00
Andrey Shovkoplyas f88c3feaf6 reworked main tabs using svg icons [#1748 2017-09-06 17:05:56 +03:00
Julien Eluard 1a6bfd06a6 Fixed UI glitch when switching to wallet tab on iOS 2017-09-06 14:51:45 +03:00
Anton Danchenko d3d59f535e added checkout step to Jenkinsfile 2017-09-06 13:54:46 +03:00
antdanchenko 8bef81c325 Merge pull request #1764 from antdanchenko/tests/create-jenkins-job#1702
tests/create jenkins job#1702
2017-09-06 12:39:08 +03:00
Anton Danchenko 3afae8a42b changed key in Jenkinsfile 2017-09-06 12:33:32 +03:00
Anton Danchenko a02ef4af0f Jenkinsfile updated for jenkins setup 2017-09-06 12:24:09 +03:00
Eric Dvorsak de9905a14e Fix: timezone offset for today was missing 2017-09-06 11:08:52 +03:00
Julien Eluard 36d1568a76 Fixed main wallet discrepancies 2017-09-05 17:38:19 +03:00
Julien Eluard c3f38249e5 Improved eexception-handler to provide more contextual info 2017-09-05 17:19:39 +03:00
Goran Jovic 2fc6854543 fix #1448 #1741 - workaround to identify a group chat by existence of group-id rather than unreliable group-chat flag 2017-09-05 09:25:06 +03:00
Andrey Shovkoplyas a3700c19ac made user pics circle in chat 2017-09-05 07:29:31 +03:00
Andrey Shovkoplyas 1655873738 [fix #1460] hide emoji on commands selection 2017-09-04 17:16:11 +03:00
Andrey Shovkoplyas 6b1ed8fa47 re-frisk 0.5.0 2017-09-04 11:20:54 +03:00
Julien Eluard 99e04105ec [FIX #1731] Prepare configuration allowing to fail build 2017-09-04 11:16:44 +03:00
Julien Eluard bc73fbd83e [FIX #1721] Disable sign-in button when no password has been entered 2017-09-04 11:16:03 +03:00
vojta c6daeaa1ee Added Czech translation 2017-09-04 08:01:23 +03:00
Julien Eluard 38bf64ae2e Removed now useless appium tests 2017-09-03 18:07:57 +03:00
Eric Dvorsak c46a465b98 fix compilation warnings 2017-09-02 10:01:13 +03:00
angusiguess bc37283cb7 Add wallet error message.
- Add wallet key to db
- Add sub for wallet error messages
- Add event handlers to set wallet values
- Cover the above with tests

Oh and add the tests

Add error view

Add exclamation mark, style error message, add message to view

Remove commented styling

Localise wallet error

Add translation

- Add an english translation for the error message
- Change error representation in db to a keyword
- Update handlers to set and clear keywords

Constrain spec, make view conditional

- The spec for error messages now takes a predefined set.
- Error message only pops on error

Fix test

Align maps

Reduce event chain size, move logging to timbre
2017-09-01 19:01:12 +02:00
Chris Hutchinson 33f6ee39da Update README.md 2017-09-01 15:23:29 +03:00
Chris Hutchinson 8f471f0b09 Update README.md 2017-09-01 15:23:29 +03:00
Chris Hutchinson 5c16e0e041 couple additions
remove gentlemen - add API / APK build link
2017-09-01 15:23:29 +03:00
antdanchenko b1bf5a4fcd Merge pull request #1724 from antdanchenko/test/group-chat-#165
added group chat test and auto retrieving of latest apk from nightly builds
2017-08-31 16:52:06 +03:00
Anton Danchenko fb53417295 added group chat test and auto retrieving of latest apk 2017-08-31 16:39:45 +03:00
Goran Jovic d2530517c4 feature #1585 generate signing phrase, show it to the user during on-boarding, store in the account; account schema updated, added migration, generating a new signing phrase on recovery 2017-08-31 15:41:15 +03:00
Oskar Thorén d8a641d483 Update to recommended settings proposed by Xcode 8.3.3 and Cocoapods
- Correctly parameterized PRODUCT_BUNDLE_IDENTIFIER
- Automatically set architecture based on hardware available
- Update iOS deployment target to 8.0 (minimal deployment target for latest Xcode)
- Enable recommended warnings (infinite recursion, etc)
- Enable Testability for debug configuration

Podfile updated to version 8.0 target, as this is assumed by default with this warning:

"[!] Automatically assigning platform ios with version 8.0 on target StatusIm because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`."
2017-08-31 11:34:41 +02:00
Julien Eluard dd6d679322 Improve error message when status-go throw an error 2017-08-31 10:25:37 +02:00
Chris Hutchinson 2abdd61f30 update to reflect team
removed profile pictures and added link to public GitHub profiles
2017-08-31 11:02:22 +03:00
Oskar Thorén 43b40d6322 Update package-lock with new react-native-svg dependencies 2017-08-30 17:47:00 +03:00
Eric Dvorsak 37a67b3ccf create subscriptions for wallet data bindings 2017-08-30 14:08:58 +02:00
Oskar Thorén e169949e0a Push notifications: Spike for Android
- Print FCMToken which can be used to send PNs from Firebase Console
- Include react-native-fcm and related packages
- Update capabilities for iOS
- google service config files for Android and iOS
2017-08-30 13:58:52 +02:00
Oskar Thorén b7a9c9dc94 Increase timeout interval so Jenkins fails less often 2017-08-30 11:11:38 +02:00
Andrey Shovkoplyas be57d85147 implemented svg icons 2017-08-30 11:09:27 +02:00
Gustavo Nunes 9a06417b6e New screen: Wallets list (ui only) 2017-08-29 16:51:17 +02:00
Anton Danchenko e69d998071 e2e-tests, android: added infrastructure for running e2e tests, added test send/receive in chat, added request password tests, updated gitignore to exclude python related files. 2017-08-28 15:27:02 +02:00
Oskar Thorén f07eff4ab1 Merge pull request #1686 from status-im/feature/wallet-transactions
Implemented all wallet/transactions screens
2017-08-28 09:32:42 +02:00
Goran Jovic e6e65a41d8 fix #1397 - two sent messages instead of one in group chat, only recipient's wallet updated 2017-08-28 10:03:31 +03:00
angusiguess 0df8dcad32 [FIX #1474] Fix copy/paste of coordinates, address, and map viewing 2017-08-25 16:27:08 +03:00
Julien Eluard a2b717cfbb Implemented all wallet/transactions screens 2017-08-25 12:46:41 +02:00
angusiguess 6fa9040def [FIX #1668] Prevent UI keys from propagating to account model.
The ```:account-update``` event was being passed the key
```update-status?``` which has nothing to do with an account as
represented in the db. This resulted in a spec failure when this
key was detected on an attempt to save changes.

I've sanitized this event by pulling out the three account keys,
```[:name :photo-path :status]```
that are relevant to ```profile``` and ensuring that only they get
passed to ```:account-update```.

Profile updates now work as expected.

Add tests covering profile events

Fix the runner
2017-08-25 13:10:18 +03:00
ankit raj 00ee672c33 typo fix
typo fix
2017-08-25 09:27:15 +03:00
angusiguess 52c8fc967d [FIX #1602] Trim whitespace from passphrase during account recovery
Currently account recovery includes whitespace on either side of the
passphrase, preventing recovery of the desired account.

We trim that whitespace in the account-recovery-fx
2017-08-24 16:36:47 +03:00
Julien Eluard 2585a32c7a Enable main wallet screen. WIP features are hidden behind flag 2017-08-23 12:28:42 +03:00
Eric Dvorsak ad65070fcf downgrade figwheel-sidecar
fixes `Can't find variable: document` error
2017-08-23 12:05:42 +03:00
Oskar Thorén 8ac1535dab wallet: main screen live data binding
Initial utility for live data binding in the new wallet.

- Add prices namespace to get fiat prices from Cryptocompare
- Events to init wallet balance and load prices
- Listen to these events in wallet main view
- Show accurate ETH balance, USD value and %change from yesterday
- Enable wallet tab in Jenkins
2017-08-22 11:52:31 +03:00
Julien Eluard 55fd200c71 Introduced tab switching for wallet transactions screen 2017-08-22 11:41:37 +03:00
Andrey Shovkoplyas 2ff20eb830 accounts tests 2017-08-22 07:39:07 +03:00
Eric Dvorsak 92f3f9a4c5 Fix #1648
Popup null is not an object (evaluating 'e.replace') if tap on
status -> username -> status in drawer
2017-08-21 10:20:31 +03:00
Andrey Shovkoplyas bab4e33ec2 Accounts refactoring #1610 2017-08-21 10:19:03 +03:00
Eric Dvorsak cb48195383 fix #1571 Feature/profile refactoring
Second step of refactoring guidelines to fix #1571

- use fx and cofx
- specs
- simplify event chain
2017-08-18 13:15:25 +03:00
Andy Chambers d63d411c53 Set compiler option :language-in to ecmascript5 2017-08-18 12:46:38 +03:00
Julien Eluard a22bde50c7 First implementation of the unsigned transactions list 2017-08-18 12:34:16 +03:00
Roman Volosovskyi 775bc8d359 fix mapbox version 2017-08-18 12:31:08 +03:00
Mihael Konjevic 90c26570f8 [FIX #148] Disable back button on QR code reader page until camera is available. 2017-08-18 10:47:25 +03:00
Mihael Konjevic 41429cf1ed Ensure that :initialCenterCoordinate attribute gets the correct data
Mapview component accepts the `:initialCenterCoordinate` which always must have
longitude and latitude attributes. This ensures that they will always be present
even when they are missing from the map passed retreived from the app state.
2017-08-18 10:43:45 +03:00
Julien Eluard 280466f5d6 Upgraded ClojureScript dependencies 2017-08-18 10:27:10 +03:00
Goran Jovic 1ca35db17c fix #1518 and #1573 - removed potentially offensive words, made username generation deterministic, updated unit tests 2017-08-17 18:43:15 +03:00
Oskar Thorén 8e22ce9466 utils: Support ERC20 balance-of in order to get token balance
This is necessary in order to display token balance in Wallet.
2017-08-17 17:19:49 +03:00
Herich e3f27ee5ee Refactor command data loading + chat input handling
Also accomplished was removal of redundant preview loading
and command markup is now stored as cljs data in app-db,
only being translated to RN components in subscriptions
2017-08-17 09:08:07 +03:00
Andrey Shovkoplyas 7506689fe5 navigation refactoring #1609 2017-08-16 13:13:38 +03:00
Julien Eluard 9bacc65c8d Implement wallet/transactions basic skeleton 2017-08-16 12:09:01 +03:00
Eric Dvorsak 69a84c8315 Costmetic refactoring according to refactoring guidelines 2017-08-16 11:00:25 +03:00
Oskar Thorén 6dafd137dc docs: FAQ document
Question on nature of async/sync calls in different environments
2017-08-15 14:14:50 +03:00
Roman Volosovskyi a93cb0b1d1 show testfairy warning on startup (#1569) 2017-08-14 21:44:48 +03:00
Andrey Shovkoplyas 1fe17305af removed an unnecessary character 2017-08-14 14:27:27 +03:00
Andrey Shovkoplyas e158ba5d4f fixed wallet screens 2017-08-14 14:15:48 +03:00
Andrey Shovkoplyas 883b702fcb Introduced new hierarchy ,refactored core 2017-08-14 13:42:20 +03:00
Roman Volosovskyi 6a56b60085 deploay apk to diawi 2017-08-11 13:22:03 +03:00
Oskar Thorén 8d040aee11 wallet (WIP): Hook up handlers to minimal send-transaction screen 2017-08-11 12:14:17 +03:00
4534 changed files with 221692 additions and 58854 deletions
+236
View File
@@ -0,0 +1,236 @@
status-im.utils.build/warning-handler
status-im.utils.build/get-current-sha
status-im2.constants/spacing-char
status-im2.constants/arg-wrapping-char
status-im.ios.core/init
status-im.ui.components.camera/aspects
status-im.ui.components.camera/capture-targets
status-im.ui.components.camera/set-torch
status-im.ui.components.camera/request-access-ios
status-im.chat.models.message-content/stylings
status-im.chat.models.message-content/actions
status-im.chat.models.message-content/blank-string
status-im.chat.models.message-content/sorted-ranges
status-im.ethereum.mnemonic/words->passphrase
status-im.native-module.core/listener
status-im.native-module.core/multiaccount-reset
status-im.native-module.core/extract-group-membership-signatures
status-im.native-module.core/sign-group-membership
status-im.native-module.core/update-mailservers
status-im.ethereum.abi-spec/bytes-to-hex
status-im.android.core/init
status-im.chat.models.message/transport-keys
status-im.utils.datetime/week
status-im.utils.datetime/time-ago
status-im.utils.datetime/format-date
status-im.utils.datetime/get-ordinal-date
reagent.dom/render
reagent.dom/unmount-component-at-node
reagent.dom/dom-node
reagent.dom/force-update-all
status-im.multiaccounts.create.core/get-new-key-code
status-im.ethereum.decode/string
status-im.ui.screens.network.views/mainnet?
status-im.data-store.chats/event->string
status-im.mailserver.constants/seven-days
status-im.mailserver.constants/connection-timeout
status-im.hardwallet.card/install-applet
status-im.hardwallet.card/install-cash-applet
status-im.multiaccount.login.data-test/all-contacts
status-im.multiaccount.login.data-test/multiaccounts
status-im.multiaccount.login.data-test/get-chats
status-im.multiaccount.login.data-test/transport
status-im.multiaccount.login.data-test/topics
status-im.utils.utils/clear-timeout
status-im.utils.handlers/logged-in
status-im.multiaccounts.model/credentials
status-im.multiaccounts.login.core/contract-fleet?
status-im.multiaccounts.login.core/fetch-nodes
status-im2.config/rpc-networks-only?
status-im2.config/waku-enabled?
status-im.utils.pairing/has-paired-installations?
status-im.tribute-to-talk.core-test/user-cofx
quo.gesture-handler/tap-gesture-handler
quo.gesture-handler/pan-gesture-handler
quo.gesture-handler/long-press-gesture-handler
quo.gesture-handler/pure-native-button
quo.gesture-handler/createNativeWrapper
quo.gesture-handler/animated-raw-button
quo.gesture-handler/states
mocks.js-dependencies/action-button
mocks.js-dependencies/camera
mocks.js-dependencies/dismiss-keyboard
mocks.js-dependencies/emoji-picker
mocks.js-dependencies/i18n
mocks.js-dependencies/qr-code
mocks.js-dependencies/svg
mocks.js-dependencies/icons
mocks.js-dependencies/webview
mocks.js-dependencies/desktop-linking
mocks.js-dependencies/desktop-shortcuts
mocks.js-dependencies/snoopy
mocks.js-dependencies/snoopy-filter
mocks.js-dependencies/snoopy-bars
mocks.js-dependencies/snoopy-buffer
mocks.js-dependencies/desktop-menu
mocks.js-dependencies/desktop-config
mocks.js-dependencies/react-native-navigation-twopane
mocks.js-dependencies/react-native-screens
mocks.js-dependencies/react-native-shake
mocks.js-dependencies/back-handler
mocks.js-dependencies/react
mocks.js-dependencies/react-navigation-native
mocks.js-dependencies/react-navigation-stack
mocks.js-dependencies/react-navigation-bottom-tabs
mocks.js-dependencies/react-native-haptic-feedback
mocks.js-dependencies/mock
quo.previews.main/init
status-im.chat.models.message-list-test/descending-range
status-im.chat.models.message-list-test/random-range
status-im.ethereum.eip165/supports?
status-im.utils.hex/valid-hex?
status-im.multiaccounts.core/chat-send?
status-im.hardwallet.simulated-keycard/install-cash-applet
status-im.hardwallet.simulated-keycard/sign-typed-data
status-im.utils.core/safe-read-message-content
status-im.ui.components.react/native-modules
status-im.ui.components.react/progress-bar
status-im.utils.fs/move-file
status-im.utils.fs/read-dir
status-im.utils.fs/mkdir
status-im.utils.fs/unlink
status-im.utils.fs/file-exists?
quo.animated/code
quo.animated/eq
quo.animated/neq
quo.animated/greater-or-eq
quo.animated/not*
quo.animated/or*
quo.animated/and*
quo.animated/add
quo.animated/sub
quo.animated/multiply
quo.animated/abs
quo.animated/min*
quo.animated/max*
quo.animated/set
quo.animated/start-clock
quo.animated/stop-clock
quo.animated/bezier
quo.animated/linear
quo.animated/set-value
quo.animated/clock
quo.animated/debug
quo.animated/log
quo.animated/event
quo.animated/on-change
quo.animated/cond*
quo.animated/block
quo.animated/call*
quo.animated/timing
quo.animated/spring
quo.animated/clamp
quo.animated/with-spring
quo.animated/with-timing
quo.animated/re-timing
quo.design-system.colors/white
quo.design-system.colors/black
status-im.transport.core-test/messages
status-im.ethereum.core/sidechain?
status-im.ethereum.core/network-with-upstream-rpc?
status-im.ethereum.core/current-address
status-im.ethereum.core/network->network-name
status-im.ethereum.core/estimate-gas
quo.core/animated-header
quo.core/safe-area-provider
quo.core/safe-area-consumer
quo.core/safe-area-view
status-im.utils.universal-links.core/open!
status-im.transport.filters.core-test/member-2
status-im.ui.screens.chat.ttt/one-to-one-chat-description-container
status-im.ethereum.ens/ttl
status-im.ethereum.ens/addr-hash
status-im.ethereum.ens/name-hash
status-im.ethereum.ens/ABI-hash
status-im.ethereum.ens/pubkey-hash
status-im.network.core/get-network
status-im2.constants/desktop-content-types
status-im2.constants/blocks-per-hour
status-im2.constants/one-earth-day
status-im2.constants/left-pane-min-width
status-im2.constants/system
status-im2.constants/contact-discovery
status-im2.constants/send-transaction-failed-parse-response
status-im2.constants/send-transaction-failed-parse-params
status-im2.constants/send-transaction-no-account-selected
status-im2.constants/send-transaction-invalid-tx-sender
status-im2.constants/web3-get-logs
status-im2.constants/web3-transaction-receipt
status-im2.constants/web3-new-filter
status-im2.constants/web3-new-pending-transaction-filter
status-im2.constants/web3-new-block-filter
status-im2.constants/web3-uninstall-filter
status-im2.constants/web3-get-filter-changes
status-im2.constants/web3-shh-post
status-im2.constants/web3-shh-new-identity
status-im2.constants/web3-shh-has-identity
status-im2.constants/web3-shh-new-group
status-im2.constants/web3-shh-add-to-group
status-im2.constants/web3-shh-new-filter
status-im2.constants/web3-shh-uninstall-filter
status-im2.constants/web3-shh-get-filter-changes
status-im2.constants/web3-shh-get-messages
status-im2.constants/status-create-address
status-im2.constants/event-transfer-hash
status-im2.constants/regx-rtl-characters
status-im2.constants/desktop-msg-chars-hard-limit
status-im2.constants/debug-metrics
status-im2.constants/scan-qr-code
status-im2.constants/ipfs-proto-code
status-im2.constants/swarm-proto-code
status-im.multiaccounts.update.publisher/publish-update!
status-im.utils.async/task-queue
status-im.utils.async/async-periodic-run!
status-im.desktop.core/app-root
status-im.desktop.core/init
status-im.chat.models-test/test-db
quo.design-system.spacing/padding-vertical
status-im.utils.money/percent-change
status-im.utils.platform/isMacOs?
status-im.utils.platform/isNix?
status-im.utils.platform/isWin?
status-im.utils.platform/android-version>=
utils.debounce/clear-all
status-im.transport.db/create-chat
status-im.utils.priority-map/priority-map
status-im.utils.priority-map/priority-map-by
status-im.utils.priority-map/priority-map-keyfn
status-im.utils.priority-map/empty-message-map
status-im.wallet.choose-recipient.core/use-default-eth-gas
status-im.ui.components.animation/decay
status-im.ui.components.animation/remove-all-listeners
status-im.ui.components.animation/stop-animation
status-im.ui.components.animation/animated
status-im.ui.components.animation/add
status-im.ui.components.animation/subtract
status-im.ui.components.animation/get-layout
status-im.wallet.transactions-test/uri-query-data
quo.react-native/touchable-highlight
status-im.utils.name/shortened-name
status-im.ui.components.button.haptic/trigger
status-im.contact.db/filter-dapps
status-im.contact.db/filter-group-contacts
status-im.contact.db/legacy-pending?
status-im.utils.transducers-test/preview-call-1
status-im.utils.transducers-test/preview-call-2
status-im.utils.types/to-string
status-im.chat.db/datemark?
status-im.chat.db/gap?
status-im.chat.db/map->sorted-seq
status-im.utils.snoopy/status-module-filter
status-im.utils.snoopy/websocket-filter
status-im.utils.snoopy/touches-filter
status-im.utils.snoopy/native-animation-filter
status-im.utils.snoopy/keyboard-observer-filter
status-im.utils.multihash/hex
status-im.utils.multihash/decode-array
+23
View File
@@ -0,0 +1,23 @@
{:lint-as {status-im.utils.views/defview clojure.core/defn
status-im.utils.views/letsubs clojure.core/let
reagent.core/with-let clojure.core/let
status-im.utils.fx/defn clj-kondo.lint-as/def-catch-all
utils.re-frame/defn clj-kondo.lint-as/def-catch-all
quo.react/with-deps-check clojure.core/fn
quo.previews.preview/list-comp clojure.core/for
status-im.utils.styles/def clojure.core/def
status-im.utils.styles/defn clojure.core/defn
test-helpers.unit/deftest-sub clojure.core/defn
taoensso.tufte/defnp clojure.core/defn}
:linters {:consistent-alias {:level :error
:aliases {clojure.string string
clojure.set set
clojure.walk walk
taoensso.timbre log}}
:invalid-arity {:skip-args [status-im.utils.fx/defn utils.re-frame/defn]}
;; TODO remove number when this is fixed
;; https://github.com/borkdude/clj-kondo/issues/867
:unresolved-symbol {:exclude [PersistentPriorityMap.EMPTY
number
status-im.test-helpers/restore-app-db]}}
:config-in-ns {mocks.js-dependencies {:linters {:clojure-lsp/unused-public-var {:level :off}}}}}
+22
View File
@@ -0,0 +1,22 @@
# https://dependabot.com/docs/config-file/
version: 1
update_configs:
# Keep build.gradle files up to date, batching pull requests weekly
- package_manager: "java:gradle"
directory: "/android"
update_schedule: "weekly"
default_reviewers:
- "jakubgs"
allowed_updates:
- match:
update_type: "security"
# Keep /mobile/js_files/yarn.lock up to date, batching pull requests weekly
- package_manager: "javascript"
directory: "/"
update_schedule: "weekly"
allowed_updates:
- match:
update_type: security
default_reviewers:
- "jakubgs"
+37
View File
@@ -0,0 +1,37 @@
module.exports = {
"testRunner": "jest",
"testRegex": "\\.visual\\.js$",
"runner-config": "visual-test/config.json",
"devices": {
"simulator": {
"type": "ios.simulator",
"device": {
"type": "iPhone 11 Pro"
}
}
},
"apps": {
"ios.release": {
"name": "StatusIm",
"type": "ios.app",
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/StatusIm.app",
"build": "make release-ios"
},
"ios.debug": {
"name": "StatusIm",
"type": "ios.app",
"binaryPath": process.env.TEST_BINARY_PATH,
"build": "make run-ios SIMULATOR='iPhone 11 Pro'"
}
},
"configurations": {
"ios.sim.release": {
"device": "simulator",
"app": "ios.release"
},
"ios.sim.debug": {
"device": "simulator",
"app": "ios.debug"
}
}
}
+107
View File
@@ -0,0 +1,107 @@
.dockerignore
docker-build
env/dev/env/config.cljs
modules/react-native-status/android/build
# OSX
#
.DS_Store
.projectile
.cljs_rhino_repl/
.#*
# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace
# Android/IJ
#
.idea
.gradle
*.iml
# Atom
.tags*
# node.js
#
node_modules/
npm-debug.log
# BUCK
buck-out/
\.buckd/
android/app/libs
android/app/obj
android/app/build
android/build
android/keystores/debug.keystore
# Generated by clj-rn
#
index.android.js
index.ios.js
target/
env/dev/env/config.cljs
externs/
shim.js
# Generated by lein voom
#
/pom.xml
# Figwheel
#
figwheel_server.log
.nrepl-port
# Lein
#
.lein-failures
.lein-repl-history
## Doo
#
out
doo-index.html
# Status
Statusgo.framework
status-dev-cli
#ios
ios/Pods
ios/StatusIm.xcworkspace
.ruby-version
#python
*.pyc
*.cache
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/
*/fastlane/report.xml
*/fastlane/Preview.html
*/fastlane/screenshots
+35 -1
View File
@@ -1 +1,35 @@
TESTFAIRY_ENABLED=0
CACHED_WEBVIEWS_ENABLED=1
DEBUG_WEBVIEW=1
DEFAULT_NETWORK=mainnet_rpc
DEV_BUILD=1
ETHEREUM_DEV_CLUSTER=1
EXTENSIONS=0
FLEET=status.prod
GROUP_CHATS_ENABLED=1
LOG_LEVEL=info
MAILSERVER_CONFIRMATIONS_ENABLED=1
PFS_ENCRYPTION_ENABLED=1
PFS_TOGGLE_VISIBLE=1
POW_TARGET=0.002
POW_TIME=1
SNOOPY=0
RPC_NETWORKS_ONLY=0
PARTITIONED_TOPIC=0
CONTRACT_NODES=1
STATUS_GO_PROTOCOL=0
STATUS_GO_ENABLE_NIMBUS=0
KEYCARD_TEST_MENU=0
QR_READ_TEST_MENU=1
ENABLE_ROOT_ALERT=1
ENABLE_QUO_PREVIEW=1
MAX_IMAGES_BATCH=5
APN_TOPIC=im.status.ethereum.pr
COMMUNITIES_ENABLED=1
DATABASE_MANAGEMENT_ENABLED=1
DELETE_MESSAGE_ENABLED=1
COLLECTIBLES_ENABLED=1
COMMANDS_ENABLED=1
TWO_MINUTES_SYNCING=1
SWAP_ENABLED=1
STICKERS_TEST_ENABLED=1
LOCAL_PAIRING_ENABLED=1
+35
View File
@@ -0,0 +1,35 @@
DEBUG_WEBVIEW=1
DEFAULT_NETWORK=goerli_rpc
ETHEREUM_DEV_CLUSTER=1
EXTENSIONS=0
FLEET=status.prod
GROUP_CHATS_ENABLED=1
LOG_LEVEL=debug
MAILSERVER_CONFIRMATIONS_ENABLED=0
PAIRING_POPUP_DISABLED=1
PFS_ENCRYPTION_ENABLED=1
PFS_TOGGLE_VISIBLE=1
POW_TARGET=0.002
POW_TIME=1
SNOOPY=0
STICKERS_ENABLED=1
PARTITIONED_TOPIC=0
CONTRACT_NODES=1
BLANK_PREVIEW=0
TOOLTIP_EVENTS=1
COMMANDS_ENABLED=1
KEYCARD_TEST_MENU=1
QR_READ_TEST_MENU=1
ENABLE_ROOT_ALERT=0
MAX_IMAGES_BATCH=5
APN_TOPIC=im.status.ethereum.pr
VERIFY_TRANSACTION_CHAIN_ID=5
VERIFY_ENS_CHAIN_ID=5
TEST_STATEOFUS=1
DATABASE_MANAGEMENT_ENABLED=1
COMMUNITIES_ENABLED=1
COMMUNITIES_MANAGEMENT_ENABLED=1
DELETE_MESSAGE_ENABLED=1
TWO_MINUTES_SYNCING=1
STICKERS_TEST_ENABLED=1
LOCAL_PAIRING_ENABLED=1
+37 -1
View File
@@ -1 +1,37 @@
TESTFAIRY_ENABLED=1
CACHED_WEBVIEWS_ENABLED=1
DEBUG_WEBVIEW=1
DEFAULT_NETWORK=goerli_rpc
ETHEREUM_DEV_CLUSTER=1
EXTENSIONS=0
FLEET=status.prod
GROUP_CHATS_ENABLED=1
LOG_LEVEL=debug
MAILSERVER_CONFIRMATIONS_ENABLED=1
MAINNET_WARNING_ENABLED=1
PFS_ENCRYPTION_ENABLED=1
PFS_TOGGLE_VISIBLE=1
POW_TARGET=0.002
POW_TIME=1
SNOOPY=0
RPC_NETWORKS_ONLY=0
PARTITIONED_TOPIC=0
CONTRACT_NODES=1
STATUS_GO_ENABLE_NIMBUS=0
COMMANDS_ENABLED=1
KEYCARD_TEST_MENU=0
ENABLE_ROOT_ALERT=1
DISABLE_WALLET_ON_MOBILE_NETWORK=1
APN_TOPIC=im.status.ethereum.pr
VERIFY_TRANSACTION_CHAIN_ID=5
VERIFY_ENS_CHAIN_ID=5
TEST_STATEOFUS=1
BLANK_PREVIEW=0
MAX_IMAGES_BATCH=5
DATABASE_MANAGEMENT_ENABLED=1
COMMUNITIES_ENABLED=1
COMMUNITIES_MANAGEMENT_ENABLED=1
DELETE_MESSAGE_ENABLED=1
TWO_MINUTES_SYNCING=1
ENABLE_QUO_PREVIEW=1
STICKERS_TEST_ENABLED=1
LOCAL_PAIRING_ENABLED=1
+24
View File
@@ -0,0 +1,24 @@
DEBUG_WEBVIEW=1
DEFAULT_NETWORK=mainnet_rpc
ETHEREUM_DEV_CLUSTER=1
EXTENSIONS=0
FLEET=status.prod
GROUP_CHATS_ENABLED=1
LOG_LEVEL=info
MAILSERVER_CONFIRMATIONS_ENABLED=1
MAINNET_WARNING_ENABLED=1
PFS_ENCRYPTION_ENABLED=1
PFS_TOGGLE_VISIBLE=1
POW_TARGET=0.002
POW_TIME=1
SNOOPY=0
KEYCARD_TEST_MENU=0
RPC_NETWORKS_ONLY=0
PARTITIONED_TOPIC=0
CONTRACT_NODES=1
ENABLE_ROOT_ALERT=1
MAX_IMAGES_BATCH=5
BLANK_PREVIEW=0
COMMUNITIES_ENABLED=1
DATABASE_MANAGEMENT_ENABLED=1
DELETE_MESSAGE_ENABLED=1
-1
View File
@@ -1 +0,0 @@
TESTFAIRY_ENABLED=0
+21
View File
@@ -0,0 +1,21 @@
DEBUG_WEBVIEW=0
DEFAULT_NETWORK=mainnet_rpc
ETHEREUM_DEV_CLUSTER=0
EXTENSIONS=0
FLEET=status.prod
GROUP_CHATS_ENABLED=1
LOG_LEVEL=
MAILSERVER_CONFIRMATIONS_ENABLED=1
MAINNET_WARNING_ENABLED=1
PFS_ENCRYPTION_ENABLED=1
PFS_TOGGLE_VISIBLE=0
POW_TARGET=0.002
POW_TIME=1
SNOOPY=0
KEYCARD_TEST_MENU=0
RPC_NETWORKS_ONLY=1
PARTITIONED_TOPIC=0
ENABLE_ROOT_ALERT=1
MAX_IMAGES_BATCH=1
DELETE_MESSAGE_ENABLED=1
COLLECTIBLES_ENABLED=1
+1
View File
@@ -0,0 +1 @@
layout node
+4
View File
@@ -0,0 +1,4 @@
module.exports = {
root: true,
extends: '@react-native-community',
};
+50 -11
View File
@@ -20,39 +20,78 @@
# Ignore duplicate module providers
# For RN Apps installed via npm, "Libraries" folder is inside node_modules/react-native but in the source repo it is in the root
.*/Libraries/react-native/React.js
node_modules/react-native/Libraries/react-native/React.js
.*/Libraries/react-native/ReactNative.js
.*/node_modules/jest-runtime/build/__tests__/.*
; Ignore polyfills
node_modules/react-native/Libraries/polyfills/.*
; These should not be required directly
; require from fbjs/lib instead: require('fbjs/lib/warning')
node_modules/warning/.*
; Flow doesn't support platforms
.*/Libraries/Utilities/LoadingView.js
[untyped]
.*/node_modules/@react-native-community/cli/.*/.*
[include]
[libs]
node_modules/react-native/Libraries/react-native/react-native-interface.js
node_modules/react-native/flow
flow/
node_modules/react-native/flow/
[options]
module.system=haste
esproposal.optional_chaining=enable
esproposal.nullish_coalescing=enable
esproposal.class_static_fields=enable
esproposal.class_instance_fields=enable
module.file_ext=.js
module.file_ext=.json
module.file_ext=.ios.js
module.system=haste
module.system.haste.use_name_reducers=true
# get basename
# get basename
module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1'
module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1'
module.system.haste.paths.blacklist=.*/__tests__/.*
module.system.haste.paths.blacklist=.*/__tests__/.*
module.system.haste.paths.blacklist=.*/__mocks__/.*
module.system.haste.paths.blacklist=.*/__mocks__/.*
module.system.haste.paths.blacklist=<PROJECT_ROOT>/node_modules/react-native/Libraries/Animated/src/polyfills/.*
module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/Libraries/.*
module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/Libraries/.*
module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/RNTester/.*
module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/IntegrationTests/.*
module.system.haste.paths.blacklist=<PROJECT_ROOT>/node_modules/react-native/Libraries/react-native/react-native-implementation.js
module.system.haste.paths.blacklist=<PROJECT_ROOT>/node_modules/react-native/Libraries/Animated/src/polyfills/.*
experimental.strict_type_args=true
munge_underscores=true
module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub'
module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'
module.name_mapper='^react-native$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/react-native/react-native-implementation'
module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/Image/RelativeImageStub'
module.file_ext=.js
module.file_ext=.jsx
module.file_ext=.json
module.file_ext=.native.js
suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FixMe
suppress_type=$FlowFixMeProps
suppress_type=$FlowFixMeState
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(30\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(30\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
unsafe.enable_getters_and_setters=true
[version]
^0.30.0
^0.122.0
+2
View File
@@ -0,0 +1,2 @@
*.pbxproj -text
*.patch eol=lf
+25
View File
@@ -0,0 +1,25 @@
# This is a comment.
# Each line is a file pattern followed by one or more owners.
# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence,
# @global-owner1 and @global-owner2 will be requested for
# review when someone opens a pull request.
/ci @jakubgs
/fastlane @jakubgs
/scripts @jakubgs
/.env* @jakubgs
/.TOOLVERSIONS @jakubgs
/STATUS_GO_* @jakubgs
# Order is important; the last matching pattern takes the most
# precedence. When someone opens a pull request that only
# modifies Nix files, only @js-owner and not the global
# owner(s) will be requested for a review.
*.nix @jakubgs
/nix @jakubgs
/.github/ @jakubgs
/components @status-im/status-core-ui
/test/appium/ @churik
+6 -7
View File
@@ -8,10 +8,9 @@ These are just guidelines, not rules. Use your best judgment, and feel free to p
#### What should I know before I get started?
* [Mission and Core Values](http://wiki.status.im/getting-started/mission-and-core-values/)
* [Code of Conduct](http://wiki.status.im/getting-started/code-of-conduct/)
* [Read our FAQ](http://wiki.status.im/getting-started/faq/)
* [Join our Slack](http://slack.status.im/) and chat in `#dev-status`
* [Developer Introduction](http://wiki.status.im/contributing/development/introduction/)
* [How to Build Status](http://wiki.status.im/contributing/development/building-status/)
* [Finding issues to work on](http://wiki.status.im/contributing/development/introduction/#finding-issues-to-work-on)
* [Mission and Principles](https://status.im/about)
* [Read our FAQ](https://status.im/docs/FAQs.html)
* [Join our Chat](http://join.status.im/chat/public/status-core-dev)
* [Developer Introduction](https://status.im/developer_tools/)
* [Build Status Yourself](https://status.im/technical/build_status)
* [Find issues to work on](https://github.com/status-im/)
+35
View File
@@ -0,0 +1,35 @@
---
name: Bug Report
about: Bug Report
title: ''
labels: bug
assignees: ''
---
# Bug Report
## Problem
[comment]: # (A problem description)
#### Expected behavior
#### Actual behavior
### Reproduction
1) Open Status
2)
### Additional Information
- Status version: nightly
- Operating System: Android, iOS
[comment]: # (Please, add logs/notes if necessary)
+30
View File
@@ -0,0 +1,30 @@
---
name: Feature Issue
about: Feature Issue
title: ''
labels: feature
assignees: ''
---
# Feature Issue
[comment]: # (Please replace ... with your information. Remove < and >)
### User Story
As a <user|developer|...>, I want to <task> **so that** <goal>.
### Description
[comment]: # (Describe the feature you would like and include designs and Figma links if available.)
[comment]: # (Describe the use cases the implementation should cover. E.g. New users, existing users, public chat, group chat, etc)
*Summary*: ...
### Acceptance Criteria
[comment]: # (Rules for the future PR to be accepted.)
### Notes
[comment]: # (For the developer who will implement. Include planning poker estimates, guidance, etc.)
+77
View File
@@ -0,0 +1,77 @@
---
name: Release umbrella issue
about: Release Issue
title: 'Mobile release '
labels: release
assignees: ''
---
Issue to manage mobile release <version>
### Scope
[comment]: # (Add milestone from github)
https://github.com/status-im/status-mobile/milestone/
- release notes:
- release branch:
### Testing info
[comment]: # (TestRail info, added by QA)
Main test suite:
Upgrade (e2e):
### Builds in TestFlight and PlayStore to push as a release
[comment]: # (Will be added by QA after testing approving of build)
### Process
#### 1) Kick-off
- [ ] 1. Translation PRs is merged before cutting branch (Jinho)
- [ ] 2. Prepare scope of visible changes based on commits history, started from previous release branch cut ([guide](https://notes.status.im/how-to-prepare-release-notes))
- [ ] 3. Update [RELEASES.md](https://github.com/status-im/status-mobile/blob/develop/RELEASES.md) with release notes (make PR based on previous step)
- [ ] 4. Create release branch using this [guide](https://github.com/status-im/status-mobile/blob/develop/doc/RELEASE_GUIDE.md), bump VERSION (merge created PR ([example](https://github.com/status-im/status-mobile/pull/12504) ) to develop) and get successful release builds (so, testing can be started)
- [ ] 5. Based on release scope, ask for comms (Jonny)
- [ ] 6. Make sure that assets (screenshots, video) in stores are up-to-date, more info [here](https://notes.status.im/how-to-update-assets)
#### 2) Testing
[comment]: # (Section will be maintained by QA)
- [ ] Dogfooding (add notes, if it was held)
- [ ] Regression testing for release candidate build
- [ ] Upgrade tests
- [ ] Fix known blocker(s) found during regression testing
##### Blockers
[comment]: # (Section for blocker issues; should be fixed and merged by release-manager. Remove if no blockers found)
- [ ] 1 blocker:
=============================================================================================
- [ ] Cherry-pick fix(es) to the release branch
- [ ] Verify fix(es) on new release candidate build
- [ ] Retest
- [ ] Keep release build forever (button in Jenkins)
#### 3) Submission
- [ ] 1. Prepare PR for F-droid build ([instruction]( https://github.com/status-im/status-mobile/blob/develop/doc/FDROID.md))
- [ ] 2. Release notes written and added (500 character limit for updates (Android) and PR for [RELEASES.md](https://github.com/status-im/status-mobile/blob/develop/RELEASES.md) is ready to be merged (from 1.3 step)
- [ ] 3. Submit beta version for Android (Open Testing in Play Store)
- [ ] 4. Submit iOS build to Apple review ([instruction](https://drive.google.com/file/d/10Cl7PBB7TFPkZiVbfzdFGpfMRP9bxXuq/view?usp=sharing), be careful - low quality of audio)
- [ ] 5. Play store content reviewed and updated
- [ ] 6. Privacy policy reviewed and updated (ask in channel)
- [ ] 7. Countries to be excluded (ask in channel)
- [ ] 8. Changes to our FAQ made (should be checked and if any changes needed, ask Jakub to made them)
#### 4) Before publishing
- [ ] 1. Translations for comms available (marketing, ask in the channel)
- [ ] 2. Promotional content ready (marketing, ask in channel)
- [ ] 3. Upload builds for DO store, https://dev.status.im/ (Jakub)
#### 5) At time of publishing
- [ ] 1. Notify marketing to push comms and blog post (Jonny + get review on blog from QA team)
- [ ] 2. Publish release to app store and playstore
- [ ] 3. Final push to update prod site https://status.im/, [instructions](https://github.com/status-im/infra-docs/blob/master/articles/status_release_upload.md) (Jakub - requires credentials to upload)
- [ ] 4. Add the link to the post about the release and publish the release: https://github.com/status-im/status-mobile/releases (Jakub)
- [ ] 5. Merge PR for updating [RELEASES.md](https://github.com/status-im/status-mobile/blob/develop/RELEASES.md) (from 1.3 step)
+26
View File
@@ -0,0 +1,26 @@
---
name: Simple Issue Report
about: Simple issue report.
---
# Problem
An overview of the background required to understand the problem.
A problem description.
## Implementation
Known steps towards feature implementation.
What needs further specifying and investigating.
## Acceptance Criteria
Rules for the future PR to be accepted.
## Notes
Random notes to keep in mind while implementing it. Mostly about related issues and future plans and thoughts.
## Future Steps
Steps which should be taken after this issue has been resolved.
+54 -4
View File
@@ -1,16 +1,66 @@
[comment]: # (Please replace ... with your information. Remove < and >)
[comment]: # (To auto-close issue on merge, please insert the related issue number after # i.e fixes #566)
If you submit PR for issue with bounty then write here Fixes #NN where NN is issue number
*otherwise*
fixes #...
### Summary:
### Summary
[comment]: # (Summarise the problem and how the pull request solves it)
...
### Steps to test:
<!-- (Optional, remove if no changes to documentation) -->
Documentation change PR (review please): https://github.com/status-im/status.im/pull/xxx
### Review notes
<!-- (Optional. Specify if something in particular should be looked at, or ignored, during review) -->
### Testing notes
<!-- (Optional) -->
#### Platforms
<!-- (Optional. Specify which platforms should be tested) -->
- Android
- iOS
- macOS
- Linux
- Windows
#### Areas that maybe impacted
<!-- (Optional. Specify if some specific areas has to be tested, for example 1-1 chats) -->
##### Functional
- 1-1 chats
- public chats
- group chats
- wallet / transactions
- dapps / app browsing
- account recovery
- new account
- user profile updates
- networks
- mailservers
- fleet
- bootnodes
##### Non-functional
- battery performance
- CPU performance / speed of the app
- network consumption
### Steps to test
<!-- (Specify exact steps to test if there are such) -->
- Open Status
- ...
- Step 3, etc.
[comment]: # (PRs will only be accepted if squashed into single commit.)
status: <ready|wip>
<!-- (PRs will only be accepted if squashed into single commit.) -->
status: ready <!-- Can be ready or wip -->
+26
View File
@@ -0,0 +1,26 @@
# Set to true to add reviewers to pull requests
addReviewers: true
# Set to true to add assignees to pull requests
addAssignees: false
# A list of reviewers to be added to pull requests (GitHub user name)
reviewers:
- status-im/status-core
# A number of reviewers added to the pull request
# Set 0 to add all the reviewers (default: 0)
numberOfReviewers: 0
# A list of assignees, overrides reviewers if set
# assignees:
# - status-im/status-core
# A number of assignees to add to the pull request
# Set to 0 to add all of the assignees.
# Uses numberOfReviewers if unset.
# numberOfAssignees: 2
# A list of keywords to be skipped the process that add reviewers if pull requests include it
skipKeywords:
- wip
+18
View File
@@ -0,0 +1,18 @@
_extends: probot-settings
project-board:
name: 'Pipeline for QA'
min-reviewers: 1
tested-pr-label-name: 'Tested - Issues'
contributor-column-name: 'CONTRIBUTOR'
to-rebase-column-name: 'TO REBASE'
review-column-name: 'REVIEW'
test-column-name: 'E2E Tests'
automated-tests:
repo-full-name: 'status-im/status-mobile'
job-full-name: 'status-mobile/e2e/status-app-prs'
kickoff-column-name: 'E2E Tests'
github-team:
slug: 'clojure'
+6
View File
@@ -0,0 +1,6 @@
{
"recipients": [
"jakubgs",
"corpetty"
]
}
+16
View File
@@ -0,0 +1,16 @@
daysUntilStale: 90
daysUntilClose: 7
exemptLabels:
- 'wall of shame'
- security
staleLabel: stale
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: >
This issue has been automatically closed. Please re-open if this issue
is important to you.
pulls:
daysUntilStale: 14
+112 -7
View File
@@ -7,6 +7,8 @@
# Xcode
#
/component-spec
result/
build/
*.pbxuser
!default.pbxuser
@@ -29,25 +31,42 @@ project.xcworkspace
#
.idea
.gradle
*.iml
**/android/.project
**/android/.settings/org.eclipse.buildship.core.prefs
local.properties
status-im.iml
# Atom
.tags*
# VS Code
.vscode/
workspace.code-workspace
# node.js
#
node_modules/
node_modules.tmp/
npm-debug.log
yarn-error.log
default.realm/
# BUCK
buck-out/
\.buckd/
android/app/libs
android/app/obj
android/keystores/debug.keystore
!debug.keystore
# Generated by re-natal
# Generated by clj-rn
#
index.android.js
index.ios.js
target/
env/dev/env/config.cljs
externs/
shim.js
# Generated by lein voom
#
@@ -64,18 +83,104 @@ figwheel_server.log
.lein-failures
.lein-repl-history
# Shadow
.shadow-cljs
## Doo
#
out
doo-index.html
# Re-natal
re-natal
# Bundler
.bundle
# Status
Statusgo.framework
status-dev-cli
Statusgo.xcframework
#ios
ios/Pods
ios/StatusIm.xcworkspace
/ios/Pods/
/ios/StatusIm.xcworkspace
/ios/react-native-xcode.log
/ios/set_xcode_version.log
.ruby-version
status-e2e/
#python
*.pyc
*.cache
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/README.md
# Clj
.cpcache/
# emacs
.dir-locals.el
# We don't use NPM
/package-lock.json
/.re-natal
/re-natal
# Jenkins
pkg
/BUILD_NUMBER
# Conan
conan*.txt
conanbuildinfo.*
conan.cmake
# Env
.env.bkp
# nix
/.ran-setup
/.nix-gcroots/
/result
# modules
status-modules/translations
status-modules/cljs
status-modules/resources
## coverage
/.nyc_output
/coverage-report
## fiddle
/fiddle/node_modules/
/fiddle/target/
/fiddle/resources/public/images/
trace.edn
/app/
project.clj
##appium
test/appium/report/
result.xml
test/appium/tests/users.py
##node bindings
/bin/
/lib/
## visual tests
/artifacts
/.calva/
## component-tests
*.log
+16
View File
@@ -0,0 +1,16 @@
Andrea Maria Piana <cammellos@cammelloss-MacBook-Pro.local>
Aleksandr Pantyukhov <alwxndr@gmail.com>
Aleksandr Pantyukhov <me@alwx.me>
Anton Danchenko <adan@ciklum.com>
Chad Jackson <chad@status.im>
Dmitry Shulyak <yashulyak@gmail.com>
Eric Dvorsak <yenda1@gmail.com>
Eric Dvorsak <eric@dvorsak.fr>
Eric Dvorsak <eric@status.im>
George Lipov <gnl@lipov.net>
Goran Jović <goranjovic@gmail.com>
Jan Herich <jan.herich@gmail.com>
Jan Herich <ot73589@OT73589M1.local>
Jakub Sokołowski <i+github@always.fail>
Jarrad Hope <jarrad@Jarrads-iMac.local>
Oskar Thorén <ot@oskarthoren.com>
+17
View File
@@ -0,0 +1,17 @@
{
"include": [
"target/test/status_im/**"
],
"exclude": [
"target/test/status_im/test/**",
"target/test/status_im/ui/**"
],
"report-dir": "./coverage-report",
"all": true,
"source-map": true,
"produce-source-map": true,
"instrument": true,
"exclude-after-remap": false,
"extension": [".js"],
"reporter": ["lcovonly"]
}
+7
View File
@@ -0,0 +1,7 @@
module.exports = {
bracketSpacing: false,
bracketSameLine: true,
singleQuote: true,
trailingComma: 'all',
tabWidth: 4,
};
-56
View File
@@ -1,56 +0,0 @@
{
"name": "StatusIm",
"interface": "reagent",
"androidHost": "localhost",
"modules": [
"react-native-contacts",
"react-native-invertible-scroll-view",
"awesome-phonenumber",
"realm",
"react-native-i18n",
"realm/react-native",
"react-native-action-button",
"react-native-vector-icons/Ionicons",
"react-native-vector-icons/Octicons",
"react-native-randombytes",
"dismissKeyboard",
"react-native-linear-gradient",
"react-native-splash-screen",
"react-native-android-sms-listener",
"react-native-status",
"react-native-camera",
"react-native-qrcode",
"react-native-orientation",
"identicon.js",
"react-native-fs",
"react-native-dialogs",
"react-native-popup-menu",
"react-native-sortable-listview",
"react-native-image-resizer",
"react-native-image-crop-picker",
"react-native-webview-bridge",
"react-native-drawer-layout",
"homoglyph-finder",
"web3",
"eccjs",
"chance",
"react-native-swiper",
"react-native-emoji-picker",
"react-native-autolink",
"instabug-reactnative",
"nfc-react-native",
"react-native-http-bridge",
"emojilib",
"react-native-mapbox-gl",
"bignumber.js",
"react-native-config"
],
"imageDirs": [
"images"
],
"iosHost": "10.0.1.4",
"envRoots": {
"dev": "env/dev",
"prod": "env/prod"
}
}
+6 -1
View File
@@ -1 +1,6 @@
{}
{
"ignore_dirs": [
"android/build",
"target"
]
}
+48
View File
@@ -0,0 +1,48 @@
;; -*- mode: clojure -*-
;; vi: ft=clojure
{:width 105
:style [;; community style
;; https://github.com/kkinnear/zprint/blob/main/doc/reference.md#community
:community
;; no comma in map
:no-comma
:custom-justify
;; respect all newlines
;; https://github.com/kkinnear/zprint/blob/main/doc/reference.md#respect-nl
:respect-nl
;; respect blank line
;; https://github.com/kkinnear/zprint/blob/main/doc/reference.md#respect-bl
:respect-bl]
:fn-map
{"reg-sub" :arg1-pair
"h/describe" :arg1-body
"h/test" :arg1-body
"global.describe" :arg1-body
"global.test" :arg1-body
"list-comp" :binding
"defview" :arg1-body
"letsubs" :binding
"testing" :arg1-body
"deftest-sub" :arg1-body
"wait-for" :arg1-body
"with-deps-check" :arg1-body
"->" [:noarg1-body
{:list {:constant-pair? false :force-nl? false}
:next-inner-restore [[:list :constant-pair?]]}]
"set!" "reset!"
"assoc-when" "assoc"
"assoc-some" "assoc"
"conj-when" "conj"
"conj-some" "conj"}
:remove {:fn-force-nl #{:noarg1-body}}
:style-map
{:no-comma {:map {:comma? false}}
:custom-justify
{:doc "Justify everything using pre-1.1.2 approach"
:binding {:justify? true :justify {:max-variance 1000}}
:map {:justify? true :justify {:max-variance 1000}}
:pair {:justify? true :justify {:max-variance 1000}}}}}
-24
View File
@@ -1,24 +0,0 @@
# Change Log
All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).
## [Unreleased][unreleased]
### Changed
- Add a new arity to `make-widget-async` to provide a different widget shape.
## [0.1.1] - 2016-03-23
### Changed
- Documentation on how to make the widgets.
### Removed
- `make-widget-sync` - we're all async, all the time.
### Fixed
- Fixed widget maker to keep working when daylight savings switches over.
## 0.1.0 - 2016-03-23
### Added
- Files from the new template.
- Widget maker public API - `make-widget-sync`.
[unreleased]: https://github.com/your-name/status-im/compare/0.1.1...HEAD
[0.1.1]: https://github.com/your-name/status-im/compare/0.1.0...0.1.1
Vendored
-83
View File
@@ -1,83 +0,0 @@
env.LANG="en_US.UTF-8"
env.LANGUAGE="en_US.UTF-8"
env.LC_ALL="en_US.UTF-8"
node {
def apkUrl = ''
def ipaUrl = ''
def testPassed = true
sh 'source /etc/profile'
try {
stage('Git & Dependencies') {
git([url: 'https://github.com/status-im/status-react.git', branch: env.BRANCH_NAME])
// Checkout master because used for iOS Plist version information
sh 'git checkout -- .'
sh 'git checkout master'
sh 'git checkout ' + env.BRANCH_NAME
sh 'rm -rf node_modules'
sh 'cp .env.jenkins .env'
sh 'lein deps && npm install && ./re-natal deps'
sh 'sed -i "" "s/301000/601000/g" node_modules/react-native/packager/src/JSTransformer/index.js'
sh 'lein generate-externs'
sh 'mvn -f modules/react-native-status/ios/RCTStatus dependency:unpack'
sh 'cd ios && pod install && cd ..'
}
stage('Tests') {
sh 'lein test-cljs'
}
stage('Build') {
sh 'lein prod-build'
}
// Android
stage('Build (Android)') {
sh 'cd android && ./gradlew assembleRelease'
}
stage('Deploy (Android)') {
withCredentials([string(credentialsId: 'diawi-token', variable: 'token')]) {
def job = sh(returnStdout: true, script: 'curl https://upload.diawi.com/ -F token='+token+' -F file=@android/app/build/outputs/apk/app-release.apk -F find_by_udid=0 -F wall_of_apps=0 | jq -r ".job"').trim()
sh 'sleep 10'
def hash = sh(returnStdout: true, script: "curl -vvv 'https://upload.diawi.com/status?token="+token+"&job="+job+"'|jq -r '.hash'").trim()
apkUrl = 'https://i.diawi.com/' + hash
}
}
// try {
// stage('Test (Android)') {
// sauce('b9aded57-5cc1-4f6b-b5ea-42d989987852') {
// sh 'cd test/appium && mvn -DapkUrl=' + apkUrl + ' test'
// saucePublisher()
// }
// }
// } catch(e) {
// testPassed = false
// }
// iOS
stage('Build (iOS)') {
sh 'export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace ios/StatusIm.xcworkspace -scheme StatusIm -configuration release -archivePath status clean archive'
sh 'xcodebuild -exportArchive -exportPath status -archivePath status.xcarchive -exportOptionsPlist /Users/Xcloud/archive.plist'
}
stage('Deploy (iOS)') {
withCredentials([string(credentialsId: 'diawi-token', variable: 'token')]) {
def job = sh(returnStdout: true, script: 'curl https://upload.diawi.com/ -F token='+token+' -F file=@status/StatusIm.ipa -F find_by_udid=0 -F wall_of_apps=0 | jq -r ".job"').trim()
sh 'sleep 10'
def hash = sh(returnStdout: true, script: "curl -vvv 'https://upload.diawi.com/status?token="+token+"&job="+job+"'|jq -r '.hash'").trim()
ipaUrl = 'https://i.diawi.com/' + hash
}
}
} catch (e) {
slackSend color: 'bad', message: env.BRANCH_NAME + ' failed to build. ' + env.BUILD_URL
throw e
}
stage('Slack Notification') {
def c = (testPassed ? 'good' : 'warning' )
slackSend color: c, message: 'Branch: ' + env.BRANCH_NAME + '\nTests: ' + (testPassed ? ':+1:' : ':-1:') + ')\nAndroid: ' + apkUrl + '\n iOS: ' + ipaUrl
}
}
+402
View File
@@ -0,0 +1,402 @@
.PHONY: nix-add-gcroots clean nix-clean run-metro test release _list _fix-node-perms _tmpdir-rm
help: SHELL := /bin/sh
help: ##@other Show this help
@perl -e '$(HELP_FUN)' $(MAKEFILE_LIST)
# This is a code for automatic help generator.
# It supports ANSI colors and categories.
# To add new item into help output, simply add comments
# starting with '##'. To add category, use @category.
GREEN := $(shell tput -Txterm setaf 2)
RED := $(shell tput -Txterm setaf 1)
WHITE := $(shell tput -Txterm setaf 7)
YELLOW := $(shell tput -Txterm setaf 3)
RESET := $(shell tput -Txterm sgr0)
HELP_FUN = \
%help; \
while(<>) { push @{$$help{$$2 // 'options'}}, [$$1, $$3] if /^([a-zA-Z\-]+)\s*:.*\#\#(?:@([a-zA-Z\-]+))?\s(.*)$$/ }; \
print "Usage: make [target]\n\nSee STARTING_GUIDE.md for more info.\n\n"; \
for (sort keys %help) { \
print "${WHITE}$$_:${RESET}\n"; \
for (@{$$help{$$_}}) { \
$$sep = " " x (32 - length $$_->[0]); \
print " ${YELLOW}$$_->[0]${RESET}$$sep${GREEN}$$_->[1]${RESET}\n"; \
}; \
print "\n"; \
}
HOST_OS := $(shell uname | tr '[:upper:]' '[:lower:]')
# This can come from Jenkins
ifndef BUILD_TAG
export BUILD_TAG := $(shell git rev-parse --short HEAD)
endif
# We don't want to use /run/user/$UID because it runs out of space too easilly.
export TMPDIR = /tmp/tmp-status-mobile-$(BUILD_TAG)
# This has to be specified for both the Node.JS server process and the Qt process.
export REACT_SERVER_PORT ?= 5001
# Fix for ERR_OSSL_EVP_UNSUPPORTED error.
export NODE_OPTIONS += --openssl-legacy-provider
# The path can be anything, but home is usually safest.
export KEYSTORE_PATH ?= $(HOME)/.gradle/status-im.keystore
# Our custom config is located in nix/nix.conf
export NIX_CONF_DIR = $(PWD)/nix
# Location of symlinks to derivations that should not be garbage collected
export _NIX_GCROOTS = /nix/var/nix/gcroots/per-user/$(USER)/status-mobile
# Defines which variables will be kept for Nix pure shell, use semicolon as divider
export _NIX_KEEP ?= TMPDIR,BUILD_ENV,STATUS_GO_SRC_OVERRIDE
# Useful for Android release builds
TMP_BUILD_NUMBER := $(shell ./scripts/version/gen_build_no.sh | cut -c1-10)
# MacOS root is read-only, read nix/README.md for details
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
export NIX_IGNORE_SYMLINK_STORE=1
endif
#----------------
# Nix targets
#----------------
# WARNING: This has to be located right before all the targets.
SHELL := ./nix/scripts/shell.sh
shell: export TARGET ?= default
shell: ##@prepare Enter into a pre-configured shell
ifndef IN_NIX_SHELL
@ENTER_NIX_SHELL
else
@echo "${YELLOW}Nix shell is already active$(RESET)"
endif
nix-repl: SHELL := /bin/sh
nix-repl: ##@nix Start an interactive Nix REPL
nix repl default.nix
nix-gc-protected: SHELL := /bin/sh
nix-gc-protected:
@echo -e "$(YELLOW)The following paths are protected:$(RESET)" && \
ls -1 $(_NIX_GCROOTS) | sed 's/^/ - /'
nix-gc: export TARGET := nix
nix-gc: nix-gc-protected ##@nix Garbage collect all packages older than 20 days from /nix/store
nix-store --gc
nix-clean: export TARGET := default
nix-clean: ##@nix Remove all status-mobile build artifacts from /nix/store
nix/scripts/clean.sh
nix-purge: SHELL := /bin/sh
nix-purge: ##@nix Completely remove Nix setup, including /nix directory
nix/scripts/purge.sh
nix-update-gradle: export TARGET := gradle
nix-update-gradle: ##@nix Update maven nix expressions based on current gradle setup
nix/deps/gradle/generate.sh
nix-update-clojure: export TARGET := clojure
nix-update-clojure: ##@nix Update maven Nix expressions based on current clojure setup
nix/deps/clojure/generate.sh
nix-update-gems: export TARGET := default
nix-update-gems: ##@nix Update Ruby gems in fastlane/Gemfile.lock and fastlane/gemset.nix
fastlane/update.sh
nix-update-pods: export TARGET := ios
nix-update-pods: ##@nix Update CocoaPods in ios/Podfile.lock
cd ios && pod update
#----------------
# General targets
#----------------
_fix-node-perms: SHELL := /bin/sh
_fix-node-perms: ##@prepare Fix permissions so that directory can be cleaned
$(shell test -d node_modules && chmod -R 744 node_modules)
$(shell test -d node_modules.tmp && chmod -R 744 node_modules.tmp)
$(TMPDIR): SHELL := /bin/sh
$(TMPDIR): ##@prepare Create a TMPDIR for temporary files
@mkdir -p "$(TMPDIR)"
# Make sure TMPDIR exists every time make is called
_tmpdir-mk: $(TMPDIR)
-include _tmpdir-mk
_tmpdir-rm: SHELL := /bin/sh
_tmpdir-rm: ##@prepare Remove TMPDIR
rm -fr "$(TMPDIR)"
_install-hooks: SHELL := /bin/sh
_install-hooks: ##@prepare Create prepare-commit-msg git hook symlink
@ln -s -f ../../scripts/hooks/prepare-commit-msg .git/hooks
-include _install-hooks
# Remove directories and ignored files
clean: SHELL := /bin/sh
clean: _fix-node-perms _tmpdir-rm ##@prepare Remove all output folders
git clean -dXf
# Remove directories, ignored and non-ignored files
purge: SHELL := /bin/sh
purge: _fix-node-perms _tmpdir-rm ##@prepare Remove all output folders
git clean -dxf
watchman-clean: export TARGET := watchman
watchman-clean: ##@prepare Delete repo directory from watchman
watchman watch-del $${STATUS_MOBILE_HOME}
pod-install: export TARGET := ios
pod-install: ##@prepare Run 'pod install' to install podfiles and update Podfile.lock
cd ios && pod install; cd --
update-fleets: ##@prepare Download up-to-date JSON file with current fleets state
curl -s https://fleets.status.im/ \
| sed 's/"warning": "/"warning": "DO NOT EDIT! /' \
> resources/config/fleets.json
$(KEYSTORE_PATH): export TARGET := keytool
$(KEYSTORE_PATH):
@./scripts/generate-keystore.sh
keystore: $(KEYSTORE_PATH) ##@prepare Generate a Keystore for signing Android APKs
fdroid-max-watches: SHELL := /bin/sh
fdroid-max-watches: ##@prepare Bump max_user_watches to avoid ENOSPC errors
sysctl fs.inotify.max_user_watches=524288
fdroid-nix-dir: SHELL := /bin/sh
fdroid-nix-dir: ##@prepare Create /nix directory for F-Droid Vagrant builders
mkdir -m 0755 /nix
chown vagrant /nix
fdroid-fix-tmp: SHELL := /bin/sh
fdroid-fix-tmp: ##@prepare Fix TMPDIR permissions so Vagrant user is the owner
chown -R vagrant "$(TMPDIR)"
fdroid-build-env: fdroid-max-watches fdroid-nix-dir fdroid-fix-tmp ##@prepare Setup build environment for F-Droud build
fdroid-pr: export TARGET := android-sdk
fdroid-pr: ##@prepare Create F-Droid release PR
ifndef APK
$(error APK env var not defined)
endif
scripts/fdroid-pr.sh "$(APK)"
xcode-clean: SHELL := /bin/sh
xcode-clean: XCODE_HOME := $(HOME)/Library/Developer/Xcode
xcode-clean: ##@prepare Clean XCode derived data and archives
rm -fr $(XCODE_HOME)/DerivedData/StatusIm-* $(XCODE_HOME)/Archives/*/StatusIm*
#----------------
# Release builds
#----------------
release: release-android release-ios ##@build Build release for Android and iOS
build-fdroid: export BUILD_ENV = prod
build-fdroid: export BUILD_TYPE = release
build-fdroid: export ANDROID_ABI_SPLIT = false
build-fdroid: export ANDROID_ABI_INCLUDE = armeabi-v7a;arm64-v8a;x86;x86_64
build-fdroid: ##@build Build release for F-Droid
@scripts/build-android.sh
build-android: export BUILD_ENV ?= prod
build-android: export BUILD_TYPE ?= nightly
build-android: export BUILD_NUMBER ?= $(TMP_BUILD_NUMBER)
build-android: export ANDROID_ABI_SPLIT ?= false
build-android: export ANDROID_ABI_INCLUDE ?= armeabi-v7a;arm64-v8a;x86
build-android: ##@build Build unsigned Android APK
@scripts/build-android.sh
release-android: export TARGET := keytool
release-android: export KEYSTORE_PATH ?= $(HOME)/.gradle/status-im.keystore
release-android: keystore build-android ##@build Build signed Android APK
@scripts/sign-android.sh result/app-release-unsigned.apk
release-ios: export TARGET := ios
release-ios: export BUILD_ENV ?= prod
release-ios: watchman-clean ##@build Build release for iOS release
@git clean -dxf -f target/ios && \
$(MAKE) jsbundle-ios && \
xcodebuild -workspace ios/StatusIm.xcworkspace -scheme StatusIm -configuration Release -destination 'generic/platform=iOS' -UseModernBuildSystem=N clean archive
jsbundle-android: SHELL := /bin/sh
jsbundle-android: export TARGET := android
jsbundle-android: export BUILD_ENV ?= prod
jsbundle-android: ##@jsbundle Compile JavaScript and Clojurescript into app directory
# Call nix-build to build the 'targets.mobile.android.jsbundle' attribute and copy the.js files to the project root
nix/scripts/build.sh targets.mobile.android.jsbundle && \
mv result/*.js ./
jsbundle-ios: export TARGET := ios
jsbundle-ios: export BUILD_ENV ?= prod
jsbundle-ios: ##@jsbundle Compile JavaScript and Clojure into index.ios.js
yarn shadow-cljs release mobile
#--------------
# status-go lib
#--------------
status-go-android: SHELL := /bin/sh
status-go-android: ##@status-go Compile status-go for Android app
nix/scripts/build.sh targets.status-go.mobile.android
status-go-ios: SHELL := /bin/sh
status-go-ios: ##@status-go Compile status-go for iOS app
nix/scripts/build.sh targets.status-go.mobile.ios
status-go-library: SHELL := /bin/sh
status-go-library: ##@status-go Compile status-go for node-js
nix/scripts/build.sh targets.status-go.library
#--------------
# Watch, Build & Review changes
#--------------
run-clojure: export TARGET := clojure
run-clojure: ##@run Watch for and build Clojure changes for mobile
yarn shadow-cljs watch mobile
run-metro: export TARGET := clojure
run-metro: ##@run Start Metro to build React Native changes
@scripts/start-react-native.sh
run-re-frisk: export TARGET := clojure
run-re-frisk: ##@run Start re-frisk server
yarn shadow-cljs run re-frisk-remote.core/start
# TODO: Migrate this to a Nix recipe, much the same way as nix/mobile/android/targets/release-android.nix
run-android: export TARGET := android
run-android: ##@run Build Android APK and start it on the device
npx react-native run-android --appIdSuffix debug
SIMULATOR=iPhone 13
run-ios: export TARGET := ios
run-ios: ##@run Build iOS app and start it in a simulator/device
ifneq ("$(SIMULATOR)", "")
npx react-native run-ios --simulator="$(SIMULATOR)"
else
npx react-native run-ios
endif
#--------------
# Tests
#--------------
# Get all clojure files, including untracked, excluding removed
define find_all_clojure_files
$$(comm -23 <(sort <(git ls-files --cached --others --exclude-standard)) <(sort <(git ls-files --deleted)) | grep -e \.clj$$ -e \.cljs$$ -e \.cljc$$ -e \.edn)
endef
lint: export TARGET := default
lint: ##@test Run code style checks
@sh scripts/lint-re-frame-in-quo-components.sh && \
clj-kondo --config .clj-kondo/config.edn --cache false --lint src && \
ALL_CLOJURE_FILES=$(call find_all_clojure_files) && \
zprint '{:search-config? true}' -sfc $$ALL_CLOJURE_FILES
# NOTE: We run the linter twice because of https://github.com/kkinnear/zprint/issues/271
lint-fix: export TARGET := default
lint-fix: ##@test Run code style checks and fix issues
ALL_CLOJURE_FILES=$(call find_all_clojure_files) && \
zprint '{:search-config? true}' -sw $$ALL_CLOJURE_FILES && \
zprint '{:search-config? true}' -sw $$ALL_CLOJURE_FILES
shadow-server: export TARGET := clojure
shadow-server:##@ Start shadow-cljs in server mode for watching
yarn shadow-cljs server
test-watch: export TARGET := clojure
test-watch: ##@ Watch tests and re-run no changes to cljs files
yarn install
nodemon --exec 'yarn shadow-cljs compile mocks && yarn shadow-cljs compile test && node --require ./test-resources/override.js target/test/test.js' -e cljs
test-watch-for-repl: export TARGET := clojure
test-watch-for-repl: ##@ Watch tests and support REPL connections
yarn install
rm -f target/test/test.js
concurrently --kill-others --prefix-colors 'auto' --names 'build,repl' \
'yarn shadow-cljs compile mocks && yarn shadow-cljs watch test --verbose' \
'until [ -f ./target/test/test.js ] ; do sleep 1 ; done ; node --require ./test-resources/override.js ./target/test/test.js --repl'
test: export TARGET := clojure
test: ##@test Run tests once in NodeJS
# Here we create the gyp bindings for nodejs
yarn install
yarn shadow-cljs compile mocks && \
yarn shadow-cljs compile test && \
node --require ./test-resources/override.js target/test/test.js
run-visual-test-ios: export TARGET := clojure
run-visual-test-ios: XCODE_DERIVED_DATA := $(HOME)/Library/Developer/Xcode/DerivedData
run-visual-test-ios: APPLICATION_NAME := StatusIm-brfnruzfrkkycpbndmdoeyrigthc
run-visual-test-ios: export TEST_BINARY_PATH := $(XCODE_DERIVED_DATA)/$(APPLICATION_NAME)/Build/Products/Debug-iphonesimulator/StatusIm.app
run-visual-test-ios: ##@test Run tests once in NodeJS
detox test --configuration ios.sim.debug
component-test-watch: export TARGET := clojure
component-test-watch: export COMPONENT_TEST := true
component-test-watch: export BABEL_ENV := test
component-test-watch: ##@ Watch tests and re-run no changes to cljs files
yarn install
nodemon --exec 'yarn shadow-cljs compile component-test && jest --config=test/jest/jest.config.js' -e cljs
component-test: export TARGET := clojure
component-test: export COMPONENT_TEST := true
component-test: export BABEL_ENV := test
component-test: ##@test Run tests once in NodeJS
# Here we create the gyp bindings for nodejs
yarn shadow-cljs compile component-test && \
jest --config=test/jest/jest.config.js
# Other
#--------------
geth-connect: export TARGET := android-sdk
geth-connect: ##@other Connect to Geth on the device
adb forward tcp:8545 tcp:8545 && \
build/bin/geth attach http://localhost:8545
android-clean: export TARGET := gradle
android-clean: ##@prepare Clean Gradle state
git clean -dxf -f ./android/app/build; \
[[ -d android/.gradle ]] && cd android && ./gradlew clean
android-ports: export TARGET := android-sdk
android-ports: ##@other Add proxies to Android Device/Simulator
adb reverse tcp:8081 tcp:8081 && \
adb reverse tcp:3449 tcp:3449 && \
adb reverse tcp:4567 tcp:4567 && \
adb forward tcp:5561 tcp:5561
android-devices: export TARGET := android-sdk
android-devices: ##@other Invoke adb devices
adb devices
android-logcat: export TARGET := android-sdk
android-logcat: ##@other Read status-mobile logs from Android phone using adb
adb logcat | grep -e RNBootstrap -e ReactNativeJS -e ReactNative -e StatusModule -e StatusNativeLogs -e 'F DEBUG :' -e 'Go :' -e 'GoLog :' -e 'libc :'
android-install: export TARGET := android-sdk
android-install: export BUILD_TYPE ?= release
android-install: ##@other Install APK on device using adb
adb install result/app-$(BUILD_TYPE).apk
_list: SHELL := /bin/sh
_list:
@$(MAKE) -pRrq -f $(lastword $(MAKEFILE_LIST)) : 2>/dev/null | awk -v RS= -F: '/^# File/,/^# Finished Make data base/ {if ($$1 !~ "^[#.]") {print $$1}}' | sort | egrep -v -e '^[^[:alnum:]]' -e '^$@$$'
#--------------
# REPLs
#--------------
repl-clojure: export TARGET := clojure
repl-clojure: ##@repl Start Clojure repl for mobile App
yarn shadow-cljs cljs-repl mobile
repl-nix: nix-repl ##@repl Start an interactive Nix REPL
+40 -57
View File
@@ -1,96 +1,79 @@
![Status - A Browser, Messenger, and gateway to the decentralized world of Ethereum](https://status.im/img/status-github-banner@2x.png?v=1.1 "Status - A Browser, Messenger, and gateway to the decentralised world of Ethereum")
[![Build Status](https://saucelabs.com/buildstatus/jarrad-status)](https://saucelabs.com/beta/builds/50ccf11ec1a44d88b6eb989929e5789f)
# Status - a Mobile Ethereum Operating System
[<img src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png" alt="Get it on Google Play" height="80"/>](https://play.google.com/store/apps/details?id=im.status.ethereum)
[<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png" alt="Get it on F-Droid" height="80"/>](https://f-droid.org/packages/im.status.ethereum/)
[<img src="doc/github_badge.png" alt="Get it on Github" height="80"/>](https://github.com/status-im/status-mobile/releases)
Join us in creating a browser, messenger, and gateway to a decentralized world. Status is a free (libre) open source mobile client targeting Android & iOS built entirely on [Ethereum](https://ethereum.org/) technologies. That's right, no middle men and `go-ethereum` running directly on your device.
[![Getting started with Status](https://i.imgur.com/C0aZZEL.jpg)](https://www.youtube.com/watch?v=oDCSEmS9c3o "Getting started with Status")
## Why?
We believe in a medium of pure free trade, economies with fair, permission-less access and a world without intermediaries. We want to create policies that can exist between friends or scale globally, we want to communicate securely and be uninhibited by legacy systems.
We believe in a medium of pure free trade, economies with fair, permission-less access and a world without intermediaries. We want to create policies that can exist between friends or scale globally, we want to communicate securely and be uninhibited by legacy systems.
We want to take responsibility for our data, the way we conduct ourselves privately and promote this way of life to a mass audience.
We want deep insights into our own economies so we can make informed, data-driven decisions on how to make our lives better. The Ethereum blockchain, Smart Contracts, Swarm and Whisper provides us a path forward.
We want deep insights into our own economies so we can make informed, data-driven decisions on how to make our lives better. The Ethereum blockchain, Smart Contracts, Swarm and Whisper provides us a path forward.
If this interests you, **help us make Status a reality** - anyone can contribute and we need everyone at any skill level to participate.
## How to Contribute?
Go straight to the [wiki](https://wiki.status.im) or [join our Slack](http://slack.status.im) or choose what interests you:
Go straight to the [docs](https://status.im/docs) or [join our chat](https://join.status.im/chat/public/status) and choose what interests you:
- **Developer**
Developers are the heart of software and to keep Status beating we need all the help we can get! If you're looking to code in ClojureScript or Golang then Status is the project for you! We use React Native and there is even some Java/Objective-C too!
Want to learn more about it? Start by reading our [Developer Introduction](http://wiki.status.im/contributing/development/introduction/) which guides you through the technology stack and and start browsing [beginner issues](https://github.com/status-im/status-react/issues?q=is%3Aopen+is%3Aissue+label%3Abeginner). Then you can read how to [Build Status](http://wiki.status.im/contributing/development/building-status/), which talks about managing project dependencies, coding guidelines and testing procedures.
- **Developer** Developers are the heart of software and to keep Status beating
we need all the help we can get! If you're looking to code in ClojureScript or
Golang then Status is the project for you! We use React Native and there is even
some Java/Objective-C too! Want to learn more about it? Start by reading our
[Developer Introduction](https://status.im/developer_tools/) which guides you
through the technology stack and start browsing [beginner
issues](https://github.com/status-im/status-mobile/issues?utf8=%E2%9C%93&q=is%3Aopen%20is%3Aissue%20label%3A%22good%20first%20issue%22%20).
Then you can read how to [Build
Status](https://status.im/technical/build_status/), which talks about managing
project dependencies, coding guidelines and testing procedures. The [doc/](doc/)
directory also has valuable information for contributors.
- **Community Management**
Metcalfe's law states that the value of a network is proportional to the square of the number of connected users of the system - without community Status is meaningless. We're looking to create a positive, fun environment to explore new ideas, experiment and grow the Status community. Building a community takes alot of work but the people you'll meet and long lasting relationships you form will be well worth it, check out our [Community Development Guide](https://wiki.status.im/community/how-to-grow-our-community/)
- **Community Management**
Metcalfe's law states that the value of a network is proportional to the square of the number of connected users of the system - without community Status is meaningless. We're looking to create a positive, fun environment to explore new ideas, experiment and grow the Status community. Building a community takes a lot of work but the people you'll meet and long lasting relationships you form will be well worth it, check out our [Mission and Community Principles](https://status.im/about)
- **Specification / Documentation**
John Dewey once said "Education is not preparation for life; education is life *itself* ". Developers & Designers need guidance and it all starts from documentation and specifications. Our software is only as good as its documentation, head over to our [wiki](https://wiki.status.im) and see how you can improve what we have.
- **Specification / Documentation**
John Dewey once said "Education is not preparation for life; education is life *itself* ". Developers & Designers need guidance and it all starts from documentation and specifications. Our software is only as good as its documentation, head over to our [docs](https://status.im/docs) and see how you can improve what we have.
- **Blog Writing**
Content is King, keeping our blog up to date and informing the community of news helps keep everyone on the same page. [Jump on our Slack](http://slack.status.im) and discuss with Carl how you can contribute.
- **Blog Writing**
Content is King, keeping our blog up to date and informing the community of news helps keep everyone on the same page. [Jump into our chat](https://join.status.im/chat/public/status) and discuss with the team how you can contribute!
- **Marketing**
In this day and age attention is limited, we need all the help we can get to find people who are interested in Status, whether that is paid user acquisition, public relations or hype building, check out our [Community Outreach and Marketing Guide](http://wiki.status.im/contributing/outreach/) to see how you can spread the word.
- **Testers**
It's bug hunting season! Status is currently under active development and there is sure to be a bunch of learning, [build status from scratch](https://status.im/technical/build_status/) or if an android user check out our [nightly builds](https://status.im/nightly). You can shake your phone to submit bug reports, or start browsing our [Github Issues](https://github.com/status-im/status-mobile/issues). Every bug you find brings Status closer to stable, usable software for everyone to enjoy!
- **Testers**
It's bug hunting season! Status is currently in Alpha and there are sure to be a bunch of education, [grab your fresh copy of Status](http://wiki.status.im/contributing/development/building-status/) and shake your phone to submit bug reports, or start browsing our [Github Issues](http://github.com/status-im/status-react/issues). Every bug you find brings Status closer to stable, usable software for everyone to enjoy!
- **Security**
- **Security**
Status is a visual interface to make permanent changes on the Blockchain, it handles crypto-tokens that have real value and allows 3rd party code execution. Security is paramount to its success. You are given permission to break Status as hard as you can, as long as you share your findings with the community!
- **Design & User Experience**
It's all about that sex appeal, we want cryptocurrencies to be easy and fun to use, ugly software doesn't help adoption. [Check out our designs](http://wiki.status.im/contributing/design-guidelines/) and show us how to make them better!
- **Evangelism**
Help us spread the word! Tell a friend *right now*, in fact tell **everyone** - yell from a mountain if you have to, every person counts! If you've got a great story to tell or have some interesting way you've spread the word about Status let us know about it in our [chat](https://join.status.im/chat/public/status)
- **Evangelism**
Help us spread the word! Tell a friend *right now*, in fact tell **everyone** - yell from a mountain if you have to, every person counts!
## Status API
View our [API Docs](https://status.im/developer_tools/status_web_api.html) and learn how to integrate your DApp into Status. You can read more about how to add your DApp to Status [here](https://status.im/developer_tools/add_your_dapp.html).
## Give me Binaries!
Currently the fastest way to get your hands on a binary is to join our Early Access by submitting your email on our [website](https://status.im) or by [building it yourself](https://wiki.status.im/contributing/development/building-status/).
// TODO GPlay, TestFlight Instructions & FDroid
You can get our Beta builds for both Android and iOS on our [website](https://status.im), through our [nightly builds](https://status.im/nightly/) or by [building it yourself](https://status.im/technical/build_status/).
## Core Contributors
<img src="https://status.im/img/new-site/jarrad.png" width="80px"></img>
Jarrad ([@jarradh](https://github.com/jarradh)) - Cofounder and Thought Leader.
<img src="https://status.im/img/new-site/carl.png" width="80px"></img>
Carl ([@carlbennetts](https://github.com/carlbennetts)) - Cofounder and Communications & Marketing.
<img src="https://status.im/img/new-site/roman.png" width="80px"></img>
Roman ([@rasom](https://github.com/rasom)) - Clojure and project lead.
<img src="https://status.im/img/new-site/alexander.png" width="80px"></img>
Alexander ([@alwx](https://github.com/alwx)) - Clojure ninja!
<img src="https://status.im/img/new-site/andrey.png" width="80px"></img>
Andrey ([@flexsurfer](https://github.com/flexsurfer)) - Clojure.
<img src="https://status.im/img/new-site/gustavo.png" width="80px"></img>
Gustavo ([@GustavoNunes](https://github.com/GustavoNunes)) - Clojure.
<img src="https://status.im/img/new-site/victor.png" width="80px"></img>
Victor ([@farazdagi](https://github.com/farazdagi)) - Golang one-man-army.
<img src="https://status.im/img/new-site/andrei.png" width="80px"></img>
Andrei ([@andmironov](https://github.com/andmironov)) - Visual design and user experience conjurer.
[Core Team Members](https://github.com/orgs/status-im/people)
Special thanks to [@adrian-tiberius](https://github.com/adrian-tiberius).
Without the dedication of these fine gentleman, Status would not exist.
Without the dedication of these outstanding individuals, Status would not exist.
## Contact us
Feel free to email us at [support@status.im](mailto:support@status.im) or better yet, [join our Slack](http://slack.status.im).
Got a feature request or suggestion, download Status and shake your phone, failing that search our [Github Issues](http://github.com/status-im/status-react/issues).
Feel free to email us at [support@status.im](mailto:support@status.im) or better yet, [join our chat](https://join.status.im/chat/public/status).
## License
Licensed under the [Mozilla Public License v2.0](https://github.com/status-im/status-react/blob/develop/LICENSE.md)
Licensed under the [Mozilla Public License v2.0](https://github.com/status-im/status-mobile/blob/develop/LICENSE.md)
## Testing Supported by
[![BrowserStack Status](https://www.browserstack.com/automate/badge.svg?badge_key=SFBWQ3k5R2tnT2t6UGsxU1h1U0g3VFlCNnoxVTRHYWNoTDhsb1laaTJZWT0tLUZMUm5sSVFBSU9qSWM1RUJvK1I3Z3c9PQ==--ad15ae7992b432b33743749d40318952415bd98f)](https://www.browserstack.com/automate/public-build/SFBWQ3k5R2tnT2t6UGsxU1h1U0g3VFlCNnoxVTRHYWNoTDhsb1laaTJZWT0tLUZMUm5sSVFBSU9qSWM1RUJvK1I3Z3c9PQ==--ad15ae7992b432b33743749d40318952415bd98f)
+1336
View File
File diff suppressed because it is too large Load Diff
+1
View File
@@ -0,0 +1 @@
1.21.0
-66
View File
@@ -1,66 +0,0 @@
import re
# To learn about Buck see [Docs](https://buckbuild.com/).
# To run your application with Buck:
# - install Buck
# - `npm start` - to start the packager
# - `cd android`
# - `cp ~/.android/debug.keystore keystores/debug.keystore`
# - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck
# - `buck install -r android/app` - compile, install and run application
#
lib_deps = []
for jarfile in glob(['libs/*.jar']):
name = 'jars__' + re.sub(r'^.*/([^/]+)\.jar$', r'\1', jarfile)
lib_deps.append(':' + name)
prebuilt_jar(
name = name,
binary_jar = jarfile,
)
for aarfile in glob(['libs/*.aar']):
name = 'aars__' + re.sub(r'^.*/([^/]+)\.aar$', r'\1', aarfile)
lib_deps.append(':' + name)
android_prebuilt_aar(
name = name,
aar = aarfile,
)
android_library(
name = 'all-libs',
exported_deps = lib_deps
)
android_library(
name = 'app-code',
srcs = glob([
'src/main/java/**/*.java',
]),
deps = [
':all-libs',
':build_config',
':res',
],
)
android_build_config(
name = 'build_config',
package = 'im.status.ethereum',
)
android_resource(
name = 'res',
res = 'src/main/res',
package = 'im.status.ethereum',
)
android_binary(
name = 'app',
package_type = 'debug',
manifest = 'src/main/AndroidManifest.xml',
keystore = '//android/keystores:debug',
deps = [
':app-code',
],
)
+259 -74
View File
@@ -3,10 +3,13 @@ apply plugin: "com.android.application"
apply from: project(':react-native-config').projectDir.getPath() + "/dotenv.gradle"
import com.android.build.OutputFile
import com.sun.org.apache.xalan.internal.xsltc.compiler.Copy
/**
* The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
* and bundleReleaseJsAndAssets).
* The react.gradle file registers a task for each build variant:
* - bundlePrJsAndAssets
* - bundleDebugJsAndAssets
* - bundleReleaseJsAndAssets
* These basically call `react-native bundle` with the correct arguments during the Android build
* cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
* bundle directly from the development server. Below you can see all the possible configurations
@@ -18,7 +21,7 @@ import com.android.build.OutputFile
* bundleAssetName: "index.android.bundle",
*
* // the entry file for bundle generation
* entryFile: "index.android.js",
* entryFile: "index.js",
*
* // whether to bundle JS and assets in debug mode
* bundleInDebug: false,
@@ -35,6 +38,13 @@ import com.android.build.OutputFile
* // bundleInPaidRelease: true,
* // bundleInBeta: true,
*
* // whether to disable dev mode in custom build variants (by default only disabled in release)
* // for example: to disable dev mode in the staging build type (if configured)
* devDisabledInStaging: true,
* // The configuration property can be in the following formats
* // 'devDisabledIn${productFlavor}${buildType}'
* // 'devDisabledIn${buildType}'
*
* // the root of your project, i.e. where "package.json" lives
* root: "../../",
*
@@ -57,35 +67,88 @@ import com.android.build.OutputFile
* // date; if you have any other folders that you want to ignore for performance reasons (gradle
* // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
* // for example, you might want to remove it from here.
* inputExcludes: ["android/**", "ios/**"]
* inputExcludes: ["android/**", "ios/**"],
*
* // override which node gets called and with what additional arguments
* nodeExecutableAndArgs: ["node", "--max-old-space-size=8192"],
*
* // supply additional arguments to the packager
* extraPackagerArgs: []
* ]
*/
/*
Enabling Hermes on x86 devices is crashing the app after a few reloads,
this flag can be used to disable Hermes while building app.
https://github.com/status-im/status-mobile/issues/14031
*/
def disableHermes = System.getenv('DISABLE_HERMES') == 'true'
project.ext.react = [
nodeExecutableAndArgs: ["node", "--max-old-space-size=4096"]
nodeExecutableAndArgs: ["node", "--max-old-space-size=16384"],
entryFile: "index.js",
/* NOTE: Hermes engine is required for Android 64-bit builds running on 64 devices,
* to guard against a hang in the UI thread after invoking status-go.
* Also a clean and rebuild is required when changing this. */
enableHermes: !disableHermes,
/* Disable 'The first definition was here.' warnings */
hermesFlagsRelease: ["-w"],
bundleInPr: true,
inputExcludes: ["android/**", "ios/**", "react-native/**", "src/**", "test/**"]
]
apply from: "../../node_modules/react-native/react.gradle"
// NOTE: Uncomment if building RN from a fork
// configurations.all {
// exclude group: 'com.facebook.react', module: 'react-native'
// }
/**
* Set this to true to create two separate APKs instead of one:
* - An APK that only works on ARM devices
* - An APK that only works on x86 devices
* The advantage is the size of the APK is reduced by about 4MB.
* Upload all the APKs to the Play Store and people will download
* the correct one based on the CPU architecture of their device.
*/
def enableSeparateBuildPerCPUArchitecture = false
apply from: "../../node_modules/react-native/react.gradle"
/**
* Run Proguard to shrink the Java bytecode in release builds.
*/
def enableProguardInReleaseBuilds = false
/**
* The preferred build flavor of JavaScriptCore.
*
* For example, to use the international variant, you can use:
* `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
*
* The international variant includes ICU i18n library and necessary data
* allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
* give correct results when using with locales other than en-US. Note that
* this variant is about 6MiB larger per architecture than default.
*/
def jscFlavor = 'org.webkit:android-jsc:+'
/**
* Whether to enable the Hermes VM.
*
* This should be set on project.ext.react and mirrored here. If it is not set
* on project.ext.react, JavaScript will not be compiled to Hermes Bytecode
* and the benefits of using Hermes will therefore be sharply reduced.
*/
def enableHermes = project.ext.react.get("enableHermes", false);
def getCommitHash = { ->
if (project.hasProperty("commitHash")) {
return project.commitHash
}
return "unknown"
}
def getVersionCode = { ->
new ByteArrayOutputStream().withStream { stdOut ->
if (project.hasProperty("versionCode")) {
return project.versionCode.toString().toInteger()
}
exec {
commandLine "git", "rev-list", "--count", "HEAD"
commandLine "bash", "../../scripts/version/build_no.sh"
standardOutput = stdOut
errorOutput = System.err
}
return stdOut.toString().toInteger()
}
@@ -93,108 +156,230 @@ def getVersionCode = { ->
def getVersionName = { ->
new ByteArrayOutputStream().withStream { stdOut ->
exec {
commandLine "git", "describe", "--tags", "--always", "--dirty=+"
standardOutput = stdOut
if (project.hasProperty("releaseVersion")) {
return project.releaseVersion
}
return stdOut.toString().replaceAll("\\s","")
/* Necessary because Android Studio uses wrong PWD.
* Is actually absolute directory path of this file. */
def configDir = project.projectDir.toString()
version = new File(configDir + '/../../VERSION').text
return version.replaceAll("\\s","")
}
}
def getBuildUrl = { ->
new ByteArrayOutputStream().withStream { stdOut ->
if (project.hasProperty("buildUrl")) {
return project.buildUrl
}
return 'Local Build'
}
}
/* check if environment variable exists for given variable name first */
def getEnvOrConfig = { varName ->
def val = System.getenv(varName) ? System.getenv(varName) : project.property(varName)
return val
}
android {
compileSdkVersion 24
buildToolsVersion "23.0.1"
compileSdkVersion rootProject.ext.compileSdkVersion
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
applicationId "im.status.ethereum"
minSdkVersion 18
targetSdkVersion 23
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled true
versionCode getVersionCode()
versionName getVersionName()
ndk {
abiFilters "armeabi-v7a", "x86"
missingDimensionStrategy 'react-native-camera', 'general'
manifestPlaceholders = [commitHash: getCommitHash()]
/* this needs to be empty if we want APKs split by ABIs */
if (!getEnvOrConfig('ANDROID_ABI_SPLIT').toBoolean()) {
ndk {
abiFilters getEnvOrConfig('ANDROID_ABI_INCLUDE').split(";")
}
}
}
/**
* Arbitrary project metadata
* https://docs.gradle.org/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html
**/
project.ext {
buildUrl = getBuildUrl()
}
/**
* Fix for: (https://github.com/ReactiveX/RxJava/issues/4445)
* Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'.
* > com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException:
* Duplicate files copied in APK META-INF/rxjava.properties
*/
packagingOptions {
exclude 'META-INF/rxjava.properties'
exclude '/lib/mips64/**'
exclude '/lib/armeabi/**'
pickFirst '**/armeabi-v7a/libc++_shared.so'
pickFirst '**/x86/libc++_shared.so'
pickFirst '**/arm64-v8a/libc++_shared.so'
pickFirst '**/x86_64/libc++_shared.so'
pickFirst '**/x86/libjsc.so'
pickFirst '**/armeabi-v7a/libjsc.so'
/** Fix for: Execution failed for task ':app:transformNativeLibsWithStripDebugSymbolForDebug'.
* with recent version of ndk (17.0.4754217)
*/
doNotStrip '*/mips/*.so'
doNotStrip '*/mips64/*.so'
}
dexOptions {
jumboMode true
javaMaxHeapSize "4g"
}
signingConfigs {
release {
storeFile file(STATUS_RELEASE_STORE_FILE)
storePassword STATUS_RELEASE_STORE_PASSWORD
keyAlias STATUS_RELEASE_KEY_ALIAS
keyPassword STATUS_RELEASE_KEY_PASSWORD
}
javaMaxHeapSize "8g"
}
splits {
abi {
reset()
enable enableSeparateBuildPerCPUArchitecture
universalApk false // If true, also generate a universal APK
include "armeabi-v7a", "x86"
enable getEnvOrConfig('ANDROID_ABI_SPLIT').toBoolean()
include getEnvOrConfig('ANDROID_ABI_INCLUDE').split(";")
universalApk true
}
}
signingConfigs {
debug {
storeFile file('debug.keystore')
storePassword 'android'
keyAlias 'androiddebugkey'
keyPassword 'android'
}
}
buildTypes {
debug {
versionNameSuffix "-SNAPSHOT"
applicationIdSuffix ".debug"
debuggable true
versionNameSuffix "-SNAPSHOT"
resValue "string", "build_config_package", "im.status.ethereum"
signingConfig signingConfigs.debug
}
release {
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
signingConfig signingConfigs.release
signingConfig null
}
pr {
initWith release
applicationIdSuffix ".pr"
versionNameSuffix ".pr"
debuggable false
matchingFallbacks = ["release"]
// necessary to make react-native-config's code generation work
resValue "string", "build_config_package", "im.status.ethereum"
}
}
// applicationVariants are e.g. debug, release
applicationVariants.all { variant ->
variant.outputs.each { output ->
// For each separate APK per architecture, set a unique version code as described here:
// http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
def versionCodes = ["armeabi-v7a":1, "x86":2]
// https://developer.android.com/studio/build/configure-apk-splits.html
def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4]
def abi = output.getFilter(OutputFile.ABI)
if (abi != null) { // null for the universal-debug, universal-release variants
output.versionCodeOverride =
versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
output.versionCodeOverride = versionCodes.get(abi) + defaultConfig.versionCode
}
}
}
aaptOptions {
// disable PNG optimization as for some reason it cannot be trusted to provide deterministic output (see https://f-droid.org/en/docs/Reproducible_Builds/)
cruncherEnabled = false
}
sourceSets {
main { jniLibs.srcDirs 'libs' }
}
}
dependencies {
compile 'com.android.support:multidex:1.0.1'
compile project(':react-native-http-bridge')
compile project(':nfc-react-native')
compile project(':instabug-reactnative')
compile project(':react-native-splash-screen')
compile project(':react-native-image-resizer')
compile project(':react-native-dialogs')
compile project(':react-native-randombytes')
compile project(':react-native-android-sms-listener')
compile project(':realm')
compile project(':react-native-vector-icons')
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:23.0.1"
compile "com.facebook.react:react-native:+" // From node_modules
compile project(':react-native-contacts')
compile project(':react-native-i18n')
compile project(':react-native-linear-gradient')
compile project(':react-native-camera')
compile project(':react-native-status')
compile project(':react-native-orientation')
compile project(':react-native-fs')
compile project(':react-native-image-crop-picker')
compile project(':react-native-webview-bridge')
compile project(':reactnativemapboxgl')
compile 'testfairy:testfairy-android-sdk:1.+@aar'
compile project(':react-native-config')
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.facebook.react:react-native:+" // From node_modules
compile fileTree(dir: "node_modules/realm/android/libs", include: ["*.jar"])
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") {
exclude group:'com.facebook.fbjni'
}
// TODO Uncomment once Flipper does not cause webview crashes in Debug mode
// debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
// exclude group:'com.facebook.flipper'
// }
debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}") {
exclude group:'com.facebook.flipper'
}
if (enableHermes) {
def hermesPath = "../../node_modules/hermes-engine/android/";
debugImplementation files(hermesPath + "hermes-debug.aar")
releaseImplementation files(hermesPath + "hermes-release.aar")
prImplementation files(hermesPath + "hermes-release.aar")
} else {
implementation jscFlavor
}
// react-native-screens
implementation 'androidx.appcompat:appcompat:1.1.0-rc01'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0-alpha02'
implementation 'androidx.multidex:multidex:2.0.1' // only needed if minSdkVersion is less than 21 (https://developer.android.com/studio/build/multidex)
implementation project(':react-native-dialogs')
implementation project(':react-native-blur')
// Force using exact RN version instead of relying on gradle dependency resolution
// https://docs.gradle.org/current/userguide/introduction_dependency_management.html#sec:dependency_resolution
// NOTE: Uncomment if building RN from a fork
//compile ("com.facebook.react:react-native:0.55.4") { force = true } // From node_modules
implementation project(':react-native-status')
implementation project(':react-native-status-keycard')
implementation 'com.github.status-im:function:0.0.1'
implementation 'com.facebook.fresco:fresco:2.2.0'
implementation 'com.facebook.fresco:animated-gif:2.2.0'
implementation "com.squareup.okhttp3:okhttp-tls:3.12.12"
}
def getLocalNDKDir = { ->
def rootDir = project.rootDir
def localProperties = new File(rootDir, "local.properties")
if (!localProperties.exists()) {
return null
}
Properties properties = new Properties()
localProperties.withInputStream { instr ->
properties.load(instr)
}
return properties.getProperty('ndk.dir')
}
// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) {
from configurations.compile
into 'libs'
task hemroidBuild(type: Exec) {
def localNdkDir = getLocalNDKDir()
def ndkDir = System.env.ANDROID_NDK_ROOT
if (localNdkDir != null) {
ndkDir = localNdkDir
}
def execPath = "$ndkDir/ndk-build"
def exec = new File(execPath)
if (!exec.exists()) {
throw new GradleException("No ndk-build binary found!")
}
executable execPath
}
preBuild.dependsOn hemroidBuild
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
Binary file not shown.
+11
View File
@@ -0,0 +1,11 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := status-logs
LOCAL_SRC_FILES := Log.c
LOCAL_CPPFLAGS := -std=c++11 -fexceptions -I$(LOCAL_PATH)/include
LOCAL_LDFLAGS := -llog
include $(BUILD_SHARED_LIBRARY)
+5
View File
@@ -0,0 +1,5 @@
APP_ABI := armeabi-v7a arm64-v8a x86 x86_64
APP_LDFLAGS := -Wl,--build-id=none
APP_PLATFORM := android-18
APP_STL := c++_static
NDK_TOOLCHAIN_VERSION=clang
+39
View File
@@ -0,0 +1,39 @@
// https://codelab.wordpress.com/2014/11/03/how-to-use-standard-output-streams-for-logging-in-android-apps/
#include <jni.h>
#include <pthread.h>
#include <stdio.h>
#include <android/log.h>
static int pfd[2];
static pthread_t thr;
static void *thread_func(void* param)
{
ssize_t rdsz;
char buf[128];
while((rdsz = read(pfd[0], buf, sizeof buf - 1)) > 0) {
if(buf[rdsz - 1] == '\n') --rdsz;
buf[rdsz] = 0; /* add null-terminator */
__android_log_write(ANDROID_LOG_DEBUG, "StatusNativeLogs", buf);
}
return 0;
}
JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved)
{
/* make stdout line-buffered and stderr unbuffered */
setvbuf(stdout, 0, _IOLBF, 0);
setvbuf(stderr, 0, _IONBF, 0);
/* create the pipe and redirect stdout and stderr */
pipe(pfd);
dup2(pfd[1], 1);
dup2(pfd[1], 2);
/* spawn the logging thread */
if(pthread_create(&thr, 0, thread_func, 0) == -1)
return JNI_VERSION_1_6; // fail silently
pthread_detach(thr);
return JNI_VERSION_1_6;
}
+19 -7
View File
@@ -9,19 +9,15 @@
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Disabling obfuscation is useful if you collect stack traces from production crashes
# (unless you are using a system that supports de-obfuscate the stack traces).
-dontobfuscate
# React Native
-keep class com.facebook.hermes.unicode.** { *; }
-keep class com.facebook.jni.** { *; }
# Keep our interfaces so they can be used by other ProGuard rules.
# See http://sourceforge.net/p/proguard/bugs/466/
-keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip
@@ -50,6 +46,10 @@
-dontwarn com.facebook.react.**
# TextLayoutBuilder uses a non-public Android constructor within StaticLayout.
# See libs/proxy/src/main/java/com/facebook/fbui/textlayoutbuilder/proxy for details.
-dontwarn android.text.StaticLayout
# okhttp
-keepattributes Signature
@@ -64,3 +64,15 @@
-dontwarn java.nio.file.*
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
-dontwarn okio.**
# fast-image
-keep public class com.dylanvann.fastimage.* {*;}
-keep public class com.dylanvann.fastimage.** {*;}
-keep public class * implements com.bumptech.glide.module.GlideModule
-keep public class com.bumptech.glide.annotation.GlideModule
-keep public class * extends com.bumptech.glide.module.AppGlideModule
-keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
**[] $VALUES;
public *;
}
-96
View File
@@ -1,96 +0,0 @@
import org.apache.tools.ant.taskdefs.condition.Os
def config = project.hasProperty("react") ? project.react : [];
def bundleAssetName = config.bundleAssetName ?: "index.android.bundle"
def entryFile = config.entryFile ?: "index.android.js"
// because elvis operator
def elvisFile(thing) {
return thing ? file(thing) : null;
}
def reactRoot = elvisFile(config.root) ?: file("../../")
def inputExcludes = config.inputExcludes ?: ["android/**", "ios/**"]
void runBefore(String dependentTaskName, Task task) {
Task dependentTask = tasks.findByPath(dependentTaskName);
if (dependentTask != null) {
dependentTask.dependsOn task
}
}
gradle.projectsEvaluated {
// Grab all build types and product flavors
def buildTypes = android.buildTypes.collect { type -> type.name }
def productFlavors = android.productFlavors.collect { flavor -> flavor.name }
// When no product flavors defined, use empty
if (!productFlavors) productFlavors.add('')
productFlavors.each { productFlavorName ->
buildTypes.each { buildTypeName ->
// Create variant and source names
def sourceName = "${buildTypeName}"
def targetName = "${sourceName.capitalize()}"
if (productFlavorName) {
sourceName = "${productFlavorName}${targetName}"
}
// React js bundle directories
def jsBundleDirConfigName = "jsBundleDir${targetName}"
def jsBundleDir = elvisFile(config."$jsBundleDirConfigName") ?:
file("$buildDir/intermediates/assets/${sourceName}")
def resourcesDirConfigName = "jsBundleDir${targetName}"
def resourcesDir = elvisFile(config."${resourcesDirConfigName}") ?:
file("$buildDir/intermediates/res/merged/${sourceName}")
def jsBundleFile = file("$jsBundleDir/$bundleAssetName")
// Bundle task name for variant
def bundleJsAndAssetsTaskName = "bundle${targetName}JsAndAssets"
def currentBundleTask = tasks.create(
name: bundleJsAndAssetsTaskName,
type: Exec) {
group = "react"
description = "bundle JS and assets for ${targetName}."
// Create dirs if they are not there (e.g. the "clean" task just ran)
doFirst {
jsBundleDir.mkdirs()
resourcesDir.mkdirs()
}
// Set up inputs and outputs so gradle can cache the result
inputs.files fileTree(dir: reactRoot, excludes: inputExcludes)
outputs.dir jsBundleDir
outputs.dir resourcesDir
// Set up the call to the react-native cli
workingDir reactRoot
// Set up dev mode
def devEnabled = !targetName.toLowerCase().contains("release")
if (Os.isFamily(Os.FAMILY_WINDOWS)) {
commandLine "cmd", "/c", "react-native", "bundle", "--platform", "android", "--dev", "${devEnabled}",
"--entry-file", entryFile, "--bundle-output", jsBundleFile, "--assets-dest", resourcesDir
} else {
commandLine "react-native", "bundle", "--platform", "android", "--dev", "${devEnabled}",
"--entry-file", entryFile, "--bundle-output", jsBundleFile, "--assets-dest", resourcesDir
}
enabled config."bundleIn${targetName}" ?: targetName.toLowerCase().contains("release")
}
// Hook bundle${productFlavor}${buildType}JsAndAssets into the android build process
currentBundleTask.dependsOn("merge${targetName}Resources")
currentBundleTask.dependsOn("merge${targetName}Assets")
runBefore("processArmeabi-v7a${targetName}Resources", currentBundleTask)
runBefore("processX86${targetName}Resources", currentBundleTask)
runBefore("processUniversal${targetName}Resources", currentBundleTask)
runBefore("process${targetName}Resources", currentBundleTask)
}
}
}
+11
View File
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<!-- These are added by React Native for debug mode, but actually aren't needed in release mode -->
<uses-permission tools:node="remove" android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<!-- Remove licensing permission since we don't license our app and it blocks F-Droid submissions. -->
<uses-permission tools:node="remove" android:name="com.android.vending.CHECK_LICENSE"/>
<application tools:targetApi="28" tools:ignore="GoogleAppIndexingWarning" android:usesCleartextTraffic="true" />
</manifest>
@@ -0,0 +1,73 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
* directory of this source tree.
*/
package im.status.ethereum;
import android.content.Context;
import com.facebook.flipper.android.AndroidFlipperClient;
import com.facebook.flipper.android.utils.FlipperUtils;
import com.facebook.flipper.core.FlipperClient;
import com.facebook.flipper.plugins.crashreporter.CrashReporterPlugin;
import com.facebook.flipper.plugins.databases.DatabasesFlipperPlugin;
import com.facebook.flipper.plugins.fresco.FrescoFlipperPlugin;
import com.facebook.flipper.plugins.inspector.DescriptorMapping;
import com.facebook.flipper.plugins.inspector.InspectorFlipperPlugin;
// import com.facebook.flipper.plugins.network.FlipperOkhttpInterceptor;
// import com.facebook.flipper.plugins.network.NetworkFlipperPlugin;
import com.facebook.flipper.plugins.react.ReactFlipperPlugin;
import com.facebook.flipper.plugins.sharedpreferences.SharedPreferencesFlipperPlugin;
import com.facebook.react.ReactInstanceManager;
import com.facebook.react.bridge.ReactContext;
import com.facebook.react.modules.network.NetworkingModule;
import okhttp3.OkHttpClient;
public class ReactNativeFlipper {
public static void initializeFlipper(Context context, ReactInstanceManager reactInstanceManager) {
if (FlipperUtils.shouldEnableFlipper(context)) {
final FlipperClient client = AndroidFlipperClient.getInstance(context);
client.addPlugin(new InspectorFlipperPlugin(context, DescriptorMapping.withDefaults()));
client.addPlugin(new ReactFlipperPlugin());
client.addPlugin(new DatabasesFlipperPlugin(context));
client.addPlugin(new SharedPreferencesFlipperPlugin(context));
client.addPlugin(CrashReporterPlugin.getInstance());
// TODO Uncomment once Flipper does not cause webview crashes in Debug mode
// NetworkFlipperPlugin networkFlipperPlugin = new NetworkFlipperPlugin();
// NetworkingModule.setCustomClientBuilder(
// new NetworkingModule.CustomClientBuilder() {
// @Override
// public void apply(OkHttpClient.Builder builder) {
// builder.addNetworkInterceptor(new FlipperOkhttpInterceptor(networkFlipperPlugin));
// }
// });
// client.addPlugin(networkFlipperPlugin);
client.start();
// Fresco Plugin needs to ensure that ImagePipelineFactory is initialized
// Hence we run if after all native modules have been initialized
ReactContext reactContext = reactInstanceManager.getCurrentReactContext();
if (reactContext == null) {
reactInstanceManager.addReactInstanceEventListener(
new ReactInstanceManager.ReactInstanceEventListener() {
@Override
public void onReactContextInitialized(ReactContext reactContext) {
reactInstanceManager.removeReactInstanceEventListener(this);
reactContext.runOnNativeModulesQueueThread(
new Runnable() {
@Override
public void run() {
client.addPlugin(new FrescoFlipperPlugin());
}
});
}
});
} else {
client.addPlugin(new FrescoFlipperPlugin());
}
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.
@@ -0,0 +1,3 @@
<resources>
<string name="app_name">Status Debug</string>
</resources>
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">localhost</domain>
<domain includeSubdomains="true">10.0.3.2</domain>
<domain includeSubdomains="true">10.0.2.2</domain>
</domain-config>
</network-security-config>
+51 -23
View File
@@ -4,56 +4,84 @@
package="im.status.ethereum">
<!-- non-dangerous permissions -->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.NFC"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.READ_PROFILE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.VIBRATE" />
<!-- dangerous permissions -->
<uses-permission android:name="android.permission.CAMERA"/>
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_CONTACTS"/>
<uses-permission android:name="android.permission.RECEIVE_SMS"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="28" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
<!-- these permissions should be removed -->
<!-- react-native-orientation adds an unnecessary permission; here we remove it -->
<uses-permission android:name="android.permission.BLUETOOTH" tools:node="remove"/>
<!-- react-native-contacts -->
<uses-permission android:name="android.permission.WRITE_CONTACTS" tools:node="remove"/>
<!-- react-native-camera -->
<uses-permission android:name="android.permission.RECORD_AUDIO" tools:node="remove"/>
<uses-permission android:name="android.permission.RECORD_VIDEO" tools:node="remove"/>
<!-- React Native unnecessary permissions (https://github.com/facebook/react-native/issues/5886) -->
<uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove"/>
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<application
android:allowBackup="true"
tools:replace="android:allowBackup"
android:allowBackup="false"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:theme="@style/AppTheme"
android:name=".MainApplication"
android:largeHeap="true">
android:largeHeap="true"
android:usesCleartextTraffic="true">
<meta-data android:name="commitHash" android:value="${commitHash}"/>
<activity
android:name=".MainActivity"
android:exported="true"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustResize"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:resizeableActivity="false">
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
android:resizeableActivity="false"
android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<intent-filter android:label="@string/app_name">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="app-settings"
android:host="notification" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" android:host="join.status.im" />
<data android:scheme="https" android:host="join.status.im" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="status-im" />
<data android:scheme="ethereum" />
</intent-filter>
</activity>
<service
android:name=".module.StatusService"
android:enabled="true"
android:exported="true"/>
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity"/>
<service android:name="com.mapbox.mapboxsdk.telemetry.TelemetryService"/>
<service android:name="im.status.ethereum.pushnotifications.ForegroundService"></service>
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true"
tools:replace="android:authorities">
<meta-data
tools:replace="android:resource"
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_provider_paths" />
</provider>
</application>
</manifest>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,34 +1,54 @@
package im.status.ethereum;
import android.content.Context;
import android.annotation.TargetApi;
import androidx.annotation.Nullable;
import android.app.AlertDialog;
import android.app.ActivityManager;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
import android.content.DialogInterface.OnClickListener;
import android.support.multidex.MultiDexApplication;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Build;
import android.os.Looper;
import android.preference.PreferenceManager;
import androidx.core.app.ActivityCompat;
import android.util.Log;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
import android.content.DialogInterface.OnClickListener;
import android.view.WindowManager;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.res.Configuration;
import android.provider.Settings;
import android.os.Bundle;
import com.facebook.react.ReactActivity;
import com.cboy.rn.splashscreen.SplashScreen;
import com.testfairy.TestFairy;
import com.facebook.react.ReactActivityDelegate;
import com.facebook.react.ReactRootView;
import com.facebook.react.modules.core.DeviceEventManagerModule;
import com.facebook.react.bridge.Arguments;
import com.facebook.react.bridge.WritableMap;
import com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView;
import com.facebook.react.ReactFragmentActivity;
import com.reactnativenavigation.NavigationActivity;
import com.facebook.react.modules.core.PermissionListener;
import org.devio.rn.splashscreen.SplashScreen;
import java.util.Properties;
import im.status.ethereum.module.StatusThreadPoolExecutor;
import im.status.ethereum.MainApplication;
public class MainActivity extends ReactActivity {
public class MainActivity extends NavigationActivity
implements ActivityCompat.OnRequestPermissionsResultCallback{
@Nullable private PermissionListener mPermissionListener;
private static void registerUncaughtExceptionHandler(final Context context) {
final Thread.UncaughtExceptionHandler defaultUncaughtExceptionHandler = Thread.getDefaultUncaughtExceptionHandler();
Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() {
@Override
public void uncaughtException(final Thread thread, final Throwable t) {
// High priority, so don't use StatusThreadPoolExecutor
new Thread() {
@Override
public void run() {
@@ -68,8 +88,54 @@ public class MainActivity extends ReactActivity {
properties.setProperty("https.nonProxyHosts", "localhost|127.0.0.1");
}
private Intent createNotificationSettingsIntent() {
final Intent intent = new Intent();
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
intent.setAction(Settings.ACTION_APP_NOTIFICATION_SETTINGS);
intent.putExtra(Settings.EXTRA_APP_PACKAGE, getPackageName());
} else {
intent.setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
intent.addCategory(Intent.CATEGORY_DEFAULT);
intent.setData(Uri.parse("package:" + getPackageName()));
}
return intent;
}
private void tryToEmit(String eventName, WritableMap event) {
try {
((MainApplication) getApplication()).getReactNativeHost()
.getReactInstanceManager()
.getCurrentReactContext()
.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class)
.emit("url", event);
} catch(Exception e) {/* we expect NPE on first start, which is OK because we have a fallback */}
}
@Override
public void onNewIntent(final Intent intent) {
super.onNewIntent(intent);
if (intent.getDataString() != null && intent.getData().getScheme().startsWith("app-settings")) {
startActivity(createNotificationSettingsIntent());
}
}
@Override
protected void onCreate(Bundle savedInstanceState) {
switch (getResources().getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK) {
case Configuration.UI_MODE_NIGHT_YES:
setTheme(R.style.DarkTheme);
SplashScreen.show(this, R.style.DarkTheme, R.id.lottie);
break;
case Configuration.UI_MODE_NIGHT_NO:
setTheme(R.style.LightTheme);
SplashScreen.show(this, R.style.LightTheme, R.id.lottie);
break;
default:
setTheme(R.style.LightTheme);
SplashScreen.show(this, R.style.LightTheme, R.id.lottie);
}
SplashScreen.setAnimationFinished(true);
// Make sure we get an Alert for every uncaught exceptions
registerUncaughtExceptionHandler(MainActivity.this);
@@ -77,15 +143,12 @@ public class MainActivity extends ReactActivity {
final ActivityManager activityManager = getActivityManager();
Log.v("RNBootstrap", "Available system memory "+getAvailableMemory(activityManager).availMem + ", maximum usable application memory " + activityManager.getLargeMemoryClass()+"M");
setSecureFlag();
SplashScreen.show(this);
super.onCreate(savedInstanceState);
// NOTE: Try to not restore the state https://github.com/software-mansion/react-native-screens/issues/17
super.onCreate(null);
if(BuildConfig.TESTFAIRY_ENABLED == "1") {
TestFairy.begin(this, "969f6c921cb435cea1d41d1ea3f5b247d6026d55");
}
if (!RootUtil.isDeviceRooted()) {
if (!shouldShowRootedNotification()) {
configureStatus();
} else {
AlertDialog dialog = new AlertDialog.Builder(MainActivity.this)
@@ -93,6 +156,7 @@ public class MainActivity extends ReactActivity {
.setPositiveButton(getResources().getString(R.string.root_okay), new OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
rejectRootedNotification();
dialog.dismiss();
configureStatus();
}
@@ -115,6 +179,25 @@ public class MainActivity extends ReactActivity {
dialog.show();
}
Runnable r = new Runnable() {
@Override
public void run() {
System.loadLibrary("status-logs");
// when app is started but the Activity has been destroyed, the deep linking url event is
// not emitted when coming back to foreground. This is a workaround. If the problem is
// resolved in react-native this code should be removed
if (getIntent().getData() != null) {
WritableMap event = Arguments.createMap();
event.putString("url", getIntent().getDataString());
// on first start emit will (silently) fail, but the regular deep linking handler will work
tryToEmit("url", event);
}
}
};
StatusThreadPoolExecutor.getInstance().execute(r);
}
@Override
@@ -122,14 +205,7 @@ public class MainActivity extends ReactActivity {
super.onDestroy();
}
/**
* Returns the name of the main component registered from JavaScript.
* This is used to schedule rendering of the component.
*/
@Override
protected String getMainComponentName() {
return "StatusIm";
}
@Override
public void onConfigurationChanged(Configuration newConfig) {
@@ -138,4 +214,52 @@ public class MainActivity extends ReactActivity {
intent.putExtra("newConfig", newConfig);
this.sendBroadcast(intent);
}
private static final String REJECTED_ROOTED_NOTIFICATION = "rejectedRootedNotification";
private static final Integer FREQUENCY_OF_REMINDER_IN_PERCENT = 5;
private boolean shouldShowRootedNotification() {
if (RootUtil.isDeviceRooted() && BuildConfig.ENABLE_ROOT_ALERT == "1") {
if (userRejectedRootedNotification()) {
return ((Math.random() * 100) < FREQUENCY_OF_REMINDER_IN_PERCENT);
} else return true;
} else {
return false;
}
}
private boolean userRejectedRootedNotification() {
SharedPreferences preferences = getPreferences(0);
return preferences.getBoolean(REJECTED_ROOTED_NOTIFICATION, false);
}
private void rejectRootedNotification() {
SharedPreferences preferences = getPreferences(0);
SharedPreferences.Editor editor = preferences.edit();
editor.putBoolean(REJECTED_ROOTED_NOTIFICATION, true);
editor.commit();
}
private void setSecureFlag() {
final SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(this);
final boolean setSecure = sharedPrefs.getBoolean("BLANK_PREVIEW", false);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH && setSecure) {
getWindow().addFlags(WindowManager.LayoutParams.FLAG_SECURE);
} else {
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_SECURE);
}
}
@TargetApi(Build.VERSION_CODES.M)
public void requestPermissions(String[] permissions, int requestCode, PermissionListener listener) {
mPermissionListener = listener;
requestPermissions(permissions, requestCode);
}
@Override
public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) {
if (mPermissionListener != null && mPermissionListener.onRequestPermissionsResult(requestCode, permissions, grantResults)) {
mPermissionListener = null;
}
}
}
@@ -1,39 +1,36 @@
package im.status.ethereum;
import android.support.multidex.MultiDexApplication;
import com.BV.LinearGradient.LinearGradientPackage;
import androidx.multidex.MultiDexApplication;
import android.util.Log;
import android.content.Context;
import android.webkit.WebView;
import java.lang.reflect.InvocationTargetException;
import com.facebook.react.PackageList;
import com.aakashns.reactnativedialogs.ReactNativeDialogsPackage;
import com.bitgo.randombytes.RandomBytesPackage;
import com.cboy.rn.splashscreen.SplashScreenReactPackage;
import com.centaurwarchief.smslistener.SmsListenerPackage;
import com.facebook.react.ReactApplication;
import com.lugg.ReactNativeConfig.ReactNativeConfigPackage;
import cl.json.RNSharePackage;
import com.facebook.react.ReactNativeHost;
import com.reactnativenavigation.NavigationApplication;
import com.reactnativenavigation.react.NavigationReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.react.shell.MainReactPackage;
import com.github.alinz.reactnativewebviewbridge.WebViewBridgePackage;
import com.github.yamill.orientation.OrientationPackage;
import com.i18n.reactnativei18n.ReactNativeI18n;
import com.instabug.reactlibrary.RNInstabugReactnativePackage;
import com.lwansbrough.RCTCamera.RCTCameraPackage;
import com.oblador.vectoricons.VectorIconsPackage;
import com.reactnative.ivpusic.imagepicker.PickerPackage;
import com.rnfs.RNFSPackage;
import com.rt2zz.reactnativecontacts.ReactNativeContacts;
import es.tiarg.nfcreactnative.NfcReactNativePackage;
import fr.bamlab.rnimageresizer.ImageResizerPackage;
import im.status.ethereum.module.StatusPackage;
import io.realm.react.RealmReactPackage;
import me.alwx.HttpServer.HttpServerReactPackage;
import com.mapbox.reactnativemapboxgl.ReactNativeMapboxGLPackage;
import com.facebook.react.ReactInstanceManager;
import com.facebook.react.modules.network.OkHttpClientProvider;
import com.reactnativecommunity.blurview.BlurViewPackage;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class MainApplication extends MultiDexApplication implements ReactApplication {
import im.status.ethereum.keycard.RNStatusKeycardPackage;
import im.status.ethereum.module.StatusPackage;
import im.status.ethereum.pushnotifications.PushNotificationPackage;
import im.status.ethereum.StatusOkHttpClientFactory;
private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
import com.facebook.react.bridge.JSIModulePackage;
import com.swmansion.reanimated.ReanimatedJSIModulePackage;
public class MainApplication extends NavigationApplication {
private final ReactNativeHost mReactNativeHost = new NavigationReactNativeHost(this) {
@Override
public boolean getUseDeveloperSupport() {
return BuildConfig.DEBUG;
@@ -41,36 +38,26 @@ public class MainApplication extends MultiDexApplication implements ReactApplica
@Override
protected List<ReactPackage> getPackages() {
List<ReactPackage> packages = new ArrayList<ReactPackage>(Arrays.asList(
new MainReactPackage(),
new HttpServerReactPackage(),
new NfcReactNativePackage(),
new SplashScreenReactPackage(),
new StatusPackage(BuildConfig.DEBUG),
new RealmReactPackage(),
new VectorIconsPackage(),
new ReactNativeContacts(),
new ReactNativeI18n(),
new RandomBytesPackage(),
new LinearGradientPackage(),
new RCTCameraPackage(),
new SmsListenerPackage(),
new OrientationPackage(),
new RNFSPackage(),
new ReactNativeDialogsPackage(),
new ImageResizerPackage(),
new PickerPackage(),
new WebViewBridgePackage(BuildConfig.DEBUG),
new ReactNativeMapboxGLPackage(),
new ReactNativeConfigPackage()
));
if (!BuildConfig.DEBUG) {
packages.add(new RNInstabugReactnativePackage("b239f82a9cb00464e4c72cc703e6821e", MainApplication.this, "shake"));
}
StatusPackage statusPackage = new StatusPackage(RootUtil.isDeviceRooted());
List<ReactPackage> packages = new PackageList(this).getPackages();
packages.add(statusPackage);
packages.add(new ReactNativeDialogsPackage());
packages.add(new RNStatusKeycardPackage());
packages.add(new PushNotificationPackage());
packages.add(new BlurViewPackage());
return packages;
}
@Override
protected String getJSMainModuleName() {
return "index";
}
@Override
protected JSIModulePackage getJSIModulePackage() {
return new ReanimatedJSIModulePackage();
}
};
@Override
@@ -78,4 +65,43 @@ public class MainApplication extends MultiDexApplication implements ReactApplica
return mReactNativeHost;
}
@Override
public void onCreate() {
super.onCreate();
OkHttpClientProvider.setOkHttpClientFactory(new StatusOkHttpClientFactory());
WebView.setWebContentsDebuggingEnabled(BuildConfig.DEBUG_WEBVIEW == "1");
initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
}
/**
* Loads Flipper in React Native templates. Call this in the onCreate method with something like
* initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
*
* @param context
* @param reactInstanceManager
*/
private static void initializeFlipper(
Context context, ReactInstanceManager reactInstanceManager) {
if (BuildConfig.DEBUG) {
try {
/*
We use reflection here to pick up the class that initializes Flipper,
since Flipper library is not available in release mode
*/
Class<?> aClass = Class.forName("im.status.ethereum.ReactNativeFlipper");
aClass
.getMethod("initializeFlipper", Context.class, ReactInstanceManager.class)
.invoke(null, context, reactInstanceManager);
} catch (ClassNotFoundException e) {
e.printStackTrace();
} catch (NoSuchMethodException e) {
e.printStackTrace();
} catch (IllegalAccessException e) {
e.printStackTrace();
} catch (InvocationTargetException e) {
e.printStackTrace();
}
}
}
}
@@ -0,0 +1,44 @@
package im.status.ethereum;
import android.util.Log;
import com.facebook.react.modules.network.OkHttpClientFactory;
import com.facebook.react.modules.network.OkHttpClientProvider;
import okhttp3.OkHttpClient;
import okhttp3.Interceptor;
import okhttp3.tls.HandshakeCertificates;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.lang.RuntimeException;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.security.cert.CertificateFactory;
import java.security.cert.X509Certificate;
import im.status.ethereum.module.StatusPackage;
class StatusOkHttpClientFactory implements OkHttpClientFactory {
public OkHttpClient createNewNetworkModuleClient() {
String certPem = StatusPackage.getImageTLSCert();
X509Certificate cert;
try {
CertificateFactory cf = CertificateFactory.getInstance("X.509");
cert = (X509Certificate) cf.generateCertificate(new ByteArrayInputStream(certPem.getBytes()));
} catch(Exception e) {
Log.e("StatusOkHttpClientFactory", "Could not parse certificate");
cert = null;
}
HandshakeCertificates clientCertificates = new HandshakeCertificates.Builder()
.addPlatformTrustedCertificates()
.addTrustedCertificate(cert)
.build();
return OkHttpClientProvider.createClientBuilder()
.sslSocketFactory(clientCertificates.sslSocketFactory(), clientCertificates.trustManager())
.build();
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 526 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 614 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 613 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 537 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 576 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 544 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 353 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 336 B

Some files were not shown because too many files have changed in this diff Show More