Commit Graph

28 Commits

Author SHA1 Message Date
Willy-JL
a73894797d Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev 2024-02-13 19:29:30 +00:00
MX
71a93e8cc3 Merge remote-tracking branch 'OFW/nm/js_archive_fixes' into dev 2024-02-13 16:29:15 +03:00
nminaylov
d75f2c62ca JS debug disabled, archive and file browser fixes 2024-02-13 16:05:04 +03:00
Willy-JL
e0fa360640 Fix rename/move API, now rename/rename_safe (#468)
On OFW "rename" acts like "move", it replaces the destination
XFW had an extra "move" like that, and "rename" errored if dest exists
Now for compatibility "rename" acts as OFW, and new "rename_safe" errors
Tweaked all usages to work properly
Decided for CLI and RPC to use "rename_safe" so user cant lose files
2023-11-28 00:00:40 +00:00
Willy-JL
750f371182 Fix copy/paste and rename behaviors
Same beginning of name != same file/folder
Must check with a / suffixed

And never hold a pointer to furi string cstr
2023-11-25 18:11:54 +00:00
Willy-JL
56fd259d48 Move fw integrated apps to system dir --nobuild 2023-10-02 11:12:59 +01:00
gid9798
c0eebcb540 Archive: Cut/Copy/Past & NewDir 2023-07-18 23:46:28 +03:00
gid9798
b3810ec573 SubRem: archive browser 2023-07-14 14:16:37 +03:00
Willy-JL
f96993493d Fix small string usage bug 2023-07-03 18:02:29 +02:00
Willy-JL
0ccdc60921 Support remote and playlist files in archive 2023-07-03 02:40:26 +02:00
Willy-JL
15bac5e02a Fix archive selection index issues after refresh 2023-06-26 03:05:46 +01:00
Willy-JL
cb1d05d761 Who tf made extensions have limited length??? 2023-06-12 23:32:36 +01:00
Willy-JL
d535afc4c9 This isnt needed anymore 2023-06-12 22:47:20 +01:00
Willy-JL
92f54c45ff Use rename or move where appropriate 2023-05-26 22:21:32 +01:00
Willy-JL
405a6f76db Archive go brrr 2023-05-22 14:10:12 +01:00
Willy-JL
e03867bbf0 OFW, why are you ignoring "already exists" errors? 2023-05-15 05:39:37 +01: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
72935579e6 Format 2023-02-03 17:46:32 +00:00
Willy-JL
f3bb068fd7 Rename bad usb to bad kb 2023-02-03 17:43:59 +00:00
MX
9fae52166c fixes and improvements 2022-10-28 16:05:17 +03:00
MX
0796263e81 Merge branch 'fz-dev' into dev 2022-10-05 19:27:46 +03:00
Sergey Gavrilov
4bf29827f8 M*LIB: non-inlined strings, FuriString primitive (#1795)
* Quicksave 1
* Header stage complete
* Source stage complete
* Lint & merge fixes
* Includes
* Documentation step 1
* FBT: output free size considering BT STACK
* Documentation step 2
* py lint
* Fix music player plugin
* unit test stage 1: string allocator, mem, getters, setters, appends, compare, search.
* unit test: string equality
* unit test: string replace
* unit test: string start_with, end_with
* unit test: string trim
* unit test: utf-8
* Rename
* Revert fw_size changes
* Simplify CLI backspace handling
* Simplify CLI character insert
* Merge fixes
* Furi: correct filenaming and spelling
* Bt: remove furi string include

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-06 00:15:23 +09:00
Der Skythe
17a4e03656 Fix bugs with new model 2022-09-16 02:21:10 +04:00
Der Skythe
7f4b586b13 Init archive app with Rename, normal context menu and file info 2022-09-15 22:00:51 +04:00
SG
b9a766d909 [FL-2627] Flipper applications: SDK, build and debug system (#1387)
* Added support for running applications from SD card (FAPs - Flipper Application Packages)
* Added plugin_dist target for fbt to build FAPs
* All apps of type FlipperAppType.EXTERNAL and FlipperAppType.PLUGIN are built as FAPs by default
* Updated VSCode configuration for new fbt features - re-deploy stock configuration to use them
* Added debugging support for FAPs with fbt debug & VSCode
* Added public firmware API with automated versioning

Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: SG <who.just.the.doctor@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-09-15 02:21:03 +09:00
SG
873e1f114b [FL-2627] Flipper applications: SDK, build and debug system (#1387) 2022-09-15 01:11:38 +09:00