Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • G gnome-contacts
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • Librem5
  • debs
  • gnome-contacts
  • Issues
  • #16
Closed
Open
Issue created Jul 09, 2019 by Julian Sparber@julian.sparberMaintainer

Investigate libfolk

https://wiki.gnome.org/Projects/Folks

The main interaction class is https://valadoc.org/folks/Folks.IndividualAggregator.html

Individuals is a collection of personas, where personas are the contacts collected via different backend.

With SimpleQuery, we can filter the returned individuals.

A pretty simple example we can find in https://source.puri.sm/Librem5/gnome-contacts/blob/librem5/src/contacts-shell-search-provider.vala

Interaction with libfolks:

  • We get a FolksIndividualAggregator which is a singelton via folks_individual_aggregator_dup ()
  • with folks_individual_aggregator_get_individuals () we get a GeeMap of Individuals (Contacts)
Edited Jul 11, 2019 by Julian Sparber
Assignee
Assign to
Time tracking