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

1875 commits

Author SHA1 Message Date
Evangelos Ribeiro Tzaras
01b214c5fb sip: origin: Don't mix code and declarations
Move (and reorder) declarations to avoid warnings triggered by
-Wdeclaration-after-statement

Closes #459
2022-06-14 17:48:43 +00:00
Evangelos Ribeiro Tzaras
7847c72560 sip: origin: Codestyle 2022-06-14 17:48:43 +00:00
Chris Talbot
e91d6258ad calls-ui-call-data: change DELAY_UI_MS to 100 ms
15 ms does not seem to be enough time for phosh-antispam to be able
to hang up before the incoming call screen shows up. In my experiement,
90 looks to be the minimum time needed for the incoming call to not show up.

I put it to 100 ms just to be safe.
2022-06-11 18:56:46 -04:00
Daniel Șerbănescu
70edd671fb Update Romanian translation 2022-06-11 09:41:04 +00:00
Evangelos Ribeiro Tzaras
35eebcbfe7 debian: Install manpage 2022-06-08 08:25:36 +00:00
Evangelos Ribeiro Tzaras
8cb6c3e5a9 flatpak: Don't build manpage 2022-06-08 08:25:36 +00:00
Evangelos Ribeiro Tzaras
6738962073 meson: Build manpage with rst2man
Closes #457
2022-06-08 08:25:36 +00:00
Evangelos Ribeiro Tzaras
c86df0f564 ci: Update debian bookworm image for rst2man 2022-06-08 08:25:36 +00:00
Evangelos Ribeiro Tzaras
73109fb235 Add python3-docutils as build dependency
We want to use rst2man for generating manpages.
2022-06-08 08:25:36 +00:00
Evangelos Ribeiro Tzaras
0d6ceca324 doc: Add manpage as reStructuredText 2022-06-08 08:25:36 +00:00
Piotr Drąg
8c777ea2e6 Update Polish translation 2022-06-05 13:53:41 +02:00
eladyn
fec3451cd0 sip: origin: Honor preferred codecs for incoming calls
This enables proper negotiation of the codec when answering calls, which
previously also responded with codecs that were not part of the users
preferred ones.

Fixes: #413
2022-06-02 09:07:01 +00:00
Evangelos Ribeiro Tzaras
b713141384 README: Update section on debugging 2022-06-02 01:39:48 +02:00
Evangelos Ribeiro Tzaras
1e44ae56d3 Fix version bumpage
Next version will still be "43~alpha.2" (not "43~beta.0").
2022-06-01 19:33:56 +02:00
Yosef Or Boczko
e65dff27bd Update Hebrew translation 2022-06-01 09:50:30 +00:00
Anders Jonsson
bf8bb941bc Update Swedish translation 2022-05-31 19:27:35 +00:00
Danial Behzadi
42b0cebce4 Update Persian translation 2022-05-31 13:28:59 +00:00
Yuri Chornoivan
143617bd9f Update Ukrainian translation 2022-05-31 12:16:18 +00:00
Yuri Chornoivan
a98cd6a802 Fix minor typo 2022-05-31 07:47:45 +00:00
Evangelos Ribeiro Tzaras
fc10a1ce71 Post release bump 2022-05-30 11:25:40 +02:00
Daniel Șerbănescu
3a9eca94b6 Update Romanian translation 2022-05-28 08:43:48 +00:00
Vittorio Monti
33c3eb9c83 Update Italian translation 2022-05-27 14:57:24 +00:00
Yuri Chornoivan
acae5c6a37 Update Ukrainian translation 2022-05-26 11:42:13 +00:00
Piotr Drąg
a7bca032fe Update POTFILES.in 2022-05-26 12:46:53 +02:00
Evangelos Ribeiro Tzaras
138f882643 Document and release 43.alpha.1 2022-05-25 21:07:22 +02:00
Yuri Chornoivan
7b6575a309 Update Ukrainian translation 2022-05-25 04:26:23 +00:00
Evangelos Ribeiro Tzaras
50e7c87a4d sip: Store media encryption account preference to disk 2022-05-24 22:48:59 +02:00
Evangelos Ribeiro Tzaras
aeae044534 sip: account-widget: Add media encryption option
This option can only be set when the transport protocol is set to TLS or
the "always-allow-sdes" gsetting is used.
2022-05-24 22:48:59 +02:00
Evangelos Ribeiro Tzaras
30148cebe3 schema: Add setting allowing to use SDES
Key exchanges in SDES can only be done securely with TLS and the option
is disabled by default if not using TLS as the transport protocol.

This setting allows to override this behaviour if the user desires
it (f.e. if the user considers the network his packets go through to be trusted).
2022-05-24 22:48:59 +02:00
Evangelos Ribeiro Tzaras
1a51ce0e40 dbus-manager: Bind encrypted property 2022-05-24 22:48:59 +02:00
Evangelos Ribeiro Tzaras
be235189cc call: Add "encrypted" property
This property indicates whether a call is using encryption.
2022-05-24 22:48:59 +02:00
Evangelos Ribeiro Tzaras
e75e04fb4e sip: Allow specifying if media encryption is desired
A property of type SipMediaEncryption is added to both the origin and
the call which allows to state if we want the media session to be
encrypted with SRTP.

Logic is added to interact with the CallsSdpCryptoContext if encryption
is desired.
2022-05-24 22:48:56 +02:00
Evangelos Ribeiro Tzaras
0e57d31c1e sip: media-manager: Include crypto attributes for capabilities
The API is changed to accept a list of calls_srtp_crypto_attributes
which get inserted into the SDP line.
2022-05-24 22:30:03 +02:00
Evangelos Ribeiro Tzaras
14350a38ed sip: Add SDP crypto context class
Objects of this type keep track of SDP of the local and remote peers,
allow generating offers and answers and codify default policy used for
cryptographic parameters.
2022-05-24 22:30:03 +02:00
Evangelos Ribeiro Tzaras
a14b6bfbf5 sip: media-pipeline: Uncrustify struct members 2022-05-24 22:30:03 +02:00
Evangelos Ribeiro Tzaras
ea5b4f2895 sip: media-pipeline: Use cryptographic parameters
Allows setting up cryptographic parameters with
calls_sip_media_pipeline_set_crypto() and use them to set GstCaps for
GstSrtpDec and GObject properties for GstSrtpEnc
2022-05-24 22:30:03 +02:00
Evangelos Ribeiro Tzaras
4937723541 sip: Add srtp-utilities
These utilities aid in generating and parsing SDP crypto attributes to be used
during the offer/answer negotiation.
2022-05-24 22:30:03 +02:00
Evangelos Ribeiro Tzaras
5cd03a8a13 dbus-manager: Remove unused variables 2022-05-24 22:30:03 +02:00
Evangelos Ribeiro Tzaras
cfd0dc6e08 sip: account-widget: Warn when trying to find unknown protocol
A warning is more suitable than a simple debug message as this would be
considered a programming error.
2022-05-24 22:30:03 +02:00
Evangelos Ribeiro Tzaras
5a4fc20c6f Add editorconfig 2022-05-24 22:30:03 +02:00
Anders Jonsson
c33cee00e3 Update Swedish translation 2022-05-24 16:04:04 +00:00
Yuri Chornoivan
54439be532 Update Ukrainian translation 2022-05-24 14:06:50 +00:00
Evangelos Ribeiro Tzaras
ef56c8f51c sip: account-widget: Include option for automatically connecting
Fixes #438
2022-05-24 11:55:52 +00:00
Evangelos Ribeiro Tzaras
47d252eb8b sip-origin: Notify on account property updates
The UI does not have a chance to react otherwise.
2022-05-24 11:55:52 +00:00
Evangelos Ribeiro Tzaras
c1be092dea account-widgets: Make row activatable
This brings us closer to the intended design and let's us get rid of
some code.
2022-05-24 11:55:52 +00:00
Evangelos Ribeiro Tzaras
f102fb3fcd account-widgets: Conform to style
Closes #396
2022-05-24 11:55:52 +00:00
Evangelos Ribeiro Tzaras
4714aea068 sip: origin: Don't treat DNS failures as errors
No need to g_warning() for this.
2022-05-24 11:55:52 +00:00
Evangelos Ribeiro Tzaras
46ff807f6b sip: origin: Always notify state changes when relevant to the UI
by adding functions to the public API which determine if state changes
should be shown to the user and use them (instead of duplicating similar
logic).
2022-05-24 11:55:52 +00:00
Evangelos Ribeiro Tzaras
41479eea09 account-row: Use delayed state changes for GtkSwitch
When trying to go online/offline we're always waiting for confirmation
from the stack (even if it's a timeout) so the delayed pattern is a good choice.
2022-05-24 11:55:52 +00:00
Evangelos Ribeiro Tzaras
0605582fc7 sip: origin: Notify on state change
The account state has G_EXPLICIT_NOTIFY but we did never notified.
2022-05-24 11:55:52 +00:00