Commit Graph

63 Commits

Author SHA1 Message Date
Alek Rudnik
457e9b4fc8 [EGD-3542] Fix issue with sending text messages form new message window
Fixed too short timeout for sending sms
Fixed flow for switching to thred window to asynchornous one
Fixed some minor issues connected to new sms error handling
2021-05-07 16:24:27 +02:00
Artur Śleszyński
71465d8990 [EGD-3119] Hide InputEvent's member fields
Use the InputEvent's convenience methods to express intent.
2021-04-29 08:01:18 +02:00
Adam Dobrowolski
940989833f [EGD-6527] Internationalization API unification
Single api to rule i18n
all calls to localistaion in cpp files unified
cut off ass many dependencies in i18n header as possible
2021-04-20 20:07:44 +02:00
Jakub Pyszczak
e24d7c855e [EGD-5541] Sim card check refactor
Moved checking for a SIM card logic from
application level to service cellular.
Provided an action in response to application messages.
2021-02-12 15:43:45 +01:00
mkamonMdt
4c72152c6f [EGD-5597] Fix messages overflowing length
Current sms length is bound by 7*67 characters. This PR
enforce that limit on ApplicationMessages level.
Additionally PR solve:
 - corner case problem with invalid cursor position in TextBackup
 - EGD-4408 fix of label on desktop menuWindow
2021-02-12 13:16:48 +01:00
mkamonMdt
3a86d65b1d [EGD-3633] Fix new message recipient
Known issues with recipient filed fixed:
- on contact, clearing there was leftover data
- on contact, one could keep adding numbers to visible name
- on contact, to delete it one had to delete each visible name char
- `select` in center button was not restored in some edge cases
- wrong recipient label
2021-02-12 10:00:03 +01:00
mkamonMdt
e49512bf4f [EGD-5619] Add unified implementation of active icons
This PR provides unified and reusable implementation of active
icons used in windows system-wide.
2021-02-08 12:28:06 +01:00
Piotr Tański
4c61595a27 [EGD-4801] Add application-wide top bar manager
Applications configure the top bar once for all their windows.
Sometimes, windows need to configure top bars with its configuration.
2021-01-21 10:46:57 +01:00
Piotr Tański
6c900d7b38 [EGD-5166] Add query-callback synchronization mechanism
Receiver object cancels the callbacks at the end of its lifecycle.
2021-01-13 12:11:56 +01:00
jimmorrisson
14918dc4f9 [EGD-4925] Change new filesystem handling implementation in module-gui. (#1193)
Due to vfs deprecation there is need to remove all vfs calls from code. This PR covers module gui. There are some modifications in other modules included which are necessary because of build system issues.
2020-12-16 15:23:11 +01:00
PrzeBrudny
1520a9a8ec [EGD-4687] Text enum names cleanup. (#1142)
Change enum names to CamelCase.
2020-12-04 15:51:21 +01:00
Krzysztof Mozdzynski
0ef0d615f3 [EGD-4150] Change filename i18 to i18n (#1108)
Change filename of internationalization files from i18 to i18n.

I18n should stand for internationalization, not i18. That's why I changed in 'module-utils' name of the folder 'i18' and both .cpp and .hpp files to 'i18n'.
2020-11-27 18:31:00 +01:00
Piotr Tanski
87254a76fa [EGD-4371] Fixed saving a draft message for a phone number (#1041) 2020-11-23 09:45:22 +01:00
Piotr Tanski
fe86716984 [EGD-4153] Use actions instead explicit applications switch. (#1032) 2020-11-23 09:32:42 +01:00
Radoslaw Wicik
998ceac48e [EGD-4217] Convert service-db to library 2020-11-13 12:18:33 +01:00
Michał Kamoń
1b00c14ead [EGD-4190] NewMessage fixes (#975)
* [EGD-4190] fixed NewMessage deleting text on window change
2020-11-10 14:37:55 +01:00
Piotr Tanski
dd50838789 [EGD-4051] Based application manager app switching on application stack. (#858)
* [EGD-4051] Based application manager app switching on application stack.

* [EGD-4051] Application manager thorough refactor.
2020-10-23 15:45:58 +02:00
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
Piotr Tanski
fdb2cfdb5a [EGD-3597] Shape rendering refactored. (#827) 2020-10-14 12:24:41 +02:00
Przemyslaw Brudny
196c02686a [EGD-2395] Added BottomTop orientation support for listView. Created SMSThreadViewWindow and SMSOutputWidget. MessagesStyle moved from global Style.hpp. Fixes in Text. ListView fixes, BoxLayout callback for requestedSize. Added smsInput into list. Drafts handling added. 2020-10-07 19:45:01 +02:00
Piotr Tanski
7e520b49a2 [EGD-3788] Fixes for message drafts feature after requirements elaboration. (#733) 2020-09-29 12:34:58 +02:00
Przemyslaw Brudny
f09971ddb4 [EGD-3265] Application messages file structure renames and cleanups. 2020-09-16 12:19:14 +02:00
Marcin Smoczyński
204dd621ef [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.
2020-09-11 11:14:03 +02:00
alek
da9005ef28 [EGD-3559] Fixed crashing new text message window 2020-08-31 10:18:11 +02:00
Pawel Olejniczak
da378f214c [EGD-3530] Add forwarding vcard via SMS
[EGD-3530] Cleanup and minor fixes

[EGD-3530] Fix switching back to previous window and update changelog
2020-08-27 12:51:25 +02:00
alek
5002b4431c [EGD-3440] sms - fixed focus in new message window after message forward option 2020-07-21 09:58:50 +02:00
pholat
dbe1427e04 SMS New message proper resize and add template behaviour (#539) 2020-07-17 15:02:47 +02:00
Przemyslaw Brudny
be7d065b1a [EGD-3433] Fixed Text Vertical Alignment and Cursor starting position. 2020-07-17 11:02:22 +02:00
alek
af72374158 [EGD-3402] fix missing send label in new message window 2020-07-16 13:49:44 +02:00
alek
8dfa46f08c [EGD-3403] fix for sms forward 2020-07-16 13:49:44 +02:00
Przemyslaw Brudny
5c64f96b11 [EGD-3336] Alignment refactor. 2020-07-15 13:07:20 +02:00
Przemyslaw Brudny
ca21967df1 [EGD-3336] Added Orthogonal Alignment support to BoxLayout. 2020-07-15 13:07:20 +02:00
Przemyslaw Brudny
6a9b4f1ce3 [EGD-3189] Cleanups, New contact temporary moved to separate window. 2020-07-08 17:07:31 +02:00
Przemyslaw Brudny
2d0f6b7255 [EGD-3189] OnDimensionsChanged fixes, BottomBar temporary modes refactor, InputCallbacks widget refactors. 2020-07-08 17:07:31 +02:00
pholat
adaf18829e gui::Text rewrite (#483)
* Text refactor added
2020-07-07 14:37:53 +02:00
Przemyslaw Brudny
344a15232e [EGD-3189] Stylistic fix-ups. 2020-06-25 14:00:08 +02:00
Marcin Smoczyński
aeeafb43ca [EGD-2595] do not use string numbers in messaging
Use PhoneNumber::View instead.
Removed caching mechanism of ContactRecord, because it was causing
several problems and it was a bad place to put it anyway.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2020-06-22 13:57:40 +02:00
Alek Rudnik
a6fd2164fc [EGD-3317] removed redundant select in new sms window (#451)
* [EGD-3317] removed redundant select in new sms window

* [EGD-3317] added changlog

* [EGD-3317] PR fixes
2020-06-22 11:44:23 +02:00
Marcin Smoczyński
0936930063 [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>
2020-06-17 14:01:38 +02:00
Alek Rudnik
ce2251535b Egd 3263 simplified text input mode (#417)
* [EGD-3263] recursive Item::getFocusItem

* [EGD-3263] Bottomr bar store and restore

* [EGD-3263] simplfied display of text input mode

* [EGD-3263] renamed CB names

* [EGD-3263] fixes in store/restore of bottombar

* [EGD-3263] Text::onInput fixes

* [EGD-3236] ranemed store to chache

* [EGD-3263] minor clean up
2020-06-05 11:56:08 +02:00
alek
5bf1d9a0db [EGD-2830] no sim notification works on all sms windows 2020-05-28 14:13:12 +02:00
alek
aa5999b070 [EGD-2830] Dialog extended for multiple options.
One dialog window in sms app instead of mulitple ones.
Notifictaions about  No SIM card inserted.
2020-05-28 14:13:12 +02:00
Radoslaw Wicik
a7f5c4c179 [EGC-3240] Add style namespace 2020-05-27 17:51:34 +02:00
Alek Rudnik
08358df991 Egd 2825 sms clipboard (#362)
* [EGD-2825] clipboard class implementation

* [EGD-2825] returnToPreviousView moved from appwindow to application class

* [EGD-2825] paste

* [EGD-2825] fixed paste label

* [EGD-2825] copy

* [EGD-2825] comment

* [EGD-2825] removed init data

* [EDG-2825] add clipboard UT

* [EGD-2825] add sms fw option
renamed SMSTemplateData to SMSTextData

* [EGD-2825] fxies in EventStore

* [EGD-2825] PR fixes

* [EGD-2825] rem not needed comment
2020-05-15 13:34:26 +02:00
Alek Rudnik
89eeba99eb Egd 3188 new sms enhancments (#355)
* [EGD-3188] new sms window - fix layout and functionalities

* [EGD-3188] sending sms from calllog and phonebook

* [EGD-3188] aborting the incoming call via sending sms template
Unufy sms ui common actions to use libphone number only
added default option to contactrecrord::getformattedname method

* [EGD-3188] fix for siwtching back from sms template window when the call is aborted

* [EGD-3188] PR fixes
2020-05-12 20:19:07 +02:00
Pawel Olejniczak
2014feabc7 [EGD-3155] Add changes suggested by reviewers 2020-05-08 08:57:29 +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
Alek Rudnik
3b8dad6685 [EGD-3082] new message options (#319)
* [EGD-3082] new message options

* [EGD-3082] PR fixes
2020-04-22 11:43:38 +02:00
alek
39f8f9f0af [EGD-3086] rem magic strings 2020-04-17 15:05:32 +02:00
alek
c88bddd7df [EGD-3086] refactor and minor fixes 2020-04-17 15:05:32 +02:00