Martin Vidner [Fri, 20 Aug 2010 15:25:38 +0000 (20 17:25 +0200)]
doc: Migrating from cnetworkmanager to nmcli
Martin Vidner [Mon, 5 Oct 2009 04:26:46 +0000 (5 06:26 +0200)]
Fixed non-ASCII output.
Thanks to Mokawi for the report:
http://mvidner.blogspot.com/2009/08/cnetworkmanager-021.html?showComment=
1254554339823#
c5041769288765573270
Pending problems:
The table formatting is not right (counting bytes, not columns).
It probably still breaks with non-UTF-8 environments.
Martin Vidner [Mon, 5 Oct 2009 04:25:41 +0000 (5 06:25 +0200)]
Factored out the common API options.
to prepare for the next fix
TODO, they should be explicitly application specific.
Martin Vidner [Sat, 22 Aug 2009 08:25:44 +0000 (22 10:25 +0200)]
Added nm-mock, a fake NetworkManager.
It lives on the session bus.
Added --session and factored out the bus access to allow easy switching.
Now the tests can be run even without a real NM running.
Martin Vidner [Tue, 18 Aug 2009 13:44:51 +0000 (18 15:44 +0200)]
Releasing 0.21.1.
Martin Vidner [Mon, 17 Aug 2009 14:43:54 +0000 (17 16:43 +0200)]
A harmless typo in "list_conections".
Martin Vidner [Thu, 13 Aug 2009 21:31:51 +0000 (13 23:31 +0200)]
Fixed the --wep-* and --wpa-* options (Gentoo#281099).
The constructors had wrong super calls, duh.
And there was a typo in "ccmp".
http://bugs.gentoo.org/show_bug.cgi?id=281099
Martin Vidner [Thu, 13 Aug 2009 21:14:35 +0000 (13 23:14 +0200)]
Fixed --activate-connection failing with Invalid settings service name.
org.freedesktop.NetworkManager.InvalidService: Invalid settings service name
because "user" was not translated to "org.freedesktop.NetworkManagerUserSettings"
Martin Vidner [Wed, 12 Aug 2009 14:07:35 +0000 (12 16:07 +0200)]
oS 11.2: noarch, os:11.0: fixed build.
Reintroduced noarch, if allowed by the base python packaging.
BuildRequire python-devel to fix build, for openSUSE 11.0.
Martin Vidner [Mon, 10 Aug 2009 21:20:17 +0000 (10 23:20 +0200)]
Releasing 0.21, updated NEWS.
Martin Vidner [Fri, 7 Aug 2009 16:07:43 +0000 (7 18:07 +0200)]
Doc cleanup for *.monitor.
Martin Vidner [Fri, 7 Aug 2009 15:43:02 +0000 (7 17:43 +0200)]
Doc cleanup for dbusclient.func.
Martin Vidner [Fri, 7 Aug 2009 09:56:48 +0000 (7 11:56 +0200)]
Screenshots to show off (in HTML).
Martin Vidner [Fri, 7 Aug 2009 09:54:15 +0000 (7 11:54 +0200)]
Added --we. Ignore AlreadyAsleepOrAwake error (-o).
-t for --terse
Martin Vidner [Wed, 5 Aug 2009 14:08:40 +0000 (5 16:08 +0200)]
small cleanup
Martin Vidner [Wed, 5 Aug 2009 14:06:33 +0000 (5 16:06 +0200)]
Moved prop_table to Table.from_items.
Martin Vidner [Wed, 5 Aug 2009 14:05:12 +0000 (5 16:05 +0200)]
Added --con-info.
With Table.from_nested_dict
Martin Vidner [Wed, 5 Aug 2009 13:58:38 +0000 (5 15:58 +0200)]
Always use byte_arrays=True in DBusMio.
Martin Vidner [Wed, 5 Aug 2009 10:59:27 +0000 (5 12:59 +0200)]
Tabularized --actcon, --usrcon, --syscon.
Catch if applet not running.
Martin Vidner [Wed, 5 Aug 2009 10:35:04 +0000 (5 12:35 +0200)]
Tabularized --device-info, --ap-info.
Replaced dump_props by prop_table.
Martin Vidner [Wed, 5 Aug 2009 10:15:37 +0000 (5 12:15 +0200)]
Tabularized --ap-list.
Martin Vidner [Wed, 5 Aug 2009 09:41:50 +0000 (5 11:41 +0200)]
Added a table formatter, applied it to --device-list.
Martin Vidner [Wed, 5 Aug 2009 09:02:06 +0000 (5 11:02 +0200)]
Use Epydoc, added more docs.
Martin Vidner [Wed, 5 Aug 2009 08:58:45 +0000 (5 10:58 +0200)]
Let all classes inherit from "object".
Martin Vidner [Wed, 5 Aug 2009 08:46:44 +0000 (5 10:46 +0200)]
Do not use ..relative imports.
Epydoc did not like them I think.
Martin Vidner [Wed, 5 Aug 2009 08:27:00 +0000 (5 10:27 +0200)]
For unimplemented device types, return "unknown".
Hopefully fixes -n, thanks to Kevin Fenzi for noticing.
GSM and CDMA are not handled but the base class should quietly do less
instead of breaking.
Is there a way to fake a device?
Martin Vidner [Fri, 31 Jul 2009 20:35:43 +0000 (31 22:35 +0200)]
Build fix: Removed noarch since Python has an arch dependent libdir.
Also removed the changelog from the spec file, OBS can take it from
.changes.
Martin Vidner [Thu, 30 Jul 2009 19:58:15 +0000 (30 21:58 +0200)]
Finished the conversion to new adaptor classes.
Martin Vidner [Thu, 30 Jul 2009 15:39:20 +0000 (30 17:39 +0200)]
Classes to make adaptors more readable.
The list syntax is now hidden behind constructors
(Not all code is converted yet.)
Martin Vidner [Thu, 30 Jul 2009 15:17:39 +0000 (30 17:17 +0200)]
Added docstrings for DBusMio and others.
Martin Vidner [Thu, 30 Jul 2009 15:11:06 +0000 (30 17:11 +0200)]
Run also doctests.
Martin Vidner [Thu, 30 Jul 2009 10:08:39 +0000 (30 12:08 +0200)]
Cleaned up networkmanager.util.
Added docstrings with doctest.
Enum returns str(value) instead of "?" for unknown values.
Flags translates 0 to its name.
Martin Vidner [Wed, 29 Jul 2009 15:57:33 +0000 (29 17:57 +0200)]
Updated NEWS, rewrote the outdated README.
Martin Vidner [Wed, 29 Jul 2009 15:38:28 +0000 (29 17:38 +0200)]
Improved help for --activate-connection.
Martin Vidner [Wed, 29 Jul 2009 15:31:22 +0000 (29 17:31 +0200)]
Removed the separate server script.
Maybe it comes back but now it is just duplicate not working code.
Martin Vidner [Wed, 29 Jul 2009 14:53:49 +0000 (29 16:53 +0200)]
Use the ssid for the conn id, not __cnm_handcrafted__
Martin Vidner [Wed, 29 Jul 2009 14:53:35 +0000 (29 16:53 +0200)]
Restored printing state change.
Martin Vidner [Wed, 29 Jul 2009 13:50:47 +0000 (29 15:50 +0200)]
Added -C and the wifi connection options.
Converted mkconmap to subclasses of applet.Settings
NetworkManagerSettings can register itself on the bus,
enhances the exception with the current owner pid.
Martin Vidner [Wed, 29 Jul 2009 13:47:51 +0000 (29 15:47 +0200)]
Make async call adaptors work.
Default keyword args to be unadapted.
Detect async call by the dbus kwargs, hackish.
Martin Vidner [Wed, 29 Jul 2009 13:46:37 +0000 (29 15:46 +0200)]
Require NM >= 0.7.0
Martin Vidner [Wed, 29 Jul 2009 08:47:44 +0000 (29 10:47 +0200)]
Built an RPM using distutils.
Martin Vidner [Wed, 29 Jul 2009 00:56:18 +0000 (29 02:56 +0200)]
Reactivated --monitor.
Martin Vidner [Wed, 29 Jul 2009 00:35:04 +0000 (29 02:35 +0200)]
Removing remaining 06 artefacts.
Martin Vidner [Wed, 29 Jul 2009 00:25:45 +0000 (29 02:25 +0200)]
Cleaned up namespace: networkmanager.applet.service.
Martin Vidner [Tue, 28 Jul 2009 22:20:44 +0000 (29 00:20 +0200)]
Cleaned up namespace: networkmanager.applet.
Martin Vidner [Tue, 28 Jul 2009 21:46:33 +0000 (28 23:46 +0200)]
Moved dbusclient out of networkmanager.
Martin Vidner [Tue, 28 Jul 2009 21:34:35 +0000 (28 23:34 +0200)]
Cleaned up namespace: networkmanager.
Martin Vidner [Tue, 28 Jul 2009 21:25:06 +0000 (28 23:25 +0200)]
Classes renamed to IP4Config, DHCP4Config.
to match the interface capitalization
Martin Vidner [Tue, 28 Jul 2009 19:45:05 +0000 (28 21:45 +0200)]
Provisionally implement -n as -a.
Martin Vidner [Tue, 28 Jul 2009 15:33:15 +0000 (28 17:33 +0200)]
Separated --ap-info.
Martin Vidner [Tue, 28 Jul 2009 14:29:55 +0000 (28 16:29 +0200)]
Implemented ActiveConnection, --actcon, --usrcon, --syscon.
Martin Vidner [Tue, 28 Jul 2009 11:53:32 +0000 (28 13:53 +0200)]
Adaptors cleaned up.
more consistent registration
fixed them to be per class, with superclass fallback
fixed writable properties
Martin Vidner [Sat, 25 Jul 2009 22:03:51 +0000 (26 00:03 +0200)]
Added basic Ip4Config, Dhcp4Config.
Martin Vidner [Sat, 25 Jul 2009 21:21:30 +0000 (25 23:21 +0200)]
Do properties in DBusMio.
So far relying on default_interface because _introspect_property_map
does not exist.
Martin Vidner [Sat, 25 Jul 2009 06:21:32 +0000 (25 08:21 +0200)]
Created a separate program for the UserSettings service.
Martin Vidner [Mon, 20 Jul 2009 23:14:12 +0000 (21 01:14 +0200)]
Added a basic setup.py for distutils.
Martin Vidner [Mon, 20 Jul 2009 22:21:35 +0000 (21 00:21 +0200)]
Implemented --ap-list.
Martin Vidner [Mon, 20 Jul 2009 20:46:22 +0000 (20 22:46 +0200)]
Removing old code.
Martin Vidner [Mon, 20 Jul 2009 20:08:02 +0000 (20 22:08 +0200)]
Rewrote from scratch.
WIP.
Hide as much D-Bus complexity as possible, by
- autoconverting between (proxy) objects and object paths,
- using introspection to find which interface a method is in,
- having helpers for enumerations and flag sets
Martin Vidner [Tue, 14 Jul 2009 11:37:51 +0000 (14 11:37 +0000)]
Fixed 0.6 API broken by the split.
Martin Vidner [Tue, 14 Jul 2009 10:30:45 +0000 (14 12:30 +0200)]
Fixed active connection dumping.
Martin Vidner [Sat, 11 Jul 2009 13:21:42 +0000 (11 15:21 +0200)]
Refactored property dumping.
Martin Vidner [Sat, 11 Jul 2009 13:19:52 +0000 (11 15:19 +0200)]
Split utility functions, fixing 06 a bit.
Martin Vidner [Fri, 10 Jul 2009 21:28:32 +0000 (10 23:28 +0200)]
Split off the monitor.
Martin Vidner [Fri, 10 Jul 2009 21:13:45 +0000 (10 23:13 +0200)]
Split off the service classes.
Martin Vidner [Fri, 10 Jul 2009 20:49:55 +0000 (10 22:49 +0200)]
Dependency fixes after the split.
Testing --activate-connection and -C
Martin Vidner [Fri, 10 Jul 2009 20:39:20 +0000 (10 22:39 +0200)]
Separated more client classes.
Martin Vidner [Fri, 10 Jul 2009 20:07:30 +0000 (10 22:07 +0200)]
Separated the client classes.
06 is probably broken, did not test it yet
Martin Vidner [Wed, 8 Jul 2009 19:50:36 +0000 (8 21:50 +0200)]
Breaking up the big thing to smaller pieces.
Martin Vidner [Wed, 8 Jul 2009 20:19:56 +0000 (8 22:19 +0200)]
Added --activate-connection=[KIND],CON,DEV,[AP]
Martin Vidner [Wed, 8 Jul 2009 19:35:51 +0000 (8 21:35 +0200)]
Ignore Emacs backups~
Martin Vidner [Wed, 8 Jul 2009 19:24:39 +0000 (8 21:24 +0200)]
Added testsuite. Signal failure by exit(1).
Bryan Duff [Wed, 8 Jul 2009 15:53:22 +0000 (8 17:53 +0200)]
Do not break when dumping a GSM device (DeviceType 3).
Niels de Vos [Wed, 8 Jul 2009 09:00:27 +0000 (8 10:00 +0100)]
Handle org.freedesktop.DBus.Error.AccessDenied when running as a different user
If a user runs cnetworkmanager and an other user already has NetworkManager
running, a dbus.exceptions.DBusException gets raised and cnetworkmanager
falsely assumes NetworkManager-0.7.x is available.
With this extra check, cnetworkmanager bails out if an AccessDenied has
occurred.
Signed-off-by: Niels de Vos <nixpanic@users.sourceforge.net>
Martin Vidner [Sat, 21 Mar 2009 07:03:47 +0000 (21 08:03 +0100)]
releasing: v0.8.4
Martin Vidner [Sat, 21 Mar 2009 06:24:51 +0000 (21 07:24 +0100)]
releasing: documented changes
Martin Vidner [Sat, 21 Mar 2009 06:23:35 +0000 (21 07:23 +0100)]
Timestamp the state monitor; don't boo.
Martin Vidner [Mon, 16 Mar 2009 11:22:54 +0000 (16 12:22 +0100)]
Fixed RPM by using PREFIX consistently (bnc#485413).
Martin Vidner [Sun, 15 Mar 2009 09:41:07 +0000 (15 10:41 +0100)]
When connecting (-C), monitor the NM connection state.
("Connected: /connection" was lying, as NM had only
started to activate the connection)
Martin Vidner [Sun, 15 Mar 2009 09:05:23 +0000 (15 10:05 +0100)]
Don't overwrite ConnectionSecrets with ConnectionSettings.
Martin Vidner [Sun, 15 Mar 2009 08:57:31 +0000 (15 09:57 +0100)]
Recognize AccessDenied when trying to dump secrets.
Martin Vidner [Sun, 15 Mar 2009 08:46:44 +0000 (15 09:46 +0100)]
Improved Monitor (-m).
- beautify interesting signals
- ignore uninteresting signals
- fixed abbreviation collision detection, was backwards
- factored out base class
Alexander Block [Fri, 13 Mar 2009 22:03:28 +0000 (13 23:03 +0100)]
Updated pbkdf2.py to the newest upstream version
James Hogan [Fri, 6 Mar 2009 21:12:38 +0000 (6 21:12 +0000)]
Fixed KeyError with --wep-hex.
(Broken in
64466391b7706bb4d3e7bec86172ca54f71701eb)
Martin Vidner [Fri, 6 Mar 2009 16:38:23 +0000 (6 17:38 +0100)]
Packaging fix: claim ownership of pkgdatadir.
Martin Vidner [Fri, 6 Mar 2009 09:06:22 +0000 (6 10:06 +0100)]
Provide NetworkManager-client, like NetworkManager-{kde,gnome} do.
This way YaST will not recommend to install the GUI applets
when we are there to do the job.
Martin Vidner [Thu, 5 Mar 2009 15:02:38 +0000 (5 16:02 +0100)]
Merge branch 'opensuse-11.1'
Martin Vidner [Thu, 5 Mar 2009 14:55:51 +0000 (5 15:55 +0100)]
Forgot to mention the bug number.
http://en.opensuse.org/SUSE_Package_Conventions/Changelogs
Martin Vidner [Thu, 5 Mar 2009 14:46:07 +0000 (5 15:46 +0100)]
Merge branch 'opensuse-11.1' -> version 0.8.3
Martin Vidner [Thu, 5 Mar 2009 12:41:34 +0000 (5 13:41 +0100)]
0.8.0.1
See how "easy" it is:
- version bump: Makefile, $program, spec
- commit log: NEWS, changes, spec
Martin Vidner [Thu, 5 Mar 2009 12:26:39 +0000 (5 13:26 +0100)]
Merge branch 'secrets-leak-cve-2009-0365' into opensuse-11.1
Martin Vidner [Thu, 5 Mar 2009 12:15:31 +0000 (5 13:15 +0100)]
Fixed secrets leak via o.fd.NMS.Connection.GetSettings (bnc#479566#c3).
I had had trouble making it work with the secrets excluded,
so they stay in but the settings are denied from other users.
References:
https://bugzilla.novell.com/show_bug.cgi?id=479566#c3
Martin Vidner [Wed, 4 Mar 2009 15:20:12 +0000 (4 16:20 +0100)]
Merge branch 'secrets-leak-cve-2009-0365' into opensuse-11.1
Coolo [Wed, 4 Mar 2009 14:55:34 +0000 (4 15:55 +0100)]
buildrequire dbus-1 to fix file list check
Martin Vidner [Wed, 4 Mar 2009 14:51:09 +0000 (4 15:51 +0100)]
Synced spec with SUSE normalized version.
Martin Vidner [Wed, 4 Mar 2009 14:12:59 +0000 (4 15:12 +0100)]
Fixed secrets leak via o.fd.NMS.Connection.Secrets (CVE-2009-0365).
Done by copying the D-Bus configuration, nm-applet.conf,
both from NM 0.7 and 0.6.
References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=2009-0365
https://bugzilla.novell.com/show_bug.cgi?id=479566
Martin Vidner [Mon, 2 Mar 2009 12:43:20 +0000 (2 13:43 +0100)]
0.8.2
Martin Vidner [Mon, 2 Mar 2009 11:27:21 +0000 (2 12:27 +0100)]
Merge branch 'wpa-dist'
Martin Vidner [Sun, 1 Mar 2009 13:26:26 +0000 (1 14:26 +0100)]
Added .gitignore
Martin Vidner [Sun, 1 Mar 2009 13:24:20 +0000 (1 14:24 +0100)]
Added a proxy launcher script.
(part 2... git is easy...)