Commit Graph

166 Commits

Author SHA1 Message Date
Ivan Grachev
4551f70b18 Kill all sessions on app quit 2021-06-20 20:36:06 +03:00
Ivan Grachev
21830909a3 Refactor WalletConnect service 2021-06-20 19:51:45 +03:00
Ivan Grachev
34090efc7d Add Defaults 2021-06-20 19:50:24 +03:00
Ivan Grachyov
d5dd9887cb Refactor sending transaction 2021-06-20 16:17:11 +03:00
Ivan Grachyov
405869fb9d Clean up 2021-06-20 15:21:26 +03:00
Ivan Grachyov
d7e4e9fb8d Add TODO 2021-06-20 14:45:06 +03:00
Ivan Grachyov
77ee2152ed Fix blinking inputs on app start 2021-06-20 11:00:58 +03:00
Ivan Grachev
65acdfb8a6 Don't show "start" reason on password screen 2021-06-19 21:20:43 +03:00
Ivan Grachyov
cbadc82191 Don't show closed password screen 2021-06-19 21:20:43 +03:00
Ivan Grachyov
83b2f95433 Don't create reference cycle 2021-06-19 21:20:43 +03:00
Ivan Grachyov
67a8b6b84a Enable both app password and Local authentication 2021-06-19 21:20:43 +03:00
Ivan Grachyov
e3fadb9611 Remove redundant TODO 2021-06-19 21:20:43 +03:00
Ivan Grachyov
db46f48fdb Tune quit warning 2021-06-19 21:20:43 +03:00
Ivan Grachyov
86b61cb90e Switch to closeAllAndActivateBrowser 2021-06-19 21:20:43 +03:00
Ivan Grachev
1d308b4b61 Display reason on password screen 2021-06-19 21:20:43 +03:00
Ivan Grachev
2746ac7223 Ask for app password on app start and on every sign request — on devices without biometry. 2021-06-19 21:20:43 +03:00
Ivan Grachev
664373e113 Update Password view controller with reason and completion calls 2021-06-19 21:20:43 +03:00
Ivan Grachev
eb8d0c52fa Add helper function to close all windows and activate browser 2021-06-19 21:20:43 +03:00
Ivan Grachev
97052f8b61 Tune quit text once again 2021-06-19 21:20:43 +03:00
Ivan Grachyov
238e219695 Fine-tune quit alert text 2021-06-19 21:20:43 +03:00
Ivan Grachyov
c754187819 Protect from accidental quitting with alert 2021-06-19 21:20:43 +03:00
Ivan Grachyov
8430084163 Implement quitting from status bar menu 2021-06-19 21:20:43 +03:00
Ivan Grachyov
4d13a11316 Fix accounts list horizontal wiggles 2021-06-19 21:20:43 +03:00
Ivan Grachyov
a584e45848 Precise placeholder text on import account screen 2021-06-19 21:20:43 +03:00
Ivan Grachyov
cf6c663753 Disable typeSelect on accounts list 2021-06-19 21:20:43 +03:00
Ivan Grachyov
554f1ea4b5 Add a step into instruction 2021-06-19 21:20:43 +03:00
Ivan Grachyov
d5e26adde4 Approve screen OK button responds to a first enter stroke 2021-06-19 21:20:43 +03:00
Ivan Grachyov
3dfa84617a Add ok button outlet on approve screen storyboard 2021-06-19 21:20:43 +03:00
Ivan Grachyov
1093d7bae0 Add ok button outlet on approve screen 2021-06-19 21:20:43 +03:00
Ivan Grachyov
67074f2211 Implement creating password 2021-06-19 21:20:43 +03:00
Ivan Grachyov
d9309ffee7 Fix window activation after touch id 2021-06-19 21:20:43 +03:00
Ivan Grachyov
7833a4330f Store password in keychain 2021-06-19 21:20:42 +03:00
Ivan Grachyov
0de00c0a60 Refactor Keychain 2021-06-19 21:20:42 +03:00
Ivan Grachyov
ddd2c14e24 Add PinViewController Mode 2021-06-19 21:20:42 +03:00
Ivan Grachyov
23a9694b18 Check pasteboard for session on app start 2021-06-19 21:20:42 +03:00
Ivan Grachyov
513b459f5d Check pasteboard after becoming active 2021-06-19 21:20:42 +03:00
Ivan Grachyov
0b31305c2f Better instructions 2021-06-19 21:20:42 +03:00
Ivan Grachyov
d820a07c79 Accounts list responds to becoming active 2021-06-19 21:20:42 +03:00
Ivan Grachyov
a9dee1df3c Refactor agent 2021-06-19 21:20:42 +03:00
Ivan Grachyov
e5a7fc941c Show instructions alert 2021-06-19 21:20:42 +03:00
Ivan Grachyov
5561676a8a Add new account button, hide it for now 2021-06-19 21:20:42 +03:00
Ivan Grachyov
a8925c5da0 Fix Pods, add Welcome screen 2021-06-19 21:20:42 +03:00
Ivan Grachyov
4a951dfc9c More reliable activation after touch id 2021-06-19 21:20:42 +03:00
Ivan Grachyov
2d01b515c1 Don't connect from import screen if there are other available accounts 2021-06-19 21:20:42 +03:00
Ivan Grachyov
da0a60eb7a Fix storyboard warnings 2021-06-19 21:20:42 +03:00
Ivan Grachyov
bb59c9a02c Add TODO 2021-06-19 21:20:42 +03:00
Ivan Grachyov
456dcc7125 TouchId to remove account 2021-06-19 21:20:42 +03:00
Ivan Grachyov
51e342a572 Show alert before removing account 2021-06-19 21:20:42 +03:00
Ivan Grachyov
eb045017dd Don't iterate over all running apps 2021-06-19 21:20:42 +03:00
Ivan Grachyov
87492d90ff Add Bundle extension 2021-06-19 21:20:42 +03:00
Ivan Grachyov
14a935febb Call activateBrowser instead of activateSafari 2021-06-19 21:20:42 +03:00
Ivan Grachyov
811c387638 Implement jumping back to Chrome 2021-06-19 21:20:42 +03:00
Ivan Grachyov
cbc4587bfb Bump build number 2021-06-19 21:20:42 +03:00
Ivan Grachyov
df42977860 Don't clean pasteboard accidentally. Try to start new wallet connect session on reopen 2021-06-19 21:20:42 +03:00
Ivan Grachyov
4dde5141a2 Update app version, support earlier macOS 2021-06-19 21:20:42 +03:00
Ivan Grachyov
280450bb15 Update keychain key 2021-06-19 21:20:42 +03:00
Ivan Grachyov
007c0c9c8b Update team and bundle id 2021-06-19 21:20:42 +03:00
Ivan Grachyov
a08398d989 Close window instead of terminating 2021-06-19 21:20:42 +03:00
Ivan Grachyov
b16c7591d8 Add TODO 2021-06-19 21:20:42 +03:00
Ivan Grachyov
af48f91ebc Start WalletConnect session from universal link 2021-06-19 21:20:42 +03:00
Ivan Grachyov
36ef67a6ce Support universal links 2021-06-19 21:20:42 +03:00
Ivan Grachyov
381f0176fd Ask for owner authentication only when applicable 2021-06-19 21:20:42 +03:00
Ivan Grachyov
f02cb7fb8b Ask for touch id 2021-06-19 21:20:42 +03:00
Ivan Grachyov
1511930b61 Clean up WalletConnect code 2021-06-19 21:20:42 +03:00
Ivan Grachyov
f54c0855d5 Update WalletConnect strings 2021-06-19 21:20:42 +03:00
Vadim Zakharenko
3bcd4c6ce1 Refactor 2021-06-19 21:20:42 +03:00
Vadim Zakharenko
4f55977cac Remove unused code 2021-06-19 21:20:42 +03:00
Vadim Zakharenko
4c56d9a528 Clarify send transaction title 2021-06-19 21:20:42 +03:00
Vadim Zakharenko
10ecd11fe9 Send transactions 2021-06-19 21:20:31 +03:00
Ivan Grachyov
04e93c377e Add image for status bar 2021-06-13 13:53:38 +03:00
Ivan Grachyov
d8c2b3130d MacOS-only 🎤⬇️ 2021-06-13 13:13:47 +03:00
Ivan Grachyov
67588ef733 Add secure text field to pin screen 2021-06-13 11:42:41 +03:00
Ivan Grachyov
1dc43b561e Fix titles case 2021-06-13 10:40:03 +03:00
Vadim Zakharenko
cd8971039f Vary alert title for signing 2021-06-13 10:27:48 +03:00
Ivan Grachyov
afb1cd271f Nice scrollable text view for transaction meta 2021-06-13 10:01:19 +03:00
Ivan Grachyov
ffa6fe8e9f Remove redundant import 2021-06-13 09:33:38 +03:00
Ivan Grachyov
8b3dec6f2b Show Approve screen instead of alerts 2021-06-13 09:32:07 +03:00
Ivan Grachyov
c7f926ca28 Add completion to ApproveViewController 2021-06-13 08:59:24 +03:00
Ivan Grachyov
8d944e8d05 Add TODO 2021-06-13 08:58:31 +03:00
Ivan Grachyov
374576cd90 Display error message on error screen 2021-06-13 07:20:23 +03:00
Ivan Grachyov
2ab17518cf Show error screen on failed connection attempt 2021-06-13 07:12:39 +03:00
Ivan Grachyov
a0df10749c Add waiting view controller 2021-06-13 07:01:01 +03:00
Ivan Grachyov
14efa875f5 Add PinViewController 2021-06-13 06:33:22 +03:00
Ivan Grachyov
146b151761 Select accounts for WC 2021-06-13 06:30:20 +03:00
Ivan Grachyov
ff9e0501bd Better windows management 2021-06-13 05:45:54 +03:00
Ivan Grachyov
5ad2750b9b Add more view controllers 2021-06-13 04:41:04 +03:00
Ivan Grachyov
00c5cd945c Add cancel button to import account screen 2021-06-13 04:05:42 +03:00
Ivan Grachyov
9e45ea097e Implement copying address and deleting account 2021-06-13 03:59:05 +03:00
Ivan Grachyov
510917bd8b Jump to add account screen from accounts list 2021-06-13 03:45:24 +03:00
Ivan Grachyov
6c2f69b800 Validate private key on import screen 2021-06-13 02:24:02 +03:00
Ivan Grachyov
bacf09b4b2 Layout import account screen 2021-06-13 02:12:03 +03:00
Ivan Grachyov
b8a33cd204 Handle quitting better 2021-06-13 01:35:24 +03:00
Ivan Grachyov
63f04519a3 Merge remote-tracking branch 'refs/remotes/origin/main' 2021-06-12 21:15:38 +03:00
Ivan Grachyov
5cbb8e7d41 Add method to handle reopen 2021-06-12 21:15:32 +03:00
Vadim Zakharenko
68e2c15d05 Add sign and sign_typed_data methods 2021-06-12 21:11:55 +03:00
Vadim Zakharenko
be8f725bd5 Add personal_sign method 2021-06-12 20:58:41 +03:00
Ivan Grachyov
4e12d1ec92 Fix send transaction title 2021-06-12 20:42:59 +03:00
Ivan Grachyov
ca353b30d1 Merge remote-tracking branch 'refs/remotes/origin/main' 2021-06-12 20:38:07 +03:00
Ivan Grachyov
0d350b7ff4 Add WalletConnect stub 2021-06-12 20:37:56 +03:00
Vadim Zakharenko
479369f91d Add AccountsService 2021-06-12 19:47:44 +03:00