Commit Graph

206 Commits (4437ce7a8cd7e0508d26fede84fcaf5d040a8c05)

Author SHA1 Message Date
Selva Nair 4437ce7a8c Change default log file location to a OpenVPN/log in user's profile directory
Change the default log file location to OpenVPN/log in user's profile directory
to support running without admin privileges using the interactive service.
The registry keys are moved to HKCU from HKLM to allow for user-specific
settings as well as to avoid the need for running the GUI as admin at the
first instance.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-02-15 11:09:45 -05:00
Selva Nair 791aea49e6 Do not use interactive service if running as admin
Connecting to a named pipe server while running with admin rights is not
secure in some windows versions. As the interactive service is not required
to set routes while running as admin, this looks like a safe compromise.

Fix based on feedback from Heiko Hund
- Move IsUserAdmin() check before opening the service pipe

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-02-15 11:07:29 -05:00
Samuli Seppänen de6e411abd Merge pull request #14 from chipitsine/master
no need for CBUILD variable (it is the same in both cases)
2016-02-08 09:59:07 +02:00
Ilya Shipitsin 19f4d65bb8 .travis.yml cleanup 2016-02-08 01:39:38 +05:00
Samuli Seppänen 80ed8b71f8 Bump version to 10
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2016-02-03 16:05:45 +02:00
Samuli Seppänen 071c8b6b2f Merge pull request #12 from chipitsine/master
travis-ci support
2016-01-18 14:33:25 +02:00
Ilya Shipitsin dbeb759212 initial travis-ci commit 2016-01-18 01:16:42 +05:00
Samuli Seppänen be9c54a592 Merge pull request #6 from selvanair/highest-priv
Run with highest privilege available
2016-01-04 12:06:03 +02:00
Samuli Seppänen 0cea17f7f8 Merge pull request #10 from chipitsine/master
configure.ac: http://openvpn-gui.sf.net --> https://github.com/openvp
2016-01-04 09:32:26 +02:00
Ilya Shipitsin 3276e4725c configure.ac: http://openvpn-gui.sf.net --> https://github.com/openvpn/openvpn-gui/ 2016-01-02 22:21:25 +03:00
Samuli Seppänen a35beb134a Bump version to 9
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2015-12-30 11:40:28 +02:00
Samuli Seppänen fa54dd15fa Merge pull request #8 from chipitsine/master
cppcheck cleanup:
2015-12-29 13:30:47 +02:00
Ilya Shipitsin 08538280d0 cppcheck cleanup:
[openvpn_config.c:194]: (style) The function 'ConfigFileOptionExist' is never used.
[localization.c:299]: (style) The function 'LocalizedDialogBox' is never used.
[main.c:549]: (style) The function 'PrintErrorDebug' is never used.
[main.c:583]: (style) The function 'init_security_attributes_allow_all' is never used.
[misc.c:180]: (style) The function 'wcseq' is never used.
2015-12-22 23:21:14 +05:00
Samuli Seppänen 31f2e3d506 Merge pull request #7 from chipitsine/master
fix cppcheck warning
2015-12-15 19:22:18 +02:00
Ilya Shipitsin bc94c7e951 fix
$ cppcheck .
Checking localization.c...
[localization.c:224]: (error) va_list 'args' was opened but not closed by va_end().
2015-12-15 18:15:42 +05:00
Selva Nair 2af8636896 Run with highest privilege available
Request the highest privilege of the invoking user. When started by a
user with admin rights, a UAC prompt may pop up requesting consent.
The current behaviour is preserved for users with limited privileges.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2015-12-11 21:36:43 -05:00
Samuli Seppänen 88c6e9f927 Merge pull request #5 from mattock/changes_rst
Add CHANGES.rst
2015-11-27 08:12:54 +02:00
Samuli Seppänen ad289fe811 Add information about versions 2-7 to CHANGES.rst
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2015-11-24 11:50:12 +02:00
Samuli Seppänen 1512eb1348 Convert changes.txt to CHANGES.rst
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2015-11-24 11:24:24 +02:00
Samuli Seppänen 093f67b51c Merge pull request #4 from SpecLad/widen-about
Widen the Russian About page
2015-11-24 09:44:31 +02:00
Samuli Seppänen b5087657f9 Merge pull request #3 from selvanair/no-disconnect
Do not disconnect on suspend
2015-11-23 10:53:50 +02:00
Роман Донченко 65cb2649fd Widen the Russian About page
The first line of the page is too long for the current width, so it
spills onto the second line, shifting the rest of the text downwards.
As a result, the line with the URL is shifted out of the label's bounds
and is no longer visible.
2015-11-18 22:22:38 +03:00
Selva Nair 2bb1726764 Do not disconnect on suspend
Openvpn no longer terminates but restarts on suspend. This conflicts with
the stop/restart logic in the gui during windows power state change events.
This patch changes the default behaviour so that SIGTERM is not triggered
during windows suspend.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2015-11-17 23:38:17 -05:00
Samuli Seppänen 1fd757e8bc Merge pull request #2 from ValdikSS/ua
Add Ukrainian localization
2015-11-17 13:59:28 +02:00
ValdikSS a0acaa1446 Add Ukrainian localization 2015-11-17 14:54:46 +03:00
Samuli Seppänen 6de13a63a2 Merge pull request #1 from mator/master
russian language fixes
2015-10-07 14:19:49 +03:00
Anatoly Pugachev b5b00c2726 russian language fixes 2015-10-07 13:33:22 +03:00
Samuli Seppänen e344dfc2e6 Added *.bak to .gitignore
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2015-02-27 13:06:47 +02:00
Samuli Seppänen d1db3181f2 Bump version to 7
Signed-off-by: Samuli Seppänen <samuli.seppanen@gmail.com>
2015-02-27 13:02:47 +02:00
Samuli Seppänen 7df0cdef11 Removed openvpn-gui.exe restart functionality
It seems that openvpn-gui.exe loads libeay32.dll when it launches. This prevents
the OpenVPN installer from overwriting that library when it needs to, in the
"Dependencies" section. There are various workarounds, none of which are
particularly pretty, so for now the restart functionality is simply removed.

Signed-off-by: Samuli Seppänen <samuli.seppanen@gmail.com>
2015-02-27 13:02:01 +02:00
Samuli Seppänen dc91cd6319 Add openvpn-gui.exe to PATH
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2015-02-18 14:54:16 +02:00
Samuli Seppänen 20c94686bc Migrate openvpn-gui.exe starting/stopping code from openvpn.nsi
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2015-02-18 11:48:52 +02:00
Heiko Hund a449f63bcd fix IV_GUI_VERSION string 2014-11-16 16:16:31 +01:00
Heiko Hund 82a9b8bb6f buildsystem fixes 2014-11-16 15:55:38 +01:00
Piotr Zborowski b5db8a68c5 fixed typo in tray tooltip (polish language)
Signed-off-by: Piotr Zborowski <pzborowski@users.sf.net>
2014-04-14 10:15:59 +02:00
Heiko Hund 92329e6e90 pass IV_GUI_VER to the openvpn server 2014-04-08 20:14:49 +02:00
Heiko Hund c338ca0761 don't define callback functions as static 2014-04-08 20:06:37 +02:00
Heiko Hund 060da97c5f update program graphics, thanks to Evgheni Dereveanchin 2014-01-16 18:28:45 +01:00
Heiko Hund 6f2445bce7 fix comparsion of config file options 2014-01-16 18:11:20 +01:00
Erwin Bronkhorst a4119be7c0 Fixed another typo in Dutch translation 2014-01-16 13:36:33 +01:00
Erwin Bronkhorst 01a78282e4 Fixed some typo's and spelling errors in Dutch translation. 2013-12-10 01:21:09 +01:00
Heiko Hund 10c32f06c2 add NSIS installer files Samuli Seppänen
'make installer' will now spit out an openvpn-gui-installer.exe. The
location of the required makensis tool can be specified by appending
MAKENSIS=/path/to/makensis to the configure command line. Otherwise
it's searched for in your $PATH. The installer target is only available
when makensis is available.
2013-08-05 16:22:36 +02:00
Heiko Hund 02b924f48a bump version to 5 2013-08-05 11:09:00 +02:00
Heiko Hund 10c18fae4f fix disconnect happening when closing RDP client 2013-08-05 10:47:32 +02:00
Heiko Hund 56bc27649e bump version to 4 2013-06-03 12:28:52 +02:00
Heiko Hund bc015578d5 always send keyboard events 2013-06-03 12:22:22 +02:00
Heiko Hund 47cff87477 make auth popups show when returning from suspend 2013-04-25 17:53:16 +02:00
Heiko Hund c00191f51e use UI language set by user for l10n, closes #27 2013-04-15 19:23:24 +02:00
Heiko Hund 77d2f5b2b2 make MAX_CONFIGS a autoconf precious variable
You can now define up to how many configuration files you want
to support by stating something like

  ./configure MAX_CONFIGS=150 ...

when invoking configure. Default value remains 50.
2013-04-12 20:16:04 +02:00
Heiko Hund 2de72ec0ca don't let menu IDs overlap when MAX_CONFIGS > 100, closes issue #30 2013-04-12 14:38:46 +02:00