1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00
Commit Graph

10092 Commits

Author SHA1 Message Date
Martin Milata
040d0212f6 chore(core): changelog for hold to lock 2021-02-24 00:10:10 +01:00
Martin Milata
c28763c169 refactor(core): use reload_settings_from_storage on boot 2021-02-24 00:10:10 +01:00
Martin Milata
9b60cc0098 feat(core): restart loader from current position
On "hold to confirm" dialogs, when you hold your finger, lift it, and
quickly hold again, the progress bar jumps to the beginning. This commit
changes the behavior so the progress continues from its current position
of the reverse animation.
2021-02-24 00:10:10 +01:00
Martin Milata
06b9d1314d fix(core): do not autolock when already locked
Gets rid of unnecessary screen redraw.
2021-02-24 00:10:10 +01:00
Martin Milata
192d0dcf87 feat(core): hold homescreen to lock 2021-02-24 00:10:10 +01:00
Martin Milata
db2db8e6f3 feat(common): add hold_ms to DebugLinkDecision 2021-02-24 00:10:10 +01:00
Martin Milata
854a256b5a test: wait longer for autolock
To reduce test failure probability.
2021-02-23 14:31:04 +01:00
Pavol Rusnak
f780cbdb17
feat(python): add possibility to enter PIN via letters (#1496) 2021-02-23 10:39:26 +01:00
Tomas Susanka
8f33220865 chore(github): remove myself from some CODEOWNERS parts 2021-02-23 08:35:29 +01:00
Pavol Rusnak
206c9db661
fix(build): update build-docker.sh script
- autodetect arch
- autodetect wget/curl
- update alpine linux to 3.13.2
2021-02-22 17:32:37 +01:00
Andrew Kozlik
1e34b06656 test: Update fido2-tests submodule.
Reduces Shannon thresholds to prevent tests from failing.
2021-02-22 16:33:50 +01:00
Martin Milata
17324a01a3 ci: more reboots and skipped cases for hardware tests 2021-02-20 21:55:36 +01:00
Martin Milata
99a858a774 ci: hw: skip sd_card tests on TT 2021-02-20 21:55:36 +01:00
Martin Milata
3213557f72 ci: check model before flashing 2021-02-20 21:55:36 +01:00
Martin Milata
17494b2276 ci: reboot more often during hardware regular test 2021-02-20 21:55:36 +01:00
Pavol Rusnak
c9e1eff6cc
chore: add merge=union git attribute for changelogs (#1475) 2021-02-19 21:25:47 +01:00
Tomas Susanka
63936b696a chore(docs): update README
- Remove priorities and severities.
- Remove Travis link.
2021-02-19 20:04:11 +01:00
Tomas Susanka
8955d04b5e ci: add fixup check to Github Actions 2021-02-19 19:54:41 +01:00
Martin Milata
c42850f997 chore(core): show total allocations in memperf report 2021-02-18 13:07:19 +01:00
Pavol Rusnak
90a50adc1e
fix(legacy): correctly import SDL2 (#1485) 2021-02-18 11:58:04 +01:00
Pavol Rusnak
de72cfb804
chore(core): update changelog
[skip_ci]
2021-02-16 23:33:18 +01:00
Ondrej Mikle
ed57320c86
build(flashing): nogui flag for flashing for newer JLink versions (#1482) 2021-02-16 14:35:06 +01:00
Pavol Rusnak
b4daf2f3e3
chore(core): run make gen to regenerate fido2 icons
updated here - https://github.com/trezor/trezor-firmware/pull/1456
2021-02-16 11:20:21 +01:00
Martin Milata
11ac8ef19d ci: also build bootloader_ci 2021-02-15 20:55:54 +01:00
Martin Milata
48627b7f0f fix(core): bootloader_ci build
See also f46380147f.
2021-02-15 20:55:54 +01:00
Pavol Rusnak
5395c542c1
chore(core): update changelog, bump version to 2.3.7 2021-02-13 11:16:11 +01:00
Buck Perley
682298d7bb
fix(core): add exceptions for unchained capital paths 2021-02-12 21:56:03 +01:00
Pavol Rusnak
d7b98a75fd
docs(hardware): drop assets folder
[skip_ci]
2021-02-12 11:00:31 +01:00
Pavol Rusnak
a5778d1209
chore(common): regenerate coins_details.json
[skip_ci]
2021-02-11 17:28:45 +01:00
Andrew Kozlik
8828fa76d3 test: Ensure that GetAddress and GetOwnershipId fail for multisig if user's public key is not included.
(cherry picked from commit e9c227f623)
2021-02-11 10:26:44 +01:00
gabrielkerekes
d4dcd7bff9 fix(core/cardano): allow staking accounts beyond 100' 2021-02-11 09:55:23 +01:00
Tomas Susanka
6214156c35 fix(ci): strip commit version for emulator releases
trezor-user-env can't work with that
2021-02-11 08:25:25 +01:00
Andrew Kozlik
e5741ac308 chore(core): Use BufferReader for CBOR decoding. 2021-02-10 23:20:56 +01:00
Andrew Kozlik
ac939c94aa fix(core/tezos): Implement strict length checking.
(cherry picked from commit e7f44ebee8)
2021-02-10 16:37:26 +01:00
matejcik
6fd355756c fix(core/stellar): review usages of write_bytes_unchecked
(cherry picked from commit 781e9f4db8)
2021-02-10 16:37:26 +01:00
matejcik
08edbca428 fix(core/eos): review usages of write_bytes_unchecked
(cherry picked from commit 5b5ed8cce1)
2021-02-10 16:37:26 +01:00
matejcik
2231fe6842 feat(core): make protobuf.dump_uvarint more reusable
(cherry picked from commit 6acc1cd6ab)
2021-02-10 16:37:26 +01:00
Andrew Kozlik
78a2ff16d4 fix(core): In apps.bitcoin ensure that get_address() fails for multisig if user's public key is not included.
(cherry picked from commit 77f5e90466)
2021-02-10 16:37:26 +01:00
Martin Milata
391602ae99 refactor(core): turn show_address, show_pubkey, show_xpub into layouts 2021-02-10 13:57:19 +01:00
Martin Milata
03699f5639 refactor(core): turn show_success, show_warning into layouts 2021-02-10 13:57:19 +01:00
Martin Milata
f38abf9d89 refactor(core): introduce layouts
Layouts can be used by the application code to interact with user using
small number of dialogs or other groups of UI components. Each layout is
identified by name and takes some parameters. Most layouts will have an
implementation for each hardware model, mechanism is provided to import
the correct version so that application code can be oblivious to the
model.

This commit introduces the layout concept and converts a couple of
dialogs to use it.
2021-02-10 13:57:19 +01:00
Martin Milata
18cb429610 feat(core): introduce Text.format_parametrized() 2021-02-10 13:57:19 +01:00
Martin Milata
f1382bf892 refactor(core): model-dependent UI component directories
They now live under trezor.ui.components.tt. Later
trezor.ui.components.t1 will be added and application code will be
rewritten to not use them directly in order to work on both TT and T1.
2021-02-10 13:57:19 +01:00
Pavol Rusnak
f46380147f fix(core): update sync protobuf messages in bootloader 2021-02-10 10:56:52 +01:00
matejcik
d475248ef1 tests: use modified protobuf classes correctly 2021-02-10 10:56:52 +01:00
matejcik
73a28e12f2 fix(core): create protobuf messages correctly 2021-02-10 10:56:52 +01:00
matejcik
0964517fe7 fix(legacy): do not query presence of newly-required protobuf fields 2021-02-10 10:56:52 +01:00
matejcik
14037d0c31 chore: regenerate protobuf classes 2021-02-10 10:56:52 +01:00
matejcik
576d431058 feat(common): set more fields as required (#1406) 2021-02-10 10:56:52 +01:00
matejcik
bf562cfd4b feat(core/misc): enable typing for misc app 2021-02-10 10:56:52 +01:00