Commit Graph

5726 Commits

Author SHA1 Message Date
Bitgamma 496a1fa288
restart reader according to Activity's lifecycle (#10760)
update react-native-status-keycard
2020-06-05 14:25:30 +03:00
Jonathan Rainville 08ff2edb0b
Show ENS name only when confirmed
fix: only save the ENS username when the TX is confirmed
feat: show when ens registration are in progress, done or errored
feat: implement new design for the ENS registration
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-04 12:51:19 +02:00
Andrey Shovkoplyas e743cbacd0
[#10744] Error at attempt to set custom-domain ENS as main
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-04 12:36:34 +02:00
Jakub Sokołowski 2c9ed72ace
about time we bumped VERSION in develop
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-04 11:10:59 +02:00
Jakub Sokołowski f2c96dcd3b
nix: add config defaults and temp keystore generation
Changes:
* Create `nix/config.nix` with `config` defaults
* Add `nix/tools/gradlePropParser.nix` for reading `gradle.properties`
* Add `nix/mobile/android/keystore.nix` for generating a keystore
* Load keystore generation in `nix/mobile/android/default.nix`
* Use generated keystore if it's not provided via `config`
* Add `-deststoretype pkcs12` in `scripts/generate-keystore.sh`
* Add `nix/lib/assertEnvVarSet.nix` for checking if env var is set

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-04 11:10:48 +02:00
Andrea Maria Piana b39d26ed4c
[Fixes: #10747] Fix searching name of ens contacts
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-04 09:47:15 +02:00
Andrea Maria Piana af259dacbf
enable group chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-04 09:16:47 +02:00
Andrea Maria Piana 254fd229b5
[Fixes #10746] Correctly show reply symbol
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-04 09:13:03 +02:00
Andrea Maria Piana f1272f4d49
[Fixes #10751] Remove messages & list when blocking
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-04 09:11:51 +02:00
Gheorghe Pinzaru 39cc56dd10
Handle links in profile qr code scanner
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-03 17:42:57 +03:00
jinhojang6 46ebda8eeb
Update translations
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-03 11:35:57 +02:00
Andrey Shovkoplyas 0620f4b0df
[#10732] Remove message spinners and 'Sent' status
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-03 10:58:45 +02:00
Vitaliy Vlasov d50f6ca21e
Show redeem text for Keycard redeem txs
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-06-03 00:10:58 +03:00
Jakub Sokołowski a8fa78dad3
fix names of translations for Play Store metadata
Source for names:
https://stackoverflow.com/questions/7973023/what-is-the-list-of-supported-languages-locales-on-android

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-02 20:03:38 +02:00
Jakub Sokołowski 22d0fed3fc
fix android icon.png to use RGBA instead of indexed colors
This caused an error on Play Store metadata update:
Google Api Error: invalidIconImage: Invalid icon image.

And the issue was using color space:
Indexed color (77 colors)

Instead of:
RGBA

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-02 19:22:14 +02:00
Jakub Sokołowski 284c26055f
update Jenkins library to allow vebose Fastlane calls
For more details see status-react-jenkins change:
https://github.com/status-im/status-react-jenkins/pull/7

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-02 18:50:43 +02:00
Gheorghe Pinzaru 12aa20f467
Add bottom sheet
EXPERIMENTAL: uses reanimated lib so we can use reanimated buttons inside and have simultaneous handlers

Add react hooks

Use hooks

mocks

Use timing for drag transition

Use view on android

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-02 18:10:27 +03:00
Andrey Shovkoplyas d3c9175514
enable keycard
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-02 16:35:01 +02:00
Jakub Sokołowski 12e67ad6d2
nix: improve nix/scripts/node_modules.sh
Changes:
- MOAR functions so it's easier to follow
- Don't use /tmp, put the copied node_modules in repo root first
- Ignore more node_modules sub folders when checking for modifications
  - */unpacked_bin/clj-kondo
  - */scripts/.packager.env

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-02 16:26:19 +02:00
Roman Volosovskyi a1027cdfcc
[#10452] Keycard: updated PUK flow 2020-06-02 16:34:44 +03:00
Roman Volosovskyi 4021e957ea
[#10719] Change seed backup warning message 2020-06-02 12:58:32 +03:00
Andrea Maria Piana 9d7691312b
Fix topbar back-button flickering
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-01 13:51:05 +02:00
Andrea Maria Piana f69ae44d50
Improve chat loading performance
This commit does a few things:

Move collections top level

Move `messages`,`message-lists`,`pagination-info` from nested in
`chats` to top level at the db.
The reason for this change is that if any of the `messages` fields
change, any `sub` that relies on `chat` will be recomputed, which is
unnecessary.

Move chat-name to events

`chat-name` was computed dynamically, while it is now only calculated
when loading chat the first time around.

Remove `enrich-chats`

Enrich chats was doing a lot of work, and many subscriptions were
relying on it.
Not all the computations were necessary, for example it would always
calculate the name of who invited the user to a group chat, regardless
of whether it was actually used in the view.
This commit changes that behavior so that we use smaller subscriptions
to calculate such fields.
In general we should move computations to events, if that's not
desirable (there are some cases where we might not want to do that), we
should have "bottom/leaf heavy" subscriptions as opposed to "top heavy",
especially if they are to be shared, so only when (and if) we load that
particular view, the subscription is triggered, while others can be
re-used.

I have compared performance with current release, and there's a
noticeable difference. Opening a chat is faster (messages are loaded
faster), and clicking on the home view on a chat is more responsing
(the animation on-press is much quicker).
2020-06-01 13:50:49 +02:00
Gheorghe Pinzaru 5f7c795567
Remove usage of inline require
Revert translations

remove inline require

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-01 14:19:17 +03:00
Andrea Maria Piana e3815db497
Disable images in public chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-01 11:44:15 +02:00
Serhy 5720151484
Update e2e 2020-06-01 11:34:14 +02:00
Andrey Shovkoplyas f659cbf242
camera roll 2020-06-01 11:34:13 +02:00
Andrea Maria Piana 91bcd0c861
sending images over waku 2020-06-01 11:34:12 +02:00
Andrey Shovkoplyas 60d5815bde
images 2020-06-01 11:34:11 +02:00
Andrey Shovkoplyas 9a114128bc
[#10718] Update FAQ links
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-29 12:02:10 +02:00
Serhy 3181280bf5
Remove keyboard capability
Signed-off-by: Serhy <sergii@status.im>
2020-05-28 14:31:57 +03:00
hesterbruikman 6d937511ca
Removing all remaining multiaccount references
See all edits here: https://notes.status.im/DxYPvFWcQZGG2UIas2KJfw?view

Signed-off-by: Serhy <sergii@status.im>
2020-05-27 18:33:13 +03:00
Gheorghe Pinzaru d28ae1212d
Add animated list item into Quo
Change press animation ns

Add list item component

Fix pressable does not reset animation state

Improve long-press handling

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-26 13:53:40 +03:00
Jakub Sokołowski 2f65cedd2d
nix: replace grep and sed with AWK for parsing Gradle deps
The mess with regexes is hard to read and think about which is why it
had bugs with handling some Gradle formats.

It also lowers further the number of dependencies pulled from 785 to 744.

Changes:
- Added `gradle_parser.awk` script for getting dependencies from Gradle
- Changed the `deps.urls` file to contain full URLs to POMs
- Dropped the `deps.urls.old` part since `get_urls.sh` no longer exists
- Added `CLR` for learing line to `scripts/colors.sh`
- Wrote a new `nix/deps/gradle/README.md`
- Re-generated `nix/pkgs/go-maven-resolver/deps.nix`

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-25 19:34:56 +02:00
Roman Volosovskyi 335d2434f0
[#9661] Fix overlapping on puk code screen 2020-05-25 17:30:33 +03:00
Vitaliy Vlasov e26f5452b9
Do not use signer arg for keycard_signTypedData
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-05-25 17:03:25 +03:00
yenda 288c28df75
cljfmt src if there is no git diff
Signed-off-by: yenda <eric@status.im>
2020-05-25 14:34:30 +02:00
yenda e1074c7c01
fix #10591 error when scrolling account view
Signed-off-by: yenda <eric@status.im>
2020-05-25 14:32:26 +02:00
Vitaliy Vlasov ddbf7bc066
Temporarily fix Flipper dev-mode webview crashes
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-05-25 15:09:59 +03:00
Andrea Maria Piana 34755500d5
[Fixes: #10471] Parse markdown in chat subheader.
This commit adds parsing of markdown in the chat subheader.

Because of the added complexity performance are impacted but I have
also noticed that on each loading of the chat screen we calculate
alias & identicon through status-go, so that has been changed so that
they are returned from status-go.

Overall performance is now roughly identical, tested loading 150
one-to-one chats.

Another issue that I've spotted is that some `subs` are unnecessarely
recalculated (`active-chats`), when unrelated fields changes. I will
address this in a separate PR that should improve performance.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-05-25 14:03:24 +02:00
Jakub Sokołowski d0216674da
nix: use go-maven-resolver to fix nix-update-gradle
This Go package was implemented by me to avoid having to use Mavan or
Gradle to resolve all the dependencies for Nix:
https://github.com/status-im/go-maven-resolver

The Go tool is essentially a slightly smarter and more efficient version
of the `get_urls.sh` script, which was mostly slow due to the `mvn
dependency:list` calls and slow HTTP requests.

This takes down the `make nix-update-gradle` target to under 2 minutes
on my machine.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-24 18:08:05 +02:00
Churikova Tetiana 54ee386fb8
e2e: transaction custom token
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-05-22 11:30:03 +02:00
Andrea Maria Piana 789271f179
[Fixes: #5124] Fix rtl flag
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-05-22 09:55:05 +02:00
Serhy c68f734b98
Fixed typo
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-21 15:32:11 +02:00
jinhojang6 6344c765d3
Update translations and supported languages 2020-05-21 15:32:03 +02:00
jinhojang6 c9fc00bfd8
Add Play Store translations 2020-05-21 15:32:03 +02:00
Jakub Sokołowski 12e269d496
github-bot: drop PR checklist configuration
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-20 19:14:53 +02:00
Jakub Sokołowski 9500cd4543
nix: use clojure shells for run-clojure and run-metro
Otherwise we get issues with missing node modules.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-20 19:14:47 +02:00
Churikova Tetiana c3d14f1664
new e2e: stickers, share links, search
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-05-20 17:46:35 +02:00
Gheorghe Pinzaru 0ff6579fa3
Add animated buttons to Quo
Move haptic

Upgrade redash

Add button component

lint

Add button icon type

Add disabled theme

Add accessibility-label

Fix android color

Fix preview modal

Remove android ripple effect

test android

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-20 17:51:38 +03:00