Commit Graph

222 Commits

Author SHA1 Message Date
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
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
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
Paweł Joński
ba1a6f2527 [BH-691] Alarms handling
Handle alarms in service-time
2021-09-03 13:29:21 +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
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
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
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
Paweł Joński
606e0597e2 [BH-380] Librarize application-calendar
Librarize application-calendar
2021-07-26 09:11:09 +02:00
Wojtek Rzepecki
3ac4bd4935 [EGD-7127] Store imported contacts in DB
Added API for storing imported contacts list
in phonebook database
2021-07-22 15:45:06 +02:00
Wojtek Rzepecki
0e42b0016e [EGD-7044] Strip down calendar code
Stripping the calendar code to provide only
MVP defined functionalities
2021-07-07 09:05:57 +02:00
Piotr Tański
50a73ca638 [EGD-7051] Fixed saving multiple notes at once
When creating a new note, it was possible to save multiple notes
with 1 click.
2021-07-01 16:00:56 +02:00
Jakub Pyszczak
c494f5c1b4 [EGD-7006] Removed sensitive data from db
Sensitive data removed from logs in module db and service db.
2021-06-30 15:52:47 +02:00
DariuszSabala
de5b923e81 [BH-369] Turned UTF8 into separate library
Moved utf8 files, formed separate library, fixed include paths,
added utf8 library as dependency to every other target that
uses it, clang-formated utf8 files, cleaned up tests cmake script,
moved utf8 unit test
2021-06-09 13:06: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
Paweł Joński
5ad878c6c4 [BH-371] Replace gsl with mainline submodule and move to third-party
Replacing loose gsl files with gsl mainline project as submodule
and moving it to third-party
2021-06-07 09:30:04 +02:00
Maciej Janicki
6851c04e12 [EGD-5976] Add tethering cellular disabling
This commit adds disabling of URC messages during
tethering mode. It also adds call and sms logging after
tethering is disabled.
2021-06-01 09:03:23 +02:00
Pawel Olejniczak
70e9ef0d03 [CP-77] Replace receivedAt and sentAt fields with createdAt
sentAt json field was never updated and was not used.
Cleaned up DB and DB interface from unused date_send.
2021-05-31 17:52:35 +02:00
Jakub Pyszczak
d724442366 [EGD-5171] Utils to string fix
Fixed utils to string function to work with 8 bit integers.
Also nodiscard attribute added there.
2021-05-26 13:52:50 +02:00
Michał Kamoń
46c57aaa88 [EGD-6599] Add single number call notification
This PR adds proper notification on call notifications coming from
single number. To that end following changes have been introduced:
 * extension of Notification DB record with contact_id filed
 * use of `ContactRecordInterface` in `NotificationsRecordInterface`
 * extension of `Increment` query to require `PhoneNumber::View`
 * multiple minor changes on path from creating/handling
 `NotificationsRecord` to displaying respective notification.
2021-05-06 14:39:53 +02:00
Adam Dobrowolski
56344b0579 [EGD-6680] Notes crash fix on search
Changed query for all matches to query with limit
2021-05-05 18:13:35 +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
Michał Kamoń
ad52bab728 [EGD-6283] Fix to slow Application Desktop start
ApplicationDesktop start was slowed down by two synchronous DB calls:
-get unread threads count
-get unread calls count
Both were replaced with asynch versions.
2021-03-26 08:19:27 +01:00
Mateusz Grzegorzek
5b0f2aa44a [EGD-6262] Refactor Quotes
- Connect QuotesMainWindow to work with agent,
- Use DatabaseModel in Quotes and Categories models,
- Connect add/edit/remove quotes with agent
2021-03-25 09:17:53 +01:00
Michał Kamoń
dfcf9817b7 [EGD-5790] Fix end of line display in message thumbnail
Original problem was that '\n' character was displayed as `[]` in
message thumbnail. After consulting Design-Team thumbnail should not
display anything succeeding problematic character.
2021-03-18 09:50:32 +01:00
Piotr Tański
724505bb92 [EGD-2653] Update list of call logs in chunks
Automatically update the list of call logs in chunks.
2021-03-11 13:08:03 +01:00
Mateusz Grzegorzek
270d69edcc [EGD-5724] Add pagination for Templates
Add pagination for Templates
Fix bug in change message template response
2021-03-04 11:48:56 +01:00
Mateusz Grzegorzek
9832365ca2 [EGD-5698] Add pagination for messages
Add pagination for messages
2021-02-26 18:37:56 +01:00
RobertPiet
79d27c977c [EGD-5725] Sms threads pagination
Added pagination for sms threads
2021-02-25 19:55:02 +01:00
RobertPiet
2c3965df18 [EGD-5557] Contact Endpoint pagination
Pagination added for contact endpoint.
Introduced PagedContext and query message for contacts that returns
the required contacts together with the number of all contacts in db.
2021-02-17 15:13:27 +01:00
Pawel Olejniczak
f535268624 [EGD-5586] Clean up messages endpoint API
Introducing changes according to new messages endpoint api
proposal doc. All request have been updated, and some new were added.
Harness tests were updated too. These changes will be followed up with
pagination implementation.
2021-02-16 09:19:50 +01:00
Hubert Chrzaniuk
3cc558b02a [EGD-2931] Fix private number incoming calls
The change adjusts both cellular service as well as
call and call log applications to handle properly
incoming calls from private numbers.
2021-02-12 10:32:15 +01:00
Jakub Pyszczak
cee68d98eb [EGD-5529] Added CLCC parser
New cmd mechanism implementation of CLCC parser.
Unit tests implementation for the parser.
Refactor of searching for active outgoing call
in service cellular.
2021-02-11 13:37:52 +01:00
Tomas Rogala
80768bf4a5 [EGD-4708] Add backend of multiday events handling
-sql req for multiday events handling
-Add UT
-Add markEventsInDays method
-Add new query for day filter
2021-01-26 06:34:12 +01:00
Hubert Chrzaniuk
fc5ab3a70c [EGD-5325] Remove using namespace directives from headers
"Using namespace" directive should not be added in headers
because this practice pollutes source files.
2021-01-22 11:25:45 +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
Piotr Tański
31df1ce788 [EGD-4921] Add next harness test cases
Test harness extended with additional tests:
- Making a call to a specific phone number.
- Calling back to the last number from the call log.
- Searching for SMSes with a phone number filter.
2020-12-23 11:02:43 +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
tomaszrogala
4b06b003bc [EGD-3842] Modify events records tests and add providers fields to DB (#1138) 2020-12-10 15:22:19 +01:00
jimmorrisson
6711e02bad [EGD-4446] Change: new filesystem handling implementation in module db. (#1052)
Due to vfs deprecation there is need to remove all vfs calls from code. This PR covers module database. It also contains minor fixes in module-db.
2020-12-05 10:40:27 +01:00
RobertPiet
54bb1d4a7f [EGD-4343] use new settings in ServiceAudio (#997)
* [EGD-4343] ServiceAudio moved to new settings
2020-12-04 14:10:44 +01:00