Commit Graph

5821 Commits

Author SHA1 Message Date
Jakub Sokołowski 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 Sokołowski 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 Sokołowski 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 Sokołowski 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 Sokołowski 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 Sokołowski 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 Sokołowski 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 Sokołowski 707a9b7095
nix: add status-go shell
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-15 16:19:34 +02:00
Jakub Sokołowski 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 Sokołowski 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 Sokołowski 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 Sokołowski 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 Sokołowski 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 Sokołowski 45f1d58832
nix: simplify android release build
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-14 09:46:23 +02:00
Jakub Sokołowski 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 Sokołowski 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 Sokołowski 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 Sokołowski 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