[EGD-3788] Fixes for message drafts feature after requirements elaboration. (#733)
[EGD-3799] Messages queries cleanups.
[EGD-3782] Fix: sending sms to new or deleted contact
[EGD-2870] Message drafts feature implemented. (#704)
- Save unsent messages as drafts on thread view window close.
- Queries for SMS add and update introduced.
- Fix for windows IDs all being zeroes across the GUI.
[EGD-2974] Support for temporary contacts as a group
[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.
[EGD-3593] fixed unhandled factory-reset endpoint
added update file check in update endpoint
added missing getByThreadID message query
[EGD-3522] added missing queries
[EGD-3522] added ContactUpdate query
[EGD-3522] added ContactRemove query
[EGD-3502] fixed UT
[EGD-3522] added SMSTemplateGet query
[EGD-3522] added SMSGetCount query
[EGD-3522] added SMSGet query
[EGD-3522] added SMSTemplateGetCount query
[EGD-3522] added SMSTemplateGetCount query
[EGD-3522] added SMSTemplateAdd query
[EGD-3522] added SMSRemove query
[EGD-3522] added SMSTemplateRemove query
[EGD-3502] reworked endpoints and handlers
added endpoint listener to query
[EGD-3486] Implementation of SMS handling in service-desktop
added message removal method
added message marking as read/unread
added message thread to_json() method, fixed unit test
added template processing except search
added SMS gathering by contactID
added getByText sms query
added template search query
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>
[EGD-3281] SMS converstion view - UT
[EGD-3281] SMS converstion view - no try/catch
[EGD-3281] SMS converstion view - review notes
* extract update thread summary method
* move SmsTableRow → *$new* SmsRecord
[EGD-3281] SMS converstion view - refresh thread snippet on db change
[EGD-3435] fix SMS send again (moved to Query)
[feature] small fixes in message types etc
[EGD-3402] added Record base class for sms and thread table classes
[EDG-3402] minor clean up and error handling