Commit Graph

204 Commits

Author SHA1 Message Date
Dawid Wojtas
40afdb710d [BH-1920] Labels with correct page and song
This is reimplementation ListViewWithLabels
which is able to set correct page with
focused item.
2024-04-10 15:33:14 +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
Dawid Wojtas
bc9982c090 [BH-1876] Change main alarm list to vertical
Now the main alarm uses the vertical list to display songs.
Fixed the order of songs from the database. Added translations.
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
Lefucjusz
1b37e62f42 [MOS-1067] Fix Pure crash when deleting all contacts
Fix of the issue that Pure would crash
when trying to delete all contacts from
Mudita Center when main window of
phonebook was opened and focus was
set on different contact than the
first one in the list.
2024-03-04 19:19:35 +01: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
73b72b99ef [MOS-471] Fix case sensitive in the note search
Changing the search engine in the notes application so that it is not case sensitive.
2023-09-29 14:14:23 +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
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
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
Bartosz
5836e28e04 [MOS-855] Fix weird behavior of messages
After thread was deleted, messages were still in DB
and so on
2023-01-25 13:37:46 +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
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
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
Adam Dobrowolski
2b1ae19d62 [MOS-512] Fix build with gcc12
As in topic
2022-06-03 12:38:34 +02:00
Lucjan Bryndza
523eb6f577 [MOS-513] Fix issues related to the GCC12 gcc
Fix issues related to the GCC 12
Fix paths for ignore license headers
2022-06-02 13:24:09 +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
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
Lucjan Bryndza
2e8d3dd720 [MOS-85] Fix contact that has no Last name
If a contact contains only first name I would expect it to appear on the
list sorted alphabetically according to the letters.

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2022-02-21 09:35:35 +01:00
Maciej Janicki
706a25df1d [BH-1125] Add file indexer
Add file indexer
2021-12-06 09:46:13 +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
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
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
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
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
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
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
d2fcc30200 [BH-743] Add AlarmEvents
Add AlarmEvents to database
2021-08-19 10:52:59 +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
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
Paweł Joński
606e0597e2 [BH-380] Librarize application-calendar
Librarize application-calendar
2021-07-26 09:11:09 +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
Wiktor S. Ovalle Correa
fca0452802 [EGD-6947] Fix SQL vulnerabilities
These were potential security holes allowing SQL injections.
2021-06-17 11:22:46 +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
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