1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-13 19:18:56 +00:00
Commit Graph

1333 Commits

Author SHA1 Message Date
matejcik
b9a104d2ac fix(tests): python >=3.11 compatibility for identifiers
Python 3.11 changed IntEnum.__str__ to return the number instead of the
enum value name. This breaks fixtures.json because pytest uses
str(value) to generate the test identifier names, and in a lot of places
our identifiers use the enum values.

This override of `_idval_from_value` explicitly generates a name from
the IntEnum instead of using the __str__ implementation.
2024-09-12 09:36:13 +02:00
matejcik
8129086aa7 chore: upgrade pytest
to get rid of python 3.14 deprecation warnings
2024-09-12 09:36:13 +02:00
matejcik
eda8c72b3a feat(tests): flip the default service for update_fixtures.py ci to github
now that we don't really use gitlab anymore
2024-09-11 12:59:04 +02:00
matejcik
475673e894 feat(tests): use trezorlib's builtin model list to fetch the pipelines
this includes D001 / D002, that probably doesn't matter
2024-09-11 12:59:04 +02:00
matejcik
c31819b53f chore(tests): upgrade T2B1 to T3B1 for UI master-comparison 2024-09-11 12:59:04 +02:00
matejcik
d21af2a47f tests: rework tutorial tests
complicated flows that _do not accomplish results_ do not belong into
device_tests, so I moved them to click_tests and added stronger assert
system
2024-09-11 12:59:04 +02:00
matejcik
17706540b5 chore(tests/ui_tests): screenshots for T3B1 should also be pixelated 2024-09-11 12:59:04 +02:00
matejcik
b3bd85b1fb refactor(tests): introduce a better model selection mechanism 2024-09-11 12:59:04 +02:00
matejcik
37d8649d5d tests: flip T2B1 pipelines to T3B1 2024-09-11 12:59:04 +02:00
JoeGruff
d2a2ac2178 decred: Add input_derive_script.
Decred shares code with bitcoin and a recent change broke signing stake
based inputs. Add decred specific script construction and fix tests.
2024-09-06 10:52:47 +02:00
Martin Milata
777ad11bec feat(core/translations): add it, pt
Partially added TR.
2024-09-03 21:58:09 +02:00
Ioan Bizău
423f159794 chore(core): update fixtures and fix style 2024-09-03 18:59:53 +03:00
obrusvit
3de7256103 chore(core/mercury): fix UI test for everstake
[no changelog]
2024-09-03 18:59:53 +03:00
obrusvit
c5f9fadbd1 fix(core/mercury): show remaining shares
This commit enables showing "Remaining shares" from the context menu
during recovery process. This is only shown during super-shamir.
2024-09-03 14:20:34 +02:00
matejcik
234c065aae chore(core): support T3B1 for translation blobs 2024-09-03 10:35:14 +02:00
Martin Milata
7c8be6f0ea fix(core/ui/mercury): FIDO2 layouts 2024-09-02 19:36:25 +02:00
obrusvit
9e18e72a2c feat(core): ask for 20/33 words to unlock backup
Unlocking repeated backup is only possible with SLIP-39 extendable
backup which contains shares of 20 or 33 words. It is UI bug to have the
user choose from all options (12, 18, 20, 24, 33). This commit reduces
the choices when unlocking repeated backup to (20, 33) for all models.
2024-08-29 16:01:13 +02:00
Jan Komarek
94a7ff5d32 chore(common): remove ropsten and rinkeby from fixtures 2024-08-28 16:15:35 +02:00
obrusvit
f0989e20b8 fix(core/ui): fix persistent word during recovery
Remove the current word from recovery progress if a user goes to
previous word.

[no changelog]
2024-08-28 14:33:02 +02:00
obrusvit
65d3fd00f1 fix(core/ui): fix mnemonic keys availability
This commit disables keys of mnemonic keyboard if their press cannot
lead to a valid word if the keyboard is initialized with a pre-filled
word. This is useful to get valid keyboard state when going to a
previous word during recovery.

[no changelog]
2024-08-28 14:33:02 +02:00
obrusvit
e2022db8fa feat(core/mercury): use less severe icon color
Not using danger color during onboarding.

[no changelog]
2024-08-28 14:21:07 +02:00
Andrew Kozlik
2a567f3a0c feat: Remove display_random feature. 2024-08-27 19:33:23 +02:00
Ioan Bizău
e3c3264f68 chore(core/translations): shorten es menu item 2024-08-27 16:21:03 +03:00
Ioan Bizău
b747a5bcc9 refactor(core): merge confirm_summary flow into confirm_output flow 2024-08-27 16:21:03 +03:00
Ioan Bizău
692eee3e07 feat(core): add progress to Ethereum transaction signing 2024-08-27 16:21:03 +03:00
Ioan Bizău
09d3301785 feat(core): improve ETH send flow 2024-08-27 16:21:03 +03:00
obrusvit
9b7ce3c84f chore: update fixtures.json
[no changelog]
2024-08-22 00:47:15 +02:00
obrusvit
50dc265162 feat(core/mercury): impl flow_request_passphrase
This commit replaces request_passphrase with flow_request_passphrase.
The added benefit is that the user is prompted for confirmation if they
want to proceed with an empty passphrase.
2024-08-22 00:47:15 +02:00
Ondřej Vejpustek
20f75e001b fix(core,legacy): fix curve25519 public key prefix 2024-08-21 17:19:24 +02:00
obrusvit
ca469784ba chore(core): update fixtures.json
Update as a part of T3T1 recovery share success screens and adding a new
test of aborting the recovery process between shares for all models.

[no changelog]
2024-07-31 11:36:32 +02:00
obrusvit
935afbb46f tests: UI test of cancel recovery between shares
[no changelog]
2024-07-31 11:36:32 +02:00
obrusvit
37edfcb974 tests: fix input_flow of recovery abort
[no changelog]
2024-07-31 11:36:32 +02:00
Ioan Bizău
4afaf4c41e Revert "fix(core/translations): remove unbreakable spaces for now"
This reverts commit cca066c476.

[no changelog]
2024-07-30 18:48:01 +03:00
Ioan Bizău
5188dfc83d feat(core): deal with non-breaking spaces
[no changelog]
2024-07-30 18:48:01 +03:00
Ioan Bizău
a35e9ba5fa chore(core/translations): use ASCII apostrophe in French
[no changelog]
2024-07-30 17:56:57 +03:00
Ioan Bizău
33f5d47330 chore(core): rename "hidden wallet" -> "passphrase wallet"
[no changelog]
2024-07-29 17:45:28 +03:00
obrusvit
cf69a3ca5d chore(core): update fixtures.json
[no changelog]
2024-07-22 12:09:16 +02:00
obrusvit
f846ec3c25 chore(core): update fixtures.json
Update after an update of tutorial copy and adding inverted exclamation
mark for spanish language.

[no changelog]
2024-07-19 15:05:36 +02:00
Ioan Bizău
522d33a71f refactor(core): send out ButtonRequest name
[no changelog]
2024-07-19 11:28:07 +03:00
Ioan Bizău
c7ec093863 feat(core): make "experimental features" storage field public to get rid of the cached field
[no changelog]
2024-07-19 11:24:50 +03:00
obrusvit
108d9c737e feat(core/mercury): add rounded overlay to keypads
Make the corner keys of passphrase and mnemonic keyboards rounded by an
overlay, similarly to PIN keyboard.

[no changelog]
2024-07-18 23:57:13 +02:00
tychovrahe
f2bdd6e189 fix(core/mercury): change status screen - display message in center after animation
Because some messages didn't fit the title
2024-07-17 20:23:19 +02:00
tychovrahe
2994317dcd fix(core/mercury): homescreen attach animation, resume animations after an interrupt from workflow 2024-07-16 23:12:32 +02:00
tychovrahe
ff869dd864 feat(core/mercury): pin entry animation
[no changelog]
2024-07-16 23:12:32 +02:00
Martin Milata
c857fcdc2f test(core): T3T1 ShowDeviceTutorial
[no changelog]
2024-07-11 12:59:43 +00:00
Andrew Kozlik
9420b38a35 feat(core): Account for Optiga throttling delay in PIN countdown. 2024-07-09 16:52:50 +02:00
obrusvit
16b89e587d chore(core): update fixtures.json
[no changelog]
2024-07-03 14:16:10 +02:00
gabrielkerekes
6f76ac3be6 fix(solana): allow AToken Create instruction to contain an optional rent_sysvar account
This is needed because some dApps (https://jup.ag/perps or http://solend.fi/) include the rent_sysvar account although it's not required anymore (it's also not a part of the [official docs](https://docs.rs/spl-associated-token-account/latest/spl_associated_token_account/instruction/enum.AssociatedTokenAccountInstruction.html#variant.Create)).
2024-07-01 09:46:40 +00:00
obrusvit
2de8acc141 chore(core): remove CoSi functionality
trezorctl CoSi feature is removed from all models
2024-07-01 09:32:38 +02:00
Pavol Rusnak
3602a8dde9 chore(legacy): remove CoSi functionality 2024-07-01 09:32:38 +02:00