Pavol Rusnak
0ff7034e37
embed/extmod/modtrezorconfig: refactor PIN UI wait callback ( #398 )
...
This commit accomplishes several goals:
1) it removes any upy dependencies from storage.c/storage.h
2) ui wait callback is set during config_init and storage_init,
which allows to simplify the code dramatically
2018-11-08 15:55:47 +01:00
Pavol Rusnak
a0a195fdd3
src/apps/management: add confirmation screens to Reset and Recovery
2018-10-22 14:22:07 +02:00
Pavol Rusnak
9e3ae93796
src/apps/management: fix storage.load_mnemonic calls
2018-10-04 18:15:03 +02:00
Jan Pochyla
dcb15f77c3
src: run black
2018-07-10 13:05:15 +02:00
Jan Pochyla
ead154b907
src: run isort
2018-07-10 13:05:15 +02:00
Jan Pochyla
2b66deb3d6
ui.text: type -> normal
2018-07-03 16:49:52 +02:00
Jan Pochyla
b3d3da7f7a
apps: use mutable Text API
2018-07-03 16:49:52 +02:00
Pavol Rusnak
ac5e3f200a
src: rename wire_types to MessageType, drop copy in tools/build_protobuf
2018-07-02 20:40:51 +02:00
Pavol Rusnak
736b02394f
src/apps: make flake8 happy
2018-05-02 16:51:57 +01:00
Jan Pochyla
db696b23fd
src/trezor/wire: add exceptions for all defined FailureTypes
...
Makes the error API much more ergonomic.
2018-04-23 16:12:44 +01:00
Pavol Rusnak
01bb1e34fa
src/apps/management: implement dry_run in recovery_device
2018-02-28 21:13:37 +01:00
Jan Pochyla
8f1ed5edce
src: handle wire msgs while waiting for ui
2018-02-28 17:17:09 +01:00
Jan Pochyla
9f48e3d471
request_pin, request_passphrase: ui fixes
2018-02-27 20:21:54 +01:00
Jan Pochyla
85e5a87c24
src/apps/{common,management}: use more specific ButtonRequestTypes
2018-02-27 12:07:42 +01:00
Jan Pochyla
fd95bb482e
src/apps: rely more on ui.layout clear
2018-02-27 00:12:30 +01:00
Pavol Rusnak
6fd7782ac7
src/apps/management: use format_ordinal in reset and recovery workflows
2018-02-25 15:05:32 +01:00
Jan Pochyla
fcd712a0b0
src/apps/management/recovery_device: dry_run, pin confirm
2018-02-22 15:21:09 +01:00
Jan Pochyla
77b78e277a
apps/management/recovery_device: adapt for new keyboard
2018-01-16 15:46:32 +01:00
Peter Jensen
ed9e63142d
ui: request_words, keyboard ui
2018-01-16 15:46:32 +01:00
Jan Pochyla
95db112d10
apps/management/recovery_device: mnemonic keyboard
2018-01-16 15:46:32 +01:00
Jan Pochyla
808317424d
use trezor.ui.{BG,FG}
2017-09-26 12:05:26 +02:00
Jan Pochyla
3562ffdc54
wire: pass Context to apps
2017-08-15 18:14:14 +02:00
Jan Pochyla
98e82e3cd5
code style
2017-06-12 18:16:06 +02:00
Peter Jensen
38c37da0c3
trezor.ui: reset device redesign
2017-03-29 14:46:47 +02:00
Jan Pochyla
e0dfc2ef03
apps: reflect the wire api changes
2016-12-08 16:19:09 +01:00