Commit graph

59 commits

Author SHA1 Message Date
Robert Love
1bcdfd702c Make 'passwords' plural.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1432 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-02 21:46:25 +00:00
Lasse Bang Mikkelsen
aba57118dd Updated Danish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1389 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-26 14:19:41 +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
Lasse Bang Mikkelsen
bc5cbdf253 Updated Danish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1356 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-18 09:46:34 +00:00
Dan Williams
db7403d3f4 2006-01-16 Dan Williams <dcbw@redhat.com>
Apply the PtP Address bits of a patch from Tim Niemueller

	* src/nm-ip4-config.[ch]
		- Add ip4_ptp_address member to object
		- (nm_ip4_config_copy): copy ptp address too
		- (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
			new functions
		- (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
			rather than local tunnel ip address

	* src/vpn-manager/nm-vpn-service.c
		- (print_vpn_config): update for PtP address
		- (nm_vpn_service_stage4_ip_config_get): switch parsing to
			DBusMessageIters in preparation for getting routes from the VPN
			service daemons too

	* vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
		- (send_config_info): update for PtP address, clean up code
		- (main): update for PtP address, clean up code, fix typo

	* vpn-daemons/openvpn/src/nm-openvpn-service.c
		- (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address

	* vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
		- (pptp_ip_up): update for PtP address

	* vpn-daemons/pptp/src/nm-pptp-service.c
		- (nm_pptp_dbus_process_helper_ip4_config): update for PtP address

	* vpn-daemons/vpnc/src/nm-vpnc-service.c
		- (print_vpn_config): update for PtP address
		- (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1346 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-16 22:58:13 +00:00
Dan Williams
6b8b163de1 G_GNU_PRETTY_FUNCTION -> G_STRFUNC
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1345 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-16 22:26:18 +00:00
Robert Love
da31656b36 vpn-daemons/*/configure.in: newer automake versions need AC_CONFIG_AUX_DIR
before AM_INIT_AUTOMAKE.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1271 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-05 21:46:11 +00:00
Tim Niemueller
d08e885b2d 2006-01-05 Tim Niemueller <tim@niemueller.de>
* configure.in: Explicitly set AUX_DIR to . to prevent autoconf from
          searching (and finding) install-sh in ../.., which lead to
          problems.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1268 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-05 18:18:59 +00:00
Robert Love
923b6fab33 misc compile fixes
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1264 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-04 18:07:14 +00:00
Dan Williams
6bcf90acf2 2005-12-06 Dan Williams <dcbw@redhat.com>
* Move NetworkManager.h -> include/NetworkManager.h
	* Split out VPN stuff to include/NetworkManagerVPN.h
	* Fix up makefiles to include new location
	* Fix up sources to include NetworkManagerVPN.h


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1130 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-06 23:37:09 +00:00
Robert Love
e2659894f4 2005-11-04 Robert Love <rml@novell.com>
* auth-dialog/gnome-two-password-dialog.c: Embarrassing bug!  Make sure
	  we g_free() these things in the right order.  Fix c/o JPR. (Novell
	  bug #121884).


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1098 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-04 20:57:29 +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
0aa2f997e4 2005-10-27 Christopher Aillon <caillon@redhat.com>
* src/nm-vpn-service.c: Only signal the bus that state
	changed	if old_state != new_state


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1083 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-28 06:16:31 +00:00
Robert Love
7374eff85f vpn-daemons/vpnc/po/.cvsignore: add *.pot
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1062 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-20 19:06:57 +00:00
Robert Love
f9450c787b 2005-10-19 Robert Love <rml@novell.com>
* vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1060 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 18:27:16 +00:00
Christopher Aillon
846ac5f251 2005-10-17 Christopher Aillon <caillon@redhat.com>
* configure.in: Bump version to 0.5.0


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1039 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-18 03:27:41 +00:00
Robert Love
8a0de324cf remove unused variables, labels, and a function.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1021 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-12 19:11:21 +00:00
Christopher Aillon
0f08c505a2 2005-10-07 Christopher Aillon <caillon@redhat.com>
* nm-vpnc.desktop.in: use a category for the desktop entry.
	(Rodrigo Moya <rodrigo@novell.com>)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1001 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-07 17:38:35 +00:00
Dan Williams
a326781e61 Fix debug info printout compile error
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@975 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-26 14:53:22 +00:00
Dan Williams
5c46be7149 2005-09-07 Dan Williams <dcbw@redhat.com>
* The great VPN Manager rewrite of 2005


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@946 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-07 19:12:52 +00:00
Christopher Aillon
31027d4d42 2005-09-07 Christopher Aillon <caillon@redhat.com>
* gnome/applet/menu-items.c:
	* gnome/applet/nm-device.c:
	* gnome/applet/wireless-network.c:
	* gnome/libnm_glib/libnm_glib.c:
	* src/NetworkManagerDbusUtils.c:
	* vpn-daemons/vpnc/src/nm-vpnc-service.c:
	g_malloc0 doesn't return NULL


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@944 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-07 06:44:42 +00:00
Christopher Aillon
2ea235020b 2005-08-26 Christopher Aillon <caillon@redhat.com>
* Fix up VPN state handling between the applet and NetworkManager,
		so that the applet doesn't show a VPN as connected when one
		really is not
			- The applet no longer has a pointer to the active VPN's
				name, but tracks each VPNs state individually
			- NM no longer has a "getActiveVPNConnection" method
			- NM no longer broadcasts the "VPNConnectionChange" signal
			- NM now broadcasts a "VPNConnectionStateChange" signal
				whenever the state of a VPN changes


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@902 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-26 23:36:35 +00:00
Christopher Aillon
88def5d4d6 2005-08-20 Christopher Aillon <caillon@redhat.com>
* gnome/applet/other-network-dialog.c:
	The "Create New Network" and "Connect to Other Network"
	dialogs share alot of code, but shouldn't share a window
	title.  Give them different ones.

	* gnome/applet/wireless-applet.glade:
	* vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
	Some more minor UI tweaks.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@892 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-20 05:12:23 +00:00
Dan Williams
722013e7f5 spacing fixups
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@888 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-19 15:39:33 +00:00
Dan Williams
84fb1fe77f Update cvsignore file
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@887 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-19 15:37:14 +00:00
Dan Williams
94f71ab85c 2005-08-19 Dan Williams <dcbw@redhat.com>
* vpn-daemons/vpnc/nm-vpnc-service.c
		- (vpnc_watch_cb): remove no-longer-relevant comment
		- (write_config_option): new function, helper to write
			config options to vpnc's stdin
		- (nm_vpnc_config_write): use the new helper, make the
			code shorter


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@886 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-19 15:36:27 +00:00
David Zeuthen
eb1a9774f1 2005-08-18 David Zeuthen <davidz@redhat.com>
* configure.in: Require NetworkManaged-devel >= 0.4.1. Bump version
        to 0.3.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@877 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-18 18:47:20 +00:00
Dan Williams
fa90b0567b update .cvsignore
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@861 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-17 04:30:03 +00:00
Dan Williams
387f572771 2005-08-16 Dan Williams <dcbw@redhat.com>
Patch from j@bootlab.org
	* vpn-daemons/vpnc/Makefile.am: Fix for autoreconf

	* configure.in: allow specifying the path to dhcdbd


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@852 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-16 17:27:48 +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
Chris Aillon
fdb72866e6 d is for decimal, s is for string. vpnc is a wonderful thing.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@844 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-15 15:17:47 +00:00
Christopher Aillon
1262be4ea8 2005-08-14 Christopher Aillon <caillon@redhat.com>
* src/nm-vpn-service.c:  Use UDP Encapsulation, to allow
	multiple VPN connections from the same network


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@843 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-15 03:26:27 +00:00
Robert Love
b1dea9ba50 Add sv translation from base NetworkManager--it belongs here.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@837 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-12 18:28:04 +00:00
Robert Love
2cd836a8d1 Add
COPYING
	INSTALL
to vpn-daemons/vpnc/.cvsignore


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@833 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-10 18:09:44 +00:00
Dan Williams
b06fb4b0df 2005-07-13 Dan Williams <dcbw@redhat.com>
Patch from Ray Strode <halfline@gmail.com>
	* vpn-daemons/vpnc/nm-vpnc-service.c
		- Don't let vpnc daemonize, fixes some races with PID file reading


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@797 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-07-13 17:12:33 +00:00
Robert Love
cee8804448 update cvsignore files.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@787 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-07-07 16:22:06 +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
005fe33d72 2005-06-29 David Zeuthen <davidz@redhat.com>
* Makefile.am: Install gnome-mime-application-x-cisco-vpn-settings.png

        * gnome-mime-application-x-cisco-vpn-settings.png: New file - icon
        by Diana Fong <dfong@redhat.com>


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@763 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-30 01:10:30 +00:00
David Zeuthen
283c1719d9 2005-06-29 David Zeuthen <davidz@redhat.com>
* configure.in: Bump version to 0.2


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@762 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-30 00:57:54 +00:00
David Zeuthen
d1086fc48c 2005-06-23 David Zeuthen <davidz@redhat.com>
* src/nm-vpnc-service.c (vpnc_watch_cb): Some users report even
        greater success with sleep (2) rather than sleep (1)...


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@742 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-23 20:03:47 +00:00
David Zeuthen
b88cd2913d 2005-06-23 David Zeuthen <davidz@redhat.com>
* auth-dialog/main.c (main): Print two newlines when the passwords
        are dumped and wait for the parent to tell us on stdin to die.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@740 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-23 19:47:07 +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
59b45f9fe9 2005-06-17 David Zeuthen <davidz@redhat.com>
* configure.in, Makefile.am: Various fixes such that 'make distcheck'
        actually succeeds


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@705 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-17 15:56:34 +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
6ea559a44c 2005-06-16 David Zeuthen <davidz@redhat.com>
* Makefile.am (dbusservicedir): Adjust to use $(sysconfdir)

        * configure.in: Don't do the DBUS_SYS_DIR thing since it's always
        at $(sysconfdir)/dbus-1/system.d


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@690 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-16 19:16:09 +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
e21fd4a33f Forgot to add README
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@665 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-12 14:42:15 +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