1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-14 12:25:37 +00:00
Commit graph

1900 commits

Author SHA1 Message Date
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
Mohammed Sadiq
8f9c683158 main-window: Don’t set program-name in about dialog
program-name will be retrieved with g_get_application_name().
Let’s not do it explicitly so that there is one less string
to translate
2020-05-31 19:18:52 +05:30
Guido Günther
89c91c8271 po: Update pot file
Update the pot file after marking many strings as not needing
translation.
2020-05-29 13:11:44 +00:00
Guido Günther
956916ae1f Drop translations from property names and descriptions
They're never used anywhere.

Closes: #155, #121
2020-05-29 13:11:44 +00:00
Guido Günther
0b35ca102a po: Add plugins to POTFILES.skip
They're not meant to be translated
2020-05-28 11:19:27 +02:00
Valéry Febvre
50a8e79cc7 po: Add French translation 2020-05-27 11:37:46 +02:00
Daniel Șerbănescu
8dc742adc4 po: Add Romanian translation 2020-05-27 11:07:05 +02:00
Antonio Pandolfo
d02c85b045 po: Add Italian translation 2020-05-27 10:11:38 +02:00
Zander Brown
22537ce5bd
po: Add British English translation 2020-05-23 18:00:44 +01:00
Guido Günther
30a4bee445 debian: Add gbp.conf
This makes correct taging so much simpler
2020-05-18 16:15:10 +02:00
Guido Günther
e9c9bf65ff Document changes and release 0.1.5 2020-05-18 11:01:43 +02:00
Yuri Chornoivan
060ddac0fc po: Add Ukrainian translation 2020-05-16 15:56:44 +03:00
Sebastian Rasmussen
6235ec00e3 po: Add Swedish translation 2020-05-16 12:29:20 +02:00
Danial Behzadi
b45c75399a po: fa: Update some strings 2020-05-16 12:29:15 +02:00
Evangelos Ribeiro Tzaras
31fa887f04 Build "ugly code" in calls-call-display conditionally
* meson_options.txt: Added option librem5-hack, defaults to true
* src/meson.build: Added conditional define USE_UGLY_CODE which will be
  set when librem5-hack option is used
* src/calls-call-display.c: ifdef'ed ugly_hacks call
2020-05-15 22:59:00 +02:00
Evangelos Ribeiro Tzaras
f6db8cb5ba data: Clarify metainfo copyright to be CC0-1.0
Adust debian/copyright accordingly.
2020-05-15 16:49:23 +02:00
David Heidelberg
b95cccd510
data: rename appdata to metainfo
Appstream nowadays prefers `.metainfo.xml`:
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html
2020-05-13 11:34:55 +02:00
Guido Günther
11cc1a219a Build against Debian bullseye 2020-05-12 10:49:44 +00:00
Danial Behzadi
e08d52cfc0 Add Persian 2020-05-12 09:37:26 +00:00
Guido Günther
d18bd0fc66 Update POTFILES.in
See: #146
2020-04-10 12:25:18 +02:00
Julian Sparber
b9e1aef601
Release Calls 0.1.4
Signed-off-by: Julian Sparber <julian@sparber.net>
2020-04-02 11:06:00 +02:00
Julian Sparber
0b44f6471f
History: Make avatars 48px big
Signed-off-by: Julian Sparber <julian@sparber.net>
2020-03-31 16:31:38 +02:00
Julian Sparber
4f03ab0441
History: use HdyAvatar
This disables the custom avatar. It will be added back later.

Signed-off-by: Julian Sparber <julian@sparber.net>
2020-03-31 16:31:38 +02:00
Julian Sparber
63e5bc8504
Add HdyAvatar
Signed-off-by: Julian Sparber <julian@sparber.net>
2020-03-31 12:00:18 +02:00
Julian Sparber
a9bd1ebae6 MainWindow: show error message when making calls isn't possible 2020-03-30 15:00:06 +00:00
Julian Sparber
f63936d772
HistoryBox: remove new-call property
The property wasn't removed correctly in f1f848c5f3

Signed-off-by: Julian Sparber <julian@sparber.net>
2020-03-30 11:35:58 +02:00
Julian Sparber
f603f5be51
Remove Enumerate and EnumerateParams class
This classes where fully replaced by Manager
2020-03-27 12:05:35 +01:00
Julian Sparber
1a2c2f3036
RecordStore: Use Manager 2020-03-27 12:05:34 +01:00
Julian Sparber
3d4b547d04
Ringer: Use Manager 2020-03-27 12:05:34 +01:00
Julian Sparber
c5cb1a97ed
Ringer: fix parent instance 2020-03-27 12:05:34 +01:00
Julian Sparber
5828fad63b
CallWindow: use Manager
As a side effect this removes also the disconnect message when a call
ends.
Fixes: https://source.puri.sm/Librem5/calls/issues/119
2020-03-27 12:05:33 +01:00
Julian Sparber
ffa3e724dd
Use CallsManager in MainWindow and NewCallBox
This removes the status message at the end of the NewCallBox, since it
will be replaced by a permanent InfoBar.

As a side effect this removes also the disconnect message when a call
ends.
Fixes: https://source.puri.sm/Librem5/calls/issues/119
2020-03-27 12:05:33 +01:00
Julian Sparber
3e138eeccd
Manager: add test 2020-03-27 12:05:33 +01:00
Julian Sparber
9055724f33
Add a CallsManager and move Provider handling to it
The manager is a central place for handling data e.g. calls history and
provider managment.

This introduces only the base for feature work. Therefore it manages
only the provider for now, but the manager isn't yet used anywhere.

The propagets events from the provider and origins. It also adds a new
signal called `error`. The `error` signal should be emited only when
something went wrong and we need to inform the user about it, containing
the message to be displayed to the user. Windows should connect to the
event and display a in-app-notification on error. This event isn't
emitted, because the plugins don't give us a usable error.
2020-03-27 12:05:32 +01:00