Willy-JL
21eeb53960
Storage error handling improvements
2023-08-03 15:20:54 +02:00
Willy-JL
e8f11e5521
Add storage_file_expand()
2023-08-02 23:33:27 +02:00
Willy-JL
4d6d7adf30
Format
2023-07-23 21:35:06 +02:00
Willy-JL
fbc000423e
Add description for storage cli migrate
2023-07-23 20:23:17 +02:00
Willy-JL
23cee7197e
<:N1:1130620612352679958><:N2:1130620354440745162>
2023-07-18 00:25:15 +01:00
Willy-JL
bd9f2b6ff7
Add migrate to storage cli
2023-07-18 00:23:05 +01:00
Willy-JL
843133295f
Storage fast migrate (use rename recursively)
2023-07-18 00:22:49 +01:00
Willy-JL
b5744fac21
Storage check trailing slash on subdir check
2023-07-14 19:48:41 +02:00
Willy-JL
4ecab40fde
Max file name length is actually 253 + null term
...
More than that and fatfs will truncate like name~1
Also dir_read already accounts for null term in buf size, dont malloc +1
2023-06-13 03:10:10 +01:00
Willy-JL
cb1d05d761
Who tf made extensions have limited length???
2023-06-12 23:32:36 +01:00
Willy-JL
df8b7cbe48
Random cleanup and housekeeping
2023-06-01 01:46:19 +01:00
Willy-JL
c5cf2ce53f
Fix brick on rename across filesystems
2023-05-31 15:43:11 +01:00
Willy-JL
fa89ef848c
Add an actual move function (OFW, rename != move)
2023-05-26 22:06:14 +01:00
Willy-JL
20dd1ba9da
Fail early on actual rename
2023-05-26 22:05:43 +01:00
Willy-JL
162cecf8af
No copy move to subdir
2023-05-22 14:09:40 +01:00
Willy-JL
28a4800302
Try to use rename first for migrate
2023-05-15 18:24:25 +01:00
Willy-JL
c6eff58890
OFW be like rEnAmE = cOpY + dElEtE, bro stfu :/
2023-05-15 01:31:02 +01:00
Willy-JL
4aef6a9df8
Move rgb backlight from useless service to lib
2023-05-10 12:57:31 +01:00
Willy-JL
33ff8e4506
Start storage service first to load xtreme early
2023-05-10 12:13:38 +01:00
Willy-JL
6fefa82817
Move U2F counter back to sd, only key on internal
2023-05-08 14:26:22 +01:00
Willy-JL
8fa7d16c5f
Merge branch 'ul-dev' into xfw-dev
2023-05-06 01:43:09 +01:00
Willy-JL
5d62ce919b
:doomed:
2023-05-02 21:29:46 +01:00
jl1990
4fb63eb36b
Code cleanup
2023-05-02 18:36:06 +02:00
Willy-JL
601e82d210
Please FBT, snort some copium
2023-04-28 19:52:56 +01:00
Willy-JL
7adb7e2ded
Fix internal storage bugs with restoring U2F keys
2023-04-28 19:50:04 +01:00
Willy-JL
10a7c8f84a
Backup+restore internal U2F keys on factory reset
2023-04-25 17:18:14 +01:00
Willy-JL
2b9c6e9d9c
Expose storage_get_data
2023-03-29 12:19:01 +01:00
Willy-JL
aa8d9b7bac
Format
2023-03-28 04:48:41 +01:00
Willy-JL
10096ec95a
Store main settings in dedicated ext folder
2023-03-28 00:13:28 +01:00
Willy-JL
1ddfd4f973
Merge branch 'ul-dev' into xfw-dev
2023-03-21 04:00:12 +00:00
MX
5660111b28
Merge branch 'fz-dev' into dev
2023-03-20 20:04:22 +03:00
Sergey Gavrilov
f7024cff78
SD Driver: reinit sd card on error ( #2493 )
...
* SD Driver: reinit sd card on error
* SD Driver: cleanup fatfs bindings
* Storage: optimized glue
* Storage: move fatfs initialization to appropriate subsystems, minor code cleanup
* SD Driver: minor code cleanup
Co-authored-by: あく <alleteam@gmail.com >
2023-03-20 22:09:10 +09:00
Willy-JL
09bc580497
Merge branch 'ul-dev' into xfw-dev
2023-03-17 23:52:05 +00:00
MX
58d4f3b531
OFW PR: 2493 - SD Driver: reinit sd card on error
...
No issues was found during my own testing and running sd benchmarks, sorry for rushing, I may miss something, usually I prefer to wait for official review
2023-03-18 02:50:05 +03:00
MX
54cefb7884
Merge branch 'fz-dev' into dev
2023-03-17 17:54:05 +03:00
Astra
7de7fa293b
Optimize trailing slash check ( #2503 )
...
* Optimize trailing slash check
2023-03-18 00:45:42 +10:00
MX
49378f0893
Merge branch 'fz-dev' into dev
2023-03-16 13:49:24 +03:00
Astra
9fbf327028
[FL-1799] Require the trailing slash for root paths ( #2486 )
...
* Require the trailing slash
* Fix the swapped storages
* Fix root paths
2023-03-16 17:28:50 +09:00
Willy-JL
39ddf75f91
Merge branch 'ul-dev' into xfw-dev
2023-03-14 01:07:01 +00:00
Sergey Gavrilov
c5db1aaaf5
Revert "Revert "Embed assets in elf file ( #2466 )""
...
This reverts commit a04c01a2fd .
2023-03-10 13:57:44 +03:00
Sergey Gavrilov
a04c01a2fd
Revert "Embed assets in elf file ( #2466 )"
...
This reverts commit 4fd043398a .
2023-03-10 01:43:46 +03:00
MX
68fed0e03d
Merge branch 'fz-dev' into dev
2023-03-09 21:17:57 +03:00
Sergey Gavrilov
4fd043398a
Embed assets in elf file ( #2466 )
...
* FBT: file_assets generator
* Elf file: process manifest section externally
* FBT, file_assets generator: add assets signature
* Storage: assets path alias
* Flipper application: assets unpacker
* Apps, Storage: use '/data' alias for apps data
* Storage: copy file to file
* Assets: log flag, fixes
* Update f18 api
* Assets: asserts
* Assets: fix signature_data check
* App assets: example
* Example assets: fix folder structure in readme
* Assets: fix error handling
* Assets builder: use ansii instead of utf-8, use .fapassets section instead of .fapfiles, add assets path to signature
* Elf file: comment strange places
* Storage: totaly optimized storage_file_copy_to_file
2023-03-10 01:01:53 +10:00
Willy-JL
876229db51
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-03-04 02:55:19 +00:00
MX
f3ab4bc292
Merge branch 'fz-dev' into dev
2023-03-02 21:18:35 +03:00
Sergey Gavrilov
777a4d109d
[FL-3055] Getter for application data path ( #2181 )
...
* Threads: application id
* Unit tests: appsdata getter test
* Unit tests: moar test cases for appsdata getter
* Unit tests: remove folders after test
* Storage: dir_is_exist, migrate, + unit_tests
* Plugins: migration
* Storage: common_exists, moar unit_tests 4 "common_migrate", "common_migrate" and "common_merge" bugfixes
* Storage: use FuriString for path handling
* Storage API: send caller thread id with path
* Storage: remove StorageType field in storage file list
* Storage: simplify processing
* Storage API: send caller thread id with path everywhere
* Storage: /app alias, unit tests and path creation
* Storage, path helper: remove unused
* Examples: app data example
* App plugins: use new VFS path
* Storage: file_info_is_dir
* Services: handle alias if the service accepts a path.
* App plugins: fixes
* Make PVS happy
* Storage: fix storage_merge_recursive
* Storage: rename process_aliases to resolve_path. Rename APPS_DATA to APP_DATA.
* Apps: use predefined macro instead of raw paths. Example Apps Data: README fixes.
* Storage: rename storage_common_resolve_path to storage_common_resolve_path_and_ensure_app_directory
* Api: fix version
* Storage: rename alias message
* Storage: do not create app folders in path resolving process in certain cases.
---------
Co-authored-by: Astra <93453568+Astrrra@users.noreply.github.com >
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2023-03-02 03:57:27 +10:00
Willy-JL
fa8ed7f6e4
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware
2023-02-28 20:34:44 +00:00
Willy-JL
d3f3bf1e11
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-02-24 01:05:31 +00:00
Round-Pi
b89902942b
typo combing
2023-02-20 10:55:53 -05:00
Willy-JL
68353563ec
Xtreme assets/settings boot process improvements
2023-02-16 05:49:16 +00:00