[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.
Revert "[MOS-578] Fix incorrect logic with SMS notifications"
This reverts commit de99e12e000c89088a6d9e79cac3cf2d2e73a90c.
[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
[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
[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.
[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.
[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.
[MOS-855] Fix weird behavior of messages
After thread was deleted, messages were still in DB
and so on
[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.
[MOS-835] Per product layout of database migration scripts
Implemented DB init migration and version.json update
[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.
[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
[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
[MOS-787] Fix crash when syncing with Mudita-Center
When Pure had large databases - exceeding 2MB, a crash occurred
during synchronization with Mudita-Center.
[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.
[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.
[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.
[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
[MOS-670] Change clang-format AlwaysBreakTemplateDeclarations to Yes
Add --all and --fix-all options to style-check-hook