NetworkManager/libnm-core
Thomas Haller cd025f05f7 libnm: normalize connections in nm_simple_connection_new_from_dbus()
Before we would just call verify() and only return valid connections
without attempting to fix them.

It is better to use normalize(), because that function is especially there to
accept and repair deprecated configurations that would no longer verify().

This changes behavior in the way that the function now accepts connections
that would have been rejected before.

Since commit b88715e05b normalize() also
adds a missing UUID. Hence this also affects the DBUS method 'AddConnection'
in that it now accepts connections without UUID. Previously, clients were
required to set a UUID for the new connection, now NM core can create a random
one if no UUID is set.

https://bugzilla.gnome.org/show_bug.cgi?id=740813
2014-12-05 11:04:20 +01:00
..
tests libnm: normalize connections in nm_simple_connection_new_from_dbus() 2014-12-05 11:04:20 +01:00
crypto.c libnm/crypto: fix uninitialized variable in crypto_md5_hash() 2014-12-04 16:24:05 +01:00
crypto.h libnm-core: relax restrictions on input arguments for crypto_md5_hash() 2014-12-04 08:39:54 -05:00
crypto_gnutls.c libnm-core: call crypto_init() on the fly 2014-12-04 08:39:54 -05:00
crypto_nss.c libnm-core: call crypto_init() on the fly 2014-12-04 08:39:54 -05:00
Makefile.am libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
Makefile.libnm-core libnm-core, all: merge IPv4 and IPv6 address/route types 2014-11-07 07:49:40 -05:00
nm-connection-private.h libnm-core: make nm_setting_verify() take an NMConnection 2014-10-28 17:17:17 -04:00
nm-connection.c libnm: normalize missing connection UUID 2014-12-04 17:02:22 +01:00
nm-connection.h libnm, docs: docs fixes 2014-11-07 13:16:54 -05:00
nm-core-internal.h libnm: hide nm_utils_uuid_generate_from_string() from public API 2014-12-04 17:02:22 +01:00
nm-core-types.h libnm-core: extract NMSettingIPConfig superclass out of IP4, IP6 classes 2014-11-07 07:49:40 -05:00
nm-dbus-interface.h libnm, docs: docs fixes 2014-11-07 13:16:54 -05:00
nm-errors.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-errors.h libnm, docs: docs fixes 2014-11-07 13:16:54 -05:00
nm-property-compare.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-property-compare.h libnm-core: change connection hash tables to variants in API 2014-09-18 11:51:09 -04:00
nm-setting-8021x.c libnm-core: do not access array if it is NULL 2014-12-05 09:38:40 +01:00
nm-setting-8021x.h libnm, docs: docs fixes 2014-11-07 13:16:54 -05:00
nm-setting-adsl.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-adsl.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-bluetooth.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-bluetooth.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-bond.c libnm: Override parts of nm-setting-docs.xml 2014-11-19 09:24:10 -05:00
nm-setting-bond.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-bridge-port.c libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-bridge-port.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-bridge.c libnm: Override parts of nm-setting-docs.xml 2014-11-19 09:24:10 -05:00
nm-setting-bridge.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-cdma.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-cdma.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-connection.c libnm: normalize missing connection UUID 2014-12-04 17:02:22 +01:00
nm-setting-connection.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-dcb.c libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-dcb.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-generic.c libnm-core: merge NMSetting*Error into NMConnectionError 2014-10-22 08:29:07 -04:00
nm-setting-generic.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-gsm.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-gsm.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-infiniband.c libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-infiniband.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-ip-config.c libnm: allow zero prefix length for NMIPRoute 2014-11-24 18:02:46 +01:00
nm-setting-ip-config.h libnm: add NMSettingIPConfig:route-metric 2014-11-07 15:19:06 +01:00
nm-setting-ip4-config.c libnm-core: update documentation of addresses and gateway properties 2014-11-19 09:24:10 -05:00
nm-setting-ip4-config.h libnm-core: extract NMSettingIPConfig superclass out of IP4, IP6 classes 2014-11-07 07:49:40 -05:00
nm-setting-ip6-config.c libnm-core: update ip6-privacy ifcfg-rh description 2014-11-19 09:24:10 -05:00
nm-setting-ip6-config.h libnm-core: extract NMSettingIPConfig superclass out of IP4, IP6 classes 2014-11-07 07:49:40 -05:00
nm-setting-olpc-mesh.c libnm-core: make GBytes D-Bus marshalling be built-in to NMSetting 2014-11-19 09:24:10 -05:00
nm-setting-olpc-mesh.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-ppp.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-ppp.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-pppoe.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-pppoe.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-private.h libnm-core: change how new and legacy properties are serialized 2014-11-15 09:52:29 -05:00
nm-setting-serial.c libnm: Override parts of nm-setting-docs.xml 2014-11-19 09:24:10 -05:00
nm-setting-serial.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-team-port.c libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-team-port.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-team.c libnm: Override parts of nm-setting-docs.xml 2014-11-19 09:24:10 -05:00
nm-setting-team.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-vlan.c libnm: Override parts of nm-setting-docs.xml 2014-11-19 09:24:10 -05:00
nm-setting-vlan.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-vpn.c libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-vpn.h libnm/libnm-util: add VPN 'persistent' property 2014-11-06 21:16:57 -06:00
nm-setting-wimax.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-wimax.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-wired.c libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-wired.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-wireless-security.c man, docs: add the secret flags notes non-hackishly 2014-11-19 09:24:10 -05:00
nm-setting-wireless-security.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-wireless.c libnm-core: update BAND and CHANNEL ifcfg-rh description 2014-11-19 09:24:10 -05:00
nm-setting-wireless.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting.c libnm: fix nm-setting-docs.xml property types 2014-11-19 09:24:10 -05:00
nm-setting.h libnm: fix nm-setting-docs.xml property types 2014-11-19 09:24:10 -05:00
nm-simple-connection.c libnm: normalize connections in nm_simple_connection_new_from_dbus() 2014-12-05 11:04:20 +01:00
nm-simple-connection.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-utils-private.h ifcfg-rh: don't include nm-utils-private.h outside of libnm-core/ 2014-12-03 17:36:08 +01:00
nm-utils.c libnm: don't allocate temporary buffer in nm_utils_uuid_generate_from_strings() 2014-12-04 17:44:11 +01:00
nm-utils.h libnm: hide nm_utils_uuid_generate_from_string() from public API 2014-12-04 17:02:22 +01:00
nm-version.h.in libnm: add libnm/libnm-core (part 1) 2014-08-01 14:34:04 -04:00
nm-vpn-dbus-interface.h vpn: allow plugins to indicate 'can-persist' capability 2014-11-06 21:17:34 -06:00