Commit Graph

3801 Commits

Author SHA1 Message Date
Roman Volosovskyi 292df1439c
[#10928] Always show blocked users 2020-07-15 21:27:32 +03:00
Roman Volosovskyi 618b1f81e2
[#10914] Show proper username in chat on opening from background 2020-07-15 15:07:14 +03:00
Gheorghe Pinzaru b7bc7c4e5d
Don't re-open bottom sheet if now closing
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-15 11:40:32 +03:00
Gheorghe Pinzaru fa4968f22c
Fix password position in wallet new account
Fixes #10921

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-15 11:39:21 +03:00
Gheorghe Pinzaru 0adc047f05
Fix missing i18n
fixes #10945

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-15 11:38:28 +03:00
Gheorghe Pinzaru 5c05174604
Merge password screens
Update e2e

Small UX feedback changes

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-15 11:28:02 +03:00
Gheorghe Pinzaru df9062475c
Extend security masked data protocol 2020-07-15 11:25:10 +03:00
Roman Volosovskyi 15cbec07e9
[keycard] Rename all "hardwallet" occurencies to "keycard"
Previously we used both "keycard" and "hardwallet" names for stuff
related to keycard. It can be confusing as "hardwallet" might be used
for other hardwallets in future.
2020-07-14 14:17:48 +03:00
yenda 67ce4b03aa
Revert "upgrade shadow"
This reverts commit 08cbc76111.

Signed-off-by: yenda <eric@status.im>
2020-07-14 13:02:24 +02:00
andrey eef6815616
[#10880] Expanded view with public chat categories 2020-07-10 14:54:39 +02:00
andrey 08cbc76111
upgrade shadow
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-10 12:41:15 +02:00
Roman Volosovskyi bda7386747
[#10784] Fix kk multiacc creation after closing app 2020-07-09 17:32:33 +03:00
Roman Volosovskyi 5101d4d6a5
[keycard] Allow to restore kk multiacc using pairing 2020-07-09 17:30:32 +03:00
Gheorghe Pinzaru 79cf87be86
Ens view list items
Remove extra fn's

Long press animation cancel

Make select primary ens accessible

Add accessibility to controls components

Update e2e tests

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-09 15:15:08 +03:00
Roman Volosovskyi 920bc7d93e
[#10195] Separate keystore dir per multiacc
Having all keys related to specific multiacc in a separate dir will
simplify removing of the multiacc. Also it will allow adding of the same
account to different multiaccs.
2020-07-09 13:14:42 +03:00
Jakub Sokołowski 112132aa94
drop all desktop related files and references
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-07-08 10:26:51 +02:00
Gheorghe Pinzaru bdb4d7fe35
Increase long press move distance
Fix android password visibility change

Do not change secure-text-entry on android password visiblity

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-08 10:07:59 +03:00
andrey f2fb1739c0
[#10899] Enable notifications during onboarding 2020-07-07 14:53:56 +02:00
andrey 3800f3f7da
[#10891] Add 'Add new contact' and 'Invite friends' button to Contact screen
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-07 14:53:10 +02:00
Gheorghe Pinzaru 497af38a7f
Update usage for toolbars
Replace all the usage of the button without component

Use quo

Fix tests

List item in multiaccounts

Use list items in contacts

Fix welcome  screen button

Experiment long press

Big list item

Remove old bottom sheet

Use bottom sheet

Keycard

Add error to list item

Stickers panel button

Images panel

Fix z-index in profile

Fix android crash

Fix signing list item

Try fixing test

iOs gas sheet keyboard

Disable root alert in e2e

keycard signing sheet height

Clean up bottom sheet events

Replace flat list in profile

Memorise the manual-close value for bottom sheet

Mailserver QR scanner

Fix e2e tests

E2e fix 2

Fix e2e 3

Remove extra fn

Reduce bridging time for animation

Trick android layout

Try hooks

Fix profile missing ens-name

Disable press on control in list-view

allow disabling animations in list item

Use simple list in wallet assets settings

TBD - this screen should be rewritten from scratch. Now on every interaction the full list is re-rendered, also it makes the wallet main screen to re-render.

Fix send sheet

Handle long press in main thread

UI fixes

perf

Update e2e

fix missing user name in image long press

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-06 13:35:50 +03:00
andrey fad1bd25c0
chill stickers
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-06 12:31:42 +02:00
Roman Volosovskyi 3fe1d6e3eb
[keycard] Fix assets message signature 2020-07-03 14:10:37 +03:00
andrey 96adbd6185
[#10811] There should be an option to continue opening suspicious urls 2020-07-02 18:59:21 +02:00
andrey 2110446d29
conditional require
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-02 16:23:14 +02:00
andrey 2e7f4212c1
Revert "Remove usage of inline require"
This reverts commit 5f7c7955
2020-07-02 16:23:06 +02:00
Roman Volosovskyi 7f1e25a515
[simulated kk] Add proper signing for send/request transaction messages 2020-07-02 16:06:51 +03:00
andrey 24114f7fe8
[#10105] Add set max to Send transaction
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-02 13:39:48 +02:00
Gheorghe Pinzaru aa3781e5b5
Onboarding headers style
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-02 11:39:21 +02:00
andrey 9619a0a204
[#10860] Rename and move Access keys in onboarding 2020-07-02 11:38:20 +02:00
andrey dfb8420353
Disable Register button if not enough SNT for ENS name
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-01 16:25:18 +02:00
andrey 49744d89de
[#10868] ENS name is pending when tx has failed
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-01 12:48:08 +02:00
Gheorghe Pinzaru e290881bf8
Add autoscroll and animation to intro carousel
Add cancelable loop animation

Set index manually

Increase progress bar size

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-01 09:32:36 +03:00
andrey 056dde0190
[#10870] "Invalid timbre logging level" after upgrade from 1.4 to 1.4.1 or relogin on 1.4.1
Signed-off-by: andrey <motor4ik@gmail.com>
2020-06-29 09:40:55 +02:00
Gheorghe Pinzaru 1733d4dc83
Add control components to Quo
Add new switch component

Add all controls components

Use controls in list items

Delete leftover file

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-26 12:02:02 +03:00
Churikova Tetiana c32057d3fd
Refactoring amount validation errors e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-06-24 15:28:28 +02:00
emizzle 27ed124e01
fix: connectivity banner height
Fixes #9803 --the height of the banner was cutting off banner messages spanning multiple lines

Due to the animation of the view surrounding the banner text, calculate the banner height, then re-render the banner with the updated height.

Render a view that wraps not only the message banner itself, but also a hidden (0-opacity and absolutely positioned) view with the banner text that calculates the height of the banner during the `on-layout` event. The banner height calculation causes the reagent atom value change to re-render the banner view with the udpated height.

1. There is an animation on the message banner. The "out" animation (ie when the banner is in the process of disappearing) seems to work correctly. However, there did not seem to be an "in" animation. I'm fairly confident these changes did not break any existing animations, however it's worth noting this so that others who are more familiar with the existing codebase may be in a better place to say otherwise.
2. Testing during changes was done by dispatching the `network-info-changed` event like so:
```
(re-frame/dispatch [::network-info-changed {:isConnected false}])
```

Co-authored-by: Pascal Precht <pascal@status.im>
Co-authored-by: Eric Dvorsak <eric@status.im>
Signed-off-by: andrey <motor4ik@gmail.com>
2020-06-23 16:44:49 +02:00
Vitaliy Vlasov 84e50ffe4e
Merge webview.js into provider.js
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-06-23 16:12:40 +03:00
Andrey Shovkoplyas 98229c46cf
[#9037] Error states for new Tx overview: contract & network fees
Signed-off-by: andrey <motor4ik@gmail.com>
2020-06-23 15:00:13 +02:00
Andrea Maria Piana 28ebedbd16
Handle encoded urls
We didn't check for encoded characters in the URL.
Instead now first we decode the URL components, and then match against
the URLs.
We also make sure that there's no HTML in the link passed.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-23 14:03:02 +02:00
Serhy df3dec8863
Add auto-capitalize words to keyboard
Signed-off-by: andrey <motor4ik@gmail.com>
2020-06-22 12:43:54 +02:00
Richard Ramos a0bae67a53
fix: change amount-input field type to decimal-pad + words 2020-06-22 12:43:42 +02:00
Gheorghe Pinzaru ea346ffe65
Add accessibility label to Quo tooltip
Accessibility hide password only input

Do not hide all other elements, as only password should be secured

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-22 12:58:24 +03:00
Andrea Maria Piana 1714970e4e
Use Infura token pulled from environment
This way we can use different token for e2e, release, and devel builds.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-19 19:26:40 +02:00
Serhy 095e8e0fc2
Accessibility to block button
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-19 18:17:07 +02:00
Andrey Shovkoplyas ceaf44b184
[#10312] Blocking user takes ~5-10s, and chats are emtpy during that time 2020-06-19 18:16:57 +02:00
Pascal Precht d26a9e2529
fix(multiaccounts/login): ensure log-level is updated correctly
As reported in #10127 there's an issue that the log level isn't properly
applied when changed through log settings UI.

Turned out that we're setting the log-level only once in the entire
lifetime of the application and that is during bootstrap.
When the log level is changed through the UI, we never actually update
the log level in the logger module.

To fix this, we just need to ensure that, whenever the log-level is changed,
we also call `log/set-level!` with the new level.

It should also be noted that, every time the log level is changed through
the UI, the user is logged out, so one place to update the logger is
after very successful login.

Fixes #10127

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-18 17:56:03 +02:00
Andrey Shovkoplyas 6274a1a3af
[#10253] Bottom system panel is white on dark mode on Android
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-18 15:27:10 +02:00
Andrey Shovkoplyas cbf125e4b5
[#10699] Balance of custom tokens is not updated until app restart 2020-06-17 18:32:26 +02:00
Gheorghe Pinzaru 9ce6fea6d5
Fix missing ref on search input
Fixes #10833

Cleanup search on blur if no chat found

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-17 18:12:56 +03:00
Gheorghe Pinzaru c8c524b63e
Fix tooltip position in gas input
Fixes #10834

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-17 17:11:30 +03:00
Gheorghe Pinzaru 10237be747
Show search cancel on android
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-17 15:22:24 +03:00
Vitaliy Vlasov ce1ce1c9a6
Disable reload button on unsafe sites
Add refresh button check in respective e2e

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-06-17 13:02:39 +03:00
Andrey Shovkoplyas 29508c015a
[#10233] Web-page splits in 2 frames when contains errors
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-16 17:19:16 +02:00
Andrey Shovkoplyas 886ccc765e
[#10646] "No protocol method iMap" error when recover the same seed phrase
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-16 17:18:20 +02:00
Andrey Shovkoplyas a1dc0462c7
[#10761] Copy change for iOS only
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-16 16:21:27 +02:00
Andrey Shovkoplyas 15ddf6d060
[#10634] Image of 'Get started' view changes height/width if navigate back from "Enter seed phrase"
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-16 15:34:35 +02:00
Andrey Shovkoplyas e59e17e6e7
[#10658] "connection is secure" tooltip is not aligned with URL field
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-16 14:14:18 +02:00
Andrey Shovkoplyas 24ef4cbd97
[#10694] Amount is not accessible on "Send Transaction" screen when token name is too long
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-16 13:32:44 +02:00
Gheorghe Pinzaru 376dab37e9
Override padding in text input
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-16 14:07:02 +03:00
Andrey Shovkoplyas aeb0123998
[#10808] Can't recover keys from keycard
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-16 11:16:37 +02:00
Churikova Tetiana 4941cc9a82
image e2e and nightly fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-06-12 17:34:47 +02:00
Andrey Shovkoplyas 880424c07b
fix settings blinking and warnings
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-12 14:37:17 +02:00
Roman Volosovskyi ee2dec5b27
[#10439] Fix transaction signing after tapping wrong card 2020-06-12 15:10:30 +03:00
Roman Volosovskyi b25c1413f4
[keycard] Remove unnecessary parameter from generate-and-load-key
`multiaccount` was used only by simulated keycard, so it is removed
and will be retreived by accessing app-db directly. This is done because
simulated kk implementation should be compatible with real keycard and
thus can't require extra parameters.
2020-06-12 12:36:12 +03:00
Gheorghe Pinzaru 3bc9a63c36
Replace all text-inputs with quo component
This reverts commit db202f03bf.

Fix leftover get-ref for text input

Use uuid as a unique identifier for input

Generate a random uuid on mount, ensures that no stale ref are kept

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-11 14:26:37 +03:00
Gheorghe Pinzaru db202f03bf
Revert "Replace all text-inputs with quo component"
This reverts commit 379384211f.

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-10 18:21:13 +03:00
Gheorghe Pinzaru 379384211f
Replace all text-inputs with quo component
Replace all text-inputs with label

Fix tooltip

Replace search input

Replace white bg text inputs with Quo

Add placeholders

Clear quo text inputs on blur

 Change seed phrase word count style

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-10 16:17:21 +03:00
Gheorghe Pinzaru a76a3acd9f
Fix make admin icon
fixes #10785

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-10 09:55:49 +03:00
Gheorghe Pinzaru 64a788c036
Replace old icon set with the new one
Add new icons

Removed unused

Adapt code to new changes

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-10 09:54:29 +03:00
Gheorghe Pinzaru 197ce2eb60
Change status-bar color on theme change
Move into separate ns to avoid circular dependecy

Fix android system white theme status bar

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-09 13:18:07 +03:00
Roman Volosovskyi dae891979f
[#10722] Change learn about keycard link
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-09 07:57:26 +02: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
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 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
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
Roman Volosovskyi a1027cdfcc
[#10452] Keycard: updated PUK flow 2020-06-02 16:34:44 +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
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
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
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 e1074c7c01
fix #10591 error when scrolling account view
Signed-off-by: yenda <eric@status.im>
2020-05-25 14:32:26 +02: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
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
jinhojang6 6344c765d3
Update translations and supported languages 2020-05-21 15:32:03 +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
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
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
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
Roman Volosovskyi dc303fecc9
[#10434] Skip openening multiaccs list on autologin 2020-05-15 12:34:09 +03: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
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
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
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 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
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
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
yenda 1bf68094e3
add clj-kondo to linting phase
Signed-off-by: yenda <eric@status.im>
2020-05-07 10:40:30 +02:00
Andrey Shovkoplyas 41bde61212
[#10414] Implement support for latest version of eip-1193 2020-05-06 17:35:40 +02:00
Gheorghe Pinzaru 2140a9867b
Upgrade react native to 0.62.2
Xcode updates

Localization

Pods upgrade

Update package.json

Upgrade android

Fix gitignore

Add flipper

Do not enable flipper by default on ios

maven update

Remove outdated hermes

idk what it is, but it's outdated

show warning on build

gradle update

rebase

Update deprecated clipboard

nix

align e2e to rn upgrade

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-06 17:35:13 +03:00
Richard Ramos 68fcc967a7
fix: display value decimals instead of using exp notation
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-05 20:29:56 +02:00
Andrey Shovkoplyas eb6d14fd27
revert fast refresh
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-05 17:17:19 +02:00
Andrey Shovkoplyas ebb0697c53
[#10557] "TypeError: Network request failed" crash on sticker market
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-05 17:16:31 +02:00
Andrey Shovkoplyas 640dfa7da6
[#10576] Change button "Sign with keycard" in dark mode
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-05 17:15:19 +02:00
Andrey Shovkoplyas 4db9cd38e1
disable fast reload and add make repl
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-05 11:20:42 +02:00
Churikova Tetiana 4c360f9ea1
e2e fix + pairing code align
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-05-05 10:54:11 +02:00
Andrey Shovkoplyas cdad34ed3d
fixed keycard crash on message signing and fixed height of bottom sheet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-05 10:14:12 +02:00
Andrey Shovkoplyas 8ee1e3d643
[#10255] Keycard is not optimized for Dark mode 2020-05-05 10:14:04 +02:00
Gheorghe Pinzaru d35deefcb5
Use new component to animate headers
fix header title spacing

Remove translate animation

Add press for profile header

Rebase

Attempt to fix e2e

Add back button accessibility-label

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-04 17:08:33 +03:00
Gheorghe Pinzaru 01452794a1
Add text input and tooltip components
Add tooltip component
Add text input component
rename

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-04 16:38:26 +03:00
Andrey Shovkoplyas d91067bb96
removed check spec, and moved db, events and navigation from ui to root folder 2020-05-04 12:23:19 +02:00
Andrey Shovkoplyas d3860508ca
hot reload and re-frisk 1.3.1
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-04 11:22:19 +02:00
Michael Bradley, Jr 00501f44b9
feat: persistent send/receive action at bottom of asset list
When the account card is scrolled out of view a send/receive button group
appears at the bottom of the asset list; uses native animation to raise and
lower the button group into and out of view.

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-04 11:00:00 +02:00
Gheorghe Pinzaru c74beec17a
Remove unused code
Fix tests, return tribute to talk

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-04 09:09:48 +03:00
Michael Bradley, Jr 1bcf884c27
fix: display error and disable Update button if gas limit is less than 21000
Signed-off-by: Michael Bradley, Jr <michaelsbradleyjr@gmail.com>
2020-05-01 18:10:35 -05:00
yenda bf706e8fd2
move tests alongside their cljs counterpart
Signed-off-by: yenda <eric@status.im>
2020-04-30 18:07:17 +02:00
yenda d5ef218584
use shadow-cljs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: yenda <eric@status.im>
2020-04-30 15:43:46 +02:00
Vitaliy Vlasov 1150626801
Remove signing/in-progress? flag
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-04-30 13:47:51 +03:00
Andrey Shovkoplyas 5dc6b77ee8
do not scroll input
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-29 16:51:27 +02:00
Andrey Shovkoplyas fcf1a91507
[#10377] [perfromance] Improve sign in flow
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-29 16:48:30 +02:00
Roman Volosovskyi 309987cc89
[#10443] Remove sensitive information from keycard logs 2020-04-29 14:58:12 +03:00
Roman Volosovskyi 96ed1fdeb9
[#10431] Show pending txs in keycard multiacc 2020-04-29 14:56:17 +03:00
Roman Volosovskyi a6729ce8c5
[#10444] Fix keycard pin changing when card is not tapped 2020-04-29 14:55:28 +03:00
Roman Volosovskyi 7ebd9dc899
Regular multiacc as a backend for simulated keycard 2020-04-29 11:26:49 +03:00
yenda 35dd4b015b
universal link fix
fix for universal link not opening properly when app was closed with
back button, returning nil instead of the url

Signed-off-by: yenda <eric@status.im>
2020-04-28 22:25:37 +02:00
yenda 5608d649b0
notifications: enable local notifications
- only show notifications when app is in background
- open the user chat upon tap on notification
- remove chat from notifications on tap or dismiss notification
- keep the service alive on host destroy
- enable local notifications
2020-04-28 22:25:09 +02:00
Richard Ramos 277f65b94d
fix: display the value to sign as a bytes32 hex string if the data is 66 chars long
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-28 19:36:06 +02:00
Roman Volosovskyi f6dde28c1a
[#10432] Fix adding watch-only acc in keycard multiacc 2020-04-28 16:07:56 +03:00
Richard Ramos 5e1bd9ff48
fix: add debounce to "Done" button in the recipient selection dialog
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-28 12:33:03 +02:00