Commit Graph

42 Commits

Author SHA1 Message Date
Jannis Redmann
f9ecea8f4d sms verification code style (#3564)
* sms verification: fix code style

* sms verification: move server-related code to 3rdparty

* sms verification: adapt to ropsten
2016-11-21 20:45:47 +01:00
Jannis R
4ae58f7d33
move nullable PropType helper 2016-11-17 14:31:25 +01:00
Jannis R
179078d31a
sms verification: loading step 2016-11-17 14:23:59 +01:00
Jannis R
fff8743ee6
sms verification: fetch contract address from Registry 2016-11-17 14:23:47 +01:00
Jannis R
3f0053f884
sms verification: move helper functions
- checkIfTxFailed & waitForBlockConfirmations are both general-purpose
- checkIfVerified, checkIfRequested & postToServer are sms verification-specific
2016-11-17 13:07:36 +01:00
Jannis R
13448930e9
sms verification: fix styling 2016-11-17 12:31:06 +01:00
Jannis R
da8c70fbe7
sms verification: check if tx failed, minor UI fixes
- checks if the tx failed by the amount of gas used
- don't show the pending indicator if an error occured
2016-11-16 13:28:52 +01:00
Jannis R
8d4b1a332b
sms verification: bugfixes 🐛
- fixed imports
- renamed `uiSteps` to `phases` to make the distinction between
  actual (tiny) steps and visible UI steps clear
- lookup `requestTx` if request has already been sent
- change code regex to match ethcore/sms-verification@59acb73
2016-11-15 19:22:44 +01:00
Jannis R
aa8fc554fe
sms verification: simplify code
- moved the steps into named exports
- moved the store creation into the Accounts component
- fix a linting issue
2016-11-15 17:04:34 +01:00
Jannis R
3e879aac35
sms verification: use Mobx store 2016-11-15 16:30:55 +01:00
Jannis R
bfcc8d33d6
sms verification: make Done component dumb 2016-11-15 16:22:19 +01:00
Jannis R
90df237ca5
sms verification: make SendConfirmation component dumb 2016-11-15 16:22:19 +01:00
Jannis R
377c16cf78
sms verification: make QueryCode component dumb 2016-11-15 16:22:19 +01:00
Jannis R
f48a341c32
sms verification: make SendRequest component dumb 2016-11-15 16:22:18 +01:00
Jannis R
71986249e5
sms verification: make GatherData component dumb 2016-11-15 16:22:16 +01:00
Jannis R
8ef9fff8ba
sms verification: put process into MobX store 2016-11-15 16:05:00 +01:00
Jannis R
b5560d27a0
sms verification: pull out postToVerificationServer 2016-11-14 18:03:07 +01:00
Jannis R
b1fcee73a5
sms verification: less block confirmations 2016-11-14 12:33:29 +01:00
Jannis R
8ce362b224
sms verification: add terms of service 2016-11-14 12:31:26 +01:00
Jannis R
bd839d019c
sms verification: polish UI, linting issues 👕 2016-11-10 16:23:09 +01:00
Jannis R
afdda48ab5
sms verification: polish UI
This introduces another "Done" step, making clear the process has finished.

Also, steps 2 ("Request") and 4 ("Confirm") now have a pending indicator.
2016-11-10 16:09:41 +01:00
Jannis R
2309e53fe6
sms verification: polish UI, linting issues 👕 2016-11-10 13:54:17 +01:00
Jannis R
ac80276ad8
sms verification: refactor checks & confirmation 2016-11-10 13:37:32 +01:00
Jannis R
cde9f454eb
sms verification: polish UI 2016-11-09 19:04:13 +01:00
Jannis R
8028c0fd65
sms verification: check if already requested 2016-11-09 19:02:33 +01:00
Jannis R
01cf88d71a
sms verification: merge step 1 & 2 2016-11-09 18:02:33 +01:00
Jannis R
a42140edde
sms verification: send confirmation tx 2016-11-09 17:34:21 +01:00
Jannis R
f08e2a4b17
sms verification: query code 2016-11-09 16:56:01 +01:00
Jannis R
7996ac47ec
sms verification: polish UI, fix linting issues 👕 2016-11-09 16:55:59 +01:00
Jannis R
e7113e7eb4
sms verification: show fee in consent form 2016-11-09 16:54:57 +01:00
Jannis R
e84531f31c
sms verification: refactor contract call 2016-11-09 16:54:57 +01:00
Jannis R
ebf742f2af
sms verification: update contract address & ABI 2016-11-09 16:54:57 +01:00
Jannis R
a56a1d3aef
sms verification: request SMS 2016-11-09 16:54:56 +01:00
Jannis R
3ef54f9172
sms verification: wait for tx confirmations 2016-11-09 16:54:56 +01:00
Jannis R
d0d737d1e3
sms verification: post request transaction 2016-11-09 16:54:56 +01:00
Jannis R
89a2917935
boilerplate for third step 2016-11-09 16:54:56 +01:00
Jannis R
4c199ef716
sms verification: collect data 2016-11-09 16:54:55 +01:00
Jannis R
14da2d2805
sms verification: check if certified 2016-11-09 16:54:55 +01:00
Jannis R
435d3c24db
SendRequest -> GatherData 2016-11-09 16:54:55 +01:00
Jannis R
1a245405e5
query phone number & consent 2016-11-09 16:54:55 +01:00
Jannis R
fc76fa9252
sms verification: basic stepper 2016-11-09 16:54:54 +01:00
Jannis R
f96e69309f
SMS verification modal 2016-11-09 16:54:54 +01:00