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
Maciej Janicki
6851c04e12
[EGD-5976] Add tethering cellular disabling
...
This commit adds disabling of URC messages during
tethering mode. It also adds call and sms logging after
tethering is disabled.
2021-06-01 09:03:23 +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
Jakub Pyszczak
d724442366
[EGD-5171] Utils to string fix
...
Fixed utils to string function to work with 8 bit integers.
Also nodiscard attribute added there.
2021-05-26 13:52:50 +02:00
Lucjan Bryndza
7ed58f9a9b
[EGD-6767] Disable WALL mechanism in the DB
...
Wall mechanism is not needed due to the littlefs
fail proofs safety. It causes a lot of troubles
in the frame recovery and unnessesry increases
io bandwidth
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com >
2021-05-20 14:13:43 +02:00
Michał Kamoń
f2ce6e946b
[EGD-6707] Add single number message notification
...
This PR provides implementation of home screen notification for
`notSeen` messages received from a single number. The "single-number:
`notSeen` message notification distinct from "multiple-number"
notification with the following features:
- displaying formatted contact name
- `onActivated` it switches to respective thread window (instead of
all thread window) in `ApplicationMessages`
The PR also introduced some `ActiveNotificationsModel` code refactor
to align the implementation with `Single Responsibility Principle`
2021-05-18 17:19:30 +02:00
Tomasz Sobkowiak
f49f4fdab3
[EGD-5512] Don't log pragma errors
...
Ignore false pragma errors caused by our VFS and sqlite.
2021-05-18 11:10:26 +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
RobertPiet
d967db0a48
[EGD-6110] Cyclic db write
...
WAL option used, checkpoint set to 1
2021-04-22 13:36:07 +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.Paprocki
97833e2d8b
[EGD-6313] Fix Can not find contact by full name
...
Add support for contact full nane in queries
2021-04-16 07:43:22 +02:00
Marcin Smoczyński
332aed9365
[EGD-6507] Enable per-module testing
...
Add per-module:
- test build
- test execution
- coverage reporting (xml/html).
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com >
2021-04-13 15:16:59 +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ń
ad52bab728
[EGD-6283] Fix to slow Application Desktop start
...
ApplicationDesktop start was slowed down by two synchronous DB calls:
-get unread threads count
-get unread calls count
Both were replaced with asynch versions.
2021-03-26 08:19:27 +01:00
Mateusz Grzegorzek
5b0f2aa44a
[EGD-6262] Refactor Quotes
...
- Connect QuotesMainWindow to work with agent,
- Use DatabaseModel in Quotes and Categories models,
- Connect add/edit/remove quotes with agent
2021-03-25 09:17:53 +01:00
Lucjan Bryndza
982e1b8d50
[EGD-6105] Fix database synchronization
...
std::fflush used in the sqlite3vfs sync only the stdio buffer
but without sync internal filesystem. Additional fsync call fix
this issue.
2021-03-24 13:31:50 +01: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
Wiktor S. Ovalle Correa
0fa3c714de
[EGD-6067] Fix database performance issues
...
New filesystem works differently and some vFAT optimizations
backfired badly after switch.
- avoid unnecessary folder traversing
- eliminate some unnecessary fstats
- rework sqlite file driver
- reduce MMC startup delay
- fix errno bug in iosyscalls
2021-03-11 14:11:50 +01:00
Piotr Tański
724505bb92
[EGD-2653] Update list of call logs in chunks
...
Automatically update the list of call logs in chunks.
2021-03-11 13:08:03 +01:00
Mateusz Grzegorzek
270d69edcc
[EGD-5724] Add pagination for Templates
...
Add pagination for Templates
Fix bug in change message template response
2021-03-04 11:48:56 +01:00
Mateusz Grzegorzek
9832365ca2
[EGD-5698] Add pagination for messages
...
Add pagination for messages
2021-02-26 18:37:56 +01:00
Radoslaw Wicik
9d8eff64fc
[EGD-5860] Fix build packages
...
Merging and cleaning cmakes requred cleaning.
2021-02-26 14:20:11 +01:00
RobertPiet
79d27c977c
[EGD-5725] Sms threads pagination
...
Added pagination for sms threads
2021-02-25 19:55:02 +01:00
Roman Kubiak
2a29e27996
[EGD-5757] Fix backup API
...
Fix backup endpoint to work with new paths and FS api
The flow is based on the design in confluence.
2021-02-25 16:04:04 +01:00
Wiktor S. Ovalle Correa
fe72169338
[EGD-5737] Merge master into experimental
...
Synchronize with master before merging
2021-02-23 18:10:52 +01:00
Tomasz Langowski
ecfcdf0913
[EGD-5720] Add send message via new message by using contact
...
Add send message via new message by using contact
2021-02-22 11:50:18 +01:00
RobertPiet
800a2735a4
[EGD-5802] Enable harness for calllog and messages
...
Handle properly RecordQuery and CalllogGet parameters
2021-02-18 10:55:48 +01:00
Wiktor S. Ovalle Correa
c7b7cc4c27
[EGD-5737] Merge master into experimental
...
Keep experimental up to date with changes from master
2021-02-17 17:10:32 +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
be66c10888
[EGD-5347] Replace filelength with file_size
...
Replace use of filelenght with std::filesystem::file_size
sqlite3vfs is using file descriptors so filelength is just renamed
2021-02-17 17:07:41 +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
Lucjan Bryndza
f60b9c0013
[EGD-5392] Add switch vfat to RO mode
...
VFAT partition should be mounted in RO mode by default
because writing to FAT filesystem is unsafe.
Writing is allowed only in the LFS filesystem.
If upgrade is needed FAT partition can be temporary
switched to RW mode using mount() syscall with REMOUNT flag
but it should be switched to RO mode again after upgrade.
2021-02-17 17:07:41 +01:00
Lucjan Bryndza
a493771f97
[EGD-5385] Fix unallowed use of ff_rename
...
Fix unallowed use of ff_rename FFAT function
2021-02-17 17:07:41 +01:00
Lucjan Bryndza
46f9cc7e10
[EGD-5737] Merge master into experimental
...
Keep experimental up to date with changes from master
2021-02-17 17:07:23 +01:00
Jakub Pyszczak
ff5ed529d3
[EGD-5163] Fix UT module-db
...
Convert module database tests to run natively on linux.
2021-02-17 17:05:31 +01:00
Lucjan Bryndza
e6213e9407
[EGD-5737] Merge master into experimental
...
Keep experimental up to date with changes from master
2021-02-17 17:02:21 +01:00
Jakub Pyszczak
5ad8a9bc65
[EGD-5145] Fix remove vfs include from UT
...
Deprecated vfs is no more accessible. Deleted old includes.
2021-02-17 17:02:15 +01:00
Jakub Pyszczak
7e36ee7c19
[EGD-5088] Change new filesystem implementation
...
Removed deprecated vfs calls from all applications.
2021-02-17 16:06:23 +01:00