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] 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
Till now there was no clear way to register hanlder for message in
Service, with this approach one can register function/lambda handler
for Message which encurages handling messages in functions rather than
in hudge switch cases.
With aproach like this our Messages resembe something between Command
and State pattern. In state pattern `Message` would be `Event` send,
whereas Service would be `Context`.
* [EGD-558][fix] change error to info
* [EGD-558] added volume control of currently active audio operation
* [EGD-558] added ringing on incoming call
* [EGD-558] mini clean up in callwindow
* [EGD-558] removed reinterpret_casts and added some logging
* [EGD-558] rewritten methods to increment/decrement volume
* [EGD-558] clean up
* [EGD-558] moved volume control to application class
added nullptr checks
* [EGD-558] fixed types
* [EGD-558] added some audio debug logs
* [EGD-558] left a comment why ringing sound is currently disabled
* [EGD-558] PR fixes
* [EGD-558] PR fix
* [EGD-558] added propper error codes on pointer checking in Audio.cpp
Augment handling phone numbers with libphonenumber:
- add "as you type" formatting to phone numbers,
- normalize phone number handling by using libphonenumber's phone
number representation.
Clean up the code by moving application logic back to the application
and window data back to the window and reordering includes.
Application's stack size has been increased due to formatter stack
utilization level.
* SIM hot swap should now properly show |x| in sim place when there is
no SIM inserted in selected sim slot
* ServiceCellular now can inform on Fatal state desktop which will
trigger window `Reboot` with no point of exit
* All windows in Desktop now have name in one place
* Access to cmux channels via enum class instead of String (which is errorprone)
* [EGD-2306] DESKTOP application initial commit
most of this code is foreign and unverified
it's low level magic numbers for the platform
on Linux i used PTY to simulate a serial line
* [EGD-2306] Add contact-list and contact-count commands
* [EGD-2306] Add command for geting contact by id and minor fixes
* [EGD-2856][WIP] Add basic serial parser
* [EGD-2855] Set usb device config buffer property cacheable
* [EGD-2856] Separate handlers from fsms, add status codes
* [EGD-2855] fd passed to state machine for linux renderer support
* [EGD-2856] Fix warnings
* [EGD-2855] New send task added and buffer queque
* [EGD-2856] Add simple ServiceDesktop documentation
* [EGD-2855] rt1051 worker refactor
* [EGD-2855] Added service workers for desktop app.
Changed linux USB driver mock up.
Added queue name mapping for service workers.
Added queue registry support (maybe redundant with mapping)
* [EGD-2855] Added proper message pointer to queue send and memory free
Added bsp driver namespace for linux and rt1051
* [EGD-2856] Major cleanup
* [EGD-2856] Fix typo
* [EGD-2856] Fix warnings
* [EGD-2856] Delete recursive fsm calling to prevent stack overflow
* [EGD-2856] Reduce http codes
* [EGD-2856] Rename serial parser to parser
* [EGD-2855] USB_CDC drives renames and cleanups
Service Worker queue cleanups
* [EGD-2855] Service Worker queue cleanups
* [EGD2855] Fixed external driver import
* [EGD-2856] Remove redundant message type
* [EGD-2856] Switch on enums instead of ints, and other minor changes requested after code review
* [EGD-2855] usb driver moved to bsp directory structure, pull request fixes
* [EGD-2855] clang #include fix
* [EGD-2856] Add tinyfsm as git submodule, update readme and minor fix
Co-authored-by: rkubiak01 <56821808+rkubiak01@users.noreply.github.com>
Co-authored-by: PrzeBrudny <60609703+PrzeBrudny@users.noreply.github.com>
* WiP on thread view.
* Missing db code.
* Fixes in sericeDB, working on listView in threads window.
* Changes in thread Db message.
* Missing responseTo value bug tracking.
* Fixed threads DB getter.
* Show threads list.
* Added missing code in service-db.
* Small fixes.
* WiP listView swich page.
* Code clean-up.
* Code formatted.
* PR sugestions applied.