1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-13 01:48:21 +00:00
Commit Graph

1406 Commits

Author SHA1 Message Date
Ondřej Vejpustek
e7f2729eef fix(core): fix serialization of signatures and witnesses in multisig
[no changelog]
2024-12-12 14:24:59 +01:00
Lukas Bielesch
6de0e5de0f chore(core): change display orientation labels [no changelog] 2024-12-09 15:03:57 +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
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
obrusvit
b915753aa3 chore: update fixtures for other langs
[no changelog]
2024-12-02 17:56:46 +01:00
Ondřej Vejpustek
e77477cb46 chore: update fixtures 2024-12-02 12:21:24 +01:00
Ondřej Vejpustek
ae32a23002 fix(core): disallow per-node paths in change outputs 2024-12-02 12:21:24 +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
4a1127620d refactor(tests): use same path in per-node specification 2024-12-02 12:21:24 +01:00
Ondřej Vejpustek
1e2031674c feat(test): test sortedmulti 2024-12-02 12:21:24 +01:00
Ondřej Vejpustek
4dce3d0099 feat(core):: support sortedmulti 2024-12-02 12:21:24 +01:00
Ondřej Vejpustek
0a9c4ba4ec feat(core)): forbid multisig to singlesig change outputs 2024-12-02 12:21:24 +01:00
Ondřej Vejpustek
c21c6d4474 refactor(test): use forged mainnet transactions 2024-12-02 12:21:24 +01:00
Ondřej Vejpustek
8db5ef94af refactor(test): refactor device test 2024-12-02 12:21:24 +01:00
Ondřej Vejpustek
f3983486d1 feat(core): remove deprecated path 2024-12-02 12:21:24 +01:00
Ioan Bizău
c44f901a97 chore(core): update fixtures 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
Lukáš Bielesch
ebc302959b
fix(core): fix broken flow for changing brightness [no changelog] (#4378)
* fix(core): fix broken flow for changing brightness [no changelog]

* fixup! fix(core): fix broken flow for changing brightness [no changelog]

* fixup! fix(core): fix broken flow for changing brightness [no changelog]

* fixup! fix(core): fix broken flow for changing brightness [no changelog]

* fixup! fix(core): fix broken flow for changing brightness [no changelog]

* fixup! fix(core): fix broken flow for changing brightness [no changelog]
2024-11-26 19:35:40 +01:00
obrusvit
6f7fccaac2 fix(core/mercury): info at bitcoin signmessage 2024-11-26 16:23:50 +01:00
matejcik
50447de878 chore(tests): fix deprecation warning 2024-11-25 13:32:13 +01:00
matejcik
ae3d8263b9 refactor(tests): rework Model.TR "go to right key" logic
this changes UI tests because in edge cases the carousel goes the other
(shorter) way
2024-11-25 13:32:13 +01:00
matejcik
4a266d8bf1 feat(tests): raise a warning for a translation not found in language
we need to propagate stacklevel so that the warning is emitted at the
usage line instead of deep in translations.py

i mean
we don't _need_ need to
it's just nicer
2024-11-25 13:32:13 +01:00
matejcik
8a1c15fd94 feat(tests): simplify asserts on translated strings 2024-11-25 13:32:13 +01:00
Ioan Bizău
f69a0f6d7d chore(core): update fixtures 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
Lukas Bielesch
b9f5e2b409 chore(core): show the last pin digit for a while 2024-11-18 14:05:04 +01:00
Lukas Bielesch
a4da695430 chore(core): Use enum for for dealing with device rotations 2024-11-13 11:08:56 +01:00
obrusvit
8912686a22 fix(tests): remove lang asserts from click slip39
- some non-english texts do not fit on the screen and are paginated,
these tests cannot handle it
- commented out not to block GFL PR, to be resolved later
2024-11-12 16:55:17 +01:00
matejcik
fa46dddbef chore: update fixtures for translations 2024-11-12 16:55:17 +01:00
obrusvit
92951303ba fix(tests): show_multisig title assertions 2024-11-12 16:55:17 +01:00
matejcik
4819a8ce31 chore: update fixtures 2024-11-12 16:55:17 +01:00
matejcik
3769024920 fix(core): patch over problems with confirm_blob_pagination 2024-11-12 16:55:17 +01:00
matejcik
b2328a4e28 chore: update fixtures 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
matejcik
3a8f92f64d tests(core): fix upgrade tests 2024-11-12 16:55:17 +01:00
Martin Milata
ea815eba93 test(core): fix test_reset_bip39_t2
[no changelog]
2024-11-12 16:55:17 +01:00
obrusvit
4b53a3ea9d fix(tests): fix T3B1 persistance test 2024-11-12 16:55:17 +01:00
obrusvit
a22f1d3760 fix(tests): assert multiple in slip39 checklist 2024-11-12 16:55:17 +01:00
matejcik
e199d2bcaf fix(tests): fix persistence tests, enable T3B1 2024-11-12 16:55:17 +01:00
matejcik
31958b7fb8 fix(core): restore ellipsis functionality on TR 2024-11-12 16:55:17 +01:00
matejcik
d4423b3569 fix(tests): correctly check that backup flow was aborted 2024-11-12 16:55:17 +01:00
matejcik
fbc2c828ec fix(tests): do not place recorded.zip into the destdir
instead, download it to a temp location, as the Prophecy (and authors of
urlretrieve) foretold
2024-11-12 16:55:17 +01:00
matejcik
73c8149528 fix(tests): do not trip deadlock detection in autolock test 2024-11-12 16:55:17 +01:00
matejcik
b6b827cf7b chore: update fixtures 2024-11-12 16:55:17 +01:00
matejcik
a4bd771e3b style: fix style problems 2024-11-12 16:55:17 +01:00
matejcik
12cf208237 fix(tests): stop waiting for background task after a timeout
Otherwise a test can hang if the result is not returned. This is not
even covered by pytest-timeout because if a test fails, the call to
task.kill() happens during teardown, and pytest-timeout doesn't cover
that.
2024-11-12 16:55:17 +01:00
matejcik
f4240d6309 chore(python): improve recovery type deprecation warning 2024-11-12 16:55:17 +01:00
matejcik
d385667b4a fix(tests): restore test functionality on legacy
The global layout related changes were wrong for T1 where debuglink
behavior is significantly different; in particular, it is not always
possible to communicate over debuglink.

This change reverts to the old behavior for T1B1 and keeps the new one
only for core-based models.
2024-11-12 16:55:17 +01:00
matejcik
617db52f43 feat(tests): sync received responses
to prevent "unexpected response to Initialize" errors
2024-11-12 16:55:17 +01:00
matejcik
11ae7a92ab style: fix complaining lints & formatters 2024-11-12 16:55:17 +01:00