[feature] small fixes in message types etc
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
[EGD-3348] Handle deleting the Last message in a given thread (and this thread dissapearing)
[WIP] [EGD-3290] Dynamic cast and error message added.
[WIP] [EGD-3290] Add database backup feature with sqlite's VACUUM command.
[EGD-2593] improved matching contact by numbers
Introduced format aware phone number comparison to allow improved
matching phone numbers with contacts.
Phone numbers are also displayed formatted on a phonebook/calllog
list view and on detailed contact info view.
Entered and e164 number are verified to match each other during
processing db request.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
Egd 2799 unread message indication (#429)
* [EGD-2799]
Added unread thread indicator.
Added last message in thread indicators:
-Note sent:
-You:
-Draft:
[EGD-3267][EGD-3137] Add new implementation and handling for contact number duplicate window
[EGD-3094] Master rebase changes.
[EGD-3094] Basic Phonebook contact list migration to new ListView.
[EGD-3126] Remove redundant contact fields validation
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
EGD-3210 DB: split messages to files (#370)
[EGD-3155] Adjust contact address in structures and DB api to be aligned with designs
[EGD-3107] Call number validation
Use specialized class to to pass phone number between apps and services
instead of ambigious std::string. Introduced class (utils::PhoneNumber)
wraps calls to libphonenumber providing more convienient interface.
However using libphonenumber directly may be resource hungry in terms
of stack, heap and cpu usage, so helper class has been introduced to
pass information about phone numbers (utils::PhoneNumber::View). It is
designed to maintain integrity thus can be created from an instance of
utils::PhoneNumber only or moved/copied to.
Add new field to the calllog db holding e164 formatted number. Both
entered and e164 numbers will be needed to be able to match with
contacts correctly.
Add constexpr information about country codes (utils::country).
Egd 3169 sms templates (#336)
* [EGD-3169] added sms templates model and item
fixed common class name convention
* [EGD-3169] added templates window
Passing template to new sms window is already working
* [EGD-3169] PR fixes from DB PR
* [EGD-3169] add universal callback for templates items
* [EGD-3169] requesting templates from more 2 windows
* [EGD-3169] missign change - display template in threads window
* [EGD-3169] minor fixes
* [EGD-3169] minimal clean up
* [EGD-3169] fixed some layout constatnt
* [EGD-3169] rem minor comments and logs
* [EGD-3089] rem redundant vector include
* [EGD-3169] PR fixes
* [EGD-3169] fixes afeter rebase
* [EGD-3169] workaround for list view issue - added 2 dump entries
* [EGD-3169] PR fixes
* [EGD-3169] style fixes
* [EGD-3169] fix for 0x0D char on enter in text widget
* [EGD-3169] PR fixes
* [EGD-3169] compilation issue
[EGD-3153] Remove redundant copyDataToContact
[EGD-3153] Use number user/e164 where it should be used
[EGD-3153] Disable saving secondary number
[EGD-3070] Better error handling and few minor improvements suggested by reviewers
[EGD-3070] Prevent searching db for an empty speeddial number
[EGD-3070] Fix Speed dial field issues, and resolve confusion between user and e164 nuber fields