[MOS-783] First part of new dir structure implementation
Works:
- generating .img for Pure;
- Pure boots after flashing new image and
seems to be working fine;
Not yet:
- generating update package;
- generating image for Harmony;
- simulator;
- path-related unit tests fail
due to paths being hardcoded
in test scenarios.
[MOS-806] Prepare scripts dependencies
* Added scripts dependencies
* Added script to generate scripts package
automatically
* Added integration with PureOS CMake
* [MOS-804] Created factory reset script
[MOS-802] Create DB migration script
Added database migration script(LUA).
[MOS-000] Rebase fixes
Rebase fixes
[CP-1427] Cleanup leftovers after old backup restore implementation
The synchronization mechanism has been freed from the constraints
of the old backup and restore implementation.
[CP-1423] Update backup and restore endpoint API test
Adjust the test script for new implementation of backup
and restore.
Disabling SettingsApi Test
[CP-1424] Refactor backup and restore endpoints
Redesign of backup and restore endpoints in the
service-desktop to delegate responsibility for
execution of the actual backup and restore process
onto the Updater.
[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
[CP-1483] Add test for sync API
Purpose of this test script is to test
synchronization API introduced in CP-1484
[CP-1484] Add new mechanism for data synchronization between MOS and MC
This mechanism is similar to the current backup implementation,
but is stripped of irrelevant data that is not required by the
MC to perform data synchronization.
[CP-1560] New user directory structure
* New user directory implemented.
* Generate user directory structure at compile
time instead of at runtime(Pure/Harmony).
* Changed MTP root path to /storage
* FileIndexer: Minor refactor
* FileIndexer: Fixed handling incorrect/non-existing
scan directories.
* Updated Repository module to correctly handle
many assets paths.
* MultimediaDB: Minor unit tests refactor and fixed
some issues when using simulator.
* MultimediaDB: Added new queries and unit tests
* Harmony/Relaxation: Updated to correctly
use audio assets from more than one source.
* Harmony/Relaxation: Updated model and list items
provider.
* Harmony/Relaxation: Fixed stack overflow in audio service
[MOS-275] Fix alarm rings on the low battery screen
When we had a critical battery level and the alarm clock rang,
it was impossible to turn it off.
[CP-1512] Add crashdumps indexing
Adding indexing to crashdumps to to ensure resistance to the device date
retraction.
When max crashdump count reach the file with higher index number will be
remove.
[MOS-496] Music player broken UI
Fixed issues when selecting track index higher than 31.
[MOS-767] Fix full path displayed for invalid audio file
Fix of the issue that whole file path was
displayed instead of just filename in music
player for invalid audio file for which Taglib
failed to obtain tags.
[MOS-829] Fix the Pure's alarm plays indefinitely
According to the requirements the alarm after.
30 minutes of playing will be stopped
instead of snoozed.
[MOS-814] Fix no sound after BT device connection during call
Fix of the issue that connecting or
disconnecting BT device while call
was in progress resulted in no sound
being heard anywhere due to audio
routing being stopped when HFP device
disconnected.
Additionally minor code cleanup.
[CP-1579] Fix correct password inserted during Pure boot is not accepted
Fix the issue when the USB cable connected to the device during boot up
and Center requested a passcode before the device was fully up.
What caused a 'Wrong passcode' message after typing a passcode
via Center.
[MOS-787] Fix crash when syncing with Mudita-Center
When Pure had large databases - exceeding 2MB, a crash occurred
during synchronization with Mudita-Center.
[MOS-606] Fix inactive alarms after timezone change and reboot
The problem was a race condition.
Fixed by adding additional alarm's event cache update
after assigning the callback.