1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-17 16:05:36 +00:00
Commit graph

387 commits

Author SHA1 Message Date
Evangelos Ribeiro Tzaras
9a7a11c82c call-window: Improve readability of remove_call function
The casual reader might be tricked into believing CallsCallSelectorItem would
leak here, which was not actually the case.

(cherry picked from commit 2fc5533e1a)
2021-10-30 19:14:40 +02:00
Evangelos Ribeiro Tzaras
90b105f45d call-window: Remove unnecessary code
As the "visible-child-name" from main_stack and header_bar_stack is already
bidirectionally bound.

(cherry picked from commit d7d97e8f67)
2021-10-30 19:14:40 +02:00
Evangelos Ribeiro Tzaras
53b645cf52 number-query: Fall back to string comparison if parsing EPhoneNumber fails
Fixes #345

(cherry picked from commit 4593a82b21)
2021-10-28 14:02:14 +02:00
Evangelos Ribeiro Tzaras
7d4e44f91b Let provider plugin decide whether to automatically hang up secondary calls
Revert "manager: hang up secondary calls"

This reverts commit 94345e0916 and moves that
functionality to the ModemManager plugin.

Fixes #290

(cherry picked from commit 94d730c3ed)
2021-10-28 14:02:14 +02:00
Evangelos Ribeiro Tzaras
d12537dd28 new-call-box: Clarify accessible name
(cherry picked from commit 28516cda32)
2021-10-22 05:27:20 +02:00
Evangelos Ribeiro Tzaras
8886ee0a3f application: Reword description for the -p flag
Closes #338

(cherry picked from commit a2df022606)
2021-10-22 05:27:20 +02:00
Evangelos Ribeiro Tzaras
29266afacc selector-item: Name label does not need to be translatable
The code will set a name here, so the label as in the ui file will never be
shown in the running application.

Closes #338

(cherry picked from commit b36725c69b)
2021-10-22 05:27:20 +02:00
Evangelos Ribeiro Tzaras
f3ddb0a177 i18n: main-window: Clarify "Recent" to mean the call history
Closes #338

(cherry picked from commit 386cb3e906)
2021-10-22 05:27:20 +02:00
Evangelos Ribeiro Tzaras
e5b617d218 i18n: notifier: Use comment to clarify if a name or number is meant
Closes #338

(cherry picked from commit 2bfecf1249)
2021-10-22 05:27:20 +02:00
Evangelos Ribeiro Tzaras
1cb67f8073 record-row: Take timezone into account for displaying in the UI
Since the database uses UTC times we have to take the timezone offset into
account when displaying times in the UI.

Fixes #163

(cherry picked from commit 57ec06a6f5)
2021-10-22 05:27:20 +02:00
Evangelos Ribeiro Tzaras
4501c7eab0 record-store: Prefer using g_date_time_new_now_utc()
It actually does not make any difference for the storage in the database as
gom will make sure to convert any given times to the Zulu timezone (UTC+0)
but this change will make it more obvious in the code what's actually going on.

(cherry picked from commit 4f64f5b61b)
2021-10-22 05:27:20 +02:00
Evangelos Ribeiro Tzaras
9aa374e094 record-row: Clarify "Call" for translators with a comment
Fixes #319

(cherry picked from commit 110dcdf4ad)
2021-10-22 05:27:20 +02:00
Evangelos Ribeiro Tzaras
46416a84a1 record-row: Right justify time
Fixes #336

(cherry picked from commit fbb6316fee)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
ca28f98066 Simplify country code handling
(cherry picked from commit 33ad4dbe86)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
a9ca5a3566 settings: Add GSettings bindings
(cherry picked from commit 04d391c5dd)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
432c7fd0d2 network-watch: Don't fail initialization when unable to fetch local IP
This would mean we're failing when Calls is started with all NICs not connected
or disabled. To make matters worse this would only be fixable by restarting
Calls.

(cherry picked from commit b5defda27f)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
d55b737fb9 network-watch: Only g_set_error if error is not NULL
(cherry picked from commit ab20b6b8e3)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
0380bc08eb network-watch: More descriptive warning
And make sure we're not continually spamming warnings.

Closes #330

(cherry picked from commit 4fc0a52873)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
ef7248d60c best-match: Don't free unowned data
Fixes #331

(cherry picked from commit 9d27d5bae6)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
46ddc22822 best-match: codestyle
(cherry picked from commit d9e5c6a252)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
ef84973a22 number-query: Take country code into account
Fixes #312

(cherry picked from commit bd045be4e4)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
6c4d433191 contact-box: Do not hardcode length of match_fields[]
(cherry picked from commit d936a4572d)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
bfb7e2696a new-call-box: Clear entry after dialing
Closes #332

(cherry picked from commit 528fb11dcd)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
eed45bd168 record-row: Reword accessible name
"party" in "Call the party" could lead to confusion.
Fixes #319

(cherry picked from commit b458f6f040)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
849e971199 application: Do not prepend country code when dialing
Fixes #176

(cherry picked from commit 1a14075945)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
f9cafbb6e1 application: Clarify that -l flag is to be used with numbers only
This will also help unifying handling of tel: URIs.

(cherry picked from commit 464f3a993e)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
3714f99d38 Introduce CallsNetworkWatch to notify of network changes
The libsofia-sip stack needs to bind to a specific interface when there are
multiple network interfaces available.
Handles should be recreated when the default route changes.
2021-09-02 09:17:12 +02:00
Evangelos Ribeiro Tzaras
876ffb1e8c new-call-box: Always update the UI when the list of origins changes
Otherwise this can lead to being stuck in numeric/non-numeric input mode.
2021-08-26 12:47:57 +00:00
Evangelos Ribeiro Tzaras
a85b9cd5c3 manager: Initialize g_auto variable to NULL 2021-08-25 11:06:32 +02:00
Evangelos Ribeiro Tzaras
9c777b7db8 new-call-box: Hide empty results
Because the empty result looks weird.
2021-08-19 01:46:59 +02:00
Evangelos Ribeiro Tzaras
b1c22e4310 new-call-box: Press enter to place a call
Connect to the "activate" signal and take appropriate action
for both numeric and non-numeric cases.
2021-08-19 01:44:06 +02:00
Evangelos Ribeiro Tzaras
a21bc475e4 new-call-box: Reindent 2021-08-19 01:35:47 +02:00
Evangelos Ribeiro Tzaras
da4c6b043a new-call-box: Add placeholder texts for text input fields 2021-08-14 20:46:11 +02:00
Evangelos Ribeiro Tzaras
2c06497b08 new-call-box: Tweak the UI
- Fills horizontally now
- Make sure the "dial" and "backspace" button are still properly aligned
  by using HdyClamp with the keypads typical size (rougly 250)
- Remove unnecessary default values from the xml
  (f.e. "can-focus" on GtkEntry or GtkButton)
2021-08-14 20:46:11 +02:00
Evangelos Ribeiro Tzaras
3779aa1062 new-call-box: Set numeric input property based on selected origin 2021-08-14 20:46:11 +02:00
Evangelos Ribeiro Tzaras
db848b2c9f new-call-box: Add entry for non-numeric inputs 2021-08-14 20:46:11 +02:00
Evangelos Ribeiro Tzaras
e9661ce01c new-call-box: Introduce numeric-input-only property
This property will show the keypad for numeric inputs (i.e. telephone numbers)
or an entry allowing arbitrary inputs for SIP or other protocols.
2021-08-14 20:46:11 +02:00
Evangelos Ribeiro Tzaras
c61d63383f new-call-box: Remove unnecessary GtkBox 2021-08-14 20:46:11 +02:00
Evangelos Ribeiro Tzaras
1312b2624c new-call-box: Remove unused GtkListStore 2021-08-14 20:46:11 +02:00
Evangelos Ribeiro Tzaras
179c844a80 calls-new-call-box: Only show origin combo box if there is a choice 2021-08-14 20:46:11 +02:00
Evangelos Ribeiro Tzaras
62711da7fc new-call-box: Simplify HdyComboRow binding 2021-08-13 02:13:27 +02:00
Evangelos Ribeiro Tzaras
c7731b189a origin: Add "numeric-addresses" property
This will be useful in the dialpad to determine whether we should allow
only numeric input or not.
2021-08-13 02:13:27 +02:00
Mohammed Sadiq
8af2563859 Add and use new logger
This helps provider better logs.  With this, the user can now run
with `-v` for verbose logs, use more `-v` to be more verbose,
eg `calls -vvvvv` log shall be very verbose
2021-08-11 09:38:19 +00:00
Guido Günther
a1fa33c7af notifier: Add notification category
This helps shells to adjust the kind of haptic/visual/audio
feedback for the notification.
2021-08-04 02:36:34 +00:00
Guido Günther
26f0c9cb01 calls-notifier: Set log domain 2021-08-04 02:36:34 +00:00
Mohammed Sadiq
fe84a02af2 history-box: Use content style for listbox
So as to match the design and less code to maintain
2021-08-03 12:42:46 +00:00
Mohammed Sadiq
47a7d58074 application: Fix handling commandline arguments
handle_local_options() are supposed to be handled only in local instance,
and not in remote instance.
2021-07-30 00:12:50 +00:00
Evangelos Ribeiro Tzaras
9d9e989be4 secret-store: Work around bug in gnome-keyring preventing keyring unlocking
When a keyring is cold (unlocked) the schema is set as
"org.freedesktop.Secret.Generic". If we require the name to strictly match
while searching we won't ever get a match.

See https://gitlab.gnome.org/GNOME/gnome-keyring/-/issues/89 and
https://gitlab.gnome.org/GNOME/libsecret/-/issues/7 for more information

Closes #316
2021-07-21 17:30:51 +02:00
Evangelos Ribeiro Tzaras
241909c942 main-window: Fix the action name for the about dialog 2021-07-20 10:18:03 +02:00
Evangelos Ribeiro Tzaras
373465cc2c about: Update copyright 2021-07-20 10:18:03 +02:00