| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
The file chooser has been deprecated, but can be easily
replaced with Gtk.FileDialog.
Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
evolution-data-server contains some important fixes for Google accounts,
and it's not super new either, so should be good to bump the dependency
quite a bit.
|
|
|
|
|
|
|
|
|
|
|
| |
Sharing contacts in an easy and offline way is currently not possible.
Most mobile phones have a camera and are capable of scanning QR codes.
The vCard format is widely used to easily exchange contact information.
A contact can be saved in vCard format into a QR code.
A button with a QR code icon is added next to the "favourite" and "edit"
buttons. When the user presses this button, a dialog opens up, which
shows a QR code containing the current contacts data in vCard format.
|
|
|
|
|
|
|
| |
GNOME Online Accounts has some pretty big changes on its roadmap and
doesn't make any promises on API stability. The only use of the API at
this point is to fetch the icon for a GOA-backed address book, so it
isn't really problematic if users disable support for it
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit adds the experimental functionality in Contacts to import
VCard (*.vcf) files.
Since importing a contact means we have to take in untrusted/unvalidated
input, let's give a high-level view of what happens:
* Contacts starts a native file chooser dialog so the user can choose
which file to import
* According to the chosen file, Contacts will launch a subprocess to do
the actual parsing using a `Contacts.Io.Parser`. At this point, we
only have a single subclass, which allows importing VCards.
* The helper process serializes the result to a `GLib.Variant`, and
sends it to the main process, which will receive the result and
parses it again.
* After the parsing operation is done, we can then start up a
`ImportOperation`, which will import the contacts using libfolks' API.
Exporting contacts is quite a bit easier, since we don't have to deal
with untrusted input: we serialize the list of selected contacts and
asynchronously write each to the given output stream. In the app, that's
a user chosen file; in tests, that can be a string.
Fixes: https://gitlab.gnome.org/GNOME/gnome-contacts/-/issues/1
Fixes: https://gitlab.gnome.org/GNOME/gnome-contacts/-/issues/38
|
| |
|
|
|
|
|
| |
We were keeping them alive because we thought Purism were using it, but
apparently that's not the case (or no longer). Just remove it.
|
|
|
|
| |
Depend on libadwaita 1.2.alpha
|
|
|
|
| |
Regular libportal doesn't exist anymore.
|
|
|
|
|
|
|
|
| |
gnome-contacts 42.0 fails to build with earlier versions of vala
with "error: `GLib.GenericArray<Contacts.VcardTypeMapping?>'
does not have an `iterator' method".
See https://bugs.gentoo.org/838727 for additional information.
|
|
|
|
|
| |
We need https://github.com/flatpak/libportal/commit/f0a98e751441532f
for the camera portal to work
|
| |
|
|
|
|
|
| |
A bit late, but let's give some people still a chance to do some late
testing.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a mega-commit which ports Contacts to GTK4 and libadwaita, the
library which provides GNOME-specific widgets on top of GTK4.
This change also now follows the new mockups of Contacts, which use a
boxed list style to convey contact information.
There is a minor set of known issues which we'll still need to solve
later (preferably):
* For now, taking a picture with your webcam is not implemented. In
GTK3, we used to do this with Cheese, but this hasn't been ported to
GTK4. Ideally, we could just directly use Pipewire though.
* Some CRITICALs when we have some unexpectedly long names or property
values
* The delete button is gone for most properties. This probably needs to
be rethough at the design level on how we want to deal with it.
* We're still blocked a bit on libedataserverui not having a GTK4 port
yet.
|
| |
|
| |
|
|
|
|
| |
Woefully late, but let's make sure the fixes got into the 41 series.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
libhandy now ships a pre-built empty view. Apps
should use that for consistency.
|
|
|
|
|
|
| |
* Move to the `data` subfolder
* Update the maintainer
* Use a slightly saner indentation
|
|
|
|
|
|
|
| |
libhandy has reached a stable point, so distributions should start
including it as a proper package rather than relying on a git submodule.
This also fixes some small annoyances in the build system.
|
| |
|
|
|
|
| |
The API is now stable.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This is needed because the current development libhandy version is
smaller than its API version.
It can be dropped completely as soon as we depend on libandy 1.0.
|
| |
|
|
|
|
|
|
| |
There's a pretty good chance that there were some changes in
evolution-data-server since `1.13`, so let's bump it to a reasonable
minimum by setting it to the one in Debian stable (which is 3.30)
|
| |
|
|
|
|
|
|
|
|
| |
We started requiring at least version 2.52 when we started using
`Uuid.string_random()` (thanks @ricotz for pointing this out).
Let's just immediately bump it to the currently supported version of
Debian stable, which is 2.58.
|
|
|
|
|
|
|
|
|
| |
@ricotz helpfully pointed out that we don't need the
`--disable-since-check`, since we don't even compile on valac 0.38.10.
Let's remove the check for the option, and instead have a check at the
beginning that people aren't trying to compile Contcts on a too old
Vala.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
libcanberra-gtk got removed in the latest Flatpak runtime (3.38), so we
can't build cheese as it hard depends on it. Luckily, we don't
hard-depend on cheese, so let's get rid of it (for now).
As an extra, this commit also makes Cheese an optional dependency,
making it a bit easier to build it at the first go (without installing
cheese-devel) and a shorter CI time.
|
| |
|
| |
|