Commit Graph
100 Commits
Author SHA1 Message Date
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 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
Dan O'Reilly 7a375db453 Add UI portion of wired switch feature. 2009-01-25 15:15:49 -05:00
Dan O'Reilly a2e757a64d Add new wired GUI icon. 2009-01-25 00:44:51 -05:00
Dan O'Reilly 9d6a7c9d78 Merge in improved wired profile UI
Tweak how wired profile list is built to be simple/more efficent and not cause a dbus error.
2009-01-24 23:54:57 -05:00
Dan O'Reilly ec37206905 Initial work on automatic switchover to wired networks (no UI work yet)
actually use "write=True" instead of just "True" everywhere we do config writes explicitly.
Fix the scripts dialog not working for wired connections.
Force the monitor to update state after triggering a disconnect or connect.
Remove an unneeded Scan call from autoconnect.py
2009-01-24 23:31:24 -05:00
Dan O'Reilly 290006629b Fix broken Scan() call in autoconnect.py 2009-01-23 08:35:28 -05:00
Dan O'Reilly 540b8b8a3e Tweak a comment 2009-01-22 21:51:03 -05:00
Dan O'Reilly c494387a80 Tweak autoconnect logic be more likely to work if initial scans don't give us good results. 2009-01-22 21:26:05 -05:00
Dan O'Reilly 33a08b696e Add missing guiutil module 2009-01-20 23:55:43 -05:00
Dan O'Reilly f6d7579859 Add support for writing config data with whitespace kept intact.
Propgate debug setting to the ConfigManager instances.
Don't write essid key sections to the config file if we're not actually using them.
2009-01-20 00:32:56 -05:00
Dan O'Reilly 1269bcd048 Fix a few typos in the option gateway code. 2009-01-19 23:45:05 -05:00
Dan O'Reilly 87539f75e7 Fix bug that was keeping DHCP release from working. 2009-01-19 23:37:35 -05:00
Dan O'Reilly ea4ab09984 Fix ttls template
Add a guiutils module for gui-related functions/classes that are used in multiple modules.
Replace os.access with os.path.exists
Make the static gateway entry optional.
Don't auto-connect/reconnect when the gui is open.
Fix bug that would keep the gui from working if the wired network entry was displayed.
2009-01-19 01:06:57 -05:00
Dan O'Reilly 75219d78c4 Fix bug where encryption keys with non-ascii characters caused crashes.
Only write settings being saved if debug mode is on.
Clear keys entered through the GUI when the encryption checkbox is disabled.
2009-01-17 12:58:02 -05:00
Dan O'Reilly 4f22df62b0 Merging in noexpander branch. 2009-01-15 01:25:24 -05:00
Dan O'Reilly fcf01b12b3 Use dbusmanager in autoconnect.py 2009-01-15 01:22:40 -05:00
Dan O'Reilly 514facb4aa Tweak default window sizes 2009-01-15 01:21:54 -05:00
Dan O'Reilly a214a15d24 merge in experimental branch 2009-01-15 00:59:52 -05:00