Commit Graph

26 Commits

Author SHA1 Message Date
Matthias Beyer e8ae2fb73e Add type so that we can serialize a Vcard 2018-03-12 17:45:50 +01:00
Matthias Beyer 65d558727e Change ref creation to use UID from vcard object 2018-03-12 14:43:02 +01:00
Matthias Beyer 252046583a
Merge pull request #1332 from matthiasbeyer/libimagcontact/all-contacts
Implement ContactStore::all_contacts()
2018-03-12 14:17:54 +01:00
Matthias Beyer 8a9b2e9a8f Fix: use Path::file_stem() instead of Path::file_name()
Because we don't want to know the extension of the filename here.
2018-03-12 13:30:31 +01:00
Matthias Beyer 3bf1b6ccec Implement ContactStore::all_contacts() 2018-03-12 12:52:24 +01:00
Matthias Beyer 672873c2f1 Make UniqueContactPathGenerator pub 2018-02-19 12:15:39 +01:00
Matthias Beyer 719daf952b Refactor libimagcontact for new libimagentryref API 2018-02-19 12:15:39 +01:00
Matthias Beyer 30d2c28a22 Update version string: 0.6.0 -> 0.7.0 2018-02-11 14:22:24 +01:00
Matthias Beyer 3b710e082d Add missing Cargo.toml metadata 2018-02-10 14:11:46 +01:00
Matthias Beyer d5a9e4930d Update dates in license header
And add missing header in one file
2018-02-07 02:48:53 +01:00
Matthias Beyer 9a9701fce5 Add flag settings/Contact::is_contact in libimagcontact 2018-01-08 23:46:36 +01:00
Matthias Beyer 3c8dd19d11 Update version strings: 0.5.0 -> 0.6.0 2017-12-25 19:17:07 +01:00
Matthias Beyer 04d5af8d50 Switch to upstream rust-vobject 2017-11-09 11:21:17 +01:00
Matthias Beyer dfbc69400a Let ContactData be unpacked and derefd 2017-10-31 19:10:11 +01:00
Matthias Beyer 4fa41faa59 Add iterator for contacts 2017-10-31 19:10:11 +01:00
Matthias Beyer b05c8c6f6d Replace search_contact() with all_contacts()
We can then use filters to filter out the non relevant ones.
2017-10-31 19:10:11 +01:00
Matthias Beyer f3d75e97b6 Rely on own clone of rust-vobject 2017-10-31 19:10:10 +01:00
Matthias Beyer 12e8657eb9 Add Contact::is_contact() 2017-10-31 19:09:43 +01:00
Matthias Beyer f2bd241a59 Add error for header type error 2017-10-31 19:09:43 +01:00
Matthias Beyer aae19221b6 Impl Contact::get_contact_data() 2017-10-31 19:09:43 +01:00
Matthias Beyer ce5e7f5252 Impl Store::create_from_path() 2017-10-31 19:09:43 +01:00
Matthias Beyer c14c19483c Add lib internal utilities 2017-10-31 19:09:43 +01:00
Matthias Beyer 577f8d313a Add more error links 2017-10-31 19:09:43 +01:00
Matthias Beyer 04182f5cb6 Add initial layout of code 2017-10-31 19:09:43 +01:00
Matthias Beyer eaa9ad5993 Add basic documentation on how the lib works 2017-10-31 19:09:43 +01:00
Matthias Beyer 434505f1f0 Initial import of libimagcontact 2017-10-31 19:09:41 +01:00