Commit Graph
517 Commits
Author SHA1 Message Date
Pawel Olejniczak 443ea202e8 [EGD-3155] Remove label with second address line 2020-05-08 08:57:29 +02:00
Pawel Olejniczak 2014feabc7 [EGD-3155] Add changes suggested by reviewers 2020-05-08 08:57:29 +02:00
Pawel Olejniczak 5a46df56a6 [EGD-3155] Fix crash when rebuilding interface of PhonebookContact 2020-05-08 08:57:29 +02:00
Pawel Olejniczak 1656969f9a [EGD-3155] Unify formatting contact name 2020-05-08 08:57:29 +02:00
Pawel Olejniczak 8a713cf22b [EGD-3155] Adjust contact address in structures and DB api to be aligned with designs 2020-05-08 08:57:29 +02:00
Alek Rudnik ea886ffd5d [EGD-3191] fix memory leaks in sms app (#346)
* [EGD-3191] fix memory leaks in sms app

* [EGD-3191] PR fixes

* [EGD-3191] PR fix
2020-05-07 12:17:14 +02:00
Marcin Smoczyński c47923d70a [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).
2020-05-05 00:51:53 +02:00
Alek Rudnik c2105a8ad1 [EGD-3185] add proper widget clean up (#344) 2020-05-04 19:10:23 +02:00
Adam Dobrowolski 18718bfc4f EGD-2964 options window - removed leak 2020-05-04 08:45:20 +02:00
Adam Dobrowolski 47c1be7af3 EGD-2964 application settings - removed leak 2020-05-04 08:45:20 +02:00
Adam Dobrowolski 1d10ea327e EGD-2964 application phonebook - removed leak 2020-05-04 08:45:20 +02:00
Adam Dobrowolski 10dbf19c41 EGD-2964 application notes - removed leak 2020-05-04 08:45:20 +02:00
Adam Dobrowolski a9ea1eb9dc EGD-2964 application messages - removed leak 2020-05-04 08:45:20 +02:00
Adam Dobrowolski 8075282536 EGD-2964 application call log - removed leak 2020-05-04 08:45:20 +02:00
Adam Dobrowolski 5f5a01fa43 EGD-2964 application call removed leak 2020-05-04 08:45:20 +02:00
Adam Dobrowolski e579511028 EGD-2964 application settings - removed leak 2020-05-04 08:45:20 +02:00
Adam Dobrowolski 1ade30d9e3 EGD-2964 application viewer - removed leak, added to menu 2020-05-04 08:45:20 +02:00
Adam Dobrowolski d3faef1101 EGD-2964 application calendar - removed leak, added to menu 2020-05-04 08:45:20 +02:00
Adam Dobrowolski 97537abf02 EGD-2964 application antena - removed leak 2020-05-04 08:45:20 +02:00
Adam Dobrowolski 8edd7a6887 EGD-2964 memory leak in DesktopApp 2020-05-04 08:45:20 +02:00
Alek Rudnik 16eaab6b50 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
2020-04-30 13:48:23 +02:00
Przemyslaw Brudny 9b7210ad3a [EGD-3040] DatabaseModel element calculation fix. 2020-04-29 17:17:45 +02:00
Pawel Olejniczak d19daa724b [EGD-2950] Fix minor issues with Add to favourites and blocked icons 2020-04-29 10:23:57 +02:00
Pawel Olejniczak afd04e9359 [EGD-2950] Fix passing contact record data do db api when editing contact 2020-04-29 10:23:57 +02:00
Przemyslaw Brudny 6540a27de4 [EGD-3040] PR cleanups. 2020-04-28 14:10:41 +02:00
Przemyslaw Brudny 3d1905accc [EGD-3040] Changed provider synchronization with listview for new data.
[EGD-3040] Span item set method added, scroll disabled on only one page ListView.
2020-04-28 14:10:41 +02:00
Przemyslaw Brudny 0031280798 [EGD-3040] PR changes 2020-04-28 14:10:41 +02:00
Adam Dobrowolski 3cb5217bf8 EGD-3040 moved showOption action to provider from main SMS window & removed not needed function from ListView 2020-04-28 14:10:41 +02:00
Adam Dobrowolski 45bb93b263 EGD-3040 moved Call action to provider from main window where item is created 2020-04-28 14:10:41 +02:00
Przemyslaw Brudny 492fba27b1 [EGD-3040] DatabaseModel and other models simplifications
[EGD-3040] Cleanups
2020-04-28 14:10:41 +02:00
Przemyslaw Brudny 0188476152 [EGD-3040] Temporary old ListViev, ListItemProvider and DatabaseModel added for current Phonebook implementation compatibility 2020-04-28 14:10:41 +02:00
Przemyslaw Brudny 7722e24f5f [EGD-3040] WIP DatabaseModel cleanups
[EGD-3040] ListView redundant methods removal
[EGD-3040] ListView scroll moved to separate class
2020-04-28 14:10:41 +02:00
Przemyslaw Brudny fb056774f5 [EGD-3040] ListItemProvider refactored to abstract class
[EGD-3040] ListView & ListItemProvider cleanups
2020-04-28 14:10:41 +02:00
Przemyslaw Brudny 94c0226c46 [EGD-3040] listView using VBox change
[EGD-3040] listView minor cleanups
[EGD-3040] phonebook listview commented
[EGD-3040] WIP DB model refactors
2020-04-28 14:10:41 +02:00
Adam Dobrowolski 99d959c43a EGD-3165 Ellipsis removed not needed Struct - left enum only 2020-04-28 09:50:48 +02:00
Adam Dobrowolski d574354eea EGD-3165 gui::Label setDotsMode renamed to setEllipsis
- renamed function to more proper naming
- added Ellipsis struct instead of bool arguments
2020-04-28 09:50:48 +02:00
Adam Dobrowolski 432a9ad61b [EGD-3160] Application.cpp moved all switch in DataReceivedHandler to functions 2020-04-24 10:36:32 +02:00
pawel-muditaandAlek Rudnik e66265a578 [EGD-3153] Compare contact ID to enum instead of changing it boolean value
Co-Authored-By: Alek Rudnik <54846206+alekrudnik@users.noreply.github.com>
2020-04-24 09:36:36 +02:00
Pawel Olejniczak 965a851e99 [EGD-3153] Add case with only alternativeName set 2020-04-24 09:36:36 +02:00
Pawel Olejniczak 6cc4d44245 [EGD-3153] Revert clean contact just after setting its data in contact window 2020-04-24 09:36:36 +02:00
Pawel Olejniczak f7dc4d6dd1 [EGD-3153] Rebuild new contact window instead of manually clearing all fields 2020-04-24 09:36:36 +02:00
Pawel Olejniczak 0d741ce4f8 [EGD-3153] Improve formatting contact name 2020-04-24 09:36:36 +02:00
Pawel Olejniczak fbf82e5b32 [EGD-3153] Clear contact after load its data 2020-04-24 09:36:36 +02:00
Pawel Olejniczak a3e45d70e1 [EGD-3153] Remove redundant copyDataToContact
[EGD-3153] Use number user/e164 where it should be used
[EGD-3153] Disable saving secondary number
2020-04-24 09:36:36 +02:00
Pawel Olejniczak 55aaddf125 [EGD-3153] Clear contact data when closing phonebook contact window 2020-04-24 09:36:36 +02:00
Pawel Olejniczak 7bd6c140c5 [EGD-3153] Clear all fields on window when adding new contact 2020-04-24 09:36:36 +02:00
Pawel Olejniczak 34802a7056 [EGD-3153] Fix crash when adding new contact 2020-04-24 09:36:36 +02:00
Pawel Olejniczak 26e21b11eb [EGD-2950] Fix build after rebase 2020-04-24 09:36:36 +02:00
Pawel Olejniczak 3dce87f5eb [EGD-2950] Change title string to correct one 2020-04-24 09:36:36 +02:00
Pawel Olejniczak 1ad84fd667 [EGD-2950] Fix title of window on edit contact screen 2020-04-24 09:36:36 +02:00