[CP-648] Handle updated API requests
Updated B&R to handle new API
Extended error reporting
Backup/Restore code clean up
[CP-649] Check OS version compatibility during restore
Added check of OS and backup versions
Fixed adding of version.json to PurePhone.img
Images generated using PlantUML had transparent backgrounds which made
their text difficult to read on GitHub when using "Dark Mode". Forcing
a background color of #F0F0F0 ensures they are all readable.
Changed:
- Runtime disabled logs which didn't add value from ServiceDesktop
- Runtime disabled logs which didn't add value from SystemManager
- Added possibility to change runtime logging levels
- Integrated ServiceDesktop developer code a bit - it might be used
as virtual base with little to no modifications for other endpoints
which would result with less redundant code
We have no controll on UART over the device flushing, minimum code
added to assure that data could be flushed
We do not close services when these are closed with reason
Body field was always added to response json, even if
it was containing only null. Now empty body is
not attached to response json, and status code
for such message is set to 204. Additionaly some
minor cleanup in service desktop was done.
When passcode is passed as json string, each of digits needs to be
parsed as separate character with std::atoi. Replaced the string
with json array of integers to simplify decoding and avoid SO.
- 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
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.
Remove spare logging in MessageHandler.cpp
Move Linux CI target to Release
Remove spare logs form harness tests
Disable failing test cases in:
test_templates and test_connection_security
Remove body field from response message,
if it contains null. Add 204 and 501 status codes
and use them in proper responses.
204 stands for success but no content, and 501
means endpoint is not implemented.
Additionally some minor fixes.
* This PR provides a fix for the bug reported in [EGD-6081].
The solution adds the `tear_down`-like fixture called after the
problematic tests, that enforce focus on `ApplicationDesktop'`s
main window.
* Additionally similar solution was added to `test_auto_lock`
to restore original (30s) lock timeout.
[EGD-6081]: https://appnroll.atlassian.net/browse/EGD-6081
This PR:
* provides Bluetooth-Harness API messages definition [EGD-5944]
* provides Bluetooth-Harness API messages implementation
* provides Bluetooth-Harness API usage on harness side [EGD-5946]
* provides Bluetooth-Harness tests [EGD-5947]