Commit Graph

243 Commits

Author SHA1 Message Date
Lucjan Bryndza
445010d7f9 [EGD-4135] Database interface improvement (#881)
Fix for unexcepted power failure by adding new implemented
function ff_fflush.
Improve write interface to complies with Linux lseek syscall.
Linux lseek syscall allows to lseek outsite the file size.
When write if lseek is out of range, write syscall write data to new
offset and fill the gap with zeros.
Free RTOS-FAT behaviour doesn't support sparse files, so we need
to implement this functionality manually on the sqlite3 vfs inteface
layer.

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2020-10-23 09:19:57 +02:00
Lucjan Bryndza
bf2609524c [EGD-4075] Use FATFS in the Linux builds (#843)
* [EGD-4075] Use FAT fs in the emulator

Add script for genrate base phone image

* [EGD-4075] Use FreeRTOS-FAT in emulator initial commit

* [EGD-4075] Thread local storage fix

Fixing thread local storage when running on the
Linux platform in the test mode

* [EGD-4075] Improve image generation

Improve image generation script on the linux platform

* [EGD-4075] Fix all test with FAT fs image

Fix all tests with fatfs image

* [EGD-4075] Fix calculator utility test

* [EGD-4075] Image dependencies fix

* Remove uneeded comments

* Missing headers in CR

* [EGD-4075] Fixed whitespaces

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2020-10-22 10:34:12 +02:00
Radosław Wicik
1d62ecd942 [EGD-3852] Add missing virtual destructor (#876) 2020-10-21 11:34:30 +02:00
Przemyslaw Brudny
e131dae68f [EGD-3743] Removed old doxygen copyright statements from project. 2020-10-20 12:55:10 +02:00
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
marek303
38df9d66ad [EGD-3315]Review: style fixes 2020-10-15 20:58:45 +02:00
marek303
585c612f5d [EGD-3315]Review changes: EventReminderWindow - localized date and time; unit tests for SelectFirstUpcoming query 2020-10-15 20:58:45 +02:00
marek303
ae355210a8 [EGD-3315]Review changes (minor) 2020-10-15 20:58:45 +02:00
marek303
f1e68d2204 [EGD-3315] Main functionality: DB queries, timers processing, base classes for future use 2020-10-15 20:58:45 +02:00
KacperLewandowski
ba4640c4af [EGD-3469] ServiceTime - start 2020-10-15 20:58:45 +02:00
Tomas Rogala
df87b94b49 [EGD-3469] Rework DB 2020-10-15 20:58:45 +02:00
Bartek Cichocki
305d43a176 [EGD-3773] added A2DP playback backend 2020-10-14 09:23:53 +02:00
pawpMudita
a2ba217b06 EGD-4077 Re-enable support for temporary contacts in Phonebook main window 2020-10-13 16:38:45 +02:00
Przemyslaw Brudny
0eb1fd03e5 [EGD-3985] Removed unique_ptr to vector for DatabaseModel updateRecords Method. 2020-10-13 12:23:34 +02:00
Lucjan Bryndza
d89b7ea8de [EGD-4035] Fix empty database in address book (#811)
When address book database is empty the
PhoneBook aplication hang.

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2020-10-09 13:44:43 +02:00
Radoslaw Wicik
680c8168e5 [EGD-3998] New db engine (3.33.0) and vfs passing PRAGMA support back to sqlite 2020-10-09 12:46:51 +02:00
Przemyslaw Brudny
196c02686a [EGD-2395] Added BottomTop orientation support for listView. Created SMSThreadViewWindow and SMSOutputWidget. MessagesStyle moved from global Style.hpp. Fixes in Text. ListView fixes, BoxLayout callback for requestedSize. Added smsInput into list. Drafts handling added. 2020-10-07 19:45:01 +02:00
Tomas Rogala
460885701f [EGD-3700] Switch window rework
-Create application->switchManyWindowsBack() method
-Create equivalent to empty window enum class
-Remove stored prevWindows variables
-Add bottom bar to empty window (equivalent to allEvents)
-Repair going back to previous windows functionality
-Repair switching window (with empty events DB)
-Add EventShift value to event records time
2020-10-06 09:35:14 +02:00
pawpMudita
9311e33aa5 EGD-3808 Scrolling contacts list with a particular letter - part 2 2020-10-02 10:09:36 +02:00
Piotr Tanski
7e520b49a2 [EGD-3788] Fixes for message drafts feature after requirements elaboration. (#733) 2020-09-29 12:34:58 +02:00
Michał Kamoń
6aec199938 [EGD-2846]-sim-pin-entering (#718)
[EGD-2846] PIN and PUK windows for SIM added
2020-09-29 10:19:44 +02:00
KacperLewandowski
2aaed62bd8 [EGD-3699] Add notifications handling in calendar. 2020-09-25 15:59:57 +02:00
pawpMudita
7694df5be9 [EGD-3139]Scrolling contacts list with a particular letter - part 1 2020-09-24 15:45:07 +02:00
Tomas Rogala
4942167c0a [EGD-3713] Rework repeat option data flow
-Implement onIsChecked callbacks
-Add Custom repeat functionality
-Prevent from repeated events duplicates
2020-09-23 21:43:26 +02:00
Przemyslaw Brudny
b7eb4365ea [EGD-3799] Messages queries cleanups. 2020-09-23 15:02:04 +02:00
Marcin Smoczyński
4c30d4442b [EGD-3797] change default country to unknown
Can't assume that user is in Poland if number origin is unknown.

Fix related unit tests.
2020-09-22 17:57:01 +02:00
Piotr Tanski
8fd488b084 [EGD-3720] Database service API cleanup for messages application. (#720)
- Major cleanup of database query usage.
2020-09-22 12:59:32 +02:00
Radoslaw Wicik
49a67764d6 [EGD-3782] Fix: sending sms to new or deleted contact 2020-09-22 09:27:38 +02:00
Bartek Cichocki
ef7cb08cc0 [EGD-3566] added calllog handling in service-desktop
[EGD-3566] implemented calllogGet query

[EGD-3566] fixed callogGet query

[EGD-3566] added CalllogGetCount query handling

[EGD-3566] added CalllogRemove query handling

[EGD-3566] added CalllogGetByContactID query handling

[EGD-3566] added tests
2020-09-22 09:07:10 +02:00
RobertPiet
9774f5659c [EGD-3528] group:id=4 is also protected 2020-09-21 18:25:13 +02:00
RobertPiet
dcb408737d [EGD-3528] protection added by new table contact_group_protected - if the group id exists in the table the group cannot be deleted 2020-09-21 18:25:13 +02:00
Piotr Tanski
9447da6585 [EGD-2870] Message drafts feature implemented. (#704)
- Save unsent messages as drafts on thread view window close.
- Queries for SMS add and update introduced.
- Fix for windows IDs all being zeroes across the GUI.
2020-09-21 10:25:00 +02:00
Tomas Rogala
65b4e9ad0f [EGD-3469] PR changes 2020-09-17 13:10:19 +02:00
Pawel Olejniczak
f8b82e887c [EGD-3679] Replace vCard encoding with plain text for exporting contact data
[EGD-3679] Update contact record tests

[EGD-3679] Clean up ContactRecord

[EGD-3679] Remove vcard encoding

[EGD-3679] Update changelog
2020-09-16 11:16:47 +02:00
Radoslaw Wicik
93244cdf53 [EGC-2974] Fix typo in ContactRecord function name 2020-09-16 10:54:24 +02:00
Radoslaw Wicik
1a919db2ed [EGD-2974] Support for temporary contacts as a group 2020-09-15 15:04:10 +02:00
Marcin Smoczyński
6bb539b510 [EGD-3691] fix rt1051 release build errors (#691) 2020-09-14 15:25:46 +02:00
RobertPiet
82fb697c24 [EGD-2460] protection at the moment of conversion added: exception handling or parameter checkup
[EGD-2460] additional stoi/stoul protected; usage of magin_enum; review issues resolved

[EGB-2460] added return when exception caught as mention by Radek
2020-09-11 14:37:56 +02:00
jimmorrisson
63685f9247 [EGD-3097] Add storing and updating audio settings in database. 2020-09-11 12:06:03 +02:00
Marcin Smoczyński
204dd621ef [EGD-3532] identify thread with a number
Use phone number instead of contact number to identify a message thread
to allow having multiple threads for a contact if contact has multiple
numbers.
2020-09-11 11:14:03 +02:00
Marcin Smoczyński
9566c074fb [EGD-3602] fix non aggregate construction
Remove aggregate construction of a non aggregate.
2020-09-09 14:21:18 +02:00
Marcin Smoczyński
01ab3338d0 [EGD-3602] add missing headers
Missing headers were causing compilation errors when building with
clang-tools.
2020-09-09 14:21:18 +02:00
jimmorrisson
3255b0fd5f [EGD-3607] New settings cause boot error 2020-09-09 10:44:46 +02:00
Bartek Cichocki
7dcae592d7 [EGD-3599] added missing queries to calllog DB
[EGD-3599] PR fix
2020-09-09 08:41:10 +02:00
pawpMudita
f74051ea42 [EGD-3130] NoName contacts at the end of contact list 2020-09-08 14:57:59 +02:00
pawpMudita
2b4c005662 [EGD-3130] NoName contacts at the end of contact list 2020-09-07 12:04:23 +02:00
Bartek Cichocki
41582135aa [EGD-3593] fixed unhandled factory-reset endpoint
added update file check in update endpoint
added missing getByThreadID message query
2020-09-07 11:00:15 +02:00
Bartek Cichocki
3fc69d0796 [EGD-3553] added functional tests for service-desktop
UT & PR fixes
2020-09-07 11:00:15 +02:00
Tomasz Sobkowiak
45773ddfdf [EDG-3415] Handle new line when entering text 2020-09-04 13:12:02 +02:00
Bartek Cichocki
4c7f8ff7b5 [EGD-3522] added missing updateTemplate query 2020-09-02 17:26:01 +02:00