Commit Graph

276 Commits

Author SHA1 Message Date
Lefucjusz
773f2c7eb1 [BH-2069] Update license URL in headers
Update outdated license file URL in
license headers across all project.
2024-09-18 11:53:01 +02:00
Maciej Gibowicz
721fbbb1bd [BH-1896] Add opening the vertical lists on the currently set sound
After starting applications that use vertical lists of music, a list
will open on the appropriate page with the previously selected song.
Fix displaying vertical list before fileindexer ends.
2024-04-10 15:33:14 +02:00
Maciej Gibowicz
061fd40159 [BH-1893] Create SoundsRepository global class
Added a new class called "SoundsRepository" for
all applications that use music files.
2024-04-10 15:33:14 +02:00
rrandomsky
4f63943a4c [BH-1792] Updated button handling during pre wake up
Button action behavior has been updated for pre-wake.
Now, if pre-wake is in progress, the first press, in addition to pressing
the front light, disables the pre-wake function.
2024-03-18 11:28:20 +01:00
rrandomsky
38357c9686 [CP-2156] Fixed no response when editing a contact to have the same number as another
Fixed no response on Center side when editing a contact to have
the same number as another contact in phonebook.
Added a duplicate number to the response body.
2024-02-13 16:28:37 +01:00
Lukasz Mastalerz
71b612f805 [BH-1815] Optimalize loading music files in relaxation
Relaxation is loading smooth with any number of files.
2023-11-15 14:26:29 +01:00
rrandomsky
8dccfeef72 [MOS-1042] Fixed inability to save a contact that did not previously have a phone number
Fixed inability to save a contact without a phone number
when contact lose the number after replace similar number and
visibility of the SAVE button when editing/creating a contact.
2023-10-24 14:16:10 +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
rrandomsky
d84671140f [MOS-1007] Fix for no popup when contact cannot be saved because of same nubers
Fix for fix. It add popup when user try to save contact witch practically
the same numners  (even if having a country code is only difference)
2023-09-07 11:57:06 +02:00
rrandomsky
e2f59a13b2 [MOS-1007] Fix for add/update contact with 2 same phone numbers
There was possibility to add contact, or edit some contact, with have
2 same phone numbers (exactly the same or witch/without country code).
Now this has been fixed and is not possible to create, even by editing, contact
with 2 exactly the same numbers or 2 same numbers and one of them with a country code
2023-08-03 11:26:12 +02:00
rrandomsky
4b8543912a [MOS-30] Fix for Alarm not being handled properly during a phone call
During the phone call, the alarm was not displayed and subsequent alarms
after this scenario did not work. This has now been fixed and the alarm
during a phone call will be automatically snooze.
2023-07-12 10:46: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
20edafc876 [CP-2020] Imported contact does not appear in Center
Stopped sending notification when contact add failed
2023-06-02 15:53:58 +02:00
Lukasz Mastalerz
4ddf3ce952 [CP-889] Add extended information about number duplications
Changed a way of returning information to Center about number
duplications
2023-05-31 10:10:03 +02:00
Pawel Olejniczak
3ef3a8cce0 [CP-702] Add API for managing templates order
This API allows for managing message templates order.
DB Migration: adding a new column to templates tables.
2023-03-27 16:27:17 +02:00
Bartosz
1340e6949c Revert "[MOS-578] Fix incorrect logic with SMS notifications"
This reverts commit de99e12e00.
2023-02-15 16:32:19 +01:00
Lukasz Mastalerz
e13ed40fa4 [CP-1624] Adding numberID as a field to contact and message response
Changing the way Center is recognizing the threads in the message
window by introducing the numberID
2023-02-09 09:13:15 +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
Lukasz Mastalerz
eaedd79f0a [MOS-884] Importing contacts from SIM card more than once
Fix for importing and removing contacts from SIM card causes issue that
imported contacts didn't have a name and could by multiplied.
2023-02-03 09:57:14 +01:00
rrandomsky
e07f2db550 [MOS-864] Fix for country code in new contact based on deleted one
Fix for scenario when contact with some number with/without country code
was deleted, and new contact with same number but without/with country
code is added and then new contact have same prefix as deleted one.
Now new contact will have number exacly like provided.
2023-02-01 14:18:20 +01:00
Lukasz Mastalerz
d7c8a8a6bf [CP-1210] Contacts imported from SIM dont show up in Mudita Center
Fix for imported contacts from SIM don't show up in Mudita Center.
Added functionality to send notification after all imported contacts are
added to the database.
2023-01-26 15:12:10 +01:00
Mateusz Piesta
0a9846e4a8 [MOS-694] Move DB initialization from OS to build scripts
* Switched to DB initialization at compile time
* Organized and cleaned up db files directories(not finished completely)
* Fixed DB related unit tests
* Minor improvements to CMake
* Small fixes for GCC12 build
2023-01-19 16:41:56 +01:00
Mateusz Piesta
150f1cfdef [CP-1560] New user directory structure
* New user directory implemented.
* Generate user directory structure at compile
time instead of at runtime(Pure/Harmony).
* Changed MTP root path to /storage
* FileIndexer: Minor refactor
* FileIndexer: Fixed handling incorrect/non-existing
scan directories.
* Updated Repository module to correctly handle
many assets paths.
* MultimediaDB: Minor unit tests refactor and fixed
some issues when using simulator.
* MultimediaDB: Added new queries and unit tests
* Harmony/Relaxation: Updated to correctly
use audio assets from more than one source.
* Harmony/Relaxation: Updated model and list items
provider.
* Harmony/Relaxation: Fixed stack overflow in audio service
2023-01-19 16:41:56 +01:00
rrandomsky
0342eb50c8 [MOS-737] Fix for adding a country code prefix to existing contact
Adding or removing country code from existing contacts number is
changing now number record itself, exactly when changed number
is placed in DB, instead to create new number record, to avoid
miss match during matching numbers.
2022-12-21 14:55:30 +01:00
rrandomsky
abdf9b7c45 [MOS-737] Revert "Fix for adding a country code prefix to existing ..."
This reverts commit 14d6d53ac8,
because it can cause critical error for SMS application.
2022-12-07 15:05:44 +01:00
rrandomsky
14d6d53ac8 [MOS-737] Fix for adding a country code prefix to existing contact
Adding or removing code country from contact's number creates a
new number record. Old number, which was connected witch contact
previously, is removed from the numbers table to avoid miss match
numbers. Changing country code only creates new number records,
without removing old ones. Old ones are temporary number from now.
2022-12-05 14:18:29 +01:00
Lefucjusz
255d03a5da [MOS-677] Fix crash on importing unprocessable contact
Fix of the issue that phone crashed when trying
to import contact with phone number that couldn't
be parsed.
Additionally minor code cleanup.
2022-09-06 10:38:53 +02: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
Pawel Olejniczak
f56b631eb6 [CP-563] Return correct threadID after adding new message
After adding new message via Messages EP API,
threadID field was always 0, which was incorrect.
2022-07-22 10:34:31 +02:00
Mateusz Piesta
0c246dc372 [BH-1533] Display battery charging state
Battery state during charging is always
displayed even if the state of charge
reached 100%.
Minor refactor of BellBattery class.
Removed unused includes.
2022-07-13 11:24:12 +02:00
Pawel Olejniczak
291b695282 [CP-1334] Return templateID after adding new one
No information about newly added message template
was returned. Now temaplateID helps to identify
newly added record.
2022-06-09 00:33:27 +02:00
Marcin Zieliński
00fd29f8bd [MOS-477] Add the call log erasing option
Add the call log erasing option
2022-05-25 10:55:14 +02:00
Adam Dobrowolski
3343f02809 [MOS-266] Call StateMachine implementation
With some tests, documentation and so on
2022-05-02 15:54:33 +02:00
Pawel Olejniczak
caed213fcd [CP-1085] Collect sms threads notifications in outbox ep
When thread record is modified during connection
with Mudita Center, notification of that action
should be collected in outbox endpoint to
keep contacts data synchronized between MuditaOS
and Mudita Center.
2022-04-14 16:51:31 +02:00
Pawel Olejniczak
c9e1ec419e [CP-1082] Collect sms notifications in outbox ep
When sms record is created/updated/removed during
connection with Mudita Center, notification of that
action should be collected in outbox endpoint to
keep contacts data synchronized between MuditaOS
and Mudita Center.
2022-04-14 16:51:31 +02:00
GravisZro
e59cd4036b [MOS-245] Fix errant spaces
It appears in the past a major edit was made but had used a regex to
change some text which resulted in an errant space between the
enumuneration/struct/class name and the scope resolution operator.
These errant spaces have been removed.
2022-02-24 08:47:20 +01:00
Marek Niepieklo
2f8cda20f5 [MOS-143] Fix notifications for unread message/missed calls
Added Notifications Decrement query
Fixed updating notifications on home/lock screen
2022-02-21 11:30:59 +01:00
Maciej Janicki
706a25df1d [BH-1125] Add file indexer
Add file indexer
2021-12-06 09:46:13 +01:00
Piotr Tański
2ac019017e [EGD-7993] Fixed contacts matching algorithm
number.isValid() always returns false if there is no national prefix.
2021-11-25 10:02:11 +01:00
Pawel Olejniczak
460858b2eb [CP-813] Fix issues with adding contacts via Mudita Center
There was an issue, when contact with a specific number was added,
then removed and added again via Mudita Center. Then
it was displayed without a name. This issue was caused by
another known issue with temporary contacts handling (EGD-79473).
This fix is a workaround to make adding contacts via MC work,
without the need to refactor temporary contacts handling.
2021-11-22 09:48:49 +01:00
Przemyslaw Brudny
7cc452503e Merge remote-tracking branch 'origin/stable'
# Conflicts:
#	products/BellHybrid/apps/application-bell-settings/models/TimeUnitsModel.cpp
2021-11-17 00:19:59 +01:00
Alek Rudnik
65d67e2690 [EGD-7948] Extend log dumping
Log are now dumped:
* on system shutdown including hard faults and aborts
* every 5 minutes

Fixed some logs
2021-11-16 17:56:28 +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
Piotr Tański
7637eb0d29 [EGD-7907] Fixed contact editing
A contact could be removed during update process.
2021-11-04 10:41:25 +01:00
Piotr Tański
8038df5d69 [EGD-7828] Phone number match performance fixes
Fixed performance of the number matcher.
2021-10-29 17:39:42 +02:00
Wojtek Rzepecki
d0772ab0b7 [EGD-7798] Fix alarms backend with new format
New format of alarm time in database and processing
2021-10-18 12:14:36 +02:00
Piotr Tański
39718a08ea [BH-903] Pre-wake up frontlight
Implemented a frontlight handling for the pre-wake up.
Major clean-up of the frontlight implementation.
2021-10-13 19:28:53 +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
Adam Dobrowolski
857481e031 [EGD-7550] Fixed wrong count request
We should use Interface for information gathering
2021-10-07 08:51:51 +02:00
Piotr Tański
0f7ae9259c [EGD-7474] Contacts management fixes
Code review fixes.
2021-10-04 15:06:22 +02:00