Fixed case, when there's only one thread unread and
there's no info about the thread, only a generic message
Tests are deleted because the fix would require rewritting ALL
of those tests - those will be written with new implementation
of notification table
* 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
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>
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.
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>