~aleteoryx/muditaos

ref: 78a499e3bf220a8168d3600e3368669032b8a6a3 muditaos/module-db d---------
4f7ec2ef — Lukasz Mastalerz 3 years ago
[CP-1831] Editing contact which is deleted via Center can still be saved but with incomplete data

Fix for editing contact when it was deleted via Center.
Edited contact cannot be saved if it was deleted earlier. Proper communication is shown.
Fix for phonebook app was not handling database notifications correctly.
1340e694 — Bartosz 3 years ago
Revert "[MOS-578] Fix incorrect logic with SMS notifications"

This reverts commit de99e12e000c89088a6d9e79cac3cf2d2e73a90c.
e13ed40f — Lukasz Mastalerz 3 years ago
[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
fb327651 — Bartosz Szostak 3 years ago
[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
eaedd79f — Lukasz Mastalerz 3 years ago
[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.
e07f2db5 — rrandomsky 3 years ago
[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.
d7c8a8a6 — Lukasz Mastalerz 3 years ago
[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.
5836e28e — Bartosz 3 years ago
[MOS-855] Fix weird behavior of messages

After thread was deleted, messages were still in DB
and so on
fc076fa4 — Lefucjusz 3 years ago
[MOS-855] Fix restore from legacy backup

Added checking if requested to restore backup
from pre-UDM version and setting db versions
to zero in such case, as version info file
(called backup.json in legacy backups) doesn't
contain info about versions.
6f05c75c — Mateusz Piesta 3 years ago
[MOS-835] Per product layout of database migration scripts

Implemented DB init migration and version.json update
b50eea9e — Pawel Olejniczak 3 years ago
[CP-1427] Cleanup leftovers after old backup restore implementation

The synchronization mechanism has been freed from the constraints
of the old backup and restore implementation.
0a9846e4 — Mateusz Piesta 3 years ago
[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
150f1cfd — Mateusz Piesta 3 years ago
[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
e6bc56f3 — Maciej-Mudita 3 years ago
[MOS-787] Fix crash when syncing with Mudita-Center

When Pure had large databases - exceeding 2MB, a crash occurred
during synchronization with Mudita-Center.
0342eb50 — rrandomsky 3 years ago
[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.
abdf9b7c — rrandomsky 3 years ago
[MOS-737] Revert "Fix for adding a country code prefix to existing ..."

This reverts commit 14d6d53ac84de3648c07e57fd9bf834f6461bcdd,
because it can cause critical error for SMS application.
14d6d53a — rrandomsky 3 years ago
[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.
255d03a5 — Lefucjusz 3 years ago
[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.
074b33a6 — Adam Wulkiewicz 3 years ago
[MOS-685] Make small improvements in various places of the code

- Forward arguments
- Remove unused code
- Remove auto return type when it's not needed
- Add const to member functions
- Use startsWith and endsWith from utils
- Allow instantiation of operators only for specific types
- Caluclate key mask in compile time
fe708cdf — Adam Wulkiewicz 3 years ago
[MOS-670] Change clang-format AlwaysBreakTemplateDeclarations to Yes

Add --all and --fix-all options to style-check-hook
Next