Commit Graph

60 Commits

Author SHA1 Message Date
Lefucjusz
181feb4f40 cleanup 2024-08-20 15:40:34 +02:00
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
9b339ecf5b [MOS-1003] Fix automatically marking new message as read
Fix of the issue that after entering messages
app, opening one of the threads and returning
to main messages app window, new messages in
this thread were automatically marked as read.
2023-07-06 17:39:26 +02:00
Lukasz Mastalerz
9bc622888f [CP-1974] Deleting all templates leaves some text on pure screen
Additional fix, previous one was not working correctly in all scenarios.
2023-05-11 17:51:23 +02:00
Lefucjusz
2a901acf0b [MOS-962] Fix forwarded message automatic pasting
Fix of the issue that entering 'Options' menu
after forwarding message caused the content
of the message to be pasted into message
field in thread view.
Minor cleanup.
2023-03-21 10:08:08 +01:00
Bartosz
04922b9543 [MOS-921] Fixed unexitable screen while having a missed call during template selection
Created a cloned SMS template window to differenciate it from the
templates used in SMS thred - better than creating a bool flag...

Added switchBack on missed call to application messages
2023-03-02 12:43:05 +01:00
Marcin Zieliński
0a60b15953 [MOS-663] Regression fix
Fixed a regression that the SMS template list showed always
the state representing no templates defined, regardless if
there were any in the database.

There's a minor side effect that querying the database and
refreshing the window is doubled which can be seen in
debugging, but it's unnoticeable in usage.
2023-02-20 12:41:39 +01:00
Bartosz
1340e6949c Revert "[MOS-578] Fix incorrect logic with SMS notifications"
This reverts commit de99e12e00.
2023-02-15 16:32:19 +01:00
Marcin Zieliński
9a281dfe68 [MOS-663] Replacement for empty templates screen
Now there's information displayed that there are no
templates and in order to add some, the user needs
to use Mudita Center. Also, given no templates, the
screen doesn't show the 'USE' button.
2023-02-10 15:59:53 +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
Bartosz Szostak
fb32765132 [MOS-578] Fix incorrect logic with SMS notifications
Fixed case, when there's only one thread unread and
there's no info about the thread, only a generic message

Tests are deleted because the fix would require rewritting ALL
of those tests - those will be written with new implementation
of notification table
2023-02-06 14:54:10 +01:00
Bartosz
534e7c77ed [MOS-33] Mark thread as read when new message arrives
Now thread will be marked as read when new message
arrives when the thread is opened
2023-01-24 15:59:14 +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
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
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
Marcin Smoczyński
bd90e57516 [BH-907] Split utils module into components
Split module-utils into smaller components for better dependency
management. Fix many dependencies throughout the project.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-23 15:14:40 +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
Przemyslaw Brudny
f463a75a93 [EGD-7164] ListViewEngine separation from ListView
ListViewEngine separation from ListView to support different
scrolls and body ListViews on Bell.
2021-07-19 16:32:10 +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
Lukasz Skrzypczak
2911b6b4a1 [BH-378] PR changes
PR changes - mainly includes
2021-06-08 12:24:29 +02:00
Lukasz Skrzypczak
7fee0d9cfb [BH-378] Utils move log to library
Moved log to separate library
2021-06-08 12:24: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
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
PrzeBrudny
d46139195c [EGD-3442] Fix list empty window unhandled behaviours, in place rebuild handling, notes rebuild on note deletion and changed call Icon name to stateIcon. (#1160) 2020-12-14 21:56:11 +01:00
Radoslaw Wicik
998ceac48e [EGD-4217] Convert service-db to library 2020-11-13 12:18:33 +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
Przemyslaw Brudny
7eaedae9c0 [EGD-4079] List looping rebuild fix. Draft msg overwriting sms input text. Crush on contact details application exit fix. Special characters inserts no longer call onBeforeShow. 2020-10-16 12:10:28 +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
Adam
f5f27d642f EGD-2955 EGD-3588 Timers fully refactored & updated (#721)
* Timers now are Application thread safe
* Timers now have consistent API independend of Application (no more c style timers)
* Timers can have either: callback or override onTimer() method - this
  way we can create more complicated timers or just use existing ones
* gui::Timer added via adapter class GuiTimer to decouple sys::Timer
  with gui::Timer
* Fixed race in wrapper
* Updated docs
* fixed using std and cpp_freertos and DataReceivedHandler hidden in Application.hpp
2020-10-02 14:04:57 +02:00
Przemyslaw Brudny
b7eb4365ea [EGD-3799] Messages queries cleanups. 2020-09-23 15:02:04 +02:00
Piotr Tanski
8fd488b084 [EGD-3720] Database service API cleanup for messages application. (#720)
- Major cleanup of database query usage.
2020-09-22 12:59:32 +02:00
Przemyslaw Brudny
f09971ddb4 [EGD-3265] Application messages file structure renames and cleanups. 2020-09-16 12:19:14 +02:00
Radoslaw Wicik
1a919db2ed [EGD-2974] Support for temporary contacts as a group 2020-09-15 15:04:10 +02:00
Przemyslaw Brudny
fa3968a3ee [EGD-3451] PR Changes. 2020-08-07 12:26:44 +02:00
Przemyslaw Brudny
2f47dd44c7 [EGD-3451] Cleanups. 2020-08-07 12:26:44 +02:00
Przemyslaw Brudny
fecf27b2f5 [EGD-3451] Simplified updateRecords. 2020-08-07 12:26:44 +02:00
Przemyslaw Brudny
010ecf6b37 [EGD-3451] Notifications and db messages for list refresh added to Phonebook and Messages. 2020-08-07 12:26:44 +02:00
Przemyslaw Brudny
1b109a1158 [EGD-3451] Messages search refactored and misc fixes. 2020-08-07 12:26:44 +02:00
Przemyslaw Brudny
19e1ca696c [EGD-3451] RequestRecordsCount refactor in whole project. 2020-08-07 12:26:44 +02:00
Przemyslaw Brudny
02afbac399 [EGD-3451] ListView fix and Messages Notification handling added. 2020-08-07 12:26:44 +02:00
Przemyslaw Brudny
3b2b0f0909 [EGD-3189] PR changes. Created InternalModel.hpp. 2020-07-08 17:07:31 +02:00