Commit Graph

114 Commits

Author SHA1 Message Date
Lefucjusz
df6d7848f5 [BH-2056] Add bedside lamp settings
Added possibility to customize
brightness and activity time
of bedside lamp functionality.
2024-08-19 15:58:30 +02:00
Lefucjusz
4ad0f29ab4 [BH-1898] Fix of GUI freeze after intensive volume change
Fix of the issue that GUI would freeze for
several seconds if volume level was being
changed intensively for a while.
2024-03-06 14:05:55 +01:00
Lukasz Mastalerz
d9a1194e6f [BH-1688] Create a standard for logs
* Adding document describing how to use logger
* Adjusting logs to follow a new guide
* Change order in log header:
  line number is now before function name
2023-10-23 15:17:44 +02:00
Lefucjusz
d6535a9814 [MOS-238] Change RNG used in quotes randomization
* Changed RNG used when randomizing quotes list
that was accidentally omitted in the previous
PR.
* Small cleanup around RandomizedQuoteModel.
2023-06-21 13:03:40 +02:00
Lefucjusz
ebcd139412 [CP-1962] Add Harmony color detection
* Added serial number based Harmony color
detection.
* Unified serial number handling for both
products.
2023-06-06 14:37:52 +02:00
Lefucjusz
137622902f [MOS-766] Change factory entries initialization routine
Changed of the algorithm used to initialize
settings database with values read from EEPROM,
previously first insertion failure resulted
in stopping the whole process, now next values
are inserted even if previous has failed.
Additionally minor cleanup.
2023-03-06 16:07:25 +01:00
Maciej-Mudita
cd54ba0589 [MOS-202] Add meditation parameters to non-volatile memory
The meditation parameters set by the user will be remembered.

style check fix
2023-02-24 13:16:55 +01:00
Mateusz Piesta
5af5c740d4 [MOS-807] Removed read code
Removed dead code
Fixed Harmony relaxation app assets path
2023-01-19 16:41:56 +01:00
Mateusz Piesta
6f05c75c88 [MOS-835] Per product layout of database migration scripts
Implemented DB init migration and version.json update
2023-01-19 16:41:56 +01:00
Mateusz Piesta
0a9846e4a8 [MOS-694] Move DB initialization from OS to build scripts
* Switched to DB initialization at compile time
* Organized and cleaned up db files directories(not finished completely)
* Fixed DB related unit tests
* Minor improvements to CMake
* Small fixes for GCC12 build
2023-01-19 16:41:56 +01:00
Lukasz Mastalerz
00b2deac97 [CP-1512] Add information allowing identification to crashdump file
Add the serial number and generation timestamp to crashdump filename.
2023-01-10 09:16:42 +01:00
Kuba Kleczkowski
d6fbf631f6 [MOS-792] Added VoLTE setting in db
VoLTE enabled/disabled state is now stored in settings
database. VoLTE is enabled or disabled to mach setting
during modem initialisation.
2022-11-15 13:57:03 +01:00
Kuba Kleczkowski
a3c0791bb7 [MOS-797] Revert "[MOS-792] Added VoLTE setting in db"
This reverts commit 0eb652a515
2022-11-09 18:50:19 +01:00
Kuba Kleczkowski
0eb652a515 [MOS-792] Added VoLTE setting in db
VoLTE enabled/disabled state is now stored in settings
database. VoLTE is enabled or disabled to mach setting
during modem initialisation.
2022-11-09 14:15:48 +01:00
Marcin Zieliński
8154243205 [MOS-770] Replace VoLTE state switching mechanism
Thrown out the previous implementation.
2022-11-02 12:12:02 +01:00
Adam Wulkiewicz
fe708cdf31 [MOS-670] Change clang-format AlwaysBreakTemplateDeclarations to Yes
Add --all and --fix-all options to style-check-hook
2022-08-26 15:22:39 +02:00
Mateusz Piesta
7cbfd6a984 [BH-1356] Meditation stats backend
Added meditation statc backend.
Added temporary widget for testing
purposes and corresponding modules
(meditation stats presenter, window,model).
2022-07-25 09:05:05 +02:00
Lefucjusz
c0f5243b3f [MOS-402] Time legibility on lock screen fix
Fix of the issue that time on the lock screen was
getting illegible after a few hours. This change
fixes the problem by performing deep refresh
instead of fast refresh every 30 minutes. The
refresh rate can be easily changed, as it is stored
in settings database.
2022-05-06 11:17:27 +02:00
Mateusz Piesta
2f42cd5e73 [BH-1424] FreeRTOS update
Updated FreeRTOS source code to 10.4.6.
Moved FreeRTOS sources to the third-party directory.
Added necessary changes to the CMake configuration.
Split FreeRTOSConfig.h. From now, each board has its own.
Added missing log headers.
Minor refactor of the module-os cmake.
Fixed stack overflows in bell application main and time service.
2022-04-07 13:31:28 +02:00
wojtekrzepecki
3dda67b037 [EGD-8256] Fix crash on quotes with empty database
fixed crash when quotes set is empty at first quotes
selection
2022-02-03 15:49:15 +01:00
Pawel Olejniczak
4013416c8d [EGD-7359] Remove 0 connection frequency for message only mode
When Offline/Message only mode is set, Pure should log into
the network to send and download messages based on
connection frequency. The default option was set to 0, which
meant that message only mode was not working at all.
2022-02-02 18:31:13 +01:00
wojtekrzepecki
853b0787df [EGD-8227] Refactor quotes db
refactoring of quotes db layout to conform with
given requirements
2022-02-02 09:50:24 +01:00
Bartosz Cichocki
7cdfb96db2 [EGD-6823] Add quote randomization
Added randomization of the quotes when quote wallpaper is selected
2022-01-18 10:15:58 +01:00
Wojciech Rzepecki
36b9b20e5e [EGD-8083] Add wallpaper option
Added connection of wallpaper window to settings
2021-12-09 09:49:11 +01:00
Alek Rudnik
1666429e07 [EGD-7584] Fix OS factory reset
There was an issue that we were deleting files which were still open.
Added removed of FI .indexed file.
2021-11-02 16:45:04 +01:00
Piotr Tański
bc7dc5b634 [EGD-7779] Dark mode implemented
Experimental dark mode feature implemented.
2021-10-26 15:31:32 +02:00
Mateusz Piesta
4948af4f77 [BH-618] Power nap fixes
Implemented various fixes:
BH-995
BH-996
BH-997
BH-998
Fixed PlayActions
and more.
2021-10-14 12:08:22 +02:00
Piotr Tański
1d2f5cf7a4 [EGD-7754] Dates bumped in disclaimers
Dates bumped from 2020 to 2021.
2021-10-11 19:08:26 +02:00
Marcin Smoczyński
bd90e57516 [BH-907] Split utils module into components
Split module-utils into smaller components for better dependency
management. Fix many dependencies throughout the project.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-23 15:14:40 +02:00
Mateusz Grzegorzek
58dd02cff1 [BH-861] Cleanup Application split - part I
1. Prepare Pure and Bell specific `Application`
   classes and add them to `app` target:

- `products/BellHybrid/apps/Application.cpp`
- `products/PurePhone/apps/Application.cpp`

2. Update `CMakeLists.txt` files.
3. Move `ApplicationBell` implementation to Bell-specific
   `Application` class and remove `ApplicationBell` files.
4. Change Bell apps parent classes from `ApplicationBell`
  to Bell-specific `Application` class.
5. Rename `Application` to `ApplicationCommon` in the rest of the files.
2021-09-13 11:58:10 +02:00
Alek Rudnik
7424b4be58 [EGD-7433] Remove legacy fileindexer database
Removed legacy fileindexer database. New one is already implemented.
2021-09-10 10:59:40 +02:00
Mateusz Piesta
58b8297b99 [BH-660] Alarm tone playback
Implemented tone playback handler.
Added product specific databases.
Fixed minor issues with CMake.
Minor refactor of alarm handlers.
2021-09-07 08:24:22 +02:00
Piotr Tański
90e7a48198 [EGD-7362] Merge release/0.76.1 into master
Merge release/0.76.1 into master.
2021-09-02 11:12:59 +02:00
Przemyslaw Brudny
dcaed12cad [CP-138] PhoneTimeLock implementation
Implemented PhoneTimeLock after unsuccessful attempts. TimeLock
data stored in DB on each attempt and read on system start.
Cleanup PhoneLockHandler structure.
2021-09-01 11:43:45 +02:00
Pawel Olejniczak
109b151631 [CP-139] Add time based attempt logic to phone lock handler
Phone lock no longer bases only on number of attempts.
Now there is a cooldown time between each attempt,
starting from a third attempt.
2021-09-01 11:43:45 +02:00
Mateusz Piesta
3f5b66b3be [BH-792] Temp format list item
Added temperature unit/scale ListItem to
the Time&Units application and integrated it
with temperature unit model.
2021-08-25 15:51:28 +02:00
Mateusz Grzegorzek
ed68fc92ec [BH-754] Split ServiceDB
- rename ServiceDB to ServiceDBCommon,
- create separate ServiceDB for Pure and Bell,
- move Pure-specific functionality
from `ServiceDBCommon` to Pure `ServiceDB`
2021-08-20 10:47:29 +02:00
Maciej Gibowicz
aef316a4fd [EGD-7048] Remove "Automatic time zone" from settings
From now on in the settings, instead of the two options:
"Automatic date and time", and "Automatic time zone"
there will be only the first one, which allows to
manually set the time and time zone.
2021-06-30 16:06:26 +02:00
Jakub Pyszczak
c494f5c1b4 [EGD-7006] Removed sensitive data from db
Sensitive data removed from logs in module db and service db.
2021-06-30 15:52:47 +02:00
Maciej Gibowicz
781f24bbfc [EGD-6699] Add timezone selecting window
Implementation of the time zone selection from the list
of available cities.
2021-06-29 14:51:12 +02:00
Kuba
f6b6cd9f8c [EGD-6986] Add Store timezone in settings db
Adds storing current timezone in settings database.
It allows to proper handling of timezone on system startup.
2021-06-25 16:42:03 +02:00
Jakub Pyszczak
e2863061e0 [EGD-6932] Small cellular refactor
Refactor regarding https://github.com/mudita/MuditaOS/pull/2226.
2021-06-15 12:50:44 +02:00
Radoslaw Wicik
1a2e12af1a [BH-373] Convert utils json into a lib
Moving json to a third-party standalone library.
2021-06-11 09:41:44 +02:00
Lukasz Skrzypczak
7fee0d9cfb [BH-378] Utils move log to library
Moved log to separate library
2021-06-08 12:24:29 +02:00
Marek Niepieklo
9b28cd6790 [CP-84] Implement Security API
- Added pass code unlock from MC
- Removed Set USB security status
- Changed isLocked to phoneLocked in request for phone lock status
- Removed remainings of USB security in Settings App
- Reworked USB security model to depend both on
    Phone lock state and Pass code being enabled
- Updated test_security.py
2021-06-08 10:23:21 +02:00
Przemyslaw Brudny
017e3d88dc [EGD-5711] Finalized onBoarding application
Finalized onBoarding application. Added no sim ready window
and sim response window. Created iceBox widget. Fixed various
onBoarding errors and misalignment.
2021-06-01 20:27:52 +02:00
Michał Kamoń
0f3fb7c152 [EGD-6736] Add app's state dependent autoLock mechanism
This PR provides the implementation of the auto-locking mechanism that
is dependent on an application's current auto-locking policy. Three
auto-lock policies have been introduced:

* DetermineByWindow
* DetermineByAppState
* PreventPermanently

Also changed the AutoLockWindow set/get auto-lock time value to the
message-based approach.
2021-05-26 08:31:33 +02:00
Adam Dobrowolski
b38adceced [EGD-6019] Minimum settings ownership lifetime fixups
added weakptr link to settings and checks
    it wont crash on deinitialized setings now
Pseuto UT are passing
Added:
    - deregistration on Settings destrution
    - weak referencing of Service to not crash Settings on missuse
    - Proxy as initialization parameter to Settings
Unused code removed
Enabled tests to be written for Settings
Removed dependency from freertos in test global file
EntryPath tests updated and compilation slimed
2021-05-18 13:25:54 +02:00
Jakub Pyszczak
b823992837 [EGD-6655] Screen light when active
Added enabling screen light if there was any key pressed
and screen light controler is in the automatic mode.
Added screen light disabling after 5 seconds of timeout
without any key being pressed.
2021-05-14 11:42:43 +02:00
Przemysław Brudny
e71a044bd3 [EGD-6019] Revert of two commits
This reverts commit b6416b15da.
This reverts commit e2f3882d8a.
2021-05-14 09:54:36 +02:00