Commit Graph

522 Commits (ad1640d56d176bb0b3803adc1080b03469363a31)

Author SHA1 Message Date
ValdikSS 3648896b33 More Russian fixes 2016-11-13 13:32:20 +03:00
ValdikSS 10c2a74312 Russian translation updates 2016-11-13 13:10:00 +03:00
Samuli Seppänen 19ada91d85 Merge pull request #90 from selvanair/mute-no-iservice-warning
Check for interactive service only if OpenVPN version is >= 2.4
2016-11-02 11:15:46 +02:00
Selva Nair 81ece9690e Check for interactive service only if OpenVPN version is >= 2.4
This makes it less confusing to run GUI v11 with OpenVPN 2.3.x

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-11-01 23:06:39 -04:00
Selva Nair 4d6a879ce3 Merge pull request #89 from mattock/about_page
Update About page
2016-10-21 11:23:24 -04:00
Samuli Seppänen 32c31ab942 Update About page
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2016-10-21 11:15:33 +03:00
Samuli Seppänen 135f177546 Merge pull request #86 from selvanair/get-pid-v2
Some bug fixes
2016-10-18 10:00:02 +03:00
Samuli Seppänen d3581746cb Merge pull request #80 from chipitsine/master
cleaned up unused resource
2016-10-11 15:12:20 +03:00
Selva Nair ad58766f52 Do not start a connection when a previous thread has not fully exited
When openvpn exits due to error, the GUI pops up a modal dialog and
waits on user to click OK before cleaning up resources and closing
the status window. During this phase if the user clicks "connect"
from the tray menu, a new thread is started overwriiting several
handles in the connection struct.

Fix: Refuse to start a connection when previous status thread is
still active. Instead, bring the exisiting status window to fore-ground.
Also make the modal dialog a child of the status window for better
visibility.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-10-08 16:25:56 -04:00
Selva Nair fcd0efa479 Terminate any openvpn processes that fail to stop
Sometimes gracefully stopping openvpn fails leaving the
process running in background. This causes restarting of
connections to fail until those processes are manually killed.

- Read process ID from interactive service to get process
  handle when openvpn is started by the service.
- Add a last resort method to forcefully terminate openvpn
  process that fails to exit aftier sending stop signal. Terminate
  is triggered after a 3 second timeout following Stop.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-10-08 16:25:38 -04:00
Selva Nair 9892d5813f NUL terminate messages received from interactive service
Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-10-08 16:23:47 -04:00
Ilya Shipitsin 0f531dc3ee cleaned up unused resource 2016-09-24 17:17:23 +05:00
Selva Nair 9ed9abec4f Merge pull request #84 from selvanair/no-config-msg
Improve the message shown when no config files are found

Acked-by: schwabe (Arne Schwabe)
2016-09-20 10:34:54 -04:00
Selva Nair 395caf88db Improve the message shown when no config files are found
Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-09-19 21:46:06 -04:00
Samuli Seppänen dbe459f418 Merge pull request #71 from ValdikSS/master
Update Russian translation
2016-09-17 12:22:56 +03:00
Samuli Seppänen 8226f17eff Merge pull request #72 from ValdikSS/nonewline
No new line for "Starting this connection requires membership in"
2016-08-29 11:57:03 +03:00
Samuli Seppänen 9fd2dc75f3 Merge pull request #74 from chipitsine/master
removed unused nsis installer
2016-08-29 11:50:53 +03:00
Samuli Seppänen 8af2927b9d Merge pull request #75 from ValdikSS/res-it-73
Fix Italian typo
2016-08-29 11:04:25 +03:00
ValdikSS 7ab7f47fda Fix Italian typo 2016-08-28 22:26:42 +03:00
ValdikSS 06218b4f69 Update Russian translation v3 2016-08-28 22:24:13 +03:00
Ilya Shipitsin 68552bf523 removed unused nsis installer 2016-08-27 10:28:16 +05:00
ValdikSS f2439c7970 Update Russian translation v2 2016-08-24 23:01:33 +03:00
ValdikSS e55de21e37 No new line for "Starting this connection requires membership in" 2016-08-24 19:51:47 +03:00
ValdikSS 187f646fa8 Update Russian translation 2016-08-24 13:07:35 +03:00
Samuli Seppänen 67e63328df Merge pull request #70 from chipitsine/russian-translation
more russian translation
2016-08-24 11:41:48 +03:00
Selva Nair c3099acc59 Merge pull request #69 from chipitsine/master
fix build --disable-password-change
2016-08-23 15:38:10 -04:00
Ilya Shipitsin 3e57007f2b more russian translation 2016-08-24 00:05:33 +05:00
Ilya Shipitsin f3aed466de fix build --disable-password-change 2016-08-23 23:37:57 +05:00
Samuli Seppänen 2398e32b03 Merge pull request #62 from selvanair/registry
Remove some registry keys/options and use file association for open/edit
2016-08-23 18:47:58 +03:00
Samuli Seppänen 335c3e3069 Merge pull request #60 from chipitsine/master
add --disable-password-change option to configure
2016-08-22 10:10:50 +03:00
Selva Nair 5a47986ccb Make options saved in registry editable by user
Option ediitng dialogs are in two tabs: General and Advanced.
Proxy related options are left in the proxy tab. Options
config_dir, config_ext, log_dir, script timeouts and
service-only flag are in the Advanced tab. All other more commonly
used flags and options are in the General tab.

- As options are editable, save values in registry only when they differ
  from the default values. This leaves the registry clean and makes changing
  options and their defaults during updates easier.

- Entries for config_dir and log_dir must be absolute paths.
  Environemental variables such as %PROFILEDIR% may be used
  to construct these.

- Empty config_dir, config_ext and log_dir entries are silently
  ignored (i.e., the current values are left unchanged).

- Store all numeric and boolean parameters in registry as DWORD instead of
  strings.

- On startup, the default parameters are loaded, then the registry is read
  and finally command-line parameters parsedi.

- Out of range script timeout values in registry truncated with a
  warning instead of fatal error. This allows the user to access the
  settings dialog and make corrections.

- Save proxy and language settings under the same
  HKCU\Software\OpenVPN-GUI key as other options instead of under Nilings.

- Save the current version of the GUI in regsitry so that updates
  can be detected and any needed registry cleanup done.

- If no version info is present in the registry any values in OpenVPN-GUI
  key in HKCU are deleted for a clean start as this is the first version
  to save registry values in HKCU. Language and proxy data if present
  under Nilings is migrated.

Note: new controls in the General tab and newly added Advanced tab dialog
are copied to all language files from the English version. These need to
be translated.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-08-06 11:46:15 -04:00
Selva Nair 964d728a42 Use file associations to open config and log
- Use ShellExecute to open config and log files so that
  file associations can be used. If that fails fall-back to
  the default editor (notepad.exe).
- Remove the keys editor and log_viewer from registry.
  The user can change the editor/viewer through fie association.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-08-06 11:46:15 -04:00
Selva Nair 1c748e382d Simplify some parameters and registry keys
- Replace allow_password by a runtime check that enables password
  change menu only when the user has write-access to the key file.
- Read exe_path and priority from HKLM and do not duplicate in HKCU.
- Always allow the user to view the config: edit will succeed if user
  has write access.
- Always include the proxy settings tab which is the default.
- Remove the unused power event handling and disconnect_on_suspend key.
- Remove password_attempts -- user can stop the password dilaog
  by clicking cancel.
- Remove allow_service: implicitly enabled if service_only is used.
- Deprecate removed options in cmd-line parser
- Update README.rst
- Close config file before exit in GetKeyFileName
- Close thread and dialog handles in passphrase.c

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-08-06 11:46:15 -04:00
Ilya Shipitsin 9625d6f3c6 added --disable-password-change to configure and travis-ci 2016-08-02 01:22:05 +05:00
Ilya Shipitsin 886685528f travis-ci: upgrade to openssl-1.0.1t 2016-08-01 20:53:27 +05:00
Selva Nair 449944cef0 Merge pull request #66 from chipitsine/save-pass-translation
save pass: russian translation
2016-07-22 11:54:54 -04:00
Ilya Shipitsin 1f60125439 save pass: russian translation 2016-07-22 16:34:43 +05:00
Selva Nair 61fbb48cd2 Merge pull request #63 from ffes/nl-2016-07
Update Dutch translation
2016-07-18 22:40:52 -04:00
Frank Fesevur 6a0e681b67 Update Dutch translation 2016-07-15 19:56:42 +02:00
Selva Nair 7247432cea Merge pull request #52 from selvanair/save-pass
Save username and optionally passwords
2016-07-15 00:37:14 -04:00
Samuli Seppänen 8aea6bd82b Merge pull request #48 from selvanair/use-post-message
Fix exit handling while in modal loops
2016-07-14 13:24:10 +03:00
Selva Nair 3ce7466b20 Create connection keys inside configs and only if needed
Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-07-12 21:49:43 -04:00
Selva Nair 233ec002d8 Merge pull request #59 from mattock/readme
Modernize the README
2016-06-30 10:32:58 -04:00
Samuli Seppänen 222f4cf4f1 Add instructions on how to build openvpn-gui using openvpn-build
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2016-06-30 11:19:38 +03:00
Samuli Seppänen 1ab2254464 Modernize README.rst
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2016-06-30 11:19:31 +03:00
Samuli Seppänen 668afa8640 Make README.rst conform to the rst syntax
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2016-06-30 11:17:47 +03:00
Samuli Seppänen 9ccef43b29 Rename README as README.rst
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2016-06-30 11:17:47 +03:00
Samuli Seppänen c77c720e12 Merge pull request #50 from chipitsine/master
cache openssl download
2016-06-22 11:14:54 +03:00
Selva Nair 5880fdcd02 Save username and optionally passwords
- Username and, optionally, password as well as the private
  key passphrase are saved in config-specific registry keys
- All saved data are kept encrypted using DPAPI
- The passphrase dialog is skipped if a valid saved private
  key password is available. However, the user-auth dialog
  is always presented, prefilled with the saved username
  and password.

Note: A text string "Save password" is added to three dialogs
in all language resource files. Additional text with ids
IDS_MENU_CLEARPASS and IDS_NFO_DELETE_PASS are added to the
STRINGTABLE only in the English language resource file.
All these need translations.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-05-29 19:35:30 -04:00
Samuli Seppänen 03c305bd4b Merge pull request #47 from selvanair/rescan-configs
Rescan configs
2016-05-25 10:02:39 +03:00