Commit Graph

522 Commits (ad1640d56d176bb0b3803adc1080b03469363a31)

Author SHA1 Message Date
Samuli Seppänen 3227369371 Merge pull request #19 from mattock/master
Bump version in "master" branch to 11
2016-02-29 10:23:14 +02:00
Soar Qin fe5a1c9b71 Adding static-challenge support 2016-02-27 13:51:13 +08:00
Samuli Seppänen fbb5348540 Bump version in "master" branch to 11
URL: https://github.com/OpenVPN/openvpn-gui/pull/16

Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2016-02-22 10:50:11 +02:00
Samuli Seppänen c3e2584674 Merge pull request #17 from leobasilio/master
Add "Import file" menu option
2016-02-22 10:13:29 +02:00
Samuli Seppänen 49746f2995 Merge pull request #16 from selvanair/error-messages
Better error reporting when connection fails to come up
2016-02-22 10:13:01 +02:00
Samuli Seppänen f415fe8c83 Merge pull request #15 from selvanair/make-log-first-option
Put --log first in the command line
2016-02-22 10:06:37 +02:00
Leonardo Basilio b47d3545e4 Improving feedback messages when importing 2016-02-21 12:15:40 -03:00
Leonardo Basilio 4c429d0b6b Fixes following pull request discussion
* Proper filter string size
* Copy config to subdirectory
2016-02-18 14:03:02 -02:00
Selva Nair 5ce1298452 Warn if interative service is not installed or not running
Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-02-16 20:09:20 -05:00
Leonardo Basilio 01051c51be Make sure full config path exists before importing file 2016-02-16 22:50:20 -02:00
Leonardo Basilio 46a1bc715c Adding "Import file" feature 2016-02-16 22:23:23 -02:00
Leonardo Basilio d0c37ecbcc Updating README build instructions 2016-02-16 22:19:52 -02:00
Selva Nair 352e44f03d Better error reporting when connection fails to come up
- Handle early errors (openvpn exits before management connection is up)
    with a helpful error message that points the user to view log.
- Include only readable config files in the connection list
- Warn if no connection profiles found

TODO: handle startup errors from interactive service
2016-02-16 15:57:37 -05:00
Samuli Seppänen f18e3efca7 Merge pull request #13 from selvanair/registry-and-admin
Registry and admin
2016-02-16 10:25:07 +02:00
Selva Nair cdec68ef91 Put --log first in the command line
This is needed to avoid early messages going to stdout leaving no
trace of errors when openvpn exits before management interface is up.
It also ensures that any --log directives in the config do not override
the log file location.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-02-15 11:58:45 -05:00
Selva Nair 09334e71a0 Fix the path of notepad.exe
Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-02-15 11:09:45 -05:00
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