69 Commits

Author SHA1 Message Date
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
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
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
yenda
c3dd950286
remove realm
Signed-off-by: yenda <eric@status.im>
2019-09-09 18:40:15 +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
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
Andrey Shovkoplyas
0288d617cb
[#8849] Use node-qrcode instead of react-native-qrcode 2019-08-29 15:53:44 +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
Dmitry Novotochinov
60de46b6c2
keycard login v1
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-08-05 11:33:19 +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
84cede5a96
Upgrade to react-native-firebase 5.1.1
- Includes the patch in our fork.
2019-07-10 16:34:04 +02:00
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
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
Vitaliy Vlasov
4f6e06bf59
Use react-native-screens
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-07-01 09:30:19 +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
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
2ad4c9c054
upgrade react-navigation 2019-06-19 12:00:22 +03: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
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
tbenr
090a4e7c76
fixes #6573
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-31 10:25:24 +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
Roman Volosovskyi
b0be9ee976
Send logs on shaking device 2019-05-24 13:35:04 +03: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
Roman Volosovskyi
ff39426e56
[android] send logs to error-reports@status.im 2019-05-10 17:02:58 +03: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
Roman Volosovskyi
fbda69ff78
[iOS, Android] Upgrade realm-js 2019-04-12 16:21:41 +03: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
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
Dmitry Novotochinov
4decedf5f6
Revert "Revert "[#7133] sign tx with keycard""
This reverts commit 4ccb1ea52d26904dfa63a55c6c19c86719e0ed5d.

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-04-05 15:49:47 +03:00
Dmitry Novotochinov
4ccb1ea52d
Revert "[#7133] sign tx with keycard"
This reverts commit feffcaf33d419b3e95ce304cd83332b98bf1109f.

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
Roman Volosovskyi
24a978d442
Migrate to RN 0.59.2 2019-04-01 17:42:57 +03: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
Dmitry Novotochinov
43bd6d159a
improve keycard installation UX
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-03-08 14:57:29 +03:00
tbenr
b1331378d5
fixes #6597
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-06 17:09:58 +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
Roman Volosovskyi
9f5d5d8349
revert Replace react-navigation-stack with fork without default background color 2019-02-28 10:12:53 +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
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
Roman Volosovskyi
5368604353
Replace react-navigation-stack with fork without default background color 2019-02-26 19:08:36 +02: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