Georges Basile Stavracas Neto
acd59aec65
Rename app-id to org.gnome.Settings
...
Rename the app-id to org.gnome.Settings since this is what
we've been calling it for many years now. Adjust all files
that derive from the app-id, such as the desktop file, D-Bus
service file names, search providers, GSettings schemas, to
match that.
Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/344
2022-01-21 13:08:50 +00:00
Georges Basile Stavracas Neto
efbad6eb50
network: Port to GTK4
...
Boy this was hard.
To ease the pain of porting wireless-security to GTK4, add
a new WsFileChooserButton class that mimics the behavior of
a button that triggers a filechooser, as per the migration
guide suggests.
There were lots of GtkGrids, so the diff is particularly
horrendous. Sorry.
This needs serious testing before landing.
2021-12-14 22:34:21 -03:00
Benjamin Berg
1decf825c1
network: Accept empty passwords if it is not saved
...
In that case, NM will use gnome-shell to prompt for the password. As
such, the form should validate no matter what password is set.
2021-02-01 03:29:02 +00:00
Benjamin Berg
e8df86411b
network: Pass NULL password if it is not saved for a secret key
...
This seems to be the right thing to do looking at the documentation for
nma_utils_menu_to_secret_flags.
2021-02-01 03:29:01 +00:00
Robert Ancell
bc6400a8d7
network: Fix SAE password visibility toggle.
...
Was trying to toggle the wrong widget.
2020-11-05 12:36:38 +13:00
Jonathan Kang
918838f567
network: complete SAE support
...
Added WirelessSecuritySAE class to fully implement SAE support.
2020-09-25 02:06:52 +00:00
Robert Ancell
6bb77ec1e2
network: Fix GError being overwritten
2020-01-31 14:13:15 +00:00
Robert Ancell
099b58a8c9
network: Remove constant password_flags_name property
2020-01-31 14:13:15 +00:00
Robert Ancell
a99cafbdb4
network: Simplify EapMethodSimple constructor
...
We don't need an enum and a lookup table, just send the string directly.
2020-01-31 14:13:15 +00:00
Robert Ancell
37f5c37261
network: Simplify autheap_allowed logic
...
Instead of checking later if this should be enabled, only enable it for methods
that can do it.
2020-01-31 14:13:15 +00:00
Robert Ancell
d168eee5cd
network: Remove WirelessSecurity constructor parameters that were never changed
2020-01-31 14:13:15 +00:00
Robert Ancell
4bc58cac44
network: Remove EAP constructor parameters that were never changed
2020-01-31 14:13:15 +00:00
Robert Ancell
7d9d4d4289
network: Convert WirelessSecurity objects into GtkTemplates
2020-01-31 14:13:15 +00:00
Robert Ancell
d4ec8a570b
network: Convert WirelessSecurity into an interface
2020-01-31 14:13:15 +00:00
Robert Ancell
b964283fb0
network: Refactor how username/passwords are retained when switching EAP methods
...
This was previously done by storing the value inside the WirelessSecurity class.
This stopped the subclasses from becoming Gtk widgets.
The "always_ask" code was removed as it didn't seem to actually retain when
switching. This might need to be fixed at a later time.
2020-01-31 14:13:15 +00:00
Robert Ancell
7f4eaf5eec
network: Remove unused parameter
2020-01-31 14:13:15 +00:00
Robert Ancell
cec32ae47e
network: Fix type in EAPMethod interface
2020-01-31 14:13:15 +00:00
Robert Ancell
acc8aff5d0
network: Remove certificate helper function
...
It didn't really save any code.
2019-11-27 22:05:46 +00:00
Robert Ancell
63c3f3e0a4
network: Add a changed signal to EAPMethod
...
This stops us emitting the signal on the parent object directly
2019-11-27 22:05:46 +00:00
Robert Ancell
e6b91c7a5d
network: Remove wired checks from dynamic WEP code
...
This widget is only used for wireless networks.
2019-11-27 22:05:46 +00:00
Robert Ancell
3657a4e602
network: Simplify dynamic WEP and EAP auth widgets
2019-11-27 22:05:46 +00:00
Robert Ancell
bd7491bc5c
network: Move common code to common location
...
Remove duplicate header file for these functions
2019-11-27 22:05:46 +00:00
Robert Ancell
f63ac35b41
network: Remove unnecessary nm-default.h
2019-11-27 22:05:46 +00:00
Robert Ancell
8bcc2f811a
network: Move helper function with other helper code
2019-11-27 22:05:46 +00:00
Robert Ancell
f75affbfe0
network: Copy shared functions into the two cases it is used
...
This does increase duplication, but should be reduced in following refactoring.
2019-11-27 22:05:46 +00:00
Robert Ancell
d689224941
network: Simplify helper function
...
This will allow us to remove ws_802_1x_fill_connection in a following commit.
2019-11-27 22:05:46 +00:00
Robert Ancell
c8231a5099
network: Simplify TTLS inner auth widgets
2019-11-27 22:05:46 +00:00
Robert Ancell
90c190dd5c
network: Simplify PEAP inner auth widgets
2019-11-27 22:05:46 +00:00
Robert Ancell
e450543a6a
network: Simplify FAST inner auth widgets
2019-11-27 22:05:46 +00:00
Robert Ancell
20097e2cbe
network: Simplify helper function
...
The function took internal details of the few classes that were using it.
2019-11-27 22:05:46 +00:00
Robert Ancell
748a508640
network: Make EAP widgets not visible by default
...
This makes them more consistent with other widgets.
2019-11-27 22:05:46 +00:00
Robert Ancell
737e5829d6
network: Move private defines out of public header
2019-11-27 22:05:46 +00:00
Robert Ancell
f806854560
network: Remove a helper function
...
This makes more sense to be in the two cases it is used. It should be refactored away in the future.
2019-11-27 22:05:46 +00:00
Robert Ancell
131e89e690
network: Split up a combined setter into multiple methods
2019-11-27 22:05:46 +00:00
Robert Ancell
e5ae62a6a3
network: Convert WirelessSecurity property to a virtual method
2019-11-27 22:05:46 +00:00
Robert Ancell
125d971ebe
network: Replace a callback with a signal
2019-11-27 22:05:46 +00:00
Robert Ancell
3d06da2d30
network: Convert WirelessSecurity into a GObject
2019-11-27 22:05:46 +00:00
Robert Ancell
4b182dd7c0
network: Move GtkBuilder code from WirelessSecurity to subclasses
2019-11-27 22:05:46 +00:00
Robert Ancell
0f1cff9130
network: Convert EAPMethod classes to GtkTemplates
2019-11-27 22:05:46 +00:00
Robert Ancell
5006342308
network: Convert EAPMethod to an interface and make the subclasses GObjects
2019-11-27 22:05:46 +00:00
Robert Ancell
426896b7a2
network: Move EAPMethod property to a virtual method
2019-11-27 22:05:46 +00:00
Robert Ancell
2e8226a09c
network: Move EAPMethod property to a virtual method
2019-11-27 22:05:46 +00:00
Robert Ancell
113bead879
network: Move GtkBuilder code from EAPMethod to subclasses
2019-11-27 22:05:46 +00:00
Robert Ancell
b936955ff3
network: Access widgets via a virtual method, not the GtkBuilder IDs
2019-11-27 22:05:46 +00:00
Robert Ancell
5c3fd6417c
network: Add a method to stop a class peeking inside the GtkBuilder object of another
2019-11-27 22:05:46 +00:00
Robert Ancell
6d35ec3160
network: Fix up header includes
2019-11-27 22:05:46 +00:00
Robert Ancell
71785b9109
network: Make a method private
2019-11-27 22:05:46 +00:00
Robert Ancell
0478abe46c
network: Remove unused hotspot_compatible property
2019-11-27 22:05:46 +00:00
Robert Ancell
08b922f09d
network: Merge public method that is only used internally once
2019-11-27 22:05:46 +00:00
Robert Ancell
13211f9f4d
network: Remove unused variable
2019-11-27 22:05:46 +00:00