Commit Graph

48 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Lukasz Skrzypczak
7fee0d9cfb [BH-378] Utils move log to library
Moved log to separate library
2021-06-08 12:24:29 +02:00
Pawel.Paprocki
97833e2d8b [EGD-6313] Fix Can not find contact by full name
Add support for contact full nane in queries
2021-04-16 07:43:22 +02: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 Tanski
4e0f72e70a [EGD-4696] Several stabilization patches. (#1192) 2020-12-15 15:30:13 +01:00
Tomek Sobkowiak
0d80a71a5d [EDG-4494] Exclude contacts from temporary group (#1109)
* [EDG-4494] Exclude contacts from temporary group
2020-12-06 20:42:24 +01:00
Tomek Sobkowiak
ee8a5e4ab9 [EDG-4346] Load script to init contacts database (#1013) 2020-11-22 17:31:56 +01:00
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
pawpMudita
a2ba217b06 EGD-4077 Re-enable support for temporary contacts in Phonebook main window 2020-10-13 16:38:45 +02:00
Lucjan Bryndza
d89b7ea8de [EGD-4035] Fix empty database in address book (#811)
When address book database is empty the
PhoneBook aplication hang.

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2020-10-09 13:44:43 +02:00
pawpMudita
9311e33aa5 EGD-3808 Scrolling contacts list with a particular letter - part 2 2020-10-02 10:09:36 +02:00
pawpMudita
7694df5be9 [EGD-3139]Scrolling contacts list with a particular letter - part 1 2020-09-24 15:45:07 +02:00
Radoslaw Wicik
1a919db2ed [EGD-2974] Support for temporary contacts as a group 2020-09-15 15:04:10 +02:00
pawpMudita
f74051ea42 [EGD-3130] NoName contacts at the end of contact list 2020-09-08 14:57:59 +02:00
pawpMudita
2b4c005662 [EGD-3130] NoName contacts at the end of contact list 2020-09-07 12:04:23 +02:00
Tomasz Sobkowiak
45773ddfdf [EDG-3415] Handle new line when entering text 2020-09-04 13:12:02 +02:00
pawpMudita
ca39564a45 [EGD-3146][ ICE contacts- new window 2020-09-02 11:01:10 +02:00
Marcin Smoczyński
0179c7536d [EGD-3494] db: fix contacts get query
Fix contacts get query following changes in the contacts database to
move contacts groups to another table.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2020-08-11 14:55:24 +02:00
Radoslaw Wicik
ee685049ae [EGD-3386] Add contact flags to DB 2020-07-24 11:26:29 +02:00
Radoslaw Wicik
5e5bbe2eb9 [EGD-3428] Fix db interface functions names - Field class 2020-07-16 10:55:07 +02:00
Radoslaw Wicik
24128854e9 [EGD-3428] Fix db interface functions names - QueryResult class 2020-07-16 10:55:07 +02:00
Radoslaw Wicik
c2b8a33d4b [EGD-3428] Fix db interface functions names - Database class 2020-07-16 10:55:07 +02:00
Radoslaw Wicik
ad84b981d9 [EGD-3428] Fix db interface functions names - Table class 2020-07-16 10:55:07 +02:00
Marcin Smoczyński
df60d9c240 [EGD-3251] phonebook: improved search
Refactor phonebook's models to merge both implementation. One model
class is used for both main and search results windows.

Improve search by matching entered string against:
 - first_name " " last_name
 - last_name " " fist_name
Sort results by last_name " " first_name, favs first.

Small improvement to the list view has been added to deal with
asynchronous db reads.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2020-07-09 11:28:45 +02:00
Pawel Olejniczak
f797b17b2a [EGD-3155] Adjust address id field names and change its type to integer 2020-05-08 08:57:29 +02:00
Alek Rudnik
699cb141e3 Egd 3168 fix for quote sign in db qeury (#335)
* [EDG-3168] fix for quote mark in DB queries

* [EGD-3168] replaced all %s with %q
2020-04-27 14:28:37 +02:00
Pawel Olejniczak
9954823186 [EGD-3070] Fix Speed dial field issues, and resolve confusion between user and e164 nuber fields 2020-04-10 14:40:29 +02:00
Przemyslaw Brudny
c0822b6658 [EDG-3019] Moved log.hpp and debug.hpp into main PurePhone repo 2020-03-24 15:55:32 +01:00
Przemyslaw Brudny
8f92715951 [EDG-3019] Segger utils moved to git submodule 2020-03-23 18:37:37 +01:00
Radoslaw Wicik
a8573a404c Apply new style 2020-03-17 10:03:16 +01:00
Adam Dobrowolski
4545b8ce8f Revert "[EGD-2892] added missing elements in contacts table"
This reverts commit 357aa8d3f1.
2020-02-28 12:58:44 +01:00
Adam Dobrowolski
357aa8d3f1 [EGD-2892] added missing elements in contacts table 2020-02-27 17:10:03 +01:00
rkubiak01
fee840ddb6 [EGD-2520] fix in sql query to search for any substring 2020-02-11 06:17:38 -05:00
RomanKubiak
11acf5f8dc DATABASE: phonebook changes 2019-11-28 17:48:06 +01:00
RomanKubiak
61e95c9fc6 DATABASE: clang formatting before phonebook changes 2019-11-28 12:28:25 +01:00
Robert Borzecki
70e291e5d5 Added acquireing data for phonebook model. 2019-09-12 12:18:44 +02:00
Mati
951604cb95 Minor API updates. Finished implementing ContactRecord 2019-06-04 15:46:54 +02:00
Mati
d446b0ac94 WiP: record interface 2019-06-04 08:27:30 +02:00
Mati
3c4abddcc2 Added the rest of contacts tables 2019-05-28 15:14:09 +02:00
Mati
3e717e2b01 Added ContactsNameTable 2019-05-28 13:58:16 +02:00
Mati
b9bd4372e7 Refactor,
Added ContactsTable
2019-05-28 13:27:54 +02:00