Commit Graph

409 Commits

Author SHA1 Message Date
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
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
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
tomaszkrosnowski
cf96290deb [EGD-7232] Music player track preview
Added track progress bar and track preview window.
2021-10-14 18:43:32 +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
Alek Rudnik
1490158034 [EGD-7725] Tune up file system io access
Increasd io stream buffers:
- 64kB for big files with short lifetime scope
- 16kB for big files with long lifetime scope
- 1kB - dont changes default forr the rest
2021-10-08 10:28:38 +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
Piotr Tański
9820a00cbc [EGD-7474] Contacts management fixes
Fixed managing contacts on the DB side.
2021-10-04 15:06:22 +02:00
Wojtek Rzepecki
d316899330 [EGD-7739] Fix recurrent alarms
Alarms fixes for recurrence rules application
2021-10-04 14:36:15 +02:00
Przemyslaw Brudny
7e26f5e014 [EGD-7670] Alarm toggle off all alarms
Added toggle all alarms handling with tests.
2021-09-28 12:54:39 +03:00
Marcin Smoczyński
1f9109b924 [BH-819] Fix illegal dependencies in bsp
Break circular dependencies in the BSP module. Fix some missing
dependencies which surfaced after fixing BSP.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-27 17:27:21 +02:00
Maciej Gibowicz
c69fde01d4 [EGD-6630] Integration file indexer with music player
The list of music tracks is retrieved from the database,
where they are indexed beforehand,
instead of being searched in real time in the file system.
2021-09-23 20:29:14 +02:00
Wojtek Rzepecki
e9a1599872 [EGD-7657] Fix alarm query
Fix of the alarm query to select only
nearest enabled alarm
2021-09-23 16:21:37 +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
Artur Śleszyński
b15006a94c [CP-564] Make desktop endpoints a separate lib
In order to have different sets of endpoints for different products,
we need to separate endpoints from the desktop service.
2021-09-21 10:41:37 +02:00
Paweł Joński
4ec2d6a1f4 [BH-622] Fix next alarm logic and queries
Simplify recurring between dates query
Round all events dates to full minutes
2021-09-13 16:13:06 +02:00
Paweł Joński
05847f09d1 [BH-743] Fix alarm deletion from DB
Remove cascade deletion from sql
Add manual deletion from 2 tables
2021-09-13 10:08:29 +02:00
Paweł Joński
2ae306bd40 [BH-662] Handle alarm turn off and snooze
Handle alarm turn off and snooze
Music stop not included
2021-09-10 11:45:08 +02:00
Alek Rudnik
c9a41b4477 [EGD-7335] Integartion of file indexer with database
Integrated core file indexer with its database.
Modfied necessary queries.
Moved service file indexer to pure product specific
folder
2021-09-10 10:59:40 +02:00
Adam Dobrowolski
1156320af5 [EGD-7502] TimeService Alarms get returns total elements count
We require so that overall alarms count would be returned to properly
use ListView
2021-09-08 20:57:21 +02:00
Adam Dobrowolski
55b89278f1 [EGD-7527] Removed AlarmsEvent from the codebase
We have to use AlarmEventRecord not AlarmsEvent
2021-09-08 20:15:26 +02:00
Paweł Joński
0f216d9c2c [BH-743] Fix query get recurring events between range
Fix query for get recurring events between range request
2021-09-08 14:01:55 +02:00
Alek Rudnik
5e7457701e [EGD-6836] Add multimedia files database interface
Added all queries including listing songs for
selected artist or album
2021-09-03 19:49:32 +02:00
Alek Rudnik
e09d1f4d34 [EGD-6836] Unified Table class methods
Added retQueryUnpack method to db Table class.
2021-09-03 19:49:32 +02:00
Alek Rudnik
b482851269 [EGD-6836] Add multimedia indexer database
Added multimedia indexer database.
Decided to got with single table approach.
User playlist will be implemented as seprate
tables when needed.
2021-09-03 19:49:32 +02:00
Paweł Joński
ba1a6f2527 [BH-691] Alarms handling
Handle alarms in service-time
2021-09-03 13:29:21 +02:00
Paweł Joński
39255b2d45 [BH-743] AlarmEvent UT
Unit tests for AlarmEvent implementation
2021-08-26 12:51:59 +02:00
Pawel Olejniczak
cdadee24cc [CP-388] Check for duplicates before adding contact
Prevent adding duplicate contact using service desktop API.
2021-08-26 11:56:04 +02:00
Paweł Joński
8175c564ec [BH-785] AlarmEventDBRepository
Add AlarmEventDBRepository
2021-08-20 12:10:36 +02:00
Mateusz Grzegorzek
ed68fc92ec [BH-754] Split ServiceDB
- rename ServiceDB to ServiceDBCommon,
- create separate ServiceDB for Pure and Bell,
- move Pure-specific functionality
from `ServiceDBCommon` to Pure `ServiceDB`
2021-08-20 10:47:29 +02:00
Paweł Joński
d2fcc30200 [BH-743] Add AlarmEvents
Add AlarmEvents to database
2021-08-19 10:52:59 +02:00
Paweł Joński
89518a0a9c [BH-743] Add EventRecord implementation
Add EventRecord implementation + tests
2021-08-17 14:45:08 +02:00
GravisZro
e433e8dd03 Fix transparent backgrounds in PlantUML
Images generated using PlantUML had transparent backgrounds which made
their text difficult to read on GitHub when using "Dark Mode". Forcing
a background color of #F0F0F0 ensures they are all readable.
2021-08-16 17:01:19 +02:00
Marcin Smoczyński
b355d5ce00 [BH-733] Cleanup target dependencies
Remove obsolete target dependencies across modules.
Remove 'cross' and 'unittests' targets.
Refactor some remaining target dependencies to use board include macro.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-08-13 01:43:56 +02:00
Paweł Joński
0802e8f954 [BH-687] Add Events to DB
Add Events table to sql database
Add EventsTable and EventsRecord
2021-08-10 14:44:52 +02:00
Paweł Joński
45a7216cec [EGD-7217] Separate commonly used headers from application-calendar
Move dateCommon.hpp to module-utils/time
2021-08-10 11:49:14 +02:00
Pawel.Paprocki
757f0db958 [BH-690] Add interface for alarm and alarm repo
Definition of basic alarm structures and interfaces
2021-08-06 13:17:58 +02:00
Alistair Francis
92e92d3ef2 [EGD-6946] Fix build for GCC11
Fix build issues identified when building on Fedora 34 using GCC11.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
2021-08-02 13:05:10 +02:00
Alek Rudnik
81c10ffbf5 [EGD-7143] Fix builds for GCC 11
Make sure our code base is buildable using GCC-11
Removed deprecated asan lib from Linux target.

Co-authored-by: Alek  <aleksander.rudnik@mudita.com>
Co-authored-by: Mateusz Piesta  <mateusz.piesta@mudita.com>
2021-08-02 13:05:10 +02:00
Alek Rudnik
948e926bff [EGD-7243] Fix seg fault on db initializer test case
Seg was found when running test on bench.
Moreover the test was actually not working.
2021-08-02 10:38:56 +02:00
Przemyslaw Brudny
10f27328e8 [EGD-7215] Connected Sim contact import with backends
Connected Sim contact import with cellular contact read
and DB contacts write.
2021-07-29 23:31:04 +02:00
Marcin Smoczyński
74ae1a6589 [EGD-7031] Remove UT deps to the production image
Remove dependency to the production image by creating separate sysroot
for test assets alongside with a test image Test.img.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-07-27 23:36:37 +02:00