1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-19 05:58:09 +00:00
Commit Graph

1381 Commits

Author SHA1 Message Date
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
obrusvit
2e10618876 chore(core): update fixtures
[no changelog]
2024-06-30 12:07:09 +02:00
matejcik
cd55d32407 refactor(python/protobuf): allow field types imported in the same module 2024-06-25 13:43:13 +02:00
matejcik
8a3133bacc fix(core): include valid staging certificate for T3T1 emulator 2024-06-25 13:35:16 +02:00
tychovrahe
9ab2ba9157 feat(core/mercury): animated device label on homescreen/lockscreen 2024-06-24 21:43:08 +02:00
tychovrahe
3a3259b574 feat(core/mercury): change homescreen flow 2024-06-24 21:43:08 +02:00
Andrew Kozlik
f396d00c67 fix(core): Fix style and unix build.
[no changelog]
2024-06-24 16:04:03 +02:00
obrusvit
0cc2ccd568 chore(core): update fixtures.json
[no changelog]
2024-06-19 16:02:24 +02:00
Martin Milata
191dc900a6 chore(core): update fixtures.json
[no changelog]
2024-06-11 14:30:33 +00:00
Marek Polak
ff659a82d1 chore(tests): remove params for unused checks
[no changelog]
2024-06-07 16:58:17 +02:00
Ioan Bizău
b28e29cf4f chore(core): update copy and translate
[no changelog]
2024-06-06 21:29:29 +02:00
Martin Milata
6ff7322408 feat(tests): update_fixtures.py: github run_id
[no changelog]
2024-06-06 14:43:51 +00:00
Martin Milata
3760dd307c fix(core/ui): T3T1: wrong XPUB title
[no changelog]
2024-06-06 14:43:51 +00:00
matejcik
b868ccbbdd fix(tests): hotfix - fix update_fixtures ci --remove-missing for lang awareness
but the correct fix is to make langs a separate group
2024-06-06 14:00:13 +02:00
Martin Milata
e2ece75b1d chore(core): update fixtures.json 2024-06-06 14:00:13 +02:00
matejcik
25f4e07ad3 feat(tests): reduce ui error spam 2024-06-06 14:00:13 +02:00
Martin Milata
8c9f5ebbca tests(core): fix T3T1 default flow 2024-06-06 14:00:13 +02:00
matejcik
d58dac03a4 fix(tests): tweak pressed button in repeated backup 2024-06-06 14:00:13 +02:00
matejcik
ffe07f2ca6 feat(core): improve repeated backup
* allow upgrading from Single to Basic
* do not skip confirmation screen when sending BackupDevice from Suite
2024-06-06 14:00:13 +02:00
obrusvit
e30de62adc tests: fix input_flows
Reset/recovery tests after adding Wallet created screen and separate
backup intro.

Regen signatures.json after rebase.

[no changelog]
2024-06-06 14:00:13 +02:00
obrusvit
fd59c2ce88 feat(core/ui): T3T1 backup cannot be skipped
This commit disallows the user to exit backup flow once initiated.

It also ensurer the  intro screen is shown when initiating backup via
protobuf msg after it was previously skipped during wallet creation.

[no changelog]
2024-06-06 14:00:13 +02:00
obrusvit
25a9ef3cf5 feat(core/ui): info screens before ShareWords
Inform the user about possible repeated words in 1-of-1 SLIP39.

Instruct the user to "repeat for all shares".

[no changelog]
2024-06-06 14:00:13 +02:00
obrusvit
5bd6996ae4 feat(core/ui): show success screens between shares
This commit also adds minor improvements to reset flow.

[no changelog]
2024-06-06 14:00:13 +02:00
Martin Milata
aa0b353511 chore(core): T3T1: update fixtures.json 2024-06-06 14:00:13 +02:00
tychovrahe
09fc0ebf3e fix(core): add missing tap to confirm screens to mercury
[no changelog]
2024-06-06 14:00:13 +02:00
Martin Milata
4d6af487f4 fix(core/ui): T3T1: remove ButtonPage, Dialog, IconDialog
[no changelog]
2024-06-06 14:00:13 +02:00
Martin Milata
e268f79749 fix(core/ui): T3T1: improve passphrase prompt
[no changelog]
2024-06-06 14:00:13 +02:00
tychovrahe
9ee670a440 feat(core): change default homescreen image for mercury
the default homescreen is rendered algorithmically, when changing homescreen to default we now use text message due to lack of scaling

[no changelog]
2024-06-06 14:00:13 +02:00
tychovrahe
a66dd78ef7 fix(core): fix missing hold to confirm screen
[no changelog]
2024-06-06 14:00:13 +02:00
tychovrahe
a67bc19bac feat(core) screen transitions for mercury UI
[no changelog]
2024-06-06 14:00:13 +02:00
Ioan Bizău
ed58409888 chore(core): update tests 2024-06-05 12:35:09 +03:00
Ioan Bizău
8870869f93 chore(core): rename recovery type & kind and tweak feature flags 2024-06-05 12:35:09 +03:00
Ioan Bizău
8ef7dfab0d feat(core): implement repeated backup 2024-06-05 12:35:09 +03:00
tychovrahe
f837db048b chore(core): update T3T1 fixtures
[no changelog]
2024-06-03 19:43:08 +02:00
Martin Milata
4d46e28267 chore(core): update T2B1 UI fixtures
[no changelog]
2024-06-03 15:40:12 +00:00
tychovrahe
510121bad3 chore(core): update T3T1 fixtures
[no changelog]
2024-06-03 14:26:25 +02:00
Martin Milata
662f13136f fix(core/ui): T3T1: get rid of some of the remaining button dialogs 2024-05-31 11:59:52 +00:00
Martin Milata
69e406f7cf fix(core/ui): T3T1 device tests
[no changelog]
2024-05-31 11:59:52 +00:00
obrusvit
4d462e48f0 fix(tests): check_share helper for T2B1
[no changelog]
2024-05-31 11:59:52 +00:00
obrusvit
250593125c feat(core): update translation strings
Based on latest Figma designs.

[no changelog]
2024-05-31 11:59:52 +00:00
Martin Milata
38b0361ded test(core/ui): fix bitcoin signtx for T3T1 2024-05-31 11:59:52 +00:00
obrusvit
d8f20616be feat(core/ui): T3T1 set new PIN flow
[no changelog]
2024-05-31 11:59:52 +00:00
Martin Milata
e0fece2050 fix(core/ui): T3T1 UI tests: GetAddress
[no changelog]
2024-05-31 11:59:52 +00:00
Martin Milata
5020868c2c feat(core/ui): T3T1 receive flow
[no changelog]
2024-05-31 11:59:52 +00:00
obrusvit
1028c3500f feat(core/ui): T3T1 separate reset flows
Create separate flows for wallet creating, prompt of backup and
recovery.

Put more strings to copy.

Change style of Frame subheader.
2024-05-31 11:59:52 +00:00
obrusvit
8978f36096 feat(core): T3T1 ShareWords component 2024-05-31 11:59:52 +00:00
Martin Milata
8a5afbe585 style(core): fix formatting
[no changelog]
2024-05-31 11:59:52 +00:00
obrusvit
55067a6d40 fix(core): rebase on current drawlib
Port new render function signature to model_mercury.
Fix some rebase errors.
Also port recent changes from mp <-> rust iface.

[no changelog]
2024-05-31 11:59:52 +00:00
Martin Milata
3efa0f6bbd feat(core/ui): sending button requests from rust
[no changelog]
2024-05-28 21:20:38 +00:00
Andrew Kozlik
162649aec7 feat(tests): Add SLIP-39 reset-upgrade-backup test. 2024-05-28 18:03:26 +02:00
Andrew Kozlik
040c1f5f8c feat(tests): Extendable SLIP-39 device tests. 2024-05-28 18:03:26 +02:00
Ioan Bizău
269adf4868 chore(core): add coin support info for T3T1 2024-05-24 13:53:05 +02:00
David Misiak
2b54580157 chore(cardano): update UI fixtures 2024-05-23 10:01:48 +02:00