Commit graph

29 commits

Author SHA1 Message Date
Dan Williams
1b43d896fd 2007-12-11 Dan Williams <dcbw@redhat.com>
Patches from Casey Harkins <caseyharkins@gmail.com>

	* properties/nm-vpnc.c
		- (impl_fill_connection): duplicate hash table keys as required



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3163 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-12-11 15:12:45 +00:00
Dan Williams
775a223fda 2007-12-05 Dan Williams <dcbw@redhat.com>
Patch from Denis Leroy <denis@poolshark.org>

	* properties/nm-vpnc.c
		- (import_from_file): allow import of incomplete .pcf files
			(gnome.org #498758, rh #241774)



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3139 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-12-05 22:03:32 +00:00
Dan Williams
d46b75da9e 2007-12-05 Dan Williams <dcbw@redhat.com>
* properties/nm-vpnc.c
		- (impl_get_widget): be more robust about bad connections



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3138 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-12-05 17:37:02 +00:00
Dan Williams
7155a6825e (impl_fill_connection): fail less often when stuff breaks
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3135 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-12-05 16:40:15 +00:00
Dan Williams
3408252251 2007-11-15 Dan Williams <dcbw@redhat.com>
* properties/nm-vpnc.c
		- Fixup for NMSettingConnection 'name' -> 'id' changes



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3093 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-15 21:29:54 +00:00
Dan Williams
df921e74c5 2007-11-07 Dan Williams <dcbw@redhat.com>
* auth-dialog/main.c
	  properties/nm-vpnc.c
	  src/nm-vpnc-service.c
		- Fix for new NMSetting API changes



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3071 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-07 18:22:04 +00:00
Dan Williams
2b0426ed31 2007-10-26 Dan Williams <dcbw@redhat.com>
* properties/nm-vpnc.c
		- (impl_get_object): use a glade root, and ensure widget is referenced
			correctly



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3021 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-10-26 16:27:15 +00:00
Dan Williams
a61ffae29a Warning fixes
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2910 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-28 03:50:02 +00:00
Dan Williams
9be69751f4 2007-09-23 Dan Williams <dcbw@redhat.com>
* vpn-daemons/vpnc/properties/nm-vpnc.c
		- Update for new VPN properties API bits; instead of passing around
			a lot of random things, everything goes into the NMConnection
			object.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2861 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-24 04:08:02 +00:00
Tambet Ingo
be3a380b08 2007-09-12 Tambet Ingo <tambet@gmail.com>
* src/nm-vpnc-service.[ch]: Rewrite. Derive from NMVPNPlugin.

        * src/nm-vpnc-service-vpnc-helper.c: Rewrite using dbus-glib.

        * auth-dialog/main.c: Populate the properties hash with the
        * passwords.

        * properties/nm-vpnc.c: The VPN connection properties are all
        * hash tables now.

        * src/nm-utils.[ch]: Remove. Use the same things from
        * libnm-util.

        * configure.in: Check libnm_glib module as well now that we use
        * NMVPNPlugin.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2797 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-12 16:18:15 +00:00
Tambet Ingo
fc433a76a5 2007-08-15 Tambet Ingo <tambet@gmail.com>
* nm-vpnc-service.name.in: Use upper-case macro names as that's
        * what the
        sed script from Makefile is trying to replace.

        * src/Makefile.am: Link to $NM_UTILS_LIBS.

        * configure.in: Update required NetworkManager version to 0.7.0.
        Clean up the double-check to NetworkManager.pc.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2693 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-15 12:01:05 +00:00
Christopher Aillon
b55f1323b7 2007-06-11 Christopher Aillon <caillon@redhat.com>
* properties/nm-vpnc-dialog.glade:
	Fix casing of the disable NAT checkbox


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2590 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-06-12 03:50:38 +00:00
Dan Williams
75611d4b30 2007-04-04 Dan Williams <dcbw@redhat.com>
Patch from Denis Leroy <denis@poolshark.org>
	* src/nm-vpnc-service.c
	  properties/nm-vpnc.c
	  properties/nm-vpnc-dialog.glade
		- Add config options for NAT keepalive, NAT Traversal, and Weak DES



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2525 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-04-04 14:44:07 +00:00
Dan Williams
a7cbebffce 2007-04-02 Dan Williams <dcbw@redhat.com>
Patch from Christian Persch <chpe@gnome.org>
	* properties/nm-vpnc-dialog.glade
		- HIGify (gnome.org #423753)

	* src/nm-vpnc.c
		- Remove unused expander code too



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2517 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-04-02 04:21:16 +00:00
Dan Williams
b5e4eb7712 2007-02-20 Dan Williams <dcbw@redhat.com>
Patch from Jon Nettleton

	* properties/nm-vpnc-dialog.glade
		- Reduce size of vpnc configuration dialog (Gnome.org #408819)



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2344 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-02-20 14:37:33 +00:00
Tambet Ingo
d5d84393ab 2006-10-30 Tambet Ingo <tambet@ximian.com>
vpnc/:

	* properties/Makefile.am: Include new files pcf-file.[ch] in build.
	Add NetworkManager to CFLAGS and LDADD.

	* properties/pcf-file.c: Implement.

	* properties/pcf-file.h: Ditto.

	* properties/nm-vpnc.c (import_from_file): Rewrite using new Cisco PCF
	file parser instead of using GKeyFile (which has slightly different
	semantics).

	* src/Makefile.am: Add NetworkManager to CFLAGS and LDADD.

	* src/nm-vpnc-service.c: Remove the leading NetworkManager directory
	from NM includes since the NM pkg-config file already adds that.

	* src/nm-vpnc-service-vpnc-helper.c: Ditto.


	openvpn/:

	* properties/Makefile.am: Add NetworkManager to CFLAGS and LDADD.

	* src/Makefile.am: Ditto.

	* properties/nm-openvpn.c: Remove the leading NetworkManager directory
	from NM includes since the NM pkg-config file already adds that.

	* src/nm-openvpn-service-openvpn-helper.c: Ditto.

	* src/nm-openvpn-service.c: Ditto.


	pptp/:

	* src/nm-pppd-plugin.c: Remove the leading NetworkManager directory
	from NM includes since the NM pkg-config file already adds that.

	* properties/vpnui_impl.c: Ditto.

	* properties/vpnui_impl.h: Ditto.

	* src/nm-ppp-starter.c: Ditto.

	* src/Makefile.am: Add NetworkManager to CFLAGS and LDADD.

	* properties/Makefile.am: Add NetworkManager to CFLAGS and LDADD.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2093 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-10-30 11:23:28 +00:00
Christian Persch
80e4be873a 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
* gnome/vpn-properties/nm-vpn-properties.glade:
	* vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
	* vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
	* vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
		- Make the VPN properties pages prettier and more HIG
		  compliant. Gnome Bug #336913.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1781 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-29 02:59:10 +00:00
Robert Love
f560d48b7d 2006-05-24 Robert Love <rml@novell.com>
* gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
	  libnm-util/Makefile.am, src/Makefile.am,
	  vpn-daemons/openvpn/auth-dialog/Makefile.am,
	  vpn-daemons/openvpn/properties/Makefile.am,
	  vpn-daemons/pptp/auth-dialog/Makefile.am,
	  vpn-daemons/pptp/properties/Makefile.am,
	  vpn-daemons/vpnc/auth-dialog/Makefile.am,
	  vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
	  user passed for --datadir, if anything, when setting the GNOME locale
	  directory.  It should be a function of the specified datadir and not
	  the prefix.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1759 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-24 15:08:22 +00:00
Robert Love
3a736cfdb6 2006-04-10 Robert Love <rml@novell.com>
* properties/nm-vpnc.c: Report error if writing out of exported
	  configuration fails.  The silent treatment might work for me and my
	  wife, but not for failed I/O.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1678 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-10 20:05:31 +00:00
Robert Love
eb607190f9 2006-01-23 Robert Love <rml@novell.com>
* properties/nm-vpnc-dialog.glade: Add (back) 'Optional Information'
	  label for GtkExpander.  Use new-style Glade (separate label, not a
	  property of the GtkExpander).


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1378 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-23 19:02:34 +00:00
Robert Love
b17b4de3f2 2005-10-28 Robert Love <rml@novell.com>
* vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
	  "Import Saved Configuration..." to make it clear that importing is
	  not the next step, but an option.  As an aside, a nice TODO would be
	  to move Importing out of the vpn-specific dialog and into the main
	  property editor, as Importing goes with Adding, but that will require
	  some rearchitecting of the VPN stuff I suspect.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1084 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-28 18:01:51 +00:00
Christopher Aillon
fcce343152 2005-08-16 Christopher Aillon <caillon@redhat.com>
* vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
        * gnome/applet/applet.c: Add some mnemonics for VPNC

        * vpn-daemons/.cvsignore: fix this up a little bit


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@850 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-16 16:45:15 +00:00
Christopher Aillon
6df6b19135 2005-08-15 Christopher Aillon <caillon@redhat.com>
* gnome/vpn-properties/nm-vpn-properties.c:
        * gnome/vpn-properties/nm-vpn-ui-interface.h:
        * vpn-daemons/vpnc/properties/nm-vpnc.c:
        Makeshift fix to remove newlines from translatable strings.
        Note that we now return an allocated string, so callers of
        get_confirmation_details () must now call g_free () on the
        result. (fixes #309033).


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@846 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-15 19:34:20 +00:00
Robert Love
44317e75c7 2006-07-01 Robert Love <rml@novell.com>
* vpnc/.cvsignore,
	  vpnc/auth-dialog/.cvsignore,
	  vpnc/po/.cvsignore,
	  vpnc/properties/.cvsignore,
	  vpnc/src/.cvsignore: update


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@776 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-07-01 18:48:10 +00:00
David Zeuthen
56240ef587 2005-06-23 David Zeuthen <davidz@redhat.com>
* properties/nm-vpnc.c (import_from_file): Allow "Description=" to be
        the empty string (reported by Bill Moss <bmoss@clemson.edu>).


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@739 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-23 18:59:15 +00:00
David Zeuthen
186c2fb500 2005-06-17 David Zeuthen <davidz@redhat.com>
* properties/nm-vpnc.c: Add new NM_VPN_API_SUBJECT_TO_CHANGE so we
        can include nm-vpn-ui-interface.h.
        (import_from_file): New function
        (import_button_clicked): Actually Implement this function
        (impl_can_export): New function
        (impl_import_file): New function
        (export_to_file): New function
        (impl_export): New function
        (impl_get_object): Add function pointers for can_export, import_file
        and export

        * nm-vpnc.desktop.in: New file

        * configure.in: Add AC_PROG_INTLTOOL

        * Makefile.am: Add rules for building the .desktop file


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@699 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-17 04:16:48 +00:00
Robert Love
def204675a Update .cvsignore files
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@691 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-16 21:46:58 +00:00
David Zeuthen
dd4fc8fc24 2005-06-16 David Zeuthen <davidz@redhat.com>
* properties/nm-vpnc.c: Include w_use_domain and w_domain
        (impl_get_widget): Reset w_domain, w_use_domain
        (impl_get_properties): Also pass Domain option if applicable
        (impl_is_valid): Add validation code for Domain
        (use_domain_toggled): New function
        (impl_get_confirmation_details): Also put out info about Domain if
        applicable
        (impl_get_object): Get w_domain, w_use_domain widgets and set
        up event listeners for them

        * properties/nm-vpnc-dialog.glade: Added the Domain optional
        setting


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@686 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-16 18:18:25 +00:00
David Zeuthen
628aedd140 2005-06-12 David Zeuthen <davidz@redhat.com>
* doc/example-vpnc-system-wide-connection.sh: New file

	* properties/nm-vpnc-dialog.glade: New file

	* properties/nm-vpnc.c: New file

	* properties/Makefile.am: New file

	* auth-dialog/Makefile.am: New file

	* auth-dialog/gnome-two-password-dialog.[ch]: New files, based
	on gnome-password-dialog.[ch] from libgnomeui

	* auth-dialog/main.c: New file

	* po/POTFILES.in, po/ChangeLog, da.po: New files

	* Makefile.am: Add src, auth-dialog, propertes and po

	* autogen.sh: New file

	* configure.in: New file

	* acinclude.m4: New file

	* README: New file

	* NEWS: New file

	* ChangeLog: New file

	* AUTHORS: New file

	* nm-vpnc-service.name.in: Based on nm-vpnc-service.name. Reworked
	to sport multiple sections and have the paths to the auth-dialog
	binary and properties shared object

	* nm-vpnc-service.name: Deleted and replaced by
	nm-vpnc-service.name.in

	* nm-vpnc-service.conf: Rename from org.freedesktop.vpn to
	org.freedesktop.NetworkManager.vpnc

	* src/nm-vpnc-service.h: Rename from org.freedesktop.vpn to
	org.freedesktop.NetworkManager.vpnc (New file)

	* src/nm-vpnc-service.c: Use the system-installed
	NetworkManager.h instead. Setup i18n. (New file)
	(nm_vpnc_config_write): Rework to cope with passwords being
	an array.
	(nm_vpnc_config_options_validate): Add "Xauth username" to list
	of allowed options
	(nm_vpnc_dbus_handle_start_vpn): Passwords is now an array.

	* src/nm-vpnc-service-vpnc-helper.c: Use the system-installed
	NetworkManager.h instead (New file)

	* nm-vpn-service.[ch], nm-vpn-service-vpnc-helper.c: Moved in src

	* src/nm-utils.[ch]: For now, a local copy duplicated from utils/ in
	the NM project


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@663 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-12 14:34:54 +00:00