1. 26 Jun, 2008 1 commit
  2. 20 Jun, 2008 1 commit
    • Tambet Ingo's avatar
      src/connection-editor/ce-page.c src/connection-editor/ce-page.h · 291f1f12
      Tambet Ingo authored
      2008-06-20  Tambet Ingo  <tambet@gmail.com>
      
      	* src/connection-editor/ce-page.c
      	src/connection-editor/ce-page.h
      	src/connection-editor/nm-connection-editor.c
      	src/connection-editor/nm-connection-editor.h
      	src/connection-editor/nm-connection-list.c
      	src/connection-editor/page-dsl.c
      	src/connection-editor/page-ip4.c
      	src/connection-editor/page-mobile.c
      	src/connection-editor/page-ppp.c
      	src/connection-editor/page-vpn.c
      	src/connection-editor/page-wired-security.c
      	src/connection-editor/page-wired.c
      	src/connection-editor/page-wireless-security.c
      	src/connection-editor/page-wireless-security.h
      	src/connection-editor/page-wireless.c
      
      	Use a copy of the real connection in the connection editor. Fixes issues
      	where the connection is updated but writing it fails for some reason.
      	Keep the connection that's been edited updated after every UI change so
      	that pages can act on changes to other pages.
      
      svn path=/trunk/; revision=760
      291f1f12
  3. 26 Mar, 2008 1 commit
    • Dan Williams's avatar
      Patch from Tambet Ingo <tambet@gmail.com> · 8ef846c0
      Dan Williams authored
      2008-03-26  Dan Williams  <dcbw@redhat.com>
      
      	Patch from Tambet Ingo <tambet@gmail.com>
      
      	* src/connection-editor/ce-page.[ch]: Add a "changed" signal so that the pages
      	can tell when they change and the connection editor to notice it.
      
      	* src/connection-editor/nm-connection-editor.c: Listen to the CEPage::changed
      	signals, validate them, and update the dialog's "OK" button's sensitivity
      	accordingly.
      	(nm_connection_editor_run_and_close): Update the connection by iterating over
      	all pages and letting each update their own part.
      
      	* src/connection-editor/page-*.c: Add a stub for required "update_connection"
      	virtual function.
      
      	* src/connection-editor/page-wireless-security.c (ce_page_wireless_security_new):
      	Fix a bug where the default wireless combo box would always be the first item.
      	Don't take the "ok_button" argument, it's handled by the framework now.
      	(validate): Implement.
      
      
      svn path=/trunk/; revision=615
      8ef846c0
  4. 27 Feb, 2008 1 commit
    • Dan Williams's avatar
      Refactor connection editor page handling in preparation for making · e37f298d
      Dan Williams authored
      2008-02-27  Dan Williams  <dcbw@redhat.com>
      
      	Refactor connection editor page handling in preparation
      	for making Add/Edit work.
      
      	* src/connection-editor/Makefile.am
      	  connection-editor/ce-page.c
      	  connection-editor/ce-page.h
      		- Add the base CEPage class from which all other connection editor pages
      			derive
      
      	* connection-editor/page-ip4-address.c
      	  connection-editor/page-ip4-address.h
      	  connection-editor/page-ip4.c
      	  connection-editor/page-ip4.h
      	  connection-editor/page-wired.c
      	  connection-editor/page-wired.h
      	  connection-editor/page-wireless-security.c
      	  connection-editor/page-wireless-security.h
      	  connection-editor/page-wireless.c
      	  connection-editor/page-wireless.h
      		- Make each page a subclass of CEPage
      
      	* connection-editor/nm-connection-editor.c
      	  connection-editor/nm-connection-editor.h
      		- Update for these changes; handle CEPage objects instead of just
      			GtkWidgets
      
      
      svn path=/trunk/; revision=561
      e37f298d
  5. 28 Jan, 2008 1 commit
    • Dan Williams's avatar
      po/POTFILES.in - Add new translatables · 135eebb3
      Dan Williams authored
      2008-01-28  Dan Williams  <dcbw@redhat.com>
      
      	* po/POTFILES.in
      		- Add new translatables
      
      	* src/connection-editor/Makefile.am
      		- Add new pae sources and glade files
      
      	* src/connection-editor/page-wired.c
      	  src/connection-editor/page-wired.h
      	  src/connection-editor/ce-page-wired.glade
      		- Split wired bits out
      
      	* src/connection-editor/page-wireless.c
      	  src/connection-editor/page-wireless.h
      	  src/connection-editor/ce-page-wireless.glade
      		- Split wireless bits out
      
      	* src/connection-editor/page-wireless-security.c
      	  src/connection-editor/page-wireless-security.h
      		- Split wireless security bits out
      
      	* src/connection-editor/page-ip4-address.c
      	  src/connection-editor/page-ip4-address.h
      	  src/connection-editor/ce-page-ip4-address.glade
      		- Split IPv4 address bits out
      
      	* src/connection-editor/page-ip4.c
      	  src/connection-editor/page-ip4.h
      	  src/connection-editor/ce-page-ip4.glade
      		- Split IPv4 DNS & search domain bits out
      
      	* src/connection-editor/nm-connection-editor.c
      	  src/connection-editor/nm-connection-editor.h
      	  src/connection-editor/nm-connection-editor.glade
      		- Move all the settings pages to their own sources and glade files
      
      
      svn path=/trunk/; revision=485
      135eebb3
  6. 13 Jan, 2008 1 commit
    • Dan Williams's avatar
      src/applet-dialogs.h src/applet-dialogs.c - New files; move info and about · 061ba16d
      Dan Williams authored
      2008-01-11  Dan Williams  <dcbw@redhat.com>
      
      	* src/applet-dialogs.h
      	  src/applet-dialogs.c
      		- New files; move info and about dialog stuff here
      
      	* src/Makefile.am
      	  po/POTFILES.in
      		- Add applet-dialogs.c, applet-dialogs.h
      
      	* src/applet.c
      	  src/applet.h
      	  src/wireless-dialog.c
      		- Updates for split out dialogs stuff
      
      
      svn path=/trunk/; revision=443
      061ba16d
  7. 07 Nov, 2007 1 commit
    • Dan Williams's avatar
      src/applet.glade - Add a generic alert dialog · 353902fd
      Dan Williams authored
      2007-11-07  Dan Williams  <dcbw@redhat.com>
      
      	* src/applet.glade
      		- Add a generic alert dialog
      
      	* src/wireless-dialog.h
      	  src/wireless-dialog.c
      	  	- (security_combo_init): pass the connection along to the security
      	  		methods so they can do things like set defaults
      	  	- (nma_wireless_dialog_nag_user): if the user didn't enter something
      	  		they should really have (like a CA certificate) but we still want
      	  		to allow the connection to proceed, add a mechanism for querying the
      	  		WirelessSecurity and EAPMethods whether the user should be gently
      	  		alerted to that fact
      
      	* src/wireless-security/ws-wep-passphrase.h
      	  src/wireless-security/ws-wep-passphrase.c
      	  src/wireless-security/ws-leap.h
      	  src/wireless-security/ws-leap.c
      	  src/wireless-security/ws-wep-key.h
      	  src/wireless-security/ws-wep-key.c
      	  src/wireless-security/ws-wpa-psk.h
      	  src/wireless-security/ws-wpa-psk.c
      	  src/wireless-security/ws-dynamic-wep.h
      	  src/wireless-security/ws-dynamic-wep.c
      		- (ws_wep_passphrase_new, ws_leap_new, ws_wep_key_new, ws_wpa_psk_new):
      			accept 'connection' argument
      
      	* src/wireless-security/eap-method-leap.h
      	  src/wireless-security/eap-method-leap.c
      	  src/wireless-security/eap-method-simple.h
      	  src/wireless-security/eap-method-simple.c
      		- (eap_method_leap_new, eap_method_simple_new): accept 'connection'
      			argument, fill in default identity if provided
      
      	* src/wireless-security/wireless-security.h
      	  src/wireless-security/wireless-security.c
      		- (wireless_security_nag_user): call subclass nag_user method
      		- (ws_802_1x_auth_combo_init): grab the default EAP method out of the
      			wireless security object, if given; pass connection along to the
      			EAP method objects
      		- (ws_802_1x_nag_user): pass the nag request down to the active EAP
      			method object
      
      	* src/wireless-security/ws-dynamic-wep.h
      	  src/wireless-security/ws-dynamic-wep.c
      	  src/wireless-security/ws-wpa-eap.h
      	  src/wireless-security/ws-wpa-eap.c
      		- (nag_user): pass nag request off to ws_802_1x_nag_user()
      		- (ws_dynamic_wep_new, ws_wpa_eap_new): accept 'connection' argument,
      			pass it along to the generic 802.1x setup function
      
      	* src/wireless-security/eap-method-ttls.h
      	  src/wireless-security/eap-method-ttls.c
      		- (validate_filepicker): allow blank file
      		- (validate): don't return invalid if the CA certificate wasn't chosen
      		- (fill_connection): clear the CA cert path if a CA cert wasn't chosen
      		- (nag_dialog_destroy, nag_dialog_response_cb, nag_user): bring up the
      			alert dialog if the user didn't choose a CA cert and ask them if
      			they really wanted to choose one but just forgot
      		- (inner_auth_combo_init): pass the connection on to the EAP methods
      		- (eap_method_ttls_new): accept 'connection' argument, set up the nag
      			dialog
      
      	* src/wireless-security/eap-method-tls.h
      	  src/wireless-security/eap-method-tls.c
      		- (validate_filepicker): allow blank file
      		- (validate): don't return invalid if the CA certificate wasn't chosen
      		- (fill_connection): clear the CA cert path if a CA cert wasn't chosen,
      			fix for EAP-TLS as a phase2 auth method
      		- (nag_dialog_destroy, nag_dialog_response_cb, nag_user): bring up the
      			alert dialog if the user didn't choose a CA cert and ask them if
      			they really wanted to choose one but just forgot
      		- (eap_method_tls_new): accept 'connection' argument, set up the nag
      			dialog
      
      	* src/wireless-security/eap-method.h
      	  src/wireless-security/eap-method.c
      		- Add a class method for nagging the user about stuff
      		- (eap_method_nag_user): new function; pass request off to subclass
      
      	* src/wireless-security/Makefile.am
      		- Add gconf-helpers to the includes path to pick up standardized applet
      			private tags
      
      	* src/applet.c
      		- (ow_dialog_close, nag_dialog_response_cb, other_wireless_response_cb):
      			handle alerting the user to stuff, like not selecting a CA
      			certificate and allowing the connection to proceed if the user
      			decides to ignore that alert
      
      
      svn path=/trunk/; revision=324
      353902fd
  8. 24 Oct, 2007 1 commit
    • Dan Williams's avatar
      src/wireless-security/wireless-security.c · 48b03fe8
      Dan Williams authored
      2007-10-24  Dan Williams  <dcbw@redhat.com>
      
      	* src/wireless-security/wireless-security.c
      	  src/wireless-security/wireless-security.h
      		- (ws_802_1x_auth_combo_init): add a 'default_method' argument used to
      			pick the default EAP method when shown to the user
      
      	* src/wireless-security/ws-dynamic-wep.c
      	  src/wireless-security/ws-dynamic-wep.h
      	  src/wireless-security/ws-wpa-eap.c
      	  src/wireless-security/ws-wpa-eap.h
      		- Handle 'default_method' argument
      
      	* src/wireless-dialog.c
      		- (device_combo_changed): pass NMConnection to security_combo_init() if
      			available
      		- (get_default_type_for_security): determine the default overall
      			security type for a specific connection to better show defaults
      			in the UI
      		- (security_combo_init): pick the right default security based on 
      			the given NMConnection, if any; if the AP is capable of WPA or WPA2
      			then don't show the static WEP or LEAP options; pass the connection
      			along to the WPA-EAP and Dynamic WEP security items
      
      
      svn path=/trunk/; revision=282
      48b03fe8
  9. 15 Oct, 2007 1 commit
    • Dan Williams's avatar
      src/applet.glade - Remove border widths on subwidgets so they align better · 855cbbcb
      Dan Williams authored
      2007-10-15  Dan Williams  <dcbw@redhat.com>
      
      	* src/applet.glade
      		- Remove border widths on subwidgets so they align better with the
      			wireless-dialog
      		- Make all labels left-aligned
      		- Implement WPA-EAP widget
      		- Implement EAP-TLS method widget
      
      	* src/wireless-security/wireless-security.c
      	  src/wireless-security/wireless-security.h
      		- (ws_wpa_fill_default_ciphers): generic function for filling in default
      			WPA ciphers
      
      	* src/wireless-security/ws-wpa-psk.c
      		- (src/wireless-security/ws-wpa-psk.c): use ws_wpa_fill_default_ciphers()
      
      	* src/wireless-security/ws-wpa-eap.c
      	  src/wireless-security/ws-wpa-eap.h
      		- Implement shell WPA-EAP widget
      
      	* src/wireless-security/Makefile.am
      	  src/wireless-security/eap-method.c
      	  src/wireless-security/eap-method.h
      		- Implement EAP method superclass
      
      	* src/wireless-security/eap-method-tls.c
      	  src/wireless-security/eap-method-tls.h
      		- Implement EAP-TLS UI bits
      
      	* src/wireless-dialog.c
      		- (security_combo_init): add WPA-EAP options; don't leak wireless
      			security widgets on dialog destruction
      
      
      svn path=/trunk/; revision=253
      855cbbcb
  10. 14 Oct, 2007 3 commits
    • Dan Williams's avatar
      src/Makefile.am src/sha1.h -> src/wireless-security/sha1.h src/sha1.c -> · 061c5541
      Dan Williams authored
      2007-10-13  Dan Williams  <dcbw@redhat.com>
      
      	* src/Makefile.am
      	  src/sha1.h -> src/wireless-security/sha1.h
      	  src/sha1.c -> src/wireless-security/sha1.c
      	  src/wireless-security/ws-wpa-psk.h
      	  src/wireless-security/ws-wpa-psk.c
      	  src/wireless-security/wireless-security.h
      	  src/wireless-security/Makefile.am
      		- Add WPA-PSK passphrase and hex support
      
      
      svn path=/trunk/; revision=247
      061c5541
    • Dan Williams's avatar
      src/wireless-security/Makefile.am · 48e44082
      Dan Williams authored
      2007-10-13  Dan Williams  <dcbw@redhat.com>
      
      	* src/wireless-security/Makefile.am
      	  src/wireless-security/ws-wep-passphrase.c
      	  src/wireless-security/ws-wep-passphrase.h
      	  src/wirelees-security/wireless-security.h
      	  src/wireless-dialog.c
      		- Add WEP passphrase support
      
      
      svn path=/trunk/; revision=246
      48e44082
    • Dan Williams's avatar
      src/utils/Makefile.am src/Makefile.am configure.ac src/utils/utils.c · 9ce39484
      Dan Williams authored
      2007-10-13  Dan Williams  <dcbw@redhat.com>
      
      	* src/utils/Makefile.am
      	  src/Makefile.am
      	  configure.ac
      	  src/utils/utils.c
      	  src/utils/utils.h
      	  src/gnome-keyring-md5.c -> src/utils/gnome-keyring-md5.c
      	  src/gnome-keyring-md5.h -> src/utils/gnome-keyring-md5.h
      		- Move gnome-keyring-md5 stuff to a library that both the applet and
      			the wireless security stuff can easily use
      		- Put utils_bin2hexstr() in utils.c
      
      	* src/wireless-security/ws-wep-key.c
      	  src/wireless-security/Makefile.am
      		- (fill_connection): Use utils_bin2hexstr() from src/utils/
      
      
      svn path=/trunk/; revision=245
      9ce39484
  11. 20 Sep, 2007 1 commit
  12. 12 Sep, 2007 1 commit
    • Tambet Ingo's avatar
      Rewrite the VPN connection handling now that everything underneath has · 5de8a032
      Tambet Ingo authored
      2007-09-12  Tambet Ingo  <tambet@gmail.com>
      
              * src/applet.c: Rewrite the VPN connection handling now that
              * everything
              underneath has changed.
      
              * src/vpn-properties/nm-vpn-ui-interface.h: Convert properties
              * to hash tables
              eveyrwhere.
      
              * src/vpn-properties/nm-vpn-properties.c: Create properties hash
              * tables instead
              of GSLists.
      
              * src/vpn-password-dialog.c: Passwords are now dictionary items.
              * Use odd strings
              from the helper output as keys, even keys for values.
      
              * src/vpn-connection-info.[ch]: Implement.
      
      
      svn path=/trunk/; revision=150
      5de8a032
  13. 02 Feb, 2007 1 commit