Commit Graph

174 Commits

Author SHA1 Message Date
Piotr Tański
7637eb0d29 [EGD-7907] Fixed contact editing
A contact could be removed during update process.
2021-11-04 10:41:25 +01:00
Wojtek Rzepecki
d0772ab0b7 [EGD-7798] Fix alarms backend with new format
New format of alarm time in database and processing
2021-10-18 12:14:36 +02:00
Piotr Tański
1d2f5cf7a4 [EGD-7754] Dates bumped in disclaimers
Dates bumped from 2020 to 2021.
2021-10-11 19:08:26 +02:00
Piotr Tański
9820a00cbc [EGD-7474] Contacts management fixes
Fixed managing contacts on the DB side.
2021-10-04 15:06:22 +02:00
Wojtek Rzepecki
d316899330 [EGD-7739] Fix recurrent alarms
Alarms fixes for recurrence rules application
2021-10-04 14:36:15 +02:00
Przemyslaw Brudny
7e26f5e014 [EGD-7670] Alarm toggle off all alarms
Added toggle all alarms handling with tests.
2021-09-28 12:54:39 +03: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
Paweł Joński
05847f09d1 [BH-743] Fix alarm deletion from DB
Remove cascade deletion from sql
Add manual deletion from 2 tables
2021-09-13 10:08:29 +02:00
Alek Rudnik
c9a41b4477 [EGD-7335] Integartion of file indexer with database
Integrated core file indexer with its database.
Modfied necessary queries.
Moved service file indexer to pure product specific
folder
2021-09-10 10:59:40 +02:00
Adam Dobrowolski
1156320af5 [EGD-7502] TimeService Alarms get returns total elements count
We require so that overall alarms count would be returned to properly
use ListView
2021-09-08 20:57:21 +02:00
Adam Dobrowolski
55b89278f1 [EGD-7527] Removed AlarmsEvent from the codebase
We have to use AlarmEventRecord not AlarmsEvent
2021-09-08 20:15:26 +02:00
Paweł Joński
0f216d9c2c [BH-743] Fix query get recurring events between range
Fix query for get recurring events between range request
2021-09-08 14:01:55 +02:00
Alek Rudnik
5e7457701e [EGD-6836] Add multimedia files database interface
Added all queries including listing songs for
selected artist or album
2021-09-03 19:49:32 +02:00
Alek Rudnik
b482851269 [EGD-6836] Add multimedia indexer database
Added multimedia indexer database.
Decided to got with single table approach.
User playlist will be implemented as seprate
tables when needed.
2021-09-03 19:49:32 +02:00
Paweł Joński
ba1a6f2527 [BH-691] Alarms handling
Handle alarms in service-time
2021-09-03 13:29:21 +02:00
Paweł Joński
39255b2d45 [BH-743] AlarmEvent UT
Unit tests for AlarmEvent implementation
2021-08-26 12:51:59 +02:00
Pawel Olejniczak
cdadee24cc [CP-388] Check for duplicates before adding contact
Prevent adding duplicate contact using service desktop API.
2021-08-26 11:56:04 +02:00
Paweł Joński
89518a0a9c [BH-743] Add EventRecord implementation
Add EventRecord implementation + tests
2021-08-17 14:45:08 +02:00
Alistair Francis
92e92d3ef2 [EGD-6946] Fix build for GCC11
Fix build issues identified when building on Fedora 34 using GCC11.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
2021-08-02 13:05:10 +02:00
Alek Rudnik
948e926bff [EGD-7243] Fix seg fault on db initializer test case
Seg was found when running test on bench.
Moreover the test was actually not working.
2021-08-02 10:38:56 +02:00
Przemyslaw Brudny
10f27328e8 [EGD-7215] Connected Sim contact import with backends
Connected Sim contact import with cellular contact read
and DB contacts write.
2021-07-29 23:31:04 +02:00
Marcin Smoczyński
74ae1a6589 [EGD-7031] Remove UT deps to the production image
Remove dependency to the production image by creating separate sysroot
for test assets alongside with a test image Test.img.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-07-27 23:36:37 +02:00
Wojtek Rzepecki
3ac4bd4935 [EGD-7127] Store imported contacts in DB
Added API for storing imported contacts list
in phonebook database
2021-07-22 15:45:06 +02:00
Wojtek Rzepecki
0e42b0016e [EGD-7044] Strip down calendar code
Stripping the calendar code to provide only
MVP defined functionalities
2021-07-07 09:05:57 +02:00
Piotr Tański
50a73ca638 [EGD-7051] Fixed saving multiple notes at once
When creating a new note, it was possible to save multiple notes
with 1 click.
2021-07-01 16:00:56 +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
Lukasz Skrzypczak
7fee0d9cfb [BH-378] Utils move log to library
Moved log to separate library
2021-06-08 12:24:29 +02:00
Radoslaw Wicik
aa1ca514cb [BH-353] Add minimal build target for BH
Introducing changes required for adding BellHybird target without
removing PurePhone.
Adden new targets:
* Pure (builds PurePhone and PurePhone.img)
* Bell (builds BellHybird and BellHybird.img)
* [PurePhone|BellHybrid]-[UpdatePackage|StandaloneImage)
2021-06-07 17:05:29 +02:00
Lucjan Bryndza
325f8696b8 [EGD-6835] Fix UT link errors with inotify
Fix UT linkage error when trying to link with
libiosyscalls with inotify mechanism

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2021-06-01 13:06:38 +02:00
Pawel Olejniczak
70e9ef0d03 [CP-77] Replace receivedAt and sentAt fields with createdAt
sentAt json field was never updated and was not used.
Cleaned up DB and DB interface from unused date_send.
2021-05-31 17:52:35 +02:00
Michał Kamoń
46c57aaa88 [EGD-6599] Add single number call notification
This PR adds proper notification on call notifications coming from
single number. To that end following changes have been introduced:
 * extension of Notification DB record with contact_id filed
 * use of `ContactRecordInterface` in `NotificationsRecordInterface`
 * extension of `Increment` query to require `PhoneNumber::View`
 * multiple minor changes on path from creating/handling
 `NotificationsRecord` to displaying respective notification.
2021-05-06 14:39:53 +02:00
Adam Dobrowolski
56344b0579 [EGD-6680] Notes crash fix on search
Changed query for all matches to query with limit
2021-05-05 18:13:35 +02:00
Radoslaw Wicik
cfb2b9cc3d [EGD-6645] Fix ContactGroups tests
Fixed Contact Groups tests.
2021-05-04 12:50:47 +02:00
Radoslaw Wicik
b3affc1af6 [EGD-6650] Fix Thread Record test
Fix UT for using WAL in SQLite.
2021-05-04 10:46:50 +02:00
Radoslaw Wicik
5fae63df3e [EGD-6648] Fix Events Record tests
Update UT for work with SQLite WAL.
2021-04-29 18:21:50 +02:00
Radoslaw Wicik
d4e5807ef7 [EGD-6643] Fix Alarm Record tests
Fix UT Alarm Record to work with WAL in SQLite.
2021-04-29 17:43:57 +02:00
Radoslaw Wicik
92f028ddb6 [EGD-6649] Fix SMS Record tests
Fix UT for WAL in SQLite.
2021-04-29 15:55:45 +02:00
Radoslaw Wicik
3a28111e38 [EGD-6644] Fix Alarms Table tests
Fix UT for supporting WAL in SQLite.
2021-04-29 15:10:23 +02:00
Pawel.Paprocki
c42df2435d [EGD-6646] Fix Contact Record db tests
Clean  WAL file after db init
2021-04-29 09:44:40 +02:00
Adam Dobrowolski
940989833f [EGD-6527] Internationalization API unification
Single api to rule i18n
all calls to localistaion in cpp files unified
cut off ass many dependencies in i18n header as possible
2021-04-20 20:07:44 +02:00
Wiktor S. Ovalle Correa
10a2c37969 [EGD-3649] Fix paths in UT
Reorganization of assets left path in UT outdated.
2021-04-20 16:45:27 +02:00
Pawel Olejniczak
4a1801bb2d [EGD-6389] Fix database initialization scripts UT
Tests were not passing locally due to incorrect
sql file names.
2021-04-07 20:14:35 +02:00
Michał Kamoń
dfcf9817b7 [EGD-5790] Fix end of line display in message thumbnail
Original problem was that '\n' character was displayed as `[]` in
message thumbnail. After consulting Design-Team thumbnail should not
display anything succeeding problematic character.
2021-03-18 09:50:32 +01:00
Radoslaw Wicik
9d8eff64fc [EGD-5860] Fix build packages
Merging and cleaning cmakes requred cleaning.
2021-02-26 14:20:11 +01:00
Wiktor S. Ovalle Correa
3b141041e9 [EGD-5737] Merge master into experimental
Keep experimental up to date with changes from master
2021-02-17 17:09:37 +01:00
Jakub Pyszczak
7797a2eaf0 [EGD-5266] Fix test harness
Covers harness issues that occures on experimental branch
due to the new filesystem implementation.
2021-02-17 17:08:18 +01:00
Lucjan Bryndza
9ad10d222b [EGD-5439] Fix compile after merge from master
Fix compile after merge from master
2021-02-17 17:08:18 +01:00
Lucjan Bryndza
a53bd826c6 [EGD-5737] Merge master into experimental
Keep experimental up to date with changes from master
2021-02-17 17:08:06 +01:00
Tomek Sobkowiak
2c8059216b [EGD-5386] Fix tests in event table
Fix leap year handling in events table entry creation
Set hours/minutes during events table entry creation
2021-02-17 17:07:41 +01:00