* Adding document describing how to use logger
* Adjusting logs to follow a new guide
* Change order in log header:
line number is now before function name
* 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
When sms record is created/updated/removed during
connection with Mudita Center, notification of that
action should be collected in outbox endpoint to
keep contacts data synchronized between MuditaOS
and Mudita Center.
- rename ServiceDB to ServiceDBCommon,
- create separate ServiceDB for Pure and Bell,
- move Pure-specific functionality
from `ServiceDBCommon` to Pure `ServiceDB`
Pagination added for contact endpoint.
Introduced PagedContext and query message for contacts that returns
the required contacts together with the number of all contacts in db.
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>
* [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
Refactor phonebook's models to merge both implementation. One model
class is used for both main and search results windows.
Improve search by matching entered string against:
- first_name " " last_name
- last_name " " fist_name
Sort results by last_name " " first_name, favs first.
Small improvement to the list view has been added to deal with
asynchronous db reads.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
* 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
* [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
* [EGD-2420] minor fix in call app timer
* [EGD-2420] added missing dictionary definitions
* [EGD-2420] removed the same preprocesor defintions
* [fix][EGD-2420] for adding new entry to calllog DB.
It is workaournd as it looks like there is issue with printing 64bit variables in vsnprintf
* [EGD-2420] added new timer for call duration on cellular servcice.
* [EGD-2420] changed unnecessary LOG_ERRORs to LOG_DEBUGs
* [EGD-2420] changed logging levels
* [EGD-2420] added TODO