Commit Graph

39 Commits

Author SHA1 Message Date
Bartosz
5836e28e04 [MOS-855] Fix weird behavior of messages
After thread was deleted, messages were still in DB
and so on
2023-01-25 13:37:46 +01:00
Mateusz Piesta
0a9846e4a8 [MOS-694] Move DB initialization from OS to build scripts
* Switched to DB initialization at compile time
* Organized and cleaned up db files directories(not finished completely)
* Fixed DB related unit tests
* Minor improvements to CMake
* Small fixes for GCC12 build
2023-01-19 16:41:56 +01:00
GravisZro
e59cd4036b [MOS-245] Fix errant spaces
It appears in the past a major edit was made but had used a regex to
change some text which resulted in an errant space between the
enumuneration/struct/class name and the scope resolution operator.
These errant spaces have been removed.
2022-02-24 08:47:20 +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
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
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
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
Piotr Tański
31df1ce788 [EGD-4921] Add next harness test cases
Test harness extended with additional tests:
- Making a call to a specific phone number.
- Calling back to the last number from the call log.
- Searching for SMSes with a phone number filter.
2020-12-23 11:02:43 +01:00
Tomek Sobkowiak
2aa015ca5e [EDG-4347] Load script to init sms database (#1015)
Co-authored-by: Radosław Wicik <60609724+rwicik@users.noreply.github.com>
2020-11-18 20:44:35 +01:00
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +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
Przemyslaw Brudny
b7eb4365ea [EGD-3799] Messages queries cleanups. 2020-09-23 15:02:04 +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
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
Mateusz Grzywacz
6ebdc5f447 [EGD-3435] fix SMS send again (moved to Query) 2020-07-22 13:37:30 +02:00
alek
e53982a968 [EGD-3402] added Record base class for sms and thread table classes 2020-07-16 13:49:44 +02:00
Radoslaw Wicik
5e5bbe2eb9 [EGD-3428] Fix db interface functions names - Field class 2020-07-16 10:55:07 +02:00
Radoslaw Wicik
24128854e9 [EGD-3428] Fix db interface functions names - QueryResult class 2020-07-16 10:55:07 +02:00
Radoslaw Wicik
c2b8a33d4b [EGD-3428] Fix db interface functions names - Database class 2020-07-16 10:55:07 +02:00
Radoslaw Wicik
ad84b981d9 [EGD-3428] Fix db interface functions names - Table class 2020-07-16 10:55:07 +02:00
Alek Rudnik
3baa85363d Egd 2835 sms unread vs unseen notifications (#514)
* [EGD-2835] thread table based sms not read notifications

* [EGD-2835] removed redundant read field from sms db table

* [EGD-2835] clear unread status of a thread if thre thread is open

* [EGD-2835] updated database documentation

* [EGD-2835] added changelog
2020-07-10 11:57:19 +02:00
Alek Rudnik
699cb141e3 Egd 3168 fix for quote sign in db qeury (#335)
* [EDG-3168] fix for quote mark in DB queries

* [EGD-3168] replaced all %s with %q
2020-04-27 14:28:37 +02:00
Przemyslaw Brudny
c0822b6658 [EDG-3019] Moved log.hpp and debug.hpp into main PurePhone repo 2020-03-24 15:55:32 +01:00
Przemyslaw Brudny
8f92715951 [EDG-3019] Segger utils moved to git submodule 2020-03-23 18:37:37 +01:00
Radoslaw Wicik
a8573a404c Apply new style 2020-03-17 10:03:16 +01:00
Alek-Mudita
b853087b3b Egd 2513 callog phonebook integration (#173)
* [EGD-2513] new API to create temparary contact entry if cannot be found
Calllog should search for contact.

* [EGD-2513] #pragma once in all headers file in module-db

* [EGD-2513] new constructor for CalllogRecord

* [EGD-2513] contact recognition for calllog DB API

* [EGD-2513] clean up

* [EGD-2513] displaying name and surname call and calllog

* [EGD-2513] enum instead bool

* [EGD-2513] fix in remporary contact creation

* [fix][EGD-2513] missing c_str

* [fix][EGD-2513] minor fixes in documentation

* [EGD-2513] unified entry read state for both sms and calllog dbs

* [EGD-2513] calllog db documentation

* [EGD-2513] code reviex fixed in ContactRecord
2020-03-02 16:43:29 +01:00
Adam Dobrowolski
dc9b2b67db [EGD-2892] Added getCount for unreached calls & unread SMS and used it in Desktop 2020-02-27 17:10:03 +01:00
Adam Dobrowolski
cee967514d [EGD-2394] [FIX] Querry sms by date descending 2020-01-31 14:05:42 +01:00
Mati
20b6d8bea9 Added Contact record high-level API.
WiP: perform Db access tests
2019-06-10 13:26:14 +02:00
Mati
5af5026166 SMSrecord api updates, added new method to Table interface 2019-06-05 15:07:38 +02:00
Mati
4c407979c7 WiP: smsrecord implementation + tests 2019-06-05 14:39:45 +02:00
Mati
951604cb95 Minor API updates. Finished implementing ContactRecord 2019-06-04 15:46:54 +02:00
Mati
d446b0ac94 WiP: record interface 2019-06-04 08:27:30 +02:00
Mati
3c4abddcc2 Added the rest of contacts tables 2019-05-28 15:14:09 +02:00
Mati
3e717e2b01 Added ContactsNameTable 2019-05-28 13:58:16 +02:00
Mati
b9bd4372e7 Refactor,
Added ContactsTable
2019-05-28 13:27:54 +02:00
Mati
f02517ebfa Added Threads table class implementation.
Added ThreadsTable unit tests
2019-05-28 10:35:55 +02:00
Mati
7046f980d8 Added SMSTable unittests. Small updates in implementation 2019-05-28 08:48:58 +02:00
Mati
cd529667de Added DB tables interface 2019-05-27 16:03:46 +02:00