Commit Graph

63 Commits

Author SHA1 Message Date
Pedro Pombeiro 2cccfa998d
Fix devDependencies in package.json 2019-08-15 11:18:38 +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
tbenr b78bb456a4
add coverage test
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-10 16:15:44 -04: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 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
Pedro Pombeiro ab11a67c96
Move files that don't change per platform to the root 2019-06-06 16:56:24 +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 713a461415
bump version to 0.13.0
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-05-14 16:40:41 +02:00
Pedro Pombeiro fca01891ba
Improvements for a pure macOS Nix environment 2019-05-10 11:48:31 +02: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
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
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
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 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
kn 6988950ea8
[#6973] Replace react-native-i18n with react-native-languages 2019-02-09 23:27:46 -08: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
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
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
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
Volodymyr Kozieiev 75af3883b8
Switch desktop app to react-native-desktop 0.57.8 (#7264) 2019-01-17 12:10:40 +02:00
Vitaliy Vlasov c8e5fd6a9c
Add desktop keyboard shortcuts
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-01-04 00:30:19 +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
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
Chad 90900e1c31
bump desktop to alpha 0.9.0 version 2018-12-04 13:52:31 +02: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
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
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
Pedro Pombeiro d0f78445d4
Windows port using Conan and MXE. Part of #5807 2018-11-14 17:16:29 +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
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
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
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
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
Vitaliy Vlasov 713433f443
fix repo url
Signed-off-by: Eric Dvorsak <eric@status.im>
2018-10-28 12:08:28 +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
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
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
Andrea Maria Piana 9629983f7f
Remove instabug 2018-10-19 09:18:22 +03:00
Roman Volosovskyi 4c426d9c2b
remove the rest of testfairy's mentions from the project 2018-10-18 20:54:59 +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
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
Roman Volosovskyi ccf037c167
[#6074, #5656] [desktop] fix caret jumping in message input & message input on switching 2018-10-08 16:08:00 +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
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
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