Commit Graph

27 Commits

Author SHA1 Message Date
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
Marcin Smoczyński
6bb539b510 [EGD-3691] fix rt1051 release build errors (#691) 2020-09-14 15:25:46 +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
Bartek Cichocki
9eeeb6ae92 [EGD-3502] reworked endpoints and handlers
added endpoint listener to query
2020-09-02 17:26:01 +02:00
Przemyslaw Brudny
fa3968a3ee [EGD-3451] PR Changes. 2020-08-07 12:26:44 +02:00
Przemyslaw Brudny
010ecf6b37 [EGD-3451] Notifications and db messages for list refresh added to Phonebook and Messages. 2020-08-07 12:26:44 +02:00
Marcin Smoczyński
885fe1083a db: improve query handling
Introduce a new way to handle query responses allowing to deal with
races:
 - bind reponse with request,
 - handle responses with an observer-like interface.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2020-08-06 14:13:35 +02:00
alek
cd5e381bc2 [EGD-3402] pr fixes 2020-07-16 13:49:44 +02:00
alek
e53982a968 [EGD-3402] added Record base class for sms and thread table classes 2020-07-16 13:49:44 +02:00
alek
edeb310b62 [EDG-3402] minor clean up and error handling 2020-07-16 13:49:44 +02:00
Radoslaw Wicik
ad84b981d9 [EGD-3428] Fix db interface functions names - Table class 2020-07-16 10:55:07 +02:00
Alek Rudnik
26431f41e2 [EGD-2810] Added sms option to mark conversation as read/unread (#522)
* [EGD-2810] SMS - Added option to mark conversation as read/unread

* [EGD-2810] PR fixes
2020-07-13 14:39:36 +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
Mateusz Grzywacz
194085de0a [EGD-3348] subclass ThreadRecord from Record struct 2020-07-07 16:56:46 +02:00
pholat
23df384c55 EGD-3087 SMS Search implemented (#374)
* EGD-3087 WIP adding SMS Querry

* EGD-3087 Added query virtual interface on Service top layer

Service shouldn't implement query logic and should be proxying that.

additionally:
- small fixes in includes
- shared service db name same way as apps and event manager

* EGD-3087 Query - want to work on interface not on db

* EGD-3087 Query gluecode works fine. Our query in SMS search calls getBySMSQuery

Changes cut off before any potential orm interface layer

* EGD-3087 WIP Interface in use

* EGD-3087 Query for SMS search works as designed

* EGD-3087 Query results should be on screen

* EGD-3087 BUG workaround - need to deep refresh display to show data

* EGD-3087 Searching for text from input works fine

* EGD-3087 Showing results / or empty results depending on query

* EGD-3087 Pre PR fixups

* EGD-3087 Empty search - getting back to prewious window ignore current

* EGD-3087 PR applied

* EGD-3087 PR - style fixed

* EGD-3087 Review - DB ListView handling moved to separate function

* EGD-3087 Workaround: crash on use after free fix

* EGD-3087 PR stylistic changes

* EGD-3087 PR cleanup applied

* EGD-3087 Added test for Query interface

* EGD-3087 renamed getByQuery to getQuery & finished tests

* EGD-3087 Post rebase fixup

* EGD-3087 PR - moved ListView request part to separate function

* EGD-3087 PR Fixups

* EGD-3087 Post rebase style fix

* EGD-3087 Added variable for DB service stack & const to getter function
2020-05-27 13:49:50 +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
Adam Dobrowolski
967b6056b6 [EGD-2392] SMS app - get thread for selected contact 2020-01-10 14:15:28 +01:00
Mati
c18aa279f9 Added SMS & Threads records high-level API 2019-06-10 09:08:55 +02:00
Mati
2918195e2c Slight change in records API(constructors) 2019-06-07 14:16:57 +02:00
Mati
f50a54e289 DB interfaces optimization.
Fixed compilation errors & warnings
2019-06-07 12:13:40 +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
b65ca68b78 SMSRecord + ThreadRecord implementation 2019-06-05 12:31:42 +02:00
Mati
9eebf9f658 WiP: ThreadRecord implementation 2019-06-04 16:25:26 +02:00
Mati
df4441884f Interface template 2019-05-29 10:11:54 +02:00