obrusvit
e073e619c9
chore(tests): re-run black and isort on core/tests
...
isort set to skip the first necessary "from common import *" line. A
better solution would be to get rid of the need of this import in the
future.
[no changelog]
2024-02-22 12:10:12 +01:00
grdddj
171c615dfa
chore(tests): remove unused imports and variables
...
[no changelog]
2024-02-22 12:10:12 +01:00
grdddj
4bca28bac0
chore(tests): run isort and put "from common import *" at the beginning
...
[no changelog]
2024-02-22 12:10:12 +01:00
matejcik
8c5c2f4204
refactor(core): get rid of passing Context around
2023-07-12 10:09:36 +02:00
grdddj
428ac8d2ac
chore(core): delete unused code in src
...
[no changelog]
2023-01-25 19:17:56 +01:00
Andrew Kozlik
5bbfd40df6
feat(core): Add set_int() and get_int() to storage cache.
...
[no changelog]
2022-10-10 20:32:36 +02:00
grdddj
9fc5bb546b
style(core): full pyright-based type-checking
...
Changes many fields to required -- as far as we were able to figure out,
signing would fail if these fields aren't provided anyway, so this
should not pose a compatibility problem.
Co-authored-by: matejcik <ja@matejcik.cz>
2022-01-07 21:41:17 +01:00
matejcik
52c34c7364
fix(core): allow caching empty values ( fixes #1659 )
2021-06-11 12:32:13 +02:00
Jan Pochyla
a8623c4b59
refactor(core): fix imports and use new protobuf API in apps
2021-06-08 09:55:19 +02:00
matejcik
3cdb09c294
refactor(core): modify cache to preallocate all its data
...
also get rid of expensive "wire" import
2021-05-06 13:14:21 +02:00
matejcik
e0583dd5cb
all: use a specific error code for "invalid session"
2020-08-28 15:37:06 +02:00
matejcik
4909821f35
core: implement EndSession
2020-08-28 15:37:06 +02:00
matejcik
d5e45c02bb
core: move base functions from "homescreen" app to "base"
2020-06-04 16:18:46 +02:00
matejcik
8c4cb58098
core: introduce caching decorators
2020-05-15 14:08:29 +02:00
Tomas Susanka
6c47bf8230
core: store multiple sessions/caches at the same time
2020-02-21 14:40:42 +01:00
Tomas Susanka
15ed5cd19e
core: do not clear cache on ClearSession
2020-02-07 11:41:03 +00:00
matejcik
3fa99c0c6a
core/tests: add storage.cache tests
2020-02-07 11:41:02 +00:00