1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-02 04:18:20 +00:00
Commit Graph

1872 Commits

Author SHA1 Message Date
Ioan Bizău
86d5cf2e16 feat(core/ui): tweak blob first page appearance
This commit adds a margin and footer description to the first page of
the paginated blobs to be confirmed on Mercury. It also extracts the
part of confirm_blob that deals with the first page to a separate
function in order to keep confirm_blob simple.

[no changelog]
2024-11-15 12:53:34 +01:00
Ioan Bizău
f21b424fe0 feat(core/ui): add cancel button to paginated blobs
[no changelog]
2024-11-15 12:53:34 +01:00
Ioan Bizău
e0e0c11db2 feat(core/ui): add page counter to paginated blobs
[no changelog]
2024-11-15 12:53:34 +01:00
Ioan Bizău
fc54ad1b77 refactor(core): get rid of description_font_green
[no changelog]
2024-11-15 12:45:59 +01:00
Ioan Bizău
3b40950f7a refactor(core): drop confirm_blob_with_optional_pagination
Commit c300576d6c introduced
`confirm_blob_with_optional_pagination` which proved to be unpopular and
impractical. This commit brings back the old behaviour of having the
`ask_pagination` parameter on `confirm_blob`. It also reverts back to
using the old way of paginating `confirm_blob` on model R, which the
aforementioned commit ignored and re-implemented from scratch.

[no changelog]
2024-11-15 12:45:59 +01:00
Ioan Bizău
6d2c1566be refactor(core): use warning_hi_prio in ETH flow
Commit c300576d6c introduced the
`default_cancel` parameter to `show_warning` and `confirm_blob` rather
using the already existing `flow_warning_hi_prio` which was doing the
same thing. This commit reverts all the nonsense.

[no changelog]
2024-11-15 12:45:59 +01:00
M1nd3r
e434aabc77 chore(core): remove unused session_id from codec_v1
[no changelog]
2024-11-15 08:47:24 +01:00
M1nd3r
cce2335965 refactor(core): use if TYPE_CHECKING instead of direct import and fix style of ignore statement
[no changelog]
2024-11-15 08:47:24 +01:00
M1nd3r
4c009539c7 docs(core): fix docs indentation and correct a few typos
[no changelog]
2024-11-15 08:47:24 +01:00
Lukas Bielesch
a4da695430 chore(core): Use enum for for dealing with device rotations 2024-11-13 11:08:56 +01:00
matejcik
3769024920 fix(core): patch over problems with confirm_blob_pagination 2024-11-12 16:55:17 +01:00
matejcik
8fb41ee290 feat(core): enforce return type annotations 2024-11-12 16:55:17 +01:00
matejcik
34d97ee942 feat(core): log ButtonRequests with names for easier debugging 2024-11-12 16:55:17 +01:00
matejcik
35be52e31e fix(tests): patch over confirm_blob buttonrequest problems 2024-11-12 16:55:17 +01:00
Martin Milata
87a01a9bfb test(core): fix T3T1 U2F test
[no changelog]
2024-11-12 16:55:17 +01:00
obrusvit
69770a42f4 fix(tests): fix click tests race condition 2024-11-12 16:55:17 +01:00
matejcik
8d2f0a6566 style: make style_check passing 2024-11-12 16:55:17 +01:00
matejcik
0a6c5504ef fix(core): fix cancel behavior in SignMessage 2024-11-12 16:55:17 +01:00
matejcik
e1b4a4a79a fix(core): allow Ping while locked
same behavior as on Trezor One
2024-11-12 16:55:17 +01:00
matejcik
adc3516ac6 feat(core): drop support for after-step-hook
This was necessary for hooking display.refresh() with the old UI toolkit.
With the new one, we explicitly refresh the display after every paint, so
implicit after-step refresh seems no longer necessary.
2024-11-12 16:55:17 +01:00
matejcik
9e911605da refactor(core/ui): reusable timers 2024-11-12 16:55:17 +01:00
matejcik
adc9b523be tests: fix small irregularities 2024-11-12 16:55:17 +01:00
matejcik
cd25071a29 refactor(core): improve recovery_enter_share 2024-11-12 16:55:17 +01:00
matejcik
e3a478044d docs(core): Layout lifecycle documentation 2024-11-12 16:55:17 +01:00
matejcik
84d7597d52 feat(core): show progress before starting to wipe device
This doesn't actually advance the progress while device erase is ongoing, but at least the user sees a loader.
2024-11-12 16:55:17 +01:00
matejcik
0e8dcbb498 feat(core): unify RustLayout, implement single global layout 2024-11-12 16:55:17 +01:00
matejcik
1fc7d41b8d fix(core): set default value for do_not_restart
otherwise if _handle_single_message raises an exception (which is
fortunately not something that should generally happen), the
finally-block would fail on "referenced before assignment"
2024-11-12 16:55:17 +01:00
matejcik
98dde40729 feat(core): add mailbox as a simplified version of chan 2024-11-12 16:55:17 +01:00
matejcik
7617bc8c25 refactor(core): remove debuglink support from main handle_session
It is being moved into a custom handler for the debug app.
2024-11-12 16:55:17 +01:00
matejcik
0334b42c8e refactor(core): remove unused features from loop.race 2024-11-12 16:55:17 +01:00
matejcik
b7b09b8836 feat(core): introduce timeout to loop.wait() 2024-11-12 16:55:17 +01:00
tychovrahe
1efb684544 refactor(core): expose USE_TOUCH and USE_BUTTON to uPy
[no changelog]
2024-11-12 16:55:17 +01:00
Lukas Bielesch
7a61d8e858 chore(core) Translate hard-coded 'Enable labeling' string 2024-11-06 18:34:05 +01:00
Jack
e30a343095 feat: support Unchained p2wsh path
fix: move unchained paths to bitcoin multisig SPENDWITNESS

chore: add changelog
2024-11-05 11:26:28 +01:00
obrusvit
2396e10fbb fix(cardano): do not show paths while staking
Confirming "Withdraw" and "Delegate" is not accompanied by confirming
derivation paths after the transaction has been already signed.

[no changelog]
2024-10-31 22:02:01 +01:00
Ioan Bizău
c300576d6c feat(core/ethereum): new ETH contract flow 2024-10-30 17:25:48 +02:00
obrusvit
2c6a13064b feat(cardano): use nicer summary for send tx
Also show Recipient {i} for simple tx
2024-10-30 09:15:10 +01:00
obrusvit
e42c433ded feat(cardano): ask detail lvl only on complex tx
- remove the choise of detail level ("Show simple" vs "Show all") when
signing simple transactions - these are the transactions typically
enabled by TrezorSuite.
2024-10-30 09:15:10 +01:00
M1nd3r
74655931ce feat(core): allow benchmark on BITCOIN_ONLY debug build
[no changelog]
2024-10-25 13:16:39 +02:00
M1nd3r
16da9a8889 chore(common): separate definitions of protobuf options
[no changelog]
2024-10-23 22:27:48 +02:00
Martin Milata
16b2159b32 build(core): add T3W1 for translations and definitions
[no changelog]
2024-10-16 16:25:20 +02:00
Ondřej Vejpustek
2d5d7201d5 feat(core): allow benchmark only in debug
[no changelog]
2024-10-11 16:35:34 +02:00
Ondřej Vejpustek
52d85d1f39 feat(core): implement benchmark application 2024-10-11 16:35:34 +02:00
Ondřej Vejpustek
b436b39091 chore(core): add benchmark messages
[no changelog]
2024-10-11 16:35:34 +02:00
obrusvit
08845d410d fix(core/ui): add 2nd version of continue anyway
To distinguish between prompt and a question.
2024-10-10 19:14:16 +02:00
obrusvit
3475354a1a fix(core/ui): fix title of XPUB success screen 2024-10-10 19:14:16 +02:00
Andrew Kozlik
911fe2a526 feat(core): Implement extend_mnemonics() for SLIP-39.
[no changelog]
2024-10-10 12:52:06 +02:00
tychovrahe
f822074047 chore(core): add autogenerated notice to enums/__init__.py
[no changelog]
2024-10-09 15:06:40 +02:00
M1nd3r
c99988312a feat(core): add pairing credential manager
[no changelog]
2024-10-09 10:44:30 +02:00
M1nd3r
6ba75b267d chore(core): exclude THP modules and messages from non-THP builds
[no changelog]
2024-10-09 10:44:30 +02:00