Dan O'Reilly
665fe76885
Fix crash with hidden essids if it was stored in wireless-settings.conf as None.
...
Only trigger a wpa_supplicant rescan once when connecting.
2009-04-04 13:43:29 -04:00
Dan O'Reilly
b79151ef07
Always use the "C" local when running external commands.
2009-04-03 19:07:00 -04:00
Dan O'Reilly
57f6aab60c
Merge.
2009-03-27 23:14:19 -04:00
Dan O'Reilly
2b54f26c4e
Fix another issue with integer keys.
2009-03-27 23:13:16 -04:00
Dan O'Reilly
d7f2fd4780
Add a workaround for an issue where large integers got mishandled by python-dbus on 64-bit systems.
...
Fix potential issue if encryption key is a number
Close all open fd's in the daemonize code.
2009-03-25 20:19:11 -04:00
Dan O'Reilly
69585f2032
Remove some unneeded imports.
...
Remove unused variable.
2009-03-23 17:53:59 -04:00
Dan O'Reilly
ad09dea66e
Merge to import lines.
2009-03-23 01:30:16 -04:00
Dan O'Reilly
bb9d3690de
Make the ioctl backends use of python-iwscan and python-wpactrl optional.
...
Don't use __all__ in wnettools.py, and make the backends explicitly import the methods/classes they need from wnettools.py.
2009-03-23 01:28:50 -04:00
Dan O'Reilly
d09344b329
Update docstrings.
2009-03-22 18:39:44 -04:00
Dan O'Reilly
65c72ba3a2
Update copyrights and some docstrings.
...
Make trayicon network menu scan-triggering behave better.
2009-03-22 17:36:55 -04:00
Dan O'Reilly
f79067c692
Fix decorators.
2009-03-22 00:13:42 -04:00
Dan O'Reilly
62aac0d79d
Merge enctemplates branch.
2009-03-21 22:38:33 -04:00
Dan O'Reilly
a1ecc0fe81
Added a neediface decorator to replace using "if not self.iface return..." in every method that needs it.
2009-03-21 22:22:04 -04:00
Dan O'Reilly
b8db5007fa
Add missing check for no interface to GetIP.
2009-03-21 19:41:13 -04:00
Dan O'Reilly
fc31e92e78
Merge 1.6 branch.
2009-03-21 16:37:21 -04:00
Dan O'Reilly
34832775c8
- Replace some tabs that snuck in with spaces.
...
- Try to validate successful association with static IPs by pinging the gateway specified.
2009-03-21 16:28:40 -04:00
Dan O'Reilly
fac3d9a09f
Fix some issues in the template error handling code.
2009-03-21 15:30:26 -04:00
Dan O'Reilly
c7249edd3c
Merge from 1.6 branch.
2009-03-16 23:19:06 -04:00
Dan O'Reilly
518e0ec358
Apply Debian initscript patch from David Paleino.
2009-03-15 20:54:16 -04:00
Dan O'Reilly
7a8f798138
Merge in resolvconf support.
2009-03-15 15:54:14 -04:00
Dan O'Reilly
5220203bda
Only print "Setting DNS" message if debug mode is on.
2009-03-15 13:47:55 -04:00
Dan O'Reilly
4d33a308bc
Fix how we set nameserver entries after code review.
2009-03-14 17:41:51 -04:00
Dan O'Reilly
b1b956c9c9
Merge
2009-03-13 18:55:18 -04:00
Dan O'Reilly
e70ad1e9c0
Merge.
2009-03-12 20:54:33 -04:00
Dan O'Reilly
92f15567f7
Merge.
2009-03-09 01:49:33 -04:00
Dan O'Reilly
f4fc8ae949
Add lunar init directory.
2009-03-09 01:46:31 -04:00
Dan O'Reilly
b66bd696af
Add support for using resolvconf instead of directly editing resolv.conf if possible.
2009-03-09 00:07:39 -04:00
Dan O'Reilly
842d281b28
Still trying to fix this...
2009-03-08 23:39:41 -04:00
Dan O'Reilly
9cc9a8460d
Merge.
2009-03-08 23:14:35 -04:00
Dan O'Reilly
a04c04aa21
Merge.
2009-03-08 23:09:12 -04:00
Dan O'Reilly
9ee7267005
Merging/removing accidently commit.
2009-03-08 23:07:38 -04:00
Dan O'Reilly
79f64e4180
Undoing accidental commit.
2009-03-08 23:03:04 -04:00
Dan O'Reilly
975f4c6ecf
Merge in Dario Freddi's additions, with some modifications.
2009-03-08 22:49:24 -04:00
Dan O'Reilly
f43a8d670c
Merge.
2009-03-08 22:45:24 -04:00
Dan O'Reilly
5170411595
Create an error dialog when we get a DBus access denied error.
2009-03-08 20:38:54 -04:00
Dan O'Reilly
966ae97667
Merge encryption template changes for curses.
2009-03-08 18:38:16 -04:00
Dan O'Reilly
cfdf5eb807
Merge.
2009-03-08 18:32:48 -04:00
Dan O'Reilly
4365a8406b
Fix suse init script.
2009-03-08 15:58:44 -04:00
Dan O'Reilly
ff71e4d130
Merge
2009-03-04 18:34:35 -05:00
Dan O'Reilly
34fbabf8a7
Fix setup.py bug where - was getting turned into _ in paths.
2009-03-04 18:32:15 -05:00
Dan O'Reilly
6dd0642079
Apply lang patch from David Paleino
2009-03-01 23:15:34 -05:00
Dan O'Reilly
80d05774d9
Merge in global script support.
2009-03-01 23:00:22 -05:00
Dan O'Reilly
5f6807732a
Don't provide separate options for pre/post/disconnect scripts. Just a parent scripts directory.
2009-03-01 22:43:28 -05:00
Dan O'Reilly
f66ec767fe
Merge.
2009-03-01 21:50:18 -05:00
Dan O'Reilly
8112851a86
Tweak encryption template code so that optional parameters can be supplied. Tweak UI code to reflect that new functionality.
...
Allow for slightly more variation in template formatting.
2009-02-28 21:52:27 -05:00
Dan O'Reilly
454770e5e9
Add support for using resolvconf instead of directly editing /etc/resolv.conf if it's available.
2009-02-28 16:01:26 -05:00
Dan O'Reilly
edbfd18553
Don't use the thread module in networking.py.
2009-02-28 15:34:34 -05:00
Dan O'Reilly
cafde692e5
Merge
2009-02-28 15:16:45 -05:00
Dan O'Reilly
e40afce104
Initial crack at global scripts support. Also includes some setup.py tweaks.
2009-02-27 00:40:19 -05:00
Dan O'Reilly
fab8d84dee
Merge.
2009-02-27 00:38:09 -05:00
Dan O'Reilly
0af4c5331e
Get rid of unneeded "use_tray" variable being passed around in wicd-client.
...
Remove some extra whitespace in networking.py
2009-02-27 00:35:53 -05:00
Dan O'Reilly
a23fbcede5
Merge.
2009-02-27 00:20:37 -05:00
Dan O'Reilly
de8b8c11f8
Get rid of unneeded "use_tray" variable being passed around in wicd-client.
...
Add some methods for executing multiple scripts to be use for global scripts later.
Remove some rogue extra whitespace in networking.py
2009-02-27 00:13:00 -05:00
Dan O'Reilly
ae0f589d43
Fix issue where signal strength wouldn't be reported correctly if the first link quality regex didn't match.
...
Add some helper methods that will eventually be used for encryption template parsing.
Use more specific exception checking in a few places.
2009-02-27 00:08:31 -05:00
Dan O'Reilly
5aaaa117e7
Fix typo
2009-02-21 13:11:55 -05:00
Dan O'Reilly
e879b49a82
merge
2009-02-21 01:00:40 -05:00
Dan O'Reilly
b7141f43cb
Create the wpactrl interface connection in a less bizarre way.
2009-02-21 00:57:40 -05:00
Dan O'Reilly
42ef13d5a9
Merge.
2009-02-17 23:44:25 -05:00
Dan O'Reilly
a62840dd96
Refactor wnettools/backend code so that most external tool functionality exists in wnettools, and it just inherited by the external backends. This simplifies creating new backends that just override selected methods.
...
Rewrite encryption template parsing code to allow blank entries (though the GUI still doesn't), and be more permissive of slightly incorrect formatting.
Fix bug in wicd-monitor error handling code.
2009-02-17 23:29:14 -05:00
Dan O'Reilly
7e18194c29
Fix bug where GUI could get stuck in the connecting state if the GUI was first opened while a connection was in progress.
2009-02-13 18:54:27 -05:00
Dan O'Reilly
71583f700b
Merge experimental-rworkman
2009-02-12 20:07:12 -05:00
Dan O'Reilly
13733aaac3
Merged curses changes.
2009-02-12 18:48:10 -05:00
Dan O'Reilly
f237f421ab
Fix issue where GetForcedDisconnect was returning True when we had just connected.
...
Fix issues with auto-switch to wired.
Change to how the gui handles changing state from connecting to not-connecting to be nicer.
Make the gui trigger monitor state updates while in the connecting state.
Make sure the monitor logs a warning when it catches a D-Bus exception.
Make sure cancelling a wired connection attempt kills DHCP.
Fix issue where DHCP wouldn't get run if automatic dhcp tool was enabled.
2009-02-12 18:38:40 -05:00
Dan O'Reilly
4076153796
Make default init script executable.
2009-02-11 22:44:38 -05:00
Dan O'Reilly
8127dc194b
Fix possible crash when handling D-Bus exceptions in monitor.py
2009-02-11 21:01:12 -05:00
Dan O'Reilly
bae95355d7
Make sure it's possible to stop a dhcp client that's in the process of getting a lease.
...
Have gui.py trigger connection status updates every .5 seconds if in a connecting state.
Fix typo in wicd-client.py
2009-02-11 20:55:02 -05:00
Dan O'Reilly
7ee121c15e
Don't convert to milliseconds in misc.timeout_add if milli is True.
2009-02-10 01:08:12 -05:00
Dan O'Reilly
30b59d1a59
Change "Advanced Settings" to "Properties"
...
Remove some unneeded debugging output.
Replace gobject.timeout_add_seconds / gobject.timeout_add if/else logic with calls to a misc.timeout_add method that does it internally.
Only display the dbus lost error message if dbus has been gone for 5 seconds without coming back.
2009-02-10 00:58:11 -05:00
Dan O'Reilly
896510324d
Tweak algorithm for searching for sudo progs so we search every directory in $PATH for a particular app before moving on to the next one.
2009-02-08 19:59:53 -05:00
Dan O'Reilly
e162bb1c7b
Fix crashing bug in daemon.
...
Dont have wicd-monitor inherit stdin from the daemon.
2009-02-08 18:42:05 -05:00
Dan O'Reilly
725da7c5b3
Applied LC_MESSAGES patch from David Paleino
2009-02-08 16:14:17 -05:00
Dan O'Reilly
c3bcda73cb
Enforce only one scan being allowed to happen at a time in the daemon.
2009-02-08 16:09:55 -05:00
Dan O'Reilly
41e356cd97
Always updated the network list if we get a scan finished signal.
2009-02-07 01:50:49 -05:00
Dan O'Reilly
e84a637d31
Fix some issues with the GUI statusbar being incorrect.
...
Make wicd-client more tolerant of dbus exceptions.
Disconnect from both managed interfaces before making a connection.
2009-02-07 01:22:42 -05:00
Dan O'Reilly
450677c83d
Fix bug where interface name was being passed to the dhcp client executable twice.
...
Tweak connect/disconnect to not kill any processes. Instead it releases leases and terminates the wpa_supplicant instance through its ctrl interface. This should make wicd handle multiple connections better.
2009-02-06 19:26:09 -05:00
Dan O'Reilly
cbbf438f34
If the monitor loses contact with the daemon for an extended period, die instead of ignoring the errors.
2009-02-04 23:05:05 -05:00
Dan O'Reilly
70c93746dd
More tweaking of how the GUI updates the status bar. Should be more efficient now.
2009-02-04 19:13:06 -05:00
Dan O'Reilly
22e134b78e
Merge experimental-nacl.
2009-02-04 18:32:58 -05:00
Dan O'Reilly
9fb268d67d
Rather than polling for network status in the GUI, just have the monitor run an on-demand pull and get the results from the daemon. Should reduce iwconfig/ifconfig calls while the GUI is open and make for nicer looking code.
2009-02-04 00:26:13 -05:00
Dan O'Reilly
3fe1bca50e
Fix bug where link detection tool value wasn't get propogated down the stack.
2009-02-03 23:48:58 -05:00
Dan O'Reilly
227704f137
Merge experimental-rworkman
2009-02-03 21:21:40 -05:00
Dan O'Reilly
2efc04091d
Add a .bzrignore file.
2009-02-03 19:59:53 -05:00
Dan O'Reilly
5a6bdbdef4
Remove unneeded parameter from PreferencesDialog constructor.
2009-02-03 19:38:07 -05:00
Dan O'Reilly
11c1c48b92
Make sure we try each external app in order if selection is set to be automatic.
2009-02-03 19:35:57 -05:00
Dan O'Reilly
b54dbcff92
Make sure debug settings are propogated down the stack as soon a the daemon loads.
2009-02-03 00:05:11 -05:00
Dan O'Reilly
e23af9b413
Make GetWirelessInterfaces() return a list instead of the first interface. Also make the networking.py layer pull the first entry from the list.
...
Some documentation cleanup.
2009-02-02 23:47:54 -05:00
Dan O'Reilly
6347842000
Minor formatting tweak
2009-02-02 23:39:52 -05:00
Dan O'Reilly
315ff97d87
Simplify the inheritance of static wnettools functions in the backends.
...
Make sure we select a default route flushing tool.
2009-02-02 23:05:29 -05:00
Dan O'Reilly
80593acd58
Merge NaCl's curses frontend and rworkman's experimental branch.
2009-02-01 23:32:55 -05:00
Dan O'Reilly
28b6aac2db
Remove some comments.
2009-02-01 23:32:28 -05:00
Dan O'Reilly
8594116630
Make it possible for the user to select which graphical sudo application to use.
...
Make any external apps not installed on the system unselectable in the GUI.
Rework the app selection code in the backend to fall back to auto-selection if a requested app isn't installed.
Tweak the autoconnect attempt throttle in wicd-monitor to not be as aggressive.
Made sure the preferences dialog would reconnect to dbus when a DaemonStarting signal was sent.
2009-02-01 23:10:11 -05:00
Dan O'Reilly
dca0f59b06
Fix broken Scan() call in wicd-client
2009-01-31 20:22:15 -05:00
Dan O'Reilly
d22a59cbcc
A bunch of small fixes for errors/warnings reported by Pylint.
2009-01-31 00:31:50 -05:00
Dan O'Reilly
339b622b09
Fix crash if essid is None
2009-01-30 21:20:43 -05:00
Dan O'Reilly
d26204676c
Merge translations updates.
2009-01-28 19:54:17 -05:00
Dan O'Reilly
467688beda
Always scan when the daemon starts.
...
Remove old init scripts.
2009-01-28 19:52:51 -05:00
Dan O'Reilly
d20dafa088
Fix issues with the way disconnect scripts work.
...
Make flushing the route table more likely to work.
2009-01-26 18:46:57 -05:00
Dan O'Reilly
45e228d6e4
Fixing the fix...
2009-01-25 16:43:45 -05:00
Dan O'Reilly
613215f033
Don't try to set properties in the advanced dialog before it exists.
2009-01-25 16:40:26 -05:00
Dan O'Reilly
c92efc5279
Fix issue where toggling default wired profile could cause settings to get set for multiple profiles.
...
Remove some no longer needed checks in the daemon.
2009-01-25 16:34:32 -05:00