Commit Graph

21 Commits

Author SHA1 Message Date
Mateusz Szczesny
6e76dc3e5f [BH-1787] Reboot to MSC endpoint
To allow the automation of gathering logs and swapping out OS images during tests a MSC reboot
endpoint was added. Together with a change to ecoboot, this allows the sending of a "reboot to
MSC" command. The deivce will then reboot and enter MSC mode.
2023-12-04 12:41:37 +01:00
Lefucjusz
06d16390c2 [MOS-1021] Fix blocked passcode behavior
Fix of the issue that after blocking
passcode from Center, Pure would still
display passcode input popup; providing
valid passcode there would result in
phone entering invalid state, where it
behaved as if it was unlocked, but
with blocked passcode.
2023-08-29 16:43:49 +02:00
Lukasz Mastalerz
98fb56a909 [CP-2074] The center doesn't detect if the user goes back to the license screen in pure
Keeps phone forbidden to connect to Center until the onboarding is finished.
2023-08-23 16:01:05 +02:00
Lukasz Mastalerz
f7ad63c951 [BH-1412] Fix services dependencies
Changes in dependecy managment
Replacing state flags with states in ServiceGUI
Unifying some parts of code
2023-08-01 17:22:48 +02:00
Lukasz Mastalerz
6ed406974a [CP-1797] Low battery connection with mc is possible
Add a reason field to USBSecurityEndpoint reson when device is locked.
2023-04-06 09:59:25 +02:00
Lukasz Mastalerz
ba0c1739cd [CP-1797] Low battery connection with mc is possible
Decrease critical battery level from 10% to 5%
Add a new entry to the security endpoint in order to block MC
when the phone battery level is critical
2023-03-30 10:03:07 +02:00
Lukasz Mastalerz
950cf78aa9 [CP-1825] Update while on onboarding screen
Add a parameter to device info about onboarding state.
Update documentation for Pure and Harmony.
2023-03-06 12:07:52 +01:00
Maciej-Mudita
dce833e84f [MOS-713] Fix access to the phone before going onboarding
Before accepting the EULA,
the user may fully use the Mudita-Center.
2022-10-04 09:40:49 +02:00
Pawel Olejniczak
ebc97dc3c9 [CP-1310] Add timeLeftToNextAttempt field to security EP
The time of the next attempt to unlock the phone on
the MC side was bonded with the system time of
the MC host system. This could lead to issues when
the time on Pure was different than on MC host
operating system. Now everything relies on Pure
system time.
2022-05-26 11:45:17 +02:00
Artur Śleszyński
fb6d036617 [CP-564] Reorganize desktop endpoints
Move desktop endpoint factory to a separate lib to be able to provide
different factories for different products.
2021-09-24 12:11:53 +02:00
Artur Śleszyński
b15006a94c [CP-564] Make desktop endpoints a separate lib
In order to have different sets of endpoints for different products,
we need to separate endpoints from the desktop service.
2021-09-21 10:41:37 +02:00
Pawel Olejniczak
d863c4c609 [CP-47] Extend service desktop API with time based phonelock
Time based phonelock can be now utilised via service desktop.
2021-09-08 11:54:05 +02:00
Mateusz Grzegorzek
e1ef821609 [BH-741] Split ApplicationManager
Separate Pure and Bell ApplicationManager functionalities
to separate files.
2021-08-18 14:29:51 +02:00
tomaszkrosnowski
e05ddbfdd9 [EGD-7010] Remove sensitive data from logs
Sensivite data like first/second name, messages and notes content,
dialed gsm numbers etc are removed from logs to guarantee security for
Pure users.
2021-07-08 11:43:35 +02:00
Paweł Joński
a7fba1b343 [BH-374] Librarize application-antenna
Add apps-common, librarize application-antenna
2021-06-17 12:54:02 +02:00
Pawel Olejniczak
c58c8568d3 [CP-143] Set 204 code for responses with empty body
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.
2021-06-14 17:14:16 +02:00
Marek Niepieklo
9dc5ba911b [CP-187] Fix stack overflow on passcode decoding
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.
2021-06-11 11:55:47 +02:00
Radoslaw Wicik
1a2e12af1a [BH-373] Convert utils json into a lib
Moving json to a third-party standalone library.
2021-06-11 09:41:44 +02:00
Pawel Olejniczak
5fd602f5c0 [CP-140] Deactivate autolock while connected to MC
PurePhone is no longer autolocked, while connected to Mudita Center.
2021-06-08 15:38:47 +02:00
Marek Niepieklo
9b28cd6790 [CP-84] Implement Security API
- 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
2021-06-08 10:23:21 +02:00
Marek Niepieklo
ec38961631 [CP-145] Implement Security Endpoint helper
Added helper and moved out processing code to helper
2021-06-08 10:23:21 +02:00