Commit graph

21241 commits

Author SHA1 Message Date
Jonas Ådahl
06efa4906e sharing/remote-desktop: Hook up to explicit enable setting
Enabling the service isn't enough, one also needs to enable the relevant
backend.
2022-02-26 18:19:14 +00:00
Jonas Ådahl
e8d574883a sharing/remote-desktop: Add copy buttons 2022-02-26 18:19:14 +00:00
Jonas Ådahl
1436dc8120 sharing/remote-desktop: Use systemd directly to manage service
This means we no longer rely on gsd-sharing to disable/enable the remote
desktop service depending on the current connected network.
2022-02-26 18:19:14 +00:00
Jonas Ådahl
5829e397f2 sharing/systemd-service: Add is_active() helper
Checks whether a service is both enabled and running.
2022-02-26 18:19:14 +00:00
Jonas Ådahl
81d3d16a67 sharing/remote-login: Move systemd unit management into helper
This will make it possible to reuse elsewhere, including for user
services.
2022-02-26 18:19:14 +00:00
Jonas Ådahl
3631338676 sharing: Generate RDP TLS certificates when missing
This also hooks up the certificate verification dialog to the configured
TLS certificate.
2022-02-26 18:19:14 +00:00
Jonas Ådahl
2f298c1cb2 sharing/tls: Change expiration timeout to 2 years
It was 5 years; shorten it to 2 years.
2022-02-26 18:19:14 +00:00
Jonas Ådahl
5eb46ec1b7 sharing: Add TLS certificate generation implementation
This copies TLS certificate generation implementation from
https://gitlab.gnome.org/chergert/bonsai. No changes were made other
than ones required for making it build as part of gnome-control-center's
sharing panel. It's currently not suitable to depend on libbonsai, as it
will likely see big changes before seeing a release.
2022-02-26 18:19:14 +00:00
Felipe Borges
0ae59467fb sharing: Port Screen Sharing dialog to RDP
Also following the guidelines at
https://gitlab.gnome.org/Teams/Design/settings-mockups/-/raw/master/remote-desktop/remote-desktop.png

Fixes #1413
2022-02-26 18:19:14 +00:00
Piotr Drąg
abbf8f0734 Update POTFILES.in 2022-02-26 13:19:11 +01:00
Dor Askayo
9401881a38 common: Add a missing dependency on cc-common-resources.h
cc-common-resources.h is used by both libwidgets and liblanguage, and
so must be generated before they build. However, Meson wasn't aware
of this dependency which resulted in a race condition during build.

Conveniently, "generates_sources_dep" already contains other generated
sources used by these two libraries, so adding cc-common-resources.h
to this list is enough to declare the dependency.
2022-02-25 16:10:58 +00:00
Brandon Nielsen
18b7f6f026 Simplify callback logic in ppd_selection_cb.
This ensures user_callback does not get called twice when cancelling out
of the ppd selection dialog. Fixes #1599, introduced with 179bda1b / MR: 1011.
2022-02-25 11:44:14 +00:00
Hugo Carvalho
a0845c4eaf Update Portuguese translation 2022-02-24 18:53:46 +00:00
Ana Cabral
43bb1d9200 network: Fix OWE settings
Enhanced Open (OWE) is not being saved properly from connection-editor.
When we create a Wi-Fi connection using Enhanced Open (OWE) Security
from nm-connection-editor and save it, it was not being saved and the
security was being set as "None", with Wireless Security Setting
being discarded. This is fixed by this commit. The fix is also being
done in libnma (implementing OWE in libnma,
https://gitlab.gnome.org/GNOME/libnma/-/issues/9), but this commit
fixes meanwhile it gets ready.

It was solved by adding treatment for the case in which owe was set.
OWE is not treated anymore in the same case as None.

https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1521
2022-02-24 12:56:43 +01:00
Daniel Mustieles
55a9ee1511 Updated Spanish translation 2022-02-24 12:52:42 +01:00
Bastien Nocera
cbdb489fc4 build: Check run_command() return value
As recommended by newer versions of meson:
WARNING: You should add the boolean check kwarg to the run_command call.
         It currently defaults to false,
         but it will default to true in future releases of meson.
         See also: https://github.com/mesonbuild/meson/issues/9300
2022-02-24 10:14:05 +01:00
Luming Zh
d75b46b71b Update Chinese (China) translation 2022-02-23 18:38:06 +00:00
Felipe Borges
28edca0f16 sound: Connect to "clicked" signal for the sound alert buttons
The sound alert buttons are grouped GtkToggleButtons, and for some
reason they won't get activated in the right order when tapping to
the "toggled" event. Connecting to "clicked" makes the signal order
emission correctly.

Fixes #1655
2022-02-23 11:17:50 +01:00
Yosef Or Boczko
ee4a5e4635 Update Hebrew translation 2022-02-22 20:17:14 +00:00
Marek Kasik
f7bd51e812 printers: Remove authentication-dialog.ui
The dialog was removed in 2016 but we forgot to remove the UI file.

Fixes #1650
2022-02-22 12:44:12 +01:00
Jordi Mas
14e690f9c1 Update Catalan translation 2022-02-22 07:40:46 +01:00
Yaron Shahrabani
2b58b47fda Update Hebrew translation 2022-02-21 14:28:48 +00:00
Jordi Mas
e70d9e205e Update Catalan translation 2022-02-20 20:25:59 +01:00
Quentin PAGÈS
052e274121 Update Occitan translation 2022-02-20 18:33:24 +00:00
Aurimas Černius
7b9a723c68 Updated Lithuanian translation 2022-02-20 15:21:58 +02:00
Danial Behzadi
cd7f67a183 Update Persian translation 2022-02-20 11:36:05 +00:00
Alan Mortensen
86fda01fd9 Updated Danish translation 2022-02-19 18:37:09 +01:00
Andre Klapper
1042f538d7 Fix invalid markup in Bulgarian UI translation 2022-02-18 23:11:15 +01:00
Aleksandr Melman
33bac7fcf2 Update Russian translation 2022-02-18 19:31:35 +00:00
Kukuh Syafaat
0727474539 Update Indonesian translation 2022-02-18 02:10:42 +00:00
Bastien Nocera
0947ae2557 power: Fix scenario tester running upowerd under jhbuild
A logic error meant that the systemd upowerd would always be used.
2022-02-17 14:55:13 +00:00
Jordi Mas
e19d64a5fb Update Catalan translation 2022-02-16 19:56:36 +01:00
Emin Tufan Çetin
b23bea4f99 Update Turkish translation 2022-02-16 18:26:57 +00:00
Hugo Carvalho
26578110f3 Update Portuguese translation 2022-02-15 22:17:46 +00:00
Hugo Carvalho
9dd96d78c8 Update Portuguese translation 2022-02-15 21:50:56 +00:00
Yosef Or Boczko
494f0d6bcb Update Hebrew translation 2022-02-15 20:57:04 +00:00
Georges Basile Stavracas Neto
cedb115d26 42.beta 2022-02-15 17:37:52 -03:00
Fran Dieguez
1c9cb2d171 Update Galician translation 2022-02-15 20:16:23 +00:00
Georges Basile Stavracas Neto
dddd3f62c3 display: Box Night Light temperature vertically
Instead of being in the horizontal end of the row, move
the temperature scale to a second row.

Related: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1587
2022-02-15 19:35:18 +00:00
Georges Basile Stavracas Neto
8b05bc91d3 display: Remove labels from Night Light temperature scale
As per mockups.
2022-02-15 19:35:18 +00:00
Mohammed Sadiq
8dc39c8831 wwan: Remove a never reached code
Since we return early, the code followed is never run.
Also, the password for GSM APNs are not actually sensitive
secrets.  So Remove the lines that are never reached.
2022-02-15 16:34:30 +00:00
Alessandro Bono
10489fb208 net-vpn: Don't append VPN in the title of the editor dialog
We don't do anything similar for other connections editors (wired and WiFi).
We alredy know that we are modifying a VPN, no need to repeat ourself.
2022-02-15 14:42:13 +00:00
Alessandro Bono
ce1c00be5d net-vpn: Don't append VPN to each row
We don't do anything similar for other connections rows (wired and WiFi).
All the rows are VPNs. No need to repeat ourself.
2022-02-15 14:42:13 +00:00
Alexander Shopov
e262a87a44 Update Bulgarian translation 2022-02-15 14:40:28 +00:00
Pablo Correa Gómez
fcbe0c039b user-accounts: Try non TRANSLIT conversion if TRANSLIT conversion fails
This fixes a crash in musl-based systems, where TRANSLIT is not
implemented. I followed musl-maintainer recommendation[1] of doing
a run-time check to verify the behavior under these circumstances.

[1] https://github.com/akrennmair/newsbeuter/issues/364#issuecomment-250208235
2022-02-15 14:08:04 +00:00
Felipe Borges
1f693be757 user-accounts: Reset avatar widget when changing user pages
Otherwise the same source image is going to be used for other users
that don't have their own avatar image set.
2022-02-15 13:57:55 +00:00
Pablo Correa Gómez
c5ca6717e5 wwan: Make sure secrets are set when querying connection APN password
Otherwise the comparison in wwan_data_apn_are_same will always be False
due to nm_setting_gsm_get_password always returning NULL.

Helps #1468
Relates !1059
2022-02-15 13:46:48 +00:00
Hugo Carvalho
ede39f210a Update Portuguese translation 2022-02-15 13:44:13 +00:00
Alexander Shopov
dc8b0225ac Update Bulgarian translation 2022-02-15 13:44:01 +00:00
Alexander Shopov
ce9aaf20f7 Update Bulgarian translation 2022-02-15 13:43:15 +00:00