mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-06-14 19:45:31 -04:00
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.
clunky DB abstraction layer - this could and should be replaced with any ready to go db interface library (ORM)
please note that ORM might/would/should solve other issues with our DB usage such as:
- migrations
- possibly sanitization
- request lazy evaluation