Commit Graph

5962 Commits

Author SHA1 Message Date
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
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