Commit Graph
20 Commits
Author SHA1 Message Date
Pawel Olejniczak f8b82e887c [EGD-3679] Replace vCard encoding with plain text for exporting contact data
[EGD-3679] Update contact record tests

[EGD-3679] Clean up ContactRecord

[EGD-3679] Remove vcard encoding

[EGD-3679] Update changelog
2020-09-16 11:16:47 +02:00
Radoslaw Wicik 1a919db2ed [EGD-2974] Support for temporary contacts as a group 2020-09-15 15:04:10 +02:00
Marcin Smoczyński d0a43c0346 [EGD-3507] phonebook: fix duplicates on update
Fix duplicates detection when updating a contact.

Before this change dupliates detection both for numbers and speed dial
was not implemented at all.

Fix contact update procedure - add unbinding procedure if a new number
was bound to another contact before update. Do the same for speed dial.

Fix invalid contact number tests (it wasn't taken into account that each
section has clean db state).

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2020-08-21 10:58:42 +02:00
Marcin Smoczyński 060df7e11f [EGD-3370] phonebook: fix alternative number
Enable handling of an alternative number in phonebook.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2020-08-04 17:07:37 +02:00
Radoslaw Wicik 61db889b18 [EGD-3428] Fix db interface functions names - Update Tests 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
Marcin Smoczyński a9cb37d7f4 tests: add proper catch2 handling
Add proper catch2 support:
 - add catch2 as a submodule
 - add cmake function to add test easily
 - discover each test in test binary
 - remove copies of catch.hpp
 - do not try to process tests for rt1051

Do not test internals of utf8, only public interface (nasty bugs could
occur otherwise).

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2020-06-24 10:38:14 +02:00
Marcin Smoczyński 0936930063 [EGD-2593] improved matching contact by numbers
Introduced format aware phone number comparison to allow improved
matching phone numbers with contacts.

Phone numbers are also displayed formatted on a phonebook/calllog
list view and on detailed contact info view.

Entered and e164 number are verified to match each other during
processing db request.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2020-06-17 14:01:38 +02:00
Pawel Olejniczak bb3191ed73 [EGD-3126] Update tests of contact name formatting 2020-06-03 19:00:20 +02:00
Pawel Olejniczak cae8e740cf [EGD-3195] Add sections to ContactRecord_tests 2020-05-12 11:54:36 +02:00
Pawel Olejniczak ed3eefa001 [EGD-3195] Add unit tests for contact name formatting 2020-05-12 11:54:36 +02:00
Pawel Olejniczak 2014feabc7 [EGD-3155] Add changes suggested by reviewers 2020-05-08 08:57:29 +02:00
Pawel Olejniczak 6eed387019 [EGD-3155] Update db unit tests according to last changes with contact address 2020-05-08 08:57:29 +02:00
Alek Rudnik 55ec93cccf [EGD-2986] fixed module db UT (#326)
* [EGD-2986] fixed module db UT

* [EGD-2986] missing change

* []EGD-2986] add BD init check

* [EGD-2986] fix in threads table
2020-04-23 12:41:30 +02:00
Radoslaw Wicik a8573a404c Apply new style 2020-03-17 10:03:16 +01:00
pholat 93d964f532 Phonebook: Updated db tests 2019-08-26 09:25:40 +02:00
Mati 2918195e2c Slight change in records API(constructors) 2019-06-07 14:16:57 +02:00
Mati 35982af81c WiP: ThreadRecord 2019-06-04 15:59:30 +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