Commit graph

4825 commits

Author SHA1 Message Date
Dan Williams
f31022bfbc core: use return_no_pk_error() more and fix returned error messages 2010-06-02 11:20:38 -07:00
Dan Williams
299ab139e4 core: add policy for overall network control
Allows for locking down connections completely and disallowing
certain users from touching networking at all.
2010-06-02 02:23:51 -07:00
Dan Williams
a08227525c core: simplify auth chain permission callback handling 2010-06-02 02:16:14 -07:00
Dan Williams
6476c697d8 Merge remote branch 'origin/master' into perm 2010-06-01 15:34:53 -07:00
Dan Williams
a3e3405fff po: updated German translation (bgo #620122) 2010-06-01 00:39:01 -07:00
Dan Williams
a3d8cb9b6d core: rework pending activation to be more flexible
In preparation for more granular permissions.
2010-06-01 00:36:46 -07:00
Dan Williams
c4946a6dfe core: fix some problems with the user auth rework 2010-05-31 16:47:38 -07:00
Dan Williams
3b6917f74b core: make nm_auth_is_caller_root() more generic 2010-05-31 09:45:26 -07:00
Jiří Klimeš
12d26643e9 libnm-util: add nm_utils_wifi_* functions to handle frequencies/channels 2010-05-31 15:32:13 +02:00
Dan Williams
41faf87b0e core: root can always enable/disable and sleep/wake 2010-05-30 08:30:37 -07:00
Dan Williams
65818d517e core: PolicyKit-protect sleep/wake
Default to 'not allowed', distros that need backwards compatibility
can flip this to 'yes' if they need to. At this point, only power
management scripts should call these functions.
2010-05-29 23:11:45 -07:00
Dan Williams
1e69294204 trivial: update .gitignore 2010-05-29 23:01:28 -07:00
Dan Williams
c013490ba3 core: PolicyKit-protect enable/disable networking method 2010-05-29 23:00:46 -07:00
Dan Williams
716a9c6c0d core: add permissions framework for various operations (rh #585182) (bgo #619323) 2010-05-28 18:23:00 -07:00
Dan Williams
6810ef1422 core: don't shadow 'sleep' 2010-05-28 13:06:14 -07:00
Fran Diéguez
0f494b2445 po: update Galican translation (bgo #619579) 2010-05-26 10:25:05 -07:00
I Felix
8bd5168031 po: add Tamil translation 2010-05-26 01:35:26 -07:00
Dan Williams
7ffcb98afd doc: trivial fix 2010-05-26 01:20:20 -07:00
Dan Williams
c9ee78f238 keyfile: add testcases for plain GSM connections 2010-05-26 01:19:21 -07:00
Dan Williams
11d63b63f2 keyfile: fixups for msising settings for mobile broadband 2010-05-26 01:03:38 -07:00
Dan Williams
d422ce42c4 keyfile: add testcase for BT DUN connection 2010-05-26 00:39:58 -07:00
Dan Williams
23736bc73c keyfile: add required PPP setting for serial-based connections 2010-05-26 00:34:12 -07:00
Dan Williams
71bae14f2c libnm-util: better error message about missing PPP setting 2010-05-26 00:32:05 -07:00
Dan Williams
22aee1ac8b libnm-util: remove useless semicolons 2010-05-26 00:30:32 -07:00
Dan Williams
7754690e7e libnm-util: use hash table iterators for simpler code 2010-05-26 00:28:26 -07:00
Dan Williams
7b6a898967 keyfile: ensure wired setting gets added if it's all default values
If the wired setting isn't modified at all from the default values
it won't get written out anymore after 12dcc07b74,
so make sure we include it when necessary.
2010-05-26 00:10:42 -07:00
Dan Williams
12dcc07b74 keyfile: don't write out default values 2010-05-25 23:34:39 -07:00
Dan Williams
61448016f4 keyfile: parse Bluetooth addresses as MAC addresses 2010-05-25 23:34:09 -07:00
Dan Williams
7ebf9641a0 libnm-glib: fix getting descriptions for some mobile broadband devices
3G devices can be 'net' subsystem too (ie, mbm, hso).
2010-05-25 13:57:20 -07:00
Dan Williams
1cd1a85eab libnm-glib: fix memory leak getting device descriptions 2010-05-25 13:56:56 -07:00
Dan Williams
fea6431a20 core/libnm-glib: implement better missing firmware support (rh #594578)
Track missing firmware and ensure the device can't be used when firmware
is missing.  Add a property for missing firmware so that clients can do
something intelligent with this information.
2010-05-25 10:52:25 -07:00
Dan Williams
ba17174798 core: NL_CB_VERBOSE breaks error propagation (rh #594578)
Plus we don't really need the VERBOSE bits anyway.
2010-05-24 17:21:04 -07:00
Dan Williams
2e92d84ef0 modem: fix WWAN hardware enable state tracking (rh #591622) 2010-05-24 17:07:46 -07:00
Dan Williams
6221afc790 libnm-glib: add nm_client_networking_get_enabled() (rh #589108) (bgo #346615)
Forgot this in the last commit.
2010-05-22 11:27:05 -07:00
Dan Williams
fa70542c61 core: add networking enable/disable knob distinct from sleep/wake (rh #589108) (bgo #346615)
Since forever we've used sleep/wake as the way to implement
Networking Enabled.  When the state file was introduced to make the
networking and wifi states persistent, we ran into a bug where
a failed suspend (like if the machine ran out of power while
suspended) would result in networking being disabled on reboot
since suspend/resume used the same knob as enable/disable.

This patch adds a distinct call for enable/disable networking
which changes the state file, while sleep/wake no longer change
the state file.
2010-05-22 09:51:22 -07:00
Yulia
c1b3b137d9 po: updated Russian translation (rh #589230) 2010-05-20 18:51:40 -07:00
Sandeep Shedmake
cc6086aec9 po: updated Marathi translation (rh #589230) 2010-05-20 18:51:01 -07:00
Kiyoto Hashida
cf3e838939 po: updated Japanese translation (rh #589230) 2010-05-20 18:50:23 -07:00
Sam Friedmann
6c9e27a57e po: updated French translation (rh #589230) 2010-05-20 18:49:56 -07:00
Gladys Guerrero
44ae001182 po: updated Spanish translation (rh #589230) 2010-05-20 18:49:27 -07:00
Runa Bhattacharjee
63404b0877 po: updated Bengali translation (rh #589230) 2010-05-20 18:48:18 -07:00
Dan Williams
a729d2f649 ip6: remove standalone DHCP method since DHCPv6 can't provide gateways
All IPv6 enabled sites are expected to provide router advertisement
support apparently.  If standalone DHCP is really used in the wild
then we can clearly re-enable it later.
2010-05-20 10:24:13 -07:00
Dan Williams
d0ec39e66d nm-online: print warnings not critical errors (rh #593677)
Otherwise we'll segfault if critical errors are set to abort.
2010-05-20 00:22:56 -07:00
Dan Williams
87ac1bd5f5 vpn: s/tundev/ip_iface 2010-05-18 16:47:43 -07:00
Dan Williams
16cda9fae1 libnm-glib: fix VPN plugin builds for C++
Yes, this breaks source compat.  Simple rename though.
2010-05-18 16:44:27 -07:00
Jiří Klimeš
5110fa7811 libnm-{util|glib}: fix headers to be C++ compatible - C_BEGIN_DECLS/C_END_DECLS (rh #592783) 2010-05-18 10:14:59 +02:00
Dan Williams
0b8ee13ee0 ip6: pad RDNSS server expiry slightly to avoid hiccups (rh #590202)
Pad the DNS server expiry somewhat to give a bit of slack in cases
where one RA gets lost or something (which can happen on unreliable
links like wifi where certain types of frames are not retransmitted).
2010-05-14 09:48:46 -07:00
Terry Chuang
42eb1f38cc po: updated Traditional Chinese translation (rh #589230) 2010-05-13 12:50:43 -07:00
Leah Liu
f0938011f8 po: updated Chinese translation (rh #589230) 2010-05-13 12:49:55 -07:00
Krishna Babu K
15b4d1569d po: updated Telugu translation (rh #589230) 2010-05-13 12:46:58 -07:00