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
Evangelos Ribeiro Tzaras
1f0ad8cf7c
about: Update authors
2021-07-20 10:18:03 +02:00
Evangelos Ribeiro Tzaras
c5e4c80a47
Introduce CallsSecretStore to store credentials
2021-07-20 10:17:17 +02:00
Evangelos Ribeiro Tzaras
803e089cfc
account-overview: Hook up available providers
...
Fixes #264 .
2021-07-20 10:17:17 +02:00
Evangelos Ribeiro Tzaras
fc7156fe75
Introduce CallsAccountOverview: A UI to allow managing VoIP accounts
...
CallsAccountOverview allows user to view, add and edit VoIP accounts
(currently SIP only).
Each CallsAccount is represented by a CallsAccountRow.
account-row: Staying alive
2021-07-20 10:17:17 +02:00
Evangelos Ribeiro Tzaras
fadeaeb6b5
main-window: Add menu button
...
This will be used to manage VoIP accounts (SIP), show the About dialog
and so on. We will leave this hidden for now.
2021-07-20 10:17:17 +02:00
Evangelos Ribeiro Tzaras
64bb170efa
account-provider: Repurpose to allow graphical credential editing
2021-07-20 10:17:17 +02:00
Evangelos Ribeiro Tzaras
d5bf31bdaf
manager: Temporarily hold a reference to provider being unloaded
2021-07-20 10:17:17 +02:00
Evangelos Ribeiro Tzaras
2b31a9677e
manager: Emit signal when loaded providers have changed
2021-07-20 10:17:17 +02:00
Evangelos Ribeiro Tzaras
cc3a562f03
manager: Add API to query loaded providers
2021-07-20 10:17:17 +02:00
Evangelos Ribeiro Tzaras
a638b64402
account: Add address property
2021-07-20 10:17:17 +02:00
Evangelos Ribeiro Tzaras
dd3fbf646e
account: Add API to query account state
2021-07-20 10:17:17 +02:00
Evangelos Ribeiro Tzaras
82ff6d0ac5
account: Use explicit notify for account state property
2021-07-20 10:17:17 +02:00
Evangelos Ribeiro Tzaras
babd013bd7
Remove CallsCredentials and adapt to changes
...
The provider knows best which credentials it needs and CallsCredentials
was not generic to begin with, so get rid of it.
2021-07-20 10:17:17 +02:00
Evangelos Ribeiro Tzaras
2af2b316ec
Various codestyle fixes
2021-07-20 10:17:17 +02:00
Adrien Plazas
d4ee8b4bc9
main-window: Fix the indentation
...
It was purposefully left broken to ease code review.
2021-07-16 08:43:43 +00:00
Adrien Plazas
f4f41d9db5
main-window: Make it a HdyApplicationWindow
...
This gives the window some nice rounded corners, and gives us more
freedom in how to implement the UI.
This purposefully leaves the indentation broken to ease code review, it
will be fixed in the next commit.
2021-07-16 08:43:43 +00:00
Guido Günther
f45ba43720
dbus: Add more DBus properties
...
These are needed to allow Phosh to handle incoming calls on
the locked screen.
2021-07-12 17:36:24 +02:00
Guido Günther
8bf320e006
Drop layer-surface
...
This drops the layer-surface code to put calls on top of the lockscreen.
This only works with wlroots based compositors and even there makes e.g.
unlocking the screen during a phone calls impossible.
2021-07-12 17:36:24 +02:00
Guido Günther
cad39e05ee
dbus-manager: Fix typo in log-domain
2021-07-12 17:33:12 +02:00
Evangelos Ribeiro Tzaras
69b919d7ab
DBus: Use org.gnome prefix and adapt to changes
...
In preparation to moving to GNOME all the IDs, DBus object paths, etc should
change.
2021-07-12 13:35:57 +00:00
Evangelos Ribeiro Tzaras
b74601f7c4
schema: Use org.gnome prefix and adapt to changes
...
In preparation to moving to GNOME all the IDs, DBus object paths, etc should
change.
2021-07-12 13:35:57 +00:00
Evangelos Ribeiro Tzaras
6e371d2f3f
resources: Use /org/gnome prefix and adapt to changes
...
In preparation to moving to GNOME all the IDs, DBus object paths, etc should
change.
2021-07-12 13:35:57 +00:00
Evangelos Ribeiro Tzaras
9f45e8b0a5
call-display: Ellipsize labels at the end
...
Fixes #283
2021-07-01 02:02:09 +02:00
Evangelos Ribeiro Tzaras
c293b7029d
best-match: Preliminary handling of SIP addresses
...
This does not perform any contact lookup, but instead introduces a benign
hack to be able to get something sensible when calling
`calls_best_match_get_name()` and avoids unnecessary warnings.
2021-07-01 02:01:32 +02:00
Evangelos Ribeiro Tzaras
fd45f04886
best-match: codestyle
2021-07-01 02:00:52 +02:00
Evangelos Ribeiro Tzaras
23e7fd3a60
manager: Don't use peas_engine_prepend_search_path
...
as it does not really "prepend" the search path.
See https://gitlab.gnome.org/GNOME/libpeas/-/issues/19
Closes #300
2021-06-29 14:47:03 +02:00
Evangelos Ribeiro Tzaras
e00b90d64e
application: settings: Add autoload-plugins setting
...
This setting will be used to define the provider plugins to be loaded on
application startup if calls has been invoked without `--provider`
2021-06-26 08:57:53 +02:00