Tomas Susanka
21676a0662
ore/tezos: better wording in delegation cancel
2020-03-02 08:49:34 +00:00
matejcik
7f91bc571c
core: ensure default task restarts after a passphrase workflow ( fixes #883 )
2020-02-28 15:55:40 +01:00
Tomas Susanka
5ee6e56f56
Merge pull request #880 from trezor/tsusanka/sign-verify-ui
...
Unify sign/verify message dialogs and fix text overflow
2020-02-28 15:47:48 +01:00
Tomas Susanka
714eb416d1
Merge pull request #834 from trezor/tsusanka/docs-exceptions
...
Docs: add info about exceptions usage
2020-02-28 10:56:41 +01:00
matejcik
d6fa8a9f0f
git subrepo push common
...
subrepo:
subdir: "common"
merged: "5520ea806"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "5520ea806"
git-subrepo:
version: "0.4.0"
origin: "https://github.com/ingydotnet/git-subrepo.git "
commit: "5d6aba9"
2020-02-28 10:56:02 +01:00
Tomas Susanka
8b5aab522c
docs/core: add info about exceptions usage
2020-02-27 20:04:42 +00:00
matejcik
bd9663af79
common/defs: update token reference, add new tokens to 2.3.0/1.9.0, regenerate coins_details
2020-02-27 19:13:17 +01:00
matejcik
7a826b9f1b
common/defs: drop OMNITrezor ( fixes #844 )
2020-02-27 19:12:04 +01:00
Tomas Susanka
86b010a18b
Merge pull request #878 from trezor/matejcik/fatfs-corruption
...
FatFS API rework
2020-02-27 15:58:38 +01:00
Tomas Susanka
c8b7d3fb56
core/changelog: SD card protection is part of 2.3.0
2020-02-27 13:57:48 +00:00
Tomas Susanka
a63e6fc4ef
core+legacy: update changelogs
2020-02-27 13:21:17 +00:00
Tomas Susanka
a8af9feebe
core: fix text overflow in some dialogs
2020-02-27 12:43:33 +00:00
Tomas Susanka
744c32991f
core: unify sign/verify functions
...
The UI records are modified because of two changes:
- Added a coin name to the Sign/Verify screen (ETH/Lisk).
- Unified to use mono.
2020-02-27 12:43:33 +00:00
Tomas Susanka
b317613d63
Merge pull request #874 from trezor/tsusanka/test
...
Use wire errors where applicable
2020-02-27 13:38:30 +01:00
Pavol Rusnak
b84ef79459
Merge pull request #862 from trezor/prusnak/multisig-show-xpubs-t1
...
legacy: show xpubs with multisig get_address
2020-02-27 12:43:34 +01:00
Pavol Rusnak
ec199b19a9
legacy: use 2 page pagination to show xpubs in multisig get_address
2020-02-27 11:42:52 +00:00
Pavol Rusnak
d7dbb585e9
Merge pull request #876 from trezor/prusnak/boardloader-dma
...
core/boardloader: use SRAM as SD card read buffer
2020-02-27 12:40:11 +01:00
Tomas Susanka
495a59c282
core: use wire errors instead of ValueErrors where applicable
2020-02-27 10:46:01 +00:00
matejcik
18ac4fc9ca
core: update Python facing APIs
2020-02-27 10:56:23 +01:00
matejcik
9ab84d2455
core/tests: thoroughly test modified APIs
2020-02-27 10:56:23 +01:00
matejcik
b24411b900
core/sdcard: unmount instance when powering off sdcard
2020-02-27 10:56:23 +01:00
matejcik
c81be584fb
core/fatfs: ensure functions can only be called on a mounted filesystem
...
ff.c has a lazy-mounting feature, where any filesystem call will mount
the volume if it can. This messes with predictability of the mounted
state, so all (except mount/unmount/mkfs) Python functions will first
check if the fs is mounted.
2020-02-27 10:56:23 +01:00
matejcik
fa746e2990
core/fatfs: rework low-level FatFS API
...
Instead of having possibly multiple FatFS objects, each with its own
`fs` struct, there is one global static fs_instance. This is to match
the mode of operation of ff.c, which assumes a global list of mounts,
and all functions operate on the global based on path.
Methods of FatFS were converted to functions on the fatfs module.
fatfs.unmount() does not call ff.c's unmount, but simply invalidates
fs_instance. This is basically what ff.c would do, except without
messing with ff.c's global list of mounts.
2020-02-26 14:18:41 +01:00
Pavol Rusnak
c896f02eb3
core/boardloader: use SRAM as SD card read buffer
...
because DMA can't access the CCMRAM
2020-02-25 17:59:16 +01:00
Pavol Rusnak
939e9e8ea2
Merge pull request #873 from trezor/andrewkozlik/vcp-fix
...
core: Prevent data loss when writing to USB VCP.
2020-02-25 13:43:11 +01:00
Andrew Kozlik
2133f7cf29
core: Prevent data loss when writing to USB VCP.
2020-02-25 12:08:07 +01:00
Pavol Rusnak
5c01a9459c
legacy: show xpubs with multisig get_address
2020-02-24 17:36:50 +01:00
matejcik
6722215c66
tests: update SD-protect test after randomization change
2020-02-24 15:38:28 +01:00
matejcik
61fa00731a
tests: write UI report if tests fail
2020-02-24 15:38:02 +01:00
matejcik
f3f0f507d9
git subrepo push common
...
subrepo:
subdir: "common"
merged: "e8ef868cf"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "e8ef868cf"
git-subrepo:
version: "0.4.0"
origin: "https://github.com/ingydotnet/git-subrepo.git "
commit: "5d6aba9"
2020-02-24 15:16:05 +01:00
matejcik
b916072389
common: restore PassphraseAck.state
2020-02-24 15:15:09 +01:00
matejcik
d7b9582386
core/sdcard: add ensure_filesystem option ( fixes #868 )
...
It is possible to call `ensure_sdcard` in a way that requires only SD
card be inserted, but not necessarily formatted.
This is useful for SD-protect and possibly other use-cases where the SD
card is read-only, and "not formatted" is identical to "not containing
the right files".
2020-02-24 13:28:44 +01:00
matejcik
e9c275c24f
core/sdcard: fix invalid state when filesystem mounting fails
2020-02-24 13:28:44 +01:00
matejcik
f9097b16e6
tests: make ui-check-missing more resilient for nonstandard exits
2020-02-24 13:28:44 +01:00
Tomas Susanka
c418e628ac
ci: omit unix/emu label in test jobs
2020-02-24 11:47:06 +00:00
Tomas Susanka
cd90d2b792
docs: add link to ui tests doc
2020-02-24 11:17:47 +00:00
Pavol Rusnak
39ce100608
Merge pull request #864 from trezor/prusnak/bootloader-text-break
...
core/bootloader: split long vendor string
2020-02-21 18:39:20 +01:00
Tomas Susanka
e568faa862
Merge pull request #852 from trezor/tsusanka/multiple-passphrases
...
Allow multiple sessions/passphrases
2020-02-21 16:34:23 +01:00
Tomas Susanka
703a13eb00
tests/ui: fix ui fixtures
2020-02-21 14:07:33 +00:00
matejcik
8fed67de08
tests: expand on multi-session tests
2020-02-21 14:40:42 +01:00
Tomas Susanka
f93f6e445b
legacy: store multiple sessions/caches at the same time
2020-02-21 14:40:42 +01:00
Tomas Susanka
6c47bf8230
core: store multiple sessions/caches at the same time
2020-02-21 14:40:42 +01:00
Pavol Rusnak
562671401e
Merge pull request #860 from trezor/prusnak/multisig-show-yours-others
...
core: show yours/others in get_address for multisig
2020-02-20 13:49:13 +01:00
matejcik
918603ad5c
core: add unit test for sdcard wrapper
2020-02-20 12:51:48 +01:00
matejcik
7983fd34d6
core: fix unit tests
2020-02-20 12:51:48 +01:00
matejcik
d88540f2e0
tests: do not error out when fixtures fail to download
2020-02-20 12:51:48 +01:00
matejcik
42c4eb6341
tests: add SD format test fixtures
2020-02-20 12:51:48 +01:00
matejcik
4ed6487a19
core/sdcard: add out-of-bounds checks to emulator
2020-02-20 12:51:48 +01:00
matejcik
5523c7bbef
tests: add SD card format feature tests
2020-02-20 12:51:48 +01:00
matejcik
ddee77ecb6
core: add SD clearing via debuglink
2020-02-20 12:51:48 +01:00