Commit Graph

10 Commits

Author SHA1 Message Date
Lefucjusz
75c12a82e5 [BH-1895][BH-1909][BH-1910] New database structure for custom sounds
* Added creation of /user/media/app/alarm
directory that will be used to store
custom alarm sounds.
* Implemented new database structure.
* Adapted Alarm, Bedtime, Pre-wake up and
Snooze to new database structure.
* Added removing custom alarm files during
factory reset.
* Added fallback alarm sound mechanism.
* Cleanups, unifications.
2024-04-10 15:33:14 +02:00
Lefucjusz
752147e814 [BH-1881] Add progress bar to update process
* Modified Lua update scripts to show simple
progress bar during update process in
Recovery.
* Fixed regression with failing factory
reset on Pure.
* Split Lua scripts per product.
2024-02-23 15:55:12 +01:00
Dawid Wojtas
59efb79001 [BH-1731] Factory reset removes user files
Performing the factory reset removes user files
and settings. After powering on the device
will run the onboarding.
2023-12-07 16:11:33 +01:00
Mateusz Piesta
424f5eaa12 [MOS-855] Restore process update
Fixed issues with restoring from legacy backups
and cases when the database set fetched from backup package
is different than the system one.
2023-01-19 16:41:56 +01:00
Lefucjusz
fc076fa4cc [MOS-855] Fix restore from legacy backup
Added checking if requested to restore backup
from pre-UDM version and setting db versions
to zero in such case, as version info file
(called backup.json in legacy backups) doesn't
contain info about versions.
2023-01-19 16:41:56 +01:00
Mateusz Piesta
b1fe5973b7 [MOS-807] Update scripts
Added minor tweaks and fixed bugs.
2023-01-19 16:41:56 +01:00
Mateusz Piesta
09bab001d0 [MOS-807] Update scripts
Added update scripts for both variants:
UDM update and further 'normal' updates.

Minor updates to the directories layout
2023-01-19 16:41:56 +01:00
Mateusz Piesta
bb0ef540b7 [MOS-803] DeviceInfo endpoint update
* Added some changes to the DeviceInfo endpoint
* Updated relevant code accordingly
* Removed unneeded paths definitions
* Minor bug fixes
2023-01-19 16:41:56 +01:00
Mateusz Piesta
ea5492fa42 [MOS-803] Add backup/restore scripts
* Added test directory layout
* Added test assets
* Added backup/restore scripts
2023-01-19 16:41:56 +01:00
Mateusz Piesta
902a3a315e [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
2023-01-19 16:41:56 +01:00