| Age | Commit message (Collapse) | Author |
|
Split labels-cache and store-labels.
|
|
|
|
Move some of the code in from the command-line tool to contacts-cache, for
possible re-use. Clean up a bit while doing so.
|
|
refactor code a bit; move sorting to Contact
remove unneeded hashing in Contact (just use the email address)
|
|
|
|
So we can be sure the regexp is initialized. This _may_ help for
https://bugzilla.opensuse.org/show_bug.cgi?id=1221861
though it is very hard to tell!
|
|
|
|
|
|
and improve logging.
|
|
Not complete, but a first big stab converting users of Mu::Error and
various g_warning & friends, format to the new libfmt-based APIs.
|
|
Allow for skipping unwanted addresses (such as 'noreply') from the
contacts cache.
|
|
Skip annoying 'noreply' & friends.
|
|
Use the new config class to pass information and serialization.
|
|
Seems it doesn't always play nice with composer
|
|
Bump schema version to trigger update after we added html processing.
Since we're updating the database schema version, let's use the
opportunity to remove outdated data from the contacts-cache.
|
|
Filter out the (rare but existent) invalid email addresses from the
cache; use the new method Contact::has_valid_email for that.
|
|
The former is PCRE-compatible, and faster than std::regex.
|
|
Move test-mu-common to mu-test-utils. Use mu_test_init as a wrapper for
g_test_init. Update users.
|
|
Add a bunch of tests
|
|
Return in the contacts in *reverse* rank order, i.e. the most relevant come first.
This is useful since we only want the first maxnum contacts, and those should of
course be the most relevant.
Update mu cfind/server as well.
cfind
|
|
Allow limiting number of contacts for auto-completion to a specific number;
defaulting to 2000.
|
|
Add a new flag 'personal' for a message, which means that at least one of the
contact fields is personal.
|
|
When passing a vec of _all_ contacts for some message, mark _all_ of them as
personal if at least _one_ is a personal address.
|
|
Adapt to the new names / directory. Big commit, but mostly just very boring renaming.
|
|
|
|
Replace the internal ContactInfo with MessageContact, so we can use the same
type throughout.
|
|
Plus dependents.
|