1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-10 02:21:18 +00:00
Commit graph

2033 commits

Author SHA1 Message Date
Guido Günther
91cdde3ac9 main-window: Allow the in app notification to wrap
Othewise we overflow the window. Center it too.
2020-09-10 08:58:25 +00:00
Guido Günther
78921fadea gitlab-ci: Allow to only build a package 2020-09-10 08:58:24 +00:00
Evangelos Ribeiro Tzaras
9619ebb674 src/calls-call-window.c: Inhibit suspend during active call 2020-09-09 08:27:14 +00:00
Evangelos Ribeiro Tzaras
c43bfe3ebb src/calls-notifier.c: Add call-back button 2020-09-08 16:08:51 +02:00
Fabio Tomat
baf1e4a652 po: Add friulian to LINGUAS 2020-09-07 09:39:56 +02:00
Fabio Tomat
5dc2a93450 po: Add friulian translations 2020-09-07 09:39:38 +02:00
Thibault Martin
2c68c5272f po: Update French translation 2020-09-02 14:20:29 +02:00
Efstathios Iosifidis
1046ef1e0b po: Update LINGUAS 2020-08-14 15:01:48 +00:00
Efstathios Iosifidis
38a04c093d po: Add Greek translation 2020-08-14 15:01:48 +00:00
Guido Günther
4a617b2485 po: Add Spanish to LINGUAS 2020-08-14 10:07:14 +02:00
Daniel Mustieles
5123e13291 po: Add Spanish translation 2020-08-14 10:06:44 +02:00
Valéry Febvre
337e062273 po: Update French translation 2020-08-14 09:37:35 +02:00
Emin Tufan Çetin
0b7a65552d po: Update Turkish translation 2020-08-10 12:00:00 +00:00
James Westman
6fe3639cc9 flatpak: Add feedbackd, dependencies to flatpak
Added feedbackd to the Flatpak manifest, so that Calls builds again.

Fixes #164.
2020-07-24 12:22:00 -05:00
Guido Günther
b95de5c9e0 calls-call-record-row: Ignore anonymous callsers
These have an empty string which leads to

    Error parsing phone number `': Keine Telefonnumme
2020-07-22 06:52:07 +00:00
Guido Günther
1f8435f4dd call-record-row: Use g_autoptr for the GError 2020-07-22 06:52:07 +00:00
Daniel Șerbănescu
5610a50080 po: Update Romanian translation 2020-07-20 11:02:43 +02:00
Guido Günther
829972183d po: Add Hungarian to LINGUAS 2020-07-20 10:46:27 +02:00
Balázs Meskó
7fb7caf346 po: Add Hungarian translation 2020-07-20 10:46:08 +02:00
scootergrisen
7290bc5213 po: Add da to LINGUAS 2020-07-20 10:44:55 +02:00
scootergrisen
60ea369691 po: Add Danish translation 2020-07-20 10:44:55 +02:00
Marc Riera Irigoyen
7edf1b2027 po: Add Catalan translation 2020-07-20 10:42:14 +02:00
Tim Sabsch
8a9687af91 po: Add German translation 2020-07-18 10:57:14 +02:00
Arnaud Ferraris
aadd3e3515 ui: call-display: wrap toggle buttons' labels
For some locales, the buttons' labels can be quite long, making the
window wider than the display.

Using a line wrap will solve this issue when there wouldn't be shorter
translation alternatives. This requires reducing the encryption indicator's
margins so the window height doesn't grow beyond the available display size.
2020-07-13 10:51:02 +02:00
Daniel Șerbănescu
dd05360750 po: Update Romanian translation 2020-07-03 09:40:32 +02:00
Guido Günther
99fb1981d0 Document changes and release 0.1.7 2020-07-02 12:26:10 +02:00
Guido Günther
803cec41a5 calls-call-record-row: Set call back button insensitive for anonymous caller
They can't be called back, we don't have a number

See: #144
2020-07-02 12:10:10 +02:00
Guido Günther
0bc8c7bc4e calls-call-record-row: Print 'Anonymous caller' on empty numbers
If no number is present use `Anonymous caller` instead of an
empty label in the call history.

See: #144
2020-07-02 12:10:10 +02:00
Emin Tufan Çetin
1ce13ba903 po: Add Turkish to LINGUAS 2020-07-02 10:59:36 +02:00
Emin Tufan Çetin
6513118d27 po: Add Turkish translation 2020-07-02 10:59:36 +02:00
Yuri Chornoivan
cb2e2266d6 po: Update Ukrainian translation 2020-06-28 09:07:40 +03:00
Evangelos Ribeiro Tzaras
9fc8ec5e1a Implement contact name lookup for call display
* src/calls-manager.h: Add lookup function to header
* src/calls-manager.c: Implement lookup function to be used for the call
  history, call notifier and call display
* src/calls-call-holder.c: Use calls_manager_get_contact_name ()
* src/calls-notifier.c: Use calls_manager_get_contact_name ()
2020-06-27 17:35:54 +02:00
Evangelos Ribeiro Tzaras
0f0d10e3f2 Make CallsContacts a singleton
Since passing a CallsContacts pointer down to every class it needs, started to
become laborous - especially since the intermediates classes don't need
the reference themselves - it was made a singleton

* src/calls-contacts.c: Added calls_contacts_get_default () function and
  removed calls_contacts_new ()
* src/calls-contacts.h: Added _get_default () prototype and removed the
  _new () prototype
* src/calls-application.c: Use calls_contacts_get_default () now
* src/calls-history-box.c: Removed self->contacts completely
* src/calls-history-box.h: Got rid of CallsContacts argument in _new()
* src/calls-main-window.c: Removed self->contacts completely
* src/calls-main-window.h: Got rid of CallsContacts argument in _new()
* src/calls-call-record-row.c: Use calls_contacts_get_default () now
* src/calls-call-record-row.h: Got rid of CallsContacts argument in
  _new()
* src/calls-call-holder.c: Use calls_contacts_get_default () now
* src/calls-call-holder.h: Got rid of CallsContacts argument in _new()
* src/calls-call-window.c: Removed self->contacts completely
* src/calls-call-window.h: Got rid of CallsContacts argument in _new()
* src/calls-notifier.c: Use calls_contacts_get_default () now
* src/calls-notifier.h: Got rid of CallsContacts argument in _new()
2020-06-23 17:43:19 +02:00
Yuri Chornoivan
17e8e4bd24 po: Update Ukrainian translation 2020-06-20 08:47:22 +03:00
Guido Günther
e74891557e Document changes and release 0.1.6 2020-06-11 18:16:55 +02:00
Evangelos Ribeiro Tzaras
4bf5cd5232 Implement delete call with context menu on longpress
* src/ui/call-record-row.ui: Add menu, GtkPopover. Surround existing
  elements with GtkEventBox to capture longpress/rightclicks
* src/calls-call-record-row.c: Provide functions emiting "call-delete"
  signal, add widgets from ui file
* src/calls-record.c: Add "call-delete" signal
* src/calls-history-box.c: Add callback for "call-delete" signal
* src/calls-record-store.c: Add callback for "call-delete" signal
* src/util.c: Add convenience function calls_find_in_store for finding
  items in ListModel
* src/util.h: Add declaration of calls_find_in_store
2020-06-10 20:49:44 +02:00
Evangelos Ribeiro Tzaras
b15c2876da record-store: Use g_autoptr(GError) to avoid having to g_error_free 2020-06-10 20:49:44 +02:00
Yuri Chornoivan
1d00c4bada Use an ellipsis in translation for Ukrainian 2020-06-10 17:26:03 +00:00
Guido Günther
281ccbd8e6 Show notification on missed calls
Closes: #153
2020-06-09 13:44:57 +02:00
Guido Günther
c3e6a444db tests: Disable atk bridge
Otherwise this can trigger test failures. Similar to what we
did in libhandy.

Fixes errors like:
---
G_DEBUG='gc-friendly,fatal-warnings' G_TEST_BUILDDIR='/home/purism/builds/calls/_build/tests' PYTHONDONTWRITEBYTECODE='yes' MALLOC_CHECK_='2' GSETTINGS_BACKEND='memory' G_TEST_SRCDIR='/home/purism/builds/calls/tests' /home/purism/builds/calls/_build/tests/manager
--- stderr ---

(/home/purism/builds/calls/_build/tests/manager:10212): dbind-WARNING **: 12:01:50.237: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
-------
2020-06-08 09:46:58 +00:00
Guido Günther
ecca21b0ed ringer: Use libfeedback
This triggers e.g. haptic feeback as well and can later on be used
for LED feedback.

We can drop the audio theme setting completely since feedbackd picks up
the global GNOME setting.

Since feedbackd currently does not cancel gsound's via a cancellable
this might make the phone ring a bit too long atm but that will be fixed
on the feedbackd side
(https://source.puri.sm/Librem5/feedbackd/-/issues/10)
2020-06-05 16:42:24 +02:00
Guido Günther
1fcc5f585e debian: Build-depend on libfeedback-dev 2020-06-05 16:37:01 +02:00
Guido Günther
f96ad96b3f ringer: Make more functions static 2020-06-05 16:37:01 +02:00
Guido Günther
f7185ea70e build: Specifify glib versions
This avoids deprecation warnings due to GTimeVal used in
libebook-contacts.h

See https://tecnocode.co.uk/2019/08/24/gtimeval-deprecation-in-glib-2-61-2/

It's already fixed in newer eds so we can drop
this once we move to a newer stack.
2020-06-05 16:36:32 +02:00
Guido Günther
09cbdf4181 calls-call-record-row: Ref the returned contact
calls_contacts_lookup_phone_number is transfer-none
2020-06-05 14:59:37 +02:00
Guido Günther
fb73046e71 calls-contacts: Document lookup_phone_number
This makes sure we have clear ownership rules
2020-06-05 14:59:37 +02:00
Scott Anecito
09da409a2d po: Add ja.po to LINGUAS 2020-06-02 10:34:08 +02:00
Scott Anecito
4f1c2db846 po: Add Japanese translation 2020-06-02 10:33:43 +02:00
Rafael Fontenelle
449f254616 Add Brazilian Portuguese translation 2020-06-02 08:14:32 +00:00
Mohammed Sadiq
ba00b174f9 call-display: Use real ellipsis
See https://wiki.gnome.org/Design/OS/Typography
2020-05-31 19:24:25 +05:30