| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
This updates the auth dialog so that passwords are properly retrieved
(e.g. for the nm-applet). It also adds support for external UI mode and
properly handles secret flags.
|
|
|
|
| |
We already have this restriction in the auth-dialog.
|
|
|
|
|
|
| |
This is probably a good idea to do to signal there's significant changes in
dependencies to the distro package maintainers with libnm port and associated
changes.
|
|
|
|
| |
It's been released years ago; we depend on newer stuff than that now.
|
|
|
|
|
|
|
|
| |
libgnomeui is long deprecated.
There's one functional difference: the choice to save the passwords is gone.
The password flags and saved password should be set in the preferences dialog,
but this commit does not fix that.
|
|
|
|
|
| |
Hiding and showing the items is not ideal, since it leaves the spacing
in place and the layout gets really messy.
|
|
|
|
|
|
|
|
|
| |
It was only possible to set the password from the authentication dialog,
which is not ideal; as it requires a connection attempt.
This adds an input entry along with a primary icon from libnma/libnm-gtk
which allows selecting the backend and flags for the password (system, session
agent, always ask or empty).
|
| |
|
|
|
|
|
| |
libnm replaces libnm-glib. This will make sense with port to libnm and is done
to reduce line noise in that commit.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
They're both the same now. We'll port the new one to libnm in follow-up commits.
NetworkManager 1.2 (which is currently versioned as 1.1.0) is going to bring
some new ABI while still supporting the old one. There's new VPN service and
UI plugin APIs in libnm.
There's one difficulty though -- the connection editor 1.2 will be linked
against libnm and a new libnma library it will provide (as opposed to
libnm-glib and libnm-gtk), thus will be incapable of loading of property
plugins that are linked with the old libraries (due to glib type system
limitations).
However, we must not break support for other connection editors (GNOME control
center, older versions of nm-connection-editor, etc.) therefore we need
to build two versions of the property plugin. NetworkManager 1.2's libnm will
provide a shim that makes it easy.
|
| |
|
|
|
|
| |
Fixes #1013.
|
|
|
|
| |
The former is deprecated and the newer API is nicer anyway.
|
|
|
|
| |
PKG_CHECK_MODULES does the substitutions.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's the preferred location for system-provided plugins.
A compatible file in /etc is still kept. Also, the compatibility /etc
file needs to use a full path due to a bug in GNOME Shell.
The full path to a arch-dependent file in a supposedly arch-independent
file is a sin and a multilib violation in some distributions. However.
some pre-release versions of NetworkManager-1.2 as shipped by
distributions require a full path. Let's keep a configure-time option
for that.
|
| |
|
| |
|
|
|
|
| |
It's needed for useful use of charon-nm, unlike the GUI.
|
|
|
|
|
|
|
| |
This will ensure the strongSwan NetworkManager plugin will be easily
installable from the app stores such as GNOME Software.
Closes strongswan/strongswan#41.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
When certificates are imported via Storage Access Framework we did handle
the selection directly in onActivityResult(). However, at that point the
activity might apparently not yet be resumed. So committing
FragmentTransactions could result in IllegalStateExceptions due to the
potential state loss. To avoid that we cache the returned URI and wait
until onPostResume() to make sure the activity's state is fully restored
before showing the confirmation dialog.
|
| |
|
|
|
|
|
| |
In the profile editor the password is now marked as optional in the
label, which looks a bit strange in the login dialog.
|
| |
|
|
|
|
| |
This also readds the colons that were removed from the labels.
|
| |
|
| |
|
|
|
|
|
| |
Duplicates (e.g. with different types) are filtered. If necessary we
could later perhaps add a prefix.
|
|
|
|
|
| |
This makes it easy to explicitly use the server's IP/hostname as remote
identity or use it in the profile name.
|
| |
|
| |
|
|
|
|
|
| |
This adds floating labels and helper texts to the form fields. It also
changed/added lots of strings in the editor.
|
|
|
|
|
|
| |
the text field
Also hides the error message if the text is changed.
|
| |
|
| |
|
|
|
|
|
|
| |
We still default to the username or subject DN if none is configured.
But we don't check if the local ID is contained in the configured
certificate.
|
|
|
|
|
|
|
|
| |
If one is explicitly set we don't use loose identity matching and send it as
IDr to the server.
Closes #strongswan/strongswan#29.
Fixes #1268.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
onSaveInstanceState is apparently called after pausing the fragment and after
that committing any FragmentTransactions causes an IllegalStateException.
We could use commitAllowingStateLoss() but that's not really necessary
as we don't need to update when we are not active anyway. We also don't
update the view directly after registration as this happens
asynchronously, i.e. we might be paused when it finishes.
|
|
|
|
|
|
| |
In case this doesn't work out we could probably make it configurable.
References #1326.
|
| |
|
|
|
|
|
| |
Instead we use a ProgressBar directly in the fragment and use the
existing button to cancel the process.
|