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

870 Commits

Author SHA1 Message Date
obrusvit
baa9f37a6c feat(nostr): UI for get_pubkey 2024-12-11 17:55:49 +01:00
obrusvit
cb913addae feat(nostr): extend GetPublicKey with show_display 2024-12-11 16:46:40 +01:00
obrusvit
bfc444f083 fix(contacts): remove unused nostr proto fields 2024-12-11 15:40:11 +01:00
Ioan Bizău
c91590426d feat(core): add nostr 2024-12-11 15:22:03 +01:00
obrusvit
4ca2e71969 feat(contacts): improve confirm_new_contact 2024-12-11 14:36:35 +01:00
obrusvit
7c375bdc07 feat(contacts): new contact confirmation 2024-12-11 13:55:54 +01:00
obrusvit
951be5a1cd feat(contacts): improve confirm_output_contact
- show correct titles and subtitles
- remove key labels
2024-12-11 12:59:58 +01:00
obrusvit
10269d7a26 feat(contacts): implement layout for TXOUT
- SwipeFlow for TXOUT confirmation for labeled contact
2024-12-10 17:21:08 +01:00
obrusvit
3da09ff85e feat(contacts): add address_pk_sig to TxOutput 2024-12-10 13:51:14 +01:00
obrusvit
3e9eb074e3 feat(contacts): add protobuf definitions 2024-12-10 11:57:06 +01:00
obrusvit
61ebb19515 refactor(core): mercury confirm_summary
- old confirm_total removed
- flow_confirm_summary refactored to confirm_summary

[no changelog]
2024-12-04 14:47:53 +01:00
obrusvit
af6240b52c refactor(core): model_r confirm_summary
- altcoin_tx_summary removed and replaced with confirm_summary

[no changelog]
2024-12-04 14:47:53 +01:00
obrusvit
6e94748e92 refactor(core): model_t confirm_summary
- model_t confirm_total refactored to confirm_summary
- parameter set changed to pave the way for unification across models

[no changelog]
2024-12-04 14:47:53 +01:00
matejcik
331e07b1e0 feat(core): disable animations in debug firmware by default
This makes it possible to run HW tests on the T3T1 where animations mess
things up. It also speeds up HW tests on other models slightly.

export TREZOR_DISABLE_ANIMATION=0 to build a debug firmware with
animations enabled
2024-12-03 11:02:17 +01:00
Ioan Bizău
13df961317 refactor(core/ui): introduce show_danger
This is a unified interface for flow_warning_hi_prio,
which was available only on Mercury before.

[no changelog]
2024-12-02 22:28:00 +01:00
Ioan Bizău
5c8ee873c6 chore(core/ui): remove new_confirm_address on Mercury
[no changelog]
2024-12-02 19:52:56 +01:00
M1nd3r
01cf58f2a1 docs(core): add and modify docs to context and cache
[no changelog]
2024-12-02 12:39:15 +01:00
M1nd3r
b1f07fec4f chore(core): update core to reflect cache and context refactor
[no changelog]
2024-12-02 12:39:15 +01:00
M1nd3r
8eb62fdeca refactor(core): abstract cache and context
[no changelog]
2024-12-02 12:39:15 +01:00
Ondřej Vejpustek
45a029edcc fix(core): disallow per-node paths in getaddress 2024-12-02 12:21:24 +01:00
Ondřej Vejpustek
94cf3a29a0 feat(core,python,rust): add autogenerated files 2024-12-02 12:21:24 +01:00
Ioan Bizău
f408cdbc4d fix(core/ui): fix paginated data size mismatch 2024-11-26 22:38:06 +01:00
Ioan Bizău
bdb4c51084 fix(core/ui): rename button
[no changelog]
2024-11-26 22:38:06 +01:00
Ioan Bizău
dbd5b62272 feat(core/ui): continue after viewing all data 2024-11-26 22:38:06 +01:00
Ioan Bizău
04c89555cd chore(core/ui): use different copy on TS3 and TT
[no changelog]
2024-11-26 22:38:06 +01:00
Ioan Bizău
9c918aaeb8 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.
2024-11-26 22:38:06 +01:00
Ioan Bizău
929ffa73bd feat(core/ui): add cancel button to paginated blobs 2024-11-26 22:38:06 +01:00
Ioan Bizău
97c9f84f8d feat(core/ui): add page counter to paginated blobs 2024-11-26 22:38:06 +01:00
obrusvit
6f7fccaac2 fix(core/mercury): info at bitcoin signmessage 2024-11-26 16:23:50 +01:00
matejcik
313e9e5c48 fix(core): properly send the resume signal to homescreen layouts 2024-11-26 12:55:29 +01:00
Ioan Bizău
7f19166c83 refactor(core): get rid of description_font_green
[no changelog]
2024-11-19 13:36:01 +02:00
Ioan Bizău
777907ab3b 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-19 13:36:01 +02:00
Ioan Bizău
487d7c4776 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-19 13:36:01 +02:00
M1nd3r
780d41e27f chore(core): remove loop.chan
[no changelog]
2024-11-15 16:29:52 +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
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