Commit Graph

98 Commits

Author SHA1 Message Date
Lukasz Mastalerz
d9a1194e6f [BH-1688] Create a standard for logs
* Adding document describing how to use logger
* Adjusting logs to follow a new guide
* Change order in log header:
  line number is now before function name
2023-10-23 15:17:44 +02:00
Lefucjusz
53e2fae8fb [MOS-178] Add input mode displaying timeout
Added timeout for displaying selected input
mode - now it automatically disappears
after 3 seconds since last change was made.
2023-03-23 11:01:34 +01:00
Lefucjusz
a42fc70802 [MOS-902] Fix crash when entering message thread
Fix of the issue that entering messages
and trying to send SMS without SIM card
inserted (and in a few another cases
when sending resulted in failure)
phone would crash.
2023-02-10 11:22:43 +01:00
Maciej-Mudita
e820a7607e [MOS-893] Fix invalid time description in the SMS thread
The sending/receiving time information will be displayed as follows:
- Only an hour –> for today
- Yesterday and hour –> for messages received/sent yesterday
- Day of the week and hour –> for messages received/sent within
last 7 days
- Date (day+month) and hour –> for messages older than week,
but still from the same year
- Date (day+month+year) and hour –> for messages
rom previous years
2023-02-08 11:53:14 +01:00
Maciej-Mudita
d966f57a6b [MOS-722] Fix time disappearing in SMS thread
When the width of the box with the currently read SMS changed,
the label with the time of receiving the message disappeared.
2023-01-26 10:04:43 +01:00
Lefucjusz
5a37d3bdbc [MOS-27] Fix invisible message text after pasting
Fix of the issue that pasting previously copied
text in new message field on thread screen
resulted in text shown in gray and invisibility
of each subsequently entered character.

Further analysis of this issue shown two
additional bugs in this place in code,
as a result a decision to completely
remove 'Reply' prompt text has been
made. Extended description of these
issues can be found in comment under
MOS-27 Jira ticket.
2023-01-04 16:45:40 +01:00
Adam Wulkiewicz
fe708cdf31 [MOS-670] Change clang-format AlwaysBreakTemplateDeclarations to Yes
Add --all and --fix-all options to style-check-hook
2022-08-26 15:22:39 +02:00
Przemyslaw Brudny
5c4a5a4aea [MOS-152] Text Abc input mode support added
Text Abc input mode support added with tests.
2022-02-17 20:33:55 +01:00
Przemyslaw Brudny
4dd045f30f [EGD-3544] Label replacement with OneLine text
Label replacement with OneLine text. Style and usage fixes.
2022-01-20 12:10:31 +01:00
Przemyslaw Brudny
ad6f9896c4 [EGD-7056] Fixed sms input cursor starting position to document end
Fixed sms input cursor starting position to document end.
2022-01-18 15:43:03 +01:00
Przemyslaw Brudny
79947489dc [EGD-3363] Added color setter to Text
Added color setter to Text.
2021-12-14 13:05:04 +01:00
Przemyslaw Brudny
29f455d46b [EGD-7998] Pure image assets cleanup and update
Pure image assets cleanup and update.
2021-11-25 18:39:16 +01:00
Przemyslaw Brudny
d731a85dfa [EGD-7920] GUI fixes after deleting/add contact
After deleting/add a contact from the calllog, sms options,
and sms thread options, we return to the start screen
of the current application
2021-11-22 12:25:13 +01:00
Przemyslaw Brudny
bc3e825b77 [EGD-7910] Text directory cleanup
Text directory cleanup. Removed old unused assets
directories.
2021-11-05 00:36:34 +01:00
Przemyslaw Brudny
7597d38852 [EGD-7857] Renamed BottomBar to NavBar
Renamed BottomBar to NavBar.
2021-10-26 13:51:06 +02:00
Przemyslaw Brudny
7fbaf735ed [EGD-7813] Option Window titles localizations fix
Option Window titles localizations fix.
2021-10-25 00:28:08 +02:00
Piotr Tański
d0c5f08c88 [EGD-7528] Fix for removing SMS drafts
SMS drafts are now properly removed.
They will not be displayed anymore once the SMS is sent from the thread.
2021-10-22 17:54:41 +02:00
Przemyslaw Brudny
a70184d3a1 [EGD-7801] Fixed SMS replay/send behaviour
Fixed SMS replay/send behaviour.
2021-10-18 15:33:57 +03:00
Pawel Olejniczak
dae736cd3c [EGD-7795] Unify options window title
Options window title in Meditation app was
incorrect. Now all options windows have
unified titles. Additionally few minor fixes
added.
2021-10-14 11:39:39 +02:00
Piotr Tański
1d2f5cf7a4 [EGD-7754] Dates bumped in disclaimers
Dates bumped from 2020 to 2021.
2021-10-11 19:08:26 +02:00
Piotr Tański
0f7ae9259c [EGD-7474] Contacts management fixes
Code review fixes.
2021-10-04 15:06:22 +02:00
Piotr Tański
f8adbf2bed [EGD-7474] Contacts management fixes
Fixed managing contacts on the application side.
2021-10-04 15:06:22 +02:00
Mateusz Grzegorzek
58dd02cff1 [BH-861] Cleanup Application split - part I
1. Prepare Pure and Bell specific `Application`
   classes and add them to `app` target:

- `products/BellHybrid/apps/Application.cpp`
- `products/PurePhone/apps/Application.cpp`

2. Update `CMakeLists.txt` files.
3. Move `ApplicationBell` implementation to Bell-specific
   `Application` class and remove `ApplicationBell` files.
4. Change Bell apps parent classes from `ApplicationBell`
  to Bell-specific `Application` class.
5. Rename `Application` to `ApplicationCommon` in the rest of the files.
2021-09-13 11:58:10 +02:00
Piotr Tański
90e7a48198 [EGD-7362] Merge release/0.76.1 into master
Merge release/0.76.1 into master.
2021-09-02 11:12:59 +02:00
DariuszSabala
3005b04824 [BH-386] Turned app messages into lib
Turned application messages into library, defined dependencies,
private and public sources, cleaned include paths, massive
cleaned headers
2021-07-06 15:55:44 +02:00
Kuba
88a9fdedf2 [EGD-6883] Change time settings cleanup
Time related settings are handled by service time now.
utils DateAndTimeSettings replaced by static time service api.
2021-06-23 17:30:14 +02:00
Alek Rudnik
6dfeacffa4 [EGD-6697] Date and time formatting
Added system locale dependant date and time formatting.
2021-06-18 15:06:43 +02:00
Tomasz Sobkowiak
0d7bae0a55 [EGD-3109] Use more appropriate type instead of raw types
Position and Length used instead of raw ones
2021-05-05 09:12:29 +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
Artur Śleszyński
5e448c4a53 [EGD-6371] Do not reset input mode on SMS thread focus gain
Reseting input mode on focus gain resulted in a race between the focus
gain handler and the user pressing the asterisk button.
2021-04-14 09:08:02 +02:00
Michał Kamoń
44c717e4a9 [EGD-5059] Fix SMS thread UX issues
This PR correct following global UX issues that were noticed in SMS
threads:
- invalid Nav-bar margins (30px instead of 20px)
- invalid NAv-bar hight (54px instead of 50 px)
This PR corrects following SMS threads UX issues:
- invalid inputText's left margin (10px instead of 0px)
2021-03-02 11:33:22 +01:00
mkamonMdt
69e75e7ca2 [EGD-5058] Fix messages UX issues
This PR fixes the missing bold contact/number in messages thread list
issue.
2021-02-19 13:20:13 +01:00
Przemyslaw Brudny
312d4a07a6 [EGD-3756] Created generic ListItemWithCallbacks
Added generic template for ListItemWithCallbacks.
Replaced onDimensionsChange with callbacks.
2021-02-15 14:17:04 +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
Przemyslaw Brudny
e7b9bcf7e9 [EGD-5133] Fix settings bus add duplications
Changed Bus Channels vector to set to prevent
duplicates and cleaned logging.
2021-01-08 17:33:00 +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
PrzeBrudny
31e60282d2 [EGD-3499] Text scrolling added and its usage updated in widgets. (#1079)
Add Text scrolling, Add text starting position,

Added text scrolling, updated TextLine line endings, TextBlocks newline handling, updated SMS Bubble and Notes text items. Added tests for scrolling.
2020-12-03 21:04:51 +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
dbde0666df [EGD-3289] Changed fonts of message snippet and its prefix. (#1058) 2020-11-23 08:58:18 +01:00
Radoslaw Wicik
998ceac48e [EGD-4217] Convert service-db to library 2020-11-13 12:18:33 +01:00
Marcin Smoczyński
486d21af0e [EGD-4288] refactor global data (#959)
Reduce firmware size by refactoring global data defined in public
headers.

Each global variable which require runtime initialization adds
initialization code to every translation unit which includes the header
where the variable is defined and declared.
2020-11-04 18:24:39 +01:00
PrzeBrudny
88939f8209 [EGD-4070] Messages listView sync db queries refactored to full async. (#837) 2020-10-26 14:02:13 +01: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
Adam Dobrowolski
7b4a706cd6 EGD-4036 Application windows - added register mechanism
* Moved ApplicationLauncher to separate files - declutering
* WindowsStore renamed to WindowsFactory - Store needs to be splitted toavoid antipattern
* Options window build dynamically onBeforeShow
* Dialog windows dynamically built
2020-10-13 17:46:10 +02:00
Przemyslaw Brudny
0eb1fd03e5 [EGD-3985] Removed unique_ptr to vector for DatabaseModel updateRecords Method. 2020-10-13 12:23:34 +02:00
Piotr Tanski
24c927ef39 [EGD-3988] SMS thread for a specific contact shall be splitted into separate ones if multiple phone numbers are available. (#801) 2020-10-09 14:32:22 +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