Commit Graph

23 Commits

Author SHA1 Message Date
Lukasz Mastalerz
d9a1194e6f [BH-1688] Create a standard for logs
* Adding document describing how to use logger
* Adjusting logs to follow a new guide
* Change order in log header:
  line number is now before function name
2023-10-23 15:17:44 +02:00
Lukasz Mastalerz
a870922ec3 [CP-1837] Random crashes while copying files
General improvements to prevent running out of memory while copying
files via Mudita Center
2023-03-21 09:17:54 +01:00
Paweł Joński
7a9ba7ffa8 [BH-1448] MTP closing routine and VCOM reset routine
MTP closing routine and VCOM reset routine
2022-04-20 11:17:55 +02:00
Pawel Olejniczak
57fd6f3c9e [CP-1033] Add Outbox endpoint to service-desktop
Outbox endpoint will be used to provide notifications
about changes in messages/threads/calls during connection
with Mudita Center. This mechanism will ensure an efficient
data synchronization between Mudita Pure and Mudita Center.
2022-02-17 21:47:19 +01:00
Marcin Smoczyński
bd90e57516 [BH-907] Split utils module into components
Split module-utils into smaller components for better dependency
management. Fix many dependencies throughout the project.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-23 15:14:40 +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
Artur Śleszyński
3c2ca020a9 [CP-183] Do not log sensitive data in service-desktop
Remove potential printing of user-sensitive data.
2021-06-29 11:07:25 +02:00
Lukasz Skrzypczak
7fee0d9cfb [BH-378] Utils move log to library
Moved log to separate library
2021-06-08 12:24:29 +02:00
Pawel Olejniczak
b63f51a7bf [EGD-5963] Unify type of UUID field in all endpoints
UUID is no longer stored as a string, since we are not
going to use 128b UUID.
2021-03-02 13:00:10 +01:00
Radoslaw Wicik
d5174215eb [EGD-5819] Fix count
Fix wrong "count" key word in contacts, and add test for variables in
device info endpoint.
Disabled test jira:
5906 - test_calendar_events.py
5907 - test_connection_security.py
5908 - test_dom_dump.py
5909 - test_usb_echo.py
2021-02-26 14:06:00 +01:00
Piotr Tański
d5c3d41ca4 [EGD-5204] Secure USB communication
Secure all endpoints by returning 403(Forbidden) when USB is connected.
Request screen passcode to enable secured endpoints.
2021-02-24 19:49:07 +01:00
RobertPiet
2c3965df18 [EGD-5557] Contact Endpoint pagination
Pagination added for contact endpoint.
Introduced PagedContext and query message for contacts that returns
the required contacts together with the number of all contacts in db.
2021-02-17 15:13:27 +01:00
mkamonMdt
2dc0bc3676 [EGD-4850] Fix of statics between USB CDC and ServiceDesktop
Handling queues with static std::string implementation caused
problem of double-free memory on turning off simulator. Applied
solution to the problem is to pass ownership of queued string to
a receiver side.
2021-01-22 09:21:59 +01:00
Radoslaw Wicik
47c817cf15 [EGD-4218] Convert service-desktop to library 2020-11-16 16:04:15 +01:00
Bartosz Cichocki
d2589ec5ee [EGD-4359] fixed linux USB sending (#989)
Fixed USB linux sending to be able to use test harness on the simulator


Co-authored-by: SP2FET <bartosz.cichocki@mudita.com>
2020-11-09 18:23:47 +01:00
Radosław Wicik
d5de12f7ce [EGD-3852] clean include in service (#928) 2020-10-28 15:19:24 +01:00
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
Bartek Cichocki
9095333b2c [EGD-3502] PR fixes 2020-09-02 17:26:01 +02:00
Bartek Cichocki
9eeeb6ae92 [EGD-3502] reworked endpoints and handlers
added endpoint listener to query
2020-09-02 17:26:01 +02:00
Bartek Cichocki
91e29f1cac [EGD-3486] Implementation of SMS handling in service-desktop
added message removal method

added message marking as read/unread

added message thread to_json() method, fixed unit test

added template processing except search

added SMS gathering by contactID

added getByText sms query

added template search query
2020-08-15 11:34:18 +02:00
Bartek Cichocki
06b3a54b1d [EGD-3489] Fixed damaged json and length hardfault, added tests 2020-08-07 14:54:28 +02:00
Bartek Cichocki
f07b337e2d [EGD-3463] Added service-desktop <-> DB interface
added changelog entry

added simple tests

added simple negative tests

fixed empty number contact case, added appropiate test
2020-08-07 09:30:51 +02:00
Bartek Cichocki
794a2bd35f [EGD-3436] Reimplemented parser, removed TinyFSM
added unit tests, cleaned up code

added changelog entry
2020-07-28 10:51:37 +02:00