Commit Graph

4985 Commits

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