summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* sheet: Add a button to start a phone callnielsdg/phonesNiels De Graef2022-06-291-7/+21
| | | | | | | | | evolution-data-server provides a class `E.PhoneNumber` which -amongst other things- allows us to parse freeform strings as phone numbers. If successful, it also allows to generate a `tel:` URI which we can use to start a call with the user's preferred application. Note however that it's only really supported if E-D-S was compiled with support for libphonenumber (which provides the underlying implementation).
* Port to AdwMessageDialogAlexander Mikhaylenko2022-06-294-24/+17
| | | | Depend on libadwaita 1.2.alpha
* avatar-selector: Don't center the action barAlexander Mikhaylenko2022-06-291-1/+0
| | | | | Action bars are not supposed to be used like this, and it results in a broken style.
* meson: Depend on libportal-gtk4 instead of libportalAlexander Mikhaylenko2022-06-291-1/+1
| | | | Regular libportal doesn't exist anymore.
* flatpak: Update librest build optionsAlexander Mikhaylenko2022-06-291-1/+4
|
* Updated Spanish translationDaniel Mustieles2022-06-221-67/+70
|
* data/ui/style: reduce margin of contact listsPablo Correa Gómez2022-06-161-1/+1
| | | | | | | This allows to fit the application in narrower screens like phones, where the app would already fit before GTK4 transition. Fixes #237
* Update German translationJürgen Benvenuti2022-06-081-71/+84
|
* app: Flush pending operations before shutdownNiels De Graef2022-06-071-2/+35
| | | | | | | | Make sure that any operations which are still pending (due to having an initial timeout, or whatever other reason), are executed immediately. This fixes several recent bugs that were reported recently on linking/deletion/... not working if you closed the app soon after.
* main-window: Don't show an almost-hidden contactNiels De Graef2022-06-071-1/+3
| | | | | Whenever we're on the verge of linking several contacts or deleting a contact, we should stop showing that contact.
* Add OperationList to keep track of OperationsNiels De Graef2022-06-079-91/+293
| | | | | | | | | | | | | | | | | | | | | | | The code in `Contacts.MainWindow` that has dealt with operations is problematic in several ways: * It only kept track of the last operation, and didn't do that well either as it could easily be overwritten * Due to `Contacts.DeleteOperation` being irreversible, it needed special (and buggy) workarounds * It repeated code for dealing with operations several times, which lead to copy-paste bugs. This commit tries to fix that by introducing a `Contacts.OperationList` object, which acts as a container and wrapper API for `Contacts.Operation`s. The most prominent extra API it provides, is that of postponing execution with a timeout, and being able to cancel ongoing operations. Both of these APIs allow us to remove any special-casing we had to do for delete operations. It also adds a `flush` API, which we can later use to prevent the application from completely quitting before all operations have finished executing.
* Wait for store to be quiescent before applying contact changesAdam Williamson2022-06-061-0/+10
| | | | | | | It's not safe to try and add or edit a contact before the store is quiescent, it causes crashes. Signed-off-by: Adam Williamson <awilliam@redhat.com>
* sheet: Use AdwPreferencesGroup to combine propertiesNiels De Graef2022-06-061-6/+4
| | | | | It's a little bit less code, and has the added benefit that it adds an accessibility role as well.
* contact-sheet: Don't use markup for name labelNiels De Graef2022-06-061-1/+1
| | | | | | | A very long time ago, we used `gtk_label_set_markup()` to nicely format the name of a contact. We changed that quite some time ago however, and we forgot to escape any possible markup characters. Fix it by using the "label" property instead.
* Update Friulian translationFabio Tomat2022-06-061-60/+69
|
* Update Russian translationAleksandr Melman2022-06-051-71/+93
|
* Use a ListModel for address books (PersonaStore-s)Niels De Graef2022-06-049-306/+108
| | | | | | | | | | | | | | | | | Remove the util function `get_eds_address_books()` and the several copy pastes that deal with `Folks.Backend`s coming up and dynamically changing the list of address book. Instead, `Contacts.Store` now exposes a `GLib.ListModel` that something like the `Contacts.AccountsList` widget can use to generate a `Gtk.ListBox`. While we're at it, remove `AddressBookList`, as it's not used anywhere. Fixes a problem in `Contacts.AccountsList` where it showed an address book as selected, but it didn't seem to register it properly. Fixes: https://gitlab.gnome.org/GNOME/gnome-contacts/-/issues/238
* Update Hebrew translationYosef Or Boczko2022-05-301-73/+91
|
* Update French translationIrénée THIRION2022-05-281-60/+71
|
* Update Chinese (China) translationLuming Zh2022-05-231-73/+87
|
* Update Portuguese translationHugo Carvalho2022-05-231-8/+10
|
* Update Persian translationDanial Behzadi2022-05-221-8/+10
|
* Update Ukrainian translationYuri Chornoivan2022-05-211-10/+11
|
* Mark missing strings in UI files for translationPiotr Drąg2022-05-212-2/+2
|
* Updated Spanish translationDaniel Mustieles2022-05-191-68/+81
|
* Update Persian translationDanial Behzadi2022-05-161-96/+113
|
* Update Ukrainian translationYuri Chornoivan2022-05-161-74/+90
|
* Change the keyfile group for main window actionsBrandon Nielsen2022-05-131-4/+4
| | | | | | | | | | | | Commit 8bec4eba results in the change of the keyfile group for window actions from "window" to "win", which breaks the action names used for the undo buttons in the toasts. This updates the action names used in the source main window sourcefile, the actions specified in the corresponding ui were updated correctly in the referenced commit. Fixes 243.
* Fix build failures with vala <0.54Jay Faulkner2022-05-131-1/+1
| | | | | | | | 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.
* Update Friulian translationFabio Tomat2022-05-071-234/+338
| | | | (cherry picked from commit 4551f5994153afa2d88e8c27a254efd646f4a2fe)
* Update Portuguese translationHugo Carvalho2022-05-061-67/+80
|
* Update Icelandic translationSveinn í Felli2022-04-191-260/+358
| | | | (cherry picked from commit c0dd1e6ff23e88968966bc3c77270428703bd5df)
* contact-list: Rework and simplify scroll_to_contact()Niels De Graef2022-04-172-8/+5
| | | | | We're only using this method to scroll to the selected contact, so remove the optional argument and rename for clarity.
* Use selection and filter models to list contactsNiels De Graef2022-04-1617-616/+653
| | | | | | | | | | | | | | | | | GTK4 added some interesting concepts on top of / in conjunction with list models, for example to map one list model on another by sorting and/or filtering. Another example is to use this with selections. This commit applies that concept to Contacts, which now uses the `Contacts.Store` to build a base list model on top of the `Folks.IndividualAggregator`, on top a sorted model (which can be adjusted to sort on First/Last name, and finally a filter model, to filter on the text in the search entry. Another reason to do this, is that it allows us to use a `Gtk.ListView` in the future. It's not possible to do so already due to the fact that we need to differentiate between "Favorites" and "Other Contacts", which needs extra API on Gtk.Listview side.
* Update French translationCharles Monzat2022-04-091-24/+29
| | | | (cherry picked from commit fe616749255deaa1d017a22586eaac3fe0e01783)
* Add Frisian translationTjipke van der Heide2022-03-302-0/+859
|
* Update Basque translationAsier Sarasua Garmendia2022-03-271-30/+35
|
* Update Dutch translationNathan Follens2022-03-251-234/+338
| | | | (cherry picked from commit 5e5c1938923df706408e8d7831b5854571a9058d)
* meson: bump minimum libportal to 0.6Jeremy Bicha2022-03-251-1/+1
| | | | | We need https://github.com/flatpak/libportal/commit/f0a98e751441532f for the camera portal to work
* flatpak: Remove notification sandbox holeNiels De Graef2022-03-251-2/+0
| | | | Fixes: https://gitlab.gnome.org/GNOME/gnome-contacts/-/issues/235
* Release stable version 42.042.0Niels De Graef2022-03-222-1/+29
|
* Update Italian translationMilo Casagrande2022-03-181-226/+287
|
* Update Norwegian Bokmål translationKjartan Maraas2022-03-171-298/+366
|
* setup-window: Add translator commentNiels De Graef2022-03-151-0/+1
| | | | Fixes https://gitlab.gnome.org/GNOME/gnome-contacts/-/issues/233
* Update German translationPhilipp Kiemle2022-03-141-236/+338
|
* Update Serbian translationМарко Костић2022-03-141-238/+344
|
* Release unstable version 42.beta42.betaNiels De Graef2022-03-142-1/+32
| | | | | A bit late, but let's give some people still a chance to do some late testing.
* Update Hebrew translationYosef Or Boczko2022-03-131-15/+18
|
* Update Polish translationPiotr Drąg2022-03-131-14/+17
|
* utils: Add translator comments for some propertiesNiels De Graef2022-03-131-0/+3
| | | | Fixes https://gitlab.gnome.org/GNOME/gnome-contacts/-/issues/228