9 Commits

Author SHA1 Message Date
Lefucjusz
14bb332d0a [BH-2104] Create What's New database using migration mechanism
Create What's New mechanism using migration mechanism. This is
a first part of a fix for What's New not working if trying to
update from 2.9.0, 2.9.1 or 2.9.2.
2025-08-08 12:08:40 +02:00
Dawid Wojtas
1ba589f9c8 [BH-2026] Add mechanism for getting previously OS version
Task relates to What’s new feature that needs to
know which version of MuditaOS was installed
before the update.
Normally What’s new uses a database to get the
previous version, but after the first run this
field will be empty.
To bypass this issue the PureRecovery needs to
save the previous version in recovery_status.json
that is generated after the update process.
2024-07-10 12:45:46 +02:00
Dawid Wojtas
676174815f [BH-2024] Fix lack of alarm directory after updating software
If the alarm directory isn't exist then
it's created while updating the software.
Added the same procedure for relaxation directory.
2024-07-02 10:56:41 +02:00
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
Mateusz Piesta
37665c2971 [MOS-000] Fixed minor issue in db migration script
* Removed doubled copyright header from 'up/down/devel.sql' when committing
databases.
* During installing, 'devel.sql' was created even if specific revisions
didn't contain one.
* Removed unnecessary product-specific .lua scripts.
2023-04-03 11:52:03 +02: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
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