1
0
mirror of https://github.com/gryf/wicd.git synced 2026-03-13 21:25:46 +01:00
Commit Graph

43 Commits

Author SHA1 Message Date
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
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
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
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
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
975f4c6ecf Merge in Dario Freddi's additions, with some modifications. 2009-03-08 22:49:24 -04:00
Dario Freddi
23cb084036 Adding available auth methods 2009-03-01 20:19:16 +01:00
Dario Freddi
9213c7c333 Adding GetOperationalMode() to determine op mode of an interface 2009-03-01 19:31:34 +01:00
Dario Freddi
db80f31e03 Adding per-channel bitrate information as a string 2009-03-01 16:46:58 +01:00
drf
c23708b444 Starting implementation of current bitrate retrieval 2009-03-01 16:01:21 +01: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
Adam Blackburn
4fc52511ba Fixed the dhcp_object error. 2009-02-19 22:22:12 -06: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
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
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
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
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
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
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
d22a59cbcc A bunch of small fixes for errors/warnings reported by Pylint. 2009-01-31 00:31:50 -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
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
997e523722 Add a domain entry for dns settings.
Display an error if global dns is enabled for a network, but global dns entries aren't entered in the general preferences window.
2008-12-30 23:20:00 -05:00
Dan O'Reilly
9caae86049 Make backend combobox tooltip display the active backend's description.
Reverse the order of the OK/Cancel button in the Ad-Hoc connection dialog.
Use a new set of icons.
Extend the update invervals for all backends by 1 second.
Try to use en_US.utf8 instead of C as the LANG in misc.Run if it is available.
Add ability to force a network state update.  (Currently not used).
2008-12-27 18:23:15 -05:00
Dan O'Reilly
92300133b8 Fix "_" getting stripped from interface names. 2008-12-23 18:23:38 -05:00
Dan O'Reilly
ba3bc2afc2 Only show valid wpa_supplicant drivers in the GUI.
Don't needlessly created PreferenceDialog objects.
Use dbus signals to alert the UI that the daemon is back up, instead of polling.
2008-12-16 00:48:47 -05:00
Dan O'Reilly
20d5fd285b Pass lists instead of strings in GeneratePSK and Authenticate methods. 2008-12-13 17:07:31 -05:00
Dan O'Reilly
46bbde7745 merging in a bunch of trunk changes 2008-12-07 21:15:29 -05:00
imdano
fd0a41def6 experimental branch:
- Enhance dbus manager to handle settings up mainloops, etc.
- Early work on getting wicd-client to recover from a daemon crash.
- Simply how the the scripts editor gets launched.
- Remove unneeded cleanup code from netentry.py
- More ralink legacy work.
- Run scans in a thread, this should make the UI more responsive while a scan is going on.  Rework the UI code to never expect a scan to be blocking.
- Don't require the daemon to be restarted when we switch backends, just try to prevent any calls to the backend until the switch is made.
2008-11-02 14:26:42 +00:00
imdano
11bd0266ff experimental branch:
- Port a bunch of fixes from the trunk
- Use an actual Gtk.Menu in the toolbar for the "Network" widget
2008-10-18 17:37:42 +00:00
imdano
9ee8bc1875 experimental:
- Add 3rd party python libraries used by ioctl backend to tree and to setup.py
- Port several bug fixes from the trunk (removing reliance on shell for running external commands, unicode fixes, gui crash fixes, authentication validation improvements, several others)
- Fix some crashes in ioctl backend.
- Change daemon/GUI launch scripts to use the -O flag.
2008-10-09 18:45:01 +00:00
imdano
df0ebdb92f branches/experimental:
- A bunch of documentation additions/updates.
- Minor refactoring.
- Fix catching wrong exception in netentry.py
2008-09-25 20:17:35 +00:00
imdano
c197b5fcbc branches/experimental
- Add support for entering search domain into static DNS settings.
- Fix some errors in how static setting texboxes were getting set.
- Fixed a bunch of errors/warnings found by pylint.
2008-09-20 10:22:06 +00:00
imdano
59d282ee6e experimental:
- Merge in changes from pluggablebackends.
2008-09-06 16:54:53 +00:00
imdano
5a20b38e79 All branches/trunk:
- Specify the device to use in SetDefaultRoute
2008-08-29 12:22:34 +00:00
imdano
37838ba057 experimental:
- Some minor cleanup/formatting fixes
- Add a missing DetectWiredInterfaces() method to networking.py
2008-08-24 08:15:24 +00:00
compwiz18
0844386017 Experimental: Apply changes involving setup.py
* Added setup.py from trunk
 * Updated various information files (AUTHORS, README, etc)
 * Update the Wicd icon
 * Move stuff around to match trunk's layout
2008-08-23 20:14:43 +00:00