Commit Graph

64 Commits

Author SHA1 Message Date
Willy-JL
8553132b71 Merge remote-tracking branch 'ul/dev' into mntm-dev 2025-02-05 01:57:25 +00:00
Dmitry422
cf50875c5c *POWER*
- serice:
    renamed function and variable
- settings:
    add test value 5 sec for auto_power_off timer

*DESKTOP*
- settings|service
    add USB_inhibit for desktop_auto_lock
    (dont autolock desktop with different condition)
    PS. RPC condition now working now.
2025-01-15 01:33:49 +07:00
Dmitry422
c73495767c Auto_poweroff option moved from desktop to power.
Add settings for power service (load|save).
2025-01-14 02:01:54 +07:00
MX
c9bc05199e add auto power off timer setting [ci skip]
by @Dmitry422 with little fixes by @xMasterX
2024-12-06 12:18:51 +03:00
MX
1e5dd001fe after merge fixes 2024-08-10 14:22:33 +03:00
MX
28272f7a7a Storage: remove LFS (#3577)
* Storage: drop internal storage

* Storage: rollback some unnecessary changes

* Storage: rollback some unnecessary changes part 2

* Storage: cleanup various defines and int handling. Ble: allow short connection interval if internal flash is not used.

* Storage: do not return storage if it is not ready

* Save PIN code to RTC, update settings

* Simplify the code, clean up includes

* Rearrange some code

* apps: storage_move_to_sd: conditionally enable with --extra-define=STORAGE_INT_ON_LFS

* Load Desktop settings automatically

* Redirect /any to /ext

* Abolish storage_move_to_sd app

* Remove as many mentions of ANY_PATH as possible

* Fix desktop settings wrongly not loading

* Improve desktop settings handling and strings

* Load BLE settings and keys automatically

* Improve BLE configuration procedure

* Do not load bluetooth keys twice if they were already loaded

* Load dolphin state automatically

* Fix merge artifact

* Load notification settings automatically

* Update desktop settings strings

* Load expansion settings automatically

* Do not use thread signals to reload desktop settings

* Load region data automatically, separate to its own hook

* Improve ble behaviour with no keys

* Fix Dolphin state not resetting correctly

* Add a status check

* Make Desktop save its own settings

* Check result when taking and releasing mutex

* Improve default thread signal handling in FuriEventLoop

* Make bt service in charge of saving settings, add settings api

* Fix a deadlock due to timer thread not receiving time

* Lock core2 when reinitialising bt

* Update clang-format

* Revert "Update clang-format"

This reverts commit d61295ac063c6ec879375ceeab54d6ff2c90a9a1.

* Format sources with clang-format

* Revert old stack size for desktop settings

* Allocate big struct dynamically

* Simplify PIN comparison

* Save pointer to storage in Desktop object

* Fix region provisioning for hardware regions

* Remove stale TODO + siimplify code

* Clean up region.c

* Use sizeof instead of macro define

* Limit PIN length to 10 for consistency

* Emit a warning upon usage of /any

* Add delay after finding flipper

* Remove unnecessary delay

* Remove all mentions of STORAGE_INT_ON_LFS

* Remove littlefs and internal storage

* Remove all possible LittleFS mentions

* Fix browser tab in Archive

* Ble: fix connection interval explanation

* Bump API Symbols

* BLE: Update comments interval connection comments

* Storage: clear FuriHalRtcFlagStorageFormatInternal if set

---------

Co-authored-by: Georgii Surkov <georgii.surkov@outlook.com>
Co-authored-by: hedger <hedger@nanode.su>
Co-authored-by: Georgii Surkov <37121527+gsurkov@users.noreply.github.com>
2024-08-10 13:18:51 +03:00
Willy-JL
de940394c9 Fix most build errors 2024-08-10 05:32:18 +02:00
Willy-JL
2b77091cac Desktop settings merge and refactor, keybinds improvements
- Keybinds in own code helper files
- Keybinds as flipper format, loaded only when ran, no limit on length
- Migrate from old keybinds
- Merge desktop settings refactors after LFS removal PR
- Statusbar clock setting in desktop settings like OFW
- Hand orient setting in system settings like OFW
2024-08-08 05:18:20 +02:00
Willy-JL
02f7207d28 Merge remote-tracking branch 'ofw/dev' into mntm-dev 2024-07-15 22:18:35 +01:00
MX
726cb770d0 formatting 2024-07-15 20:02:45 +03:00
hedger
ffa3996a5e [FL-3867] Code formatting update (#3765)
* clang-format: AllowShortEnumsOnASingleLine: false
* clang-format: InsertNewlineAtEOF: true
* clang-format: Standard:        c++20
* clang-format: AlignConsecutiveBitFields
* clang-format: AlignConsecutiveMacros
* clang-format: RemoveParentheses: ReturnStatement
* clang-format: RemoveSemicolon: true
* Restored RemoveParentheses: Leave, retained general changes for it
* formatting: fixed logging TAGs
* Formatting update for dev

Co-authored-by: あく <alleteam@gmail.com>
2024-07-15 13:38:49 +09:00
Willy-JL
b7220237de Small bump in the road
- Update assets and references for new project
- Revert DFU image and CLI motd
- Remove NSFW text and flag
- Remove credits animation (will be replaced with a setting menu soon)
- New EvilPortal example HTML and better error message
- Initial standalone naming for asset packs and mainmenu apps
- File migration fixes/improvements
- Remove hotfix workflow
2024-03-01 06:11:16 +00:00
Willy-JL
acc352e61f Make settings menus external -21.7kb DFU 2024-02-14 04:36:48 +00:00
Willy-JL
c4ac4e69b3 Fix some settings API usage/setup 2024-02-14 04:03:33 +00:00
Nikolay Minaylov
15f92f765d [FL-3479] Desktop: more favorites, configurable dummy mode (#2972)
* Desktop: more favorite app shortcuts
* Making PVS happy
* Desktop settings submenu fix

Co-authored-by: あく <alleteam@gmail.com>
2023-08-23 21:26:47 +09:00
gid9798
f73f369952 Desktop favorites pt2 2023-08-17 13:40:55 +03:00
gid9798
3990c93013 Desktop favorites pt1 2023-08-17 13:04:40 +03:00
MMX
f75fcd4e34 UI: Clock on Desktop (#2891)
* Clock on desktop
* Gui: gui_active_view_port_count
* Gui: move gui_active_view_port_count to private header, update docs
* Desktop: simplify desktop clock code
* Desktop: refactor clock
* Desktop: optimize clock code
* Desktop: 3rd cleanup round
* Desktop: 4th cleanup round, missing bits and pieces

Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: あく <alleteam@gmail.com>
2023-08-11 01:10:15 +09:00
Willy-JL
4a56baf158 Fix desktop keybinds path 2023-07-14 21:23:50 +02:00
MX
65bbaca380 Merge branch 'ofw-dev' into dev 2023-07-13 22:40:35 +03:00
Sergey Gavrilov
8dc1edac18 Loader: good looking error messages (#2873)
* Loader: special error for unknown external app
* Loader: update special error
* Loader: beautify GUI errors, remove redundant logs
* Loader: fix gui error vertical position
* Desktop settings: add external menu apps
* Desktop: smaller settings struct and fix incorrect behavior with ext apps

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-07-13 16:02:59 +04:00
Willy-JL
72ed3660e5 Move desktop keybinds to external file 2023-06-29 18:35:35 +02:00
MX
259979a76a fix issue with None app used in favourites
User desktop settings will be reset to defaults
2023-06-29 05:51:14 +03:00
Willy-JL
b68dc9087a Desktop new full keybind system + fix settng logic 2023-06-29 04:22:29 +02:00
Willy-JL
3cbf932bd1 Move clock setting to statusbar section of xfw app 2023-06-27 21:35:50 +02:00
Willy-JL
decce5aa8d Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev 2023-05-26 19:33:56 +01:00
MX
12f9b6a89e Apply desktop favourite apps refactoring 2023-05-26 13:13:46 +03:00
Yukai Li
77bb997b0b desktop: Refactor favorites settings and allow app browser in selection (#2687)
* desktop: Refactor favorites settings and allow app browser in selection
* desktop: Gate app browser entry add, just in case
* Desktop: simplify favorite application selection
* Desktop: refactor favorite application opening routine and cleanup code
* Desktop: handle exit from external application selection

Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: あく <alleteam@gmail.com>
2023-05-26 01:16:41 +09:00
MX
035bb57c56 bump version!!! 2023-05-24 07:50:45 +03:00
gid9798
1d5a4240b9 Clock: some improvements 2023-05-23 22:47:15 +03:00
Willy-JL
ff76fe32c1 Move desktop config back to int (for pin purposes) 2023-05-17 01:52:18 +01:00
MX
b2e55d7d84 Merge branch 'ofw-dev' into dev
:(
2023-05-11 17:47:14 +03:00
Willy-JL
782e91c6e2 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev
Oh thank you OFW for your immense wisdom of shuffling code FOR NO REASON
Was it so difficult to add A SINGLE BOOL to lock with PIN or not?????
2023-05-11 15:35:27 +01:00
あく
aa8a369e2a Rpc: add desktop service. Desktop: refactor locking routine. (#2665)
* Rpc: add desktop service
* Protobuf: sync to latest release. Desktop: rewrite PIN locking, finalize locking API
* Desktop: cleanup code a little bit
2023-05-11 19:50:17 +10:00
Willy-JL
10096ec95a Store main settings in dedicated ext folder 2023-03-28 00:13:28 +01:00
Willy-JL
5facf6dc89 Move setting files to sd card 2023-03-25 20:12:48 +00:00
MX
3444c5245e Tertiary favourite app 2023-03-18 01:16:34 +03:00
Willy-JL
2e09232499 Support for external apps in main menu 2023-03-04 22:56:10 +00:00
Willy-JL
87963417aa Merge unleashed + general cleanup 2023-02-18 07:41:51 +00:00
MX
aae37121d6 Bump Settings file version to 7, cuz struct is changed and requires upd
Settings are saved as binary struct dump, so if we make any change to struct, we need to bump a version since it will not be compatible with older file in any case
2023-02-17 03:36:34 +03:00
Willy-JL
8a8e5b3de0 Add desktop auto lock with pin setting 2023-02-16 23:28:51 +00:00
Willy-JL
660f97f241 Add desktop auto lock with pin setting 2023-02-16 23:21:35 +00:00
Willy-JL
f373bfa52d Fix battery style setting + move to xfw app 2023-01-19 23:38:36 +00:00
Clara K
8bd17394e3 Dev (#103) 2023-01-19 13:46:15 +01:00
VerstreuteSeele
498adb763a battery off switch 2023-01-19 13:45:24 +01:00
Willy-JL
da2ce47bd3 Move sfw mode to custom app 2023-01-17 19:58:27 +00:00
Willy-JL
067f7bd3f5 Add basic Xtreme app, move animcycle option to app 2023-01-17 07:35:35 +00:00
Willy-JL
01b1ea123b Add anim cycle 30s, 1m and manifest 2023-01-17 01:22:19 +00:00
Willy-JL
2566106a56 Fix cycle anims setting 2023-01-16 20:16:38 +00:00
Willy-JL
f2c1921638 Change cycle anims setting to control anim length 2023-01-16 20:02:40 +00:00