[MOS-993] Logger bug fixes and optimizations
Fixes and optimizations in logger:
* fixed possible buffer overflow when logging
logs over line buffer size;
* reduced max log line length to 2048;
* moved pubsetbuf before file opening;
* log file stream buffer created once
in logger ctor;
* updatet UTs;
* additional minor cleanup.
[CP-702] Add API for managing templates order
This API allows for managing message templates order.
DB Migration: adding a new column to templates tables.
[CP-1825] Update while on onboarding screen
Add a parameter to device info about onboarding state.
Update documentation for Pure and Harmony.
[CP-1624] Cover new fields in contact and message endpoints with tests
Cover new fields for holding numberID in contact and message endpoint
response to keep the integrity and test passing.
[MOS-903] Remove reboot to USB MSC mode
Remove mechanics enabling to perform reboot
to MSC mode by sending request to one of the
endpoints via serial port, as it is not
implemented in bootloader and may potentially
be unsafe.
[MOS-000] Fixed tests for update
Fixed tests for performing update, now it does not require
developer endpoint
[MOS-000] Fix for test_updater
Fixed outdated method in harness
[CP-1421] Fix backup, restore and device info tests
Fix of the aforementioned tests after changes
implemented in PureOS.
[MOS-783] Fixed Pure unit tests
Fixed (most of the) hardcoded
paths in Pure's unit tests.
[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.
[CP-1423] Update backup and restore endpoint API test
Adjust the test script for new implementation of backup
and restore.
Disabling SettingsApi Test
[CP-1483] Add test for sync API
Purpose of this test script is to test
synchronization API introduced in CP-1484
[BH-1515] Revert bedtime changes
Due to many regressions these changes
introduced, we decided to revert them.
The old PR will be used as a foundation for
another fix attempt(probably including major
refactor of the alarm operations module).
[CP-1448] Add storage info to device info endpoint
DeviceInfo endpont now contains information such as:
deviceSpaceTotal - total storage space on the device
systemReservedSpace - storage space on the device
reserved for the OS
usedUserSpace - storage space on the device used
for user files on the user partition
[CP-1453] Update test script for file system endpoint
Add test for listing files and their size in a specified path.
[BH-1515] Bedtime reminder notification issue
AbstractAlarmAction execute method takes Record as paremeter to pass it
to action
Bedtime abstraction extended to keep own EvetContainer and hadle needed
actions(push,clear ... and so on)
Fixed an issue where cpp file was added by #include directive
New fuction added to test/CMakeLists.txt to
add manually prepared target to test siute
googletest-service-time-alarm-operations source moved to library and
than linked in to googletest-service-time-bell-alarm-operations
[CP-563] Return correct threadID after adding new message
After adding new message via Messages EP API,
threadID field was always 0, which was incorrect.
[CP-1116] Add API to create and update draft message
This change allows to create and update draft SMS
with use of service-desktop API.
[MOS-492] Enable overriding audio profiles via harness
Profile modification is possible via python script
[CP-1334] Return templateID after adding new one
No information about newly added message template
was returned. Now temaplateID helps to identify
newly added record.